PoolPawn

Verified contract

Active on Ethereum with 1,316 txns
Deployed by via 0x5bc50fa2 at 10574574
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $342.93
ERC-20
Value $1,639.77
ERC-20
Value $212.22
ERC-20
Value $9.83
ERC-20
Value $0.06
0x988e61796aa8aff492544a6303ca31f54914f1aadd69c2d58186be0b3953cf35
0x70875b4050ab1dbcedcbeccb987f47248566760ec7b97167ddbc5c378f166a34
0x5efdb7e0507b7efb9a6d13e23037692cb3b79017decc6901c58d561802579a1f
0xf81c1bbb803fd6db80d1aa1304d45c68eebfd37b80caef531d22cb2f5ba88c1f
0x8a91efd78963b115ac57b66e857c47ff1d9d5d70aac1222864cbea36f2e6911a
0x8ae9275fa2c5eea797ea8d89e99bc5b9ac66e99176e8b12e41032c434936f292
0x4bee889e54b567f0a778f38f99afbac4017cc91d7c4a3051b053bf4009105f66
0x4ab188f287796adde174f6911d5eab03b8abf3151608db525eb4a0f67bb65c14
0x91bbd1a69257b5f05da20f673f58fb71cb7ad7310d9ccfc948aa4197903e456f
0x48c54f153698bc8c47d8a1b32cf244f9c7880fda0e7ff40bead2b7abc22f463d

Functions
Getter at block 21227255
ONE_ETH(view returns (uint256)
1000000000000000000
admin(view returns (address)
0x6ccbdf0b154780510332fea0ec07c804d7d11864
defaultOriginationFee(view returns (uint256)
0
getCollateralMarketsLength(view returns (uint256)
10
index(view returns (uint256)
252
initialInterestIndex(view returns (uint256)
1000000000000000000
int_max(view returns (uint256)
57896044618658097711785492504343953926634992332820282019728792003956564819967
liquidateIndexes(view returns (uint256)
0
oracleInstance(view returns (address)
0xd4830643212fe2ebd90f3e40407812764ecccfb8
originationFee(view returns (uint256)
0
proposedAdmin(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
accountBorrowSnapshot(addressaddressview returns (uint256 principaluint256 interestIndexuint256 totalPnl)
accountSupplySnapshot(addressaddressview returns (uint256 principaluint256 interestIndexuint256 totalPnl)
accounts(uint256view returns (address)
calcAccountAllTokenValuesLeverageInternal(address whoview returns (uint256 sumSuppliesuint256 sumBorrowLeverage)
calcAccountLiquidity(address whoview returns (uint256uint256)
calcAccountTokenValuesInternal(address whoaddress tview returns (uint256uint256)
calcAccountTokenValuesLeverageInternal(address whoaddress tview returns (uint256uint256)
calcAmountSeize(address underwaterAssetaddress collateralAssetuint256 underwaterAssetPriceuint256 collateralPriceuint256 closeBorrowAmount_TargetUnderwaterAssetview returns (uint256 res)
calcBorrowAmountWithFee(uint256 borrowAmountpure returns (uint256)
calcDiscountedBorrowDenominatedCollateral(address underwaterAssetaddress collateralAssetuint256 underwaterAssetPriceuint256 collateralPriceuint256 supplyCurrent_TargetCollateralAssetview returns (uint256 res)
calcDiscountedRepayToEvenAmount(address targetAccountaddress underwaterAssetuint256 underwaterAssetPriceview returns (uint256)
calcMaxLiquidateAmount(address targetAccountaddress assetBorrowaddress assetCollateralview returns (uint256)
collateralTokens(uint256view returns (address)
fetchAssetPrice(address assetview returns (uint256bool)
getAssetAmountForValue(address tuint256 usdValueview returns (uint256)
getBorrowBalance(address accaddress tview returns (uint256)
getBorrowBalanceInUSD(address whoaddress tview returns (uint256)
getBorrowBalanceLeverage(address whoaddress tview returns (uint256)
getBorrowPnl(address accaddress tview returns (uint256)
getBorrowPnlInUSD(address whoaddress tview returns (uint256)
getCash(address tview returns (uint256)
getPriceForAssetAmount(address assetuint256 assetAmountview returns (uint256)
getPriceForAssetAmountMulCollatRatio(address tuint256 assetAmountview returns (uint256)
getSupplyBalance(address accaddress tview returns (uint256)
getSupplyBalanceInUSD(address whoaddress tview returns (uint256)
getSupplyPnl(address accaddress tview returns (uint256)
getSupplyPnlInUSD(address whoaddress tview returns (uint256)
getTotalBorrowPnl(address whoview returns (uint256 sumPnl)
getTotalSupplyPnl(address whoview returns (uint256 sumPnl)
indexes(addressview returns (uint256)
liquidateInfoMap(uint256view returns (address targetAccountaddress liquidatoraddress assetCollateraaddress assetBorrowuint256 liquidateAmountuint256 targetAmountuint256 timestamp)
loanToDepositRatio(address assetview returns (uint256)
mkts(addressview returns (uint256 accrualBlockNumberint256 supplyRateint256 demondRateaddress irmuint256 totalSupplyuint256 supplyIndexuint256 totalBorrowsuint256 borrowIndexuint256 totalReservesuint256 minPledgeRateuint256 liquidationDiscountuint256 decimals)
State-modifying
BorrowPawn(address tuint256 amount
addCollateralMarket(address asset
claimAdministration(
initCollateralMarket(address taddress irmaddress oracleuint256 decimals
liquidateBorrowPawn(address targetAccountaddress assetBorrowaddress assetCollateraluint256 requestedAmountClosepayable 
proposeNewAdmin(address admin_
repayFastBorrow(address tuint256 amountpayable 
setDecimals(address tuint256 decimals
setInitialTimestamp(address token
setInterestRateModel(address taddress irm
setLiquidationDiscount(address tuint256 liquidationDiscount
setMinPledgeRate(address tuint256 minPledgeRate
setOracle(address oracle
supplyPawn(address tuint256 amountpayable 
withdrawPawn(address tuint256 requestedAmount
withdrawPawnEquity(address tuint256 amount
Events
BorrowPawnLog(address usraddress tuint256 amountuint256 beguint256 end
LiquidateBorrowPawnLog(address usraddress tBorrowuint256 endBorrowaddress liquidatoraddress tColuint256 endCol
RepayFastBorrowLog(address usraddress tuint256 amountuint256 beguint256 end
SupplyPawnLog(address usraddress tuint256 amountuint256 beguint256 end
WithdrawPawnEquityLog(address tuint256 equityAvailableBeforeuint256 amountaddress owner
WithdrawPawnLog(address usraddress tuint256 amountuint256 beguint256 end
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.