Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Money

Abstract

The Money contract implements network fees, token transfers, atomic swaps, and token minting.

The functions provided by this smart contract are:

pub enum MoneyFunction {
    FeeV1 = 0x00,
    GenesisMintV1 = 0x01,
    PoWRewardV1 = 0x02,
    TransferV1 = 0x03,
    OtcSwapV1 = 0x04,
    AuthTokenMintV1 = 0x05,
    AuthTokenFreezeV1 = 0x06,
    TokenMintV1 = 0x07,
}