@yodlpay/tokenlists 0.6.23 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chainlist-v1.json +29 -38
- package/dist/index.d.ts +2 -2
- package/dist/routerlist-v1.json +21 -21
- package/dist/tokenlists.cjs.development.js +967 -59
- 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 +967 -59
- package/dist/tokenlists.esm.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3281,22 +3281,11 @@ var chains = [
|
|
|
3281
3281
|
nativeTokenName: "ETH",
|
|
3282
3282
|
timestamp: "2024-06-20T08:16:18.193Z",
|
|
3283
3283
|
feeTreasury: "0x9C48d180e4eEE0dA2A899EE1E4c533cA5e92db77",
|
|
3284
|
-
curveRouterAddress: "
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
testnet: true,
|
|
3290
|
-
chainId: 5,
|
|
3291
|
-
logoUri: "https://raw.githubusercontent.com/yodlpay/logos/main/logos/chains/5/logo.svg",
|
|
3292
|
-
rpcUrls: [
|
|
3293
|
-
"https://rpc.ankr.com/eth_goerli"
|
|
3294
|
-
],
|
|
3295
|
-
wrappedNativeToken: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
|
|
3296
|
-
explorerUrl: "https://goerli.etherscan.io",
|
|
3297
|
-
nativeTokenName: "ETH",
|
|
3298
|
-
timestamp: "2022-12-28T14:10:09+00:00",
|
|
3299
|
-
feeTreasury: "0x3E8A61F0532BA2b58660606d61110cC9E90c4D29"
|
|
3284
|
+
curveRouterAddress: "0x16C6521Dff6baB339122a0FE25a9116693265353",
|
|
3285
|
+
dexes: [
|
|
3286
|
+
"UNISWAP",
|
|
3287
|
+
"CURVE"
|
|
3288
|
+
]
|
|
3300
3289
|
},
|
|
3301
3290
|
{
|
|
3302
3291
|
chainName: "Arbitrum One",
|
|
@@ -3312,7 +3301,11 @@ var chains = [
|
|
|
3312
3301
|
nativeTokenName: "ETH",
|
|
3313
3302
|
timestamp: "2024-06-20T08:16:18.932Z",
|
|
3314
3303
|
feeTreasury: "0x5f0947253a8218894af13438ac2e2e0ced30d234",
|
|
3315
|
-
curveRouterAddress: "
|
|
3304
|
+
curveRouterAddress: "0x2191718CD32d02B8E60BAdFFeA33E4B5DD9A0A0D",
|
|
3305
|
+
dexes: [
|
|
3306
|
+
"UNISWAP",
|
|
3307
|
+
"CURVE"
|
|
3308
|
+
]
|
|
3316
3309
|
},
|
|
3317
3310
|
{
|
|
3318
3311
|
chainName: "Optimism",
|
|
@@ -3328,22 +3321,11 @@ var chains = [
|
|
|
3328
3321
|
nativeTokenName: "ETH",
|
|
3329
3322
|
timestamp: "2024-06-20T08:16:19.165Z",
|
|
3330
3323
|
feeTreasury: "0x5f0947253a8218894af13438ac2e2e0ced30d234",
|
|
3331
|
-
curveRouterAddress: "
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
testnet: false,
|
|
3337
|
-
chainId: 43114,
|
|
3338
|
-
logoUri: "https://raw.githubusercontent.com/yodlpay/logos/main/logos/chains/43113/logo.svg",
|
|
3339
|
-
rpcUrls: [
|
|
3340
|
-
"https://api.avax.network/ext/bc/C/rpc"
|
|
3341
|
-
],
|
|
3342
|
-
wrappedNativeToken: "0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB",
|
|
3343
|
-
explorerUrl: "https://snowtrace.io",
|
|
3344
|
-
nativeTokenName: "AVAX",
|
|
3345
|
-
timestamp: "2023-01-13T14:52:05+00:00",
|
|
3346
|
-
feeTreasury: "0x25e22F3ceE59F34622f7DC9a2078B85f17BfBe95"
|
|
3324
|
+
curveRouterAddress: "0x0DCDED3545D565bA3B19E683431381007245d983",
|
|
3325
|
+
dexes: [
|
|
3326
|
+
"UNISWAP",
|
|
3327
|
+
"CURVE"
|
|
3328
|
+
]
|
|
3347
3329
|
},
|
|
3348
3330
|
{
|
|
3349
3331
|
chainName: "Gnosis",
|
|
@@ -3359,7 +3341,10 @@ var chains = [
|
|
|
3359
3341
|
nativeTokenName: "xDAI",
|
|
3360
3342
|
timestamp: "2024-06-20T08:16:18.872Z",
|
|
3361
3343
|
feeTreasury: "0x775aaf73a50C25eEBd308BBb9C34C73D081B423b",
|
|
3362
|
-
curveRouterAddress: "
|
|
3344
|
+
curveRouterAddress: "0x0DCDED3545D565bA3B19E683431381007245d983",
|
|
3345
|
+
dexes: [
|
|
3346
|
+
"CURVE"
|
|
3347
|
+
]
|
|
3363
3348
|
},
|
|
3364
3349
|
{
|
|
3365
3350
|
chainName: "Base",
|
|
@@ -3375,7 +3360,11 @@ var chains = [
|
|
|
3375
3360
|
nativeTokenName: "ETH",
|
|
3376
3361
|
timestamp: "2024-06-20T08:16:19.051Z",
|
|
3377
3362
|
feeTreasury: "0x46959a8a332eca1a05Bd4F18115b8F2E1C2F2f05",
|
|
3378
|
-
curveRouterAddress: "
|
|
3363
|
+
curveRouterAddress: "0x4f37A9d177470499A2dD084621020b023fcffc1F",
|
|
3364
|
+
dexes: [
|
|
3365
|
+
"UNISWAP",
|
|
3366
|
+
"CURVE"
|
|
3367
|
+
]
|
|
3379
3368
|
},
|
|
3380
3369
|
{
|
|
3381
3370
|
chainName: "Polygon",
|
|
@@ -3391,7 +3380,11 @@ var chains = [
|
|
|
3391
3380
|
nativeTokenName: "MATIC",
|
|
3392
3381
|
timestamp: "2024-06-20T08:16:18.717Z",
|
|
3393
3382
|
feeTreasury: "0x5f0947253a8218894af13438ac2e2E0CeD30d234",
|
|
3394
|
-
curveRouterAddress: "
|
|
3383
|
+
curveRouterAddress: "0x0DCDED3545D565bA3B19E683431381007245d983",
|
|
3384
|
+
dexes: [
|
|
3385
|
+
"UNISWAP",
|
|
3386
|
+
"CURVE"
|
|
3387
|
+
]
|
|
3395
3388
|
},
|
|
3396
3389
|
{
|
|
3397
3390
|
chainName: "BNB Smart Chain",
|
|
@@ -3410,7 +3403,10 @@ var chains = [
|
|
|
3410
3403
|
nativeTokenName: "BNB",
|
|
3411
3404
|
timestamp: "2024-07-24T08:16:18.717Z",
|
|
3412
3405
|
feeTreasury: "0x698609f1ae8E0ce7e65d3028d1f00297A6bF21e5",
|
|
3413
|
-
curveRouterAddress: "
|
|
3406
|
+
curveRouterAddress: "0xA72C85C258A81761433B4e8da60505Fe3Dd551CC",
|
|
3407
|
+
dexes: [
|
|
3408
|
+
"PANCAKE"
|
|
3409
|
+
]
|
|
3414
3410
|
}
|
|
3415
3411
|
];
|
|
3416
3412
|
var chainlist = {
|
|
@@ -3433,51 +3429,51 @@ var version$1 = {
|
|
|
3433
3429
|
var routers = [
|
|
3434
3430
|
{
|
|
3435
3431
|
chainId: 1,
|
|
3436
|
-
address: "
|
|
3437
|
-
timestamp: "2024-09-
|
|
3438
|
-
version: "0.
|
|
3432
|
+
address: "0x33a57Dbf2a0141073795114a8AbD9aCc263c069D",
|
|
3433
|
+
timestamp: "2024-09-12T00:00:00+00:00",
|
|
3434
|
+
version: "0.7",
|
|
3439
3435
|
fee: "0.002"
|
|
3440
3436
|
},
|
|
3441
3437
|
{
|
|
3442
3438
|
chainId: 10,
|
|
3443
|
-
address: "
|
|
3444
|
-
timestamp: "2024-08-
|
|
3445
|
-
version: "0.
|
|
3439
|
+
address: "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
3440
|
+
timestamp: "2024-08-12T00:00:00+00:00",
|
|
3441
|
+
version: "0.7",
|
|
3446
3442
|
fee: "0.002"
|
|
3447
3443
|
},
|
|
3448
3444
|
{
|
|
3449
3445
|
chainId: 42161,
|
|
3450
|
-
address: "
|
|
3451
|
-
timestamp: "2024-09-
|
|
3452
|
-
version: "0.
|
|
3446
|
+
address: "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
3447
|
+
timestamp: "2024-09-12T00:00:00+00:00",
|
|
3448
|
+
version: "0.7",
|
|
3453
3449
|
fee: "0.002"
|
|
3454
3450
|
},
|
|
3455
3451
|
{
|
|
3456
3452
|
chainId: 100,
|
|
3457
|
-
address: "
|
|
3458
|
-
timestamp: "2024-09-
|
|
3459
|
-
version: "0.
|
|
3453
|
+
address: "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
3454
|
+
timestamp: "2024-09-12T00:00:00+00:00",
|
|
3455
|
+
version: "0.7",
|
|
3460
3456
|
fee: "0.002"
|
|
3461
3457
|
},
|
|
3462
3458
|
{
|
|
3463
3459
|
chainId: 137,
|
|
3464
|
-
address: "
|
|
3465
|
-
timestamp: "2024-09-
|
|
3466
|
-
version: "0.
|
|
3460
|
+
address: "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
3461
|
+
timestamp: "2024-09-12T00:00:00+00:00",
|
|
3462
|
+
version: "0.7",
|
|
3467
3463
|
fee: "0.002"
|
|
3468
3464
|
},
|
|
3469
3465
|
{
|
|
3470
3466
|
chainId: 8453,
|
|
3471
|
-
address: "
|
|
3472
|
-
timestamp: "2024-09-
|
|
3473
|
-
version: "0.
|
|
3467
|
+
address: "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
3468
|
+
timestamp: "2024-09-12T00:00:00+00:00",
|
|
3469
|
+
version: "0.7",
|
|
3474
3470
|
fee: "0.002"
|
|
3475
3471
|
},
|
|
3476
3472
|
{
|
|
3477
3473
|
chainId: 56,
|
|
3478
|
-
address: "
|
|
3479
|
-
timestamp: "2024-09-
|
|
3480
|
-
version: "0.
|
|
3474
|
+
address: "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
3475
|
+
timestamp: "2024-09-12T00:00:00+00:00",
|
|
3476
|
+
version: "0.7",
|
|
3481
3477
|
fee: "0.002"
|
|
3482
3478
|
}
|
|
3483
3479
|
];
|
|
@@ -14668,6 +14664,917 @@ var YodlRouterV06 = [
|
|
|
14668
14664
|
}
|
|
14669
14665
|
];
|
|
14670
14666
|
|
|
14667
|
+
var YodlRouterV07 = [
|
|
14668
|
+
{
|
|
14669
|
+
type: "constructor",
|
|
14670
|
+
inputs: [
|
|
14671
|
+
],
|
|
14672
|
+
stateMutability: "nonpayable"
|
|
14673
|
+
},
|
|
14674
|
+
{
|
|
14675
|
+
type: "receive",
|
|
14676
|
+
stateMutability: "payable"
|
|
14677
|
+
},
|
|
14678
|
+
{
|
|
14679
|
+
type: "function",
|
|
14680
|
+
name: "CHAINLINK_FEED",
|
|
14681
|
+
inputs: [
|
|
14682
|
+
],
|
|
14683
|
+
outputs: [
|
|
14684
|
+
{
|
|
14685
|
+
name: "",
|
|
14686
|
+
type: "int8",
|
|
14687
|
+
internalType: "int8"
|
|
14688
|
+
}
|
|
14689
|
+
],
|
|
14690
|
+
stateMutability: "view"
|
|
14691
|
+
},
|
|
14692
|
+
{
|
|
14693
|
+
type: "function",
|
|
14694
|
+
name: "EXTERNAL_FEED",
|
|
14695
|
+
inputs: [
|
|
14696
|
+
],
|
|
14697
|
+
outputs: [
|
|
14698
|
+
{
|
|
14699
|
+
name: "",
|
|
14700
|
+
type: "int8",
|
|
14701
|
+
internalType: "int8"
|
|
14702
|
+
}
|
|
14703
|
+
],
|
|
14704
|
+
stateMutability: "view"
|
|
14705
|
+
},
|
|
14706
|
+
{
|
|
14707
|
+
type: "function",
|
|
14708
|
+
name: "MAX_EXTRA_FEE_BPS",
|
|
14709
|
+
inputs: [
|
|
14710
|
+
],
|
|
14711
|
+
outputs: [
|
|
14712
|
+
{
|
|
14713
|
+
name: "",
|
|
14714
|
+
type: "uint256",
|
|
14715
|
+
internalType: "uint256"
|
|
14716
|
+
}
|
|
14717
|
+
],
|
|
14718
|
+
stateMutability: "view"
|
|
14719
|
+
},
|
|
14720
|
+
{
|
|
14721
|
+
type: "function",
|
|
14722
|
+
name: "NATIVE_TOKEN",
|
|
14723
|
+
inputs: [
|
|
14724
|
+
],
|
|
14725
|
+
outputs: [
|
|
14726
|
+
{
|
|
14727
|
+
name: "",
|
|
14728
|
+
type: "address",
|
|
14729
|
+
internalType: "address"
|
|
14730
|
+
}
|
|
14731
|
+
],
|
|
14732
|
+
stateMutability: "view"
|
|
14733
|
+
},
|
|
14734
|
+
{
|
|
14735
|
+
type: "function",
|
|
14736
|
+
name: "NULL_FEED",
|
|
14737
|
+
inputs: [
|
|
14738
|
+
],
|
|
14739
|
+
outputs: [
|
|
14740
|
+
{
|
|
14741
|
+
name: "",
|
|
14742
|
+
type: "int8",
|
|
14743
|
+
internalType: "int8"
|
|
14744
|
+
}
|
|
14745
|
+
],
|
|
14746
|
+
stateMutability: "view"
|
|
14747
|
+
},
|
|
14748
|
+
{
|
|
14749
|
+
type: "function",
|
|
14750
|
+
name: "RATE_VERIFIER",
|
|
14751
|
+
inputs: [
|
|
14752
|
+
],
|
|
14753
|
+
outputs: [
|
|
14754
|
+
{
|
|
14755
|
+
name: "",
|
|
14756
|
+
type: "address",
|
|
14757
|
+
internalType: "address"
|
|
14758
|
+
}
|
|
14759
|
+
],
|
|
14760
|
+
stateMutability: "view"
|
|
14761
|
+
},
|
|
14762
|
+
{
|
|
14763
|
+
type: "function",
|
|
14764
|
+
name: "calculateFee",
|
|
14765
|
+
inputs: [
|
|
14766
|
+
{
|
|
14767
|
+
name: "amount",
|
|
14768
|
+
type: "uint256",
|
|
14769
|
+
internalType: "uint256"
|
|
14770
|
+
},
|
|
14771
|
+
{
|
|
14772
|
+
name: "feeBps",
|
|
14773
|
+
type: "uint256",
|
|
14774
|
+
internalType: "uint256"
|
|
14775
|
+
}
|
|
14776
|
+
],
|
|
14777
|
+
outputs: [
|
|
14778
|
+
{
|
|
14779
|
+
name: "",
|
|
14780
|
+
type: "uint256",
|
|
14781
|
+
internalType: "uint256"
|
|
14782
|
+
}
|
|
14783
|
+
],
|
|
14784
|
+
stateMutability: "pure"
|
|
14785
|
+
},
|
|
14786
|
+
{
|
|
14787
|
+
type: "function",
|
|
14788
|
+
name: "emitConversionEvent",
|
|
14789
|
+
inputs: [
|
|
14790
|
+
{
|
|
14791
|
+
name: "priceFeeds",
|
|
14792
|
+
type: "tuple[2]",
|
|
14793
|
+
internalType: "struct AbstractYodlRouter.PriceFeed[2]",
|
|
14794
|
+
components: [
|
|
14795
|
+
{
|
|
14796
|
+
name: "feedAddress",
|
|
14797
|
+
type: "address",
|
|
14798
|
+
internalType: "address"
|
|
14799
|
+
},
|
|
14800
|
+
{
|
|
14801
|
+
name: "feedType",
|
|
14802
|
+
type: "int8",
|
|
14803
|
+
internalType: "int8"
|
|
14804
|
+
},
|
|
14805
|
+
{
|
|
14806
|
+
name: "currency",
|
|
14807
|
+
type: "string",
|
|
14808
|
+
internalType: "string"
|
|
14809
|
+
},
|
|
14810
|
+
{
|
|
14811
|
+
name: "amount",
|
|
14812
|
+
type: "uint256",
|
|
14813
|
+
internalType: "uint256"
|
|
14814
|
+
},
|
|
14815
|
+
{
|
|
14816
|
+
name: "deadline",
|
|
14817
|
+
type: "uint256",
|
|
14818
|
+
internalType: "uint256"
|
|
14819
|
+
},
|
|
14820
|
+
{
|
|
14821
|
+
name: "signature",
|
|
14822
|
+
type: "bytes",
|
|
14823
|
+
internalType: "bytes"
|
|
14824
|
+
}
|
|
14825
|
+
]
|
|
14826
|
+
},
|
|
14827
|
+
{
|
|
14828
|
+
name: "prices",
|
|
14829
|
+
type: "int256[2]",
|
|
14830
|
+
internalType: "int256[2]"
|
|
14831
|
+
}
|
|
14832
|
+
],
|
|
14833
|
+
outputs: [
|
|
14834
|
+
],
|
|
14835
|
+
stateMutability: "nonpayable"
|
|
14836
|
+
},
|
|
14837
|
+
{
|
|
14838
|
+
type: "function",
|
|
14839
|
+
name: "exchangeRate",
|
|
14840
|
+
inputs: [
|
|
14841
|
+
{
|
|
14842
|
+
name: "priceFeeds",
|
|
14843
|
+
type: "tuple[2]",
|
|
14844
|
+
internalType: "struct AbstractYodlRouter.PriceFeed[2]",
|
|
14845
|
+
components: [
|
|
14846
|
+
{
|
|
14847
|
+
name: "feedAddress",
|
|
14848
|
+
type: "address",
|
|
14849
|
+
internalType: "address"
|
|
14850
|
+
},
|
|
14851
|
+
{
|
|
14852
|
+
name: "feedType",
|
|
14853
|
+
type: "int8",
|
|
14854
|
+
internalType: "int8"
|
|
14855
|
+
},
|
|
14856
|
+
{
|
|
14857
|
+
name: "currency",
|
|
14858
|
+
type: "string",
|
|
14859
|
+
internalType: "string"
|
|
14860
|
+
},
|
|
14861
|
+
{
|
|
14862
|
+
name: "amount",
|
|
14863
|
+
type: "uint256",
|
|
14864
|
+
internalType: "uint256"
|
|
14865
|
+
},
|
|
14866
|
+
{
|
|
14867
|
+
name: "deadline",
|
|
14868
|
+
type: "uint256",
|
|
14869
|
+
internalType: "uint256"
|
|
14870
|
+
},
|
|
14871
|
+
{
|
|
14872
|
+
name: "signature",
|
|
14873
|
+
type: "bytes",
|
|
14874
|
+
internalType: "bytes"
|
|
14875
|
+
}
|
|
14876
|
+
]
|
|
14877
|
+
},
|
|
14878
|
+
{
|
|
14879
|
+
name: "amount",
|
|
14880
|
+
type: "uint256",
|
|
14881
|
+
internalType: "uint256"
|
|
14882
|
+
}
|
|
14883
|
+
],
|
|
14884
|
+
outputs: [
|
|
14885
|
+
{
|
|
14886
|
+
name: "converted",
|
|
14887
|
+
type: "uint256",
|
|
14888
|
+
internalType: "uint256"
|
|
14889
|
+
},
|
|
14890
|
+
{
|
|
14891
|
+
name: "priceFeedsUsed",
|
|
14892
|
+
type: "address[2]",
|
|
14893
|
+
internalType: "address[2]"
|
|
14894
|
+
},
|
|
14895
|
+
{
|
|
14896
|
+
name: "prices",
|
|
14897
|
+
type: "int256[2]",
|
|
14898
|
+
internalType: "int256[2]"
|
|
14899
|
+
}
|
|
14900
|
+
],
|
|
14901
|
+
stateMutability: "view"
|
|
14902
|
+
},
|
|
14903
|
+
{
|
|
14904
|
+
type: "function",
|
|
14905
|
+
name: "sweep",
|
|
14906
|
+
inputs: [
|
|
14907
|
+
{
|
|
14908
|
+
name: "token",
|
|
14909
|
+
type: "address",
|
|
14910
|
+
internalType: "address"
|
|
14911
|
+
}
|
|
14912
|
+
],
|
|
14913
|
+
outputs: [
|
|
14914
|
+
],
|
|
14915
|
+
stateMutability: "nonpayable"
|
|
14916
|
+
},
|
|
14917
|
+
{
|
|
14918
|
+
type: "function",
|
|
14919
|
+
name: "uniswapRouter",
|
|
14920
|
+
inputs: [
|
|
14921
|
+
],
|
|
14922
|
+
outputs: [
|
|
14923
|
+
{
|
|
14924
|
+
name: "",
|
|
14925
|
+
type: "address",
|
|
14926
|
+
internalType: "contract ISwapRouter02"
|
|
14927
|
+
}
|
|
14928
|
+
],
|
|
14929
|
+
stateMutability: "view"
|
|
14930
|
+
},
|
|
14931
|
+
{
|
|
14932
|
+
type: "function",
|
|
14933
|
+
name: "verifyRateSignature",
|
|
14934
|
+
inputs: [
|
|
14935
|
+
{
|
|
14936
|
+
name: "priceFeed",
|
|
14937
|
+
type: "tuple",
|
|
14938
|
+
internalType: "struct AbstractYodlRouter.PriceFeed",
|
|
14939
|
+
components: [
|
|
14940
|
+
{
|
|
14941
|
+
name: "feedAddress",
|
|
14942
|
+
type: "address",
|
|
14943
|
+
internalType: "address"
|
|
14944
|
+
},
|
|
14945
|
+
{
|
|
14946
|
+
name: "feedType",
|
|
14947
|
+
type: "int8",
|
|
14948
|
+
internalType: "int8"
|
|
14949
|
+
},
|
|
14950
|
+
{
|
|
14951
|
+
name: "currency",
|
|
14952
|
+
type: "string",
|
|
14953
|
+
internalType: "string"
|
|
14954
|
+
},
|
|
14955
|
+
{
|
|
14956
|
+
name: "amount",
|
|
14957
|
+
type: "uint256",
|
|
14958
|
+
internalType: "uint256"
|
|
14959
|
+
},
|
|
14960
|
+
{
|
|
14961
|
+
name: "deadline",
|
|
14962
|
+
type: "uint256",
|
|
14963
|
+
internalType: "uint256"
|
|
14964
|
+
},
|
|
14965
|
+
{
|
|
14966
|
+
name: "signature",
|
|
14967
|
+
type: "bytes",
|
|
14968
|
+
internalType: "bytes"
|
|
14969
|
+
}
|
|
14970
|
+
]
|
|
14971
|
+
}
|
|
14972
|
+
],
|
|
14973
|
+
outputs: [
|
|
14974
|
+
{
|
|
14975
|
+
name: "",
|
|
14976
|
+
type: "bool",
|
|
14977
|
+
internalType: "bool"
|
|
14978
|
+
}
|
|
14979
|
+
],
|
|
14980
|
+
stateMutability: "view"
|
|
14981
|
+
},
|
|
14982
|
+
{
|
|
14983
|
+
type: "function",
|
|
14984
|
+
name: "version",
|
|
14985
|
+
inputs: [
|
|
14986
|
+
],
|
|
14987
|
+
outputs: [
|
|
14988
|
+
{
|
|
14989
|
+
name: "",
|
|
14990
|
+
type: "string",
|
|
14991
|
+
internalType: "string"
|
|
14992
|
+
}
|
|
14993
|
+
],
|
|
14994
|
+
stateMutability: "view"
|
|
14995
|
+
},
|
|
14996
|
+
{
|
|
14997
|
+
type: "function",
|
|
14998
|
+
name: "wrappedNativeToken",
|
|
14999
|
+
inputs: [
|
|
15000
|
+
],
|
|
15001
|
+
outputs: [
|
|
15002
|
+
{
|
|
15003
|
+
name: "",
|
|
15004
|
+
type: "address",
|
|
15005
|
+
internalType: "contract IWETH9"
|
|
15006
|
+
}
|
|
15007
|
+
],
|
|
15008
|
+
stateMutability: "view"
|
|
15009
|
+
},
|
|
15010
|
+
{
|
|
15011
|
+
type: "function",
|
|
15012
|
+
name: "yodlFeeBps",
|
|
15013
|
+
inputs: [
|
|
15014
|
+
],
|
|
15015
|
+
outputs: [
|
|
15016
|
+
{
|
|
15017
|
+
name: "",
|
|
15018
|
+
type: "uint256",
|
|
15019
|
+
internalType: "uint256"
|
|
15020
|
+
}
|
|
15021
|
+
],
|
|
15022
|
+
stateMutability: "view"
|
|
15023
|
+
},
|
|
15024
|
+
{
|
|
15025
|
+
type: "function",
|
|
15026
|
+
name: "yodlFeeTreasury",
|
|
15027
|
+
inputs: [
|
|
15028
|
+
],
|
|
15029
|
+
outputs: [
|
|
15030
|
+
{
|
|
15031
|
+
name: "",
|
|
15032
|
+
type: "address",
|
|
15033
|
+
internalType: "address"
|
|
15034
|
+
}
|
|
15035
|
+
],
|
|
15036
|
+
stateMutability: "view"
|
|
15037
|
+
},
|
|
15038
|
+
{
|
|
15039
|
+
type: "function",
|
|
15040
|
+
name: "yodlWithCurve",
|
|
15041
|
+
inputs: [
|
|
15042
|
+
{
|
|
15043
|
+
name: "params",
|
|
15044
|
+
type: "tuple",
|
|
15045
|
+
internalType: "struct YodlCurveRouter.YodlCurveParams",
|
|
15046
|
+
components: [
|
|
15047
|
+
{
|
|
15048
|
+
name: "sender",
|
|
15049
|
+
type: "address",
|
|
15050
|
+
internalType: "address"
|
|
15051
|
+
},
|
|
15052
|
+
{
|
|
15053
|
+
name: "receiver",
|
|
15054
|
+
type: "address",
|
|
15055
|
+
internalType: "address"
|
|
15056
|
+
},
|
|
15057
|
+
{
|
|
15058
|
+
name: "amountIn",
|
|
15059
|
+
type: "uint256",
|
|
15060
|
+
internalType: "uint256"
|
|
15061
|
+
},
|
|
15062
|
+
{
|
|
15063
|
+
name: "amountOut",
|
|
15064
|
+
type: "uint256",
|
|
15065
|
+
internalType: "uint256"
|
|
15066
|
+
},
|
|
15067
|
+
{
|
|
15068
|
+
name: "memo",
|
|
15069
|
+
type: "bytes32",
|
|
15070
|
+
internalType: "bytes32"
|
|
15071
|
+
},
|
|
15072
|
+
{
|
|
15073
|
+
name: "route",
|
|
15074
|
+
type: "address[11]",
|
|
15075
|
+
internalType: "address[11]"
|
|
15076
|
+
},
|
|
15077
|
+
{
|
|
15078
|
+
name: "swapParams",
|
|
15079
|
+
type: "uint256[5][5]",
|
|
15080
|
+
internalType: "uint256[5][5]"
|
|
15081
|
+
},
|
|
15082
|
+
{
|
|
15083
|
+
name: "factoryAddresses",
|
|
15084
|
+
type: "address[5]",
|
|
15085
|
+
internalType: "address[5]"
|
|
15086
|
+
},
|
|
15087
|
+
{
|
|
15088
|
+
name: "priceFeeds",
|
|
15089
|
+
type: "tuple[2]",
|
|
15090
|
+
internalType: "struct AbstractYodlRouter.PriceFeed[2]",
|
|
15091
|
+
components: [
|
|
15092
|
+
{
|
|
15093
|
+
name: "feedAddress",
|
|
15094
|
+
type: "address",
|
|
15095
|
+
internalType: "address"
|
|
15096
|
+
},
|
|
15097
|
+
{
|
|
15098
|
+
name: "feedType",
|
|
15099
|
+
type: "int8",
|
|
15100
|
+
internalType: "int8"
|
|
15101
|
+
},
|
|
15102
|
+
{
|
|
15103
|
+
name: "currency",
|
|
15104
|
+
type: "string",
|
|
15105
|
+
internalType: "string"
|
|
15106
|
+
},
|
|
15107
|
+
{
|
|
15108
|
+
name: "amount",
|
|
15109
|
+
type: "uint256",
|
|
15110
|
+
internalType: "uint256"
|
|
15111
|
+
},
|
|
15112
|
+
{
|
|
15113
|
+
name: "deadline",
|
|
15114
|
+
type: "uint256",
|
|
15115
|
+
internalType: "uint256"
|
|
15116
|
+
},
|
|
15117
|
+
{
|
|
15118
|
+
name: "signature",
|
|
15119
|
+
type: "bytes",
|
|
15120
|
+
internalType: "bytes"
|
|
15121
|
+
}
|
|
15122
|
+
]
|
|
15123
|
+
},
|
|
15124
|
+
{
|
|
15125
|
+
name: "extraFeeReceiver",
|
|
15126
|
+
type: "address",
|
|
15127
|
+
internalType: "address"
|
|
15128
|
+
},
|
|
15129
|
+
{
|
|
15130
|
+
name: "extraFeeBps",
|
|
15131
|
+
type: "uint256",
|
|
15132
|
+
internalType: "uint256"
|
|
15133
|
+
},
|
|
15134
|
+
{
|
|
15135
|
+
name: "yd",
|
|
15136
|
+
type: "uint256",
|
|
15137
|
+
internalType: "uint256"
|
|
15138
|
+
},
|
|
15139
|
+
{
|
|
15140
|
+
name: "yAppList",
|
|
15141
|
+
type: "tuple[]",
|
|
15142
|
+
internalType: "struct AbstractYodlRouter.YApp[]",
|
|
15143
|
+
components: [
|
|
15144
|
+
{
|
|
15145
|
+
name: "yApp",
|
|
15146
|
+
type: "address",
|
|
15147
|
+
internalType: "address"
|
|
15148
|
+
},
|
|
15149
|
+
{
|
|
15150
|
+
name: "sessionId",
|
|
15151
|
+
type: "uint256",
|
|
15152
|
+
internalType: "uint256"
|
|
15153
|
+
},
|
|
15154
|
+
{
|
|
15155
|
+
name: "payload",
|
|
15156
|
+
type: "bytes[]",
|
|
15157
|
+
internalType: "bytes[]"
|
|
15158
|
+
}
|
|
15159
|
+
]
|
|
15160
|
+
}
|
|
15161
|
+
]
|
|
15162
|
+
}
|
|
15163
|
+
],
|
|
15164
|
+
outputs: [
|
|
15165
|
+
{
|
|
15166
|
+
name: "",
|
|
15167
|
+
type: "uint256",
|
|
15168
|
+
internalType: "uint256"
|
|
15169
|
+
}
|
|
15170
|
+
],
|
|
15171
|
+
stateMutability: "payable"
|
|
15172
|
+
},
|
|
15173
|
+
{
|
|
15174
|
+
type: "function",
|
|
15175
|
+
name: "yodlWithToken",
|
|
15176
|
+
inputs: [
|
|
15177
|
+
{
|
|
15178
|
+
name: "params",
|
|
15179
|
+
type: "tuple",
|
|
15180
|
+
internalType: "struct YodlTransferRouter.YodlTransferParams",
|
|
15181
|
+
components: [
|
|
15182
|
+
{
|
|
15183
|
+
name: "memo",
|
|
15184
|
+
type: "bytes32",
|
|
15185
|
+
internalType: "bytes32"
|
|
15186
|
+
},
|
|
15187
|
+
{
|
|
15188
|
+
name: "amount",
|
|
15189
|
+
type: "uint256",
|
|
15190
|
+
internalType: "uint256"
|
|
15191
|
+
},
|
|
15192
|
+
{
|
|
15193
|
+
name: "priceFeeds",
|
|
15194
|
+
type: "tuple[2]",
|
|
15195
|
+
internalType: "struct AbstractYodlRouter.PriceFeed[2]",
|
|
15196
|
+
components: [
|
|
15197
|
+
{
|
|
15198
|
+
name: "feedAddress",
|
|
15199
|
+
type: "address",
|
|
15200
|
+
internalType: "address"
|
|
15201
|
+
},
|
|
15202
|
+
{
|
|
15203
|
+
name: "feedType",
|
|
15204
|
+
type: "int8",
|
|
15205
|
+
internalType: "int8"
|
|
15206
|
+
},
|
|
15207
|
+
{
|
|
15208
|
+
name: "currency",
|
|
15209
|
+
type: "string",
|
|
15210
|
+
internalType: "string"
|
|
15211
|
+
},
|
|
15212
|
+
{
|
|
15213
|
+
name: "amount",
|
|
15214
|
+
type: "uint256",
|
|
15215
|
+
internalType: "uint256"
|
|
15216
|
+
},
|
|
15217
|
+
{
|
|
15218
|
+
name: "deadline",
|
|
15219
|
+
type: "uint256",
|
|
15220
|
+
internalType: "uint256"
|
|
15221
|
+
},
|
|
15222
|
+
{
|
|
15223
|
+
name: "signature",
|
|
15224
|
+
type: "bytes",
|
|
15225
|
+
internalType: "bytes"
|
|
15226
|
+
}
|
|
15227
|
+
]
|
|
15228
|
+
},
|
|
15229
|
+
{
|
|
15230
|
+
name: "token",
|
|
15231
|
+
type: "address",
|
|
15232
|
+
internalType: "address"
|
|
15233
|
+
},
|
|
15234
|
+
{
|
|
15235
|
+
name: "receiver",
|
|
15236
|
+
type: "address",
|
|
15237
|
+
internalType: "address"
|
|
15238
|
+
},
|
|
15239
|
+
{
|
|
15240
|
+
name: "extraFeeReceiver",
|
|
15241
|
+
type: "address",
|
|
15242
|
+
internalType: "address"
|
|
15243
|
+
},
|
|
15244
|
+
{
|
|
15245
|
+
name: "extraFeeBps",
|
|
15246
|
+
type: "uint256",
|
|
15247
|
+
internalType: "uint256"
|
|
15248
|
+
},
|
|
15249
|
+
{
|
|
15250
|
+
name: "yd",
|
|
15251
|
+
type: "uint256",
|
|
15252
|
+
internalType: "uint256"
|
|
15253
|
+
},
|
|
15254
|
+
{
|
|
15255
|
+
name: "yAppList",
|
|
15256
|
+
type: "tuple[]",
|
|
15257
|
+
internalType: "struct AbstractYodlRouter.YApp[]",
|
|
15258
|
+
components: [
|
|
15259
|
+
{
|
|
15260
|
+
name: "yApp",
|
|
15261
|
+
type: "address",
|
|
15262
|
+
internalType: "address"
|
|
15263
|
+
},
|
|
15264
|
+
{
|
|
15265
|
+
name: "sessionId",
|
|
15266
|
+
type: "uint256",
|
|
15267
|
+
internalType: "uint256"
|
|
15268
|
+
},
|
|
15269
|
+
{
|
|
15270
|
+
name: "payload",
|
|
15271
|
+
type: "bytes[]",
|
|
15272
|
+
internalType: "bytes[]"
|
|
15273
|
+
}
|
|
15274
|
+
]
|
|
15275
|
+
}
|
|
15276
|
+
]
|
|
15277
|
+
}
|
|
15278
|
+
],
|
|
15279
|
+
outputs: [
|
|
15280
|
+
{
|
|
15281
|
+
name: "",
|
|
15282
|
+
type: "uint256",
|
|
15283
|
+
internalType: "uint256"
|
|
15284
|
+
}
|
|
15285
|
+
],
|
|
15286
|
+
stateMutability: "payable"
|
|
15287
|
+
},
|
|
15288
|
+
{
|
|
15289
|
+
type: "function",
|
|
15290
|
+
name: "yodlWithUniswap",
|
|
15291
|
+
inputs: [
|
|
15292
|
+
{
|
|
15293
|
+
name: "params",
|
|
15294
|
+
type: "tuple",
|
|
15295
|
+
internalType: "struct YodlUniswapRouter.YodlUniswapParams",
|
|
15296
|
+
components: [
|
|
15297
|
+
{
|
|
15298
|
+
name: "sender",
|
|
15299
|
+
type: "address",
|
|
15300
|
+
internalType: "address"
|
|
15301
|
+
},
|
|
15302
|
+
{
|
|
15303
|
+
name: "receiver",
|
|
15304
|
+
type: "address",
|
|
15305
|
+
internalType: "address"
|
|
15306
|
+
},
|
|
15307
|
+
{
|
|
15308
|
+
name: "amountIn",
|
|
15309
|
+
type: "uint256",
|
|
15310
|
+
internalType: "uint256"
|
|
15311
|
+
},
|
|
15312
|
+
{
|
|
15313
|
+
name: "amountOut",
|
|
15314
|
+
type: "uint256",
|
|
15315
|
+
internalType: "uint256"
|
|
15316
|
+
},
|
|
15317
|
+
{
|
|
15318
|
+
name: "memo",
|
|
15319
|
+
type: "bytes32",
|
|
15320
|
+
internalType: "bytes32"
|
|
15321
|
+
},
|
|
15322
|
+
{
|
|
15323
|
+
name: "path",
|
|
15324
|
+
type: "bytes",
|
|
15325
|
+
internalType: "bytes"
|
|
15326
|
+
},
|
|
15327
|
+
{
|
|
15328
|
+
name: "priceFeeds",
|
|
15329
|
+
type: "tuple[2]",
|
|
15330
|
+
internalType: "struct AbstractYodlRouter.PriceFeed[2]",
|
|
15331
|
+
components: [
|
|
15332
|
+
{
|
|
15333
|
+
name: "feedAddress",
|
|
15334
|
+
type: "address",
|
|
15335
|
+
internalType: "address"
|
|
15336
|
+
},
|
|
15337
|
+
{
|
|
15338
|
+
name: "feedType",
|
|
15339
|
+
type: "int8",
|
|
15340
|
+
internalType: "int8"
|
|
15341
|
+
},
|
|
15342
|
+
{
|
|
15343
|
+
name: "currency",
|
|
15344
|
+
type: "string",
|
|
15345
|
+
internalType: "string"
|
|
15346
|
+
},
|
|
15347
|
+
{
|
|
15348
|
+
name: "amount",
|
|
15349
|
+
type: "uint256",
|
|
15350
|
+
internalType: "uint256"
|
|
15351
|
+
},
|
|
15352
|
+
{
|
|
15353
|
+
name: "deadline",
|
|
15354
|
+
type: "uint256",
|
|
15355
|
+
internalType: "uint256"
|
|
15356
|
+
},
|
|
15357
|
+
{
|
|
15358
|
+
name: "signature",
|
|
15359
|
+
type: "bytes",
|
|
15360
|
+
internalType: "bytes"
|
|
15361
|
+
}
|
|
15362
|
+
]
|
|
15363
|
+
},
|
|
15364
|
+
{
|
|
15365
|
+
name: "extraFeeReceiver",
|
|
15366
|
+
type: "address",
|
|
15367
|
+
internalType: "address"
|
|
15368
|
+
},
|
|
15369
|
+
{
|
|
15370
|
+
name: "extraFeeBps",
|
|
15371
|
+
type: "uint256",
|
|
15372
|
+
internalType: "uint256"
|
|
15373
|
+
},
|
|
15374
|
+
{
|
|
15375
|
+
name: "swapType",
|
|
15376
|
+
type: "uint8",
|
|
15377
|
+
internalType: "enum YodlUniswapRouter.SwapType"
|
|
15378
|
+
},
|
|
15379
|
+
{
|
|
15380
|
+
name: "yd",
|
|
15381
|
+
type: "uint256",
|
|
15382
|
+
internalType: "uint256"
|
|
15383
|
+
},
|
|
15384
|
+
{
|
|
15385
|
+
name: "yAppList",
|
|
15386
|
+
type: "tuple[]",
|
|
15387
|
+
internalType: "struct AbstractYodlRouter.YApp[]",
|
|
15388
|
+
components: [
|
|
15389
|
+
{
|
|
15390
|
+
name: "yApp",
|
|
15391
|
+
type: "address",
|
|
15392
|
+
internalType: "address"
|
|
15393
|
+
},
|
|
15394
|
+
{
|
|
15395
|
+
name: "sessionId",
|
|
15396
|
+
type: "uint256",
|
|
15397
|
+
internalType: "uint256"
|
|
15398
|
+
},
|
|
15399
|
+
{
|
|
15400
|
+
name: "payload",
|
|
15401
|
+
type: "bytes[]",
|
|
15402
|
+
internalType: "bytes[]"
|
|
15403
|
+
}
|
|
15404
|
+
]
|
|
15405
|
+
}
|
|
15406
|
+
]
|
|
15407
|
+
}
|
|
15408
|
+
],
|
|
15409
|
+
outputs: [
|
|
15410
|
+
{
|
|
15411
|
+
name: "",
|
|
15412
|
+
type: "uint256",
|
|
15413
|
+
internalType: "uint256"
|
|
15414
|
+
}
|
|
15415
|
+
],
|
|
15416
|
+
stateMutability: "payable"
|
|
15417
|
+
},
|
|
15418
|
+
{
|
|
15419
|
+
type: "event",
|
|
15420
|
+
name: "Convert",
|
|
15421
|
+
inputs: [
|
|
15422
|
+
{
|
|
15423
|
+
name: "priceFeed0",
|
|
15424
|
+
type: "address",
|
|
15425
|
+
indexed: true,
|
|
15426
|
+
internalType: "address"
|
|
15427
|
+
},
|
|
15428
|
+
{
|
|
15429
|
+
name: "priceFeed1",
|
|
15430
|
+
type: "address",
|
|
15431
|
+
indexed: true,
|
|
15432
|
+
internalType: "address"
|
|
15433
|
+
},
|
|
15434
|
+
{
|
|
15435
|
+
name: "exchangeRate0",
|
|
15436
|
+
type: "int256",
|
|
15437
|
+
indexed: false,
|
|
15438
|
+
internalType: "int256"
|
|
15439
|
+
},
|
|
15440
|
+
{
|
|
15441
|
+
name: "exchangeRate1",
|
|
15442
|
+
type: "int256",
|
|
15443
|
+
indexed: false,
|
|
15444
|
+
internalType: "int256"
|
|
15445
|
+
}
|
|
15446
|
+
],
|
|
15447
|
+
anonymous: false
|
|
15448
|
+
},
|
|
15449
|
+
{
|
|
15450
|
+
type: "event",
|
|
15451
|
+
name: "ConvertWithExternalRate",
|
|
15452
|
+
inputs: [
|
|
15453
|
+
{
|
|
15454
|
+
name: "currency0",
|
|
15455
|
+
type: "string",
|
|
15456
|
+
indexed: true,
|
|
15457
|
+
internalType: "string"
|
|
15458
|
+
},
|
|
15459
|
+
{
|
|
15460
|
+
name: "priceFeed1",
|
|
15461
|
+
type: "address",
|
|
15462
|
+
indexed: true,
|
|
15463
|
+
internalType: "address"
|
|
15464
|
+
},
|
|
15465
|
+
{
|
|
15466
|
+
name: "exchangeRate0",
|
|
15467
|
+
type: "int256",
|
|
15468
|
+
indexed: false,
|
|
15469
|
+
internalType: "int256"
|
|
15470
|
+
},
|
|
15471
|
+
{
|
|
15472
|
+
name: "exchangeRate1",
|
|
15473
|
+
type: "int256",
|
|
15474
|
+
indexed: false,
|
|
15475
|
+
internalType: "int256"
|
|
15476
|
+
}
|
|
15477
|
+
],
|
|
15478
|
+
anonymous: false
|
|
15479
|
+
},
|
|
15480
|
+
{
|
|
15481
|
+
type: "event",
|
|
15482
|
+
name: "Yodl",
|
|
15483
|
+
inputs: [
|
|
15484
|
+
{
|
|
15485
|
+
name: "sender",
|
|
15486
|
+
type: "address",
|
|
15487
|
+
indexed: true,
|
|
15488
|
+
internalType: "address"
|
|
15489
|
+
},
|
|
15490
|
+
{
|
|
15491
|
+
name: "receiver",
|
|
15492
|
+
type: "address",
|
|
15493
|
+
indexed: true,
|
|
15494
|
+
internalType: "address"
|
|
15495
|
+
},
|
|
15496
|
+
{
|
|
15497
|
+
name: "token",
|
|
15498
|
+
type: "address",
|
|
15499
|
+
indexed: false,
|
|
15500
|
+
internalType: "address"
|
|
15501
|
+
},
|
|
15502
|
+
{
|
|
15503
|
+
name: "amount",
|
|
15504
|
+
type: "uint256",
|
|
15505
|
+
indexed: false,
|
|
15506
|
+
internalType: "uint256"
|
|
15507
|
+
},
|
|
15508
|
+
{
|
|
15509
|
+
name: "fees",
|
|
15510
|
+
type: "uint256",
|
|
15511
|
+
indexed: false,
|
|
15512
|
+
internalType: "uint256"
|
|
15513
|
+
},
|
|
15514
|
+
{
|
|
15515
|
+
name: "memo",
|
|
15516
|
+
type: "bytes32",
|
|
15517
|
+
indexed: false,
|
|
15518
|
+
internalType: "bytes32"
|
|
15519
|
+
}
|
|
15520
|
+
],
|
|
15521
|
+
anonymous: false
|
|
15522
|
+
},
|
|
15523
|
+
{
|
|
15524
|
+
type: "event",
|
|
15525
|
+
name: "YodlNativeTokenTransfer",
|
|
15526
|
+
inputs: [
|
|
15527
|
+
{
|
|
15528
|
+
name: "sender",
|
|
15529
|
+
type: "address",
|
|
15530
|
+
indexed: true,
|
|
15531
|
+
internalType: "address"
|
|
15532
|
+
},
|
|
15533
|
+
{
|
|
15534
|
+
name: "receiver",
|
|
15535
|
+
type: "address",
|
|
15536
|
+
indexed: true,
|
|
15537
|
+
internalType: "address"
|
|
15538
|
+
},
|
|
15539
|
+
{
|
|
15540
|
+
name: "amount",
|
|
15541
|
+
type: "uint256",
|
|
15542
|
+
indexed: true,
|
|
15543
|
+
internalType: "uint256"
|
|
15544
|
+
}
|
|
15545
|
+
],
|
|
15546
|
+
anonymous: false
|
|
15547
|
+
},
|
|
15548
|
+
{
|
|
15549
|
+
type: "error",
|
|
15550
|
+
name: "ECDSAInvalidSignature",
|
|
15551
|
+
inputs: [
|
|
15552
|
+
]
|
|
15553
|
+
},
|
|
15554
|
+
{
|
|
15555
|
+
type: "error",
|
|
15556
|
+
name: "ECDSAInvalidSignatureLength",
|
|
15557
|
+
inputs: [
|
|
15558
|
+
{
|
|
15559
|
+
name: "length",
|
|
15560
|
+
type: "uint256",
|
|
15561
|
+
internalType: "uint256"
|
|
15562
|
+
}
|
|
15563
|
+
]
|
|
15564
|
+
},
|
|
15565
|
+
{
|
|
15566
|
+
type: "error",
|
|
15567
|
+
name: "ECDSAInvalidSignatureS",
|
|
15568
|
+
inputs: [
|
|
15569
|
+
{
|
|
15570
|
+
name: "s",
|
|
15571
|
+
type: "bytes32",
|
|
15572
|
+
internalType: "bytes32"
|
|
15573
|
+
}
|
|
15574
|
+
]
|
|
15575
|
+
}
|
|
15576
|
+
];
|
|
15577
|
+
|
|
14671
15578
|
var YODL_ROUTER_ABIS = {
|
|
14672
15579
|
"0.1": YodlRouterV01,
|
|
14673
15580
|
"0.2": YodlRouterV02,
|
|
@@ -14675,6 +15582,7 @@ var YODL_ROUTER_ABIS = {
|
|
|
14675
15582
|
"0.4": YodlRouterV04,
|
|
14676
15583
|
"0.5": YodlRouterV05,
|
|
14677
15584
|
"0.6": YodlRouterV06,
|
|
15585
|
+
"0.7": YodlRouterV07,
|
|
14678
15586
|
"test": YodlRouterV03
|
|
14679
15587
|
};
|
|
14680
15588
|
var CURVE_ROUTER_ABI = CurveRouterV13Abi;
|
|
@@ -14907,7 +15815,7 @@ function getCurveRouterAddress(chainId) {
|
|
|
14907
15815
|
throw new Error("Unable to find CurveRouterNG for chainId " + chainId);
|
|
14908
15816
|
}
|
|
14909
15817
|
|
|
14910
|
-
return curveRouter;
|
|
15818
|
+
return curveRouter.address;
|
|
14911
15819
|
}
|
|
14912
15820
|
function getChains() {
|
|
14913
15821
|
return chainlist.chains;
|