TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 276 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($124,681.57)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 33.502403 | $3,316.70 |
$111,117.42 | |
USDC | ERC-20 | 8.984439K | $1.002 |
$9,002.41 | |
USDT | ERC-20 | 3.874607K | $1.002 |
$3,882.36 | |
DAI | ERC-20 | 678.029758 | $1.002 |
$679.39 | |
Sock | ERC-20 | 24.592677B | -- | -- | |
Sango | ERC-20 | 3.151815B | -- | -- | |
Cars | ERC-20 | 394.93484M | -- | -- | |
TetherClaims.com | ERC-20 | 800 | -- | -- | |
StableDAI.com | ERC-20 | 572 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16721432 | 2 years ago | | | 0 | 0.049292120 | |
| 16640555 | 2 years ago | | | 0 | 0.064885486 | |
| 16640550 | 2 years ago | | | 0 | 0.066324943 | |
| 16424215 | 2 years ago | | | 0 | 0.042922204 | |
| 16424209 | 2 years ago | | | 0 | 0.041029535 | |
| 15726346 | 2 years ago | | | 0 | 0.061562395 | |
| 15725985 | 2 years ago | | | 0 | 0.089839043 | |
| 15650605 | 2 years ago | | | 0 | 0.0020171722 | |
| 15650603 | 2 years ago | | | 0 | 0.0020294966 | |
| 15650602 | 2 years ago | | | 0 | 0.0021020959 |
ABI
ABI objects
Getter at block 21166558
allowPublicCreate() view returns (bool)
true
config() view returns (address)
0x59334e2693168c3f8c9e0fcbe029dab9daf6b9c5
deployer() view returns (address)
0xaf152394f6928d40678ee7bbdd59ec83b3f166ae
governor() view returns (address)
0xcde61ddc37a5bcb61542d408c9dea56aebce76a9
interestModel() view returns (address)
0xfb4beadab802560ba29d575211cd4bf8f477f405
oracle() view returns (address)
0x885a58b151cfa0a1af467bd246022de6ebcd2626
paused() view returns (bool)
false
pendingGovernor() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
bTokens(address) view returns (address)
getPositionTokens(address _owner, uint256 _pid) view returns (address _collateral, address _bToken)
isPermittedCaller(address _owner, address _sender) view returns (bool)
nextPositionIds(address) view returns (uint256)
ownerWhitelists(address) view returns (bool)
positions(address, uint256) view returns (uint32 blockBorrowPut, uint32 blockRepayTake, address bToken, address collateral, uint256 collateralSize, uint256 debtShare)
runnerWhitelists(address) view returns (bool)
totalCollaterals(address) view returns (uint256)
underlyings(address) view returns (address)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
acceptGovernor()
borrow(address _owner, uint256 _pid, uint256 _amount)
create(address _underlying) returns (address bToken)
fetchPositionDebt(address _owner, uint256 _pid) returns (uint256)
fetchPositionLTV(address _owner, uint256 _pid) returns (uint256)
initialize(address _governor, address _deployer, address _oracle, address _config, address _interestModel)
liquidate(address _owner, uint256 _pid, uint256 _amount)
open(address _owner, address _underlying, address _collateral) returns (uint256 pid)
pause()
put(address _owner, uint256 _pid, uint256 _amount)
recover(address _bToken, address _token, uint256 _amount)
repay(address _owner, uint256 _pid, uint256 _amount)
selflessLiquidate(address _owner, uint256 _pid, uint256 _amount)
setAllowPublicCreate(bool _ok)
setConfig(address _config)
setInterestModel(address _interestModel)
setOracle(address _oracle)
setOwnerWhitelists(address[] _owners, bool ok)
setPendingGovernor(address _pendingGovernor)
setRunnerWhitelists(address[] _runners, bool ok)
take(address _owner, uint256 _pid, uint256 _amount)
unpause()
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
Borrow(address indexed owner, uint256 indexed pid, uint256 amount, uint256 share, address borrower)
Create(address indexed underlying, address bToken)
Liquidate(address indexed owner, uint256 indexed pid, uint256 amount, uint256 share, uint256 reward, address caller)
Open(address indexed owner, uint256 indexed pid, address bToken, address collateral)
Paused(address account)
Put(address indexed owner, uint256 indexed pid, uint256 amount, address payer)
Repay(address indexed owner, uint256 indexed pid, uint256 amount, uint256 share, address payer)
SelflessLiquidate(address indexed owner, uint256 indexed pid, uint256 amount, uint256 share, address caller)
SetAllowPublicCreate(bool ok)
SetConfig(address config)
SetGovernor(address governor)
SetInterestModel(address interestModel)
SetOracle(address oracle)
SetOwnerWhitelist(address indexed owner, bool ok)
SetPendingGovernor(address pendingGovernor)
SetRunnerWhitelist(address indexed runner, bool ok)
Take(address indexed owner, uint256 indexed pid, uint256 amount, address to)
Unpaused(address account)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.