@typemove/aptos 1.0.0-rc.22 → 1.0.0-rc.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3265 @@
1
+ [
2
+ {
3
+ "bytecode": "0xa11ceb0b060000000b01000a020a0603104f045f0c056b27079201f6010888036006e80319108104470cc804620faa050400020103010400050206010704010001000800010100000901020100000a01010100000b03000100030c010500010d06010100010905020100010e05080100030f0107000110090101000411090800021209050004130b0800011403000100020405040604070409040d04010b0001090000010302060c03010900010502050b00010900010c010101060c02010c02050a020b737461626c655f706f6f6c0d77656967687465645f706f6f6c046665657304636f696e067369676e6572077061636b616765076d616e6167657204436f696e0a6162736f72625f6665650762616c616e63650c7472795f72656769737465720c77697468647261775f666565187265736f757263655f6163636f756e745f61646472657373076465706f7369741569735f6163636f756e745f72656769737465726564177265736f757263655f6163636f756e745f7369676e65720872656769737465720d69735f617574686f72697a65640a616464726573735f6f660e69735f726f6c655f6d656d62657208776974686472617748271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af000000000000000000000000000000000000000000000000000000000000000193aa044a65a27bd89b163f8b3be3777b160b09a25c336643dcc2878dfd8f2a8d030800000000000000000a020c0b6665655f6d616e61676572126170746f733a3a6d657461646174615f763133010000000000000000104552525f554e415554484f52495a45440b4572726f7220436f64657300010762616c616e6365010100000300000105380011040b0038010201010000010311043802020200000007091104380320040811080c000e00380402030100000a180a00110a04080b0001080c02050d0b00110b0701110c0c020b020410051207002711080c030e030b013805020000000100",
4
+ "abi": {
5
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
6
+ "name": "fees",
7
+ "friends": [
8
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool",
9
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool"
10
+ ],
11
+ "exposed_functions": [
12
+ {
13
+ "name": "absorb_fee",
14
+ "visibility": "friend",
15
+ "is_entry": false,
16
+ "is_view": false,
17
+ "generic_type_params": [
18
+ {
19
+ "constraints": []
20
+ }
21
+ ],
22
+ "params": ["0x1::coin::Coin<T0>"],
23
+ "return": []
24
+ },
25
+ {
26
+ "name": "balance",
27
+ "visibility": "public",
28
+ "is_entry": false,
29
+ "is_view": true,
30
+ "generic_type_params": [
31
+ {
32
+ "constraints": []
33
+ }
34
+ ],
35
+ "params": [],
36
+ "return": ["u64"]
37
+ },
38
+ {
39
+ "name": "withdraw_fee",
40
+ "visibility": "public",
41
+ "is_entry": false,
42
+ "is_view": false,
43
+ "generic_type_params": [
44
+ {
45
+ "constraints": []
46
+ }
47
+ ],
48
+ "params": ["&signer", "u64"],
49
+ "return": ["0x1::coin::Coin<T0>"]
50
+ }
51
+ ],
52
+ "structs": []
53
+ }
54
+ },
55
+ {
56
+ "bytecode": "0xa11ceb0b060000000801000e030e23053108073962089b016006fb014010bb02770cb2032d0000010100020003000400050206000700010001080002000309010300060901030002070101000407010100050701010001060c000105010104696e6974067369676e657209626173655f706f6f6c077061636b6167650b737461626c655f706f6f6c0d77656967687465645f706f6f6c076d616e616765720a696e697469616c697a650a616464726573735f6f660b696e697469616c697a656448271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af000000000000000000000000000000000000000000000000000000000000000193aa044a65a27bd89b163f8b3be3777b160b09a25c336643dcc2878dfd8f2a8d03080200000000000000030801000000000000000308000000000000000005201bf23f0881f8fa149500ff6b7a047f608967c028a8ad7a2100caa84833ce851d126170746f733a3a6d657461646174615f763163030000000000000000104552525f554e415554484f52495a4544000100000000000000194552525f5041434b4147455f554e494e495449414c495a4544000200000000000000194552525f4d414e414745525f554e494e495449414c495a45440000000001040001160b001101070321040605080702271102040b050d0701271103041005120700271104110511060200",
57
+ "abi": {
58
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
59
+ "name": "init",
60
+ "friends": [],
61
+ "exposed_functions": [
62
+ {
63
+ "name": "initialize",
64
+ "visibility": "public",
65
+ "is_entry": true,
66
+ "is_view": false,
67
+ "generic_type_params": [],
68
+ "params": ["&signer"],
69
+ "return": []
70
+ }
71
+ ],
72
+ "structs": []
73
+ }
74
+ },
75
+ {
76
+ "bytecode": "0xa11ceb0b060000000c01000c020c08031446055a26078001bf0308bf0460069f0579109806af010ac707060ccd07c5010d9209020f940908000401050106010701080209000a080001140600000b000100000c020000000d000300000e040000000f02050000100001000011000100001200050001150601000416020100031708090005180203000219040000011a0a050000010501060c010103060c0a020a0a02010c0206050a020205080102060c050108010106080109626173655f706f6f6c04666565730b737461626c655f706f6f6c0d77656967687465645f706f6f6c077061636b616765076163636f756e7404636f6465107265736f757263655f6163636f756e74067369676e6572076d616e61676572185265736f757263655369676e65724361706162696c69747920646572697665645f7265736f757263655f6163636f756e745f616464726573730b696e69745f6d6f64756c650b696e697469616c697a65640f7075626c6973685f7061636b6167650e726571756573745f7369676e6572187265736f757263655f6163636f756e745f61646472657373217265736f757263655f6163636f756e745f6465706c6f7965725f61646472657373177265736f757263655f6163636f756e745f7369676e65720a7369676e65725f636170105369676e65724361706162696c697479176372656174655f7265736f757263655f616464726573730a616464726573735f6f661d72657472696576655f7265736f757263655f6163636f756e745f6361700d69735f617574686f72697a6564137075626c6973685f7061636b6167655f74786e1d6372656174655f7369676e65725f776974685f6361706162696c69747948271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af000000000000000000000000000000000000000000000000000000000000000193aa044a65a27bd89b163f8b3be3777b160b09a25c336643dcc2878dfd8f2a8d05201bf23f0881f8fa149500ff6b7a047f608967c028a8ad7a2100caa84833ce851d03080300000000000000030801000000000000000308000000000000000003080200000000000000052048271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af0a020a097468616c6173776170126170746f733a3a6d657461646174615f76319a01040000000000000000184552525f5041434b4147455f554e415554484f52495a45440b4572726f7220436f6465730100000000000000174552525f5041434b4147455f494e495449414c495a4544000200000000000000194552525f5041434b4147455f554e494e495449414c495a45440003000000000000001c4552525f5041434b4147455f414444524553535f4d49534d4154434800000000020113080100000000010607000c000e0007061108020100000007270a0011090c010a012900200408050c0b00010702270a01110021041105150b00010701270b01110521041a051e0b00010701270a000700110a0c020b000b0212002d000202010000000311052900020301040100050d0b00110b0404050607032711070c030e030b010b02110c02040100010000080b00110b040405060703271107020501000000020705020601000000020700020703000100000a11020403050507042711052b001000110d020000000000010002000300",
77
+ "abi": {
78
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
79
+ "name": "package",
80
+ "friends": [
81
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::base_pool",
82
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::fees",
83
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool",
84
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool"
85
+ ],
86
+ "exposed_functions": [
87
+ {
88
+ "name": "initialized",
89
+ "visibility": "public",
90
+ "is_entry": false,
91
+ "is_view": false,
92
+ "generic_type_params": [],
93
+ "params": [],
94
+ "return": ["bool"]
95
+ },
96
+ {
97
+ "name": "publish_package",
98
+ "visibility": "public",
99
+ "is_entry": true,
100
+ "is_view": false,
101
+ "generic_type_params": [],
102
+ "params": ["&signer", "vector<u8>", "vector<vector<u8>>"],
103
+ "return": []
104
+ },
105
+ {
106
+ "name": "request_signer",
107
+ "visibility": "public",
108
+ "is_entry": false,
109
+ "is_view": false,
110
+ "generic_type_params": [],
111
+ "params": ["&signer"],
112
+ "return": ["signer"]
113
+ },
114
+ {
115
+ "name": "resource_account_address",
116
+ "visibility": "public",
117
+ "is_entry": false,
118
+ "is_view": false,
119
+ "generic_type_params": [],
120
+ "params": [],
121
+ "return": ["address"]
122
+ },
123
+ {
124
+ "name": "resource_account_deployer_address",
125
+ "visibility": "public",
126
+ "is_entry": false,
127
+ "is_view": false,
128
+ "generic_type_params": [],
129
+ "params": [],
130
+ "return": ["address"]
131
+ },
132
+ {
133
+ "name": "resource_account_signer",
134
+ "visibility": "friend",
135
+ "is_entry": false,
136
+ "is_view": false,
137
+ "generic_type_params": [],
138
+ "params": [],
139
+ "return": ["signer"]
140
+ }
141
+ ],
142
+ "structs": [
143
+ {
144
+ "name": "ResourceSignerCapability",
145
+ "is_native": false,
146
+ "abilities": ["key"],
147
+ "generic_type_params": [],
148
+ "fields": [
149
+ {
150
+ "name": "signer_cap",
151
+ "type": "0x1::account::SignerCapability"
152
+ }
153
+ ]
154
+ }
155
+ ]
156
+ }
157
+ },
158
+ {
159
+ "bytecode": "0xa11ceb0b060000000d0100160216200336810104b7012205d9016807c102ee0408af07800106af086d109c09e0010afc0a1b0c970bad020dc40d040fc80d060003010401050106010701080109000a000b020c030d000e0600000f08000010000009170700051c070003200401060104270701000000110000000012000100001300010100001400020000150003010000160400000018000500001900010400000000001a030100082200060009230705000124090a01060825000b000626000d01000228000f01000429110e01000a2a090100092b130500092c050300052d140d00032e15000106022f00020100073000010200000b080d0c0d0e0e0e0f101408020e0217150e151716180219021a1519161b151a161c0001010102010302060c03010803010c02030301080001060c010b050109000105010802010804010900010b060104010401070b06010900020708010302080303010a0202070b05010900090002010101090102090009010109020109030209010902020902090304696e69740b737461626c655f706f6f6c0d77656967687465645f706f6f6c09626173655f706f6f6c076163636f756e7404636f696e056576656e74066f7074696f6e06737472696e6709747970655f696e666f0b636f696e5f68656c706572077061636b6167650d66697865645f706f696e743634076d616e616765721842617365506f6f6c506172616d4368616e67654576656e740e42617365506f6f6c506172616d73044e756c6c0a696e697469616c697a650b696e697469616c697a65640769735f6e756c6c166d61785f737570706f727465645f646563696d616c7311706f6f6c5f746f6b656e5f737570706c79247365745f737761705f6665655f70726f746f636f6c5f616c6c6f636174696f6e5f6270730c4669786564506f696e74363422737761705f6665655f70726f746f636f6c5f616c6c6f636174696f6e5f726174696f1476616c69646174655f706f6f6c5f6173736574731176616c69646174655f737761705f666565046e616d6506537472696e670a707265765f76616c7565096e65775f76616c756513706172616d5f6368616e67655f6576656e74730b4576656e7448616e646c650b64756d6d795f6669656c64177265736f757263655f6163636f756e745f7369676e6572086672616374696f6e106e65775f6576656e745f68616e646c65187265736f757263655f6163636f756e745f6164647265737309747970655f6e616d65064f7074696f6e06737570706c7907657874726163740d69735f617574686f72697a6564036d756c066465636f646504757466380a656d69745f6576656e7408646563696d616c731469735f756e697175655f616e645f736f7274656448271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af00000000000000000000000000000000000000000000000000000000000000014dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee993aa044a65a27bd89b163f8b3be3777b160b09a25c336643dcc2878dfd8f2a8d030810270000000000000308d007000000000000030803000000000000000308010000000000000003080000000000000000030802000000000000000201080308e8030000000000000a022120737761705f6665655f70726f746f636f6c5f616c6c6f636174696f6e5f627073126170746f733a3a6d657461646174615f7631cb01040000000000000000104552525f554e415554484f52495a45440b4572726f7220436f64657301000000000000000f4552525f494e495449414c495a4544000200000000000000114552525f554e494e495449414c495a4544000300000000000000104552525f4250535f47545f313030303000000311706f6f6c5f746f6b656e5f737570706c79010100166d61785f737570706f727465645f646563696d616c7301010022737761705f6665655f70726f746f636f6c5f616c6c6f636174696f6e5f726174696f0101000002031b08041d031e030102021808031f0b0501080002020121010003000006111101200404050607032711090c000e0007010700110a0e00380012012d0102010300000003110c290102020100000004380138022102030100000002070602040100000f0638030c000d00380434020501040101122b0b0011100404050607042711010409050b0703270a0107002504100512070227110c2a010c020a021000140700111111120c030a010700110a0a020f00150b020f01070811130b030b01120038050206010001010005110c2a011000140207030000163e38060405080c00050738070c000b00040b090238080706240412080c01051638090706240c010b01041a0902380a20041f0902380b0427380c042508020902380d070624042d0902380e2004320902380c04360802380f070624043c09023810020803000000040b00070725020100010100000001000200",
160
+ "abi": {
161
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
162
+ "name": "base_pool",
163
+ "friends": [
164
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::init",
165
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool",
166
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool"
167
+ ],
168
+ "exposed_functions": [
169
+ {
170
+ "name": "initialize",
171
+ "visibility": "friend",
172
+ "is_entry": false,
173
+ "is_view": false,
174
+ "generic_type_params": [],
175
+ "params": [],
176
+ "return": []
177
+ },
178
+ {
179
+ "name": "initialized",
180
+ "visibility": "friend",
181
+ "is_entry": false,
182
+ "is_view": false,
183
+ "generic_type_params": [],
184
+ "params": [],
185
+ "return": ["bool"]
186
+ },
187
+ {
188
+ "name": "is_null",
189
+ "visibility": "public",
190
+ "is_entry": false,
191
+ "is_view": false,
192
+ "generic_type_params": [
193
+ {
194
+ "constraints": []
195
+ }
196
+ ],
197
+ "params": [],
198
+ "return": ["bool"]
199
+ },
200
+ {
201
+ "name": "max_supported_decimals",
202
+ "visibility": "public",
203
+ "is_entry": false,
204
+ "is_view": true,
205
+ "generic_type_params": [],
206
+ "params": [],
207
+ "return": ["u8"]
208
+ },
209
+ {
210
+ "name": "pool_token_supply",
211
+ "visibility": "public",
212
+ "is_entry": false,
213
+ "is_view": true,
214
+ "generic_type_params": [
215
+ {
216
+ "constraints": []
217
+ }
218
+ ],
219
+ "params": [],
220
+ "return": ["u64"]
221
+ },
222
+ {
223
+ "name": "set_swap_fee_protocol_allocation_bps",
224
+ "visibility": "public",
225
+ "is_entry": true,
226
+ "is_view": false,
227
+ "generic_type_params": [],
228
+ "params": ["&signer", "u64"],
229
+ "return": []
230
+ },
231
+ {
232
+ "name": "swap_fee_protocol_allocation_ratio",
233
+ "visibility": "public",
234
+ "is_entry": false,
235
+ "is_view": true,
236
+ "generic_type_params": [],
237
+ "params": [],
238
+ "return": ["0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"]
239
+ },
240
+ {
241
+ "name": "validate_pool_assets",
242
+ "visibility": "friend",
243
+ "is_entry": false,
244
+ "is_view": false,
245
+ "generic_type_params": [
246
+ {
247
+ "constraints": []
248
+ },
249
+ {
250
+ "constraints": []
251
+ },
252
+ {
253
+ "constraints": []
254
+ },
255
+ {
256
+ "constraints": []
257
+ }
258
+ ],
259
+ "params": [],
260
+ "return": ["bool"]
261
+ },
262
+ {
263
+ "name": "validate_swap_fee",
264
+ "visibility": "friend",
265
+ "is_entry": false,
266
+ "is_view": false,
267
+ "generic_type_params": [],
268
+ "params": ["u64"],
269
+ "return": ["bool"]
270
+ }
271
+ ],
272
+ "structs": [
273
+ {
274
+ "name": "BasePoolParamChangeEvent",
275
+ "is_native": false,
276
+ "abilities": ["drop", "store"],
277
+ "generic_type_params": [],
278
+ "fields": [
279
+ {
280
+ "name": "name",
281
+ "type": "0x1::string::String"
282
+ },
283
+ {
284
+ "name": "prev_value",
285
+ "type": "u64"
286
+ },
287
+ {
288
+ "name": "new_value",
289
+ "type": "u64"
290
+ }
291
+ ]
292
+ },
293
+ {
294
+ "name": "BasePoolParams",
295
+ "is_native": false,
296
+ "abilities": ["key"],
297
+ "generic_type_params": [],
298
+ "fields": [
299
+ {
300
+ "name": "swap_fee_protocol_allocation_ratio",
301
+ "type": "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
302
+ },
303
+ {
304
+ "name": "param_change_events",
305
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::base_pool::BasePoolParamChangeEvent>"
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "name": "Null",
311
+ "is_native": false,
312
+ "abilities": [],
313
+ "generic_type_params": [],
314
+ "fields": [
315
+ {
316
+ "name": "dummy_field",
317
+ "type": "bool"
318
+ }
319
+ ]
320
+ }
321
+ ]
322
+ }
323
+ },
324
+ {
325
+ "bytecode": "0xa11ceb0b0600000008010006020608030e3304410a054b3b0786019701089d02400cdd026c00000101010201030200020607000004000102000000050002020000020700050100020807080001040901010001090a0200020a070800020b070b00010c0a0200020402060408040b000c0001080001010a080008000508010a020a020508010a020a0201090001080101090101060801010a020206090006090001060800010502090009010b636f696e5f68656c7065720a636f6d70617261746f7209747970655f696e666f06526573756c7407636f6d706172651469735f756e697175655f616e645f736f727465640854797065496e666f07747970655f6f660b7374727563745f6e616d650869735f657175616c0b6d6f64756c655f6e616d650f6163636f756e745f616464726573730f69735f736d616c6c65725f7468616e48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af000000000000000000000000000000000000000000000000000000000000000100000000032e38000c0338010c070e0311030c050e0711030c090e050e0938020c010e0111052004140b01020e0311060c040e0711060c080e040e0838020c000e0011052004240b00020e0311070c020e0711070c060e020e0638030201010000010538040c000e0011080200",
326
+ "abi": {
327
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
328
+ "name": "coin_helper",
329
+ "friends": [],
330
+ "exposed_functions": [
331
+ {
332
+ "name": "is_unique_and_sorted",
333
+ "visibility": "public",
334
+ "is_entry": false,
335
+ "is_view": false,
336
+ "generic_type_params": [
337
+ {
338
+ "constraints": []
339
+ },
340
+ {
341
+ "constraints": []
342
+ }
343
+ ],
344
+ "params": [],
345
+ "return": ["bool"]
346
+ }
347
+ ],
348
+ "structs": []
349
+ }
350
+ },
351
+ {
352
+ "bytecode": "0xa11ceb0b060000000f01001e021ebb0103d9018d0404e605960105fc06d60907d210f70f08c920a00106e921bf0210a824d0070af82bce020bc62e1a0ce02efc220ddc51380e94522e0fc25202000101020103010401050106010701080109000a000b000c020d030e040f0010060400010001000100010011000400010001000100010012060400010001000100010013080400010001000100010014060400010001000100010015080400010001000100010016060400010001000100010017040400010001000100010018070000190800001a0600001b0800001c00040001000100010001001d06040001000100010001021e04010001062a07000c3b0700034504010601024f05010001025105010001075e0402030100010276050100010894010700001f0001040000000000200201040000000000210304050000000000002205060500000000000023070804000000000024040904000000000025040a04000000000026040b040000000000270c0b040000000000280404000029040a00002b090d00002c040d0400000000002d040900002e08040400000000002f040904000000000030040b040000000000310d0e000032040a040000000000330100040000000000340f04040000000000350f040000360f04040000000000370f0404000000000038040a04000000000039061006000000000000003a111206000000000000003c04130400000000003d140404000000000b6f0417000270190901000e711d1e0002721f0401000973040901000374220401060275232401000977040a04000000000978040a01000b79042600067a270d00022828290100027b2a0401000c7c0413000c7d2b13000c7e2b1300017f2d2e01060580012d17000c81013213000c82011309000283013a240100098401043d00028501043d01000486013e09000929040a0007870104400203040c88013e1300078901430a020300078a014344020300028b01040d0100068c01450400068d01460900068e01470d000a8f01240401000c90011309000291014b0401000d92012d0a00099301090a00089501045101000996010413000e97015309000e9801530900089901040d0100079a015804020302079b01580402030012161e181e1a1e1b1e1c08162018201a201b201c2120222123201c1624161816251b251c0c162820292007162d2c2d212d2f2d302d31222c2d3320351e3531353118311a311b311c06163318331a331b331c363f3641384139413a183a1a3a1b3a1c3e183e1a3e1b3e1c2233383f393f1e204020222f223143354352253525524318431a431b431c3e350254035522304720483f4941040b0e0109000b0e0109010b0e0109020b0e010903010b0e010b0c04090009010902090306060c0b0e0109000b0e0109010b0e0109020b0e010903030305030b0e0109040003050303010b0e0109040403030303050b0e0109000b0e0109010b0e0109020b0e0109030b0104090009010902090301030101010a0301060b0504090009010902090301080f030a03030302060c03010b0e010905020b0e01090403020b0e0109040b0e01090501081002060b05040900090109020903010c0a030a0303030303030f030b0e010b0c040900090109020903070b050409000901090209030f040900090109020903010501090001060b0e01090001090101090201090302060a0303010f02070b0e0109000b0e010900010b0c040900090109020903010b0004090009010902090302070b1101090009000203060b12010900010b0e0109002e01030a030b12010b0c0409000901090209030b13010b0c0409000901090209030b0e010b0c040900090109020903081008100b070409000901090209030a030301030303050303070b11010b060409000901090209030101010b0e0109000b0e0109010b0e0109020b0e010903030303030b13010b0c0409000901090209030b15010b0c0409000901090209030308100b0e010b0c0409000901090209030b12010b0c040900090109020903081006080b0b050409000901090209030b13010b0c0409000901090209030b12010b0c0409000901090209030a030b0e010b0c040900090109020903050c0810010c010a0205060c080f080f0201030b130109000b150109000b12010900010b150109000208100810010b0604090009010902090301060c010b11010900010b04040900090109020903010b0d04090009010902090301080a02081003010b02040900090109020903040904090109020903010904040900090409020903040900090109040903040900090109020904070b0e0109040b0e0109040b0e010904070b05040904090109020903070b05040900090409020903070b05040900090109040903070b0504090009010902090402070b0e010900030c0101010c070b030409000901090209030b0e0109000b0e0109010b0e0109020b0e010903070b0504090009010902090305060c02020a03010202030302080f0808010b1402090009010203080f0106080902060b1402090009010900010609010207080f080f0106080f0306080f03031403030303030303030303030303070b03040900090109020903070b050409000901090209030303030305050a0303060808060809030c030303030308100b0e0109000b0e0109010b0e0109020b0e010903070b0504090009010902090303020b0e010900060b130109000301070b05040900090109020903030207080b0303070b030409000901090209030305030810070b05040900090109020903032001010303030303030a03030303030b0e01090503030101010101010101070b05040900090109020903070b0504090009010902090303050308160816060a030108160109050503030303060a0305090009010902090309040509000901090209030905250103030a030103030303030303030303030b0e01090503030101010101010101070b05040900090109020903070b05040900090109020903030303050308160816060a03030a03070809080f03070b1402090009010900090104696e69740b737461626c655f706f6f6c076163636f756e7404636f696e056576656e74066d6174683634067369676e657206737472696e67057461626c6509747970655f696e666f09626173655f706f6f6c0466656573077061636b6167650d66697865645f706f696e743634076d616e616765720b737461626c655f6d617468114164644c69717569646974794576656e7409466c6173686c6f616e0e466c6173686c6f616e4576656e740f466c6173686c6f616e48656c7065721452656d6f76654c69717569646974794576656e740a537461626c65506f6f6c17537461626c65506f6f6c4372656174696f6e4576656e7410537461626c65506f6f6c4576656e74730e537461626c65506f6f6c496e666f10537461626c65506f6f6c4c6f6f6b75701a537461626c65506f6f6c506172616d4368616e67654576656e7410537461626c65506f6f6c506172616d730f537461626c65506f6f6c546f6b656e09537761704576656e7404436f696e0d6164645f6c6971756964697479126372656174655f737461626c655f706f6f6c0f6465706f7369745f746f5f706f6f6c11657874726163745f66726f6d5f706f6f6c09666c6173686c6f616e11666c6173686c6f616e5f6665655f6270731c666c6173686c6f616e5f68656c7065725f696e697469616c697a6564196765745f707265636973696f6e5f6d756c7469706c69657273066765745f78700a696e697469616c697a650b696e697469616c697a656406537472696e670d6c705f6e616d655f62795f69640d6c705f73686f72745f6e616d650c6e6578745f706f6f6c5f69640d7061795f666c6173686c6f616e0f706f6f6c5f616d705f666163746f720d706f6f6c5f62616c616e63657309706f6f6c5f696e666f0b706f6f6c5f6c6f636b65641072656d6f76655f6c69717569646974790e7365745f616d705f666163746f721d7365745f64656661756c745f706f6f6c5f737761705f6665655f627073157365745f666c6173686c6f616e5f6665655f627073157365745f706f6f6c5f737761705f6665655f62707312737461626c655f706f6f6c5f6578697374730d737761705f65786163745f696e0e737761705f65786163745f6f75740c4669786564506f696e7436340e737761705f6665655f726174696f127570646174655f706f6f6c5f6c6f6f6b757008616d6f756e745f3008616d6f756e745f3108616d6f756e745f3208616d6f756e745f33156d696e7465645f6c705f636f696e5f616d6f756e74066c6f636b656410666c6173686c6f616e5f6576656e74730b4576656e7448616e646c65156275726e65645f6c705f636f696e5f616d6f756e740761737365745f300761737365745f310761737365745f320761737365745f330a616d705f666163746f7215707265636973696f6e5f6d756c7469706c696572731e696e76657273655f6e6567617465645f737761705f6665655f726174696f13706f6f6c5f746f6b656e5f6d696e745f6361700e4d696e744361706162696c69747913706f6f6c5f746f6b656e5f6275726e5f6361700e4275726e4361706162696c6974791072657365727665645f6c705f636f696e066576656e74730763726561746f720c737761705f6665655f62707314706f6f6c5f6372656174696f6e5f6576656e7473146164645f6c69717569646974795f6576656e74731772656d6f76655f6c69717569646974795f6576656e74730b737761705f6576656e747313706172616d5f6368616e67655f6576656e74730862616c616e6365730e6c705f636f696e5f737570706c790c6e616d655f746f5f706f6f6c055461626c650a69645f746f5f6e616d65076e6578745f6964046e616d650a707265765f76616c7565096e65775f76616c75651664656661756c745f737761705f6665655f726174696f0b64756d6d795f6669656c64066964785f696e076964785f6f757409616d6f756e745f696e0a616d6f756e745f6f75740a6665655f616d6f756e740e706f6f6c5f62616c616e63655f300e706f6f6c5f62616c616e63655f310e706f6f6c5f62616c616e63655f320e706f6f6c5f62616c616e63655f33187265736f757263655f6163636f756e745f616464726573730576616c756511636f6d707574655f696e76617269616e74056d6572676511706f6f6c5f746f6b656e5f737570706c790a656d69745f6576656e74046d696e7410467265657a654361706162696c6974791476616c69646174655f706f6f6c5f6173736574730769735f6e756c6c177265736f757263655f6163636f756e745f7369676e657204757466381264657374726f795f667265657a655f636170036f6e65067375625f6670066469765f6670106e65775f6576656e745f68616e646c650a616464726573735f6f66036d756c066465636f64650765787472616374166d61785f737570706f727465645f646563696d616c7308646563696d616c7303706f77036e6577086672616374696f6e08636f6e7461696e7306626f72726f770673796d626f6c06617070656e64066c656e6774680a7375625f737472696e670a6162736f72625f666565116465636f64655f726f756e645f646f776e046275726e0d69735f617574686f72697a65641176616c69646174655f737761705f6665650854797065496e666f07747970655f6f6622737761705f6665655f70726f746f636f6c5f616c6c6f636174696f6e5f726174696f1163616c635f6f75745f676976656e5f696e1163616c635f696e5f676976656e5f6f757409747970655f6e616d65067570736572740361646448271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af00000000000000000000000000000000000000000000000000000000000000014dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee993aa044a65a27bd89b163f8b3be3777b160b09a25c336643dcc2878dfd8f2a8dfb6e709add23c710c40e4844d889938f703719f72d2d4439ee682d67f07a15c5030810270000000000000308010000000000000003080a000000000000000308f40100000000000003082c01000000000000030803000000000000000308920100000000000003089101000000000000030894010000000000000308930100000000000003089001000000000000030807000000000000000308080000000000000003080500000000000000030864000000000000000308c80000000000000003080600000000000000030809000000000000000308040000000000000003080000000000000000030802000000000000000201080a0209085448414c412d4c500a02040353503a0a0202012d0a0204032e2e2e0a020b0a616d705f666163746f720a02151464656661756c745f737761705f6665655f6270730a021211666c6173686c6f616e5f6665655f6270730a020d0c737761705f6665655f627073126170746f733a3a6d657461646174615f7631bb07130000000000000000104552525f554e415554484f52495a45440b4572726f7220636f64657301000000000000000f4552525f494e495449414c495a4544000200000000000000114552525f554e494e495449414c495a4544000300000000000000164552525f535441424c455f504f4f4c5f4558495354530004000000000000001a4552525f535441424c455f504f4f4c5f4e4f545f455849535453000500000000000000234552525f535441424c455f504f4f4c5f494e56414c49445f504f4f4c5f415353455453000600000000000000284552525f535441424c455f504f4f4c5f494e56415249414e545f4e4f545f494e4352454153494e47000700000000000000224552525f535441424c455f504f4f4c5f494e53554646494349454e545f494e505554000800000000000000264552525f535441424c455f504f4f4c5f494e53554646494349454e545f4c4951554944495459000900000000000000164552525f535441424c455f504f4f4c5f4c4f434b4544002c01000000000000274552525f535441424c455f504f4f4c5f414d505f464143544f525f4f55545f4f465f424f554e440064000000000000001c4552525f535441424c455f504f4f4c5f494e56414c49445f53574150009001000000000000274552525f535441424c455f504f4f4c5f464c4153484c4f414e5f554e494e495449414c495a4544009101000000000000284552525f535441424c455f504f4f4c5f464c4153484c4f414e5f494e56414c49445f414d4f554e540092010000000000002c4552525f535441424c455f504f4f4c5f464c4153484c4f414e5f494e53554646494349454e545f5245504159009301000000000000254552525f535441424c455f504f4f4c5f464c4153484c4f414e5f4e4f545f4f4e474f494e47009401000000000000254552525f535441424c455f504f4f4c5f464c4153484c4f414e5f494e56414c49445f46454500c800000000000000204552525f535441424c455f504f4f4c5f494e56414c49445f535741505f46454500f401000000000000124552525f4449564944455f42595f5a45524f00000909706f6f6c5f696e666f0101000c6e6578745f706f6f6c5f69640101000d6c705f6e616d655f62795f69640101000d706f6f6c5f62616c616e6365730101000e737761705f6665655f726174696f0101000f706f6f6c5f616d705f666163746f7201010011666c6173686c6f616e5f6665655f62707301010012737461626c655f706f6f6c5f657869737473010100196765745f707265636973696f6e5f6d756c7469706c696572730101000002053e033f034003410342030102043e033f03400341030202043e033f034003410303020343012403440b11010b020409000901090209030402053e033f0340034103460305020c470b0e010900480b0e010901490b0e0109024a0b0e0109034b034c0a033c08104d08104e0b12010b0c040900090109020903500b13010b0c040900090109020903520b0e010b0c040900090109020903530b0704090009010902090306020754053e033f034003410342035503070205560b11010b06040900090109020903570b11010b00040900090109020903580b11010b04040900090109020903590b11010b0d0409000901090209035a0b1101080a0802045b0a034c0a034b035c030902035d0b1402080f08085f0b140203080f60030a020361080f620363030b02026408105a0b1101080a0c020165010d020a66036703680369036a036b036c036d036e034b030516001607160616031605340536053705380116021604160d16000100030305091566110a040305050714273800200409050b071127111d3c000c0e0a0e3700140c0a0e0038010c060e0138020c070e0238030c080e0338040c090a0e2e38050c040e040a0a111f0c0f0a0e36010b0038060a0e36020b0138070a0e36030b0238080a0e36040b0338090a0e2e38050c050e050b0a111f0c0b0a0b0a0f24044305470b0e01071027380a4d0b0b0a0f17180b0f1a340c0c0a0e360536060b060b070b080b090a0c3901380b0b0c0a0e3707380c0c0d0b0e2e09380d0b0d0201010002090b25a602110a040305070b0001071427380e040a050e0b0001070d27380f20041205160b00010705270a0506000000000000000024041f0a050700250c060521090c060b06042405280b00010704270e0138010c200e0238020c210e0338030c220e0438040c230a2006000000000000000024043d0a21060000000000000000240c11053f090c110b11044205460b0001070d273810045b0a220600000000000000002104510a23060000000000000000210c190553090c190b190456055a0b0001070d27058201381104700a220600000000000000002404660a23060000000000000000210c1a0568090c1a0b1a046b056f0b0001070d270582010a220600000000000000002404790a23060000000000000000240c1b057b090c1b0b1b047e0582010b0001070d27111d0c3111260c320b312b0b0c2b0e3238120716112707150838130c290c250c240b2538140b240b290c2e0c2d0a2b1008140c33112a0c2a0a2a0b2a0a33112b112c0c2738150c2f070e0e2e380c0c300b010c1c0b020c1d0b030c1e0b040c1f0a050c070b2f0c080b2e0c090b2d0c0a0b300c0b0b330c0c0b270c0d0e3238160e3238170e3238180e3238190e32381a39020c0e0b1c0b1d0b1e0b1f0b070b080b0c0b0d0b090b0a0b0b0b0e39000c2c0e2c38050c0f0e0f0b05111f340c260a26070e2404e80105ee010b2b010b0001070c270d2c360536080c180b200c100b210c120b220c130b230c140b00112e0c150a260c160b2b1008140700112f11300c170b180b150b100b120b130b140b160b173903381b0b26070e170e2c3707380c0c280e2c08380d0e320b2c3f000e320907010e32381c39043f040b2802020000010504240a0106000000000000000021040a0b003c0536090b02381d05230a010601000000000000002104140b003c06360a0b02381d05230b0106020000000000000021041e0b003c07360b0b02381d05230b003c08360c0b02381d02030000010539610a010600000000000000002104180b003c050c060a020a063709381e23040e05120b0601070c270b0636090b02381f0c05055f0a010601000000000000002104300b003c060c070a020a07370a381e230426052a0b0701070c270b07360a0b02381f0c04055d0b010602000000000000002104480b003c070c080a020a08370b381e23043e05420b0801070c270b08360b0b02381f0c03055b0b003c080c090a020a09370c381e23045205560b0901070c270b09360c0b02381f0c030b030c040b040c050b05020401000203053b9101110a040305050714273800200409050b0711270a00060000000000000000240412080c0405160a01060000000000000000240c040b04041b080c05051f0a02060000000000000000240c050b050424080c0605280a03060000000000000000240c060b06042b052d070727111d0c0e0a0e3c000c0d0a000a0d37013801250439053d0b0d010707270a010a0d3702380225044405480b0d010707270a020a0d3703380325044f05530b0d010707270a030a0d3704380425045a055e0b0d010707270a0d36010a0038200c090a0d36020a0138210c0a0a0d36030a0238220c0b0b0d36040a0338230c0c3824047c0b0e3c040c08080b08360d1505870111260c070e070c0f0a0f0807010b0f381c39043f040b090b0a0b0b0b0c0b000b010b020b033909020501000103040a382404030505070a27111d3d04370e1402060000000403111d3b0402070100003c2c400900000000000000000c0111320c000d01060a000000000000000a0038251734113444090d01060a000000000000000a003826173411344409381020041f0d01060a000000000000000a003827173411344409381120042a0d01060a000000000000000b0038281734113444090b0102080000000b39400900000000000000000c010d010a00370138010a00370f0600000000000000004209141844090d010a00370238020a00370f06010000000000000042091418440938102004260d010a00370338030a00370f06020000000000000042091418440938112004350d010a00370438040b00370f06030000000000000042091418440905370b00010b010209030000261c110a200404050607012711350409050b07142711260c000e003829382a06000000000000000012092d090e000702070011370e00381a120b2d0b020a0100000403111d290b020b010001094213111d2b090c010a01100d0a00382b0409050d0b01010712270b01100d0b00382c14020c0000000d31071711270c000d00382d113b0d0007181127113b0d00382e113b38102004210d0007181127113b0d00382f113b38112004210d0007181127113b0d003830113b0e00113c06200000000000000024042f0e00060000000000000000061d00000000000000113d0c000d0007191127113b0b00020d010001090405111d2b09100e14020e010002030548c101110a0403050507142738000408050a070927111d0c180a183c040c120b043a090c080c070c060c050e0038010c140e0138020c150e0238030c160e0338040c170a12370e140c110a050600000000000000002404440a050a110c09350b0935180700351a340c0d0b140a050a0d1626043c05400b12010706270d000b0d382038310a060600000000000000002404630a060a110c0a350b0a35180700351a340c0e0b150a060a0e1626045b055f0b12010706270d010b0e382138320a07060000000000000000240482010a070a110c0b350b0b35180700351a340c0f0b160a070a0f1626047a057e0b12010706270d020b0f382238330a080600000000000000002404a1010a080b110c0c350b0c35180700351a340c100b170a080a101626049901059d010b12010706270d030b10382338340b183c000c130a1336010b0038060a1336020b0138070a1336030b0238080b1336040b033809090a12360d150b1236100b050b060b070b08390a3835020f010001050405111d3d003700140210010001050404111d3d0038050211010001094939111d2b090c040a0410100a0038360409050d0b04010712270b0410100b0038370c03400900000000000000000c010a03101141090c050600000000000000000c020a020a05230431051f0d010a0310110a024209140a0310120a024209141844090b02060100000000000000160c02051a0b010a031013140b03101414021200000103040a38242004050902111d3d04370d1402130100030305094a5e110a040305050714273800200409050b071127111d3c000c0b0e0038380c05380a0c0c0a050b0c11370c060a060a0b37013801112f113f0c010a060a0b37023802112f113f0c020a060a0b37033803112f113f0c030b060a0b37043804112f113f0c040a0b36010a0138200c070a0b36020a0238210c080a0b36030a0338220c090a0b36040a0438230c0a0b000a0b371138390a0b360536120b010b020b030b040b05390b383a0b0b2e09380d0b070b080b090b0a021401040205094c340b00114104040506071327110a0409050b0714270a010600000000000000002404140a010700250c020516090c020b020419051b070427111d3c000c030a033700140c040a010a033600150a0336053613071a11270b040b01120a383b0b032e09380d02150104010b4d2a0b00114104040506071327110a0409050b0701270a011142040f0511070f27111d2a0b0c020a021008140700112f11300c030a01070011370a020f08150b020f18071b11270b030b01120a383b0216010402030b4e290b0011410404050607132738240409050b070a270a0107002304100512070827111d0c040a043c040c020a02370e140c030a010b02360e150b042a0b0f18071c11270b030b01120a383b0217010401054f370b00114104040506071327110a0409050b0714270a011142040f0511070f27111d3c000c030a033714140700112f11300c040a01070011370a03361415112a0c020a020b020a03371414112b112c0a033615150b0336053613071d11270b040b01120a383b02180100000403111d3b00021901000303050950fb01110a040305050714273800200409050b0711270e00381e0c0a0a0a0600000000000000002404130515070b27111d0c1c0a1c3c000c19383c0c1e383d0c1f0a1e0a1f220426383e200c010528090c010b01042e383f200c020530090c020b02043305370b1901070e270a1e3840210a1e3841210a1e3842210b1e3843210c140c130c120c110a110a121e0a131e0b141e045005540b1901070e270a1f3840210a1f3841210a1f3842210b1f3843210c180c170c160c150a150a161e0a171e0b181e046d05710b1901070e270a193714140a0a112f11300c1d11440a1d112f11300c1b0a0a0a1d170c0b0d000b1b381f38440b11048a010600000000000000000c05059a010b12048f010601000000000000000c040598010b130494010602000000000000000c030596010603000000000000000c030b030c040b040c050b050c0f0b1504a1010600000000000000000c0805b1010b1604a6010601000000000000000c0705af010b1704ab010602000000000000000c0605ad010603000000000000000c060b060c070b070c080b080c100a192e38050c090e090c200b0b0a19370f0a0f420914180c0d0a193700140a0f0a100b0d0b2011450b19370f0a104209141a0c0c0a1c0a0f0b0038450a1c0a100a0c38460c0e0b1c3c000c1a0a1a360536160b0f0b100b0a0b0c0b1d0a1a370138010a1a370238020a1a370338030a1a370438040a1a370014390c38470b1a2e09380d0b0e021a01000303050956af02110a040305050714273800200409050b0711270e00381e0c210a010600000000000000002404130515070e270a2106000000000000000024041a051c070e27111d0c220a223c000c1d383c0c24383d0c250a240a2522042d383e200c02052f090c020b020435383f200c060537090c060b06043a053e0b1d01070e270a243840210a243841210a243842210b243843210c180c170c160c150a150a161e0a171e0b181e0457055b0b1d01070e270a253840210a253841210a253842210b253843210c1c0c1b0c1a0c190a190a1a1e0a1b1e0b1c1e047405780b1d01070e270b15047d0600000000000000000c09058d010b160482010601000000000000000c08058b010b170487010602000000000000000c070589010603000000000000000c070b070c080b080c090b090c130b190498010600000000000000000a1d370138010c040c0305b8010b1a04a1010601000000000000000a1d370238020c0d0c0c05b4010b1b04aa010602000000000000000a1d370338030c0b0c0a05b0010603000000000000000a1d370438040c0b0c0a0b0a0b0b0c0d0c0c0b0c0b0d0c040c030b030b040c1f0c140a010b1f2304c10105c5010b1d01070c270a1d2e38050c050e050c260a010a1d370f0a14420914180c110a1d3700140a130a140b110b2611460a1d370f0a134209141a0c0f0b1d3715140a0f112f11300c0e0a0e0b212504ee0105f001070b270a0e0b0f170c2311440a23112f11300c200a0e0a20170c100d000b20381f38440a220a130d000b10381f38450a220a140a0138460c120b223c000c1e0a1e360536160b130b140b0e0b010b230a1e370138010a1e370238020a1e370338030a1e370438040a1e370014390c38470b1e2e09380d0b000b12021b010001050405111d3d00371414021c000001095743400900000000000000000c020d020a003701380144090d020a0037023802440938102004140d020a00370338034409381120041c0d020a00370438044409111d2a090c0338480c040a030f100a040b020a00370f140b00370014380a120838490b0104400a030f0d0a03100e140b04384a0a03100e14060100000000000000160b030f0e1505420b03010205040500050105020503050b070105080b000700030003010505090109020302090008000801080208030509070207040b0105060507070300160116021603160416051606160716091601340236033704380a160b160c160f1615161616171619161a161b16000000",
353
+ "abi": {
354
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
355
+ "name": "stable_pool",
356
+ "friends": ["0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::init"],
357
+ "exposed_functions": [
358
+ {
359
+ "name": "add_liquidity",
360
+ "visibility": "public",
361
+ "is_entry": false,
362
+ "is_view": false,
363
+ "generic_type_params": [
364
+ {
365
+ "constraints": []
366
+ },
367
+ {
368
+ "constraints": []
369
+ },
370
+ {
371
+ "constraints": []
372
+ },
373
+ {
374
+ "constraints": []
375
+ }
376
+ ],
377
+ "params": ["0x1::coin::Coin<T0>", "0x1::coin::Coin<T1>", "0x1::coin::Coin<T2>", "0x1::coin::Coin<T3>"],
378
+ "return": [
379
+ "0x1::coin::Coin<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolToken<T0, T1, T2, T3>>"
380
+ ]
381
+ },
382
+ {
383
+ "name": "create_stable_pool",
384
+ "visibility": "public",
385
+ "is_entry": false,
386
+ "is_view": false,
387
+ "generic_type_params": [
388
+ {
389
+ "constraints": []
390
+ },
391
+ {
392
+ "constraints": []
393
+ },
394
+ {
395
+ "constraints": []
396
+ },
397
+ {
398
+ "constraints": []
399
+ }
400
+ ],
401
+ "params": [
402
+ "&signer",
403
+ "0x1::coin::Coin<T0>",
404
+ "0x1::coin::Coin<T1>",
405
+ "0x1::coin::Coin<T2>",
406
+ "0x1::coin::Coin<T3>",
407
+ "u64"
408
+ ],
409
+ "return": [
410
+ "0x1::coin::Coin<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolToken<T0, T1, T2, T3>>"
411
+ ]
412
+ },
413
+ {
414
+ "name": "flashloan",
415
+ "visibility": "public",
416
+ "is_entry": false,
417
+ "is_view": false,
418
+ "generic_type_params": [
419
+ {
420
+ "constraints": []
421
+ },
422
+ {
423
+ "constraints": []
424
+ },
425
+ {
426
+ "constraints": []
427
+ },
428
+ {
429
+ "constraints": []
430
+ }
431
+ ],
432
+ "params": ["u64", "u64", "u64", "u64"],
433
+ "return": [
434
+ "0x1::coin::Coin<T0>",
435
+ "0x1::coin::Coin<T1>",
436
+ "0x1::coin::Coin<T2>",
437
+ "0x1::coin::Coin<T3>",
438
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::Flashloan<T0, T1, T2, T3>"
439
+ ]
440
+ },
441
+ {
442
+ "name": "flashloan_fee_bps",
443
+ "visibility": "public",
444
+ "is_entry": false,
445
+ "is_view": true,
446
+ "generic_type_params": [
447
+ {
448
+ "constraints": []
449
+ },
450
+ {
451
+ "constraints": []
452
+ },
453
+ {
454
+ "constraints": []
455
+ },
456
+ {
457
+ "constraints": []
458
+ }
459
+ ],
460
+ "params": [],
461
+ "return": ["u64"]
462
+ },
463
+ {
464
+ "name": "get_precision_multipliers",
465
+ "visibility": "public",
466
+ "is_entry": false,
467
+ "is_view": true,
468
+ "generic_type_params": [
469
+ {
470
+ "constraints": []
471
+ },
472
+ {
473
+ "constraints": []
474
+ },
475
+ {
476
+ "constraints": []
477
+ },
478
+ {
479
+ "constraints": []
480
+ }
481
+ ],
482
+ "params": [],
483
+ "return": ["vector<u64>"]
484
+ },
485
+ {
486
+ "name": "initialize",
487
+ "visibility": "friend",
488
+ "is_entry": false,
489
+ "is_view": false,
490
+ "generic_type_params": [],
491
+ "params": [],
492
+ "return": []
493
+ },
494
+ {
495
+ "name": "initialized",
496
+ "visibility": "public",
497
+ "is_entry": false,
498
+ "is_view": false,
499
+ "generic_type_params": [],
500
+ "params": [],
501
+ "return": ["bool"]
502
+ },
503
+ {
504
+ "name": "lp_name_by_id",
505
+ "visibility": "public",
506
+ "is_entry": false,
507
+ "is_view": true,
508
+ "generic_type_params": [],
509
+ "params": ["u64"],
510
+ "return": ["0x1::string::String"]
511
+ },
512
+ {
513
+ "name": "next_pool_id",
514
+ "visibility": "public",
515
+ "is_entry": false,
516
+ "is_view": true,
517
+ "generic_type_params": [],
518
+ "params": [],
519
+ "return": ["u64"]
520
+ },
521
+ {
522
+ "name": "pay_flashloan",
523
+ "visibility": "public",
524
+ "is_entry": false,
525
+ "is_view": false,
526
+ "generic_type_params": [
527
+ {
528
+ "constraints": []
529
+ },
530
+ {
531
+ "constraints": []
532
+ },
533
+ {
534
+ "constraints": []
535
+ },
536
+ {
537
+ "constraints": []
538
+ }
539
+ ],
540
+ "params": [
541
+ "0x1::coin::Coin<T0>",
542
+ "0x1::coin::Coin<T1>",
543
+ "0x1::coin::Coin<T2>",
544
+ "0x1::coin::Coin<T3>",
545
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::Flashloan<T0, T1, T2, T3>"
546
+ ],
547
+ "return": []
548
+ },
549
+ {
550
+ "name": "pool_amp_factor",
551
+ "visibility": "public",
552
+ "is_entry": false,
553
+ "is_view": true,
554
+ "generic_type_params": [
555
+ {
556
+ "constraints": []
557
+ },
558
+ {
559
+ "constraints": []
560
+ },
561
+ {
562
+ "constraints": []
563
+ },
564
+ {
565
+ "constraints": []
566
+ }
567
+ ],
568
+ "params": [],
569
+ "return": ["u64"]
570
+ },
571
+ {
572
+ "name": "pool_balances",
573
+ "visibility": "public",
574
+ "is_entry": false,
575
+ "is_view": true,
576
+ "generic_type_params": [
577
+ {
578
+ "constraints": []
579
+ },
580
+ {
581
+ "constraints": []
582
+ },
583
+ {
584
+ "constraints": []
585
+ },
586
+ {
587
+ "constraints": []
588
+ }
589
+ ],
590
+ "params": [],
591
+ "return": ["vector<u64>"]
592
+ },
593
+ {
594
+ "name": "pool_info",
595
+ "visibility": "public",
596
+ "is_entry": false,
597
+ "is_view": true,
598
+ "generic_type_params": [],
599
+ "params": ["0x1::string::String"],
600
+ "return": ["vector<u64>", "u64", "u64"]
601
+ },
602
+ {
603
+ "name": "remove_liquidity",
604
+ "visibility": "public",
605
+ "is_entry": false,
606
+ "is_view": false,
607
+ "generic_type_params": [
608
+ {
609
+ "constraints": []
610
+ },
611
+ {
612
+ "constraints": []
613
+ },
614
+ {
615
+ "constraints": []
616
+ },
617
+ {
618
+ "constraints": []
619
+ }
620
+ ],
621
+ "params": [
622
+ "0x1::coin::Coin<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolToken<T0, T1, T2, T3>>"
623
+ ],
624
+ "return": ["0x1::coin::Coin<T0>", "0x1::coin::Coin<T1>", "0x1::coin::Coin<T2>", "0x1::coin::Coin<T3>"]
625
+ },
626
+ {
627
+ "name": "set_amp_factor",
628
+ "visibility": "public",
629
+ "is_entry": true,
630
+ "is_view": false,
631
+ "generic_type_params": [
632
+ {
633
+ "constraints": []
634
+ },
635
+ {
636
+ "constraints": []
637
+ },
638
+ {
639
+ "constraints": []
640
+ },
641
+ {
642
+ "constraints": []
643
+ }
644
+ ],
645
+ "params": ["&signer", "u64"],
646
+ "return": []
647
+ },
648
+ {
649
+ "name": "set_default_pool_swap_fee_bps",
650
+ "visibility": "public",
651
+ "is_entry": true,
652
+ "is_view": false,
653
+ "generic_type_params": [],
654
+ "params": ["&signer", "u64"],
655
+ "return": []
656
+ },
657
+ {
658
+ "name": "set_flashloan_fee_bps",
659
+ "visibility": "public",
660
+ "is_entry": true,
661
+ "is_view": false,
662
+ "generic_type_params": [
663
+ {
664
+ "constraints": []
665
+ },
666
+ {
667
+ "constraints": []
668
+ },
669
+ {
670
+ "constraints": []
671
+ },
672
+ {
673
+ "constraints": []
674
+ }
675
+ ],
676
+ "params": ["&signer", "u64"],
677
+ "return": []
678
+ },
679
+ {
680
+ "name": "set_pool_swap_fee_bps",
681
+ "visibility": "public",
682
+ "is_entry": true,
683
+ "is_view": false,
684
+ "generic_type_params": [
685
+ {
686
+ "constraints": []
687
+ },
688
+ {
689
+ "constraints": []
690
+ },
691
+ {
692
+ "constraints": []
693
+ },
694
+ {
695
+ "constraints": []
696
+ }
697
+ ],
698
+ "params": ["&signer", "u64"],
699
+ "return": []
700
+ },
701
+ {
702
+ "name": "stable_pool_exists",
703
+ "visibility": "public",
704
+ "is_entry": false,
705
+ "is_view": true,
706
+ "generic_type_params": [
707
+ {
708
+ "constraints": []
709
+ },
710
+ {
711
+ "constraints": []
712
+ },
713
+ {
714
+ "constraints": []
715
+ },
716
+ {
717
+ "constraints": []
718
+ }
719
+ ],
720
+ "params": [],
721
+ "return": ["bool"]
722
+ },
723
+ {
724
+ "name": "swap_exact_in",
725
+ "visibility": "public",
726
+ "is_entry": false,
727
+ "is_view": false,
728
+ "generic_type_params": [
729
+ {
730
+ "constraints": []
731
+ },
732
+ {
733
+ "constraints": []
734
+ },
735
+ {
736
+ "constraints": []
737
+ },
738
+ {
739
+ "constraints": []
740
+ },
741
+ {
742
+ "constraints": []
743
+ },
744
+ {
745
+ "constraints": []
746
+ }
747
+ ],
748
+ "params": ["0x1::coin::Coin<T4>"],
749
+ "return": ["0x1::coin::Coin<T5>"]
750
+ },
751
+ {
752
+ "name": "swap_exact_out",
753
+ "visibility": "public",
754
+ "is_entry": false,
755
+ "is_view": false,
756
+ "generic_type_params": [
757
+ {
758
+ "constraints": []
759
+ },
760
+ {
761
+ "constraints": []
762
+ },
763
+ {
764
+ "constraints": []
765
+ },
766
+ {
767
+ "constraints": []
768
+ },
769
+ {
770
+ "constraints": []
771
+ },
772
+ {
773
+ "constraints": []
774
+ }
775
+ ],
776
+ "params": ["0x1::coin::Coin<T4>", "u64"],
777
+ "return": ["0x1::coin::Coin<T4>", "0x1::coin::Coin<T5>"]
778
+ },
779
+ {
780
+ "name": "swap_fee_ratio",
781
+ "visibility": "public",
782
+ "is_entry": false,
783
+ "is_view": true,
784
+ "generic_type_params": [
785
+ {
786
+ "constraints": []
787
+ },
788
+ {
789
+ "constraints": []
790
+ },
791
+ {
792
+ "constraints": []
793
+ },
794
+ {
795
+ "constraints": []
796
+ }
797
+ ],
798
+ "params": [],
799
+ "return": ["0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"]
800
+ }
801
+ ],
802
+ "structs": [
803
+ {
804
+ "name": "AddLiquidityEvent",
805
+ "is_native": false,
806
+ "abilities": ["drop", "store"],
807
+ "generic_type_params": [
808
+ {
809
+ "constraints": []
810
+ },
811
+ {
812
+ "constraints": []
813
+ },
814
+ {
815
+ "constraints": []
816
+ },
817
+ {
818
+ "constraints": []
819
+ }
820
+ ],
821
+ "fields": [
822
+ {
823
+ "name": "amount_0",
824
+ "type": "u64"
825
+ },
826
+ {
827
+ "name": "amount_1",
828
+ "type": "u64"
829
+ },
830
+ {
831
+ "name": "amount_2",
832
+ "type": "u64"
833
+ },
834
+ {
835
+ "name": "amount_3",
836
+ "type": "u64"
837
+ },
838
+ {
839
+ "name": "minted_lp_coin_amount",
840
+ "type": "u64"
841
+ }
842
+ ]
843
+ },
844
+ {
845
+ "name": "Flashloan",
846
+ "is_native": false,
847
+ "abilities": [],
848
+ "generic_type_params": [
849
+ {
850
+ "constraints": []
851
+ },
852
+ {
853
+ "constraints": []
854
+ },
855
+ {
856
+ "constraints": []
857
+ },
858
+ {
859
+ "constraints": []
860
+ }
861
+ ],
862
+ "fields": [
863
+ {
864
+ "name": "amount_0",
865
+ "type": "u64"
866
+ },
867
+ {
868
+ "name": "amount_1",
869
+ "type": "u64"
870
+ },
871
+ {
872
+ "name": "amount_2",
873
+ "type": "u64"
874
+ },
875
+ {
876
+ "name": "amount_3",
877
+ "type": "u64"
878
+ }
879
+ ]
880
+ },
881
+ {
882
+ "name": "FlashloanEvent",
883
+ "is_native": false,
884
+ "abilities": ["drop", "store"],
885
+ "generic_type_params": [
886
+ {
887
+ "constraints": []
888
+ },
889
+ {
890
+ "constraints": []
891
+ },
892
+ {
893
+ "constraints": []
894
+ },
895
+ {
896
+ "constraints": []
897
+ }
898
+ ],
899
+ "fields": [
900
+ {
901
+ "name": "amount_0",
902
+ "type": "u64"
903
+ },
904
+ {
905
+ "name": "amount_1",
906
+ "type": "u64"
907
+ },
908
+ {
909
+ "name": "amount_2",
910
+ "type": "u64"
911
+ },
912
+ {
913
+ "name": "amount_3",
914
+ "type": "u64"
915
+ }
916
+ ]
917
+ },
918
+ {
919
+ "name": "FlashloanHelper",
920
+ "is_native": false,
921
+ "abilities": ["key"],
922
+ "generic_type_params": [
923
+ {
924
+ "constraints": []
925
+ },
926
+ {
927
+ "constraints": []
928
+ },
929
+ {
930
+ "constraints": []
931
+ },
932
+ {
933
+ "constraints": []
934
+ }
935
+ ],
936
+ "fields": [
937
+ {
938
+ "name": "locked",
939
+ "type": "bool"
940
+ },
941
+ {
942
+ "name": "flashloan_fee_bps",
943
+ "type": "u64"
944
+ },
945
+ {
946
+ "name": "flashloan_events",
947
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::FlashloanEvent<T0, T1, T2, T3>>"
948
+ }
949
+ ]
950
+ },
951
+ {
952
+ "name": "RemoveLiquidityEvent",
953
+ "is_native": false,
954
+ "abilities": ["drop", "store"],
955
+ "generic_type_params": [
956
+ {
957
+ "constraints": []
958
+ },
959
+ {
960
+ "constraints": []
961
+ },
962
+ {
963
+ "constraints": []
964
+ },
965
+ {
966
+ "constraints": []
967
+ }
968
+ ],
969
+ "fields": [
970
+ {
971
+ "name": "amount_0",
972
+ "type": "u64"
973
+ },
974
+ {
975
+ "name": "amount_1",
976
+ "type": "u64"
977
+ },
978
+ {
979
+ "name": "amount_2",
980
+ "type": "u64"
981
+ },
982
+ {
983
+ "name": "amount_3",
984
+ "type": "u64"
985
+ },
986
+ {
987
+ "name": "burned_lp_coin_amount",
988
+ "type": "u64"
989
+ }
990
+ ]
991
+ },
992
+ {
993
+ "name": "StablePool",
994
+ "is_native": false,
995
+ "abilities": ["key"],
996
+ "generic_type_params": [
997
+ {
998
+ "constraints": []
999
+ },
1000
+ {
1001
+ "constraints": []
1002
+ },
1003
+ {
1004
+ "constraints": []
1005
+ },
1006
+ {
1007
+ "constraints": []
1008
+ }
1009
+ ],
1010
+ "fields": [
1011
+ {
1012
+ "name": "asset_0",
1013
+ "type": "0x1::coin::Coin<T0>"
1014
+ },
1015
+ {
1016
+ "name": "asset_1",
1017
+ "type": "0x1::coin::Coin<T1>"
1018
+ },
1019
+ {
1020
+ "name": "asset_2",
1021
+ "type": "0x1::coin::Coin<T2>"
1022
+ },
1023
+ {
1024
+ "name": "asset_3",
1025
+ "type": "0x1::coin::Coin<T3>"
1026
+ },
1027
+ {
1028
+ "name": "amp_factor",
1029
+ "type": "u64"
1030
+ },
1031
+ {
1032
+ "name": "precision_multipliers",
1033
+ "type": "vector<u64>"
1034
+ },
1035
+ {
1036
+ "name": "swap_fee_ratio",
1037
+ "type": "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
1038
+ },
1039
+ {
1040
+ "name": "inverse_negated_swap_fee_ratio",
1041
+ "type": "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
1042
+ },
1043
+ {
1044
+ "name": "pool_token_mint_cap",
1045
+ "type": "0x1::coin::MintCapability<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolToken<T0, T1, T2, T3>>"
1046
+ },
1047
+ {
1048
+ "name": "pool_token_burn_cap",
1049
+ "type": "0x1::coin::BurnCapability<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolToken<T0, T1, T2, T3>>"
1050
+ },
1051
+ {
1052
+ "name": "reserved_lp_coin",
1053
+ "type": "0x1::coin::Coin<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolToken<T0, T1, T2, T3>>"
1054
+ },
1055
+ {
1056
+ "name": "events",
1057
+ "type": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolEvents<T0, T1, T2, T3>"
1058
+ }
1059
+ ]
1060
+ },
1061
+ {
1062
+ "name": "StablePoolCreationEvent",
1063
+ "is_native": false,
1064
+ "abilities": ["drop", "store"],
1065
+ "generic_type_params": [
1066
+ {
1067
+ "constraints": []
1068
+ },
1069
+ {
1070
+ "constraints": []
1071
+ },
1072
+ {
1073
+ "constraints": []
1074
+ },
1075
+ {
1076
+ "constraints": []
1077
+ }
1078
+ ],
1079
+ "fields": [
1080
+ {
1081
+ "name": "creator",
1082
+ "type": "address"
1083
+ },
1084
+ {
1085
+ "name": "amount_0",
1086
+ "type": "u64"
1087
+ },
1088
+ {
1089
+ "name": "amount_1",
1090
+ "type": "u64"
1091
+ },
1092
+ {
1093
+ "name": "amount_2",
1094
+ "type": "u64"
1095
+ },
1096
+ {
1097
+ "name": "amount_3",
1098
+ "type": "u64"
1099
+ },
1100
+ {
1101
+ "name": "minted_lp_coin_amount",
1102
+ "type": "u64"
1103
+ },
1104
+ {
1105
+ "name": "swap_fee_bps",
1106
+ "type": "u64"
1107
+ }
1108
+ ]
1109
+ },
1110
+ {
1111
+ "name": "StablePoolEvents",
1112
+ "is_native": false,
1113
+ "abilities": ["store"],
1114
+ "generic_type_params": [
1115
+ {
1116
+ "constraints": []
1117
+ },
1118
+ {
1119
+ "constraints": []
1120
+ },
1121
+ {
1122
+ "constraints": []
1123
+ },
1124
+ {
1125
+ "constraints": []
1126
+ }
1127
+ ],
1128
+ "fields": [
1129
+ {
1130
+ "name": "pool_creation_events",
1131
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolCreationEvent<T0, T1, T2, T3>>"
1132
+ },
1133
+ {
1134
+ "name": "add_liquidity_events",
1135
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::AddLiquidityEvent<T0, T1, T2, T3>>"
1136
+ },
1137
+ {
1138
+ "name": "remove_liquidity_events",
1139
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::RemoveLiquidityEvent<T0, T1, T2, T3>>"
1140
+ },
1141
+ {
1142
+ "name": "swap_events",
1143
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::SwapEvent<T0, T1, T2, T3>>"
1144
+ },
1145
+ {
1146
+ "name": "param_change_events",
1147
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolParamChangeEvent>"
1148
+ }
1149
+ ]
1150
+ },
1151
+ {
1152
+ "name": "StablePoolInfo",
1153
+ "is_native": false,
1154
+ "abilities": ["copy", "drop", "store"],
1155
+ "generic_type_params": [],
1156
+ "fields": [
1157
+ {
1158
+ "name": "balances",
1159
+ "type": "vector<u64>"
1160
+ },
1161
+ {
1162
+ "name": "precision_multipliers",
1163
+ "type": "vector<u64>"
1164
+ },
1165
+ {
1166
+ "name": "amp_factor",
1167
+ "type": "u64"
1168
+ },
1169
+ {
1170
+ "name": "lp_coin_supply",
1171
+ "type": "u64"
1172
+ }
1173
+ ]
1174
+ },
1175
+ {
1176
+ "name": "StablePoolLookup",
1177
+ "is_native": false,
1178
+ "abilities": ["key"],
1179
+ "generic_type_params": [],
1180
+ "fields": [
1181
+ {
1182
+ "name": "name_to_pool",
1183
+ "type": "0x1::table::Table<0x1::string::String, 0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolInfo>"
1184
+ },
1185
+ {
1186
+ "name": "id_to_name",
1187
+ "type": "0x1::table::Table<u64, 0x1::string::String>"
1188
+ },
1189
+ {
1190
+ "name": "next_id",
1191
+ "type": "u64"
1192
+ }
1193
+ ]
1194
+ },
1195
+ {
1196
+ "name": "StablePoolParamChangeEvent",
1197
+ "is_native": false,
1198
+ "abilities": ["drop", "store"],
1199
+ "generic_type_params": [],
1200
+ "fields": [
1201
+ {
1202
+ "name": "name",
1203
+ "type": "0x1::string::String"
1204
+ },
1205
+ {
1206
+ "name": "prev_value",
1207
+ "type": "u64"
1208
+ },
1209
+ {
1210
+ "name": "new_value",
1211
+ "type": "u64"
1212
+ }
1213
+ ]
1214
+ },
1215
+ {
1216
+ "name": "StablePoolParams",
1217
+ "is_native": false,
1218
+ "abilities": ["key"],
1219
+ "generic_type_params": [],
1220
+ "fields": [
1221
+ {
1222
+ "name": "default_swap_fee_ratio",
1223
+ "type": "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
1224
+ },
1225
+ {
1226
+ "name": "param_change_events",
1227
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::StablePoolParamChangeEvent>"
1228
+ }
1229
+ ]
1230
+ },
1231
+ {
1232
+ "name": "StablePoolToken",
1233
+ "is_native": false,
1234
+ "abilities": [],
1235
+ "generic_type_params": [
1236
+ {
1237
+ "constraints": []
1238
+ },
1239
+ {
1240
+ "constraints": []
1241
+ },
1242
+ {
1243
+ "constraints": []
1244
+ },
1245
+ {
1246
+ "constraints": []
1247
+ }
1248
+ ],
1249
+ "fields": [
1250
+ {
1251
+ "name": "dummy_field",
1252
+ "type": "bool"
1253
+ }
1254
+ ]
1255
+ },
1256
+ {
1257
+ "name": "SwapEvent",
1258
+ "is_native": false,
1259
+ "abilities": ["drop", "store"],
1260
+ "generic_type_params": [
1261
+ {
1262
+ "constraints": []
1263
+ },
1264
+ {
1265
+ "constraints": []
1266
+ },
1267
+ {
1268
+ "constraints": []
1269
+ },
1270
+ {
1271
+ "constraints": []
1272
+ }
1273
+ ],
1274
+ "fields": [
1275
+ {
1276
+ "name": "idx_in",
1277
+ "type": "u64"
1278
+ },
1279
+ {
1280
+ "name": "idx_out",
1281
+ "type": "u64"
1282
+ },
1283
+ {
1284
+ "name": "amount_in",
1285
+ "type": "u64"
1286
+ },
1287
+ {
1288
+ "name": "amount_out",
1289
+ "type": "u64"
1290
+ },
1291
+ {
1292
+ "name": "fee_amount",
1293
+ "type": "u64"
1294
+ },
1295
+ {
1296
+ "name": "pool_balance_0",
1297
+ "type": "u64"
1298
+ },
1299
+ {
1300
+ "name": "pool_balance_1",
1301
+ "type": "u64"
1302
+ },
1303
+ {
1304
+ "name": "pool_balance_2",
1305
+ "type": "u64"
1306
+ },
1307
+ {
1308
+ "name": "pool_balance_3",
1309
+ "type": "u64"
1310
+ },
1311
+ {
1312
+ "name": "amp_factor",
1313
+ "type": "u64"
1314
+ }
1315
+ ]
1316
+ }
1317
+ ]
1318
+ }
1319
+ },
1320
+ {
1321
+ "bytecode": "0xa11ceb0b0600000008010008020806030e23043108053924075d6f08cc01400c8c023200000101010200030108040100010004000101000205030400010604060100010703010100030907080100010a09010100020503050405050503060c05030002010501060c0105010900010102060c03010b0001090002050b000109000c666565735f7363726970747304636f696e067369676e657204666565730c7472616e736665725f6665650a616464726573735f6f661569735f6163636f756e745f7265676973746572656408726567697374657204436f696e0c77697468647261775f666565076465706f73697448271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af00000000000000000000000000000000000000000000000000000000000000010001040002180a0011010c040a040a0121040c0b043800200c03050e090c030b0304120a0038010b010b000b02380238030200",
1322
+ "abi": {
1323
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
1324
+ "name": "fees_scripts",
1325
+ "friends": [],
1326
+ "exposed_functions": [
1327
+ {
1328
+ "name": "transfer_fee",
1329
+ "visibility": "public",
1330
+ "is_entry": true,
1331
+ "is_view": false,
1332
+ "generic_type_params": [
1333
+ {
1334
+ "constraints": []
1335
+ }
1336
+ ],
1337
+ "params": ["&signer", "address", "u64"],
1338
+ "return": []
1339
+ }
1340
+ ],
1341
+ "structs": []
1342
+ }
1343
+ },
1344
+ {
1345
+ "bytecode": "0xa11ceb0b060000000f01001e021edd0203fb02ea0404e507c80105ad09f20d079f17a61208c529a00106e52aac0210912db6070ac734f8030bbf381a0cd938e2280dbb61320eed612a0f976202000101020103010401050106010701080109000a000b000c020d030e040f00100608000100010001000100010001000100010011000800010001000100010001000100010001001206080001000100010001000100010001000100130808000100010001000100010001000100010014060800010001000100010001000100010001001506080001000100010001000100010001000100160000001700000018000000190000001a0000001b0000001c0000001d0000001e0000001f00000020000000210000002200000023000000240000002500000026000000270000002800000029080800010001000100010001000100010001002a060800010001000100010001000100010001002b040800010001000100010001000100010001002c0700002d0800002e0600002f08000030000800010001000100010001000100010001023104010001053c07000c4b0700035704010601026d05010001026f05010001067d040203010001028c0105010001079b010700099d010000003200010800000000000000000033020308000000000000000000340405090000000000000000000035060709000000000000000000003608090800000000000000000037050a0800000000000000000038050b0800000000000000000039050a0100003a050500003b050b00003d0a0c00003e050c080000000000000000003f050a000040090508000000000000000000410d0e0800000000000000000042050f08000000000000000000430c10000044050b0800000000000000000045030008000000000000000000461105000047110508000000000000000000481105080000000000000000004907120a00000000000000000000004a13140a00000000000000000000004c0515080000000000000000004d0a0c00004e0b05080000000000000000004f050b0800000000000000000b84010518000285011a0a0100098601050a01000e87011f20000288012122010002890123050100038a0125050106028b0126220100098d01050b0400000000098e01050b01000b8f01052d000c90010515000c91012e15000c92012e15000e93012f15000c9401150a00059501300c00023a3132010002960133050100019701353601060498013518000c99013a15000c9a01150a00079c0105440100093b050b00069e01055a0203040c9f015c150006a0015e0b02030006a1015e5f02030002a201050c010005a30160050005a401610a0005a501620c000aa601220501000ea701670a0002a8010522010002a901680501000daa01350b0009ab010a0b0009ac010515000ead016e0a000eae016e0a000caf01150a0008b0017305010007b101050c010006b201750502030206b301750502030011171d191d1b1d1c1d1d0e171e1e2019201b201c201d2119211b211c211d2224231e1a1724281b170729072a072b072c251c251d0b172d1e2e1e2f342f242f372f382f3922342f3b213d1d3d203d0617331933453346334733483349334a334b334c334d334e334f3350335133523353335433553356335733583559355b375b385b3919391b391c391d3d193d1b3d1c3d1d223b252b252c375938591d1e3f1c3f1d401e223722390f17333d336d253d256d331b331c331d3d3d026f037022384772481e49594a5b040b210109000b210109010b210109020b21010903050b21010b2008090009010902090309040905090609070b210109000b210109010b210109020b2101090305060c0b210109000b210109010b210109020b21010903010b21010b2008090009010902090309040905090609070305030b210109080003050303010b210109080403030303050b210109000b210109010b210109020b210109030b0108090009010902090309040905090609070103010101082201060b190809000901090209030904090509060907010a03020a030a03030a030a030302060c03010b21010909020b2101090803020b210109080b21010909010823140103070b2101090203070b21010903030303030a030a03030b21010b20080900090109020903090409050906090703070b1908090009010902090309040905090609070b210109000b210109010b210109020b210109030a030809000901090209030904090509060907010501090001060b21010900010901010902010903010b20080900090109020903090409050906090703060a03060a030302030a0302070b2101090003010b2101090002070b210109000b21010900010b00080900090109020903090409050906090702070b2401090009000203060b250109002d010b210109010b210109020b21010903030303030b21010b20080900090109020903090409050906090708230823010b25010b2008090009010902090309040905090609070b26010b2008090009010902090309040905090609070b1b08090009010902090309040905090609070101010101010b21010900030303030a030b26010b2008090009010902090309040905090609070b28010b2008090009010902090309040905090609070308230b21010b2008090009010902090309040905090609070b25010b20080900090109020903090409050906090708230b1908090009010902090309040905090609070b26010b2008090009010902090309040905090609070b25010b2008090009010902090309040905090609070b21010b2008090009010902090309040905090609070c0823030303030a03040900090109020903010904010905010906010907010c020823082302060a03060a03010a0205060c082208220201030b260109000b280109000b25010900010b28010900010b1a080900090109020903090409050906090701060c010b24010900010b040809000901090209030904090509060907010b05080900090109020903090409050906090701081e02082303010b0208090009010902090309040905090609070809080901090209030904090509060907010908080900090809020903090409050906090708090009010908090309040905090609070809000901090209080904090509060907070b210109080b210109080b21010908070b190809080901090209030904090509060907070b190809000908090209030904090509060907070b190809000901090809030904090509060907070b1908090009010902090809040905090609070c0101010c070b0308090009010902090309040905090609070b210109000b210109010b210109020b21010903070b19080900090109020903090409050906090705060c1403030303030303030303030303030303030303082901082901082a01080e01080601080701080801080901080a01080b01080c01080d01080f010810010811010812010813010814010815010816010817010818020822081c010b270209000901020308220203030106081d02060b270209000901090001060901020708220822010608220306082203031403030303030303030303030303070b030809000901090209030904090509060907070b190809000901090209030904090509060907030303030502060b1908090009010902090309040905090609070a0302081c06081d0f03030b210109020b21010903030303030b210109000b210109010b210109020b210109030303070b19080900090109020903090409050906090703030303020b21010900060b260109000207081f0303070b0308090009010902090309040905090609070305030823070b190809000901090209030904090509060907031f01010303030303030303030b2101090903030101010101010101060b190809000901090209030904090509060907070b1908090009010902090309040905090609070a03030503082908290a0301090905030303060a03060a0309090009010902090309040905090609070908090900090109020903090409050906090709092001010303030303030303030b2101090903030101010101010101060b190809000901090209030904090509060907070b1908090009010902090309040905090609070a0303030503082908290a03010201070a0900040a0307081d08220a0303070b2702090009010900090104696e69740d77656967687465645f706f6f6c076163636f756e7404636f696e056576656e74067369676e657206737472696e67057461626c6509747970655f696e666f06766563746f7209626173655f706f6f6c0466656573077061636b6167650d66697865645f706f696e743634076d616e616765720d77656967687465645f6d617468114164644c69717569646974794576656e7409466c6173686c6f616e0e466c6173686c6f616e4576656e740f466c6173686c6f616e48656c7065721452656d6f76654c69717569646974794576656e7409537761704576656e74095765696768745f3130095765696768745f3135095765696768745f3230095765696768745f3235095765696768745f3330095765696768745f3335095765696768745f3430095765696768745f3435085765696768745f35095765696768745f3530095765696768745f3535095765696768745f3630095765696768745f3635095765696768745f3730095765696768745f3735095765696768745f3830095765696768745f3835095765696768745f3930095765696768745f39350c5765696768746564506f6f6c195765696768746564506f6f6c4372656174696f6e4576656e74125765696768746564506f6f6c4576656e7473105765696768746564506f6f6c496e666f125765696768746564506f6f6c4c6f6f6b75701c5765696768746564506f6f6c506172616d4368616e67654576656e74125765696768746564506f6f6c506172616d73115765696768746564506f6f6c546f6b656e04436f696e0d6164645f6c6971756964697479146372656174655f77656967687465645f706f6f6c0f6465706f7369745f746f5f706f6f6c11657874726163745f66726f6d5f706f6f6c09666c6173686c6f616e11666c6173686c6f616e5f6665655f6270731c666c6173686c6f616e5f68656c7065725f696e697469616c697a65640a6765745f7765696768740a696e697469616c697a650b696e697469616c697a656406537472696e670d6c705f6e616d655f62795f69640d6c705f73686f72745f6e616d650c6e6578745f706f6f6c5f69640d7061795f666c6173686c6f616e0d706f6f6c5f62616c616e63657319706f6f6c5f62616c616e6365735f616e645f7765696768747309706f6f6c5f696e666f0b706f6f6c5f6c6f636b65641072656d6f76655f6c69717569646974791d7365745f64656661756c745f706f6f6c5f737761705f6665655f627073157365745f666c6173686c6f616e5f6665655f627073157365745f706f6f6c5f737761705f6665655f6270730d737761705f65786163745f696e0e737761705f65786163745f6f75740c4669786564506f696e7436340e737761705f6665655f726174696f0d7536345f746f5f737472696e67127570646174655f706f6f6c5f6c6f6f6b75701477656967687465645f706f6f6c5f65786973747308616d6f756e745f3008616d6f756e745f3108616d6f756e745f3208616d6f756e745f33156d696e7465645f6c705f636f696e5f616d6f756e74066c6f636b656410666c6173686c6f616e5f6576656e74730b4576656e7448616e646c65156275726e65645f6c705f636f696e5f616d6f756e74066964785f696e076964785f6f757409616d6f756e745f696e0a616d6f756e745f6f75740a6665655f616d6f756e740e706f6f6c5f62616c616e63655f300e706f6f6c5f62616c616e63655f310e706f6f6c5f62616c616e63655f320e706f6f6c5f62616c616e63655f330b64756d6d795f6669656c640761737365745f300761737365745f310761737365745f320761737365745f33087765696768745f30087765696768745f31087765696768745f32087765696768745f331e696e76657273655f6e6567617465645f737761705f6665655f726174696f13706f6f6c5f746f6b656e5f6d696e745f6361700e4d696e744361706162696c69747913706f6f6c5f746f6b656e5f6275726e5f6361700e4275726e4361706162696c6974791072657365727665645f6c705f636f696e066576656e74730763726561746f720c737761705f6665655f62707314706f6f6c5f6372656174696f6e5f6576656e7473146164645f6c69717569646974795f6576656e74731772656d6f76655f6c69717569646974795f6576656e74730b737761705f6576656e747313706172616d5f6368616e67655f6576656e74730862616c616e63657307776569676874730e6c705f636f696e5f737570706c790c6e616d655f746f5f706f6f6c055461626c650a69645f746f5f6e616d65076e6578745f6964046e616d650a707265765f76616c7565096e65775f76616c75651664656661756c745f737761705f6665655f726174696f187265736f757263655f6163636f756e745f616464726573730576616c756511706f6f6c5f746f6b656e5f737570706c791a636f6d707574655f706f6f6c5f746f6b656e735f6973737565640765787472616374056d657267650a656d69745f6576656e74046d696e7410467265657a654361706162696c6974791476616c69646174655f706f6f6c5f6173736574730769735f6e756c6c177265736f757263655f6163636f756e745f7369676e6572036f6e65067375625f6670066469765f66701d636f6d707574655f696e76617269616e745f776569676874735f753634116465636f64655f726f756e645f646f776e04757466381264657374726f795f667265657a655f636170106e65775f6576656e745f68616e646c650a616464726573735f6f66036d756c066465636f64650854797065496e666f07747970655f6f66044e756c6c036e6577086672616374696f6e08636f6e7461696e7306626f72726f770673796d626f6c06617070656e64066c656e6774680a7375625f737472696e670a6162736f72625f6665651e636f6d707574655f61737365745f616d6f756e745f746f5f72657475726e047a65726f046275726e0d69735f617574686f72697a65641176616c69646174655f737761705f66656522737761705f6665655f70726f746f636f6c5f616c6c6f636174696f6e5f726174696f1d63616c635f6f75745f676976656e5f696e5f776569676874735f7536341d63616c635f696e5f676976656e5f6f75745f776569676874735f7536340f6465636f64655f726f756e645f7570077265766572736509747970655f6e616d65067570736572740361646448271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af00000000000000000000000000000000000000000000000000000000000000014dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee993aa044a65a27bd89b163f8b3be3777b160b09a25c336643dcc2878dfd8f2a8dfb6e709add23c710c40e4844d889938f703719f72d2d4439ee682d67f07a15c5030810270000000000000308010000000000000003081e0000000000000003080000000000000000030802000000000000000308030000000000000003082e0100000000000003082d010000000000000308300100000000000003082f0100000000000003082c010000000000000308650000000000000003080800000000000000030805000000000000000308070000000000000003080600000000000000030864000000000000000308c80000000000000003080900000000000000030804000000000000000201080a0209085448414c412d4c500a02040357503a0a0202012d0a0204032e2e2e0a02151464656661756c745f737761705f6665655f6270730a021211666c6173686c6f616e5f6665655f6270730a020d0c737761705f6665655f6270730a02020130126170746f733a3a6d657461646174615f7631a107120000000000000000104552525f554e415554484f52495a45440b4572726f7220636f64657301000000000000000f4552525f494e495449414c495a4544000200000000000000114552525f554e494e495449414c495a4544000300000000000000184552525f57454947485445445f504f4f4c5f4558495354530004000000000000001c4552525f57454947485445445f504f4f4c5f4e4f545f455849535453000500000000000000254552525f57454947485445445f504f4f4c5f494e56414c49445f504f4f4c5f415353455453000600000000000000264552525f57454947485445445f504f4f4c5f494e56414c49445f504f4f4c5f57454947485453000700000000000000254552525f57454947485445445f504f4f4c5f494e56414c49445f504f4f4c5f574549474854000800000000000000284552525f57454947485445445f504f4f4c5f494e53554646494349454e545f4c4951554944495459000900000000000000184552525f57454947485445445f504f4f4c5f4c4f434b4544002c01000000000000294552525f57454947485445445f504f4f4c5f464c4153484c4f414e5f554e494e495449414c495a4544002d010000000000002a4552525f57454947485445445f504f4f4c5f464c4153484c4f414e5f494e56414c49445f414d4f554e54002e010000000000002e4552525f57454947485445445f504f4f4c5f464c4153484c4f414e5f494e53554646494349454e545f5245504159002f01000000000000274552525f57454947485445445f504f4f4c5f464c4153484c4f414e5f4e4f545f4f4e474f494e47003001000000000000274552525f57454947485445445f504f4f4c5f464c4153484c4f414e5f494e56414c49445f4645450064000000000000001e4552525f57454947485445445f504f4f4c5f494e56414c49445f53574150006500000000000000244552525f57454947485445445f504f4f4c5f494e53554646494349454e545f494e50555400c800000000000000224552525f57454947485445445f504f4f4c5f494e56414c49445f535741505f46454500000809706f6f6c5f696e666f0101000a6765745f7765696768740101000c6e6578745f706f6f6c5f69640101000d6c705f6e616d655f62795f69640101000e737761705f6665655f726174696f01010011666c6173686c6f616e5f6665655f6270730101001477656967687465645f706f6f6c5f65786973747301010019706f6f6c5f62616c616e6365735f616e645f77656967687473010100000205500351035203530354030102045003510352035303020204500351035203530303020355013703560b24010b0208090009010902090309040905090609070402055003510352035303580305020959035a035b035c035d035e035f036003610306020162010702016201080201620109020162010a020162010b020162010c020162010d020162010e020162010f0201620110020162011102016201120201620113020162011402016201150201620116020162011702016201180201620119020e630b21010900640b21010901650b21010902660b210109036703680369036a034c08236b08236c0b25010b2008090009010902090309040905090609076e0b26010b200809000901090209030904090509060907700b21010b200809000901090209030904090509060907710b1b08090009010902090309040905090609071a020772055003510352035303540373031b0205740b24010b1a0809000901090209030904090509060907750b24010b000809000901090209030904090509060907760b24010b040809000901090209030904090509060907770b24010b050809000901090209030904090509060907780b2401081e1c0203790a037a0a037b031d02037c0b27020822081c7e0b27020308227f031e0203800108228101038201031f020283010823780b2401081e2002016201191700171b171a170317193c193e193f194001170217041705170001000303191d16b7011109040305050704273800200409050b071227111c3c000c120e0038010c090e0138020c0a0a0906000000000000000024041d0a0a060000000000000000240c04051f090c040b04042205260b1201070c270e0238030c0b0e0338040c0c0a090a0a400a02000000000000000c0e0a0b0600000000000000002404370d0e0a0b440a0a0c06000000000000000024043e0d0e0a0c440a0a122e38050c0d0e0d410a0e0e410a210449054d0b1201070c2738060c110e0e0e0d0b11111f0c170c0f0a0f06000000000000000024045a055e0b1201070c270d000e17060000000000000000420a1438070c130d010e17060100000000000000420a1438080c140d020c060a0b0600000000000000002404780e17060200000000000000420a140c05057a0600000000000000000c050b060b0538090c150d030c080a0c06000000000000000024048a010e17060300000000000000420a140c07058c010600000000000000000c070b080b07380a0c160a1236000b00380b0a1236010b01380c0a1236020b02380d0a1236030b03380e0a12360436050b090b0a0b0b0b0c0a0f3901380f0b0f0b12370638100c100938110b100b130b140b150b160201010003191d1f27f5021109040305070b00010704273812040a050e0b0001070d27381320041205160b000107052738140c2d38150c2e38160c2f38170c300a2d0a2e160a2f160a3016066400000000000000210429052d0b0001070f270e0138010c1b0e0238020c1c0e0338030c1d0e0438040c1e0a2d0a2e400a02000000000000000c310a1b0a1c400a02000000000000000c1f0a1b06000000000000000024044a0a1c060000000000000000240c05054c090c050b05044f05530b0001070d270a2d06000000000000000024045c0a2e060000000000000000240c10055e090c100b10046105650b0001070f273818048c010a1d0600000000000000002104700a1e060000000000000000210c140572090c140b14047505790b0001070d270a2f060000000000000000210482010a30060000000000000000210c15058401090c150b15048701058b010b0001070f2705e901381904b9010a1d060000000000000000240497010a1e060000000000000000210c16059901090c160b16049c0105a0010b0001070d270a2f0600000000000000002404a9010a30060000000000000000210c1705ab01090c170b1704ae0105b2010b0001070f270d310a2f440a0d1f0a1d440a05e9010a1d0600000000000000002404c2010a1e060000000000000000240c1805c401090c180b1804c70105cb010b0001070d270a2f0600000000000000002404d4010a30060000000000000000240c1905d601090c190b1904d90105dd010b0001070f270d310a2f440a0d1f0a1d440a0d310a30440a0d1f0a1e440a11260c2b111c2b1f1007140c2c11270c260a260b260a2c112811290c230e1f0e31112a112b0c220a220710240482020586020b0001070c270e2b381a0715112c071408381b0c250c210c200b21381c0b200b250c290c2807100e2938100c2a0b010c1a0b020c060b030c070b040c080b2d0c090b2e0c0a0b2f0c0b0b300c0c0b2a0c0d0a2c0c0e0b230c0f0b290c110b280c120e2b381d0e2b381e0e2b381f0e2b38200e2b382139020c130b1a0b060b070b080b090b0a0b0b0b0c0b0e0b0f0b110b120b0d0b1339000c270d27360436070b0011300b1b0b1c0b1d0b1e0a220b2c070011311132390338220b220710170e27370638100c240e2b0b273f000e2b0907010e2b382339043f040838110b2402020000011905240a0106000000000000000021040a0b003c0536080b02382405230a010601000000000000002104140b003c0636090b02382405230b0106020000000000000021041e0b003c07360a0b02382405230b003c08360b0b02382402030000011941610a010600000000000000002104180b003c050c060a020a063708382523040e05120b0601070c270b0636080b0238260c05055f0a010601000000000000002104300b003c060c070a020a0737093825230426052a0b0701070c270b0736090b0238260c04055d0b010602000000000000002104480b003c070c080a020a08370a382523043e05420b0801070c270b08360a0b0238260c03055b0b003c080c090a020a09370b382523045205560b0901070c270b09360b0b0238260c030b030c040b040c050b05020401000203194291011109040305050704273800200409050b0712270a00060000000000000000240412080c0405160a01060000000000000000240c040b04041b080c05051f0a02060000000000000000240c050b050424080c0605280a03060000000000000000240c060b06042b052d070727111c0c0e0a0e3c000c0d0a000a0d37003801250439053d0b0d010707270a010a0d3701380225044405480b0d010707270a020a0d3702380325044f05530b0d010707270a030a0d3703380425045a055e0b0d010707270a0d36000a0038070c090a0d36010a0138080c0a0a0d36020a0238090c0b0b0d36030a03380a0c0c3827047c0b0e3c040c08080b08360c1505870111260c070e070c0f0a0f0807010b0f382339043f040b090b0a0b0b0b0c0b000b010b020b033909020501000103050a382704030505070a27111c3d04370d1402060000000503111c3b04020701000043b60138280c130a1338292104090600000000000000000c0b05b4010a13382a2104100605000000000000000c0905b2010a13382b210417060a000000000000000c0805b0010a13382c21041e060f000000000000000c0705ae010a13382d2104250614000000000000000c0605ac010a13382e21042c0619000000000000000c0505aa010a13382f210433061e000000000000000c0405a8010a13383021043a0623000000000000000c0305a6010a1338312104410628000000000000000c0205a4010a133832210448062d000000000000000c0105a2010a13383321044f0632000000000000000c0005a0010a1338342104560637000000000000000c12059e010a13383521045d063c000000000000000c11059c010a1338362104640641000000000000000c10059a010a13383721046b0646000000000000000c0f0598010a133838210472064b000000000000000c0e0596010a1338392104790650000000000000000c0d0594010a13383a210480010655000000000000000c0c0592010a13383b21048701065a000000000000000c0a0590010b13383c21048c01058e01070e27065f000000000000000c0a0b0a0c0c0b0c0c0d0b0d0c0e0b0e0c0f0b0f0c100b100c110b110c120b120c000b000c010b010c020b020c030b030c040b040c050b050c060b060c070b070c080b080c090b090c0b0b0b02080300002d1c1109200404050607012711340409050b07042711260c000e00383d383e060000000000000000121d2d1d0e000702070011360e003821121f2d1f02090100000503111c291f020a0100011d5d13111c2b1d0c010a01100b0a00383f0409050d0b01010713270b01100b0b00384014020b0000000c510716112c0c000d003841113a0d000717112c113a0d0038141119113a0d000717112c113a0d003842113a0d000717112c113a0d0038151119113a38182004410d000717112c113a0d003843113a0d000717112c113a0d0038161119113a38192004410d000717112c113a0d003844113a0d000717112c113a0d0038171119113a0e00113b06200000000000000024044f0e00060000000000000000061d00000000000000113c0c000d000718112c113a0b00020c0100011d0505111c2b1d100c14020d010002031963c10111090403050507042738000408050a070927111c0c180a183c040c120b043a090c080c070c060c050e0038010c140e0138020c150e0238030c160e0338040c170a12370d140c110a050600000000000000002404440a050a110c0a350b0a35180700351a340c0d0b140a050a0d1626043c05400b12010706270d000b0d380738450a060600000000000000002404630a060a110c0b350b0b35180700351a340c0e0b150a060a0e1626045b055f0b12010706270d010b0e380838460a07060000000000000000240482010a070a110c0c350b0c35180700351a340c0f0b160a070a0f1626047a057e0b12010706270d020b0f380938470a080600000000000000002404a1010a080b110c09350b0935180700351a340c100b170a080a101626049901059d010b12010706270d030b10380a38480b183c000c130a1336000b00380b0a1336010b01380c0a1336020b02380d0b1336030b03380e090a12360c150b12360e0b050b060b070b08390a3849020e0000000e1d0a00370038010a0037013802400a02000000000000000c01384a2004100d010a0037023803440a384b2004190d010b0037033804440a051b0b00010b01020f010001196417111c3d000c0038143815400a02000000000000000c01384a20040d0d013816440a384b2004130d013817440a0b0038050b0102100100011d651d111c2b1d0c020a02100e0a00384c0409050d0b02010713270b02100e0b00384d140c010e01100f140e011010140e01101114021100000103050a38272004050902111c3d04370c14021201000303191d667a1109040305050704273800200409050b071227111c3c000c0f0e00384e0c0d38060c0e0a0f370038010a0d0a0e113e0c050a0f370138020a0d0a0e113e0c06381820042c0a0f370238030a0d0a0e113e0c01052e0600000000000000000c010b010c07381920043b0a0f370338040a0d0b0e113e0c02053d0600000000000000000c020b020c080a0f36000a0538070c090a0f36010a0638080c0a0a070600000000000000002404530a0f36020a0738090c030555384f0c030b030c0b0a080600000000000000002404610a0f36030a08380a0c04056338500c040b040c0c0b000a0f370f38510b0f360436100b050b060b070b080b0d390b38520938110b090b0a0b0b0b0c02130104011f692a0b0011410404050607032711090409050b0701270a011142040f0511071127111c2a1f0c020a021007140700113111320c030a01070011360a020f07150b020f140719112c0b030b01121e38530214010402031f6a290b0011410404050607032738270409050b070a270a0107002304100512070827111c0c040a043c040c020a02370d140c030a010b02360d150b042a1f0f14071a112c0b030b01121e38530215010401196b370b0011410404050607032711090409050b0704270a011142040f051107112711270c02111c3c000c030a033711140700113111320c040a01070011360a033611150a020b020a03371114112811290a033612150b0336043613071b112c0b040b01121e3853021601000303191d6ced011109040305050704273800200409050b0712270e0038250c090a090600000000000000002404130515070b2738540c1f0c19111c0c1b0a1b3d000c1738550c1d38560c1e0a1d0a1e2204293857200c01052b090c010b0104313858200c020533090c020b020436053a0b17010710270a1d3828210a1d3859210a1d385a210b1d385b210c120c110c100c0f0a0f0a101e0a111e0b121e045305570b17010710270a1e3828210a1e3859210a1e385a210b1e385b210c160c150c140c130a130a141e0a151e0b161e047005740b17010710270b0f04790600000000000000000c050589010b10047e0601000000000000000c040587010b110483010602000000000000000c030585010603000000000000000c030b030c040b040c050b050c0d0b130490010600000000000000000c0805a0010b140495010601000000000000000c07059e010b15049a010602000000000000000c06059c010603000000000000000c060b060c070b070c080b080c0e0b173711140a09113111320c1c11430a1c113111320c1a0a090a1c170c0a0a0d0a0e0b0a0e190e1f11440c0b0a0b0e190a0e420a142304c10105c301070c270d000b1a3826385c0a1b0a0d0b00385d0a1b0a0e0a0b385e0c0c0b1b3c000c180a18360436140b0d0b0e0b090b0b0b1c0a18370038010a18370138020a18370238030b1837033804390c385f0938110b0c021701000303191d7186021109040305050704273800200409050b0712270a01060000000000000000240410051207102738540c210c1a111c0c1d0a1d3d000c1838550c1f38560c200a1f0a202204263857200c020528090c020b02042e3858200c030530090c030b03043305370b18010710270a1f3828210a1f3859210a1f385a210b1f385b210c130c120c110c100a100a111e0a121e0b131e045005540b18010710270a203828210a203859210a20385a210b20385b210c170c160c150c140a140a151e0a161e0b171e046d05710b18010710270b1004760600000000000000000c060586010b11047b0601000000000000000c050584010b120480010602000000000000000c040582010603000000000000000c040b040c050b050c060b060c0e0b14048d010600000000000000000c09059d010b150492010601000000000000000c08059b010b160497010602000000000000000c070599010603000000000000000c070b070c080b080c090b090c0f0a010e1a0a0f420a142304a70105ab010b1801070c270e0038250c1c0a1c0600000000000000002404b30105b7010b1801070b270a0e0a0f0a010e1a0e2111450c0b0b183712140a0b113111460c0a0a0a0b1c2504ca0105cc01070b270a0a0b0b170c1e11430a1e113111320c1b0a0a0a1b170c0c0d000b1b3826385c0a1d0a0e0d000b0c3826385d0a1d0a0f0a01385e0c0d0b1d3c000c190a19360436140b0e0b0f0b0a0b010b1e0a19370038010a19370138020a19370238030b1937033804390c385f0938110b000b0d0218010001190505111c3d00371114021900000030200a00060000000000000000210407071c112c02407200000000000000000c010a0006000000000000000022041b050e0d010630000000000000000a00060a0000000000000019163344720b00060a000000000000001a0c0005090d0138600b01112c021a000002191d742538540c040c01111c2a1d0c0238610c030a020f0e0a030b010b043806121c38620b0004220a020f0b0a02100c140b0338630a02100c14060100000000000000160b020f0c1505240b0201021b0100000503111c3b00021900190119021903190d1b01190a1f001b00030003011d011d0203021d001c001c011c02190b1b021f01190819091b041b0300170117021703170417051706170817003c013e023f034009170a170d17121713171517161717171817000000",
1346
+ "abi": {
1347
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
1348
+ "name": "weighted_pool",
1349
+ "friends": ["0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::init"],
1350
+ "exposed_functions": [
1351
+ {
1352
+ "name": "add_liquidity",
1353
+ "visibility": "public",
1354
+ "is_entry": false,
1355
+ "is_view": false,
1356
+ "generic_type_params": [
1357
+ {
1358
+ "constraints": []
1359
+ },
1360
+ {
1361
+ "constraints": []
1362
+ },
1363
+ {
1364
+ "constraints": []
1365
+ },
1366
+ {
1367
+ "constraints": []
1368
+ },
1369
+ {
1370
+ "constraints": []
1371
+ },
1372
+ {
1373
+ "constraints": []
1374
+ },
1375
+ {
1376
+ "constraints": []
1377
+ },
1378
+ {
1379
+ "constraints": []
1380
+ }
1381
+ ],
1382
+ "params": ["0x1::coin::Coin<T0>", "0x1::coin::Coin<T1>", "0x1::coin::Coin<T2>", "0x1::coin::Coin<T3>"],
1383
+ "return": [
1384
+ "0x1::coin::Coin<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolToken<T0, T1, T2, T3, T4, T5, T6, T7>>",
1385
+ "0x1::coin::Coin<T0>",
1386
+ "0x1::coin::Coin<T1>",
1387
+ "0x1::coin::Coin<T2>",
1388
+ "0x1::coin::Coin<T3>"
1389
+ ]
1390
+ },
1391
+ {
1392
+ "name": "create_weighted_pool",
1393
+ "visibility": "public",
1394
+ "is_entry": false,
1395
+ "is_view": false,
1396
+ "generic_type_params": [
1397
+ {
1398
+ "constraints": []
1399
+ },
1400
+ {
1401
+ "constraints": []
1402
+ },
1403
+ {
1404
+ "constraints": []
1405
+ },
1406
+ {
1407
+ "constraints": []
1408
+ },
1409
+ {
1410
+ "constraints": []
1411
+ },
1412
+ {
1413
+ "constraints": []
1414
+ },
1415
+ {
1416
+ "constraints": []
1417
+ },
1418
+ {
1419
+ "constraints": []
1420
+ }
1421
+ ],
1422
+ "params": [
1423
+ "&signer",
1424
+ "0x1::coin::Coin<T0>",
1425
+ "0x1::coin::Coin<T1>",
1426
+ "0x1::coin::Coin<T2>",
1427
+ "0x1::coin::Coin<T3>"
1428
+ ],
1429
+ "return": [
1430
+ "0x1::coin::Coin<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolToken<T0, T1, T2, T3, T4, T5, T6, T7>>"
1431
+ ]
1432
+ },
1433
+ {
1434
+ "name": "flashloan",
1435
+ "visibility": "public",
1436
+ "is_entry": false,
1437
+ "is_view": false,
1438
+ "generic_type_params": [
1439
+ {
1440
+ "constraints": []
1441
+ },
1442
+ {
1443
+ "constraints": []
1444
+ },
1445
+ {
1446
+ "constraints": []
1447
+ },
1448
+ {
1449
+ "constraints": []
1450
+ },
1451
+ {
1452
+ "constraints": []
1453
+ },
1454
+ {
1455
+ "constraints": []
1456
+ },
1457
+ {
1458
+ "constraints": []
1459
+ },
1460
+ {
1461
+ "constraints": []
1462
+ }
1463
+ ],
1464
+ "params": ["u64", "u64", "u64", "u64"],
1465
+ "return": [
1466
+ "0x1::coin::Coin<T0>",
1467
+ "0x1::coin::Coin<T1>",
1468
+ "0x1::coin::Coin<T2>",
1469
+ "0x1::coin::Coin<T3>",
1470
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::Flashloan<T0, T1, T2, T3, T4, T5, T6, T7>"
1471
+ ]
1472
+ },
1473
+ {
1474
+ "name": "flashloan_fee_bps",
1475
+ "visibility": "public",
1476
+ "is_entry": false,
1477
+ "is_view": true,
1478
+ "generic_type_params": [
1479
+ {
1480
+ "constraints": []
1481
+ },
1482
+ {
1483
+ "constraints": []
1484
+ },
1485
+ {
1486
+ "constraints": []
1487
+ },
1488
+ {
1489
+ "constraints": []
1490
+ },
1491
+ {
1492
+ "constraints": []
1493
+ },
1494
+ {
1495
+ "constraints": []
1496
+ },
1497
+ {
1498
+ "constraints": []
1499
+ },
1500
+ {
1501
+ "constraints": []
1502
+ }
1503
+ ],
1504
+ "params": [],
1505
+ "return": ["u64"]
1506
+ },
1507
+ {
1508
+ "name": "get_weight",
1509
+ "visibility": "public",
1510
+ "is_entry": false,
1511
+ "is_view": true,
1512
+ "generic_type_params": [
1513
+ {
1514
+ "constraints": []
1515
+ }
1516
+ ],
1517
+ "params": [],
1518
+ "return": ["u64"]
1519
+ },
1520
+ {
1521
+ "name": "initialize",
1522
+ "visibility": "friend",
1523
+ "is_entry": false,
1524
+ "is_view": false,
1525
+ "generic_type_params": [],
1526
+ "params": [],
1527
+ "return": []
1528
+ },
1529
+ {
1530
+ "name": "initialized",
1531
+ "visibility": "public",
1532
+ "is_entry": false,
1533
+ "is_view": false,
1534
+ "generic_type_params": [],
1535
+ "params": [],
1536
+ "return": ["bool"]
1537
+ },
1538
+ {
1539
+ "name": "lp_name_by_id",
1540
+ "visibility": "public",
1541
+ "is_entry": false,
1542
+ "is_view": true,
1543
+ "generic_type_params": [],
1544
+ "params": ["u64"],
1545
+ "return": ["0x1::string::String"]
1546
+ },
1547
+ {
1548
+ "name": "next_pool_id",
1549
+ "visibility": "public",
1550
+ "is_entry": false,
1551
+ "is_view": true,
1552
+ "generic_type_params": [],
1553
+ "params": [],
1554
+ "return": ["u64"]
1555
+ },
1556
+ {
1557
+ "name": "pay_flashloan",
1558
+ "visibility": "public",
1559
+ "is_entry": false,
1560
+ "is_view": false,
1561
+ "generic_type_params": [
1562
+ {
1563
+ "constraints": []
1564
+ },
1565
+ {
1566
+ "constraints": []
1567
+ },
1568
+ {
1569
+ "constraints": []
1570
+ },
1571
+ {
1572
+ "constraints": []
1573
+ },
1574
+ {
1575
+ "constraints": []
1576
+ },
1577
+ {
1578
+ "constraints": []
1579
+ },
1580
+ {
1581
+ "constraints": []
1582
+ },
1583
+ {
1584
+ "constraints": []
1585
+ }
1586
+ ],
1587
+ "params": [
1588
+ "0x1::coin::Coin<T0>",
1589
+ "0x1::coin::Coin<T1>",
1590
+ "0x1::coin::Coin<T2>",
1591
+ "0x1::coin::Coin<T3>",
1592
+ "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::Flashloan<T0, T1, T2, T3, T4, T5, T6, T7>"
1593
+ ],
1594
+ "return": []
1595
+ },
1596
+ {
1597
+ "name": "pool_balances_and_weights",
1598
+ "visibility": "public",
1599
+ "is_entry": false,
1600
+ "is_view": true,
1601
+ "generic_type_params": [
1602
+ {
1603
+ "constraints": []
1604
+ },
1605
+ {
1606
+ "constraints": []
1607
+ },
1608
+ {
1609
+ "constraints": []
1610
+ },
1611
+ {
1612
+ "constraints": []
1613
+ },
1614
+ {
1615
+ "constraints": []
1616
+ },
1617
+ {
1618
+ "constraints": []
1619
+ },
1620
+ {
1621
+ "constraints": []
1622
+ },
1623
+ {
1624
+ "constraints": []
1625
+ }
1626
+ ],
1627
+ "params": [],
1628
+ "return": ["vector<u64>", "vector<u64>"]
1629
+ },
1630
+ {
1631
+ "name": "pool_info",
1632
+ "visibility": "public",
1633
+ "is_entry": false,
1634
+ "is_view": true,
1635
+ "generic_type_params": [],
1636
+ "params": ["0x1::string::String"],
1637
+ "return": ["vector<u64>", "vector<u64>", "u64"]
1638
+ },
1639
+ {
1640
+ "name": "remove_liquidity",
1641
+ "visibility": "public",
1642
+ "is_entry": false,
1643
+ "is_view": false,
1644
+ "generic_type_params": [
1645
+ {
1646
+ "constraints": []
1647
+ },
1648
+ {
1649
+ "constraints": []
1650
+ },
1651
+ {
1652
+ "constraints": []
1653
+ },
1654
+ {
1655
+ "constraints": []
1656
+ },
1657
+ {
1658
+ "constraints": []
1659
+ },
1660
+ {
1661
+ "constraints": []
1662
+ },
1663
+ {
1664
+ "constraints": []
1665
+ },
1666
+ {
1667
+ "constraints": []
1668
+ }
1669
+ ],
1670
+ "params": [
1671
+ "0x1::coin::Coin<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolToken<T0, T1, T2, T3, T4, T5, T6, T7>>"
1672
+ ],
1673
+ "return": ["0x1::coin::Coin<T0>", "0x1::coin::Coin<T1>", "0x1::coin::Coin<T2>", "0x1::coin::Coin<T3>"]
1674
+ },
1675
+ {
1676
+ "name": "set_default_pool_swap_fee_bps",
1677
+ "visibility": "public",
1678
+ "is_entry": true,
1679
+ "is_view": false,
1680
+ "generic_type_params": [],
1681
+ "params": ["&signer", "u64"],
1682
+ "return": []
1683
+ },
1684
+ {
1685
+ "name": "set_flashloan_fee_bps",
1686
+ "visibility": "public",
1687
+ "is_entry": true,
1688
+ "is_view": false,
1689
+ "generic_type_params": [
1690
+ {
1691
+ "constraints": []
1692
+ },
1693
+ {
1694
+ "constraints": []
1695
+ },
1696
+ {
1697
+ "constraints": []
1698
+ },
1699
+ {
1700
+ "constraints": []
1701
+ },
1702
+ {
1703
+ "constraints": []
1704
+ },
1705
+ {
1706
+ "constraints": []
1707
+ },
1708
+ {
1709
+ "constraints": []
1710
+ },
1711
+ {
1712
+ "constraints": []
1713
+ }
1714
+ ],
1715
+ "params": ["&signer", "u64"],
1716
+ "return": []
1717
+ },
1718
+ {
1719
+ "name": "set_pool_swap_fee_bps",
1720
+ "visibility": "public",
1721
+ "is_entry": true,
1722
+ "is_view": false,
1723
+ "generic_type_params": [
1724
+ {
1725
+ "constraints": []
1726
+ },
1727
+ {
1728
+ "constraints": []
1729
+ },
1730
+ {
1731
+ "constraints": []
1732
+ },
1733
+ {
1734
+ "constraints": []
1735
+ },
1736
+ {
1737
+ "constraints": []
1738
+ },
1739
+ {
1740
+ "constraints": []
1741
+ },
1742
+ {
1743
+ "constraints": []
1744
+ },
1745
+ {
1746
+ "constraints": []
1747
+ }
1748
+ ],
1749
+ "params": ["&signer", "u64"],
1750
+ "return": []
1751
+ },
1752
+ {
1753
+ "name": "swap_exact_in",
1754
+ "visibility": "public",
1755
+ "is_entry": false,
1756
+ "is_view": false,
1757
+ "generic_type_params": [
1758
+ {
1759
+ "constraints": []
1760
+ },
1761
+ {
1762
+ "constraints": []
1763
+ },
1764
+ {
1765
+ "constraints": []
1766
+ },
1767
+ {
1768
+ "constraints": []
1769
+ },
1770
+ {
1771
+ "constraints": []
1772
+ },
1773
+ {
1774
+ "constraints": []
1775
+ },
1776
+ {
1777
+ "constraints": []
1778
+ },
1779
+ {
1780
+ "constraints": []
1781
+ },
1782
+ {
1783
+ "constraints": []
1784
+ },
1785
+ {
1786
+ "constraints": []
1787
+ }
1788
+ ],
1789
+ "params": ["0x1::coin::Coin<T8>"],
1790
+ "return": ["0x1::coin::Coin<T9>"]
1791
+ },
1792
+ {
1793
+ "name": "swap_exact_out",
1794
+ "visibility": "public",
1795
+ "is_entry": false,
1796
+ "is_view": false,
1797
+ "generic_type_params": [
1798
+ {
1799
+ "constraints": []
1800
+ },
1801
+ {
1802
+ "constraints": []
1803
+ },
1804
+ {
1805
+ "constraints": []
1806
+ },
1807
+ {
1808
+ "constraints": []
1809
+ },
1810
+ {
1811
+ "constraints": []
1812
+ },
1813
+ {
1814
+ "constraints": []
1815
+ },
1816
+ {
1817
+ "constraints": []
1818
+ },
1819
+ {
1820
+ "constraints": []
1821
+ },
1822
+ {
1823
+ "constraints": []
1824
+ },
1825
+ {
1826
+ "constraints": []
1827
+ }
1828
+ ],
1829
+ "params": ["0x1::coin::Coin<T8>", "u64"],
1830
+ "return": ["0x1::coin::Coin<T8>", "0x1::coin::Coin<T9>"]
1831
+ },
1832
+ {
1833
+ "name": "swap_fee_ratio",
1834
+ "visibility": "public",
1835
+ "is_entry": false,
1836
+ "is_view": true,
1837
+ "generic_type_params": [
1838
+ {
1839
+ "constraints": []
1840
+ },
1841
+ {
1842
+ "constraints": []
1843
+ },
1844
+ {
1845
+ "constraints": []
1846
+ },
1847
+ {
1848
+ "constraints": []
1849
+ },
1850
+ {
1851
+ "constraints": []
1852
+ },
1853
+ {
1854
+ "constraints": []
1855
+ },
1856
+ {
1857
+ "constraints": []
1858
+ },
1859
+ {
1860
+ "constraints": []
1861
+ }
1862
+ ],
1863
+ "params": [],
1864
+ "return": ["0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"]
1865
+ },
1866
+ {
1867
+ "name": "weighted_pool_exists",
1868
+ "visibility": "public",
1869
+ "is_entry": false,
1870
+ "is_view": true,
1871
+ "generic_type_params": [
1872
+ {
1873
+ "constraints": []
1874
+ },
1875
+ {
1876
+ "constraints": []
1877
+ },
1878
+ {
1879
+ "constraints": []
1880
+ },
1881
+ {
1882
+ "constraints": []
1883
+ },
1884
+ {
1885
+ "constraints": []
1886
+ },
1887
+ {
1888
+ "constraints": []
1889
+ },
1890
+ {
1891
+ "constraints": []
1892
+ },
1893
+ {
1894
+ "constraints": []
1895
+ }
1896
+ ],
1897
+ "params": [],
1898
+ "return": ["bool"]
1899
+ }
1900
+ ],
1901
+ "structs": [
1902
+ {
1903
+ "name": "AddLiquidityEvent",
1904
+ "is_native": false,
1905
+ "abilities": ["drop", "store"],
1906
+ "generic_type_params": [
1907
+ {
1908
+ "constraints": []
1909
+ },
1910
+ {
1911
+ "constraints": []
1912
+ },
1913
+ {
1914
+ "constraints": []
1915
+ },
1916
+ {
1917
+ "constraints": []
1918
+ },
1919
+ {
1920
+ "constraints": []
1921
+ },
1922
+ {
1923
+ "constraints": []
1924
+ },
1925
+ {
1926
+ "constraints": []
1927
+ },
1928
+ {
1929
+ "constraints": []
1930
+ }
1931
+ ],
1932
+ "fields": [
1933
+ {
1934
+ "name": "amount_0",
1935
+ "type": "u64"
1936
+ },
1937
+ {
1938
+ "name": "amount_1",
1939
+ "type": "u64"
1940
+ },
1941
+ {
1942
+ "name": "amount_2",
1943
+ "type": "u64"
1944
+ },
1945
+ {
1946
+ "name": "amount_3",
1947
+ "type": "u64"
1948
+ },
1949
+ {
1950
+ "name": "minted_lp_coin_amount",
1951
+ "type": "u64"
1952
+ }
1953
+ ]
1954
+ },
1955
+ {
1956
+ "name": "Flashloan",
1957
+ "is_native": false,
1958
+ "abilities": [],
1959
+ "generic_type_params": [
1960
+ {
1961
+ "constraints": []
1962
+ },
1963
+ {
1964
+ "constraints": []
1965
+ },
1966
+ {
1967
+ "constraints": []
1968
+ },
1969
+ {
1970
+ "constraints": []
1971
+ },
1972
+ {
1973
+ "constraints": []
1974
+ },
1975
+ {
1976
+ "constraints": []
1977
+ },
1978
+ {
1979
+ "constraints": []
1980
+ },
1981
+ {
1982
+ "constraints": []
1983
+ }
1984
+ ],
1985
+ "fields": [
1986
+ {
1987
+ "name": "amount_0",
1988
+ "type": "u64"
1989
+ },
1990
+ {
1991
+ "name": "amount_1",
1992
+ "type": "u64"
1993
+ },
1994
+ {
1995
+ "name": "amount_2",
1996
+ "type": "u64"
1997
+ },
1998
+ {
1999
+ "name": "amount_3",
2000
+ "type": "u64"
2001
+ }
2002
+ ]
2003
+ },
2004
+ {
2005
+ "name": "FlashloanEvent",
2006
+ "is_native": false,
2007
+ "abilities": ["drop", "store"],
2008
+ "generic_type_params": [
2009
+ {
2010
+ "constraints": []
2011
+ },
2012
+ {
2013
+ "constraints": []
2014
+ },
2015
+ {
2016
+ "constraints": []
2017
+ },
2018
+ {
2019
+ "constraints": []
2020
+ },
2021
+ {
2022
+ "constraints": []
2023
+ },
2024
+ {
2025
+ "constraints": []
2026
+ },
2027
+ {
2028
+ "constraints": []
2029
+ },
2030
+ {
2031
+ "constraints": []
2032
+ }
2033
+ ],
2034
+ "fields": [
2035
+ {
2036
+ "name": "amount_0",
2037
+ "type": "u64"
2038
+ },
2039
+ {
2040
+ "name": "amount_1",
2041
+ "type": "u64"
2042
+ },
2043
+ {
2044
+ "name": "amount_2",
2045
+ "type": "u64"
2046
+ },
2047
+ {
2048
+ "name": "amount_3",
2049
+ "type": "u64"
2050
+ }
2051
+ ]
2052
+ },
2053
+ {
2054
+ "name": "FlashloanHelper",
2055
+ "is_native": false,
2056
+ "abilities": ["key"],
2057
+ "generic_type_params": [
2058
+ {
2059
+ "constraints": []
2060
+ },
2061
+ {
2062
+ "constraints": []
2063
+ },
2064
+ {
2065
+ "constraints": []
2066
+ },
2067
+ {
2068
+ "constraints": []
2069
+ },
2070
+ {
2071
+ "constraints": []
2072
+ },
2073
+ {
2074
+ "constraints": []
2075
+ },
2076
+ {
2077
+ "constraints": []
2078
+ },
2079
+ {
2080
+ "constraints": []
2081
+ }
2082
+ ],
2083
+ "fields": [
2084
+ {
2085
+ "name": "locked",
2086
+ "type": "bool"
2087
+ },
2088
+ {
2089
+ "name": "flashloan_fee_bps",
2090
+ "type": "u64"
2091
+ },
2092
+ {
2093
+ "name": "flashloan_events",
2094
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::FlashloanEvent<T0, T1, T2, T3, T4, T5, T6, T7>>"
2095
+ }
2096
+ ]
2097
+ },
2098
+ {
2099
+ "name": "RemoveLiquidityEvent",
2100
+ "is_native": false,
2101
+ "abilities": ["drop", "store"],
2102
+ "generic_type_params": [
2103
+ {
2104
+ "constraints": []
2105
+ },
2106
+ {
2107
+ "constraints": []
2108
+ },
2109
+ {
2110
+ "constraints": []
2111
+ },
2112
+ {
2113
+ "constraints": []
2114
+ },
2115
+ {
2116
+ "constraints": []
2117
+ },
2118
+ {
2119
+ "constraints": []
2120
+ },
2121
+ {
2122
+ "constraints": []
2123
+ },
2124
+ {
2125
+ "constraints": []
2126
+ }
2127
+ ],
2128
+ "fields": [
2129
+ {
2130
+ "name": "amount_0",
2131
+ "type": "u64"
2132
+ },
2133
+ {
2134
+ "name": "amount_1",
2135
+ "type": "u64"
2136
+ },
2137
+ {
2138
+ "name": "amount_2",
2139
+ "type": "u64"
2140
+ },
2141
+ {
2142
+ "name": "amount_3",
2143
+ "type": "u64"
2144
+ },
2145
+ {
2146
+ "name": "burned_lp_coin_amount",
2147
+ "type": "u64"
2148
+ }
2149
+ ]
2150
+ },
2151
+ {
2152
+ "name": "SwapEvent",
2153
+ "is_native": false,
2154
+ "abilities": ["drop", "store"],
2155
+ "generic_type_params": [
2156
+ {
2157
+ "constraints": []
2158
+ },
2159
+ {
2160
+ "constraints": []
2161
+ },
2162
+ {
2163
+ "constraints": []
2164
+ },
2165
+ {
2166
+ "constraints": []
2167
+ },
2168
+ {
2169
+ "constraints": []
2170
+ },
2171
+ {
2172
+ "constraints": []
2173
+ },
2174
+ {
2175
+ "constraints": []
2176
+ },
2177
+ {
2178
+ "constraints": []
2179
+ }
2180
+ ],
2181
+ "fields": [
2182
+ {
2183
+ "name": "idx_in",
2184
+ "type": "u64"
2185
+ },
2186
+ {
2187
+ "name": "idx_out",
2188
+ "type": "u64"
2189
+ },
2190
+ {
2191
+ "name": "amount_in",
2192
+ "type": "u64"
2193
+ },
2194
+ {
2195
+ "name": "amount_out",
2196
+ "type": "u64"
2197
+ },
2198
+ {
2199
+ "name": "fee_amount",
2200
+ "type": "u64"
2201
+ },
2202
+ {
2203
+ "name": "pool_balance_0",
2204
+ "type": "u64"
2205
+ },
2206
+ {
2207
+ "name": "pool_balance_1",
2208
+ "type": "u64"
2209
+ },
2210
+ {
2211
+ "name": "pool_balance_2",
2212
+ "type": "u64"
2213
+ },
2214
+ {
2215
+ "name": "pool_balance_3",
2216
+ "type": "u64"
2217
+ }
2218
+ ]
2219
+ },
2220
+ {
2221
+ "name": "Weight_10",
2222
+ "is_native": false,
2223
+ "abilities": [],
2224
+ "generic_type_params": [],
2225
+ "fields": [
2226
+ {
2227
+ "name": "dummy_field",
2228
+ "type": "bool"
2229
+ }
2230
+ ]
2231
+ },
2232
+ {
2233
+ "name": "Weight_15",
2234
+ "is_native": false,
2235
+ "abilities": [],
2236
+ "generic_type_params": [],
2237
+ "fields": [
2238
+ {
2239
+ "name": "dummy_field",
2240
+ "type": "bool"
2241
+ }
2242
+ ]
2243
+ },
2244
+ {
2245
+ "name": "Weight_20",
2246
+ "is_native": false,
2247
+ "abilities": [],
2248
+ "generic_type_params": [],
2249
+ "fields": [
2250
+ {
2251
+ "name": "dummy_field",
2252
+ "type": "bool"
2253
+ }
2254
+ ]
2255
+ },
2256
+ {
2257
+ "name": "Weight_25",
2258
+ "is_native": false,
2259
+ "abilities": [],
2260
+ "generic_type_params": [],
2261
+ "fields": [
2262
+ {
2263
+ "name": "dummy_field",
2264
+ "type": "bool"
2265
+ }
2266
+ ]
2267
+ },
2268
+ {
2269
+ "name": "Weight_30",
2270
+ "is_native": false,
2271
+ "abilities": [],
2272
+ "generic_type_params": [],
2273
+ "fields": [
2274
+ {
2275
+ "name": "dummy_field",
2276
+ "type": "bool"
2277
+ }
2278
+ ]
2279
+ },
2280
+ {
2281
+ "name": "Weight_35",
2282
+ "is_native": false,
2283
+ "abilities": [],
2284
+ "generic_type_params": [],
2285
+ "fields": [
2286
+ {
2287
+ "name": "dummy_field",
2288
+ "type": "bool"
2289
+ }
2290
+ ]
2291
+ },
2292
+ {
2293
+ "name": "Weight_40",
2294
+ "is_native": false,
2295
+ "abilities": [],
2296
+ "generic_type_params": [],
2297
+ "fields": [
2298
+ {
2299
+ "name": "dummy_field",
2300
+ "type": "bool"
2301
+ }
2302
+ ]
2303
+ },
2304
+ {
2305
+ "name": "Weight_45",
2306
+ "is_native": false,
2307
+ "abilities": [],
2308
+ "generic_type_params": [],
2309
+ "fields": [
2310
+ {
2311
+ "name": "dummy_field",
2312
+ "type": "bool"
2313
+ }
2314
+ ]
2315
+ },
2316
+ {
2317
+ "name": "Weight_5",
2318
+ "is_native": false,
2319
+ "abilities": [],
2320
+ "generic_type_params": [],
2321
+ "fields": [
2322
+ {
2323
+ "name": "dummy_field",
2324
+ "type": "bool"
2325
+ }
2326
+ ]
2327
+ },
2328
+ {
2329
+ "name": "Weight_50",
2330
+ "is_native": false,
2331
+ "abilities": [],
2332
+ "generic_type_params": [],
2333
+ "fields": [
2334
+ {
2335
+ "name": "dummy_field",
2336
+ "type": "bool"
2337
+ }
2338
+ ]
2339
+ },
2340
+ {
2341
+ "name": "Weight_55",
2342
+ "is_native": false,
2343
+ "abilities": [],
2344
+ "generic_type_params": [],
2345
+ "fields": [
2346
+ {
2347
+ "name": "dummy_field",
2348
+ "type": "bool"
2349
+ }
2350
+ ]
2351
+ },
2352
+ {
2353
+ "name": "Weight_60",
2354
+ "is_native": false,
2355
+ "abilities": [],
2356
+ "generic_type_params": [],
2357
+ "fields": [
2358
+ {
2359
+ "name": "dummy_field",
2360
+ "type": "bool"
2361
+ }
2362
+ ]
2363
+ },
2364
+ {
2365
+ "name": "Weight_65",
2366
+ "is_native": false,
2367
+ "abilities": [],
2368
+ "generic_type_params": [],
2369
+ "fields": [
2370
+ {
2371
+ "name": "dummy_field",
2372
+ "type": "bool"
2373
+ }
2374
+ ]
2375
+ },
2376
+ {
2377
+ "name": "Weight_70",
2378
+ "is_native": false,
2379
+ "abilities": [],
2380
+ "generic_type_params": [],
2381
+ "fields": [
2382
+ {
2383
+ "name": "dummy_field",
2384
+ "type": "bool"
2385
+ }
2386
+ ]
2387
+ },
2388
+ {
2389
+ "name": "Weight_75",
2390
+ "is_native": false,
2391
+ "abilities": [],
2392
+ "generic_type_params": [],
2393
+ "fields": [
2394
+ {
2395
+ "name": "dummy_field",
2396
+ "type": "bool"
2397
+ }
2398
+ ]
2399
+ },
2400
+ {
2401
+ "name": "Weight_80",
2402
+ "is_native": false,
2403
+ "abilities": [],
2404
+ "generic_type_params": [],
2405
+ "fields": [
2406
+ {
2407
+ "name": "dummy_field",
2408
+ "type": "bool"
2409
+ }
2410
+ ]
2411
+ },
2412
+ {
2413
+ "name": "Weight_85",
2414
+ "is_native": false,
2415
+ "abilities": [],
2416
+ "generic_type_params": [],
2417
+ "fields": [
2418
+ {
2419
+ "name": "dummy_field",
2420
+ "type": "bool"
2421
+ }
2422
+ ]
2423
+ },
2424
+ {
2425
+ "name": "Weight_90",
2426
+ "is_native": false,
2427
+ "abilities": [],
2428
+ "generic_type_params": [],
2429
+ "fields": [
2430
+ {
2431
+ "name": "dummy_field",
2432
+ "type": "bool"
2433
+ }
2434
+ ]
2435
+ },
2436
+ {
2437
+ "name": "Weight_95",
2438
+ "is_native": false,
2439
+ "abilities": [],
2440
+ "generic_type_params": [],
2441
+ "fields": [
2442
+ {
2443
+ "name": "dummy_field",
2444
+ "type": "bool"
2445
+ }
2446
+ ]
2447
+ },
2448
+ {
2449
+ "name": "WeightedPool",
2450
+ "is_native": false,
2451
+ "abilities": ["key"],
2452
+ "generic_type_params": [
2453
+ {
2454
+ "constraints": []
2455
+ },
2456
+ {
2457
+ "constraints": []
2458
+ },
2459
+ {
2460
+ "constraints": []
2461
+ },
2462
+ {
2463
+ "constraints": []
2464
+ },
2465
+ {
2466
+ "constraints": []
2467
+ },
2468
+ {
2469
+ "constraints": []
2470
+ },
2471
+ {
2472
+ "constraints": []
2473
+ },
2474
+ {
2475
+ "constraints": []
2476
+ }
2477
+ ],
2478
+ "fields": [
2479
+ {
2480
+ "name": "asset_0",
2481
+ "type": "0x1::coin::Coin<T0>"
2482
+ },
2483
+ {
2484
+ "name": "asset_1",
2485
+ "type": "0x1::coin::Coin<T1>"
2486
+ },
2487
+ {
2488
+ "name": "asset_2",
2489
+ "type": "0x1::coin::Coin<T2>"
2490
+ },
2491
+ {
2492
+ "name": "asset_3",
2493
+ "type": "0x1::coin::Coin<T3>"
2494
+ },
2495
+ {
2496
+ "name": "weight_0",
2497
+ "type": "u64"
2498
+ },
2499
+ {
2500
+ "name": "weight_1",
2501
+ "type": "u64"
2502
+ },
2503
+ {
2504
+ "name": "weight_2",
2505
+ "type": "u64"
2506
+ },
2507
+ {
2508
+ "name": "weight_3",
2509
+ "type": "u64"
2510
+ },
2511
+ {
2512
+ "name": "swap_fee_ratio",
2513
+ "type": "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
2514
+ },
2515
+ {
2516
+ "name": "inverse_negated_swap_fee_ratio",
2517
+ "type": "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
2518
+ },
2519
+ {
2520
+ "name": "pool_token_mint_cap",
2521
+ "type": "0x1::coin::MintCapability<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolToken<T0, T1, T2, T3, T4, T5, T6, T7>>"
2522
+ },
2523
+ {
2524
+ "name": "pool_token_burn_cap",
2525
+ "type": "0x1::coin::BurnCapability<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolToken<T0, T1, T2, T3, T4, T5, T6, T7>>"
2526
+ },
2527
+ {
2528
+ "name": "reserved_lp_coin",
2529
+ "type": "0x1::coin::Coin<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolToken<T0, T1, T2, T3, T4, T5, T6, T7>>"
2530
+ },
2531
+ {
2532
+ "name": "events",
2533
+ "type": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolEvents<T0, T1, T2, T3, T4, T5, T6, T7>"
2534
+ }
2535
+ ]
2536
+ },
2537
+ {
2538
+ "name": "WeightedPoolCreationEvent",
2539
+ "is_native": false,
2540
+ "abilities": ["drop", "store"],
2541
+ "generic_type_params": [
2542
+ {
2543
+ "constraints": []
2544
+ },
2545
+ {
2546
+ "constraints": []
2547
+ },
2548
+ {
2549
+ "constraints": []
2550
+ },
2551
+ {
2552
+ "constraints": []
2553
+ },
2554
+ {
2555
+ "constraints": []
2556
+ },
2557
+ {
2558
+ "constraints": []
2559
+ },
2560
+ {
2561
+ "constraints": []
2562
+ },
2563
+ {
2564
+ "constraints": []
2565
+ }
2566
+ ],
2567
+ "fields": [
2568
+ {
2569
+ "name": "creator",
2570
+ "type": "address"
2571
+ },
2572
+ {
2573
+ "name": "amount_0",
2574
+ "type": "u64"
2575
+ },
2576
+ {
2577
+ "name": "amount_1",
2578
+ "type": "u64"
2579
+ },
2580
+ {
2581
+ "name": "amount_2",
2582
+ "type": "u64"
2583
+ },
2584
+ {
2585
+ "name": "amount_3",
2586
+ "type": "u64"
2587
+ },
2588
+ {
2589
+ "name": "minted_lp_coin_amount",
2590
+ "type": "u64"
2591
+ },
2592
+ {
2593
+ "name": "swap_fee_bps",
2594
+ "type": "u64"
2595
+ }
2596
+ ]
2597
+ },
2598
+ {
2599
+ "name": "WeightedPoolEvents",
2600
+ "is_native": false,
2601
+ "abilities": ["store"],
2602
+ "generic_type_params": [
2603
+ {
2604
+ "constraints": []
2605
+ },
2606
+ {
2607
+ "constraints": []
2608
+ },
2609
+ {
2610
+ "constraints": []
2611
+ },
2612
+ {
2613
+ "constraints": []
2614
+ },
2615
+ {
2616
+ "constraints": []
2617
+ },
2618
+ {
2619
+ "constraints": []
2620
+ },
2621
+ {
2622
+ "constraints": []
2623
+ },
2624
+ {
2625
+ "constraints": []
2626
+ }
2627
+ ],
2628
+ "fields": [
2629
+ {
2630
+ "name": "pool_creation_events",
2631
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolCreationEvent<T0, T1, T2, T3, T4, T5, T6, T7>>"
2632
+ },
2633
+ {
2634
+ "name": "add_liquidity_events",
2635
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::AddLiquidityEvent<T0, T1, T2, T3, T4, T5, T6, T7>>"
2636
+ },
2637
+ {
2638
+ "name": "remove_liquidity_events",
2639
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::RemoveLiquidityEvent<T0, T1, T2, T3, T4, T5, T6, T7>>"
2640
+ },
2641
+ {
2642
+ "name": "swap_events",
2643
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::SwapEvent<T0, T1, T2, T3, T4, T5, T6, T7>>"
2644
+ },
2645
+ {
2646
+ "name": "param_change_events",
2647
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolParamChangeEvent>"
2648
+ }
2649
+ ]
2650
+ },
2651
+ {
2652
+ "name": "WeightedPoolInfo",
2653
+ "is_native": false,
2654
+ "abilities": ["copy", "drop", "store"],
2655
+ "generic_type_params": [],
2656
+ "fields": [
2657
+ {
2658
+ "name": "balances",
2659
+ "type": "vector<u64>"
2660
+ },
2661
+ {
2662
+ "name": "weights",
2663
+ "type": "vector<u64>"
2664
+ },
2665
+ {
2666
+ "name": "lp_coin_supply",
2667
+ "type": "u64"
2668
+ }
2669
+ ]
2670
+ },
2671
+ {
2672
+ "name": "WeightedPoolLookup",
2673
+ "is_native": false,
2674
+ "abilities": ["key"],
2675
+ "generic_type_params": [],
2676
+ "fields": [
2677
+ {
2678
+ "name": "name_to_pool",
2679
+ "type": "0x1::table::Table<0x1::string::String, 0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolInfo>"
2680
+ },
2681
+ {
2682
+ "name": "id_to_name",
2683
+ "type": "0x1::table::Table<u64, 0x1::string::String>"
2684
+ },
2685
+ {
2686
+ "name": "next_id",
2687
+ "type": "u64"
2688
+ }
2689
+ ]
2690
+ },
2691
+ {
2692
+ "name": "WeightedPoolParamChangeEvent",
2693
+ "is_native": false,
2694
+ "abilities": ["drop", "store"],
2695
+ "generic_type_params": [],
2696
+ "fields": [
2697
+ {
2698
+ "name": "name",
2699
+ "type": "0x1::string::String"
2700
+ },
2701
+ {
2702
+ "name": "prev_value",
2703
+ "type": "u64"
2704
+ },
2705
+ {
2706
+ "name": "new_value",
2707
+ "type": "u64"
2708
+ }
2709
+ ]
2710
+ },
2711
+ {
2712
+ "name": "WeightedPoolParams",
2713
+ "is_native": false,
2714
+ "abilities": ["key"],
2715
+ "generic_type_params": [],
2716
+ "fields": [
2717
+ {
2718
+ "name": "default_swap_fee_ratio",
2719
+ "type": "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
2720
+ },
2721
+ {
2722
+ "name": "param_change_events",
2723
+ "type": "0x1::event::EventHandle<0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolParamChangeEvent>"
2724
+ }
2725
+ ]
2726
+ },
2727
+ {
2728
+ "name": "WeightedPoolToken",
2729
+ "is_native": false,
2730
+ "abilities": [],
2731
+ "generic_type_params": [
2732
+ {
2733
+ "constraints": []
2734
+ },
2735
+ {
2736
+ "constraints": []
2737
+ },
2738
+ {
2739
+ "constraints": []
2740
+ },
2741
+ {
2742
+ "constraints": []
2743
+ },
2744
+ {
2745
+ "constraints": []
2746
+ },
2747
+ {
2748
+ "constraints": []
2749
+ },
2750
+ {
2751
+ "constraints": []
2752
+ },
2753
+ {
2754
+ "constraints": []
2755
+ }
2756
+ ],
2757
+ "fields": [
2758
+ {
2759
+ "name": "dummy_field",
2760
+ "type": "bool"
2761
+ }
2762
+ ]
2763
+ }
2764
+ ]
2765
+ }
2766
+ },
2767
+ {
2768
+ "bytecode": "0xa11ceb0b060000000a01000c020c060312aa0104bc012a05e6018a0207f003860208f6054006b6061410ca06660cb007b901000001010102000300040005010604010001000700010a00000000000000000000000802030400000000000904021300000000000000000000000000000000000000000a04021c00000000000000000000000000000000000000000000000000000000050b0203080000000000000000050c00010a00000000000000000000040d02030400000000040c0a0b06000000000000030e02030100020f0e0f0001101112010001111617010001120f03010001130e02010001141802010001050406050706080709080c0a10001300140b150c150d150e150a1a001b001c001d0b1e0c1e0d1e0e1e010b00010908010b0001090900010103060c030304090409050906090708090009010902090309040905090609070a090009010902090309040905090609070908090904090009010902090306090009010902090309080909010b00010904010b0001090501090002050b0001091201060c010501091002060c03010b000109000a09000901090209030904090509060907091009110a09080909090a090b090c090d090e090f0911091201091201060b00010900010302050b0001090002050b0001091b0109180a09000901090209030904090509060907091809190a09080909090a090b090c090d090e090f0919091a0a09100911091209130914091509160917091a091b01091b116d756c74695f686f705f7363726970747304636f696e067369676e657209626173655f706f6f6c0b737461626c655f706f6f6c0d77656967687465645f706f6f6c04436f696e0e636865636b5f616e645f737761701069735f77656967687465645f706f6f6c0f737761705f65786163745f696e5f320f737761705f65786163745f696e5f331477656967687465645f706f6f6c5f6578697374730d737761705f65786163745f696e12737461626c655f706f6f6c5f6578697374730769735f6e756c6c0a616464726573735f6f660877697468647261770576616c75651569735f6163636f756e745f72656769737465726564087265676973746572076465706f73697448271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af00000000000000000000000000000000000000000000000000000000000000010308020000000000000003080100000000000000126170746f733a3a6d657461646174615f7631520201000000000000001b4552525f4d554c5449484f505f504f4f4c5f4e4f545f4558495354000200000000000000204552525f4d554c5449484f505f494e53554646494349454e545f4f55545055540000000000000001153800040b3801040505070701270b0038020c0105133803040e05100701270b0038040c010b010201000000020338052002020104000d200a0011090c030a000b013806380738080c040e0438090b0226040f05130b00010700270a03380a20041a0b00380b051c0b00010b030b04380c020301040019210a0011090c030a000b01380d380e380f38100c040e0438110b0226041005140b00010700270a03381220041b0b003813051d0b00010b030b0438140200",
2769
+ "abi": {
2770
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
2771
+ "name": "multi_hop_scripts",
2772
+ "friends": [],
2773
+ "exposed_functions": [
2774
+ {
2775
+ "name": "swap_exact_in_2",
2776
+ "visibility": "public",
2777
+ "is_entry": true,
2778
+ "is_view": false,
2779
+ "generic_type_params": [
2780
+ {
2781
+ "constraints": []
2782
+ },
2783
+ {
2784
+ "constraints": []
2785
+ },
2786
+ {
2787
+ "constraints": []
2788
+ },
2789
+ {
2790
+ "constraints": []
2791
+ },
2792
+ {
2793
+ "constraints": []
2794
+ },
2795
+ {
2796
+ "constraints": []
2797
+ },
2798
+ {
2799
+ "constraints": []
2800
+ },
2801
+ {
2802
+ "constraints": []
2803
+ },
2804
+ {
2805
+ "constraints": []
2806
+ },
2807
+ {
2808
+ "constraints": []
2809
+ },
2810
+ {
2811
+ "constraints": []
2812
+ },
2813
+ {
2814
+ "constraints": []
2815
+ },
2816
+ {
2817
+ "constraints": []
2818
+ },
2819
+ {
2820
+ "constraints": []
2821
+ },
2822
+ {
2823
+ "constraints": []
2824
+ },
2825
+ {
2826
+ "constraints": []
2827
+ },
2828
+ {
2829
+ "constraints": []
2830
+ },
2831
+ {
2832
+ "constraints": []
2833
+ },
2834
+ {
2835
+ "constraints": []
2836
+ }
2837
+ ],
2838
+ "params": ["&signer", "u64", "u64"],
2839
+ "return": []
2840
+ },
2841
+ {
2842
+ "name": "swap_exact_in_3",
2843
+ "visibility": "public",
2844
+ "is_entry": true,
2845
+ "is_view": false,
2846
+ "generic_type_params": [
2847
+ {
2848
+ "constraints": []
2849
+ },
2850
+ {
2851
+ "constraints": []
2852
+ },
2853
+ {
2854
+ "constraints": []
2855
+ },
2856
+ {
2857
+ "constraints": []
2858
+ },
2859
+ {
2860
+ "constraints": []
2861
+ },
2862
+ {
2863
+ "constraints": []
2864
+ },
2865
+ {
2866
+ "constraints": []
2867
+ },
2868
+ {
2869
+ "constraints": []
2870
+ },
2871
+ {
2872
+ "constraints": []
2873
+ },
2874
+ {
2875
+ "constraints": []
2876
+ },
2877
+ {
2878
+ "constraints": []
2879
+ },
2880
+ {
2881
+ "constraints": []
2882
+ },
2883
+ {
2884
+ "constraints": []
2885
+ },
2886
+ {
2887
+ "constraints": []
2888
+ },
2889
+ {
2890
+ "constraints": []
2891
+ },
2892
+ {
2893
+ "constraints": []
2894
+ },
2895
+ {
2896
+ "constraints": []
2897
+ },
2898
+ {
2899
+ "constraints": []
2900
+ },
2901
+ {
2902
+ "constraints": []
2903
+ },
2904
+ {
2905
+ "constraints": []
2906
+ },
2907
+ {
2908
+ "constraints": []
2909
+ },
2910
+ {
2911
+ "constraints": []
2912
+ },
2913
+ {
2914
+ "constraints": []
2915
+ },
2916
+ {
2917
+ "constraints": []
2918
+ },
2919
+ {
2920
+ "constraints": []
2921
+ },
2922
+ {
2923
+ "constraints": []
2924
+ },
2925
+ {
2926
+ "constraints": []
2927
+ },
2928
+ {
2929
+ "constraints": []
2930
+ }
2931
+ ],
2932
+ "params": ["&signer", "u64", "u64"],
2933
+ "return": []
2934
+ }
2935
+ ],
2936
+ "structs": []
2937
+ }
2938
+ },
2939
+ {
2940
+ "bytecode": "0xa11ceb0b060000000a01000a020a12031c970104b3014205f5019b02079004f5010885064006c5060a10cf06380c8707d60300000101010200030004010a04010001040b0004000100010001000100050001040000000000060201040000000000070201040000000000080301060000000000000009030106000000000000020c050600010d08090100030e010c0100010f0109010004050f1004000000000110060c01000111050101000112120101000406131004000000000407100f040000000001131516010001140901010004081a1b0600000000000004091e1f060000000000000607060a070b060b080b070d060d080d090e0a110b110c110d0e06110e0e0f070f0a0c070c0a0f0b0c0b100b0f0d0c0d100d061811190f1c0a1c0b1c0c1c12190c1805060c030303030006060c030303030303060c0303080b000109020b00010903050b000109000b000109010b000109020b000109030b00010b0104090009010902090301060c010501090002060c03010b000109000109010109020101010903040900090109020903040b000109000b000109010b000109020b00010903010b00010b01040900090109020903010b0104090009010902090302050b0001090006060c0b000109000b000109010b000109020b000109030305050b000109000b000109010b000109020b0001090301060b00010900010302050b0001090501090406090009010902090309040905010b00010904010b0001090501090503050b000109050b00010904020b0001090403020b000109040b0001090513737461626c655f706f6f6c5f7363726970747304636f696e067369676e657209626173655f706f6f6c0b737461626c655f706f6f6c0d6164645f6c6971756964697479126372656174655f737461626c655f706f6f6c1072656d6f76655f6c69717569646974790d737761705f65786163745f696e0e737761705f65786163745f6f757404436f696e0f537461626c65506f6f6c546f6b656e0a616464726573735f6f660877697468647261770769735f6e756c6c047a65726f1569735f6163636f756e745f72656769737465726564087265676973746572076465706f7369740576616c75650c64657374726f795f7a65726f48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af000000000000000000000000000000000000000000000000000000000000000103080100000000000000126170746f733a3a6d657461646174615f763124010100000000000000174552525f494e53554646494349454e545f4f55545055540000000001040004360a0011050c070a000b0138000c080a000b0238010c0938022004130a000b0338030c05051538040c050b050c0a380520041f0a000b0438060c06052138070c060b060c0b0b080b090b0a0b0b38080c0c0a0738092004300b00380a05320b00010b070b0c380b020101040004380a0011050c080a000b0138000c090a000b0238010c0a38022004130a000b0338030c06051538040c060b060c0b380520041f0a000b0438060c07052138070c070b070c0c0a000b090b0a0b0b0b0c0b05380c0c0d0a0838092004320b00380a05340b00010b080b0d380b020201040014440a0011050c060b000b01380d380e0c0a0c090c080c070e07380f0b0226041105130700270e0838100b03260419051b0700270a060b0738110a060b08381238022004300e0938130b0426042a052c0700270a060b09381405320b09381538052004410e0a38160b0526043b053d0700270b060b0a381705430b0a38180203010400171f0a0011050c030a000b013819381a0c040e04381b0b0226040e05120b00010700270a03381c2004190b00381d051b0b00010b030b04381e02040104001d1a0a0011050c030a000b0138190b02381f0c040c050a030b0538200a03381c2004140b00381d05160b00010b030b04381e0200",
2941
+ "abi": {
2942
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
2943
+ "name": "stable_pool_scripts",
2944
+ "friends": [],
2945
+ "exposed_functions": [
2946
+ {
2947
+ "name": "add_liquidity",
2948
+ "visibility": "public",
2949
+ "is_entry": true,
2950
+ "is_view": false,
2951
+ "generic_type_params": [
2952
+ {
2953
+ "constraints": []
2954
+ },
2955
+ {
2956
+ "constraints": []
2957
+ },
2958
+ {
2959
+ "constraints": []
2960
+ },
2961
+ {
2962
+ "constraints": []
2963
+ }
2964
+ ],
2965
+ "params": ["&signer", "u64", "u64", "u64", "u64"],
2966
+ "return": []
2967
+ },
2968
+ {
2969
+ "name": "create_stable_pool",
2970
+ "visibility": "public",
2971
+ "is_entry": true,
2972
+ "is_view": false,
2973
+ "generic_type_params": [
2974
+ {
2975
+ "constraints": []
2976
+ },
2977
+ {
2978
+ "constraints": []
2979
+ },
2980
+ {
2981
+ "constraints": []
2982
+ },
2983
+ {
2984
+ "constraints": []
2985
+ }
2986
+ ],
2987
+ "params": ["&signer", "u64", "u64", "u64", "u64", "u64"],
2988
+ "return": []
2989
+ },
2990
+ {
2991
+ "name": "remove_liquidity",
2992
+ "visibility": "public",
2993
+ "is_entry": true,
2994
+ "is_view": false,
2995
+ "generic_type_params": [
2996
+ {
2997
+ "constraints": []
2998
+ },
2999
+ {
3000
+ "constraints": []
3001
+ },
3002
+ {
3003
+ "constraints": []
3004
+ },
3005
+ {
3006
+ "constraints": []
3007
+ }
3008
+ ],
3009
+ "params": ["&signer", "u64", "u64", "u64", "u64", "u64"],
3010
+ "return": []
3011
+ },
3012
+ {
3013
+ "name": "swap_exact_in",
3014
+ "visibility": "public",
3015
+ "is_entry": true,
3016
+ "is_view": false,
3017
+ "generic_type_params": [
3018
+ {
3019
+ "constraints": []
3020
+ },
3021
+ {
3022
+ "constraints": []
3023
+ },
3024
+ {
3025
+ "constraints": []
3026
+ },
3027
+ {
3028
+ "constraints": []
3029
+ },
3030
+ {
3031
+ "constraints": []
3032
+ },
3033
+ {
3034
+ "constraints": []
3035
+ }
3036
+ ],
3037
+ "params": ["&signer", "u64", "u64"],
3038
+ "return": []
3039
+ },
3040
+ {
3041
+ "name": "swap_exact_out",
3042
+ "visibility": "public",
3043
+ "is_entry": true,
3044
+ "is_view": false,
3045
+ "generic_type_params": [
3046
+ {
3047
+ "constraints": []
3048
+ },
3049
+ {
3050
+ "constraints": []
3051
+ },
3052
+ {
3053
+ "constraints": []
3054
+ },
3055
+ {
3056
+ "constraints": []
3057
+ },
3058
+ {
3059
+ "constraints": []
3060
+ },
3061
+ {
3062
+ "constraints": []
3063
+ }
3064
+ ],
3065
+ "params": ["&signer", "u64", "u64"],
3066
+ "return": []
3067
+ }
3068
+ ],
3069
+ "structs": []
3070
+ }
3071
+ },
3072
+ {
3073
+ "bytecode": "0xa11ceb0b060000000a01000a020a1a0324bf0104e3014205a502c20307e705fd0108e4074006a4081410b808510c8909db0400000101010200030004010a04010001040b000800010001000100010001000100010001000500010800000000000000000006020108000000000000000000070301080000000000000000000804010a00000000000000000000000904010a00000000000000000000020c060700010d090a0100030e010d0100010f010a01000405101108000000000000000001101213010001111401010001120a0101000113070d0100011406010100040617180800000000000000000407181008000000000000000004081d1e0a00000000000000000000040921220a000000000000000000000608060b070c060c080c070e060e080e090f0a080a0b0b080b0b0a0c0b0c0c0c0a0e0b0e0c0e0d150e150b150f0f0615100f061b111c0a1f0d1f0e1f0b1f121c0b1b09060c03030303030303030005060c0303030306060c030303030303060c03030c0b000109020b00010903050b000109000b000109010b000109020b000109030b00010b0108090009010902090309040905090609070b000109000b000109010b000109020b0001090301060c010501090002060c03010b0001090001090101090201010109030809000901090209030904090509060907040b000109000b000109010b000109020b00010903050b00010b0108090009010902090309040905090609070b000109000b000109010b000109020b0001090301060b00010900010302050b00010900010b010809000901090209030904090509060907080b000109020b00010903050b000109000b000109010b000109020b000109030b00010b01080900090109020903090409050906090705060c0b000109000b000109010b000109020b00010903010b00010b01080900090109020903090409050906090705050b000109000b000109010b000109020b0001090302050b000109090109080a0900090109020903090409050906090709080909010b00010908010b0001090901090903050b000109090b00010908020b0001090803020b000109080b000109091577656967687465645f706f6f6c5f7363726970747304636f696e067369676e657209626173655f706f6f6c0d77656967687465645f706f6f6c0d6164645f6c6971756964697479146372656174655f77656967687465645f706f6f6c1072656d6f76655f6c69717569646974790d737761705f65786163745f696e0e737761705f65786163745f6f757404436f696e115765696768746564506f6f6c546f6b656e0a616464726573735f6f660877697468647261770769735f6e756c6c047a65726f0576616c7565076465706f7369740c64657374726f795f7a65726f1569735f6163636f756e745f7265676973746572656408726567697374657248271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af00000000000000000000000000000000000000000000000000000000000000010308010000000000000003080000000000000000126170746f733a3a6d657461646174615f76313d0200000000000000000f4552525f4c505f534c495050414745000100000000000000174552525f494e53554646494349454e545f4f5554505554000000000104000582010a0011050c0b0a000a0138000c0c0a000a0238010c0d38022004130a000a0338030c09051538040c090b090c0e380520041f0a000a0438060c0a052138070c0a0b0a0c0f0b0c0b0d0b0e0b0f38080c140c130c120c110c100b010e113809170b0526043505390b00010701270b020e12380a170b0626044105450b00010701270a0b0b11380b0a0b0b12380c380220045e0b030e13380d170b07260456055a0b00010701270a0b0b13380e05600b13380f38052004730b040e143810170b0826046b056f0b00010701270a0b0b14381105750b1438120a0b381320047c0b003814057e0b00010b0b0b103815020101040016370a0011050c070a000b0138000c080a000b0238010c0938022004130a000b0338030c05051538040c050b050c0a380520041f0a000b0438060c06052138070c060b060c0b0a000b080b090b0a0b0b38160c0c0a0738132004310b00381405330b00010b070b0c3815020201040019440a0011050c060b000b01381738180c0a0c090c080c070e0738090b0226041105130700270e08380a0b03260419051b0700270a060b07380b0a060b08380c38022004300e09380d0b0426042a052c0700270a060b09380e05320b09380f38052004410e0a38100b0526043b053d0700270b060b0a381105430b0a381202030104001a1f0a0011050c030a000b013819381a0c040e04381b0b0226040e05120b00010700270a03381c2004190b00381d051b0b00010b030b04381e0204010400201a0a0011050c030a000b0138190b02381f0c040c050a030b0538200a03381c2004140b00381d05160b00010b030b04381e0200",
3074
+ "abi": {
3075
+ "address": "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af",
3076
+ "name": "weighted_pool_scripts",
3077
+ "friends": [],
3078
+ "exposed_functions": [
3079
+ {
3080
+ "name": "add_liquidity",
3081
+ "visibility": "public",
3082
+ "is_entry": true,
3083
+ "is_view": false,
3084
+ "generic_type_params": [
3085
+ {
3086
+ "constraints": []
3087
+ },
3088
+ {
3089
+ "constraints": []
3090
+ },
3091
+ {
3092
+ "constraints": []
3093
+ },
3094
+ {
3095
+ "constraints": []
3096
+ },
3097
+ {
3098
+ "constraints": []
3099
+ },
3100
+ {
3101
+ "constraints": []
3102
+ },
3103
+ {
3104
+ "constraints": []
3105
+ },
3106
+ {
3107
+ "constraints": []
3108
+ }
3109
+ ],
3110
+ "params": ["&signer", "u64", "u64", "u64", "u64", "u64", "u64", "u64", "u64"],
3111
+ "return": []
3112
+ },
3113
+ {
3114
+ "name": "create_weighted_pool",
3115
+ "visibility": "public",
3116
+ "is_entry": true,
3117
+ "is_view": false,
3118
+ "generic_type_params": [
3119
+ {
3120
+ "constraints": []
3121
+ },
3122
+ {
3123
+ "constraints": []
3124
+ },
3125
+ {
3126
+ "constraints": []
3127
+ },
3128
+ {
3129
+ "constraints": []
3130
+ },
3131
+ {
3132
+ "constraints": []
3133
+ },
3134
+ {
3135
+ "constraints": []
3136
+ },
3137
+ {
3138
+ "constraints": []
3139
+ },
3140
+ {
3141
+ "constraints": []
3142
+ }
3143
+ ],
3144
+ "params": ["&signer", "u64", "u64", "u64", "u64"],
3145
+ "return": []
3146
+ },
3147
+ {
3148
+ "name": "remove_liquidity",
3149
+ "visibility": "public",
3150
+ "is_entry": true,
3151
+ "is_view": false,
3152
+ "generic_type_params": [
3153
+ {
3154
+ "constraints": []
3155
+ },
3156
+ {
3157
+ "constraints": []
3158
+ },
3159
+ {
3160
+ "constraints": []
3161
+ },
3162
+ {
3163
+ "constraints": []
3164
+ },
3165
+ {
3166
+ "constraints": []
3167
+ },
3168
+ {
3169
+ "constraints": []
3170
+ },
3171
+ {
3172
+ "constraints": []
3173
+ },
3174
+ {
3175
+ "constraints": []
3176
+ }
3177
+ ],
3178
+ "params": ["&signer", "u64", "u64", "u64", "u64", "u64"],
3179
+ "return": []
3180
+ },
3181
+ {
3182
+ "name": "swap_exact_in",
3183
+ "visibility": "public",
3184
+ "is_entry": true,
3185
+ "is_view": false,
3186
+ "generic_type_params": [
3187
+ {
3188
+ "constraints": []
3189
+ },
3190
+ {
3191
+ "constraints": []
3192
+ },
3193
+ {
3194
+ "constraints": []
3195
+ },
3196
+ {
3197
+ "constraints": []
3198
+ },
3199
+ {
3200
+ "constraints": []
3201
+ },
3202
+ {
3203
+ "constraints": []
3204
+ },
3205
+ {
3206
+ "constraints": []
3207
+ },
3208
+ {
3209
+ "constraints": []
3210
+ },
3211
+ {
3212
+ "constraints": []
3213
+ },
3214
+ {
3215
+ "constraints": []
3216
+ }
3217
+ ],
3218
+ "params": ["&signer", "u64", "u64"],
3219
+ "return": []
3220
+ },
3221
+ {
3222
+ "name": "swap_exact_out",
3223
+ "visibility": "public",
3224
+ "is_entry": true,
3225
+ "is_view": false,
3226
+ "generic_type_params": [
3227
+ {
3228
+ "constraints": []
3229
+ },
3230
+ {
3231
+ "constraints": []
3232
+ },
3233
+ {
3234
+ "constraints": []
3235
+ },
3236
+ {
3237
+ "constraints": []
3238
+ },
3239
+ {
3240
+ "constraints": []
3241
+ },
3242
+ {
3243
+ "constraints": []
3244
+ },
3245
+ {
3246
+ "constraints": []
3247
+ },
3248
+ {
3249
+ "constraints": []
3250
+ },
3251
+ {
3252
+ "constraints": []
3253
+ },
3254
+ {
3255
+ "constraints": []
3256
+ }
3257
+ ],
3258
+ "params": ["&signer", "u64", "u64"],
3259
+ "return": []
3260
+ }
3261
+ ],
3262
+ "structs": []
3263
+ }
3264
+ }
3265
+ ]