@yodlpay/tokenlists 0.5.6-usdm → 0.6.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.
@@ -833,82 +833,6 @@ var tokens = [
833
833
  "featured"
834
834
  ],
835
835
  logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/DAI.svg"
836
- },
837
- {
838
- chainId: 1,
839
- coinGeckoId: "usdm",
840
- name: "Mountain Protocol USD",
841
- symbol: "USDM",
842
- logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDM.svg",
843
- decimals: 18,
844
- currency: "USD",
845
- tags: [
846
- "Mainnet",
847
- "Stablecoin",
848
- "featured",
849
- "USD"
850
- ],
851
- address: "0x59d9356e565ab3a36dd77763fc0d87feaf85508c"
852
- },
853
- {
854
- chainId: 10,
855
- coinGeckoId: "usdm",
856
- name: "Mountain Protocol USD",
857
- symbol: "USDM",
858
- logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDM.svg",
859
- decimals: 18,
860
- currency: "USD",
861
- tags: [
862
- "Stablecoin",
863
- "featured",
864
- "USD"
865
- ],
866
- address: "0x59d9356e565ab3a36dd77763fc0d87feaf85508c"
867
- },
868
- {
869
- chainId: 137,
870
- coinGeckoId: "usdm",
871
- name: "Mountain Protocol USD",
872
- symbol: "USDM",
873
- logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDM.svg",
874
- decimals: 18,
875
- currency: "USD",
876
- tags: [
877
- "Stablecoin",
878
- "featured",
879
- "USD"
880
- ],
881
- address: "0x59d9356e565ab3a36dd77763fc0d87feaf85508c"
882
- },
883
- {
884
- chainId: 8453,
885
- coinGeckoId: "usdm",
886
- name: "Mountain Protocol USD",
887
- symbol: "USDM",
888
- logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDM.svg",
889
- decimals: 18,
890
- currency: "USD",
891
- tags: [
892
- "Stablecoin",
893
- "featured",
894
- "USD"
895
- ],
896
- address: "0x59d9356e565ab3a36dd77763fc0d87feaf85508c"
897
- },
898
- {
899
- chainId: 42161,
900
- coinGeckoId: "usdm",
901
- name: "Mountain Protocol USD",
902
- symbol: "USDM",
903
- logoUri: "https://raw.githubusercontent.com/yodlpay/tokenlists/main/logos/tokens/USDM.svg",
904
- decimals: 18,
905
- currency: "USD",
906
- tags: [
907
- "Stablecoin",
908
- "featured",
909
- "USD"
910
- ],
911
- address: "0x59d9356e565ab3a36dd77763fc0d87feaf85508c"
912
836
  }
913
837
  ];
914
838
  var featuredTokenlist = {
@@ -3381,6 +3305,13 @@ var routers = [
3381
3305
  version: "0.5",
3382
3306
  fee: "0.002"
3383
3307
  },
3308
+ {
3309
+ chainId: 1,
3310
+ address: "0x9179F20b028eCbfcb7C3ADa495b5A30D4c437ffd",
3311
+ timestamp: "2024-07-17T00:00:00+00:00",
3312
+ version: "0.6",
3313
+ fee: "0.002"
3314
+ },
3384
3315
  {
3385
3316
  chainId: 5,
3386
3317
  address: "0x8412D3c11aa605EbaF14D0b6BC7705ab45143Ee8",
@@ -3423,6 +3354,13 @@ var routers = [
3423
3354
  version: "0.5",
3424
3355
  fee: "0.002"
3425
3356
  },
3357
+ {
3358
+ chainId: 10,
3359
+ address: "0xB771B043328FF491D52EC0AAaf78BE2EF5aBC2A5",
3360
+ timestamp: "2024-07-17T00:00:00+00:00",
3361
+ version: "0.6",
3362
+ fee: "0.002"
3363
+ },
3426
3364
  {
3427
3365
  chainId: 42161,
3428
3366
  address: "0x334264f4fbb56a84f80df722ba765d210f0cf555",
@@ -3458,6 +3396,13 @@ var routers = [
3458
3396
  version: "0.5",
3459
3397
  fee: "0.002"
3460
3398
  },
3399
+ {
3400
+ chainId: 42161,
3401
+ address: "0x65d3B655BAdDbb6abe14faFFe25d866fE84DF55c",
3402
+ timestamp: "2024-07-17T00:00:00+00:00",
3403
+ version: "0.6",
3404
+ fee: "0.002"
3405
+ },
3461
3406
  {
3462
3407
  chainId: 100,
3463
3408
  address: "0x448fabd2d16bc48ecdbe68890414de7a1b6348fd",
@@ -3493,6 +3438,13 @@ var routers = [
3493
3438
  version: "0.5",
3494
3439
  fee: "0.002"
3495
3440
  },
3441
+ {
3442
+ chainId: 100,
3443
+ address: "0x820F8C0113bbbAA6A27d97736EA5c6bb57Ea8F08",
3444
+ timestamp: "2024-07-17T00:00:00+00:00",
3445
+ version: "0.6",
3446
+ fee: "0.002"
3447
+ },
3496
3448
  {
3497
3449
  chainId: 137,
3498
3450
  address: "0x8866DAFa2762346c85098C5b2201fA7CB2dA6100",
@@ -3521,6 +3473,13 @@ var routers = [
3521
3473
  version: "0.5",
3522
3474
  fee: "0.002"
3523
3475
  },
3476
+ {
3477
+ chainId: 137,
3478
+ address: "0x2185406360F8A4b32f5f47337da8befD2D3182c9",
3479
+ timestamp: "2024-07-17T00:00:00+00:00",
3480
+ version: "0.6",
3481
+ fee: "0.002"
3482
+ },
3524
3483
  {
3525
3484
  chainId: 8453,
3526
3485
  address: "0x2BaE9Bb53BCe89c760dBfA55D854D43ab96EE19f",
@@ -3556,12 +3515,26 @@ var routers = [
3556
3515
  version: "0.5",
3557
3516
  fee: "0.002"
3558
3517
  },
3518
+ {
3519
+ chainId: 8453,
3520
+ address: "0x5D3D61ea8619cB78E4692fb6518c1c79E1AEF420",
3521
+ timestamp: "2024-07-17T00:00:00+00:00",
3522
+ version: "0.6",
3523
+ fee: "0.002"
3524
+ },
3559
3525
  {
3560
3526
  chainId: 56,
3561
3527
  address: "0x34d327475e4e96a738e21cfc1a5d0f2256c62c34",
3562
3528
  timestamp: "2024-07-17T00:00:00+00:00",
3563
3529
  version: "0.5",
3564
3530
  fee: "0.002"
3531
+ },
3532
+ {
3533
+ chainId: 56,
3534
+ address: "0x01E5654694BC495Da858A8A0dF28456f136421A5",
3535
+ timestamp: "2024-07-17T00:00:00+00:00",
3536
+ version: "0.6",
3537
+ fee: "0.002"
3565
3538
  }
3566
3539
  ];
3567
3540
  var routerlist = {
@@ -3572,6 +3545,40 @@ var routerlist = {
3572
3545
  routers: routers
3573
3546
  };
3574
3547
 
3548
+ var name$2 = "Default";
3549
+ var logoUri$2 = "";
3550
+ var keywords$2 = [
3551
+ ];
3552
+ var version$2 = {
3553
+ major: 0,
3554
+ minor: 0,
3555
+ patch: 1
3556
+ };
3557
+ var faucets = [
3558
+ {
3559
+ chainId: 5,
3560
+ token: "0x33ca3889bb0032e9c3794b608a242d27e7293353",
3561
+ address: "0xd2bc1d97793763b7262987a67f1945169c763389"
3562
+ },
3563
+ {
3564
+ chainId: 5,
3565
+ token: "0xe5768E2dDEc1E50Ac2672a2d75D63d36A8Ec88d9",
3566
+ address: "0x5A3380C7d6A05AF3Ce68C939142658C35Efc066d"
3567
+ },
3568
+ {
3569
+ chainId: 5,
3570
+ token: "0xeB87E5d9c773d3E802989295147564985B5B358C",
3571
+ address: "0xF47661BCe78194b44675547873ef58Ca8Db9b145"
3572
+ }
3573
+ ];
3574
+ var testnetfaucets = {
3575
+ name: name$2,
3576
+ logoUri: logoUri$2,
3577
+ keywords: keywords$2,
3578
+ version: version$2,
3579
+ faucets: faucets
3580
+ };
3581
+
3575
3582
  var priceFeeds = [
3576
3583
  {
3577
3584
  decimals: 8,
@@ -13682,164 +13689,1152 @@ var YodlRouterV05 = [
13682
13689
  }
13683
13690
  ];
13684
13691
 
13685
- var YODL_ROUTER_ABIS = {
13686
- "0.1": YodlRouterV01,
13687
- "0.2": YodlRouterV02,
13688
- "0.3": YodlRouterV03,
13689
- "0.4": YodlRouterV04,
13690
- "0.5": YodlRouterV05,
13691
- "test": YodlRouterV03
13692
- };
13693
- var CURVE_ROUTER_ABI = CurveRouterV13Abi;
13694
-
13695
- var TokenListTagNames;
13696
-
13697
- (function (TokenListTagNames) {
13698
- // Networks
13699
- TokenListTagNames["MAINNET"] = "Mainnet";
13700
- TokenListTagNames["OPTIMISM"] = "Optimism";
13701
- TokenListTagNames["ARBITRUM"] = "Arbitrum";
13702
- TokenListTagNames["AVALANCHE"] = "Avalanche";
13703
- TokenListTagNames["BASE"] = "Base";
13704
- TokenListTagNames["TESTNET"] = "TESTNET"; // Coin/currency
13705
-
13706
- TokenListTagNames["STABLECOIN"] = "Stablecoin";
13707
- TokenListTagNames["USD"] = "USD";
13708
- TokenListTagNames["EUR"] = "EUR"; // Misc
13709
-
13710
- TokenListTagNames["TOP_10"] = "Top10";
13711
- TokenListTagNames["NATIVE_TOKEN"] = "Native Token";
13712
- })(TokenListTagNames || (TokenListTagNames = {}));
13713
-
13714
- /**
13715
- * Comparator function that allows sorting version from lowest to highest
13716
- * @param versionA version A to compare
13717
- * @param versionB version B to compare
13718
- * @returns -1 if versionA comes before versionB, 0 if versionA is equal to version B, and 1 if version A comes after version B
13719
- */
13720
- function versionComparator(versionA, versionB) {
13721
- if (versionA.major < versionB.major) {
13722
- return -1;
13723
- } else if (versionA.major > versionB.major) {
13724
- return 1;
13725
- } else if (versionA.minor < versionB.minor) {
13726
- return -1;
13727
- } else if (versionA.minor > versionB.minor) {
13728
- return 1;
13729
- } else if (versionA.patch < versionB.patch) {
13730
- return -1;
13731
- } else if (versionA.patch > versionB.patch) {
13732
- return 1;
13733
- } else {
13734
- return 0;
13735
- }
13736
- }
13737
-
13738
- /**
13739
- * Returns true if versionB is an update over versionA
13740
- */
13741
-
13742
- function isVersionUpdate(base, update) {
13743
- return versionComparator(base, update) < 0;
13744
- }
13745
-
13746
- /**
13747
- * Enum describing types of version differences
13748
- */
13749
- var VersionUpgrade;
13750
-
13751
- (function (VersionUpgrade) {
13752
- VersionUpgrade[VersionUpgrade["NONE"] = 0] = "NONE";
13753
- VersionUpgrade[VersionUpgrade["PATCH"] = 1] = "PATCH";
13754
- VersionUpgrade[VersionUpgrade["MINOR"] = 2] = "MINOR";
13755
- VersionUpgrade[VersionUpgrade["MAJOR"] = 3] = "MAJOR";
13756
- })(VersionUpgrade || (VersionUpgrade = {}));
13757
- /**
13758
- * Return the upgrade type from the base version to the update version.
13759
- * Note that downgrades and equivalent versions are both treated as `NONE`.
13760
- * @param base base list
13761
- * @param update update to the list
13762
- */
13763
-
13764
-
13765
- function getVersionUpgrade(base, update) {
13766
- if (update.major > base.major) {
13767
- return VersionUpgrade.MAJOR;
13768
- }
13769
-
13770
- if (update.major < base.major) {
13771
- return VersionUpgrade.NONE;
13772
- }
13773
-
13774
- if (update.minor > base.minor) {
13775
- return VersionUpgrade.MINOR;
13776
- }
13777
-
13778
- if (update.minor < base.minor) {
13779
- return VersionUpgrade.NONE;
13780
- }
13781
-
13782
- return update.patch > base.patch ? VersionUpgrade.PATCH : VersionUpgrade.NONE;
13783
- }
13784
-
13785
- /**
13786
- * compares two token info key values
13787
- * this subset of full deep equal functionality does not work on objects or object arrays
13788
- * @param a comparison item a
13789
- * @param b comparison item b
13790
- */
13791
- function compareTokenInfoProperty(a, b) {
13792
- if (a === b) return true;
13793
- if (typeof a !== typeof b) return false;
13794
-
13795
- if (Array.isArray(a) && Array.isArray(b)) {
13796
- return a.every(function (el, i) {
13797
- return b[i] === el;
13798
- });
13799
- }
13800
-
13801
- return false;
13802
- }
13803
- /**
13804
- * Computes the diff of a token list where the first argument is the base and the second argument is the updated list.
13805
- * @param base base list
13806
- * @param update updated list
13807
- */
13808
-
13809
-
13810
- function diffTokenLists(base, update) {
13811
- var indexedBase = base.reduce(function (memo, tokenInfo) {
13812
- if (!memo[tokenInfo.chainId]) memo[tokenInfo.chainId] = {};
13813
- memo[tokenInfo.chainId][tokenInfo.address] = tokenInfo;
13814
- return memo;
13815
- }, {});
13816
- var newListUpdates = update.reduce(function (memo, tokenInfo) {
13817
- var _indexedBase$tokenInf;
13818
-
13819
- var baseToken = (_indexedBase$tokenInf = indexedBase[tokenInfo.chainId]) == null ? void 0 : _indexedBase$tokenInf[tokenInfo.address];
13820
-
13821
- if (!baseToken) {
13822
- memo.added.push(tokenInfo);
13823
- } else {
13824
- var changes = Object.keys(tokenInfo).filter(function (s) {
13825
- return s !== "address" && s !== "chainId";
13826
- }).filter(function (s) {
13827
- return !compareTokenInfoProperty(tokenInfo[s], baseToken[s]);
13828
- });
13829
-
13830
- if (changes.length > 0) {
13831
- if (!memo.changed[tokenInfo.chainId]) {
13832
- memo.changed[tokenInfo.chainId] = {};
13833
- }
13834
-
13835
- memo.changed[tokenInfo.chainId][tokenInfo.address] = changes;
13836
- }
13837
- }
13838
-
13839
- if (!memo.index[tokenInfo.chainId]) {
13840
- var _memo$index$tokenInfo;
13841
-
13842
- memo.index[tokenInfo.chainId] = (_memo$index$tokenInfo = {}, _memo$index$tokenInfo[tokenInfo.address] = true, _memo$index$tokenInfo);
13692
+ var YodlRouterV06 = [
13693
+ {
13694
+ inputs: [
13695
+ ],
13696
+ stateMutability: "nonpayable",
13697
+ type: "constructor"
13698
+ },
13699
+ {
13700
+ anonymous: false,
13701
+ inputs: [
13702
+ {
13703
+ indexed: true,
13704
+ internalType: "address",
13705
+ name: "priceFeed0",
13706
+ type: "address"
13707
+ },
13708
+ {
13709
+ indexed: true,
13710
+ internalType: "address",
13711
+ name: "priceFeed1",
13712
+ type: "address"
13713
+ },
13714
+ {
13715
+ indexed: false,
13716
+ internalType: "int256",
13717
+ name: "exchangeRate0",
13718
+ type: "int256"
13719
+ },
13720
+ {
13721
+ indexed: false,
13722
+ internalType: "int256",
13723
+ name: "exchangeRate1",
13724
+ type: "int256"
13725
+ }
13726
+ ],
13727
+ name: "Convert",
13728
+ type: "event"
13729
+ },
13730
+ {
13731
+ anonymous: false,
13732
+ inputs: [
13733
+ {
13734
+ indexed: true,
13735
+ internalType: "string",
13736
+ name: "currency0",
13737
+ type: "string"
13738
+ },
13739
+ {
13740
+ indexed: true,
13741
+ internalType: "address",
13742
+ name: "priceFeed1",
13743
+ type: "address"
13744
+ },
13745
+ {
13746
+ indexed: false,
13747
+ internalType: "int256",
13748
+ name: "exchangeRate0",
13749
+ type: "int256"
13750
+ },
13751
+ {
13752
+ indexed: false,
13753
+ internalType: "int256",
13754
+ name: "exchangeRate1",
13755
+ type: "int256"
13756
+ }
13757
+ ],
13758
+ name: "ConvertWithExternalRate",
13759
+ type: "event"
13760
+ },
13761
+ {
13762
+ anonymous: false,
13763
+ inputs: [
13764
+ {
13765
+ indexed: true,
13766
+ internalType: "address",
13767
+ name: "sender",
13768
+ type: "address"
13769
+ },
13770
+ {
13771
+ indexed: true,
13772
+ internalType: "address",
13773
+ name: "receiver",
13774
+ type: "address"
13775
+ },
13776
+ {
13777
+ indexed: false,
13778
+ internalType: "address",
13779
+ name: "token",
13780
+ type: "address"
13781
+ },
13782
+ {
13783
+ indexed: false,
13784
+ internalType: "uint256",
13785
+ name: "amount",
13786
+ type: "uint256"
13787
+ },
13788
+ {
13789
+ indexed: false,
13790
+ internalType: "uint256",
13791
+ name: "fees",
13792
+ type: "uint256"
13793
+ },
13794
+ {
13795
+ indexed: false,
13796
+ internalType: "bytes32",
13797
+ name: "memo",
13798
+ type: "bytes32"
13799
+ }
13800
+ ],
13801
+ name: "Yodl",
13802
+ type: "event"
13803
+ },
13804
+ {
13805
+ anonymous: false,
13806
+ inputs: [
13807
+ {
13808
+ indexed: true,
13809
+ internalType: "address",
13810
+ name: "sender",
13811
+ type: "address"
13812
+ },
13813
+ {
13814
+ indexed: true,
13815
+ internalType: "address",
13816
+ name: "receiver",
13817
+ type: "address"
13818
+ },
13819
+ {
13820
+ indexed: true,
13821
+ internalType: "uint256",
13822
+ name: "amount",
13823
+ type: "uint256"
13824
+ }
13825
+ ],
13826
+ name: "YodlNativeTokenTransfer",
13827
+ type: "event"
13828
+ },
13829
+ {
13830
+ inputs: [
13831
+ ],
13832
+ name: "CHAINLINK_FEED",
13833
+ outputs: [
13834
+ {
13835
+ internalType: "int8",
13836
+ name: "",
13837
+ type: "int8"
13838
+ }
13839
+ ],
13840
+ stateMutability: "view",
13841
+ type: "function"
13842
+ },
13843
+ {
13844
+ inputs: [
13845
+ ],
13846
+ name: "EXTERNAL_FEED",
13847
+ outputs: [
13848
+ {
13849
+ internalType: "int8",
13850
+ name: "",
13851
+ type: "int8"
13852
+ }
13853
+ ],
13854
+ stateMutability: "view",
13855
+ type: "function"
13856
+ },
13857
+ {
13858
+ inputs: [
13859
+ ],
13860
+ name: "MAX_EXTRA_FEE_BPS",
13861
+ outputs: [
13862
+ {
13863
+ internalType: "uint256",
13864
+ name: "",
13865
+ type: "uint256"
13866
+ }
13867
+ ],
13868
+ stateMutability: "view",
13869
+ type: "function"
13870
+ },
13871
+ {
13872
+ inputs: [
13873
+ ],
13874
+ name: "NATIVE_TOKEN",
13875
+ outputs: [
13876
+ {
13877
+ internalType: "address",
13878
+ name: "",
13879
+ type: "address"
13880
+ }
13881
+ ],
13882
+ stateMutability: "view",
13883
+ type: "function"
13884
+ },
13885
+ {
13886
+ inputs: [
13887
+ ],
13888
+ name: "RATE_VERIFIER",
13889
+ outputs: [
13890
+ {
13891
+ internalType: "address",
13892
+ name: "",
13893
+ type: "address"
13894
+ }
13895
+ ],
13896
+ stateMutability: "view",
13897
+ type: "function"
13898
+ },
13899
+ {
13900
+ inputs: [
13901
+ {
13902
+ internalType: "uint256",
13903
+ name: "amount",
13904
+ type: "uint256"
13905
+ },
13906
+ {
13907
+ internalType: "uint256",
13908
+ name: "feeBps",
13909
+ type: "uint256"
13910
+ }
13911
+ ],
13912
+ name: "calculateFee",
13913
+ outputs: [
13914
+ {
13915
+ internalType: "uint256",
13916
+ name: "",
13917
+ type: "uint256"
13918
+ }
13919
+ ],
13920
+ stateMutability: "pure",
13921
+ type: "function"
13922
+ },
13923
+ {
13924
+ inputs: [
13925
+ {
13926
+ components: [
13927
+ {
13928
+ internalType: "address",
13929
+ name: "feedAddress",
13930
+ type: "address"
13931
+ },
13932
+ {
13933
+ internalType: "int8",
13934
+ name: "feedType",
13935
+ type: "int8"
13936
+ },
13937
+ {
13938
+ internalType: "string",
13939
+ name: "currency",
13940
+ type: "string"
13941
+ },
13942
+ {
13943
+ internalType: "uint256",
13944
+ name: "amount",
13945
+ type: "uint256"
13946
+ },
13947
+ {
13948
+ internalType: "uint256",
13949
+ name: "deadline",
13950
+ type: "uint256"
13951
+ },
13952
+ {
13953
+ internalType: "bytes",
13954
+ name: "signature",
13955
+ type: "bytes"
13956
+ }
13957
+ ],
13958
+ internalType: "struct AbstractYodlRouter.PriceFeed[2]",
13959
+ name: "priceFeeds",
13960
+ type: "tuple[2]"
13961
+ },
13962
+ {
13963
+ internalType: "uint256",
13964
+ name: "amount",
13965
+ type: "uint256"
13966
+ }
13967
+ ],
13968
+ name: "exchangeRate",
13969
+ outputs: [
13970
+ {
13971
+ internalType: "uint256",
13972
+ name: "converted",
13973
+ type: "uint256"
13974
+ },
13975
+ {
13976
+ internalType: "address[2]",
13977
+ name: "priceFeedsUsed",
13978
+ type: "address[2]"
13979
+ },
13980
+ {
13981
+ internalType: "int256[2]",
13982
+ name: "prices",
13983
+ type: "int256[2]"
13984
+ }
13985
+ ],
13986
+ stateMutability: "nonpayable",
13987
+ type: "function"
13988
+ },
13989
+ {
13990
+ inputs: [
13991
+ {
13992
+ internalType: "address",
13993
+ name: "token",
13994
+ type: "address"
13995
+ }
13996
+ ],
13997
+ name: "sweep",
13998
+ outputs: [
13999
+ ],
14000
+ stateMutability: "nonpayable",
14001
+ type: "function"
14002
+ },
14003
+ {
14004
+ inputs: [
14005
+ {
14006
+ internalType: "uint256",
14007
+ name: "amount",
14008
+ type: "uint256"
14009
+ },
14010
+ {
14011
+ internalType: "uint256",
14012
+ name: "feeBps",
14013
+ type: "uint256"
14014
+ },
14015
+ {
14016
+ internalType: "address",
14017
+ name: "token",
14018
+ type: "address"
14019
+ },
14020
+ {
14021
+ internalType: "address",
14022
+ name: "from",
14023
+ type: "address"
14024
+ },
14025
+ {
14026
+ internalType: "address",
14027
+ name: "to",
14028
+ type: "address"
14029
+ }
14030
+ ],
14031
+ name: "transferFee",
14032
+ outputs: [
14033
+ {
14034
+ internalType: "uint256",
14035
+ name: "",
14036
+ type: "uint256"
14037
+ }
14038
+ ],
14039
+ stateMutability: "nonpayable",
14040
+ type: "function"
14041
+ },
14042
+ {
14043
+ inputs: [
14044
+ ],
14045
+ name: "uniswapRouter",
14046
+ outputs: [
14047
+ {
14048
+ internalType: "contract ISwapRouter02",
14049
+ name: "",
14050
+ type: "address"
14051
+ }
14052
+ ],
14053
+ stateMutability: "view",
14054
+ type: "function"
14055
+ },
14056
+ {
14057
+ inputs: [
14058
+ {
14059
+ components: [
14060
+ {
14061
+ internalType: "address",
14062
+ name: "feedAddress",
14063
+ type: "address"
14064
+ },
14065
+ {
14066
+ internalType: "int8",
14067
+ name: "feedType",
14068
+ type: "int8"
14069
+ },
14070
+ {
14071
+ internalType: "string",
14072
+ name: "currency",
14073
+ type: "string"
14074
+ },
14075
+ {
14076
+ internalType: "uint256",
14077
+ name: "amount",
14078
+ type: "uint256"
14079
+ },
14080
+ {
14081
+ internalType: "uint256",
14082
+ name: "deadline",
14083
+ type: "uint256"
14084
+ },
14085
+ {
14086
+ internalType: "bytes",
14087
+ name: "signature",
14088
+ type: "bytes"
14089
+ }
14090
+ ],
14091
+ internalType: "struct AbstractYodlRouter.PriceFeed",
14092
+ name: "priceFeed",
14093
+ type: "tuple"
14094
+ }
14095
+ ],
14096
+ name: "verifyRateSignature",
14097
+ outputs: [
14098
+ {
14099
+ internalType: "bool",
14100
+ name: "",
14101
+ type: "bool"
14102
+ }
14103
+ ],
14104
+ stateMutability: "view",
14105
+ type: "function"
14106
+ },
14107
+ {
14108
+ inputs: [
14109
+ ],
14110
+ name: "version",
14111
+ outputs: [
14112
+ {
14113
+ internalType: "string",
14114
+ name: "",
14115
+ type: "string"
14116
+ }
14117
+ ],
14118
+ stateMutability: "view",
14119
+ type: "function"
14120
+ },
14121
+ {
14122
+ inputs: [
14123
+ ],
14124
+ name: "wrappedNativeToken",
14125
+ outputs: [
14126
+ {
14127
+ internalType: "contract IWETH9",
14128
+ name: "",
14129
+ type: "address"
14130
+ }
14131
+ ],
14132
+ stateMutability: "view",
14133
+ type: "function"
14134
+ },
14135
+ {
14136
+ inputs: [
14137
+ ],
14138
+ name: "yodlFeeBps",
14139
+ outputs: [
14140
+ {
14141
+ internalType: "uint256",
14142
+ name: "",
14143
+ type: "uint256"
14144
+ }
14145
+ ],
14146
+ stateMutability: "view",
14147
+ type: "function"
14148
+ },
14149
+ {
14150
+ inputs: [
14151
+ ],
14152
+ name: "yodlFeeTreasury",
14153
+ outputs: [
14154
+ {
14155
+ internalType: "address",
14156
+ name: "",
14157
+ type: "address"
14158
+ }
14159
+ ],
14160
+ stateMutability: "view",
14161
+ type: "function"
14162
+ },
14163
+ {
14164
+ inputs: [
14165
+ {
14166
+ components: [
14167
+ {
14168
+ internalType: "address",
14169
+ name: "sender",
14170
+ type: "address"
14171
+ },
14172
+ {
14173
+ internalType: "address",
14174
+ name: "receiver",
14175
+ type: "address"
14176
+ },
14177
+ {
14178
+ internalType: "uint256",
14179
+ name: "amountIn",
14180
+ type: "uint256"
14181
+ },
14182
+ {
14183
+ internalType: "uint256",
14184
+ name: "amountOut",
14185
+ type: "uint256"
14186
+ },
14187
+ {
14188
+ internalType: "bytes32",
14189
+ name: "memo",
14190
+ type: "bytes32"
14191
+ },
14192
+ {
14193
+ internalType: "bytes",
14194
+ name: "path",
14195
+ type: "bytes"
14196
+ },
14197
+ {
14198
+ components: [
14199
+ {
14200
+ internalType: "address",
14201
+ name: "feedAddress",
14202
+ type: "address"
14203
+ },
14204
+ {
14205
+ internalType: "int8",
14206
+ name: "feedType",
14207
+ type: "int8"
14208
+ },
14209
+ {
14210
+ internalType: "string",
14211
+ name: "currency",
14212
+ type: "string"
14213
+ },
14214
+ {
14215
+ internalType: "uint256",
14216
+ name: "amount",
14217
+ type: "uint256"
14218
+ },
14219
+ {
14220
+ internalType: "uint256",
14221
+ name: "deadline",
14222
+ type: "uint256"
14223
+ },
14224
+ {
14225
+ internalType: "bytes",
14226
+ name: "signature",
14227
+ type: "bytes"
14228
+ }
14229
+ ],
14230
+ internalType: "struct AbstractYodlRouter.PriceFeed[2]",
14231
+ name: "priceFeeds",
14232
+ type: "tuple[2]"
14233
+ },
14234
+ {
14235
+ internalType: "address",
14236
+ name: "extraFeeReceiver",
14237
+ type: "address"
14238
+ },
14239
+ {
14240
+ internalType: "uint256",
14241
+ name: "extraFeeBps",
14242
+ type: "uint256"
14243
+ },
14244
+ {
14245
+ internalType: "enum YodlUniswapRouter.SwapType",
14246
+ name: "swapType",
14247
+ type: "uint8"
14248
+ },
14249
+ {
14250
+ internalType: "uint256",
14251
+ name: "yd",
14252
+ type: "uint256"
14253
+ },
14254
+ {
14255
+ components: [
14256
+ {
14257
+ internalType: "address",
14258
+ name: "yApp",
14259
+ type: "address"
14260
+ },
14261
+ {
14262
+ internalType: "uint256",
14263
+ name: "sessionId",
14264
+ type: "uint256"
14265
+ },
14266
+ {
14267
+ internalType: "bytes[]",
14268
+ name: "payload",
14269
+ type: "bytes[]"
14270
+ }
14271
+ ],
14272
+ internalType: "struct AbstractYodlRouter.YApp[]",
14273
+ name: "yAppList",
14274
+ type: "tuple[]"
14275
+ }
14276
+ ],
14277
+ internalType: "struct YodlUniswapRouter.YodlUniswapParams",
14278
+ name: "params",
14279
+ type: "tuple"
14280
+ }
14281
+ ],
14282
+ name: "yodlWithPancake",
14283
+ outputs: [
14284
+ {
14285
+ internalType: "uint256",
14286
+ name: "",
14287
+ type: "uint256"
14288
+ }
14289
+ ],
14290
+ stateMutability: "payable",
14291
+ type: "function"
14292
+ },
14293
+ {
14294
+ inputs: [
14295
+ {
14296
+ components: [
14297
+ {
14298
+ internalType: "bytes32",
14299
+ name: "memo",
14300
+ type: "bytes32"
14301
+ },
14302
+ {
14303
+ internalType: "uint256",
14304
+ name: "amount",
14305
+ type: "uint256"
14306
+ },
14307
+ {
14308
+ components: [
14309
+ {
14310
+ internalType: "address",
14311
+ name: "feedAddress",
14312
+ type: "address"
14313
+ },
14314
+ {
14315
+ internalType: "int8",
14316
+ name: "feedType",
14317
+ type: "int8"
14318
+ },
14319
+ {
14320
+ internalType: "string",
14321
+ name: "currency",
14322
+ type: "string"
14323
+ },
14324
+ {
14325
+ internalType: "uint256",
14326
+ name: "amount",
14327
+ type: "uint256"
14328
+ },
14329
+ {
14330
+ internalType: "uint256",
14331
+ name: "deadline",
14332
+ type: "uint256"
14333
+ },
14334
+ {
14335
+ internalType: "bytes",
14336
+ name: "signature",
14337
+ type: "bytes"
14338
+ }
14339
+ ],
14340
+ internalType: "struct AbstractYodlRouter.PriceFeed[2]",
14341
+ name: "priceFeeds",
14342
+ type: "tuple[2]"
14343
+ },
14344
+ {
14345
+ internalType: "address",
14346
+ name: "token",
14347
+ type: "address"
14348
+ },
14349
+ {
14350
+ internalType: "address",
14351
+ name: "receiver",
14352
+ type: "address"
14353
+ },
14354
+ {
14355
+ internalType: "address",
14356
+ name: "extraFeeReceiver",
14357
+ type: "address"
14358
+ },
14359
+ {
14360
+ internalType: "uint256",
14361
+ name: "extraFeeBps",
14362
+ type: "uint256"
14363
+ },
14364
+ {
14365
+ internalType: "uint256",
14366
+ name: "yd",
14367
+ type: "uint256"
14368
+ },
14369
+ {
14370
+ components: [
14371
+ {
14372
+ internalType: "address",
14373
+ name: "yApp",
14374
+ type: "address"
14375
+ },
14376
+ {
14377
+ internalType: "uint256",
14378
+ name: "sessionId",
14379
+ type: "uint256"
14380
+ },
14381
+ {
14382
+ internalType: "bytes[]",
14383
+ name: "payload",
14384
+ type: "bytes[]"
14385
+ }
14386
+ ],
14387
+ internalType: "struct AbstractYodlRouter.YApp[]",
14388
+ name: "yAppList",
14389
+ type: "tuple[]"
14390
+ }
14391
+ ],
14392
+ internalType: "struct YodlTransferRouter.YodlTransferParams",
14393
+ name: "params",
14394
+ type: "tuple"
14395
+ }
14396
+ ],
14397
+ name: "yodlWithToken",
14398
+ outputs: [
14399
+ {
14400
+ internalType: "uint256",
14401
+ name: "",
14402
+ type: "uint256"
14403
+ }
14404
+ ],
14405
+ stateMutability: "payable",
14406
+ type: "function"
14407
+ },
14408
+ {
14409
+ inputs: [
14410
+ {
14411
+ components: [
14412
+ {
14413
+ internalType: "address",
14414
+ name: "sender",
14415
+ type: "address"
14416
+ },
14417
+ {
14418
+ internalType: "address",
14419
+ name: "receiver",
14420
+ type: "address"
14421
+ },
14422
+ {
14423
+ internalType: "uint256",
14424
+ name: "amountIn",
14425
+ type: "uint256"
14426
+ },
14427
+ {
14428
+ internalType: "uint256",
14429
+ name: "amountOut",
14430
+ type: "uint256"
14431
+ },
14432
+ {
14433
+ internalType: "bytes32",
14434
+ name: "memo",
14435
+ type: "bytes32"
14436
+ },
14437
+ {
14438
+ internalType: "bytes",
14439
+ name: "path",
14440
+ type: "bytes"
14441
+ },
14442
+ {
14443
+ components: [
14444
+ {
14445
+ internalType: "address",
14446
+ name: "feedAddress",
14447
+ type: "address"
14448
+ },
14449
+ {
14450
+ internalType: "int8",
14451
+ name: "feedType",
14452
+ type: "int8"
14453
+ },
14454
+ {
14455
+ internalType: "string",
14456
+ name: "currency",
14457
+ type: "string"
14458
+ },
14459
+ {
14460
+ internalType: "uint256",
14461
+ name: "amount",
14462
+ type: "uint256"
14463
+ },
14464
+ {
14465
+ internalType: "uint256",
14466
+ name: "deadline",
14467
+ type: "uint256"
14468
+ },
14469
+ {
14470
+ internalType: "bytes",
14471
+ name: "signature",
14472
+ type: "bytes"
14473
+ }
14474
+ ],
14475
+ internalType: "struct AbstractYodlRouter.PriceFeed[2]",
14476
+ name: "priceFeeds",
14477
+ type: "tuple[2]"
14478
+ },
14479
+ {
14480
+ internalType: "address",
14481
+ name: "extraFeeReceiver",
14482
+ type: "address"
14483
+ },
14484
+ {
14485
+ internalType: "uint256",
14486
+ name: "extraFeeBps",
14487
+ type: "uint256"
14488
+ },
14489
+ {
14490
+ internalType: "enum YodlUniswapRouter.SwapType",
14491
+ name: "swapType",
14492
+ type: "uint8"
14493
+ },
14494
+ {
14495
+ internalType: "uint256",
14496
+ name: "yd",
14497
+ type: "uint256"
14498
+ },
14499
+ {
14500
+ components: [
14501
+ {
14502
+ internalType: "address",
14503
+ name: "yApp",
14504
+ type: "address"
14505
+ },
14506
+ {
14507
+ internalType: "uint256",
14508
+ name: "sessionId",
14509
+ type: "uint256"
14510
+ },
14511
+ {
14512
+ internalType: "bytes[]",
14513
+ name: "payload",
14514
+ type: "bytes[]"
14515
+ }
14516
+ ],
14517
+ internalType: "struct AbstractYodlRouter.YApp[]",
14518
+ name: "yAppList",
14519
+ type: "tuple[]"
14520
+ }
14521
+ ],
14522
+ internalType: "struct YodlUniswapRouter.YodlUniswapParams",
14523
+ name: "params",
14524
+ type: "tuple"
14525
+ }
14526
+ ],
14527
+ name: "yodlWithUniswap",
14528
+ outputs: [
14529
+ {
14530
+ internalType: "uint256",
14531
+ name: "",
14532
+ type: "uint256"
14533
+ }
14534
+ ],
14535
+ stateMutability: "payable",
14536
+ type: "function"
14537
+ },
14538
+ {
14539
+ stateMutability: "payable",
14540
+ type: "receive"
14541
+ },
14542
+ {
14543
+ inputs: [
14544
+ {
14545
+ components: [
14546
+ {
14547
+ internalType: "address",
14548
+ name: "sender",
14549
+ type: "address"
14550
+ },
14551
+ {
14552
+ internalType: "address",
14553
+ name: "receiver",
14554
+ type: "address"
14555
+ },
14556
+ {
14557
+ internalType: "uint256",
14558
+ name: "amountIn",
14559
+ type: "uint256"
14560
+ },
14561
+ {
14562
+ internalType: "uint256",
14563
+ name: "amountOut",
14564
+ type: "uint256"
14565
+ },
14566
+ {
14567
+ internalType: "bytes32",
14568
+ name: "memo",
14569
+ type: "bytes32"
14570
+ },
14571
+ {
14572
+ internalType: "address[9]",
14573
+ name: "route",
14574
+ type: "address[9]"
14575
+ },
14576
+ {
14577
+ internalType: "uint256[3][4]",
14578
+ name: "swapParams",
14579
+ type: "uint256[3][4]"
14580
+ },
14581
+ {
14582
+ internalType: "address[4]",
14583
+ name: "factoryAddresses",
14584
+ type: "address[4]"
14585
+ },
14586
+ {
14587
+ components: [
14588
+ {
14589
+ internalType: "address",
14590
+ name: "feedAddress",
14591
+ type: "address"
14592
+ },
14593
+ {
14594
+ internalType: "int8",
14595
+ name: "feedType",
14596
+ type: "int8"
14597
+ },
14598
+ {
14599
+ internalType: "string",
14600
+ name: "currency",
14601
+ type: "string"
14602
+ },
14603
+ {
14604
+ internalType: "uint256",
14605
+ name: "amount",
14606
+ type: "uint256"
14607
+ },
14608
+ {
14609
+ internalType: "uint256",
14610
+ name: "deadline",
14611
+ type: "uint256"
14612
+ },
14613
+ {
14614
+ internalType: "bytes",
14615
+ name: "signature",
14616
+ type: "bytes"
14617
+ }
14618
+ ],
14619
+ internalType: "struct AbstractYodlRouter.PriceFeed[2]",
14620
+ name: "priceFeeds",
14621
+ type: "tuple[2]"
14622
+ },
14623
+ {
14624
+ internalType: "address",
14625
+ name: "extraFeeReceiver",
14626
+ type: "address"
14627
+ },
14628
+ {
14629
+ internalType: "uint256",
14630
+ name: "extraFeeBps",
14631
+ type: "uint256"
14632
+ },
14633
+ {
14634
+ internalType: "uint256",
14635
+ name: "yd",
14636
+ type: "uint256"
14637
+ },
14638
+ {
14639
+ components: [
14640
+ {
14641
+ internalType: "address",
14642
+ name: "yApp",
14643
+ type: "address"
14644
+ },
14645
+ {
14646
+ internalType: "uint256",
14647
+ name: "sessionId",
14648
+ type: "uint256"
14649
+ },
14650
+ {
14651
+ internalType: "bytes[]",
14652
+ name: "payload",
14653
+ type: "bytes[]"
14654
+ }
14655
+ ],
14656
+ internalType: "struct AbstractYodlRouter.YApp[]",
14657
+ name: "yAppList",
14658
+ type: "tuple[]"
14659
+ }
14660
+ ],
14661
+ internalType: "struct YodlCurveRouter.YodlCurveParams",
14662
+ name: "params",
14663
+ type: "tuple"
14664
+ }
14665
+ ],
14666
+ name: "yodlWithCurve",
14667
+ outputs: [
14668
+ {
14669
+ internalType: "uint256",
14670
+ name: "",
14671
+ type: "uint256"
14672
+ }
14673
+ ],
14674
+ stateMutability: "payable",
14675
+ type: "function"
14676
+ }
14677
+ ];
14678
+
14679
+ var YODL_ROUTER_ABIS = {
14680
+ "0.1": YodlRouterV01,
14681
+ "0.2": YodlRouterV02,
14682
+ "0.3": YodlRouterV03,
14683
+ "0.4": YodlRouterV04,
14684
+ "0.5": YodlRouterV05,
14685
+ "0.6": YodlRouterV06,
14686
+ "test": YodlRouterV03
14687
+ };
14688
+ var CURVE_ROUTER_ABI = CurveRouterV13Abi;
14689
+
14690
+ var TokenListTagNames;
14691
+
14692
+ (function (TokenListTagNames) {
14693
+ // Networks
14694
+ TokenListTagNames["MAINNET"] = "Mainnet";
14695
+ TokenListTagNames["OPTIMISM"] = "Optimism";
14696
+ TokenListTagNames["ARBITRUM"] = "Arbitrum";
14697
+ TokenListTagNames["AVALANCHE"] = "Avalanche";
14698
+ TokenListTagNames["BASE"] = "Base";
14699
+ TokenListTagNames["TESTNET"] = "TESTNET"; // Coin/currency
14700
+
14701
+ TokenListTagNames["STABLECOIN"] = "Stablecoin";
14702
+ TokenListTagNames["USD"] = "USD";
14703
+ TokenListTagNames["EUR"] = "EUR"; // Misc
14704
+
14705
+ TokenListTagNames["TOP_10"] = "Top10";
14706
+ TokenListTagNames["NATIVE_TOKEN"] = "Native Token";
14707
+ })(TokenListTagNames || (TokenListTagNames = {}));
14708
+
14709
+ /**
14710
+ * Comparator function that allows sorting version from lowest to highest
14711
+ * @param versionA version A to compare
14712
+ * @param versionB version B to compare
14713
+ * @returns -1 if versionA comes before versionB, 0 if versionA is equal to version B, and 1 if version A comes after version B
14714
+ */
14715
+ function versionComparator(versionA, versionB) {
14716
+ if (versionA.major < versionB.major) {
14717
+ return -1;
14718
+ } else if (versionA.major > versionB.major) {
14719
+ return 1;
14720
+ } else if (versionA.minor < versionB.minor) {
14721
+ return -1;
14722
+ } else if (versionA.minor > versionB.minor) {
14723
+ return 1;
14724
+ } else if (versionA.patch < versionB.patch) {
14725
+ return -1;
14726
+ } else if (versionA.patch > versionB.patch) {
14727
+ return 1;
14728
+ } else {
14729
+ return 0;
14730
+ }
14731
+ }
14732
+
14733
+ /**
14734
+ * Returns true if versionB is an update over versionA
14735
+ */
14736
+
14737
+ function isVersionUpdate(base, update) {
14738
+ return versionComparator(base, update) < 0;
14739
+ }
14740
+
14741
+ /**
14742
+ * Enum describing types of version differences
14743
+ */
14744
+ var VersionUpgrade;
14745
+
14746
+ (function (VersionUpgrade) {
14747
+ VersionUpgrade[VersionUpgrade["NONE"] = 0] = "NONE";
14748
+ VersionUpgrade[VersionUpgrade["PATCH"] = 1] = "PATCH";
14749
+ VersionUpgrade[VersionUpgrade["MINOR"] = 2] = "MINOR";
14750
+ VersionUpgrade[VersionUpgrade["MAJOR"] = 3] = "MAJOR";
14751
+ })(VersionUpgrade || (VersionUpgrade = {}));
14752
+ /**
14753
+ * Return the upgrade type from the base version to the update version.
14754
+ * Note that downgrades and equivalent versions are both treated as `NONE`.
14755
+ * @param base base list
14756
+ * @param update update to the list
14757
+ */
14758
+
14759
+
14760
+ function getVersionUpgrade(base, update) {
14761
+ if (update.major > base.major) {
14762
+ return VersionUpgrade.MAJOR;
14763
+ }
14764
+
14765
+ if (update.major < base.major) {
14766
+ return VersionUpgrade.NONE;
14767
+ }
14768
+
14769
+ if (update.minor > base.minor) {
14770
+ return VersionUpgrade.MINOR;
14771
+ }
14772
+
14773
+ if (update.minor < base.minor) {
14774
+ return VersionUpgrade.NONE;
14775
+ }
14776
+
14777
+ return update.patch > base.patch ? VersionUpgrade.PATCH : VersionUpgrade.NONE;
14778
+ }
14779
+
14780
+ /**
14781
+ * compares two token info key values
14782
+ * this subset of full deep equal functionality does not work on objects or object arrays
14783
+ * @param a comparison item a
14784
+ * @param b comparison item b
14785
+ */
14786
+ function compareTokenInfoProperty(a, b) {
14787
+ if (a === b) return true;
14788
+ if (typeof a !== typeof b) return false;
14789
+
14790
+ if (Array.isArray(a) && Array.isArray(b)) {
14791
+ return a.every(function (el, i) {
14792
+ return b[i] === el;
14793
+ });
14794
+ }
14795
+
14796
+ return false;
14797
+ }
14798
+ /**
14799
+ * Computes the diff of a token list where the first argument is the base and the second argument is the updated list.
14800
+ * @param base base list
14801
+ * @param update updated list
14802
+ */
14803
+
14804
+
14805
+ function diffTokenLists(base, update) {
14806
+ var indexedBase = base.reduce(function (memo, tokenInfo) {
14807
+ if (!memo[tokenInfo.chainId]) memo[tokenInfo.chainId] = {};
14808
+ memo[tokenInfo.chainId][tokenInfo.address] = tokenInfo;
14809
+ return memo;
14810
+ }, {});
14811
+ var newListUpdates = update.reduce(function (memo, tokenInfo) {
14812
+ var _indexedBase$tokenInf;
14813
+
14814
+ var baseToken = (_indexedBase$tokenInf = indexedBase[tokenInfo.chainId]) == null ? void 0 : _indexedBase$tokenInf[tokenInfo.address];
14815
+
14816
+ if (!baseToken) {
14817
+ memo.added.push(tokenInfo);
14818
+ } else {
14819
+ var changes = Object.keys(tokenInfo).filter(function (s) {
14820
+ return s !== "address" && s !== "chainId";
14821
+ }).filter(function (s) {
14822
+ return !compareTokenInfoProperty(tokenInfo[s], baseToken[s]);
14823
+ });
14824
+
14825
+ if (changes.length > 0) {
14826
+ if (!memo.changed[tokenInfo.chainId]) {
14827
+ memo.changed[tokenInfo.chainId] = {};
14828
+ }
14829
+
14830
+ memo.changed[tokenInfo.chainId][tokenInfo.address] = changes;
14831
+ }
14832
+ }
14833
+
14834
+ if (!memo.index[tokenInfo.chainId]) {
14835
+ var _memo$index$tokenInfo;
14836
+
14837
+ memo.index[tokenInfo.chainId] = (_memo$index$tokenInfo = {}, _memo$index$tokenInfo[tokenInfo.address] = true, _memo$index$tokenInfo);
13843
14838
  } else {
13844
14839
  memo.index[tokenInfo.chainId][tokenInfo.address] = true;
13845
14840
  }
@@ -13995,6 +14990,11 @@ function getTokens(chainId) {
13995
14990
  return needle.chainId === chainId;
13996
14991
  }) : tokenlist;
13997
14992
  }
14993
+ function getFaucetAddress(tokenInfo) {
14994
+ return testnetfaucets.faucets.find(function (needle) {
14995
+ return needle.token.toLowerCase() === tokenInfo.address.toLowerCase() && needle.chainId === tokenInfo.chainId;
14996
+ });
14997
+ }
13998
14998
  function getRouters(chainId) {
13999
14999
  return routerlist.routers.filter(function (needle) {
14000
15000
  return needle.chainId === chainId;
@@ -14054,5 +15054,5 @@ function getNativeWrappedToken(chainId) {
14054
15054
  return nativeTokens[0];
14055
15055
  }
14056
15056
 
14057
- export { CURVE_ROUTER_ABI, TokenListTagNames, VersionUpgrade, YODL_ROUTER_ABIS, diffTokenLists, getChain, getChains, getFeaturedTokenBySymbol, getFiatCurrencies, getFiatCurrency, getFiatFeeds, getLatestRouter, getNativeToken, getNativeWrappedToken, getPriceFeed, getPriceFeeds, getRouter, getRouterByAddress, getRouters, getShortNames, getTokenByAddress, getTokenBySymbol, getTokenFeeds, getTokens, getVersionUpgrade, isVersionUpdate, minVersionBump, nextVersion, versionComparator };
15057
+ export { CURVE_ROUTER_ABI, TokenListTagNames, VersionUpgrade, YODL_ROUTER_ABIS, diffTokenLists, getChain, getChains, getFaucetAddress, getFeaturedTokenBySymbol, getFiatCurrencies, getFiatCurrency, getFiatFeeds, getLatestRouter, getNativeToken, getNativeWrappedToken, getPriceFeed, getPriceFeeds, getRouter, getRouterByAddress, getRouters, getShortNames, getTokenByAddress, getTokenBySymbol, getTokenFeeds, getTokens, getVersionUpgrade, isVersionUpdate, minVersionBump, nextVersion, versionComparator };
14058
15058
  //# sourceMappingURL=tokenlists.esm.js.map