mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-02 02:57:59 +03:00
merge branch 'main' into 'OP-4504-fix-governance
This commit is contained in:
@@ -62,7 +62,7 @@ export async function generateSwapCalldataWithUnit({
|
||||
|
||||
let path = SafeArray.from(arrayLikePath);
|
||||
const walletBalance = await getWalletBalance(
|
||||
safeGet(assetToAddress, path.first().assetIn),
|
||||
assetToAddress[path.first().assetIn] ?? path.first().assetIn.toLowerCase(),
|
||||
receiverAddress,
|
||||
unit.provider
|
||||
);
|
||||
|
||||
@@ -99,8 +99,8 @@
|
||||
"rpc": "https://rpcapi.fantom.network/",
|
||||
"baseCurrencyName": "FTM",
|
||||
"contracts": {
|
||||
"WETH": "",
|
||||
"curveRegistry": ""
|
||||
"WETH": "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83",
|
||||
"curveRegistry": "0x0f854EA9F38ceA4B1c2FC79047E9D0134419D5d6"
|
||||
}
|
||||
},
|
||||
"137": {
|
||||
@@ -112,8 +112,8 @@
|
||||
"rpc": "https://polygon-rpc.com/",
|
||||
"explorer": "https://polygonscan.com/",
|
||||
"contracts": {
|
||||
"WETH": "",
|
||||
"curveRegistry": ""
|
||||
"WETH": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
|
||||
"curveRegistry": "0x094d12e5b541784701FD8d65F11fc0598FBC6332"
|
||||
}
|
||||
},
|
||||
"80001": {
|
||||
@@ -138,7 +138,7 @@
|
||||
"rpc": "https://exchainrpc.okex.org/",
|
||||
"baseCurrencyName": "OKT",
|
||||
"contracts": {
|
||||
"WETH": "",
|
||||
"WETH": "0x843340759bFCa4a3776F401cD2E03fE9bc0d838f",
|
||||
"curveRegistry": ""
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user