Glittr
  • Introduction
  • Protocol Overview
  • Contract Primitives
    • MOAs - Mint Only Assets
    • MBAs - Mint and Burn Assets
      • Vaults
    • Spec Contracts
    • Oracle Commitments
  • Building on Glittr
    • Setup
    • Faucet
    • Glittr SDK
    • Glittr Transactions
    • Glittr Contracts
    • Installing Glittr Wallet
    • Local Development Guide
  • GLIP
  • Node
    • Run a Bitcoin Node
    • Run a Glittr Node
  • Examples & Guide
    • Creating Tokens
    • Contract Custody
    • Complex Tokens
    • Vesting and Freemint Contract
    • Wrapped BTC Contract
    • USD Contract
    • Oracle Implementation Guide
    • Glittr Output Structure
    • AMM Contract
  • API Reference
    • Getting Assets API
  • APP EXAMPLES
    • Freemint App (NextJS)
    • Freemint App (React + Vite)
    • NFT App (React + Vite)
Powered by GitBook
On this page
  1. Contract Primitives

MBAs - Mint and Burn Assets

Mint and Burn Assets are contracts that have two major functions: minting assets and burning assets, where presumably the burn in some additional functionality. These contracts have custody, so they can be used to issue collateralized assets and loans.

MBAs can use any of the minting structures of MOAs, but can also use the minting method collateralize. Collateralizing assets deposits them to contract custody. The contract's creator does not have access to them, and they are guaranteed to be retrievable pursuant to the contract's terms, generally by burning minted assets.

A collateralize block must specify the following arguments:

  • Assets that can be collateralized

  • Whether this list is mutable

  • How assets are to be minted against the collateral

Assets can be minted at a fixed rate relative to collateral assets, proportionally to the total volume of assets in contract custody, up to a maximum LTV, and can require an oracle commitment.

PreviousMOAs - Mint Only AssetsNextVaults

Last updated 6 months ago