LeverEPTActions
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Raw
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
Balances ($0.00)
No balances found for "LeverEPTActions"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LeverEPTActions"
ABI
ABI objects
Getter at block 21081193
CALLBACK_SUCCESS() view returns (bytes32)
0x439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd9
CALLBACK_SUCCESS_CREDIT() view returns (bytes32)
0x24ea9631d6c6b69006fd9fa411bb9c8909638fd1d178dd2f1d231dca3e3e4d79
codex() view returns (address)
0x6bf5eb06201e4ea7c315b1c23bfe79fae30541f9
fiat() view returns (address)
0x586aa273f262909eef8fa02d90ab65f5015e0516
fiatBalancerVault() view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
fiatPoolId() view returns (bytes32)
0x178e029173417b1f9c8bc16dcec6f697bc32374600000000000000000000025d
flash() view returns (address)
0xcf472064a103fa0abfe75f66367e27c484f53c8b
moneta() view returns (address)
0xea8efd605845f4cfaa8ee6c757390196e1b3f736
publican() view returns (address)
0x3ff548c77a82b377258b5220164e7ae267ed8978
Read-only
buildBuyFIATSwapParams(bytes32[] pathPoolIds, address[] pathAssetsIn, uint256 maxUnderliersIn, uint256 deadline) view returns (struct LeverActionsBuyFIATSwapParams)
buildSellFIATSwapParams(bytes32[] pathPoolIds, address[] pathAssetsOut, uint256 minUnderliersOut, uint256 deadline) view returns (struct LeverActionsSellFIATSwapParams)
pTokenToUnderlier(address vault, address balancerVault, bytes32 curvePoolId, uint256 pTokenAmount) view returns (uint256)
underlierToPToken(address vault, address balancerVault, bytes32 curvePoolId, uint256 underlierAmount) view returns (uint256)
State-modifying
Events addCollateralAndDebt(address vault, address token, uint256 tokenId, address position, address collateralizer, address creditor, uint256 addCollateral, uint256 addDebt)
approveFIAT(address spender, uint256 amount)
buyCollateralAndIncreaseLever(address vault, address position, address collateralizer, uint256 upfrontUnderliers, uint256 addDebt, struct LeverActionsSellFIATSwapParams fiatSwapParams, struct LeverEPTActionsCollateralSwapParams collateralSwapParams)
enterMoneta(address from, uint256 amount)
enterVault(address vault, address token, uint256, address from, uint256 amount)
exitMoneta(address to, uint256 amount)
exitVault(address vault, address token, uint256, address to, uint256 amount)
fiatForUnderlier(bytes32[] pathPoolIds, address[] pathAssetsIn, uint256 fiatAmount) returns (uint256)
fiatToUnderlier(bytes32[] pathPoolIds, address[] pathAssetsOut, uint256 fiatAmount) returns (uint256)
onCreditFlashLoan(address initiator, uint256 amount, uint256 fee, bytes data) returns (bytes32)
onFlashLoan(address, address token, uint256 amount, uint256 fee, bytes data) returns (bytes32)
redeemCollateralAndDecreaseLever(address vault, address token, address position, address collateralizer, uint256 subPTokenAmount, uint256 subNormalDebt, struct LeverActionsBuyFIATSwapParams fiatSwapParams)
sellCollateralAndDecreaseLever(address vault, address position, address collateralizer, uint256 subPTokenAmount, uint256 subNormalDebt, struct LeverActionsBuyFIATSwapParams fiatSwapParams, struct LeverEPTActionsCollateralSwapParams collateralSwapParams)
subCollateralAndDebt(address vault, address token, uint256 tokenId, address position, address collateralizer, uint256 subCollateral, uint256 subNormalDebt)
underlierToFIAT(bytes32[] pathPoolIds, address[] pathAssetsIn, uint256 underlierAmount) returns (uint256)
This contract contains no event objects.
constructor(address codex, address fiat, address flash, address moneta, address publican, bytes32 fiatPoolId, address fiatBalancerVault)
This contract contains no fallback and receive objects.
ConvergentCurvePoolHelper__swapPreview_tokenMismatch()
Lever20Actions__enterVault_zeroTokenAddress()
Lever20Actions__enterVault_zeroVaultAddress()
Lever20Actions__exitVault_zeroToAddress()
Lever20Actions__exitVault_zeroTokenAddress()
Lever20Actions__exitVault_zeroVaultAddress()
LeverActions__buyFIATExactOut_pathLengthMismatch()
LeverActions__buyFIATExactOut_wrongFIATAddress()
LeverActions__exitMoneta_zeroUserAddress()
LeverActions__getBuyFIATSwapParams_pathLengthMismatch()
LeverActions__getSellFIATSwapParams_pathLengthMismatch()
LeverActions__sellFIATExactIn_pathLengthMismatch()
LeverActions__sellFIATExactIn_wrongFIATAddress()
LeverActions__underlierToFIAT_pathLengthMismatch()
LeverEPTActions__onCreditFlashLoan_nonZeroFee()
LeverEPTActions__onCreditFlashLoan_unknownSender()
LeverEPTActions__onCreditFlashLoan_unsupportedAction()
LeverEPTActions__onFlashLoan_nonZeroFee()
LeverEPTActions__onFlashLoan_unknownSender()
LeverEPTActions__onFlashLoan_unknownToken()
LeverEPTActions__onFlashLoan_unsupportedAction()
LeverEPTActions__solveTradeInvariant_tokenMismatch()
Math__add_overflow(uint256 x, uint256 y)
Math__mul_overflow(uint256 x, uint256 y)
Math__sub_overflow(uint256 x, uint256 y)
Math__toInt256_overflow(uint256 x)