PRBProxy

Verified contract

Proxy

Active on Ethereum with 48 txns
Deployed by via 0x5985a268 at 14578884
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "PRBProxy"

0xb1277ac13f74c076010d48b84ee0797a834aeb4485d71db92e78b4b8ad0dfd0e
0x67e65f34e17f49a78fa83c2ef4ca0e8cae3d6bf7c3935e19a2f20c11ad12c06b
0xe9334ffe3ed21a157631963a7702f659d39e5bb9ae8fba56356b6c2550a715de
0x753ee87ca56d54e221477cf2c96836c5aa8506b6e7b32af205d040fea00ec4a2
0xaf4ff793d1961532a94580395029aea091d772fc1d878fca72275a20190f10a3
0xd85ad56168a9a93e150edd1b4ccaa7b74d30adf74377aef610794ea3aa5129f9
0x429aaa18292bcaf1116f13c59e51693b34e7ba211e25f9d284b4f2a299bd61ed
0x699430c3b55f65b4a9d021466a3f0ddcc6534fb5f20512b0cea7bd9e13de44da
0x2de354d0877fcfd36aa7d551cc3ed8e70a5ede4ea349588e802baf1e77a1105c
0xbda93407f1b4f4f061faf6d011880e23cadf2e0a55732b635b7823667b0a4cf3

Functions
Getter at block 21079916
minGasReserve(view returns (uint256)
5000
owner(view returns (address)
0xd22886236f453e9407f54cc2706b2e9c87789702
 
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)
Read-only
getPermission(address envoyaddress targetbytes4 selectorview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
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
execute(address targetbytes datapayable returns (bytes response)
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
setPermission(address envoyaddress targetbytes4 selectorbool permission
transferOwnership(address newOwner
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
Execute(address indexed targetbytes databytes response
TransferOwnership(address indexed oldOwneraddress indexed newOwner
Constructor
constructor(
Fallback and receive
receive(
Errors
PRBProxy__ExecutionNotAuthorized(address owneraddress calleraddress targetbytes4 selector
PRBProxy__ExecutionReverted(
PRBProxy__NotOwner(address owneraddress caller
PRBProxy__OwnerChanged(address originalOwneraddress 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 xuint256 y
Math__mul_overflow(uint256 xuint256 y
Math__sub_overflow(uint256 xuint256 y
Math__toInt256_overflow(uint256 x