GainAdapterETH

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x1e3396a4 at 21182090
Slot
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

No balances found for "GainAdapterETH"

No transactions found for "GainAdapterETH"


Functions
Getter at block 21332898
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
 
getRsETHPrice(view returns (uint256)
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 assetview returns (address priceOracle)
ethReserved(address vaultview returns (uint256 amount)
ethReservedLimits(address vaultview returns (uint256 limit)
getAssetPrice(address assetview returns (uint256)
getAssetPriceOracle(address assetview returns (address)
getAssetValueInETH(address assetuint256 amountview returns (uint256)
getETHValueFromRsETHAmount(uint256 amountview returns (uint256)
getEthReservedAmount(address vaultview returns (uint256)
getEthReservedLimit(address vaultview returns (uint256)
getIsWhitelistedAsset(address assetview returns (bool)
getIsWhitelistedVault(address vaultview returns (bool)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRsETHValueFromETHAmount(uint256 amountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isWhitelistedAsset(address assetview returns (bool isWhitelisted)
isWhitelistedVault(address vaultview returns (bool isWhitelisted)
onERC721Received(addressaddressuint256bytespure returns (bytes4)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addWhitelistedAsset(address asset
addWhitelistedVault(address vault
claimEETH(uint256 tokenId
claimMETH(uint256 requestId
claimStETH(uint256[] requestIdsuint256[] hints
claimSwETH(uint256 tokenId
depositETH(address vaultstring referralIdpayable 
depositETHAsset(address assetuint256 amountaddress vaultstring referralId
grantRole(bytes32 roleaddress account
initialize(address adminaddress operatoruint256 minDepositstruct IGainAdapterETHEETHConfig eethConfigstruct IGainAdapterETHMETHConfig methConfigstruct IGainAdapterETHRETHConfig rethConfigstruct IGainAdapterETHStETHConfig stethConfigstruct IGainAdapterETHSwETHConfig swethConfigstruct IGainAdapterETHLRTConfig lrtConfig
mintRsETH(address assetuint256 depositAmountuint256 minRsETHAmountExpected
pause(
removeSupportedPriceOracle(address asset
removeWhitelistedAsset(address asset
removeWhitelistedVault(address vault
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sendRsETHToVault(address vaultuint256 amount
setMinDepositAmount(uint256 newMinDepositAmount
swapAssetForETH(address assetuint256 amountpayable 
unpause(
unstakeEETH(uint256 amountToUnstake
unstakeMETH(uint256 amountToUnstake
unstakeRETH(uint256 amountToUnstake
unstakeStETH(uint256 amountToUnstake
unstakeSwETH(uint256 amountToUnstake
unwrapWeETH(uint256 weEthAmount
unwrapWstETH(uint256 wstETHAmount
updateEthReservedLimit(address vaultuint256 newLimit
updateSupportedPriceOracle(address assetaddress priceOracle
withdraw(address vaultuint256 amountstring referralId
Events
AdapterAssetDeposit(address indexed assetaddress indexed depositoruint256 amountuint256 assetValueInETHaddress indexed vaultstring referralId
AdapterETHDeposit(address indexed depositoruint256 amountaddress indexed vaultstring referralId
AdapterWithdrawal(address indexed withdraweraddress indexed vaultuint256 amountstring referralId
EthReservedLimitUpdated(address indexed vaultuint256 newLimit
Initialized(uint8 version
MinimumDepositAmountSet(uint256 newAmount
OperatorAssetSwapped(address indexed assetuint256 amountuint256 assetValueInETH
Paused(address account
RETHUnstaked(uint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
RsETHSentToVault(address indexed vaultuint256 amount
SupportedOracleRemoved(address indexed asset
SupportedOracleUpdated(address indexed assetaddress 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
constructor(
Fallback and receive
receive(
Errors
AssetAlreadyWhitelisted(
AssetOracleNotSupported(
DepositBelowMinimumAmount(
EthReservedIsNotBelowMinimum(
EthReservedLimitReached(
FailedETHTransfer(
InsufficientAssetBalance(
InsufficientETHBalance(
InsufficientRsETHBalance(
InvalidAmount(
InvalidAssetValueInETH(
InvalidETHValueOfRsETHAmount(
InvalidMinRSETHAmountExpected(
InvalidMinimumDepositAmount(
InvalidMsgValue(
InvalidPriceOracle(
NativeETHNotAllowed(
NotEnoughETHReserved(
OnlyWhitelistedAsset(
OnlyWhitelistedVault(
UnsupportedAssetForOracle(
UnsupportedAssetForSwap(
VaultAlreadyWhitelisted(
ZeroAddressNotAllowed(