AzuroBet is the ERC721 Non fungible token, that represents bets maid at Azuro Protocol.

It could be transferred by user and sell on the secondary market. This feature allow users to create p2p live betting and also this NFT's could be collected by users as memorative bets.

Burning and Minting of this tokens controlled by LP contract

Store bets register - lastTokenId

External Functions

Mint

function mint(address account, address core) external override onlyLp

Function mint new tokens for bettor.

Burn

function burn(uint256 tokenId) external override onlyLp

getCoreByToken

function getCoreByToken(uint256 tokenId)
    external
    view
    override
    returns (address core)

returns core address with stored bet data for tokenId

getTokensByOwner

function getTokensByOwner(address owner)
    external
    view
    returns (uint256[] memory tokenIds)

returns tokens list of owner

Public functions

totalSupply

function totalSupply() public view override returns (uint256)