Clearinghouse

Verified contract

Active on Ethereum with 4,061 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,998,444.46
0xec7af095a06aeca6fa3d95b3f9c09a5ec664e548c145f0ce7c8e1022a2a12594
0x1ab5cde5d2a26c135069a702bb952b7d8409bfb3f9c7cc8a2d4dfffdd3687238
0x9a4d821584b6a3800e4d611d28e6bcf230e6f4eca629a035d601b394420c4318
0xd9e1070ecaedf1d8b9a9399cd7c9ffe5e2ca17b1bbbf7e9808a4f81526ffa3d9
0x4c06a3642e8e513d2d9686e630a449736b7757167a954cc8e2532f256ff6da4e
0x0bd3982eec00882e67f93136083174065962549dce5866942c7ce9d6935e9de9
0x7792e6644f3f1bb83c6b12a33dc5ec39d88faa3a1b5efd18725463501d8c674f
0x0bb8419810f009ff5b9bec36f42a375afa317216b348bb0a5e275a8082c04223
0xda60a294a0444bf22a47574b93960934aa98bbefae9ef69198dabf1cd46c54de
0xd6b0d87ab6a8f50604b6f510d6636b0ca31a227a94207ecedacd064f7f176b59

Functions
Getter at block 21245719
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)
1732800215
getTotalReceivables(view returns (uint256)
111266012697109414605282677
gohm(view returns (address)
0x0ab87046fbb341d058f17cbc4c1133f25a20a52f
interestReceivables(view returns (uint256)
180866128514211862391835
isActive(view returns (bool)
true
isCoolerCallback(pure returns (bool)
true
kernel(view returns (address)
0x2286d7f9639e8158fad1169e76d1fbc38247f54b
ohm(view returns (address)
0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5
principalReceivables(view returns (uint256)
111085146568595202742890842
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(