@sentio/sdk 1.20.1 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/aptos/aptos-processor.d.ts +17 -12
- package/lib/aptos/aptos-processor.js +65 -13
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/bind-options.d.ts +0 -6
- package/lib/aptos/bind-options.js +1 -8
- package/lib/aptos/bind-options.js.map +1 -1
- package/lib/aptos/context.d.ts +5 -4
- package/lib/aptos/context.js +9 -6
- package/lib/aptos/context.js.map +1 -1
- package/lib/aptos/index.d.ts +3 -2
- package/lib/aptos/index.js +1 -2
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos/runtime.d.ts +2 -0
- package/lib/aptos/runtime.js +16 -0
- package/lib/aptos/runtime.js.map +1 -0
- package/lib/aptos/types.d.ts +28 -0
- package/lib/aptos/types.js +159 -0
- package/lib/aptos/types.js.map +1 -0
- package/lib/aptos/utils.d.ts +6 -0
- package/lib/aptos/utils.js +19 -0
- package/lib/aptos/utils.js.map +1 -0
- package/lib/aptos-codegen/codegen.d.ts +5 -2
- package/lib/aptos-codegen/codegen.js +195 -18
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/aptos-codegen/typegen.d.ts +18 -0
- package/lib/aptos-codegen/typegen.js +196 -0
- package/lib/aptos-codegen/typegen.js.map +1 -0
- package/lib/binds.d.ts +2 -3
- package/lib/binds.js +6 -33
- package/lib/binds.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +1624 -0
- package/lib/builtin/aptos/0x1.js +2502 -0
- package/lib/builtin/aptos/0x1.js.map +1 -0
- package/lib/builtin/aptos/0x3.d.ts +414 -0
- package/lib/builtin/aptos/0x3.js +461 -0
- package/lib/builtin/aptos/0x3.js.map +1 -0
- package/lib/builtin/internal/eacaggregatorproxy_processor.d.ts +2 -2
- package/lib/builtin/internal/eacaggregatorproxy_processor.js +12 -11
- package/lib/builtin/internal/eacaggregatorproxy_processor.js.map +1 -1
- package/lib/builtin/internal/erc20_processor.d.ts +2 -2
- package/lib/builtin/internal/erc20_processor.js +12 -11
- package/lib/builtin/internal/erc20_processor.js.map +1 -1
- package/lib/builtin/internal/erc20bytes_processor.d.ts +2 -2
- package/lib/builtin/internal/erc20bytes_processor.js +12 -11
- package/lib/builtin/internal/erc20bytes_processor.js.map +1 -1
- package/lib/builtin/internal/weth9_processor.d.ts +2 -2
- package/lib/builtin/internal/weth9_processor.js +12 -11
- package/lib/builtin/internal/weth9_processor.js.map +1 -1
- package/lib/builtin/solana/types.d.ts +5 -5
- package/lib/builtin/solana/wormhole-processor.d.ts +6 -6
- package/lib/builtin/solana/wormhole-processor.js +15 -12
- package/lib/builtin/solana/wormhole-processor.js.map +1 -1
- package/lib/cli/build.js +17 -16
- package/lib/cli/build.js.map +1 -1
- package/lib/core/base-processor-template.d.ts +7 -7
- package/lib/core/base-processor-template.js.map +1 -1
- package/lib/core/base-processor.d.ts +5 -6
- package/lib/core/base-processor.js +6 -4
- package/lib/core/base-processor.js.map +1 -1
- package/lib/core/big-decimal.d.ts +1 -0
- package/lib/core/big-decimal.js +6 -0
- package/lib/core/big-decimal.js.map +1 -0
- package/lib/core/bind-options.d.ts +0 -2
- package/lib/core/bind-options.js +4 -4
- package/lib/core/bind-options.js.map +1 -1
- package/lib/core/context.d.ts +14 -11
- package/lib/core/context.js +28 -19
- package/lib/core/context.js.map +1 -1
- package/lib/core/generic-processor.js +5 -5
- package/lib/core/generic-processor.js.map +1 -1
- package/lib/core/index.d.ts +5 -5
- package/lib/core/index.js +6 -6
- package/lib/core/index.js.map +1 -1
- package/lib/core/logger.d.ts +2 -3
- package/lib/core/logger.js +6 -6
- package/lib/core/logger.js.map +1 -1
- package/lib/core/metadata.d.ts +7 -4
- package/lib/core/metadata.js +13 -10
- package/lib/core/metadata.js.map +1 -1
- package/lib/core/meter.d.ts +4 -7
- package/lib/core/meter.js +12 -13
- package/lib/core/meter.js.map +1 -1
- package/lib/core/solana-processor.d.ts +7 -4
- package/lib/core/solana-processor.js +14 -20
- package/lib/core/solana-processor.js.map +1 -1
- package/lib/core/sui-processor.d.ts +5 -4
- package/lib/core/sui-processor.js +10 -17
- package/lib/core/sui-processor.js.map +1 -1
- package/lib/error.d.ts +2 -2
- package/lib/error.js.map +1 -1
- package/lib/gen/processor/protos/processor.d.ts +23 -12
- package/lib/gen/processor/protos/processor.js +129 -57
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/lib/index.d.ts +1 -2
- package/lib/index.js +1 -4
- package/lib/index.js.map +1 -1
- package/lib/processor-state.d.ts +1 -1
- package/lib/processor-state.js.map +1 -1
- package/lib/service.js +13 -12
- package/lib/service.js.map +1 -1
- package/lib/target-ethers-sentio/codegen.js +14 -15
- package/lib/target-ethers-sentio/codegen.js.map +1 -1
- package/lib/test-abi-code-gen.js.map +1 -1
- package/lib/testing/metric-utils.js +2 -2
- package/lib/testing/metric-utils.js.map +1 -1
- package/lib/tests/aptos.test.js +95 -2
- package/lib/tests/aptos.test.js.map +1 -1
- package/lib/tests/erc20.js +1 -1
- package/lib/tests/erc20.js.map +1 -1
- package/lib/tests/erc20.test.js +3 -4
- package/lib/tests/erc20.test.js.map +1 -1
- package/lib/tests/solana.test.js +5 -1
- package/lib/tests/solana.test.js.map +1 -1
- package/lib/tests/souffl3.js +17 -4
- package/lib/tests/souffl3.js.map +1 -1
- package/lib/tests/sui.test.js +1 -4
- package/lib/tests/sui.test.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +311 -22
- package/lib/tests/types/aptos/souffle.js +142 -6
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/lib/tests/types/solana/basic_1_processor.d.ts +2 -2
- package/lib/tests/types/solana/basic_1_processor.js +4 -4
- package/lib/tests/types/solana/basic_1_processor.js.map +1 -1
- package/lib/tests/wormhole-token-bridge.js +2 -1
- package/lib/tests/wormhole-token-bridge.js.map +1 -1
- package/lib/utils/chain.d.ts +1 -0
- package/lib/utils/chain.js +15 -1
- package/lib/utils/chain.js.map +1 -1
- package/lib/utils/conversion.d.ts +1 -1
- package/lib/utils/conversion.js.map +1 -1
- package/package.json +3 -2
- package/src/abis/aptos/0x1.json +9205 -0
- package/src/abis/aptos/0x3.json +1515 -0
- package/src/aptos/aptos-processor.ts +88 -20
- package/src/aptos/bind-options.ts +0 -7
- package/src/aptos/context.ts +11 -8
- package/src/aptos/index.ts +3 -2
- package/src/aptos/runtime.ts +13 -0
- package/src/aptos/types.ts +203 -0
- package/src/aptos/utils.ts +18 -0
- package/src/aptos-codegen/codegen.ts +222 -19
- package/src/aptos-codegen/typegen.test.ts +29 -0
- package/src/aptos-codegen/typegen.ts +216 -0
- package/src/binds.ts +5 -39
- package/src/builtin/aptos/0x1.ts +3760 -0
- package/src/builtin/aptos/0x3.ts +798 -0
- package/src/builtin/internal/eacaggregatorproxy_processor.ts +14 -31
- package/src/builtin/internal/erc20_processor.ts +14 -25
- package/src/builtin/internal/erc20bytes_processor.ts +14 -25
- package/src/builtin/internal/weth9_processor.ts +14 -25
- package/src/builtin/solana/wormhole-processor.ts +21 -18
- package/src/cli/build.ts +19 -17
- package/src/core/base-processor-template.ts +7 -7
- package/src/core/base-processor.ts +30 -9
- package/src/core/big-decimal.ts +1 -0
- package/src/core/bind-options.ts +3 -2
- package/src/core/context.ts +40 -24
- package/src/core/generic-processor.ts +6 -7
- package/src/core/index.ts +5 -5
- package/src/core/logger.ts +7 -7
- package/src/core/metadata.ts +14 -12
- package/src/core/meter.ts +12 -14
- package/src/core/solana-processor.ts +24 -21
- package/src/core/sui-processor.ts +10 -21
- package/src/error.ts +2 -2
- package/src/gen/processor/protos/processor.ts +158 -68
- package/src/index.ts +1 -2
- package/src/processor-state.ts +1 -1
- package/src/service.ts +22 -15
- package/src/target-ethers-sentio/codegen.ts +14 -15
- package/src/test-abi-code-gen.ts +1 -0
- package/src/testing/metric-utils.ts +2 -2
- package/src/tests/aptos.test.ts +102 -3
- package/src/tests/erc20.test.ts +3 -4
- package/src/tests/erc20.ts +1 -1
- package/src/tests/solana.test.ts +5 -1
- package/src/tests/souffl3.ts +21 -6
- package/src/tests/sui.test.ts +1 -4
- package/src/tests/types/aptos/souffle.ts +424 -42
- package/src/tests/types/solana/basic_1_processor.ts +6 -6
- package/src/tests/wormhole-token-bridge.ts +2 -1
- package/src/types/global.d.ts +1 -1
- package/src/utils/chain.ts +14 -0
- package/src/utils/conversion.ts +1 -1
- package/lib/contract-namer.d.ts +0 -6
- package/lib/contract-namer.js +0 -20
- package/lib/contract-namer.js.map +0 -1
- package/src/aptos-codegen/codgen.test.ts +0 -11
- package/src/contract-namer.ts +0 -17
@@ -5,20 +5,28 @@
|
|
5
5
|
/* Generated modules for account 0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807 */
|
6
6
|
|
7
7
|
import { aptos } from "@sentio/sdk";
|
8
|
+
import { Address, MoveModule } from "aptos/src/generated";
|
9
|
+
|
10
|
+
import { acl, account, table, event } from "@sentio/sdk/src/builtin/aptos/0x1";
|
11
|
+
import { token } from "@sentio/sdk/src/builtin/aptos/0x3";
|
8
12
|
|
9
13
|
export class CandyMachine extends aptos.AptosBaseProcessor {
|
10
|
-
|
14
|
+
constructor(options: aptos.AptosBindOptions) {
|
15
|
+
super("CandyMachine", options);
|
16
|
+
}
|
17
|
+
static DEFAULT_OPTIONS: aptos.AptosBindOptions = {
|
11
18
|
address:
|
12
19
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807",
|
13
20
|
network: aptos.AptosNetwork.TEST_NET,
|
14
21
|
};
|
15
|
-
|
16
|
-
|
22
|
+
|
23
|
+
static bind(options: Partial<aptos.AptosBindOptions> = {}): CandyMachine {
|
24
|
+
return new CandyMachine({ ...CandyMachine.DEFAULT_OPTIONS, ...options });
|
17
25
|
}
|
18
26
|
|
19
|
-
onEntryAddAcl(
|
27
|
+
onEntryAddAcl<T0>(
|
20
28
|
func: (
|
21
|
-
call:
|
29
|
+
call: CandyMachine.AddAclPayload<T0>,
|
22
30
|
ctx: aptos.AptosContext
|
23
31
|
) => void
|
24
32
|
): CandyMachine {
|
@@ -28,9 +36,9 @@ export class CandyMachine extends aptos.AptosBaseProcessor {
|
|
28
36
|
return this;
|
29
37
|
}
|
30
38
|
|
31
|
-
onEntryCreateCandyMachine(
|
39
|
+
onEntryCreateCandyMachine<T0>(
|
32
40
|
func: (
|
33
|
-
call:
|
41
|
+
call: CandyMachine.CreateCandyMachinePayload<T0>,
|
34
42
|
ctx: aptos.AptosContext
|
35
43
|
) => void
|
36
44
|
): CandyMachine {
|
@@ -40,9 +48,9 @@ export class CandyMachine extends aptos.AptosBaseProcessor {
|
|
40
48
|
return this;
|
41
49
|
}
|
42
50
|
|
43
|
-
onEntryCreateCollection(
|
51
|
+
onEntryCreateCollection<T0>(
|
44
52
|
func: (
|
45
|
-
call:
|
53
|
+
call: CandyMachine.CreateCollectionPayload<T0>,
|
46
54
|
ctx: aptos.AptosContext
|
47
55
|
) => void
|
48
56
|
): CandyMachine {
|
@@ -52,9 +60,9 @@ export class CandyMachine extends aptos.AptosBaseProcessor {
|
|
52
60
|
return this;
|
53
61
|
}
|
54
62
|
|
55
|
-
onEntryPullToken(
|
63
|
+
onEntryPullToken<T0>(
|
56
64
|
func: (
|
57
|
-
call:
|
65
|
+
call: CandyMachine.PullTokenPayload<T0>,
|
58
66
|
ctx: aptos.AptosContext
|
59
67
|
) => void
|
60
68
|
): CandyMachine {
|
@@ -64,9 +72,9 @@ export class CandyMachine extends aptos.AptosBaseProcessor {
|
|
64
72
|
return this;
|
65
73
|
}
|
66
74
|
|
67
|
-
onEntryUpdateTokenProperty(
|
75
|
+
onEntryUpdateTokenProperty<T0>(
|
68
76
|
func: (
|
69
|
-
call:
|
77
|
+
call: CandyMachine.UpdateTokenPropertyPayload<T0>,
|
70
78
|
ctx: aptos.AptosContext
|
71
79
|
) => void
|
72
80
|
): CandyMachine {
|
@@ -75,23 +83,163 @@ export class CandyMachine extends aptos.AptosBaseProcessor {
|
|
75
83
|
});
|
76
84
|
return this;
|
77
85
|
}
|
86
|
+
|
87
|
+
loadTypesInternal(registry: aptos.TypeRegistry) {
|
88
|
+
loadAllTypes(registry);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
export namespace CandyMachine {
|
93
|
+
export class ACLBox<T0> {
|
94
|
+
box: acl.ACL;
|
95
|
+
}
|
96
|
+
|
97
|
+
export class Counter<T0> {
|
98
|
+
counter: bigint;
|
99
|
+
}
|
100
|
+
|
101
|
+
export class Property<T0> {
|
102
|
+
payee: Address;
|
103
|
+
collection: string;
|
104
|
+
token_base_name: string;
|
105
|
+
description: string;
|
106
|
+
maximum: bigint;
|
107
|
+
maximum_per_address: bigint;
|
108
|
+
uri: string;
|
109
|
+
special_uri: string;
|
110
|
+
mod_num: bigint;
|
111
|
+
mutate_setting: Boolean[];
|
112
|
+
royalty_payee_address: Address;
|
113
|
+
royalty_points_denominator: bigint;
|
114
|
+
royalty_points_numerator: bigint;
|
115
|
+
token_mutate_config: token.TokenMutabilityConfig;
|
116
|
+
property_keys: string[];
|
117
|
+
property_values: string[];
|
118
|
+
property_types: string[];
|
119
|
+
coin_per_token: bigint;
|
120
|
+
}
|
121
|
+
|
122
|
+
export class ResourceAccountCap<T0> {
|
123
|
+
cap: account.SignerCapability;
|
124
|
+
}
|
125
|
+
|
126
|
+
export interface AddAclPayload<T0>
|
127
|
+
extends aptos.TypedEntryFunctionPayload<[Address]> {
|
128
|
+
arguments_typed: [Address];
|
129
|
+
}
|
130
|
+
|
131
|
+
export interface CreateCandyMachinePayload<T0>
|
132
|
+
extends aptos.TypedEntryFunctionPayload<[string]> {
|
133
|
+
arguments_typed: [string];
|
134
|
+
}
|
135
|
+
|
136
|
+
export interface CreateCollectionPayload<T0>
|
137
|
+
extends aptos.TypedEntryFunctionPayload<
|
138
|
+
[
|
139
|
+
Address,
|
140
|
+
string,
|
141
|
+
string,
|
142
|
+
string,
|
143
|
+
string,
|
144
|
+
string,
|
145
|
+
string,
|
146
|
+
bigint,
|
147
|
+
bigint,
|
148
|
+
bigint,
|
149
|
+
Boolean[],
|
150
|
+
Address,
|
151
|
+
bigint,
|
152
|
+
bigint,
|
153
|
+
string[],
|
154
|
+
string[],
|
155
|
+
string[],
|
156
|
+
bigint
|
157
|
+
]
|
158
|
+
> {
|
159
|
+
arguments_typed: [
|
160
|
+
Address,
|
161
|
+
string,
|
162
|
+
string,
|
163
|
+
string,
|
164
|
+
string,
|
165
|
+
string,
|
166
|
+
string,
|
167
|
+
bigint,
|
168
|
+
bigint,
|
169
|
+
bigint,
|
170
|
+
Boolean[],
|
171
|
+
Address,
|
172
|
+
bigint,
|
173
|
+
bigint,
|
174
|
+
string[],
|
175
|
+
string[],
|
176
|
+
string[],
|
177
|
+
bigint
|
178
|
+
];
|
179
|
+
}
|
180
|
+
|
181
|
+
export interface PullTokenPayload<T0>
|
182
|
+
extends aptos.TypedEntryFunctionPayload<[Address, string, bigint]> {
|
183
|
+
arguments_typed: [Address, string, bigint];
|
184
|
+
}
|
185
|
+
|
186
|
+
export interface UpdateTokenPropertyPayload<T0>
|
187
|
+
extends aptos.TypedEntryFunctionPayload<
|
188
|
+
[
|
189
|
+
Address,
|
190
|
+
Address,
|
191
|
+
string,
|
192
|
+
string,
|
193
|
+
bigint,
|
194
|
+
bigint,
|
195
|
+
string[],
|
196
|
+
string[],
|
197
|
+
string[]
|
198
|
+
]
|
199
|
+
> {
|
200
|
+
arguments_typed: [
|
201
|
+
Address,
|
202
|
+
Address,
|
203
|
+
string,
|
204
|
+
string,
|
205
|
+
bigint,
|
206
|
+
bigint,
|
207
|
+
string[],
|
208
|
+
string[],
|
209
|
+
string[]
|
210
|
+
];
|
211
|
+
}
|
212
|
+
|
213
|
+
export function loadTypes(registry: aptos.TypeRegistry) {
|
214
|
+
loadAllTypes(registry);
|
215
|
+
}
|
216
|
+
export const ABI: MoveModule = JSON.parse(
|
217
|
+
'{"address":"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807","name":"CandyMachine","friends":[],"exposed_functions":[{"name":"add_acl","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address"],"return":[]},{"name":"create_candy_machine","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","0x1::string::String"],"return":[]},{"name":"create_collection","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","u64","u64","u64","vector<bool>","address","u64","u64","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>","u64"],"return":[]},{"name":"pull_token","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","u64"],"return":[]},{"name":"update_token_property","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","address","0x1::string::String","0x1::string::String","u64","u64","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>"],"return":[]}],"structs":[{"name":"ACLBox","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"box","type":"0x1::acl::ACL"}]},{"name":"Counter","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"counter","type":"u64"}]},{"name":"Property","is_native":false,"abilities":["copy","drop","store","key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"payee","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token_base_name","type":"0x1::string::String"},{"name":"description","type":"0x1::string::String"},{"name":"maximum","type":"u64"},{"name":"maximum_per_address","type":"u64"},{"name":"uri","type":"0x1::string::String"},{"name":"special_uri","type":"0x1::string::String"},{"name":"mod_num","type":"u64"},{"name":"mutate_setting","type":"vector<bool>"},{"name":"royalty_payee_address","type":"address"},{"name":"royalty_points_denominator","type":"u64"},{"name":"royalty_points_numerator","type":"u64"},{"name":"token_mutate_config","type":"0x3::token::TokenMutabilityConfig"},{"name":"property_keys","type":"vector<0x1::string::String>"},{"name":"property_values","type":"vector<vector<u8>>"},{"name":"property_types","type":"vector<0x1::string::String>"},{"name":"coin_per_token","type":"u64"}]},{"name":"ResourceAccountCap","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"cap","type":"0x1::account::SignerCapability"}]}]}'
|
218
|
+
);
|
78
219
|
}
|
79
220
|
|
80
221
|
export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
81
|
-
|
222
|
+
constructor(options: aptos.AptosBindOptions) {
|
223
|
+
super("SouffleChefCampaign", options);
|
224
|
+
}
|
225
|
+
static DEFAULT_OPTIONS: aptos.AptosBindOptions = {
|
82
226
|
address:
|
83
227
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807",
|
84
228
|
network: aptos.AptosNetwork.TEST_NET,
|
85
229
|
};
|
230
|
+
|
86
231
|
static bind(
|
87
|
-
options =
|
232
|
+
options: Partial<aptos.AptosBindOptions> = {}
|
88
233
|
): SouffleChefCampaign {
|
89
|
-
return new SouffleChefCampaign({
|
234
|
+
return new SouffleChefCampaign({
|
235
|
+
...SouffleChefCampaign.DEFAULT_OPTIONS,
|
236
|
+
...options,
|
237
|
+
});
|
90
238
|
}
|
91
239
|
|
92
|
-
onEntryAddAcl(
|
240
|
+
onEntryAddAcl<T0>(
|
93
241
|
func: (
|
94
|
-
call:
|
242
|
+
call: SouffleChefCampaign.AddAclPayload<T0>,
|
95
243
|
ctx: aptos.AptosContext
|
96
244
|
) => void
|
97
245
|
): SouffleChefCampaign {
|
@@ -101,9 +249,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
101
249
|
return this;
|
102
250
|
}
|
103
251
|
|
104
|
-
onEntryAddBurnTokenRule(
|
252
|
+
onEntryAddBurnTokenRule<T0>(
|
105
253
|
func: (
|
106
|
-
call:
|
254
|
+
call: SouffleChefCampaign.AddBurnTokenRulePayload<T0>,
|
107
255
|
ctx: aptos.AptosContext
|
108
256
|
) => void
|
109
257
|
): SouffleChefCampaign {
|
@@ -113,9 +261,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
113
261
|
return this;
|
114
262
|
}
|
115
263
|
|
116
|
-
onEntryBatchAddAcl(
|
264
|
+
onEntryBatchAddAcl<T0>(
|
117
265
|
func: (
|
118
|
-
call:
|
266
|
+
call: SouffleChefCampaign.BatchAddAclPayload<T0>,
|
119
267
|
ctx: aptos.AptosContext
|
120
268
|
) => void
|
121
269
|
): SouffleChefCampaign {
|
@@ -125,9 +273,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
125
273
|
return this;
|
126
274
|
}
|
127
275
|
|
128
|
-
onEntryBurnAndEnjoy(
|
276
|
+
onEntryBurnAndEnjoy<T0>(
|
129
277
|
func: (
|
130
|
-
call:
|
278
|
+
call: SouffleChefCampaign.BurnAndEnjoyPayload<T0>,
|
131
279
|
ctx: aptos.AptosContext
|
132
280
|
) => void
|
133
281
|
): SouffleChefCampaign {
|
@@ -137,9 +285,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
137
285
|
return this;
|
138
286
|
}
|
139
287
|
|
140
|
-
onEntryClaim(
|
288
|
+
onEntryClaim<T0>(
|
141
289
|
func: (
|
142
|
-
call:
|
290
|
+
call: SouffleChefCampaign.ClaimPayload<T0>,
|
143
291
|
ctx: aptos.AptosContext
|
144
292
|
) => void
|
145
293
|
): SouffleChefCampaign {
|
@@ -149,9 +297,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
149
297
|
return this;
|
150
298
|
}
|
151
299
|
|
152
|
-
onEntryCreateCandyMachine(
|
300
|
+
onEntryCreateCandyMachine<T0>(
|
153
301
|
func: (
|
154
|
-
call:
|
302
|
+
call: SouffleChefCampaign.CreateCandyMachinePayload<T0>,
|
155
303
|
ctx: aptos.AptosContext
|
156
304
|
) => void
|
157
305
|
): SouffleChefCampaign {
|
@@ -161,9 +309,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
161
309
|
return this;
|
162
310
|
}
|
163
311
|
|
164
|
-
onEntryCreateCollection(
|
312
|
+
onEntryCreateCollection<T0>(
|
165
313
|
func: (
|
166
|
-
call:
|
314
|
+
call: SouffleChefCampaign.CreateCollectionPayload<T0>,
|
167
315
|
ctx: aptos.AptosContext
|
168
316
|
) => void
|
169
317
|
): SouffleChefCampaign {
|
@@ -173,9 +321,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
173
321
|
return this;
|
174
322
|
}
|
175
323
|
|
176
|
-
onEntryPullToken(
|
324
|
+
onEntryPullToken<T0>(
|
177
325
|
func: (
|
178
|
-
call:
|
326
|
+
call: SouffleChefCampaign.PullTokenPayload<T0>,
|
179
327
|
ctx: aptos.AptosContext
|
180
328
|
) => void
|
181
329
|
): SouffleChefCampaign {
|
@@ -185,9 +333,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
185
333
|
return this;
|
186
334
|
}
|
187
335
|
|
188
|
-
onEntryPullTokenV2(
|
336
|
+
onEntryPullTokenV2<T0>(
|
189
337
|
func: (
|
190
|
-
call:
|
338
|
+
call: SouffleChefCampaign.PullTokenV2Payload<T0>,
|
191
339
|
ctx: aptos.AptosContext
|
192
340
|
) => void
|
193
341
|
): SouffleChefCampaign {
|
@@ -197,9 +345,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
197
345
|
return this;
|
198
346
|
}
|
199
347
|
|
200
|
-
onEntryRemoveBurnTokenRule(
|
348
|
+
onEntryRemoveBurnTokenRule<T0>(
|
201
349
|
func: (
|
202
|
-
call:
|
350
|
+
call: SouffleChefCampaign.RemoveBurnTokenRulePayload<T0>,
|
203
351
|
ctx: aptos.AptosContext
|
204
352
|
) => void
|
205
353
|
): SouffleChefCampaign {
|
@@ -209,9 +357,9 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
209
357
|
return this;
|
210
358
|
}
|
211
359
|
|
212
|
-
onEntryUpdateTokenProperty(
|
360
|
+
onEntryUpdateTokenProperty<T0>(
|
213
361
|
func: (
|
214
|
-
call:
|
362
|
+
call: SouffleChefCampaign.UpdateTokenPropertyPayload<T0>,
|
215
363
|
ctx: aptos.AptosContext
|
216
364
|
) => void
|
217
365
|
): SouffleChefCampaign {
|
@@ -222,20 +370,254 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
222
370
|
}
|
223
371
|
|
224
372
|
onEventBurnEnjoyEvent(
|
225
|
-
func: (
|
373
|
+
func: (
|
374
|
+
event: SouffleChefCampaign.BurnEnjoyEventInstance,
|
375
|
+
ctx: aptos.AptosContext
|
376
|
+
) => void
|
226
377
|
): SouffleChefCampaign {
|
227
378
|
this.onEvent(func, {
|
228
|
-
type: "
|
379
|
+
type: "SouffleChefCampaign::BurnEnjoyEvent",
|
229
380
|
});
|
230
381
|
return this;
|
231
382
|
}
|
232
383
|
|
233
384
|
onEventPullTokenEvent(
|
234
|
-
func: (
|
385
|
+
func: (
|
386
|
+
event: SouffleChefCampaign.PullTokenEventInstance,
|
387
|
+
ctx: aptos.AptosContext
|
388
|
+
) => void
|
235
389
|
): SouffleChefCampaign {
|
236
390
|
this.onEvent(func, {
|
237
|
-
type: "
|
391
|
+
type: "SouffleChefCampaign::PullTokenEvent",
|
238
392
|
});
|
239
393
|
return this;
|
240
394
|
}
|
395
|
+
|
396
|
+
loadTypesInternal(registry: aptos.TypeRegistry) {
|
397
|
+
loadAllTypes(registry);
|
398
|
+
}
|
399
|
+
}
|
400
|
+
|
401
|
+
export namespace SouffleChefCampaign {
|
402
|
+
export class ACLBox<T0> {
|
403
|
+
box: acl.ACL;
|
404
|
+
}
|
405
|
+
|
406
|
+
export class BurnEnjoyEvent {
|
407
|
+
owner: Address;
|
408
|
+
}
|
409
|
+
|
410
|
+
export interface BurnEnjoyEventInstance
|
411
|
+
extends aptos.TypedEventInstance<BurnEnjoyEvent> {
|
412
|
+
data_typed: BurnEnjoyEvent;
|
413
|
+
}
|
414
|
+
|
415
|
+
export class BurnRule {
|
416
|
+
token_ids: SouffleChefCampaign.CollectionId[];
|
417
|
+
burn_amount: table.Table<SouffleChefCampaign.CollectionId, bigint>;
|
418
|
+
total_burn_amount: bigint;
|
419
|
+
burn_event_handle: event.EventHandle<SouffleChefCampaign.BurnEnjoyEvent>;
|
420
|
+
pull_token_event_handle: event.EventHandle<SouffleChefCampaign.PullTokenEvent>;
|
421
|
+
}
|
422
|
+
|
423
|
+
export class CollectionId {
|
424
|
+
creator: Address;
|
425
|
+
collection_name: string;
|
426
|
+
}
|
427
|
+
|
428
|
+
export class Counter<T0> {
|
429
|
+
counter: bigint;
|
430
|
+
}
|
431
|
+
|
432
|
+
export class OfferRecords {
|
433
|
+
records: table.Table<Address, token.TokenId[]>;
|
434
|
+
}
|
435
|
+
|
436
|
+
export class Property<T0> {
|
437
|
+
payee: Address;
|
438
|
+
collection: string;
|
439
|
+
token_base_name: string;
|
440
|
+
description: string;
|
441
|
+
maximum: bigint;
|
442
|
+
maximum_per_address: bigint;
|
443
|
+
uri: string;
|
444
|
+
mutate_setting: Boolean[];
|
445
|
+
royalty_payee_address: Address;
|
446
|
+
royalty_points_denominator: bigint;
|
447
|
+
royalty_points_numerator: bigint;
|
448
|
+
token_mutate_config: token.TokenMutabilityConfig;
|
449
|
+
property_keys: string[];
|
450
|
+
property_values: string[];
|
451
|
+
property_types: string[];
|
452
|
+
coin_per_token: bigint;
|
453
|
+
acl_control: Boolean;
|
454
|
+
acl_box: SouffleChefCampaign.ACLBox<T0>;
|
455
|
+
current_idx: bigint;
|
456
|
+
}
|
457
|
+
|
458
|
+
export class PropertyContainer<T0> {
|
459
|
+
container: table.Table<
|
460
|
+
SouffleChefCampaign.CollectionId,
|
461
|
+
SouffleChefCampaign.Property<T0>
|
462
|
+
>;
|
463
|
+
}
|
464
|
+
|
465
|
+
export class PullTokenEvent {
|
466
|
+
receiver: Address;
|
467
|
+
}
|
468
|
+
|
469
|
+
export interface PullTokenEventInstance
|
470
|
+
extends aptos.TypedEventInstance<PullTokenEvent> {
|
471
|
+
data_typed: PullTokenEvent;
|
472
|
+
}
|
473
|
+
|
474
|
+
export class ResourceAccountCap<T0> {
|
475
|
+
cap: account.SignerCapability;
|
476
|
+
}
|
477
|
+
|
478
|
+
export interface AddAclPayload<T0>
|
479
|
+
extends aptos.TypedEntryFunctionPayload<[string, Address]> {
|
480
|
+
arguments_typed: [string, Address];
|
481
|
+
}
|
482
|
+
|
483
|
+
export interface AddBurnTokenRulePayload<T0>
|
484
|
+
extends aptos.TypedEntryFunctionPayload<[Address, string, bigint]> {
|
485
|
+
arguments_typed: [Address, string, bigint];
|
486
|
+
}
|
487
|
+
|
488
|
+
export interface BatchAddAclPayload<T0>
|
489
|
+
extends aptos.TypedEntryFunctionPayload<[string[], Address[]]> {
|
490
|
+
arguments_typed: [string[], Address[]];
|
491
|
+
}
|
492
|
+
|
493
|
+
export interface BurnAndEnjoyPayload<T0>
|
494
|
+
extends aptos.TypedEntryFunctionPayload<
|
495
|
+
[Address, Address[], string[], string[], bigint[], bigint[]]
|
496
|
+
> {
|
497
|
+
arguments_typed: [
|
498
|
+
Address,
|
499
|
+
Address[],
|
500
|
+
string[],
|
501
|
+
string[],
|
502
|
+
bigint[],
|
503
|
+
bigint[]
|
504
|
+
];
|
505
|
+
}
|
506
|
+
|
507
|
+
export interface ClaimPayload<T0>
|
508
|
+
extends aptos.TypedEntryFunctionPayload<[Address]> {
|
509
|
+
arguments_typed: [Address];
|
510
|
+
}
|
511
|
+
|
512
|
+
export interface CreateCandyMachinePayload<T0>
|
513
|
+
extends aptos.TypedEntryFunctionPayload<[string]> {
|
514
|
+
arguments_typed: [string];
|
515
|
+
}
|
516
|
+
|
517
|
+
export interface CreateCollectionPayload<T0>
|
518
|
+
extends aptos.TypedEntryFunctionPayload<
|
519
|
+
[
|
520
|
+
Address,
|
521
|
+
string,
|
522
|
+
string,
|
523
|
+
string,
|
524
|
+
string,
|
525
|
+
string,
|
526
|
+
bigint,
|
527
|
+
bigint,
|
528
|
+
Boolean[],
|
529
|
+
Address,
|
530
|
+
bigint,
|
531
|
+
bigint,
|
532
|
+
string[],
|
533
|
+
string[],
|
534
|
+
string[],
|
535
|
+
bigint,
|
536
|
+
Boolean
|
537
|
+
]
|
538
|
+
> {
|
539
|
+
arguments_typed: [
|
540
|
+
Address,
|
541
|
+
string,
|
542
|
+
string,
|
543
|
+
string,
|
544
|
+
string,
|
545
|
+
string,
|
546
|
+
bigint,
|
547
|
+
bigint,
|
548
|
+
Boolean[],
|
549
|
+
Address,
|
550
|
+
bigint,
|
551
|
+
bigint,
|
552
|
+
string[],
|
553
|
+
string[],
|
554
|
+
string[],
|
555
|
+
bigint,
|
556
|
+
Boolean
|
557
|
+
];
|
558
|
+
}
|
559
|
+
|
560
|
+
export interface PullTokenPayload<T0>
|
561
|
+
extends aptos.TypedEntryFunctionPayload<
|
562
|
+
[Address, Address, string, bigint]
|
563
|
+
> {
|
564
|
+
arguments_typed: [Address, Address, string, bigint];
|
565
|
+
}
|
566
|
+
|
567
|
+
export interface PullTokenV2Payload<T0>
|
568
|
+
extends aptos.TypedEntryFunctionPayload<
|
569
|
+
[Address, Address, string, bigint]
|
570
|
+
> {
|
571
|
+
arguments_typed: [Address, Address, string, bigint];
|
572
|
+
}
|
573
|
+
|
574
|
+
export interface RemoveBurnTokenRulePayload<T0>
|
575
|
+
extends aptos.TypedEntryFunctionPayload<[Address, string, bigint]> {
|
576
|
+
arguments_typed: [Address, string, bigint];
|
577
|
+
}
|
578
|
+
|
579
|
+
export interface UpdateTokenPropertyPayload<T0>
|
580
|
+
extends aptos.TypedEntryFunctionPayload<
|
581
|
+
[
|
582
|
+
Address,
|
583
|
+
Address,
|
584
|
+
string,
|
585
|
+
string,
|
586
|
+
bigint,
|
587
|
+
bigint,
|
588
|
+
string[],
|
589
|
+
string[],
|
590
|
+
string[]
|
591
|
+
]
|
592
|
+
> {
|
593
|
+
arguments_typed: [
|
594
|
+
Address,
|
595
|
+
Address,
|
596
|
+
string,
|
597
|
+
string,
|
598
|
+
bigint,
|
599
|
+
bigint,
|
600
|
+
string[],
|
601
|
+
string[],
|
602
|
+
string[]
|
603
|
+
];
|
604
|
+
}
|
605
|
+
|
606
|
+
export function loadTypes(registry: aptos.TypeRegistry) {
|
607
|
+
loadAllTypes(registry);
|
608
|
+
}
|
609
|
+
export const ABI: MoveModule = JSON.parse(
|
610
|
+
'{"address":"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807","name":"SouffleChefCampaign","friends":[],"exposed_functions":[{"name":"add_acl","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","0x1::string::String","address"],"return":[]},{"name":"add_burn_token_rule","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","u64"],"return":[]},{"name":"batch_add_acl","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<0x1::string::String>","vector<address>"],"return":[]},{"name":"burn_and_enjoy","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>"],"return":[]},{"name":"claim","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address"],"return":[]},{"name":"create_candy_machine","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","0x1::string::String"],"return":[]},{"name":"create_collection","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","u64","u64","vector<bool>","address","u64","u64","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>","u64","bool"],"return":[]},{"name":"pull_token","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","address","0x1::string::String","u64"],"return":[]},{"name":"pull_token_v2","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","address","0x1::string::String","u64"],"return":[]},{"name":"remove_burn_token_rule","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","u64"],"return":[]},{"name":"update_token_property","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","address","0x1::string::String","0x1::string::String","u64","u64","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>"],"return":[]}],"structs":[{"name":"ACLBox","is_native":false,"abilities":["copy","drop","store","key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"box","type":"0x1::acl::ACL"}]},{"name":"BurnEnjoyEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"owner","type":"address"}]},{"name":"BurnRule","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"token_ids","type":"vector<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::CollectionId>"},{"name":"burn_amount","type":"0x1::table::Table<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::CollectionId, u64>"},{"name":"total_burn_amount","type":"u64"},{"name":"burn_event_handle","type":"0x1::event::EventHandle<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::BurnEnjoyEvent>"},{"name":"pull_token_event_handle","type":"0x1::event::EventHandle<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::PullTokenEvent>"}]},{"name":"CollectionId","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection_name","type":"0x1::string::String"}]},{"name":"Counter","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"counter","type":"u64"}]},{"name":"OfferRecords","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"records","type":"0x1::table::Table<address, vector<0x3::token::TokenId>>"}]},{"name":"Property","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"payee","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token_base_name","type":"0x1::string::String"},{"name":"description","type":"0x1::string::String"},{"name":"maximum","type":"u64"},{"name":"maximum_per_address","type":"u64"},{"name":"uri","type":"0x1::string::String"},{"name":"mutate_setting","type":"vector<bool>"},{"name":"royalty_payee_address","type":"address"},{"name":"royalty_points_denominator","type":"u64"},{"name":"royalty_points_numerator","type":"u64"},{"name":"token_mutate_config","type":"0x3::token::TokenMutabilityConfig"},{"name":"property_keys","type":"vector<0x1::string::String>"},{"name":"property_values","type":"vector<vector<u8>>"},{"name":"property_types","type":"vector<0x1::string::String>"},{"name":"coin_per_token","type":"u64"},{"name":"acl_control","type":"bool"},{"name":"acl_box","type":"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::ACLBox<T0>"},{"name":"current_idx","type":"u64"}]},{"name":"PropertyContainer","is_native":false,"abilities":["store","key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"container","type":"0x1::table::Table<0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::CollectionId, 0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::Property<T0>>"}]},{"name":"PullTokenEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"receiver","type":"address"}]},{"name":"ResourceAccountCap","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"cap","type":"0x1::account::SignerCapability"}]}]}'
|
611
|
+
);
|
612
|
+
}
|
613
|
+
|
614
|
+
function loadAllTypes(registry: aptos.TypeRegistry) {
|
615
|
+
acl.loadTypes(registry);
|
616
|
+
account.loadTypes(registry);
|
617
|
+
table.loadTypes(registry);
|
618
|
+
event.loadTypes(registry);
|
619
|
+
token.loadTypes(registry);
|
620
|
+
|
621
|
+
registry.load(CandyMachine.ABI);
|
622
|
+
registry.load(SouffleChefCampaign.ABI);
|
241
623
|
}
|
@@ -19,19 +19,19 @@ export class Basic1Processor extends SolanaBaseProcessor {
|
|
19
19
|
}
|
20
20
|
|
21
21
|
|
22
|
-
onInitialize(handler: (args: { data: BN }, ctx: SolanaContext) => void): Basic1Processor {
|
23
|
-
this.onInstruction('initialize', (ins: Instruction, ctx) => {
|
22
|
+
onInitialize(handler: (args: { data: BN }, accounts: string[], ctx: SolanaContext) => void): Basic1Processor {
|
23
|
+
this.onInstruction('initialize', (ins: Instruction, ctx, accounts: string[]) => {
|
24
24
|
if (ins) {
|
25
|
-
handler(ins.data as { data: BN }, ctx)
|
25
|
+
handler(ins.data as { data: BN }, accounts, ctx)
|
26
26
|
}
|
27
27
|
})
|
28
28
|
return this
|
29
29
|
}
|
30
30
|
|
31
|
-
onUpdate(handler: (args: { data: BN }, ctx: SolanaContext) => void): Basic1Processor {
|
32
|
-
this.onInstruction('update', (ins: Instruction, ctx) => {
|
31
|
+
onUpdate(handler: (args: { data: BN }, accounts: string[], ctx: SolanaContext) => void): Basic1Processor {
|
32
|
+
this.onInstruction('update', (ins: Instruction, ctx, accounts: string[]) => {
|
33
33
|
if (ins) {
|
34
|
-
handler(ins.data as { data: BN }, ctx)
|
34
|
+
handler(ins.data as { data: BN }, accounts, ctx)
|
35
35
|
}
|
36
36
|
})
|
37
37
|
return this
|
@@ -2,8 +2,9 @@ import { TokenBridgeProcessor, SPLTokenProcessor } from '../builtin/solana'
|
|
2
2
|
|
3
3
|
TokenBridgeProcessor.bind({
|
4
4
|
address: 'wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb',
|
5
|
-
}).onTransferNative((args, ctx) => {
|
5
|
+
}).onTransferNative((args, accounts, ctx) => {
|
6
6
|
ctx.meter.Counter('total_transfer_amount').add(args.amount)
|
7
|
+
ctx.meter.Counter(accounts[0]).add(args.amount)
|
7
8
|
})
|
8
9
|
|
9
10
|
SPLTokenProcessor.bind({ address: 'wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb' })
|
package/src/types/global.d.ts
CHANGED