@yodlpay/tokenlists 0.4.2 → 0.4.3-alpha.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/abis.d.ts +1 -1
- package/dist/routerlist-v1.json +35 -0
- package/dist/tokenlists.cjs.development.js +641 -2
- 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 +641 -2
- package/dist/tokenlists.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/tokenlists.esm.js
CHANGED
|
@@ -2350,6 +2350,13 @@ var routers = [
|
|
|
2350
2350
|
version: "0.3",
|
|
2351
2351
|
fee: "0.002"
|
|
2352
2352
|
},
|
|
2353
|
+
{
|
|
2354
|
+
chainId: 10,
|
|
2355
|
+
address: "0x8ee49523463d041e28C2f80f95e3F511e1e73925",
|
|
2356
|
+
timestamp: "2024-06-28T00:00:00+00:00",
|
|
2357
|
+
version: "0.4",
|
|
2358
|
+
fee: "0.002"
|
|
2359
|
+
},
|
|
2353
2360
|
{
|
|
2354
2361
|
chainId: 42161,
|
|
2355
2362
|
address: "0x334264f4fbb56a84f80df722ba765d210f0cf555",
|
|
@@ -2371,6 +2378,13 @@ var routers = [
|
|
|
2371
2378
|
version: "0.3",
|
|
2372
2379
|
fee: "0.002"
|
|
2373
2380
|
},
|
|
2381
|
+
{
|
|
2382
|
+
chainId: 42161,
|
|
2383
|
+
address: "0x9569B81892B7168efe41cdc51aa075a71C0f4F5b",
|
|
2384
|
+
timestamp: "2024-06-28T00:00:00+00:00",
|
|
2385
|
+
version: "0.4",
|
|
2386
|
+
fee: "0.002"
|
|
2387
|
+
},
|
|
2374
2388
|
{
|
|
2375
2389
|
chainId: 100,
|
|
2376
2390
|
address: "0x448fabd2d16bc48ecdbe68890414de7a1b6348fd",
|
|
@@ -2392,6 +2406,13 @@ var routers = [
|
|
|
2392
2406
|
version: "0.3",
|
|
2393
2407
|
fee: "0.002"
|
|
2394
2408
|
},
|
|
2409
|
+
{
|
|
2410
|
+
chainId: 100,
|
|
2411
|
+
address: "0xAf69d83E142c6f4B8e72C634a03C0ab6f361d0CC",
|
|
2412
|
+
timestamp: "2024-06-28T00:00:00+00:00",
|
|
2413
|
+
version: "0.4",
|
|
2414
|
+
fee: "0.002"
|
|
2415
|
+
},
|
|
2395
2416
|
{
|
|
2396
2417
|
chainId: 137,
|
|
2397
2418
|
address: "0x8866DAFa2762346c85098C5b2201fA7CB2dA6100",
|
|
@@ -2406,6 +2427,13 @@ var routers = [
|
|
|
2406
2427
|
version: "0.3",
|
|
2407
2428
|
fee: "0.002"
|
|
2408
2429
|
},
|
|
2430
|
+
{
|
|
2431
|
+
chainId: 137,
|
|
2432
|
+
address: "0x0642F4e4fcfA014Db0134D6C96aCcBb2bdD77ba4",
|
|
2433
|
+
timestamp: "2024-06-28T00:00:00+00:00",
|
|
2434
|
+
version: "0.4",
|
|
2435
|
+
fee: "0.002"
|
|
2436
|
+
},
|
|
2409
2437
|
{
|
|
2410
2438
|
chainId: 8453,
|
|
2411
2439
|
address: "0x2BaE9Bb53BCe89c760dBfA55D854D43ab96EE19f",
|
|
@@ -2426,6 +2454,13 @@ var routers = [
|
|
|
2426
2454
|
timestamp: "2024-06-20T15:50:00+00:00",
|
|
2427
2455
|
version: "0.3",
|
|
2428
2456
|
fee: "0.002"
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
chainId: 8453,
|
|
2460
|
+
address: "0xe066da17bf33B51271CFB568A04B6115402b6C2d",
|
|
2461
|
+
timestamp: "2024-06-28T10:50:00+00:00",
|
|
2462
|
+
version: "0.4",
|
|
2463
|
+
fee: "0.002"
|
|
2429
2464
|
}
|
|
2430
2465
|
];
|
|
2431
2466
|
var routerlist = {
|
|
@@ -13346,10 +13381,614 @@ var YodlRouterV03 = [
|
|
|
13346
13381
|
}
|
|
13347
13382
|
];
|
|
13348
13383
|
|
|
13349
|
-
var
|
|
13384
|
+
var YodlRouterV04 = [
|
|
13385
|
+
{
|
|
13386
|
+
inputs: [
|
|
13387
|
+
{
|
|
13388
|
+
internalType: "address",
|
|
13389
|
+
name: "_feeTreasury",
|
|
13390
|
+
type: "address"
|
|
13391
|
+
},
|
|
13392
|
+
{
|
|
13393
|
+
internalType: "uint256",
|
|
13394
|
+
name: "_baseFeeBps",
|
|
13395
|
+
type: "uint256"
|
|
13396
|
+
},
|
|
13397
|
+
{
|
|
13398
|
+
internalType: "string",
|
|
13399
|
+
name: "_version",
|
|
13400
|
+
type: "string"
|
|
13401
|
+
},
|
|
13402
|
+
{
|
|
13403
|
+
internalType: "address",
|
|
13404
|
+
name: "_uniswapRouter",
|
|
13405
|
+
type: "address"
|
|
13406
|
+
},
|
|
13407
|
+
{
|
|
13408
|
+
internalType: "address",
|
|
13409
|
+
name: "_curveRouter",
|
|
13410
|
+
type: "address"
|
|
13411
|
+
},
|
|
13412
|
+
{
|
|
13413
|
+
internalType: "address",
|
|
13414
|
+
name: "_wrappedNativeToken",
|
|
13415
|
+
type: "address"
|
|
13416
|
+
}
|
|
13417
|
+
],
|
|
13418
|
+
stateMutability: "nonpayable",
|
|
13419
|
+
type: "constructor"
|
|
13420
|
+
},
|
|
13421
|
+
{
|
|
13422
|
+
anonymous: false,
|
|
13423
|
+
inputs: [
|
|
13424
|
+
{
|
|
13425
|
+
indexed: true,
|
|
13426
|
+
internalType: "address",
|
|
13427
|
+
name: "priceFeed0",
|
|
13428
|
+
type: "address"
|
|
13429
|
+
},
|
|
13430
|
+
{
|
|
13431
|
+
indexed: true,
|
|
13432
|
+
internalType: "address",
|
|
13433
|
+
name: "priceFeed1",
|
|
13434
|
+
type: "address"
|
|
13435
|
+
},
|
|
13436
|
+
{
|
|
13437
|
+
indexed: false,
|
|
13438
|
+
internalType: "int256",
|
|
13439
|
+
name: "exchangeRate0",
|
|
13440
|
+
type: "int256"
|
|
13441
|
+
},
|
|
13442
|
+
{
|
|
13443
|
+
indexed: false,
|
|
13444
|
+
internalType: "int256",
|
|
13445
|
+
name: "exchangeRate1",
|
|
13446
|
+
type: "int256"
|
|
13447
|
+
}
|
|
13448
|
+
],
|
|
13449
|
+
name: "Convert",
|
|
13450
|
+
type: "event"
|
|
13451
|
+
},
|
|
13452
|
+
{
|
|
13453
|
+
anonymous: false,
|
|
13454
|
+
inputs: [
|
|
13455
|
+
{
|
|
13456
|
+
indexed: true,
|
|
13457
|
+
internalType: "address",
|
|
13458
|
+
name: "previousOwner",
|
|
13459
|
+
type: "address"
|
|
13460
|
+
},
|
|
13461
|
+
{
|
|
13462
|
+
indexed: true,
|
|
13463
|
+
internalType: "address",
|
|
13464
|
+
name: "newOwner",
|
|
13465
|
+
type: "address"
|
|
13466
|
+
}
|
|
13467
|
+
],
|
|
13468
|
+
name: "OwnershipTransferred",
|
|
13469
|
+
type: "event"
|
|
13470
|
+
},
|
|
13471
|
+
{
|
|
13472
|
+
anonymous: false,
|
|
13473
|
+
inputs: [
|
|
13474
|
+
{
|
|
13475
|
+
indexed: true,
|
|
13476
|
+
internalType: "address",
|
|
13477
|
+
name: "sender",
|
|
13478
|
+
type: "address"
|
|
13479
|
+
},
|
|
13480
|
+
{
|
|
13481
|
+
indexed: true,
|
|
13482
|
+
internalType: "address",
|
|
13483
|
+
name: "receiver",
|
|
13484
|
+
type: "address"
|
|
13485
|
+
},
|
|
13486
|
+
{
|
|
13487
|
+
indexed: false,
|
|
13488
|
+
internalType: "address",
|
|
13489
|
+
name: "token",
|
|
13490
|
+
type: "address"
|
|
13491
|
+
},
|
|
13492
|
+
{
|
|
13493
|
+
indexed: false,
|
|
13494
|
+
internalType: "uint256",
|
|
13495
|
+
name: "amount",
|
|
13496
|
+
type: "uint256"
|
|
13497
|
+
},
|
|
13498
|
+
{
|
|
13499
|
+
indexed: false,
|
|
13500
|
+
internalType: "uint256",
|
|
13501
|
+
name: "fees",
|
|
13502
|
+
type: "uint256"
|
|
13503
|
+
},
|
|
13504
|
+
{
|
|
13505
|
+
indexed: false,
|
|
13506
|
+
internalType: "bytes32",
|
|
13507
|
+
name: "memo",
|
|
13508
|
+
type: "bytes32"
|
|
13509
|
+
}
|
|
13510
|
+
],
|
|
13511
|
+
name: "Yodl",
|
|
13512
|
+
type: "event"
|
|
13513
|
+
},
|
|
13514
|
+
{
|
|
13515
|
+
anonymous: false,
|
|
13516
|
+
inputs: [
|
|
13517
|
+
{
|
|
13518
|
+
indexed: true,
|
|
13519
|
+
internalType: "address",
|
|
13520
|
+
name: "sender",
|
|
13521
|
+
type: "address"
|
|
13522
|
+
},
|
|
13523
|
+
{
|
|
13524
|
+
indexed: true,
|
|
13525
|
+
internalType: "address",
|
|
13526
|
+
name: "receiver",
|
|
13527
|
+
type: "address"
|
|
13528
|
+
},
|
|
13529
|
+
{
|
|
13530
|
+
indexed: true,
|
|
13531
|
+
internalType: "uint256",
|
|
13532
|
+
name: "amount",
|
|
13533
|
+
type: "uint256"
|
|
13534
|
+
}
|
|
13535
|
+
],
|
|
13536
|
+
name: "YodlNativeTokenTransfer",
|
|
13537
|
+
type: "event"
|
|
13538
|
+
},
|
|
13539
|
+
{
|
|
13540
|
+
inputs: [
|
|
13541
|
+
],
|
|
13542
|
+
name: "MAX_FEE_BPS",
|
|
13543
|
+
outputs: [
|
|
13544
|
+
{
|
|
13545
|
+
internalType: "uint256",
|
|
13546
|
+
name: "",
|
|
13547
|
+
type: "uint256"
|
|
13548
|
+
}
|
|
13549
|
+
],
|
|
13550
|
+
stateMutability: "view",
|
|
13551
|
+
type: "function"
|
|
13552
|
+
},
|
|
13553
|
+
{
|
|
13554
|
+
inputs: [
|
|
13555
|
+
],
|
|
13556
|
+
name: "NATIVE_TOKEN",
|
|
13557
|
+
outputs: [
|
|
13558
|
+
{
|
|
13559
|
+
internalType: "address",
|
|
13560
|
+
name: "",
|
|
13561
|
+
type: "address"
|
|
13562
|
+
}
|
|
13563
|
+
],
|
|
13564
|
+
stateMutability: "view",
|
|
13565
|
+
type: "function"
|
|
13566
|
+
},
|
|
13567
|
+
{
|
|
13568
|
+
inputs: [
|
|
13569
|
+
],
|
|
13570
|
+
name: "baseFeeBps",
|
|
13571
|
+
outputs: [
|
|
13572
|
+
{
|
|
13573
|
+
internalType: "uint256",
|
|
13574
|
+
name: "",
|
|
13575
|
+
type: "uint256"
|
|
13576
|
+
}
|
|
13577
|
+
],
|
|
13578
|
+
stateMutability: "view",
|
|
13579
|
+
type: "function"
|
|
13580
|
+
},
|
|
13581
|
+
{
|
|
13582
|
+
inputs: [
|
|
13583
|
+
{
|
|
13584
|
+
internalType: "uint256",
|
|
13585
|
+
name: "amount",
|
|
13586
|
+
type: "uint256"
|
|
13587
|
+
},
|
|
13588
|
+
{
|
|
13589
|
+
internalType: "uint256",
|
|
13590
|
+
name: "feeBps",
|
|
13591
|
+
type: "uint256"
|
|
13592
|
+
}
|
|
13593
|
+
],
|
|
13594
|
+
name: "calculateFee",
|
|
13595
|
+
outputs: [
|
|
13596
|
+
{
|
|
13597
|
+
internalType: "uint256",
|
|
13598
|
+
name: "",
|
|
13599
|
+
type: "uint256"
|
|
13600
|
+
}
|
|
13601
|
+
],
|
|
13602
|
+
stateMutability: "pure",
|
|
13603
|
+
type: "function"
|
|
13604
|
+
},
|
|
13605
|
+
{
|
|
13606
|
+
inputs: [
|
|
13607
|
+
],
|
|
13608
|
+
name: "curveRouter",
|
|
13609
|
+
outputs: [
|
|
13610
|
+
{
|
|
13611
|
+
internalType: "contract ICurveRouter",
|
|
13612
|
+
name: "",
|
|
13613
|
+
type: "address"
|
|
13614
|
+
}
|
|
13615
|
+
],
|
|
13616
|
+
stateMutability: "view",
|
|
13617
|
+
type: "function"
|
|
13618
|
+
},
|
|
13619
|
+
{
|
|
13620
|
+
inputs: [
|
|
13621
|
+
{
|
|
13622
|
+
internalType: "address[2]",
|
|
13623
|
+
name: "priceFeeds",
|
|
13624
|
+
type: "address[2]"
|
|
13625
|
+
},
|
|
13626
|
+
{
|
|
13627
|
+
internalType: "uint256",
|
|
13628
|
+
name: "amount",
|
|
13629
|
+
type: "uint256"
|
|
13630
|
+
}
|
|
13631
|
+
],
|
|
13632
|
+
name: "exchangeRate",
|
|
13633
|
+
outputs: [
|
|
13634
|
+
{
|
|
13635
|
+
internalType: "uint256",
|
|
13636
|
+
name: "converted",
|
|
13637
|
+
type: "uint256"
|
|
13638
|
+
},
|
|
13639
|
+
{
|
|
13640
|
+
internalType: "address[2]",
|
|
13641
|
+
name: "priceFeedsUsed",
|
|
13642
|
+
type: "address[2]"
|
|
13643
|
+
},
|
|
13644
|
+
{
|
|
13645
|
+
internalType: "int256[2]",
|
|
13646
|
+
name: "prices",
|
|
13647
|
+
type: "int256[2]"
|
|
13648
|
+
}
|
|
13649
|
+
],
|
|
13650
|
+
stateMutability: "view",
|
|
13651
|
+
type: "function"
|
|
13652
|
+
},
|
|
13653
|
+
{
|
|
13654
|
+
inputs: [
|
|
13655
|
+
],
|
|
13656
|
+
name: "feeTreasury",
|
|
13657
|
+
outputs: [
|
|
13658
|
+
{
|
|
13659
|
+
internalType: "address",
|
|
13660
|
+
name: "",
|
|
13661
|
+
type: "address"
|
|
13662
|
+
}
|
|
13663
|
+
],
|
|
13664
|
+
stateMutability: "view",
|
|
13665
|
+
type: "function"
|
|
13666
|
+
},
|
|
13667
|
+
{
|
|
13668
|
+
inputs: [
|
|
13669
|
+
],
|
|
13670
|
+
name: "owner",
|
|
13671
|
+
outputs: [
|
|
13672
|
+
{
|
|
13673
|
+
internalType: "address",
|
|
13674
|
+
name: "",
|
|
13675
|
+
type: "address"
|
|
13676
|
+
}
|
|
13677
|
+
],
|
|
13678
|
+
stateMutability: "view",
|
|
13679
|
+
type: "function"
|
|
13680
|
+
},
|
|
13681
|
+
{
|
|
13682
|
+
inputs: [
|
|
13683
|
+
],
|
|
13684
|
+
name: "renounceOwnership",
|
|
13685
|
+
outputs: [
|
|
13686
|
+
],
|
|
13687
|
+
stateMutability: "nonpayable",
|
|
13688
|
+
type: "function"
|
|
13689
|
+
},
|
|
13690
|
+
{
|
|
13691
|
+
inputs: [
|
|
13692
|
+
{
|
|
13693
|
+
internalType: "address",
|
|
13694
|
+
name: "token",
|
|
13695
|
+
type: "address"
|
|
13696
|
+
}
|
|
13697
|
+
],
|
|
13698
|
+
name: "sweep",
|
|
13699
|
+
outputs: [
|
|
13700
|
+
],
|
|
13701
|
+
stateMutability: "nonpayable",
|
|
13702
|
+
type: "function"
|
|
13703
|
+
},
|
|
13704
|
+
{
|
|
13705
|
+
inputs: [
|
|
13706
|
+
{
|
|
13707
|
+
internalType: "address",
|
|
13708
|
+
name: "newOwner",
|
|
13709
|
+
type: "address"
|
|
13710
|
+
}
|
|
13711
|
+
],
|
|
13712
|
+
name: "transferOwnership",
|
|
13713
|
+
outputs: [
|
|
13714
|
+
],
|
|
13715
|
+
stateMutability: "nonpayable",
|
|
13716
|
+
type: "function"
|
|
13717
|
+
},
|
|
13718
|
+
{
|
|
13719
|
+
inputs: [
|
|
13720
|
+
],
|
|
13721
|
+
name: "uniswapRouter",
|
|
13722
|
+
outputs: [
|
|
13723
|
+
{
|
|
13724
|
+
internalType: "contract ISwapRouter",
|
|
13725
|
+
name: "",
|
|
13726
|
+
type: "address"
|
|
13727
|
+
}
|
|
13728
|
+
],
|
|
13729
|
+
stateMutability: "view",
|
|
13730
|
+
type: "function"
|
|
13731
|
+
},
|
|
13732
|
+
{
|
|
13733
|
+
inputs: [
|
|
13734
|
+
],
|
|
13735
|
+
name: "version",
|
|
13736
|
+
outputs: [
|
|
13737
|
+
{
|
|
13738
|
+
internalType: "string",
|
|
13739
|
+
name: "",
|
|
13740
|
+
type: "string"
|
|
13741
|
+
}
|
|
13742
|
+
],
|
|
13743
|
+
stateMutability: "view",
|
|
13744
|
+
type: "function"
|
|
13745
|
+
},
|
|
13746
|
+
{
|
|
13747
|
+
inputs: [
|
|
13748
|
+
],
|
|
13749
|
+
name: "wrappedNativeToken",
|
|
13750
|
+
outputs: [
|
|
13751
|
+
{
|
|
13752
|
+
internalType: "contract IWETH9",
|
|
13753
|
+
name: "",
|
|
13754
|
+
type: "address"
|
|
13755
|
+
}
|
|
13756
|
+
],
|
|
13757
|
+
stateMutability: "view",
|
|
13758
|
+
type: "function"
|
|
13759
|
+
},
|
|
13760
|
+
{
|
|
13761
|
+
inputs: [
|
|
13762
|
+
{
|
|
13763
|
+
components: [
|
|
13764
|
+
{
|
|
13765
|
+
internalType: "address",
|
|
13766
|
+
name: "sender",
|
|
13767
|
+
type: "address"
|
|
13768
|
+
},
|
|
13769
|
+
{
|
|
13770
|
+
internalType: "address",
|
|
13771
|
+
name: "receiver",
|
|
13772
|
+
type: "address"
|
|
13773
|
+
},
|
|
13774
|
+
{
|
|
13775
|
+
internalType: "uint256",
|
|
13776
|
+
name: "amountIn",
|
|
13777
|
+
type: "uint256"
|
|
13778
|
+
},
|
|
13779
|
+
{
|
|
13780
|
+
internalType: "uint256",
|
|
13781
|
+
name: "amountOut",
|
|
13782
|
+
type: "uint256"
|
|
13783
|
+
},
|
|
13784
|
+
{
|
|
13785
|
+
internalType: "bytes32",
|
|
13786
|
+
name: "memo",
|
|
13787
|
+
type: "bytes32"
|
|
13788
|
+
},
|
|
13789
|
+
{
|
|
13790
|
+
internalType: "address[9]",
|
|
13791
|
+
name: "route",
|
|
13792
|
+
type: "address[9]"
|
|
13793
|
+
},
|
|
13794
|
+
{
|
|
13795
|
+
internalType: "uint256[3][4]",
|
|
13796
|
+
name: "swapParams",
|
|
13797
|
+
type: "uint256[3][4]"
|
|
13798
|
+
},
|
|
13799
|
+
{
|
|
13800
|
+
internalType: "address[4]",
|
|
13801
|
+
name: "factoryAddresses",
|
|
13802
|
+
type: "address[4]"
|
|
13803
|
+
},
|
|
13804
|
+
{
|
|
13805
|
+
internalType: "address[2]",
|
|
13806
|
+
name: "priceFeeds",
|
|
13807
|
+
type: "address[2]"
|
|
13808
|
+
},
|
|
13809
|
+
{
|
|
13810
|
+
internalType: "address",
|
|
13811
|
+
name: "extraFeeReceiver",
|
|
13812
|
+
type: "address"
|
|
13813
|
+
},
|
|
13814
|
+
{
|
|
13815
|
+
internalType: "uint256",
|
|
13816
|
+
name: "extraFeeBps",
|
|
13817
|
+
type: "uint256"
|
|
13818
|
+
},
|
|
13819
|
+
{
|
|
13820
|
+
internalType: "bool",
|
|
13821
|
+
name: "returnRemainder",
|
|
13822
|
+
type: "bool"
|
|
13823
|
+
},
|
|
13824
|
+
{
|
|
13825
|
+
internalType: "uint256",
|
|
13826
|
+
name: "yd",
|
|
13827
|
+
type: "uint256"
|
|
13828
|
+
}
|
|
13829
|
+
],
|
|
13830
|
+
internalType: "struct YodlRouterV1.YodlCurveParams",
|
|
13831
|
+
name: "params",
|
|
13832
|
+
type: "tuple"
|
|
13833
|
+
}
|
|
13834
|
+
],
|
|
13835
|
+
name: "yodlWithCurve",
|
|
13836
|
+
outputs: [
|
|
13837
|
+
{
|
|
13838
|
+
internalType: "uint256",
|
|
13839
|
+
name: "",
|
|
13840
|
+
type: "uint256"
|
|
13841
|
+
}
|
|
13842
|
+
],
|
|
13843
|
+
stateMutability: "payable",
|
|
13844
|
+
type: "function"
|
|
13845
|
+
},
|
|
13846
|
+
{
|
|
13847
|
+
inputs: [
|
|
13848
|
+
{
|
|
13849
|
+
internalType: "bytes32",
|
|
13850
|
+
name: "memo",
|
|
13851
|
+
type: "bytes32"
|
|
13852
|
+
},
|
|
13853
|
+
{
|
|
13854
|
+
internalType: "uint256",
|
|
13855
|
+
name: "amount",
|
|
13856
|
+
type: "uint256"
|
|
13857
|
+
},
|
|
13858
|
+
{
|
|
13859
|
+
internalType: "address[2]",
|
|
13860
|
+
name: "priceFeeds",
|
|
13861
|
+
type: "address[2]"
|
|
13862
|
+
},
|
|
13863
|
+
{
|
|
13864
|
+
internalType: "address",
|
|
13865
|
+
name: "token",
|
|
13866
|
+
type: "address"
|
|
13867
|
+
},
|
|
13868
|
+
{
|
|
13869
|
+
internalType: "address",
|
|
13870
|
+
name: "receiver",
|
|
13871
|
+
type: "address"
|
|
13872
|
+
},
|
|
13873
|
+
{
|
|
13874
|
+
internalType: "address",
|
|
13875
|
+
name: "extraFeeReceiver",
|
|
13876
|
+
type: "address"
|
|
13877
|
+
},
|
|
13878
|
+
{
|
|
13879
|
+
internalType: "uint256",
|
|
13880
|
+
name: "extraFeeBps",
|
|
13881
|
+
type: "uint256"
|
|
13882
|
+
},
|
|
13883
|
+
{
|
|
13884
|
+
internalType: "uint256",
|
|
13885
|
+
name: "yd",
|
|
13886
|
+
type: "uint256"
|
|
13887
|
+
}
|
|
13888
|
+
],
|
|
13889
|
+
name: "yodlWithToken",
|
|
13890
|
+
outputs: [
|
|
13891
|
+
{
|
|
13892
|
+
internalType: "bool",
|
|
13893
|
+
name: "",
|
|
13894
|
+
type: "bool"
|
|
13895
|
+
}
|
|
13896
|
+
],
|
|
13897
|
+
stateMutability: "payable",
|
|
13898
|
+
type: "function"
|
|
13899
|
+
},
|
|
13900
|
+
{
|
|
13901
|
+
inputs: [
|
|
13902
|
+
{
|
|
13903
|
+
components: [
|
|
13904
|
+
{
|
|
13905
|
+
internalType: "address",
|
|
13906
|
+
name: "sender",
|
|
13907
|
+
type: "address"
|
|
13908
|
+
},
|
|
13909
|
+
{
|
|
13910
|
+
internalType: "address",
|
|
13911
|
+
name: "receiver",
|
|
13912
|
+
type: "address"
|
|
13913
|
+
},
|
|
13914
|
+
{
|
|
13915
|
+
internalType: "uint256",
|
|
13916
|
+
name: "amountIn",
|
|
13917
|
+
type: "uint256"
|
|
13918
|
+
},
|
|
13919
|
+
{
|
|
13920
|
+
internalType: "uint256",
|
|
13921
|
+
name: "amountOut",
|
|
13922
|
+
type: "uint256"
|
|
13923
|
+
},
|
|
13924
|
+
{
|
|
13925
|
+
internalType: "bytes32",
|
|
13926
|
+
name: "memo",
|
|
13927
|
+
type: "bytes32"
|
|
13928
|
+
},
|
|
13929
|
+
{
|
|
13930
|
+
internalType: "bytes",
|
|
13931
|
+
name: "path",
|
|
13932
|
+
type: "bytes"
|
|
13933
|
+
},
|
|
13934
|
+
{
|
|
13935
|
+
internalType: "address[2]",
|
|
13936
|
+
name: "priceFeeds",
|
|
13937
|
+
type: "address[2]"
|
|
13938
|
+
},
|
|
13939
|
+
{
|
|
13940
|
+
internalType: "address",
|
|
13941
|
+
name: "extraFeeReceiver",
|
|
13942
|
+
type: "address"
|
|
13943
|
+
},
|
|
13944
|
+
{
|
|
13945
|
+
internalType: "uint256",
|
|
13946
|
+
name: "extraFeeBps",
|
|
13947
|
+
type: "uint256"
|
|
13948
|
+
},
|
|
13949
|
+
{
|
|
13950
|
+
internalType: "bool",
|
|
13951
|
+
name: "returnRemainder",
|
|
13952
|
+
type: "bool"
|
|
13953
|
+
},
|
|
13954
|
+
{
|
|
13955
|
+
internalType: "enum YodlRouterV1.SwapType",
|
|
13956
|
+
name: "swapType",
|
|
13957
|
+
type: "uint8"
|
|
13958
|
+
},
|
|
13959
|
+
{
|
|
13960
|
+
internalType: "uint256",
|
|
13961
|
+
name: "yd",
|
|
13962
|
+
type: "uint256"
|
|
13963
|
+
}
|
|
13964
|
+
],
|
|
13965
|
+
internalType: "struct YodlRouterV1.YodlUniswapParams",
|
|
13966
|
+
name: "params",
|
|
13967
|
+
type: "tuple"
|
|
13968
|
+
}
|
|
13969
|
+
],
|
|
13970
|
+
name: "yodlWithUniswap",
|
|
13971
|
+
outputs: [
|
|
13972
|
+
{
|
|
13973
|
+
internalType: "uint256",
|
|
13974
|
+
name: "",
|
|
13975
|
+
type: "uint256"
|
|
13976
|
+
}
|
|
13977
|
+
],
|
|
13978
|
+
stateMutability: "payable",
|
|
13979
|
+
type: "function"
|
|
13980
|
+
},
|
|
13981
|
+
{
|
|
13982
|
+
stateMutability: "payable",
|
|
13983
|
+
type: "receive"
|
|
13984
|
+
}
|
|
13985
|
+
];
|
|
13986
|
+
|
|
13987
|
+
var YODL_ROUTER_ABIS = {
|
|
13350
13988
|
"0.1": YodlRouterV01,
|
|
13351
13989
|
"0.2": YodlRouterV02,
|
|
13352
13990
|
"0.3": YodlRouterV03,
|
|
13991
|
+
"0.4": YodlRouterV04,
|
|
13353
13992
|
"test": YodlRouterV03
|
|
13354
13993
|
};
|
|
13355
13994
|
var CURVE_ROUTER_ABI = CurveRouterV13Abi;
|
|
@@ -13711,5 +14350,5 @@ function getNativeWrappedToken(chainId) {
|
|
|
13711
14350
|
return nativeTokens[0];
|
|
13712
14351
|
}
|
|
13713
14352
|
|
|
13714
|
-
export { CURVE_ROUTER_ABI,
|
|
14353
|
+
export { CURVE_ROUTER_ABI, TokenListTagNames, VersionUpgrade, YODL_ROUTER_ABIS, diffTokenLists, getChain, getChains, getFaucetAddress, getFeaturedTokenBySymbol, getFiatCurrency, getFiatFeeds, getLatestRouter, getNativeWrappedToken, getPriceFeed, getPriceFeeds, getRouter, getRouterByAddress, getRouters, getShortNames, getTokenByAddress, getTokenBySymbol, getTokenFeeds, getTokens, getVersionUpgrade, isVersionUpdate, minVersionBump, nextVersion, versionComparator };
|
|
13715
14354
|
//# sourceMappingURL=tokenlists.esm.js.map
|