@yodlpay/tokenlists 0.4.8 → 0.5.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.
- package/dist/routerlist-v1.json +42 -0
- package/dist/tokenlist-featured.json +55 -0
- package/dist/tokenlists.cjs.development.js +728 -0
- package/dist/tokenlists.cjs.development.js.map +1 -1
- package/dist/tokenlists.cjs.production.min.js +1 -1
- package/dist/tokenlists.cjs.production.min.js.map +1 -1
- package/dist/tokenlists.esm.js +728 -0
- package/dist/tokenlists.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -192,6 +192,22 @@ var tokens = [
|
|
|
192
192
|
],
|
|
193
193
|
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
|
|
194
194
|
},
|
|
195
|
+
{
|
|
196
|
+
chainId: 1,
|
|
197
|
+
coinGeckoId: "glo-dollar",
|
|
198
|
+
name: "Glo Dollar",
|
|
199
|
+
symbol: "USDGLO",
|
|
200
|
+
currency: "USD",
|
|
201
|
+
logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDGLO.png",
|
|
202
|
+
decimals: 18,
|
|
203
|
+
tags: [
|
|
204
|
+
"Mainnet",
|
|
205
|
+
"Stablecoin",
|
|
206
|
+
"USD",
|
|
207
|
+
"featured"
|
|
208
|
+
],
|
|
209
|
+
address: "0x4F604735c1cF31399C6E711D5962b2B3E0225AD3"
|
|
210
|
+
},
|
|
195
211
|
{
|
|
196
212
|
chainId: 10,
|
|
197
213
|
coinGeckoId: "usd-coin",
|
|
@@ -226,6 +242,22 @@ var tokens = [
|
|
|
226
242
|
],
|
|
227
243
|
address: "0x0b2c639c533813f4aa9d7837caf62653d097ff85"
|
|
228
244
|
},
|
|
245
|
+
{
|
|
246
|
+
chainId: 10,
|
|
247
|
+
coinGeckoId: "glo-dollar",
|
|
248
|
+
name: "Glo Dollar",
|
|
249
|
+
symbol: "USDGLO",
|
|
250
|
+
currency: "USD",
|
|
251
|
+
logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDGLO.png",
|
|
252
|
+
decimals: 18,
|
|
253
|
+
tags: [
|
|
254
|
+
"Optimism",
|
|
255
|
+
"Stablecoin",
|
|
256
|
+
"USD",
|
|
257
|
+
"featured"
|
|
258
|
+
],
|
|
259
|
+
address: "0x4f604735c1cf31399c6e711d5962b2b3e0225ad3"
|
|
260
|
+
},
|
|
229
261
|
{
|
|
230
262
|
chainId: 8453,
|
|
231
263
|
coinGeckoId: "usd-coin",
|
|
@@ -243,6 +275,22 @@ var tokens = [
|
|
|
243
275
|
],
|
|
244
276
|
address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
|
|
245
277
|
},
|
|
278
|
+
{
|
|
279
|
+
chainId: 8453,
|
|
280
|
+
coinGeckoId: "glo-dollar",
|
|
281
|
+
name: "Glo Dollar",
|
|
282
|
+
symbol: "USDGLO",
|
|
283
|
+
currency: "USD",
|
|
284
|
+
logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDGLO.png",
|
|
285
|
+
decimals: 18,
|
|
286
|
+
tags: [
|
|
287
|
+
"Base",
|
|
288
|
+
"Stablecoin",
|
|
289
|
+
"USD",
|
|
290
|
+
"featured"
|
|
291
|
+
],
|
|
292
|
+
address: "0x4f604735c1cf31399c6e711d5962b2b3e0225ad3"
|
|
293
|
+
},
|
|
246
294
|
{
|
|
247
295
|
chainId: 42161,
|
|
248
296
|
coinGeckoId: "usd-coin",
|
|
@@ -277,6 +325,22 @@ var tokens = [
|
|
|
277
325
|
],
|
|
278
326
|
address: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8"
|
|
279
327
|
},
|
|
328
|
+
{
|
|
329
|
+
chainId: 42161,
|
|
330
|
+
coinGeckoId: "glo-dollar",
|
|
331
|
+
name: "Glo Dollar",
|
|
332
|
+
symbol: "USDGLO",
|
|
333
|
+
currency: "USD",
|
|
334
|
+
logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDGLO.png",
|
|
335
|
+
decimals: 18,
|
|
336
|
+
tags: [
|
|
337
|
+
"Arbitrum",
|
|
338
|
+
"Stablecoin",
|
|
339
|
+
"USD",
|
|
340
|
+
"featured"
|
|
341
|
+
],
|
|
342
|
+
address: "0x4f604735c1cf31399c6e711d5962b2b3e0225ad3"
|
|
343
|
+
},
|
|
280
344
|
{
|
|
281
345
|
chainId: 1,
|
|
282
346
|
coinGeckoId: "dai",
|
|
@@ -679,6 +743,22 @@ var tokens = [
|
|
|
679
743
|
"featured"
|
|
680
744
|
],
|
|
681
745
|
logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/EURe.svg"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
chainId: 137,
|
|
749
|
+
coinGeckoId: "glo-dollar",
|
|
750
|
+
name: "Glo Dollar",
|
|
751
|
+
symbol: "USDGLO",
|
|
752
|
+
currency: "USD",
|
|
753
|
+
logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDGLO.png",
|
|
754
|
+
decimals: 18,
|
|
755
|
+
tags: [
|
|
756
|
+
"Polygon",
|
|
757
|
+
"Stablecoin",
|
|
758
|
+
"USD",
|
|
759
|
+
"featured"
|
|
760
|
+
],
|
|
761
|
+
address: "0x4f604735c1cf31399c6e711d5962b2b3e0225ad3"
|
|
682
762
|
}
|
|
683
763
|
];
|
|
684
764
|
var featuredTokenlist = {
|
|
@@ -2373,6 +2453,13 @@ var routers = [
|
|
|
2373
2453
|
version: "0.4",
|
|
2374
2454
|
fee: "0.002"
|
|
2375
2455
|
},
|
|
2456
|
+
{
|
|
2457
|
+
chainId: 1,
|
|
2458
|
+
address: "0x42ecf39814824a684529d57e1635d30a90fb9c33",
|
|
2459
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2460
|
+
version: "0.5",
|
|
2461
|
+
fee: "0.002"
|
|
2462
|
+
},
|
|
2376
2463
|
{
|
|
2377
2464
|
chainId: 5,
|
|
2378
2465
|
address: "0x8412D3c11aa605EbaF14D0b6BC7705ab45143Ee8",
|
|
@@ -2408,6 +2495,13 @@ var routers = [
|
|
|
2408
2495
|
version: "0.4",
|
|
2409
2496
|
fee: "0.002"
|
|
2410
2497
|
},
|
|
2498
|
+
{
|
|
2499
|
+
chainId: 10,
|
|
2500
|
+
address: "0x589fce694575064b5637310804587338037d1de9",
|
|
2501
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2502
|
+
version: "0.5",
|
|
2503
|
+
fee: "0.002"
|
|
2504
|
+
},
|
|
2411
2505
|
{
|
|
2412
2506
|
chainId: 42161,
|
|
2413
2507
|
address: "0x334264f4fbb56a84f80df722ba765d210f0cf555",
|
|
@@ -2436,6 +2530,13 @@ var routers = [
|
|
|
2436
2530
|
version: "0.4",
|
|
2437
2531
|
fee: "0.002"
|
|
2438
2532
|
},
|
|
2533
|
+
{
|
|
2534
|
+
chainId: 42161,
|
|
2535
|
+
address: "0x627a23113d5d4b2731002d71a6330802374d71d9",
|
|
2536
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2537
|
+
version: "0.5",
|
|
2538
|
+
fee: "0.002"
|
|
2539
|
+
},
|
|
2439
2540
|
{
|
|
2440
2541
|
chainId: 100,
|
|
2441
2542
|
address: "0x448fabd2d16bc48ecdbe68890414de7a1b6348fd",
|
|
@@ -2464,6 +2565,13 @@ var routers = [
|
|
|
2464
2565
|
version: "0.4",
|
|
2465
2566
|
fee: "0.002"
|
|
2466
2567
|
},
|
|
2568
|
+
{
|
|
2569
|
+
chainId: 100,
|
|
2570
|
+
address: "0xbb8f4e641bbef2fb3e4d73ddf902bee92cee8889",
|
|
2571
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2572
|
+
version: "0.5",
|
|
2573
|
+
fee: "0.002"
|
|
2574
|
+
},
|
|
2467
2575
|
{
|
|
2468
2576
|
chainId: 137,
|
|
2469
2577
|
address: "0x8866DAFa2762346c85098C5b2201fA7CB2dA6100",
|
|
@@ -2485,6 +2593,13 @@ var routers = [
|
|
|
2485
2593
|
version: "0.4",
|
|
2486
2594
|
fee: "0.002"
|
|
2487
2595
|
},
|
|
2596
|
+
{
|
|
2597
|
+
chainId: 137,
|
|
2598
|
+
address: "0x24794f216fd5a90927c47b8799fd73c9a8d083a1",
|
|
2599
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2600
|
+
version: "0.5",
|
|
2601
|
+
fee: "0.002"
|
|
2602
|
+
},
|
|
2488
2603
|
{
|
|
2489
2604
|
chainId: 8453,
|
|
2490
2605
|
address: "0x2BaE9Bb53BCe89c760dBfA55D854D43ab96EE19f",
|
|
@@ -2512,6 +2627,13 @@ var routers = [
|
|
|
2512
2627
|
timestamp: "2024-06-28T10:50:00+00:00",
|
|
2513
2628
|
version: "0.4",
|
|
2514
2629
|
fee: "0.002"
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
chainId: 8453,
|
|
2633
|
+
address: "0x556280bb6f34b4387662e59de18028052cd4d466",
|
|
2634
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2635
|
+
version: "0.5",
|
|
2636
|
+
fee: "0.002"
|
|
2515
2637
|
}
|
|
2516
2638
|
];
|
|
2517
2639
|
var routerlist = {
|
|
@@ -13297,11 +13419,617 @@ var YodlRouterV04 = [
|
|
|
13297
13419
|
}
|
|
13298
13420
|
];
|
|
13299
13421
|
|
|
13422
|
+
var YodlRouterV05 = [
|
|
13423
|
+
{
|
|
13424
|
+
inputs: [
|
|
13425
|
+
],
|
|
13426
|
+
stateMutability: "nonpayable",
|
|
13427
|
+
type: "constructor"
|
|
13428
|
+
},
|
|
13429
|
+
{
|
|
13430
|
+
anonymous: false,
|
|
13431
|
+
inputs: [
|
|
13432
|
+
{
|
|
13433
|
+
indexed: true,
|
|
13434
|
+
internalType: "address",
|
|
13435
|
+
name: "priceFeed0",
|
|
13436
|
+
type: "address"
|
|
13437
|
+
},
|
|
13438
|
+
{
|
|
13439
|
+
indexed: true,
|
|
13440
|
+
internalType: "address",
|
|
13441
|
+
name: "priceFeed1",
|
|
13442
|
+
type: "address"
|
|
13443
|
+
},
|
|
13444
|
+
{
|
|
13445
|
+
indexed: false,
|
|
13446
|
+
internalType: "int256",
|
|
13447
|
+
name: "exchangeRate0",
|
|
13448
|
+
type: "int256"
|
|
13449
|
+
},
|
|
13450
|
+
{
|
|
13451
|
+
indexed: false,
|
|
13452
|
+
internalType: "int256",
|
|
13453
|
+
name: "exchangeRate1",
|
|
13454
|
+
type: "int256"
|
|
13455
|
+
}
|
|
13456
|
+
],
|
|
13457
|
+
name: "Convert",
|
|
13458
|
+
type: "event"
|
|
13459
|
+
},
|
|
13460
|
+
{
|
|
13461
|
+
anonymous: false,
|
|
13462
|
+
inputs: [
|
|
13463
|
+
{
|
|
13464
|
+
indexed: true,
|
|
13465
|
+
internalType: "address",
|
|
13466
|
+
name: "sender",
|
|
13467
|
+
type: "address"
|
|
13468
|
+
},
|
|
13469
|
+
{
|
|
13470
|
+
indexed: true,
|
|
13471
|
+
internalType: "address",
|
|
13472
|
+
name: "receiver",
|
|
13473
|
+
type: "address"
|
|
13474
|
+
},
|
|
13475
|
+
{
|
|
13476
|
+
indexed: false,
|
|
13477
|
+
internalType: "address",
|
|
13478
|
+
name: "token",
|
|
13479
|
+
type: "address"
|
|
13480
|
+
},
|
|
13481
|
+
{
|
|
13482
|
+
indexed: false,
|
|
13483
|
+
internalType: "uint256",
|
|
13484
|
+
name: "amount",
|
|
13485
|
+
type: "uint256"
|
|
13486
|
+
},
|
|
13487
|
+
{
|
|
13488
|
+
indexed: false,
|
|
13489
|
+
internalType: "uint256",
|
|
13490
|
+
name: "fees",
|
|
13491
|
+
type: "uint256"
|
|
13492
|
+
},
|
|
13493
|
+
{
|
|
13494
|
+
indexed: false,
|
|
13495
|
+
internalType: "bytes32",
|
|
13496
|
+
name: "memo",
|
|
13497
|
+
type: "bytes32"
|
|
13498
|
+
}
|
|
13499
|
+
],
|
|
13500
|
+
name: "Yodl",
|
|
13501
|
+
type: "event"
|
|
13502
|
+
},
|
|
13503
|
+
{
|
|
13504
|
+
anonymous: false,
|
|
13505
|
+
inputs: [
|
|
13506
|
+
{
|
|
13507
|
+
indexed: true,
|
|
13508
|
+
internalType: "address",
|
|
13509
|
+
name: "sender",
|
|
13510
|
+
type: "address"
|
|
13511
|
+
},
|
|
13512
|
+
{
|
|
13513
|
+
indexed: true,
|
|
13514
|
+
internalType: "address",
|
|
13515
|
+
name: "receiver",
|
|
13516
|
+
type: "address"
|
|
13517
|
+
},
|
|
13518
|
+
{
|
|
13519
|
+
indexed: true,
|
|
13520
|
+
internalType: "uint256",
|
|
13521
|
+
name: "amount",
|
|
13522
|
+
type: "uint256"
|
|
13523
|
+
}
|
|
13524
|
+
],
|
|
13525
|
+
name: "YodlNativeTokenTransfer",
|
|
13526
|
+
type: "event"
|
|
13527
|
+
},
|
|
13528
|
+
{
|
|
13529
|
+
inputs: [
|
|
13530
|
+
],
|
|
13531
|
+
name: "MAX_EXTRA_FEE_BPS",
|
|
13532
|
+
outputs: [
|
|
13533
|
+
{
|
|
13534
|
+
internalType: "uint256",
|
|
13535
|
+
name: "",
|
|
13536
|
+
type: "uint256"
|
|
13537
|
+
}
|
|
13538
|
+
],
|
|
13539
|
+
stateMutability: "view",
|
|
13540
|
+
type: "function"
|
|
13541
|
+
},
|
|
13542
|
+
{
|
|
13543
|
+
inputs: [
|
|
13544
|
+
],
|
|
13545
|
+
name: "NATIVE_TOKEN",
|
|
13546
|
+
outputs: [
|
|
13547
|
+
{
|
|
13548
|
+
internalType: "address",
|
|
13549
|
+
name: "",
|
|
13550
|
+
type: "address"
|
|
13551
|
+
}
|
|
13552
|
+
],
|
|
13553
|
+
stateMutability: "view",
|
|
13554
|
+
type: "function"
|
|
13555
|
+
},
|
|
13556
|
+
{
|
|
13557
|
+
inputs: [
|
|
13558
|
+
{
|
|
13559
|
+
internalType: "uint256",
|
|
13560
|
+
name: "amount",
|
|
13561
|
+
type: "uint256"
|
|
13562
|
+
},
|
|
13563
|
+
{
|
|
13564
|
+
internalType: "uint256",
|
|
13565
|
+
name: "feeBps",
|
|
13566
|
+
type: "uint256"
|
|
13567
|
+
}
|
|
13568
|
+
],
|
|
13569
|
+
name: "calculateFee",
|
|
13570
|
+
outputs: [
|
|
13571
|
+
{
|
|
13572
|
+
internalType: "uint256",
|
|
13573
|
+
name: "",
|
|
13574
|
+
type: "uint256"
|
|
13575
|
+
}
|
|
13576
|
+
],
|
|
13577
|
+
stateMutability: "pure",
|
|
13578
|
+
type: "function"
|
|
13579
|
+
},
|
|
13580
|
+
{
|
|
13581
|
+
inputs: [
|
|
13582
|
+
{
|
|
13583
|
+
internalType: "address[2]",
|
|
13584
|
+
name: "priceFeeds",
|
|
13585
|
+
type: "address[2]"
|
|
13586
|
+
},
|
|
13587
|
+
{
|
|
13588
|
+
internalType: "uint256",
|
|
13589
|
+
name: "amount",
|
|
13590
|
+
type: "uint256"
|
|
13591
|
+
}
|
|
13592
|
+
],
|
|
13593
|
+
name: "exchangeRate",
|
|
13594
|
+
outputs: [
|
|
13595
|
+
{
|
|
13596
|
+
internalType: "uint256",
|
|
13597
|
+
name: "converted",
|
|
13598
|
+
type: "uint256"
|
|
13599
|
+
},
|
|
13600
|
+
{
|
|
13601
|
+
internalType: "address[2]",
|
|
13602
|
+
name: "priceFeedsUsed",
|
|
13603
|
+
type: "address[2]"
|
|
13604
|
+
},
|
|
13605
|
+
{
|
|
13606
|
+
internalType: "int256[2]",
|
|
13607
|
+
name: "prices",
|
|
13608
|
+
type: "int256[2]"
|
|
13609
|
+
}
|
|
13610
|
+
],
|
|
13611
|
+
stateMutability: "view",
|
|
13612
|
+
type: "function"
|
|
13613
|
+
},
|
|
13614
|
+
{
|
|
13615
|
+
inputs: [
|
|
13616
|
+
{
|
|
13617
|
+
internalType: "address",
|
|
13618
|
+
name: "token",
|
|
13619
|
+
type: "address"
|
|
13620
|
+
}
|
|
13621
|
+
],
|
|
13622
|
+
name: "sweep",
|
|
13623
|
+
outputs: [
|
|
13624
|
+
],
|
|
13625
|
+
stateMutability: "nonpayable",
|
|
13626
|
+
type: "function"
|
|
13627
|
+
},
|
|
13628
|
+
{
|
|
13629
|
+
inputs: [
|
|
13630
|
+
{
|
|
13631
|
+
internalType: "uint256",
|
|
13632
|
+
name: "amount",
|
|
13633
|
+
type: "uint256"
|
|
13634
|
+
},
|
|
13635
|
+
{
|
|
13636
|
+
internalType: "uint256",
|
|
13637
|
+
name: "feeBps",
|
|
13638
|
+
type: "uint256"
|
|
13639
|
+
},
|
|
13640
|
+
{
|
|
13641
|
+
internalType: "address",
|
|
13642
|
+
name: "token",
|
|
13643
|
+
type: "address"
|
|
13644
|
+
},
|
|
13645
|
+
{
|
|
13646
|
+
internalType: "address",
|
|
13647
|
+
name: "from",
|
|
13648
|
+
type: "address"
|
|
13649
|
+
},
|
|
13650
|
+
{
|
|
13651
|
+
internalType: "address",
|
|
13652
|
+
name: "to",
|
|
13653
|
+
type: "address"
|
|
13654
|
+
}
|
|
13655
|
+
],
|
|
13656
|
+
name: "transferFee",
|
|
13657
|
+
outputs: [
|
|
13658
|
+
{
|
|
13659
|
+
internalType: "uint256",
|
|
13660
|
+
name: "",
|
|
13661
|
+
type: "uint256"
|
|
13662
|
+
}
|
|
13663
|
+
],
|
|
13664
|
+
stateMutability: "nonpayable",
|
|
13665
|
+
type: "function"
|
|
13666
|
+
},
|
|
13667
|
+
{
|
|
13668
|
+
inputs: [
|
|
13669
|
+
],
|
|
13670
|
+
name: "uniswapRouter",
|
|
13671
|
+
outputs: [
|
|
13672
|
+
{
|
|
13673
|
+
internalType: "contract ISwapRouter02",
|
|
13674
|
+
name: "",
|
|
13675
|
+
type: "address"
|
|
13676
|
+
}
|
|
13677
|
+
],
|
|
13678
|
+
stateMutability: "view",
|
|
13679
|
+
type: "function"
|
|
13680
|
+
},
|
|
13681
|
+
{
|
|
13682
|
+
inputs: [
|
|
13683
|
+
],
|
|
13684
|
+
name: "version",
|
|
13685
|
+
outputs: [
|
|
13686
|
+
{
|
|
13687
|
+
internalType: "string",
|
|
13688
|
+
name: "",
|
|
13689
|
+
type: "string"
|
|
13690
|
+
}
|
|
13691
|
+
],
|
|
13692
|
+
stateMutability: "view",
|
|
13693
|
+
type: "function"
|
|
13694
|
+
},
|
|
13695
|
+
{
|
|
13696
|
+
inputs: [
|
|
13697
|
+
],
|
|
13698
|
+
name: "wrappedNativeToken",
|
|
13699
|
+
outputs: [
|
|
13700
|
+
{
|
|
13701
|
+
internalType: "contract IWETH9",
|
|
13702
|
+
name: "",
|
|
13703
|
+
type: "address"
|
|
13704
|
+
}
|
|
13705
|
+
],
|
|
13706
|
+
stateMutability: "view",
|
|
13707
|
+
type: "function"
|
|
13708
|
+
},
|
|
13709
|
+
{
|
|
13710
|
+
inputs: [
|
|
13711
|
+
],
|
|
13712
|
+
name: "yodlFeeBps",
|
|
13713
|
+
outputs: [
|
|
13714
|
+
{
|
|
13715
|
+
internalType: "uint256",
|
|
13716
|
+
name: "",
|
|
13717
|
+
type: "uint256"
|
|
13718
|
+
}
|
|
13719
|
+
],
|
|
13720
|
+
stateMutability: "view",
|
|
13721
|
+
type: "function"
|
|
13722
|
+
},
|
|
13723
|
+
{
|
|
13724
|
+
inputs: [
|
|
13725
|
+
],
|
|
13726
|
+
name: "yodlFeeTreasury",
|
|
13727
|
+
outputs: [
|
|
13728
|
+
{
|
|
13729
|
+
internalType: "address",
|
|
13730
|
+
name: "",
|
|
13731
|
+
type: "address"
|
|
13732
|
+
}
|
|
13733
|
+
],
|
|
13734
|
+
stateMutability: "view",
|
|
13735
|
+
type: "function"
|
|
13736
|
+
},
|
|
13737
|
+
{
|
|
13738
|
+
inputs: [
|
|
13739
|
+
{
|
|
13740
|
+
components: [
|
|
13741
|
+
{
|
|
13742
|
+
internalType: "address",
|
|
13743
|
+
name: "sender",
|
|
13744
|
+
type: "address"
|
|
13745
|
+
},
|
|
13746
|
+
{
|
|
13747
|
+
internalType: "address",
|
|
13748
|
+
name: "receiver",
|
|
13749
|
+
type: "address"
|
|
13750
|
+
},
|
|
13751
|
+
{
|
|
13752
|
+
internalType: "uint256",
|
|
13753
|
+
name: "amountIn",
|
|
13754
|
+
type: "uint256"
|
|
13755
|
+
},
|
|
13756
|
+
{
|
|
13757
|
+
internalType: "uint256",
|
|
13758
|
+
name: "amountOut",
|
|
13759
|
+
type: "uint256"
|
|
13760
|
+
},
|
|
13761
|
+
{
|
|
13762
|
+
internalType: "bytes32",
|
|
13763
|
+
name: "memo",
|
|
13764
|
+
type: "bytes32"
|
|
13765
|
+
},
|
|
13766
|
+
{
|
|
13767
|
+
internalType: "address[9]",
|
|
13768
|
+
name: "route",
|
|
13769
|
+
type: "address[9]"
|
|
13770
|
+
},
|
|
13771
|
+
{
|
|
13772
|
+
internalType: "uint256[3][4]",
|
|
13773
|
+
name: "swapParams",
|
|
13774
|
+
type: "uint256[3][4]"
|
|
13775
|
+
},
|
|
13776
|
+
{
|
|
13777
|
+
internalType: "address[4]",
|
|
13778
|
+
name: "factoryAddresses",
|
|
13779
|
+
type: "address[4]"
|
|
13780
|
+
},
|
|
13781
|
+
{
|
|
13782
|
+
internalType: "address[2]",
|
|
13783
|
+
name: "priceFeeds",
|
|
13784
|
+
type: "address[2]"
|
|
13785
|
+
},
|
|
13786
|
+
{
|
|
13787
|
+
internalType: "address",
|
|
13788
|
+
name: "extraFeeReceiver",
|
|
13789
|
+
type: "address"
|
|
13790
|
+
},
|
|
13791
|
+
{
|
|
13792
|
+
internalType: "uint256",
|
|
13793
|
+
name: "extraFeeBps",
|
|
13794
|
+
type: "uint256"
|
|
13795
|
+
},
|
|
13796
|
+
{
|
|
13797
|
+
internalType: "uint256",
|
|
13798
|
+
name: "yd",
|
|
13799
|
+
type: "uint256"
|
|
13800
|
+
},
|
|
13801
|
+
{
|
|
13802
|
+
components: [
|
|
13803
|
+
{
|
|
13804
|
+
internalType: "address",
|
|
13805
|
+
name: "yApp",
|
|
13806
|
+
type: "address"
|
|
13807
|
+
},
|
|
13808
|
+
{
|
|
13809
|
+
internalType: "uint256",
|
|
13810
|
+
name: "sessionId",
|
|
13811
|
+
type: "uint256"
|
|
13812
|
+
},
|
|
13813
|
+
{
|
|
13814
|
+
internalType: "bytes[]",
|
|
13815
|
+
name: "payload",
|
|
13816
|
+
type: "bytes[]"
|
|
13817
|
+
}
|
|
13818
|
+
],
|
|
13819
|
+
internalType: "struct AbstractYodlRouter.YApp[]",
|
|
13820
|
+
name: "yAppList",
|
|
13821
|
+
type: "tuple[]"
|
|
13822
|
+
}
|
|
13823
|
+
],
|
|
13824
|
+
internalType: "struct YodlCurveRouter.YodlCurveParams",
|
|
13825
|
+
name: "params",
|
|
13826
|
+
type: "tuple"
|
|
13827
|
+
}
|
|
13828
|
+
],
|
|
13829
|
+
name: "yodlWithCurve",
|
|
13830
|
+
outputs: [
|
|
13831
|
+
{
|
|
13832
|
+
internalType: "uint256",
|
|
13833
|
+
name: "",
|
|
13834
|
+
type: "uint256"
|
|
13835
|
+
}
|
|
13836
|
+
],
|
|
13837
|
+
stateMutability: "payable",
|
|
13838
|
+
type: "function"
|
|
13839
|
+
},
|
|
13840
|
+
{
|
|
13841
|
+
inputs: [
|
|
13842
|
+
{
|
|
13843
|
+
components: [
|
|
13844
|
+
{
|
|
13845
|
+
internalType: "bytes32",
|
|
13846
|
+
name: "memo",
|
|
13847
|
+
type: "bytes32"
|
|
13848
|
+
},
|
|
13849
|
+
{
|
|
13850
|
+
internalType: "uint256",
|
|
13851
|
+
name: "amount",
|
|
13852
|
+
type: "uint256"
|
|
13853
|
+
},
|
|
13854
|
+
{
|
|
13855
|
+
internalType: "address[2]",
|
|
13856
|
+
name: "priceFeeds",
|
|
13857
|
+
type: "address[2]"
|
|
13858
|
+
},
|
|
13859
|
+
{
|
|
13860
|
+
internalType: "address",
|
|
13861
|
+
name: "token",
|
|
13862
|
+
type: "address"
|
|
13863
|
+
},
|
|
13864
|
+
{
|
|
13865
|
+
internalType: "address",
|
|
13866
|
+
name: "receiver",
|
|
13867
|
+
type: "address"
|
|
13868
|
+
},
|
|
13869
|
+
{
|
|
13870
|
+
internalType: "address",
|
|
13871
|
+
name: "extraFeeReceiver",
|
|
13872
|
+
type: "address"
|
|
13873
|
+
},
|
|
13874
|
+
{
|
|
13875
|
+
internalType: "uint256",
|
|
13876
|
+
name: "extraFeeBps",
|
|
13877
|
+
type: "uint256"
|
|
13878
|
+
},
|
|
13879
|
+
{
|
|
13880
|
+
internalType: "uint256",
|
|
13881
|
+
name: "yd",
|
|
13882
|
+
type: "uint256"
|
|
13883
|
+
},
|
|
13884
|
+
{
|
|
13885
|
+
components: [
|
|
13886
|
+
{
|
|
13887
|
+
internalType: "address",
|
|
13888
|
+
name: "yApp",
|
|
13889
|
+
type: "address"
|
|
13890
|
+
},
|
|
13891
|
+
{
|
|
13892
|
+
internalType: "uint256",
|
|
13893
|
+
name: "sessionId",
|
|
13894
|
+
type: "uint256"
|
|
13895
|
+
},
|
|
13896
|
+
{
|
|
13897
|
+
internalType: "bytes[]",
|
|
13898
|
+
name: "payload",
|
|
13899
|
+
type: "bytes[]"
|
|
13900
|
+
}
|
|
13901
|
+
],
|
|
13902
|
+
internalType: "struct AbstractYodlRouter.YApp[]",
|
|
13903
|
+
name: "yAppList",
|
|
13904
|
+
type: "tuple[]"
|
|
13905
|
+
}
|
|
13906
|
+
],
|
|
13907
|
+
internalType: "struct YodlTransferRouter.YodlTransferParams",
|
|
13908
|
+
name: "params",
|
|
13909
|
+
type: "tuple"
|
|
13910
|
+
}
|
|
13911
|
+
],
|
|
13912
|
+
name: "yodlWithToken",
|
|
13913
|
+
outputs: [
|
|
13914
|
+
{
|
|
13915
|
+
internalType: "uint256",
|
|
13916
|
+
name: "",
|
|
13917
|
+
type: "uint256"
|
|
13918
|
+
}
|
|
13919
|
+
],
|
|
13920
|
+
stateMutability: "payable",
|
|
13921
|
+
type: "function"
|
|
13922
|
+
},
|
|
13923
|
+
{
|
|
13924
|
+
inputs: [
|
|
13925
|
+
{
|
|
13926
|
+
components: [
|
|
13927
|
+
{
|
|
13928
|
+
internalType: "address",
|
|
13929
|
+
name: "sender",
|
|
13930
|
+
type: "address"
|
|
13931
|
+
},
|
|
13932
|
+
{
|
|
13933
|
+
internalType: "address",
|
|
13934
|
+
name: "receiver",
|
|
13935
|
+
type: "address"
|
|
13936
|
+
},
|
|
13937
|
+
{
|
|
13938
|
+
internalType: "uint256",
|
|
13939
|
+
name: "amountIn",
|
|
13940
|
+
type: "uint256"
|
|
13941
|
+
},
|
|
13942
|
+
{
|
|
13943
|
+
internalType: "uint256",
|
|
13944
|
+
name: "amountOut",
|
|
13945
|
+
type: "uint256"
|
|
13946
|
+
},
|
|
13947
|
+
{
|
|
13948
|
+
internalType: "bytes32",
|
|
13949
|
+
name: "memo",
|
|
13950
|
+
type: "bytes32"
|
|
13951
|
+
},
|
|
13952
|
+
{
|
|
13953
|
+
internalType: "bytes",
|
|
13954
|
+
name: "path",
|
|
13955
|
+
type: "bytes"
|
|
13956
|
+
},
|
|
13957
|
+
{
|
|
13958
|
+
internalType: "address[2]",
|
|
13959
|
+
name: "priceFeeds",
|
|
13960
|
+
type: "address[2]"
|
|
13961
|
+
},
|
|
13962
|
+
{
|
|
13963
|
+
internalType: "address",
|
|
13964
|
+
name: "extraFeeReceiver",
|
|
13965
|
+
type: "address"
|
|
13966
|
+
},
|
|
13967
|
+
{
|
|
13968
|
+
internalType: "uint256",
|
|
13969
|
+
name: "extraFeeBps",
|
|
13970
|
+
type: "uint256"
|
|
13971
|
+
},
|
|
13972
|
+
{
|
|
13973
|
+
internalType: "enum YodlUniswapRouter.SwapType",
|
|
13974
|
+
name: "swapType",
|
|
13975
|
+
type: "uint8"
|
|
13976
|
+
},
|
|
13977
|
+
{
|
|
13978
|
+
internalType: "uint256",
|
|
13979
|
+
name: "yd",
|
|
13980
|
+
type: "uint256"
|
|
13981
|
+
},
|
|
13982
|
+
{
|
|
13983
|
+
components: [
|
|
13984
|
+
{
|
|
13985
|
+
internalType: "address",
|
|
13986
|
+
name: "yApp",
|
|
13987
|
+
type: "address"
|
|
13988
|
+
},
|
|
13989
|
+
{
|
|
13990
|
+
internalType: "uint256",
|
|
13991
|
+
name: "sessionId",
|
|
13992
|
+
type: "uint256"
|
|
13993
|
+
},
|
|
13994
|
+
{
|
|
13995
|
+
internalType: "bytes[]",
|
|
13996
|
+
name: "payload",
|
|
13997
|
+
type: "bytes[]"
|
|
13998
|
+
}
|
|
13999
|
+
],
|
|
14000
|
+
internalType: "struct AbstractYodlRouter.YApp[]",
|
|
14001
|
+
name: "yAppList",
|
|
14002
|
+
type: "tuple[]"
|
|
14003
|
+
}
|
|
14004
|
+
],
|
|
14005
|
+
internalType: "struct YodlUniswapRouter.YodlUniswapParams",
|
|
14006
|
+
name: "params",
|
|
14007
|
+
type: "tuple"
|
|
14008
|
+
}
|
|
14009
|
+
],
|
|
14010
|
+
name: "yodlWithUniswap",
|
|
14011
|
+
outputs: [
|
|
14012
|
+
{
|
|
14013
|
+
internalType: "uint256",
|
|
14014
|
+
name: "",
|
|
14015
|
+
type: "uint256"
|
|
14016
|
+
}
|
|
14017
|
+
],
|
|
14018
|
+
stateMutability: "payable",
|
|
14019
|
+
type: "function"
|
|
14020
|
+
},
|
|
14021
|
+
{
|
|
14022
|
+
stateMutability: "payable",
|
|
14023
|
+
type: "receive"
|
|
14024
|
+
}
|
|
14025
|
+
];
|
|
14026
|
+
|
|
13300
14027
|
var YODL_ROUTER_ABIS = {
|
|
13301
14028
|
"0.1": YodlRouterV01,
|
|
13302
14029
|
"0.2": YodlRouterV02,
|
|
13303
14030
|
"0.3": YodlRouterV03,
|
|
13304
14031
|
"0.4": YodlRouterV04,
|
|
14032
|
+
"0.5": YodlRouterV05,
|
|
13305
14033
|
"test": YodlRouterV03
|
|
13306
14034
|
};
|
|
13307
14035
|
var CURVE_ROUTER_ABI = CurveRouterV13Abi;
|