SecuredLine
Verified contract
Active on
Ethereum with 2 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0 | $3,924.19 |
$0 |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19535438 | 8 months ago | | | 0 | 0.0018859751 | |
| 18942787 | a year ago | | | 0 | 0.0011700066 |
ABI
ABI objects
Getter at block 21385570 nextInQ() view returns (bytes32, address, address, uint256, uint256, uint256, uint128, uint128)
arbiter() view returns (address)
0xeb0566b1ef38b95da2ed631ebb8114f3ac7b9a8a
borrower() view returns (address)
0x7ec0d4fdda3c194408d59241d27ce0d2016d890f
counts() view returns (uint256, uint256)
(0, 1)
deadline() view returns (uint256)
1712522507
defaultRevenueSplit() view returns (uint8)
100
escrow() view returns (address)
0x57bedb41f5b4baad782f266623300f0800a82076
interestRate() view returns (address)
0xd98c93ed633d3ae8b76e2f4766b60048ecf4a000
oracle() view returns (address)
0x5a4aaf300473eaf8a9763318e7f30fa8a3f5dd48
spigot() view returns (address)
0x94fd7a596518791248b6368ab43090e052d67472
status() view returns (uint8)
3
swapTarget() view returns (address)
0xdef1c0ded9bec7f1a1670819833240f027b25eff
Read-only
available(bytes32 id) view returns (uint256, uint256)
credits(bytes32) view returns (uint256 deposit, uint256 principal, uint256 interestAccrued, uint256 interestRepaid, uint8 decimals, address token, address lender, bool isOpen)
ids(uint256) view returns (bytes32)
interestAccrued(bytes32 id) view returns (uint256)
mutualConsentProposals(bytes32) view returns (address)
tradeable(address token) view returns (uint256)
unused(address token) view returns (uint256)
State-modifying
Events accrueInterest()
addCredit(uint128 drate, uint128 frate, uint256 amount, address token, address lender) payable returns (bytes32)
addSpigot(address revenueContract, struct ISpigotSetting setting) returns (bool)
borrow(bytes32 id, uint256 amount)
claimAndRepay(address claimToken, bytes zeroExTradeData) returns (uint256)
claimAndTrade(address claimToken, bytes zeroExTradeData) returns (uint256)
close(bytes32 id) payable
declareInsolvent()
depositAndClose() payable
depositAndRepay(uint256 amount) payable
healthcheck() returns (uint8)
increaseCredit(bytes32 id, uint256 amount) payable
init()
liquidate(uint256 amount, address targetToken) returns (uint256)
releaseSpigot(address to) returns (bool)
revokeConsent(bytes _reconstrucedMsgData)
rollover(address newLine)
setRates(bytes32 id, uint128 drate, uint128 frate)
stepQ()
sweep(address to, address token, uint256 amount) returns (uint256)
updateOutstandingDebt() returns (uint256, uint256)
updateOwnerSplit(address revenueContract) returns (bool)
updateWhitelist(bytes4 func, bool allowed) returns (bool)
useAndRepay(uint256 amount) returns (bool)
withdraw(bytes32 id, uint256 amount)
AddCredit(address indexed lender, address indexed token, uint256 indexed deposit, bytes32 id)
Borrow(bytes32 indexed id, uint256 indexed amount)
CloseCreditPosition(bytes32 indexed id)
Default(bytes32 indexed id)
DeployLine(address indexed oracle, address indexed arbiter, address indexed borrower)
IncreaseCredit(bytes32 indexed id, uint256 indexed deposit)
InterestAccrued(bytes32 indexed id, uint256 indexed amount)
Liquidate(bytes32 indexed id, uint256 indexed amount, address indexed token, address escrow)
MutualConsentAccepted(bytes32 proposalId)
MutualConsentRegistered(bytes32 proposalId, address taker)
MutualConsentRevoked(bytes32 proposalId)
RepayInterest(bytes32 indexed id, uint256 indexed amount)
RepayPrincipal(bytes32 indexed id, uint256 indexed amount)
ReservesChanged(address indexed token, int256 indexed diff, uint256 tokenType)
RevenuePayment(address indexed token, uint256 indexed amount)
SetRates(bytes32 indexed id, uint128 indexed dRate, uint128 indexed fRate)
SortedIntoQ(bytes32 indexed id, uint256 indexed newIdx, uint256 indexed oldIdx, bytes32 oldId)
TradeSpigotRevenue(address indexed revenueToken, uint256 revenueTokenAmount, address indexed debtToken, uint256 indexed debtTokensBought)
UpdateStatus(uint256 indexed status)
WithdrawDeposit(bytes32 indexed id, uint256 indexed amount)
WithdrawProfit(bytes32 indexed id, uint256 indexed amount)
constructor(address oracle_, address arbiter_, address borrower_, address swapTarget_, address spigot_, address escrow_, uint256 ttl_, uint8 defaultSplit_)
receive()
AlreadyInitialized()
BadModule(address module)
BadNewLine()
BadRollover()
BorrowFailed()
CallerAccessDenied()
CantStepQ()
CloseFailedWithPrincipal()
DebtOwed()
EthSupportDisabled()
InvalidConsent()
NoLiquidity()
NoTokenPrice()
NonZeroEthValue()
NotActive()
NotBorrowing()
NotInsolvent(address module)
NotLiquidatable()
NotUserConsent()
PositionExists()
PositionIsClosed()
ReentrancyGuardReentrantCall()
RepayAmountExceedsDebt(uint256 totalAvailable)
ReservesOverdrawn(address token, uint256 amountAvailable)
TokenTransferFailed()
Unauthorized()
UnsupportedMutualConsentFunction()