Protocol documentation

Altrin, precisely.

Altrin is a finite scheduled execution contract for Stock Tokens on Robinhood Chain. It is not an exchange, broker, portfolio manager or recurring investment product.

Overview

A user deposits one fixed input amount and selects a number of fills. The contract makes no further wallet withdrawals. Each eligible fill swaps one portion through an enabled market and sends output directly to the plan owner.

This public-testnet deployment uses no-value tokens, mock price feeds and a mock router; it is not a production market. The contracts are unaudited.

Plan parameters

ParameterAllowed valueMeaningFills

2 to 64

A finite number selected at creation

Interval

5 minutes to 30 days

Minimum time between successful fills

Start

Now to 30 days

First eligible execution time

Slippage

0 to 2%

Maximum discount from the reference-price quote

Pricing and fees

Altrin calculates the expected output from both token price feeds, applies the user's slippage tolerance and passes that result to the router as the minimum output. Public testnet uses mock feeds and a mock router; production feeds and liquidity are not configured.

The testnet execution fee is 0.05% of each gross slice. The contract caps it at 0.10%. A plan snapshots the fee at creation, so a later configuration change cannot alter an existing plan.

Keepers

Anyone can execute a ready fill. Altrin's keeper watches plan times and submits eligible transactions. The keeper receives the plan's fixed execution fee in the input token. If no keeper acts, the user or another address can execute the fill.

Safeguards

  • Invalid, negative or stale oracle data reverts execution.
  • A Stock Token reporting a corporate-action oracle pause cannot execute.
  • A DEX fill below the oracle-derived minimum reverts completely.
  • The owner can pause new fills in an emergency but cannot block cancellation.
  • The contract owner can enable markets but cannot transfer user escrow.
  • The plan owner can cancel and withdraw the remaining input token without a price feed.

Risks

Scheduling does not guarantee profit or a better price. Prices can move between fills. Transactions can be delayed by network, keeper, oracle or DEX conditions. Smart contracts, tokens, oracles, routers and liquidity pools can fail or behave unexpectedly.

Stock Tokens are tokenised debt securities issued by Robinhood Assets (Jersey) Limited. They provide economic exposure and do not grant ownership of the underlying security. Eligibility restrictions apply. Nothing on this site is investment, legal or tax advice.

Contracts

AltrinExecutor

0xd9f9a4c9b351bf4d7db608769de742e9ab54ec93

Deployment block: 139423970. Verify the bytecode and source on the explorer before interacting.