This contract is being backfilled. You may encounter incomplete storage history.

LeverEPTActions

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xf261ba0f at 16184277
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "LeverEPTActions"

No transactions found for "LeverEPTActions"


Functions
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[] pathPoolIdsaddress[] pathAssetsInuint256 maxUnderliersInuint256 deadlineview returns (struct LeverActionsBuyFIATSwapParams)
buildSellFIATSwapParams(bytes32[] pathPoolIdsaddress[] pathAssetsOutuint256 minUnderliersOutuint256 deadlineview returns (struct LeverActionsSellFIATSwapParams)
pTokenToUnderlier(address vaultaddress balancerVaultbytes32 curvePoolIduint256 pTokenAmountview returns (uint256)
underlierToPToken(address vaultaddress balancerVaultbytes32 curvePoolIduint256 underlierAmountview returns (uint256)
State-modifying
addCollateralAndDebt(address vaultaddress tokenuint256 tokenIdaddress positionaddress collateralizeraddress creditoruint256 addCollateraluint256 addDebt
approveFIAT(address spenderuint256 amount
buyCollateralAndIncreaseLever(address vaultaddress positionaddress collateralizeruint256 upfrontUnderliersuint256 addDebtstruct LeverActionsSellFIATSwapParams fiatSwapParamsstruct LeverEPTActionsCollateralSwapParams collateralSwapParams
enterMoneta(address fromuint256 amount
enterVault(address vaultaddress tokenuint256address fromuint256 amount
exitMoneta(address touint256 amount
exitVault(address vaultaddress tokenuint256address touint256 amount
fiatForUnderlier(bytes32[] pathPoolIdsaddress[] pathAssetsInuint256 fiatAmountreturns (uint256)
fiatToUnderlier(bytes32[] pathPoolIdsaddress[] pathAssetsOutuint256 fiatAmountreturns (uint256)
onCreditFlashLoan(address initiatoruint256 amountuint256 feebytes datareturns (bytes32)
onFlashLoan(addressaddress tokenuint256 amountuint256 feebytes datareturns (bytes32)
redeemCollateralAndDecreaseLever(address vaultaddress tokenaddress positionaddress collateralizeruint256 subPTokenAmountuint256 subNormalDebtstruct LeverActionsBuyFIATSwapParams fiatSwapParams
sellCollateralAndDecreaseLever(address vaultaddress positionaddress collateralizeruint256 subPTokenAmountuint256 subNormalDebtstruct LeverActionsBuyFIATSwapParams fiatSwapParamsstruct LeverEPTActionsCollateralSwapParams collateralSwapParams
subCollateralAndDebt(address vaultaddress tokenuint256 tokenIdaddress positionaddress collateralizeruint256 subCollateraluint256 subNormalDebt
underlierToFIAT(bytes32[] pathPoolIdsaddress[] pathAssetsInuint256 underlierAmountreturns (uint256)
Events

This contract contains no event objects.

Constructor
constructor(address codexaddress fiataddress flashaddress monetaaddress publicanbytes32 fiatPoolIdaddress fiatBalancerVault
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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 xuint256 y
Math__mul_overflow(uint256 xuint256 y
Math__sub_overflow(uint256 xuint256 y
Math__toInt256_overflow(uint256 x