defi-kit 1.0.2 → 1.2.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.
- package/dist/{chunk-PQDN7IHL.mjs → chunk-4WSFXYIG.mjs} +180 -4
- package/dist/chunk-4WSFXYIG.mjs.map +1 -0
- package/dist/eth.d.mts +2 -2
- package/dist/eth.d.ts +2 -2
- package/dist/eth.js +179 -3
- package/dist/eth.js.map +1 -1
- package/dist/eth.mjs +1 -1
- package/dist/gno.d.mts +2 -2
- package/dist/gno.d.ts +2 -2
- package/dist/gno.js +179 -3
- package/dist/gno.js.map +1 -1
- package/dist/gno.mjs +1 -1
- package/dist/schema-X3SEw6UU.d.mts +343 -0
- package/dist/schema-X3SEw6UU.d.ts +343 -0
- package/package.json +1 -1
- package/dist/chunk-PQDN7IHL.mjs.map +0 -1
- package/dist/schema-oePREKH2.d.mts +0 -343
- package/dist/schema-oePREKH2.d.ts +0 -343
|
@@ -561,6 +561,15 @@ var variableDebtWETH_default2 = [{ inputs: [{ internalType: "contract IPool", na
|
|
|
561
561
|
// eth-sdk/abis/mainnet/aaveV3/stableDebtWETH.json
|
|
562
562
|
var stableDebtWETH_default2 = [{ inputs: [{ internalType: "contract IPool", name: "pool", 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: "fromUser", type: "address" }, { indexed: true, internalType: "address", name: "toUser", type: "address" }, { indexed: true, internalType: "address", name: "asset", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "BorrowAllowanceDelegated", 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: "currentBalance", type: "uint256" }, { indexed: false, internalType: "uint256", name: "balanceIncrease", type: "uint256" }, { indexed: false, internalType: "uint256", name: "avgStableRate", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newTotalSupply", type: "uint256" }], name: "Burn", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "underlyingAsset", type: "address" }, { indexed: true, internalType: "address", name: "pool", type: "address" }, { indexed: false, internalType: "address", name: "incentivesController", type: "address" }, { indexed: false, internalType: "uint8", name: "debtTokenDecimals", type: "uint8" }, { indexed: false, internalType: "string", name: "debtTokenName", type: "string" }, { indexed: false, internalType: "string", name: "debtTokenSymbol", type: "string" }, { indexed: false, internalType: "bytes", name: "params", type: "bytes" }], name: "Initialized", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "onBehalfOf", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "currentBalance", type: "uint256" }, { indexed: false, internalType: "uint256", name: "balanceIncrease", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newRate", type: "uint256" }, { indexed: false, internalType: "uint256", name: "avgStableRate", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newTotalSupply", type: "uint256" }], name: "Mint", 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: [], name: "DEBT_TOKEN_REVISION", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "DELEGATION_WITH_SIG_TYPEHASH", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "EIP712_REVISION", outputs: [{ internalType: "bytes", name: "", type: "bytes" }], stateMutability: "view", type: "function" }, { inputs: [], name: "POOL", outputs: [{ internalType: "contract IPool", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "UNDERLYING_ASSET_ADDRESS", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "approveDelegation", outputs: [], 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: "address", name: "fromUser", type: "address" }, { internalType: "address", name: "toUser", type: "address" }], name: "borrowAllowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "burn", outputs: [{ internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "decimals", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }], name: "decreaseAllowance", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "delegator", type: "address" }, { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" }], name: "delegationWithSig", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getAverageStableRate", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getIncentivesController", outputs: [{ internalType: "contract IAaveIncentivesController", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getSupplyData", outputs: [{ internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint40", name: "", type: "uint40" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getTotalSupplyAndAvgRate", outputs: [{ internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getTotalSupplyLastUpdated", outputs: [{ internalType: "uint40", name: "", type: "uint40" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "getUserLastUpdated", outputs: [{ internalType: "uint40", name: "", type: "uint40" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "getUserStableRate", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }], name: "increaseAllowance", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "contract IPool", name: "initializingPool", type: "address" }, { internalType: "address", name: "underlyingAsset", type: "address" }, { internalType: "contract IAaveIncentivesController", name: "incentivesController", type: "address" }, { internalType: "uint8", name: "debtTokenDecimals", type: "uint8" }, { internalType: "string", name: "debtTokenName", type: "string" }, { internalType: "string", name: "debtTokenSymbol", type: "string" }, { internalType: "bytes", name: "params", type: "bytes" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "rate", type: "uint256" }], name: "mint", outputs: [{ internalType: "bool", name: "", type: "bool" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "nonces", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "principalBalanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "contract IAaveIncentivesController", name: "controller", type: "address" }], name: "setIncentivesController", outputs: [], stateMutability: "nonpayable", 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: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }];
|
|
563
563
|
|
|
564
|
+
// eth-sdk/abis/mainnet/ankr/ETH2_Staking.json
|
|
565
|
+
var ETH2_Staking_default = [{ anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "AETHContractChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address[]", name: "accounts", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "amounts", type: "uint256[]" }], name: "ClaimableSharesUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "ConfigContractChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "CrossChainBridgeChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "prevValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" }], name: "DistributeGasLimitChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "FETHContractChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "claimer", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "ManualClaimExpected", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "OperatorChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" }], name: "OwnershipTransferred", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "ownerAddress", type: "address" }, { indexed: true, internalType: "address", name: "receiverAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "bool", name: "isAETH", type: "bool" }], name: "PendingUnstake", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "claimer", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "PendingUnstakeRemoved", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "bytes", name: "pool", type: "bytes" }], name: "PoolCompleted", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "bytes", name: "pool", type: "bytes" }], name: "PoolOnGoing", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "provider", type: "address" }], name: "ProviderExited", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "provider", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "legacy", type: "uint256" }], name: "ProviderLockedEthReset", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "provider", type: "address" }, { indexed: false, internalType: "uint256", name: "ankrAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "etherEquivalence", type: "uint256" }], name: "ProviderSlashedAnkr", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "provider", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "ProviderSlashedEth", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "provider", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "ProviderToppedUpAnkr", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "provider", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "ProviderToppedUpEth", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "vault", type: "address" }, { indexed: false, internalType: "uint256", name: "count", type: "uint256" }], name: "PushedToVault", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "staker", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "bool", name: "isAETH", type: "bool" }], name: "RewardClaimed", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "receiverAddress", type: "address" }, { indexed: false, internalType: "address", name: "claimer", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "RewardsClaimed", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address[]", name: "claimers", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "amounts", type: "uint256[]" }], name: "RewardsDistributed", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "RewardsRestaked", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "staker", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "StakeConfirmed", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "staker", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "StakePending", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "staker", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "StakeRemoved", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "StakingContractChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "TreasuryChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "vault", type: "address" }], name: "VaultAllowed", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "vault", type: "address" }], name: "VaultDisallowed", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "WithdrawalPoolChanged", type: "event" }, { inputs: [], name: "_DISTRIBUTE_GAS_LIMIT", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "vault", type: "address" }], name: "allowVault", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "operator", type: "address" }], name: "changeOperator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "claimAETH", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "claimFETH", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "receiverAddress", type: "address" }], name: "claimManually", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "staker", type: "address" }], name: "claimableAETHFRewardOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "staker", type: "address" }], name: "claimableAETHRewardOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "staker", type: "address" }], name: "claimableFETHRewardOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "crossChainBridge", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "depositContractAddress", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "vault", type: "address" }], name: "disallowVault", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "feeAmount", type: "uint256" }], name: "distributeRewards", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "claimer", type: "address" }], name: "getForManualClaimOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "claimer", type: "address" }], name: "getPendingUnstakesOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getStashedForManualClaims", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getTotalPendingUnstakes", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "claimer", type: "address" }], name: "getUnstakeRequestsOf", outputs: [{ internalType: "uint256[]", name: "", type: "uint256[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "contract IAETH", name: "aethContract", type: "address" }, { internalType: "contract SystemParameters", name: "parameters", type: "address" }, { internalType: "address", name: "depositContract", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "claimer", type: "address" }], name: "isMarkedForManualClaim", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "action", type: "bytes32" }], name: "isPaused", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes", name: "pubkey", type: "bytes" }, { internalType: "bytes", name: "withdrawal_credentials", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "bytes32", name: "deposit_data_root", type: "bytes32" }], name: "pushToBeacon", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "vault", type: "address" }, { internalType: "uint256", name: "count", type: "uint256" }], name: "pushToVault", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "restake", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "stake", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "stakeAndClaimAethB", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "stakeAndClaimAethC", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "action", type: "bytes32" }], name: "togglePause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newOwner", type: "address" }], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "treasury", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], name: "unstakeAETH", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }], name: "unstakeAETHFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amount", type: "uint256" }], name: "unstakeFETH", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }], name: "unstakeFETHFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address payable", name: "aEthContract", type: "address" }], name: "updateAETHContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }], name: "updateClaimableShares", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "configContract", type: "address" }], name: "updateConfigContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "newValue", type: "uint256" }], name: "updateDistributeGasLimit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address payable", name: "fEthContract", type: "address" }], name: "updateFETHContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newValue", type: "address" }], name: "updateTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newValue", type: "address" }], name: "updateWithdrawalPool", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" }];
|
|
566
|
+
|
|
567
|
+
// eth-sdk/abis/mainnet/ankr/flashUnstake.json
|
|
568
|
+
var flashUnstake_default = [{ anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "oldPool", type: "address" }, { indexed: false, internalType: "address", name: "newPool", type: "address" }], name: "EthPoolChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "bool", name: "excluded", type: "bool" }], name: "ExcludedFromFee", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "enum FeeType", name: "utype", type: "uint8" }, { indexed: false, internalType: "uint256", name: "oldFee", type: "uint256" }, { indexed: false, internalType: "uint24", name: "newFee", type: "uint24" }], name: "FeeChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "enum FeeType", name: "ftype", type: "uint8" }, { indexed: false, internalType: "uint128", name: "nativeAmount", type: "uint128" }, { indexed: false, internalType: "uint128", name: "ankrethAmount", type: "uint128" }], name: "FeesUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "receiver", type: "address" }, { indexed: false, internalType: "uint128", name: "nativeAmount", type: "uint128" }, { indexed: false, internalType: "uint128", name: "ankrethAmount", type: "uint128" }], name: "FeesWithdrawn", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: false, internalType: "address", name: "token", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "fee", type: "uint256" }], name: "FlashLoan", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "oldAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newAmount", type: "uint256" }], name: "FlashLoanMaxChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint8", name: "version", type: "uint8" }], name: "Initialized", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bool", name: "enabled", type: "bool" }], name: "IntegratorLockEnabled", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "nativeAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "nativeReserve", type: "uint256" }, { indexed: true, internalType: "bool", name: "added", type: "bool" }], name: "LiquidityChange", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "oldAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newAmount", type: "uint256" }], name: "MinUnstakeAmountUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "NativeBalanceChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "address", name: "sender", type: "address" }], name: "NativeReceived", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" }], name: "OwnershipTransferred", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Paused", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "PoolStake", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "PoolUnstake", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bool", name: "enabled", type: "bool" }], name: "ProviderLockEnabled", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: false, internalType: "uint256", name: "amountIn", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amountOut", type: "uint256" }], name: "Swap", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint24", name: "oldValue", type: "uint24" }, { indexed: false, internalType: "uint24", name: "newValue", type: "uint24" }], name: "ThresholdChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "enum UserType", name: "utype", type: "uint8" }, { indexed: true, internalType: "bool", name: "added", type: "bool" }], name: "UserTypeChanged", type: "event" }, { inputs: [], name: "CALLBACK_SUCCESS", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "FEE_MAX", outputs: [{ internalType: "uint24", name: "", type: "uint24" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "value", type: "address" }, { internalType: "enum UserType", name: "utype", type: "uint8" }], name: "add", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_amount", type: "uint256" }], name: "addLiquidity", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "addLiquidityEth", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "ankreth", outputs: [{ internalType: "contract IAETHC", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "ankrethAmount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "index", type: "uint256" }, { internalType: "enum UserType", name: "utype", type: "uint8" }], name: "at", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "value", type: "address" }, { internalType: "enum UserType", name: "utype", type: "uint8" }], name: "contains", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bool", name: "enable", type: "bool" }], name: "enableIntegratorLock", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bool", name: "enable", type: "bool" }], name: "enableProviderLock", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "ethHandler", outputs: [{ internalType: "contract IETHHandler", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "ethPool", outputs: [{ internalType: "contract IETHPool", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "value", type: "address" }, { internalType: "bool", name: "exclude", type: "bool" }], name: "excludeFromFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "excludedFromFee", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "flashFee", outputs: [{ internalType: "uint128", name: "", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "contract IERC3156FlashBorrower", name: "receiver", type: "address" }, { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }], name: "flashLoan", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "flashLoanFee", outputs: [{ internalType: "uint24", name: "", type: "uint24" }], stateMutability: "view", type: "function" }, { inputs: [], name: "flashLoanFixedFee", outputs: [{ internalType: "uint128", name: "", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [], name: "flashLoanMaxAmount", outputs: [{ internalType: "uint128", name: "", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getAllLiquidity", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "bool", name: "isExcludedFromFee", type: "bool" }], name: "getAmountOut", outputs: [{ internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "bool", name: "enoughLiquidity", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getAvailableLiquidity", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "provider", type: "address" }], name: "getAvailableLiquidityForProvider", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getPendingLiquidity", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "provider", type: "address" }], name: "getPendingLiquidityForProvider", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "managerAddress", type: "address" }], name: "getRemainingManagerFee", outputs: [{ components: [{ internalType: "uint128", name: "nativeFee", type: "uint128" }, { internalType: "uint128", name: "ankrethFee", type: "uint128" }], internalType: "struct FeeAmounts", name: "feeRewards", type: "tuple" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_weth", type: "address" }, { internalType: "address", name: "_ankreth", type: "address" }, { internalType: "address", name: "_lpToken", type: "address" }, { internalType: "bool", name: "_integratorLockEnabled", type: "bool" }, { internalType: "bool", name: "_providerLockEnabled", type: "bool" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "integratorFee", outputs: [{ internalType: "uint24", name: "", type: "uint24" }], stateMutability: "view", type: "function" }, { inputs: [], name: "integratorLockEnabled", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "enum UserType", name: "utype", type: "uint8" }], name: "length", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "lpToken", outputs: [{ internalType: "contract ILP", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "managerFee", outputs: [{ internalType: "uint24", name: "", type: "uint24" }], stateMutability: "view", type: "function" }, { inputs: [], name: "managerFeeCollected", outputs: [{ internalType: "uint128", name: "nativeFee", type: "uint128" }, { internalType: "uint128", name: "ankrethFee", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "managerRewardDebt", outputs: [{ internalType: "uint128", name: "nativeFee", type: "uint128" }, { internalType: "uint128", name: "ankrethFee", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [], name: "minUnstakeAmount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "ownerFee", outputs: [{ internalType: "uint24", name: "", type: "uint24" }], stateMutability: "view", type: "function" }, { inputs: [], name: "ownerFeeCollected", outputs: [{ internalType: "uint128", name: "nativeFee", type: "uint128" }, { internalType: "uint128", name: "ankrethFee", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [], name: "paused", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "providerLockEnabled", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "value", type: "address" }, { internalType: "enum UserType", name: "utype", type: "uint8" }], name: "remove", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "lpAmount", type: "uint256" }], name: "removeLiquidity", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "lpAmount", type: "uint256" }], name: "removeLiquidityEth", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "percent", type: "uint256" }], name: "removeLiquidityPercent", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "percent", type: "uint256" }], name: "removeLiquidityPercentEth", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newETHPool", type: "address" }], name: "setETHPool", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint24", name: "newFee", type: "uint24" }, { internalType: "enum FeeType", name: "feeType", type: "uint8" }], name: "setFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint128", name: "amount", type: "uint128" }], name: "setFlashLoanMaxAmount", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amount", type: "uint256" }], name: "setMinUnstakeAmount", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "skim", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "stakeFee", outputs: [{ internalType: "uint24", name: "", type: "uint24" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }], name: "swap", outputs: [{ internalType: "uint256", name: "amountOut", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }], name: "swapEth", outputs: [{ internalType: "uint256", name: "amountOut", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newOwner", type: "address" }], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unstakeFee", outputs: [{ internalType: "uint24", name: "", type: "uint24" }], stateMutability: "view", type: "function" }, { inputs: [], name: "weth", outputs: [{ internalType: "contract IWETH", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "wethAmount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "withdrawManagerFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawManagerFeeEth", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amount0", type: "uint256" }, { internalType: "uint256", name: "amount1", type: "uint256" }], name: "withdrawOwnerFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amount0", type: "uint256" }, { internalType: "uint256", name: "amount1", type: "uint256" }], name: "withdrawOwnerFeeEth", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" }];
|
|
569
|
+
|
|
570
|
+
// eth-sdk/abis/mainnet/ankr/ankrETH.json
|
|
571
|
+
var ankrETH_default = [{ 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: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "BscBridgeContractChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "FeeRecipientChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "GlobalPoolContractUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "string", name: "name", type: "string" }, { indexed: false, internalType: "string", name: "symbol", type: "string" }], name: "NameAndSymbolChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "prevValue", type: "address" }, { indexed: false, internalType: "address", name: "newValue", type: "address" }], name: "OperatorChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" }], name: "OwnershipTransferred", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "action", type: "bytes32" }, { indexed: false, internalType: "bool", name: "newValue", type: "bool" }], name: "PauseToggled", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint32", name: "prevValue", type: "uint32" }, { indexed: false, internalType: "uint32", name: "newValue", type: "uint32" }], name: "RatioThresholdChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "newRatio", type: "uint256" }], name: "RatioUpdate", 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: [], name: "MAX_THRESHOLD", outputs: [{ internalType: "uint32", name: "", type: "uint32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_RATIO_THRESHOLD", outputs: [{ internalType: "uint32", name: "", type: "uint32" }], stateMutability: "view", type: "function" }, { 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: "amount", type: "uint256" }], name: "bondsToShares", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "operator", type: "address" }], name: "changeOperator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "token", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "claimTokens", 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: [{ 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: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "action", type: "bytes32" }], name: "isPaused", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "isRebasing", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "pure", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "mint", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "mintApprovedTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "ratio", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "shares", type: "uint256" }], name: "refundPool", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "newRatio", type: "uint256" }], name: "repairRatio", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_bscBridge", type: "address" }], name: "setBscBridgeContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newValue", type: "address" }], name: "setFeeRecipient", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "string", name: "new_name", type: "string" }, { internalType: "string", name: "new_symbol", type: "string" }], name: "setNameAndSymbol", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "setNewNameAndSymbol", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint32", name: "newValue", type: "uint32" }], name: "setRatioThreshold", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amount", type: "uint256" }], name: "sharesToBonds", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "action", type: "bytes32" }], name: "togglePause", outputs: [], stateMutability: "nonpayable", 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: [{ internalType: "address", name: "newOwner", type: "address" }], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "globalPoolContract", type: "address" }], name: "updateGlobalPoolContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "newRatio", type: "uint256" }], name: "updateRatio", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "newRatio", type: "uint256" }], name: "updateRatioAndClaim", outputs: [], stateMutability: "nonpayable", type: "function" }];
|
|
572
|
+
|
|
564
573
|
// eth-sdk/abis/mainnet/aura/booster.json
|
|
565
574
|
var booster_default = [{ inputs: [{ internalType: "address", name: "_staker", type: "address" }, { internalType: "address", name: "_minter", type: "address" }, { internalType: "address", name: "_crv", type: "address" }, { internalType: "address", name: "_voteOwnership", type: "address" }, { internalType: "address", name: "_voteParameter", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "newArbitrator", type: "address" }], name: "ArbitratorUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "poolid", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "Deposited", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "rewardFactory", type: "address" }, { indexed: false, internalType: "address", name: "stashFactory", type: "address" }, { indexed: false, internalType: "address", name: "tokenFactory", type: "address" }], name: "FactoriesUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "feeDistro", type: "address" }, { indexed: false, internalType: "bool", name: "active", type: "bool" }], name: "FeeInfoChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "feeDistro", type: "address" }, { indexed: false, internalType: "address", name: "lockFees", type: "address" }, { indexed: false, internalType: "address", name: "feeToken", type: "address" }], name: "FeeInfoUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "newFeeManager", type: "address" }], name: "FeeManagerUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "lockIncentive", type: "uint256" }, { indexed: false, internalType: "uint256", name: "stakerIncentive", type: "uint256" }, { indexed: false, internalType: "uint256", name: "earmarkIncentive", type: "uint256" }, { indexed: false, internalType: "uint256", name: "platformFee", type: "uint256" }], name: "FeesUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "newOwner", type: "address" }], name: "OwnerUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "lpToken", type: "address" }, { indexed: false, internalType: "address", name: "gauge", type: "address" }, { indexed: false, internalType: "address", name: "token", type: "address" }, { indexed: false, internalType: "address", name: "rewardPool", type: "address" }, { indexed: false, internalType: "address", name: "stash", type: "address" }, { indexed: false, internalType: "uint256", name: "pid", type: "uint256" }], name: "PoolAdded", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "newPoolManager", type: "address" }], name: "PoolManagerUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "poolId", type: "uint256" }], name: "PoolShutdown", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "lockRewards", type: "address" }, { indexed: false, internalType: "address", name: "stakerRewards", type: "address" }], name: "RewardContractsUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "newTreasury", type: "address" }], name: "TreasuryUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "newVoteDelegate", type: "address" }], name: "VoteDelegateUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "poolid", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "Withdrawn", type: "event" }, { inputs: [], name: "FEE_DENOMINATOR", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "MaxFees", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "REWARD_MULTIPLIER_DENOMINATOR", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_lptoken", type: "address" }, { internalType: "address", name: "_gauge", type: "address" }, { internalType: "uint256", name: "_stashVersion", type: "uint256" }], name: "addPool", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "bridgeDelegate", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }, { internalType: "address", name: "_gauge", type: "address" }], name: "claimRewards", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "crv", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "bool", name: "_stake", type: "bool" }], name: "deposit", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }, { internalType: "bool", name: "_stake", type: "bool" }], name: "depositAll", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_amount", type: "uint256" }], name: "distributeL2Fees", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_feeToken", type: "address" }], name: "earmarkFees", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "earmarkIncentive", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }], name: "earmarkRewards", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "feeManager", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "feeTokens", outputs: [{ internalType: "address", name: "distro", type: "address" }, { internalType: "address", name: "rewards", type: "address" }, { internalType: "bool", name: "active", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "gaugeMap", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "getRewardMultipliers", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "isShutdown", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "", type: "uint256" }], name: "l2FeesHistory", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "lockIncentive", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "lockRewards", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "minter", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "platformFee", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "", type: "uint256" }], name: "poolInfo", outputs: [{ internalType: "address", name: "lptoken", type: "address" }, { internalType: "address", name: "token", type: "address" }, { internalType: "address", name: "gauge", type: "address" }, { internalType: "address", name: "crvRewards", type: "address" }, { internalType: "address", name: "stash", type: "address" }, { internalType: "bool", name: "shutdown", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "poolLength", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "poolManager", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "rewardArbitrator", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }, { internalType: "address", name: "_address", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" }], name: "rewardClaimed", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "rewardFactory", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_arb", type: "address" }], name: "setArbitrator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_bridgeDelegate", type: "address" }], name: "setBridgeDelegate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_delegateContract", type: "address" }, { internalType: "address", name: "_delegate", type: "address" }, { internalType: "bytes32", name: "_space", type: "bytes32" }], name: "setDelegate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_rfactory", type: "address" }, { internalType: "address", name: "_sfactory", type: "address" }, { internalType: "address", name: "_tfactory", type: "address" }], name: "setFactories", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_feeToken", type: "address" }, { internalType: "address", name: "_feeDistro", type: "address" }], name: "setFeeInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_feeM", type: "address" }], name: "setFeeManager", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_lockFees", type: "uint256" }, { internalType: "uint256", name: "_stakerFees", type: "uint256" }, { internalType: "uint256", name: "_callerFees", type: "uint256" }, { internalType: "uint256", name: "_platform", type: "uint256" }], name: "setFees", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }], name: "setGaugeRedirect", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_owner", type: "address" }], name: "setOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_poolM", type: "address" }], name: "setPoolManager", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_rewards", type: "address" }, { internalType: "address", name: "_stakerRewards", type: "address" }], name: "setRewardContracts", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "rewardContract", type: "address" }, { internalType: "uint256", name: "multiplier", type: "uint256" }], name: "setRewardMultiplier", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_treasury", type: "address" }], name: "setTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_hash", type: "bytes32" }], name: "setVote", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_voteDelegate", type: "address" }], name: "setVoteDelegate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }], name: "shutdownPool", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "shutdownSystem", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "staker", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "stakerIncentive", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "stakerRewards", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "stashFactory", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "tokenFactory", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "treasury", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_feeToken", type: "address" }, { internalType: "bool", name: "_active", type: "bool" }], name: "updateFeeInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_voteId", type: "uint256" }, { internalType: "address", name: "_votingAddress", type: "address" }, { internalType: "bool", name: "_support", type: "bool" }], name: "vote", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "voteDelegate", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address[]", name: "_gauge", type: "address[]" }, { internalType: "uint256[]", name: "_weight", type: "uint256[]" }], name: "voteGaugeWeight", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "voteOwnership", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "voteParameter", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" }], name: "withdraw", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }], name: "withdrawAll", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pid", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }], name: "withdrawTo", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }];
|
|
566
575
|
|
|
@@ -6504,6 +6513,18 @@ var DaiJoin_default = [{ inputs: [{ internalType: "address", name: "vat_", type:
|
|
|
6504
6513
|
// eth-sdk/abis/mainnet/maker/GemJoin.json
|
|
6505
6514
|
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
6515
|
|
|
6516
|
+
// eth-sdk/abis/mainnet/rocket_pool/storage.json
|
|
6517
|
+
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" }];
|
|
6518
|
+
|
|
6519
|
+
// eth-sdk/abis/mainnet/rocket_pool/rETH.json
|
|
6520
|
+
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" }];
|
|
6521
|
+
|
|
6522
|
+
// eth-sdk/abis/mainnet/rocket_pool/deposit_pool.json
|
|
6523
|
+
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" }];
|
|
6524
|
+
|
|
6525
|
+
// eth-sdk/abis/mainnet/rocket_pool/swap_router.json
|
|
6526
|
+
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" }];
|
|
6527
|
+
|
|
6507
6528
|
// eth-sdk/abis/mainnet/spark/data_provider.json
|
|
6508
6529
|
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
6530
|
|
|
@@ -6566,6 +6587,11 @@ function getMainnetSdk(defaultSignerOrProvider) {
|
|
|
6566
6587
|
"variableDebtWETH": getContract("0xeA51d7853EEFb32b6ee06b1C12E6dcCA88Be0fFE", variableDebtWETH_default2, defaultSignerOrProvider),
|
|
6567
6588
|
"stableDebtWETH": getContract("0x102633152313C81cD80419b6EcF66d14Ad68949A", stableDebtWETH_default2, defaultSignerOrProvider)
|
|
6568
6589
|
},
|
|
6590
|
+
"ankr": {
|
|
6591
|
+
"ETH2_Staking": getContract("0x84db6ee82b7cf3b47e8f19270abde5718b936670", ETH2_Staking_default, defaultSignerOrProvider),
|
|
6592
|
+
"flashUnstake": getContract("0xf047f23ACFdB1315cF63Ad8aB5146d5fDa4267Af", flashUnstake_default, defaultSignerOrProvider),
|
|
6593
|
+
"ankrETH": getContract("0xE95A203B1a91a908F9B9CE46459d101078c2c3cb", ankrETH_default, defaultSignerOrProvider)
|
|
6594
|
+
},
|
|
6569
6595
|
"aura": {
|
|
6570
6596
|
"booster": getContract("0xA57b8d98dAE62B26Ec3bcC4a365338157060B234", booster_default, defaultSignerOrProvider),
|
|
6571
6597
|
"reward_pool_deposit_wrapper": getContract("0xB188b1CB84Fb0bA13cb9ee1292769F903A9feC59", reward_pool_deposit_wrapper_default, defaultSignerOrProvider),
|
|
@@ -6630,6 +6656,12 @@ function getMainnetSdk(defaultSignerOrProvider) {
|
|
|
6630
6656
|
"DaiJoin": getContract("0x9759A6Ac90977b93B58547b4A71c78317f391A28", DaiJoin_default, defaultSignerOrProvider),
|
|
6631
6657
|
"GemJoin": getContract("0x2F0b23f53734252Bda2277357e97e1517d6B042A", GemJoin_default, defaultSignerOrProvider)
|
|
6632
6658
|
},
|
|
6659
|
+
"rocket_pool": {
|
|
6660
|
+
"storage": getContract("0x1d8f8f00cfa6758d7bE78336684788Fb0ee0Fa46", storage_default, defaultSignerOrProvider),
|
|
6661
|
+
"rETH": getContract("0xae78736Cd615f374D3085123A210448E74Fc6393", rETH_default, defaultSignerOrProvider),
|
|
6662
|
+
"deposit_pool": getContract("0xDD3f50F8A6CafbE9b31a427582963f465E745AF8", deposit_pool_default, defaultSignerOrProvider),
|
|
6663
|
+
"swap_router": getContract("0x16D5A408e807db8eF7c578279BEeEe6b228f1c1C", swap_router_default, defaultSignerOrProvider)
|
|
6664
|
+
},
|
|
6633
6665
|
"spark": {
|
|
6634
6666
|
"data_provider": getContract("0xFc21d6d146E6086B8359705C8b28512a983db0cb", data_provider_default3, defaultSignerOrProvider),
|
|
6635
6667
|
"sparkLendingPoolV3": getContract("0xC13e21B648A5Ee794902342038FF3aDAB66BE987", sparkLendingPoolV3_default, defaultSignerOrProvider),
|
|
@@ -6867,6 +6899,11 @@ var contracts = {
|
|
|
6867
6899
|
variableDebtWETH: "0xeA51d7853EEFb32b6ee06b1C12E6dcCA88Be0fFE",
|
|
6868
6900
|
stableDebtWETH: "0x102633152313C81cD80419b6EcF66d14Ad68949A"
|
|
6869
6901
|
},
|
|
6902
|
+
ankr: {
|
|
6903
|
+
ETH2_Staking: "0x84db6ee82b7cf3b47e8f19270abde5718b936670",
|
|
6904
|
+
flashUnstake: "0xf047f23ACFdB1315cF63Ad8aB5146d5fDa4267Af",
|
|
6905
|
+
ankrETH: "0xE95A203B1a91a908F9B9CE46459d101078c2c3cb"
|
|
6906
|
+
},
|
|
6870
6907
|
aura: {
|
|
6871
6908
|
booster: "0xA57b8d98dAE62B26Ec3bcC4a365338157060B234",
|
|
6872
6909
|
reward_pool_deposit_wrapper: "0xB188b1CB84Fb0bA13cb9ee1292769F903A9feC59",
|
|
@@ -6932,6 +6969,13 @@ var contracts = {
|
|
|
6932
6969
|
DaiJoin: "0x9759A6Ac90977b93B58547b4A71c78317f391A28",
|
|
6933
6970
|
GemJoin: "0x2F0b23f53734252Bda2277357e97e1517d6B042A"
|
|
6934
6971
|
},
|
|
6972
|
+
rocket_pool: {
|
|
6973
|
+
storage: "0x1d8f8f00cfa6758d7bE78336684788Fb0ee0Fa46",
|
|
6974
|
+
rETH: "0xae78736Cd615f374D3085123A210448E74Fc6393",
|
|
6975
|
+
deposit_pool: "0xDD3f50F8A6CafbE9b31a427582963f465E745AF8",
|
|
6976
|
+
// This address might due to Rocket Pool's Architecture
|
|
6977
|
+
swap_router: "0x16D5A408e807db8eF7c578279BEeEe6b228f1c1C"
|
|
6978
|
+
},
|
|
6935
6979
|
spark: {
|
|
6936
6980
|
data_provider: "0xFc21d6d146E6086B8359705C8b28512a983db0cb",
|
|
6937
6981
|
sparkLendingPoolV3: "0xC13e21B648A5Ee794902342038FF3aDAB66BE987",
|
|
@@ -9172,6 +9216,138 @@ var ethPools_default = [
|
|
|
9172
9216
|
}
|
|
9173
9217
|
],
|
|
9174
9218
|
rewarder: "0x7633d0bBDe67553C582BF241BF8cb22895610B94"
|
|
9219
|
+
},
|
|
9220
|
+
{
|
|
9221
|
+
name: "ECLP-GHO-GYD",
|
|
9222
|
+
id: "193",
|
|
9223
|
+
bpt: "0xaA7a70070E7495fe86c67225329DbD39BAa2F63b",
|
|
9224
|
+
tokens: [
|
|
9225
|
+
{
|
|
9226
|
+
address: "0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f",
|
|
9227
|
+
symbol: "GHO"
|
|
9228
|
+
},
|
|
9229
|
+
{
|
|
9230
|
+
address: "0xe07F9D810a48ab5c3c914BA3cA53AF14E4491e8A",
|
|
9231
|
+
symbol: "GYD"
|
|
9232
|
+
}
|
|
9233
|
+
],
|
|
9234
|
+
rewarder: "0x0d117d31E72b340bCfD39058859313F9d54b2095"
|
|
9235
|
+
},
|
|
9236
|
+
{
|
|
9237
|
+
name: "ECLP-GHO-USDC",
|
|
9238
|
+
id: "194",
|
|
9239
|
+
bpt: "0x99e7b15df044e1b62e2e1774fD4469d54D9409aC",
|
|
9240
|
+
tokens: [
|
|
9241
|
+
{
|
|
9242
|
+
address: "0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f",
|
|
9243
|
+
symbol: "GHO"
|
|
9244
|
+
},
|
|
9245
|
+
{
|
|
9246
|
+
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
9247
|
+
symbol: "USDC"
|
|
9248
|
+
}
|
|
9249
|
+
],
|
|
9250
|
+
rewarder: "0x89B8cB0d4259cA2B48b4938fd2b13D5274549Bb9"
|
|
9251
|
+
},
|
|
9252
|
+
{
|
|
9253
|
+
name: "ECLP-GHO-USDC-2",
|
|
9254
|
+
id: "195",
|
|
9255
|
+
bpt: "0x3932b187f440cE7703653b3908EDc5bB7676C283",
|
|
9256
|
+
tokens: [
|
|
9257
|
+
{
|
|
9258
|
+
address: "0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f",
|
|
9259
|
+
symbol: "GHO"
|
|
9260
|
+
},
|
|
9261
|
+
{
|
|
9262
|
+
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
9263
|
+
symbol: "USDC"
|
|
9264
|
+
}
|
|
9265
|
+
],
|
|
9266
|
+
rewarder: "0x6b89Ab92499bF872e53AA92106B8Fb7989496A40"
|
|
9267
|
+
},
|
|
9268
|
+
{
|
|
9269
|
+
name: "svETH/wstETH",
|
|
9270
|
+
id: "196",
|
|
9271
|
+
bpt: "0xdEdb11A6a23263469567C2881A9b9F8629eE0041",
|
|
9272
|
+
tokens: [
|
|
9273
|
+
{
|
|
9274
|
+
address: "0x6733F0283711F225A447e759D859a70b0c0Fd2bC",
|
|
9275
|
+
symbol: "svETH"
|
|
9276
|
+
},
|
|
9277
|
+
{
|
|
9278
|
+
address: "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
9279
|
+
symbol: "wstETH"
|
|
9280
|
+
},
|
|
9281
|
+
{
|
|
9282
|
+
address: "0xdEdb11A6a23263469567C2881A9b9F8629eE0041",
|
|
9283
|
+
symbol: "svETH/wstETH"
|
|
9284
|
+
}
|
|
9285
|
+
],
|
|
9286
|
+
rewarder: "0xAf7Abaa64dCb57A477f61B09102d2570A38C6Df3"
|
|
9287
|
+
},
|
|
9288
|
+
{
|
|
9289
|
+
name: "ePENDLE/PENDLE",
|
|
9290
|
+
id: "197",
|
|
9291
|
+
bpt: "0xA2E9242163d54b536583368a01b5D232C95aA884",
|
|
9292
|
+
tokens: [
|
|
9293
|
+
{
|
|
9294
|
+
address: "0x22Fc5A29bd3d6CCe19a06f844019fd506fCe4455",
|
|
9295
|
+
symbol: "ePendle"
|
|
9296
|
+
},
|
|
9297
|
+
{
|
|
9298
|
+
address: "0x808507121B80c02388fAd14726482e061B8da827",
|
|
9299
|
+
symbol: "PENDLE"
|
|
9300
|
+
},
|
|
9301
|
+
{
|
|
9302
|
+
address: "0xA2E9242163d54b536583368a01b5D232C95aA884",
|
|
9303
|
+
symbol: "ePENDLE/PENDLE"
|
|
9304
|
+
}
|
|
9305
|
+
],
|
|
9306
|
+
rewarder: "0x4631B77382e4Efde3E5808d6b30A330B91B2376B"
|
|
9307
|
+
},
|
|
9308
|
+
{
|
|
9309
|
+
name: "weETH/ezETH/rswETH",
|
|
9310
|
+
id: "198",
|
|
9311
|
+
bpt: "0x848a5564158d84b8A8fb68ab5D004Fae11619A54",
|
|
9312
|
+
tokens: [
|
|
9313
|
+
{
|
|
9314
|
+
address: "0x848a5564158d84b8A8fb68ab5D004Fae11619A54",
|
|
9315
|
+
symbol: "weETH/ezETH/rswETH"
|
|
9316
|
+
},
|
|
9317
|
+
{
|
|
9318
|
+
address: "0xbf5495Efe5DB9ce00f80364C8B423567e58d2110",
|
|
9319
|
+
symbol: "ezETH"
|
|
9320
|
+
},
|
|
9321
|
+
{
|
|
9322
|
+
address: "0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee",
|
|
9323
|
+
symbol: "weETH"
|
|
9324
|
+
},
|
|
9325
|
+
{
|
|
9326
|
+
address: "0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0",
|
|
9327
|
+
symbol: "rswETH"
|
|
9328
|
+
}
|
|
9329
|
+
],
|
|
9330
|
+
rewarder: "0xce98eb8b2Fb98049b3F2dB0A212Ba7ca3Efd63b0"
|
|
9331
|
+
},
|
|
9332
|
+
{
|
|
9333
|
+
name: "sDOLA-DOLA BSP",
|
|
9334
|
+
id: "199",
|
|
9335
|
+
bpt: "0x264062CA46A1322c2E6464471764089E01F22F19",
|
|
9336
|
+
tokens: [
|
|
9337
|
+
{
|
|
9338
|
+
address: "0x264062CA46A1322c2E6464471764089E01F22F19",
|
|
9339
|
+
symbol: "sDOLA-DOLA BSP"
|
|
9340
|
+
},
|
|
9341
|
+
{
|
|
9342
|
+
address: "0x865377367054516e17014CcdED1e7d814EDC9ce4",
|
|
9343
|
+
symbol: "DOLA"
|
|
9344
|
+
},
|
|
9345
|
+
{
|
|
9346
|
+
address: "0xb45ad160634c528Cc3D2926d9807104FA3157305",
|
|
9347
|
+
symbol: "sDOLA"
|
|
9348
|
+
}
|
|
9349
|
+
],
|
|
9350
|
+
rewarder: "0xA36d3799eA28f4B75653EBF9D91DDA4519578086"
|
|
9175
9351
|
}
|
|
9176
9352
|
];
|
|
9177
9353
|
|
|
@@ -13891,7 +14067,7 @@ var gnoPools_default2 = [
|
|
|
13891
14067
|
id: "0x5c78d05b8ecf97507d1cf70646082c54faa4da95000000000000000000000030",
|
|
13892
14068
|
name: "bb-agEUR-EURe",
|
|
13893
14069
|
type: "ComposableStable",
|
|
13894
|
-
gauge:
|
|
14070
|
+
gauge: null,
|
|
13895
14071
|
tokens: [
|
|
13896
14072
|
{
|
|
13897
14073
|
address: "0x4b1E2c2762667331Bc91648052F646d1b0d35984",
|
|
@@ -13992,7 +14168,7 @@ var gnoPools_default2 = [
|
|
|
13992
14168
|
id: "0xa99fd9950b5d5dceeaf4939e221dca8ca9b938ab000100000000000000000025",
|
|
13993
14169
|
name: "25WETH-25BAL-25GNO-25wxDAI",
|
|
13994
14170
|
type: "Weighted",
|
|
13995
|
-
gauge:
|
|
14171
|
+
gauge: null,
|
|
13996
14172
|
tokens: [
|
|
13997
14173
|
{
|
|
13998
14174
|
address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
|
|
@@ -14021,7 +14197,7 @@ var gnoPools_default2 = [
|
|
|
14021
14197
|
id: "0xb8bb1ce9c6e5401d66fe2126db6e7387e1e24ffe00020000000000000000003d",
|
|
14022
14198
|
name: "50WETH-50GNO",
|
|
14023
14199
|
type: "Weighted",
|
|
14024
|
-
gauge:
|
|
14200
|
+
gauge: null,
|
|
14025
14201
|
tokens: [
|
|
14026
14202
|
{
|
|
14027
14203
|
address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
|
|
@@ -18332,4 +18508,4 @@ export {
|
|
|
18332
18508
|
createApply,
|
|
18333
18509
|
createExportToSafeTransactionBuilder
|
|
18334
18510
|
};
|
|
18335
|
-
//# sourceMappingURL=chunk-
|
|
18511
|
+
//# sourceMappingURL=chunk-4WSFXYIG.mjs.map
|