• Initialize all the properties of the NFT (contract Owner, counter to 0...)

    Remarks

    Storage specification:

    • 'name' => (string) the token name
    • 'symbol' => (string) the token symbol
    • 'totalSupply' => (StaticArray) the total supply
    • 'baseURI' => (string) the base URI (must ends with '/')
    • 'Owner' => (string) the owner address
    • 'Counter' => (StaticArray) the current counter
    • 'ownerOf_[token id]' => (string) the owner of the specified token id

    Example

    constructor(
    new Args()
    .add(NFTName)
    .add(NFTSymbol)
    .add(u64(NFTtotalSupply))
    .add(NFTBaseURI)
    .serialize(),
    );

    Parameters

    • binaryArgs: StaticArray<number>

      arguments serialized with Args containing the name, the symbol, the totalSupply as u64, the baseURI

    Returns void

Generated using TypeDoc