defi-kit 1.0.2 → 1.1.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.
@@ -6504,6 +6504,18 @@ var DaiJoin_default = [{ inputs: [{ internalType: "address", name: "vat_", type:
6504
6504
  // eth-sdk/abis/mainnet/maker/GemJoin.json
6505
6505
  var GemJoin_default = [{ inputs: [{ internalType: "address", name: "vat_", type: "address" }, { internalType: "bytes32", name: "ilk_", type: "bytes32" }, { internalType: "address", name: "gem_", type: "address" }], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: true, inputs: [{ indexed: true, internalType: "bytes4", name: "sig", type: "bytes4" }, { indexed: true, internalType: "address", name: "usr", type: "address" }, { indexed: true, internalType: "bytes32", name: "arg1", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "arg2", type: "bytes32" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" }], name: "LogNote", type: "event" }, { constant: false, inputs: [], name: "cage", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "dec", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "usr", type: "address" }], name: "deny", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "usr", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" }], name: "exit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "gem", outputs: [{ internalType: "contract GemLike", name: "", type: "address" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "ilk", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "usr", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" }], name: "join", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "live", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "usr", type: "address" }], name: "rely", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "vat", outputs: [{ internalType: "contract VatLike", name: "", type: "address" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [{ internalType: "address", name: "", type: "address" }], name: "wards", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }];
6506
6506
 
6507
+ // eth-sdk/abis/mainnet/rocket_pool/storage.json
6508
+ var storage_default = [{ inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "oldGuardian", type: "address" }, { indexed: false, internalType: "address", name: "newGuardian", type: "address" }], name: "GuardianChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "node", type: "address" }, { indexed: true, internalType: "address", name: "withdrawalAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "time", type: "uint256" }], name: "NodeWithdrawalAddressSet", type: "event" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }, { internalType: "uint256", name: "_amount", type: "uint256" }], name: "addUint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "confirmGuardian", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_nodeAddress", type: "address" }], name: "confirmWithdrawalAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "deleteAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "deleteBool", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "deleteBytes", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "deleteBytes32", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "deleteInt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "deleteString", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "deleteUint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "getAddress", outputs: [{ internalType: "address", name: "r", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "getBool", outputs: [{ internalType: "bool", name: "r", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "getBytes", outputs: [{ internalType: "bytes", name: "", type: "bytes" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "getBytes32", outputs: [{ internalType: "bytes32", name: "r", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getDeployedStatus", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getGuardian", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "getInt", outputs: [{ internalType: "int256", name: "r", type: "int256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_nodeAddress", type: "address" }], name: "getNodePendingWithdrawalAddress", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_nodeAddress", type: "address" }], name: "getNodeWithdrawalAddress", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "getString", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }], name: "getUint", outputs: [{ internalType: "uint256", name: "r", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }, { internalType: "address", name: "_value", type: "address" }], name: "setAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }, { internalType: "bool", name: "_value", type: "bool" }], name: "setBool", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }, { internalType: "bytes", name: "_value", type: "bytes" }], name: "setBytes", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }, { internalType: "bytes32", name: "_value", type: "bytes32" }], name: "setBytes32", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "setDeployedStatus", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_newAddress", type: "address" }], name: "setGuardian", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }, { internalType: "int256", name: "_value", type: "int256" }], name: "setInt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }, { internalType: "string", name: "_value", type: "string" }], name: "setString", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }, { internalType: "uint256", name: "_value", type: "uint256" }], name: "setUint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_nodeAddress", type: "address" }, { internalType: "address", name: "_newWithdrawalAddress", type: "address" }, { internalType: "bool", name: "_confirm", type: "bool" }], name: "setWithdrawalAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_key", type: "bytes32" }, { internalType: "uint256", name: "_amount", type: "uint256" }], name: "subUint", outputs: [], stateMutability: "nonpayable", type: "function" }];
6509
+
6510
+ // eth-sdk/abis/mainnet/rocket_pool/rETH.json
6511
+ var rETH_default = [{ inputs: [{ internalType: "contract RocketStorageInterface", name: "_rocketStorageAddress", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }], name: "Approval", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "time", type: "uint256" }], name: "EtherDeposited", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "ethAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "time", type: "uint256" }], name: "TokensBurned", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "ethAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "time", type: "uint256" }], name: "TokensMinted", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }], name: "Transfer", type: "event" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_rethAmount", type: "uint256" }], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "decimals", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" }], name: "decreaseAllowance", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "depositExcess", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "depositExcessCollateral", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getCollateralRate", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_rethAmount", type: "uint256" }], name: "getEthValue", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getExchangeRate", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_ethAmount", type: "uint256" }], name: "getRethValue", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getTotalCollateral", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" }], name: "increaseAllowance", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_ethAmount", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "version", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" }];
6512
+
6513
+ // eth-sdk/abis/mainnet/rocket_pool/deposit_pool.json
6514
+ var deposit_pool_default = [{ inputs: [{ internalType: "contract RocketStorageInterface", name: "_rocketStorageAddress", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "minipool", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "time", type: "uint256" }], name: "DepositAssigned", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "time", type: "uint256" }], name: "DepositReceived", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "time", type: "uint256" }], name: "DepositRecycled", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "time", type: "uint256" }], name: "ExcessWithdrawn", type: "event" }, { inputs: [], name: "assignDeposits", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "deposit", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "getBalance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getExcessBalance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getMaximumDepositAmount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getNodeBalance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getUserBalance", outputs: [{ internalType: "int256", name: "", type: "int256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "maybeAssignDeposits", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_amount", type: "uint256" }], name: "nodeCreditWithdrawal", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_totalAmount", type: "uint256" }], name: "nodeDeposit", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "receiveVaultWithdrawalETH", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "recycleDissolvedDeposit", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "recycleExcessCollateral", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "recycleLiquidatedStake", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "version", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_amount", type: "uint256" }], name: "withdrawExcessBalance", outputs: [], stateMutability: "nonpayable", type: "function" }];
6515
+
6516
+ // eth-sdk/abis/mainnet/rocket_pool/swap_router.json
6517
+ var swap_router_default = [{ inputs: [{ internalType: "address", name: "_rocketStorage", type: "address" }, { internalType: "address", name: "_wethAddress", type: "address" }, { internalType: "address", name: "_uniswapRouter", type: "address" }, { internalType: "uint24", name: "_uniswapPoolFee", type: "uint24" }, { internalType: "address", name: "_uniswapQuoter", type: "address" }, { internalType: "address", name: "_balancerVault", type: "address" }, { internalType: "bytes32", name: "_balancerPoolId", type: "bytes32" }], stateMutability: "nonpayable", type: "constructor" }, { inputs: [{ internalType: "uint256", name: "amountOut", type: "uint256" }], name: "LessThanMinimum", type: "error" }, { inputs: [], name: "TransferFailed", type: "error" }, { inputs: [], name: "WETH", outputs: [{ internalType: "contract IWETH", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "balancerPoolId", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "balancerVault", outputs: [{ internalType: "contract IVault", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_steps", type: "uint256" }], name: "optimiseSwapFrom", outputs: [{ internalType: "uint256[2]", name: "portions", type: "uint256[2]" }, { internalType: "uint256", name: "amountOut", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_steps", type: "uint256" }], name: "optimiseSwapTo", outputs: [{ internalType: "uint256[2]", name: "portions", type: "uint256[2]" }, { internalType: "uint256", name: "amountOut", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "rETH", outputs: [{ internalType: "contract IrETH", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "targetContract", type: "address" }, { internalType: "bytes", name: "calldataPayload", type: "bytes" }], name: "simulate", outputs: [{ internalType: "bytes", name: "response", type: "bytes" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "targetContract", type: "address" }, { internalType: "bytes", name: "calldataPayload", type: "bytes" }], name: "simulateAndRevert", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_uniswapPortion", type: "uint256" }, { internalType: "uint256", name: "_balancerPortion", type: "uint256" }, { internalType: "uint256", name: "_minTokensOut", type: "uint256" }, { internalType: "uint256", name: "_idealTokensOut", type: "uint256" }, { internalType: "uint256", name: "_tokensIn", type: "uint256" }], name: "swapFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_uniswapPortion", type: "uint256" }, { internalType: "uint256", name: "_balancerPortion", type: "uint256" }, { internalType: "uint256", name: "_minTokensOut", type: "uint256" }, { internalType: "uint256", name: "_idealTokensOut", type: "uint256" }], name: "swapTo", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "uniswapQuoter", outputs: [{ internalType: "contract IQuoter", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "uniswapRouter", outputs: [{ internalType: "contract ISwapRouter", name: "", type: "address" }], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" }];
6518
+
6507
6519
  // eth-sdk/abis/mainnet/spark/data_provider.json
6508
6520
  var data_provider_default3 = [{ inputs: [{ internalType: "contract IPoolAddressesProvider", name: "addressesProvider", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ADDRESSES_PROVIDER", outputs: [{ internalType: "contract IPoolAddressesProvider", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getATokenTotalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getAllATokens", outputs: [{ components: [{ internalType: "string", name: "symbol", type: "string" }, { internalType: "address", name: "tokenAddress", type: "address" }], internalType: "struct IPoolDataProvider.TokenData[]", name: "", type: "tuple[]" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getAllReservesTokens", outputs: [{ components: [{ internalType: "string", name: "symbol", type: "string" }, { internalType: "address", name: "tokenAddress", type: "address" }], internalType: "struct IPoolDataProvider.TokenData[]", name: "", type: "tuple[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getDebtCeiling", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getDebtCeilingDecimals", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "pure", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getFlashLoanEnabled", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getInterestRateStrategyAddress", outputs: [{ internalType: "address", name: "irStrategyAddress", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getLiquidationProtocolFee", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getPaused", outputs: [{ internalType: "bool", name: "isPaused", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getReserveCaps", outputs: [{ internalType: "uint256", name: "borrowCap", type: "uint256" }, { internalType: "uint256", name: "supplyCap", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getReserveConfigurationData", outputs: [{ internalType: "uint256", name: "decimals", type: "uint256" }, { internalType: "uint256", name: "ltv", type: "uint256" }, { internalType: "uint256", name: "liquidationThreshold", type: "uint256" }, { internalType: "uint256", name: "liquidationBonus", type: "uint256" }, { internalType: "uint256", name: "reserveFactor", type: "uint256" }, { internalType: "bool", name: "usageAsCollateralEnabled", type: "bool" }, { internalType: "bool", name: "borrowingEnabled", type: "bool" }, { internalType: "bool", name: "stableBorrowRateEnabled", type: "bool" }, { internalType: "bool", name: "isActive", type: "bool" }, { internalType: "bool", name: "isFrozen", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getReserveData", outputs: [{ internalType: "uint256", name: "unbacked", type: "uint256" }, { internalType: "uint256", name: "accruedToTreasuryScaled", type: "uint256" }, { internalType: "uint256", name: "totalAToken", type: "uint256" }, { internalType: "uint256", name: "totalStableDebt", type: "uint256" }, { internalType: "uint256", name: "totalVariableDebt", type: "uint256" }, { internalType: "uint256", name: "liquidityRate", type: "uint256" }, { internalType: "uint256", name: "variableBorrowRate", type: "uint256" }, { internalType: "uint256", name: "stableBorrowRate", type: "uint256" }, { internalType: "uint256", name: "averageStableBorrowRate", type: "uint256" }, { internalType: "uint256", name: "liquidityIndex", type: "uint256" }, { internalType: "uint256", name: "variableBorrowIndex", type: "uint256" }, { internalType: "uint40", name: "lastUpdateTimestamp", type: "uint40" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getReserveEModeCategory", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getReserveTokensAddresses", outputs: [{ internalType: "address", name: "aTokenAddress", type: "address" }, { internalType: "address", name: "stableDebtTokenAddress", type: "address" }, { internalType: "address", name: "variableDebtTokenAddress", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getSiloedBorrowing", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getTotalDebt", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getUnbackedMintCap", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "user", type: "address" }], name: "getUserReserveData", outputs: [{ internalType: "uint256", name: "currentATokenBalance", type: "uint256" }, { internalType: "uint256", name: "currentStableDebt", type: "uint256" }, { internalType: "uint256", name: "currentVariableDebt", type: "uint256" }, { internalType: "uint256", name: "principalStableDebt", type: "uint256" }, { internalType: "uint256", name: "scaledVariableDebt", type: "uint256" }, { internalType: "uint256", name: "stableBorrowRate", type: "uint256" }, { internalType: "uint256", name: "liquidityRate", type: "uint256" }, { internalType: "uint40", name: "stableRateLastUpdated", type: "uint40" }, { internalType: "bool", name: "usageAsCollateralEnabled", type: "bool" }], stateMutability: "view", type: "function" }];
6509
6521
 
@@ -6630,6 +6642,12 @@ function getMainnetSdk(defaultSignerOrProvider) {
6630
6642
  "DaiJoin": getContract("0x9759A6Ac90977b93B58547b4A71c78317f391A28", DaiJoin_default, defaultSignerOrProvider),
6631
6643
  "GemJoin": getContract("0x2F0b23f53734252Bda2277357e97e1517d6B042A", GemJoin_default, defaultSignerOrProvider)
6632
6644
  },
6645
+ "rocket_pool": {
6646
+ "storage": getContract("0x1d8f8f00cfa6758d7bE78336684788Fb0ee0Fa46", storage_default, defaultSignerOrProvider),
6647
+ "rETH": getContract("0xae78736Cd615f374D3085123A210448E74Fc6393", rETH_default, defaultSignerOrProvider),
6648
+ "deposit_pool": getContract("0xDD3f50F8A6CafbE9b31a427582963f465E745AF8", deposit_pool_default, defaultSignerOrProvider),
6649
+ "swap_router": getContract("0x16D5A408e807db8eF7c578279BEeEe6b228f1c1C", swap_router_default, defaultSignerOrProvider)
6650
+ },
6633
6651
  "spark": {
6634
6652
  "data_provider": getContract("0xFc21d6d146E6086B8359705C8b28512a983db0cb", data_provider_default3, defaultSignerOrProvider),
6635
6653
  "sparkLendingPoolV3": getContract("0xC13e21B648A5Ee794902342038FF3aDAB66BE987", sparkLendingPoolV3_default, defaultSignerOrProvider),
@@ -6932,6 +6950,13 @@ var contracts = {
6932
6950
  DaiJoin: "0x9759A6Ac90977b93B58547b4A71c78317f391A28",
6933
6951
  GemJoin: "0x2F0b23f53734252Bda2277357e97e1517d6B042A"
6934
6952
  },
6953
+ rocket_pool: {
6954
+ storage: "0x1d8f8f00cfa6758d7bE78336684788Fb0ee0Fa46",
6955
+ rETH: "0xae78736Cd615f374D3085123A210448E74Fc6393",
6956
+ deposit_pool: "0xDD3f50F8A6CafbE9b31a427582963f465E745AF8",
6957
+ // This address might due to Rocket Pool's Architecture
6958
+ swap_router: "0x16D5A408e807db8eF7c578279BEeEe6b228f1c1C"
6959
+ },
6935
6960
  spark: {
6936
6961
  data_provider: "0xFc21d6d146E6086B8359705C8b28512a983db0cb",
6937
6962
  sparkLendingPoolV3: "0xC13e21B648A5Ee794902342038FF3aDAB66BE987",
@@ -9172,6 +9197,138 @@ var ethPools_default = [
9172
9197
  }
9173
9198
  ],
9174
9199
  rewarder: "0x7633d0bBDe67553C582BF241BF8cb22895610B94"
9200
+ },
9201
+ {
9202
+ name: "ECLP-GHO-GYD",
9203
+ id: "193",
9204
+ bpt: "0xaA7a70070E7495fe86c67225329DbD39BAa2F63b",
9205
+ tokens: [
9206
+ {
9207
+ address: "0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f",
9208
+ symbol: "GHO"
9209
+ },
9210
+ {
9211
+ address: "0xe07F9D810a48ab5c3c914BA3cA53AF14E4491e8A",
9212
+ symbol: "GYD"
9213
+ }
9214
+ ],
9215
+ rewarder: "0x0d117d31E72b340bCfD39058859313F9d54b2095"
9216
+ },
9217
+ {
9218
+ name: "ECLP-GHO-USDC",
9219
+ id: "194",
9220
+ bpt: "0x99e7b15df044e1b62e2e1774fD4469d54D9409aC",
9221
+ tokens: [
9222
+ {
9223
+ address: "0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f",
9224
+ symbol: "GHO"
9225
+ },
9226
+ {
9227
+ address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
9228
+ symbol: "USDC"
9229
+ }
9230
+ ],
9231
+ rewarder: "0x89B8cB0d4259cA2B48b4938fd2b13D5274549Bb9"
9232
+ },
9233
+ {
9234
+ name: "ECLP-GHO-USDC-2",
9235
+ id: "195",
9236
+ bpt: "0x3932b187f440cE7703653b3908EDc5bB7676C283",
9237
+ tokens: [
9238
+ {
9239
+ address: "0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f",
9240
+ symbol: "GHO"
9241
+ },
9242
+ {
9243
+ address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
9244
+ symbol: "USDC"
9245
+ }
9246
+ ],
9247
+ rewarder: "0x6b89Ab92499bF872e53AA92106B8Fb7989496A40"
9248
+ },
9249
+ {
9250
+ name: "svETH/wstETH",
9251
+ id: "196",
9252
+ bpt: "0xdEdb11A6a23263469567C2881A9b9F8629eE0041",
9253
+ tokens: [
9254
+ {
9255
+ address: "0x6733F0283711F225A447e759D859a70b0c0Fd2bC",
9256
+ symbol: "svETH"
9257
+ },
9258
+ {
9259
+ address: "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
9260
+ symbol: "wstETH"
9261
+ },
9262
+ {
9263
+ address: "0xdEdb11A6a23263469567C2881A9b9F8629eE0041",
9264
+ symbol: "svETH/wstETH"
9265
+ }
9266
+ ],
9267
+ rewarder: "0xAf7Abaa64dCb57A477f61B09102d2570A38C6Df3"
9268
+ },
9269
+ {
9270
+ name: "ePENDLE/PENDLE",
9271
+ id: "197",
9272
+ bpt: "0xA2E9242163d54b536583368a01b5D232C95aA884",
9273
+ tokens: [
9274
+ {
9275
+ address: "0x22Fc5A29bd3d6CCe19a06f844019fd506fCe4455",
9276
+ symbol: "ePendle"
9277
+ },
9278
+ {
9279
+ address: "0x808507121B80c02388fAd14726482e061B8da827",
9280
+ symbol: "PENDLE"
9281
+ },
9282
+ {
9283
+ address: "0xA2E9242163d54b536583368a01b5D232C95aA884",
9284
+ symbol: "ePENDLE/PENDLE"
9285
+ }
9286
+ ],
9287
+ rewarder: "0x4631B77382e4Efde3E5808d6b30A330B91B2376B"
9288
+ },
9289
+ {
9290
+ name: "weETH/ezETH/rswETH",
9291
+ id: "198",
9292
+ bpt: "0x848a5564158d84b8A8fb68ab5D004Fae11619A54",
9293
+ tokens: [
9294
+ {
9295
+ address: "0x848a5564158d84b8A8fb68ab5D004Fae11619A54",
9296
+ symbol: "weETH/ezETH/rswETH"
9297
+ },
9298
+ {
9299
+ address: "0xbf5495Efe5DB9ce00f80364C8B423567e58d2110",
9300
+ symbol: "ezETH"
9301
+ },
9302
+ {
9303
+ address: "0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee",
9304
+ symbol: "weETH"
9305
+ },
9306
+ {
9307
+ address: "0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0",
9308
+ symbol: "rswETH"
9309
+ }
9310
+ ],
9311
+ rewarder: "0xce98eb8b2Fb98049b3F2dB0A212Ba7ca3Efd63b0"
9312
+ },
9313
+ {
9314
+ name: "sDOLA-DOLA BSP",
9315
+ id: "199",
9316
+ bpt: "0x264062CA46A1322c2E6464471764089E01F22F19",
9317
+ tokens: [
9318
+ {
9319
+ address: "0x264062CA46A1322c2E6464471764089E01F22F19",
9320
+ symbol: "sDOLA-DOLA BSP"
9321
+ },
9322
+ {
9323
+ address: "0x865377367054516e17014CcdED1e7d814EDC9ce4",
9324
+ symbol: "DOLA"
9325
+ },
9326
+ {
9327
+ address: "0xb45ad160634c528Cc3D2926d9807104FA3157305",
9328
+ symbol: "sDOLA"
9329
+ }
9330
+ ],
9331
+ rewarder: "0xA36d3799eA28f4B75653EBF9D91DDA4519578086"
9175
9332
  }
9176
9333
  ];
9177
9334
 
@@ -13891,7 +14048,7 @@ var gnoPools_default2 = [
13891
14048
  id: "0x5c78d05b8ecf97507d1cf70646082c54faa4da95000000000000000000000030",
13892
14049
  name: "bb-agEUR-EURe",
13893
14050
  type: "ComposableStable",
13894
- gauge: "0x210ABdFD989f3eE5C08614a8f4e096Cf8408f5DF",
14051
+ gauge: null,
13895
14052
  tokens: [
13896
14053
  {
13897
14054
  address: "0x4b1E2c2762667331Bc91648052F646d1b0d35984",
@@ -13992,7 +14149,7 @@ var gnoPools_default2 = [
13992
14149
  id: "0xa99fd9950b5d5dceeaf4939e221dca8ca9b938ab000100000000000000000025",
13993
14150
  name: "25WETH-25BAL-25GNO-25wxDAI",
13994
14151
  type: "Weighted",
13995
- gauge: "0xC092E0a4f5a2AdF3CF91E27cf4B7d7917D12CA2B",
14152
+ gauge: null,
13996
14153
  tokens: [
13997
14154
  {
13998
14155
  address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
@@ -14021,7 +14178,7 @@ var gnoPools_default2 = [
14021
14178
  id: "0xb8bb1ce9c6e5401d66fe2126db6e7387e1e24ffe00020000000000000000003d",
14022
14179
  name: "50WETH-50GNO",
14023
14180
  type: "Weighted",
14024
- gauge: "0xd264f4d4Ad98FEf4b198547059C07a8E8bBF2F0E",
14181
+ gauge: null,
14025
14182
  tokens: [
14026
14183
  {
14027
14184
  address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
@@ -18332,4 +18489,4 @@ export {
18332
18489
  createApply,
18333
18490
  createExportToSafeTransactionBuilder
18334
18491
  };
18335
- //# sourceMappingURL=chunk-PQDN7IHL.mjs.map
18492
+ //# sourceMappingURL=chunk-YTBRRQKO.mjs.map