AlchemistV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "AlchemistV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "AlchemistV2"
ABI
ABI objects
Getter at block 21265113
BPS() view returns (uint256)
10000
FIXED_POINT_SCALAR() view returns (uint256)
1000000000000000000
admin() view returns (address)
0x0000000000000000000000000000000000000000
debtToken() view returns (address)
0x0000000000000000000000000000000000000000
getMintLimitInfo() view returns (uint256 currentLimit, uint256 rate, uint256 maximum)
(currentLimit=0, rate=0, maximum=0)
getSupportedUnderlyingTokens() view returns (address[])
[]
getSupportedYieldTokens() view returns (address[])
[]
minimumCollateralization() view returns (uint256)
0
pendingAdmin() view returns (address)
0x0000000000000000000000000000000000000000
protocolFee() view returns (uint256)
0
protocolFeeReceiver() view returns (address)
0x0000000000000000000000000000000000000000
transferAdapter() view returns (address)
0x0000000000000000000000000000000000000000
transmuter() view returns (address)
0x0000000000000000000000000000000000000000
version() view returns (string)
2.2.8
whitelist() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
accounts(address owner) view returns (int256 debt, address[] depositedTokens)
convertSharesToUnderlyingTokens(address yieldToken, uint256 shares) view returns (uint256)
convertSharesToYieldTokens(address yieldToken, uint256 shares) view returns (uint256)
convertUnderlyingTokensToShares(address yieldToken, uint256 amount) view returns (uint256)
convertUnderlyingTokensToYield(address yieldToken, uint256 amount) view returns (uint256)
convertYieldTokensToShares(address yieldToken, uint256 amount) view returns (uint256)
convertYieldTokensToUnderlying(address yieldToken, uint256 amount) view returns (uint256)
getLiquidationLimitInfo(address underlyingToken) view returns (uint256 currentLimit, uint256 rate, uint256 maximum)
getRepayLimitInfo(address underlyingToken) view returns (uint256 currentLimit, uint256 rate, uint256 maximum)
getUnderlyingTokenParameters(address underlyingToken) view returns (struct IAlchemistV2StateUnderlyingTokenParams)
getUnderlyingTokensPerShare(address yieldToken) view returns (uint256)
getYieldTokenParameters(address yieldToken) view returns (struct IAlchemistV2StateYieldTokenParams)
getYieldTokensPerShare(address yieldToken) view returns (uint256)
isSupportedUnderlyingToken(address underlyingToken) view returns (bool)
isSupportedYieldToken(address yieldToken) view returns (bool)
keepers(address) view returns (bool)
mintAllowance(address owner, address spender) view returns (uint256)
normalizeDebtTokensToUnderlying(address underlyingToken, uint256 amount) view returns (uint256)
normalizeUnderlyingTokensToDebt(address underlyingToken, uint256 amount) view returns (uint256)
positions(address owner, address yieldToken) view returns (uint256 shares, uint256 lastAccruedWeight)
sentinels(address) view returns (bool)
totalValue(address owner) view returns (uint256)
withdrawAllowance(address owner, address spender, address yieldToken) view returns (uint256)
State-modifying
Events acceptAdmin()
addUnderlyingToken(address underlyingToken, struct IAlchemistV2AdminActionsUnderlyingTokenConfig config)
addYieldToken(address yieldToken, struct IAlchemistV2AdminActionsYieldTokenConfig config)
approveMint(address spender, uint256 amount)
approveWithdraw(address spender, address yieldToken, uint256 shares)
burn(uint256 amount, address recipient) returns (uint256)
configureCreditUnlockRate(address yieldToken, uint256 blocks)
configureLiquidationLimit(address underlyingToken, uint256 maximum, uint256 blocks)
configureMintingLimit(uint256 maximum, uint256 rate)
configureRepayLimit(address underlyingToken, uint256 maximum, uint256 blocks)
deposit(address yieldToken, uint256 amount, address recipient) returns (uint256)
depositUnderlying(address yieldToken, uint256 amount, address recipient, uint256 minimumAmountOut) returns (uint256)
donate(address yieldToken, uint256 amount)
harvest(address yieldToken, uint256 minimumAmountOut)
initialize(struct IAlchemistV2AdminActionsInitializationParams params)
liquidate(address yieldToken, uint256 shares, uint256 minimumAmountOut) returns (uint256)
mint(uint256 amount, address recipient)
mintFrom(address owner, uint256 amount, address recipient)
multicall(bytes[] data) payable returns (bytes[] results)
poke(address owner)
repay(address underlyingToken, uint256 amount, address recipient) returns (uint256)
setKeeper(address keeper, bool flag)
setMaximumExpectedValue(address yieldToken, uint256 value)
setMaximumLoss(address yieldToken, uint256 value)
setMinimumCollateralization(uint256 value)
setPendingAdmin(address value)
setProtocolFee(uint256 value)
setProtocolFeeReceiver(address value)
setSentinel(address sentinel, bool flag)
setTokenAdapter(address yieldToken, address adapter)
setTransferAdapterAddress(address transferAdapterAddress)
setTransmuter(address value)
setUnderlyingTokenEnabled(address underlyingToken, bool enabled)
setYieldTokenEnabled(address yieldToken, bool enabled)
snap(address yieldToken)
transferDebtV1(address owner, int256 debt)
withdraw(address yieldToken, uint256 shares, address recipient) returns (uint256)
withdrawFrom(address owner, address yieldToken, uint256 shares, address recipient) returns (uint256)
withdrawUnderlying(address yieldToken, uint256 shares, address recipient, uint256 minimumAmountOut) returns (uint256)
withdrawUnderlyingFrom(address owner, address yieldToken, uint256 shares, address recipient, uint256 minimumAmountOut) returns (uint256)
AddUnderlyingToken(address indexed underlyingToken)
AddYieldToken(address indexed yieldToken)
AdminUpdated(address admin)
ApproveMint(address indexed owner, address indexed spender, uint256 amount)
ApproveWithdraw(address indexed owner, address indexed spender, address indexed yieldToken, uint256 amount)
Burn(address indexed sender, uint256 amount, address recipient)
CreditUnlockRateUpdated(address yieldToken, uint256 blocks)
Deposit(address indexed sender, address indexed yieldToken, uint256 amount, address recipient)
Donate(address indexed sender, address indexed yieldToken, uint256 amount)
Harvest(address indexed yieldToken, uint256 minimumAmountOut, uint256 totalHarvested, uint256 credit)
Initialized(uint8 version)
KeeperSet(address sentinel, bool flag)
Liquidate(address indexed owner, address indexed yieldToken, address indexed underlyingToken, uint256 shares, uint256 credit)
LiquidationLimitUpdated(address indexed underlyingToken, uint256 maximum, uint256 blocks)
MaximumExpectedValueUpdated(address indexed yieldToken, uint256 maximumExpectedValue)
MaximumLossUpdated(address indexed yieldToken, uint256 maximumLoss)
MinimumCollateralizationUpdated(uint256 minimumCollateralization)
Mint(address indexed owner, uint256 amount, address recipient)
MintingLimitUpdated(uint256 maximum, uint256 blocks)
PendingAdminUpdated(address pendingAdmin)
ProtocolFeeReceiverUpdated(address protocolFeeReceiver)
ProtocolFeeUpdated(uint256 protocolFee)
Repay(address indexed sender, address indexed underlyingToken, uint256 amount, address recipient, uint256 credit)
RepayLimitUpdated(address indexed underlyingToken, uint256 maximum, uint256 blocks)
SentinelSet(address sentinel, bool flag)
Snap(address indexed yieldToken, uint256 expectedValue)
SweepRewardTokens(address indexed rewardToken, uint256 amount)
SweepTokens(address indexed token, uint256 amount)
TokenAdapterUpdated(address yieldToken, address tokenAdapter)
TransmuterUpdated(address transmuter)
UnderlyingTokenEnabled(address indexed underlyingToken, bool enabled)
Withdraw(address indexed owner, address indexed yieldToken, uint256 shares, address recipient)
YieldTokenEnabled(address indexed yieldToken, bool enabled)
constructor()
This contract contains no fallback and receive objects.
ERC20CallFailed(address target, bool success, bytes data)
ExpectedValueExceeded(address yieldToken, uint256 expectedValue, uint256 maximumExpectedValue)
IllegalArgument()
IllegalState()
LiquidationLimitExceeded(address underlyingToken, uint256 amount, uint256 available)
LockAlreadyClaimed()
LossExceeded(address yieldToken, uint256 loss, uint256 maximumLoss)
MintingLimitExceeded(uint256 amount, uint256 available)
MulticallFailed(bytes data, bytes result)
RepayLimitExceeded(address underlyingToken, uint256 amount, uint256 available)
SlippageExceeded(uint256 amount, uint256 minimumAmountOut)
TokenDisabled(address token)
Unauthorized()
Undercollateralized()
UnsupportedToken(address token)