OverviewKRONOSDOCS · ELYSIUM 99901
TECHNICAL SPECIFICATION · KRONOSCREDIT.SOL

Time-Locked, Zero-Liquidation Credit Architecture

Kronos is an immutable, non-upgradable Solidity escrow protocol on Elysium (Chain ID 99901). It eliminates oracle dependencies, price-based health factors, and mid-term liquidations by governing every loan exclusively through deterministic block.timestamp maturity.

01 · Verified Deployment & Network Parameters

NETWORK / CHAIN IDElysium · 99901 (Native HYPE)
RPC ENDPOINThttps://rpc.elysium.kinetiq.xyz
BLOCKSCOUT EXPLORERhttps://elysium.kinetiq.xyz
PROTOCOL FEE / ADMIN KEYS0% Fee · Zero Admin · Immutable
SOLIDITY VERSIONpragma solidity ^0.8.24 · nonReentrant

02 · Zero-Oracle Design & block.timestamp Maturity Guarantees

Zero Price Feeds, Zero Flash-Wick Liquidations

Conventional lending markets rely on external spot or TWAP oracles to compute continuous loan-to-value ratios. When thin liquidity triggers a brief intraday wick, liquidators seize borrower collateral at a punitive discount even if spot recovers minutes later.

KronosCredit contains zero oracle imports, zero keeper hooks, and zero liquidation functions. Once a loan originates via acceptOffer(), the borrower's collateral is inviolably escrowed until maturity regardless of spot volatility.

Deterministic Binary Settlement

Every loan stores maturity = uint64(block.timestamp) + durationSeconds at origination. Settlement follows two mutually exclusive inequalities:

// Borrower repayment window (inclusive of exact maturity second)
block.timestamp <= loan.maturity => repayLoan(loanId) succeeds
// Lender default claim window (strictly after maturity)
block.timestamp > loan.maturity => claimDefault(loanId) succeeds

There is no grace-period ambiguity and no race condition at the exact maturity second: claimDefault reverts with LoanNotMatured() while block.timestamp <= loan.maturity.

03 · KronosCredit.sol Function Reference

createOffer()

external payable
createOffer(address collateralToken, uint256 collateralAmount, uint256 principalWei, uint256 repaymentWei, uint64 durationSeconds) returns (uint256 offerId)

Escrows exact native HYPE principal (msg.value == principalWei) inside KronosCredit and publishes an active fixed-term offer in the on-chain orderbook.

  • collateralToken must be a deployed contract (code.length > 0)
  • collateralAmount > 0, principalWei > 0, durationSeconds > 0
  • repaymentWei >= principalWei and msg.value == principalWei

cancelOffer()

external
cancelOffer(uint256 offerId)

Allows the originating lender to cancel an unborrowed offer and immediately reclaim 100% of escrowed native HYPE principal.

  • Offer must exist and remain active (not already accepted or cancelled)
  • Caller must equal offer.lender

acceptOffer()

external
acceptOffer(uint256 offerId) returns (uint256 loanId)

Locks exact ERC-20 collateral from the borrower into isolated escrow and transfers native HYPE principal directly to the borrower in one atomic transaction.

  • Borrower must pre-approve KronosCredit for collateralAmount
  • Sets startedAt = uint64(block.timestamp) and maturity = startedAt + durationSeconds
  • Increments activePrincipalWei and binds collateral exclusively to loanId

repayLoan()

external payable
repayLoan(uint256 loanId)

Repays the exact fixed HYPE obligation on or before maturity to settle the loan and release 100% of escrowed collateral back to the borrower.

  • Caller must equal loan.borrower and loan.status == LoanStatus.Active
  • Requires block.timestamp <= loan.maturity (inclusive of exact maturity second)
  • Requires msg.value == loan.repaymentWei

claimDefault()

external
claimDefault(uint256 loanId)

Strictly after maturity, transfers the escrowed ERC-20 collateral to the lender if the borrower has not repaid.

  • Caller must equal loan.lender and loan.status == LoanStatus.Active
  • Requires block.timestamp > loan.maturity (strictly greater than maturity)
  • Decrements activePrincipalWei and marks loan.status = LoanStatus.Defaulted

04 · Reference Elysium Collateral Assets

KronosCredit permissionlessly accepts any compliant ERC-20 contract deployed on Elysium (99901). The Kronos terminal resolves the following canonical Elysium assets automatically and falls back to on-chain symbol() / decimals() reads for any custom ERC-20 address.

SYMBOLASSET NAMEDECIMALSELYSIUM ADDRESSEXPLORER
WHYPEWrapped HYPE180xba876237b0f021a6c6d852d6c26e107997cc5e81Blockscout
USDCUSD Coin60xb47c4c8f73f009cc0c0d3f92b388d13e293f0b65Blockscout
UETHUnit Ethereum180x7a66a75fe41bc26867c17fe1bc7d1c076ebd4ecdBlockscout
KRONOSKRONOS Token180xb1cE021C3CDCD9C46F54EaA8C97E54Bd185F8832Blockscout