PRBProxy
Verified contract
Proxy
Active on
Ethereum with 48 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "PRBProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17300828 | a year ago | | | 0 | 0.042139477 | |
| 16373562 | 2 years ago | | | 0 | 0.014636846 | |
| 16198752 | 2 years ago | | | 0 | 0.028101588 | |
| 15975969 | 2 years ago | | | 0 | 0.021802092 | |
| 15972655 | 2 years ago | | | 0 | 0.026913415 | |
| 15972584 | 2 years ago | | | 0 | 0.0012795738 | |
| 15972577 | 2 years ago | | | 0 | 0.0013625901 | |
| 15972419 | 2 years ago | | | 0 | 0.011459824 | |
| 15972372 | 2 years ago | | | 0 | 0.0076985207 | |
| 14973913 | 2 years ago | | | 0 | 0.0088480297 |
ABI
ABI objects
Getter at block 21079916 CALLBACK_SUCCESS() view returns (bytes32) CALLBACK_SUCCESS_CREDIT() view returns (bytes32) codex() view returns (address) fiat() view returns (address) fiatBalancerVault() view returns (address) fiatPoolId() view returns (bytes32) flash() view returns (address) moneta() view returns (address) publican() view returns (address)
minGasReserve() view returns (uint256)
5000
owner() view returns (address)
0xd22886236f453e9407f54cc2706b2e9c87789702
Read-only
getPermission(address envoy, address target, bytes4 selector) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
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 execute(address target, bytes data) payable returns (bytes response)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
setPermission(address envoy, address target, bytes4 selector, bool permission)
transferOwnership(address newOwner)
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)
Execute(address indexed target, bytes data, bytes response)
TransferOwnership(address indexed oldOwner, address indexed newOwner)
constructor()
receive()
PRBProxy__ExecutionNotAuthorized(address owner, address caller, address target, bytes4 selector)
PRBProxy__ExecutionReverted()
PRBProxy__NotOwner(address owner, address caller)
PRBProxy__OwnerChanged(address originalOwner, address newOwner)
PRBProxy__TargetInvalid(address target)
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)