How Aurax loans work

Aurax is a peer-to-peer credit contract. Borrowers lock a Stock Token; lenders transfer USDG against that collateral. Each deployment supports one verified Stock Token.

Loan lifecycle

  1. The borrower chooses collateral, USDG principal, fixed interest and duration, then transfers the full collateral into escrow.
  2. The contract checks that principal is no more than 60% of the collateral value at the oracle price. A request stays open for up to two days.
  3. Another wallet funds the request. The contract checks the collateral again, sends USDG to the borrower and starts the loan term.
  4. Any wallet can pay principal plus the full fixed interest by maturity. The collateral returns only to the borrower, and USDG goes to the lender.
  5. After maturity or when debt reaches 80% of oracle-valued collateral, anyone can trigger liquidation. The entire Stock Token collateral goes to the lender. The contract does not sell it for USDG.

Price and timing controls

The contract expects a Stock Token price feed adjusted for the token's corporate-action multiplier. It rejects nonpositive, stale or paused prices and blocks price-dependent actions while the L2 sequencer is down or in its recovery grace period. Repayment and post-maturity liquidation do not require a current price.

Interest is a fixed amount set when the borrower requests a loan. Early repayment still pays that entire amount. There is no compounding or protocol fee in this version.

Risks and limitations

The collateral may lose value, and the lender may receive Stock Tokens worth less than the USDG lent. Liquidation delivers tokens, not guaranteed cash. There is no automatic market sale, insurance fund or guarantee that a third party will trigger liquidation in time. Borrowers can lose the entire collateral on liquidation or after maturity.

Oracles may pause around corporate actions or become stale when markets are closed. USDG may deviate from one US dollar; the contract values debt in nominal USDG units. Smart-contract defects and underlying asset restrictions may affect use. This code has not been independently audited.

Public-testnet deployment

The public-testnet market is deployed at 0xd7c23f7558813fbbeedb746f060fac8c98f95a61. The collateral token axSTOCK and quote token axUSDG are freely mintable test fixtures. They are not Robinhood Stock Tokens or real USDG. The fixture price feed can be changed by anyone and is not a market price.

The public-testnet smoke test completed a repayment, cancellation and liquidation, with test collateral leaving escrow. The mainnet contract is not deployed.