AlchemistV2

Verified contract

Implementation

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

No balances found for "AlchemistV2"

No transactions found for "AlchemistV2"


Functions
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 currentLimituint256 rateuint256 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 ownerview returns (int256 debtaddress[] depositedTokens)
convertSharesToUnderlyingTokens(address yieldTokenuint256 sharesview returns (uint256)
convertSharesToYieldTokens(address yieldTokenuint256 sharesview returns (uint256)
convertUnderlyingTokensToShares(address yieldTokenuint256 amountview returns (uint256)
convertUnderlyingTokensToYield(address yieldTokenuint256 amountview returns (uint256)
convertYieldTokensToShares(address yieldTokenuint256 amountview returns (uint256)
convertYieldTokensToUnderlying(address yieldTokenuint256 amountview returns (uint256)
getLiquidationLimitInfo(address underlyingTokenview returns (uint256 currentLimituint256 rateuint256 maximum)
getRepayLimitInfo(address underlyingTokenview returns (uint256 currentLimituint256 rateuint256 maximum)
getUnderlyingTokenParameters(address underlyingTokenview returns (struct IAlchemistV2StateUnderlyingTokenParams)
getUnderlyingTokensPerShare(address yieldTokenview returns (uint256)
getYieldTokenParameters(address yieldTokenview returns (struct IAlchemistV2StateYieldTokenParams)
getYieldTokensPerShare(address yieldTokenview returns (uint256)
isSupportedUnderlyingToken(address underlyingTokenview returns (bool)
isSupportedYieldToken(address yieldTokenview returns (bool)
keepers(addressview returns (bool)
mintAllowance(address owneraddress spenderview returns (uint256)
normalizeDebtTokensToUnderlying(address underlyingTokenuint256 amountview returns (uint256)
normalizeUnderlyingTokensToDebt(address underlyingTokenuint256 amountview returns (uint256)
positions(address owneraddress yieldTokenview returns (uint256 sharesuint256 lastAccruedWeight)
sentinels(addressview returns (bool)
totalValue(address ownerview returns (uint256)
withdrawAllowance(address owneraddress spenderaddress yieldTokenview returns (uint256)
State-modifying
acceptAdmin(
addUnderlyingToken(address underlyingTokenstruct IAlchemistV2AdminActionsUnderlyingTokenConfig config
addYieldToken(address yieldTokenstruct IAlchemistV2AdminActionsYieldTokenConfig config
approveMint(address spenderuint256 amount
approveWithdraw(address spenderaddress yieldTokenuint256 shares
burn(uint256 amountaddress recipientreturns (uint256)
configureCreditUnlockRate(address yieldTokenuint256 blocks
configureLiquidationLimit(address underlyingTokenuint256 maximumuint256 blocks
configureMintingLimit(uint256 maximumuint256 rate
configureRepayLimit(address underlyingTokenuint256 maximumuint256 blocks
deposit(address yieldTokenuint256 amountaddress recipientreturns (uint256)
depositUnderlying(address yieldTokenuint256 amountaddress recipientuint256 minimumAmountOutreturns (uint256)
donate(address yieldTokenuint256 amount
harvest(address yieldTokenuint256 minimumAmountOut
initialize(struct IAlchemistV2AdminActionsInitializationParams params
liquidate(address yieldTokenuint256 sharesuint256 minimumAmountOutreturns (uint256)
mint(uint256 amountaddress recipient
mintFrom(address owneruint256 amountaddress recipient
multicall(bytes[] datapayable returns (bytes[] results)
poke(address owner
repay(address underlyingTokenuint256 amountaddress recipientreturns (uint256)
setKeeper(address keeperbool flag
setMaximumExpectedValue(address yieldTokenuint256 value
setMaximumLoss(address yieldTokenuint256 value
setMinimumCollateralization(uint256 value
setPendingAdmin(address value
setProtocolFee(uint256 value
setProtocolFeeReceiver(address value
setSentinel(address sentinelbool flag
setTokenAdapter(address yieldTokenaddress adapter
setTransferAdapterAddress(address transferAdapterAddress
setTransmuter(address value
setUnderlyingTokenEnabled(address underlyingTokenbool enabled
setYieldTokenEnabled(address yieldTokenbool enabled
snap(address yieldToken
transferDebtV1(address ownerint256 debt
withdraw(address yieldTokenuint256 sharesaddress recipientreturns (uint256)
withdrawFrom(address owneraddress yieldTokenuint256 sharesaddress recipientreturns (uint256)
withdrawUnderlying(address yieldTokenuint256 sharesaddress recipientuint256 minimumAmountOutreturns (uint256)
withdrawUnderlyingFrom(address owneraddress yieldTokenuint256 sharesaddress recipientuint256 minimumAmountOutreturns (uint256)
Events
AddUnderlyingToken(address indexed underlyingToken
AddYieldToken(address indexed yieldToken
AdminUpdated(address admin
ApproveMint(address indexed owneraddress indexed spenderuint256 amount
ApproveWithdraw(address indexed owneraddress indexed spenderaddress indexed yieldTokenuint256 amount
Burn(address indexed senderuint256 amountaddress recipient
CreditUnlockRateUpdated(address yieldTokenuint256 blocks
Deposit(address indexed senderaddress indexed yieldTokenuint256 amountaddress recipient
Donate(address indexed senderaddress indexed yieldTokenuint256 amount
Harvest(address indexed yieldTokenuint256 minimumAmountOutuint256 totalHarvesteduint256 credit
Initialized(uint8 version
KeeperSet(address sentinelbool flag
Liquidate(address indexed owneraddress indexed yieldTokenaddress indexed underlyingTokenuint256 sharesuint256 credit
LiquidationLimitUpdated(address indexed underlyingTokenuint256 maximumuint256 blocks
MaximumExpectedValueUpdated(address indexed yieldTokenuint256 maximumExpectedValue
MaximumLossUpdated(address indexed yieldTokenuint256 maximumLoss
MinimumCollateralizationUpdated(uint256 minimumCollateralization
Mint(address indexed owneruint256 amountaddress recipient
MintingLimitUpdated(uint256 maximumuint256 blocks
PendingAdminUpdated(address pendingAdmin
ProtocolFeeReceiverUpdated(address protocolFeeReceiver
ProtocolFeeUpdated(uint256 protocolFee
Repay(address indexed senderaddress indexed underlyingTokenuint256 amountaddress recipientuint256 credit
RepayLimitUpdated(address indexed underlyingTokenuint256 maximumuint256 blocks
SentinelSet(address sentinelbool flag
Snap(address indexed yieldTokenuint256 expectedValue
SweepRewardTokens(address indexed rewardTokenuint256 amount
SweepTokens(address indexed tokenuint256 amount
TokenAdapterUpdated(address yieldTokenaddress tokenAdapter
TransmuterUpdated(address transmuter
UnderlyingTokenEnabled(address indexed underlyingTokenbool enabled
Withdraw(address indexed owneraddress indexed yieldTokenuint256 sharesaddress recipient
YieldTokenEnabled(address indexed yieldTokenbool enabled
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ERC20CallFailed(address targetbool successbytes data
ExpectedValueExceeded(address yieldTokenuint256 expectedValueuint256 maximumExpectedValue
IllegalArgument(
IllegalState(
LiquidationLimitExceeded(address underlyingTokenuint256 amountuint256 available
LockAlreadyClaimed(
LossExceeded(address yieldTokenuint256 lossuint256 maximumLoss
MintingLimitExceeded(uint256 amountuint256 available
MulticallFailed(bytes databytes result
RepayLimitExceeded(address underlyingTokenuint256 amountuint256 available
SlippageExceeded(uint256 amountuint256 minimumAmountOut
TokenDisabled(address token
Unauthorized(
Undercollateralized(
UnsupportedToken(address token