defi-kit 1.1.0 → 1.3.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-YTBRRQKO.mjs → chunk-QH74Q34N.mjs} +39 -1
- package/dist/chunk-QH74Q34N.mjs.map +1 -0
- package/dist/eth.js +38 -0
- package/dist/eth.js.map +1 -1
- package/dist/eth.mjs +1 -1
- package/dist/gno.js +38 -0
- package/dist/gno.js.map +1 -1
- package/dist/gno.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-YTBRRQKO.mjs.map +0 -1
|
@@ -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
|
|
|
@@ -6537,6 +6546,15 @@ var spWETH_default = [{ inputs: [{ internalType: "contract IPool", name: "pool",
|
|
|
6537
6546
|
// eth-sdk/abis/mainnet/spark/sDAI.json
|
|
6538
6547
|
var sDAI_default = [{ inputs: [{ internalType: "address", name: "_daiJoin", type: "address" }, { internalType: "address", name: "_pot", 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: "sender", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" }], name: "Deposit", 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" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" }], name: "Withdraw", type: "event" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "PERMIT_TYPEHASH", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], 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: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "asset", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], name: "convertToAssets", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], name: "convertToShares", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "dai", outputs: [{ internalType: "contract DaiLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "daiJoin", outputs: [{ internalType: "contract DaiJoinLike", name: "", type: "address" }], stateMutability: "view", 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: "deploymentChainId", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }], name: "deposit", outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], 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: "address", name: "", type: "address" }], name: "maxDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "pure", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "maxMint", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "pure", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "maxRedeem", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "maxWithdraw", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }], name: "mint", outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "nonces", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" }], name: "permit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", 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: "permit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pot", outputs: [{ internalType: "contract PotLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], name: "previewDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], name: "previewMint", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], name: "previewRedeem", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], name: "previewWithdraw", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "address", name: "owner", type: "address" }], name: "redeem", outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalAssets", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vat", outputs: [{ internalType: "contract VatLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "version", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "address", name: "owner", type: "address" }], name: "withdraw", outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], stateMutability: "nonpayable", type: "function" }];
|
|
6539
6548
|
|
|
6549
|
+
// eth-sdk/abis/mainnet/stader/staking_pool_manager.json
|
|
6550
|
+
var staking_pool_manager_default = [{ inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "CallerNotManager", type: "error" }, { inputs: [], name: "CallerNotStaderContract", type: "error" }, { inputs: [], name: "CooldownNotComplete", type: "error" }, { inputs: [], name: "InsufficientBalance", type: "error" }, { inputs: [], name: "InvalidDepositAmount", type: "error" }, { inputs: [], name: "PoolIdDoesNotExit", type: "error" }, { inputs: [], name: "TransferFailed", type: "error" }, { inputs: [], name: "UnsupportedOperation", type: "error" }, { inputs: [], name: "UnsupportedOperationInSafeMode", type: "error" }, { inputs: [], name: "ZeroAddress", type: "error" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "AuctionedEthReceived", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" }, { indexed: false, internalType: "string", name: "referralId", type: "string" }], name: "DepositReferral", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" }], name: "Deposited", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint256", name: "poolId", type: "uint256" }, { indexed: false, internalType: "address", name: "poolAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "validatorCount", type: "uint256" }], name: "ETHTransferredToPool", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "ExecutionLayerRewardsReceived", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint8", name: "version", type: "uint8" }], name: "Initialized", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Paused", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint8", name: "poolId", type: "uint8" }], name: "ReceivedExcessEthFromPool", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "previousAdminRole", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "newAdminRole", type: "bytes32" }], name: "RoleAdminChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleGranted", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleRevoked", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "TransferredETHToUserWithdrawManager", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "excessETHDepositCoolDown", type: "uint256" }], name: "UpdatedExcessETHDepositCoolDown", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "staderConfig", type: "address" }], name: "UpdatedStaderConfig", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "WithdrawVaultUserShareReceived", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_shares", type: "uint256" }], name: "convertToAssets", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_assets", type: "uint256" }], name: "convertToShares", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_receiver", type: "address" }, { internalType: "string", name: "_referralId", type: "string" }], name: "deposit", outputs: [{ internalType: "uint256", name: "_shares", type: "uint256" }], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "_receiver", type: "address" }], name: "deposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "payable", type: "function" }, { inputs: [], name: "depositETHOverTargetWeight", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "excessETHDepositCoolDown", 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: "bytes32", name: "role", type: "bytes32" }], name: "getRoleAdmin", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "grantRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "hasRole", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_admin", type: "address" }, { internalType: "address", name: "_staderConfig", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "isVaultHealthy", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "lastExcessETHDepositBlock", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "maxDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "minDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_assets", type: "uint256" }], name: "previewDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_shares", type: "uint256" }], name: "previewWithdraw", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "receiveEthFromAuction", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "uint8", name: "_poolId", type: "uint8" }], name: "receiveExcessEthFromPool", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "receiveExecutionLayerRewards", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "receiveWithdrawVaultUserShare", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "revokeRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "staderConfig", outputs: [{ internalType: "contract IStaderConfig", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }], name: "supportsInterface", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalAssets", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_amount", type: "uint256" }], name: "transferETHToUserWithdrawManager", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_excessETHDepositCoolDown", type: "uint256" }], name: "updateExcessETHDepositCoolDown", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_staderConfig", type: "address" }], name: "updateStaderConfig", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint8", name: "_poolId", type: "uint8" }], name: "validatorBatchDeposit", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" }];
|
|
6551
|
+
|
|
6552
|
+
// eth-sdk/abis/mainnet/stader/user_withdraw_manager.json
|
|
6553
|
+
var user_withdraw_manager_default = [{ inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "CallerNotAuthorizedToRedeem", type: "error" }, { inputs: [], name: "CallerNotManager", type: "error" }, { inputs: [], name: "CannotFindRequestId", type: "error" }, { inputs: [], name: "ETHTransferFailed", type: "error" }, { inputs: [], name: "InSufficientBalance", type: "error" }, { inputs: [], name: "InvalidWithdrawAmount", type: "error" }, { inputs: [], name: "MaxLimitOnWithdrawRequestCountReached", type: "error" }, { inputs: [], name: "ProtocolNotHealthy", type: "error" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "RequestAlreadyRedeemed", type: "error" }, { inputs: [], name: "UnsupportedOperationInSafeMode", type: "error" }, { inputs: [], name: "ZeroAddress", type: "error" }, { inputs: [], name: "ZeroAddressReceived", type: "error" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "requestIdNotFinalized", type: "error" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "requestId", type: "uint256" }], name: "FinalizedWithdrawRequest", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint8", name: "version", type: "uint8" }], name: "Initialized", 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: "ReceivedETH", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "_sender", type: "address" }, { indexed: false, internalType: "uint256", name: "_requestId", type: "uint256" }, { indexed: false, internalType: "address", name: "_oldRecipient", type: "address" }, { indexed: false, internalType: "address", name: "_newRecipient", type: "address" }], name: "RecipientAddressUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "_sender", type: "address" }, { indexed: false, internalType: "address", name: "_recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "_ethTransferred", type: "uint256" }], name: "RequestRedeemed", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "previousAdminRole", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "newAdminRole", type: "bytes32" }], name: "RoleAdminChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleGranted", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleRevoked", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "paginationLimit", type: "uint256" }], name: "UpdatedFinalizationBatchLimit", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "staderConfig", type: "address" }], name: "UpdatedStaderConfig", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "_msgSender", type: "address" }, { indexed: false, internalType: "address", name: "_recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "_requestId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_sharesAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_etherAmount", type: "uint256" }], name: "WithdrawRequestReceived", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "_msgSender", type: "address" }, { indexed: false, internalType: "address", name: "_recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "_requestId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_sharesAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_ethAmount", type: "uint256" }, { indexed: false, internalType: "string", name: "_referralId", type: "string" }], name: "WithdrawRequestReferral", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "claim", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "ethRequestedForWithdraw", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "finalizationBatchLimit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "finalizeUserWithdrawalRequest", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_owner", type: "address" }], name: "getRequestIdsByUser", outputs: [{ internalType: "uint256[]", name: "", type: "uint256[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }], name: "getRoleAdmin", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "grantRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "hasRole", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_admin", type: "address" }, { internalType: "address", name: "_staderConfig", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "maxNonRedeemedUserRequestCount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "nextRequestId", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "nextRequestIdToFinalize", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }], name: "requestIdsByUserAddress", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_ethXAmount", type: "uint256" }, { internalType: "address", name: "_owner", type: "address" }, { internalType: "string", name: "_referralId", type: "string" }], name: "requestWithdraw", outputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_ethXAmount", type: "uint256" }, { internalType: "address", name: "_owner", type: "address" }], name: "requestWithdraw", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "revokeRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "staderConfig", outputs: [{ internalType: "contract IStaderConfig", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }], name: "supportsInterface", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_finalizationBatchLimit", type: "uint256" }], name: "updateFinalizationBatchLimit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_staderConfig", type: "address" }], name: "updateStaderConfig", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "", type: "uint256" }], name: "userWithdrawRequests", outputs: [{ internalType: "address payable", name: "owner", type: "address" }, { internalType: "uint256", name: "ethXAmount", type: "uint256" }, { internalType: "uint256", name: "ethExpected", type: "uint256" }, { internalType: "uint256", name: "ethFinalized", type: "uint256" }, { internalType: "uint256", name: "requestBlock", type: "uint256" }], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" }];
|
|
6554
|
+
|
|
6555
|
+
// eth-sdk/abis/mainnet/stader/ETHx.json
|
|
6556
|
+
var ETHx_default = [{ inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "CallerNotManager", type: "error" }, { inputs: [], name: "ZeroAddress", type: "error" }, { 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: "uint8", name: "version", type: "uint8" }], name: "Initialized", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Paused", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "previousAdminRole", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "newAdminRole", type: "bytes32" }], name: "RoleAdminChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleGranted", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleRevoked", 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" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "_staderConfig", type: "address" }], name: "UpdatedStaderConfig", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], 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: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "burnFrom", 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: "bytes32", name: "role", type: "bytes32" }], name: "getRoleAdmin", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "grantRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "hasRole", outputs: [{ internalType: "bool", name: "", type: "bool" }], 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: "address", name: "_admin", type: "address" }, { internalType: "address", name: "_staderConfig", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "revokeRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "staderConfig", outputs: [{ internalType: "contract IStaderConfig", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }], name: "supportsInterface", outputs: [{ internalType: "bool", name: "", type: "bool" }], 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: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_staderConfig", type: "address" }], name: "updateStaderConfig", outputs: [], stateMutability: "nonpayable", type: "function" }];
|
|
6557
|
+
|
|
6540
6558
|
// eth-sdk/abis/mainnet/dai.json
|
|
6541
6559
|
var dai_default = [{ inputs: [{ internalType: "uint256", name: "chainId_", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "src", type: "address" }, { indexed: true, internalType: "address", name: "guy", type: "address" }, { indexed: false, internalType: "uint256", name: "wad", type: "uint256" }], name: "Approval", type: "event" }, { 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" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "src", type: "address" }, { indexed: true, internalType: "address", name: "dst", type: "address" }, { indexed: false, internalType: "uint256", name: "wad", type: "uint256" }], name: "Transfer", type: "event" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "PERMIT_TYPEHASH", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "usr", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [{ internalType: "address", name: "", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "usr", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" }], name: "burn", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "guy", 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: "mint", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "src", type: "address" }, { internalType: "address", name: "dst", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" }], name: "move", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [{ internalType: "address", name: "", type: "address" }], name: "nonces", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "holder", type: "address" }, { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expiry", type: "uint256" }, { internalType: "bool", name: "allowed", type: "bool" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" }], name: "permit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "usr", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" }], name: "pull", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "usr", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" }], name: "push", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "guy", type: "address" }], name: "rely", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "dst", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ internalType: "address", name: "src", type: "address" }, { internalType: "address", name: "dst", type: "address" }, { internalType: "uint256", name: "wad", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "version", outputs: [{ internalType: "string", name: "", type: "string" }], 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" }];
|
|
6542
6560
|
|
|
@@ -6578,6 +6596,11 @@ function getMainnetSdk(defaultSignerOrProvider) {
|
|
|
6578
6596
|
"variableDebtWETH": getContract("0xeA51d7853EEFb32b6ee06b1C12E6dcCA88Be0fFE", variableDebtWETH_default2, defaultSignerOrProvider),
|
|
6579
6597
|
"stableDebtWETH": getContract("0x102633152313C81cD80419b6EcF66d14Ad68949A", stableDebtWETH_default2, defaultSignerOrProvider)
|
|
6580
6598
|
},
|
|
6599
|
+
"ankr": {
|
|
6600
|
+
"ETH2_Staking": getContract("0x84db6ee82b7cf3b47e8f19270abde5718b936670", ETH2_Staking_default, defaultSignerOrProvider),
|
|
6601
|
+
"flashUnstake": getContract("0xf047f23ACFdB1315cF63Ad8aB5146d5fDa4267Af", flashUnstake_default, defaultSignerOrProvider),
|
|
6602
|
+
"ankrETH": getContract("0xE95A203B1a91a908F9B9CE46459d101078c2c3cb", ankrETH_default, defaultSignerOrProvider)
|
|
6603
|
+
},
|
|
6581
6604
|
"aura": {
|
|
6582
6605
|
"booster": getContract("0xA57b8d98dAE62B26Ec3bcC4a365338157060B234", booster_default, defaultSignerOrProvider),
|
|
6583
6606
|
"reward_pool_deposit_wrapper": getContract("0xB188b1CB84Fb0bA13cb9ee1292769F903A9feC59", reward_pool_deposit_wrapper_default, defaultSignerOrProvider),
|
|
@@ -6657,6 +6680,11 @@ function getMainnetSdk(defaultSignerOrProvider) {
|
|
|
6657
6680
|
"spWETH": getContract("0x59cD1C87501baa753d0B5B5Ab5D8416A45cD71DB", spWETH_default, defaultSignerOrProvider),
|
|
6658
6681
|
"sDAI": getContract("0x83F20F44975D03b1b09e64809B757c47f942BEeA", sDAI_default, defaultSignerOrProvider)
|
|
6659
6682
|
},
|
|
6683
|
+
"stader": {
|
|
6684
|
+
"staking_pool_manager": getContract("0xcf5EA1b38380f6aF39068375516Daf40Ed70D299", staking_pool_manager_default, defaultSignerOrProvider),
|
|
6685
|
+
"user_withdraw_manager": getContract("0x9F0491B32DBce587c50c4C43AB303b06478193A7", user_withdraw_manager_default, defaultSignerOrProvider),
|
|
6686
|
+
"ETHx": getContract("0xA35b1B31Ce002FBF2058D22F30f95D405200A15b", ETHx_default, defaultSignerOrProvider)
|
|
6687
|
+
},
|
|
6660
6688
|
"dai": getContract("0x6B175474E89094C44Da98b954EedeAC495271d0F", dai_default, defaultSignerOrProvider),
|
|
6661
6689
|
"usdc": getContract("0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", usdc_default, defaultSignerOrProvider),
|
|
6662
6690
|
"usdt": getContract("0xdAC17F958D2ee523a2206206994597C13D831ec7", usdt_default, defaultSignerOrProvider),
|
|
@@ -6885,6 +6913,11 @@ var contracts = {
|
|
|
6885
6913
|
variableDebtWETH: "0xeA51d7853EEFb32b6ee06b1C12E6dcCA88Be0fFE",
|
|
6886
6914
|
stableDebtWETH: "0x102633152313C81cD80419b6EcF66d14Ad68949A"
|
|
6887
6915
|
},
|
|
6916
|
+
ankr: {
|
|
6917
|
+
ETH2_Staking: "0x84db6ee82b7cf3b47e8f19270abde5718b936670",
|
|
6918
|
+
flashUnstake: "0xf047f23ACFdB1315cF63Ad8aB5146d5fDa4267Af",
|
|
6919
|
+
ankrETH: "0xE95A203B1a91a908F9B9CE46459d101078c2c3cb"
|
|
6920
|
+
},
|
|
6888
6921
|
aura: {
|
|
6889
6922
|
booster: "0xA57b8d98dAE62B26Ec3bcC4a365338157060B234",
|
|
6890
6923
|
reward_pool_deposit_wrapper: "0xB188b1CB84Fb0bA13cb9ee1292769F903A9feC59",
|
|
@@ -6966,6 +6999,11 @@ var contracts = {
|
|
|
6966
6999
|
spWETH: "0x59cD1C87501baa753d0B5B5Ab5D8416A45cD71DB",
|
|
6967
7000
|
sDAI: "0x83F20F44975D03b1b09e64809B757c47f942BEeA"
|
|
6968
7001
|
},
|
|
7002
|
+
stader: {
|
|
7003
|
+
staking_pool_manager: "0xcf5EA1b38380f6aF39068375516Daf40Ed70D299",
|
|
7004
|
+
user_withdraw_manager: "0x9F0491B32DBce587c50c4C43AB303b06478193A7",
|
|
7005
|
+
ETHx: "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b"
|
|
7006
|
+
},
|
|
6969
7007
|
dai: "0x6B175474E89094C44Da98b954EedeAC495271d0F",
|
|
6970
7008
|
usdc: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
6971
7009
|
usdt: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
|
|
@@ -18489,4 +18527,4 @@ export {
|
|
|
18489
18527
|
createApply,
|
|
18490
18528
|
createExportToSafeTransactionBuilder
|
|
18491
18529
|
};
|
|
18492
|
-
//# sourceMappingURL=chunk-
|
|
18530
|
+
//# sourceMappingURL=chunk-QH74Q34N.mjs.map
|