Skip to main content
Version: v2.0_alpha

SignUpToken

This contract is an ERC721 token contract which can be used to allow users to sign up for a poll.

constructor

constructor() public payable

The constructor which calls the ERC721 constructor

giveToken

function giveToken(address to, uint256 curTokenId) public

Gives an ERC721 token to an address

Parameters

NameTypeDescription
toaddressThe address to give the token to
curTokenIduint256The token id to give