@sentio/sdk 1.27.2 → 1.27.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/lib/aptos/types.js +4 -3
  2. package/lib/aptos/types.js.map +1 -1
  3. package/lib/{tests/aptos.test.d.ts → aptos/types.test.d.ts} +0 -0
  4. package/lib/aptos/types.test.js.map +1 -0
  5. package/lib/aptos/utils.d.ts +2 -1
  6. package/lib/aptos/utils.js +9 -1
  7. package/lib/aptos/utils.js.map +1 -1
  8. package/lib/aptos-codegen/codegen.js +1 -7
  9. package/lib/aptos-codegen/codegen.js.map +1 -1
  10. package/lib/processor-runner.js +2 -2
  11. package/lib/processor-runner.js.map +1 -1
  12. package/package.json +4 -4
  13. package/src/aptos/types.ts +5 -4
  14. package/src/aptos/utils.ts +9 -1
  15. package/src/aptos-codegen/codegen.ts +2 -9
  16. package/src/processor-runner.ts +2 -2
  17. package/lib/core/generic-processor.test.js +0 -58
  18. package/lib/core/meter.test.js +0 -21
  19. package/lib/core/numberish.test.js +0 -70
  20. package/lib/tests/aptos.test.js +0 -304
  21. package/lib/tests/aptos.test.js.map +0 -1
  22. package/lib/tests/codegen.test.d.ts +0 -1
  23. package/lib/tests/codegen.test.js +0 -49
  24. package/lib/tests/codegen.test.js.map +0 -1
  25. package/lib/tests/erc20-template.test.d.ts +0 -1
  26. package/lib/tests/erc20-template.test.js +0 -56
  27. package/lib/tests/erc20-template.test.js.map +0 -1
  28. package/lib/tests/erc20.d.ts +0 -1
  29. package/lib/tests/erc20.js +0 -54
  30. package/lib/tests/erc20.js.map +0 -1
  31. package/lib/tests/erc20.test.d.ts +0 -1
  32. package/lib/tests/erc20.test.js +0 -94
  33. package/lib/tests/erc20.test.js.map +0 -1
  34. package/lib/tests/error-capture.test.d.ts +0 -1
  35. package/lib/tests/error-capture.test.js +0 -76
  36. package/lib/tests/error-capture.test.js.map +0 -1
  37. package/lib/tests/logger.test.d.ts +0 -1
  38. package/lib/tests/logger.test.js +0 -40
  39. package/lib/tests/logger.test.js.map +0 -1
  40. package/lib/tests/solana.test.d.ts +0 -1
  41. package/lib/tests/solana.test.js +0 -77
  42. package/lib/tests/solana.test.js.map +0 -1
  43. package/lib/tests/souffl3.d.ts +0 -1
  44. package/lib/tests/souffl3.js +0 -46
  45. package/lib/tests/souffl3.js.map +0 -1
  46. package/lib/tests/sui.test.d.ts +0 -1
  47. package/lib/tests/sui.test.js +0 -193
  48. package/lib/tests/sui.test.js.map +0 -1
  49. package/lib/tests/types/aptos/soffl3.d.ts +0 -786
  50. package/lib/tests/types/aptos/soffl3.js +0 -559
  51. package/lib/tests/types/aptos/soffl3.js.map +0 -1
  52. package/lib/tests/types/aptos/souffle.d.ts +0 -348
  53. package/lib/tests/types/aptos/souffle.js +0 -303
  54. package/lib/tests/types/aptos/souffle.js.map +0 -1
  55. package/lib/tests/types/solana/basic_1.d.ts +0 -26
  56. package/lib/tests/types/solana/basic_1.js +0 -66
  57. package/lib/tests/types/solana/basic_1.js.map +0 -1
  58. package/lib/tests/types/solana/basic_1_processor.d.ts +0 -13
  59. package/lib/tests/types/solana/basic_1_processor.js +0 -41
  60. package/lib/tests/types/solana/basic_1_processor.js.map +0 -1
  61. package/lib/tests/wormhole-token-bridge.d.ts +0 -1
  62. package/lib/tests/wormhole-token-bridge.js +0 -22
  63. package/lib/tests/wormhole-token-bridge.js.map +0 -1
  64. package/lib/utils/dex-price.test.js +0 -22
  65. package/lib/utils/erc20.test.js +0 -23
  66. package/src/aptos-codegen/typegen.test.ts +0 -44
  67. package/src/core/generic-processor.test.ts +0 -69
  68. package/src/core/meter.test.ts +0 -23
  69. package/src/core/numberish.test.ts +0 -82
  70. package/src/tests/abis/aptos/soffl3.json +0 -1411
  71. package/src/tests/abis/aptos/souffle.json +0 -389
  72. package/src/tests/abis/evm/CommitmentPool.json +0 -1034
  73. package/src/tests/abis/evm/Seaport.json +0 -2595
  74. package/src/tests/abis/evm/anyswapRouter.json +0 -490
  75. package/src/tests/abis/solana/basic_1.json +0 -62
  76. package/src/tests/aptos.test.ts +0 -324
  77. package/src/tests/codegen.test.ts +0 -29
  78. package/src/tests/erc20-template.test.ts +0 -60
  79. package/src/tests/erc20.test.ts +0 -115
  80. package/src/tests/erc20.ts +0 -60
  81. package/src/tests/error-capture.test.ts +0 -82
  82. package/src/tests/logger.test.ts +0 -46
  83. package/src/tests/solana.test.ts +0 -79
  84. package/src/tests/souffl3.ts +0 -52
  85. package/src/tests/sui.test.ts +0 -197
  86. package/src/tests/types/aptos/soffl3.ts +0 -1377
  87. package/src/tests/types/aptos/souffle.ts +0 -698
  88. package/src/tests/types/solana/basic_1.ts +0 -62
  89. package/src/tests/types/solana/basic_1_processor.ts +0 -41
  90. package/src/tests/wormhole-token-bridge.ts +0 -21
  91. package/src/types/global.d.ts +0 -5
  92. package/src/utils/dex-price.test.ts +0 -25
  93. package/src/utils/erc20.test.ts +0 -26
  94. package/templates/aptos/.gitignore +0 -107
  95. package/templates/aptos/src/processor.test.ts +0 -14
  96. package/templates/evm/.gitignore +0 -107
  97. package/templates/evm/src/processor.test.ts +0 -29
  98. package/templates/raw/.gitignore +0 -107
  99. package/templates/raw/src/processor.test.ts +0 -14
@@ -1,1377 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- /* Generated modules for account 0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4 */
6
-
7
- import { aptos } from "@sentio/sdk";
8
- import { Address, MoveModule } from "aptos-sdk/src/generated";
9
-
10
- import { token } from "@sentio/sdk/src/builtin/aptos/0x3";
11
- import {
12
- type_info,
13
- table,
14
- event,
15
- acl,
16
- account,
17
- } from "@sentio/sdk/src/builtin/aptos/0x1";
18
-
19
- export class Aggregator extends aptos.AptosBaseProcessor {
20
- constructor(options: aptos.AptosBindOptions) {
21
- super("Aggregator", options);
22
- }
23
- static DEFAULT_OPTIONS: aptos.AptosBindOptions = {
24
- address:
25
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4",
26
- network: aptos.AptosNetwork.MAIN_NET,
27
- };
28
-
29
- static bind(options: Partial<aptos.AptosBindOptions> = {}): Aggregator {
30
- return new Aggregator({ ...Aggregator.DEFAULT_OPTIONS, ...options });
31
- }
32
-
33
- onEntryBatchBuyScriptV1(
34
- func: (
35
- call: Aggregator.BatchBuyScriptV1Payload,
36
- ctx: aptos.AptosContext
37
- ) => void,
38
- filter?: aptos.CallFilter
39
- ): Aggregator {
40
- this.onEntryFunctionCall(func, {
41
- ...filter,
42
- function: "Aggregator::batch_buy_script_V1",
43
- });
44
- return this;
45
- }
46
-
47
- onEntryBatchChangePriceScriptV1(
48
- func: (
49
- call: Aggregator.BatchChangePriceScriptV1Payload,
50
- ctx: aptos.AptosContext
51
- ) => void,
52
- filter?: aptos.CallFilter
53
- ): Aggregator {
54
- this.onEntryFunctionCall(func, {
55
- ...filter,
56
- function: "Aggregator::batch_change_price_script_V1",
57
- });
58
- return this;
59
- }
60
-
61
- onEntryBatchDelistScriptV1(
62
- func: (
63
- call: Aggregator.BatchDelistScriptV1Payload,
64
- ctx: aptos.AptosContext
65
- ) => void,
66
- filter?: aptos.CallFilter
67
- ): Aggregator {
68
- this.onEntryFunctionCall(func, {
69
- ...filter,
70
- function: "Aggregator::batch_delist_script_V1",
71
- });
72
- return this;
73
- }
74
-
75
- loadTypesInternal(registry: aptos.TypeRegistry) {
76
- loadAllTypes(registry);
77
- }
78
- }
79
-
80
- export namespace Aggregator {
81
- export class BlueMove_V2_batch_buy_script {
82
- static TYPE_QNAME =
83
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::BlueMove_V2_batch_buy_script";
84
- creators: Address[];
85
- collections: string[];
86
- names: string[];
87
- prices: bigint[];
88
- }
89
-
90
- export class BlueMove_V2_batch_delist_sciprt {
91
- static TYPE_QNAME =
92
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::BlueMove_V2_batch_delist_sciprt";
93
- creators: Address[];
94
- collections: string[];
95
- names: string[];
96
- property_versions: bigint[];
97
- }
98
-
99
- export class Souffl3_batch_buy_script<T0> {
100
- static TYPE_QNAME =
101
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Souffl3_batch_buy_script";
102
- creator_lists: Address[];
103
- collection_lists: string[];
104
- name_lists: string[];
105
- property_version_lists: bigint[];
106
- token_amount_lists: bigint[];
107
- coin_amount_lists: bigint[];
108
- market_address_lists: Address[];
109
- market_name_lists: string[];
110
- }
111
-
112
- export class Souffl3_batch_change_price_script<T0> {
113
- static TYPE_QNAME =
114
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Souffl3_batch_change_price_script";
115
- creator_lists: Address[];
116
- collection_lists: string[];
117
- name_lists: string[];
118
- property_version_lists: bigint[];
119
- token_amount_lists: bigint[];
120
- coin_per_token_lists: bigint[];
121
- locked_until_secs_lists: bigint[];
122
- market_address_lists: Address[];
123
- market_name_lists: string[];
124
- }
125
-
126
- export class Souffl3_batch_delist_sciprt<T0> {
127
- static TYPE_QNAME =
128
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Souffl3_batch_delist_sciprt";
129
- creator_lists: Address[];
130
- collection_lists: string[];
131
- name_lists: string[];
132
- property_version_lists: bigint[];
133
- token_amount_lists: bigint[];
134
- market_address_lists: Address[];
135
- market_name_lists: string[];
136
- }
137
-
138
- export class Souffl3_batch_list_script<T0> {
139
- static TYPE_QNAME =
140
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Souffl3_batch_list_script";
141
- creator_lists: Address[];
142
- collection_lists: string[];
143
- name_lists: string[];
144
- property_version_lists: bigint[];
145
- token_amount_lists: bigint[];
146
- coin_amount_lists: bigint[];
147
- locked_until_secs_lists: bigint[];
148
- market_address_lists: Address[];
149
- market_name_lists: string[];
150
- }
151
-
152
- export class Topaz_V2_buy_many<T0> {
153
- static TYPE_QNAME =
154
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Topaz_V2_buy_many";
155
- listers: Address[];
156
- prices: bigint[];
157
- amounts: bigint[];
158
- creators: Address[];
159
- collections: string[];
160
- names: string[];
161
- property_versions: bigint[];
162
- }
163
-
164
- export class Topaz_V2_delist<T0> {
165
- static TYPE_QNAME =
166
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Topaz_V2_delist";
167
- amounts: bigint[];
168
- creators: Address[];
169
- collections: string[];
170
- names: string[];
171
- property_versions: bigint[];
172
- }
173
-
174
- export interface BatchBuyScriptV1Payload
175
- extends aptos.TypedEntryFunctionPayload<
176
- [
177
- string[],
178
- Address[],
179
- bigint[],
180
- bigint[],
181
- Address[],
182
- string[],
183
- string[],
184
- bigint[],
185
- Address[],
186
- string[]
187
- ]
188
- > {
189
- arguments_typed: [
190
- string[],
191
- Address[],
192
- bigint[],
193
- bigint[],
194
- Address[],
195
- string[],
196
- string[],
197
- bigint[],
198
- Address[],
199
- string[]
200
- ];
201
- type_arguments: [];
202
- }
203
-
204
- export interface BatchChangePriceScriptV1Payload
205
- extends aptos.TypedEntryFunctionPayload<
206
- [
207
- string[],
208
- Address[],
209
- string[],
210
- string[],
211
- bigint[],
212
- bigint[],
213
- bigint[],
214
- bigint[],
215
- Address[],
216
- string[]
217
- ]
218
- > {
219
- arguments_typed: [
220
- string[],
221
- Address[],
222
- string[],
223
- string[],
224
- bigint[],
225
- bigint[],
226
- bigint[],
227
- bigint[],
228
- Address[],
229
- string[]
230
- ];
231
- type_arguments: [];
232
- }
233
-
234
- export interface BatchDelistScriptV1Payload
235
- extends aptos.TypedEntryFunctionPayload<
236
- [
237
- string[],
238
- bigint[],
239
- Address[],
240
- string[],
241
- string[],
242
- bigint[],
243
- Address[],
244
- string[]
245
- ]
246
- > {
247
- arguments_typed: [
248
- string[],
249
- bigint[],
250
- Address[],
251
- string[],
252
- string[],
253
- bigint[],
254
- Address[],
255
- string[]
256
- ];
257
- type_arguments: [];
258
- }
259
-
260
- export function loadTypes(_r: aptos.TypeRegistry) {
261
- loadAllTypes(_r);
262
- }
263
- export const ABI: MoveModule = JSON.parse(
264
- '{"address":"0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4","name":"Aggregator","friends":[],"exposed_functions":[{"name":"batch_buy_script_V1","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<0x1::string::String>","vector<address>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_change_price_script_V1","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<0x1::string::String>","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_delist_script_V1","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<0x1::string::String>","vector<u64>","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]}],"structs":[{"name":"BlueMove_V2_batch_buy_script","is_native":false,"abilities":["copy","drop"],"generic_type_params":[],"fields":[{"name":"creators","type":"vector<address>"},{"name":"collections","type":"vector<0x1::string::String>"},{"name":"names","type":"vector<0x1::string::String>"},{"name":"prices","type":"vector<u64>"}]},{"name":"BlueMove_V2_batch_delist_sciprt","is_native":false,"abilities":["copy","drop"],"generic_type_params":[],"fields":[{"name":"creators","type":"vector<address>"},{"name":"collections","type":"vector<0x1::string::String>"},{"name":"names","type":"vector<0x1::string::String>"},{"name":"property_versions","type":"vector<u64>"}]},{"name":"Souffl3_batch_buy_script","is_native":false,"abilities":["copy","drop"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"creator_lists","type":"vector<address>"},{"name":"collection_lists","type":"vector<0x1::string::String>"},{"name":"name_lists","type":"vector<0x1::string::String>"},{"name":"property_version_lists","type":"vector<u64>"},{"name":"token_amount_lists","type":"vector<u64>"},{"name":"coin_amount_lists","type":"vector<u64>"},{"name":"market_address_lists","type":"vector<address>"},{"name":"market_name_lists","type":"vector<0x1::string::String>"}]},{"name":"Souffl3_batch_change_price_script","is_native":false,"abilities":["copy","drop"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"creator_lists","type":"vector<address>"},{"name":"collection_lists","type":"vector<0x1::string::String>"},{"name":"name_lists","type":"vector<0x1::string::String>"},{"name":"property_version_lists","type":"vector<u64>"},{"name":"token_amount_lists","type":"vector<u64>"},{"name":"coin_per_token_lists","type":"vector<u64>"},{"name":"locked_until_secs_lists","type":"vector<u64>"},{"name":"market_address_lists","type":"vector<address>"},{"name":"market_name_lists","type":"vector<0x1::string::String>"}]},{"name":"Souffl3_batch_delist_sciprt","is_native":false,"abilities":["copy","drop"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"creator_lists","type":"vector<address>"},{"name":"collection_lists","type":"vector<0x1::string::String>"},{"name":"name_lists","type":"vector<0x1::string::String>"},{"name":"property_version_lists","type":"vector<u64>"},{"name":"token_amount_lists","type":"vector<u64>"},{"name":"market_address_lists","type":"vector<address>"},{"name":"market_name_lists","type":"vector<0x1::string::String>"}]},{"name":"Souffl3_batch_list_script","is_native":false,"abilities":["copy","drop"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"creator_lists","type":"vector<address>"},{"name":"collection_lists","type":"vector<0x1::string::String>"},{"name":"name_lists","type":"vector<0x1::string::String>"},{"name":"property_version_lists","type":"vector<u64>"},{"name":"token_amount_lists","type":"vector<u64>"},{"name":"coin_amount_lists","type":"vector<u64>"},{"name":"locked_until_secs_lists","type":"vector<u64>"},{"name":"market_address_lists","type":"vector<address>"},{"name":"market_name_lists","type":"vector<0x1::string::String>"}]},{"name":"Topaz_V2_buy_many","is_native":false,"abilities":["copy","drop"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"listers","type":"vector<address>"},{"name":"prices","type":"vector<u64>"},{"name":"amounts","type":"vector<u64>"},{"name":"creators","type":"vector<address>"},{"name":"collections","type":"vector<0x1::string::String>"},{"name":"names","type":"vector<0x1::string::String>"},{"name":"property_versions","type":"vector<u64>"}]},{"name":"Topaz_V2_delist","is_native":false,"abilities":["copy","drop"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"amounts","type":"vector<u64>"},{"name":"creators","type":"vector<address>"},{"name":"collections","type":"vector<0x1::string::String>"},{"name":"names","type":"vector<0x1::string::String>"},{"name":"property_versions","type":"vector<u64>"}]}]}'
265
- );
266
- }
267
-
268
- export class token_coin_swap extends aptos.AptosBaseProcessor {
269
- constructor(options: aptos.AptosBindOptions) {
270
- super("token_coin_swap", options);
271
- }
272
- static DEFAULT_OPTIONS: aptos.AptosBindOptions = {
273
- address:
274
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4",
275
- network: aptos.AptosNetwork.MAIN_NET,
276
- };
277
-
278
- static bind(options: Partial<aptos.AptosBindOptions> = {}): token_coin_swap {
279
- return new token_coin_swap({
280
- ...token_coin_swap.DEFAULT_OPTIONS,
281
- ...options,
282
- });
283
- }
284
-
285
- onEntryListTokenForSwap(
286
- func: (
287
- call: token_coin_swap.ListTokenForSwapPayload,
288
- ctx: aptos.AptosContext
289
- ) => void,
290
- filter?: aptos.CallFilter
291
- ): token_coin_swap {
292
- this.onEntryFunctionCall(func, {
293
- ...filter,
294
- function: "token_coin_swap::list_token_for_swap",
295
- });
296
- return this;
297
- }
298
-
299
- onEventTokenListingEvent(
300
- func: (
301
- event: token_coin_swap.TokenListingEventInstance,
302
- ctx: aptos.AptosContext
303
- ) => void
304
- ): token_coin_swap {
305
- this.onEvent(func, {
306
- type: "token_coin_swap::TokenListingEvent",
307
- });
308
- return this;
309
- }
310
-
311
- onEventTokenSwapEvent(
312
- func: (
313
- event: token_coin_swap.TokenSwapEventInstance,
314
- ctx: aptos.AptosContext
315
- ) => void
316
- ): token_coin_swap {
317
- this.onEvent(func, {
318
- type: "token_coin_swap::TokenSwapEvent",
319
- });
320
- return this;
321
- }
322
-
323
- loadTypesInternal(registry: aptos.TypeRegistry) {
324
- loadAllTypes(registry);
325
- }
326
- }
327
-
328
- export namespace token_coin_swap {
329
- export class TokenCoinSwap<T0> {
330
- static TYPE_QNAME =
331
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenCoinSwap";
332
- token_amount: bigint;
333
- min_price_per_token: bigint;
334
- }
335
-
336
- export class TokenEscrow {
337
- static TYPE_QNAME =
338
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenEscrow";
339
- token: token.Token;
340
- locked_until_secs: bigint;
341
- }
342
-
343
- export class TokenListingEvent {
344
- static TYPE_QNAME =
345
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenListingEvent";
346
- token_id: token.TokenId;
347
- amount: bigint;
348
- min_price: bigint;
349
- locked_until_secs: bigint;
350
- coin_type_info: type_info.TypeInfo;
351
- }
352
-
353
- export interface TokenListingEventInstance
354
- extends aptos.TypedEventInstance<TokenListingEvent> {
355
- data_typed: TokenListingEvent;
356
- type_arguments: [];
357
- }
358
-
359
- export class TokenListings<T0> {
360
- static TYPE_QNAME =
361
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenListings";
362
- listings: table.Table<token.TokenId, token_coin_swap.TokenCoinSwap<T0>>;
363
- listing_events: event.EventHandle<token_coin_swap.TokenListingEvent>;
364
- swap_events: event.EventHandle<token_coin_swap.TokenSwapEvent>;
365
- }
366
-
367
- export class TokenStoreEscrow {
368
- static TYPE_QNAME =
369
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenStoreEscrow";
370
- token_escrows: table.Table<token.TokenId, token_coin_swap.TokenEscrow>;
371
- }
372
-
373
- export class TokenSwapEvent {
374
- static TYPE_QNAME =
375
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenSwapEvent";
376
- token_id: token.TokenId;
377
- token_buyer: Address;
378
- token_amount: bigint;
379
- coin_amount: bigint;
380
- coin_type_info: type_info.TypeInfo;
381
- }
382
-
383
- export interface TokenSwapEventInstance
384
- extends aptos.TypedEventInstance<TokenSwapEvent> {
385
- data_typed: TokenSwapEvent;
386
- type_arguments: [];
387
- }
388
-
389
- export interface ListTokenForSwapPayload<T0 = any>
390
- extends aptos.TypedEntryFunctionPayload<
391
- [Address, string, string, bigint, bigint, bigint, bigint]
392
- > {
393
- arguments_typed: [Address, string, string, bigint, bigint, bigint, bigint];
394
- type_arguments: [string];
395
- }
396
-
397
- export function loadTypes(_r: aptos.TypeRegistry) {
398
- loadAllTypes(_r);
399
- }
400
- export const ABI: MoveModule = JSON.parse(
401
- '{"address":"0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4","name":"token_coin_swap","friends":[],"exposed_functions":[{"name":"cancel_token_listing","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","0x3::token::TokenId","u64"],"return":[]},{"name":"deposit_token_to_escrow","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenId","0x3::token::Token","u64"],"return":[]},{"name":"does_listing_exist","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["address","0x3::token::TokenId"],"return":["bool"]},{"name":"exchange_coin_for_token","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","u64","address","address","0x1::string::String","0x1::string::String","u64","u64"],"return":[]},{"name":"list_token_for_swap","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","u64"],"return":[]},{"name":"withdraw_token_from_escrow","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenId","u64"],"return":["0x3::token::Token"]}],"structs":[{"name":"TokenCoinSwap","is_native":false,"abilities":["drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"token_amount","type":"u64"},{"name":"min_price_per_token","type":"u64"}]},{"name":"TokenEscrow","is_native":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"token","type":"0x3::token::Token"},{"name":"locked_until_secs","type":"u64"}]},{"name":"TokenListingEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"},{"name":"min_price","type":"u64"},{"name":"locked_until_secs","type":"u64"},{"name":"coin_type_info","type":"0x1::type_info::TypeInfo"}]},{"name":"TokenListings","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"listings","type":"0x1::table::Table<0x3::token::TokenId, 0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenCoinSwap<T0>>"},{"name":"listing_events","type":"0x1::event::EventHandle<0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenListingEvent>"},{"name":"swap_events","type":"0x1::event::EventHandle<0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenSwapEvent>"}]},{"name":"TokenStoreEscrow","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"token_escrows","type":"0x1::table::Table<0x3::token::TokenId, 0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenEscrow>"}]},{"name":"TokenSwapEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"token_id","type":"0x3::token::TokenId"},{"name":"token_buyer","type":"address"},{"name":"token_amount","type":"u64"},{"name":"coin_amount","type":"u64"},{"name":"coin_type_info","type":"0x1::type_info::TypeInfo"}]}]}'
402
- );
403
- }
404
-
405
- export class FixedPriceMarket extends aptos.AptosBaseProcessor {
406
- constructor(options: aptos.AptosBindOptions) {
407
- super("FixedPriceMarket", options);
408
- }
409
- static DEFAULT_OPTIONS: aptos.AptosBindOptions = {
410
- address:
411
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4",
412
- network: aptos.AptosNetwork.MAIN_NET,
413
- };
414
-
415
- static bind(options: Partial<aptos.AptosBindOptions> = {}): FixedPriceMarket {
416
- return new FixedPriceMarket({
417
- ...FixedPriceMarket.DEFAULT_OPTIONS,
418
- ...options,
419
- });
420
- }
421
-
422
- onEntryAddAcl(
423
- func: (
424
- call: FixedPriceMarket.AddAclPayload,
425
- ctx: aptos.AptosContext
426
- ) => void,
427
- filter?: aptos.CallFilter
428
- ): FixedPriceMarket {
429
- this.onEntryFunctionCall(func, {
430
- ...filter,
431
- function: "FixedPriceMarket::add_acl",
432
- });
433
- return this;
434
- }
435
-
436
- onEntryBatchBuyScript(
437
- func: (
438
- call: FixedPriceMarket.BatchBuyScriptPayload,
439
- ctx: aptos.AptosContext
440
- ) => void,
441
- filter?: aptos.CallFilter
442
- ): FixedPriceMarket {
443
- this.onEntryFunctionCall(func, {
444
- ...filter,
445
- function: "FixedPriceMarket::batch_buy_script",
446
- });
447
- return this;
448
- }
449
-
450
- onEntryBatchCancelListScript(
451
- func: (
452
- call: FixedPriceMarket.BatchCancelListScriptPayload,
453
- ctx: aptos.AptosContext
454
- ) => void,
455
- filter?: aptos.CallFilter
456
- ): FixedPriceMarket {
457
- this.onEntryFunctionCall(func, {
458
- ...filter,
459
- function: "FixedPriceMarket::batch_cancel_list_script",
460
- });
461
- return this;
462
- }
463
-
464
- onEntryBatchChangePriceScript(
465
- func: (
466
- call: FixedPriceMarket.BatchChangePriceScriptPayload,
467
- ctx: aptos.AptosContext
468
- ) => void,
469
- filter?: aptos.CallFilter
470
- ): FixedPriceMarket {
471
- this.onEntryFunctionCall(func, {
472
- ...filter,
473
- function: "FixedPriceMarket::batch_change_price_script",
474
- });
475
- return this;
476
- }
477
-
478
- onEntryBatchListScript(
479
- func: (
480
- call: FixedPriceMarket.BatchListScriptPayload,
481
- ctx: aptos.AptosContext
482
- ) => void,
483
- filter?: aptos.CallFilter
484
- ): FixedPriceMarket {
485
- this.onEntryFunctionCall(func, {
486
- ...filter,
487
- function: "FixedPriceMarket::batch_list_script",
488
- });
489
- return this;
490
- }
491
-
492
- onEntryBuyScript(
493
- func: (
494
- call: FixedPriceMarket.BuyScriptPayload,
495
- ctx: aptos.AptosContext
496
- ) => void,
497
- filter?: aptos.CallFilter
498
- ): FixedPriceMarket {
499
- this.onEntryFunctionCall(func, {
500
- ...filter,
501
- function: "FixedPriceMarket::buy_script",
502
- });
503
- return this;
504
- }
505
-
506
- onEntryCancelListScript(
507
- func: (
508
- call: FixedPriceMarket.CancelListScriptPayload,
509
- ctx: aptos.AptosContext
510
- ) => void,
511
- filter?: aptos.CallFilter
512
- ): FixedPriceMarket {
513
- this.onEntryFunctionCall(func, {
514
- ...filter,
515
- function: "FixedPriceMarket::cancel_list_script",
516
- });
517
- return this;
518
- }
519
-
520
- onEntryChangePriceScript(
521
- func: (
522
- call: FixedPriceMarket.ChangePriceScriptPayload,
523
- ctx: aptos.AptosContext
524
- ) => void,
525
- filter?: aptos.CallFilter
526
- ): FixedPriceMarket {
527
- this.onEntryFunctionCall(func, {
528
- ...filter,
529
- function: "FixedPriceMarket::change_price_script",
530
- });
531
- return this;
532
- }
533
-
534
- onEntryCreateMarket(
535
- func: (
536
- call: FixedPriceMarket.CreateMarketPayload,
537
- ctx: aptos.AptosContext
538
- ) => void,
539
- filter?: aptos.CallFilter
540
- ): FixedPriceMarket {
541
- this.onEntryFunctionCall(func, {
542
- ...filter,
543
- function: "FixedPriceMarket::create_market",
544
- });
545
- return this;
546
- }
547
-
548
- onEntryListScript(
549
- func: (
550
- call: FixedPriceMarket.ListScriptPayload,
551
- ctx: aptos.AptosContext
552
- ) => void,
553
- filter?: aptos.CallFilter
554
- ): FixedPriceMarket {
555
- this.onEntryFunctionCall(func, {
556
- ...filter,
557
- function: "FixedPriceMarket::list_script",
558
- });
559
- return this;
560
- }
561
-
562
- onEntryTransferEscrow(
563
- func: (
564
- call: FixedPriceMarket.TransferEscrowPayload,
565
- ctx: aptos.AptosContext
566
- ) => void,
567
- filter?: aptos.CallFilter
568
- ): FixedPriceMarket {
569
- this.onEntryFunctionCall(func, {
570
- ...filter,
571
- function: "FixedPriceMarket::transfer_escrow",
572
- });
573
- return this;
574
- }
575
-
576
- onEntryUpdateMarket(
577
- func: (
578
- call: FixedPriceMarket.UpdateMarketPayload,
579
- ctx: aptos.AptosContext
580
- ) => void,
581
- filter?: aptos.CallFilter
582
- ): FixedPriceMarket {
583
- this.onEntryFunctionCall(func, {
584
- ...filter,
585
- function: "FixedPriceMarket::update_market",
586
- });
587
- return this;
588
- }
589
-
590
- onEntryWithdrawFeeToPayee(
591
- func: (
592
- call: FixedPriceMarket.WithdrawFeeToPayeePayload,
593
- ctx: aptos.AptosContext
594
- ) => void,
595
- filter?: aptos.CallFilter
596
- ): FixedPriceMarket {
597
- this.onEntryFunctionCall(func, {
598
- ...filter,
599
- function: "FixedPriceMarket::withdraw_fee_to_payee",
600
- });
601
- return this;
602
- }
603
-
604
- onEventCreateMarketEvent(
605
- func: (
606
- event: FixedPriceMarket.CreateMarketEventInstance,
607
- ctx: aptos.AptosContext
608
- ) => void
609
- ): FixedPriceMarket {
610
- this.onEvent(func, {
611
- type: "FixedPriceMarket::CreateMarketEvent",
612
- });
613
- return this;
614
- }
615
-
616
- onEventListTokenEvent(
617
- func: (
618
- event: FixedPriceMarket.ListTokenEventInstance,
619
- ctx: aptos.AptosContext
620
- ) => void
621
- ): FixedPriceMarket {
622
- this.onEvent(func, {
623
- type: "FixedPriceMarket::ListTokenEvent",
624
- });
625
- return this;
626
- }
627
-
628
- onEventCancelListTokenEvent(
629
- func: (
630
- event: FixedPriceMarket.CancelListTokenEventInstance,
631
- ctx: aptos.AptosContext
632
- ) => void
633
- ): FixedPriceMarket {
634
- this.onEvent(func, {
635
- type: "FixedPriceMarket::CancelListTokenEvent",
636
- });
637
- return this;
638
- }
639
-
640
- onEventBuyTokenEvent(
641
- func: (
642
- event: FixedPriceMarket.BuyTokenEventInstance,
643
- ctx: aptos.AptosContext
644
- ) => void
645
- ): FixedPriceMarket {
646
- this.onEvent(func, {
647
- type: "FixedPriceMarket::BuyTokenEvent",
648
- });
649
- return this;
650
- }
651
-
652
- loadTypesInternal(registry: aptos.TypeRegistry) {
653
- loadAllTypes(registry);
654
- }
655
- }
656
-
657
- export namespace FixedPriceMarket {
658
- export class ACLBox {
659
- static TYPE_QNAME =
660
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::ACLBox";
661
- box: acl.ACL;
662
- }
663
-
664
- export class BuyTokenEvent<T0> {
665
- static TYPE_QNAME =
666
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::BuyTokenEvent";
667
- id: FixedPriceMarket.MarketId<T0>;
668
- token_id: token.TokenId;
669
- token_amount: bigint;
670
- buyer: Address;
671
- token_owner: Address;
672
- coin_per_token: bigint;
673
- }
674
-
675
- export interface BuyTokenEventInstance
676
- extends aptos.TypedEventInstance<BuyTokenEvent<any>> {
677
- data_typed: BuyTokenEvent<any>;
678
- type_arguments: [string];
679
- }
680
-
681
- export class CancelListTokenEvent<T0> {
682
- static TYPE_QNAME =
683
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::CancelListTokenEvent";
684
- id: FixedPriceMarket.MarketId<T0>;
685
- token_id: token.TokenId;
686
- token_amount: bigint;
687
- }
688
-
689
- export interface CancelListTokenEventInstance
690
- extends aptos.TypedEventInstance<CancelListTokenEvent<any>> {
691
- data_typed: CancelListTokenEvent<any>;
692
- type_arguments: [string];
693
- }
694
-
695
- export class CreateMarketEvent<T0> {
696
- static TYPE_QNAME =
697
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::CreateMarketEvent";
698
- id: FixedPriceMarket.MarketId<T0>;
699
- market_fee_point: bigint;
700
- fee_payee: Address;
701
- }
702
-
703
- export interface CreateMarketEventInstance
704
- extends aptos.TypedEventInstance<CreateMarketEvent<any>> {
705
- data_typed: CreateMarketEvent<any>;
706
- type_arguments: [string];
707
- }
708
-
709
- export class ListTokenEvent<T0> {
710
- static TYPE_QNAME =
711
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::ListTokenEvent";
712
- id: FixedPriceMarket.MarketId<T0>;
713
- token_id: token.TokenId;
714
- token_owner: Address;
715
- token_amount: bigint;
716
- coin_per_token: bigint;
717
- }
718
-
719
- export interface ListTokenEventInstance
720
- extends aptos.TypedEventInstance<ListTokenEvent<any>> {
721
- data_typed: ListTokenEvent<any>;
722
- type_arguments: [string];
723
- }
724
-
725
- export class MarketConfig<T0> {
726
- static TYPE_QNAME =
727
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketConfig";
728
- market_fee_point: bigint;
729
- fee_payee: Address;
730
- }
731
-
732
- export class MarketId<T0> {
733
- static TYPE_QNAME =
734
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId";
735
- market_address: Address;
736
- name: string;
737
- }
738
-
739
- export class MarketRecords<T0> {
740
- static TYPE_QNAME =
741
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketRecords";
742
- records: table.Table<
743
- FixedPriceMarket.MarketId<T0>,
744
- FixedPriceMarket.MarketConfig<T0>
745
- >;
746
- create_market_events: event.EventHandle<
747
- FixedPriceMarket.CreateMarketEvent<T0>
748
- >;
749
- list_token_events: event.EventHandle<FixedPriceMarket.ListTokenEvent<T0>>;
750
- cancel_list_evnets: event.EventHandle<
751
- FixedPriceMarket.CancelListTokenEvent<T0>
752
- >;
753
- buy_token_events: event.EventHandle<FixedPriceMarket.BuyTokenEvent<T0>>;
754
- }
755
-
756
- export class ResoureAccountCap {
757
- static TYPE_QNAME =
758
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::ResoureAccountCap";
759
- cap: account.SignerCapability;
760
- }
761
-
762
- export class Ticket<T0> {
763
- static TYPE_QNAME =
764
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::Ticket";
765
- market: FixedPriceMarket.MarketId<T0>;
766
- token_owner: Address;
767
- coin_per_token: bigint;
768
- }
769
-
770
- export class TicketPack<T0> {
771
- static TYPE_QNAME =
772
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::TicketPack";
773
- tickets: table.Table<token.TokenId, FixedPriceMarket.Ticket<T0>>;
774
- }
775
-
776
- export interface AddAclPayload
777
- extends aptos.TypedEntryFunctionPayload<[Address[]]> {
778
- arguments_typed: [Address[]];
779
- type_arguments: [];
780
- }
781
-
782
- export interface BatchBuyScriptPayload<T0 = any>
783
- extends aptos.TypedEntryFunctionPayload<
784
- [
785
- Address[],
786
- string[],
787
- string[],
788
- bigint[],
789
- bigint[],
790
- bigint[],
791
- Address[],
792
- string[]
793
- ]
794
- > {
795
- arguments_typed: [
796
- Address[],
797
- string[],
798
- string[],
799
- bigint[],
800
- bigint[],
801
- bigint[],
802
- Address[],
803
- string[]
804
- ];
805
- type_arguments: [string];
806
- }
807
-
808
- export interface BatchCancelListScriptPayload<T0 = any>
809
- extends aptos.TypedEntryFunctionPayload<
810
- [Address[], string[], string[], bigint[], bigint[], Address[], string[]]
811
- > {
812
- arguments_typed: [
813
- Address[],
814
- string[],
815
- string[],
816
- bigint[],
817
- bigint[],
818
- Address[],
819
- string[]
820
- ];
821
- type_arguments: [string];
822
- }
823
-
824
- export interface BatchChangePriceScriptPayload<T0 = any>
825
- extends aptos.TypedEntryFunctionPayload<
826
- [
827
- Address[],
828
- string[],
829
- string[],
830
- bigint[],
831
- bigint[],
832
- bigint[],
833
- bigint[],
834
- Address[],
835
- string[]
836
- ]
837
- > {
838
- arguments_typed: [
839
- Address[],
840
- string[],
841
- string[],
842
- bigint[],
843
- bigint[],
844
- bigint[],
845
- bigint[],
846
- Address[],
847
- string[]
848
- ];
849
- type_arguments: [string];
850
- }
851
-
852
- export interface BatchListScriptPayload<T0 = any>
853
- extends aptos.TypedEntryFunctionPayload<
854
- [
855
- Address[],
856
- string[],
857
- string[],
858
- bigint[],
859
- bigint[],
860
- bigint[],
861
- bigint[],
862
- Address[],
863
- string[]
864
- ]
865
- > {
866
- arguments_typed: [
867
- Address[],
868
- string[],
869
- string[],
870
- bigint[],
871
- bigint[],
872
- bigint[],
873
- bigint[],
874
- Address[],
875
- string[]
876
- ];
877
- type_arguments: [string];
878
- }
879
-
880
- export interface BuyScriptPayload<T0 = any>
881
- extends aptos.TypedEntryFunctionPayload<
882
- [Address, string, string, bigint, bigint, bigint, Address, string]
883
- > {
884
- arguments_typed: [
885
- Address,
886
- string,
887
- string,
888
- bigint,
889
- bigint,
890
- bigint,
891
- Address,
892
- string
893
- ];
894
- type_arguments: [string];
895
- }
896
-
897
- export interface CancelListScriptPayload<T0 = any>
898
- extends aptos.TypedEntryFunctionPayload<
899
- [Address, string, string, bigint, bigint, Address, string]
900
- > {
901
- arguments_typed: [Address, string, string, bigint, bigint, Address, string];
902
- type_arguments: [string];
903
- }
904
-
905
- export interface ChangePriceScriptPayload<T0 = any>
906
- extends aptos.TypedEntryFunctionPayload<
907
- [Address, string, string, bigint, bigint, bigint, bigint, Address, string]
908
- > {
909
- arguments_typed: [
910
- Address,
911
- string,
912
- string,
913
- bigint,
914
- bigint,
915
- bigint,
916
- bigint,
917
- Address,
918
- string
919
- ];
920
- type_arguments: [string];
921
- }
922
-
923
- export interface CreateMarketPayload<T0 = any>
924
- extends aptos.TypedEntryFunctionPayload<[bigint, Address, string]> {
925
- arguments_typed: [bigint, Address, string];
926
- type_arguments: [string];
927
- }
928
-
929
- export interface ListScriptPayload<T0 = any>
930
- extends aptos.TypedEntryFunctionPayload<
931
- [Address, string, string, bigint, bigint, bigint, bigint, Address, string]
932
- > {
933
- arguments_typed: [
934
- Address,
935
- string,
936
- string,
937
- bigint,
938
- bigint,
939
- bigint,
940
- bigint,
941
- Address,
942
- string
943
- ];
944
- type_arguments: [string];
945
- }
946
-
947
- export interface TransferEscrowPayload<T0 = any>
948
- extends aptos.TypedEntryFunctionPayload<
949
- [Address, string, string, bigint, bigint, FixedPriceMarket.MarketId<T0>]
950
- > {
951
- arguments_typed: [
952
- Address,
953
- string,
954
- string,
955
- bigint,
956
- bigint,
957
- FixedPriceMarket.MarketId<T0>
958
- ];
959
- type_arguments: [string];
960
- }
961
-
962
- export interface UpdateMarketPayload<T0 = any>
963
- extends aptos.TypedEntryFunctionPayload<[bigint, Address, string]> {
964
- arguments_typed: [bigint, Address, string];
965
- type_arguments: [string];
966
- }
967
-
968
- export interface WithdrawFeeToPayeePayload<T0 = any>
969
- extends aptos.TypedEntryFunctionPayload<[Address, string]> {
970
- arguments_typed: [Address, string];
971
- type_arguments: [string];
972
- }
973
-
974
- export function loadTypes(_r: aptos.TypeRegistry) {
975
- loadAllTypes(_r);
976
- }
977
- export const ABI: MoveModule = JSON.parse(
978
- '{"address":"0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4","name":"FixedPriceMarket","friends":[],"exposed_functions":[{"name":"add_acl","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<address>"],"return":[]},{"name":"batch_buy_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_cancel_list_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_change_price_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_list_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"buy","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>"],"return":[]},{"name":"buy_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","address","0x1::string::String"],"return":[]},{"name":"cancel_list","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","0x3::token::TokenId","0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>","u64"],"return":[]},{"name":"cancel_list_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","address","0x1::string::String"],"return":[]},{"name":"change_price_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","u64","address","0x1::string::String"],"return":[]},{"name":"create_market","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","u64","address","0x1::string::String"],"return":[]},{"name":"create_market_id_raw","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["address","0x1::string::String"],"return":["0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>"]},{"name":"is_ticket_exsit","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["address","0x3::token::TokenId"],"return":["bool"]},{"name":"list","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","u64","0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>"],"return":[]},{"name":"list_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","u64","address","0x1::string::String"],"return":[]},{"name":"transfer_escrow","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>"],"return":[]},{"name":"update_market","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","u64","address","0x1::string::String"],"return":[]},{"name":"withdraw_fee_to_payee","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String"],"return":[]}],"structs":[{"name":"ACLBox","is_native":false,"abilities":["copy","drop","store","key"],"generic_type_params":[],"fields":[{"name":"box","type":"0x1::acl::ACL"}]},{"name":"BuyTokenEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"id","type":"0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"token_amount","type":"u64"},{"name":"buyer","type":"address"},{"name":"token_owner","type":"address"},{"name":"coin_per_token","type":"u64"}]},{"name":"CancelListTokenEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"id","type":"0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"token_amount","type":"u64"}]},{"name":"CreateMarketEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"id","type":"0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>"},{"name":"market_fee_point","type":"u64"},{"name":"fee_payee","type":"address"}]},{"name":"ListTokenEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"id","type":"0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"token_owner","type":"address"},{"name":"token_amount","type":"u64"},{"name":"coin_per_token","type":"u64"}]},{"name":"MarketConfig","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"market_fee_point","type":"u64"},{"name":"fee_payee","type":"address"}]},{"name":"MarketId","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"market_address","type":"address"},{"name":"name","type":"0x1::string::String"}]},{"name":"MarketRecords","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"records","type":"0x1::table::Table<0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>, 0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketConfig<T0>>"},{"name":"create_market_events","type":"0x1::event::EventHandle<0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::CreateMarketEvent<T0>>"},{"name":"list_token_events","type":"0x1::event::EventHandle<0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::ListTokenEvent<T0>>"},{"name":"cancel_list_evnets","type":"0x1::event::EventHandle<0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::CancelListTokenEvent<T0>>"},{"name":"buy_token_events","type":"0x1::event::EventHandle<0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::BuyTokenEvent<T0>>"}]},{"name":"ResoureAccountCap","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"cap","type":"0x1::account::SignerCapability"}]},{"name":"Ticket","is_native":false,"abilities":["drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"market","type":"0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId<T0>"},{"name":"token_owner","type":"address"},{"name":"coin_per_token","type":"u64"}]},{"name":"TicketPack","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"tickets","type":"0x1::table::Table<0x3::token::TokenId, 0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::Ticket<T0>>"}]}]}'
979
- );
980
- }
981
-
982
- export class FixedPriceMarketScript extends aptos.AptosBaseProcessor {
983
- constructor(options: aptos.AptosBindOptions) {
984
- super("FixedPriceMarketScript", options);
985
- }
986
- static DEFAULT_OPTIONS: aptos.AptosBindOptions = {
987
- address:
988
- "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4",
989
- network: aptos.AptosNetwork.MAIN_NET,
990
- };
991
-
992
- static bind(
993
- options: Partial<aptos.AptosBindOptions> = {}
994
- ): FixedPriceMarketScript {
995
- return new FixedPriceMarketScript({
996
- ...FixedPriceMarketScript.DEFAULT_OPTIONS,
997
- ...options,
998
- });
999
- }
1000
-
1001
- onEntryBatchBuyScript(
1002
- func: (
1003
- call: FixedPriceMarketScript.BatchBuyScriptPayload,
1004
- ctx: aptos.AptosContext
1005
- ) => void,
1006
- filter?: aptos.CallFilter
1007
- ): FixedPriceMarketScript {
1008
- this.onEntryFunctionCall(func, {
1009
- ...filter,
1010
- function: "FixedPriceMarketScript::batch_buy_script",
1011
- });
1012
- return this;
1013
- }
1014
-
1015
- onEntryBatchCancelListScript(
1016
- func: (
1017
- call: FixedPriceMarketScript.BatchCancelListScriptPayload,
1018
- ctx: aptos.AptosContext
1019
- ) => void,
1020
- filter?: aptos.CallFilter
1021
- ): FixedPriceMarketScript {
1022
- this.onEntryFunctionCall(func, {
1023
- ...filter,
1024
- function: "FixedPriceMarketScript::batch_cancel_list_script",
1025
- });
1026
- return this;
1027
- }
1028
-
1029
- onEntryBatchChangePriceScript(
1030
- func: (
1031
- call: FixedPriceMarketScript.BatchChangePriceScriptPayload,
1032
- ctx: aptos.AptosContext
1033
- ) => void,
1034
- filter?: aptos.CallFilter
1035
- ): FixedPriceMarketScript {
1036
- this.onEntryFunctionCall(func, {
1037
- ...filter,
1038
- function: "FixedPriceMarketScript::batch_change_price_script",
1039
- });
1040
- return this;
1041
- }
1042
-
1043
- onEntryBatchListScript(
1044
- func: (
1045
- call: FixedPriceMarketScript.BatchListScriptPayload,
1046
- ctx: aptos.AptosContext
1047
- ) => void,
1048
- filter?: aptos.CallFilter
1049
- ): FixedPriceMarketScript {
1050
- this.onEntryFunctionCall(func, {
1051
- ...filter,
1052
- function: "FixedPriceMarketScript::batch_list_script",
1053
- });
1054
- return this;
1055
- }
1056
-
1057
- onEntryBatchTransferEscrow(
1058
- func: (
1059
- call: FixedPriceMarketScript.BatchTransferEscrowPayload,
1060
- ctx: aptos.AptosContext
1061
- ) => void,
1062
- filter?: aptos.CallFilter
1063
- ): FixedPriceMarketScript {
1064
- this.onEntryFunctionCall(func, {
1065
- ...filter,
1066
- function: "FixedPriceMarketScript::batch_transfer_escrow",
1067
- });
1068
- return this;
1069
- }
1070
-
1071
- onEntryBatchTransferTokens(
1072
- func: (
1073
- call: FixedPriceMarketScript.BatchTransferTokensPayload,
1074
- ctx: aptos.AptosContext
1075
- ) => void,
1076
- filter?: aptos.CallFilter
1077
- ): FixedPriceMarketScript {
1078
- this.onEntryFunctionCall(func, {
1079
- ...filter,
1080
- function: "FixedPriceMarketScript::batch_transfer_tokens",
1081
- });
1082
- return this;
1083
- }
1084
-
1085
- onEntryBuyScript(
1086
- func: (
1087
- call: FixedPriceMarketScript.BuyScriptPayload,
1088
- ctx: aptos.AptosContext
1089
- ) => void,
1090
- filter?: aptos.CallFilter
1091
- ): FixedPriceMarketScript {
1092
- this.onEntryFunctionCall(func, {
1093
- ...filter,
1094
- function: "FixedPriceMarketScript::buy_script",
1095
- });
1096
- return this;
1097
- }
1098
-
1099
- onEntryCancelListScript(
1100
- func: (
1101
- call: FixedPriceMarketScript.CancelListScriptPayload,
1102
- ctx: aptos.AptosContext
1103
- ) => void,
1104
- filter?: aptos.CallFilter
1105
- ): FixedPriceMarketScript {
1106
- this.onEntryFunctionCall(func, {
1107
- ...filter,
1108
- function: "FixedPriceMarketScript::cancel_list_script",
1109
- });
1110
- return this;
1111
- }
1112
-
1113
- onEntryChangePriceScript(
1114
- func: (
1115
- call: FixedPriceMarketScript.ChangePriceScriptPayload,
1116
- ctx: aptos.AptosContext
1117
- ) => void,
1118
- filter?: aptos.CallFilter
1119
- ): FixedPriceMarketScript {
1120
- this.onEntryFunctionCall(func, {
1121
- ...filter,
1122
- function: "FixedPriceMarketScript::change_price_script",
1123
- });
1124
- return this;
1125
- }
1126
-
1127
- onEntryListScript(
1128
- func: (
1129
- call: FixedPriceMarketScript.ListScriptPayload,
1130
- ctx: aptos.AptosContext
1131
- ) => void,
1132
- filter?: aptos.CallFilter
1133
- ): FixedPriceMarketScript {
1134
- this.onEntryFunctionCall(func, {
1135
- ...filter,
1136
- function: "FixedPriceMarketScript::list_script",
1137
- });
1138
- return this;
1139
- }
1140
-
1141
- onEntryOptInDirectTransfer(
1142
- func: (
1143
- call: FixedPriceMarketScript.OptInDirectTransferPayload,
1144
- ctx: aptos.AptosContext
1145
- ) => void,
1146
- filter?: aptos.CallFilter
1147
- ): FixedPriceMarketScript {
1148
- this.onEntryFunctionCall(func, {
1149
- ...filter,
1150
- function: "FixedPriceMarketScript::opt_in_direct_transfer",
1151
- });
1152
- return this;
1153
- }
1154
-
1155
- loadTypesInternal(registry: aptos.TypeRegistry) {
1156
- loadAllTypes(registry);
1157
- }
1158
- }
1159
-
1160
- export namespace FixedPriceMarketScript {
1161
- export interface BatchBuyScriptPayload<T0 = any>
1162
- extends aptos.TypedEntryFunctionPayload<
1163
- [
1164
- Address[],
1165
- string[],
1166
- string[],
1167
- bigint[],
1168
- bigint[],
1169
- bigint[],
1170
- Address[],
1171
- string[]
1172
- ]
1173
- > {
1174
- arguments_typed: [
1175
- Address[],
1176
- string[],
1177
- string[],
1178
- bigint[],
1179
- bigint[],
1180
- bigint[],
1181
- Address[],
1182
- string[]
1183
- ];
1184
- type_arguments: [string];
1185
- }
1186
-
1187
- export interface BatchCancelListScriptPayload<T0 = any>
1188
- extends aptos.TypedEntryFunctionPayload<
1189
- [Address[], string[], string[], bigint[], bigint[], Address[], string[]]
1190
- > {
1191
- arguments_typed: [
1192
- Address[],
1193
- string[],
1194
- string[],
1195
- bigint[],
1196
- bigint[],
1197
- Address[],
1198
- string[]
1199
- ];
1200
- type_arguments: [string];
1201
- }
1202
-
1203
- export interface BatchChangePriceScriptPayload<T0 = any>
1204
- extends aptos.TypedEntryFunctionPayload<
1205
- [
1206
- Address[],
1207
- string[],
1208
- string[],
1209
- bigint[],
1210
- bigint[],
1211
- bigint[],
1212
- bigint[],
1213
- Address[],
1214
- string[]
1215
- ]
1216
- > {
1217
- arguments_typed: [
1218
- Address[],
1219
- string[],
1220
- string[],
1221
- bigint[],
1222
- bigint[],
1223
- bigint[],
1224
- bigint[],
1225
- Address[],
1226
- string[]
1227
- ];
1228
- type_arguments: [string];
1229
- }
1230
-
1231
- export interface BatchListScriptPayload<T0 = any>
1232
- extends aptos.TypedEntryFunctionPayload<
1233
- [
1234
- Address[],
1235
- string[],
1236
- string[],
1237
- bigint[],
1238
- bigint[],
1239
- bigint[],
1240
- bigint[],
1241
- Address[],
1242
- string[]
1243
- ]
1244
- > {
1245
- arguments_typed: [
1246
- Address[],
1247
- string[],
1248
- string[],
1249
- bigint[],
1250
- bigint[],
1251
- bigint[],
1252
- bigint[],
1253
- Address[],
1254
- string[]
1255
- ];
1256
- type_arguments: [string];
1257
- }
1258
-
1259
- export interface BatchTransferEscrowPayload<T0 = any>
1260
- extends aptos.TypedEntryFunctionPayload<
1261
- [Address[], string[], string[], bigint[], bigint[], Address[], string[]]
1262
- > {
1263
- arguments_typed: [
1264
- Address[],
1265
- string[],
1266
- string[],
1267
- bigint[],
1268
- bigint[],
1269
- Address[],
1270
- string[]
1271
- ];
1272
- type_arguments: [string];
1273
- }
1274
-
1275
- export interface BatchTransferTokensPayload
1276
- extends aptos.TypedEntryFunctionPayload<
1277
- [Address, Address[], string[], string[], bigint[], bigint[]]
1278
- > {
1279
- arguments_typed: [
1280
- Address,
1281
- Address[],
1282
- string[],
1283
- string[],
1284
- bigint[],
1285
- bigint[]
1286
- ];
1287
- type_arguments: [];
1288
- }
1289
-
1290
- export interface BuyScriptPayload<T0 = any>
1291
- extends aptos.TypedEntryFunctionPayload<
1292
- [Address, string, string, bigint, bigint, bigint, Address, string]
1293
- > {
1294
- arguments_typed: [
1295
- Address,
1296
- string,
1297
- string,
1298
- bigint,
1299
- bigint,
1300
- bigint,
1301
- Address,
1302
- string
1303
- ];
1304
- type_arguments: [string];
1305
- }
1306
-
1307
- export interface CancelListScriptPayload<T0 = any>
1308
- extends aptos.TypedEntryFunctionPayload<
1309
- [Address, string, string, bigint, bigint, Address, string]
1310
- > {
1311
- arguments_typed: [Address, string, string, bigint, bigint, Address, string];
1312
- type_arguments: [string];
1313
- }
1314
-
1315
- export interface ChangePriceScriptPayload<T0 = any>
1316
- extends aptos.TypedEntryFunctionPayload<
1317
- [Address, string, string, bigint, bigint, bigint, bigint, Address, string]
1318
- > {
1319
- arguments_typed: [
1320
- Address,
1321
- string,
1322
- string,
1323
- bigint,
1324
- bigint,
1325
- bigint,
1326
- bigint,
1327
- Address,
1328
- string
1329
- ];
1330
- type_arguments: [string];
1331
- }
1332
-
1333
- export interface ListScriptPayload<T0 = any>
1334
- extends aptos.TypedEntryFunctionPayload<
1335
- [Address, string, string, bigint, bigint, bigint, bigint, Address, string]
1336
- > {
1337
- arguments_typed: [
1338
- Address,
1339
- string,
1340
- string,
1341
- bigint,
1342
- bigint,
1343
- bigint,
1344
- bigint,
1345
- Address,
1346
- string
1347
- ];
1348
- type_arguments: [string];
1349
- }
1350
-
1351
- export interface OptInDirectTransferPayload
1352
- extends aptos.TypedEntryFunctionPayload<[Boolean]> {
1353
- arguments_typed: [Boolean];
1354
- type_arguments: [];
1355
- }
1356
-
1357
- export function loadTypes(_r: aptos.TypeRegistry) {
1358
- loadAllTypes(_r);
1359
- }
1360
- export const ABI: MoveModule = JSON.parse(
1361
- '{"address":"0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4","name":"FixedPriceMarketScript","friends":[],"exposed_functions":[{"name":"batch_buy_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_cancel_list_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_change_price_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_list_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_transfer_escrow","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>","vector<address>","vector<0x1::string::String>"],"return":[]},{"name":"batch_transfer_tokens","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","vector<address>","vector<0x1::string::String>","vector<0x1::string::String>","vector<u64>","vector<u64>"],"return":[]},{"name":"buy_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","address","0x1::string::String"],"return":[]},{"name":"cancel_list_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","address","0x1::string::String"],"return":[]},{"name":"change_price_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","u64","address","0x1::string::String"],"return":[]},{"name":"list_script","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","u64","address","0x1::string::String"],"return":[]},{"name":"opt_in_direct_transfer","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","bool"],"return":[]}],"structs":[]}'
1362
- );
1363
- }
1364
-
1365
- function loadAllTypes(_r: aptos.TypeRegistry) {
1366
- token.loadTypes(_r);
1367
- type_info.loadTypes(_r);
1368
- table.loadTypes(_r);
1369
- event.loadTypes(_r);
1370
- acl.loadTypes(_r);
1371
- account.loadTypes(_r);
1372
-
1373
- _r.load(Aggregator.ABI);
1374
- _r.load(token_coin_swap.ABI);
1375
- _r.load(FixedPriceMarket.ABI);
1376
- _r.load(FixedPriceMarketScript.ABI);
1377
- }