Documentation
¶
Index ¶
- Variables
- func DecodeDnsresolve_RecordsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetAuthorityAddressResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetChannelStateResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetCollectionDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetJettonDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetMember_WhalesNominatorResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetMembersRaw_WhalesNominatorResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetNextProofInfoResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetNftAddressByIndexResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetNftContentResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetNftDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetParams_WhalesNominatorResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetPluginListResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetPoolData_TfResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetPoolStatusResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetPublicKeyResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetRevokedTimeResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetSaleData_BasicResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetSaleData_GetgemsAuctionResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetSaleData_GetgemsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetStakingStatusResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetStorageContractAddressResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetStorageContractDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetStorageParamsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetSubwalletIdResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetTelemintAuctionConfigResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetTelemintAuctionStateResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetTelemintTokenNameResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetTorrentHashResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetWalletAddressResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetWalletDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeGetWalletParamsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeIsActiveResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeIsPluginInstalledResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeListNominatorsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeListVotesResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeRoyaltyParamsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func DecodeSeqnoResult(stack tlb.VmStack) (resultType string, resultAny any, err error)
- func Dnsresolve(ctx context.Context, executor Executor, reqAccountID tongo.AccountID, ...) (string, any, error)
- func GetAuthorityAddress(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetChannelState(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetCollectionData(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetJettonData(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetMember(ctx context.Context, executor Executor, reqAccountID tongo.AccountID, ...) (string, any, error)
- func GetMembersRaw(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetNextProofInfo(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetNftAddressByIndex(ctx context.Context, executor Executor, reqAccountID tongo.AccountID, ...) (string, any, error)
- func GetNftContent(ctx context.Context, executor Executor, reqAccountID tongo.AccountID, ...) (string, any, error)
- func GetNftData(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetParams(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetPluginList(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetPoolData(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetPoolStatus(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetPublicKey(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetRevokedTime(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetSaleData(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetStakingStatus(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetStorageContractAddress(ctx context.Context, executor Executor, reqAccountID tongo.AccountID, ...) (string, any, error)
- func GetStorageContractData(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetStorageParams(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetSubwalletId(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetTelemintAuctionConfig(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetTelemintAuctionState(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetTelemintTokenName(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetTorrentHash(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetWalletAddress(ctx context.Context, executor Executor, reqAccountID tongo.AccountID, ...) (string, any, error)
- func GetWalletData(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func GetWalletParams(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func IsActive(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func IsPluginInstalled(ctx context.Context, executor Executor, reqAccountID tongo.AccountID, ...) (string, any, error)
- func IsWallet(i ContractInterface) bool
- func ListNominators(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func ListVotes(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func MessageDecoder(cell *boc.Cell) (string, any, error)
- func NewContractInspector(opts ...InspectorOption) *contractInspector
- func RoyaltyParams(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- func Seqno(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
- type AcceptStorageContractMsgBody
- type ChallengeQuarantinedChannelStateMsgBody
- type ChannelClosedMsgBody
- type ChannelCooperativeCloseMsgBody
- type ChannelCooperativeCommitMsgBody
- type CloseStorageContractMsgBody
- type ClosingConfig
- type ConditionalPayment
- type ContentData
- type ContractDescription
- type ContractInterface
- type DeployStorageContractMsgBody
- type Dnsresolve_RecordsResult
- type ExcessMsgBody
- type Executor
- type FinishUncooperativeChannelCloseMsgBody
- type FullContent
- type GetAuthorityAddressResult
- type GetChannelStateResult
- type GetCollectionDataResult
- type GetJettonDataResult
- type GetMember_WhalesNominatorResult
- type GetMembersRaw_WhalesNominatorResult
- type GetNextProofInfoResult
- type GetNftAddressByIndexResult
- type GetNftContentResult
- type GetNftDataResult
- type GetParams_WhalesNominatorResult
- type GetPluginListResult
- type GetPoolData_TfResult
- type GetPoolStatusResult
- type GetPublicKeyResult
- type GetRevokedTimeResult
- type GetRoyaltyParamsMsgBody
- type GetSaleData_BasicResult
- type GetSaleData_GetgemsAuctionResult
- type GetSaleData_GetgemsResult
- type GetStakingStatusResult
- type GetStaticDataMsgBody
- type GetStorageContractAddressResult
- type GetStorageContractDataResult
- type GetStorageParamsResult
- type GetSubwalletIdResult
- type GetTelemintAuctionConfigResult
- type GetTelemintAuctionStateResult
- type GetTelemintTokenNameResult
- type GetTorrentHashResult
- type GetWalletAddressResult
- type GetWalletDataResult
- type GetWalletParamsResult
- type InitPaymentChannelMsgBody
- type InspectorOption
- type InspectorOptions
- type InterfaceDescription
- type InvokeFn
- type IsActiveResult
- type IsPluginInstalledResult
- type JettonBurnMsgBody
- type JettonInternalTransferMsgBody
- type JettonNotifyMsgBody
- type JettonTransferMsgBody
- type ListNominatorsResult
- type ListVotesResult
- type MethodDescription
- type MethodInvocation
- type NftOwnershipAssignedMsgBody
- type NftRoyaltyParams
- type NftTransferMsgBody
- type OfferStorageContractMsgBody
- type OwnershipProofMsgBody
- type PaymentConfig
- type PaymentRequestMsgBody
- type PaymentRequestResponseMsgBody
- type ProofStorageMsgBody
- type ProveOwnershipMsgBody
- type QuarantinedState
- type ReportRoyaltyParamsMsgBody
- type ReportStaticDataMsgBody
- type RoyaltyParamsResult
- type SbtDestroyMsgBody
- type SbtOwnerInfoMsgBody
- type SbtRequestOwnerMsgBody
- type SbtRevokeMsgBody
- type SemiChannel
- type SemiChannelBody
- type SeqnoResult
- type SettleChannelConditionalsMsgBody
- type SignedSemiChannel
- type StartUncooperativeChannelCloseMsgBody
- type Storage
- type StorageContractConfirmedMsgBody
- type StorageContractTerminatedMsgBody
- type StorageRewardWithdrawalMsgBody
- type StorageWithdrawMsgBody
- type TeleitemAuctionConfig
- type TeleitemCancelAuctionMsgBody
- type TeleitemDeployMsgBody
- type TeleitemStartAuctionMsgBody
- type TelemintData
- type TelemintDeployMsgBody
- type TelemintDeployV2MsgBody
- type TelemintRestrictions
- type TelemintUnsignedDeploy
- type TelemintUnsignedDeployV2
- type TextCommentMsgBody
- type TopUpChannelBalanceMsgBody
- type TorrentInfo
- type UpdatePubkeyMsgBody
- type UpdateStorageParamsMsgBody
- type WalletPluginDestructMsgBody
- type WalletPluginDestructResponseMsgBody
- type WhalesNominatorsDepositMsgBody
- type WhalesNominatorsMember
- type WhalesNominatorsMembersList
- type WhalesNominatorsWithdrawMsgBody
Constants ¶
This section is empty.
Variables ¶
View Source
var KnownGetMethodsDecoder = map[string][]func(tlb.VmStack) (string, any, error){ "seqno": {DecodeSeqnoResult}, "get_public_key": {DecodeGetPublicKeyResult}, "get_subwallet_id": {DecodeGetSubwalletIdResult}, "get_plugin_list": {DecodeGetPluginListResult}, "is_plugin_installed": {DecodeIsPluginInstalledResult}, "get_nft_data": {DecodeGetNftDataResult}, "get_nft_content": {DecodeGetNftContentResult}, "get_collection_data": {DecodeGetCollectionDataResult}, "get_nft_address_by_index": {DecodeGetNftAddressByIndexResult}, "royalty_params": {DecodeRoyaltyParamsResult}, "get_jetton_data": {DecodeGetJettonDataResult}, "get_wallet_address": {DecodeGetWalletAddressResult}, "get_wallet_data": {DecodeGetWalletDataResult}, "dnsresolve": {DecodeDnsresolve_RecordsResult}, "get_sale_data": {DecodeGetSaleData_BasicResult, DecodeGetSaleData_GetgemsResult, DecodeGetSaleData_GetgemsAuctionResult}, "get_authority_address": {DecodeGetAuthorityAddressResult}, "get_revoked_time": {DecodeGetRevokedTimeResult}, "get_channel_state": {DecodeGetChannelStateResult}, "get_wallet_params": {DecodeGetWalletParamsResult}, "get_storage_params": {DecodeGetStorageParamsResult}, "get_storage_contract_address": {DecodeGetStorageContractAddressResult}, "get_storage_contract_data": {DecodeGetStorageContractDataResult}, "get_torrent_hash": {DecodeGetTorrentHashResult}, "is_active": {DecodeIsActiveResult}, "get_next_proof_info": {DecodeGetNextProofInfoResult}, "list_nominators": {DecodeListNominatorsResult}, "list_votes": {DecodeListVotesResult}, "get_pool_data": {DecodeGetPoolData_TfResult}, "get_staking_status": {DecodeGetStakingStatusResult}, "get_pool_status": {DecodeGetPoolStatusResult}, "get_member": {DecodeGetMember_WhalesNominatorResult}, "get_members_raw": {DecodeGetMembersRaw_WhalesNominatorResult}, "get_params": {DecodeGetParams_WhalesNominatorResult}, "get_telemint_auction_state": {DecodeGetTelemintAuctionStateResult}, "get_telemint_auction_config": {DecodeGetTelemintAuctionConfigResult}, "get_telemint_token_name": {DecodeGetTelemintTokenNameResult}, }
View Source
var KnownMsgTypes = map[string]any{ "TextComment": TextCommentMsgBody{}, "ProveOwnership": ProveOwnershipMsgBody{}, "NftOwnershipAssigned": NftOwnershipAssignedMsgBody{}, "OwnershipProof": OwnershipProofMsgBody{}, "ChallengeQuarantinedChannelState": ChallengeQuarantinedChannelStateMsgBody{}, "SbtOwnerInfo": SbtOwnerInfoMsgBody{}, "InitPaymentChannel": InitPaymentChannelMsgBody{}, "JettonTransfer": JettonTransferMsgBody{}, "OfferStorageContract": OfferStorageContractMsgBody{}, "JettonInternalTransfer": JettonInternalTransferMsgBody{}, "SbtDestroy": SbtDestroyMsgBody{}, "StartUncooperativeChannelClose": StartUncooperativeChannelCloseMsgBody{}, "FinishUncooperativeChannelClose": FinishUncooperativeChannelCloseMsgBody{}, "TeleitemDeploy": TeleitemDeployMsgBody{}, "GetStaticData": GetStaticDataMsgBody{}, "TeleitemCancelAuction": TeleitemCancelAuctionMsgBody{}, "ProofStorage": ProofStorageMsgBody{}, "TelemintDeploy": TelemintDeployMsgBody{}, "TelemintDeployV2": TelemintDeployV2MsgBody{}, "StorageWithdraw": StorageWithdrawMsgBody{}, "TeleitemStartAuction": TeleitemStartAuctionMsgBody{}, "UpdatePubkey": UpdatePubkeyMsgBody{}, "UpdateStorageParams": UpdateStorageParamsMsgBody{}, "ChannelCooperativeClose": ChannelCooperativeCloseMsgBody{}, "JettonBurn": JettonBurnMsgBody{}, "NftTransfer": NftTransferMsgBody{}, "WalletPluginDestruct": WalletPluginDestructMsgBody{}, "SettleChannelConditionals": SettleChannelConditionalsMsgBody{}, "TopUpChannelBalance": TopUpChannelBalanceMsgBody{}, "GetRoyaltyParams": GetRoyaltyParamsMsgBody{}, "SbtRevoke": SbtRevokeMsgBody{}, "PaymentRequest": PaymentRequestMsgBody{}, "JettonNotify": JettonNotifyMsgBody{}, "ChannelCooperativeCommit": ChannelCooperativeCommitMsgBody{}, "CloseStorageContract": CloseStorageContractMsgBody{}, "AcceptStorageContract": AcceptStorageContractMsgBody{}, "WhalesNominatorsDeposit": WhalesNominatorsDepositMsgBody{}, "ReportStaticData": ReportStaticDataMsgBody{}, "ReportRoyaltyParams": ReportRoyaltyParamsMsgBody{}, "StorageRewardWithdrawal": StorageRewardWithdrawalMsgBody{}, "StorageContractTerminated": StorageContractTerminatedMsgBody{}, "SbtRequestOwner": SbtRequestOwnerMsgBody{}, "StorageContractConfirmed": StorageContractConfirmedMsgBody{}, "Excess": ExcessMsgBody{}, "WhalesNominatorsWithdraw": WhalesNominatorsWithdrawMsgBody{}, "ChannelClosed": ChannelClosedMsgBody{}, "WalletPluginDestructResponse": WalletPluginDestructResponseMsgBody{}, "DeployStorageContract": DeployStorageContractMsgBody{}, "PaymentRequestResponse": PaymentRequestResponseMsgBody{}, }
View Source
var KnownSimpleGetMethods = map[int][]func(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error){ 69506: {GetTelemintTokenName}, 71463: {GetTorrentHash}, 72748: {GetSaleData}, 78748: {GetPublicKey}, 81467: {GetSubwalletId}, 81490: {GetNextProofInfo}, 81689: {GetPoolData}, 84760: {GetAuthorityAddress}, 85143: {Seqno}, 85719: {RoyaltyParams}, 86593: {GetStorageContractData}, 89295: {GetMembersRaw}, 97026: {GetWalletData}, 97667: {GetRevokedTime}, 102351: {GetNftData}, 102491: {GetCollectionData}, 104346: {GetStorageParams}, 106029: {GetJettonData}, 106901: {GetChannelState}, 107653: {GetPluginList}, 111161: {ListNominators}, 115150: {GetParams}, 120146: {GetPoolStatus}, 122058: {IsActive}, 122498: {GetTelemintAuctionState}, 123928: {GetStakingStatus}, 129619: {GetTelemintAuctionConfig}, 130271: {GetWalletParams}, 130309: {ListVotes}, }
View Source
var ResultTypes = []interface{}{ &Dnsresolve_RecordsResult{}, &GetAuthorityAddressResult{}, &GetChannelStateResult{}, &GetCollectionDataResult{}, &GetJettonDataResult{}, &GetMember_WhalesNominatorResult{}, &GetMembersRaw_WhalesNominatorResult{}, &GetNextProofInfoResult{}, &GetNftAddressByIndexResult{}, &GetNftContentResult{}, &GetNftDataResult{}, &GetParams_WhalesNominatorResult{}, &GetPluginListResult{}, &GetPoolData_TfResult{}, &GetPoolStatusResult{}, &GetPublicKeyResult{}, &GetRevokedTimeResult{}, &GetSaleData_BasicResult{}, &GetSaleData_GetgemsAuctionResult{}, &GetSaleData_GetgemsResult{}, &GetStakingStatusResult{}, &GetStorageContractAddressResult{}, &GetStorageContractDataResult{}, &GetStorageParamsResult{}, &GetSubwalletIdResult{}, &GetTelemintAuctionConfigResult{}, &GetTelemintAuctionStateResult{}, &GetTelemintTokenNameResult{}, &GetTorrentHashResult{}, &GetWalletAddressResult{}, &GetWalletDataResult{}, &GetWalletParamsResult{}, &IsActiveResult{}, &IsPluginInstalledResult{}, &ListNominatorsResult{}, &ListVotesResult{}, &RoyaltyParamsResult{}, &SeqnoResult{}, }
Functions ¶
func DecodeDnsresolve_RecordsResult ¶ added in v1.0.7
func DecodeGetAuthorityAddressResult ¶ added in v1.0.7
func DecodeGetChannelStateResult ¶ added in v1.0.7
func DecodeGetCollectionDataResult ¶ added in v1.0.7
func DecodeGetJettonDataResult ¶ added in v1.0.7
func DecodeGetMember_WhalesNominatorResult ¶ added in v1.0.7
func DecodeGetMembersRaw_WhalesNominatorResult ¶ added in v1.0.7
func DecodeGetNextProofInfoResult ¶ added in v1.0.7
func DecodeGetNftAddressByIndexResult ¶ added in v1.0.7
func DecodeGetNftContentResult ¶ added in v1.0.7
func DecodeGetNftDataResult ¶ added in v1.0.7
func DecodeGetParams_WhalesNominatorResult ¶ added in v1.0.7
func DecodeGetPluginListResult ¶ added in v1.0.7
func DecodeGetPoolData_TfResult ¶ added in v1.0.7
func DecodeGetPoolStatusResult ¶ added in v1.0.7
func DecodeGetPublicKeyResult ¶ added in v1.0.7
func DecodeGetRevokedTimeResult ¶ added in v1.0.7
func DecodeGetSaleData_BasicResult ¶ added in v1.0.7
func DecodeGetSaleData_GetgemsAuctionResult ¶ added in v1.0.7
func DecodeGetSaleData_GetgemsResult ¶ added in v1.0.7
func DecodeGetStakingStatusResult ¶ added in v1.0.7
func DecodeGetStorageContractAddressResult ¶ added in v1.0.7
func DecodeGetStorageContractDataResult ¶ added in v1.0.7
func DecodeGetStorageParamsResult ¶ added in v1.0.7
func DecodeGetSubwalletIdResult ¶ added in v1.0.7
func DecodeGetTelemintAuctionConfigResult ¶ added in v1.0.7
func DecodeGetTelemintAuctionStateResult ¶ added in v1.0.7
func DecodeGetTelemintTokenNameResult ¶ added in v1.0.7
func DecodeGetTorrentHashResult ¶ added in v1.0.7
func DecodeGetWalletAddressResult ¶ added in v1.0.7
func DecodeGetWalletDataResult ¶ added in v1.0.7
func DecodeGetWalletParamsResult ¶ added in v1.0.7
func DecodeIsActiveResult ¶ added in v1.0.7
func DecodeIsPluginInstalledResult ¶ added in v1.0.7
func DecodeListNominatorsResult ¶ added in v1.0.7
func DecodeListVotesResult ¶ added in v1.0.7
func DecodeRoyaltyParamsResult ¶ added in v1.0.7
func DecodeSeqnoResult ¶ added in v1.0.7
func Dnsresolve ¶
func GetAuthorityAddress ¶
func GetChannelState ¶
func GetCollectionData ¶
func GetJettonData ¶
func GetMembersRaw ¶ added in v1.0.4
func GetNextProofInfo ¶
func GetNftAddressByIndex ¶
func GetNftContent ¶
func GetNftData ¶
func GetPluginList ¶
func GetPoolData ¶ added in v1.0.5
func GetPoolStatus ¶
func GetPublicKey ¶
func GetRevokedTime ¶
func GetSaleData ¶
func GetStakingStatus ¶
func GetStorageContractData ¶
func GetStorageParams ¶
func GetSubwalletId ¶
func GetTelemintAuctionConfig ¶ added in v1.0.3
func GetTelemintAuctionState ¶ added in v1.0.3
func GetTelemintTokenName ¶ added in v1.0.3
func GetTorrentHash ¶
func GetWalletAddress ¶
func GetWalletData ¶
func GetWalletParams ¶
func IsPluginInstalled ¶
func IsWallet ¶
func IsWallet(i ContractInterface) bool
IsWallet returns true if the given interface is one of the wallet interfaces.
func ListNominators ¶
func NewContractInspector ¶
func NewContractInspector(opts ...InspectorOption) *contractInspector
func RoyaltyParams ¶
Types ¶
type AcceptStorageContractMsgBody ¶
type AcceptStorageContractMsgBody struct {
QueryId uint64
}
type ChannelClosedMsgBody ¶
type CloseStorageContractMsgBody ¶
type CloseStorageContractMsgBody struct {
QueryId uint64
}
type ClosingConfig ¶
type ContentData ¶
type ContractDescription ¶
type ContractDescription struct {
// Interfaces is a list of interfaces implemented by a contract.
Interfaces map[ContractInterface]InterfaceDescription
}
func (ContractDescription) ImplementedInterfaces ¶
func (ci ContractDescription) ImplementedInterfaces() []ContractInterface
type ContractInterface ¶
type ContractInterface string
const ( NftSale ContractInterface = "nft_sale" NftSaleGetgems ContractInterface = "nft_sale_getgems" PaymentChannel ContractInterface = "payment_channel" StorageContract ContractInterface = "storage_contract" StorageProvider ContractInterface = "storage_provider" Telemint ContractInterface = "telemint" Tep62Collection ContractInterface = "tep62_collection" Tep62Item ContractInterface = "tep62_item" Tep66 ContractInterface = "tep66" Tep74 ContractInterface = "tep74" Tep85 ContractInterface = "tep85" TfNominator ContractInterface = "tf_nominator" Wallet ContractInterface = "wallet" WalletV4R2 ContractInterface = "wallet_v4r2" WhalesNominators ContractInterface = "whales_nominators" )
more wallet-related contract interfaces are defined in wallet.go
const ( // Wallet is an abstract interface, // any wallet in the blockchain has a concrete version like v1R1, v4R1 but // whenever a contract implements any specific wallet interface, this one will be added too. WalletV1R1 ContractInterface = "wallet_v1R1" WalletV1R2 ContractInterface = "wallet_v1R2" WalletV1R3 ContractInterface = "wallet_v1R3" WalletV2R1 ContractInterface = "wallet_v2R1" WalletV2R2 ContractInterface = "wallet_v2R2" WalletV3R1 ContractInterface = "wallet_v3R1" WalletV3R2 ContractInterface = "wallet_v3R2" WalletV4R1 ContractInterface = "wallet_v4R1" // WalletV4 is an abstract interface, added once a wallet implements any of v4R* versions. WalletV4 ContractInterface = "wallet_v4" // WalletHighload is an abstract interface, added once a wallet implements any of HighLoad versions. WalletHighload ContractInterface = "wallet_highload" )
type Dnsresolve_RecordsResult ¶
type Dnsresolve_RecordsResult struct {
ResolvedBits int64
Result tlb.DNSRecordSet
}
type ExcessMsgBody ¶
type ExcessMsgBody struct {
QueryId uint64
}
type FinishUncooperativeChannelCloseMsgBody ¶
type FinishUncooperativeChannelCloseMsgBody struct{}
type FullContent ¶
type GetAuthorityAddressResult ¶
type GetAuthorityAddressResult struct {
Address tlb.MsgAddress
}
type GetChannelStateResult ¶
type GetChannelStateResult struct {
State uint64
}
type GetCollectionDataResult ¶
type GetJettonDataResult ¶
type GetMember_WhalesNominatorResult ¶ added in v1.0.4
type GetMembersRaw_WhalesNominatorResult ¶ added in v1.0.4
type GetMembersRaw_WhalesNominatorResult struct {
Members WhalesNominatorsMembersList
}
type GetNextProofInfoResult ¶
type GetNftAddressByIndexResult ¶
type GetNftAddressByIndexResult struct {
Address tlb.MsgAddress
}
type GetNftContentResult ¶
type GetNftContentResult struct {
Content FullContent
}
type GetNftDataResult ¶
type GetNftDataResult struct {
Init bool
Index tlb.Int257
CollectionAddress tlb.MsgAddress
OwnerAddress tlb.MsgAddress
IndividualContent tlb.Any
}
type GetPluginListResult ¶
type GetPoolData_TfResult ¶ added in v1.0.5
type GetPoolData_TfResult struct {
State int8
NominatorsCount uint32
StakeAmountSent int64
ValidatorAmount int64
ValidatorAddress tlb.Bits256
MaxNominatorsCount uint32
MinValidatorStake int64
MinNominatorStake int64
Nominators tlb.Any
WithdrawRequests []struct {
}
StakeAt uint32
SavedValidatorSetHash tlb.Bits256
ValidatorSetChangesCount uint32
ValidatorSetChangeTime uint32
StakeHeldFor uint32
ConfigProposalVotings []struct {
}
}
type GetPoolStatusResult ¶
type GetPublicKeyResult ¶
type GetRevokedTimeResult ¶
type GetRevokedTimeResult struct {
Time uint64
}
type GetRoyaltyParamsMsgBody ¶
type GetRoyaltyParamsMsgBody struct {
QueryId uint64
}
type GetSaleData_BasicResult ¶
type GetSaleData_BasicResult struct {
Marketplace tlb.MsgAddress
Nft tlb.MsgAddress
Owner tlb.MsgAddress
FullPrice tlb.Int257
MarketFee uint64
RoyaltyAddress tlb.MsgAddress
RoyaltyAmount uint64
}
type GetSaleData_GetgemsAuctionResult ¶
type GetSaleData_GetgemsAuctionResult struct {
Magic uint64
End bool
EndTime uint32
Marketplace tlb.MsgAddress
Nft tlb.MsgAddress
Owner tlb.MsgAddress
LastBid uint64
LastMember tlb.MsgAddress
MinStep uint64
MarketFeeAddress tlb.MsgAddress
MpFeeFactor uint32
MpFeeBase uint32
RoyaltyAddress tlb.MsgAddress
RoyaltyFeeFactor uint32
RoyaltyFeeBase uint32
MaxBid uint64
MinBid uint64
CreatedAt uint32
LastBidAt uint32
IsCanceled bool
}
type GetSaleData_GetgemsResult ¶
type GetSaleData_GetgemsResult struct {
Magic uint64
IsComplete bool
CreatedAt uint64
Marketplace tlb.MsgAddress
Nft tlb.MsgAddress
Owner tlb.MsgAddress
FullPrice tlb.Int257
MarketFeeAddress tlb.MsgAddress
MarketFee uint64
RoyaltyAddress tlb.MsgAddress
RoyaltyAmount uint64
}
type GetStakingStatusResult ¶
type GetStaticDataMsgBody ¶
type GetStaticDataMsgBody struct {
QueryId uint64
}
type GetStorageContractAddressResult ¶
type GetStorageContractAddressResult struct {
StorageContractAddress tlb.MsgAddress
}
type GetStorageParamsResult ¶
type GetSubwalletIdResult ¶
type GetSubwalletIdResult struct {
SubwalletId uint32
}
type GetTelemintAuctionConfigResult ¶ added in v1.0.3
type GetTelemintAuctionStateResult ¶ added in v1.0.3
type GetTelemintTokenNameResult ¶ added in v1.0.3
type GetTorrentHashResult ¶
type GetWalletAddressResult ¶
type GetWalletAddressResult struct {
JettonWalletAddress tlb.MsgAddress
}
type GetWalletDataResult ¶
type GetWalletDataResult struct {
Balance tlb.Int257
Owner tlb.MsgAddress
Jetton tlb.MsgAddress
JettonWalletCode tlb.Any
}
type GetWalletParamsResult ¶
type InspectorOption ¶
type InspectorOption func(o *InspectorOptions)
func InspectWithAdditionalMethods ¶
func InspectWithAdditionalMethods(list []MethodDescription) InspectorOption
type InspectorOptions ¶
type InspectorOptions struct {
// contains filtered or unexported fields
}
type InterfaceDescription ¶
type InterfaceDescription struct {
// GetMethods contains successfully executed methods and results of executions.
GetMethods map[string]MethodInvocation
}
type IsActiveResult ¶
type IsActiveResult struct {
IsActive bool
}
type IsPluginInstalledResult ¶
type IsPluginInstalledResult struct {
Success bool
}
type JettonBurnMsgBody ¶
type JettonInternalTransferMsgBody ¶
type JettonInternalTransferMsgBody struct {
QueryId uint64
Amount tlb.VarUInteger16
From tlb.MsgAddress
ResponseAddress tlb.MsgAddress
ForwardTonAmount tlb.VarUInteger16
}
type JettonNotifyMsgBody ¶ added in v1.0.8
type JettonNotifyMsgBody struct {
QueryId uint64
Amount tlb.VarUInteger16
Sender tlb.MsgAddress
ForwardPayload tlb.EitherRef[tlb.Any]
}
type JettonTransferMsgBody ¶
type JettonTransferMsgBody struct {
QueryId uint64
Amount tlb.VarUInteger16
Destination tlb.MsgAddress
ResponseDestination tlb.MsgAddress
CustomPayload tlb.Maybe[tlb.Ref[tlb.Any]]
ForwardTonAmount tlb.VarUInteger16
ForwardPayload tlb.EitherRef[tlb.Any]
}
type ListNominatorsResult ¶
type ListVotesResult ¶
type MethodDescription ¶
type MethodDescription struct {
Name string
// InvokeFn executes this method on a contract and returns parsed execution results.
InvokeFn InvokeFn
// ImplementedBy is a list of contract interfaces that implement this method.
// All contract interfaces share the same method with the same output type.
ImplementedBy []ContractInterface
// ImplementedByFn returns an implemented contract interface based on a type hint from InvokeFn.
// Contract interfaces share the same method name but output is different for each contract interface.
// Check GetSaleData out as an example.
ImplementedByFn func(typeName string) ContractInterface
}
MethodDescription describes a particular method and provides a function to execute it.
type MethodInvocation ¶
type NftRoyaltyParams ¶
type NftRoyaltyParams struct {
Numerator uint16
Denominator uint16
Destination tlb.MsgAddress
}
type NftTransferMsgBody ¶
type OfferStorageContractMsgBody ¶
type OfferStorageContractMsgBody struct {
QueryId uint64
}
type OwnershipProofMsgBody ¶
type PaymentConfig ¶
type PaymentConfig struct {
ExcessFee tlb.Grams
DestA tlb.MsgAddress
DestB tlb.MsgAddress
}
type PaymentRequestMsgBody ¶
type PaymentRequestMsgBody struct {
QueryId uint64
Amount tlb.CurrencyCollection
}
type PaymentRequestResponseMsgBody ¶
type PaymentRequestResponseMsgBody struct {
QueryId uint64
}
type ProofStorageMsgBody ¶
type ProveOwnershipMsgBody ¶
type QuarantinedState ¶
type QuarantinedState struct {
StateA SemiChannelBody
StateB SemiChannelBody
QuarantineStarts uint32
StateCommitedByA bool
}
type ReportRoyaltyParamsMsgBody ¶
type ReportRoyaltyParamsMsgBody struct {
QueryId uint64
Numerator uint16
Denominator uint16
Destination tlb.MsgAddress
}
type ReportStaticDataMsgBody ¶
type ReportStaticDataMsgBody struct {
QueryId uint64
Index tlb.Uint256
Collection tlb.MsgAddress
}
type RoyaltyParamsResult ¶
type RoyaltyParamsResult struct {
Numerator uint16
Denominator uint16
Destination tlb.MsgAddress
}
type SbtDestroyMsgBody ¶
type SbtDestroyMsgBody struct {
QueryId uint64
}
type SbtOwnerInfoMsgBody ¶
type SbtRequestOwnerMsgBody ¶
type SbtRevokeMsgBody ¶
type SbtRevokeMsgBody struct {
QueryId uint64
}
type SemiChannel ¶
type SemiChannel struct {
Magic tlb.Magic `tlb:"#43685374"`
ChannelId tlb.Uint128
Data SemiChannelBody
CounterpartyData tlb.Maybe[tlb.Ref[SemiChannelBody]]
}
type SemiChannelBody ¶
type SeqnoResult ¶
type SeqnoResult struct {
State uint32
}
type SignedSemiChannel ¶
type SignedSemiChannel struct {
Signature tlb.Bits512
State SemiChannel
}
type StorageRewardWithdrawalMsgBody ¶
type StorageRewardWithdrawalMsgBody struct {
QueryId uint64
}
type StorageWithdrawMsgBody ¶
type StorageWithdrawMsgBody struct {
QueryId uint64
}
type TeleitemAuctionConfig ¶
type TeleitemCancelAuctionMsgBody ¶
type TeleitemCancelAuctionMsgBody struct {
QueryId int64
}
type TeleitemDeployMsgBody ¶
type TeleitemDeployMsgBody struct {
SenderAddress tlb.MsgAddress
Bid tlb.Grams
Username tlb.FixedLengthText
Content tlb.Ref[tlb.Any]
AuctionConfig tlb.Ref[TeleitemAuctionConfig]
RoyaltyParams tlb.Ref[NftRoyaltyParams]
}
type TeleitemStartAuctionMsgBody ¶
type TeleitemStartAuctionMsgBody struct {
QueryId int64
AuctionConfig tlb.Ref[TeleitemAuctionConfig]
}
type TelemintData ¶
type TelemintDeployMsgBody ¶
type TelemintDeployMsgBody struct {
Sig tlb.Bits512
Msg TelemintUnsignedDeploy
}
type TelemintDeployV2MsgBody ¶
type TelemintDeployV2MsgBody struct {
Sig tlb.Bits512
Msg TelemintUnsignedDeployV2
}
type TelemintRestrictions ¶
type TelemintRestrictions struct {
ForceSenderAddress tlb.Maybe[tlb.MsgAddress]
RewriteSenderAddress tlb.Maybe[tlb.MsgAddress]
}
type TelemintUnsignedDeploy ¶
type TextCommentMsgBody ¶
type TorrentInfo ¶
type UpdatePubkeyMsgBody ¶
type WalletPluginDestructMsgBody ¶
type WalletPluginDestructMsgBody struct {
QueryId uint64
}
type WalletPluginDestructResponseMsgBody ¶
type WalletPluginDestructResponseMsgBody struct {
QueryId uint64
}
type WhalesNominatorsDepositMsgBody ¶ added in v1.0.4
type WhalesNominatorsMember ¶ added in v1.0.4
type WhalesNominatorsMembersList ¶ added in v1.0.4
type WhalesNominatorsMembersList struct {
List tlb.Hashmap[tlb.Bits256, WhalesNominatorsMember]
}
Click to show internal directories.
Click to hide internal directories.