@sentio/sdk 2.57.11 → 2.57.12-rc.aaa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/ext/token.d.ts.map +1 -1
- package/lib/aptos/ext/token.js +4 -6
- package/lib/aptos/ext/token.js.map +1 -1
- package/lib/chunk-24EEMT46.js +3 -0
- package/lib/chunk-24EEMT46.js.map +1 -0
- package/lib/chunk-2R7O6UGY.js +3 -0
- package/lib/chunk-2R7O6UGY.js.map +1 -0
- package/lib/chunk-4JXRK4YH.js +29 -0
- package/lib/chunk-4JXRK4YH.js.map +1 -0
- package/lib/chunk-7QZC3R57.js +3 -0
- package/lib/chunk-7QZC3R57.js.map +1 -0
- package/lib/chunk-AK5E6DKD.js +6 -0
- package/lib/chunk-AK5E6DKD.js.map +1 -0
- package/lib/chunk-ATZBHPQN.js +3 -0
- package/lib/chunk-ATZBHPQN.js.map +1 -0
- package/lib/chunk-B6U7F4GY.js +29 -0
- package/lib/chunk-B6U7F4GY.js.map +1 -0
- package/lib/chunk-DGKULIPW.js +3 -0
- package/lib/chunk-DGKULIPW.js.map +1 -0
- package/lib/chunk-DS2LOABN.js +3 -0
- package/lib/chunk-DS2LOABN.js.map +1 -0
- package/lib/chunk-FMBGZMT4.js +6 -0
- package/lib/chunk-FMBGZMT4.js.map +1 -0
- package/lib/chunk-FMZDKD72.js +8 -0
- package/lib/chunk-FMZDKD72.js.map +1 -0
- package/lib/chunk-G5BIPHMS.js +3 -0
- package/lib/chunk-G5BIPHMS.js.map +1 -0
- package/lib/chunk-G6XPDWDE.js +3 -0
- package/lib/chunk-G6XPDWDE.js.map +1 -0
- package/lib/chunk-GJX3DL4J.js +499 -0
- package/lib/chunk-GJX3DL4J.js.map +1 -0
- package/lib/chunk-GTITFWMU.js +259 -0
- package/lib/chunk-GTITFWMU.js.map +1 -0
- package/lib/chunk-J7Z2TKQE.js +33 -0
- package/lib/chunk-J7Z2TKQE.js.map +1 -0
- package/lib/chunk-JQ4LTUIX.js +995 -0
- package/lib/chunk-JQ4LTUIX.js.map +1 -0
- package/lib/chunk-LG2TF5WR.js +8 -0
- package/lib/chunk-LG2TF5WR.js.map +1 -0
- package/lib/chunk-LVWOFGF2.js +3 -0
- package/lib/chunk-LVWOFGF2.js.map +1 -0
- package/lib/chunk-O564J2U6.js +11 -0
- package/lib/chunk-O564J2U6.js.map +1 -0
- package/lib/chunk-QGIFUSFI.js +84 -0
- package/lib/chunk-QGIFUSFI.js.map +1 -0
- package/lib/chunk-QGPJOTWP.js +3 -0
- package/lib/chunk-QGPJOTWP.js.map +1 -0
- package/lib/chunk-RA75ESSD.js +3 -0
- package/lib/chunk-RA75ESSD.js.map +1 -0
- package/lib/chunk-RVAYZJ7X.js +5 -0
- package/lib/chunk-RVAYZJ7X.js.map +1 -0
- package/lib/chunk-SPY3PKUB.js +3 -0
- package/lib/chunk-SPY3PKUB.js.map +1 -0
- package/lib/chunk-SUCYR7EB.js +3 -0
- package/lib/chunk-SUCYR7EB.js.map +1 -0
- package/lib/chunk-TGIXVAHB.js +7 -0
- package/lib/chunk-TGIXVAHB.js.map +1 -0
- package/lib/chunk-TSEQGMTN.js +5 -0
- package/lib/chunk-TSEQGMTN.js.map +1 -0
- package/lib/chunk-ZHI6ULD5.js +3 -0
- package/lib/chunk-ZHI6ULD5.js.map +1 -0
- package/lib/multipart-parser-J6QPYJHT.js +4 -0
- package/lib/multipart-parser-J6QPYJHT.js.map +1 -0
- package/package.json +4 -4
- package/src/aptos/builtin/0x1.d.ts +6451 -0
- package/src/aptos/builtin/0x1.d.ts.map +1 -0
- package/src/aptos/builtin/0x1.js +7138 -0
- package/src/aptos/builtin/0x1.js.map +1 -0
- package/src/aptos/builtin/0x3.d.ts +1122 -0
- package/src/aptos/builtin/0x3.d.ts.map +1 -0
- package/src/aptos/builtin/0x3.js +937 -0
- package/src/aptos/builtin/0x3.js.map +1 -0
- package/src/aptos/builtin/0x4.d.ts +551 -0
- package/src/aptos/builtin/0x4.d.ts.map +1 -0
- package/src/aptos/builtin/0x4.js +529 -0
- package/src/aptos/builtin/0x4.js.map +1 -0
- package/src/aptos/builtin/index.d.ts +4 -0
- package/src/aptos/builtin/index.d.ts.map +1 -0
- package/src/aptos/builtin/index.js +7 -0
- package/src/aptos/builtin/index.js.map +1 -0
- package/src/aptos/ext/token.ts +4 -6
- package/src/eth/builtin/eacaggregatorproxy.d.ts +5 -0
- package/src/eth/builtin/eacaggregatorproxy.d.ts.map +1 -0
- package/src/eth/builtin/eacaggregatorproxy.js +8 -0
- package/src/eth/builtin/eacaggregatorproxy.js.map +1 -0
- package/src/eth/builtin/erc1155.d.ts +5 -0
- package/src/eth/builtin/erc1155.d.ts.map +1 -0
- package/src/eth/builtin/erc1155.js +8 -0
- package/src/eth/builtin/erc1155.js.map +1 -0
- package/src/eth/builtin/erc20.d.ts +5 -0
- package/src/eth/builtin/erc20.d.ts.map +1 -0
- package/src/eth/builtin/erc20.js +8 -0
- package/src/eth/builtin/erc20.js.map +1 -0
- package/src/eth/builtin/erc20bytes.d.ts +5 -0
- package/src/eth/builtin/erc20bytes.d.ts.map +1 -0
- package/src/eth/builtin/erc20bytes.js +8 -0
- package/src/eth/builtin/erc20bytes.js.map +1 -0
- package/src/eth/builtin/erc721.d.ts +5 -0
- package/src/eth/builtin/erc721.d.ts.map +1 -0
- package/src/eth/builtin/erc721.js +8 -0
- package/src/eth/builtin/erc721.js.map +1 -0
- package/src/eth/builtin/index.d.ts +13 -0
- package/src/eth/builtin/index.d.ts.map +1 -0
- package/src/eth/builtin/index.js +16 -0
- package/src/eth/builtin/index.js.map +1 -0
- package/src/eth/builtin/internal/EACAggregatorProxy.d.ts +50 -0
- package/src/eth/builtin/internal/EACAggregatorProxy.d.ts.map +1 -0
- package/src/eth/builtin/internal/EACAggregatorProxy.js +2 -0
- package/src/eth/builtin/internal/EACAggregatorProxy.js.map +1 -0
- package/src/eth/builtin/internal/ERC1155.d.ts +57 -0
- package/src/eth/builtin/internal/ERC1155.d.ts.map +1 -0
- package/src/eth/builtin/internal/ERC1155.js +2 -0
- package/src/eth/builtin/internal/ERC1155.js.map +1 -0
- package/src/eth/builtin/internal/ERC20.d.ts +41 -0
- package/src/eth/builtin/internal/ERC20.d.ts.map +1 -0
- package/src/eth/builtin/internal/ERC20.js +2 -0
- package/src/eth/builtin/internal/ERC20.js.map +1 -0
- package/src/eth/builtin/internal/ERC20Bytes.d.ts +32 -0
- package/src/eth/builtin/internal/ERC20Bytes.d.ts.map +1 -0
- package/src/eth/builtin/internal/ERC20Bytes.js +2 -0
- package/src/eth/builtin/internal/ERC20Bytes.js.map +1 -0
- package/src/eth/builtin/internal/ERC721.d.ts +43 -0
- package/src/eth/builtin/internal/ERC721.d.ts.map +1 -0
- package/src/eth/builtin/internal/ERC721.js +2 -0
- package/src/eth/builtin/internal/ERC721.js.map +1 -0
- package/src/eth/builtin/internal/WETH9.d.ts +47 -0
- package/src/eth/builtin/internal/WETH9.d.ts.map +1 -0
- package/src/eth/builtin/internal/WETH9.js +2 -0
- package/src/eth/builtin/internal/WETH9.js.map +1 -0
- package/src/eth/builtin/internal/common.d.ts +3 -0
- package/src/eth/builtin/internal/common.d.ts.map +1 -0
- package/src/eth/builtin/internal/common.js +8 -0
- package/src/eth/builtin/internal/common.js.map +1 -0
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +373 -0
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -0
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.js +1355 -0
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -0
- package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.d.ts +7 -0
- package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.d.ts.map +1 -0
- package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.js +55 -0
- package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.js.map +1 -0
- package/src/eth/builtin/internal/erc1155-processor.d.ts +173 -0
- package/src/eth/builtin/internal/erc1155-processor.d.ts.map +1 -0
- package/src/eth/builtin/internal/erc1155-processor.js +596 -0
- package/src/eth/builtin/internal/erc1155-processor.js.map +1 -0
- package/src/eth/builtin/internal/erc1155-test-utils.d.ts +7 -0
- package/src/eth/builtin/internal/erc1155-test-utils.d.ts.map +1 -0
- package/src/eth/builtin/internal/erc1155-test-utils.js +55 -0
- package/src/eth/builtin/internal/erc1155-test-utils.js.map +1 -0
- package/src/eth/builtin/internal/erc20-processor.d.ts +244 -0
- package/src/eth/builtin/internal/erc20-processor.d.ts.map +1 -0
- package/src/eth/builtin/internal/erc20-processor.js +1109 -0
- package/src/eth/builtin/internal/erc20-processor.js.map +1 -0
- package/src/eth/builtin/internal/erc20-test-utils.d.ts +6 -0
- package/src/eth/builtin/internal/erc20-test-utils.d.ts.map +1 -0
- package/src/eth/builtin/internal/erc20-test-utils.js +44 -0
- package/src/eth/builtin/internal/erc20-test-utils.js.map +1 -0
- package/src/eth/builtin/internal/erc20bytes-processor.d.ts +144 -0
- package/src/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -0
- package/src/eth/builtin/internal/erc20bytes-processor.js +594 -0
- package/src/eth/builtin/internal/erc20bytes-processor.js.map +1 -0
- package/src/eth/builtin/internal/erc20bytes-test-utils.d.ts +5 -0
- package/src/eth/builtin/internal/erc20bytes-test-utils.d.ts.map +1 -0
- package/src/eth/builtin/internal/erc20bytes-test-utils.js +33 -0
- package/src/eth/builtin/internal/erc20bytes-test-utils.js.map +1 -0
- package/src/eth/builtin/internal/erc721-processor.d.ts +215 -0
- package/src/eth/builtin/internal/erc721-processor.d.ts.map +1 -0
- package/src/eth/builtin/internal/erc721-processor.js +895 -0
- package/src/eth/builtin/internal/erc721-processor.js.map +1 -0
- package/src/eth/builtin/internal/erc721-test-utils.d.ts +6 -0
- package/src/eth/builtin/internal/erc721-test-utils.d.ts.map +1 -0
- package/src/eth/builtin/internal/erc721-test-utils.js +44 -0
- package/src/eth/builtin/internal/erc721-test-utils.js.map +1 -0
- package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.d.ts +400 -0
- package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.d.ts.map +1 -0
- package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.js +524 -0
- package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.js.map +1 -0
- package/src/eth/builtin/internal/factories/ERC1155__factory.d.ts +251 -0
- package/src/eth/builtin/internal/factories/ERC1155__factory.d.ts.map +1 -0
- package/src/eth/builtin/internal/factories/ERC1155__factory.js +329 -0
- package/src/eth/builtin/internal/factories/ERC1155__factory.js.map +1 -0
- package/src/eth/builtin/internal/factories/ERC20Bytes__factory.d.ts +185 -0
- package/src/eth/builtin/internal/factories/ERC20Bytes__factory.d.ts.map +1 -0
- package/src/eth/builtin/internal/factories/ERC20Bytes__factory.js +251 -0
- package/src/eth/builtin/internal/factories/ERC20Bytes__factory.js.map +1 -0
- package/src/eth/builtin/internal/factories/ERC20__factory.d.ts +303 -0
- package/src/eth/builtin/internal/factories/ERC20__factory.d.ts.map +1 -0
- package/src/eth/builtin/internal/factories/ERC20__factory.js +401 -0
- package/src/eth/builtin/internal/factories/ERC20__factory.js.map +1 -0
- package/src/eth/builtin/internal/factories/ERC721__factory.d.ts +273 -0
- package/src/eth/builtin/internal/factories/ERC721__factory.d.ts.map +1 -0
- package/src/eth/builtin/internal/factories/ERC721__factory.js +361 -0
- package/src/eth/builtin/internal/factories/ERC721__factory.js.map +1 -0
- package/src/eth/builtin/internal/factories/WETH9__factory.d.ts +220 -0
- package/src/eth/builtin/internal/factories/WETH9__factory.d.ts.map +1 -0
- package/src/eth/builtin/internal/factories/WETH9__factory.js +294 -0
- package/src/eth/builtin/internal/factories/WETH9__factory.js.map +1 -0
- package/src/eth/builtin/internal/factories/index.d.ts +7 -0
- package/src/eth/builtin/internal/factories/index.d.ts.map +1 -0
- package/src/eth/builtin/internal/factories/index.js +10 -0
- package/src/eth/builtin/internal/factories/index.js.map +1 -0
- package/src/eth/builtin/internal/index.d.ts +14 -0
- package/src/eth/builtin/internal/index.d.ts.map +1 -0
- package/src/eth/builtin/internal/index.js +8 -0
- package/src/eth/builtin/internal/index.js.map +1 -0
- package/src/eth/builtin/internal/weth9-processor.d.ts +172 -0
- package/src/eth/builtin/internal/weth9-processor.d.ts.map +1 -0
- package/src/eth/builtin/internal/weth9-processor.js +729 -0
- package/src/eth/builtin/internal/weth9-processor.js.map +1 -0
- package/src/eth/builtin/internal/weth9-test-utils.d.ts +7 -0
- package/src/eth/builtin/internal/weth9-test-utils.d.ts.map +1 -0
- package/src/eth/builtin/internal/weth9-test-utils.js +55 -0
- package/src/eth/builtin/internal/weth9-test-utils.js.map +1 -0
- package/src/eth/builtin/weth9.d.ts +5 -0
- package/src/eth/builtin/weth9.d.ts.map +1 -0
- package/src/eth/builtin/weth9.js +8 -0
- package/src/eth/builtin/weth9.js.map +1 -0
- package/src/solana/builtin/index.d.ts +2 -0
- package/src/solana/builtin/index.d.ts.map +1 -0
- package/src/solana/builtin/index.js +2 -0
- package/src/solana/builtin/index.js.map +1 -0
- package/src/solana/builtin/spl-token-processor.d.ts +40 -0
- package/src/solana/builtin/spl-token-processor.d.ts.map +1 -0
- package/src/solana/builtin/spl-token-processor.js +254 -0
- package/src/solana/builtin/spl-token-processor.js.map +1 -0
- package/src/solana/builtin/types.d.ts +428 -0
- package/src/solana/builtin/types.d.ts.map +1 -0
- package/src/solana/builtin/types.js +201 -0
- package/src/solana/builtin/types.js.map +1 -0
- package/src/sui/builtin/0x1.d.ts +114 -0
- package/src/sui/builtin/0x1.d.ts.map +1 -0
- package/src/sui/builtin/0x1.js +159 -0
- package/src/sui/builtin/0x1.js.map +1 -0
- package/src/sui/builtin/0x2.d.ts +1250 -0
- package/src/sui/builtin/0x2.d.ts.map +1 -0
- package/src/sui/builtin/0x2.js +1511 -0
- package/src/sui/builtin/0x2.js.map +1 -0
- package/src/sui/builtin/0x3.d.ts +774 -0
- package/src/sui/builtin/0x3.d.ts.map +1 -0
- package/src/sui/builtin/0x3.js +720 -0
- package/src/sui/builtin/0x3.js.map +1 -0
- package/src/sui/builtin/index.d.ts +4 -0
- package/src/sui/builtin/index.d.ts.map +1 -0
- package/src/sui/builtin/index.js +7 -0
- package/src/sui/builtin/index.js.map +1 -0
@@ -0,0 +1,1122 @@
|
|
1
|
+
import { TypeDescriptor } from "@typemove/move";
|
2
|
+
import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
3
|
+
import { CallFilter, MoveFetchConfig } from "@sentio/sdk/move";
|
4
|
+
import { AptosBindOptions, AptosBaseProcessor, TypedFunctionPayload, AptosContext } from "@sentio/sdk/aptos";
|
5
|
+
import { MoveAddressType } from "@aptos-labs/ts-sdk";
|
6
|
+
import * as _0x1 from "./0x1.js";
|
7
|
+
export declare class token extends AptosBaseProcessor {
|
8
|
+
constructor(options: AptosBindOptions);
|
9
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
10
|
+
static bind(options?: Partial<AptosBindOptions>): token;
|
11
|
+
onEntryBurn(func: (call: token.BurnPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
12
|
+
onEntryBurnByCreator(func: (call: token.BurnByCreatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
13
|
+
onEntryCreateCollectionScript(func: (call: token.CreateCollectionScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
14
|
+
onEntryCreateTokenScript(func: (call: token.CreateTokenScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
15
|
+
onEntryDirectTransferScript(func: (call: token.DirectTransferScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
16
|
+
onEntryInitializeTokenScript(func: (call: token.InitializeTokenScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
17
|
+
onEntryMintScript(func: (call: token.MintScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
18
|
+
onEntryMutateTokenProperties(func: (call: token.MutateTokenPropertiesPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
19
|
+
onEntryOptInDirectTransfer(func: (call: token.OptInDirectTransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
20
|
+
onEntryTransferWithOptIn(func: (call: token.TransferWithOptInPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token;
|
21
|
+
onEventBurnToken(func: (event: token.BurnTokenInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
22
|
+
onEventBurnTokenEvent(func: (event: token.BurnTokenEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
23
|
+
onEventCollectionMutabilityConfig(func: (event: token.CollectionMutabilityConfigInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
24
|
+
onEventCreateCollection(func: (event: token.CreateCollectionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
25
|
+
onEventCreateCollectionEvent(func: (event: token.CreateCollectionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
26
|
+
onEventCreateTokenData(func: (event: token.CreateTokenDataInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
27
|
+
onEventCreateTokenDataEvent(func: (event: token.CreateTokenDataEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
28
|
+
onEventDeposit(func: (event: token.DepositInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
29
|
+
onEventDepositEvent(func: (event: token.DepositEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
30
|
+
onEventMintToken(func: (event: token.MintTokenInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
31
|
+
onEventMintTokenEvent(func: (event: token.MintTokenEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
32
|
+
onEventMutateTokenPropertyMap(func: (event: token.MutateTokenPropertyMapInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
33
|
+
onEventMutateTokenPropertyMapEvent(func: (event: token.MutateTokenPropertyMapEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
34
|
+
onEventRoyalty(func: (event: token.RoyaltyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
35
|
+
onEventTokenDataId(func: (event: token.TokenDataIdInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
36
|
+
onEventTokenId(func: (event: token.TokenIdInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
37
|
+
onEventTokenMutabilityConfig(func: (event: token.TokenMutabilityConfigInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
38
|
+
onEventWithdraw(func: (event: token.WithdrawInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
39
|
+
onEventWithdrawCapability(func: (event: token.WithdrawCapabilityInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
40
|
+
onEventWithdrawEvent(func: (event: token.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token;
|
41
|
+
}
|
42
|
+
export declare namespace token {
|
43
|
+
interface BurnToken {
|
44
|
+
id: token.TokenId;
|
45
|
+
amount: bigint;
|
46
|
+
}
|
47
|
+
namespace BurnToken {
|
48
|
+
const TYPE_QNAME = "0x3::token::BurnToken";
|
49
|
+
function type(): TypeDescriptor<BurnToken>;
|
50
|
+
}
|
51
|
+
interface BurnTokenInstance extends TypedEventInstance<BurnToken> {
|
52
|
+
data_decoded: BurnToken;
|
53
|
+
type_arguments: [];
|
54
|
+
}
|
55
|
+
interface BurnTokenEvent {
|
56
|
+
id: token.TokenId;
|
57
|
+
amount: bigint;
|
58
|
+
}
|
59
|
+
namespace BurnTokenEvent {
|
60
|
+
const TYPE_QNAME = "0x3::token::BurnTokenEvent";
|
61
|
+
function type(): TypeDescriptor<BurnTokenEvent>;
|
62
|
+
}
|
63
|
+
interface BurnTokenEventInstance extends TypedEventInstance<BurnTokenEvent> {
|
64
|
+
data_decoded: BurnTokenEvent;
|
65
|
+
type_arguments: [];
|
66
|
+
}
|
67
|
+
interface CollectionData {
|
68
|
+
description: string;
|
69
|
+
name: string;
|
70
|
+
uri: string;
|
71
|
+
supply: bigint;
|
72
|
+
maximum: bigint;
|
73
|
+
mutability_config: token.CollectionMutabilityConfig;
|
74
|
+
}
|
75
|
+
namespace CollectionData {
|
76
|
+
const TYPE_QNAME = "0x3::token::CollectionData";
|
77
|
+
function type(): TypeDescriptor<CollectionData>;
|
78
|
+
}
|
79
|
+
interface CollectionMutabilityConfig {
|
80
|
+
description: Boolean;
|
81
|
+
uri: Boolean;
|
82
|
+
maximum: Boolean;
|
83
|
+
}
|
84
|
+
namespace CollectionMutabilityConfig {
|
85
|
+
const TYPE_QNAME = "0x3::token::CollectionMutabilityConfig";
|
86
|
+
function type(): TypeDescriptor<CollectionMutabilityConfig>;
|
87
|
+
}
|
88
|
+
interface CollectionMutabilityConfigInstance extends TypedEventInstance<CollectionMutabilityConfig> {
|
89
|
+
data_decoded: CollectionMutabilityConfig;
|
90
|
+
type_arguments: [];
|
91
|
+
}
|
92
|
+
interface Collections {
|
93
|
+
collection_data: _0x1.table.Table<string, token.CollectionData>;
|
94
|
+
token_data: _0x1.table.Table<token.TokenDataId, token.TokenData>;
|
95
|
+
create_collection_events: _0x1.event.EventHandle<token.CreateCollectionEvent>;
|
96
|
+
create_token_data_events: _0x1.event.EventHandle<token.CreateTokenDataEvent>;
|
97
|
+
mint_token_events: _0x1.event.EventHandle<token.MintTokenEvent>;
|
98
|
+
}
|
99
|
+
namespace Collections {
|
100
|
+
const TYPE_QNAME = "0x3::token::Collections";
|
101
|
+
function type(): TypeDescriptor<Collections>;
|
102
|
+
}
|
103
|
+
interface CreateCollection {
|
104
|
+
creator: MoveAddressType;
|
105
|
+
collection_name: string;
|
106
|
+
uri: string;
|
107
|
+
description: string;
|
108
|
+
maximum: bigint;
|
109
|
+
}
|
110
|
+
namespace CreateCollection {
|
111
|
+
const TYPE_QNAME = "0x3::token::CreateCollection";
|
112
|
+
function type(): TypeDescriptor<CreateCollection>;
|
113
|
+
}
|
114
|
+
interface CreateCollectionInstance extends TypedEventInstance<CreateCollection> {
|
115
|
+
data_decoded: CreateCollection;
|
116
|
+
type_arguments: [];
|
117
|
+
}
|
118
|
+
interface CreateCollectionEvent {
|
119
|
+
creator: MoveAddressType;
|
120
|
+
collection_name: string;
|
121
|
+
uri: string;
|
122
|
+
description: string;
|
123
|
+
maximum: bigint;
|
124
|
+
}
|
125
|
+
namespace CreateCollectionEvent {
|
126
|
+
const TYPE_QNAME = "0x3::token::CreateCollectionEvent";
|
127
|
+
function type(): TypeDescriptor<CreateCollectionEvent>;
|
128
|
+
}
|
129
|
+
interface CreateCollectionEventInstance extends TypedEventInstance<CreateCollectionEvent> {
|
130
|
+
data_decoded: CreateCollectionEvent;
|
131
|
+
type_arguments: [];
|
132
|
+
}
|
133
|
+
interface CreateTokenData {
|
134
|
+
id: token.TokenDataId;
|
135
|
+
description: string;
|
136
|
+
maximum: bigint;
|
137
|
+
uri: string;
|
138
|
+
royalty_payee_address: MoveAddressType;
|
139
|
+
royalty_points_denominator: bigint;
|
140
|
+
royalty_points_numerator: bigint;
|
141
|
+
name: string;
|
142
|
+
mutability_config: token.TokenMutabilityConfig;
|
143
|
+
property_keys: string[];
|
144
|
+
property_values: string[];
|
145
|
+
property_types: string[];
|
146
|
+
}
|
147
|
+
namespace CreateTokenData {
|
148
|
+
const TYPE_QNAME = "0x3::token::CreateTokenData";
|
149
|
+
function type(): TypeDescriptor<CreateTokenData>;
|
150
|
+
}
|
151
|
+
interface CreateTokenDataInstance extends TypedEventInstance<CreateTokenData> {
|
152
|
+
data_decoded: CreateTokenData;
|
153
|
+
type_arguments: [];
|
154
|
+
}
|
155
|
+
interface CreateTokenDataEvent {
|
156
|
+
id: token.TokenDataId;
|
157
|
+
description: string;
|
158
|
+
maximum: bigint;
|
159
|
+
uri: string;
|
160
|
+
royalty_payee_address: MoveAddressType;
|
161
|
+
royalty_points_denominator: bigint;
|
162
|
+
royalty_points_numerator: bigint;
|
163
|
+
name: string;
|
164
|
+
mutability_config: token.TokenMutabilityConfig;
|
165
|
+
property_keys: string[];
|
166
|
+
property_values: string[];
|
167
|
+
property_types: string[];
|
168
|
+
}
|
169
|
+
namespace CreateTokenDataEvent {
|
170
|
+
const TYPE_QNAME = "0x3::token::CreateTokenDataEvent";
|
171
|
+
function type(): TypeDescriptor<CreateTokenDataEvent>;
|
172
|
+
}
|
173
|
+
interface CreateTokenDataEventInstance extends TypedEventInstance<CreateTokenDataEvent> {
|
174
|
+
data_decoded: CreateTokenDataEvent;
|
175
|
+
type_arguments: [];
|
176
|
+
}
|
177
|
+
interface Deposit {
|
178
|
+
id: token.TokenId;
|
179
|
+
amount: bigint;
|
180
|
+
}
|
181
|
+
namespace Deposit {
|
182
|
+
const TYPE_QNAME = "0x3::token::Deposit";
|
183
|
+
function type(): TypeDescriptor<Deposit>;
|
184
|
+
}
|
185
|
+
interface DepositInstance extends TypedEventInstance<Deposit> {
|
186
|
+
data_decoded: Deposit;
|
187
|
+
type_arguments: [];
|
188
|
+
}
|
189
|
+
interface DepositEvent {
|
190
|
+
id: token.TokenId;
|
191
|
+
amount: bigint;
|
192
|
+
}
|
193
|
+
namespace DepositEvent {
|
194
|
+
const TYPE_QNAME = "0x3::token::DepositEvent";
|
195
|
+
function type(): TypeDescriptor<DepositEvent>;
|
196
|
+
}
|
197
|
+
interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
|
198
|
+
data_decoded: DepositEvent;
|
199
|
+
type_arguments: [];
|
200
|
+
}
|
201
|
+
interface MintToken {
|
202
|
+
id: token.TokenDataId;
|
203
|
+
amount: bigint;
|
204
|
+
}
|
205
|
+
namespace MintToken {
|
206
|
+
const TYPE_QNAME = "0x3::token::MintToken";
|
207
|
+
function type(): TypeDescriptor<MintToken>;
|
208
|
+
}
|
209
|
+
interface MintTokenInstance extends TypedEventInstance<MintToken> {
|
210
|
+
data_decoded: MintToken;
|
211
|
+
type_arguments: [];
|
212
|
+
}
|
213
|
+
interface MintTokenEvent {
|
214
|
+
id: token.TokenDataId;
|
215
|
+
amount: bigint;
|
216
|
+
}
|
217
|
+
namespace MintTokenEvent {
|
218
|
+
const TYPE_QNAME = "0x3::token::MintTokenEvent";
|
219
|
+
function type(): TypeDescriptor<MintTokenEvent>;
|
220
|
+
}
|
221
|
+
interface MintTokenEventInstance extends TypedEventInstance<MintTokenEvent> {
|
222
|
+
data_decoded: MintTokenEvent;
|
223
|
+
type_arguments: [];
|
224
|
+
}
|
225
|
+
interface MutateTokenPropertyMap {
|
226
|
+
old_id: token.TokenId;
|
227
|
+
new_id: token.TokenId;
|
228
|
+
keys: string[];
|
229
|
+
values: string[];
|
230
|
+
types: string[];
|
231
|
+
}
|
232
|
+
namespace MutateTokenPropertyMap {
|
233
|
+
const TYPE_QNAME = "0x3::token::MutateTokenPropertyMap";
|
234
|
+
function type(): TypeDescriptor<MutateTokenPropertyMap>;
|
235
|
+
}
|
236
|
+
interface MutateTokenPropertyMapInstance extends TypedEventInstance<MutateTokenPropertyMap> {
|
237
|
+
data_decoded: MutateTokenPropertyMap;
|
238
|
+
type_arguments: [];
|
239
|
+
}
|
240
|
+
interface MutateTokenPropertyMapEvent {
|
241
|
+
old_id: token.TokenId;
|
242
|
+
new_id: token.TokenId;
|
243
|
+
keys: string[];
|
244
|
+
values: string[];
|
245
|
+
types: string[];
|
246
|
+
}
|
247
|
+
namespace MutateTokenPropertyMapEvent {
|
248
|
+
const TYPE_QNAME = "0x3::token::MutateTokenPropertyMapEvent";
|
249
|
+
function type(): TypeDescriptor<MutateTokenPropertyMapEvent>;
|
250
|
+
}
|
251
|
+
interface MutateTokenPropertyMapEventInstance extends TypedEventInstance<MutateTokenPropertyMapEvent> {
|
252
|
+
data_decoded: MutateTokenPropertyMapEvent;
|
253
|
+
type_arguments: [];
|
254
|
+
}
|
255
|
+
interface Royalty {
|
256
|
+
royalty_points_numerator: bigint;
|
257
|
+
royalty_points_denominator: bigint;
|
258
|
+
payee_address: MoveAddressType;
|
259
|
+
}
|
260
|
+
namespace Royalty {
|
261
|
+
const TYPE_QNAME = "0x3::token::Royalty";
|
262
|
+
function type(): TypeDescriptor<Royalty>;
|
263
|
+
}
|
264
|
+
interface RoyaltyInstance extends TypedEventInstance<Royalty> {
|
265
|
+
data_decoded: Royalty;
|
266
|
+
type_arguments: [];
|
267
|
+
}
|
268
|
+
interface Token {
|
269
|
+
id: token.TokenId;
|
270
|
+
amount: bigint;
|
271
|
+
token_properties: property_map.PropertyMap;
|
272
|
+
}
|
273
|
+
namespace Token {
|
274
|
+
const TYPE_QNAME = "0x3::token::Token";
|
275
|
+
function type(): TypeDescriptor<Token>;
|
276
|
+
}
|
277
|
+
interface TokenData {
|
278
|
+
maximum: bigint;
|
279
|
+
largest_property_version: bigint;
|
280
|
+
supply: bigint;
|
281
|
+
uri: string;
|
282
|
+
royalty: token.Royalty;
|
283
|
+
name: string;
|
284
|
+
description: string;
|
285
|
+
default_properties: property_map.PropertyMap;
|
286
|
+
mutability_config: token.TokenMutabilityConfig;
|
287
|
+
}
|
288
|
+
namespace TokenData {
|
289
|
+
const TYPE_QNAME = "0x3::token::TokenData";
|
290
|
+
function type(): TypeDescriptor<TokenData>;
|
291
|
+
}
|
292
|
+
interface TokenDataId {
|
293
|
+
creator: MoveAddressType;
|
294
|
+
collection: string;
|
295
|
+
name: string;
|
296
|
+
}
|
297
|
+
namespace TokenDataId {
|
298
|
+
const TYPE_QNAME = "0x3::token::TokenDataId";
|
299
|
+
function type(): TypeDescriptor<TokenDataId>;
|
300
|
+
}
|
301
|
+
interface TokenDataIdInstance extends TypedEventInstance<TokenDataId> {
|
302
|
+
data_decoded: TokenDataId;
|
303
|
+
type_arguments: [];
|
304
|
+
}
|
305
|
+
interface TokenId {
|
306
|
+
token_data_id: token.TokenDataId;
|
307
|
+
property_version: bigint;
|
308
|
+
}
|
309
|
+
namespace TokenId {
|
310
|
+
const TYPE_QNAME = "0x3::token::TokenId";
|
311
|
+
function type(): TypeDescriptor<TokenId>;
|
312
|
+
}
|
313
|
+
interface TokenIdInstance extends TypedEventInstance<TokenId> {
|
314
|
+
data_decoded: TokenId;
|
315
|
+
type_arguments: [];
|
316
|
+
}
|
317
|
+
interface TokenMutabilityConfig {
|
318
|
+
maximum: Boolean;
|
319
|
+
uri: Boolean;
|
320
|
+
royalty: Boolean;
|
321
|
+
description: Boolean;
|
322
|
+
properties: Boolean;
|
323
|
+
}
|
324
|
+
namespace TokenMutabilityConfig {
|
325
|
+
const TYPE_QNAME = "0x3::token::TokenMutabilityConfig";
|
326
|
+
function type(): TypeDescriptor<TokenMutabilityConfig>;
|
327
|
+
}
|
328
|
+
interface TokenMutabilityConfigInstance extends TypedEventInstance<TokenMutabilityConfig> {
|
329
|
+
data_decoded: TokenMutabilityConfig;
|
330
|
+
type_arguments: [];
|
331
|
+
}
|
332
|
+
interface TokenStore {
|
333
|
+
tokens: _0x1.table.Table<token.TokenId, token.Token>;
|
334
|
+
direct_transfer: Boolean;
|
335
|
+
deposit_events: _0x1.event.EventHandle<token.DepositEvent>;
|
336
|
+
withdraw_events: _0x1.event.EventHandle<token.WithdrawEvent>;
|
337
|
+
burn_events: _0x1.event.EventHandle<token.BurnTokenEvent>;
|
338
|
+
mutate_token_property_events: _0x1.event.EventHandle<token.MutateTokenPropertyMapEvent>;
|
339
|
+
}
|
340
|
+
namespace TokenStore {
|
341
|
+
const TYPE_QNAME = "0x3::token::TokenStore";
|
342
|
+
function type(): TypeDescriptor<TokenStore>;
|
343
|
+
}
|
344
|
+
interface Withdraw {
|
345
|
+
id: token.TokenId;
|
346
|
+
amount: bigint;
|
347
|
+
}
|
348
|
+
namespace Withdraw {
|
349
|
+
const TYPE_QNAME = "0x3::token::Withdraw";
|
350
|
+
function type(): TypeDescriptor<Withdraw>;
|
351
|
+
}
|
352
|
+
interface WithdrawInstance extends TypedEventInstance<Withdraw> {
|
353
|
+
data_decoded: Withdraw;
|
354
|
+
type_arguments: [];
|
355
|
+
}
|
356
|
+
interface WithdrawCapability {
|
357
|
+
token_owner: MoveAddressType;
|
358
|
+
token_id: token.TokenId;
|
359
|
+
amount: bigint;
|
360
|
+
expiration_sec: bigint;
|
361
|
+
}
|
362
|
+
namespace WithdrawCapability {
|
363
|
+
const TYPE_QNAME = "0x3::token::WithdrawCapability";
|
364
|
+
function type(): TypeDescriptor<WithdrawCapability>;
|
365
|
+
}
|
366
|
+
interface WithdrawCapabilityInstance extends TypedEventInstance<WithdrawCapability> {
|
367
|
+
data_decoded: WithdrawCapability;
|
368
|
+
type_arguments: [];
|
369
|
+
}
|
370
|
+
interface WithdrawEvent {
|
371
|
+
id: token.TokenId;
|
372
|
+
amount: bigint;
|
373
|
+
}
|
374
|
+
namespace WithdrawEvent {
|
375
|
+
const TYPE_QNAME = "0x3::token::WithdrawEvent";
|
376
|
+
function type(): TypeDescriptor<WithdrawEvent>;
|
377
|
+
}
|
378
|
+
interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
|
379
|
+
data_decoded: WithdrawEvent;
|
380
|
+
type_arguments: [];
|
381
|
+
}
|
382
|
+
interface BurnPayload extends TypedFunctionPayload<[
|
383
|
+
MoveAddressType,
|
384
|
+
string,
|
385
|
+
string,
|
386
|
+
bigint,
|
387
|
+
bigint
|
388
|
+
]> {
|
389
|
+
arguments_decoded: [MoveAddressType, string, string, bigint, bigint];
|
390
|
+
type_arguments: [];
|
391
|
+
}
|
392
|
+
interface BurnByCreatorPayload extends TypedFunctionPayload<[
|
393
|
+
MoveAddressType,
|
394
|
+
string,
|
395
|
+
string,
|
396
|
+
bigint,
|
397
|
+
bigint
|
398
|
+
]> {
|
399
|
+
arguments_decoded: [MoveAddressType, string, string, bigint, bigint];
|
400
|
+
type_arguments: [];
|
401
|
+
}
|
402
|
+
interface CreateCollectionScriptPayload extends TypedFunctionPayload<[string, string, string, bigint, Boolean[]]> {
|
403
|
+
arguments_decoded: [string, string, string, bigint, Boolean[]];
|
404
|
+
type_arguments: [];
|
405
|
+
}
|
406
|
+
interface CreateTokenScriptPayload extends TypedFunctionPayload<[
|
407
|
+
string,
|
408
|
+
string,
|
409
|
+
string,
|
410
|
+
bigint,
|
411
|
+
bigint,
|
412
|
+
string,
|
413
|
+
MoveAddressType,
|
414
|
+
bigint,
|
415
|
+
bigint,
|
416
|
+
Boolean[],
|
417
|
+
string[],
|
418
|
+
string[],
|
419
|
+
string[]
|
420
|
+
]> {
|
421
|
+
arguments_decoded: [
|
422
|
+
string,
|
423
|
+
string,
|
424
|
+
string,
|
425
|
+
bigint,
|
426
|
+
bigint,
|
427
|
+
string,
|
428
|
+
MoveAddressType,
|
429
|
+
bigint,
|
430
|
+
bigint,
|
431
|
+
Boolean[],
|
432
|
+
string[],
|
433
|
+
string[],
|
434
|
+
string[]
|
435
|
+
];
|
436
|
+
type_arguments: [];
|
437
|
+
}
|
438
|
+
interface DirectTransferScriptPayload extends TypedFunctionPayload<[
|
439
|
+
MoveAddressType,
|
440
|
+
MoveAddressType,
|
441
|
+
string,
|
442
|
+
string,
|
443
|
+
bigint,
|
444
|
+
bigint
|
445
|
+
]> {
|
446
|
+
arguments_decoded: [
|
447
|
+
MoveAddressType,
|
448
|
+
MoveAddressType,
|
449
|
+
string,
|
450
|
+
string,
|
451
|
+
bigint,
|
452
|
+
bigint
|
453
|
+
];
|
454
|
+
type_arguments: [];
|
455
|
+
}
|
456
|
+
interface InitializeTokenScriptPayload extends TypedFunctionPayload<[]> {
|
457
|
+
arguments_decoded: [];
|
458
|
+
type_arguments: [];
|
459
|
+
}
|
460
|
+
interface MintScriptPayload extends TypedFunctionPayload<[MoveAddressType, string, string, bigint]> {
|
461
|
+
arguments_decoded: [MoveAddressType, string, string, bigint];
|
462
|
+
type_arguments: [];
|
463
|
+
}
|
464
|
+
interface MutateTokenPropertiesPayload extends TypedFunctionPayload<[
|
465
|
+
MoveAddressType,
|
466
|
+
MoveAddressType,
|
467
|
+
string,
|
468
|
+
string,
|
469
|
+
bigint,
|
470
|
+
bigint,
|
471
|
+
string[],
|
472
|
+
string[],
|
473
|
+
string[]
|
474
|
+
]> {
|
475
|
+
arguments_decoded: [
|
476
|
+
MoveAddressType,
|
477
|
+
MoveAddressType,
|
478
|
+
string,
|
479
|
+
string,
|
480
|
+
bigint,
|
481
|
+
bigint,
|
482
|
+
string[],
|
483
|
+
string[],
|
484
|
+
string[]
|
485
|
+
];
|
486
|
+
type_arguments: [];
|
487
|
+
}
|
488
|
+
interface OptInDirectTransferPayload extends TypedFunctionPayload<[Boolean]> {
|
489
|
+
arguments_decoded: [Boolean];
|
490
|
+
type_arguments: [];
|
491
|
+
}
|
492
|
+
interface TransferWithOptInPayload extends TypedFunctionPayload<[
|
493
|
+
MoveAddressType,
|
494
|
+
string,
|
495
|
+
string,
|
496
|
+
bigint,
|
497
|
+
MoveAddressType,
|
498
|
+
bigint
|
499
|
+
]> {
|
500
|
+
arguments_decoded: [
|
501
|
+
MoveAddressType,
|
502
|
+
string,
|
503
|
+
string,
|
504
|
+
bigint,
|
505
|
+
MoveAddressType,
|
506
|
+
bigint
|
507
|
+
];
|
508
|
+
type_arguments: [];
|
509
|
+
}
|
510
|
+
}
|
511
|
+
export declare class property_map extends AptosBaseProcessor {
|
512
|
+
constructor(options: AptosBindOptions);
|
513
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
514
|
+
static bind(options?: Partial<AptosBindOptions>): property_map;
|
515
|
+
onEventPropertyMap(func: (event: property_map.PropertyMapInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): property_map;
|
516
|
+
onEventPropertyValue(func: (event: property_map.PropertyValueInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): property_map;
|
517
|
+
}
|
518
|
+
export declare namespace property_map {
|
519
|
+
interface PropertyMap {
|
520
|
+
map: _0x1.simple_map.SimpleMap<string, property_map.PropertyValue>;
|
521
|
+
}
|
522
|
+
namespace PropertyMap {
|
523
|
+
const TYPE_QNAME = "0x3::property_map::PropertyMap";
|
524
|
+
function type(): TypeDescriptor<PropertyMap>;
|
525
|
+
}
|
526
|
+
interface PropertyMapInstance extends TypedEventInstance<PropertyMap> {
|
527
|
+
data_decoded: PropertyMap;
|
528
|
+
type_arguments: [];
|
529
|
+
}
|
530
|
+
interface PropertyValue {
|
531
|
+
value: string;
|
532
|
+
type: string;
|
533
|
+
}
|
534
|
+
namespace PropertyValue {
|
535
|
+
const TYPE_QNAME = "0x3::property_map::PropertyValue";
|
536
|
+
function type(): TypeDescriptor<PropertyValue>;
|
537
|
+
}
|
538
|
+
interface PropertyValueInstance extends TypedEventInstance<PropertyValue> {
|
539
|
+
data_decoded: PropertyValue;
|
540
|
+
type_arguments: [];
|
541
|
+
}
|
542
|
+
}
|
543
|
+
export declare class token_coin_swap extends AptosBaseProcessor {
|
544
|
+
constructor(options: AptosBindOptions);
|
545
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
546
|
+
static bind(options?: Partial<AptosBindOptions>): token_coin_swap;
|
547
|
+
onEntryListTokenForSwap(func: (call: token_coin_swap.ListTokenForSwapPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token_coin_swap;
|
548
|
+
onEventTokenCoinSwap(func: (event: token_coin_swap.TokenCoinSwapInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_coin_swap;
|
549
|
+
onEventTokenListingEvent(func: (event: token_coin_swap.TokenListingEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_coin_swap;
|
550
|
+
onEventTokenSwapEvent(func: (event: token_coin_swap.TokenSwapEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_coin_swap;
|
551
|
+
}
|
552
|
+
export declare namespace token_coin_swap {
|
553
|
+
interface TokenCoinSwap<T0> {
|
554
|
+
token_amount: bigint;
|
555
|
+
min_price_per_token: bigint;
|
556
|
+
}
|
557
|
+
namespace TokenCoinSwap {
|
558
|
+
const TYPE_QNAME = "0x3::token_coin_swap::TokenCoinSwap";
|
559
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenCoinSwap<T0>>;
|
560
|
+
}
|
561
|
+
interface TokenCoinSwapInstance extends TypedEventInstance<TokenCoinSwap<any>> {
|
562
|
+
data_decoded: TokenCoinSwap<any>;
|
563
|
+
type_arguments: [string];
|
564
|
+
}
|
565
|
+
interface TokenEscrow {
|
566
|
+
token: token.Token;
|
567
|
+
locked_until_secs: bigint;
|
568
|
+
}
|
569
|
+
namespace TokenEscrow {
|
570
|
+
const TYPE_QNAME = "0x3::token_coin_swap::TokenEscrow";
|
571
|
+
function type(): TypeDescriptor<TokenEscrow>;
|
572
|
+
}
|
573
|
+
interface TokenListingEvent {
|
574
|
+
token_id: token.TokenId;
|
575
|
+
amount: bigint;
|
576
|
+
min_price: bigint;
|
577
|
+
locked_until_secs: bigint;
|
578
|
+
coin_type_info: _0x1.type_info.TypeInfo;
|
579
|
+
}
|
580
|
+
namespace TokenListingEvent {
|
581
|
+
const TYPE_QNAME = "0x3::token_coin_swap::TokenListingEvent";
|
582
|
+
function type(): TypeDescriptor<TokenListingEvent>;
|
583
|
+
}
|
584
|
+
interface TokenListingEventInstance extends TypedEventInstance<TokenListingEvent> {
|
585
|
+
data_decoded: TokenListingEvent;
|
586
|
+
type_arguments: [];
|
587
|
+
}
|
588
|
+
interface TokenListings<T0> {
|
589
|
+
listings: _0x1.table.Table<token.TokenId, token_coin_swap.TokenCoinSwap<T0>>;
|
590
|
+
listing_events: _0x1.event.EventHandle<token_coin_swap.TokenListingEvent>;
|
591
|
+
swap_events: _0x1.event.EventHandle<token_coin_swap.TokenSwapEvent>;
|
592
|
+
}
|
593
|
+
namespace TokenListings {
|
594
|
+
const TYPE_QNAME = "0x3::token_coin_swap::TokenListings";
|
595
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenListings<T0>>;
|
596
|
+
}
|
597
|
+
interface TokenStoreEscrow {
|
598
|
+
token_escrows: _0x1.table.Table<token.TokenId, token_coin_swap.TokenEscrow>;
|
599
|
+
}
|
600
|
+
namespace TokenStoreEscrow {
|
601
|
+
const TYPE_QNAME = "0x3::token_coin_swap::TokenStoreEscrow";
|
602
|
+
function type(): TypeDescriptor<TokenStoreEscrow>;
|
603
|
+
}
|
604
|
+
interface TokenSwapEvent {
|
605
|
+
token_id: token.TokenId;
|
606
|
+
token_buyer: MoveAddressType;
|
607
|
+
token_amount: bigint;
|
608
|
+
coin_amount: bigint;
|
609
|
+
coin_type_info: _0x1.type_info.TypeInfo;
|
610
|
+
}
|
611
|
+
namespace TokenSwapEvent {
|
612
|
+
const TYPE_QNAME = "0x3::token_coin_swap::TokenSwapEvent";
|
613
|
+
function type(): TypeDescriptor<TokenSwapEvent>;
|
614
|
+
}
|
615
|
+
interface TokenSwapEventInstance extends TypedEventInstance<TokenSwapEvent> {
|
616
|
+
data_decoded: TokenSwapEvent;
|
617
|
+
type_arguments: [];
|
618
|
+
}
|
619
|
+
interface ListTokenForSwapPayload<T0 = any> extends TypedFunctionPayload<[
|
620
|
+
MoveAddressType,
|
621
|
+
string,
|
622
|
+
string,
|
623
|
+
bigint,
|
624
|
+
bigint,
|
625
|
+
bigint,
|
626
|
+
bigint
|
627
|
+
]> {
|
628
|
+
arguments_decoded: [
|
629
|
+
MoveAddressType,
|
630
|
+
string,
|
631
|
+
string,
|
632
|
+
bigint,
|
633
|
+
bigint,
|
634
|
+
bigint,
|
635
|
+
bigint
|
636
|
+
];
|
637
|
+
type_arguments: [string];
|
638
|
+
}
|
639
|
+
}
|
640
|
+
export declare class token_transfers extends AptosBaseProcessor {
|
641
|
+
constructor(options: AptosBindOptions);
|
642
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
643
|
+
static bind(options?: Partial<AptosBindOptions>): token_transfers;
|
644
|
+
onEntryCancelOfferScript(func: (call: token_transfers.CancelOfferScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
645
|
+
onEntryClaimScript(func: (call: token_transfers.ClaimScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
646
|
+
onEntryOfferScript(func: (call: token_transfers.OfferScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
647
|
+
onEventTokenCancelOffer(func: (event: token_transfers.TokenCancelOfferInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
648
|
+
onEventTokenCancelOfferEvent(func: (event: token_transfers.TokenCancelOfferEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
649
|
+
onEventTokenClaim(func: (event: token_transfers.TokenClaimInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
650
|
+
onEventTokenClaimEvent(func: (event: token_transfers.TokenClaimEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
651
|
+
onEventTokenOffer(func: (event: token_transfers.TokenOfferInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
652
|
+
onEventTokenOfferEvent(func: (event: token_transfers.TokenOfferEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
653
|
+
onEventTokenOfferId(func: (event: token_transfers.TokenOfferIdInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_transfers;
|
654
|
+
}
|
655
|
+
export declare namespace token_transfers {
|
656
|
+
interface PendingClaims {
|
657
|
+
pending_claims: _0x1.table.Table<token_transfers.TokenOfferId, token.Token>;
|
658
|
+
offer_events: _0x1.event.EventHandle<token_transfers.TokenOfferEvent>;
|
659
|
+
cancel_offer_events: _0x1.event.EventHandle<token_transfers.TokenCancelOfferEvent>;
|
660
|
+
claim_events: _0x1.event.EventHandle<token_transfers.TokenClaimEvent>;
|
661
|
+
}
|
662
|
+
namespace PendingClaims {
|
663
|
+
const TYPE_QNAME = "0x3::token_transfers::PendingClaims";
|
664
|
+
function type(): TypeDescriptor<PendingClaims>;
|
665
|
+
}
|
666
|
+
interface TokenCancelOffer {
|
667
|
+
to_address: MoveAddressType;
|
668
|
+
token_id: token.TokenId;
|
669
|
+
amount: bigint;
|
670
|
+
}
|
671
|
+
namespace TokenCancelOffer {
|
672
|
+
const TYPE_QNAME = "0x3::token_transfers::TokenCancelOffer";
|
673
|
+
function type(): TypeDescriptor<TokenCancelOffer>;
|
674
|
+
}
|
675
|
+
interface TokenCancelOfferInstance extends TypedEventInstance<TokenCancelOffer> {
|
676
|
+
data_decoded: TokenCancelOffer;
|
677
|
+
type_arguments: [];
|
678
|
+
}
|
679
|
+
interface TokenCancelOfferEvent {
|
680
|
+
to_address: MoveAddressType;
|
681
|
+
token_id: token.TokenId;
|
682
|
+
amount: bigint;
|
683
|
+
}
|
684
|
+
namespace TokenCancelOfferEvent {
|
685
|
+
const TYPE_QNAME = "0x3::token_transfers::TokenCancelOfferEvent";
|
686
|
+
function type(): TypeDescriptor<TokenCancelOfferEvent>;
|
687
|
+
}
|
688
|
+
interface TokenCancelOfferEventInstance extends TypedEventInstance<TokenCancelOfferEvent> {
|
689
|
+
data_decoded: TokenCancelOfferEvent;
|
690
|
+
type_arguments: [];
|
691
|
+
}
|
692
|
+
interface TokenClaim {
|
693
|
+
to_address: MoveAddressType;
|
694
|
+
token_id: token.TokenId;
|
695
|
+
amount: bigint;
|
696
|
+
}
|
697
|
+
namespace TokenClaim {
|
698
|
+
const TYPE_QNAME = "0x3::token_transfers::TokenClaim";
|
699
|
+
function type(): TypeDescriptor<TokenClaim>;
|
700
|
+
}
|
701
|
+
interface TokenClaimInstance extends TypedEventInstance<TokenClaim> {
|
702
|
+
data_decoded: TokenClaim;
|
703
|
+
type_arguments: [];
|
704
|
+
}
|
705
|
+
interface TokenClaimEvent {
|
706
|
+
to_address: MoveAddressType;
|
707
|
+
token_id: token.TokenId;
|
708
|
+
amount: bigint;
|
709
|
+
}
|
710
|
+
namespace TokenClaimEvent {
|
711
|
+
const TYPE_QNAME = "0x3::token_transfers::TokenClaimEvent";
|
712
|
+
function type(): TypeDescriptor<TokenClaimEvent>;
|
713
|
+
}
|
714
|
+
interface TokenClaimEventInstance extends TypedEventInstance<TokenClaimEvent> {
|
715
|
+
data_decoded: TokenClaimEvent;
|
716
|
+
type_arguments: [];
|
717
|
+
}
|
718
|
+
interface TokenOffer {
|
719
|
+
to_address: MoveAddressType;
|
720
|
+
token_id: token.TokenId;
|
721
|
+
amount: bigint;
|
722
|
+
}
|
723
|
+
namespace TokenOffer {
|
724
|
+
const TYPE_QNAME = "0x3::token_transfers::TokenOffer";
|
725
|
+
function type(): TypeDescriptor<TokenOffer>;
|
726
|
+
}
|
727
|
+
interface TokenOfferInstance extends TypedEventInstance<TokenOffer> {
|
728
|
+
data_decoded: TokenOffer;
|
729
|
+
type_arguments: [];
|
730
|
+
}
|
731
|
+
interface TokenOfferEvent {
|
732
|
+
to_address: MoveAddressType;
|
733
|
+
token_id: token.TokenId;
|
734
|
+
amount: bigint;
|
735
|
+
}
|
736
|
+
namespace TokenOfferEvent {
|
737
|
+
const TYPE_QNAME = "0x3::token_transfers::TokenOfferEvent";
|
738
|
+
function type(): TypeDescriptor<TokenOfferEvent>;
|
739
|
+
}
|
740
|
+
interface TokenOfferEventInstance extends TypedEventInstance<TokenOfferEvent> {
|
741
|
+
data_decoded: TokenOfferEvent;
|
742
|
+
type_arguments: [];
|
743
|
+
}
|
744
|
+
interface TokenOfferId {
|
745
|
+
to_addr: MoveAddressType;
|
746
|
+
token_id: token.TokenId;
|
747
|
+
}
|
748
|
+
namespace TokenOfferId {
|
749
|
+
const TYPE_QNAME = "0x3::token_transfers::TokenOfferId";
|
750
|
+
function type(): TypeDescriptor<TokenOfferId>;
|
751
|
+
}
|
752
|
+
interface TokenOfferIdInstance extends TypedEventInstance<TokenOfferId> {
|
753
|
+
data_decoded: TokenOfferId;
|
754
|
+
type_arguments: [];
|
755
|
+
}
|
756
|
+
interface CancelOfferScriptPayload extends TypedFunctionPayload<[
|
757
|
+
MoveAddressType,
|
758
|
+
MoveAddressType,
|
759
|
+
MoveAddressType,
|
760
|
+
string,
|
761
|
+
string,
|
762
|
+
bigint
|
763
|
+
]> {
|
764
|
+
arguments_decoded: [
|
765
|
+
MoveAddressType,
|
766
|
+
MoveAddressType,
|
767
|
+
MoveAddressType,
|
768
|
+
string,
|
769
|
+
string,
|
770
|
+
bigint
|
771
|
+
];
|
772
|
+
type_arguments: [];
|
773
|
+
}
|
774
|
+
interface ClaimScriptPayload extends TypedFunctionPayload<[
|
775
|
+
MoveAddressType,
|
776
|
+
MoveAddressType,
|
777
|
+
MoveAddressType,
|
778
|
+
string,
|
779
|
+
string,
|
780
|
+
bigint
|
781
|
+
]> {
|
782
|
+
arguments_decoded: [
|
783
|
+
MoveAddressType,
|
784
|
+
MoveAddressType,
|
785
|
+
MoveAddressType,
|
786
|
+
string,
|
787
|
+
string,
|
788
|
+
bigint
|
789
|
+
];
|
790
|
+
type_arguments: [];
|
791
|
+
}
|
792
|
+
interface OfferScriptPayload extends TypedFunctionPayload<[
|
793
|
+
MoveAddressType,
|
794
|
+
MoveAddressType,
|
795
|
+
MoveAddressType,
|
796
|
+
string,
|
797
|
+
string,
|
798
|
+
bigint,
|
799
|
+
bigint
|
800
|
+
]> {
|
801
|
+
arguments_decoded: [
|
802
|
+
MoveAddressType,
|
803
|
+
MoveAddressType,
|
804
|
+
MoveAddressType,
|
805
|
+
string,
|
806
|
+
string,
|
807
|
+
bigint,
|
808
|
+
bigint
|
809
|
+
];
|
810
|
+
type_arguments: [];
|
811
|
+
}
|
812
|
+
}
|
813
|
+
export declare class token_event_store extends AptosBaseProcessor {
|
814
|
+
constructor(options: AptosBindOptions);
|
815
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
816
|
+
static bind(options?: Partial<AptosBindOptions>): token_event_store;
|
817
|
+
onEventCollectionDescriptionMutate(func: (event: token_event_store.CollectionDescriptionMutateInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
818
|
+
onEventCollectionDescriptionMutateEvent(func: (event: token_event_store.CollectionDescriptionMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
819
|
+
onEventCollectionMaxiumMutate(func: (event: token_event_store.CollectionMaxiumMutateInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
820
|
+
onEventCollectionMaxiumMutateEvent(func: (event: token_event_store.CollectionMaxiumMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
821
|
+
onEventCollectionUriMutate(func: (event: token_event_store.CollectionUriMutateInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
822
|
+
onEventCollectionUriMutateEvent(func: (event: token_event_store.CollectionUriMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
823
|
+
onEventDefaultPropertyMutate(func: (event: token_event_store.DefaultPropertyMutateInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
824
|
+
onEventDefaultPropertyMutateEvent(func: (event: token_event_store.DefaultPropertyMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
825
|
+
onEventDescriptionMutate(func: (event: token_event_store.DescriptionMutateInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
826
|
+
onEventDescriptionMutateEvent(func: (event: token_event_store.DescriptionMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
827
|
+
onEventMaximumMutate(func: (event: token_event_store.MaximumMutateInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
828
|
+
onEventMaxiumMutateEvent(func: (event: token_event_store.MaxiumMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
829
|
+
onEventOptInTransfer(func: (event: token_event_store.OptInTransferInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
830
|
+
onEventOptInTransferEvent(func: (event: token_event_store.OptInTransferEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
831
|
+
onEventRoyaltyMutate(func: (event: token_event_store.RoyaltyMutateInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
832
|
+
onEventRoyaltyMutateEvent(func: (event: token_event_store.RoyaltyMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
833
|
+
onEventUriMutation(func: (event: token_event_store.UriMutationInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
834
|
+
onEventUriMutationEvent(func: (event: token_event_store.UriMutationEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): token_event_store;
|
835
|
+
}
|
836
|
+
export declare namespace token_event_store {
|
837
|
+
interface CollectionDescriptionMutate {
|
838
|
+
creator_addr: MoveAddressType;
|
839
|
+
collection_name: string;
|
840
|
+
old_description: string;
|
841
|
+
new_description: string;
|
842
|
+
}
|
843
|
+
namespace CollectionDescriptionMutate {
|
844
|
+
const TYPE_QNAME = "0x3::token_event_store::CollectionDescriptionMutate";
|
845
|
+
function type(): TypeDescriptor<CollectionDescriptionMutate>;
|
846
|
+
}
|
847
|
+
interface CollectionDescriptionMutateInstance extends TypedEventInstance<CollectionDescriptionMutate> {
|
848
|
+
data_decoded: CollectionDescriptionMutate;
|
849
|
+
type_arguments: [];
|
850
|
+
}
|
851
|
+
interface CollectionDescriptionMutateEvent {
|
852
|
+
creator_addr: MoveAddressType;
|
853
|
+
collection_name: string;
|
854
|
+
old_description: string;
|
855
|
+
new_description: string;
|
856
|
+
}
|
857
|
+
namespace CollectionDescriptionMutateEvent {
|
858
|
+
const TYPE_QNAME = "0x3::token_event_store::CollectionDescriptionMutateEvent";
|
859
|
+
function type(): TypeDescriptor<CollectionDescriptionMutateEvent>;
|
860
|
+
}
|
861
|
+
interface CollectionDescriptionMutateEventInstance extends TypedEventInstance<CollectionDescriptionMutateEvent> {
|
862
|
+
data_decoded: CollectionDescriptionMutateEvent;
|
863
|
+
type_arguments: [];
|
864
|
+
}
|
865
|
+
interface CollectionMaxiumMutate {
|
866
|
+
creator_addr: MoveAddressType;
|
867
|
+
collection_name: string;
|
868
|
+
old_maximum: bigint;
|
869
|
+
new_maximum: bigint;
|
870
|
+
}
|
871
|
+
namespace CollectionMaxiumMutate {
|
872
|
+
const TYPE_QNAME = "0x3::token_event_store::CollectionMaxiumMutate";
|
873
|
+
function type(): TypeDescriptor<CollectionMaxiumMutate>;
|
874
|
+
}
|
875
|
+
interface CollectionMaxiumMutateInstance extends TypedEventInstance<CollectionMaxiumMutate> {
|
876
|
+
data_decoded: CollectionMaxiumMutate;
|
877
|
+
type_arguments: [];
|
878
|
+
}
|
879
|
+
interface CollectionMaxiumMutateEvent {
|
880
|
+
creator_addr: MoveAddressType;
|
881
|
+
collection_name: string;
|
882
|
+
old_maximum: bigint;
|
883
|
+
new_maximum: bigint;
|
884
|
+
}
|
885
|
+
namespace CollectionMaxiumMutateEvent {
|
886
|
+
const TYPE_QNAME = "0x3::token_event_store::CollectionMaxiumMutateEvent";
|
887
|
+
function type(): TypeDescriptor<CollectionMaxiumMutateEvent>;
|
888
|
+
}
|
889
|
+
interface CollectionMaxiumMutateEventInstance extends TypedEventInstance<CollectionMaxiumMutateEvent> {
|
890
|
+
data_decoded: CollectionMaxiumMutateEvent;
|
891
|
+
type_arguments: [];
|
892
|
+
}
|
893
|
+
interface CollectionUriMutate {
|
894
|
+
creator_addr: MoveAddressType;
|
895
|
+
collection_name: string;
|
896
|
+
old_uri: string;
|
897
|
+
new_uri: string;
|
898
|
+
}
|
899
|
+
namespace CollectionUriMutate {
|
900
|
+
const TYPE_QNAME = "0x3::token_event_store::CollectionUriMutate";
|
901
|
+
function type(): TypeDescriptor<CollectionUriMutate>;
|
902
|
+
}
|
903
|
+
interface CollectionUriMutateInstance extends TypedEventInstance<CollectionUriMutate> {
|
904
|
+
data_decoded: CollectionUriMutate;
|
905
|
+
type_arguments: [];
|
906
|
+
}
|
907
|
+
interface CollectionUriMutateEvent {
|
908
|
+
creator_addr: MoveAddressType;
|
909
|
+
collection_name: string;
|
910
|
+
old_uri: string;
|
911
|
+
new_uri: string;
|
912
|
+
}
|
913
|
+
namespace CollectionUriMutateEvent {
|
914
|
+
const TYPE_QNAME = "0x3::token_event_store::CollectionUriMutateEvent";
|
915
|
+
function type(): TypeDescriptor<CollectionUriMutateEvent>;
|
916
|
+
}
|
917
|
+
interface CollectionUriMutateEventInstance extends TypedEventInstance<CollectionUriMutateEvent> {
|
918
|
+
data_decoded: CollectionUriMutateEvent;
|
919
|
+
type_arguments: [];
|
920
|
+
}
|
921
|
+
interface DefaultPropertyMutate {
|
922
|
+
creator: MoveAddressType;
|
923
|
+
collection: string;
|
924
|
+
token: string;
|
925
|
+
keys: string[];
|
926
|
+
old_values: _0x1.option.Option<property_map.PropertyValue>[];
|
927
|
+
new_values: property_map.PropertyValue[];
|
928
|
+
}
|
929
|
+
namespace DefaultPropertyMutate {
|
930
|
+
const TYPE_QNAME = "0x3::token_event_store::DefaultPropertyMutate";
|
931
|
+
function type(): TypeDescriptor<DefaultPropertyMutate>;
|
932
|
+
}
|
933
|
+
interface DefaultPropertyMutateInstance extends TypedEventInstance<DefaultPropertyMutate> {
|
934
|
+
data_decoded: DefaultPropertyMutate;
|
935
|
+
type_arguments: [];
|
936
|
+
}
|
937
|
+
interface DefaultPropertyMutateEvent {
|
938
|
+
creator: MoveAddressType;
|
939
|
+
collection: string;
|
940
|
+
token: string;
|
941
|
+
keys: string[];
|
942
|
+
old_values: _0x1.option.Option<property_map.PropertyValue>[];
|
943
|
+
new_values: property_map.PropertyValue[];
|
944
|
+
}
|
945
|
+
namespace DefaultPropertyMutateEvent {
|
946
|
+
const TYPE_QNAME = "0x3::token_event_store::DefaultPropertyMutateEvent";
|
947
|
+
function type(): TypeDescriptor<DefaultPropertyMutateEvent>;
|
948
|
+
}
|
949
|
+
interface DefaultPropertyMutateEventInstance extends TypedEventInstance<DefaultPropertyMutateEvent> {
|
950
|
+
data_decoded: DefaultPropertyMutateEvent;
|
951
|
+
type_arguments: [];
|
952
|
+
}
|
953
|
+
interface DescriptionMutate {
|
954
|
+
creator: MoveAddressType;
|
955
|
+
collection: string;
|
956
|
+
token: string;
|
957
|
+
old_description: string;
|
958
|
+
new_description: string;
|
959
|
+
}
|
960
|
+
namespace DescriptionMutate {
|
961
|
+
const TYPE_QNAME = "0x3::token_event_store::DescriptionMutate";
|
962
|
+
function type(): TypeDescriptor<DescriptionMutate>;
|
963
|
+
}
|
964
|
+
interface DescriptionMutateInstance extends TypedEventInstance<DescriptionMutate> {
|
965
|
+
data_decoded: DescriptionMutate;
|
966
|
+
type_arguments: [];
|
967
|
+
}
|
968
|
+
interface DescriptionMutateEvent {
|
969
|
+
creator: MoveAddressType;
|
970
|
+
collection: string;
|
971
|
+
token: string;
|
972
|
+
old_description: string;
|
973
|
+
new_description: string;
|
974
|
+
}
|
975
|
+
namespace DescriptionMutateEvent {
|
976
|
+
const TYPE_QNAME = "0x3::token_event_store::DescriptionMutateEvent";
|
977
|
+
function type(): TypeDescriptor<DescriptionMutateEvent>;
|
978
|
+
}
|
979
|
+
interface DescriptionMutateEventInstance extends TypedEventInstance<DescriptionMutateEvent> {
|
980
|
+
data_decoded: DescriptionMutateEvent;
|
981
|
+
type_arguments: [];
|
982
|
+
}
|
983
|
+
interface MaximumMutate {
|
984
|
+
creator: MoveAddressType;
|
985
|
+
collection: string;
|
986
|
+
token: string;
|
987
|
+
old_maximum: bigint;
|
988
|
+
new_maximum: bigint;
|
989
|
+
}
|
990
|
+
namespace MaximumMutate {
|
991
|
+
const TYPE_QNAME = "0x3::token_event_store::MaximumMutate";
|
992
|
+
function type(): TypeDescriptor<MaximumMutate>;
|
993
|
+
}
|
994
|
+
interface MaximumMutateInstance extends TypedEventInstance<MaximumMutate> {
|
995
|
+
data_decoded: MaximumMutate;
|
996
|
+
type_arguments: [];
|
997
|
+
}
|
998
|
+
interface MaxiumMutateEvent {
|
999
|
+
creator: MoveAddressType;
|
1000
|
+
collection: string;
|
1001
|
+
token: string;
|
1002
|
+
old_maximum: bigint;
|
1003
|
+
new_maximum: bigint;
|
1004
|
+
}
|
1005
|
+
namespace MaxiumMutateEvent {
|
1006
|
+
const TYPE_QNAME = "0x3::token_event_store::MaxiumMutateEvent";
|
1007
|
+
function type(): TypeDescriptor<MaxiumMutateEvent>;
|
1008
|
+
}
|
1009
|
+
interface MaxiumMutateEventInstance extends TypedEventInstance<MaxiumMutateEvent> {
|
1010
|
+
data_decoded: MaxiumMutateEvent;
|
1011
|
+
type_arguments: [];
|
1012
|
+
}
|
1013
|
+
interface OptInTransfer {
|
1014
|
+
account_address: MoveAddressType;
|
1015
|
+
opt_in: Boolean;
|
1016
|
+
}
|
1017
|
+
namespace OptInTransfer {
|
1018
|
+
const TYPE_QNAME = "0x3::token_event_store::OptInTransfer";
|
1019
|
+
function type(): TypeDescriptor<OptInTransfer>;
|
1020
|
+
}
|
1021
|
+
interface OptInTransferInstance extends TypedEventInstance<OptInTransfer> {
|
1022
|
+
data_decoded: OptInTransfer;
|
1023
|
+
type_arguments: [];
|
1024
|
+
}
|
1025
|
+
interface OptInTransferEvent {
|
1026
|
+
opt_in: Boolean;
|
1027
|
+
}
|
1028
|
+
namespace OptInTransferEvent {
|
1029
|
+
const TYPE_QNAME = "0x3::token_event_store::OptInTransferEvent";
|
1030
|
+
function type(): TypeDescriptor<OptInTransferEvent>;
|
1031
|
+
}
|
1032
|
+
interface OptInTransferEventInstance extends TypedEventInstance<OptInTransferEvent> {
|
1033
|
+
data_decoded: OptInTransferEvent;
|
1034
|
+
type_arguments: [];
|
1035
|
+
}
|
1036
|
+
interface RoyaltyMutate {
|
1037
|
+
creator: MoveAddressType;
|
1038
|
+
collection: string;
|
1039
|
+
token: string;
|
1040
|
+
old_royalty_numerator: bigint;
|
1041
|
+
old_royalty_denominator: bigint;
|
1042
|
+
old_royalty_payee_addr: MoveAddressType;
|
1043
|
+
new_royalty_numerator: bigint;
|
1044
|
+
new_royalty_denominator: bigint;
|
1045
|
+
new_royalty_payee_addr: MoveAddressType;
|
1046
|
+
}
|
1047
|
+
namespace RoyaltyMutate {
|
1048
|
+
const TYPE_QNAME = "0x3::token_event_store::RoyaltyMutate";
|
1049
|
+
function type(): TypeDescriptor<RoyaltyMutate>;
|
1050
|
+
}
|
1051
|
+
interface RoyaltyMutateInstance extends TypedEventInstance<RoyaltyMutate> {
|
1052
|
+
data_decoded: RoyaltyMutate;
|
1053
|
+
type_arguments: [];
|
1054
|
+
}
|
1055
|
+
interface RoyaltyMutateEvent {
|
1056
|
+
creator: MoveAddressType;
|
1057
|
+
collection: string;
|
1058
|
+
token: string;
|
1059
|
+
old_royalty_numerator: bigint;
|
1060
|
+
old_royalty_denominator: bigint;
|
1061
|
+
old_royalty_payee_addr: MoveAddressType;
|
1062
|
+
new_royalty_numerator: bigint;
|
1063
|
+
new_royalty_denominator: bigint;
|
1064
|
+
new_royalty_payee_addr: MoveAddressType;
|
1065
|
+
}
|
1066
|
+
namespace RoyaltyMutateEvent {
|
1067
|
+
const TYPE_QNAME = "0x3::token_event_store::RoyaltyMutateEvent";
|
1068
|
+
function type(): TypeDescriptor<RoyaltyMutateEvent>;
|
1069
|
+
}
|
1070
|
+
interface RoyaltyMutateEventInstance extends TypedEventInstance<RoyaltyMutateEvent> {
|
1071
|
+
data_decoded: RoyaltyMutateEvent;
|
1072
|
+
type_arguments: [];
|
1073
|
+
}
|
1074
|
+
interface TokenEventStoreV1 {
|
1075
|
+
collection_uri_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionUriMutateEvent>;
|
1076
|
+
collection_maximum_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionMaxiumMutateEvent>;
|
1077
|
+
collection_description_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionDescriptionMutateEvent>;
|
1078
|
+
opt_in_events: _0x1.event.EventHandle<token_event_store.OptInTransferEvent>;
|
1079
|
+
uri_mutate_events: _0x1.event.EventHandle<token_event_store.UriMutationEvent>;
|
1080
|
+
default_property_mutate_events: _0x1.event.EventHandle<token_event_store.DefaultPropertyMutateEvent>;
|
1081
|
+
description_mutate_events: _0x1.event.EventHandle<token_event_store.DescriptionMutateEvent>;
|
1082
|
+
royalty_mutate_events: _0x1.event.EventHandle<token_event_store.RoyaltyMutateEvent>;
|
1083
|
+
maximum_mutate_events: _0x1.event.EventHandle<token_event_store.MaxiumMutateEvent>;
|
1084
|
+
extension: _0x1.option.Option<_0x1.any_.Any>;
|
1085
|
+
}
|
1086
|
+
namespace TokenEventStoreV1 {
|
1087
|
+
const TYPE_QNAME = "0x3::token_event_store::TokenEventStoreV1";
|
1088
|
+
function type(): TypeDescriptor<TokenEventStoreV1>;
|
1089
|
+
}
|
1090
|
+
interface UriMutation {
|
1091
|
+
creator: MoveAddressType;
|
1092
|
+
collection: string;
|
1093
|
+
token: string;
|
1094
|
+
old_uri: string;
|
1095
|
+
new_uri: string;
|
1096
|
+
}
|
1097
|
+
namespace UriMutation {
|
1098
|
+
const TYPE_QNAME = "0x3::token_event_store::UriMutation";
|
1099
|
+
function type(): TypeDescriptor<UriMutation>;
|
1100
|
+
}
|
1101
|
+
interface UriMutationInstance extends TypedEventInstance<UriMutation> {
|
1102
|
+
data_decoded: UriMutation;
|
1103
|
+
type_arguments: [];
|
1104
|
+
}
|
1105
|
+
interface UriMutationEvent {
|
1106
|
+
creator: MoveAddressType;
|
1107
|
+
collection: string;
|
1108
|
+
token: string;
|
1109
|
+
old_uri: string;
|
1110
|
+
new_uri: string;
|
1111
|
+
}
|
1112
|
+
namespace UriMutationEvent {
|
1113
|
+
const TYPE_QNAME = "0x3::token_event_store::UriMutationEvent";
|
1114
|
+
function type(): TypeDescriptor<UriMutationEvent>;
|
1115
|
+
}
|
1116
|
+
interface UriMutationEventInstance extends TypedEventInstance<UriMutationEvent> {
|
1117
|
+
data_decoded: UriMutationEvent;
|
1118
|
+
type_arguments: [];
|
1119
|
+
}
|
1120
|
+
}
|
1121
|
+
export declare function loadAllTypes(coder: MoveCoder): void;
|
1122
|
+
//# sourceMappingURL=0x3.d.ts.map
|