Contract Methods

Treatail NEO Core Logic

Treatail.NEO

Contract Methods

The Contract type exposes the following members.

Methods


  Name Description
Public method CreateAsset
Creates a treatail asset with the specified details and assigns the target address as the owner
Public method GetAssetCreateCost
Gets the required amount of TTL to create a Treatail Asset
Public method GetAssetDetails
Gets the details of a Treatail Asset
Public method GetAssetOwner
Gets the owner address of a given Treatail Asset
Public method GetTokensBalance
Returns the balance of TTL for a specified address
Public method SetAssetCreateCost
Sets the amount of TTL required to create a Treatail Asset
Public method TransferAsset
Transfers a Treatail Asset
Public method TransferTokens
Transfers TTL from a wallet to a destination address