Skip to article Snowbank

Snowbank linked reserve-backed minting with bond vesting and staking rewards

Snowbank developed a reserve-currency design on Avalanche around SB, reserve assets, vesting bonds and a rebasing staking token. Approved deposits into its treasury supported new token issuance. Bonding created SB claims that vested over time, while staking represented deposited SB through sSB. Treasury permissions limited direct reserve access. Both paths depended on contract configuration and balances. Current availability of these original functions remains unconfirmed.

Updated -

Reserve accounting governed token issuance

Reserve accounting linked accepted assets to the SB that approved depositors could obtain through treasury minting. The treasury distinguished reserve tokens from liquidity tokens, which represented pool positions. For reserve assets, its valuation function adjusted token decimals into the base token’s accounting units. For liquidity assets, it called the assigned bond calculator.

An approved depositor also supplied a profit amount when depositing an accepted asset. The treasury minted the asset’s accounting value minus that profit to the depositor and increased recorded reserves. The standard bond depository used this connection to fund its payout and any DAO allocation. Separate reward minting required excess reserves, calculated from recorded reserves, base-token supply and outstanding treasury debt.

Bond deposits created claims with a vesting schedule

Bonding exchanged an accepted asset for a claim on future SB payouts under the selected depository’s terms. The standard reserve and liquidity design assigned each depository a designated input token. It checked debt capacity and the caller’s maximum price, then valued the input through the treasury. The calculated payout had to meet the depository’s size limits. Liquidity-provider tokens used the configured bond calculator, so their valuation differed from ordinary reserve-token accounting.

The standard depository multiplied the bond payout by its configured fee parameter, then divided by 10,000. A nonzero allocation went to the DAO. It calculated treasury profit separately by subtracting the payout and DAO allocation from the input’s accounting value. The recipient’s bond record tracked the outstanding payout and vesting schedule. Redemption released only the vested portion, either as SB or through configured staking.

A separate price-feed bond depository used a different funding path. It transferred the input asset to the treasury and requested the payout through reward minting. That request required reward-manager authorization and sufficient excess reserves. This alternative did not make arbitrary assets eligible for every bond contract.

Staking used a rebasing token and configurable warmup

The staking design paired deposited SB with sSB, whose token name was Staked Snowbank. A positive rebase could increase sSB balances through changes to supply accounting. Bond vesting and staking growth therefore concerned different holdings: a bond recorded an outstanding payout, while sSB represented a balance in the staking system.

Warmup balances

A direct stake accumulated a recipient’s deposit and set its expiry from the current epoch plus the configured warmup period. An epoch was the staking contract’s accounting interval. Adding another deposit reset that recipient’s expiry using the then-current period.

Releasing sSB

A claim released sSB when its stored expiry was nonzero and the epoch number had reached it. A staking helper could stake and claim within one call when the configured warmup was zero.

Returning the deposited SB

The forfeit function returned the original deposited SB and cleared the warmup claim, surrendering the accrued staking balance.

Reward funding

Treasury reward minting required an approved reward manager and sufficient excess reserves. An epoch rollover could call a configured distributor. The next staking distribution depended on the contract’s SB balance, including recorded bonuses, relative to circulating sSB. When that balance did not exceed circulating sSB, the next distribution was zero.

Treasury permissions constrained reserve access

Holding SB alone did not grant access to the treasury’s reserve-withdrawal function. The published treasury withdrawal function required reserve-spender authorization. It also required an accepted reserve token and burned SB equal to the withdrawal’s accounting value. Asset management had separate reserve-manager and liquidity-manager checks, with transfers limited by excess reserves. Approved debtors had a different borrowing function, bounded by their staked-token balance less existing debt. These permissions applied to their respective functions; receiving tokens did not itself assign a treasury role.

The published operations required different starting balances

The standard bond depository and staking contracts exposed different operations for entering a position, receiving a claim or returning to SB. Their requirements followed the balance involved. A vested bond claim, an unclaimed warmup balance and wallet-held sSB were separate states, each with its own applicable function.

The published operations required different starting balances (Snowbank)
Diagram: The published operations required different starting balances.

Open full-size image

Operation Effect in the published design Required balance or condition
Reserve-token bonding Created a vesting SB claim through treasury valuation. The designated reserve token and spending allowance; applicable bond limits.
Liquidity-token bonding Created a vesting SB claim using a bond calculator. The designated liquidity token and spending allowance; applicable bond limits.
Bond redemption as SB Sent the vested payout to the recorded recipient. A claimable amount in that recipient’s bond record.
Bond redemption into staking Routed the vested payout through configured staking. A claimable bond amount and a configured staking route; warmup rules still applied.
Direct staking Recorded a warmup claim for the selected recipient. SB and spending allowance; the recipient’s deposit lock had to be open.
Warmup claim Released sSB to the recorded recipient. An existing claim with nonzero expiry reached by the epoch number.
Unstaking Exchanged sSB for an equal token amount of SB. sSB and spending allowance; sufficient SB held by the staking contract.

Backing and token growth described different outcomes

A rising sSB balance reflected token-unit growth when a rebase applied a positive distribution. Its sale value still depended on the SB market price and available liquidity. An annualized yield calculation also depended on the rebase rate, frequency and continuation of those assumptions. The published design did not turn a temporary rate into a fixed annual return.

Reserve accounting assigned values through defined functions. It did not establish that every reserve asset could sell for its recorded value.

Management settings also affected accepted assets, treasury roles and the contracts that could receive rewards. Bond parameters governed new deposits, while existing bond records retained their own payout and remaining vesting data. A token’s acceptance into the treasury ledger did not grant every holder a redemption right. The treasury constructor initially enabled its designated MIM reserve address.

Snowbank: common questions

Can a Snowbank bond payout belong to someone other than the payer?

The payer and recorded depositor could differ in the published bond design. The standard bond depository’s deposit function transferred the input asset from the caller, then credited the specified nonzero depositor address. Redemption used the recipient’s bond record and directed its payout to that recipient or their staking claim. Paying for a bond therefore did not automatically make the payer its beneficiary.

What happened to an existing bond when its depositor added another deposit?

An additional deposit combined its payout with the depositor’s outstanding payout and reset the recorded vesting schedule. The standard depository stored the combined amount with the then-configured vesting term and a new last-interaction timestamp. It kept this record by depositor address within that depository. Separate depository contracts maintained separate bond records.

Which setting determined the maximum bond payout?

The standard depository calculated maximum payout as a configured fraction of base-token total supply. It multiplied total supply by its maximum-payout parameter, then divided by 100,000. That ceiling applied to the token payout, not the raw quantity of deposited assets. Deposit acceptance separately checked outstanding bond debt against the configured debt ceiling after debt decay.

Where did the recovery function send tokens accidentally transferred to a bond contract?

The standard bond depository’s recovery function sent eligible stray tokens to the DAO. It excluded both the payout token and that depository’s designated input token. Anyone could invoke the function for another token, but it transferred that token’s entire contract balance to the DAO. Sending tokens directly to the contract did not create a bond record.

Was a bond’s maximum-price argument the same as its displayed dollar price?

The standard depository compared the maximum-price argument with its internal bond price. The separate value labeled priceInUSD used different calculations for reserve bonds and liquidity bonds. Deposit acceptance required the maximum-price argument to be at least the internal price. Confusing these scales could produce a rejected deposit or a price limit different from the one intended.