DebtRepayer
Verified contract
Active on
Ethereum with 61 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($46,528.48)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 11.865311 | $3,881.69 |
$46,057.46 | |
WBTC | ERC-20 | 0.004737 | $99,426.00 |
$471.02 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21296280 | 13 days ago | | | 0 | 0.0078172807 | |
| 20343030 | 5 months ago | | | 0 | 0.0037395929 | |
| 20341915 | 5 months ago | | | 0 | 0.0083432712 | |
| 19448090 | 9 months ago | | | 0 | 0.0071066702 | |
| 19288310 | 10 months ago | | | 0 | 0.012110125 | |
| 18432109 | a year ago | | | 0 | 0.011563332 | |
| 18424943 | a year ago | | | 0 | 0.0019113148 | |
| 18418834 | a year ago | | | 0 | 0.0027815765 | |
| 18411639 | a year ago | | | 0 | 0.0074195751 | |
| 18362082 | a year ago | | | 0 | 0.0019825857 |
ABI
ABI objects
Getter at block 21392031
anBtc() view returns (address)
0x17786f3813e6ba35343211bd8fe18ec4de14f28b
anEth() view returns (address)
0x697b4acaa24430f254224eb794d2a85ba1fa1fb8
anYfi() view returns (address)
0xde2af899040536884e062d3a334f2dd36f34b4a4
baseline() view returns (uint256)
10000
controller() view returns (address)
0x926df14a23be491164dcf93f4c468a50ef659d5b
governance() view returns (address)
0x926df14a23be491164dcf93f4c468a50ef659d5b
maxDiscount() view returns (uint256)
8000
treasury() view returns (address)
0x9d5df30f475cea915b1ed4c0cca59255c897b61b
zeroDiscountReserveThreshold() view returns (uint256)
1500
Read-only
amountOut(address anToken, address underlying, uint256 amount) view returns (uint256, uint256)
convertToUnderlying(address anToken, uint256 amount) view returns (uint256)
currentDiscount(address anToken) view returns (uint256)
remainingDebt(address anToken) view returns (uint256)
State-modifying
Events sellDebt(address anToken, uint256 amount, uint256 minOut)
setController(address newController)
setGovernance(address newGovernance)
setMaxDiscount(uint256 newMaxDiscount)
setTreasury(address newTreasury)
setZeroDiscountReserveThreshold(uint256 newZeroDiscountReserveThreshold)
sweepTokens(address token, uint256 amount)
debtRepayment(address underlying, uint256 receiveAmount, uint256 paidAmount)
constructor(uint256 decimals, uint256 maxDiscount_, uint256 zeroDiscountReserveThreshold_, address governance_, address controller_, address treasury_)
receive()
This contract contains no error objects.