ScripDocs

Reference

Parameters

Every number Scrip runs on, with the live values of this network.

The numbers Scrip runs on: the program's fixed rules, then the values this network's reserve was created with.

This network

Reading the reserve…

Read from the reserve account on this page’s network as it loaded.

Tokens and amounts

ParameterValue
USDC decimals6
Scrip token decimals12
Multiplier scale10^12, so a multiplier of 1.0 is 1,000,000,000,000
Scrip units per USDC unit at multiplier 1.01,000,000
Rate for mint, redeem and convert1:1 in dollars

Rounding

OperationRounds
Minting and convertingThe Scrip units minted round down
RedeemingThe USDC paid rounds down
What the reserve owes each ScripRounds up

Each rounding is below a millionth of a dollar, and every one of them favors the reserve's backing.

Issuing

FieldRule
NameUp to 32 characters
Ticker2 to 10 capital letters or digits, starting with a letter
Metadata addressAn https:// or ipfs:// address, up to 200 characters
SignaturesOne from the issuer's wallet

Routes

ParameterValue
SharesBasis points across buyback, holders and treasury, adding up to 10,000
Maximum buyback slippage1,000 basis points (10%)
Buyback minimum outputThe budget's worth in community tokens at its price feed, less the route's slippage; a budget is spent once that minimum is at least one token unit
Buyback venueJupiter, program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4
Community tokenA classic SPL token with a price feed under the reserve's price adapter
Route changeScheduled by the issuer, activated after the waiting period

Reserve configuration

ParameterRange
Protocol fee on harvested yield0% to 20%
USDC buffer target0% to 100% of what's owed
Route change waiting period1 hour to 1 year
Maximum age of the Treasury priceUp to 1 hour

Program

Address
Scrip program6tCmm6PDVDtmrPYbavqobR8T45unAFU4m74i21tLxe5m
Token standard for ScripToken-2022, with the metadata and Scaled UI Amount extensions