Blockchain Smart-Contract
Last updated
Last updated
Stage Meta TPAs smart-contract public methods documentation:
you can get our latest smart-contract details from Latest contract API
.
The plaquePrice()
is a public
method that allows users to get the current TPA price.
The checkMintTransfer()
is a public
method that allows users to check whether the given TPA names are available for purchase or have already been minted. It takes two input parameters: _names
, an array of bytes32
representing the TPA names to be checked, and _amounts
, an array of uint32
representing the amount of TPAs to be checked.
The mintTransfer()
is a payable
method that allows users to buy newly minted TPAs. To use this method, you need to send plaquePrice * _names.length
amount of value
in Wei to this transaction as TPAs price.
The tokenOwners()
is a public
method that takes a plaque ID _plaqueId
as input and returns an array of addresses of token owners who own the plaque with the given ID.