abi

package
v1.9.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 13 Imported by: 20

Documentation

Index

Constants

View Source
const (
	TextCommentJettonOp            JettonOpName = "TextComment"
	TegroJettonSwapJettonOp        JettonOpName = "TegroJettonSwap"
	EncryptedTextCommentJettonOp   JettonOpName = "EncryptedTextComment"
	StonfiSwapJettonOp             JettonOpName = "StonfiSwap"
	TegroAddLiquidityJettonOp      JettonOpName = "TegroAddLiquidity"
	DedustDepositLiquidityJettonOp JettonOpName = "DedustDepositLiquidity"
	StonfiSwapOkRefJettonOp        JettonOpName = "StonfiSwapOkRef"
	TonkeeperRelayerFeeJettonOp    JettonOpName = "TonkeeperRelayerFee"
	StonfiSwapOkJettonOp           JettonOpName = "StonfiSwapOk"
	DedustSwapJettonOp             JettonOpName = "DedustSwap"
	StonfiProvideLiquidityJettonOp JettonOpName = "StonfiProvideLiquidity"

	TextCommentJettonOpCode            JettonOpCode = 0x00000000
	TegroJettonSwapJettonOpCode        JettonOpCode = 0x01fb7a25
	EncryptedTextCommentJettonOpCode   JettonOpCode = 0x2167da4b
	StonfiSwapJettonOpCode             JettonOpCode = 0x25938561
	TegroAddLiquidityJettonOpCode      JettonOpCode = 0x287e167a
	DedustDepositLiquidityJettonOpCode JettonOpCode = 0x40e108d6
	StonfiSwapOkRefJettonOpCode        JettonOpCode = 0x45078540
	TonkeeperRelayerFeeJettonOpCode    JettonOpCode = 0x878da6e3
	StonfiSwapOkJettonOpCode           JettonOpCode = 0xc64370e5
	DedustSwapJettonOpCode             JettonOpCode = 0xe3a0d482
	StonfiProvideLiquidityJettonOpCode JettonOpCode = 0xfcf9e58f
)
View Source
const (
	TextCommentNFTOp          NFTOpName = "TextComment"
	EncryptedTextCommentNFTOp NFTOpName = "EncryptedTextComment"
	TeleitemBidInfoNFTOp      NFTOpName = "TeleitemBidInfo"

	TextCommentNFTOpCode          NFTOpCode = 0x00000000
	EncryptedTextCommentNFTOpCode NFTOpCode = 0x2167da4b
	TeleitemBidInfoNFTOpCode      NFTOpCode = 0x38127de1
)

Variables

View Source
var ErrStructSizeMismatch = errors.New("struct size is less than available bits and refs in cell")

ErrStructSizeMismatch means that a message body's cell contains more information than expected.

View Source
var KnownGetMethodsDecoder = map[string][]func(tlb.VmStack) (string, any, error){
	"dnsresolve":                         {DecodeDnsresolve_RecordsResult},
	"estimate_swap_out":                  {DecodeEstimateSwapOut_DedustResult},
	"get_amm_contract_data":              {DecodeGetAmmContractData_StormResult},
	"get_amm_name":                       {DecodeGetAmmName_StormResult},
	"get_amm_state":                      {DecodeGetAmmState_StormResult},
	"get_amm_status":                     {DecodeGetAmmStatus_StormResult},
	"get_asset":                          {DecodeGetAsset_DedustResult},
	"get_assets":                         {DecodeGetAssets_DedustResult},
	"get_auction_info":                   {DecodeGetAuctionInfoResult},
	"get_authority_address":              {DecodeGetAuthorityAddressResult},
	"get_balances":                       {DecodeGetBalances_DedustResult, DecodeGetBalancesResult},
	"get_bill_address":                   {DecodeGetBillAddressResult},
	"get_bill_amount":                    {DecodeGetBillAmountResult},
	"get_channel_data":                   {DecodeGetChannelDataResult},
	"get_collection_data":                {DecodeGetCollectionDataResult},
	"get_domain":                         {DecodeGetDomainResult},
	"get_editor":                         {DecodeGetEditorResult},
	"get_exchange_settings":              {DecodeGetExchangeSettings_StormResult},
	"get_executor_balances":              {DecodeGetExecutorBalances_StormResult},
	"get_executor_collection_address":    {DecodeGetExecutorCollectionAddress_StormResult},
	"get_executor_vaults_whitelist":      {DecodeGetExecutorVaultsWhitelist_StormResult},
	"get_expected_outputs":               {DecodeGetExpectedOutputs_StonfiResult},
	"get_full_domain":                    {DecodeGetFullDomainResult},
	"get_jetton_data":                    {DecodeGetJettonDataResult},
	"get_last_clean_time":                {DecodeGetLastCleanTimeResult},
	"get_last_fill_up_time":              {DecodeGetLastFillUpTimeResult},
	"get_liquidity_deposit_address":      {DecodeGetLiquidityDepositAddress_DedustResult},
	"get_locker_bill_data":               {DecodeGetLockerBillDataResult},
	"get_locker_data":                    {DecodeGetLockerDataResult},
	"get_lockup_data":                    {DecodeGetLockupDataResult},
	"get_lp_data":                        {DecodeGetLpData_MegatonResult},
	"get_lp_mining_data":                 {DecodeGetLpMiningData_MegatonResult},
	"get_lp_minter_address":              {DecodeGetLpMinterAddress_StormResult},
	"get_lp_swap_data":                   {DecodeGetLpSwapData_MegatonResult},
	"get_member":                         {DecodeGetMember_WhalesNominatorResult},
	"get_members_raw":                    {DecodeGetMembersRaw_WhalesNominatorResult},
	"get_mining_data":                    {DecodeGetMiningData_MegatonResult},
	"get_multisig_data":                  {DecodeGetMultisigDataResult},
	"get_next_admin_address":             {DecodeGetNextAdminAddressResult},
	"get_next_proof_info":                {DecodeGetNextProofInfoResult},
	"get_nft_address_by_index":           {DecodeGetNftAddressByIndexResult},
	"get_nft_api_info":                   {DecodeGetNftApiInfoResult},
	"get_nft_content":                    {DecodeGetNftContentResult},
	"get_nft_data":                       {DecodeGetNftDataResult},
	"get_nominator_data":                 {DecodeGetNominatorDataResult},
	"get_oracle_data":                    {DecodeGetOracleData_StormResult},
	"get_order_data":                     {DecodeGetOrderDataResult},
	"get_params":                         {DecodeGetParams_WhalesNominatorResult},
	"get_plugin_list":                    {DecodeGetPluginListResult},
	"get_pool_address":                   {DecodeGetPoolAddress_StonfiResult},
	"get_pool_data":                      {DecodeGetPoolData_StonfiResult, DecodeGetPoolData_TfResult},
	"get_pool_full_data":                 {DecodeGetPoolFullDataResult},
	"get_pool_status":                    {DecodeGetPoolStatusResult},
	"get_position_manager_contract_data": {DecodeGetPositionManagerContractData_StormResult},
	"get_pow_params":                     {DecodeGetPowParamsResult},
	"get_public_key":                     {DecodeGetPublicKeyResult},
	"get_referral_collection_address":    {DecodeGetReferralCollectionAddress_StormResult},
	"get_referral_data":                  {DecodeGetReferralData_StormResult},
	"get_referral_vaults_whitelist":      {DecodeGetReferralVaultsWhitelist_StormResult},
	"get_reserves":                       {DecodeGetReserves_DedustResult},
	"get_revoked_time":                   {DecodeGetRevokedTimeResult},
	"get_router_data":                    {DecodeGetRouterData_StonfiResult},
	"get_sale_data":                      {DecodeGetSaleData_BasicResult, DecodeGetSaleData_GetgemsResult, DecodeGetSaleData_GetgemsAuctionResult},
	"get_spot_price":                     {DecodeGetSpotPrice_StormResult},
	"get_staking_status":                 {DecodeGetStakingStatusResult},
	"get_status":                         {DecodeGetStatusResult},
	"get_storage_contract_address":       {DecodeGetStorageContractAddressResult},
	"get_storage_contract_data":          {DecodeGetStorageContractDataResult},
	"get_storage_params":                 {DecodeGetStorageParamsResult},
	"get_subscription_data":              {DecodeGetSubscriptionDataResult},
	"get_subwallet_id":                   {DecodeGetSubwalletIdResult},
	"get_target_balances":                {DecodeGetTargetBalances_DedustResult},
	"get_telemint_auction_config":        {DecodeGetTelemintAuctionConfigResult},
	"get_telemint_auction_state":         {DecodeGetTelemintAuctionStateResult},
	"get_telemint_token_name":            {DecodeGetTelemintTokenNameResult},
	"get_terminal_amm_price":             {DecodeGetTerminalAmmPrice_StormResult},
	"get_timeout":                        {DecodeGetTimeoutResult},
	"get_torrent_hash":                   {DecodeGetTorrentHashResult},
	"get_trade_fee":                      {DecodeGetTradeFee_DedustResult},
	"get_validator_controller_data":      {DecodeGetValidatorControllerDataResult},
	"get_vamm_type":                      {DecodeGetVammType_StormResult},
	"get_vault_address":                  {DecodeGetVaultAddress_DedustResult},
	"get_vault_contract_data":            {DecodeGetVaultContractData_StormResult},
	"get_vault_data":                     {DecodeGetVaultData_StormResult},
	"get_vault_type":                     {DecodeGetVaultType_StormResult},
	"get_vault_whitelisted_addresses":    {DecodeGetVaultWhitelistedAddresses_StormResult},
	"get_wallet_address":                 {DecodeGetWalletAddressResult},
	"get_wallet_data":                    {DecodeGetWalletDataResult},
	"get_wallet_params":                  {DecodeGetWalletParamsResult},
	"is_active":                          {DecodeIsActiveResult},
	"is_claimed":                         {DecodeIsClaimedResult},
	"is_plugin_installed":                {DecodeIsPluginInstalledResult},
	"is_stable":                          {DecodeIsStable_DedustResult},
	"jetton_wallet_lock_data":            {DecodeJettonWalletLockDataResult},
	"list_nominators":                    {DecodeListNominatorsResult},
	"list_votes":                         {DecodeListVotesResult},
	"royalty_params":                     {DecodeRoyaltyParamsResult},
	"seqno":                              {DecodeSeqnoResult},
}
View Source
var KnownMsgInTypes = map[string]any{}/* 165 elements not displayed */
View Source
var KnownSimpleGetMethods = map[int][]func(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error){
	65971:  {GetReserves},
	66763:  {GetFullDomain},
	69018:  {GetVaultWhitelistedAddresses},
	69506:  {GetTelemintTokenName},
	69628:  {GetChannelData},
	71463:  {GetTorrentHash},
	72748:  {GetSaleData},
	73490:  {GetLockerData},
	75065:  {GetExecutorBalances},
	75709:  {GetExecutorVaultsWhitelist},
	78683:  {GetNextAdminAddress},
	78748:  {GetPublicKey},
	80035:  {GetLpData},
	80697:  {GetAuctionInfo},
	80822:  {GetLastCleanTime},
	81467:  {GetSubwalletId},
	81490:  {GetNextProofInfo},
	81689:  {GetPoolData},
	83226:  {GetExecutorCollectionAddress},
	83263:  {GetNftApiInfo},
	83894:  {GetLpMinterAddress},
	84232:  {GetTargetBalances},
	84760:  {GetAuthorityAddress},
	85143:  {Seqno},
	85719:  {RoyaltyParams},
	86353:  {GetAmmState},
	86593:  {GetStorageContractData},
	86862:  {GetReferralCollectionAddress},
	87635:  {GetAmmStatus},
	87675:  {GetSpotPrice},
	87878:  {GetBalances},
	88817:  {GetOracleData},
	89295:  {GetMembersRaw},
	89352:  {GetAsset},
	90228:  {GetEditor},
	91481:  {GetLastFillUpTime},
	92229:  {GetPoolFullData},
	92260:  {GetSubscriptionData},
	96219:  {GetMiningData},
	96263:  {GetExchangeSettings},
	96705:  {GetBillAmount},
	96780:  {GetTradeFee},
	97026:  {GetWalletData},
	97667:  {GetRevokedTime},
	98607:  {GetVaultContractData},
	100881: {GetStatus},
	101616: {GetPowParams},
	101877: {GetVaultType},
	102351: {GetNftData},
	102491: {GetCollectionData},
	103232: {GetValidatorControllerData},
	103723: {IsStable},
	104122: {GetLpMiningData},
	104346: {GetStorageParams},
	105070: {GetTimeout},
	105875: {GetAmmContractData},
	106029: {GetJettonData},
	107305: {GetLockupData},
	107307: {GetMultisigData},
	107494: {GetVammType},
	107653: {GetPluginList},
	108868: {GetTerminalAmmPrice},
	111161: {ListNominators},
	115150: {GetParams},
	116242: {GetLpSwapData},
	118188: {GetAssets},
	118274: {GetLockerBillData},
	119378: {GetDomain},
	119995: {GetPositionManagerContractData},
	120146: {GetPoolStatus},
	122058: {IsActive},
	122284: {IsClaimed},
	122496: {GetAmmName},
	122498: {GetTelemintAuctionState},
	123832: {GetOrderData},
	123928: {GetStakingStatus},
	124861: {GetReferralVaultsWhitelist},
	127184: {GetVaultData},
	128085: {GetRouterData},
	128979: {JettonWalletLockData},
	129619: {GetTelemintAuctionConfig},
	129770: {GetReferralData},
	130271: {GetWalletParams},
	130309: {ListVotes},
}

Functions

func DecodeDnsresolve_RecordsResult added in v1.0.7

func DecodeDnsresolve_RecordsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeEstimateSwapOut_DedustResult added in v1.9.5

func DecodeEstimateSwapOut_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetAmmContractData_StormResult added in v1.8.13

func DecodeGetAmmContractData_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetAmmName_StormResult added in v1.8.13

func DecodeGetAmmName_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetAmmState_StormResult added in v1.8.13

func DecodeGetAmmState_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetAmmStatus_StormResult added in v1.8.13

func DecodeGetAmmStatus_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetAsset_DedustResult added in v1.3.0

func DecodeGetAsset_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetAssets_DedustResult added in v1.3.0

func DecodeGetAssets_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetAuctionInfoResult added in v1.0.14

func DecodeGetAuctionInfoResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetAuthorityAddressResult added in v1.0.7

func DecodeGetAuthorityAddressResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetBalancesResult added in v1.3.0

func DecodeGetBalancesResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetBalances_DedustResult added in v1.9.5

func DecodeGetBalances_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetBillAddressResult added in v1.2.1

func DecodeGetBillAddressResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetBillAmountResult added in v1.1.2

func DecodeGetBillAmountResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetChannelDataResult added in v1.3.0

func DecodeGetChannelDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetCollectionDataResult added in v1.0.7

func DecodeGetCollectionDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetDomainResult added in v1.0.14

func DecodeGetDomainResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetEditorResult added in v1.0.14

func DecodeGetEditorResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetExchangeSettings_StormResult added in v1.8.13

func DecodeGetExchangeSettings_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetExecutorBalances_StormResult added in v1.8.13

func DecodeGetExecutorBalances_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetExecutorCollectionAddress_StormResult added in v1.8.13

func DecodeGetExecutorCollectionAddress_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetExecutorVaultsWhitelist_StormResult added in v1.8.13

func DecodeGetExecutorVaultsWhitelist_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetExpectedOutputs_StonfiResult added in v1.8.11

func DecodeGetExpectedOutputs_StonfiResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetFullDomainResult added in v1.0.14

func DecodeGetFullDomainResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetJettonDataResult added in v1.0.7

func DecodeGetJettonDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLastCleanTimeResult added in v1.6.6

func DecodeGetLastCleanTimeResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLastFillUpTimeResult added in v1.0.14

func DecodeGetLastFillUpTimeResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLiquidityDepositAddress_DedustResult added in v1.9.5

func DecodeGetLiquidityDepositAddress_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLockerBillDataResult added in v1.2.1

func DecodeGetLockerBillDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLockerDataResult added in v1.2.1

func DecodeGetLockerDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLockupDataResult added in v1.3.0

func DecodeGetLockupDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLpData_MegatonResult added in v1.2.1

func DecodeGetLpData_MegatonResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLpMiningData_MegatonResult added in v1.2.1

func DecodeGetLpMiningData_MegatonResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLpMinterAddress_StormResult added in v1.8.13

func DecodeGetLpMinterAddress_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetLpSwapData_MegatonResult added in v1.2.1

func DecodeGetLpSwapData_MegatonResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetMember_WhalesNominatorResult added in v1.0.7

func DecodeGetMember_WhalesNominatorResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetMembersRaw_WhalesNominatorResult added in v1.0.7

func DecodeGetMembersRaw_WhalesNominatorResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetMiningData_MegatonResult added in v1.2.1

func DecodeGetMiningData_MegatonResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetMultisigDataResult added in v1.6.0

func DecodeGetMultisigDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetNextAdminAddressResult added in v1.6.5

func DecodeGetNextAdminAddressResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetNextProofInfoResult added in v1.0.7

func DecodeGetNextProofInfoResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetNftAddressByIndexResult added in v1.0.7

func DecodeGetNftAddressByIndexResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetNftApiInfoResult added in v1.5.0

func DecodeGetNftApiInfoResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetNftContentResult added in v1.0.7

func DecodeGetNftContentResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetNftDataResult added in v1.0.7

func DecodeGetNftDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetNominatorDataResult added in v1.1.2

func DecodeGetNominatorDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetOracleData_StormResult added in v1.8.13

func DecodeGetOracleData_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetOrderDataResult added in v1.8.10

func DecodeGetOrderDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetParams_WhalesNominatorResult added in v1.0.7

func DecodeGetParams_WhalesNominatorResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetPluginListResult added in v1.0.7

func DecodeGetPluginListResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetPoolAddress_StonfiResult added in v1.8.11

func DecodeGetPoolAddress_StonfiResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetPoolData_StonfiResult added in v1.2.0

func DecodeGetPoolData_StonfiResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetPoolData_TfResult added in v1.0.7

func DecodeGetPoolData_TfResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetPoolFullDataResult added in v1.1.2

func DecodeGetPoolFullDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetPoolStatusResult added in v1.0.7

func DecodeGetPoolStatusResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetPositionManagerContractData_StormResult added in v1.8.13

func DecodeGetPositionManagerContractData_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetPowParamsResult added in v1.6.6

func DecodeGetPowParamsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetPublicKeyResult added in v1.0.7

func DecodeGetPublicKeyResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetReferralCollectionAddress_StormResult added in v1.8.13

func DecodeGetReferralCollectionAddress_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetReferralData_StormResult added in v1.8.13

func DecodeGetReferralData_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetReferralVaultsWhitelist_StormResult added in v1.8.13

func DecodeGetReferralVaultsWhitelist_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetReserves_DedustResult added in v1.3.0

func DecodeGetReserves_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetRevokedTimeResult added in v1.0.7

func DecodeGetRevokedTimeResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetRouterData_StonfiResult added in v1.3.0

func DecodeGetRouterData_StonfiResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetSaleData_BasicResult added in v1.0.7

func DecodeGetSaleData_BasicResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetSaleData_GetgemsAuctionResult added in v1.0.7

func DecodeGetSaleData_GetgemsAuctionResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetSaleData_GetgemsResult added in v1.0.7

func DecodeGetSaleData_GetgemsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetSpotPrice_StormResult added in v1.8.13

func DecodeGetSpotPrice_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetStakingStatusResult added in v1.0.7

func DecodeGetStakingStatusResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetStatusResult added in v1.6.5

func DecodeGetStatusResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetStorageContractAddressResult added in v1.0.7

func DecodeGetStorageContractAddressResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetStorageContractDataResult added in v1.0.7

func DecodeGetStorageContractDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetStorageParamsResult added in v1.0.7

func DecodeGetStorageParamsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetSubscriptionDataResult added in v1.0.14

func DecodeGetSubscriptionDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetSubwalletIdResult added in v1.0.7

func DecodeGetSubwalletIdResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetTargetBalances_DedustResult added in v1.9.5

func DecodeGetTargetBalances_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetTelemintAuctionConfigResult added in v1.0.7

func DecodeGetTelemintAuctionConfigResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetTelemintAuctionStateResult added in v1.0.7

func DecodeGetTelemintAuctionStateResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetTelemintTokenNameResult added in v1.0.7

func DecodeGetTelemintTokenNameResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetTerminalAmmPrice_StormResult added in v1.8.13

func DecodeGetTerminalAmmPrice_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetTimeoutResult added in v1.6.6

func DecodeGetTimeoutResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetTorrentHashResult added in v1.0.7

func DecodeGetTorrentHashResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetTradeFee_DedustResult added in v1.9.5

func DecodeGetTradeFee_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetValidatorControllerDataResult added in v1.1.0

func DecodeGetValidatorControllerDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetVammType_StormResult added in v1.8.13

func DecodeGetVammType_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetVaultAddress_DedustResult added in v1.9.5

func DecodeGetVaultAddress_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetVaultContractData_StormResult added in v1.8.13

func DecodeGetVaultContractData_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetVaultData_StormResult added in v1.8.13

func DecodeGetVaultData_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetVaultType_StormResult added in v1.8.13

func DecodeGetVaultType_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetVaultWhitelistedAddresses_StormResult added in v1.8.13

func DecodeGetVaultWhitelistedAddresses_StormResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetWalletAddressResult added in v1.0.7

func DecodeGetWalletAddressResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetWalletDataResult added in v1.0.7

func DecodeGetWalletDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeGetWalletParamsResult added in v1.0.7

func DecodeGetWalletParamsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeIsActiveResult added in v1.0.7

func DecodeIsActiveResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeIsClaimedResult added in v1.9.1

func DecodeIsClaimedResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeIsPluginInstalledResult added in v1.0.7

func DecodeIsPluginInstalledResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeIsStable_DedustResult added in v1.9.1

func DecodeIsStable_DedustResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeJettonWalletLockDataResult added in v1.5.8

func DecodeJettonWalletLockDataResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeListNominatorsResult added in v1.0.7

func DecodeListNominatorsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeListVotesResult added in v1.0.7

func DecodeListVotesResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeRoyaltyParamsResult added in v1.0.7

func DecodeRoyaltyParamsResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func DecodeSeqnoResult added in v1.0.7

func DecodeSeqnoResult(stack tlb.VmStack) (resultType string, resultAny any, err error)

func Dnsresolve

func Dnsresolve(ctx context.Context, executor Executor, reqAccountID ton.AccountID, domain []byte, category tlb.Int257) (string, any, error)

func EstimateSwapOut added in v1.9.5

func EstimateSwapOut(ctx context.Context, executor Executor, reqAccountID ton.AccountID, assetIn DedustAsset, amountIn tlb.Int257) (string, any, error)

func ExtInMessageDecoder added in v1.5.0

func ExtInMessageDecoder(cell *boc.Cell, interfaces []ContractInterface) (*MsgOpCode, *MsgOpName, any, error)

func ExtOutMessageDecoder added in v1.5.0

func ExtOutMessageDecoder(cell *boc.Cell, interfaces []ContractInterface, dest tlb.MsgAddress) (*MsgOpCode, *MsgOpName, any, error)

func GetAmmContractData added in v1.8.13

func GetAmmContractData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetAmmName added in v1.8.13

func GetAmmName(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetAmmState added in v1.8.13

func GetAmmState(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetAmmStatus added in v1.8.13

func GetAmmStatus(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetAsset added in v1.3.0

func GetAsset(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetAssets added in v1.3.0

func GetAssets(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetAuctionInfo added in v1.0.14

func GetAuctionInfo(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetAuthorityAddress

func GetAuthorityAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetBalances added in v1.3.0

func GetBalances(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetBillAddress added in v1.2.1

func GetBillAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID, userAddress tlb.MsgAddress) (string, any, error)

func GetBillAmount added in v1.1.2

func GetBillAmount(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetChannelData added in v1.3.0

func GetChannelData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetCollectionData

func GetCollectionData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetContractError added in v1.6.2

func GetContractError(interfaces []ContractInterface, code int32) *string

func GetDomain added in v1.0.14

func GetDomain(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetEditor added in v1.0.14

func GetEditor(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetExchangeSettings added in v1.8.13

func GetExchangeSettings(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetExecutorBalances added in v1.8.13

func GetExecutorBalances(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetExecutorCollectionAddress added in v1.8.13

func GetExecutorCollectionAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetExecutorVaultsWhitelist added in v1.8.13

func GetExecutorVaultsWhitelist(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetExpectedOutputs added in v1.8.11

func GetExpectedOutputs(ctx context.Context, executor Executor, reqAccountID ton.AccountID, amount tlb.Int257, tokenWallet tlb.MsgAddress) (string, any, error)

func GetFullDomain added in v1.0.14

func GetFullDomain(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetJettonData

func GetJettonData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetLastCleanTime added in v1.6.6

func GetLastCleanTime(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetLastFillUpTime added in v1.0.14

func GetLastFillUpTime(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetLiquidityDepositAddress added in v1.9.5

func GetLiquidityDepositAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID, ownerAddr tlb.MsgAddress, poolType tlb.Int257, asset0 DedustAsset, asset1 DedustAsset) (string, any, error)

func GetLockerBillData added in v1.2.1

func GetLockerBillData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetLockerData added in v1.2.1

func GetLockerData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetLockupData added in v1.3.0

func GetLockupData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetLpData added in v1.2.1

func GetLpData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetLpMiningData added in v1.2.1

func GetLpMiningData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetLpMinterAddress added in v1.8.13

func GetLpMinterAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetLpSwapData added in v1.2.1

func GetLpSwapData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetMember added in v1.0.4

func GetMember(ctx context.Context, executor Executor, reqAccountID ton.AccountID, member tlb.MsgAddress) (string, any, error)

func GetMembersRaw added in v1.0.4

func GetMembersRaw(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetMiningData added in v1.2.1

func GetMiningData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetMultisigData added in v1.6.0

func GetMultisigData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetNextAdminAddress added in v1.6.5

func GetNextAdminAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetNextProofInfo

func GetNextProofInfo(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetNftAddressByIndex

func GetNftAddressByIndex(ctx context.Context, executor Executor, reqAccountID ton.AccountID, index tlb.Int257) (string, any, error)

func GetNftApiInfo added in v1.5.0

func GetNftApiInfo(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetNftContent

func GetNftContent(ctx context.Context, executor Executor, reqAccountID ton.AccountID, index tlb.Int257, individualContent tlb.Any) (string, any, error)

func GetNftData

func GetNftData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetNominatorData added in v1.1.2

func GetNominatorData(ctx context.Context, executor Executor, reqAccountID ton.AccountID, address tlb.Int257) (string, any, error)

func GetOracleData added in v1.8.13

func GetOracleData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetOrderData added in v1.8.10

func GetOrderData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetParams

func GetParams(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetPluginList

func GetPluginList(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetPoolAddress added in v1.8.11

func GetPoolAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID, token0 tlb.MsgAddress, token1 tlb.MsgAddress) (string, any, error)

func GetPoolData added in v1.0.5

func GetPoolData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetPoolFullData added in v1.1.2

func GetPoolFullData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetPoolStatus

func GetPoolStatus(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetPositionManagerContractData added in v1.8.13

func GetPositionManagerContractData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetPowParams added in v1.6.6

func GetPowParams(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetPublicKey

func GetPublicKey(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetReferralCollectionAddress added in v1.8.13

func GetReferralCollectionAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetReferralData added in v1.8.13

func GetReferralData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetReferralVaultsWhitelist added in v1.8.13

func GetReferralVaultsWhitelist(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetReserves added in v1.3.0

func GetReserves(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetRevokedTime

func GetRevokedTime(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetRouterData added in v1.3.0

func GetRouterData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetSaleData

func GetSaleData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetSpotPrice added in v1.8.13

func GetSpotPrice(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetStakingStatus

func GetStakingStatus(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetStatus added in v1.6.5

func GetStatus(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetStorageContractAddress

func GetStorageContractAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID, merkleHash tlb.Int257, fileSize uint64, client tlb.MsgAddress, torrentHash tlb.Int257) (string, any, error)

func GetStorageContractData

func GetStorageContractData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetStorageParams

func GetStorageParams(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetSubscriptionData added in v1.0.14

func GetSubscriptionData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetSubwalletId

func GetSubwalletId(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetTargetBalances added in v1.9.5

func GetTargetBalances(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetTelemintAuctionConfig added in v1.0.3

func GetTelemintAuctionConfig(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetTelemintAuctionState added in v1.0.3

func GetTelemintAuctionState(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetTelemintTokenName added in v1.0.3

func GetTelemintTokenName(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetTerminalAmmPrice added in v1.8.13

func GetTerminalAmmPrice(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetTimeout added in v1.6.6

func GetTimeout(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetTorrentHash

func GetTorrentHash(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetTradeFee added in v1.9.5

func GetTradeFee(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetValidatorControllerData added in v1.1.0

func GetValidatorControllerData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetVammType added in v1.8.13

func GetVammType(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetVaultAddress added in v1.9.5

func GetVaultAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID, asset DedustAsset) (string, any, error)

func GetVaultContractData added in v1.8.13

func GetVaultContractData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetVaultData added in v1.8.13

func GetVaultData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetVaultType added in v1.8.13

func GetVaultType(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetVaultWhitelistedAddresses added in v1.8.13

func GetVaultWhitelistedAddresses(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetWalletAddress

func GetWalletAddress(ctx context.Context, executor Executor, reqAccountID ton.AccountID, ownerAddress tlb.MsgAddress) (string, any, error)

func GetWalletData

func GetWalletData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func GetWalletParams

func GetWalletParams(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func InternalMessageDecoder added in v1.5.0

func InternalMessageDecoder(cell *boc.Cell, interfaces []ContractInterface) (*MsgOpCode, *MsgOpName, any, error)

InternalMessageDecoder takes in a message body as a cell and tries to decode it based on the contract type or the first 4 bytes. It returns an opcode, an operation name and a decoded body.

func IsActive

func IsActive(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func IsClaimed added in v1.9.1

func IsClaimed(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func IsPluginInstalled

func IsPluginInstalled(ctx context.Context, executor Executor, reqAccountID ton.AccountID, workchain int32, addrHash tlb.Int257) (string, any, error)

func IsStable added in v1.9.1

func IsStable(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func JettonWalletLockData added in v1.5.8

func JettonWalletLockData(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func ListNominators

func ListNominators(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func ListVotes

func ListVotes(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func NewContractInspector

func NewContractInspector(opts ...InspectorOption) *contractInspector

func RoyaltyParams

func RoyaltyParams(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

func Seqno

func Seqno(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

Types

type AcceptStorageContractMsgBody

type AcceptStorageContractMsgBody struct {
	QueryId uint64
}

type AccountLists added in v1.0.13

type AccountLists struct {
	List tlb.Hashmap[tlb.Bits256, tlb.Any]
}

type AmmChange added in v1.8.13

type AmmChange struct {
	QuoteAssetReserve       tlb.Grams
	QuoteAssetReserveWeight tlb.Grams
	BaseAssetReserve        tlb.Grams
	TotalLongPositionSize   tlb.Grams
	TotalShortPositionSize  tlb.Grams
	OpenInterestLong        tlb.Grams
	OpenInterestShort       tlb.Grams
}

type AmmSettings added in v1.8.13

type AmmSettings struct {
	Fee                           uint32
	RolloverFee                   uint32
	FundingPeriod                 uint32
	InitMarginRatio               uint32
	MaintenanceMarginRatio        uint32
	LiquidationFeeRatio           uint32
	PartialLiquidationRatio       uint32
	SpreadLimit                   uint32
	MaxPriceImpact                uint32
	MaxPriceSpread                uint32
	MaxOpenNotional               uint32
	FeeToStakersPercent           uint32
	FundingMode                   tlb.Uint2
	MinPartialLiquidationNotional tlb.Grams
	MinLeverage                   uint32
}

type ApproveMsgBody added in v1.5.6

type ApproveMsgBody struct {
	QueryId uint64
}

type AuctionFillUpMsgBody added in v1.3.0

type AuctionFillUpMsgBody struct {
	QueryId uint64
}

type BounceMsgBody added in v1.3.0

type BounceMsgBody struct {
	Payload tlb.Any
}

type ChallengeQuarantinedChannelStateMsgBody

type ChallengeQuarantinedChannelStateMsgBody struct {
	ChallengedByA bool
	Signature     tlb.Bits512
	Tag           uint32
	ChannelId     tlb.Uint128
	SchA          SignedSemiChannel `tlb:"^"`
	SchB          SignedSemiChannel `tlb:"^"`
}

type ChangeDnsRecordMsgBody added in v1.3.0

type ChangeDnsRecordMsgBody struct {
	QueryId uint64
	Key     tlb.Bits256
	Value   tlb.DNSRecord `tlb:"^"`
}

type ChannelClosedMsgBody

type ChannelClosedMsgBody struct {
	ChannelId tlb.Uint128
}

type ChannelCooperativeCloseMsgBody

type ChannelCooperativeCloseMsgBody struct {
	SigA      tlb.Bits512 `tlb:"^"`
	SigB      tlb.Bits512 `tlb:"^"`
	Tag       uint32
	ChannelId tlb.Uint128
	BalanceA  tlb.Grams
	BalanceB  tlb.Grams
	SeqnoA    uint64
	SeqnoB    uint64
}

type ChannelCooperativeCommitMsgBody

type ChannelCooperativeCommitMsgBody struct {
	SigA      tlb.Bits512 `tlb:"^"`
	SigB      tlb.Bits512 `tlb:"^"`
	Tag       uint32
	ChannelId tlb.Uint128
	SeqnoA    uint64
	SeqnoB    uint64
}

type CloseStorageContractMsgBody

type CloseStorageContractMsgBody struct {
	QueryId uint64
}

type ClosingConfig

type ClosingConfig struct {
	QuarantinDuration        uint32
	MisbehaviorFine          tlb.Grams
	ConditionalCloseDuration uint32
}

type CommonMsgInfoRelaxed added in v1.6.6

type CommonMsgInfoRelaxed struct {
	Magic       tlb.Magic `tlb:"$0"`
	IhrDisabled bool
	Bounce      bool
	Bounced     bool
	Src         tlb.MsgAddress
	Dest        tlb.MsgAddress
	Value       tlb.CurrencyCollection
	IhrFee      tlb.Grams
	FwdFee      tlb.Grams
	CreatedLt   uint64
	CreatedAt   uint32
}

type ConditionalPayment

type ConditionalPayment struct {
	Amount    tlb.Grams
	Condition tlb.Any
}

type ContractDescription

type ContractDescription struct {
	// Interfaces is a list of interfaces implemented by a contract.
	ContractInterfaces []ContractInterface
	GetMethods         []MethodInvocation
	MethodsInspected   int
}

type ContractInterface

type ContractInterface uint32
const (
	IUnknown ContractInterface = iota
	DedustFactory
	DedustLiquidityDeposit
	DedustPool
	DedustVault
	Dns
	Editable
	GramMiner
	JettonMaster
	JettonWallet
	JettonWalletGoverned
	JettonWalletV1
	JettonWalletV2
	Locker
	LockerBill
	LockupUniversal
	LockupVesting
	MegatonfiExchange
	MegatonfiRouter
	MultisigOrderV2
	MultisigV2
	NftAuctionGetgemsV3
	NftAuctionV1
	NftCollection
	NftItem
	NftItemSimple
	NftSale
	NftSaleGetgemsV2
	NftSaleGetgemsV3
	NftSaleV1
	NftSaleV2
	PaymentChannel
	Sbt
	StonfiPool
	StonfiRouter
	StorageContract
	StorageProvider
	StormExecutor
	StormExecutorCollection
	StormPositionManager
	StormReferral
	StormReferralCollection
	StormVamm
	StormVault
	SubscriptionV1
	Teleitem
	TonstakePool
	TvPool
	ValidatorController
	Wallet
	WalletHighloadV1R1
	WalletHighloadV1R2
	WalletHighloadV2
	WalletHighloadV2R1
	WalletHighloadV2R2
	WalletHighloadV3R1
	WalletPreprocessedV2
	WalletV1R1
	WalletV1R2
	WalletV1R3
	WalletV2R1
	WalletV2R2
	WalletV3R1
	WalletV3R2
	WalletV4R1
	WalletV4R2
	WalletV5Beta
	WalletV5R1
	WhalesPool
)

func ContractInterfaceFromString added in v1.3.2

func ContractInterfaceFromString(s string) ContractInterface

func (ContractInterface) ExtInMsgs added in v1.5.0

func (c ContractInterface) ExtInMsgs() []msgDecoderFunc

func (ContractInterface) ExtOutMsgs added in v1.5.0

func (c ContractInterface) ExtOutMsgs() []msgDecoderFunc

func (ContractInterface) Implements added in v1.3.0

func (c ContractInterface) Implements(other ContractInterface) bool

func (ContractInterface) IntMsgs added in v1.5.0

func (c ContractInterface) IntMsgs() []msgDecoderFunc

func (ContractInterface) String added in v1.3.0

func (c ContractInterface) String() string

type CreditMsgBody added in v1.5.8

type CreditMsgBody struct {
	QueryId uint64
	Amount  tlb.Grams
}

type DedustAsset added in v1.3.0

type DedustAsset struct {
	tlb.SumType
	Native struct{} `tlbSumType:"$0000"`
	Jetton struct {
		WorkchainId int8
		Address     tlb.Bits256
	} `tlbSumType:"$0001"`
	ExtraCurrency struct {
		CurrencyId int32
	} `tlbSumType:"$0010"`
}

func (*DedustAsset) MarshalJSON added in v1.4.0

func (t *DedustAsset) MarshalJSON() ([]byte, error)

type DedustCancelDepositMsgBody added in v1.9.5

type DedustCancelDepositMsgBody struct {
	QueryId uint64
	Payload *tlb.Any `tlb:"maybe^"`
}

type DedustCreateVaultMsgBody added in v1.9.5

type DedustCreateVaultMsgBody struct {
	QueryId uint64
	Asset   DedustAsset
}

type DedustCreateVolatilePoolMsgBody added in v1.9.5

type DedustCreateVolatilePoolMsgBody struct {
	QueryId uint64
	Asset0  DedustAsset
	Asset1  DedustAsset
}

type DedustDepositExtOutMsgBody added in v1.9.5

type DedustDepositExtOutMsgBody struct {
	SenderAddr tlb.MsgAddress
	Amount0    tlb.Grams
	Amount1    tlb.Grams
	Reserve0   tlb.Grams
	Reserve1   tlb.Grams
	Liquidity  tlb.Grams
}

type DedustDepositLiquidityAllMsgBody added in v1.3.0

type DedustDepositLiquidityAllMsgBody struct {
	QueryId     uint64
	Proof       tlb.Any `tlb:"^"`
	OwnerAddr   tlb.MsgAddress
	MinLpAmount tlb.VarUInteger16
	Field4      struct {
		Asset0       DedustAsset
		Asset0Amount tlb.VarUInteger16
		Asset1       DedustAsset
		Asset1Amount tlb.VarUInteger16
	} `tlb:"^"`
	FulfillPayload *tlb.Any `tlb:"maybe^"`
	RejectPayload  *tlb.Any `tlb:"maybe^"`
}

type DedustDepositLiquidityJettonPayload added in v1.9.5

type DedustDepositLiquidityJettonPayload struct {
	PoolParams          DedustPoolParams
	MinLpAmount         tlb.Grams
	Asset0TargetBalance tlb.Grams
	Asset1TargetBalance tlb.Grams
	FulfillPayload      *tlb.Any `tlb:"maybe^"`
	RejectPayload       *tlb.Any `tlb:"maybe^"`
}

type DedustDepositLiquidityMsgBody added in v1.9.5

type DedustDepositLiquidityMsgBody struct {
	QueryId    uint64
	Amount     tlb.Grams
	PoolParams DedustPoolParams
	Params     struct {
		MinLpAmount         tlb.Grams
		Asset0TargetBalance tlb.Grams
		Asset1TargetBalance tlb.Grams
	} `tlb:"^"`
	FulfillPayload *tlb.Any `tlb:"maybe^"`
	RejectPayload  *tlb.Any `tlb:"maybe^"`
}

type DedustPayoutFromPoolMsgBody added in v1.3.0

type DedustPayoutFromPoolMsgBody struct {
	QueryId       uint64
	Proof         tlb.Any `tlb:"^"`
	Amount        tlb.VarUInteger16
	RecipientAddr tlb.MsgAddress
	Payload       *tlb.Any `tlb:"maybe^"`
}

type DedustPayoutMsgBody added in v1.3.0

type DedustPayoutMsgBody struct {
	QueryId uint64
	Payload *tlb.Any `tlb:"maybe^"`
}

type DedustPoolParams added in v1.9.5

type DedustPoolParams struct {
	PoolType DedustPoolType
	Asset0   DedustAsset
	Asset1   DedustAsset
}

type DedustPoolType added in v1.9.5

type DedustPoolType struct {
	tlb.SumType
	Volatile struct{} `tlbSumType:"$0"`
	Stable   struct{} `tlbSumType:"$1"`
}

func (*DedustPoolType) MarshalJSON added in v1.9.5

func (t *DedustPoolType) MarshalJSON() ([]byte, error)

type DedustSwapExtOutMsgBody added in v1.5.0

type DedustSwapExtOutMsgBody struct {
	AssetIn   DedustAsset
	AssetOut  DedustAsset
	AmountIn  tlb.Grams
	AmountOut tlb.Grams
	Field4    struct {
		SenderAddr   tlb.MsgAddress
		ReferralAddr tlb.MsgAddress
		Reserve0     tlb.Grams
		Reserve1     tlb.Grams
	} `tlb:"^"`
}

type DedustSwapExternalMsgBody added in v1.3.0

type DedustSwapExternalMsgBody struct {
	QueryId    uint64
	Proof      tlb.Any `tlb:"^"`
	Amount     tlb.VarUInteger16
	SenderAddr tlb.MsgAddress
	Current    DedustSwapStepParams
	SwapParams DedustSwapParams `tlb:"^"`
}

type DedustSwapJettonPayload added in v1.3.0

type DedustSwapJettonPayload struct {
	Step       DedustSwapStep
	SwapParams DedustSwapParams `tlb:"^"`
}

type DedustSwapMsgBody added in v1.3.0

type DedustSwapMsgBody struct {
	QueryId    uint64
	Amount     tlb.Grams
	Step       DedustSwapStep
	SwapParams DedustSwapParams `tlb:"^"`
}

type DedustSwapParams added in v1.3.0

type DedustSwapParams struct {
	Deadline       uint32
	RecipientAddr  tlb.MsgAddress
	ReferralAddr   tlb.MsgAddress
	FulfillPayload *tlb.Any `tlb:"maybe^"`
	RejectPayload  *tlb.Any `tlb:"maybe^"`
}

type DedustSwapPeerMsgBody added in v1.3.0

type DedustSwapPeerMsgBody struct {
	QueryId    uint64
	Proof      tlb.Any `tlb:"^"`
	Asset      DedustAsset
	Amount     tlb.VarUInteger16
	SenderAddr tlb.MsgAddress
	Current    DedustSwapStepParams
	SwapParams DedustSwapParams `tlb:"^"`
}

type DedustSwapStep added in v1.3.0

type DedustSwapStep struct {
	PoolAddr tlb.MsgAddress
	Params   DedustSwapStepParams
}

type DedustSwapStepParams added in v1.3.0

type DedustSwapStepParams struct {
	KindOut bool
	Limit   tlb.VarUInteger16
	Next    *DedustSwapStep `tlb:"maybe^"`
}

type DedustWithdrawalExtOutMsgBody added in v1.9.5

type DedustWithdrawalExtOutMsgBody struct {
	SenderAddr tlb.MsgAddress
	Liquidity  tlb.Grams
	Amount0    tlb.Grams
	Amount1    tlb.Grams
	Reserve0   tlb.Grams
	Reserve1   tlb.Grams
}

type DeleteDnsRecordMsgBody added in v1.3.0

type DeleteDnsRecordMsgBody struct {
	QueryId uint64
	Key     tlb.Bits256
}

type DeployStorageContractMsgBody

type DeployStorageContractMsgBody struct {
	QueryId         uint64
	Info            TorrentInfo `tlb:"^"`
	MerkleHash      tlb.Bits256
	ExpectedRate    tlb.Grams
	ExpectedMaxSpan uint32
}

type DisapproveMsgBody added in v1.5.6

type DisapproveMsgBody struct {
	QueryId uint64
}

type DnsBalanceReleaseMsgBody added in v1.3.0

type DnsBalanceReleaseMsgBody struct {
	QueryId uint64
}

type Dnsresolve_RecordsResult

type Dnsresolve_RecordsResult struct {
	ResolvedBits int64
	Result       tlb.DNSRecordSet
}

type ElectorNewStakeConfirmationMsgBody added in v1.1.2

type ElectorNewStakeConfirmationMsgBody struct {
	QueryId uint64
}

type ElectorNewStakeMsgBody added in v1.1.2

type ElectorNewStakeMsgBody struct {
	QueryId         uint64
	ValidatorPubkey tlb.Bits256
	StakeAt         uint32
	MaxFactor       uint32
	AdnlAddr        tlb.Bits256
	Signature       tlb.Bits512 `tlb:"^"`
}

type ElectorRecoverStakeRequestMsgBody added in v1.1.2

type ElectorRecoverStakeRequestMsgBody struct {
	QueryId uint64
}

type ElectorRecoverStakeResponseMsgBody added in v1.1.2

type ElectorRecoverStakeResponseMsgBody struct {
	QueryId uint64
}

type EncryptedTextCommentJettonPayload added in v1.3.0

type EncryptedTextCommentJettonPayload struct {
	CipherText tlb.Bytes
}

type EncryptedTextCommentMsgBody added in v1.2.0

type EncryptedTextCommentMsgBody struct {
	CipherText tlb.Bytes
}

type EncryptedTextCommentNFTPayload added in v1.3.0

type EncryptedTextCommentNFTPayload struct {
	CipherText tlb.Bytes
}

type EstimateSwapOut_DedustResult added in v1.9.5

type EstimateSwapOut_DedustResult struct {
	AssetOut  DedustAsset
	AmountOut tlb.Int257
	TradeFee  tlb.Int257
}

type ExcessMsgBody

type ExcessMsgBody struct {
	QueryId uint64
}

type Executor

type Executor interface {
	RunSmcMethodByID(ctx context.Context, accountID ton.AccountID, methodID int, params tlb.VmStack) (uint32, tlb.VmStack, error)
}

type ExecutorData added in v1.8.13

type ExecutorData struct {
	SplitExecutorRewards uint8
	Amount               tlb.Grams
	Index                uint32
}

type ExtOutMsgBody added in v1.5.0

type ExtOutMsgBody struct {
	SumType string
	OpCode  *uint32
	Value   any
}

func (ExtOutMsgBody) MarshalJSON added in v1.5.0

func (body ExtOutMsgBody) MarshalJSON() ([]byte, error)

func (*ExtOutMsgBody) UnmarshalJSON added in v1.5.0

func (body *ExtOutMsgBody) UnmarshalJSON(data []byte) error

func (*ExtOutMsgBody) UnmarshalTLB added in v1.5.0

func (b *ExtOutMsgBody) UnmarshalTLB(cell *boc.Cell, decoder *tlb.Decoder) error

type FinishUncooperativeChannelCloseMsgBody

type FinishUncooperativeChannelCloseMsgBody struct{}

type GetAmmContractData_StormResult added in v1.8.13

type GetAmmContractData_StormResult struct {
	AmmContractData boc.Cell
}

type GetAmmName_StormResult added in v1.8.13

type GetAmmName_StormResult struct {
	VaultAddr tlb.MsgAddress
	AssetId   uint16
}

type GetAmmState_StormResult added in v1.8.13

type GetAmmState_StormResult struct {
	QuoteAssetReserve                    uint64
	BaseAssetReserve                     uint64
	QuoteAssetWeight                     uint64
	TotalLongPositionSize                uint64
	TotalShortPositionSize               uint64
	OpenInterestLong                     uint64
	OpenInterestShort                    uint64
	LatestLongCumulativePremiumFraction  int64
	LatestShortCumulativePremiumFraction int64
	NextFundingBlockTimestamp            uint32
}

type GetAmmStatus_StormResult added in v1.8.13

type GetAmmStatus_StormResult struct {
	CloseOnly             bool
	Paused                bool
	DirectIncreaseEnabled bool
}

type GetAsset_DedustResult added in v1.3.0

type GetAsset_DedustResult struct {
	Asset DedustAsset
}

type GetAssets_DedustResult added in v1.3.0

type GetAssets_DedustResult struct {
	Asset0 DedustAsset
	Asset1 DedustAsset
}

type GetAuctionInfoResult added in v1.0.14

type GetAuctionInfoResult struct {
	MaxBidAddress  tlb.MsgAddress
	MaxBidAmount   uint64
	AuctionEndTime uint64
}

type GetAuthorityAddressResult

type GetAuthorityAddressResult struct {
	Address tlb.MsgAddress
}

type GetBalancesResult added in v1.3.0

type GetBalancesResult struct {
	TonBalance           int64
	TotalRestrictedValue int64
	TotalLockedValue     int64
}

type GetBalances_DedustResult added in v1.9.5

type GetBalances_DedustResult struct {
	Reserve0 tlb.Int257
	Reserve1 tlb.Int257
}

type GetBillAddressResult added in v1.2.1

type GetBillAddressResult struct {
	BillAddress tlb.MsgAddress
}

type GetBillAmountResult added in v1.1.2

type GetBillAmountResult struct {
	Amount int64
}

type GetChannelDataResult added in v1.3.0

type GetChannelDataResult struct {
	State    int8
	Balances struct {
		A int64
		B int64
	}

	Keys struct {
		A tlb.Bits256
		B tlb.Bits256
	}

	ChannelId     tlb.Uint128
	ClosureConfig struct {
		QuarantinDuration        uint32
		MisbehaviorFine          int64
		ConditionalCloseDuration uint32
	}

	CommittedSeqno struct {
		A uint32
		B uint32
	}

	Quarantine *boc.Cell
	Addresses  struct {
		ExcessFee int64
		AddrA     tlb.MsgAddress
		AddrB     tlb.MsgAddress
	}
}

type GetCollectionDataResult

type GetCollectionDataResult struct {
	NextItemIndex     tlb.Int257
	CollectionContent tlb.Any
	OwnerAddress      tlb.MsgAddress
}

type GetDomainResult added in v1.0.14

type GetDomainResult struct {
	Domain string
}

func (GetDomainResult) EscapedDomain added in v1.2.1

func (res GetDomainResult) EscapedDomain() string

type GetEditorResult added in v1.0.14

type GetEditorResult struct {
	Editor tlb.MsgAddress
}

type GetExchangeSettings_StormResult added in v1.8.13

type GetExchangeSettings_StormResult struct {
	Fee                           uint32
	RolloverFee                   uint32
	FundingPeriod                 uint32
	InitMarginRatio               uint32
	MaintenanceMarginRatio        uint32
	LiquidationFeeRatio           uint32
	PartialLiquidationRatio       uint32
	SpreadLimit                   uint32
	MaxPriceImpact                uint32
	MaxPriceSpread                uint32
	MaxOpenNotional               uint64
	FeeToStakersPercent           uint32
	FundingMode                   uint32
	MinPartialLiquidationNotional uint64
	MinInitMarginRatio            uint32
	ExecutorFee                   int32
	ClosePositionTimeDelta        int32
	MaxUnrealizedPnl              int32
	DirectIncreaseEnabled         bool
	DirectCloseEnabled            bool
	ExecutorsWhitelist            boc.Cell
	LowFundingFnA                 int32
	LowFundingFnB                 int32
	HighFundingFnA                int32
	HighFundingFnB                int32
	InflectionPoint               int32
}

type GetExecutorBalances_StormResult added in v1.8.13

type GetExecutorBalances_StormResult struct {
	BalancesDict boc.Cell
}

type GetExecutorCollectionAddress_StormResult added in v1.8.13

type GetExecutorCollectionAddress_StormResult struct {
	Data tlb.MsgAddress
}

type GetExecutorVaultsWhitelist_StormResult added in v1.8.13

type GetExecutorVaultsWhitelist_StormResult struct {
	BalancesDict boc.Cell
}

type GetExpectedOutputs_StonfiResult added in v1.8.11

type GetExpectedOutputs_StonfiResult struct {
	Out            tlb.Int257
	ProtocolFeeOut tlb.Int257
	RefFeeOut      tlb.Int257
}

type GetFullDomainResult added in v1.0.14

type GetFullDomainResult struct {
	Domain string
}

func (GetFullDomainResult) EscapedDomain added in v1.0.14

func (res GetFullDomainResult) EscapedDomain() string

type GetJettonDataResult

type GetJettonDataResult struct {
	TotalSupply      tlb.Int257
	Mintable         bool
	AdminAddress     tlb.MsgAddress
	JettonContent    tlb.Any
	JettonWalletCode tlb.Any
}

type GetLastCleanTimeResult added in v1.6.6

type GetLastCleanTimeResult struct {
	Timestamp uint64
}

type GetLastFillUpTimeResult added in v1.0.14

type GetLastFillUpTimeResult struct {
	LastFillUpTime int64
}

type GetLiquidityDepositAddress_DedustResult added in v1.9.5

type GetLiquidityDepositAddress_DedustResult struct {
	LiquidityDepositAddr tlb.MsgAddress
}

type GetLockerBillDataResult added in v1.2.1

type GetLockerBillDataResult struct {
	LockerAddress     tlb.MsgAddress
	TotalCoinsDeposit uint64
	UserAddress       tlb.MsgAddress
	LastWithdrawTime  uint32
}

type GetLockerDataResult added in v1.2.1

type GetLockerDataResult struct {
	TotalCoinsLocked     uint64
	TotalReward          uint64
	DepositsEndTime      uint32
	VestingStartTime     uint32
	VestingTotalDuration uint32
	UnlockPeriod         uint32
}

type GetLockupDataResult added in v1.3.0

type GetLockupDataResult struct {
	StartTime     int64
	TotalDuration int64
	UnlockPeriod  int64
	CliffDiration int64
	TotalAmount   int64
	AllowElector  int64
}

type GetLpData_MegatonResult added in v1.2.1

type GetLpData_MegatonResult struct {
	PoolCount      uint64
	JettonPairToLp tlb.Any
	LpToJettonPair tlb.Any
}

type GetLpMiningData_MegatonResult added in v1.2.1

type GetLpMiningData_MegatonResult struct {
	MiningAmount   uint64
	DatetimeAmount uint64
	MinableTime    uint64
	HalfLife       uint64
	LastIndex      uint64
	LastMined      uint64
	MiningRateCell tlb.Any
}

type GetLpMinterAddress_StormResult added in v1.8.13

type GetLpMinterAddress_StormResult struct {
	Data tlb.MsgAddress
}

type GetLpSwapData_MegatonResult added in v1.2.1

type GetLpSwapData_MegatonResult struct {
	SwapFee               uint64
	MinAmount             uint64
	RouterAddress         tlb.MsgAddress
	JettonAAddress        tlb.MsgAddress
	JettonAWalletAddress  tlb.MsgAddress
	JettonABalance        tlb.Int257
	JettonAPendingBalance tlb.Int257
	JettonBAddress        tlb.MsgAddress
	JettonBWalletAddress  tlb.MsgAddress
	JettonBBalance        tlb.Int257
	JettonBPendingBalance tlb.Int257
}

type GetMember_WhalesNominatorResult added in v1.0.4

type GetMember_WhalesNominatorResult struct {
	MemberBalance         int64
	MemberPendingDeposit  int64
	MemberPendingWithdraw int64
	MemberWithdraw        int64
}

type GetMembersRaw_WhalesNominatorResult added in v1.0.4

type GetMembersRaw_WhalesNominatorResult struct {
	Members WhalesNominatorsMembersList
}

type GetMiningData_MegatonResult added in v1.2.1

type GetMiningData_MegatonResult struct {
	TotalMiningAmount  uint64
	TotalMiningRate    uint64
	MiningAmountPerSec uint64
	HalfLife           uint64
	TotalReward        uint64
	Unknown            uint64
}

type GetMultisigDataResult added in v1.6.0

type GetMultisigDataResult struct {
	Seqno     tlb.Int257
	Threshold uint8
	Signers   MultisigSignersList
	Proposers *MultisigProposersList
}

type GetNextAdminAddressResult added in v1.6.5

type GetNextAdminAddressResult struct {
	NextAdminAddress tlb.MsgAddress
}

type GetNextProofInfoResult

type GetNextProofInfoResult struct {
	NextProof     uint64
	LastProofTime uint32
	MaxSpan       uint32
}

type GetNftAddressByIndexResult

type GetNftAddressByIndexResult struct {
	Address tlb.MsgAddress
}

type GetNftApiInfoResult added in v1.5.0

type GetNftApiInfoResult struct {
	Version uint32
	Uri     tlb.Text
}

type GetNftContentResult

type GetNftContentResult struct {
	Content tlb.FullContent
}

type GetNftDataResult

type GetNftDataResult struct {
	Init              bool
	Index             tlb.Int257
	CollectionAddress tlb.MsgAddress
	OwnerAddress      tlb.MsgAddress
	IndividualContent tlb.Any
}

type GetNominatorDataResult added in v1.1.2

type GetNominatorDataResult struct {
	Amount               uint64
	PendingDepositAmount uint64
	WithdrawFound        bool
}

type GetOracleData_StormResult added in v1.8.13

type GetOracleData_StormResult struct {
	OracleLastPrice       uint64
	OracleLastSpread      uint64
	OracleLastTimestamp   uint32
	OracleMaxDeviation    uint64
	OracleValidityPeriod  uint32
	OraclePublicKeysCount uint8
	OraclePublicKeysRef   boc.Cell
}

type GetOrderDataResult added in v1.8.10

type GetOrderDataResult struct {
	MultisigAddress  tlb.MsgAddress
	OrderSeqno       tlb.Int256
	Threshold        uint8
	SentForExecution bool
	Signers          tlb.Hashmap[tlb.Uint8, tlb.MsgAddress]
	ApprovalsMask    tlb.Int256
	ApprovalsNum     uint8
	ExpirationDate   uint64
	Order            MultisigOrder
}

type GetParams_WhalesNominatorResult

type GetParams_WhalesNominatorResult struct {
	Enabled        bool
	UpdatesEnables bool
	MinStake       int64
	DepositFee     int64
	WithdrawFee    int64
	PoolFee        int64
	ReceiptPrice   int64
}

type GetPluginListResult

type GetPluginListResult struct {
	Plugins []struct {
		Workchain int32
		Address   tlb.Bits256
	}
}

type GetPoolAddress_StonfiResult added in v1.8.11

type GetPoolAddress_StonfiResult struct {
	PoolAddress tlb.MsgAddress
}

type GetPoolData_StonfiResult added in v1.2.0

type GetPoolData_StonfiResult struct {
	Reserve0                   tlb.Int257
	Reserve1                   tlb.Int257
	Token0Address              tlb.MsgAddress
	Token1Address              tlb.MsgAddress
	LpFee                      uint8
	ProtocolFee                uint8
	RefFee                     uint8
	ProtocolFeeAddress         tlb.MsgAddress
	CollectedToken0ProtocolFee tlb.Int257
	CollectedToken1ProtocolFee tlb.Int257
}

type GetPoolData_TfResult added in v1.0.5

type GetPoolData_TfResult struct {
	State                    int8
	NominatorsCount          uint32
	StakeAmountSent          int64
	ValidatorAmount          int64
	ValidatorAddress         tlb.Bits256
	ValidatorRewardShare     uint32
	MaxNominatorsCount       uint32
	MinValidatorStake        int64
	MinNominatorStake        int64
	Nominators               tlb.Any
	WithdrawRequests         *AccountLists
	StakeAt                  uint32
	SavedValidatorSetHash    tlb.Bits256
	ValidatorSetChangesCount uint32
	ValidatorSetChangeTime   uint32
	StakeHeldFor             uint32
	ConfigProposalVotings    []struct {
	}
}

type GetPoolFullDataResult added in v1.1.2

type GetPoolFullDataResult struct {
	State                        int32
	Halted                       bool
	TotalBalance                 int64
	InterestRate                 int32
	OptimisticDepositWithdrawals int64
	DepositsOpen                 bool
	SavedValidatorSetHash        tlb.Bits256
	PrevRoundBorrowers           struct {
		BorrowersDict   *boc.Cell
		RoundId         int32
		ActiveBorrowers int32
		Borrowed        int64
		Expected        int64
		Retured         int64
		Profit          int64
	}

	CurrentRoundBorrowers struct {
		BorrowersDict   *boc.Cell
		RoundId         int32
		ActiveBorrowers int32
		Borrowed        int64
		Expected        int64
		Retured         int64
		Profit          int64
	}

	MinLoanPerValidator    int64
	MaxLoanPerValidator    int64
	GovernanceFee          int32
	JettonMinter           tlb.MsgAddress
	Supply                 int64
	DepositPayout          *tlb.MsgAddress
	RequestedForDeposit    int64
	WithdrawalPayout       *tlb.MsgAddress
	RequestedForWithdrawal int64
	Sudoer                 *tlb.MsgAddress
	SudoerSetAt            int32
	Governor               *tlb.MsgAddress
	GovernorUpdateAfter    int64
	InterestManager        *tlb.MsgAddress
	Halter                 *tlb.MsgAddress
	Approver               *tlb.MsgAddress
	ControllerCode         boc.Cell
	PoolJettonWalletCode   boc.Cell
	PayoutMinterCode       boc.Cell
	ProjectedBalance       int64
	ProjectedSupply        int64
}

type GetPoolStatusResult

type GetPoolStatusResult struct {
	Balance                int64
	BalanceSent            int64
	BalancePendingDeposits int64
	BalancePendingWithdraw int64
	BalanceWithdraw        int64
}

type GetPositionManagerContractData_StormResult added in v1.8.13

type GetPositionManagerContractData_StormResult struct {
	Info boc.Cell
}

type GetPowParamsResult added in v1.6.6

type GetPowParamsResult struct {
	Seed          tlb.Uint128
	PowComplexity tlb.Int256
	Amount        uint64
	Interval      uint32
}

type GetPublicKeyResult

type GetPublicKeyResult struct {
	PublicKey tlb.Int257
}

type GetReferralCollectionAddress_StormResult added in v1.8.13

type GetReferralCollectionAddress_StormResult struct {
	Data tlb.MsgAddress
}

type GetReferralData_StormResult added in v1.8.13

type GetReferralData_StormResult struct {
	ReferralType int32
	Discount     uint32
	Rebate       uint32
	BalancesDict boc.Cell
}

type GetReferralVaultsWhitelist_StormResult added in v1.8.13

type GetReferralVaultsWhitelist_StormResult struct {
	BalancesDict boc.Cell
}

type GetReserves_DedustResult added in v1.3.0

type GetReserves_DedustResult struct {
	Reserve0 tlb.Int257
	Reserve1 tlb.Int257
}

type GetRevokedTimeResult

type GetRevokedTimeResult struct {
	Time uint64
}

type GetRouterData_StonfiResult added in v1.3.0

type GetRouterData_StonfiResult struct {
	IsLocked           bool
	AdminAddress       tlb.MsgAddress
	TempUpgrade        tlb.Any
	PoolCode           tlb.Any
	JettonLpWalletCode tlb.Any
	LpAccountCode      tlb.Any
}

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 GetSpotPrice_StormResult added in v1.8.13

type GetSpotPrice_StormResult struct {
	SpotPrice tlb.Grams
}

type GetStakingStatusResult

type GetStakingStatusResult struct {
	StakeAt             uint32
	StakeUntil          uint32
	StakeSent           uint64
	QuerySent           bool
	CouldUnlock         bool
	Locked              bool
	ProxyStakeLockFinal bool
}

type GetStaticDataMsgBody

type GetStaticDataMsgBody struct {
	QueryId uint64
}

type GetStatusResult added in v1.6.5

type GetStatusResult struct {
	Status uint8
}

type GetStorageContractAddressResult

type GetStorageContractAddressResult struct {
	StorageContractAddress tlb.MsgAddress
}

type GetStorageContractDataResult

type GetStorageContractDataResult struct {
	Active        bool
	Balance       uint64
	Provider      tlb.MsgAddress
	MerkleHash    tlb.Int257
	FileSize      uint64
	NextProof     uint64
	RatePerMbDay  uint64
	MaxSpan       uint32
	LastProofTime uint32
	Client        tlb.MsgAddress
	TorrentHash   tlb.Int257
}

type GetStorageParamsResult

type GetStorageParamsResult struct {
	AcceptNewContracts bool
	RatePerMbDay       uint64
	MaxSpan            uint32
	MinimalFileSize    uint64
	MaximalFileSize    uint64
}

type GetSubscriptionDataResult added in v1.0.14

type GetSubscriptionDataResult struct {
	Wallet struct {
		Workchain uint32
		Address   tlb.Bits256
	}

	Beneficiary struct {
		Workchain uint32
		Address   tlb.Bits256
	}

	Amount          uint64
	Period          uint64
	StartTime       uint64
	Timeout         uint64
	LastPaymentTime uint64
	LastRequestTime uint64
	FailedAttempts  uint32
	SubscriptionId  uint64
}

type GetSubwalletIdResult

type GetSubwalletIdResult struct {
	SubwalletId uint32
}

type GetTargetBalances_DedustResult added in v1.9.5

type GetTargetBalances_DedustResult struct {
	Reserve0 tlb.Int257
	Reserve1 tlb.Int257
}

type GetTelemintAuctionConfigResult added in v1.0.3

type GetTelemintAuctionConfigResult struct {
	Beneficiar    tlb.MsgAddress
	InitialMinBid int64
	MaxBid        int64
	MinBidStep    int64
	MinExtendTime int64
	Duration      int64
}

type GetTelemintAuctionStateResult added in v1.0.3

type GetTelemintAuctionStateResult struct {
	Bidder  tlb.MsgAddress
	Bid     int64
	BidTs   int64
	MinBid  int64
	EndTime int64
}

type GetTelemintTokenNameResult added in v1.0.3

type GetTelemintTokenNameResult struct {
	Username tlb.Text
}

type GetTerminalAmmPrice_StormResult added in v1.8.13

type GetTerminalAmmPrice_StormResult struct {
	TerminalPrice int64
}

type GetTimeoutResult added in v1.6.6

type GetTimeoutResult struct {
	Timeout uint32
}

type GetTorrentHashResult

type GetTorrentHashResult struct {
	TorrentHash tlb.Int257
}

type GetTradeFee_DedustResult added in v1.9.5

type GetTradeFee_DedustResult struct {
	TradeFeeNumerator   tlb.Int257
	TradeFeeDenominator tlb.Int257
}

type GetValidatorControllerDataResult added in v1.1.0

type GetValidatorControllerDataResult struct {
	State                    int32
	Halted                   bool
	Approved                 bool
	StakeAmountSent          int64
	StakeAt                  uint32
	SavedValidatorSetHash    tlb.Bits256
	ValidatorSetChangesCount int32
	ValidatorSetChangeTime   uint32
	StakeHeldFor             uint32
	BorrowedAmount           int64
	BorrowingTime            uint32
	Validator                tlb.MsgAddress
	Pool                     tlb.MsgAddress
	Sudoer                   tlb.MsgAddress
}

type GetVammType_StormResult added in v1.8.13

type GetVammType_StormResult struct {
	VammType uint32
}

type GetVaultAddress_DedustResult added in v1.9.5

type GetVaultAddress_DedustResult struct {
	VaultAddr tlb.MsgAddress
}

type GetVaultContractData_StormResult added in v1.8.13

type GetVaultContractData_StormResult struct {
	Data boc.Cell
}

type GetVaultData_StormResult added in v1.8.13

type GetVaultData_StormResult struct {
	JettonWallet     tlb.MsgAddress
	Rate             uint64
	TotalSupply      uint64
	FreeBalance      uint64
	LockedBalance    uint64
	StakersBalance   uint64
	ExecutorsBalance uint64
}

type GetVaultType_StormResult added in v1.8.13

type GetVaultType_StormResult struct {
	VaultType uint32
}

type GetVaultWhitelistedAddresses_StormResult added in v1.8.13

type GetVaultWhitelistedAddresses_StormResult struct {
	WhitelistedAddrsDict boc.Cell
}

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 GetWalletParamsResult struct {
	Seqno     uint32
	Subwallet uint32
	PublicKey tlb.Int257
}

type GramSubmitProofOfWorkMsgBody added in v1.6.6

type GramSubmitProofOfWorkMsgBody struct {
	Flags  uint8
	Expire uint32
	Whom   tlb.Bits256
	Rdata1 tlb.Bits256
	Rseed  tlb.Uint128
	Rdata2 tlb.Bits256
}

type HighloadV3MsgInner added in v1.6.6

type HighloadV3MsgInner struct {
	SubwalletId   uint32
	MessageToSend MessageRelaxed `tlb:"^"`
	SendMode      uint8
	QueryId       HighloadV3QueryId
	CreatedAt     uint64
	Timeout       tlb.Uint22
}

type HighloadV3QueryId added in v1.6.6

type HighloadV3QueryId struct {
	Shift     tlb.Uint13
	BitNumber tlb.Uint10
}

type HighloadWalletSignedV2ExtInMsgBody added in v1.9.5

type HighloadWalletSignedV2ExtInMsgBody struct {
	Signature   tlb.Bits512
	SubwalletId uint32
	QueryId     uint64
	Payload     tlb.HashmapE[tlb.Uint16, SendMessageAction]
}

type HighloadWalletSignedV3ExtInMsgBody added in v1.6.6

type HighloadWalletSignedV3ExtInMsgBody struct {
	Signature tlb.Bits512
	Msg       HighloadV3MsgInner `tlb:"^"`
}

type HighloadWalletV3MessageRelaxed added in v1.6.6

type HighloadWalletV3MessageRelaxed struct {
	Info CommonMsgInfoRelaxed
	Init *tlb.EitherRef[tlb.StateInit] `tlb:"maybe"`
	Body tlb.EitherRef[MessageRelaxed]
}

type InMsgBody added in v1.5.0

type InMsgBody struct {
	SumType MsgOpName
	OpCode  *uint32
	Value   any
}

func (InMsgBody) MarshalJSON added in v1.5.0

func (body InMsgBody) MarshalJSON() ([]byte, error)

func (*InMsgBody) UnmarshalJSON added in v1.5.0

func (body *InMsgBody) UnmarshalJSON(data []byte) error

func (*InMsgBody) UnmarshalTLB added in v1.5.0

func (body *InMsgBody) UnmarshalTLB(cell *boc.Cell, decoder *tlb.Decoder) error

type InitPaymentChannelMsgBody

type InitPaymentChannelMsgBody struct {
	IsA       bool
	Signature tlb.Bits512
	Tag       uint32
	ChannelId tlb.Uint128
	BalanceA  tlb.Grams
	BalanceB  tlb.Grams
}

type InspectorOption

type InspectorOption func(o *InspectorOptions)

func InspectWithAdditionalInterfaces added in v1.3.1

func InspectWithAdditionalInterfaces(list []InterfaceDescription) InspectorOption

func InspectWithAdditionalMethods

func InspectWithAdditionalMethods(list []MethodDescription) InspectorOption

func InspectWithAllMethods added in v1.8.6

func InspectWithAllMethods() InspectorOption

func InspectWithLibraryResolver added in v1.8.7

func InspectWithLibraryResolver(resolver libResolver) InspectorOption

type InspectorOptions

type InspectorOptions struct {
	// contains filtered or unexported fields
}

type InterfaceDescription

type InterfaceDescription struct {
	Name    ContractInterface
	Results []string
}

type InvokeFn

type InvokeFn func(ctx context.Context, executor Executor, reqAccountID ton.AccountID) (string, any, error)

type IsActiveResult

type IsActiveResult struct {
	IsActive bool
}

type IsClaimedResult added in v1.9.1

type IsClaimedResult struct {
	Claimed bool
}

type IsPluginInstalledResult

type IsPluginInstalledResult struct {
	Success bool
}

type IsStable_DedustResult added in v1.9.1

type IsStable_DedustResult struct {
	IsStable bool
}

type JettonBurnMsgBody

type JettonBurnMsgBody struct {
	QueryId             uint64
	Amount              tlb.VarUInteger16
	ResponseDestination tlb.MsgAddress
	CustomPayload       *JettonPayload `tlb:"maybe^"`
}

type JettonBurnNotificationMsgBody added in v1.1.2

type JettonBurnNotificationMsgBody struct {
	QueryId             uint64
	Amount              tlb.VarUInteger16
	Sender              tlb.MsgAddress
	ResponseDestination tlb.MsgAddress
}

type JettonCallToMsgBody added in v1.6.0

type JettonCallToMsgBody struct {
	QueryId   uint64
	ToAddress tlb.MsgAddress
	TonAmount tlb.Grams
	MasterMsg JettonForceAction `tlb:"^"`
}

type JettonChangeAdminMsgBody added in v1.6.0

type JettonChangeAdminMsgBody struct {
	QueryId         uint64
	NewAdminAddress tlb.MsgAddress
}

type JettonChangeMetadataMsgBody added in v1.6.0

type JettonChangeMetadataMsgBody struct {
	QueryId  uint64
	Metadata tlb.Any
}

type JettonClaimAdminMsgBody added in v1.6.0

type JettonClaimAdminMsgBody struct {
	QueryId uint64
}

type JettonForceAction added in v1.6.0

type JettonForceAction struct {
	tlb.SumType
	SetStatus struct {
		QueryId uint64
		Status  tlb.Uint4
	} `tlbSumType:"#eed236d3"`
	Burn struct {
		QueryId             uint64
		Amount              tlb.VarUInteger16
		ResponseDestination tlb.MsgAddress
		CustomPayload       *JettonPayload `tlb:"maybe^"`
	} `tlbSumType:"#595f07bc"`
	Transfer struct {
		QueryId             uint64
		Amount              tlb.VarUInteger16
		Destination         tlb.MsgAddress
		ResponseDestination tlb.MsgAddress
		CustomPayload       *tlb.Any `tlb:"maybe^"`
		ForwardTonAmount    tlb.VarUInteger16
		ForwardPayload      tlb.EitherRef[JettonPayload]
	} `tlbSumType:"#0f8a7ea5"`
}

func (*JettonForceAction) MarshalJSON added in v1.6.0

func (t *JettonForceAction) MarshalJSON() ([]byte, error)

type JettonInternalTransferMsgBody

type JettonInternalTransferMsgBody struct {
	QueryId          uint64
	Amount           tlb.VarUInteger16
	From             tlb.MsgAddress
	ResponseAddress  tlb.MsgAddress
	ForwardTonAmount tlb.VarUInteger16
}

type JettonMintMsgBody added in v1.6.0

type JettonMintMsgBody struct {
	QueryId   uint64
	ToAddress tlb.MsgAddress
	TonAmount tlb.Grams
}

type JettonNotifyMsgBody added in v1.0.8

type JettonNotifyMsgBody struct {
	QueryId        uint64
	Amount         tlb.VarUInteger16
	Sender         tlb.MsgAddress
	ForwardPayload tlb.EitherRef[JettonPayload]
}

type JettonOpCode added in v1.3.0

type JettonOpCode = uint32

JettonOpCode is the first 4 bytes of a message body identifying an operation to be performed.

type JettonOpName added in v1.3.0

type JettonOpName = string
const (
	EmptyJettonOp   JettonOpName = ""
	UnknownJettonOp JettonOpName = "Cell"
)

type JettonPayload added in v1.3.0

type JettonPayload struct {
	SumType string
	OpCode  *uint32
	Value   any
}

func (JettonPayload) MarshalJSON added in v1.3.0

func (j JettonPayload) MarshalJSON() ([]byte, error)

func (JettonPayload) MarshalTLB added in v1.3.0

func (j JettonPayload) MarshalTLB(c *boc.Cell, e *tlb.Encoder) error

func (*JettonPayload) UnmarshalJSON added in v1.3.0

func (j *JettonPayload) UnmarshalJSON(data []byte) error

func (*JettonPayload) UnmarshalTLB added in v1.3.0

func (j *JettonPayload) UnmarshalTLB(cell *boc.Cell, decoder *tlb.Decoder) error

type JettonSetStatusMsgBody added in v1.6.0

type JettonSetStatusMsgBody struct {
	QueryId uint64
	Status  tlb.Uint4
}

type JettonTransferMsgBody

type JettonTransferMsgBody struct {
	QueryId             uint64
	Amount              tlb.VarUInteger16
	Destination         tlb.MsgAddress
	ResponseDestination tlb.MsgAddress
	CustomPayload       *tlb.Any `tlb:"maybe^"`
	ForwardTonAmount    tlb.VarUInteger16
	ForwardPayload      tlb.EitherRef[JettonPayload]
}

type JettonUpgradeMsgBody added in v1.6.0

type JettonUpgradeMsgBody struct {
	QueryId uint64
	NewData tlb.Any `tlb:"^"`
	NewCode tlb.Any `tlb:"^"`
}

type JettonWalletLockDataResult added in v1.5.8

type JettonWalletLockDataResult struct {
	FullBalance          tlb.Int257
	IndividualUnlockTime uint32
}

type ListNominatorsResult

type ListNominatorsResult struct {
	Nominators []struct {
		Address              tlb.Bits256
		Amount               uint64
		PendingDepositAmount uint64
		WithdrawRequested    bool
	}
}

type ListVotesResult

type ListVotesResult struct {
	Votes []struct {
		ProposalHash   tlb.Bits256
		VoteCreateTime uint32
	}
}

type MegatonSwapExtOutMsgBody added in v1.5.0

type MegatonSwapExtOutMsgBody struct {
	AccountAddr tlb.MsgAddress
	InTokenAddr tlb.MsgAddress
	InAmount    tlb.Grams
	Field3      struct {
		OutTokenAddr tlb.MsgAddress
		OutAmount    tlb.Grams
	} `tlb:"^"`
}

type MegatonUpdateMiningParamsExtOutMsgBody added in v1.5.0

type MegatonUpdateMiningParamsExtOutMsgBody struct {
	PoolAddr  tlb.MsgAddress
	LastMined tlb.Uint256
	LastIndex tlb.Uint256
	Field3    struct {
		LastMined tlb.Uint256
		LastIndex tlb.Uint256
	} `tlb:"^"`
}

type MegatonWtonMintMsgBody added in v1.3.0

type MegatonWtonMintMsgBody struct {
	QueryId uint64
	Amount  tlb.Grams
}

type MessageRelaxed added in v1.5.0

type MessageRelaxed struct {
	tlb.SumType
	MessageInternal struct {
		IhrDisabled bool
		Bounce      bool
		Bounced     bool
		Src         tlb.MsgAddress
		Dest        tlb.MsgAddress
		Value       tlb.CurrencyCollection
		IhrFee      tlb.Grams
		FwdFee      tlb.Grams
		CreatedLt   uint64
		CreatedAt   uint32
		Init        *tlb.EitherRef[tlb.StateInit] `tlb:"maybe"`
		Body        tlb.EitherRef[InMsgBody]
	} `tlbSumType:"$0"`
	MessageExtOut struct {
		Src       tlb.MsgAddress
		Dest      tlb.MsgAddress
		CreatedLt uint64
		CreatedAt uint32
		Init      *tlb.EitherRef[tlb.StateInit] `tlb:"maybe"`
		Body      tlb.EitherRef[ExtOutMsgBody]
	} `tlbSumType:"$11"`
}

func (*MessageRelaxed) MarshalJSON added in v1.5.0

func (t *MessageRelaxed) MarshalJSON() ([]byte, error)

type MethodDescription

type MethodDescription struct {
	Name string
	// InvokeFn executes this method on a contract and returns parsed execution results.
	InvokeFn InvokeFn
}

MethodDescription describes a particular method and provides a function to execute it.

type MethodInvocation

type MethodInvocation struct {
	Result   any
	TypeHint string
}

type MsgOpCode added in v1.1.2

type MsgOpCode = uint32

MsgOpCode is the first 4 bytes of a message body identifying an operation to be performed.

const (
	TextCommentMsgOpCode                             MsgOpCode = 0x00000000
	StormVaultRequestWithdrawPositionMsgOpCode       MsgOpCode = 0x0226df66
	ProveOwnershipMsgOpCode                          MsgOpCode = 0x04ded148
	NftOwnershipAssignedMsgOpCode                    MsgOpCode = 0x05138d91
	OwnershipProofMsgOpCode                          MsgOpCode = 0x0524c7ae
	ChallengeQuarantinedChannelStateMsgOpCode        MsgOpCode = 0x088eaa32
	TonstakePoolWithdrawalMsgOpCode                  MsgOpCode = 0x0a77535c
	SbtOwnerInfoMsgOpCode                            MsgOpCode = 0x0dd607e3
	InitPaymentChannelMsgOpCode                      MsgOpCode = 0x0e0620c2
	JettonTransferMsgOpCode                          MsgOpCode = 0x0f8a7ea5
	OfferStorageContractMsgOpCode                    MsgOpCode = 0x107c49ef
	StormTakeReferralFeesMsgOpCode                   MsgOpCode = 0x12d9601d
	TonstakeNftInitMsgOpCode                         MsgOpCode = 0x132f9a45
	TonstakeControllerPoolHaltMsgOpCode              MsgOpCode = 0x139a1b4e
	WhalesNominatorsForceKickMsgOpCode               MsgOpCode = 0x1596920c
	DedustCancelDepositMsgOpCode                     MsgOpCode = 0x166cedee
	TonstakePayoutMintJettonsMsgOpCode               MsgOpCode = 0x1674b0a0
	CreditMsgOpCode                                  MsgOpCode = 0x1690c604
	JettonInternalTransferMsgOpCode                  MsgOpCode = 0x178d4519
	WhalesNominatorsWithdrawUnownedResponseMsgOpCode MsgOpCode = 0x1d1715bf
	SbtDestroyMsgOpCode                              MsgOpCode = 0x1f04537a
	StartUncooperativeChannelCloseMsgOpCode          MsgOpCode = 0x1f151acf
	EncryptedTextCommentMsgOpCode                    MsgOpCode = 0x2167da4b
	DedustCreateVaultMsgOpCode                       MsgOpCode = 0x21cfe02b
	JettonCallToMsgOpCode                            MsgOpCode = 0x235caf52
	WhalesNominatorsStakeWithdrawCompletedMsgOpCode  MsgOpCode = 0x23d421e1
	JettonUpgradeMsgOpCode                           MsgOpCode = 0x2508d66a
	WhalesNominatorsWithdrawUnownedMsgOpCode         MsgOpCode = 0x251d6a98
	FinishUncooperativeChannelCloseMsgOpCode         MsgOpCode = 0x25432a91
	StonfiSwapMsgOpCode                              MsgOpCode = 0x25938561
	TonstakeControllerPoolSendMessageMsgOpCode       MsgOpCode = 0x270695fb
	TeleitemDeployMsgOpCode                          MsgOpCode = 0x299a3e15
	StormVammInitMsgOpCode                           MsgOpCode = 0x29c102d1
	StormVaultInitMsgOpCode                          MsgOpCode = 0x29c102d1
	TonstakePoolSetGovernanceFeeMsgOpCode            MsgOpCode = 0x2aaa96a0
	StormWithdrawExecutorAmountMsgOpCode             MsgOpCode = 0x2cde6351
	GetStaticDataMsgOpCode                           MsgOpCode = 0x2fcb26a2
	TonstakeControllerValidatorWithdrawalMsgOpCode   MsgOpCode = 0x30026327
	TonstakePoolWithdrawMsgOpCode                    MsgOpCode = 0x319b0cdc
	StormVaultTradeNotificationMsgOpCode             MsgOpCode = 0x3475fdd2
	AuctionFillUpMsgOpCode                           MsgOpCode = 0x370fec51
	TeleitemCancelAuctionMsgOpCode                   MsgOpCode = 0x371638ae
	StormOrderCreatedMsgOpCode                       MsgOpCode = 0x3a943ce6
	ProofStorageMsgOpCode                            MsgOpCode = 0x419d5d4d
	ProcessGovernanceDecisionMsgOpCode               MsgOpCode = 0x44beae41
	TelemintDeployMsgOpCode                          MsgOpCode = 0x4637289a
	TelemintDeployV2MsgOpCode                        MsgOpCode = 0x4637289b
	StorageWithdrawMsgOpCode                         MsgOpCode = 0x46ed2e94
	DedustPayoutMsgOpCode                            MsgOpCode = 0x474f86cf
	ElectorRecoverStakeRequestMsgOpCode              MsgOpCode = 0x47657424
	TonstakePoolDepositMsgOpCode                     MsgOpCode = 0x47d54391
	TeleitemStartAuctionMsgOpCode                    MsgOpCode = 0x487a8e81
	TonstakePoolTouchMsgOpCode                       MsgOpCode = 0x4bc7c2df
	GramSubmitProofOfWorkMsgOpCode                   MsgOpCode = 0x4d696e65
	ElectorNewStakeMsgOpCode                         MsgOpCode = 0x4e73744b
	DeleteDnsRecordMsgOpCode                         MsgOpCode = 0x4eb1f0f9
	ChangeDnsRecordMsgOpCode                         MsgOpCode = 0x4eb1f0f9
	DnsBalanceReleaseMsgOpCode                       MsgOpCode = 0x4ed14b65
	StormMintExecutorMsgOpCode                       MsgOpCode = 0x4f38cae8
	UpdatePubkeyMsgOpCode                            MsgOpCode = 0x53f34cd6
	UpdateStorageParamsMsgOpCode                     MsgOpCode = 0x54cbf19b
	TonstakeImanagerOperationFeeMsgOpCode            MsgOpCode = 0x54d37487
	ChannelCooperativeCloseMsgOpCode                 MsgOpCode = 0x5577587e
	OutbidNotificationMsgOpCode                      MsgOpCode = 0x557cea20
	TonstakeControllerReturnAvailableFundsMsgOpCode  MsgOpCode = 0x55c26cd5
	JettonBurnMsgOpCode                              MsgOpCode = 0x595f07bc
	StormUpdatePositionWithStopLossMsgOpCode         MsgOpCode = 0x5d1b17b8
	StormAddExecutorAmountMsgOpCode                  MsgOpCode = 0x5dd66579
	TonstakePoolSetRolesMsgOpCode                    MsgOpCode = 0x5e517f36
	NftTransferMsgOpCode                             MsgOpCode = 0x5fcc3d14
	TegroSwapTonMsgOpCode                            MsgOpCode = 0x600c00fd
	StormUpdatePositionMsgOpCode                     MsgOpCode = 0x60dfc677
	DedustSwapExternalMsgOpCode                      MsgOpCode = 0x61ee542d
	TonstakeControllerSendRequestLoanMsgOpCode       MsgOpCode = 0x6335b11a
	JettonMintMsgOpCode                              MsgOpCode = 0x642b7d07
	WalletPluginDestructMsgOpCode                    MsgOpCode = 0x64737472
	JettonChangeAdminMsgOpCode                       MsgOpCode = 0x6501f354
	WalletExtensionActionV5R1MsgOpCode               MsgOpCode = 0x6578746e
	SettleChannelConditionalsMsgOpCode               MsgOpCode = 0x66f6f069
	StormCancelOrderMsgOpCode                        MsgOpCode = 0x67134629
	TopUpChannelBalanceMsgOpCode                     MsgOpCode = 0x67c7d281
	GetRoyaltyParamsMsgOpCode                        MsgOpCode = 0x693d3950
	StormOrderCanceledMsgOpCode                      MsgOpCode = 0x69d08679
	SbtRevokeMsgOpCode                               MsgOpCode = 0x6f89f5e3
	PaymentRequestMsgOpCode                          MsgOpCode = 0x706c7567
	TonstakeControllerPoolUnhaltMsgOpCode            MsgOpCode = 0x7247e7a5
	DedustSwapPeerMsgOpCode                          MsgOpCode = 0x72aca8aa
	JettonNotifyMsgOpCode                            MsgOpCode = 0x7362d09c
	WalletSignedInternalV5R1MsgOpCode                MsgOpCode = 0x73696e74
	SubscriptionPaymentMsgOpCode                     MsgOpCode = 0x73756273
	WhalesNominatorsStakeWithdrawDelayedMsgOpCode    MsgOpCode = 0x74bb3427
	MultisigExecuteMsgOpCode                         MsgOpCode = 0x75097f5d
	MegatonWtonMintMsgOpCode                         MsgOpCode = 0x77a33521
	ChannelCooperativeCommitMsgOpCode                MsgOpCode = 0x79a126ef
	TonstakeControllerPoolSetSudoerMsgOpCode         MsgOpCode = 0x79e7c016
	CloseStorageContractMsgOpCode                    MsgOpCode = 0x79f937ea
	AcceptStorageContractMsgOpCode                   MsgOpCode = 0x7a361688
	ApproveMsgOpCode                                 MsgOpCode = 0x7b4b42e6
	WhalesNominatorsDepositMsgOpCode                 MsgOpCode = 0x7bcd1fef
	JettonBurnNotificationMsgOpCode                  MsgOpCode = 0x7bdd97de
	MultisigApproveAcceptedMsgOpCode                 MsgOpCode = 0x82609bf6
	StormAddReferralAmountMsgOpCode                  MsgOpCode = 0x84dced7a
	StormProvidePositionMsgOpCode                    MsgOpCode = 0x8865b402
	ReportStaticDataMsgOpCode                        MsgOpCode = 0x8b771735
	TonstakeControllerWithdrawValidatorMsgOpCode     MsgOpCode = 0x8efed779
	TonstakeControllerPoolUpgradeMsgOpCode           MsgOpCode = 0x96e7f528
	DedustCreateVolatilePoolMsgOpCode                MsgOpCode = 0x97d51f2f
	TonstakePoolPrepareGovernanceMigrationMsgOpCode  MsgOpCode = 0x9971881c
	WhalesNominatorsAcceptStakeMsgOpCode             MsgOpCode = 0x99a811fb
	TonstakePoolSetDepositSettingsMsgOpCode          MsgOpCode = 0x9bf5561c
	MultisigOrderInitMsgOpCode                       MsgOpCode = 0x9c73fba2
	StormActivateOrderMsgOpCode                      MsgOpCode = 0x9d2ec640
	WhalesNominatorsAcceptWithdrawsMsgOpCode         MsgOpCode = 0xa19fd934
	WhalesNominatorsSendStakeMsgOpCode               MsgOpCode = 0xa2065f2c
	MultisigExecuteInternalMsgOpCode                 MsgOpCode = 0xa32c59bf
	TeleitemOkMsgOpCode                              MsgOpCode = 0xa37a0983
	StormCreateOrderMsgOpCode                        MsgOpCode = 0xa39843f4
	TeleitemReturnBidMsgOpCode                       MsgOpCode = 0xa43227e1
	MultisigApproveMsgOpCode                         MsgOpCode = 0xa762230f
	ReportRoyaltyParamsMsgOpCode                     MsgOpCode = 0xa8cb00ad
	StorageRewardWithdrawalMsgOpCode                 MsgOpCode = 0xa91baf56
	DedustPayoutFromPoolMsgOpCode                    MsgOpCode = 0xad4eb6f5
	MultisigApproveRejectedMsgOpCode                 MsgOpCode = 0xafaf283e
	TonstakeImanagerRequestNotificationMsgOpCode     MsgOpCode = 0xb1ebae06
	TonstakePoolDeployControllerMsgOpCode            MsgOpCode = 0xb27edcad
	DedustDepositLiquidityAllMsgOpCode               MsgOpCode = 0xb56b9598
	StorageContractTerminatedMsgOpCode               MsgOpCode = 0xb6236d63
	StormPayFundingMsgOpCode                         MsgOpCode = 0xb652c441
	TonstakeImanagerStatsMsgOpCode                   MsgOpCode = 0xc1344900
	StormVaultStakeMsgOpCode                         MsgOpCode = 0xc89a3ee4
	TonstakeImanagerSetInterestMsgOpCode             MsgOpCode = 0xc9f04485
	StormMintReferralMsgOpCode                       MsgOpCode = 0xcb4ddc3c
	JettonChangeMetadataMsgOpCode                    MsgOpCode = 0xcb862902
	StormCompleteOrderMsgOpCode                      MsgOpCode = 0xcf90d618
	SbtRequestOwnerMsgOpCode                         MsgOpCode = 0xd0c3bfea
	TopUpMsgOpCode                                   MsgOpCode = 0xd372158c
	StorageContractConfirmedMsgOpCode                MsgOpCode = 0xd4caedcd
	ExcessMsgOpCode                                  MsgOpCode = 0xd53276db
	DedustDepositLiquidityMsgOpCode                  MsgOpCode = 0xd55e4686
	StormVaultUnstakeMsgOpCode                       MsgOpCode = 0xd5b5e9ad
	WhalesNominatorsWithdrawMsgOpCode                MsgOpCode = 0xda803efd
	TonstakeNftPayoutMsgOpCode                       MsgOpCode = 0xdb3b8abd
	ChannelClosedMsgOpCode                           MsgOpCode = 0xdddc88ba
	TonstakePoolLoanRepaymentMsgOpCode               MsgOpCode = 0xdfdca27b
	TonstakeControllerNewStakeMsgOpCode              MsgOpCode = 0xe0505d0e
	WalletPluginDestructResponseMsgOpCode            MsgOpCode = 0xe4737472
	DeployStorageContractMsgOpCode                   MsgOpCode = 0xe4748df1
	TonstakePoolRequestLoanMsgOpCode                 MsgOpCode = 0xe642c965
	DisapproveMsgOpCode                              MsgOpCode = 0xe8a0abfe
	DedustSwapMsgOpCode                              MsgOpCode = 0xea06185d
	TonstakeControllerRecoverStakeMsgOpCode          MsgOpCode = 0xeb373a05
	TonstakeNftBurnNotificationMsgOpCode             MsgOpCode = 0xed58b0b2
	TonstakeControllerReturnUnusedLoanMsgOpCode      MsgOpCode = 0xed7378a6
	StormChangeSettingsMsgOpCode                     MsgOpCode = 0xedcd36a6
	JettonSetStatusMsgOpCode                         MsgOpCode = 0xeed236d3
	PaymentRequestResponseMsgOpCode                  MsgOpCode = 0xf06c7567
	TonstakeControllerUpdateValidatorHashMsgOpCode   MsgOpCode = 0xf0fd2250
	TonstakeNftBurnMsgOpCode                         MsgOpCode = 0xf127fe4e
	ElectorNewStakeConfirmationMsgOpCode             MsgOpCode = 0xf374484c
	StormWithdrawReferralAmountMsgOpCode             MsgOpCode = 0xf5d4eb52
	MultisigNewOrderMsgOpCode                        MsgOpCode = 0xf718510f
	StonfiPaymentRequestMsgOpCode                    MsgOpCode = 0xf93bb43f
	ElectorRecoverStakeResponseMsgOpCode             MsgOpCode = 0xf96f7324
	JettonClaimAdminMsgOpCode                        MsgOpCode = 0xfb88e119
	BounceMsgOpCode                                  MsgOpCode = 0xffffffff
)
const (
	WalletSignedV3ExtInMsgOpCode             MsgOpCode = 0x00000000
	WalletSignedV4ExtInMsgOpCode             MsgOpCode = 0x00000000
	HighloadWalletSignedV3ExtInMsgOpCode     MsgOpCode = 0x00000000
	PreprocessedWalletSignedV2ExtInMsgOpCode MsgOpCode = 0x00000000
	HighloadWalletSignedV2ExtInMsgOpCode     MsgOpCode = 0x00000000
	WalletSignedExternalV5R1ExtInMsgOpCode   MsgOpCode = 0x7369676e
)
const (
	DedustWithdrawalExtOutMsgOpCode          MsgOpCode = 0x3aa870a6
	MegatonUpdateMiningParamsExtOutMsgOpCode MsgOpCode = 0x56a8e920
	MegatonSwapExtOutMsgOpCode               MsgOpCode = 0x7362d09c
	DedustSwapExtOutMsgOpCode                MsgOpCode = 0x9c610de3
	DedustDepositExtOutMsgOpCode             MsgOpCode = 0xb544f4a4
)

type MsgOpName added in v1.0.15

type MsgOpName = string

MsgOpName is a human-friendly name for a message's operation which is identified by the first 4 bytes of the message's body.

const (
	UnknownMsgOp MsgOpName = "Unknown"
	EmptyMsgOp   MsgOpName = ""
)
const (
	TextCommentMsgOp                             MsgOpName = "TextComment"
	StormVaultRequestWithdrawPositionMsgOp       MsgOpName = "StormVaultRequestWithdrawPosition"
	ProveOwnershipMsgOp                          MsgOpName = "ProveOwnership"
	NftOwnershipAssignedMsgOp                    MsgOpName = "NftOwnershipAssigned"
	OwnershipProofMsgOp                          MsgOpName = "OwnershipProof"
	ChallengeQuarantinedChannelStateMsgOp        MsgOpName = "ChallengeQuarantinedChannelState"
	TonstakePoolWithdrawalMsgOp                  MsgOpName = "TonstakePoolWithdrawal"
	SbtOwnerInfoMsgOp                            MsgOpName = "SbtOwnerInfo"
	InitPaymentChannelMsgOp                      MsgOpName = "InitPaymentChannel"
	JettonTransferMsgOp                          MsgOpName = "JettonTransfer"
	OfferStorageContractMsgOp                    MsgOpName = "OfferStorageContract"
	StormTakeReferralFeesMsgOp                   MsgOpName = "StormTakeReferralFees"
	TonstakeNftInitMsgOp                         MsgOpName = "TonstakeNftInit"
	TonstakeControllerPoolHaltMsgOp              MsgOpName = "TonstakeControllerPoolHalt"
	WhalesNominatorsForceKickMsgOp               MsgOpName = "WhalesNominatorsForceKick"
	DedustCancelDepositMsgOp                     MsgOpName = "DedustCancelDeposit"
	TonstakePayoutMintJettonsMsgOp               MsgOpName = "TonstakePayoutMintJettons"
	CreditMsgOp                                  MsgOpName = "Credit"
	JettonInternalTransferMsgOp                  MsgOpName = "JettonInternalTransfer"
	WhalesNominatorsWithdrawUnownedResponseMsgOp MsgOpName = "WhalesNominatorsWithdrawUnownedResponse"
	SbtDestroyMsgOp                              MsgOpName = "SbtDestroy"
	StartUncooperativeChannelCloseMsgOp          MsgOpName = "StartUncooperativeChannelClose"
	EncryptedTextCommentMsgOp                    MsgOpName = "EncryptedTextComment"
	DedustCreateVaultMsgOp                       MsgOpName = "DedustCreateVault"
	JettonCallToMsgOp                            MsgOpName = "JettonCallTo"
	WhalesNominatorsStakeWithdrawCompletedMsgOp  MsgOpName = "WhalesNominatorsStakeWithdrawCompleted"
	JettonUpgradeMsgOp                           MsgOpName = "JettonUpgrade"
	WhalesNominatorsWithdrawUnownedMsgOp         MsgOpName = "WhalesNominatorsWithdrawUnowned"
	FinishUncooperativeChannelCloseMsgOp         MsgOpName = "FinishUncooperativeChannelClose"
	StonfiSwapMsgOp                              MsgOpName = "StonfiSwap"
	TonstakeControllerPoolSendMessageMsgOp       MsgOpName = "TonstakeControllerPoolSendMessage"
	TeleitemDeployMsgOp                          MsgOpName = "TeleitemDeploy"
	StormVammInitMsgOp                           MsgOpName = "StormVammInit"
	StormVaultInitMsgOp                          MsgOpName = "StormVaultInit"
	TonstakePoolSetGovernanceFeeMsgOp            MsgOpName = "TonstakePoolSetGovernanceFee"
	StormWithdrawExecutorAmountMsgOp             MsgOpName = "StormWithdrawExecutorAmount"
	GetStaticDataMsgOp                           MsgOpName = "GetStaticData"
	TonstakeControllerValidatorWithdrawalMsgOp   MsgOpName = "TonstakeControllerValidatorWithdrawal"
	TonstakePoolWithdrawMsgOp                    MsgOpName = "TonstakePoolWithdraw"
	StormVaultTradeNotificationMsgOp             MsgOpName = "StormVaultTradeNotification"
	AuctionFillUpMsgOp                           MsgOpName = "AuctionFillUp"
	TeleitemCancelAuctionMsgOp                   MsgOpName = "TeleitemCancelAuction"
	StormOrderCreatedMsgOp                       MsgOpName = "StormOrderCreated"
	ProofStorageMsgOp                            MsgOpName = "ProofStorage"
	ProcessGovernanceDecisionMsgOp               MsgOpName = "ProcessGovernanceDecision"
	TelemintDeployMsgOp                          MsgOpName = "TelemintDeploy"
	TelemintDeployV2MsgOp                        MsgOpName = "TelemintDeployV2"
	StorageWithdrawMsgOp                         MsgOpName = "StorageWithdraw"
	DedustPayoutMsgOp                            MsgOpName = "DedustPayout"
	ElectorRecoverStakeRequestMsgOp              MsgOpName = "ElectorRecoverStakeRequest"
	TonstakePoolDepositMsgOp                     MsgOpName = "TonstakePoolDeposit"
	TeleitemStartAuctionMsgOp                    MsgOpName = "TeleitemStartAuction"
	TonstakePoolTouchMsgOp                       MsgOpName = "TonstakePoolTouch"
	GramSubmitProofOfWorkMsgOp                   MsgOpName = "GramSubmitProofOfWork"
	ElectorNewStakeMsgOp                         MsgOpName = "ElectorNewStake"
	DeleteDnsRecordMsgOp                         MsgOpName = "DeleteDnsRecord"
	ChangeDnsRecordMsgOp                         MsgOpName = "ChangeDnsRecord"
	DnsBalanceReleaseMsgOp                       MsgOpName = "DnsBalanceRelease"
	StormMintExecutorMsgOp                       MsgOpName = "StormMintExecutor"
	UpdatePubkeyMsgOp                            MsgOpName = "UpdatePubkey"
	UpdateStorageParamsMsgOp                     MsgOpName = "UpdateStorageParams"
	TonstakeImanagerOperationFeeMsgOp            MsgOpName = "TonstakeImanagerOperationFee"
	ChannelCooperativeCloseMsgOp                 MsgOpName = "ChannelCooperativeClose"
	OutbidNotificationMsgOp                      MsgOpName = "OutbidNotification"
	TonstakeControllerReturnAvailableFundsMsgOp  MsgOpName = "TonstakeControllerReturnAvailableFunds"
	JettonBurnMsgOp                              MsgOpName = "JettonBurn"
	StormUpdatePositionWithStopLossMsgOp         MsgOpName = "StormUpdatePositionWithStopLoss"
	StormAddExecutorAmountMsgOp                  MsgOpName = "StormAddExecutorAmount"
	TonstakePoolSetRolesMsgOp                    MsgOpName = "TonstakePoolSetRoles"
	NftTransferMsgOp                             MsgOpName = "NftTransfer"
	TegroSwapTonMsgOp                            MsgOpName = "TegroSwapTon"
	StormUpdatePositionMsgOp                     MsgOpName = "StormUpdatePosition"
	DedustSwapExternalMsgOp                      MsgOpName = "DedustSwapExternal"
	TonstakeControllerSendRequestLoanMsgOp       MsgOpName = "TonstakeControllerSendRequestLoan"
	JettonMintMsgOp                              MsgOpName = "JettonMint"
	WalletPluginDestructMsgOp                    MsgOpName = "WalletPluginDestruct"
	JettonChangeAdminMsgOp                       MsgOpName = "JettonChangeAdmin"
	WalletExtensionActionV5R1MsgOp               MsgOpName = "WalletExtensionActionV5R1"
	SettleChannelConditionalsMsgOp               MsgOpName = "SettleChannelConditionals"
	StormCancelOrderMsgOp                        MsgOpName = "StormCancelOrder"
	TopUpChannelBalanceMsgOp                     MsgOpName = "TopUpChannelBalance"
	GetRoyaltyParamsMsgOp                        MsgOpName = "GetRoyaltyParams"
	StormOrderCanceledMsgOp                      MsgOpName = "StormOrderCanceled"
	SbtRevokeMsgOp                               MsgOpName = "SbtRevoke"
	PaymentRequestMsgOp                          MsgOpName = "PaymentRequest"
	TonstakeControllerPoolUnhaltMsgOp            MsgOpName = "TonstakeControllerPoolUnhalt"
	DedustSwapPeerMsgOp                          MsgOpName = "DedustSwapPeer"
	JettonNotifyMsgOp                            MsgOpName = "JettonNotify"
	WalletSignedInternalV5R1MsgOp                MsgOpName = "WalletSignedInternalV5R1"
	SubscriptionPaymentMsgOp                     MsgOpName = "SubscriptionPayment"
	WhalesNominatorsStakeWithdrawDelayedMsgOp    MsgOpName = "WhalesNominatorsStakeWithdrawDelayed"
	MultisigExecuteMsgOp                         MsgOpName = "MultisigExecute"
	MegatonWtonMintMsgOp                         MsgOpName = "MegatonWtonMint"
	ChannelCooperativeCommitMsgOp                MsgOpName = "ChannelCooperativeCommit"
	TonstakeControllerPoolSetSudoerMsgOp         MsgOpName = "TonstakeControllerPoolSetSudoer"
	CloseStorageContractMsgOp                    MsgOpName = "CloseStorageContract"
	AcceptStorageContractMsgOp                   MsgOpName = "AcceptStorageContract"
	ApproveMsgOp                                 MsgOpName = "Approve"
	WhalesNominatorsDepositMsgOp                 MsgOpName = "WhalesNominatorsDeposit"
	JettonBurnNotificationMsgOp                  MsgOpName = "JettonBurnNotification"
	MultisigApproveAcceptedMsgOp                 MsgOpName = "MultisigApproveAccepted"
	StormAddReferralAmountMsgOp                  MsgOpName = "StormAddReferralAmount"
	StormProvidePositionMsgOp                    MsgOpName = "StormProvidePosition"
	ReportStaticDataMsgOp                        MsgOpName = "ReportStaticData"
	TonstakeControllerWithdrawValidatorMsgOp     MsgOpName = "TonstakeControllerWithdrawValidator"
	TonstakeControllerPoolUpgradeMsgOp           MsgOpName = "TonstakeControllerPoolUpgrade"
	DedustCreateVolatilePoolMsgOp                MsgOpName = "DedustCreateVolatilePool"
	TonstakePoolPrepareGovernanceMigrationMsgOp  MsgOpName = "TonstakePoolPrepareGovernanceMigration"
	WhalesNominatorsAcceptStakeMsgOp             MsgOpName = "WhalesNominatorsAcceptStake"
	TonstakePoolSetDepositSettingsMsgOp          MsgOpName = "TonstakePoolSetDepositSettings"
	MultisigOrderInitMsgOp                       MsgOpName = "MultisigOrderInit"
	StormActivateOrderMsgOp                      MsgOpName = "StormActivateOrder"
	WhalesNominatorsAcceptWithdrawsMsgOp         MsgOpName = "WhalesNominatorsAcceptWithdraws"
	WhalesNominatorsSendStakeMsgOp               MsgOpName = "WhalesNominatorsSendStake"
	MultisigExecuteInternalMsgOp                 MsgOpName = "MultisigExecuteInternal"
	TeleitemOkMsgOp                              MsgOpName = "TeleitemOk"
	StormCreateOrderMsgOp                        MsgOpName = "StormCreateOrder"
	TeleitemReturnBidMsgOp                       MsgOpName = "TeleitemReturnBid"
	MultisigApproveMsgOp                         MsgOpName = "MultisigApprove"
	ReportRoyaltyParamsMsgOp                     MsgOpName = "ReportRoyaltyParams"
	StorageRewardWithdrawalMsgOp                 MsgOpName = "StorageRewardWithdrawal"
	DedustPayoutFromPoolMsgOp                    MsgOpName = "DedustPayoutFromPool"
	MultisigApproveRejectedMsgOp                 MsgOpName = "MultisigApproveRejected"
	TonstakeImanagerRequestNotificationMsgOp     MsgOpName = "TonstakeImanagerRequestNotification"
	TonstakePoolDeployControllerMsgOp            MsgOpName = "TonstakePoolDeployController"
	DedustDepositLiquidityAllMsgOp               MsgOpName = "DedustDepositLiquidityAll"
	StorageContractTerminatedMsgOp               MsgOpName = "StorageContractTerminated"
	StormPayFundingMsgOp                         MsgOpName = "StormPayFunding"
	TonstakeImanagerStatsMsgOp                   MsgOpName = "TonstakeImanagerStats"
	StormVaultStakeMsgOp                         MsgOpName = "StormVaultStake"
	TonstakeImanagerSetInterestMsgOp             MsgOpName = "TonstakeImanagerSetInterest"
	StormMintReferralMsgOp                       MsgOpName = "StormMintReferral"
	JettonChangeMetadataMsgOp                    MsgOpName = "JettonChangeMetadata"
	StormCompleteOrderMsgOp                      MsgOpName = "StormCompleteOrder"
	SbtRequestOwnerMsgOp                         MsgOpName = "SbtRequestOwner"
	TopUpMsgOp                                   MsgOpName = "TopUp"
	StorageContractConfirmedMsgOp                MsgOpName = "StorageContractConfirmed"
	ExcessMsgOp                                  MsgOpName = "Excess"
	DedustDepositLiquidityMsgOp                  MsgOpName = "DedustDepositLiquidity"
	StormVaultUnstakeMsgOp                       MsgOpName = "StormVaultUnstake"
	WhalesNominatorsWithdrawMsgOp                MsgOpName = "WhalesNominatorsWithdraw"
	TonstakeNftPayoutMsgOp                       MsgOpName = "TonstakeNftPayout"
	ChannelClosedMsgOp                           MsgOpName = "ChannelClosed"
	TonstakePoolLoanRepaymentMsgOp               MsgOpName = "TonstakePoolLoanRepayment"
	TonstakeControllerNewStakeMsgOp              MsgOpName = "TonstakeControllerNewStake"
	WalletPluginDestructResponseMsgOp            MsgOpName = "WalletPluginDestructResponse"
	DeployStorageContractMsgOp                   MsgOpName = "DeployStorageContract"
	TonstakePoolRequestLoanMsgOp                 MsgOpName = "TonstakePoolRequestLoan"
	DisapproveMsgOp                              MsgOpName = "Disapprove"
	DedustSwapMsgOp                              MsgOpName = "DedustSwap"
	TonstakeControllerRecoverStakeMsgOp          MsgOpName = "TonstakeControllerRecoverStake"
	TonstakeNftBurnNotificationMsgOp             MsgOpName = "TonstakeNftBurnNotification"
	TonstakeControllerReturnUnusedLoanMsgOp      MsgOpName = "TonstakeControllerReturnUnusedLoan"
	StormChangeSettingsMsgOp                     MsgOpName = "StormChangeSettings"
	JettonSetStatusMsgOp                         MsgOpName = "JettonSetStatus"
	PaymentRequestResponseMsgOp                  MsgOpName = "PaymentRequestResponse"
	TonstakeControllerUpdateValidatorHashMsgOp   MsgOpName = "TonstakeControllerUpdateValidatorHash"
	TonstakeNftBurnMsgOp                         MsgOpName = "TonstakeNftBurn"
	ElectorNewStakeConfirmationMsgOp             MsgOpName = "ElectorNewStakeConfirmation"
	StormWithdrawReferralAmountMsgOp             MsgOpName = "StormWithdrawReferralAmount"
	MultisigNewOrderMsgOp                        MsgOpName = "MultisigNewOrder"
	StonfiPaymentRequestMsgOp                    MsgOpName = "StonfiPaymentRequest"
	ElectorRecoverStakeResponseMsgOp             MsgOpName = "ElectorRecoverStakeResponse"
	JettonClaimAdminMsgOp                        MsgOpName = "JettonClaimAdmin"
	BounceMsgOp                                  MsgOpName = "Bounce"
)
const (
	WalletSignedV3ExtInMsgOp             MsgOpName = "WalletSignedV3"
	WalletSignedV4ExtInMsgOp             MsgOpName = "WalletSignedV4"
	HighloadWalletSignedV3ExtInMsgOp     MsgOpName = "HighloadWalletSignedV3"
	PreprocessedWalletSignedV2ExtInMsgOp MsgOpName = "PreprocessedWalletSignedV2"
	HighloadWalletSignedV2ExtInMsgOp     MsgOpName = "HighloadWalletSignedV2"
	WalletSignedExternalV5R1ExtInMsgOp   MsgOpName = "WalletSignedExternalV5R1"
)
const (
	DedustWithdrawalExtOutMsgOp          MsgOpName = "DedustWithdrawal"
	MegatonUpdateMiningParamsExtOutMsgOp MsgOpName = "MegatonUpdateMiningParams"
	MegatonSwapExtOutMsgOp               MsgOpName = "MegatonSwap"
	DedustSwapExtOutMsgOp                MsgOpName = "DedustSwap"
	DedustDepositExtOutMsgOp             MsgOpName = "DedustDeposit"
)

type MultisigApproveAcceptedMsgBody added in v1.6.0

type MultisigApproveAcceptedMsgBody struct {
	QueryId uint64
}

type MultisigApproveMsgBody added in v1.6.0

type MultisigApproveMsgBody struct {
	QueryId     uint64
	SignerIndex uint8
}

type MultisigApproveRejectedMsgBody added in v1.6.0

type MultisigApproveRejectedMsgBody struct {
	QueryId  uint64
	ExitCode uint32
}

type MultisigExecuteInternalMsgBody added in v1.6.0

type MultisigExecuteInternalMsgBody struct {
	QueryId uint64
	Order   MultisigOrder `tlb:"^"`
}

type MultisigExecuteMsgBody added in v1.6.0

type MultisigExecuteMsgBody struct {
	QueryId        uint64
	OrderSeqno     tlb.Uint256
	ExpirationDate tlb.Uint48
	ApprovalsNum   uint8
	SignersHash    tlb.Bits256
	Order          MultisigOrder `tlb:"^"`
}

type MultisigNewOrderMsgBody added in v1.6.0

type MultisigNewOrderMsgBody struct {
	QueryId        uint64
	OrderSeqno     tlb.Uint256
	Signer         tlb.Uint1
	Index          uint8
	ExpirationDate tlb.Uint48
	Order          MultisigOrder `tlb:"^"`
}

type MultisigOrder added in v1.6.0

type MultisigOrder struct {
	Field0 tlb.Hashmap[tlb.Uint8, tlb.Ref[MultisigSendMessageAction]]
}

type MultisigOrderInitMsgBody added in v1.6.0

type MultisigOrderInitMsgBody struct {
	QueryId        uint64
	Threshold      uint8
	Signers        tlb.Hashmap[tlb.Uint8, tlb.MsgAddress] `tlb:"^"`
	ExpirationDate tlb.Uint48
	Order          MultisigOrder `tlb:"^"`
	SignerIndex    *uint8        `tlb:"maybe"`
}

type MultisigProposersList added in v1.6.0

type MultisigProposersList struct {
	Proposers tlb.HashmapE[tlb.Uint8, tlb.MsgAddress]
}

type MultisigSendMessageAction added in v1.6.0

type MultisigSendMessageAction struct {
	tlb.SumType
	SendMessage struct {
		Field0 SendMessageAction
	} `tlbSumType:"#f1381e5b"`
	UpdateMultisigParam struct {
		Threshold uint8
		Signers   tlb.Hashmap[tlb.Uint8, tlb.MsgAddress] `tlb:"^"`
		Proposers tlb.HashmapE[tlb.Uint8, tlb.MsgAddress]
	} `tlbSumType:"#1d0cfbd3"`
}

func (*MultisigSendMessageAction) MarshalJSON added in v1.6.0

func (t *MultisigSendMessageAction) MarshalJSON() ([]byte, error)

type MultisigSignersList added in v1.6.0

type MultisigSignersList struct {
	Signers tlb.Hashmap[tlb.Uint8, tlb.MsgAddress]
}

type NFTOpCode added in v1.3.0

type NFTOpCode = uint32

NFTOpCode is the first 4 bytes of a message body identifying an operation to be performed.

type NFTOpName added in v1.3.0

type NFTOpName = string
const (
	EmptyNFTOp   NFTOpName = ""
	UnknownNFTOp NFTOpName = "Cell"
)

type NFTPayload added in v1.3.0

type NFTPayload struct {
	SumType string
	OpCode  *uint32
	Value   any
}

func (NFTPayload) MarshalJSON added in v1.3.0

func (p NFTPayload) MarshalJSON() ([]byte, error)

func (NFTPayload) MarshalTLB added in v1.3.0

func (p NFTPayload) MarshalTLB(c *boc.Cell, e *tlb.Encoder) error

func (*NFTPayload) UnmarshalJSON added in v1.3.0

func (p *NFTPayload) UnmarshalJSON(data []byte) error

func (*NFTPayload) UnmarshalTLB added in v1.3.0

func (j *NFTPayload) UnmarshalTLB(cell *boc.Cell, decoder *tlb.Decoder) error

type NftOwnershipAssignedMsgBody

type NftOwnershipAssignedMsgBody struct {
	QueryId        uint64
	PrevOwner      tlb.MsgAddress
	ForwardPayload tlb.EitherRef[NFTPayload]
}

type NftRoyaltyParams

type NftRoyaltyParams struct {
	Numerator   uint16
	Denominator uint16
	Destination tlb.MsgAddress
}

type NftTransferMsgBody

type NftTransferMsgBody struct {
	QueryId             uint64
	NewOwner            tlb.MsgAddress
	ResponseDestination tlb.MsgAddress
	CustomPayload       *tlb.Any `tlb:"maybe^"`
	ForwardAmount       tlb.VarUInteger16
	ForwardPayload      tlb.EitherRef[NFTPayload]
}

type NotificationPayload added in v1.8.13

type NotificationPayload struct {
	Opcode uint64
}

type OfferStorageContractMsgBody

type OfferStorageContractMsgBody struct {
	QueryId uint64
}

type OracleData added in v1.8.13

type OracleData struct {
	UpdateMsg  UpdateMsg `tlb:"^"`
	Signatures tlb.Any   `tlb:"^"`
}

type OraclePayload added in v1.8.13

type OraclePayload struct {
	PriceData  OraclePriceData `tlb:"^"`
	Signatures Signatures      `tlb:"^"`
}

type OraclePriceData added in v1.8.13

type OraclePriceData struct {
	Price         tlb.Grams
	Spread        tlb.Grams
	AnotherSpread uint32
	AssetId       uint16
}

type OrderPayload added in v1.8.13

type OrderPayload struct {
	OrderType  tlb.Uint4
	OrderIndex tlb.Uint3
	Direction  tlb.Uint1
}

type OutbidNotificationMsgBody added in v1.3.0

type OutbidNotificationMsgBody struct {
	QueryId uint64
}

type OwnershipProofMsgBody

type OwnershipProofMsgBody struct {
	QueryId   uint64
	ItemId    tlb.Uint256
	Owner     tlb.MsgAddress
	Data      tlb.Any `tlb:"^"`
	RevokedAt uint64
	Content   *tlb.Any `tlb:"maybe^"`
}

type Parameters added in v1.8.13

type Parameters struct {
	Discount uint32
	Rebate   uint32
}

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{}

type PositionChange added in v1.8.13

type PositionChange struct {
	Size                         tlb.Uint128
	Direction                    tlb.Uint1
	Margin                       tlb.Grams
	OpenNotional                 tlb.Grams
	LastUpdatedCumulativePremium uint64
	Fee                          uint32
	Discount                     uint32
	Rebate                       uint32
	LastUpdatedTimestamp         uint32
}

type PreprocessedWalletSignedV2ExtInMsgBody added in v1.9.1

type PreprocessedWalletSignedV2ExtInMsgBody struct {
	Sign tlb.Bits512
	Msg  PreprocessedWalletV2MsgInner `tlb:"^"`
}

type PreprocessedWalletV2MsgInner added in v1.9.1

type PreprocessedWalletV2MsgInner struct {
	ValidUntil uint64
	SeqNo      uint16
	Actions    W5Actions `tlb:"^"`
}

type ProcessGovernanceDecisionMsgBody added in v1.3.0

type ProcessGovernanceDecisionMsgBody struct {
	QueryId uint64
}

type ProofStorageMsgBody

type ProofStorageMsgBody struct {
	QueryId       uint64
	FileDictProof tlb.Any `tlb:"^"`
}

type ProveOwnershipMsgBody

type ProveOwnershipMsgBody struct {
	QueryId        uint64
	Dest           tlb.MsgAddress
	ForwardPayload tlb.Any `tlb:"^"`
	WithContent    bool
}

type QuarantinedState

type QuarantinedState struct {
	StateA           SemiChannelBody
	StateB           SemiChannelBody
	QuarantineStarts uint32
	StateCommitedByA bool
}

type ReferralData added in v1.8.13

type ReferralData struct {
	Amount tlb.Grams
	Index  uint32
}

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 SbtOwnerInfoMsgBody struct {
	QueryId   uint64
	ItemId    tlb.Uint256
	Initiator tlb.MsgAddress
	Owner     tlb.MsgAddress
	Data      tlb.Any `tlb:"^"`
	RevokedAt uint64
	Content   *tlb.Any `tlb:"maybe^"`
}

type SbtRequestOwnerMsgBody

type SbtRequestOwnerMsgBody struct {
	QueryId        uint64
	Dest           tlb.MsgAddress
	ForwardPayload tlb.Any `tlb:"^"`
	WithContent    bool
}

type SbtRevokeMsgBody

type SbtRevokeMsgBody struct {
	QueryId uint64
}

type SemiChannel

type SemiChannel struct {
	Magic            tlb.Magic `tlb:"#43685374"`
	ChannelId        tlb.Uint128
	Data             SemiChannelBody
	CounterpartyData *SemiChannelBody `tlb:"maybe^"`
}

type SemiChannelBody

type SemiChannelBody struct {
	Seqno        uint64
	Sent         tlb.Grams
	Conditionals tlb.HashmapE[tlb.Uint32, ConditionalPayment]
}

type SendMessageAction added in v1.5.0

type SendMessageAction struct {
	Mode    uint8
	Message MessageRelaxed `tlb:"^"`
}

type SeqnoResult

type SeqnoResult struct {
	State uint32
}

type SettleChannelConditionalsMsgBody

type SettleChannelConditionalsMsgBody struct {
	FromA                bool
	Signature            tlb.Bits512
	Tag                  uint32
	ChannelId            tlb.Uint128
	ConditionalsToSettle tlb.HashmapE[tlb.Uint32, tlb.Any]
}

type Signatures added in v1.8.13

type Signatures struct {
	Data tlb.Any
}

type SignedSemiChannel

type SignedSemiChannel struct {
	Signature tlb.Bits512
	State     SemiChannel
}

type StartUncooperativeChannelCloseMsgBody

type StartUncooperativeChannelCloseMsgBody struct {
	SignedByA bool
	Signature tlb.Bits512
	Tag       uint32
	ChannelId tlb.Uint128
	SchA      SignedSemiChannel `tlb:"^"`
	SchB      SignedSemiChannel `tlb:"^"`
}

type StonfiPayToParams added in v1.2.0

type StonfiPayToParams struct {
	Amount0Out    tlb.VarUInteger16
	Token0Address tlb.MsgAddress
	Amount1Out    tlb.VarUInteger16
	Token1Address tlb.MsgAddress
}

type StonfiPaymentRequestMsgBody added in v1.2.0

type StonfiPaymentRequestMsgBody struct {
	QueryId  uint64
	Owner    tlb.MsgAddress
	ExitCode uint32
	Params   tlb.EitherRef[StonfiPayToParams]
}

type StonfiProvideLiquidityJettonPayload added in v1.4.0

type StonfiProvideLiquidityJettonPayload struct {
	TokenWallet tlb.MsgAddress
	MinLpOut    tlb.VarUInteger16
}

type StonfiSwapAddrs added in v1.2.0

type StonfiSwapAddrs struct {
	FromUser tlb.MsgAddress
}

type StonfiSwapJettonPayload added in v1.3.0

type StonfiSwapJettonPayload struct {
	TokenWallet     tlb.MsgAddress
	MinOut          tlb.VarUInteger16
	ToAddress       tlb.MsgAddress
	ReferralAddress *tlb.MsgAddress `tlb:"maybe"`
}

type StonfiSwapMsgBody added in v1.2.0

type StonfiSwapMsgBody struct {
	QueryId       uint64
	ToAddress     tlb.MsgAddress
	SenderAddress tlb.MsgAddress
	JettonAmount  tlb.VarUInteger16
	MinOut        tlb.VarUInteger16
	HasRefAddress bool
	Addrs         StonfiSwapAddrs `tlb:"^"`
}

type StonfiSwapOkJettonPayload added in v1.3.0

type StonfiSwapOkJettonPayload struct{}

type StonfiSwapOkRefJettonPayload added in v1.3.0

type StonfiSwapOkRefJettonPayload struct{}

type Storage

type Storage struct {
	BalanceA       tlb.Grams
	BalanceB       tlb.Grams
	KeyA           tlb.Uint256
	KeyB           tlb.Uint256
	ChannelId      tlb.Uint128
	Config         ClosingConfig `tlb:"^"`
	CommitedSeqnoA uint32
	CommitedSeqnoB uint32
	Quarantin      *QuarantinedState `tlb:"maybe^"`
	Payments       PaymentConfig     `tlb:"^"`
}

type StorageContractConfirmedMsgBody

type StorageContractConfirmedMsgBody struct {
	CurLt       uint64
	TorrentHash tlb.Bits256
}

type StorageContractTerminatedMsgBody

type StorageContractTerminatedMsgBody struct {
	CurLt       uint64
	TorrentHash tlb.Bits256
}

type StorageRewardWithdrawalMsgBody

type StorageRewardWithdrawalMsgBody struct {
	QueryId uint64
}

type StorageWithdrawMsgBody

type StorageWithdrawMsgBody struct {
	QueryId uint64
}

type StormActivateOrderMsgBody added in v1.8.13

type StormActivateOrderMsgBody struct {
	OrderIndex     tlb.Uint3
	ActivatedOrder OrderPayload `tlb:"^"`
}

type StormAddExecutorAmountMsgBody added in v1.8.13

type StormAddExecutorAmountMsgBody struct {
	ReferralAmount tlb.Grams
	OriginAddr     tlb.MsgAddress
}

type StormAddReferralAmountMsgBody added in v1.8.13

type StormAddReferralAmountMsgBody struct {
	ReferralAmount tlb.Grams
	OriginAddr     tlb.MsgAddress
}

type StormCancelOrderMsgBody added in v1.8.13

type StormCancelOrderMsgBody struct {
	OrderType    tlb.Uint4
	OrderIndex   tlb.Uint3
	Direction    tlb.Uint1
	GasToAddress tlb.MsgAddress
}

type StormChangeSettingsMsgBody added in v1.8.13

type StormChangeSettingsMsgBody struct {
	RedirectAddr tlb.MsgAddress
	Settings     AmmSettings `tlb:"^"`
}

type StormCompleteOrderMsgBody added in v1.8.13

type StormCompleteOrderMsgBody struct {
	OrderType             tlb.Uint4
	OrderIndex            tlb.Uint3
	Direction             tlb.Uint1
	OriginOpcode          uint32
	IndexPrice            tlb.Grams
	SettlementOraclePrice *tlb.Grams     `tlb:"maybe"`
	Position              PositionChange `tlb:"^"`
	Amm                   AmmChange      `tlb:"^"`
}

type StormCreateOrderMsgBody added in v1.8.13

type StormCreateOrderMsgBody struct {
	OrderPayload OrderPayload `tlb:"^"`
}

type StormMintExecutorMsgBody added in v1.8.13

type StormMintExecutorMsgBody struct {
	NftOwner        tlb.MsgAddress
	RedirectAddress tlb.MsgAddress
	BalancesDict    tlb.Any `tlb:"^"`
}

type StormMintReferralMsgBody added in v1.8.13

type StormMintReferralMsgBody struct {
	NftOwner        tlb.MsgAddress
	RefType         tlb.Uint2
	RedirectAddress tlb.MsgAddress
	Parameters      Parameters `tlb:"^"`
	BalancesDict    tlb.Any    `tlb:"^"`
}

type StormOrderCanceledMsgBody added in v1.8.13

type StormOrderCanceledMsgBody struct{}

type StormOrderCreatedMsgBody added in v1.8.13

type StormOrderCreatedMsgBody struct{}

type StormPayFundingMsgBody added in v1.8.13

type StormPayFundingMsgBody struct {
	OracleRef OracleData `tlb:"^"`
}

type StormProvidePositionMsgBody added in v1.8.13

type StormProvidePositionMsgBody struct {
	OrderType     tlb.Uint4
	OrderIndex    tlb.Uint3
	Direction     tlb.Uint1
	ExecutorIndex uint32
	OraclePayload OraclePayload `tlb:"^"`
}

type StormTakeReferralFeesMsgBody added in v1.8.13

type StormTakeReferralFeesMsgBody struct {
	ReferralFees Parameters `tlb:"^"`
}

type StormUpdatePositionMsgBody added in v1.8.13

type StormUpdatePositionMsgBody struct {
	Direction             tlb.Uint1
	OriginOpcode          uint32
	IndexPrice            tlb.Grams
	SettlementOraclePrice *tlb.Grams     `tlb:"maybe"`
	Position              PositionChange `tlb:"^"`
	Amm                   AmmChange      `tlb:"^"`
}

type StormUpdatePositionWithStopLossMsgBody added in v1.8.13

type StormUpdatePositionWithStopLossMsgBody struct {
	Direction             tlb.Uint1
	StopTriggerPrice      tlb.Grams
	TakeTriggerPrice      tlb.Grams
	OriginOpcode          uint32
	IndexPrice            tlb.Grams
	SettlementOraclePrice *tlb.Grams     `tlb:"maybe"`
	Position              PositionChange `tlb:"^"`
	Amm                   AmmChange      `tlb:"^"`
}

type StormVammInitMsgBody added in v1.8.13

type StormVammInitMsgBody struct {
	RedirectAddr tlb.MsgAddress
	Code         tlb.Any `tlb:"^"`
	Data         tlb.Any `tlb:"^"`
}

type StormVaultInitMsgBody added in v1.8.13

type StormVaultInitMsgBody struct {
	JettonAddress tlb.MsgAddress
}

type StormVaultRequestWithdrawPositionMsgBody added in v1.8.13

type StormVaultRequestWithdrawPositionMsgBody struct {
	TraderAddr     tlb.MsgAddress
	VammAddr       tlb.MsgAddress
	Amount         tlb.Grams
	GasToAddr      tlb.MsgAddress
	WithdrawReason uint32
}

type StormVaultStakeMsgBody added in v1.8.13

type StormVaultStakeMsgBody struct {
	Amount tlb.Grams
}

type StormVaultTradeNotificationMsgBody added in v1.8.13

type StormVaultTradeNotificationMsgBody struct {
	AmmIndex             uint16
	FreeAmount           uint16
	LockedAmount         int64
	ExchangeAmount       int64
	WithdrawLockedAmount int64
	FeeToStakers         int64
	WithdrawAmount       int64
	TraderAddr           tlb.MsgAddress
	ReferralParams       *ReferralData `tlb:"maybe^"`
	ExecutorParams       *ExecutorData `tlb:"maybe^"`
}

type StormVaultUnstakeMsgBody added in v1.8.13

type StormVaultUnstakeMsgBody struct {
	JettonAmount tlb.Grams
	UserAddress  tlb.MsgAddress
}

type StormWithdrawExecutorAmountMsgBody added in v1.8.13

type StormWithdrawExecutorAmountMsgBody struct {
	Index          uint64
	ExecutorAmount tlb.Grams
	OwnerAddr      tlb.MsgAddress
}

type StormWithdrawReferralAmountMsgBody added in v1.8.13

type StormWithdrawReferralAmountMsgBody struct {
	Index          uint64
	ReferralAmount tlb.Grams
	OwnerAddr      tlb.MsgAddress
}

type SubscriptionPaymentMsgBody added in v1.0.14

type SubscriptionPaymentMsgBody struct{}

type TegroAddLiquidityJettonPayload added in v1.3.0

type TegroAddLiquidityJettonPayload struct {
	AmountA tlb.VarUInteger16
	AbountB tlb.VarUInteger16
}

type TegroJettonSwapJettonPayload added in v1.3.0

type TegroJettonSwapJettonPayload struct {
	Extract          bool
	MaxIn            tlb.VarUInteger16
	MinOut           tlb.VarUInteger16
	Destination      tlb.MsgAddress
	ErrorDestination tlb.MsgAddress
	Payload          *tlb.Any `tlb:"maybe^"`
}

type TegroSwapTonMsgBody added in v1.3.0

type TegroSwapTonMsgBody struct {
	QueryId          uint64
	Extract          bool
	MaxIn            tlb.Grams
	MinOut           tlb.Grams
	Destination      tlb.MsgAddress
	ErrorDestination tlb.MsgAddress
	Ref              *tlb.MsgAddress `tlb:"maybe^"`
}

type TeleitemAuctionConfig

type TeleitemAuctionConfig struct {
	BeneficiarAddress tlb.MsgAddress
	InitialMinBid     tlb.Grams
	MaxBid            tlb.Grams
	MinBidStep        uint8
	MinExtendTime     uint32
	Duration          uint32
}

type TeleitemBidInfoNFTPayload added in v1.3.0

type TeleitemBidInfoNFTPayload struct {
	Bid   tlb.Grams
	BidTs uint32
}

type TeleitemCancelAuctionMsgBody

type TeleitemCancelAuctionMsgBody struct {
	QueryId int64
}

type TeleitemDeployMsgBody

type TeleitemDeployMsgBody struct {
	SenderAddress tlb.MsgAddress
	Bid           tlb.Grams
	TokenInfo     TelemintTokenInfo     `tlb:"^"`
	NftContent    tlb.Any               `tlb:"^"`
	AuctionConfig TeleitemAuctionConfig `tlb:"^"`
	RoyaltyParams NftRoyaltyParams      `tlb:"^"`
}

type TeleitemOkMsgBody added in v1.3.0

type TeleitemOkMsgBody struct {
	QueryId int64
}

type TeleitemReturnBidMsgBody added in v1.3.0

type TeleitemReturnBidMsgBody struct {
	CurLt int64
}

type TeleitemStartAuctionMsgBody

type TeleitemStartAuctionMsgBody struct {
	QueryId       int64
	AuctionConfig TeleitemAuctionConfig `tlb:"^"`
}

type TelemintData

type TelemintData struct {
	Touched           bool
	SubwalletId       uint32
	PublicKey         tlb.Bits256
	CollectionContent tlb.Any          `tlb:"^"`
	NftItemCode       tlb.Any          `tlb:"^"`
	RoyaltyParams     NftRoyaltyParams `tlb:"^"`
}

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.MsgAddress `tlb:"maybe"`
	RewriteSenderAddress *tlb.MsgAddress `tlb:"maybe"`
}

type TelemintTokenInfo added in v1.3.1

type TelemintTokenInfo struct {
	Name   tlb.FixedLengthText
	Domain tlb.FixedLengthText
}

type TelemintUnsignedDeploy

type TelemintUnsignedDeploy struct {
	SubwalletId   uint32
	ValidSince    uint32
	ValidTill     uint32
	Username      tlb.FixedLengthText
	Content       tlb.Any               `tlb:"^"`
	AuctionConfig TeleitemAuctionConfig `tlb:"^"`
	RoyaltyParams *NftRoyaltyParams     `tlb:"maybe^"`
}

type TelemintUnsignedDeployV2

type TelemintUnsignedDeployV2 struct {
	SubwalletId   uint32
	ValidSince    uint32
	ValidTill     uint32
	TokenName     tlb.FixedLengthText
	Content       tlb.Any               `tlb:"^"`
	AuctionConfig TeleitemAuctionConfig `tlb:"^"`
	RoyaltyParams *NftRoyaltyParams     `tlb:"maybe^"`
	Restrictions  *TelemintRestrictions `tlb:"maybe^"`
}

type TextCommentJettonPayload added in v1.3.0

type TextCommentJettonPayload struct {
	Text tlb.Text
}

type TextCommentMsgBody

type TextCommentMsgBody struct {
	Text tlb.Text
}

type TextCommentNFTPayload added in v1.3.0

type TextCommentNFTPayload struct {
	Text tlb.Text
}

type TonkeeperRelayerFeeJettonPayload added in v1.8.4

type TonkeeperRelayerFeeJettonPayload struct{}

type TonstakeControllerNewStakeMsgBody added in v1.1.0

type TonstakeControllerNewStakeMsgBody struct {
	QueryId         uint64
	Value           tlb.Grams
	ValidatorPubkey tlb.Uint256
	StakeAt         uint32
	MaxFactor       uint32
	AdnlAddr        tlb.Uint256
	Signature       tlb.Bits512 `tlb:"^"`
}

type TonstakeControllerPoolHaltMsgBody added in v1.1.0

type TonstakeControllerPoolHaltMsgBody struct {
	QueryId uint64
}

type TonstakeControllerPoolSendMessageMsgBody added in v1.1.0

type TonstakeControllerPoolSendMessageMsgBody struct {
	QueryId uint64
	Mode    uint8
	Msg     tlb.Any `tlb:"^"`
}

type TonstakeControllerPoolSetSudoerMsgBody added in v1.1.0

type TonstakeControllerPoolSetSudoerMsgBody struct {
	QueryId uint64
	Sudoer  tlb.MsgAddress
}

type TonstakeControllerPoolUnhaltMsgBody added in v1.1.0

type TonstakeControllerPoolUnhaltMsgBody struct {
	QueryId uint64
}

type TonstakeControllerPoolUpgradeMsgBody added in v1.1.0

type TonstakeControllerPoolUpgradeMsgBody struct {
	QueryId      uint64
	Data         *tlb.Any `tlb:"maybe^"`
	Code         *tlb.Any `tlb:"maybe^"`
	AfterUpgrade *tlb.Any `tlb:"maybe^"`
}

type TonstakeControllerRecoverStakeMsgBody added in v1.1.0

type TonstakeControllerRecoverStakeMsgBody struct {
	QueryId uint64
}

type TonstakeControllerReturnAvailableFundsMsgBody added in v1.1.2

type TonstakeControllerReturnAvailableFundsMsgBody struct {
	QueryId uint64
}

type TonstakeControllerReturnUnusedLoanMsgBody added in v1.1.0

type TonstakeControllerReturnUnusedLoanMsgBody struct {
	QueryId uint64
}

type TonstakeControllerSendRequestLoanMsgBody added in v1.1.0

type TonstakeControllerSendRequestLoanMsgBody struct {
	QueryId    uint64
	MinLoan    tlb.Grams
	MaxLoan    tlb.Grams
	MaxInterst tlb.Uint24
}

type TonstakeControllerUpdateValidatorHashMsgBody added in v1.1.0

type TonstakeControllerUpdateValidatorHashMsgBody struct {
	QueryId uint64
}

type TonstakeControllerValidatorWithdrawalMsgBody added in v1.1.2

type TonstakeControllerValidatorWithdrawalMsgBody struct {
	QueryId uint64
	Amount  tlb.Grams
}

type TonstakeControllerWithdrawValidatorMsgBody added in v1.1.0

type TonstakeControllerWithdrawValidatorMsgBody struct {
	QueryId uint64
	Value   tlb.Grams
}

type TonstakeImanagerOperationFeeMsgBody added in v1.1.2

type TonstakeImanagerOperationFeeMsgBody struct {
	QueryId uint64
}

type TonstakeImanagerRequestNotificationMsgBody added in v1.1.2

type TonstakeImanagerRequestNotificationMsgBody struct {
	QueryId     uint64
	MinLoan     tlb.Grams
	MaxLoan     tlb.Grams
	MaxInterest uint16
}

type TonstakeImanagerSetInterestMsgBody added in v1.1.2

type TonstakeImanagerSetInterestMsgBody struct {
	QueryId      uint64
	InterestRate uint16
}

type TonstakeImanagerStatsMsgBody added in v1.1.2

type TonstakeImanagerStatsMsgBody struct {
	QueryId      uint64
	Borrowed     tlb.Grams
	Expected     tlb.Grams
	Returned     tlb.Grams
	ProfitSign   tlb.Int1
	Profit       tlb.Grams
	TotalBalance tlb.Grams
}

type TonstakeNftBurnMsgBody added in v1.1.2

type TonstakeNftBurnMsgBody struct {
	QueryId uint64
}

type TonstakeNftBurnNotificationMsgBody added in v1.1.2

type TonstakeNftBurnNotificationMsgBody struct {
	QueryId uint64
	Amount  tlb.Grams
	Owner   tlb.MsgAddress
	Index   uint64
}

type TonstakeNftInitMsgBody added in v1.1.2

type TonstakeNftInitMsgBody struct {
	QueryId uint64
	Owner   tlb.MsgAddress
	Amount  tlb.Grams
	Prev    tlb.MsgAddress
	Next    tlb.MsgAddress
}

type TonstakeNftPayoutMsgBody added in v1.3.1

type TonstakeNftPayoutMsgBody struct {
	QueryId uint64
}

type TonstakePayoutMintJettonsMsgBody added in v1.5.0

type TonstakePayoutMintJettonsMsgBody struct {
	QueryId      uint64
	Destination  tlb.MsgAddress
	Amount       tlb.Grams
	Notification tlb.Grams
	Forward      tlb.Grams
}

type TonstakePoolDeployControllerMsgBody added in v1.1.2

type TonstakePoolDeployControllerMsgBody struct {
	ControllerId uint32
	QueryId      uint64
}

type TonstakePoolDepositMsgBody added in v1.1.0

type TonstakePoolDepositMsgBody struct {
	QueryId  uint64
	Referral tlb.Any
}

type TonstakePoolLoanRepaymentMsgBody added in v1.1.0

type TonstakePoolLoanRepaymentMsgBody struct {
	QueryId uint64
}

type TonstakePoolPrepareGovernanceMigrationMsgBody added in v1.1.2

type TonstakePoolPrepareGovernanceMigrationMsgBody struct {
	QueryId             uint64
	GovernorUpdateAfter tlb.Uint48
}

type TonstakePoolRequestLoanMsgBody added in v1.1.2

type TonstakePoolRequestLoanMsgBody struct {
	QueryId        uint64
	MinLoan        tlb.Grams
	MaxLoan        tlb.Grams
	MaxInterest    tlb.Uint24
	ControllerData TonstakersControllerData `tlb:"^"`
}

type TonstakePoolSetDepositSettingsMsgBody added in v1.1.2

type TonstakePoolSetDepositSettingsMsgBody struct {
	QueryId                      uint64
	OptimisticDepositWithdrawals bool
	DepositsOpen                 bool
}

type TonstakePoolSetGovernanceFeeMsgBody added in v1.1.2

type TonstakePoolSetGovernanceFeeMsgBody struct {
	QueryId       uint64
	GovernanceFee uint16
}

type TonstakePoolSetRolesMsgBody added in v1.1.0

type TonstakePoolSetRolesMsgBody struct {
	QueryId         uint64
	Governor        *tlb.MsgAddress `tlb:"maybe"`
	InterestManager *tlb.MsgAddress `tlb:"maybe"`
	Halter          *tlb.MsgAddress `tlb:"maybe"`
}

type TonstakePoolTouchMsgBody added in v1.1.2

type TonstakePoolTouchMsgBody struct {
	QueryId uint64
}

type TonstakePoolWithdrawMsgBody added in v1.1.0

type TonstakePoolWithdrawMsgBody struct {
	QueryId         uint64
	JettonAmount    tlb.Grams
	FromAddress     tlb.MsgAddress
	ResponseAddress tlb.MsgAddress
}

type TonstakePoolWithdrawalMsgBody added in v1.1.2

type TonstakePoolWithdrawalMsgBody struct {
	QueryId uint64
}

type TonstakersControllerData added in v1.5.0

type TonstakersControllerData struct {
	ControllerId uint32
	Validator    tlb.MsgAddress
	Pool         tlb.MsgAddress
	Governor     tlb.MsgAddress
	Field4       struct {
		Approver tlb.MsgAddress
		Halter   tlb.MsgAddress
	} `tlb:"^"`
}

type TopUpChannelBalanceMsgBody

type TopUpChannelBalanceMsgBody struct {
	AddA tlb.Grams
	AddB tlb.Grams
}

type TopUpMsgBody added in v1.5.6

type TopUpMsgBody struct {
	QueryId uint64
}

type TorrentInfo

type TorrentInfo struct {
	PieceSize      uint32
	FileSize       uint64
	RootHash       tlb.Uint256
	HeaderSize     uint64
	HeaderHash     tlb.Uint256
	MicrochunkHash *tlb.Uint256 `tlb:"maybe"`
	Description    tlb.Text
}

type UpdateMsg added in v1.8.13

type UpdateMsg struct {
	Price      tlb.Grams
	Spread     tlb.Grams
	Timestamp  uint32
	AssetIndex uint16
}

type UpdatePubkeyMsgBody

type UpdatePubkeyMsgBody struct {
	QueryId   uint64
	NewPubkey tlb.Bits256
}

type UpdateStorageParamsMsgBody

type UpdateStorageParamsMsgBody struct {
	QueryId            uint64
	AcceptNewContracts bool
	RatePerMbDay       tlb.Grams
	MaxSpan            uint32
	MinimalFileSize    uint64
	MaximalFileSize    uint64
}

type W5Actions added in v1.9.0

type W5Actions []W5SendMessageAction

func (*W5Actions) UnmarshalTLB added in v1.9.0

func (l *W5Actions) UnmarshalTLB(c *boc.Cell, decoder *tlb.Decoder) error

type W5ExtendedAction added in v1.9.0

type W5ExtendedAction struct {
	SumType      tlb.SumType
	AddExtension *struct {
		Addr tlb.MsgAddress
	} `tlbSumType:"add_extension#02"`
	RemoveExtension *struct {
		Addr tlb.MsgAddress
	} `tlbSumType:"remove_extension#03"`
	SetSignatureAllowed *struct {
		Allowed bool
	} `tlbSumType:"set_signature_allowed#04"`
}

type W5ExtendedActions added in v1.9.0

type W5ExtendedActions []W5ExtendedAction

func (*W5ExtendedActions) UnmarshalTLB added in v1.9.0

func (extendedActions *W5ExtendedActions) UnmarshalTLB(c *boc.Cell, decoder *tlb.Decoder) error

type W5SendMessageAction added in v1.9.0

type W5SendMessageAction struct {
	Magic tlb.Magic `tlb:"#0ec3c86d"`
	Mode  uint8
	Msg   MessageRelaxed `tlb:"^"`
}

type WalletExtensionActionV5R1MsgBody added in v1.9.0

type WalletExtensionActionV5R1MsgBody struct {
	QueryId  uint64
	Actions  *W5Actions         `tlb:"maybe^"`
	Extended *W5ExtendedActions `tlb:"maybe"`
}

type WalletPluginDestructMsgBody

type WalletPluginDestructMsgBody struct{}

type WalletPluginDestructResponseMsgBody

type WalletPluginDestructResponseMsgBody struct{}

type WalletSignedExternalV5R1ExtInMsgBody added in v1.9.0

type WalletSignedExternalV5R1ExtInMsgBody struct {
	WalletId   uint32
	ValidUntil uint32
	Seqno      uint32
	Actions    *W5Actions         `tlb:"maybe^"`
	Extended   *W5ExtendedActions `tlb:"maybe"`
	Signature  tlb.Bits512
}

type WalletSignedInternalV5R1MsgBody added in v1.9.0

type WalletSignedInternalV5R1MsgBody struct {
	WalletId   uint32
	ValidUntil uint32
	Seqno      uint32
	Actions    *W5Actions         `tlb:"maybe^"`
	Extended   *W5ExtendedActions `tlb:"maybe"`
	Signature  tlb.Bits512
}

type WalletSignedV3ExtInMsgBody added in v1.5.0

type WalletSignedV3ExtInMsgBody struct {
	Signature   tlb.Bits512
	SubwalletId uint32
	ValidUntil  uint32
	Seqno       uint32
	Payload     WalletV1ToV4Payload
}

type WalletSignedV4ExtInMsgBody added in v1.5.0

type WalletSignedV4ExtInMsgBody struct {
	Signature   tlb.Bits512
	SubwalletId uint32
	ValidUntil  uint32
	Seqno       uint32
	Op          int8
	Payload     WalletV1ToV4Payload
}

type WalletV1ToV4Payload added in v1.5.0

type WalletV1ToV4Payload []SendMessageAction

func (*WalletV1ToV4Payload) UnmarshalTLB added in v1.5.0

func (p *WalletV1ToV4Payload) UnmarshalTLB(c *boc.Cell, decoder *tlb.Decoder) error

type WhalesNominatorsAcceptStakeMsgBody added in v1.1.2

type WhalesNominatorsAcceptStakeMsgBody struct {
	QueryId uint64
	Members tlb.Any
}

type WhalesNominatorsAcceptWithdrawsMsgBody added in v1.1.2

type WhalesNominatorsAcceptWithdrawsMsgBody struct {
	QueryId uint64
	Members tlb.Any
}

type WhalesNominatorsDepositMsgBody added in v1.0.4

type WhalesNominatorsDepositMsgBody struct {
	QueryId int64
	Gas     tlb.Grams
}

type WhalesNominatorsForceKickMsgBody added in v1.1.2

type WhalesNominatorsForceKickMsgBody struct {
	QueryId int64
}

type WhalesNominatorsMember added in v1.0.4

type WhalesNominatorsMember struct {
	ProfitPerCoin      tlb.Int128
	Balance            tlb.Grams
	PendingWithdraw    tlb.Grams
	PendingWithdrawAll bool
	PendingDeposit     tlb.Grams
	MemberWithdraw     tlb.Grams
}

type WhalesNominatorsMembersList added in v1.0.4

type WhalesNominatorsMembersList struct {
	List tlb.Hashmap[tlb.Bits256, WhalesNominatorsMember]
}

type WhalesNominatorsSendStakeMsgBody added in v1.1.2

type WhalesNominatorsSendStakeMsgBody struct {
	QueryId         uint64
	GasLimit        tlb.Grams
	Stake           tlb.Grams
	ValidatorPubkey tlb.Bits256
	StakeAt         uint32
	MaxFactor       uint32
	AdnlAddr        tlb.Bits256
	Signature       tlb.Bits512 `tlb:"^"`
}

type WhalesNominatorsStakeWithdrawCompletedMsgBody added in v1.1.2

type WhalesNominatorsStakeWithdrawCompletedMsgBody struct {
	QueryId int64
}

type WhalesNominatorsStakeWithdrawDelayedMsgBody added in v1.1.2

type WhalesNominatorsStakeWithdrawDelayedMsgBody struct {
	QueryId int64
}

type WhalesNominatorsWithdrawMsgBody added in v1.0.4

type WhalesNominatorsWithdrawMsgBody struct {
	QueryId int64
	Gas     tlb.Grams
	Amount  tlb.Grams
}

type WhalesNominatorsWithdrawUnownedMsgBody added in v1.1.2

type WhalesNominatorsWithdrawUnownedMsgBody struct {
	QueryId  uint64
	GasLimit tlb.Grams
}

type WhalesNominatorsWithdrawUnownedResponseMsgBody added in v1.1.2

type WhalesNominatorsWithdrawUnownedResponseMsgBody struct {
	QueryId uint64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL