Skip to content

contract.GaslessNFT

Aleksey Bykhun edited this page Jan 18, 2023 · 1 revision

GaslessNFT

Git Source

Inherits: ERC721CommunityBase

State Variables

GAS_TRANSFER

uint256 constant GAS_TRANSFER = 21000;

GAS_OFFSET

uint256 constant GAS_OFFSET = 0;

Functions

constructor

constructor()
    ERC721CommunityBase(
        "GaslessClub",
        "GASFREE",
        10000,
        100,
        false,
        "https://metadata.buildship.xyz/api/token/GASFREE/",
        MintConfig(0.1 ether, 20, 20, 0, msg.sender, false, false, false)
    );

mintFree

function mintFree(uint256 _nbTokens) external payable whenSaleStarted;
Clone this wiki locally