@cityofzion/bs-neo3 1.2.1 → 1.3.1

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.
Files changed (45) hide show
  1. package/dist/BSNeo3.d.ts +3 -3
  2. package/dist/BSNeo3.js +8 -8
  3. package/dist/builder/invocation/FlamingoSwapInvocationBuilderNeo3.d.ts +7 -0
  4. package/dist/builder/invocation/FlamingoSwapInvocationBuilderNeo3.js +95 -0
  5. package/dist/builder/invocation/NeonDappKitInvocationBuilderNeo3.d.ts +34 -0
  6. package/dist/builder/invocation/NeonDappKitInvocationBuilderNeo3.js +102 -0
  7. package/dist/constants/FlamingoSwapConstants.d.ts +36 -0
  8. package/dist/constants/FlamingoSwapConstants.js +703 -0
  9. package/dist/{BSNeo3Helper.js → helpers/BSNeo3Helper.js} +2 -2
  10. package/dist/helpers/FlamingoSwapHelper.d.ts +19 -0
  11. package/dist/helpers/FlamingoSwapHelper.js +84 -0
  12. package/dist/index.d.ts +13 -11
  13. package/dist/index.js +13 -11
  14. package/dist/{DoraBDSNeo3.d.ts → services/blockchain-data/DoraBDSNeo3.d.ts} +4 -4
  15. package/dist/{DoraBDSNeo3.js → services/blockchain-data/DoraBDSNeo3.js} +3 -3
  16. package/dist/{RpcBDSNeo3.d.ts → services/blockchain-data/RpcBDSNeo3.d.ts} +2 -2
  17. package/dist/{RpcBDSNeo3.js → services/blockchain-data/RpcBDSNeo3.js} +4 -4
  18. package/dist/{FlamingoEDSNeo3.d.ts → services/exchange-data/FlamingoEDSNeo3.d.ts} +1 -1
  19. package/dist/{FlamingoEDSNeo3.js → services/exchange-data/FlamingoEDSNeo3.js} +1 -1
  20. package/dist/{DoraESNeo3.d.ts → services/explorer/DoraESNeo3.d.ts} +2 -2
  21. package/dist/{DoraESNeo3.js → services/explorer/DoraESNeo3.js} +1 -1
  22. package/dist/{GhostMarketNDSNeo3.d.ts → services/nft-data/GhostMarketNDSNeo3.d.ts} +2 -2
  23. package/dist/{RpcNDSNeo3.d.ts → services/nft-data/RpcNDSNeo3.d.ts} +1 -1
  24. package/dist/services/swap/FlamingoSwapServiceNeo3.d.ts +23 -0
  25. package/dist/services/swap/FlamingoSwapServiceNeo3.js +271 -0
  26. package/dist/services/swap/handlers/FlamingoSwapDetailsHandler.d.ts +24 -0
  27. package/dist/services/swap/handlers/FlamingoSwapDetailsHandler.js +178 -0
  28. package/dist/services/swap/handlers/FlamingoSwapRouteHandler.d.ts +13 -0
  29. package/dist/services/swap/handlers/FlamingoSwapRouteHandler.js +181 -0
  30. package/dist/services/swap/handlers/FlamingoSwapSocketHandler.d.ts +9 -0
  31. package/dist/services/swap/handlers/FlamingoSwapSocketHandler.js +57 -0
  32. package/dist/services/swap/handlers/index.d.ts +3 -0
  33. package/dist/services/swap/handlers/index.js +19 -0
  34. package/package.json +8 -6
  35. package/dist/flamingo-swap/FlamingoSwapControllerService.d.ts +0 -20
  36. package/dist/flamingo-swap/FlamingoSwapControllerService.js +0 -290
  37. package/dist/flamingo-swap/FlamingoSwapHelper.d.ts +0 -48
  38. package/dist/flamingo-swap/FlamingoSwapHelper.js +0 -171
  39. package/dist/flamingo-swap/FlamingoSwapNeonDappKitInvocationBuilder.d.ts +0 -19
  40. package/dist/flamingo-swap/FlamingoSwapNeonDappKitInvocationBuilder.js +0 -208
  41. package/dist/{BSNeo3Helper.d.ts → helpers/BSNeo3Helper.d.ts} +0 -0
  42. package/dist/{NeonDappKitLedgerServiceNeo3.d.ts → services/ledger/NeonDappKitLedgerServiceNeo3.d.ts} +1 -1
  43. package/dist/{NeonDappKitLedgerServiceNeo3.js → services/ledger/NeonDappKitLedgerServiceNeo3.js} +1 -1
  44. package/dist/{GhostMarketNDSNeo3.js → services/nft-data/GhostMarketNDSNeo3.js} +1 -1
  45. /package/dist/{RpcNDSNeo3.js → services/nft-data/RpcNDSNeo3.js} +0 -0
@@ -0,0 +1,703 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ var _a;
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.FlamingoSwapConstants = exports.BLOCKCHAIN_WSS_URL = void 0;
8
+ const bignumber_js_1 = __importDefault(require("bignumber.js"));
9
+ exports.BLOCKCHAIN_WSS_URL = 'wss://rpc10.n3.nspcc.ru:10331/ws';
10
+ class FlamingoSwapConstants {
11
+ }
12
+ exports.FlamingoSwapConstants = FlamingoSwapConstants;
13
+ _a = FlamingoSwapConstants;
14
+ FlamingoSwapConstants.BN_0 = new bignumber_js_1.default(0);
15
+ FlamingoSwapConstants.BN_1 = new bignumber_js_1.default(1);
16
+ FlamingoSwapConstants.BN_997 = new bignumber_js_1.default(997);
17
+ FlamingoSwapConstants.BN_1000 = new bignumber_js_1.default(1000);
18
+ FlamingoSwapConstants.FEE_RATE = new bignumber_js_1.default(0.003);
19
+ FlamingoSwapConstants.GAS_PER_NEO = 0.001;
20
+ FlamingoSwapConstants.TESTNET_FLAMINGO_SWAP_TOKENS = {
21
+ // ============ Neo Assets ============ //
22
+ FLM: {
23
+ symbol: 'FLM',
24
+ decimals: 8,
25
+ hash: '0x5b53998b399d10cd25727269e865acc785ef5c1a',
26
+ name: 'FLM',
27
+ },
28
+ TIPS: {
29
+ symbol: 'TIPS',
30
+ decimals: 8,
31
+ hash: '0xe2cd0c441f37f0daeeee196b5ce23bef4182c43a',
32
+ name: 'TIPS',
33
+ },
34
+ CANDY: {
35
+ symbol: 'CANDY',
36
+ decimals: 9,
37
+ hash: '0x7d4515866a633857c0ca5798aa66856768ae06fe',
38
+ name: 'CANDY',
39
+ },
40
+ DOGER: {
41
+ symbol: 'DOGER',
42
+ decimals: 8,
43
+ hash: '0x7761e3b1939f691feb01d791c4c2307bd195e9e5',
44
+ name: 'DOGER',
45
+ },
46
+ DOGEF: {
47
+ symbol: 'DOGEF',
48
+ decimals: 8,
49
+ hash: '0x1379ebf3c7f42c34bee4c3320d23ce47a8b17ed4',
50
+ name: 'DOGEF',
51
+ },
52
+ NEO: {
53
+ symbol: 'NEO',
54
+ decimals: 0,
55
+ hash: '0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5',
56
+ name: 'NEO',
57
+ },
58
+ GAS: {
59
+ symbol: 'GAS',
60
+ decimals: 8,
61
+ hash: '0xd2a4cff31913016155e38e474a2c06d08be276cf',
62
+ name: 'GAS',
63
+ },
64
+ bNEO: {
65
+ symbol: 'bNEO',
66
+ decimals: 8,
67
+ hash: '0x85deac50febfd93988d3f391dea54e8289e43e9e',
68
+ name: 'bNEO',
69
+ },
70
+ SWTH: {
71
+ symbol: 'SWTH',
72
+ decimals: 8,
73
+ hash: '0x70aba30ba83c344fa8c8d65939c93ca12e8c7409',
74
+ name: 'SWTH',
75
+ },
76
+ GM: {
77
+ symbol: 'GM',
78
+ decimals: 8,
79
+ hash: '0xc13b05fc0e6fe3cc681e29a574557784b4f79aff',
80
+ name: 'GM',
81
+ },
82
+ fUSDT: {
83
+ symbol: 'fUSDT',
84
+ decimals: 6,
85
+ hash: '0xa2d5f4378c42d118ebc7e1690f9478d3e00aefa1',
86
+ name: 'fUSDT',
87
+ },
88
+ fWETH: {
89
+ symbol: 'fWETH',
90
+ decimals: 18,
91
+ hash: '0xe6d9306f944df543bc0171558d06e39fc548ad08',
92
+ name: 'fWETH',
93
+ },
94
+ fWBTC: {
95
+ symbol: 'fWBTC',
96
+ decimals: 8,
97
+ hash: '0x9b9f7db02c0a2d6aa5ad9be7bba843027bf5b5f2',
98
+ name: 'fWBTC',
99
+ },
100
+ pONT: {
101
+ symbol: 'pONT',
102
+ decimals: 9,
103
+ hash: '0xdaedcb8316bebd0fd278ec9c85766caba3232cfc',
104
+ name: 'pONT',
105
+ },
106
+ pWING: {
107
+ symbol: 'pWING',
108
+ decimals: 9,
109
+ hash: '0x44e38f5602b130bc669074c3f938c607448498b2',
110
+ name: 'pWING',
111
+ },
112
+ fCAKE: {
113
+ symbol: 'fCAKE',
114
+ decimals: 18,
115
+ hash: '0x1667501ddf75e801360d617232c3e9f7958f1962',
116
+ name: 'fCAKE',
117
+ },
118
+ SOM: {
119
+ symbol: 'SOM',
120
+ decimals: 8,
121
+ hash: '0xfc7b372524289bc83f97647011698cb3325e8d9d',
122
+ name: 'SOM',
123
+ },
124
+ FDE: {
125
+ symbol: 'FDE',
126
+ decimals: 8,
127
+ hash: '0x5b769ec16f521711d7246c17ac107f7269bf56da',
128
+ name: 'FDE',
129
+ },
130
+ fBNB: {
131
+ symbol: 'fBNB',
132
+ decimals: 18,
133
+ hash: '0x1883231a31dc912805cc08a281d4c268c4cac345',
134
+ name: 'fBNB',
135
+ },
136
+ };
137
+ FlamingoSwapConstants.MAINNET_FLAMINGO_SWAP_TOKENS = {
138
+ // ============ Neo Assets ============ //
139
+ FLM: {
140
+ symbol: 'FLM',
141
+ decimals: 8,
142
+ hash: '0xf0151f528127558851b39c2cd8aa47da7418ab28',
143
+ name: 'FLM',
144
+ },
145
+ TIPS: {
146
+ symbol: 'TIPS',
147
+ decimals: 8,
148
+ hash: '0x340720c7107ef5721e44ed2ea8e314cce5c130fa',
149
+ name: 'TIPS',
150
+ },
151
+ NEO: {
152
+ symbol: 'NEO',
153
+ decimals: 0,
154
+ hash: '0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5',
155
+ name: 'NEO',
156
+ },
157
+ GAS: {
158
+ symbol: 'GAS',
159
+ decimals: 8,
160
+ hash: '0xd2a4cff31913016155e38e474a2c06d08be276cf',
161
+ name: 'GAS',
162
+ },
163
+ bNEO: {
164
+ symbol: 'bNEO',
165
+ decimals: 8,
166
+ hash: '0x48c40d4666f93408be1bef038b6722404d9a4c2a',
167
+ name: 'bNEO',
168
+ },
169
+ FUSD: {
170
+ symbol: 'FUSD',
171
+ decimals: 8,
172
+ hash: '0x1005d400bcc2a56b7352f09e273be3f9933a5fb1',
173
+ name: 'FUSD',
174
+ },
175
+ LRB: {
176
+ symbol: 'LRB',
177
+ decimals: 8,
178
+ hash: '0x8c07b4c9f5bc170a3922eac4f5bb7ef17b0acc8b',
179
+ name: 'LRB',
180
+ },
181
+ USDL: {
182
+ symbol: 'USDL',
183
+ decimals: 8,
184
+ hash: '0xa8c51aa0c177187aeed3db88bdfa908ccbc9b1a5',
185
+ name: 'USDL',
186
+ },
187
+ SOM: {
188
+ symbol: 'SOM',
189
+ decimals: 8,
190
+ hash: '0x2d4c6cf0417209a7eb410160344e224e74f87195',
191
+ name: 'SOM',
192
+ },
193
+ CANDY: {
194
+ symbol: 'CANDY',
195
+ decimals: 9,
196
+ hash: '0x88da18a5bca86ec8206d9b4960a7d0c4355a432f',
197
+ name: 'CANDY',
198
+ },
199
+ DOGER: {
200
+ symbol: 'DOGER',
201
+ decimals: 8,
202
+ hash: '0x322b5a366ca724801a1aa01e669b5f3d7f8c7f6f',
203
+ name: 'DOGER',
204
+ },
205
+ DOGEF: {
206
+ symbol: 'DOGEF',
207
+ decimals: 8,
208
+ hash: '0xa3291b66f70d4687fc0e41977d8acb0699f235ae',
209
+ name: 'DOGEF',
210
+ },
211
+ FDE: {
212
+ symbol: 'FDE',
213
+ decimals: 8,
214
+ hash: '0x9770f4d78a19d1a6fa94b472bcedffcc06b56c49',
215
+ name: 'FDE',
216
+ },
217
+ fUSDT: {
218
+ symbol: 'fUSDT',
219
+ decimals: 6,
220
+ hash: '0xcd48b160c1bbc9d74997b803b9a7ad50a4bef020',
221
+ name: 'fUSDT',
222
+ },
223
+ fWETH: {
224
+ symbol: 'fWETH',
225
+ decimals: 18,
226
+ hash: '0xc14b601252aa5dfa6166cf35fe5ccd2e35f3fdf5',
227
+ name: 'fWETH',
228
+ },
229
+ fWBTC: {
230
+ symbol: 'fWBTC',
231
+ decimals: 8,
232
+ hash: '0xd6abe115ecb75e1fa0b42f5e85934ce8c1ae2893',
233
+ name: 'fWBTC',
234
+ },
235
+ pONT: {
236
+ symbol: 'pONT',
237
+ decimals: 9,
238
+ hash: '0x8122bc2212ec971690a044b37a6f52a9349b702b',
239
+ name: 'pONT',
240
+ },
241
+ pWING: {
242
+ symbol: 'pWING',
243
+ decimals: 9,
244
+ hash: '0xeeccd60ed722111f8400434dac3ba42c14d8beb1',
245
+ name: 'pWING',
246
+ },
247
+ GM: {
248
+ symbol: 'GM',
249
+ decimals: 8,
250
+ hash: '0x9b049f1283515eef1d3f6ac610e1595ed25ca3e9',
251
+ name: 'GM',
252
+ },
253
+ fCAKE: {
254
+ symbol: 'fCAKE',
255
+ decimals: 18,
256
+ hash: '0xe65b462b90516012826f8a9c4c285d8c750e3a77',
257
+ name: 'fCAKE',
258
+ },
259
+ SWTH: {
260
+ symbol: 'SWTH',
261
+ decimals: 8,
262
+ hash: '0x78e1330db47634afdb5ea455302ba2d12b8d549f',
263
+ name: 'SWTH',
264
+ },
265
+ fBNB: {
266
+ symbol: 'fBNB',
267
+ decimals: 18,
268
+ hash: '0xb56f0fba45cc57a948b342186274dfd863996bb3',
269
+ name: 'fBNB',
270
+ },
271
+ };
272
+ FlamingoSwapConstants.FLAMINGO_SWAP_TOKENS = {
273
+ testnet: _a.TESTNET_FLAMINGO_SWAP_TOKENS,
274
+ mainnet: _a.MAINNET_FLAMINGO_SWAP_TOKENS,
275
+ };
276
+ FlamingoSwapConstants.FLAMINGO_SWAP_SCRIPT_HASHES = {
277
+ mainnet: {
278
+ flamingoSwapRouter: '0xf970f4ccecd765b63732b821775dc38c25d74f23',
279
+ flamingoPairWhiteList: '0xfb75a5314069b56e136713d38477f647a13991b4',
280
+ flamingoFactory: '0xca2d20610d7982ebe0bed124ee7e9b2d580a6efc',
281
+ },
282
+ testnet: {
283
+ flamingoSwapRouter: '0x6f0910fa26290f4a423930c8f833395790c71705',
284
+ flamingoPairWhiteList: '0xfb75a5314069b56e136713d38477f647a13991b4',
285
+ flamingoFactory: '0xca2d20610d7982ebe0bed124ee7e9b2d580a6efc',
286
+ },
287
+ };
288
+ FlamingoSwapConstants.TESTNET_FLAMINGO_SWAP_POOLS = {
289
+ 'FLP-FLM-bNEO': {
290
+ symbol: 'FLP-FLM-bNEO',
291
+ decimals: 8,
292
+ hash: '0x35f47f3f697aaadfec954d5936d67f172413de7e',
293
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.bNEO],
294
+ },
295
+ 'FLP-FLM-fUSDT': {
296
+ symbol: 'FLP-FLM-fUSDT',
297
+ decimals: 8,
298
+ hash: '0x5510e648a00fea8966025c8b4b1c618cfa363ad1',
299
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.fUSDT],
300
+ },
301
+ 'FLP-FLM-fWBTC': {
302
+ symbol: 'FLP-FLM-fWBTC',
303
+ decimals: 8,
304
+ hash: '0xd11716dc3fce15790177bd6d4a827e3d00255118',
305
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.fWBTC],
306
+ },
307
+ 'FLP-FLM-fWETH': {
308
+ symbol: 'FLP-FLM-fWETH',
309
+ decimals: 8,
310
+ hash: '0xf9ee43c25f23fd42a1d6d199ef87ebe953bec325',
311
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.fWETH],
312
+ },
313
+ 'FLP-FLM-GAS': {
314
+ symbol: 'FLP-FLM-GAS',
315
+ decimals: 8,
316
+ hash: '0x7deb6406aeef3414ae47ae34fd986d0ca2c92859',
317
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.GAS],
318
+ },
319
+ 'FLP-FLM-BNB': {
320
+ symbol: 'FLP-FLM-BNB',
321
+ decimals: 8,
322
+ hash: '0xa89606941d015c1f5a14939198a0bf56399b560e',
323
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.fBNB, _a.FLAMINGO_SWAP_TOKENS.testnet.FLM],
324
+ },
325
+ 'FLP-FLM-pONT': {
326
+ symbol: 'FLP-FLM-pONT',
327
+ decimals: 8,
328
+ hash: '0xfe2984756a526fb1405d69d72676a42a9edf3650',
329
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.pONT],
330
+ },
331
+ 'FLP-FLM-WING': {
332
+ symbol: 'FLP-FLM-WING',
333
+ decimals: 8,
334
+ hash: '0xe9401a22ee998748012b249cae7fd84006889cf1',
335
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.pWING, _a.FLAMINGO_SWAP_TOKENS.testnet.FLM],
336
+ },
337
+ 'FLP-FLM-GM': {
338
+ symbol: 'FLP-FLM-GM',
339
+ decimals: 8,
340
+ hash: '0x635d478af99bef6cc53920836ec539e569907c8b',
341
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.GM],
342
+ },
343
+ 'FLP-FLM-fCAKE': {
344
+ symbol: 'FLP-FLM-fCAKE',
345
+ decimals: 8,
346
+ hash: '0x3f4b2425b704ac587632cab04b8e2db4bcfab911',
347
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.fCAKE, _a.FLAMINGO_SWAP_TOKENS.testnet.FLM],
348
+ },
349
+ 'FLP-FLM-SWTH': {
350
+ symbol: 'FLP-FLM-SWTH',
351
+ decimals: 8,
352
+ hash: '0xc7f02273b619ef4b20f81e9ec41becc86f645b3d',
353
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.SWTH],
354
+ },
355
+ 'FLP-bNEO-fUSDT': {
356
+ symbol: 'FLP-bNEO-fUSDT',
357
+ decimals: 8,
358
+ hash: '0x7d835604b4b9e58baabe26f32a43fb977b568fc7',
359
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.testnet.fUSDT],
360
+ },
361
+ 'FLP-bNEO-fWBTC': {
362
+ symbol: 'FLP-bNEO-fWBTC',
363
+ decimals: 8,
364
+ hash: '0x8e71d7dab87a6ad6279d0385096307fe17038282',
365
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.testnet.fWBTC],
366
+ },
367
+ 'FLP-bNEO-fWETH': {
368
+ symbol: 'FLP-bNEO-fWETH',
369
+ decimals: 8,
370
+ hash: '0xa9cdf0e61bb6d38390b974628e40a10cd22babcf',
371
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.testnet.fWETH],
372
+ },
373
+ 'FLP-bNEO-GAS': {
374
+ symbol: 'FLP-bNEO-GAS',
375
+ decimals: 8,
376
+ hash: '0x5a262ceef47ffcb82bfd3d94b916a2573e503e5a',
377
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.testnet.GAS],
378
+ },
379
+ 'FLP-bNEO-BNB': {
380
+ symbol: 'FLP-bNEO-BNB',
381
+ decimals: 8,
382
+ hash: '0x1bcd02c98802365aa6722bc552fbdcae4397c17e',
383
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.fBNB, _a.FLAMINGO_SWAP_TOKENS.testnet.bNEO],
384
+ },
385
+ 'FLP-bNEO-pONT': {
386
+ symbol: 'FLP-bNEO-pONT',
387
+ decimals: 8,
388
+ hash: '0xcce0827f42ea56cbc9514e4e9e60589dbbc37869',
389
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.testnet.pONT],
390
+ },
391
+ 'FLP-bNEO-WING': {
392
+ symbol: 'FLP-bNEO-WING',
393
+ decimals: 8,
394
+ hash: '0x2ad51e9fef7f52fa60070cf3379a5b9170d76249',
395
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.pWING, _a.FLAMINGO_SWAP_TOKENS.testnet.bNEO],
396
+ },
397
+ 'FLP-bNEO-GM': {
398
+ symbol: 'FLP-bNEO-GM',
399
+ decimals: 8,
400
+ hash: '0xa83cc212789b7ec6c0ccffe109bc71413eefe3e1',
401
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.testnet.GM],
402
+ },
403
+ 'FLP-bNEO-fCAKE': {
404
+ symbol: 'FLP-bNEO-fCAKE',
405
+ decimals: 8,
406
+ hash: '0x3c7ae4f37c9ebf54536f9ce15cfd4359f6ea6ba1',
407
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.fCAKE, _a.FLAMINGO_SWAP_TOKENS.testnet.bNEO],
408
+ },
409
+ 'FLP-bNEO-SWTH': {
410
+ symbol: 'FLP-bNEO-SWTH',
411
+ decimals: 8,
412
+ hash: '0x13e2a229e27f2aa567ad9fd5a1958a32691d18fc',
413
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.SWTH, _a.FLAMINGO_SWAP_TOKENS.testnet.bNEO],
414
+ },
415
+ 'FLP-fWBTC-fUSDT': {
416
+ symbol: 'FLP-fWBTC-fUSDT',
417
+ decimals: 8,
418
+ hash: '0x7d71812d091d564d9604388787a65ec8e4d42a69',
419
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.fWBTC, _a.FLAMINGO_SWAP_TOKENS.testnet.fUSDT],
420
+ },
421
+ 'FRP-FLM-FDE': {
422
+ symbol: 'FRP-FLM-FDE',
423
+ decimals: 8,
424
+ hash: '0x4d30c0ab3d908126133813fb40cb153caf78d17d',
425
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.FDE],
426
+ },
427
+ 'FRP-bNEO-FDE': {
428
+ symbol: 'FRP-bNEO-FDE',
429
+ decimals: 8,
430
+ hash: '0xaa4a2c7e9f5ddd2e6bfafc36d4b74e9ee171c6ae',
431
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FDE, _a.FLAMINGO_SWAP_TOKENS.testnet.bNEO],
432
+ },
433
+ 'FLP-FLM-FUSD': {
434
+ symbol: 'FLP-FLM-FUSD',
435
+ decimals: 8,
436
+ hash: '0x5d64cf72fa1d72aa6983218c2b286b136e05657e',
437
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.FLM, _a.FLAMINGO_SWAP_TOKENS.testnet.FUSD],
438
+ },
439
+ 'FLP-fWBTC-FUSD': {
440
+ symbol: 'FLP-fWBTC-FUSD',
441
+ decimals: 8,
442
+ hash: '0x839a33a0326700d8dbd8621f95044fee29c3a643',
443
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.fWBTC, _a.FLAMINGO_SWAP_TOKENS.testnet.FUSD],
444
+ },
445
+ 'FLP-bNEO-FUSD': {
446
+ symbol: 'FLP-bNEO-FUSD',
447
+ decimals: 8,
448
+ hash: '0x9ed3e179fb8f68d255bae6708c42fc66e32df566',
449
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.testnet.FUSD],
450
+ },
451
+ 'FLP-fUSDT-FUSD': {
452
+ symbol: 'FLP-fUSDT-FUSD',
453
+ decimals: 8,
454
+ hash: '0x654d926c89aea73815131668904f08b2d5d1ac95',
455
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.testnet.fUSDT, _a.FLAMINGO_SWAP_TOKENS.testnet.FUSD],
456
+ },
457
+ };
458
+ FlamingoSwapConstants.MAINNET_FLAMINGO_SWAP_POOLS = {
459
+ 'FLP-FLM-bNEO': {
460
+ symbol: 'FLP-FLM-bNEO',
461
+ decimals: 8,
462
+ hash: '0x4d5a85b0c83777df72cfb665a933970e4e20c0ec',
463
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
464
+ },
465
+ 'FLP-FLM-fUSDT': {
466
+ symbol: 'FLP-FLM-fUSDT',
467
+ decimals: 8,
468
+ hash: '0x59aa80468a120fe79aa5601de07746275c9ed76a',
469
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.fUSDT, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
470
+ },
471
+ 'FLP-FLM-fWBTC': {
472
+ symbol: 'FLP-FLM-fWBTC',
473
+ decimals: 8,
474
+ hash: '0x6bcbf09a7193c968d608178a45785967f0721c42',
475
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.fWBTC, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
476
+ },
477
+ 'FLP-FLM-fWETH': {
478
+ symbol: 'FLP-FLM-fWETH',
479
+ decimals: 8,
480
+ hash: '0x1404929a660620869c9cb46ff228ee9d7147959d',
481
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.fWETH, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
482
+ },
483
+ 'FLP-FLM-GAS': {
484
+ symbol: 'FLP-FLM-GAS',
485
+ decimals: 8,
486
+ hash: '0x171d791c0301c332cfe95c6371ee32965e34b606',
487
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.GAS, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
488
+ },
489
+ 'FLP-FLM-fBNB': {
490
+ symbol: 'FLP-FLM-fBNB',
491
+ decimals: 8,
492
+ hash: '0x186998775b3dfb81eb878030cb49cc1eeeed5bfc',
493
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.fBNB, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
494
+ },
495
+ 'FLP-FLM-pONT': {
496
+ symbol: 'FLP-FLM-pONT',
497
+ decimals: 8,
498
+ hash: '0x1b3f740240af479f07e44ee3ee78df4c6cb4b1fb',
499
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.pONT, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
500
+ },
501
+ 'FLP-FLM-WING': {
502
+ symbol: 'FLP-FLM-WING',
503
+ decimals: 8,
504
+ hash: '0x576f42660a266141f03972f96992f2c1c10253a0',
505
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.pWING, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
506
+ },
507
+ 'FLP-FLM-GM': {
508
+ symbol: 'FLP-FLM-GM',
509
+ decimals: 8,
510
+ hash: '0xf23221a92c29beffbea6e46c681c8380d9794579',
511
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.GM, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
512
+ },
513
+ 'FLP-FLM-fCAKE': {
514
+ symbol: 'FLP-FLM-fCAKE',
515
+ decimals: 8,
516
+ hash: '0x236a6679dc26b5f11fae7c3b30784509216dd4b0',
517
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.fCAKE, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
518
+ },
519
+ 'FLP-FLM-SWTH': {
520
+ symbol: 'FLP-FLM-SWTH',
521
+ decimals: 8,
522
+ hash: '0xd8788aab4f7d84384f1808f9aaacd5dc4ea94317',
523
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.SWTH, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
524
+ },
525
+ 'FLP-bNEO-fUSDT': {
526
+ symbol: 'FLP-bNEO-fUSDT',
527
+ decimals: 8,
528
+ hash: '0x545dee8354823d1bdf4ac524e4092f7405025247',
529
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.fUSDT],
530
+ },
531
+ 'FLP-bNEO-fWBTC': {
532
+ symbol: 'FLP-bNEO-fWBTC',
533
+ decimals: 8,
534
+ hash: '0xc777a8032c1d9d7b885c7357d4c93e7a39f93942',
535
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.fWBTC],
536
+ },
537
+ 'FLP-bNEO-fWETH': {
538
+ symbol: 'FLP-bNEO-fWETH',
539
+ decimals: 8,
540
+ hash: '0xedcbe55b04bcc7dad69cfe243bf3d26dc106a1d4',
541
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.fWETH],
542
+ },
543
+ 'FLP-bNEO-GAS': {
544
+ symbol: 'FLP-bNEO-GAS',
545
+ decimals: 8,
546
+ hash: '0x3244fcadcccff190c329f7b3083e4da2af60fbce',
547
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.GAS],
548
+ },
549
+ 'FLP-bNEO-fBNB': {
550
+ symbol: 'FLP-bNEO-fBNB',
551
+ decimals: 8,
552
+ hash: '0xa1cd71d503bc8a7666c015f3e943deb2fc4c37e0',
553
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.fBNB],
554
+ },
555
+ 'FLP-bNEO-pONT': {
556
+ symbol: 'FLP-bNEO-pONT',
557
+ decimals: 8,
558
+ hash: '0x267f98a017f3905ffc996555632c77eae701d1ca',
559
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.pONT],
560
+ },
561
+ 'FLP-bNEO-WING': {
562
+ symbol: 'FLP-bNEO-WING',
563
+ decimals: 8,
564
+ hash: '0xff3cf71518e7f5a72b3862fa13fe9555c5899930',
565
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.pWING],
566
+ },
567
+ 'FLP-bNEO-GM': {
568
+ symbol: 'FLP-bNEO-GM',
569
+ decimals: 8,
570
+ hash: '0xc658095f498dd3e00292c29ac1e85fe9ff206f28',
571
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.GM],
572
+ },
573
+ 'FLP-bNEO-fCAKE': {
574
+ symbol: 'FLP-bNEO-fCAKE',
575
+ decimals: 8,
576
+ hash: '0xf3a258c98f437cc40d2b9f75f87790df8a9ab646',
577
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.fCAKE],
578
+ },
579
+ 'FLP-bNEO-SWTH': {
580
+ symbol: 'FLP-bNEO-SWTH',
581
+ decimals: 8,
582
+ hash: '0x48d8b2b02b960aa8845a3f90d2c590d4e61a425c',
583
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.SWTH],
584
+ },
585
+ 'FLP-fWBTC-fUSDT': {
586
+ symbol: 'FLP-fWBTC-fUSDT',
587
+ decimals: 8,
588
+ hash: '0x45d182227b5d753c7f358594b631838b92caf409',
589
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.fUSDT, _a.FLAMINGO_SWAP_TOKENS.mainnet.fWBTC],
590
+ },
591
+ 'FRP-FLM-FDE': {
592
+ symbol: 'FRP-FLM-FDE',
593
+ decimals: 8,
594
+ hash: '0x9f193ba476c934dd8847df26684063b2987b7508',
595
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.FDE, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
596
+ },
597
+ 'FRP-FLM-TIPS': {
598
+ symbol: 'FRP-FLM-TIPS',
599
+ decimals: 8,
600
+ hash: '0x35de27f4d7bc356c9a4b734cabb38cc63657233f',
601
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.TIPS, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
602
+ },
603
+ 'FRP-FLM-CANDY': {
604
+ symbol: 'FRP-FLM-CANDY',
605
+ decimals: 8,
606
+ hash: '0xf9956798ca7e8274f7ab4f1f6d6c06f55a0a9bd3',
607
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.CANDY, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
608
+ },
609
+ 'FRP-FLM-DOGEF': {
610
+ symbol: 'FRP-FLM-DOGEF',
611
+ decimals: 8,
612
+ hash: '0x5d8545d1780190e1bf7605713c901b197bcfaf11',
613
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.DOGEF, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
614
+ },
615
+ 'FRP-FLM-DOGER': {
616
+ symbol: 'FRP-FLM-DOGER',
617
+ decimals: 8,
618
+ hash: '0xb3fb4160534d8c366c06d31fc8df7bc2b3428785',
619
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.DOGER, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
620
+ },
621
+ 'FRP-FLM-SOM': {
622
+ symbol: 'FRP-FLM-SOM',
623
+ decimals: 8,
624
+ hash: '0x360dc86df056598a492f26baec4db38fcef65477',
625
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.SOM, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
626
+ },
627
+ 'FRP-bNEO-FDE': {
628
+ symbol: 'FRP-bNEO-FDE',
629
+ decimals: 8,
630
+ hash: '0x77994db5591ff4869d72fa31ffe3ace8d6435e6d',
631
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.FDE],
632
+ },
633
+ 'FRP-bNEO-TIPS': {
634
+ symbol: 'FRP-bNEO-TIPS',
635
+ decimals: 8,
636
+ hash: '0x85a2053d65dcbda9208e2a7cfa65a9db09a1cf11',
637
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.TIPS, _a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO],
638
+ },
639
+ 'FRP-bNEO-CANDY': {
640
+ symbol: 'FRP-bNEO-CANDY',
641
+ decimals: 8,
642
+ hash: '0x29ea009d2bfecd5f65994ed54277348fb89d3e44',
643
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.CANDY],
644
+ },
645
+ 'FRP-bNEO-DOGEF': {
646
+ symbol: 'FRP-bNEO-DOGEF',
647
+ decimals: 8,
648
+ hash: '0xdfe7973be3335a1df558e9509fb4296997364406',
649
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO, _a.FLAMINGO_SWAP_TOKENS.mainnet.DOGEF],
650
+ },
651
+ 'FRP-bNEO-DOGER': {
652
+ symbol: 'FRP-bNEO-DOGER',
653
+ decimals: 8,
654
+ hash: '0xdfaac72e7051e6cc218a9b77f228f0758f39a990',
655
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.DOGER, _a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO],
656
+ },
657
+ 'FRP-bNEO-SOM': {
658
+ symbol: 'FRP-bNEO-SOM',
659
+ decimals: 8,
660
+ hash: '0x5faf5e07e2dc09d1315cf6a49699be3feb0377d0',
661
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.SOM, _a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO],
662
+ },
663
+ 'FRP-FLM-LRB': {
664
+ symbol: 'FRP-FLM-LRB',
665
+ decimals: 8,
666
+ hash: '0x1f86bab6d548a3bd4e9292be0937c074da78ab77',
667
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.LRB, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
668
+ },
669
+ 'FRP-FLM-USDL': {
670
+ symbol: 'FRP-FLM-USDL',
671
+ decimals: 8,
672
+ hash: '0x33a1e91d8187d6f62b5b2c9847b450c90d770b32',
673
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.USDL, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
674
+ },
675
+ 'FLP-FLM-FUSD': {
676
+ symbol: 'FLP-FLM-FUSD',
677
+ decimals: 8,
678
+ hash: '0xaeae872ace15f87c117213c92c00944af789aed2',
679
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.FUSD, _a.FLAMINGO_SWAP_TOKENS.mainnet.FLM],
680
+ },
681
+ 'FLP-bNEO-FUSD': {
682
+ symbol: 'FLP-bNEO-FUSD',
683
+ decimals: 8,
684
+ hash: '0x3269ece5dc33adf17ed14be7780693f3c8b102d1',
685
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.FUSD, _a.FLAMINGO_SWAP_TOKENS.mainnet.bNEO],
686
+ },
687
+ 'FLP-fWBTC-FUSD': {
688
+ symbol: 'FLP-fWBTC-FUSD',
689
+ decimals: 8,
690
+ hash: '0xa71cb8d2ef7de0e97f28378faa401d1133452632',
691
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.FUSD, _a.FLAMINGO_SWAP_TOKENS.mainnet.fWBTC],
692
+ },
693
+ 'FLP-fUSDT-FUSD': {
694
+ symbol: 'FLP-fUSDT-FUSD',
695
+ decimals: 8,
696
+ hash: '0x20c0cdd773fe704721669870c7b33b8688aa132c',
697
+ tokens: [_a.FLAMINGO_SWAP_TOKENS.mainnet.FUSD, _a.FLAMINGO_SWAP_TOKENS.mainnet.fUSDT],
698
+ },
699
+ };
700
+ FlamingoSwapConstants.FLAMINGO_SWAP_POOLS = {
701
+ testnet: _a.TESTNET_FLAMINGO_SWAP_POOLS,
702
+ mainnet: _a.MAINNET_FLAMINGO_SWAP_POOLS,
703
+ };