@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,559 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FixedPriceMarketScript = exports.FixedPriceMarket = exports.token_coin_swap = exports.Aggregator = void 0;
7
- /* Generated modules for account 0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4 */
8
- const sdk_1 = require("@sentio/sdk");
9
- const _0x3_1 = require("@sentio/sdk/src/builtin/aptos/0x3");
10
- const _0x1_1 = require("@sentio/sdk/src/builtin/aptos/0x1");
11
- class Aggregator extends sdk_1.aptos.AptosBaseProcessor {
12
- constructor(options) {
13
- super("Aggregator", options);
14
- }
15
- static DEFAULT_OPTIONS = {
16
- address: "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4",
17
- network: sdk_1.aptos.AptosNetwork.MAIN_NET,
18
- };
19
- static bind(options = {}) {
20
- return new Aggregator({ ...Aggregator.DEFAULT_OPTIONS, ...options });
21
- }
22
- onEntryBatchBuyScriptV1(func, filter) {
23
- this.onEntryFunctionCall(func, {
24
- ...filter,
25
- function: "Aggregator::batch_buy_script_V1",
26
- });
27
- return this;
28
- }
29
- onEntryBatchChangePriceScriptV1(func, filter) {
30
- this.onEntryFunctionCall(func, {
31
- ...filter,
32
- function: "Aggregator::batch_change_price_script_V1",
33
- });
34
- return this;
35
- }
36
- onEntryBatchDelistScriptV1(func, filter) {
37
- this.onEntryFunctionCall(func, {
38
- ...filter,
39
- function: "Aggregator::batch_delist_script_V1",
40
- });
41
- return this;
42
- }
43
- loadTypesInternal(registry) {
44
- loadAllTypes(registry);
45
- }
46
- }
47
- exports.Aggregator = Aggregator;
48
- (function (Aggregator) {
49
- class BlueMove_V2_batch_buy_script {
50
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::BlueMove_V2_batch_buy_script";
51
- creators;
52
- collections;
53
- names;
54
- prices;
55
- }
56
- Aggregator.BlueMove_V2_batch_buy_script = BlueMove_V2_batch_buy_script;
57
- class BlueMove_V2_batch_delist_sciprt {
58
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::BlueMove_V2_batch_delist_sciprt";
59
- creators;
60
- collections;
61
- names;
62
- property_versions;
63
- }
64
- Aggregator.BlueMove_V2_batch_delist_sciprt = BlueMove_V2_batch_delist_sciprt;
65
- class Souffl3_batch_buy_script {
66
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Souffl3_batch_buy_script";
67
- creator_lists;
68
- collection_lists;
69
- name_lists;
70
- property_version_lists;
71
- token_amount_lists;
72
- coin_amount_lists;
73
- market_address_lists;
74
- market_name_lists;
75
- }
76
- Aggregator.Souffl3_batch_buy_script = Souffl3_batch_buy_script;
77
- class Souffl3_batch_change_price_script {
78
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Souffl3_batch_change_price_script";
79
- creator_lists;
80
- collection_lists;
81
- name_lists;
82
- property_version_lists;
83
- token_amount_lists;
84
- coin_per_token_lists;
85
- locked_until_secs_lists;
86
- market_address_lists;
87
- market_name_lists;
88
- }
89
- Aggregator.Souffl3_batch_change_price_script = Souffl3_batch_change_price_script;
90
- class Souffl3_batch_delist_sciprt {
91
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Souffl3_batch_delist_sciprt";
92
- creator_lists;
93
- collection_lists;
94
- name_lists;
95
- property_version_lists;
96
- token_amount_lists;
97
- market_address_lists;
98
- market_name_lists;
99
- }
100
- Aggregator.Souffl3_batch_delist_sciprt = Souffl3_batch_delist_sciprt;
101
- class Souffl3_batch_list_script {
102
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Souffl3_batch_list_script";
103
- creator_lists;
104
- collection_lists;
105
- name_lists;
106
- property_version_lists;
107
- token_amount_lists;
108
- coin_amount_lists;
109
- locked_until_secs_lists;
110
- market_address_lists;
111
- market_name_lists;
112
- }
113
- Aggregator.Souffl3_batch_list_script = Souffl3_batch_list_script;
114
- class Topaz_V2_buy_many {
115
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Topaz_V2_buy_many";
116
- listers;
117
- prices;
118
- amounts;
119
- creators;
120
- collections;
121
- names;
122
- property_versions;
123
- }
124
- Aggregator.Topaz_V2_buy_many = Topaz_V2_buy_many;
125
- class Topaz_V2_delist {
126
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::Aggregator::Topaz_V2_delist";
127
- amounts;
128
- creators;
129
- collections;
130
- names;
131
- property_versions;
132
- }
133
- Aggregator.Topaz_V2_delist = Topaz_V2_delist;
134
- function loadTypes(_r) {
135
- loadAllTypes(_r);
136
- }
137
- Aggregator.loadTypes = loadTypes;
138
- Aggregator.ABI = JSON.parse('{"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>"}]}]}');
139
- })(Aggregator = exports.Aggregator || (exports.Aggregator = {}));
140
- class token_coin_swap extends sdk_1.aptos.AptosBaseProcessor {
141
- constructor(options) {
142
- super("token_coin_swap", options);
143
- }
144
- static DEFAULT_OPTIONS = {
145
- address: "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4",
146
- network: sdk_1.aptos.AptosNetwork.MAIN_NET,
147
- };
148
- static bind(options = {}) {
149
- return new token_coin_swap({
150
- ...token_coin_swap.DEFAULT_OPTIONS,
151
- ...options,
152
- });
153
- }
154
- onEntryListTokenForSwap(func, filter) {
155
- this.onEntryFunctionCall(func, {
156
- ...filter,
157
- function: "token_coin_swap::list_token_for_swap",
158
- });
159
- return this;
160
- }
161
- onEventTokenListingEvent(func) {
162
- this.onEvent(func, {
163
- type: "token_coin_swap::TokenListingEvent",
164
- });
165
- return this;
166
- }
167
- onEventTokenSwapEvent(func) {
168
- this.onEvent(func, {
169
- type: "token_coin_swap::TokenSwapEvent",
170
- });
171
- return this;
172
- }
173
- loadTypesInternal(registry) {
174
- loadAllTypes(registry);
175
- }
176
- }
177
- exports.token_coin_swap = token_coin_swap;
178
- (function (token_coin_swap) {
179
- class TokenCoinSwap {
180
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenCoinSwap";
181
- token_amount;
182
- min_price_per_token;
183
- }
184
- token_coin_swap.TokenCoinSwap = TokenCoinSwap;
185
- class TokenEscrow {
186
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenEscrow";
187
- token;
188
- locked_until_secs;
189
- }
190
- token_coin_swap.TokenEscrow = TokenEscrow;
191
- class TokenListingEvent {
192
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenListingEvent";
193
- token_id;
194
- amount;
195
- min_price;
196
- locked_until_secs;
197
- coin_type_info;
198
- }
199
- token_coin_swap.TokenListingEvent = TokenListingEvent;
200
- class TokenListings {
201
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenListings";
202
- listings;
203
- listing_events;
204
- swap_events;
205
- }
206
- token_coin_swap.TokenListings = TokenListings;
207
- class TokenStoreEscrow {
208
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenStoreEscrow";
209
- token_escrows;
210
- }
211
- token_coin_swap.TokenStoreEscrow = TokenStoreEscrow;
212
- class TokenSwapEvent {
213
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::token_coin_swap::TokenSwapEvent";
214
- token_id;
215
- token_buyer;
216
- token_amount;
217
- coin_amount;
218
- coin_type_info;
219
- }
220
- token_coin_swap.TokenSwapEvent = TokenSwapEvent;
221
- function loadTypes(_r) {
222
- loadAllTypes(_r);
223
- }
224
- token_coin_swap.loadTypes = loadTypes;
225
- token_coin_swap.ABI = JSON.parse('{"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"}]}]}');
226
- })(token_coin_swap = exports.token_coin_swap || (exports.token_coin_swap = {}));
227
- class FixedPriceMarket extends sdk_1.aptos.AptosBaseProcessor {
228
- constructor(options) {
229
- super("FixedPriceMarket", options);
230
- }
231
- static DEFAULT_OPTIONS = {
232
- address: "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4",
233
- network: sdk_1.aptos.AptosNetwork.MAIN_NET,
234
- };
235
- static bind(options = {}) {
236
- return new FixedPriceMarket({
237
- ...FixedPriceMarket.DEFAULT_OPTIONS,
238
- ...options,
239
- });
240
- }
241
- onEntryAddAcl(func, filter) {
242
- this.onEntryFunctionCall(func, {
243
- ...filter,
244
- function: "FixedPriceMarket::add_acl",
245
- });
246
- return this;
247
- }
248
- onEntryBatchBuyScript(func, filter) {
249
- this.onEntryFunctionCall(func, {
250
- ...filter,
251
- function: "FixedPriceMarket::batch_buy_script",
252
- });
253
- return this;
254
- }
255
- onEntryBatchCancelListScript(func, filter) {
256
- this.onEntryFunctionCall(func, {
257
- ...filter,
258
- function: "FixedPriceMarket::batch_cancel_list_script",
259
- });
260
- return this;
261
- }
262
- onEntryBatchChangePriceScript(func, filter) {
263
- this.onEntryFunctionCall(func, {
264
- ...filter,
265
- function: "FixedPriceMarket::batch_change_price_script",
266
- });
267
- return this;
268
- }
269
- onEntryBatchListScript(func, filter) {
270
- this.onEntryFunctionCall(func, {
271
- ...filter,
272
- function: "FixedPriceMarket::batch_list_script",
273
- });
274
- return this;
275
- }
276
- onEntryBuyScript(func, filter) {
277
- this.onEntryFunctionCall(func, {
278
- ...filter,
279
- function: "FixedPriceMarket::buy_script",
280
- });
281
- return this;
282
- }
283
- onEntryCancelListScript(func, filter) {
284
- this.onEntryFunctionCall(func, {
285
- ...filter,
286
- function: "FixedPriceMarket::cancel_list_script",
287
- });
288
- return this;
289
- }
290
- onEntryChangePriceScript(func, filter) {
291
- this.onEntryFunctionCall(func, {
292
- ...filter,
293
- function: "FixedPriceMarket::change_price_script",
294
- });
295
- return this;
296
- }
297
- onEntryCreateMarket(func, filter) {
298
- this.onEntryFunctionCall(func, {
299
- ...filter,
300
- function: "FixedPriceMarket::create_market",
301
- });
302
- return this;
303
- }
304
- onEntryListScript(func, filter) {
305
- this.onEntryFunctionCall(func, {
306
- ...filter,
307
- function: "FixedPriceMarket::list_script",
308
- });
309
- return this;
310
- }
311
- onEntryTransferEscrow(func, filter) {
312
- this.onEntryFunctionCall(func, {
313
- ...filter,
314
- function: "FixedPriceMarket::transfer_escrow",
315
- });
316
- return this;
317
- }
318
- onEntryUpdateMarket(func, filter) {
319
- this.onEntryFunctionCall(func, {
320
- ...filter,
321
- function: "FixedPriceMarket::update_market",
322
- });
323
- return this;
324
- }
325
- onEntryWithdrawFeeToPayee(func, filter) {
326
- this.onEntryFunctionCall(func, {
327
- ...filter,
328
- function: "FixedPriceMarket::withdraw_fee_to_payee",
329
- });
330
- return this;
331
- }
332
- onEventCreateMarketEvent(func) {
333
- this.onEvent(func, {
334
- type: "FixedPriceMarket::CreateMarketEvent",
335
- });
336
- return this;
337
- }
338
- onEventListTokenEvent(func) {
339
- this.onEvent(func, {
340
- type: "FixedPriceMarket::ListTokenEvent",
341
- });
342
- return this;
343
- }
344
- onEventCancelListTokenEvent(func) {
345
- this.onEvent(func, {
346
- type: "FixedPriceMarket::CancelListTokenEvent",
347
- });
348
- return this;
349
- }
350
- onEventBuyTokenEvent(func) {
351
- this.onEvent(func, {
352
- type: "FixedPriceMarket::BuyTokenEvent",
353
- });
354
- return this;
355
- }
356
- loadTypesInternal(registry) {
357
- loadAllTypes(registry);
358
- }
359
- }
360
- exports.FixedPriceMarket = FixedPriceMarket;
361
- (function (FixedPriceMarket) {
362
- class ACLBox {
363
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::ACLBox";
364
- box;
365
- }
366
- FixedPriceMarket.ACLBox = ACLBox;
367
- class BuyTokenEvent {
368
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::BuyTokenEvent";
369
- id;
370
- token_id;
371
- token_amount;
372
- buyer;
373
- token_owner;
374
- coin_per_token;
375
- }
376
- FixedPriceMarket.BuyTokenEvent = BuyTokenEvent;
377
- class CancelListTokenEvent {
378
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::CancelListTokenEvent";
379
- id;
380
- token_id;
381
- token_amount;
382
- }
383
- FixedPriceMarket.CancelListTokenEvent = CancelListTokenEvent;
384
- class CreateMarketEvent {
385
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::CreateMarketEvent";
386
- id;
387
- market_fee_point;
388
- fee_payee;
389
- }
390
- FixedPriceMarket.CreateMarketEvent = CreateMarketEvent;
391
- class ListTokenEvent {
392
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::ListTokenEvent";
393
- id;
394
- token_id;
395
- token_owner;
396
- token_amount;
397
- coin_per_token;
398
- }
399
- FixedPriceMarket.ListTokenEvent = ListTokenEvent;
400
- class MarketConfig {
401
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketConfig";
402
- market_fee_point;
403
- fee_payee;
404
- }
405
- FixedPriceMarket.MarketConfig = MarketConfig;
406
- class MarketId {
407
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketId";
408
- market_address;
409
- name;
410
- }
411
- FixedPriceMarket.MarketId = MarketId;
412
- class MarketRecords {
413
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::MarketRecords";
414
- records;
415
- create_market_events;
416
- list_token_events;
417
- cancel_list_evnets;
418
- buy_token_events;
419
- }
420
- FixedPriceMarket.MarketRecords = MarketRecords;
421
- class ResoureAccountCap {
422
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::ResoureAccountCap";
423
- cap;
424
- }
425
- FixedPriceMarket.ResoureAccountCap = ResoureAccountCap;
426
- class Ticket {
427
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::Ticket";
428
- market;
429
- token_owner;
430
- coin_per_token;
431
- }
432
- FixedPriceMarket.Ticket = Ticket;
433
- class TicketPack {
434
- static TYPE_QNAME = "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4::FixedPriceMarket::TicketPack";
435
- tickets;
436
- }
437
- FixedPriceMarket.TicketPack = TicketPack;
438
- function loadTypes(_r) {
439
- loadAllTypes(_r);
440
- }
441
- FixedPriceMarket.loadTypes = loadTypes;
442
- FixedPriceMarket.ABI = JSON.parse('{"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>>"}]}]}');
443
- })(FixedPriceMarket = exports.FixedPriceMarket || (exports.FixedPriceMarket = {}));
444
- class FixedPriceMarketScript extends sdk_1.aptos.AptosBaseProcessor {
445
- constructor(options) {
446
- super("FixedPriceMarketScript", options);
447
- }
448
- static DEFAULT_OPTIONS = {
449
- address: "0xf6994988bd40261af9431cd6dd3fcf765569719e66322c7a05cc78a89cd366d4",
450
- network: sdk_1.aptos.AptosNetwork.MAIN_NET,
451
- };
452
- static bind(options = {}) {
453
- return new FixedPriceMarketScript({
454
- ...FixedPriceMarketScript.DEFAULT_OPTIONS,
455
- ...options,
456
- });
457
- }
458
- onEntryBatchBuyScript(func, filter) {
459
- this.onEntryFunctionCall(func, {
460
- ...filter,
461
- function: "FixedPriceMarketScript::batch_buy_script",
462
- });
463
- return this;
464
- }
465
- onEntryBatchCancelListScript(func, filter) {
466
- this.onEntryFunctionCall(func, {
467
- ...filter,
468
- function: "FixedPriceMarketScript::batch_cancel_list_script",
469
- });
470
- return this;
471
- }
472
- onEntryBatchChangePriceScript(func, filter) {
473
- this.onEntryFunctionCall(func, {
474
- ...filter,
475
- function: "FixedPriceMarketScript::batch_change_price_script",
476
- });
477
- return this;
478
- }
479
- onEntryBatchListScript(func, filter) {
480
- this.onEntryFunctionCall(func, {
481
- ...filter,
482
- function: "FixedPriceMarketScript::batch_list_script",
483
- });
484
- return this;
485
- }
486
- onEntryBatchTransferEscrow(func, filter) {
487
- this.onEntryFunctionCall(func, {
488
- ...filter,
489
- function: "FixedPriceMarketScript::batch_transfer_escrow",
490
- });
491
- return this;
492
- }
493
- onEntryBatchTransferTokens(func, filter) {
494
- this.onEntryFunctionCall(func, {
495
- ...filter,
496
- function: "FixedPriceMarketScript::batch_transfer_tokens",
497
- });
498
- return this;
499
- }
500
- onEntryBuyScript(func, filter) {
501
- this.onEntryFunctionCall(func, {
502
- ...filter,
503
- function: "FixedPriceMarketScript::buy_script",
504
- });
505
- return this;
506
- }
507
- onEntryCancelListScript(func, filter) {
508
- this.onEntryFunctionCall(func, {
509
- ...filter,
510
- function: "FixedPriceMarketScript::cancel_list_script",
511
- });
512
- return this;
513
- }
514
- onEntryChangePriceScript(func, filter) {
515
- this.onEntryFunctionCall(func, {
516
- ...filter,
517
- function: "FixedPriceMarketScript::change_price_script",
518
- });
519
- return this;
520
- }
521
- onEntryListScript(func, filter) {
522
- this.onEntryFunctionCall(func, {
523
- ...filter,
524
- function: "FixedPriceMarketScript::list_script",
525
- });
526
- return this;
527
- }
528
- onEntryOptInDirectTransfer(func, filter) {
529
- this.onEntryFunctionCall(func, {
530
- ...filter,
531
- function: "FixedPriceMarketScript::opt_in_direct_transfer",
532
- });
533
- return this;
534
- }
535
- loadTypesInternal(registry) {
536
- loadAllTypes(registry);
537
- }
538
- }
539
- exports.FixedPriceMarketScript = FixedPriceMarketScript;
540
- (function (FixedPriceMarketScript) {
541
- function loadTypes(_r) {
542
- loadAllTypes(_r);
543
- }
544
- FixedPriceMarketScript.loadTypes = loadTypes;
545
- FixedPriceMarketScript.ABI = JSON.parse('{"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":[]}');
546
- })(FixedPriceMarketScript = exports.FixedPriceMarketScript || (exports.FixedPriceMarketScript = {}));
547
- function loadAllTypes(_r) {
548
- _0x3_1.token.loadTypes(_r);
549
- _0x1_1.type_info.loadTypes(_r);
550
- _0x1_1.table.loadTypes(_r);
551
- _0x1_1.event.loadTypes(_r);
552
- _0x1_1.acl.loadTypes(_r);
553
- _0x1_1.account.loadTypes(_r);
554
- _r.load(Aggregator.ABI);
555
- _r.load(token_coin_swap.ABI);
556
- _r.load(FixedPriceMarket.ABI);
557
- _r.load(FixedPriceMarketScript.ABI);
558
- }
559
- //# sourceMappingURL=soffl3.js.map