EtherCollateral
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
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 "EtherCollateral"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "EtherCollateral"
ABI
ABI objects
Getter at block 21398482 getContractInfo() view returns (uint256 _collateralizationRatio, uint256 _issuanceRatio, uint256 _issueFeeRate, uint256 _minLoanCollateralSize, uint256 _totalIssuedSynths, uint256 _totalLoansCreated, uint256 _totalOpenLoanCount, uint256 _ethBalance) issuanceRatio() view returns (uint256)
_factoryContract() view returns (address)
0x0000000000000000000000000000000000000001
accountLoanLimit() view returns (uint256)
50
arbasset() view returns (address)
0x0000000000000000000000000000000000000000
assetClosed() view returns (bool)
false
collateralizationRatio() view returns (uint256)
0
issueFeeRate() view returns (uint256)
0
liquidationPenalty() view returns (uint256)
100000000000000000
liquidationRatio() view returns (uint256)
0
minLoanCollateralSize() view returns (uint256)
50000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
totalIssuedSynths() view returns (uint256)
0
totalLoansCreated() view returns (uint256)
0
totalOpenLoanCount() view returns (uint256)
0
Read-only
accountOpenLoanCounter(address) view returns (uint256)
accountsSynthLoans(address, uint256) view returns (address account, uint256 collateralAmount, uint256 loanAmount, uint256 mintingFee, uint256 timeCreated, uint256 loanID, uint256 timeClosed)
calculateAmountToLiquidate(uint256 debtBalance, uint256 collateral) view returns (uint256)
collateralAmountForLoan(uint256 loanAmount) view returns (uint256)
getLoan(address _account, uint256 _loanID) view returns (address account, uint256 collateralAmount, uint256 loanAmount, uint256 timeCreated, uint256 loanID, uint256 timeClosed, uint256 totalFees)
getLoanCollateralRatio(address _account, uint256 _loanID) view returns (uint256 loanCollateralRatio)
getMintingFee(address _account, uint256 _loanID) view returns (uint256)
getOpenLoanIDsByAccount(address _account) view returns (uint256[])
loanAmountFromCollateral(uint256 collateralAmount) view returns (uint256)
State-modifying
Events changeOwner(address _newOwner)
closeLoan(uint256 loanID)
depositCollateral(address account, uint256 loanID) payable
initialize(address _asset, address _owner, address _factoryAddress, uint256[2] _mintingFeeRatio)
liquidateLoan(address _loanCreatorsAddress, uint256 _loanID, uint256 _debtToCover)
openLoan(uint256 _loanAmount) payable returns (uint256 loanID)
repayLoan(address _loanCreatorsAddress, uint256 _loanID, uint256 _repayAmount)
setAssetClosed()
setIssueFeeRate(uint256 _issueFeeRate)
withdrawCollateral(uint256 loanID, uint256 withdrawAmount)
AssetClosed()
CollateralDeposited(address indexed account, uint256 loanID, uint256 collateralAmount, uint256 collateralAfter)
CollateralWithdrawn(address indexed account, uint256 loanID, uint256 amountWithdrawn, uint256 collateralAfter)
IssueFeeRateUpdated(uint256 issueFeeRate)
LoanClosed(address indexed account, uint256 loanID)
LoanCreated(address indexed account, uint256 loanID, uint256 amount)
LoanLiquidated(address indexed account, uint256 loanID, address liquidator)
LoanLiquidationOpenUpdated(bool loanLiquidationOpen)
LoanPartiallyLiquidated(address indexed account, uint256 loanID, address liquidator, uint256 liquidatedAmount, uint256 liquidatedCollateral)
LoanRepaid(address indexed account, uint256 loanID, uint256 repaidAmount, uint256 newLoanAmount)
NewOwner(address newOwner)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.