Documentation ¶
Index ¶
- Constants
- type AccountType
- type BigMapAction
- type Bytes
- type MigrationKind
- type Network
- type Networks
- type NullString
- func (ns NullString) EqualString(value string) bool
- func (ns NullString) MarshalJSON() ([]byte, error)
- func (ns *NullString) Scan(value interface{}) error
- func (ns *NullString) Set(value interface{}) error
- func (ns NullString) String() string
- func (ns *NullString) UnmarshalJSON(data []byte) error
- func (ns NullString) Value() (driver.Value, error)
- type OperationKind
- type OperationStatus
- type Tags
Constants ¶
View Source
const ( AccountTypeUnknown = iota AccountTypeContract AccountTypeTz AccountTypeRollup AccountTypeSmartRollup )
account types
View Source
const ( BigMapActionStringUpdate = "update" BigMapActionStringCopy = "copy" BigMapActionStringAlloc = "alloc" BigMapActionStringRemove = "remove" )
string values
View Source
const ( LazyStorageDiffBigMap = "big_map" LazyStorageDiffSaplingState = "sapling_state" )
lazy storage diff types
View Source
const ( ContractFactoryStringTag = "CREATE_CONTRACT" DelegatableStringTag = "SET_DELEGATE" DelegatorStringTag = "delegator" ChainAwareStringTag = "CHAIN_ID" CheckSigStringTag = "CHECK_SIGNATURE" SaplingStringTag = "sapling" FA1StringTag = "fa1" FA12StringTag = "fa1-2" FA2StringTag = "fa2" UpgradableStringTag = "upgradable" MultisigStringTag = "multisig" ViewAddressStringTag = "view_address" ViewBalanceOfStringTag = "view_balance_of" ViewNatStringTag = "view_nat" LedgerStringTag = "ledger" ImplicitOperationStringTag = "implicit_operation" )
Tags name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigMapAction ¶
type BigMapAction int
BigMapAction -
const ( BigMapActionAlloc BigMapAction = iota + 1 BigMapActionUpdate BigMapActionCopy BigMapActionRemove )
int values
type Bytes ¶
type Bytes stdJSON.RawMessage
Bytes -
func (Bytes) MarshalJSON ¶
MarshalJSON returns b as the JSON encoding of b.
func (*Bytes) UnmarshalJSON ¶
UnmarshalJSON sets *b to a copy of data.
type MigrationKind ¶
type MigrationKind int
MigrationKind -
const ( MigrationKindBootstrap MigrationKind = iota + 1 MigrationKindLambda MigrationKindUpdate )
type Network ¶
type Network int64
Network -
const ( Empty Network = iota Mainnet Carthagenet Delphinet Edo2net Florencenet Granadanet Sandboxnet Hangzhounet Hangzhou2net Ithacanet Jakartanet Ghostnet Kathmandunet Limanet Mondaynet Dailynet Mumbainet Rollupnet Nairobinet Oxfordnet Weeklynet )
Network names
func (*Network) UnmarshalJSON ¶
UnmarshalJSON -
type NullString ¶
NullString represents a string that may be null. NullString implements the Scanner interface so it can be used as a scan destination
func (*NullString) Scan ¶
func (ns *NullString) Scan(value interface{}) error
Scan implements the Scanner interface.
func (*NullString) UnmarshalJSON ¶
func (ns *NullString) UnmarshalJSON(data []byte) error
UnmarshalJSON -
type OperationKind ¶
type OperationKind int
OperationKind -
const ( OperationKindTransaction OperationKind = iota + 1 OperationKindOrigination OperationKindOriginationNew OperationKindDelegation OperationKindRegisterGlobalConstant OperationKindTxRollupOrigination OperationKindEvent OperationKindTransferTicket OperationKindSrOrigination OperationKindSrExecuteOutboxMessage )
type OperationStatus ¶
type OperationStatus int
OperationStatus -
const ( OperationStatusApplied OperationStatus = iota + 1 OperationStatusBacktracked OperationStatusFailed OperationStatusSkipped )
func NewOperationStatus ¶
func NewOperationStatus(value string) OperationStatus
NewOperationStatus -
Click to show internal directories.
Click to hide internal directories.