Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xdefd…8bf0
Balances ($0.00)
No balances found for "Collateral"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 9518117 | 5 years ago | | | 0 | 0.00044307000 |
ABI
ABI objects
Getter at block 20863197
ADD_COLLATERAL_EXPIRY() view returns (uint256)
14400
onDemandSpv() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
cmul(uint256 x, uint256 y) pure returns (uint256 z)
collateral(bytes32 loan) view returns (uint256)
collateralDepositFinalizedIndex(bytes32) view returns (uint256)
collateralDepositIndex(bytes32) view returns (uint256)
collateralDeposits(bytes32, uint256) view returns (uint256 amount, bool finalized, bool seizable, uint256 expiry)
collaterals(bytes32) view returns (uint256 refundableCollateral, uint256 seizableCollateral, uint256 unaccountedRefundableCollateral)
finalRequestToInitialRequest(uint256) view returns (uint256)
loanRequests(bytes32) view returns (uint256 refundRequestIDOneConf, uint256 refundRequestIDSixConf, uint256 seizeRequestIDOneConf, uint256 seizeRequestIDSixConf)
refundableCollateral(bytes32 loan) view returns (uint256)
requestsDetails(uint256) view returns (bytes32 loan, bool finalized, bool seizable, bytes32 p2wshAddress)
seizableCollateral(bytes32 loan) view returns (uint256)
temporaryCollaterals(bytes32) view returns (uint256 refundableCollateral, uint256 seizableCollateral, uint256 unaccountedRefundableCollateral)
temporaryRefundableCollateral(bytes32 loan) view returns (uint256)
temporarySeizableCollateral(bytes32 loan) view returns (uint256)
txidToOutputIndexToCollateralDepositIndex(bytes32, uint8) view returns (uint256)
txidToOutputToRequestValid(bytes32, uint8) view returns (bool)
State-modifying
Events cancelSpv(bytes32 loan)
requestSpv(bytes32 loan)
setCollateral(bytes32 loan, uint256 refundableCollateral_, uint256 seizableCollateral_)
setOnDemandSpv(address onDemandSpv_)
setP2WSH(address p2wsh_)
spv(bytes32 _txid, bytes, bytes _vout, uint256 _requestID, uint8, uint8 _outputIndex)
unsetOnDemandSpv()
CancelSpv(bytes32 loan)
RequestSpv(bytes32 loan)
Spv(bytes32 _txid, bytes _vout, uint256 _requestID, uint8 _outputIndex)
constructor(address loans_)
This contract contains no fallback and receive objects.
This contract contains no error objects.