SecuredLine

Verified contract

Active on Ethereum with 2 txns
Deployed by via 0x913a6305 at 18929269
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0xd0cd421246b2499bd046c8d957479a6d27842d2a3a3a0b04c3e03862e8f54c9d
0xd7cd4843abe59697f3e16d576fab7344983ba26f218b332b0045f1c73612f600

Functions
Getter at block 21385570
arbiter(view returns (address)
0xeb0566b1ef38b95da2ed631ebb8114f3ac7b9a8a
borrower(view returns (address)
0x7ec0d4fdda3c194408d59241d27ce0d2016d890f
counts(view returns (uint256uint256)
(0, 1)
deadline(view returns (uint256)
1712522507
defaultRevenueSplit(view returns (uint8)
100
escrow(view returns (address)
0x57bedb41f5b4baad782f266623300f0800a82076
interestRate(view returns (address)
0xd98c93ed633d3ae8b76e2f4766b60048ecf4a000
 
nextInQ(view returns (bytes32addressaddressuint256uint256uint256uint128uint128)
oracle(view returns (address)
0x5a4aaf300473eaf8a9763318e7f30fa8a3f5dd48
spigot(view returns (address)
0x94fd7a596518791248b6368ab43090e052d67472
status(view returns (uint8)
3
swapTarget(view returns (address)
0xdef1c0ded9bec7f1a1670819833240f027b25eff
Read-only
available(bytes32 idview returns (uint256uint256)
credits(bytes32view returns (uint256 deposituint256 principaluint256 interestAccrueduint256 interestRepaiduint8 decimalsaddress tokenaddress lenderbool isOpen)
ids(uint256view returns (bytes32)
interestAccrued(bytes32 idview returns (uint256)
mutualConsentProposals(bytes32view returns (address)
tradeable(address tokenview returns (uint256)
unused(address tokenview returns (uint256)
State-modifying
accrueInterest(
addCredit(uint128 drateuint128 frateuint256 amountaddress tokenaddress lenderpayable returns (bytes32)
addSpigot(address revenueContractstruct ISpigotSetting settingreturns (bool)
borrow(bytes32 iduint256 amount
claimAndRepay(address claimTokenbytes zeroExTradeDatareturns (uint256)
claimAndTrade(address claimTokenbytes zeroExTradeDatareturns (uint256)
close(bytes32 idpayable 
declareInsolvent(
depositAndClose(payable 
depositAndRepay(uint256 amountpayable 
healthcheck(returns (uint8)
increaseCredit(bytes32 iduint256 amountpayable 
init(
liquidate(uint256 amountaddress targetTokenreturns (uint256)
releaseSpigot(address toreturns (bool)
revokeConsent(bytes _reconstrucedMsgData
rollover(address newLine
setRates(bytes32 iduint128 drateuint128 frate
stepQ(
sweep(address toaddress tokenuint256 amountreturns (uint256)
updateOutstandingDebt(returns (uint256uint256)
updateOwnerSplit(address revenueContractreturns (bool)
updateWhitelist(bytes4 funcbool allowedreturns (bool)
useAndRepay(uint256 amountreturns (bool)
withdraw(bytes32 iduint256 amount
Events
AddCredit(address indexed lenderaddress indexed tokenuint256 indexed depositbytes32 id
Borrow(bytes32 indexed iduint256 indexed amount
CloseCreditPosition(bytes32 indexed id
Default(bytes32 indexed id
DeployLine(address indexed oracleaddress indexed arbiteraddress indexed borrower
IncreaseCredit(bytes32 indexed iduint256 indexed deposit
InterestAccrued(bytes32 indexed iduint256 indexed amount
Liquidate(bytes32 indexed iduint256 indexed amountaddress indexed tokenaddress escrow
MutualConsentAccepted(bytes32 proposalId
MutualConsentRegistered(bytes32 proposalIdaddress taker
MutualConsentRevoked(bytes32 proposalId
RepayInterest(bytes32 indexed iduint256 indexed amount
RepayPrincipal(bytes32 indexed iduint256 indexed amount
ReservesChanged(address indexed tokenint256 indexed diffuint256 tokenType
RevenuePayment(address indexed tokenuint256 indexed amount
SetRates(bytes32 indexed iduint128 indexed dRateuint128 indexed fRate
SortedIntoQ(bytes32 indexed iduint256 indexed newIdxuint256 indexed oldIdxbytes32 oldId
TradeSpigotRevenue(address indexed revenueTokenuint256 revenueTokenAmountaddress indexed debtTokenuint256 indexed debtTokensBought
UpdateStatus(uint256 indexed status
WithdrawDeposit(bytes32 indexed iduint256 indexed amount
WithdrawProfit(bytes32 indexed iduint256 indexed amount
Constructor
constructor(address oracle_address arbiter_address borrower_address swapTarget_address spigot_address escrow_uint256 ttl_uint8 defaultSplit_
Fallback and receive
receive(
Errors
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 tokenuint256 amountAvailable
TokenTransferFailed(
Unauthorized(
UnsupportedMutualConsentFunction(