ODCdataManagersomnichainERC1155

OmnichainERC1155WithLocalMintBurnSupplyDataManager

This contract should be used with OmnichainFungibleFractionsWithLocalMintBurnSupplyDO only on a chain where mint/burn happens exclusively (no other chains are allowed to mint/burn tokens for this DP)

constructor

constructor(bytes32 datapoint_, address _dataIndex, address _fungibleFractionsDO, string name_, string symbol_) public

localMintBurnSupplyAll

function localMintBurnSupplyAll() public view returns (uint256)

Function used to get count of all minted and not burned tokens on current chain of all ids

Return Values

NameTypeDescription
[0]uint256Difference between tokens minted and burned on current chain of all ids

localMintBurnSupply

function localMintBurnSupply(uint256 id) public view returns (uint256)

Function used to get count of all minted and not burned tokens on current chain of a specific id

Parameters

NameTypeDescription
iduint256Id of the token

Return Values

NameTypeDescription
[0]uint256Difference between tokens minted and burned on current chain of the id

On this page