GainAdapterETH
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
9 additional
variables
Balances ($0.00)
No balances found for "GainAdapterETH"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "GainAdapterETH"
ABI
ABI objects
Getter at block 21327144 getRsETHPrice() view returns (uint256)
DECIMAL_PRECISION() view returns (uint256)
1000000000000000000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
ETH_IDENTIFIER() view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
OPERATOR_ROLE() view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
eEth() view returns (address)
0x0000000000000000000000000000000000000000
etherFiLiquidityPool() view returns (address)
0x0000000000000000000000000000000000000000
etherFiWithdrawRequestNFT() view returns (address)
0x0000000000000000000000000000000000000000
latestEETHUnstakeRequestId() view returns (uint256)
0
latestMETHUnstakeRequestId() view returns (uint256)
0
lrtDepositPool() view returns (address)
0x0000000000000000000000000000000000000000
lrtOracle() view returns (address)
0x0000000000000000000000000000000000000000
mEth() view returns (address)
0x0000000000000000000000000000000000000000
mantleStaking() view returns (address)
0x0000000000000000000000000000000000000000
minDepositAmount() view returns (uint256)
0
paused() view returns (bool)
false
reth() view returns (address)
0x0000000000000000000000000000000000000000
rsETH() view returns (address)
0x0000000000000000000000000000000000000000
stETH() view returns (address)
0x0000000000000000000000000000000000000000
swETH() view returns (address)
0x0000000000000000000000000000000000000000
swEXIT() view returns (address)
0x0000000000000000000000000000000000000000
weEth() view returns (address)
0x0000000000000000000000000000000000000000
withdrawalQueue() view returns (address)
0x0000000000000000000000000000000000000000
wstETH() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
assetPriceOracle(address asset) view returns (address priceOracle)
ethReserved(address vault) view returns (uint256 amount)
ethReservedLimits(address vault) view returns (uint256 limit)
getAssetPrice(address asset) view returns (uint256)
getAssetPriceOracle(address asset) view returns (address)
getAssetValueInETH(address asset, uint256 amount) view returns (uint256)
getETHValueFromRsETHAmount(uint256 amount) view returns (uint256)
getEthReservedAmount(address vault) view returns (uint256)
getEthReservedLimit(address vault) view returns (uint256)
getIsWhitelistedAsset(address asset) view returns (bool)
getIsWhitelistedVault(address vault) view returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRsETHValueFromETHAmount(uint256 amount) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isWhitelistedAsset(address asset) view returns (bool isWhitelisted)
isWhitelistedVault(address vault) view returns (bool isWhitelisted)
onERC721Received(address, address, uint256, bytes) pure returns (bytes4)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addWhitelistedAsset(address asset)
addWhitelistedVault(address vault)
claimEETH(uint256 tokenId)
claimMETH(uint256 requestId)
claimStETH(uint256[] requestIds, uint256[] hints)
claimSwETH(uint256 tokenId)
depositETH(address vault, string referralId) payable
depositETHAsset(address asset, uint256 amount, address vault, string referralId)
grantRole(bytes32 role, address account)
initialize(address admin, address operator, uint256 minDeposit, struct IGainAdapterETHEETHConfig eethConfig, struct IGainAdapterETHMETHConfig methConfig, struct IGainAdapterETHRETHConfig rethConfig, struct IGainAdapterETHStETHConfig stethConfig, struct IGainAdapterETHSwETHConfig swethConfig, struct IGainAdapterETHLRTConfig lrtConfig)
mintRsETH(address asset, uint256 depositAmount, uint256 minRsETHAmountExpected)
pause()
removeSupportedPriceOracle(address asset)
removeWhitelistedAsset(address asset)
removeWhitelistedVault(address vault)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
sendRsETHToVault(address vault, uint256 amount)
setMinDepositAmount(uint256 newMinDepositAmount)
swapAssetForETH(address asset, uint256 amount) payable
unpause()
unstakeEETH(uint256 amountToUnstake)
unstakeMETH(uint256 amountToUnstake)
unstakeRETH(uint256 amountToUnstake)
unstakeStETH(uint256 amountToUnstake)
unstakeSwETH(uint256 amountToUnstake)
unwrapWeETH(uint256 weEthAmount)
unwrapWstETH(uint256 wstETHAmount)
updateEthReservedLimit(address vault, uint256 newLimit)
updateSupportedPriceOracle(address asset, address priceOracle)
withdraw(address vault, uint256 amount, string referralId)
AdapterAssetDeposit(address indexed asset, address indexed depositor, uint256 amount, uint256 assetValueInETH, address indexed vault, string referralId)
AdapterETHDeposit(address indexed depositor, uint256 amount, address indexed vault, string referralId)
AdapterWithdrawal(address indexed withdrawer, address indexed vault, uint256 amount, string referralId)
EthReservedLimitUpdated(address indexed vault, uint256 newLimit)
Initialized(uint8 version)
MinimumDepositAmountSet(uint256 newAmount)
OperatorAssetSwapped(address indexed asset, uint256 amount, uint256 assetValueInETH)
Paused(address account)
RETHUnstaked(uint256 amount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
RsETHSentToVault(address indexed vault, uint256 amount)
SupportedOracleRemoved(address indexed asset)
SupportedOracleUpdated(address indexed asset, address indexed oracle)
Unpaused(address account)
UnstakeEETHStarted(uint256 tokenId)
UnstakeMETHStarted(uint256 requestId)
UnstakeStETHStarted(uint256 tokenId)
UnstakeSwETHStarted(uint256 tokenId)
WhitelistedAssetAdded(address indexed asset)
WhitelistedAssetRemoved(address indexed asset)
WhitelistedVaultAdded(address indexed vault)
WhitelistedVaultRemoved(address indexed vault)
constructor()
receive()
AssetAlreadyWhitelisted()
AssetOracleNotSupported()
DepositBelowMinimumAmount()
EthReservedIsNotBelowMinimum()
EthReservedLimitReached()
FailedETHTransfer()
InsufficientAssetBalance()
InsufficientETHBalance()
InsufficientRsETHBalance()
InvalidAmount()
InvalidAssetValueInETH()
InvalidETHValueOfRsETHAmount()
InvalidMinRSETHAmountExpected()
InvalidMinimumDepositAmount()
InvalidMsgValue()
InvalidPriceOracle()
NativeETHNotAllowed()
NotEnoughETHReserved()
OnlyWhitelistedAsset()
OnlyWhitelistedVault()
UnsupportedAssetForOracle()
UnsupportedAssetForSwap()
VaultAlreadyWhitelisted()
ZeroAddressNotAllowed()