TreatailContract Members

Treatail NEO Core Logic

Treatail.NEO

TreatailContract Members

The TreatailContract type exposes the following members.

Methods


  Name Description
Public method Static member BalanceOf
(NEP5 Required) Returns the token balance of the account
Public method Static member ChargeAssetCreateCost
Charges the account for the TTL required to create an asset
Public method Static member CreateAsset
Used to create a Treatail asset and assign the owner
Public method Static member Decimals
(NEP5 Required) Returns the decimals of precision used by the token
Public method Static member DeployTokens
Deploys the tokens to the Treatail admin account
Public method Static member GetAssetCreateCost
Gets the number of TTL required to create a Treatail Asset
Public method Static member GetAssetDetails
Used to retrieve details about a Treatail Asset
Public method Static member GetAssetOwner
Public method Static member Main
Public method Static member Name
(NEP5 Required) Returns the name of the token. This is the name of the asset in NEO-GUI
Public method Static member SetAssetCreateCost
Sets the cost in TTL required to create a Treatail Asset
Public method Static member Symbol
(NEP5 Required) Returns the abbreviated symbol / ticker of the token.
Public method Static member TotalSupply
(NEP5 Required) Returns the total token supply deployed in the system.
Public method Static member Transfer
(NEP5 Required) Transfer the specified amount of tokens from one account to another account
Public method Static member TransferAsset
Transfers ownership of a Treatail Asset between addresses