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