Loans

Verified contract

Active on Ethereum with 341 txns
Deployed by via 0x461a783e at 8698880
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xcccf7ae72f623568ae6adb08f6309b86b8fccf7367a87ed60a13b38860f98799
0x3dc0538c98186a74e7c92a2c36753e6f2ecab2a7cb195decfa503d213ba95ab6
0x20b7a69e8b3313ae24655a7c917e6563f04111150e9359c650706523b59a4d37
0x5975d85aafd2d3a5c595376f7c2003a012eb708158d4fdf557234093233f0e8a
0xa4bdb47c5eaa522017d618286b7940f3f469ae2bcf17df2c5f252f12ed9b2a76
0x2b1226c9775f21895c3a79aa7301ac7ff9430589ebdd1055a48e9edbf873725f
0x781fabc90062091fe2640f6d4e94155f5a9546d8f304078c58df83d2aaca25f3
0x9f09a41b9b78281b8b1a48ad4aed6a780bf56f21746ed2431bf596da52d6e447
0xdaebc25f6e69490d0f4e5e72e10463f80fdda95da94502a2d3803c45921cde44
0xb5af273eeaa80a8d2f364e877e85068dae28dad16c40fdb70063ac72211f2070

Functions
Getter at block 21325277
ACCEPT_EXP_THRESHOLD(view returns (uint256)
172800
APPROVE_EXP_THRESHOLD(view returns (uint256)
7200
LIQUIDATION_DISCOUNT(view returns (uint256)
930000000000000000
LIQUIDATION_EXP_THRESHOLD(view returns (uint256)
604800
SEIZURE_EXP_THRESHOLD(view returns (uint256)
172800
decimals(view returns (uint256)
18
loanIndex(view returns (uint256)
81
token(view returns (address)
0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359
Read-only
acceptExpiration(bytes32 loanview returns (uint256)
approveExpiration(bytes32 loanview returns (uint256)
approved(bytes32 loanview returns (bool)
arbiter(bytes32 loanview returns (address)
bools(bytes32view returns (bool fundedbool approvedbool withdrawnbool salebool paidbool off)
borrower(bytes32 loanview returns (address)
borrowerLoanCount(address borrower_view returns (uint256)
borrowerLoans(addressuint256view returns (bytes32)
cmul(uint256 xuint256 ypure returns (uint256 z)
collateral(bytes32 loanview returns (uint256)
collateralValue(bytes32 loanview returns (uint256)
ddiv(uint256 xview returns (uint256)
discountCollateralValue(bytes32 loanview returns (uint256)
dmul(uint256 xview returns (uint256)
fee(bytes32 loanview returns (uint256)
fundIndex(bytes32view returns (bytes32)
funded(bytes32 loanview returns (bool)
interest(bytes32 loanview returns (uint256)
lender(bytes32 loanview returns (address)
lenderLoanCount(address lender_view returns (uint256)
lenderLoans(addressuint256view returns (bytes32)
liquidationExpiration(bytes32 loanview returns (uint256)
liquidationRatio(bytes32 loanview returns (uint256)
loans(bytes32view returns (address borroweraddress lenderaddress arbiteruint256 createdAtuint256 loanExpirationuint256 requestTimestampuint256 closedTimestampuint256 principaluint256 interestuint256 penaltyuint256 feeuint256 collateraluint256 liquidationRatio)
minCollateralValue(bytes32 loanview returns (uint256)
off(bytes32 loanview returns (bool)
owedForLiquidation(bytes32 loanview returns (uint256)
owedForLoan(bytes32 loanview returns (uint256)
owedToLender(bytes32 loanview returns (uint256)
owing(bytes32 loanview returns (uint256)
paid(bytes32 loanview returns (bool)
penalty(bytes32 loanview returns (uint256)
principal(bytes32 loanview returns (uint256)
pubKeys(bytes32view returns (bytes borrowerPubKeybytes lenderPubKeybytes arbiterPubKey)
repaid(bytes32 loanview returns (uint256)
repayments(bytes32view returns (uint256)
safe(bytes32 loanview returns (bool)
sale(bytes32 loanview returns (bool)
secretHashes(bytes32view returns (bytes32 secretHashA1bytes32 secretHashB1bytes32 secretHashC1bytes32 withdrawSecretbytes32 acceptSecretbool set)
seizureExpiration(bytes32 loanview returns (uint256)
tokes(bytes32view returns (address)
withdrawn(bytes32 loanview returns (bool)
State-modifying
accept(bytes32 loanbytes32 secret
approve(bytes32 loan
cancel(bytes32 loanbytes32 secret
create(uint256 loanExpiration_address[3] usrs_uint256[7] vals_bytes32 fundIndex_returns (bytes32 loan)
fund(bytes32 loan
liquidate(bytes32 loanbytes32 secretHashbytes20 pubKeyHashreturns (bytes32 sale_)
refund(bytes32 loan
repay(bytes32 loanuint256 amount
setSales(address sales_
setSecretHashes(bytes32 loanbytes32[4] borrowerSecretHashesbytes32[4] lenderSecretHashesbytes32[4] arbiterSecretHashesbytes borrowerPubKey_bytes lenderPubKey_bytes arbiterPubKey_returns (bool)
withdraw(bytes32 loanbytes32 secretA1
Events
Create(bytes32 loan
Constructor
constructor(address funds_address med_address token_uint256 decimals_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.