@yodlpay/tokenlists 0.4.8 → 0.5.0
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/tokenlists.cjs.development.js +648 -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 +648 -0
- package/dist/tokenlists.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -2373,6 +2373,13 @@ var routers = [
|
|
|
2373
2373
|
version: "0.4",
|
|
2374
2374
|
fee: "0.002"
|
|
2375
2375
|
},
|
|
2376
|
+
{
|
|
2377
|
+
chainId: 1,
|
|
2378
|
+
address: "0x42ecf39814824a684529d57e1635d30a90fb9c33",
|
|
2379
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2380
|
+
version: "0.5",
|
|
2381
|
+
fee: "0.002"
|
|
2382
|
+
},
|
|
2376
2383
|
{
|
|
2377
2384
|
chainId: 5,
|
|
2378
2385
|
address: "0x8412D3c11aa605EbaF14D0b6BC7705ab45143Ee8",
|
|
@@ -2408,6 +2415,13 @@ var routers = [
|
|
|
2408
2415
|
version: "0.4",
|
|
2409
2416
|
fee: "0.002"
|
|
2410
2417
|
},
|
|
2418
|
+
{
|
|
2419
|
+
chainId: 10,
|
|
2420
|
+
address: "0x589fce694575064b5637310804587338037d1de9",
|
|
2421
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2422
|
+
version: "0.5",
|
|
2423
|
+
fee: "0.002"
|
|
2424
|
+
},
|
|
2411
2425
|
{
|
|
2412
2426
|
chainId: 42161,
|
|
2413
2427
|
address: "0x334264f4fbb56a84f80df722ba765d210f0cf555",
|
|
@@ -2436,6 +2450,13 @@ var routers = [
|
|
|
2436
2450
|
version: "0.4",
|
|
2437
2451
|
fee: "0.002"
|
|
2438
2452
|
},
|
|
2453
|
+
{
|
|
2454
|
+
chainId: 42161,
|
|
2455
|
+
address: "0x627a23113d5d4b2731002d71a6330802374d71d9",
|
|
2456
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2457
|
+
version: "0.5",
|
|
2458
|
+
fee: "0.002"
|
|
2459
|
+
},
|
|
2439
2460
|
{
|
|
2440
2461
|
chainId: 100,
|
|
2441
2462
|
address: "0x448fabd2d16bc48ecdbe68890414de7a1b6348fd",
|
|
@@ -2464,6 +2485,13 @@ var routers = [
|
|
|
2464
2485
|
version: "0.4",
|
|
2465
2486
|
fee: "0.002"
|
|
2466
2487
|
},
|
|
2488
|
+
{
|
|
2489
|
+
chainId: 100,
|
|
2490
|
+
address: "0xbb8f4e641bbef2fb3e4d73ddf902bee92cee8889",
|
|
2491
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2492
|
+
version: "0.5",
|
|
2493
|
+
fee: "0.002"
|
|
2494
|
+
},
|
|
2467
2495
|
{
|
|
2468
2496
|
chainId: 137,
|
|
2469
2497
|
address: "0x8866DAFa2762346c85098C5b2201fA7CB2dA6100",
|
|
@@ -2485,6 +2513,13 @@ var routers = [
|
|
|
2485
2513
|
version: "0.4",
|
|
2486
2514
|
fee: "0.002"
|
|
2487
2515
|
},
|
|
2516
|
+
{
|
|
2517
|
+
chainId: 137,
|
|
2518
|
+
address: "0x24794f216fd5a90927c47b8799fd73c9a8d083a1",
|
|
2519
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2520
|
+
version: "0.5",
|
|
2521
|
+
fee: "0.002"
|
|
2522
|
+
},
|
|
2488
2523
|
{
|
|
2489
2524
|
chainId: 8453,
|
|
2490
2525
|
address: "0x2BaE9Bb53BCe89c760dBfA55D854D43ab96EE19f",
|
|
@@ -2512,6 +2547,13 @@ var routers = [
|
|
|
2512
2547
|
timestamp: "2024-06-28T10:50:00+00:00",
|
|
2513
2548
|
version: "0.4",
|
|
2514
2549
|
fee: "0.002"
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
chainId: 8453,
|
|
2553
|
+
address: "0x556280bb6f34b4387662e59de18028052cd4d466",
|
|
2554
|
+
timestamp: "2024-07-17T00:00:00+00:00",
|
|
2555
|
+
version: "0.5",
|
|
2556
|
+
fee: "0.002"
|
|
2515
2557
|
}
|
|
2516
2558
|
];
|
|
2517
2559
|
var routerlist = {
|
|
@@ -13297,11 +13339,617 @@ var YodlRouterV04 = [
|
|
|
13297
13339
|
}
|
|
13298
13340
|
];
|
|
13299
13341
|
|
|
13342
|
+
var YodlRouterV05 = [
|
|
13343
|
+
{
|
|
13344
|
+
inputs: [
|
|
13345
|
+
],
|
|
13346
|
+
stateMutability: "nonpayable",
|
|
13347
|
+
type: "constructor"
|
|
13348
|
+
},
|
|
13349
|
+
{
|
|
13350
|
+
anonymous: false,
|
|
13351
|
+
inputs: [
|
|
13352
|
+
{
|
|
13353
|
+
indexed: true,
|
|
13354
|
+
internalType: "address",
|
|
13355
|
+
name: "priceFeed0",
|
|
13356
|
+
type: "address"
|
|
13357
|
+
},
|
|
13358
|
+
{
|
|
13359
|
+
indexed: true,
|
|
13360
|
+
internalType: "address",
|
|
13361
|
+
name: "priceFeed1",
|
|
13362
|
+
type: "address"
|
|
13363
|
+
},
|
|
13364
|
+
{
|
|
13365
|
+
indexed: false,
|
|
13366
|
+
internalType: "int256",
|
|
13367
|
+
name: "exchangeRate0",
|
|
13368
|
+
type: "int256"
|
|
13369
|
+
},
|
|
13370
|
+
{
|
|
13371
|
+
indexed: false,
|
|
13372
|
+
internalType: "int256",
|
|
13373
|
+
name: "exchangeRate1",
|
|
13374
|
+
type: "int256"
|
|
13375
|
+
}
|
|
13376
|
+
],
|
|
13377
|
+
name: "Convert",
|
|
13378
|
+
type: "event"
|
|
13379
|
+
},
|
|
13380
|
+
{
|
|
13381
|
+
anonymous: false,
|
|
13382
|
+
inputs: [
|
|
13383
|
+
{
|
|
13384
|
+
indexed: true,
|
|
13385
|
+
internalType: "address",
|
|
13386
|
+
name: "sender",
|
|
13387
|
+
type: "address"
|
|
13388
|
+
},
|
|
13389
|
+
{
|
|
13390
|
+
indexed: true,
|
|
13391
|
+
internalType: "address",
|
|
13392
|
+
name: "receiver",
|
|
13393
|
+
type: "address"
|
|
13394
|
+
},
|
|
13395
|
+
{
|
|
13396
|
+
indexed: false,
|
|
13397
|
+
internalType: "address",
|
|
13398
|
+
name: "token",
|
|
13399
|
+
type: "address"
|
|
13400
|
+
},
|
|
13401
|
+
{
|
|
13402
|
+
indexed: false,
|
|
13403
|
+
internalType: "uint256",
|
|
13404
|
+
name: "amount",
|
|
13405
|
+
type: "uint256"
|
|
13406
|
+
},
|
|
13407
|
+
{
|
|
13408
|
+
indexed: false,
|
|
13409
|
+
internalType: "uint256",
|
|
13410
|
+
name: "fees",
|
|
13411
|
+
type: "uint256"
|
|
13412
|
+
},
|
|
13413
|
+
{
|
|
13414
|
+
indexed: false,
|
|
13415
|
+
internalType: "bytes32",
|
|
13416
|
+
name: "memo",
|
|
13417
|
+
type: "bytes32"
|
|
13418
|
+
}
|
|
13419
|
+
],
|
|
13420
|
+
name: "Yodl",
|
|
13421
|
+
type: "event"
|
|
13422
|
+
},
|
|
13423
|
+
{
|
|
13424
|
+
anonymous: false,
|
|
13425
|
+
inputs: [
|
|
13426
|
+
{
|
|
13427
|
+
indexed: true,
|
|
13428
|
+
internalType: "address",
|
|
13429
|
+
name: "sender",
|
|
13430
|
+
type: "address"
|
|
13431
|
+
},
|
|
13432
|
+
{
|
|
13433
|
+
indexed: true,
|
|
13434
|
+
internalType: "address",
|
|
13435
|
+
name: "receiver",
|
|
13436
|
+
type: "address"
|
|
13437
|
+
},
|
|
13438
|
+
{
|
|
13439
|
+
indexed: true,
|
|
13440
|
+
internalType: "uint256",
|
|
13441
|
+
name: "amount",
|
|
13442
|
+
type: "uint256"
|
|
13443
|
+
}
|
|
13444
|
+
],
|
|
13445
|
+
name: "YodlNativeTokenTransfer",
|
|
13446
|
+
type: "event"
|
|
13447
|
+
},
|
|
13448
|
+
{
|
|
13449
|
+
inputs: [
|
|
13450
|
+
],
|
|
13451
|
+
name: "MAX_EXTRA_FEE_BPS",
|
|
13452
|
+
outputs: [
|
|
13453
|
+
{
|
|
13454
|
+
internalType: "uint256",
|
|
13455
|
+
name: "",
|
|
13456
|
+
type: "uint256"
|
|
13457
|
+
}
|
|
13458
|
+
],
|
|
13459
|
+
stateMutability: "view",
|
|
13460
|
+
type: "function"
|
|
13461
|
+
},
|
|
13462
|
+
{
|
|
13463
|
+
inputs: [
|
|
13464
|
+
],
|
|
13465
|
+
name: "NATIVE_TOKEN",
|
|
13466
|
+
outputs: [
|
|
13467
|
+
{
|
|
13468
|
+
internalType: "address",
|
|
13469
|
+
name: "",
|
|
13470
|
+
type: "address"
|
|
13471
|
+
}
|
|
13472
|
+
],
|
|
13473
|
+
stateMutability: "view",
|
|
13474
|
+
type: "function"
|
|
13475
|
+
},
|
|
13476
|
+
{
|
|
13477
|
+
inputs: [
|
|
13478
|
+
{
|
|
13479
|
+
internalType: "uint256",
|
|
13480
|
+
name: "amount",
|
|
13481
|
+
type: "uint256"
|
|
13482
|
+
},
|
|
13483
|
+
{
|
|
13484
|
+
internalType: "uint256",
|
|
13485
|
+
name: "feeBps",
|
|
13486
|
+
type: "uint256"
|
|
13487
|
+
}
|
|
13488
|
+
],
|
|
13489
|
+
name: "calculateFee",
|
|
13490
|
+
outputs: [
|
|
13491
|
+
{
|
|
13492
|
+
internalType: "uint256",
|
|
13493
|
+
name: "",
|
|
13494
|
+
type: "uint256"
|
|
13495
|
+
}
|
|
13496
|
+
],
|
|
13497
|
+
stateMutability: "pure",
|
|
13498
|
+
type: "function"
|
|
13499
|
+
},
|
|
13500
|
+
{
|
|
13501
|
+
inputs: [
|
|
13502
|
+
{
|
|
13503
|
+
internalType: "address[2]",
|
|
13504
|
+
name: "priceFeeds",
|
|
13505
|
+
type: "address[2]"
|
|
13506
|
+
},
|
|
13507
|
+
{
|
|
13508
|
+
internalType: "uint256",
|
|
13509
|
+
name: "amount",
|
|
13510
|
+
type: "uint256"
|
|
13511
|
+
}
|
|
13512
|
+
],
|
|
13513
|
+
name: "exchangeRate",
|
|
13514
|
+
outputs: [
|
|
13515
|
+
{
|
|
13516
|
+
internalType: "uint256",
|
|
13517
|
+
name: "converted",
|
|
13518
|
+
type: "uint256"
|
|
13519
|
+
},
|
|
13520
|
+
{
|
|
13521
|
+
internalType: "address[2]",
|
|
13522
|
+
name: "priceFeedsUsed",
|
|
13523
|
+
type: "address[2]"
|
|
13524
|
+
},
|
|
13525
|
+
{
|
|
13526
|
+
internalType: "int256[2]",
|
|
13527
|
+
name: "prices",
|
|
13528
|
+
type: "int256[2]"
|
|
13529
|
+
}
|
|
13530
|
+
],
|
|
13531
|
+
stateMutability: "view",
|
|
13532
|
+
type: "function"
|
|
13533
|
+
},
|
|
13534
|
+
{
|
|
13535
|
+
inputs: [
|
|
13536
|
+
{
|
|
13537
|
+
internalType: "address",
|
|
13538
|
+
name: "token",
|
|
13539
|
+
type: "address"
|
|
13540
|
+
}
|
|
13541
|
+
],
|
|
13542
|
+
name: "sweep",
|
|
13543
|
+
outputs: [
|
|
13544
|
+
],
|
|
13545
|
+
stateMutability: "nonpayable",
|
|
13546
|
+
type: "function"
|
|
13547
|
+
},
|
|
13548
|
+
{
|
|
13549
|
+
inputs: [
|
|
13550
|
+
{
|
|
13551
|
+
internalType: "uint256",
|
|
13552
|
+
name: "amount",
|
|
13553
|
+
type: "uint256"
|
|
13554
|
+
},
|
|
13555
|
+
{
|
|
13556
|
+
internalType: "uint256",
|
|
13557
|
+
name: "feeBps",
|
|
13558
|
+
type: "uint256"
|
|
13559
|
+
},
|
|
13560
|
+
{
|
|
13561
|
+
internalType: "address",
|
|
13562
|
+
name: "token",
|
|
13563
|
+
type: "address"
|
|
13564
|
+
},
|
|
13565
|
+
{
|
|
13566
|
+
internalType: "address",
|
|
13567
|
+
name: "from",
|
|
13568
|
+
type: "address"
|
|
13569
|
+
},
|
|
13570
|
+
{
|
|
13571
|
+
internalType: "address",
|
|
13572
|
+
name: "to",
|
|
13573
|
+
type: "address"
|
|
13574
|
+
}
|
|
13575
|
+
],
|
|
13576
|
+
name: "transferFee",
|
|
13577
|
+
outputs: [
|
|
13578
|
+
{
|
|
13579
|
+
internalType: "uint256",
|
|
13580
|
+
name: "",
|
|
13581
|
+
type: "uint256"
|
|
13582
|
+
}
|
|
13583
|
+
],
|
|
13584
|
+
stateMutability: "nonpayable",
|
|
13585
|
+
type: "function"
|
|
13586
|
+
},
|
|
13587
|
+
{
|
|
13588
|
+
inputs: [
|
|
13589
|
+
],
|
|
13590
|
+
name: "uniswapRouter",
|
|
13591
|
+
outputs: [
|
|
13592
|
+
{
|
|
13593
|
+
internalType: "contract ISwapRouter02",
|
|
13594
|
+
name: "",
|
|
13595
|
+
type: "address"
|
|
13596
|
+
}
|
|
13597
|
+
],
|
|
13598
|
+
stateMutability: "view",
|
|
13599
|
+
type: "function"
|
|
13600
|
+
},
|
|
13601
|
+
{
|
|
13602
|
+
inputs: [
|
|
13603
|
+
],
|
|
13604
|
+
name: "version",
|
|
13605
|
+
outputs: [
|
|
13606
|
+
{
|
|
13607
|
+
internalType: "string",
|
|
13608
|
+
name: "",
|
|
13609
|
+
type: "string"
|
|
13610
|
+
}
|
|
13611
|
+
],
|
|
13612
|
+
stateMutability: "view",
|
|
13613
|
+
type: "function"
|
|
13614
|
+
},
|
|
13615
|
+
{
|
|
13616
|
+
inputs: [
|
|
13617
|
+
],
|
|
13618
|
+
name: "wrappedNativeToken",
|
|
13619
|
+
outputs: [
|
|
13620
|
+
{
|
|
13621
|
+
internalType: "contract IWETH9",
|
|
13622
|
+
name: "",
|
|
13623
|
+
type: "address"
|
|
13624
|
+
}
|
|
13625
|
+
],
|
|
13626
|
+
stateMutability: "view",
|
|
13627
|
+
type: "function"
|
|
13628
|
+
},
|
|
13629
|
+
{
|
|
13630
|
+
inputs: [
|
|
13631
|
+
],
|
|
13632
|
+
name: "yodlFeeBps",
|
|
13633
|
+
outputs: [
|
|
13634
|
+
{
|
|
13635
|
+
internalType: "uint256",
|
|
13636
|
+
name: "",
|
|
13637
|
+
type: "uint256"
|
|
13638
|
+
}
|
|
13639
|
+
],
|
|
13640
|
+
stateMutability: "view",
|
|
13641
|
+
type: "function"
|
|
13642
|
+
},
|
|
13643
|
+
{
|
|
13644
|
+
inputs: [
|
|
13645
|
+
],
|
|
13646
|
+
name: "yodlFeeTreasury",
|
|
13647
|
+
outputs: [
|
|
13648
|
+
{
|
|
13649
|
+
internalType: "address",
|
|
13650
|
+
name: "",
|
|
13651
|
+
type: "address"
|
|
13652
|
+
}
|
|
13653
|
+
],
|
|
13654
|
+
stateMutability: "view",
|
|
13655
|
+
type: "function"
|
|
13656
|
+
},
|
|
13657
|
+
{
|
|
13658
|
+
inputs: [
|
|
13659
|
+
{
|
|
13660
|
+
components: [
|
|
13661
|
+
{
|
|
13662
|
+
internalType: "address",
|
|
13663
|
+
name: "sender",
|
|
13664
|
+
type: "address"
|
|
13665
|
+
},
|
|
13666
|
+
{
|
|
13667
|
+
internalType: "address",
|
|
13668
|
+
name: "receiver",
|
|
13669
|
+
type: "address"
|
|
13670
|
+
},
|
|
13671
|
+
{
|
|
13672
|
+
internalType: "uint256",
|
|
13673
|
+
name: "amountIn",
|
|
13674
|
+
type: "uint256"
|
|
13675
|
+
},
|
|
13676
|
+
{
|
|
13677
|
+
internalType: "uint256",
|
|
13678
|
+
name: "amountOut",
|
|
13679
|
+
type: "uint256"
|
|
13680
|
+
},
|
|
13681
|
+
{
|
|
13682
|
+
internalType: "bytes32",
|
|
13683
|
+
name: "memo",
|
|
13684
|
+
type: "bytes32"
|
|
13685
|
+
},
|
|
13686
|
+
{
|
|
13687
|
+
internalType: "address[9]",
|
|
13688
|
+
name: "route",
|
|
13689
|
+
type: "address[9]"
|
|
13690
|
+
},
|
|
13691
|
+
{
|
|
13692
|
+
internalType: "uint256[3][4]",
|
|
13693
|
+
name: "swapParams",
|
|
13694
|
+
type: "uint256[3][4]"
|
|
13695
|
+
},
|
|
13696
|
+
{
|
|
13697
|
+
internalType: "address[4]",
|
|
13698
|
+
name: "factoryAddresses",
|
|
13699
|
+
type: "address[4]"
|
|
13700
|
+
},
|
|
13701
|
+
{
|
|
13702
|
+
internalType: "address[2]",
|
|
13703
|
+
name: "priceFeeds",
|
|
13704
|
+
type: "address[2]"
|
|
13705
|
+
},
|
|
13706
|
+
{
|
|
13707
|
+
internalType: "address",
|
|
13708
|
+
name: "extraFeeReceiver",
|
|
13709
|
+
type: "address"
|
|
13710
|
+
},
|
|
13711
|
+
{
|
|
13712
|
+
internalType: "uint256",
|
|
13713
|
+
name: "extraFeeBps",
|
|
13714
|
+
type: "uint256"
|
|
13715
|
+
},
|
|
13716
|
+
{
|
|
13717
|
+
internalType: "uint256",
|
|
13718
|
+
name: "yd",
|
|
13719
|
+
type: "uint256"
|
|
13720
|
+
},
|
|
13721
|
+
{
|
|
13722
|
+
components: [
|
|
13723
|
+
{
|
|
13724
|
+
internalType: "address",
|
|
13725
|
+
name: "yApp",
|
|
13726
|
+
type: "address"
|
|
13727
|
+
},
|
|
13728
|
+
{
|
|
13729
|
+
internalType: "uint256",
|
|
13730
|
+
name: "sessionId",
|
|
13731
|
+
type: "uint256"
|
|
13732
|
+
},
|
|
13733
|
+
{
|
|
13734
|
+
internalType: "bytes[]",
|
|
13735
|
+
name: "payload",
|
|
13736
|
+
type: "bytes[]"
|
|
13737
|
+
}
|
|
13738
|
+
],
|
|
13739
|
+
internalType: "struct AbstractYodlRouter.YApp[]",
|
|
13740
|
+
name: "yAppList",
|
|
13741
|
+
type: "tuple[]"
|
|
13742
|
+
}
|
|
13743
|
+
],
|
|
13744
|
+
internalType: "struct YodlCurveRouter.YodlCurveParams",
|
|
13745
|
+
name: "params",
|
|
13746
|
+
type: "tuple"
|
|
13747
|
+
}
|
|
13748
|
+
],
|
|
13749
|
+
name: "yodlWithCurve",
|
|
13750
|
+
outputs: [
|
|
13751
|
+
{
|
|
13752
|
+
internalType: "uint256",
|
|
13753
|
+
name: "",
|
|
13754
|
+
type: "uint256"
|
|
13755
|
+
}
|
|
13756
|
+
],
|
|
13757
|
+
stateMutability: "payable",
|
|
13758
|
+
type: "function"
|
|
13759
|
+
},
|
|
13760
|
+
{
|
|
13761
|
+
inputs: [
|
|
13762
|
+
{
|
|
13763
|
+
components: [
|
|
13764
|
+
{
|
|
13765
|
+
internalType: "bytes32",
|
|
13766
|
+
name: "memo",
|
|
13767
|
+
type: "bytes32"
|
|
13768
|
+
},
|
|
13769
|
+
{
|
|
13770
|
+
internalType: "uint256",
|
|
13771
|
+
name: "amount",
|
|
13772
|
+
type: "uint256"
|
|
13773
|
+
},
|
|
13774
|
+
{
|
|
13775
|
+
internalType: "address[2]",
|
|
13776
|
+
name: "priceFeeds",
|
|
13777
|
+
type: "address[2]"
|
|
13778
|
+
},
|
|
13779
|
+
{
|
|
13780
|
+
internalType: "address",
|
|
13781
|
+
name: "token",
|
|
13782
|
+
type: "address"
|
|
13783
|
+
},
|
|
13784
|
+
{
|
|
13785
|
+
internalType: "address",
|
|
13786
|
+
name: "receiver",
|
|
13787
|
+
type: "address"
|
|
13788
|
+
},
|
|
13789
|
+
{
|
|
13790
|
+
internalType: "address",
|
|
13791
|
+
name: "extraFeeReceiver",
|
|
13792
|
+
type: "address"
|
|
13793
|
+
},
|
|
13794
|
+
{
|
|
13795
|
+
internalType: "uint256",
|
|
13796
|
+
name: "extraFeeBps",
|
|
13797
|
+
type: "uint256"
|
|
13798
|
+
},
|
|
13799
|
+
{
|
|
13800
|
+
internalType: "uint256",
|
|
13801
|
+
name: "yd",
|
|
13802
|
+
type: "uint256"
|
|
13803
|
+
},
|
|
13804
|
+
{
|
|
13805
|
+
components: [
|
|
13806
|
+
{
|
|
13807
|
+
internalType: "address",
|
|
13808
|
+
name: "yApp",
|
|
13809
|
+
type: "address"
|
|
13810
|
+
},
|
|
13811
|
+
{
|
|
13812
|
+
internalType: "uint256",
|
|
13813
|
+
name: "sessionId",
|
|
13814
|
+
type: "uint256"
|
|
13815
|
+
},
|
|
13816
|
+
{
|
|
13817
|
+
internalType: "bytes[]",
|
|
13818
|
+
name: "payload",
|
|
13819
|
+
type: "bytes[]"
|
|
13820
|
+
}
|
|
13821
|
+
],
|
|
13822
|
+
internalType: "struct AbstractYodlRouter.YApp[]",
|
|
13823
|
+
name: "yAppList",
|
|
13824
|
+
type: "tuple[]"
|
|
13825
|
+
}
|
|
13826
|
+
],
|
|
13827
|
+
internalType: "struct YodlTransferRouter.YodlTransferParams",
|
|
13828
|
+
name: "params",
|
|
13829
|
+
type: "tuple"
|
|
13830
|
+
}
|
|
13831
|
+
],
|
|
13832
|
+
name: "yodlWithToken",
|
|
13833
|
+
outputs: [
|
|
13834
|
+
{
|
|
13835
|
+
internalType: "uint256",
|
|
13836
|
+
name: "",
|
|
13837
|
+
type: "uint256"
|
|
13838
|
+
}
|
|
13839
|
+
],
|
|
13840
|
+
stateMutability: "payable",
|
|
13841
|
+
type: "function"
|
|
13842
|
+
},
|
|
13843
|
+
{
|
|
13844
|
+
inputs: [
|
|
13845
|
+
{
|
|
13846
|
+
components: [
|
|
13847
|
+
{
|
|
13848
|
+
internalType: "address",
|
|
13849
|
+
name: "sender",
|
|
13850
|
+
type: "address"
|
|
13851
|
+
},
|
|
13852
|
+
{
|
|
13853
|
+
internalType: "address",
|
|
13854
|
+
name: "receiver",
|
|
13855
|
+
type: "address"
|
|
13856
|
+
},
|
|
13857
|
+
{
|
|
13858
|
+
internalType: "uint256",
|
|
13859
|
+
name: "amountIn",
|
|
13860
|
+
type: "uint256"
|
|
13861
|
+
},
|
|
13862
|
+
{
|
|
13863
|
+
internalType: "uint256",
|
|
13864
|
+
name: "amountOut",
|
|
13865
|
+
type: "uint256"
|
|
13866
|
+
},
|
|
13867
|
+
{
|
|
13868
|
+
internalType: "bytes32",
|
|
13869
|
+
name: "memo",
|
|
13870
|
+
type: "bytes32"
|
|
13871
|
+
},
|
|
13872
|
+
{
|
|
13873
|
+
internalType: "bytes",
|
|
13874
|
+
name: "path",
|
|
13875
|
+
type: "bytes"
|
|
13876
|
+
},
|
|
13877
|
+
{
|
|
13878
|
+
internalType: "address[2]",
|
|
13879
|
+
name: "priceFeeds",
|
|
13880
|
+
type: "address[2]"
|
|
13881
|
+
},
|
|
13882
|
+
{
|
|
13883
|
+
internalType: "address",
|
|
13884
|
+
name: "extraFeeReceiver",
|
|
13885
|
+
type: "address"
|
|
13886
|
+
},
|
|
13887
|
+
{
|
|
13888
|
+
internalType: "uint256",
|
|
13889
|
+
name: "extraFeeBps",
|
|
13890
|
+
type: "uint256"
|
|
13891
|
+
},
|
|
13892
|
+
{
|
|
13893
|
+
internalType: "enum YodlUniswapRouter.SwapType",
|
|
13894
|
+
name: "swapType",
|
|
13895
|
+
type: "uint8"
|
|
13896
|
+
},
|
|
13897
|
+
{
|
|
13898
|
+
internalType: "uint256",
|
|
13899
|
+
name: "yd",
|
|
13900
|
+
type: "uint256"
|
|
13901
|
+
},
|
|
13902
|
+
{
|
|
13903
|
+
components: [
|
|
13904
|
+
{
|
|
13905
|
+
internalType: "address",
|
|
13906
|
+
name: "yApp",
|
|
13907
|
+
type: "address"
|
|
13908
|
+
},
|
|
13909
|
+
{
|
|
13910
|
+
internalType: "uint256",
|
|
13911
|
+
name: "sessionId",
|
|
13912
|
+
type: "uint256"
|
|
13913
|
+
},
|
|
13914
|
+
{
|
|
13915
|
+
internalType: "bytes[]",
|
|
13916
|
+
name: "payload",
|
|
13917
|
+
type: "bytes[]"
|
|
13918
|
+
}
|
|
13919
|
+
],
|
|
13920
|
+
internalType: "struct AbstractYodlRouter.YApp[]",
|
|
13921
|
+
name: "yAppList",
|
|
13922
|
+
type: "tuple[]"
|
|
13923
|
+
}
|
|
13924
|
+
],
|
|
13925
|
+
internalType: "struct YodlUniswapRouter.YodlUniswapParams",
|
|
13926
|
+
name: "params",
|
|
13927
|
+
type: "tuple"
|
|
13928
|
+
}
|
|
13929
|
+
],
|
|
13930
|
+
name: "yodlWithUniswap",
|
|
13931
|
+
outputs: [
|
|
13932
|
+
{
|
|
13933
|
+
internalType: "uint256",
|
|
13934
|
+
name: "",
|
|
13935
|
+
type: "uint256"
|
|
13936
|
+
}
|
|
13937
|
+
],
|
|
13938
|
+
stateMutability: "payable",
|
|
13939
|
+
type: "function"
|
|
13940
|
+
},
|
|
13941
|
+
{
|
|
13942
|
+
stateMutability: "payable",
|
|
13943
|
+
type: "receive"
|
|
13944
|
+
}
|
|
13945
|
+
];
|
|
13946
|
+
|
|
13300
13947
|
var YODL_ROUTER_ABIS = {
|
|
13301
13948
|
"0.1": YodlRouterV01,
|
|
13302
13949
|
"0.2": YodlRouterV02,
|
|
13303
13950
|
"0.3": YodlRouterV03,
|
|
13304
13951
|
"0.4": YodlRouterV04,
|
|
13952
|
+
"0.5": YodlRouterV05,
|
|
13305
13953
|
"test": YodlRouterV03
|
|
13306
13954
|
};
|
|
13307
13955
|
var CURVE_ROUTER_ABI = CurveRouterV13Abi;
|