BetaBank
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
1
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 "BetaBank"
ABI
ABI objects
Getter at block 21166607
allowPublicCreate() view returns (bool)
false
config() view returns (address)
0x0000000000000000000000000000000000000001
deployer() view returns (address)
0x0000000000000000000000000000000000000001
governor() view returns (address)
0x0000000000000000000000000000000000000001
interestModel() view returns (address)
0x0000000000000000000000000000000000000001
oracle() view returns (address)
0x0000000000000000000000000000000000000001
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 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()
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.