Expirations - AtomicLoans/atomicloans-rfc GitHub Wiki
Lending / borrowing portion of the protocol expirations are as follows:
-
Approve Expiration: 2 hours after
Loans.createis called. Amount of time the Bob has to approve the locking of the collateral. -
Loan Expiration: Timestamp which indicates that the loan is finished. The Alice must repay the loan before this time or the loan will be considered defaulted.
-
Accept Expiration: 2 days after the loan expiration. Bob or Carol has 2 days to accept the loan repayment, or Alice will be able to call
Loans.refundand refund the principal + interest repayment. -
Liquidation Expiration: 7 days after the Loan Expiration. After this, Bob will be able to seize the seizable collateral.
-
Seizure Expiration: 2 days after the Liquidation Expiration. After this Alice, can refund the seizable collateral.
Liquidation portion of the protocol expirations are as follows:
-
Swap Expiration: 2 hours where Dave can claim the collateral swap before the transaction to move it back to the original collateral script will be broadcast.
-
Settlement Expiration: 4 hours where Alice and Bob can
Sales.acceptthe liquidation before Dave will be able to refund it. -
Liquidation Expiration: Same as previous definition (as well as same timestamp)