Clearinghouse

Verified contract

Active on Ethereum with 3,905 txns
Deployed by via 0x45bbbfc3 at 18234505
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $17,861,216.08
0x4753eba9fca1b8185e800c9ffaffd44cc39eddf91e14f6dc1d9ca2f61c054ba4
0xa324c7289f44846c49b36e3bb21307de61bbe419f73bbbc02e51a99056bac0fb
0x41cb3b07aa1671cde039ecdcc738fd2d798ac305a5ec4f10b04f7a1b0d4988d2
0xa1d14d9d85ec7ac939aa19cbeec7a2f268d0dbf6a16a30685f1650b1d422dc32
0xda18e1ab67a66d9e010ea8aed77387d8752de6135f76988501709e275597c9e9
0xd805b5d56576ac4397a89bc201ebe814818e322ba63938d6b7fe69801392d6b1
0xb4362e4ab3bde96bf29ab375619779e050c4024706fc3378ca9b5984af77714c
0xbfce5b7e27fc992768e8b9bd398150ebb0c9b0091963a57fc6a30fbe828c1385
0x048dccf847546a5d92b53758fdf247dfd0ab1c676463f44b35298f98e567cb29
0x92f53eaed3b339100545df72752a41ed57f0631e3c5dfce7c475b8e1270c3eb9

Functions
Getter at block 21160227
DURATION(view returns (uint256)
10454400
FUND_AMOUNT(view returns (uint256)
18000000000000000000000000
FUND_CADENCE(view returns (uint256)
604800
INTEREST_RATE(view returns (uint256)
5000000000000000
LOAN_TO_COLLATERAL(view returns (uint256)
2892920000000000000000
MAX_REWARD(view returns (uint256)
100000000000000000
MINTR(view returns (address)
0xa90bfe53217da78d900749eb6ef513ee5b6a491e
ROLES(view returns (address)
0x6cafd730dc199df73c16420c4fcab18e3afbfa59
TRSRY(view returns (address)
0xa8687a15d4be32cc8f0a8a7b9704a4c3993d9613
active(view returns (bool)
true
dai(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
factory(view returns (address)
0x30ce56e80aa96ebba1e1a74bc5c0feb5b0db4216
fundTime(view returns (uint256)
1731590615
getTotalReceivables(view returns (uint256)
109842173802753304357552740
gohm(view returns (address)
0x0ab87046fbb341d058f17cbc4c1133f25a20a52f
interestReceivables(view returns (uint256)
178955740018598596010678
isActive(view returns (bool)
true
isCoolerCallback(pure returns (bool)
true
kernel(view returns (address)
0x2286d7f9639e8158fad1169e76d1fbc38247f54b
ohm(view returns (address)
0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5
principalReceivables(view returns (uint256)
109663218062734705761542062
requestPermissions(view returns (struct Permissions[] requests)
[(0x5452535259, 0x4aae164b), (0x5452535259, 0xe6eb207a), (0x5452535259, 0x2f42aef5), (0x4d494e5452, 0xaaf0ad5a)]
sdai(view returns (address)
0x83f20f44975d03b1b09e64809b757c47f942beea
staking(view returns (address)
0xb63cac384247597756545b500253ff8e607a8020
Read-only
getCollateralForLoan(uint256 principal_pure returns (uint256)
getLoanForCollateral(uint256 collateral_pure returns (uint256uint256)
interestForLoan(uint256 principal_uint256 duration_pure returns (uint256)
State-modifying
burn(
changeKernel(address newKernel_
claimDefaulted(address[] coolers_uint256[] loans_
configureDependencies(returns (bytes5[] dependencies)
defund(address token_uint256 amount_
emergencyShutdown(
extendLoan(address cooler_uint256 loanID_uint8 times_
lendToCooler(address cooler_uint256 amount_returns (uint256)
onDefault(uint256 loanID_uint256 principleuint256 interestuint256 collateral
onRepay(uint256 loanID_uint256 principlePaid_uint256 interestPaid_
reactivate(
rebalance(returns (bool)
sweepIntoDSR(
Events
Deactivate(
Defund(address tokenuint256 amount
Reactivate(
Rebalance(bool defunduint256 daiAmount
Constructor
constructor(address ohm_address gohm_address staking_address sdai_address coolerFactory_address kernel_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BadEscrow(
DurationMaximum(
KernelAdapter_OnlyKernel(address caller_
LengthDiscrepancy(
NotLender(
OnlyBorrower(
OnlyBurnable(
OnlyFromFactory(
Policy_ModuleDoesNotExist(bytes5 keycode_
TooEarlyToFund(