Documentation ¶
Index ¶
- Variables
- func Marshal(c *boc.Cell, o any) error
- func Unmarshal(c *boc.Cell, o any) error
- type AccStatusChange
- type Account
- type AccountBlock
- type AccountState
- type AccountStatus
- type AccountStorage
- type AddressWithWorkchain
- type AllShardsInfo
- type Any
- type Anycast
- type BinTree
- type Bits256
- type Bits264
- type Bits320
- type Bits352
- type Bits512
- type Bits80
- type Bits96
- type BlkMasterInfo
- type BlkPrevInfo
- type Block
- type BlockCreateFees
- type BlockCreateStats
- type BlockExtra
- type BlockHeader
- type BlockIdExt
- type BlockInfo
- type BlockInfoPart
- type BlockLimits
- type BlockProof
- type BlockSignatures
- type BlockSignaturesPure
- type BurningConfig
- type Bytes
- type CatchainConfig
- type Certificate
- type ChunkedData
- type Coins
- type CommonMsgInfo
- type ComplaintPricing
- type ComputeSkipReason
- type ConfigParam0
- type ConfigParam1
- type ConfigParam10
- type ConfigParam11
- type ConfigParam12
- type ConfigParam13
- type ConfigParam14
- type ConfigParam15
- type ConfigParam16
- type ConfigParam17
- type ConfigParam18
- type ConfigParam2
- type ConfigParam20
- type ConfigParam21
- type ConfigParam22
- type ConfigParam23
- type ConfigParam24
- type ConfigParam25
- type ConfigParam28
- type ConfigParam29
- type ConfigParam3
- type ConfigParam31
- type ConfigParam32
- type ConfigParam33
- type ConfigParam34
- type ConfigParam35
- type ConfigParam36
- type ConfigParam37
- type ConfigParam39
- type ConfigParam4
- type ConfigParam40
- type ConfigParam43
- type ConfigParam44
- type ConfigParam5
- type ConfigParam6
- type ConfigParam7
- type ConfigParam71
- type ConfigParam72
- type ConfigParam73
- type ConfigParam79
- type ConfigParam8
- type ConfigParam81
- type ConfigParam82
- type ConfigParam9
- type ConfigParams
- type ConfigProposal
- type ConfigProposalSetup
- type ConfigProposalStatus
- type ConfigVotingSetup
- type ConsensusConfig
- type ContentData
- type Counters
- type CreatorStats
- type CryptoSignature
- type CryptoSignaturePair
- type CryptoSignatureSimple
- type CryptoSignatureSimpleData
- type CurrencyCollection
- type DNSRecord
- type DNSRecordSet
- type DNSText
- type Decoder
- type DepthBalanceInfo
- type Either
- type EitherRef
- type Encoder
- type EnqueuedMsg
- type ExistedAccount
- type ExtBlkRef
- type ExtraCurrencyCollection
- type FixedLengthText
- type FullContent
- type GasLimitsPrices
- type GlobalVersion
- type Grams
- type HashMapAugExtraList
- type HashUpdate
- type Hashmap
- func (h Hashmap[keyT, T]) Get(key keyT) (T, bool)
- func (h Hashmap[keyT, T]) Items() []HashmapItem[keyT, T]
- func (h Hashmap[keyT, T]) Keys() []keyT
- func (h Hashmap[keyT, T]) MarshalJSON() ([]byte, error)
- func (h Hashmap[keyT, T]) MarshalTLB(c *boc.Cell, encoder *Encoder) error
- func (h Hashmap[keyT, T]) Put(key keyT, value T)
- func (h *Hashmap[keyT, T]) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
- func (h Hashmap[keyT, T]) Values() []T
- type HashmapAug
- type HashmapAugE
- type HashmapE
- func (h HashmapE[keyT, T]) Get(key keyT) (T, bool)
- func (h HashmapE[keyT, T]) Items() []HashmapItem[keyT, T]
- func (h HashmapE[keyT, T]) Keys() []keyT
- func (h HashmapE[keyT, T]) MarshalJSON() ([]byte, error)
- func (h HashmapE[keyT, T]) MarshalTLB(c *boc.Cell, encoder *Encoder) error
- func (h HashmapE[keyT, T]) Put(key keyT, value T)
- func (h *HashmapE[keyT, T]) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
- func (h HashmapE[keyT, T]) Values() []T
- type HashmapItem
- type IhrPendingSince
- type ImportFees
- type InMsg
- type Int1
- type Int10
- type Int11
- type Int12
- type Int128
- type Int13
- type Int14
- type Int15
- type Int16
- type Int17
- type Int18
- type Int19
- type Int2
- type Int20
- type Int21
- type Int22
- type Int23
- type Int24
- type Int25
- type Int256
- type Int257
- type Int26
- type Int27
- type Int28
- type Int29
- type Int3
- type Int30
- type Int31
- type Int32
- type Int33
- type Int34
- type Int35
- type Int36
- type Int37
- type Int38
- type Int39
- type Int4
- type Int40
- type Int41
- type Int42
- type Int43
- type Int44
- type Int45
- type Int46
- type Int47
- type Int48
- type Int49
- type Int5
- type Int50
- type Int51
- type Int52
- type Int53
- type Int54
- type Int55
- type Int56
- type Int57
- type Int58
- type Int59
- type Int6
- type Int60
- type Int61
- type Int62
- type Int63
- type Int64
- type Int7
- type Int8
- type Int9
- type IntermediateAddress
- type JettonBridgeParams
- type JettonBridgePrices
- type KeyExtBlkRef
- type KeyMaxLt
- type LibDescr
- type Magic
- type MarshalerTLB
- type Maybe
- type McBlockExtra
- type McStateExtra
- type McStateExtraOther
- type MerkleProof
- type MerkleUpdate
- type Message
- type MisbehaviourPunishmentConfig
- type MsgAddress
- type MsgEnvelope
- type MsgForwardPrices
- type OracleBridgeParams
- type OutMsg
- type OutMsgQueueInfo
- type ParamLimits
- type ProcessedUpto
- type Ref
- type ShardAccount
- type ShardDesc
- type ShardFeeCreated
- type ShardFees
- type ShardIdent
- type ShardInfoBinTree
- type ShardState
- type ShardStateUnsplit
- type ShardStateUnsplitData
- type ShardStateUnsplitOther
- type SigPubKey
- type SignedCoins
- type SignedSertificate
- type SimpleLib
- type SizeLimitsConfig
- type SmcCapabilities
- type SnakeData
- type SplitMergeInfo
- type StateInit
- type StorageInfo
- type StoragePrices
- type StorageUsed
- type StorageUsedShort
- type SumType
- type SuspendedAddressList
- type Tag
- type Text
- type TickTock
- type TrActionPhase
- type TrBouncePhase
- type TrComputePhase
- type TrCreditPhase
- type TrStoragePhase
- type Transaction
- type TransactionDescr
- type Uint1
- type Uint10
- type Uint11
- type Uint12
- type Uint128
- type Uint13
- type Uint14
- type Uint15
- type Uint16
- type Uint17
- type Uint18
- type Uint19
- type Uint2
- type Uint20
- type Uint21
- type Uint22
- type Uint23
- type Uint24
- type Uint25
- type Uint256
- type Uint257
- type Uint26
- type Uint27
- type Uint28
- type Uint29
- type Uint3
- type Uint30
- type Uint31
- type Uint32
- type Uint33
- type Uint34
- type Uint35
- type Uint36
- type Uint37
- type Uint38
- type Uint39
- type Uint4
- type Uint40
- type Uint41
- type Uint42
- type Uint43
- type Uint44
- type Uint45
- type Uint46
- type Uint47
- type Uint48
- type Uint49
- type Uint5
- type Uint50
- type Uint51
- type Uint52
- type Uint53
- type Uint54
- type Uint55
- type Uint56
- type Uint57
- type Uint58
- type Uint59
- type Uint6
- type Uint60
- type Uint61
- type Uint62
- type Uint63
- type Uint64
- type Uint7
- type Uint8
- type Uint9
- type Unary
- type UnmarshalerTLB
- type ValidatorBaseInfo
- type ValidatorDescr
- type ValidatorInfo
- type ValidatorSet
- type ValidatorSetsCommon
- type ValidatorSignedTempKey
- type ValidatorTempKey
- type ValidatorsSet
- type ValueFlow
- type VarUInteger1
- type VarUInteger10
- type VarUInteger11
- type VarUInteger12
- type VarUInteger13
- type VarUInteger14
- type VarUInteger15
- type VarUInteger16
- type VarUInteger17
- type VarUInteger18
- type VarUInteger19
- type VarUInteger2
- type VarUInteger20
- type VarUInteger21
- type VarUInteger22
- type VarUInteger23
- type VarUInteger24
- type VarUInteger25
- type VarUInteger26
- type VarUInteger27
- type VarUInteger28
- type VarUInteger29
- type VarUInteger3
- type VarUInteger30
- type VarUInteger31
- type VarUInteger32
- type VarUInteger4
- type VarUInteger5
- type VarUInteger6
- type VarUInteger7
- type VarUInteger8
- type VarUInteger9
- type VmCellSlice
- type VmCont
- type VmStack
- func (s VmStack) MarshalTL() ([]byte, error)
- func (s VmStack) MarshalTLB(c *boc.Cell, encoder *Encoder) error
- func (s *VmStack) Put(val VmStackValue)
- func (s VmStack) Unmarshal(dest any) error
- func (s *VmStack) UnmarshalTL(r io.Reader) error
- func (s *VmStack) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
- type VmStackValue
- func (v VmStackValue) Cell() *boc.Celldeprecated
- func (v VmStackValue) CellSlice() *boc.Celldeprecated
- func (v VmStackValue) Int257() Int257deprecated
- func (v VmStackValue) Int64() int64deprecated
- func (v VmStackValue) IsCell() booldeprecated
- func (v VmStackValue) IsCellSlice() booldeprecated
- func (v VmStackValue) IsInt() booldeprecated
- func (v VmStackValue) IsNull() booldeprecated
- func (v VmStackValue) IsTuple() booldeprecated
- func (v VmStackValue) Uint64() uint64deprecated
- func (v VmStackValue) Unmarshal(dest any) error
- type VmStkTuple
- type VmTuple
- type VmTupleRef
- type WcSplitMergeTimings
- type WorkchainDescr
- type WorkchainFormat0
- type WorkchainFormat1
Constants ¶
This section is empty.
Variables ¶
var ErrGramsOverflow = errors.New("grams overflow")
var ErrInvalidTag = errors.New("invalid tag")
Functions ¶
Types ¶
type AccStatusChange ¶ added in v1.0.1
type AccStatusChange string
AccStatusChange acst_unchanged$0 = AccStatusChange; // x -> x acst_frozen$10 = AccStatusChange; // init -> frozen acst_deleted$11 = AccStatusChange; // frozen -> deleted
const ( AccStatusChangeUnchanged AccStatusChange = "acst_unchanged" AccStatusChangeFrozen AccStatusChange = "acst_frozen" AccStatusChangeDeleted AccStatusChange = "acst_deleted" )
func (AccStatusChange) MarshalTLB ¶ added in v1.0.1
func (a AccStatusChange) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*AccStatusChange) UnmarshalTLB ¶ added in v1.0.1
func (a *AccStatusChange) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type Account ¶ added in v1.0.1
type Account struct { SumType AccountNone struct { } `tlbSumType:"account_none$0"` Account ExistedAccount `tlbSumType:"account$1"` }
Account account_none$0 = Account;
func (Account) CurrencyCollection ¶ added in v1.5.4
func (a Account) CurrencyCollection() (CurrencyCollection, bool)
func (Account) Status ¶ added in v1.0.1
func (a Account) Status() AccountStatus
type AccountBlock ¶ added in v1.0.1
type AccountBlock struct { Magic Magic `tlb:"acc_trans#5"` AccountAddr Bits256 Transactions HashmapAug[Uint64, Ref[Transaction], CurrencyCollection] StateUpdate HashUpdate `tlb:"^"` }
acc_trans#5 account_addr:bits256
transactions:(HashmapAug 64 ^Transaction CurrencyCollection) state_update:^(HASH_UPDATE Account) = AccountBlock;
type AccountState ¶ added in v1.0.1
type AccountState struct { SumType AccountUninit struct { } `tlbSumType:"account_uninit$00"` AccountActive struct { StateInit StateInit } `tlbSumType:"account_active$1"` AccountFrozen struct { StateHash Bits256 } `tlbSumType:"account_frozen$01"` }
AccountState account_uninit$00 = AccountState; account_active$1 _:StateInit = AccountState; account_frozen$01 state_hash:bits256 = AccountState;
type AccountStatus ¶ added in v1.0.1
type AccountStatus string
AccountStatus acc_state_uninit$00 = AccountStatus; acc_state_frozen$01 = AccountStatus; acc_state_active$10 = AccountStatus; acc_state_nonexist$11 = AccountStatus;
const ( //AccountEmpty AccountStatus = "empty" // empty state from node AccountNone AccountStatus = "nonexist" AccountUninit AccountStatus = "uninit" AccountActive AccountStatus = "active" AccountFrozen AccountStatus = "frozen" )
func (AccountStatus) MarshalTLB ¶ added in v1.0.1
func (a AccountStatus) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*AccountStatus) UnmarshalTLB ¶ added in v1.0.1
func (a *AccountStatus) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type AccountStorage ¶ added in v1.0.1
type AccountStorage struct { LastTransLt uint64 Balance CurrencyCollection State AccountState }
AccountStorage account_storage$_ last_trans_lt:uint64 balance:CurrencyCollection state:AccountState = AccountStorage;
type AddressWithWorkchain ¶ added in v1.4.0
AddressWithWorkchain is a TL-B type that represents the key in "suspended_address_list.addresses": suspended_address_list#00 addresses:(HashmapE AddressWithWorkchain Unit) suspended_until:uint32 = SuspendedAddressList;
func (AddressWithWorkchain) Equal ¶ added in v1.4.0
func (addr AddressWithWorkchain) Equal(other any) bool
func (AddressWithWorkchain) FixedSize ¶ added in v1.4.0
func (addr AddressWithWorkchain) FixedSize() int
func (AddressWithWorkchain) MarshalJSON ¶ added in v1.4.0
func (addr AddressWithWorkchain) MarshalJSON() ([]byte, error)
func (*AddressWithWorkchain) UnmarshalTLB ¶ added in v1.4.0
func (addr *AddressWithWorkchain) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type AllShardsInfo ¶ added in v1.0.1
type AllShardsInfo struct {
ShardHashes HashmapE[Uint32, Ref[ShardInfoBinTree]]
}
type Anycast ¶ added in v1.0.1
Anycast anycast_info$_ depth:(#<= 30) { depth >= 1 } rewrite_pfx:(bits depth) = Anycast;
func (Anycast) MarshalTLB ¶ added in v1.0.1
type Bits256 ¶ added in v1.0.1
type Bits256 [32]byte
func (Bits256) MarshalJSON ¶ added in v1.0.1
func (*Bits256) UnmarshalJSON ¶ added in v1.0.1
type Bits264 ¶ added in v1.0.1
type Bits264 [33]byte
func (Bits264) MarshalJSON ¶ added in v1.0.4
func (*Bits264) UnmarshalJSON ¶ added in v1.0.4
type Bits320 ¶ added in v1.0.1
type Bits320 [40]byte
func (Bits320) MarshalJSON ¶ added in v1.0.4
func (*Bits320) UnmarshalJSON ¶ added in v1.0.4
type Bits352 ¶ added in v1.0.1
type Bits352 [44]byte
func (Bits352) MarshalJSON ¶ added in v1.0.4
func (*Bits352) UnmarshalJSON ¶ added in v1.0.4
type Bits512 ¶ added in v1.0.1
type Bits512 [64]byte
func (Bits512) MarshalJSON ¶ added in v1.0.4
func (*Bits512) UnmarshalJSON ¶ added in v1.0.4
type Bits80 ¶ added in v1.7.0
type Bits80 [10]byte
func (Bits80) MarshalJSON ¶ added in v1.7.0
func (*Bits80) UnmarshalJSON ¶ added in v1.7.0
type Bits96 ¶ added in v1.0.1
type Bits96 [12]byte
func (Bits96) MarshalJSON ¶ added in v1.0.4
func (*Bits96) UnmarshalJSON ¶ added in v1.0.4
type BlkMasterInfo ¶ added in v1.0.1
type BlkMasterInfo struct {
Master ExtBlkRef
}
BlkMasterInfo master_info$_ master:ExtBlkRef = BlkMasterInfo; ext_blk_ref$_ end_lt:uint64 seq_no:uint32 root_hash:bits256 file_hash:bits256 = ExtBlkRef;
type BlkPrevInfo ¶ added in v1.0.1
type BlkPrevInfo struct { SumType PrevBlkInfo *struct { Prev ExtBlkRef } `tlbSumType:"prev_blk_info$_"` PrevBlksInfo *struct { Prev1 ExtBlkRef // ^ but decodes manually Prev2 ExtBlkRef // ^ but decodes manually } `tlbSumType:"prev_blks_info$_"` }
BlkPrevInfo prev_blk_info$_ prev:ExtBlkRef = BlkPrevInfo 0; prev_blks_info$_ prev1:^ExtBlkRef prev2:^ExtBlkRef = BlkPrevInfo 1;
func (*BlkPrevInfo) UnmarshalTLB ¶ added in v1.0.1
type Block ¶ added in v1.0.1
type Block struct { Magic Magic `tlb:"block#11ef55aa"` GlobalId int32 Info BlockInfo `tlb:"^"` ValueFlow ValueFlow `tlb:"^"` StateUpdate MerkleUpdate[ShardState] `tlb:"^"` Extra BlockExtra `tlb:"^"` }
Block block#11ef55aa global_id:int32 info:^BlockInfo value_flow:^ValueFlow state_update:^(MERKLE_UPDATE ShardState) extra:^BlockExtra = Block;
func (*Block) AllTransactions ¶ added in v1.0.1
func (b *Block) AllTransactions() []*Transaction
AllTransactions returns all transactions in this block ordered by Lt.
func (*Block) TransactionsQuantity ¶ added in v1.4.2
TransactionsQuantity returns the number of transactions in this block.
type BlockCreateFees ¶ added in v1.4.0
type BlockCreateStats ¶ added in v1.0.1
type BlockCreateStats struct { SumType BlockCreateStats struct { Counters HashmapE[Bits256, CreatorStats] } `tlbSumType:"block_create_stats#17"` BlockCreateStatsExt struct { Counters HashmapAugE[Bits256, CreatorStats, uint32] } `tlbSumType:"block_create_stats_ext#34"` }
block_create_stats#17 counters:(HashmapE 256 CreatorStats) = BlockCreateStats; block_create_stats_ext#34 counters:(HashmapAugE 256 CreatorStats uint32) = BlockCreateStats;
type BlockExtra ¶ added in v1.0.1
type BlockExtra struct { Magic Magic `tlb:"block_extra#4a33f6fd"` InMsgDescrCell boc.Cell `tlb:"^"` OutMsgDescrCell boc.Cell `tlb:"^"` AccountBlocks HashmapAugE[Bits256, AccountBlock, CurrencyCollection] `tlb:"^"` RandSeed Bits256 CreatedBy Bits256 Custom Maybe[Ref[McBlockExtra]] }
BlockExtra block_extra in_msg_descr:^InMsgDescr out_msg_descr:^OutMsgDescr account_blocks:^ShardAccountBlocks rand_seed:bits256 created_by:bits256 custom:(Maybe ^McBlockExtra) = BlockExtra;
func (*BlockExtra) InMsgDescr ¶ added in v1.0.1
func (extra *BlockExtra) InMsgDescr() (HashmapAugE[Bits256, InMsg, ImportFees], error)
func (*BlockExtra) InMsgDescrLength ¶ added in v1.5.2
func (extra *BlockExtra) InMsgDescrLength() (int, error)
func (*BlockExtra) OutMsgDescr ¶ added in v1.0.1
func (extra *BlockExtra) OutMsgDescr() (HashmapAugE[Bits256, OutMsg, CurrencyCollection], error)
func (*BlockExtra) OutMsgDescrLength ¶ added in v1.5.2
func (extra *BlockExtra) OutMsgDescrLength() (int, error)
type BlockHeader ¶ added in v1.0.1
type BlockHeader struct { Magic Magic `tlb:"block#11ef55aa"` GlobalId int32 Info BlockInfo `tlb:"^"` }
TODO: clarify the description of the structure
type BlockIdExt ¶ added in v1.0.1
type BlockIdExt struct { ShardId ShardIdent SeqNo uint32 RootHash Bits256 FileHash Bits256 }
block_id_ext$_ shard_id:ShardIdent seq_no:uint32 root_hash:bits256 file_hash:bits256 = BlockIdExt;
type BlockInfo ¶ added in v1.0.1
type BlockInfo struct { BlockInfoPart GenSoftware *GlobalVersion MasterRef *BlkMasterInfo PrevRef BlkPrevInfo PrevVertRef *BlkPrevInfo }
BlockInfo block_info#9bc7a987 version:uint32 not_master:(## 1) after_merge:(## 1) before_split:(## 1) after_split:(## 1) want_split:Bool want_merge:Bool key_block:Bool vert_seqno_incr:(## 1) flags:(## 8) { flags <= 1 } seq_no:# vert_seq_no:# { vert_seq_no >= vert_seqno_incr } { prev_seq_no:# } { ~prev_seq_no + 1 = seq_no } shard:ShardIdent gen_utime:uint32 start_lt:uint64 end_lt:uint64 gen_validator_list_hash_short:uint32 gen_catchain_seqno:uint32 min_ref_mc_seqno:uint32 prev_key_block_seqno:uint32 gen_software:flags . 0?GlobalVersion master_ref:not_master?^BlkMasterInfo prev_ref:^(BlkPrevInfo after_merge) prev_vert_ref:vert_seqno_incr?^(BlkPrevInfo 0) = BlockInfo;
type BlockInfoPart ¶ added in v1.0.1
type BlockInfoPart struct { Version uint32 NotMaster bool AfterMerge bool BeforeSplit bool AfterSplit bool WantSplit bool WantMerge bool KeyBlock bool VertSeqnoIncr bool Flags uint8 SeqNo uint32 VertSeqNo uint32 Shard ShardIdent GenUtime uint32 StartLt uint64 EndLt uint64 GenValidatorListHashShort uint32 GenCatchainSeqno uint32 MinRefMcSeqno uint32 PrevKeyBlockSeqno uint32 }
type BlockLimits ¶ added in v1.4.0
type BlockLimits struct { Magic Magic `tlb:"#5d"` Bytes ParamLimits Gas ParamLimits LtDelta ParamLimits }
type BlockProof ¶ added in v1.0.1
type BlockProof struct { Magic Magic `tlb:"block_proof#c3"` ProofFor BlockIdExt Root boc.Cell `tlb:"^"` Signatures Maybe[Ref[BlockSignatures]] }
block_proof#c3 proof_for:BlockIdExt root:^Cell signatures:(Maybe ^BlockSignatures) = BlockProof;
type BlockSignatures ¶ added in v1.0.1
type BlockSignatures struct { Magic Magic `tlb:"block_signatures#11"` ValidatorInfo ValidatorBaseInfo PureSignatures BlockSignaturesPure }
block_signatures#11 validator_info:ValidatorBaseInfo pure_signatures:BlockSignaturesPure = BlockSignatures;
type BlockSignaturesPure ¶ added in v1.0.1
type BlockSignaturesPure struct { SigCount uint32 SigWeight uint64 Signatures HashmapE[Uint16, CryptoSignaturePair] }
type BurningConfig ¶ added in v1.4.0
type CatchainConfig ¶ added in v1.4.0
type CatchainConfig struct { SumType CatchainConfig struct { McCatchainLifetime uint32 ShardCatchainLifetime uint32 ShardValidatorsLifetime uint32 ShardValidatorsNum uint32 } `tlbSumType:"#c1"` CatchainConfigNew struct { Flags Uint7 ShuffleMcValidators bool McCatchainLifetime uint32 ShardCatchainLifetime uint32 ShardValidatorsLifetime uint32 ShardValidatorsNum uint32 } `tlbSumType:"#c2"` }
func (*CatchainConfig) MarshalJSON ¶ added in v1.4.0
func (t *CatchainConfig) MarshalJSON() ([]byte, error)
type Certificate ¶ added in v1.0.1
type Certificate struct { Magic Magic `tlb:"certificate#4"` TempKey SigPubKey ValidSince uint32 ValidUntil uint32 }
certificate#4 temp_key:SigPubKey valid_since:uint32 valid_until:uint32 = Certificate; // 356 bits
type ChunkedData ¶ added in v1.0.1
ChunkedData chunked_data#_ data:(HashMapE 32 ^(SnakeData ~0)) = ChunkedData;
func (ChunkedData) MarshalTLB ¶ added in v1.0.1
func (d ChunkedData) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*ChunkedData) UnmarshalTLB ¶ added in v1.0.1
func (d *ChunkedData) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type CommonMsgInfo ¶ added in v1.0.1
type CommonMsgInfo struct { SumType IntMsgInfo *struct { IhrDisabled bool Bounce bool Bounced bool Src MsgAddress Dest MsgAddress Value CurrencyCollection IhrFee Grams FwdFee Grams CreatedLt uint64 CreatedAt uint32 } `tlbSumType:"int_msg_info$0"` ExtInMsgInfo *struct { Src MsgAddress Dest MsgAddress ImportFee Grams } `tlbSumType:"ext_in_msg_info$10"` ExtOutMsgInfo *struct { Src MsgAddress Dest MsgAddress CreatedLt uint64 CreatedAt uint32 } `tlbSumType:"ext_out_msg_info$11"` }
CommonMsgInfo int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool src:MsgAddressInt dest:MsgAddressInt value:CurrencyCollection ihr_fee:Grams fwd_fee:Grams created_lt:uint64 created_at:uint32 = CommonMsgInfo; ext_in_msg_info$10 src:MsgAddressExt dest:MsgAddressInt import_fee:Grams = CommonMsgInfo; ext_out_msg_info$11 src:MsgAddressInt dest:MsgAddressExt created_lt:uint64 created_at:uint32 = CommonMsgInfo;
type ComplaintPricing ¶ added in v1.4.0
type ComputeSkipReason ¶ added in v1.0.1
type ComputeSkipReason string
ComputeSkipReason cskip_no_state$00 = ComputeSkipReason; cskip_bad_state$01 = ComputeSkipReason; cskip_no_gas$10 = ComputeSkipReason;
const ( ComputeSkipReasonNoState ComputeSkipReason = "cskip_no_state" ComputeSkipReasonBadState ComputeSkipReason = "cskip_bad_state" ComputeSkipReasonNoGas ComputeSkipReason = "cskip_no_gas" )
func (ComputeSkipReason) MarshalTLB ¶ added in v1.0.1
func (a ComputeSkipReason) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*ComputeSkipReason) UnmarshalTLB ¶ added in v1.0.1
func (a *ComputeSkipReason) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type ConfigParam0 ¶ added in v1.4.0
type ConfigParam0 struct {
ConfigAddr Bits256
}
type ConfigParam1 ¶ added in v1.4.0
type ConfigParam1 struct {
ElectorAddr Bits256
}
type ConfigParam10 ¶ added in v1.4.0
type ConfigParam11 ¶ added in v1.4.0
type ConfigParam11 struct {
ConfigVotingSetup ConfigVotingSetup
}
type ConfigParam12 ¶ added in v1.4.0
type ConfigParam12 struct {
Workchains HashmapE[Uint32, WorkchainDescr]
}
type ConfigParam13 ¶ added in v1.4.0
type ConfigParam13 struct {
ComplaintPricing ComplaintPricing
}
type ConfigParam14 ¶ added in v1.4.0
type ConfigParam14 struct {
BlockCreateFees BlockCreateFees
}
type ConfigParam15 ¶ added in v1.4.0
type ConfigParam16 ¶ added in v1.4.0
type ConfigParam17 ¶ added in v1.4.0
type ConfigParam18 ¶ added in v1.4.0
type ConfigParam18 struct {
Value Hashmap[Uint32, StoragePrices]
}
type ConfigParam2 ¶ added in v1.4.0
type ConfigParam2 struct {
MinterAddr Bits256
}
type ConfigParam20 ¶ added in v1.4.0
type ConfigParam20 struct {
GasLimitsPrices GasLimitsPrices
}
type ConfigParam21 ¶ added in v1.4.0
type ConfigParam21 struct {
GasLimitsPrices GasLimitsPrices
}
type ConfigParam22 ¶ added in v1.4.0
type ConfigParam22 struct {
BlockLimits BlockLimits
}
type ConfigParam23 ¶ added in v1.4.0
type ConfigParam23 struct {
BlockLimits BlockLimits
}
type ConfigParam24 ¶ added in v1.4.0
type ConfigParam24 struct {
MsgForwardPrices MsgForwardPrices
}
type ConfigParam25 ¶ added in v1.4.0
type ConfigParam25 struct {
MsgForwardPrices MsgForwardPrices
}
type ConfigParam28 ¶ added in v1.4.0
type ConfigParam28 struct {
CatchainConfig CatchainConfig
}
type ConfigParam29 ¶ added in v1.4.0
type ConfigParam29 struct {
ConsensusConfig ConsensusConfig
}
type ConfigParam3 ¶ added in v1.4.0
type ConfigParam3 struct {
FeeCollectorAddr Bits256
}
type ConfigParam31 ¶ added in v1.4.0
type ConfigParam32 ¶ added in v1.4.0
type ConfigParam32 struct {
PrevValidators ValidatorSet
}
type ConfigParam33 ¶ added in v1.4.0
type ConfigParam33 struct {
PrevTempValidators ValidatorSet
}
type ConfigParam34 ¶ added in v1.4.0
type ConfigParam34 struct {
CurValidators ValidatorSet
}
type ConfigParam35 ¶ added in v1.4.0
type ConfigParam35 struct {
CurTempValidators ValidatorSet
}
type ConfigParam36 ¶ added in v1.4.0
type ConfigParam36 struct {
NextValidators ValidatorSet
}
type ConfigParam37 ¶ added in v1.4.0
type ConfigParam37 struct {
NextTempValidators ValidatorSet
}
type ConfigParam39 ¶ added in v1.4.0
type ConfigParam39 struct {
Value HashmapE[Bits256, ValidatorSignedTempKey]
}
type ConfigParam4 ¶ added in v1.4.0
type ConfigParam4 struct {
DnsRootAddr Bits256
}
type ConfigParam40 ¶ added in v1.4.0
type ConfigParam40 struct {
MisbehaviourPunishmentConfig MisbehaviourPunishmentConfig
}
type ConfigParam43 ¶ added in v1.4.0
type ConfigParam43 struct {
SizeLimitsConfig SizeLimitsConfig
}
type ConfigParam44 ¶ added in v1.4.0
type ConfigParam44 struct {
SuspendedAddressList SuspendedAddressList
}
type ConfigParam5 ¶ added in v1.4.0
type ConfigParam5 struct {
BurningConfig BurningConfig
}
type ConfigParam6 ¶ added in v1.4.0
type ConfigParam7 ¶ added in v1.4.0
type ConfigParam7 struct {
ToMint ExtraCurrencyCollection
}
type ConfigParam71 ¶ added in v1.4.0
type ConfigParam71 struct {
OracleBridgeParams OracleBridgeParams
}
type ConfigParam72 ¶ added in v1.4.0
type ConfigParam72 struct {
OracleBridgeParams OracleBridgeParams
}
type ConfigParam73 ¶ added in v1.4.0
type ConfigParam73 struct {
OracleBridgeParams OracleBridgeParams
}
type ConfigParam79 ¶ added in v1.4.0
type ConfigParam79 struct {
JettonBridgeParams JettonBridgeParams
}
type ConfigParam8 ¶ added in v1.4.0
type ConfigParam8 struct {
GlobalVersion GlobalVersion
}
type ConfigParam81 ¶ added in v1.4.0
type ConfigParam81 struct {
JettonBridgeParams JettonBridgeParams
}
type ConfigParam82 ¶ added in v1.4.0
type ConfigParam82 struct {
JettonBridgeParams JettonBridgeParams
}
type ConfigParam9 ¶ added in v1.4.0
type ConfigParams ¶ added in v1.0.1
ConfigParams _ config_addr:bits256 config:^(Hashmap 32 ^Cell) = ConfigParams;
func (*ConfigParams) CloneKeepingSubsetOfKeys ¶ added in v1.2.1
func (params *ConfigParams) CloneKeepingSubsetOfKeys(keys []uint32) ConfigParams
CloneKeepingSubsetOfKeys returns a new ConfigParams with only the keys specified in the keys parameter.
type ConfigProposal ¶ added in v1.4.0
type ConfigProposalSetup ¶ added in v1.4.0
type ConfigProposalStatus ¶ added in v1.4.0
type ConfigVotingSetup ¶ added in v1.4.0
type ConfigVotingSetup struct { Magic Magic `tlb:"#91"` NormalParams ConfigProposalSetup `tlb:"^"` CriticalParams ConfigProposalSetup `tlb:"^"` }
type ConsensusConfig ¶ added in v1.4.0
type ConsensusConfig struct { SumType ConsensusConfig struct { RoundCandidates uint32 NextCandidateDelayMs uint32 ConsensusTimeoutMs uint32 FastAttempts uint32 AttemptDuration uint32 CatchainMaxDeps uint32 MaxBlockBytes uint32 MaxCollatedBytes uint32 } `tlbSumType:"#d6"` ConsensusConfigNew struct { Flags Uint7 NewCatchainIds bool RoundCandidates uint8 NextCandidateDelayMs uint32 ConsensusTimeoutMs uint32 FastAttempts uint32 AttemptDuration uint32 CatchainMaxDeps uint32 MaxBlockBytes uint32 MaxCollatedBytes uint32 } `tlbSumType:"#d7"` ConsensusConfigV3 struct { Flags Uint7 NewCatchainIds bool RoundCandidates uint8 NextCandidateDelayMs uint32 ConsensusTimeoutMs uint32 FastAttempts uint32 AttemptDuration uint32 CatchainMaxDeps uint32 MaxBlockBytes uint32 MaxCollatedBytes uint32 ProtoVersion uint16 } `tlbSumType:"#d8"` ConsensusConfigV4 struct { Flags Uint7 NewCatchainIds bool RoundCandidates uint8 NextCandidateDelayMs uint32 ConsensusTimeoutMs uint32 FastAttempts uint32 AttemptDuration uint32 CatchainMaxDeps uint32 MaxBlockBytes uint32 MaxCollatedBytes uint32 ProtoVersion uint16 CatchainMaxBlocksCoeff uint32 } `tlbSumType:"#d9"` }
func (*ConsensusConfig) MarshalJSON ¶ added in v1.4.0
func (t *ConsensusConfig) MarshalJSON() ([]byte, error)
type ContentData ¶ added in v1.0.1
type ContentData struct { SumType Snake struct { Data SnakeData } `tlbSumType:"snake#00"` Chunks struct { Data ChunkedData } `tlbSumType:"chunks#01"` }
ContentData snake#00 data:(SnakeData ~n) = ContentData; chunks#01 data:ChunkedData = ContentData;
func (ContentData) Bytes ¶ added in v1.0.1
func (c ContentData) Bytes() ([]byte, error)
type CreatorStats ¶ added in v1.0.1
type CreatorStats struct { Magic Magic `tlb:"creator_info#4"` McBlocks Counters ShardBlocks Counters }
creator_info#4 mc_blocks:Counters shard_blocks:Counters = CreatorStats;
type CryptoSignature ¶ added in v1.0.1
type CryptoSignature struct { SumType CryptoSignatureSimple CryptoSignatureSimpleData `tlbSumType:"ed25519_signature#5"` CryptoSignature struct { SignedCert *SignedSertificate `tlb:"^"` TempKeySignature CryptoSignatureSimple } `tlbSumType:"chained_signature#f"` }
func (*CryptoSignature) UnmarshalTLB ¶ added in v1.0.1
func (cr *CryptoSignature) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type CryptoSignaturePair ¶ added in v1.0.1
type CryptoSignaturePair struct { NodeIdShort Bits256 Sign CryptoSignature }
sig_pair$_ node_id_short:bits256 sign:CryptoSignature = CryptoSignaturePair; // 256+x ~ 772 bits
type CryptoSignatureSimple ¶ added in v1.0.1
type CryptoSignatureSimple struct { Magic Magic `tlb:"ed25519_signature#5"` CryptoSignatureSimple CryptoSignatureSimpleData }
ed25519_signature#5 R:bits256 s:bits256 = CryptoSignatureSimple; // 516 bits _ CryptoSignatureSimple = CryptoSignature; chained_signature#f signed_cert:^SignedCertificate temp_key_signature:CryptoSignatureSimple
= CryptoSignature; // 4+(356+516)+516 = 520 bits+ref (1392 bits total)
type CryptoSignatureSimpleData ¶ added in v1.0.1
type CurrencyCollection ¶ added in v1.0.1
type CurrencyCollection struct { Grams Grams Other ExtraCurrencyCollection }
CurrencyCollection currencies$_ grams:Grams other:ExtraCurrencyCollection = CurrencyCollection;
type DNSRecord ¶ added in v1.0.1
type DNSRecord struct { SumType DNSText DNSText `tlbSumType:"dns_text#1eda"` DNSNextResolver MsgAddress `tlbSumType:"dns_next_resolver#ba93"` DNSAdnlAddress struct { Address [32]byte ProtoList []string } `tlbSumType:"dns_adnl_address#ad01"` DNSSmcAddress struct { Address MsgAddress SmcCapability SmcCapabilities } `tlbSumType:"dns_smc_address#9fd3"` DNSStorageAddress Bits256 `tlbSumType:"dns_storage_address#7473"` NotStandard *boc.Cell // only for custom unmarshaling }
DNSRecord dns_text#1eda _:Text = DNSRecord; dns_next_resolver#ba93 resolver:MsgAddressInt = DNSRecord; // usually in record #-1 dns_adnl_address#ad01 adnl_addr:bits256 flags:(## 8) { flags <= 1 } proto_list:flags . 0?ProtoList = DNSRecord; // often in record #2 dns_smc_address#9fd3 smc_addr:MsgAddressInt flags:(## 8) { flags <= 1 } cap_list:flags . 0?SmcCapList = DNSRecord; // often in record #1 dns_storage_address#7473 bag_id:bits256 = DNSRecord;
type DNSRecordSet ¶ added in v1.0.1
DNSRecordSet _ (HashmapE 256 DNSRecord) = DNS_RecordSet;
type DNSText ¶ added in v1.0.1
type DNSText string
DNSText text$_ chunks:(## 8) rest:(TextChunks chunks) = Text;
type Decoder ¶ added in v1.0.1
type Decoder struct {
// contains filtered or unexported fields
}
Decoder unmarshals a cell into a golang type.
func (*Decoder) Hasher ¶ added in v1.4.2
Hasher returns boc.Hasher that is used to calculate hashes when decoding.
func (*Decoder) Unmarshal ¶ added in v1.0.1
Unmarshal decodes the give cell using TL-B schema and stores the result in the value pointed to by o.
func (*Decoder) WithLibraryResolver ¶ added in v1.8.7
WithLibraryResolver provides a function which is used to fetch a library cell by its hash.
type DepthBalanceInfo ¶ added in v1.0.1
type DepthBalanceInfo struct { SplitDepth Uint5 Balance CurrencyCollection }
depth_balance$_ split_depth:(#<= 30) balance:CurrencyCollection = DepthBalanceInfo;
type Either ¶
func (Either[_, _]) MarshalTLB ¶
type EitherRef ¶
func (EitherRef[_]) MarshalTLB ¶
type EnqueuedMsg ¶ added in v1.0.1
type EnqueuedMsg struct { EnqueuedLt uint64 OutMsg MsgEnvelope `tlb:"^"` }
_ enqueued_lt:uint64 out_msg:^MsgEnvelope = EnqueuedMsg;
type ExistedAccount ¶ added in v1.1.0
type ExistedAccount struct { Addr MsgAddress StorageStat StorageInfo Storage AccountStorage }
account$1 addr:MsgAddressInt storage_stat:StorageInfo storage:AccountStorage = Account;
type ExtBlkRef ¶ added in v1.0.1
ExtBlkRef ext_blk_ref$_ end_lt:uint64 seq_no:uint32 root_hash:bits256 file_hash:bits256 = ExtBlkRef;
type ExtraCurrencyCollection ¶ added in v1.0.1
type ExtraCurrencyCollection struct {
Dict HashmapE[Uint32, VarUInteger32]
}
ExtraCurrencyCollection extra_currencies$_ dict:(HashmapE 32 (VarUInteger 32)) = ExtraCurrencyCollection;
func (ExtraCurrencyCollection) MarshalJSON ¶ added in v1.0.4
func (f ExtraCurrencyCollection) MarshalJSON() ([]byte, error)
type FixedLengthText ¶ added in v1.0.1
type FixedLengthText string
func (FixedLengthText) MarshalTLB ¶ added in v1.0.1
func (t FixedLengthText) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*FixedLengthText) UnmarshalTLB ¶ added in v1.0.1
func (t *FixedLengthText) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type FullContent ¶ added in v1.0.1
type FullContent struct { SumType Onchain struct { Data HashmapE[Bits256, Ref[ContentData]] } `tlbSumType:"onchain#00"` Offchain struct { Uri SnakeData // Text } `tlbSumType:"offchain#01"` }
FullContent onchain#00 data:(HashMapE 256 ^ContentData) = FullContent; offchain#01 uri:Text = FullContent; text#_ {n:#} data:(SnakeData ~n) = Text;
type GasLimitsPrices ¶ added in v1.4.0
type GasLimitsPrices struct { SumType GasPrices struct { GasPrice uint64 GasLimit uint64 GasCredit uint64 BlockGasLimit uint64 FreezeDueLimit uint64 DeleteDueLimit uint64 } `tlbSumType:"#dd"` GasPricesExt struct { GasPrice uint64 GasLimit uint64 SpecialGasLimit uint64 GasCredit uint64 BlockGasLimit uint64 FreezeDueLimit uint64 DeleteDueLimit uint64 } `tlbSumType:"#de"` GasFlatPfx struct { FlatGasLimit uint64 FlatGasPrice uint64 Other *GasLimitsPrices } `tlbSumType:"#d1"` }
func (*GasLimitsPrices) MarshalJSON ¶ added in v1.4.0
func (t *GasLimitsPrices) MarshalJSON() ([]byte, error)
type GlobalVersion ¶ added in v1.0.1
type GlobalVersion struct { Magic Magic `tlb:"capabilities#c4"` Version uint32 Capabilities uint64 }
GlobalVersion capabilities#c4 version:uint32 capabilities:uint64 = GlobalVersion;
type Grams ¶ added in v1.0.1
type Grams uint64 // total value fit to uint64
Grams nanograms$_ amount:(VarUInteger 16) = Grams;
func (Grams) MarshalJSON ¶ added in v1.0.1
func (Grams) MarshalTLB ¶ added in v1.0.1
func (*Grams) UnmarshalJSON ¶ added in v1.0.1
type HashMapAugExtraList ¶
type HashMapAugExtraList[T any] struct { Left *HashMapAugExtraList[T] Right *HashMapAugExtraList[T] Data T }
type HashUpdate ¶ added in v1.0.1
HashUpdate update_hashes#72 {X:Type} old_hash:bits256 new_hash:bits256 = HASH_UPDATE X;
type Hashmap ¶
type Hashmap[keyT fixedSize, T any] struct { // contains filtered or unexported fields }
func NewHashmap ¶ added in v1.2.1
NewHashmap returns a new instance of Hashmap. Make sure that a key at index "i" corresponds to a value at the same index.
func (Hashmap[keyT, T]) Items ¶ added in v1.0.1
func (h Hashmap[keyT, T]) Items() []HashmapItem[keyT, T]
func (Hashmap[keyT, T]) MarshalJSON ¶ added in v1.4.0
func (Hashmap[keyT, T]) MarshalTLB ¶
func (*Hashmap[keyT, T]) UnmarshalTLB ¶
type HashmapAug ¶
type HashmapAug[keyT fixedSize, T1, T2 any] struct { // contains filtered or unexported fields }
func (HashmapAug[keyT, T1, T2]) MarshalTLB ¶ added in v1.0.1
func (h HashmapAug[keyT, T1, T2]) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*HashmapAug[keyT, T1, T2]) UnmarshalTLB ¶
func (h *HashmapAug[keyT, T1, T2]) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
func (HashmapAug[_, T1, _]) Values ¶
func (h HashmapAug[_, T1, _]) Values() []T1
Values returns a list of value of this hashmap.
type HashmapAugE ¶
type HashmapAugE[keyT fixedSize, T1, T2 any] struct { // contains filtered or unexported fields }
func (HashmapAugE[keyT, T1, T2]) Keys ¶
func (h HashmapAugE[keyT, T1, T2]) Keys() []keyT
func (HashmapAugE[keyT, T1, T2]) MarshalTLB ¶ added in v1.0.1
func (h HashmapAugE[keyT, T1, T2]) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*HashmapAugE[keyT, T1, T2]) UnmarshalTLB ¶
func (h *HashmapAugE[keyT, T1, T2]) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
func (HashmapAugE[keyT, T1, T2]) Values ¶
func (h HashmapAugE[keyT, T1, T2]) Values() []T1
type HashmapE ¶
type HashmapE[keyT fixedSize, T any] struct { // contains filtered or unexported fields }
func NewHashmapE ¶ added in v1.4.2
NewHashmapE returns a new instance of HashmapE. Make sure that a key at index "i" corresponds to a value at the same index.
func (HashmapE[keyT, T]) Items ¶
func (h HashmapE[keyT, T]) Items() []HashmapItem[keyT, T]
Items returns key-value pairs of this hashmap.
func (HashmapE[keyT, T]) MarshalJSON ¶ added in v1.0.4
func (HashmapE[keyT, T]) MarshalTLB ¶
func (*HashmapE[keyT, T]) UnmarshalTLB ¶
type HashmapItem ¶
type HashmapItem[keyT fixedSize, T any] struct { Key keyT Value T }
HashmapItem represents a key-value pair stored in HashmapE[T].
type IhrPendingSince ¶ added in v1.0.1
type IhrPendingSince struct {
ImportLt uint64
}
ihr_pending$_ import_lt:uint64 = IhrPendingSince;
type ImportFees ¶ added in v1.0.1
type ImportFees struct { FeesCollected Grams ValueImported CurrencyCollection }
import_fees$_ fees_collected:Grams
value_imported:CurrencyCollection = ImportFees;
type InMsg ¶ added in v1.0.1
type InMsg struct { SumType MsgImportExt *struct { Msg Message `tlb:"^"` Transaction Transaction `tlb:"^"` } `tlbSumType:"msg_import_ext$000"` MsgImportIhr *struct { Msg Message `tlb:"^"` Transaction Transaction `tlb:"^"` IhrFee Grams ProofCreated boc.Cell `tlb:"^"` } `tlbSumType:"msg_import_ihr$010"` MsgImportImm *struct { InMsg MsgEnvelope `tlb:"^"` Transaction Transaction `tlb:"^"` FwdFee Grams } `tlbSumType:"msg_import_imm$011"` MsgImportFin *struct { InMsg MsgEnvelope `tlb:"^"` Transaction Transaction `tlb:"^"` FwdFee Grams } `tlbSumType:"msg_import_fin$100"` MsgImportTr *struct { InMsg MsgEnvelope `tlb:"^"` OutMsg MsgEnvelope `tlb:"^"` TransitFee Grams } `tlbSumType:"msg_import_tr$101"` MsgDiscardFin *struct { InMsg MsgEnvelope `tlb:"^"` TransactionId uint64 FwdFee Grams } `tlbSumType:"msg_discard_fin$110"` MsgDiscardTr *struct { InMsg MsgEnvelope `tlb:"^"` TransactionId uint64 FwdFee Grams ProofDelivered boc.Cell `tlb:"^"` } `tlbSumType:"msg_discard_tr$111"` }
msg_import_ext$000 msg:^(Message Any) transaction:^Transaction
= InMsg;
msg_import_ihr$010 msg:^(Message Any) transaction:^Transaction
ihr_fee:Grams proof_created:^Cell = InMsg;
msg_import_imm$011 in_msg:^MsgEnvelope
transaction:^Transaction fwd_fee:Grams = InMsg;
msg_import_fin$100 in_msg:^MsgEnvelope
transaction:^Transaction fwd_fee:Grams = InMsg;
msg_import_tr$101 in_msg:^MsgEnvelope out_msg:^MsgEnvelope
transit_fee:Grams = InMsg;
msg_discard_fin$110 in_msg:^MsgEnvelope transaction_id:uint64
fwd_fee:Grams = InMsg;
msg_discard_tr$111 in_msg:^MsgEnvelope transaction_id:uint64
fwd_fee:Grams proof_delivered:^Cell = InMsg;
type Int1 ¶ added in v1.0.1
type Int1 int8
func (Int1) MarshalJSON ¶ added in v1.0.4
func (Int1) MarshalTLB ¶ added in v1.0.1
func (*Int1) UnmarshalJSON ¶ added in v1.0.4
type Int10 ¶ added in v1.0.1
type Int10 int16
func (Int10) MarshalJSON ¶ added in v1.0.4
func (Int10) MarshalTLB ¶ added in v1.0.1
func (*Int10) UnmarshalJSON ¶ added in v1.0.4
type Int11 ¶ added in v1.0.1
type Int11 int16
func (Int11) MarshalJSON ¶ added in v1.0.4
func (Int11) MarshalTLB ¶ added in v1.0.1
func (*Int11) UnmarshalJSON ¶ added in v1.0.4
type Int12 ¶ added in v1.0.1
type Int12 int16
func (Int12) MarshalJSON ¶ added in v1.0.4
func (Int12) MarshalTLB ¶ added in v1.0.1
func (*Int12) UnmarshalJSON ¶ added in v1.0.4
type Int128 ¶ added in v1.0.1
func (Int128) MarshalJSON ¶ added in v1.0.1
func (Int128) MarshalTLB ¶ added in v1.0.1
func (*Int128) UnmarshalJSON ¶ added in v1.0.1
type Int13 ¶ added in v1.0.1
type Int13 int16
func (Int13) MarshalJSON ¶ added in v1.0.4
func (Int13) MarshalTLB ¶ added in v1.0.1
func (*Int13) UnmarshalJSON ¶ added in v1.0.4
type Int14 ¶ added in v1.0.1
type Int14 int16
func (Int14) MarshalJSON ¶ added in v1.0.4
func (Int14) MarshalTLB ¶ added in v1.0.1
func (*Int14) UnmarshalJSON ¶ added in v1.0.4
type Int15 ¶ added in v1.0.1
type Int15 int16
func (Int15) MarshalJSON ¶ added in v1.0.4
func (Int15) MarshalTLB ¶ added in v1.0.1
func (*Int15) UnmarshalJSON ¶ added in v1.0.4
type Int16 ¶ added in v1.0.1
type Int16 int16
func (Int16) MarshalJSON ¶ added in v1.0.4
func (Int16) MarshalTLB ¶ added in v1.0.1
func (*Int16) UnmarshalJSON ¶ added in v1.0.4
type Int17 ¶ added in v1.0.1
type Int17 int32
func (Int17) MarshalJSON ¶ added in v1.0.4
func (Int17) MarshalTLB ¶ added in v1.0.1
func (*Int17) UnmarshalJSON ¶ added in v1.0.4
type Int18 ¶ added in v1.0.1
type Int18 int32
func (Int18) MarshalJSON ¶ added in v1.0.4
func (Int18) MarshalTLB ¶ added in v1.0.1
func (*Int18) UnmarshalJSON ¶ added in v1.0.4
type Int19 ¶ added in v1.0.1
type Int19 int32
func (Int19) MarshalJSON ¶ added in v1.0.4
func (Int19) MarshalTLB ¶ added in v1.0.1
func (*Int19) UnmarshalJSON ¶ added in v1.0.4
type Int2 ¶ added in v1.0.1
type Int2 int8
func (Int2) MarshalJSON ¶ added in v1.0.4
func (Int2) MarshalTLB ¶ added in v1.0.1
func (*Int2) UnmarshalJSON ¶ added in v1.0.4
type Int20 ¶ added in v1.0.1
type Int20 int32
func (Int20) MarshalJSON ¶ added in v1.0.4
func (Int20) MarshalTLB ¶ added in v1.0.1
func (*Int20) UnmarshalJSON ¶ added in v1.0.4
type Int21 ¶ added in v1.0.1
type Int21 int32
func (Int21) MarshalJSON ¶ added in v1.0.4
func (Int21) MarshalTLB ¶ added in v1.0.1
func (*Int21) UnmarshalJSON ¶ added in v1.0.4
type Int22 ¶ added in v1.0.1
type Int22 int32
func (Int22) MarshalJSON ¶ added in v1.0.4
func (Int22) MarshalTLB ¶ added in v1.0.1
func (*Int22) UnmarshalJSON ¶ added in v1.0.4
type Int23 ¶ added in v1.0.1
type Int23 int32
func (Int23) MarshalJSON ¶ added in v1.0.4
func (Int23) MarshalTLB ¶ added in v1.0.1
func (*Int23) UnmarshalJSON ¶ added in v1.0.4
type Int24 ¶ added in v1.0.1
type Int24 int32
func (Int24) MarshalJSON ¶ added in v1.0.4
func (Int24) MarshalTLB ¶ added in v1.0.1
func (*Int24) UnmarshalJSON ¶ added in v1.0.4
type Int25 ¶ added in v1.0.1
type Int25 int32
func (Int25) MarshalJSON ¶ added in v1.0.4
func (Int25) MarshalTLB ¶ added in v1.0.1
func (*Int25) UnmarshalJSON ¶ added in v1.0.4
type Int256 ¶ added in v1.0.1
func (Int256) MarshalJSON ¶ added in v1.0.1
func (Int256) MarshalTLB ¶ added in v1.0.1
func (*Int256) UnmarshalJSON ¶ added in v1.0.1
type Int257 ¶ added in v1.0.1
func Int257FromInt64 ¶ added in v1.3.0
func (Int257) MarshalJSON ¶ added in v1.0.1
func (Int257) MarshalTLB ¶ added in v1.0.1
func (*Int257) UnmarshalJSON ¶ added in v1.0.1
type Int26 ¶ added in v1.0.1
type Int26 int32
func (Int26) MarshalJSON ¶ added in v1.0.4
func (Int26) MarshalTLB ¶ added in v1.0.1
func (*Int26) UnmarshalJSON ¶ added in v1.0.4
type Int27 ¶ added in v1.0.1
type Int27 int32
func (Int27) MarshalJSON ¶ added in v1.0.4
func (Int27) MarshalTLB ¶ added in v1.0.1
func (*Int27) UnmarshalJSON ¶ added in v1.0.4
type Int28 ¶ added in v1.0.1
type Int28 int32
func (Int28) MarshalJSON ¶ added in v1.0.4
func (Int28) MarshalTLB ¶ added in v1.0.1
func (*Int28) UnmarshalJSON ¶ added in v1.0.4
type Int29 ¶ added in v1.0.1
type Int29 int32
func (Int29) MarshalJSON ¶ added in v1.0.4
func (Int29) MarshalTLB ¶ added in v1.0.1
func (*Int29) UnmarshalJSON ¶ added in v1.0.4
type Int3 ¶ added in v1.0.1
type Int3 int8
func (Int3) MarshalJSON ¶ added in v1.0.4
func (Int3) MarshalTLB ¶ added in v1.0.1
func (*Int3) UnmarshalJSON ¶ added in v1.0.4
type Int30 ¶ added in v1.0.1
type Int30 int32
func (Int30) MarshalJSON ¶ added in v1.0.4
func (Int30) MarshalTLB ¶ added in v1.0.1
func (*Int30) UnmarshalJSON ¶ added in v1.0.4
type Int31 ¶ added in v1.0.1
type Int31 int32
func (Int31) MarshalJSON ¶ added in v1.0.4
func (Int31) MarshalTLB ¶ added in v1.0.1
func (*Int31) UnmarshalJSON ¶ added in v1.0.4
type Int32 ¶ added in v1.0.1
type Int32 int32
func (Int32) MarshalJSON ¶ added in v1.0.4
func (Int32) MarshalTLB ¶ added in v1.0.1
func (*Int32) UnmarshalJSON ¶ added in v1.0.4
type Int33 ¶ added in v1.0.1
type Int33 int64
func (Int33) MarshalJSON ¶ added in v1.0.4
func (Int33) MarshalTLB ¶ added in v1.0.1
func (*Int33) UnmarshalJSON ¶ added in v1.0.4
type Int34 ¶ added in v1.0.1
type Int34 int64
func (Int34) MarshalJSON ¶ added in v1.0.4
func (Int34) MarshalTLB ¶ added in v1.0.1
func (*Int34) UnmarshalJSON ¶ added in v1.0.4
type Int35 ¶ added in v1.0.1
type Int35 int64
func (Int35) MarshalJSON ¶ added in v1.0.4
func (Int35) MarshalTLB ¶ added in v1.0.1
func (*Int35) UnmarshalJSON ¶ added in v1.0.4
type Int36 ¶ added in v1.0.1
type Int36 int64
func (Int36) MarshalJSON ¶ added in v1.0.4
func (Int36) MarshalTLB ¶ added in v1.0.1
func (*Int36) UnmarshalJSON ¶ added in v1.0.4
type Int37 ¶ added in v1.0.1
type Int37 int64
func (Int37) MarshalJSON ¶ added in v1.0.4
func (Int37) MarshalTLB ¶ added in v1.0.1
func (*Int37) UnmarshalJSON ¶ added in v1.0.4
type Int38 ¶ added in v1.0.1
type Int38 int64
func (Int38) MarshalJSON ¶ added in v1.0.4
func (Int38) MarshalTLB ¶ added in v1.0.1
func (*Int38) UnmarshalJSON ¶ added in v1.0.4
type Int39 ¶ added in v1.0.1
type Int39 int64
func (Int39) MarshalJSON ¶ added in v1.0.4
func (Int39) MarshalTLB ¶ added in v1.0.1
func (*Int39) UnmarshalJSON ¶ added in v1.0.4
type Int4 ¶ added in v1.0.1
type Int4 int8
func (Int4) MarshalJSON ¶ added in v1.0.4
func (Int4) MarshalTLB ¶ added in v1.0.1
func (*Int4) UnmarshalJSON ¶ added in v1.0.4
type Int40 ¶ added in v1.0.1
type Int40 int64
func (Int40) MarshalJSON ¶ added in v1.0.4
func (Int40) MarshalTLB ¶ added in v1.0.1
func (*Int40) UnmarshalJSON ¶ added in v1.0.4
type Int41 ¶ added in v1.0.1
type Int41 int64
func (Int41) MarshalJSON ¶ added in v1.0.4
func (Int41) MarshalTLB ¶ added in v1.0.1
func (*Int41) UnmarshalJSON ¶ added in v1.0.4
type Int42 ¶ added in v1.0.1
type Int42 int64
func (Int42) MarshalJSON ¶ added in v1.0.4
func (Int42) MarshalTLB ¶ added in v1.0.1
func (*Int42) UnmarshalJSON ¶ added in v1.0.4
type Int43 ¶ added in v1.0.1
type Int43 int64
func (Int43) MarshalJSON ¶ added in v1.0.4
func (Int43) MarshalTLB ¶ added in v1.0.1
func (*Int43) UnmarshalJSON ¶ added in v1.0.4
type Int44 ¶ added in v1.0.1
type Int44 int64
func (Int44) MarshalJSON ¶ added in v1.0.4
func (Int44) MarshalTLB ¶ added in v1.0.1
func (*Int44) UnmarshalJSON ¶ added in v1.0.4
type Int45 ¶ added in v1.0.1
type Int45 int64
func (Int45) MarshalJSON ¶ added in v1.0.4
func (Int45) MarshalTLB ¶ added in v1.0.1
func (*Int45) UnmarshalJSON ¶ added in v1.0.4
type Int46 ¶ added in v1.0.1
type Int46 int64
func (Int46) MarshalJSON ¶ added in v1.0.4
func (Int46) MarshalTLB ¶ added in v1.0.1
func (*Int46) UnmarshalJSON ¶ added in v1.0.4
type Int47 ¶ added in v1.0.1
type Int47 int64
func (Int47) MarshalJSON ¶ added in v1.0.4
func (Int47) MarshalTLB ¶ added in v1.0.1
func (*Int47) UnmarshalJSON ¶ added in v1.0.4
type Int48 ¶ added in v1.0.1
type Int48 int64
func (Int48) MarshalJSON ¶ added in v1.0.4
func (Int48) MarshalTLB ¶ added in v1.0.1
func (*Int48) UnmarshalJSON ¶ added in v1.0.4
type Int49 ¶ added in v1.0.1
type Int49 int64
func (Int49) MarshalJSON ¶ added in v1.0.4
func (Int49) MarshalTLB ¶ added in v1.0.1
func (*Int49) UnmarshalJSON ¶ added in v1.0.4
type Int5 ¶ added in v1.0.1
type Int5 int8
func (Int5) MarshalJSON ¶ added in v1.0.4
func (Int5) MarshalTLB ¶ added in v1.0.1
func (*Int5) UnmarshalJSON ¶ added in v1.0.4
type Int50 ¶ added in v1.0.1
type Int50 int64
func (Int50) MarshalJSON ¶ added in v1.0.4
func (Int50) MarshalTLB ¶ added in v1.0.1
func (*Int50) UnmarshalJSON ¶ added in v1.0.4
type Int51 ¶ added in v1.0.1
type Int51 int64
func (Int51) MarshalJSON ¶ added in v1.0.4
func (Int51) MarshalTLB ¶ added in v1.0.1
func (*Int51) UnmarshalJSON ¶ added in v1.0.4
type Int52 ¶ added in v1.0.1
type Int52 int64
func (Int52) MarshalJSON ¶ added in v1.0.4
func (Int52) MarshalTLB ¶ added in v1.0.1
func (*Int52) UnmarshalJSON ¶ added in v1.0.4
type Int53 ¶ added in v1.0.1
type Int53 int64
func (Int53) MarshalJSON ¶ added in v1.0.4
func (Int53) MarshalTLB ¶ added in v1.0.1
func (*Int53) UnmarshalJSON ¶ added in v1.0.4
type Int54 ¶ added in v1.0.1
type Int54 int64
func (Int54) MarshalJSON ¶ added in v1.0.4
func (Int54) MarshalTLB ¶ added in v1.0.1
func (*Int54) UnmarshalJSON ¶ added in v1.0.4
type Int55 ¶ added in v1.0.1
type Int55 int64
func (Int55) MarshalJSON ¶ added in v1.0.4
func (Int55) MarshalTLB ¶ added in v1.0.1
func (*Int55) UnmarshalJSON ¶ added in v1.0.4
type Int56 ¶ added in v1.0.1
type Int56 int64
func (Int56) MarshalJSON ¶ added in v1.0.4
func (Int56) MarshalTLB ¶ added in v1.0.1
func (*Int56) UnmarshalJSON ¶ added in v1.0.4
type Int57 ¶ added in v1.0.1
type Int57 int64
func (Int57) MarshalJSON ¶ added in v1.0.4
func (Int57) MarshalTLB ¶ added in v1.0.1
func (*Int57) UnmarshalJSON ¶ added in v1.0.4
type Int58 ¶ added in v1.0.1
type Int58 int64
func (Int58) MarshalJSON ¶ added in v1.0.4
func (Int58) MarshalTLB ¶ added in v1.0.1
func (*Int58) UnmarshalJSON ¶ added in v1.0.4
type Int59 ¶ added in v1.0.1
type Int59 int64
func (Int59) MarshalJSON ¶ added in v1.0.4
func (Int59) MarshalTLB ¶ added in v1.0.1
func (*Int59) UnmarshalJSON ¶ added in v1.0.4
type Int6 ¶ added in v1.0.1
type Int6 int8
func (Int6) MarshalJSON ¶ added in v1.0.4
func (Int6) MarshalTLB ¶ added in v1.0.1
func (*Int6) UnmarshalJSON ¶ added in v1.0.4
type Int60 ¶ added in v1.0.1
type Int60 int64
func (Int60) MarshalJSON ¶ added in v1.0.4
func (Int60) MarshalTLB ¶ added in v1.0.1
func (*Int60) UnmarshalJSON ¶ added in v1.0.4
type Int61 ¶ added in v1.0.1
type Int61 int64
func (Int61) MarshalJSON ¶ added in v1.0.4
func (Int61) MarshalTLB ¶ added in v1.0.1
func (*Int61) UnmarshalJSON ¶ added in v1.0.4
type Int62 ¶ added in v1.0.1
type Int62 int64
func (Int62) MarshalJSON ¶ added in v1.0.4
func (Int62) MarshalTLB ¶ added in v1.0.1
func (*Int62) UnmarshalJSON ¶ added in v1.0.4
type Int63 ¶ added in v1.0.1
type Int63 int64
func (Int63) MarshalJSON ¶ added in v1.0.4
func (Int63) MarshalTLB ¶ added in v1.0.1
func (*Int63) UnmarshalJSON ¶ added in v1.0.4
type Int64 ¶ added in v1.0.1
type Int64 int64
func (Int64) MarshalJSON ¶ added in v1.0.4
func (Int64) MarshalTLB ¶ added in v1.0.1
func (*Int64) UnmarshalJSON ¶ added in v1.0.4
type Int7 ¶ added in v1.0.1
type Int7 int8
func (Int7) MarshalJSON ¶ added in v1.0.4
func (Int7) MarshalTLB ¶ added in v1.0.1
func (*Int7) UnmarshalJSON ¶ added in v1.0.4
type Int8 ¶ added in v1.0.1
type Int8 int8
func (Int8) MarshalJSON ¶ added in v1.0.4
func (Int8) MarshalTLB ¶ added in v1.0.1
func (*Int8) UnmarshalJSON ¶ added in v1.0.4
type Int9 ¶ added in v1.0.1
type Int9 int16
func (Int9) MarshalJSON ¶ added in v1.0.4
func (Int9) MarshalTLB ¶ added in v1.0.1
func (*Int9) UnmarshalJSON ¶ added in v1.0.4
type IntermediateAddress ¶ added in v1.0.1
type IntermediateAddress struct { SumType IntermediateAddressRegular struct { UseDestBits Uint7 } `tlbSumType:"interm_addr_regular$0"` IntermediateAddressSimple struct { WorkchainId int8 AddressPrefix uint64 } `tlbSumType:"interm_addr_simple$10"` IntermediateAddressExt struct { WorkchainId int32 AddressPrefix uint64 } `tlbSumType:"interm_addr_ext$11"` }
interm_addr_regular$0 use_dest_bits:(#<= 96) = IntermediateAddress; interm_addr_simple$10 workchain_id:int8 addr_pfx:uint64 = IntermediateAddress; interm_addr_ext$11 workchain_id:int32 addr_pfx:uint64 = IntermediateAddress;
type JettonBridgeParams ¶ added in v1.4.0
type JettonBridgeParams struct { SumType JettonBridgeParamsV0 struct { BridgeAddress Bits256 OraclesAddress Bits256 Oracles HashmapE[Bits256, Bits256] StateFlags uint8 BurnBridgeFee Grams } `tlbSumType:"#00"` JettonBridgeParamsV1 struct { BridgeAddress Bits256 OraclesAddress Bits256 Oracles HashmapE[Bits256, Bits256] StateFlags uint8 Prices JettonBridgePrices `tlb:"^"` ExternalChainAddress Bits256 } `tlbSumType:"#01"` }
func (*JettonBridgeParams) MarshalJSON ¶ added in v1.4.0
func (t *JettonBridgeParams) MarshalJSON() ([]byte, error)
type JettonBridgePrices ¶ added in v1.4.0
type KeyExtBlkRef ¶ added in v1.0.1
_ key:Bool blk_ref:ExtBlkRef = KeyExtBlkRef;
type LibDescr ¶ added in v1.0.1
type LibDescr struct { Magic Magic `tlb:"shared_lib_descr$00"` Lib boc.Cell `tlb:"^"` Publishers Hashmap[Bits256, struct{}] }
shared_lib_descr$00 lib:^Cell publishers:(Hashmap 256 True)
= LibDescr;
type Maybe ¶
func (Maybe[T]) MarshalJSON ¶ added in v1.0.1
func (*Maybe[T]) UnmarshalJSON ¶ added in v1.0.1
type McBlockExtra ¶ added in v1.0.1
type McBlockExtra struct { Magic Magic `tlb:"masterchain_block_extra#cca5"` KeyBlock bool ShardHashes HashmapE[Uint32, Ref[ShardInfoBinTree]] ShardFees ShardFees McExtraOther struct { PrevBlkSignatures HashmapE[Uint16, CryptoSignaturePair] RecoverCreate Maybe[Ref[InMsg]] MintMsg Maybe[Ref[InMsg]] } `tlb:"^"` Config ConfigParams }
masterchain_block_extra#cca5
key_block:(## 1) shard_hashes:ShardHashes shard_fees:ShardFees ^[ prev_blk_signatures:(HashmapE 16 CryptoSignaturePair) recover_create_msg:(Maybe ^InMsg) mint_msg:(Maybe ^InMsg) ] config:key_block?ConfigParams
= McBlockExtra;
func (*McBlockExtra) UnmarshalTLB ¶ added in v1.0.1
func (m *McBlockExtra) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type McStateExtra ¶ added in v1.0.1
type McStateExtra struct { Magic Magic `tlb:"masterchain_state_extra#cc26"` ShardHashes HashmapE[Uint32, Ref[ShardInfoBinTree]] Config ConfigParams Other McStateExtraOther `tlb:"^"` GlobalBalance CurrencyCollection }
McStateExtra masterchain_state_extra#cc26 shard_hashes:ShardHashes config:ConfigParams ^[ flags:(## 16) { flags <= 1 } validator_info:ValidatorInfo prev_blocks:OldMcBlocksInfo after_key_block:Bool last_key_block:(Maybe ExtBlkRef) block_create_stats:(flags . 0)?BlockCreateStats ] global_balance:CurrencyCollection = McStateExtra;
type McStateExtraOther ¶ added in v1.0.1
type McStateExtraOther struct { Flags uint16 ValidatorInfo ValidatorInfo PrevBlocks HashmapAugE[Uint32, KeyExtBlkRef, KeyMaxLt] AfterKeyBlock bool LastKeyBlock Maybe[ExtBlkRef] BlockCreateStats BlockCreateStats }
^[ flags:(## 16) { flags <= 1 } validator_info:ValidatorInfo prev_blocks:OldMcBlocksInfo after_key_block:Bool last_key_block:(Maybe ExtBlkRef) block_create_stats:(flags . 0)?BlockCreateStats ]
func (*McStateExtraOther) UnmarshalTLB ¶ added in v1.0.1
func (m *McStateExtraOther) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type MerkleProof ¶ added in v1.0.1
type MerkleProof[T any] struct { Magic Magic `tlb:"!merkle_proof#03"` VirtualHash Bits256 Depth uint16 VirtualRoot T `tlb:"^"` }
MerkleProof !merkle_proof#03 {X:Type} virtual_hash:bits256 depth:uint16 virtual_root:^X = MERKLE_PROOF X;
type MerkleUpdate ¶ added in v1.5.4
type Message ¶ added in v1.0.1
type Message struct { Info CommonMsgInfo Init Maybe[EitherRef[StateInit]] Body EitherRef[Any] // contains filtered or unexported fields }
Message message$_ {X:Type} info:CommonMsgInfo init:(Maybe (Either StateInit ^StateInit)) body:(Either X ^X) = Message X;
func (Message) MarshalTLB ¶ added in v1.2.0
type MisbehaviourPunishmentConfig ¶ added in v1.4.0
type MisbehaviourPunishmentConfig struct { Magic Magic `tlb:"#01"` DefaultFlatFine Grams DefaultProportionalFine uint32 SeverityFlatMult uint16 SeverityProportionalMult uint16 UnpunishableInterval uint16 LongInterval uint16 LongFlatMult uint16 LongProportionalMult uint16 MediumInterval uint16 MediumFlatMult uint16 MediumProportionalMult uint16 }
type MsgAddress ¶ added in v1.0.1
type MsgAddress struct { SumType AddrNone struct { } `tlbSumType:"addr_none$00"` AddrExtern *struct { Len Uint9 ExternalAddress boc.BitString } `tlbSumType:"addr_extern$01"` AddrStd struct { Anycast Maybe[Anycast] WorkchainId int8 Address Bits256 } `tlbSumType:"addr_std$10"` AddrVar *struct { Anycast Maybe[Anycast] AddrLen Uint9 WorkchainId int32 Address boc.BitString } `tlbSumType:"addr_var$11"` }
MsgAddress addr_none$00 = MsgAddressExt; addr_extern$01 len:(## 9) external_address:(bits len) = MsgAddressExt; addr_std$10 anycast:(Maybe Anycast) workchain_id:int8 address:bits256 = MsgAddressInt; addr_var$11 anycast:(Maybe Anycast) addr_len:(## 9) workchain_id:int32 address:(bits addr_len) = MsgAddressInt; _ _:MsgAddressInt = MsgAddress; _ _:MsgAddressExt = MsgAddress;
func (MsgAddress) MarshalJSON ¶ added in v1.0.1
func (a MsgAddress) MarshalJSON() ([]byte, error)
func (*MsgAddress) UnmarshalJSON ¶ added in v1.0.1
func (a *MsgAddress) UnmarshalJSON(b []byte) error
func (*MsgAddress) UnmarshalTLB ¶ added in v1.0.1
func (a *MsgAddress) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type MsgEnvelope ¶ added in v1.0.1
type MsgEnvelope struct { Magic Magic `tlb:"msg_envelope#4"` CurrentAddress IntermediateAddress NextAddress IntermediateAddress FwdFeeRemaining Grams Msg Message `tlb:"^"` }
msg_envelope#4 cur_addr:IntermediateAddress next_addr:IntermediateAddress fwd_fee_remaining:Grams msg:^(Message Any) = MsgEnvelope;
type MsgForwardPrices ¶ added in v1.4.0
type OracleBridgeParams ¶ added in v1.4.0
type OutMsg ¶ added in v1.0.1
type OutMsg struct { SumType MsgExportExt struct { Msg Message `tlb:"^"` Transaction Transaction `tlb:"^"` } `tlbSumType:"msg_export_ext$000"` MsgExportImm struct { OutMsg MsgEnvelope `tlb:"^"` Transaction Transaction `tlb:"^"` Reimport InMsg `tlb:"^"` } `tlbSumType:"msg_export_imm$010"` MsgExportNew struct { OutMsg MsgEnvelope `tlb:"^"` Transaction Transaction `tlb:"^"` } `tlbSumType:"msg_export_new$001"` MsgExportTr struct { OutMsg MsgEnvelope `tlb:"^"` Imported InMsg `tlb:"^"` } `tlbSumType:"msg_export_tr$011"` MsgExportDeq struct { OutMsg MsgEnvelope `tlb:"^"` ImportBlock Uint63 } `tlbSumType:"msg_export_deq$1100"` MsgExportDeqShort struct { MsgEnvHash Bits256 NextWorkchain uint32 NextAddrPrefix uint64 ImportBlockLt uint64 } `tlbSumType:"msg_export_deq_short$1101"` MsgExportTrReq struct { OutMsg MsgEnvelope `tlb:"^"` Imported InMsg `tlb:"^"` } `tlbSumType:"msg_export_tr_req$111"` MsgExportDeqImm struct { OutMsg MsgEnvelope `tlb:"^"` Reimport InMsg `tlb:"^"` } `tlbSumType:"msg_export_deq_imm$100"` }
msg_export_ext$000 msg:^(Message Any)
transaction:^Transaction = OutMsg;
msg_export_imm$010 out_msg:^MsgEnvelope
transaction:^Transaction reimport:^InMsg = OutMsg;
msg_export_new$001 out_msg:^MsgEnvelope
transaction:^Transaction = OutMsg;
msg_export_tr$011 out_msg:^MsgEnvelope
imported:^InMsg = OutMsg;
msg_export_deq$1100 out_msg:^MsgEnvelope
import_block_lt:uint63 = OutMsg;
msg_export_deq_short$1101 msg_env_hash:bits256
next_workchain:int32 next_addr_pfx:uint64 import_block_lt:uint64 = OutMsg;
msg_export_tr_req$111 out_msg:^MsgEnvelope
imported:^InMsg = OutMsg;
msg_export_deq_imm$100 out_msg:^MsgEnvelope
reimport:^InMsg = OutMsg;
type OutMsgQueueInfo ¶ added in v1.0.1
type OutMsgQueueInfo struct { OutQueue HashmapAugE[Bits352, EnqueuedMsg, uint64] ProcInfo HashmapE[Bits96, ProcessedUpto] IhrPending HashmapE[Bits320, IhrPendingSince] }
_ out_queue:OutMsgQueue proc_info:ProcessedInfo ihr_pending:IhrPendingInfo = OutMsgQueueInfo;
type ParamLimits ¶ added in v1.4.0
type ProcessedUpto ¶ added in v1.0.1
processed_upto$_ last_msg_lt:uint64 last_msg_hash:bits256 = ProcessedUpto;
type ShardAccount ¶ added in v1.0.1
ShardAccount account_descr$_ account:^Account last_trans_hash:bits256 last_trans_lt:uint64 = ShardAccount;
type ShardDesc ¶ added in v1.0.1
type ShardDesc struct { SumType Old struct { SeqNo uint32 RegMcSeqno uint32 StartLT uint64 EndLT uint64 RootHash Bits256 FileHash Bits256 BeforeSplit bool BeforeMerge bool WantSplit bool WantMerge bool NXCCUpdated bool Flags Uint3 NextCatchainSeqNo uint32 NextValidatorShard int64 MinRefMcSeqNo uint32 GenUTime uint32 } `tlbSumType:"old#b"` New struct { SeqNo uint32 RegMcSeqno uint32 StartLT uint64 EndLT uint64 RootHash Bits256 FileHash Bits256 BeforeSplit bool BeforeMerge bool WantSplit bool WantMerge bool NXCCUpdated bool Flags Uint3 NextCatchainSeqNo uint32 NextValidatorShard int64 MinRefMcSeqNo uint32 GenUTime uint32 } `tlbSumType:"new#a"` }
type ShardFeeCreated ¶ added in v1.0.1
type ShardFeeCreated struct { Fees CurrencyCollection Create CurrencyCollection }
_ fees:CurrencyCollection create:CurrencyCollection = ShardFeeCreated;
type ShardFees ¶ added in v1.0.1
type ShardFees struct {
Hashmap HashmapAugE[Bits96, ShardFeeCreated, ShardFeeCreated]
}
_ (HashmapAugE 96 ShardFeeCreated ShardFeeCreated) = ShardFees;
type ShardIdent ¶ added in v1.0.1
type ShardIdent struct { Magic Magic `tlb:"shardident$00"` ShardPfxBits Uint6 WorkchainID int32 ShardPrefix uint64 }
ShardIdent shard_ident$00 shard_pfx_bits:(#<= 60) workchain_id:int32 shard_prefix:uint64 = ShardIdent;
type ShardInfoBinTree ¶ added in v1.0.1
type ShardState ¶ added in v1.0.1
type ShardState struct { SumType UnsplitState struct { Value ShardStateUnsplit } `tlbSumType:"_"` SplitState struct { Left ShardStateUnsplit `tlb:"^"` // ^ but decodes manually Right ShardStateUnsplit `tlb:"^"` // ^ but decodes manually } `tlbSumType:"split_state#5f327da5"` }
ShardState _ ShardStateUnsplit = ShardState; split_state#5f327da5 left:^ShardStateUnsplit right:^ShardStateUnsplit = ShardState;
func (*ShardState) AccountBalances ¶ added in v1.5.4
func (s *ShardState) AccountBalances() map[Bits256]CurrencyCollection
func (*ShardState) UnmarshalTLB ¶ added in v1.0.1
func (s *ShardState) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type ShardStateUnsplit ¶ added in v1.0.1
type ShardStateUnsplit struct { Magic Magic `tlb:"shard_state#9023afe2"` ShardStateUnsplit ShardStateUnsplitData }
ShardStateUnsplit shard_state#9023afe2 global_id:int32 shard_id:ShardIdent seq_no:uint32 vert_seq_no:# gen_utime:uint32 gen_lt:uint64 min_ref_mc_seqno:uint32 out_msg_queue_info:^OutMsgQueueInfo before_split:(## 1) accounts:^ShardAccounts ^[ overload_history:uint64 underload_history:uint64 total_balance:CurrencyCollection total_validator_fees:CurrencyCollection libraries:(HashmapE 256 LibDescr) master_ref:(Maybe BlkMasterInfo) ] custom:(Maybe ^McStateExtra) = ShardStateUnsplit;
type ShardStateUnsplitData ¶ added in v1.0.1
type ShardStateUnsplitData struct { GlobalID int32 ShardID ShardIdent SeqNo uint32 VertSeqNo uint32 GenUtime uint32 GenLt uint64 MinRefMcSeqno uint32 OutMsgQueueInfo OutMsgQueueInfo `tlb:"^"` BeforeSplit bool Accounts HashmapAugE[Bits256, ShardAccount, DepthBalanceInfo] `tlb:"^"` Other ShardStateUnsplitOther `tlb:"^"` Custom Maybe[Ref[McStateExtra]] }
type ShardStateUnsplitOther ¶ added in v1.0.1
type ShardStateUnsplitOther struct { OverloadHistory uint64 UnderloadHistory uint64 TotalBalance CurrencyCollection TotalValidatorFees CurrencyCollection Libraries HashmapE[Bits256, LibDescr] MasterRef Maybe[BlkMasterInfo] }
^[ overload_history:uint64 underload_history:uint64 total_balance:CurrencyCollection total_validator_fees:CurrencyCollection libraries:(HashmapE 256 LibDescr) master_ref:(Maybe BlkMasterInfo) ]
type SignedCoins ¶ added in v1.2.0
type SignedCoins int64
func (SignedCoins) MarshalJSON ¶ added in v1.2.0
func (g SignedCoins) MarshalJSON() ([]byte, error)
func (SignedCoins) MarshalTLB ¶ added in v1.2.0
func (g SignedCoins) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*SignedCoins) UnmarshalJSON ¶ added in v1.2.0
func (g *SignedCoins) UnmarshalJSON(data []byte) error
func (*SignedCoins) UnmarshalTLB ¶ added in v1.2.0
func (g *SignedCoins) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type SignedSertificate ¶ added in v1.0.1
type SignedSertificate struct { Certificate Certificate CertificateSignature CryptoSignature }
signed_certificate$_ certificate:Certificate certificate_signature:CryptoSignature
= SignedCertificate; // 356+516 = 872 bits
type SizeLimitsConfig ¶ added in v1.4.0
type SizeLimitsConfig struct { SumType SizeLimitsConfig struct { MaxMsgBits uint32 MaxMsgCells uint32 MaxLibraryCells uint32 MaxVmDataDepth uint16 MaxExtMsgSize uint32 MaxExtMsgDepth uint16 } `tlbSumType:"#01"` SizeLimitsConfigV2 struct { MaxMsgBits uint32 MaxMsgCells uint32 MaxLibraryCells uint32 MaxVmDataDepth uint16 MaxExtMsgSize uint32 MaxExtMsgDepth uint16 MaxAccStateCells uint32 MaxAccStateBits uint32 } `tlbSumType:"#02"` }
func (*SizeLimitsConfig) MarshalJSON ¶ added in v1.4.0
func (t *SizeLimitsConfig) MarshalJSON() ([]byte, error)
type SmcCapabilities ¶ added in v1.0.1
SmcCapabilities Reorganized SmcCapList type cap_list_nil$0 = SmcCapList; cap_list_next$1 head:SmcCapability tail:SmcCapList = SmcCapList; cap_method_seqno#5371 = SmcCapability; cap_method_pubkey#71f4 = SmcCapability; cap_is_wallet#2177 = SmcCapability; cap_name#ff name:Text = SmcCapability;
type SnakeData ¶ added in v1.0.1
SnakeData tail#_ {bn:#} b:(bits bn) = SnakeData ~0; cons#_ {bn:#} {n:#} b:(bits bn) next:^(SnakeData ~n) = SnakeData ~(n + 1);
func (SnakeData) MarshalTLB ¶ added in v1.0.1
type SplitMergeInfo ¶ added in v1.0.1
type SplitMergeInfo struct { CurSHardPfxLen Uint6 AccSplitDepth Uint6 ThisAddr Bits256 SiblingAddr Bits256 }
split_merge_info$_ cur_shard_pfx_len:(## 6)
acc_split_depth:(## 6) this_addr:bits256 sibling_addr:bits256 = SplitMergeInfo;
type StateInit ¶ added in v1.0.1
type StateInit struct { SplitDepth Maybe[Uint5] Special Maybe[TickTock] Code Maybe[Ref[boc.Cell]] Data Maybe[Ref[boc.Cell]] Library HashmapE[Bits256, SimpleLib] }
StateInit _ split_depth:(Maybe (## 5)) special:(Maybe TickTock) code:(Maybe ^Cell) data:(Maybe ^Cell) library:(HashmapE 256 SimpleLib) = StateInit;
type StorageInfo ¶ added in v1.0.1
type StorageInfo struct { Used StorageUsed LastPaid uint32 DuePayment Maybe[Grams] }
StorageInfo storage_info$_ used:StorageUsed last_paid:uint32 due_payment:(Maybe Grams) = StorageInfo;
type StoragePrices ¶ added in v1.4.0
type StorageUsed ¶ added in v1.0.1
type StorageUsed struct { Cells VarUInteger7 Bits VarUInteger7 PublicCells VarUInteger7 }
StorageUsed storage_used$_ cells:(VarUInteger 7) bits:(VarUInteger 7) public_cells:(VarUInteger 7) = StorageUsed;
type StorageUsedShort ¶ added in v1.0.1
type StorageUsedShort struct { Cells VarUInteger7 Bits VarUInteger7 }
StorageUsedShort storage_used_short$_ cells:(VarUInteger 7) bits:(VarUInteger 7) = StorageUsedShort;
type SuspendedAddressList ¶ added in v1.4.0
type SuspendedAddressList struct { Magic Magic `tlb:"#00"` Addresses HashmapE[AddressWithWorkchain, struct{}] SuspendedUntil uint32 }
type Text ¶ added in v1.0.1
type Text string
text#_ {n:#} data:(SnakeData ~n) = Text;
func (Text) MarshalTLB ¶ added in v1.0.1
type TrActionPhase ¶ added in v1.0.1
type TrActionPhase struct { Success bool Valid bool NoFunds bool StatusChange AccStatusChange TotalFwdFees Maybe[Grams] TotalActionFees Maybe[Grams] ResultCode int32 ResultArg Maybe[int32] TotActions uint16 SpecActions uint16 SkippedActions uint16 MsgsCreated uint16 ActionListHash Bits256 TotMsgSize StorageUsedShort }
TrActionPhase tr_phase_action$_ success:Bool valid:Bool no_funds:Bool status_change:AccStatusChange total_fwd_fees:(Maybe Grams) total_action_fees:(Maybe Grams) result_code:int32 result_arg:(Maybe int32) tot_actions:uint16 spec_actions:uint16 skipped_actions:uint16 msgs_created:uint16 action_list_hash:bits256 tot_msg_size:StorageUsedShort = TrActionPhase;
type TrBouncePhase ¶ added in v1.0.1
type TrBouncePhase struct { SumType TrPhaseBounceNegfunds struct { } `tlbSumType:"tr_phase_bounce_negfunds$00"` TrPhaseBounceNofunds struct { MsgSize StorageUsedShort ReqFwdFees Grams } `tlbSumType:"tr_phase_bounce_nofunds$01"` TrPhaseBounceOk struct { MsgSize StorageUsedShort MsgFees Grams FwdFees Grams } `tlbSumType:"tr_phase_bounce_ok$1"` }
TrBouncePhase tr_phase_bounce_negfunds$00 = TrBouncePhase; tr_phase_bounce_nofunds$01 msg_size:StorageUsedShort req_fwd_fees:Grams = TrBouncePhase; tr_phase_bounce_ok$1 msg_size:StorageUsedShort msg_fees:Grams fwd_fees:Grams = TrBouncePhase;
type TrComputePhase ¶ added in v1.0.1
type TrComputePhase struct { SumType TrPhaseComputeSkipped struct { Reason ComputeSkipReason } `tlbSumType:"tr_phase_compute_skipped$0"` TrPhaseComputeVm struct { Success bool MsgStateUsed bool AccountActivated bool GasFees Grams Vm struct { GasUsed VarUInteger7 GasLimit VarUInteger7 GasCredit Maybe[VarUInteger3] Mode int8 ExitCode int32 ExitArg Maybe[int32] VmSteps uint32 VmInitStateHash Bits256 VmFinalStateHash Bits256 } `tlb:"^"` } `tlbSumType:"tr_phase_compute_vm$1"` }
TrComputePhase tr_phase_compute_skipped$0 reason:ComputeSkipReason = TrComputePhase; tr_phase_compute_vm$1 success:Bool msg_state_used:Bool account_activated:Bool gas_fees:Grams ^[ gas_used:(VarUInteger 7) gas_limit:(VarUInteger 7) gas_credit:(Maybe (VarUInteger 3)) mode:int8 exit_code:int32 exit_arg:(Maybe int32) vm_steps:uint32 vm_init_state_hash:bits256 vm_final_state_hash:bits256 ] = TrComputePhase;
type TrCreditPhase ¶ added in v1.0.1
type TrCreditPhase struct { DueFeesCollected Maybe[Grams] Credit CurrencyCollection }
TrCreditPhase tr_phase_credit$_ due_fees_collected:(Maybe Grams) credit:CurrencyCollection = TrCreditPhase;
type TrStoragePhase ¶ added in v1.0.1
type TrStoragePhase struct { StorageFeesCollected Grams StorageFeesDue Maybe[Grams] StatusChange AccStatusChange }
TrStoragePhase tr_phase_storage$_ storage_fees_collected:Grams storage_fees_due:(Maybe Grams) status_change:AccStatusChange = TrStoragePhase;
type Transaction ¶ added in v1.0.1
type Transaction struct { Magic Magic `tlb:"transaction$0111"` AccountAddr Bits256 Lt uint64 PrevTransHash Bits256 PrevTransLt uint64 Now uint32 OutMsgCnt Uint15 OrigStatus AccountStatus EndStatus AccountStatus Msgs struct { InMsg Maybe[Ref[Message]] OutMsgs HashmapE[Uint15, Ref[Message]] } `tlb:"^"` TotalFees CurrencyCollection StateUpdate HashUpdate `tlb:"^"` Description TransactionDescr `tlb:"^"` // contains filtered or unexported fields }
Transaction transaction$0111 account_addr:bits256 lt:uint64 prev_trans_hash:bits256 prev_trans_lt:uint64 now:uint32 outmsg_cnt:uint15 orig_status:AccountStatus end_status:AccountStatus ^[ in_msg:(Maybe ^(Message Any)) out_msgs:(HashmapE 15 ^(Message Any)) ] total_fees:CurrencyCollection state_update:^(HASH_UPDATE Account) description:^TransactionDescr = Transaction;
func (*Transaction) Hash ¶ added in v1.0.1
func (tx *Transaction) Hash() Bits256
Hash returns a hash of this transaction.
func (Transaction) IsSuccess ¶ added in v1.0.1
func (tx Transaction) IsSuccess() bool
func (*Transaction) SourceBoc ¶ added in v1.5.2
func (tx *Transaction) SourceBoc() ([]byte, error)
SourceBoc returns a BOC of this transaction. It works only if the transaction was unmarshalled from a cell.
func (*Transaction) UnmarshalTLB ¶ added in v1.0.1
func (tx *Transaction) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type TransactionDescr ¶ added in v1.0.1
type TransactionDescr struct { SumType TransOrd struct { CreditFirst bool StoragePh Maybe[TrStoragePhase] CreditPh Maybe[TrCreditPhase] ComputePh TrComputePhase Action Maybe[Ref[TrActionPhase]] Aborted bool Bounce Maybe[TrBouncePhase] Destroyed bool } `tlbSumType:"trans_ord$0000"` TransStorage struct { StoragePh TrStoragePhase } `tlbSumType:"trans_storage$0001"` TransTickTock struct { IsTock bool StoragePh TrStoragePhase ComputePh TrComputePhase Action Maybe[Ref[TrActionPhase]] Aborted bool Destroyed bool } `tlbSumType:"trans_tick_tock$001"` TransSplitPrepare *struct { SplitInfo SplitMergeInfo StoragePh Maybe[TrStoragePhase] ComputePh TrComputePhase Action Maybe[Ref[TrActionPhase]] Aborted bool Destroyed bool } `tlbSumType:"trans_split_prepare$0100"` TransSplitInstall *struct { SplitInfo SplitMergeInfo PrepareTransaction Any `tlb:"^"` Installed bool } `tlbSumType:"trans_split_install$0101"` TransMergePrepare *struct { SplitInfo SplitMergeInfo StoragePh TrStoragePhase Aborted bool } `tlbSumType:"trans_merge_prepare$0110"` TransMergeInstall *struct { SplitInfo SplitMergeInfo PrepareTransaction Any `tlb:"^"` //Transaction] StoragePh Maybe[TrStoragePhase] CreditPh Maybe[TrCreditPhase] ComputePh TrComputePhase Action Maybe[Ref[TrActionPhase]] Aborted bool Destroyed bool } `tlbSumType:"trans_merge_install$0111"` }
trans_merge_prepare$0110 split_info:SplitMergeInfo
storage_ph:TrStoragePhase aborted:Bool = TransactionDescr;
trans_merge_install$0111 split_info:SplitMergeInfo
prepare_transaction:^Transaction storage_ph:(Maybe TrStoragePhase) credit_ph:(Maybe TrCreditPhase) compute_ph:TrComputePhase action:(Maybe ^TrActionPhase) aborted:Bool destroyed:Bool = TransactionDescr;
type Uint1 ¶ added in v1.0.1
type Uint1 uint8
func (Uint1) MarshalJSON ¶ added in v1.0.4
func (Uint1) MarshalTLB ¶ added in v1.0.1
func (*Uint1) UnmarshalJSON ¶ added in v1.0.4
type Uint10 ¶ added in v1.0.1
type Uint10 uint16
func (Uint10) MarshalJSON ¶ added in v1.0.4
func (Uint10) MarshalTLB ¶ added in v1.0.1
func (*Uint10) UnmarshalJSON ¶ added in v1.0.4
type Uint11 ¶ added in v1.0.1
type Uint11 uint16
func (Uint11) MarshalJSON ¶ added in v1.0.4
func (Uint11) MarshalTLB ¶ added in v1.0.1
func (*Uint11) UnmarshalJSON ¶ added in v1.0.4
type Uint12 ¶ added in v1.0.1
type Uint12 uint16
func (Uint12) MarshalJSON ¶ added in v1.0.4
func (Uint12) MarshalTLB ¶ added in v1.0.1
func (*Uint12) UnmarshalJSON ¶ added in v1.0.4
type Uint128 ¶ added in v1.0.1
func (Uint128) MarshalJSON ¶ added in v1.0.1
func (Uint128) MarshalTLB ¶ added in v1.0.1
func (*Uint128) UnmarshalJSON ¶ added in v1.0.1
type Uint13 ¶ added in v1.0.1
type Uint13 uint16
func (Uint13) MarshalJSON ¶ added in v1.0.4
func (Uint13) MarshalTLB ¶ added in v1.0.1
func (*Uint13) UnmarshalJSON ¶ added in v1.0.4
type Uint14 ¶ added in v1.0.1
type Uint14 uint16
func (Uint14) MarshalJSON ¶ added in v1.0.4
func (Uint14) MarshalTLB ¶ added in v1.0.1
func (*Uint14) UnmarshalJSON ¶ added in v1.0.4
type Uint15 ¶ added in v1.0.1
type Uint15 uint16
func (Uint15) MarshalJSON ¶ added in v1.0.4
func (Uint15) MarshalTLB ¶ added in v1.0.1
func (*Uint15) UnmarshalJSON ¶ added in v1.0.4
type Uint16 ¶ added in v1.0.1
type Uint16 uint16
func (Uint16) MarshalJSON ¶ added in v1.0.4
func (Uint16) MarshalTLB ¶ added in v1.0.1
func (*Uint16) UnmarshalJSON ¶ added in v1.0.4
type Uint17 ¶ added in v1.0.1
type Uint17 uint32
func (Uint17) MarshalJSON ¶ added in v1.0.4
func (Uint17) MarshalTLB ¶ added in v1.0.1
func (*Uint17) UnmarshalJSON ¶ added in v1.0.4
type Uint18 ¶ added in v1.0.1
type Uint18 uint32
func (Uint18) MarshalJSON ¶ added in v1.0.4
func (Uint18) MarshalTLB ¶ added in v1.0.1
func (*Uint18) UnmarshalJSON ¶ added in v1.0.4
type Uint19 ¶ added in v1.0.1
type Uint19 uint32
func (Uint19) MarshalJSON ¶ added in v1.0.4
func (Uint19) MarshalTLB ¶ added in v1.0.1
func (*Uint19) UnmarshalJSON ¶ added in v1.0.4
type Uint2 ¶ added in v1.0.1
type Uint2 uint8
func (Uint2) MarshalJSON ¶ added in v1.0.4
func (Uint2) MarshalTLB ¶ added in v1.0.1
func (*Uint2) UnmarshalJSON ¶ added in v1.0.4
type Uint20 ¶ added in v1.0.1
type Uint20 uint32
func (Uint20) MarshalJSON ¶ added in v1.0.4
func (Uint20) MarshalTLB ¶ added in v1.0.1
func (*Uint20) UnmarshalJSON ¶ added in v1.0.4
type Uint21 ¶ added in v1.0.1
type Uint21 uint32
func (Uint21) MarshalJSON ¶ added in v1.0.4
func (Uint21) MarshalTLB ¶ added in v1.0.1
func (*Uint21) UnmarshalJSON ¶ added in v1.0.4
type Uint22 ¶ added in v1.0.1
type Uint22 uint32
func (Uint22) MarshalJSON ¶ added in v1.0.4
func (Uint22) MarshalTLB ¶ added in v1.0.1
func (*Uint22) UnmarshalJSON ¶ added in v1.0.4
type Uint23 ¶ added in v1.0.1
type Uint23 uint32
func (Uint23) MarshalJSON ¶ added in v1.0.4
func (Uint23) MarshalTLB ¶ added in v1.0.1
func (*Uint23) UnmarshalJSON ¶ added in v1.0.4
type Uint24 ¶ added in v1.0.1
type Uint24 uint32
func (Uint24) MarshalJSON ¶ added in v1.0.4
func (Uint24) MarshalTLB ¶ added in v1.0.1
func (*Uint24) UnmarshalJSON ¶ added in v1.0.4
type Uint25 ¶ added in v1.0.1
type Uint25 uint32
func (Uint25) MarshalJSON ¶ added in v1.0.4
func (Uint25) MarshalTLB ¶ added in v1.0.1
func (*Uint25) UnmarshalJSON ¶ added in v1.0.4
type Uint256 ¶ added in v1.0.1
func (Uint256) MarshalJSON ¶ added in v1.0.1
func (Uint256) MarshalTLB ¶ added in v1.0.1
func (*Uint256) UnmarshalJSON ¶ added in v1.0.1
type Uint257 ¶ added in v1.0.1
func (Uint257) MarshalJSON ¶ added in v1.0.1
func (Uint257) MarshalTLB ¶ added in v1.0.1
func (*Uint257) UnmarshalJSON ¶ added in v1.0.1
type Uint26 ¶ added in v1.0.1
type Uint26 uint32
func (Uint26) MarshalJSON ¶ added in v1.0.4
func (Uint26) MarshalTLB ¶ added in v1.0.1
func (*Uint26) UnmarshalJSON ¶ added in v1.0.4
type Uint27 ¶ added in v1.0.1
type Uint27 uint32
func (Uint27) MarshalJSON ¶ added in v1.0.4
func (Uint27) MarshalTLB ¶ added in v1.0.1
func (*Uint27) UnmarshalJSON ¶ added in v1.0.4
type Uint28 ¶ added in v1.0.1
type Uint28 uint32
func (Uint28) MarshalJSON ¶ added in v1.0.4
func (Uint28) MarshalTLB ¶ added in v1.0.1
func (*Uint28) UnmarshalJSON ¶ added in v1.0.4
type Uint29 ¶ added in v1.0.1
type Uint29 uint32
func (Uint29) MarshalJSON ¶ added in v1.0.4
func (Uint29) MarshalTLB ¶ added in v1.0.1
func (*Uint29) UnmarshalJSON ¶ added in v1.0.4
type Uint3 ¶ added in v1.0.1
type Uint3 uint8
func (Uint3) MarshalJSON ¶ added in v1.0.4
func (Uint3) MarshalTLB ¶ added in v1.0.1
func (*Uint3) UnmarshalJSON ¶ added in v1.0.4
type Uint30 ¶ added in v1.0.1
type Uint30 uint32
func (Uint30) MarshalJSON ¶ added in v1.0.4
func (Uint30) MarshalTLB ¶ added in v1.0.1
func (*Uint30) UnmarshalJSON ¶ added in v1.0.4
type Uint31 ¶ added in v1.0.1
type Uint31 uint32
func (Uint31) MarshalJSON ¶ added in v1.0.4
func (Uint31) MarshalTLB ¶ added in v1.0.1
func (*Uint31) UnmarshalJSON ¶ added in v1.0.4
type Uint32 ¶ added in v1.0.1
type Uint32 uint32
func (Uint32) MarshalJSON ¶ added in v1.0.4
func (Uint32) MarshalTLB ¶ added in v1.0.1
func (*Uint32) UnmarshalJSON ¶ added in v1.0.4
type Uint33 ¶ added in v1.0.1
type Uint33 uint64
func (Uint33) MarshalJSON ¶ added in v1.0.4
func (Uint33) MarshalTLB ¶ added in v1.0.1
func (*Uint33) UnmarshalJSON ¶ added in v1.0.4
type Uint34 ¶ added in v1.0.1
type Uint34 uint64
func (Uint34) MarshalJSON ¶ added in v1.0.4
func (Uint34) MarshalTLB ¶ added in v1.0.1
func (*Uint34) UnmarshalJSON ¶ added in v1.0.4
type Uint35 ¶ added in v1.0.1
type Uint35 uint64
func (Uint35) MarshalJSON ¶ added in v1.0.4
func (Uint35) MarshalTLB ¶ added in v1.0.1
func (*Uint35) UnmarshalJSON ¶ added in v1.0.4
type Uint36 ¶ added in v1.0.1
type Uint36 uint64
func (Uint36) MarshalJSON ¶ added in v1.0.4
func (Uint36) MarshalTLB ¶ added in v1.0.1
func (*Uint36) UnmarshalJSON ¶ added in v1.0.4
type Uint37 ¶ added in v1.0.1
type Uint37 uint64
func (Uint37) MarshalJSON ¶ added in v1.0.4
func (Uint37) MarshalTLB ¶ added in v1.0.1
func (*Uint37) UnmarshalJSON ¶ added in v1.0.4
type Uint38 ¶ added in v1.0.1
type Uint38 uint64
func (Uint38) MarshalJSON ¶ added in v1.0.4
func (Uint38) MarshalTLB ¶ added in v1.0.1
func (*Uint38) UnmarshalJSON ¶ added in v1.0.4
type Uint39 ¶ added in v1.0.1
type Uint39 uint64
func (Uint39) MarshalJSON ¶ added in v1.0.4
func (Uint39) MarshalTLB ¶ added in v1.0.1
func (*Uint39) UnmarshalJSON ¶ added in v1.0.4
type Uint4 ¶ added in v1.0.1
type Uint4 uint8
func (Uint4) MarshalJSON ¶ added in v1.0.4
func (Uint4) MarshalTLB ¶ added in v1.0.1
func (*Uint4) UnmarshalJSON ¶ added in v1.0.4
type Uint40 ¶ added in v1.0.1
type Uint40 uint64
func (Uint40) MarshalJSON ¶ added in v1.0.4
func (Uint40) MarshalTLB ¶ added in v1.0.1
func (*Uint40) UnmarshalJSON ¶ added in v1.0.4
type Uint41 ¶ added in v1.0.1
type Uint41 uint64
func (Uint41) MarshalJSON ¶ added in v1.0.4
func (Uint41) MarshalTLB ¶ added in v1.0.1
func (*Uint41) UnmarshalJSON ¶ added in v1.0.4
type Uint42 ¶ added in v1.0.1
type Uint42 uint64
func (Uint42) MarshalJSON ¶ added in v1.0.4
func (Uint42) MarshalTLB ¶ added in v1.0.1
func (*Uint42) UnmarshalJSON ¶ added in v1.0.4
type Uint43 ¶ added in v1.0.1
type Uint43 uint64
func (Uint43) MarshalJSON ¶ added in v1.0.4
func (Uint43) MarshalTLB ¶ added in v1.0.1
func (*Uint43) UnmarshalJSON ¶ added in v1.0.4
type Uint44 ¶ added in v1.0.1
type Uint44 uint64
func (Uint44) MarshalJSON ¶ added in v1.0.4
func (Uint44) MarshalTLB ¶ added in v1.0.1
func (*Uint44) UnmarshalJSON ¶ added in v1.0.4
type Uint45 ¶ added in v1.0.1
type Uint45 uint64
func (Uint45) MarshalJSON ¶ added in v1.0.4
func (Uint45) MarshalTLB ¶ added in v1.0.1
func (*Uint45) UnmarshalJSON ¶ added in v1.0.4
type Uint46 ¶ added in v1.0.1
type Uint46 uint64
func (Uint46) MarshalJSON ¶ added in v1.0.4
func (Uint46) MarshalTLB ¶ added in v1.0.1
func (*Uint46) UnmarshalJSON ¶ added in v1.0.4
type Uint47 ¶ added in v1.0.1
type Uint47 uint64
func (Uint47) MarshalJSON ¶ added in v1.0.4
func (Uint47) MarshalTLB ¶ added in v1.0.1
func (*Uint47) UnmarshalJSON ¶ added in v1.0.4
type Uint48 ¶ added in v1.0.1
type Uint48 uint64
func (Uint48) MarshalJSON ¶ added in v1.0.4
func (Uint48) MarshalTLB ¶ added in v1.0.1
func (*Uint48) UnmarshalJSON ¶ added in v1.0.4
type Uint49 ¶ added in v1.0.1
type Uint49 uint64
func (Uint49) MarshalJSON ¶ added in v1.0.4
func (Uint49) MarshalTLB ¶ added in v1.0.1
func (*Uint49) UnmarshalJSON ¶ added in v1.0.4
type Uint5 ¶ added in v1.0.1
type Uint5 uint8
func (Uint5) MarshalJSON ¶ added in v1.0.4
func (Uint5) MarshalTLB ¶ added in v1.0.1
func (*Uint5) UnmarshalJSON ¶ added in v1.0.4
type Uint50 ¶ added in v1.0.1
type Uint50 uint64
func (Uint50) MarshalJSON ¶ added in v1.0.4
func (Uint50) MarshalTLB ¶ added in v1.0.1
func (*Uint50) UnmarshalJSON ¶ added in v1.0.4
type Uint51 ¶ added in v1.0.1
type Uint51 uint64
func (Uint51) MarshalJSON ¶ added in v1.0.4
func (Uint51) MarshalTLB ¶ added in v1.0.1
func (*Uint51) UnmarshalJSON ¶ added in v1.0.4
type Uint52 ¶ added in v1.0.1
type Uint52 uint64
func (Uint52) MarshalJSON ¶ added in v1.0.4
func (Uint52) MarshalTLB ¶ added in v1.0.1
func (*Uint52) UnmarshalJSON ¶ added in v1.0.4
type Uint53 ¶ added in v1.0.1
type Uint53 uint64
func (Uint53) MarshalJSON ¶ added in v1.0.4
func (Uint53) MarshalTLB ¶ added in v1.0.1
func (*Uint53) UnmarshalJSON ¶ added in v1.0.4
type Uint54 ¶ added in v1.0.1
type Uint54 uint64
func (Uint54) MarshalJSON ¶ added in v1.0.4
func (Uint54) MarshalTLB ¶ added in v1.0.1
func (*Uint54) UnmarshalJSON ¶ added in v1.0.4
type Uint55 ¶ added in v1.0.1
type Uint55 uint64
func (Uint55) MarshalJSON ¶ added in v1.0.4
func (Uint55) MarshalTLB ¶ added in v1.0.1
func (*Uint55) UnmarshalJSON ¶ added in v1.0.4
type Uint56 ¶ added in v1.0.1
type Uint56 uint64
func (Uint56) MarshalJSON ¶ added in v1.0.4
func (Uint56) MarshalTLB ¶ added in v1.0.1
func (*Uint56) UnmarshalJSON ¶ added in v1.0.4
type Uint57 ¶ added in v1.0.1
type Uint57 uint64
func (Uint57) MarshalJSON ¶ added in v1.0.4
func (Uint57) MarshalTLB ¶ added in v1.0.1
func (*Uint57) UnmarshalJSON ¶ added in v1.0.4
type Uint58 ¶ added in v1.0.1
type Uint58 uint64
func (Uint58) MarshalJSON ¶ added in v1.0.4
func (Uint58) MarshalTLB ¶ added in v1.0.1
func (*Uint58) UnmarshalJSON ¶ added in v1.0.4
type Uint59 ¶ added in v1.0.1
type Uint59 uint64
func (Uint59) MarshalJSON ¶ added in v1.0.4
func (Uint59) MarshalTLB ¶ added in v1.0.1
func (*Uint59) UnmarshalJSON ¶ added in v1.0.4
type Uint6 ¶ added in v1.0.1
type Uint6 uint8
func (Uint6) MarshalJSON ¶ added in v1.0.4
func (Uint6) MarshalTLB ¶ added in v1.0.1
func (*Uint6) UnmarshalJSON ¶ added in v1.0.4
type Uint60 ¶ added in v1.0.1
type Uint60 uint64
func (Uint60) MarshalJSON ¶ added in v1.0.4
func (Uint60) MarshalTLB ¶ added in v1.0.1
func (*Uint60) UnmarshalJSON ¶ added in v1.0.4
type Uint61 ¶ added in v1.0.1
type Uint61 uint64
func (Uint61) MarshalJSON ¶ added in v1.0.4
func (Uint61) MarshalTLB ¶ added in v1.0.1
func (*Uint61) UnmarshalJSON ¶ added in v1.0.4
type Uint62 ¶ added in v1.0.1
type Uint62 uint64
func (Uint62) MarshalJSON ¶ added in v1.0.4
func (Uint62) MarshalTLB ¶ added in v1.0.1
func (*Uint62) UnmarshalJSON ¶ added in v1.0.4
type Uint63 ¶ added in v1.0.1
type Uint63 uint64
func (Uint63) MarshalJSON ¶ added in v1.0.4
func (Uint63) MarshalTLB ¶ added in v1.0.1
func (*Uint63) UnmarshalJSON ¶ added in v1.0.4
type Uint64 ¶ added in v1.0.1
type Uint64 uint64
func (Uint64) MarshalJSON ¶ added in v1.0.4
func (Uint64) MarshalTLB ¶ added in v1.0.1
func (*Uint64) UnmarshalJSON ¶ added in v1.0.4
type Uint7 ¶ added in v1.0.1
type Uint7 uint8
func (Uint7) MarshalJSON ¶ added in v1.0.4
func (Uint7) MarshalTLB ¶ added in v1.0.1
func (*Uint7) UnmarshalJSON ¶ added in v1.0.4
type Uint8 ¶ added in v1.0.1
type Uint8 uint8
func (Uint8) MarshalJSON ¶ added in v1.0.4
func (Uint8) MarshalTLB ¶ added in v1.0.1
func (*Uint8) UnmarshalJSON ¶ added in v1.0.4
type Uint9 ¶ added in v1.0.1
type Uint9 uint16
func (Uint9) MarshalJSON ¶ added in v1.0.4
func (Uint9) MarshalTLB ¶ added in v1.0.1
func (*Uint9) UnmarshalJSON ¶ added in v1.0.4
type UnmarshalerTLB ¶
UnmarshalerTLB contains method UnmarshalTLB that must be implemented by a struct if it provides specific unmarshalling code.
type ValidatorBaseInfo ¶ added in v1.0.1
validator_base_info$_
validator_list_hash_short:uint32 catchain_seqno:uint32
= ValidatorBaseInfo;
type ValidatorDescr ¶ added in v1.0.1
type ValidatorDescr struct { SumType // validator#53 public_key:SigPubKey weight:uint64 = ValidatorDescr; Validator *struct { PublicKey SigPubKey Weight uint64 } `tlbSumType:"validator#53"` // validator_addr#73 public_key:SigPubKey weight:uint64 adnl_addr:bits256 = ValidatorDescr; ValidatorAddr *struct { PublicKey SigPubKey Weight uint64 AdnlAddr Bits256 } `tlbSumType:"validatoraddr#73"` }
func (ValidatorDescr) MarshalJSON ¶ added in v1.4.0
func (vd ValidatorDescr) MarshalJSON() ([]byte, error)
func (ValidatorDescr) PubKey ¶ added in v1.1.2
func (vd ValidatorDescr) PubKey() Bits256
type ValidatorInfo ¶ added in v1.0.1
validator_info$_
validator_list_hash_short:uint32 catchain_seqno:uint32 nx_cc_updated:Bool
= ValidatorInfo;
type ValidatorSet ¶ added in v1.4.0
type ValidatorSet struct { SumType Validators struct { UtimeSince uint32 UtimeUntil uint32 Total uint16 Main uint16 List Hashmap[Uint16, ValidatorDescr] } `tlbSumType:"#11"` ValidatorsExt struct { UtimeSince uint32 UtimeUntil uint32 Total uint16 Main uint16 TotalWeight uint64 List HashmapE[Uint16, ValidatorDescr] } `tlbSumType:"#12"` }
func (*ValidatorSet) MarshalJSON ¶ added in v1.4.0
func (t *ValidatorSet) MarshalJSON() ([]byte, error)
type ValidatorSetsCommon ¶ added in v1.1.2
type ValidatorSignedTempKey ¶ added in v1.4.0
type ValidatorSignedTempKey struct { Magic Magic `tlb:"#4"` Key ValidatorTempKey `tlb:"^"` Signature CryptoSignature }
type ValidatorTempKey ¶ added in v1.4.0
type ValidatorsSet ¶ added in v1.0.1
type ValidatorsSet struct { SumType // validators#11 utime_since:uint32 utime_until:uint32 // total:(## 16) main:(## 16) { main <= total } { main >= 1 } // list:(Hashmap 16 ValidatorDescr) = ValidatorSet; Validators *struct { ValidatorSetsCommon List Hashmap[Uint16, ValidatorDescr] } `tlbSumType:"validators#11"` // validators_ext#12 utime_since:uint32 utime_until:uint32 // total:(## 16) main:(## 16) { main <= total } { main >= 1 } // total_weight:uint64 list:(HashmapE 16 ValidatorDescr) = ValidatorSet; ValidatorsExt *struct { ValidatorSetsCommon TotalWeight uint64 List HashmapE[Uint16, ValidatorDescr] } `tlbSumType:"validatorsext#12"` }
func (ValidatorsSet) Common ¶ added in v1.1.2
func (vs ValidatorsSet) Common() ValidatorSetsCommon
type ValueFlow ¶ added in v1.0.1
type ValueFlow struct { Magic Magic `json:"-"` FromPrevBlk CurrencyCollection ToNextBlk CurrencyCollection Imported CurrencyCollection Exported CurrencyCollection FeesCollected CurrencyCollection Burned *CurrencyCollection FeesImported CurrencyCollection Recovered CurrencyCollection Created CurrencyCollection Minted CurrencyCollection }
ValueFlow
v1: ^[ from_prev_blk:CurrencyCollection to_next_blk:CurrencyCollection imported:CurrencyCollection exported:CurrencyCollection ] fees_collected:CurrencyCollection ^[ fees_imported:CurrencyCollection recovered:CurrencyCollection created:CurrencyCollection minted:CurrencyCollection ];
v2:
^[ from_prev_blk:CurrencyCollection to_next_blk:CurrencyCollection imported:CurrencyCollection exported:CurrencyCollection ] fees_collected: CurrencyCollection burned: CurrencyCollection ^[ fees_imported:CurrencyCollection recovered:CurrencyCollection created:CurrencyCollection minted:CurrencyCollection ]
type VarUInteger1 ¶ added in v1.0.1
func (VarUInteger1) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger1) MarshalJSON() ([]byte, error)
func (VarUInteger1) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger1) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger1) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger1) UnmarshalJSON(p []byte) error
func (*VarUInteger1) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger1) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger10 ¶ added in v1.0.1
func (VarUInteger10) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger10) MarshalJSON() ([]byte, error)
func (VarUInteger10) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger10) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger10) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger10) UnmarshalJSON(p []byte) error
func (*VarUInteger10) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger10) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger11 ¶ added in v1.0.1
func (VarUInteger11) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger11) MarshalJSON() ([]byte, error)
func (VarUInteger11) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger11) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger11) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger11) UnmarshalJSON(p []byte) error
func (*VarUInteger11) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger11) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger12 ¶ added in v1.0.1
func (VarUInteger12) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger12) MarshalJSON() ([]byte, error)
func (VarUInteger12) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger12) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger12) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger12) UnmarshalJSON(p []byte) error
func (*VarUInteger12) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger12) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger13 ¶ added in v1.0.1
func (VarUInteger13) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger13) MarshalJSON() ([]byte, error)
func (VarUInteger13) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger13) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger13) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger13) UnmarshalJSON(p []byte) error
func (*VarUInteger13) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger13) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger14 ¶ added in v1.0.1
func (VarUInteger14) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger14) MarshalJSON() ([]byte, error)
func (VarUInteger14) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger14) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger14) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger14) UnmarshalJSON(p []byte) error
func (*VarUInteger14) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger14) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger15 ¶ added in v1.0.1
func (VarUInteger15) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger15) MarshalJSON() ([]byte, error)
func (VarUInteger15) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger15) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger15) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger15) UnmarshalJSON(p []byte) error
func (*VarUInteger15) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger15) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger16 ¶ added in v1.0.1
func VarUInteger16FromInt64 ¶ added in v1.3.0
func VarUInteger16FromInt64(i int64) VarUInteger16
func (VarUInteger16) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger16) MarshalJSON() ([]byte, error)
func (VarUInteger16) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger16) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger16) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger16) UnmarshalJSON(p []byte) error
func (*VarUInteger16) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger16) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger17 ¶ added in v1.0.1
func (VarUInteger17) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger17) MarshalJSON() ([]byte, error)
func (VarUInteger17) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger17) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger17) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger17) UnmarshalJSON(p []byte) error
func (*VarUInteger17) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger17) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger18 ¶ added in v1.0.1
func (VarUInteger18) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger18) MarshalJSON() ([]byte, error)
func (VarUInteger18) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger18) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger18) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger18) UnmarshalJSON(p []byte) error
func (*VarUInteger18) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger18) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger19 ¶ added in v1.0.1
func (VarUInteger19) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger19) MarshalJSON() ([]byte, error)
func (VarUInteger19) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger19) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger19) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger19) UnmarshalJSON(p []byte) error
func (*VarUInteger19) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger19) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger2 ¶ added in v1.0.1
func (VarUInteger2) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger2) MarshalJSON() ([]byte, error)
func (VarUInteger2) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger2) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger2) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger2) UnmarshalJSON(p []byte) error
func (*VarUInteger2) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger2) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger20 ¶ added in v1.0.1
func (VarUInteger20) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger20) MarshalJSON() ([]byte, error)
func (VarUInteger20) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger20) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger20) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger20) UnmarshalJSON(p []byte) error
func (*VarUInteger20) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger20) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger21 ¶ added in v1.0.1
func (VarUInteger21) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger21) MarshalJSON() ([]byte, error)
func (VarUInteger21) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger21) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger21) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger21) UnmarshalJSON(p []byte) error
func (*VarUInteger21) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger21) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger22 ¶ added in v1.0.1
func (VarUInteger22) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger22) MarshalJSON() ([]byte, error)
func (VarUInteger22) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger22) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger22) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger22) UnmarshalJSON(p []byte) error
func (*VarUInteger22) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger22) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger23 ¶ added in v1.0.1
func (VarUInteger23) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger23) MarshalJSON() ([]byte, error)
func (VarUInteger23) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger23) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger23) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger23) UnmarshalJSON(p []byte) error
func (*VarUInteger23) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger23) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger24 ¶ added in v1.0.1
func (VarUInteger24) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger24) MarshalJSON() ([]byte, error)
func (VarUInteger24) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger24) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger24) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger24) UnmarshalJSON(p []byte) error
func (*VarUInteger24) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger24) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger25 ¶ added in v1.0.1
func (VarUInteger25) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger25) MarshalJSON() ([]byte, error)
func (VarUInteger25) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger25) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger25) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger25) UnmarshalJSON(p []byte) error
func (*VarUInteger25) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger25) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger26 ¶ added in v1.0.1
func (VarUInteger26) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger26) MarshalJSON() ([]byte, error)
func (VarUInteger26) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger26) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger26) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger26) UnmarshalJSON(p []byte) error
func (*VarUInteger26) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger26) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger27 ¶ added in v1.0.1
func (VarUInteger27) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger27) MarshalJSON() ([]byte, error)
func (VarUInteger27) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger27) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger27) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger27) UnmarshalJSON(p []byte) error
func (*VarUInteger27) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger27) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger28 ¶ added in v1.0.1
func (VarUInteger28) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger28) MarshalJSON() ([]byte, error)
func (VarUInteger28) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger28) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger28) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger28) UnmarshalJSON(p []byte) error
func (*VarUInteger28) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger28) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger29 ¶ added in v1.0.1
func (VarUInteger29) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger29) MarshalJSON() ([]byte, error)
func (VarUInteger29) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger29) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger29) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger29) UnmarshalJSON(p []byte) error
func (*VarUInteger29) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger29) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger3 ¶ added in v1.0.1
func (VarUInteger3) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger3) MarshalJSON() ([]byte, error)
func (VarUInteger3) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger3) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger3) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger3) UnmarshalJSON(p []byte) error
func (*VarUInteger3) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger3) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger30 ¶ added in v1.0.1
func (VarUInteger30) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger30) MarshalJSON() ([]byte, error)
func (VarUInteger30) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger30) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger30) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger30) UnmarshalJSON(p []byte) error
func (*VarUInteger30) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger30) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger31 ¶ added in v1.0.1
func (VarUInteger31) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger31) MarshalJSON() ([]byte, error)
func (VarUInteger31) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger31) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger31) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger31) UnmarshalJSON(p []byte) error
func (*VarUInteger31) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger31) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger32 ¶ added in v1.0.1
func (VarUInteger32) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger32) MarshalJSON() ([]byte, error)
func (VarUInteger32) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger32) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger32) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger32) UnmarshalJSON(p []byte) error
func (*VarUInteger32) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger32) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger4 ¶ added in v1.0.1
func (VarUInteger4) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger4) MarshalJSON() ([]byte, error)
func (VarUInteger4) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger4) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger4) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger4) UnmarshalJSON(p []byte) error
func (*VarUInteger4) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger4) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger5 ¶ added in v1.0.1
func (VarUInteger5) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger5) MarshalJSON() ([]byte, error)
func (VarUInteger5) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger5) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger5) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger5) UnmarshalJSON(p []byte) error
func (*VarUInteger5) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger5) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger6 ¶ added in v1.0.1
func (VarUInteger6) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger6) MarshalJSON() ([]byte, error)
func (VarUInteger6) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger6) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger6) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger6) UnmarshalJSON(p []byte) error
func (*VarUInteger6) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger6) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger7 ¶ added in v1.0.1
func (VarUInteger7) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger7) MarshalJSON() ([]byte, error)
func (VarUInteger7) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger7) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger7) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger7) UnmarshalJSON(p []byte) error
func (*VarUInteger7) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger7) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger8 ¶ added in v1.0.1
func (VarUInteger8) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger8) MarshalJSON() ([]byte, error)
func (VarUInteger8) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger8) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger8) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger8) UnmarshalJSON(p []byte) error
func (*VarUInteger8) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger8) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VarUInteger9 ¶ added in v1.0.1
func (VarUInteger9) MarshalJSON ¶ added in v1.0.1
func (u VarUInteger9) MarshalJSON() ([]byte, error)
func (VarUInteger9) MarshalTLB ¶ added in v1.0.1
func (u VarUInteger9) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VarUInteger9) UnmarshalJSON ¶ added in v1.0.1
func (u *VarUInteger9) UnmarshalJSON(p []byte) error
func (*VarUInteger9) UnmarshalTLB ¶ added in v1.0.1
func (u *VarUInteger9) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VmCellSlice ¶ added in v1.0.1
type VmCellSlice struct {
// contains filtered or unexported fields
}
VmCellSlice _ cell:^Cell st_bits:(## 10) end_bits:(## 10) { st_bits <= end_bits } st_ref:(#<= 4) end_ref:(#<= 4) { st_ref <= end_ref } = VmCellSlice;
func (VmCellSlice) Cell ¶ added in v1.0.1
func (s VmCellSlice) Cell() *boc.Cell
func (VmCellSlice) MarshalTLB ¶ added in v1.0.1
func (s VmCellSlice) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VmCellSlice) UnmarshalTLB ¶ added in v1.0.1
func (s *VmCellSlice) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
func (VmCellSlice) UnmarshalToTlbStruct ¶ added in v1.0.1
func (s VmCellSlice) UnmarshalToTlbStruct(res any) error
type VmCont ¶ added in v1.0.1
type VmCont struct { }
VmCont _ cregs:(HashmapE 4 VmStackValue) = VmSaveList; vm_ctl_data$_ nargs:(Maybe uint13) stack:(Maybe VmStack) save:VmSaveList cp:(Maybe int16) = VmControlData; vmc_std$00 cdata:VmControlData code:VmCellSlice = VmCont; vmc_envelope$01 cdata:VmControlData next:^VmCont = VmCont; vmc_quit$1000 exit_code:int32 = VmCont; vmc_quit_exc$1001 = VmCont; vmc_repeat$10100 count:uint63 body:^VmCont after:^VmCont = VmCont; vmc_until$110000 body:^VmCont after:^VmCont = VmCont; vmc_again$110001 body:^VmCont = VmCont; vmc_while_cond$110010 cond:^VmCont body:^VmCont after:^VmCont = VmCont; vmc_while_body$110011 cond:^VmCont body:^VmCont after:^VmCont = VmCont; vmc_pushint$1111 value:int32 next:^VmCont = VmCont;
func (VmCont) MarshalTLB ¶ added in v1.0.1
type VmStack ¶ added in v1.0.1
type VmStack []VmStackValue
VmStack vm_stack#_ depth:(## 24) stack:(VmStackList depth) = VmStack; vm_stk_cons#_ {n:#} rest:^(VmStackList n) tos:VmStackValue = VmStackList (n + 1); vm_stk_nil#_ = VmStackList 0;
func (VmStack) MarshalTLB ¶ added in v1.0.1
func (*VmStack) Put ¶ added in v1.0.1
func (s *VmStack) Put(val VmStackValue)
type VmStackValue ¶ added in v1.0.1
type VmStackValue struct { SumType VmStkNull struct{} `tlbSumType:"vm_stk_null#00"` VmStkTinyInt int64 `tlbSumType:"vm_stk_tinyint#01"` VmStkInt Int257 `tlbSumType:"vm_stk_int$000000100000000"` // vm_stk_int#0201_ VmStkNan struct{} `tlbSumType:"vm_stk_nan#02ff"` VmStkCell Ref[boc.Cell] `tlbSumType:"vm_stk_cell#03"` VmStkSlice VmCellSlice `tlbSumType:"vm_stk_slice#04"` VmStkBuilder Ref[boc.Cell] `tlbSumType:"vm_stk_builder#05"` VmStkCont VmCont `tlbSumType:"vm_stk_cont#06"` VmStkTuple VmStkTuple `tlbSumType:"vm_stk_tuple#07"` }
VmStackValue vm_stk_null#00 = VmStackValue; vm_stk_tinyint#01 value:int64 = VmStackValue; vm_stk_int#0201_ value:int257 = VmStackValue; vm_stk_nan#02ff = VmStackValue; vm_stk_cell#03 cell:^Cell = VmStackValue; vm_stk_slice#04 _:VmCellSlice = VmStackValue; vm_stk_builder#05 cell:^Cell = VmStackValue; vm_stk_cont#06 cont:VmCont = VmStackValue; vm_stk_tuple#07 len:(## 16) data:(VmTuple len) = VmStackValue;
func CellToVmCellSlice ¶ added in v1.0.1
func CellToVmCellSlice(cell *boc.Cell) (VmStackValue, error)
func TlbStructToVmCell ¶ added in v1.0.1
func TlbStructToVmCell(s any) (VmStackValue, error)
func TlbStructToVmCellSlice ¶ added in v1.0.1
func TlbStructToVmCellSlice(s any) (VmStackValue, error)
func (VmStackValue) Cell
deprecated
added in
v1.0.1
func (v VmStackValue) Cell() *boc.Cell
Deprecated: Cell is deprecated.
func (VmStackValue) CellSlice
deprecated
added in
v1.0.1
func (v VmStackValue) CellSlice() *boc.Cell
Deprecated: CellSlice is deprecated.
func (VmStackValue) Int257
deprecated
added in
v1.0.1
func (v VmStackValue) Int257() Int257
Deprecated: Int is deprecated.
func (VmStackValue) Int64
deprecated
added in
v1.0.1
func (v VmStackValue) Int64() int64
Deprecated: Int64 is deprecated.
func (VmStackValue) IsCell
deprecated
added in
v1.0.1
func (v VmStackValue) IsCell() bool
Deprecated: IsCell is deprecated.
func (VmStackValue) IsCellSlice
deprecated
added in
v1.0.1
func (v VmStackValue) IsCellSlice() bool
Deprecated: IsCellSlice is deprecated.
func (VmStackValue) IsInt
deprecated
added in
v1.0.1
func (v VmStackValue) IsInt() bool
Deprecated: IsInt is deprecated.
func (VmStackValue) IsNull
deprecated
added in
v1.0.1
func (v VmStackValue) IsNull() bool
Deprecated: IsNull is deprecated.
func (VmStackValue) IsTuple
deprecated
added in
v1.0.1
func (v VmStackValue) IsTuple() bool
Deprecated: IsTuple is deprecated.
func (VmStackValue) Uint64
deprecated
added in
v1.0.1
func (v VmStackValue) Uint64() uint64
Deprecated: Uint64 is deprecated.
func (VmStackValue) Unmarshal ¶ added in v1.0.1
func (v VmStackValue) Unmarshal(dest any) error
type VmStkTuple ¶ added in v1.0.1
VmStkTuple Custom type: len:(## 16) data:(VmTuple len). Tag excluded. Use with VmStackValue type. vm_tupref_nil$_ = VmTupleRef 0; vm_tupref_single$_ entry:^VmStackValue = VmTupleRef 1; vm_tupref_any$_ {n:#} ref:^(VmTuple (n + 2)) = VmTupleRef (n + 2); vm_tuple_nil$_ = VmTuple 0; vm_tuple_tcons$_ {n:#} head:(VmTupleRef n) tail:^VmStackValue = VmTuple (n + 1); vm_stk_tuple#07 len:(## 16) data:(VmTuple len) = VmStackValue;
func (VmStkTuple) MarshalTLB ¶ added in v1.0.1
func (t VmStkTuple) MarshalTLB(c *boc.Cell, encoder *Encoder) error
func (*VmStkTuple) RecursiveToSlice ¶ added in v1.0.11
func (t *VmStkTuple) RecursiveToSlice() ([]VmStackValue, error)
func (*VmStkTuple) Unmarshal ¶ added in v1.0.1
func (t *VmStkTuple) Unmarshal(v any) error
func (*VmStkTuple) UnmarshalTLB ¶ added in v1.0.1
func (t *VmStkTuple) UnmarshalTLB(c *boc.Cell, decoder *Decoder) error
type VmTuple ¶ added in v1.0.1
type VmTuple struct { Head VmTupleRef Tail VmStackValue `tlb:"^"` }
func (VmTuple) RecursiveToSlice ¶ added in v1.0.11
func (t VmTuple) RecursiveToSlice(depth int) ([]VmStackValue, error)
type VmTupleRef ¶ added in v1.0.1
type VmTupleRef struct { Entry *VmStackValue `tlb:"^"` Ref *VmTuple `tlb:"^"` }
type WcSplitMergeTimings ¶ added in v1.4.0
type WorkchainDescr ¶ added in v1.4.0
type WorkchainDescr struct { SumType Workchain struct { EnabledSince uint32 ActualMinSplit uint8 MinSplit uint8 MaxSplit uint8 Basic Uint1 Active bool AcceptMsgs bool Flags Uint13 ZerostateRootHash Bits256 ZerostateFileHash Bits256 Version uint32 } `tlbSumType:"#a6"` WorkchainV2 struct { EnabledSince uint32 ActualMinSplit uint8 MinSplit uint8 MaxSplit uint8 Basic Uint1 Active bool AcceptMsgs bool Flags Uint13 ZerostateRootHash Bits256 ZerostateFileHash Bits256 Version uint32 } `tlbSumType:"#a7"` }
func (*WorkchainDescr) MarshalJSON ¶ added in v1.4.0
func (t *WorkchainDescr) MarshalJSON() ([]byte, error)