Skip to content

Latest commit

 

History

History
95 lines (66 loc) · 3.57 KB

tokens4telos.contracts.md

File metadata and controls

95 lines (66 loc) · 3.57 KB

close


spec_version: "0.2.0" title: Close Token Balance summary: 'Close {{nowrap owner}}’s zero quantity balance' icon: @ICON_BASE_URL@/@TOKEN_ICON_URI@

{{owner}} agrees to close their zero quantity balance for the {{symbol_to_symbol_code symbol}} token.

RAM will be refunded to the RAM payer of the {{symbol_to_symbol_code symbol}} token balance for {{owner}}.

create


spec_version: "0.2.0" title: Create New Token summary: 'Create a new token' icon: @ICON_BASE_URL@/@TOKEN_ICON_URI@

Creates a new token with symbol {{asset_to_symbol_code maximum_supply}} to be managed by {{issuer}}.

This action will not result any tokens being issued into circulation.

{{issuer}} will be allowed to issue tokens into circulation, up to a maximum supply of {{maximum_supply}}.

RAM will be deducted from {{issuer}}’s resources to create the token’s stats table.

issue


spec_version: "0.2.0" title: Issue Tokens into Circulation summary: 'Issue {{nowrap quantity}} into circulation and transfer into {{nowrap to}}’s account' icon: @ICON_BASE_URL@/@TOKEN_ICON_URI@

The token manager agrees to issue {{quantity}} into circulation, and transfer it into {{to}}’s account.

{{#if memo}}There is a memo attached to the transfer stating: {{memo}} {{/if}}

If {{to}} does not have a balance for {{asset_to_symbol_code quantity}}, or the token manager does not have a balance for {{asset_to_symbol_code quantity}}, the token manager will be designated as the RAM payer of the {{asset_to_symbol_code quantity}} token balance for {{to}}. As a result, RAM will be deducted from the token manager’s resources to create the necessary records.

This action does not allow the total quantity to exceed the max allowed supply of the token.

open


spec_version: "0.2.0" title: Open Token Balance summary: 'Open a zero quantity balance for {{nowrap owner}}' icon: @ICON_BASE_URL@/@TOKEN_ICON_URI@

{{ram_payer}} agrees to establish a zero quantity balance for {{owner}} for the {{symbol_to_symbol_code symbol}} token.

If {{owner}} does not have a balance for {{symbol_to_symbol_code symbol}}, {{ram_payer}} will be designated as the RAM payer of the {{symbol_to_symbol_code symbol}} token balance for {{owner}}. As a result, RAM will be deducted from {{ram_payer}}’s resources to create the necessary records.

retire


spec_version: "0.2.0" title: Remove Tokens from Circulation summary: 'Remove {{nowrap quantity}} from circulation' icon: @ICON_BASE_URL@/@TOKEN_ICON_URI@

The token manager agrees to remove {{quantity}} from circulation, taken from their own account.

{{#if memo}} There is a memo attached to the action stating: {{memo}} {{/if}}

transfer


spec_version: "0.2.0" title: Transfer Tokens summary: 'Send {{nowrap quantity}} from {{nowrap from}} to {{nowrap to}}' icon: @ICON_BASE_URL@/@TRANSFER_ICON_URI@

{{from}} agrees to send {{quantity}} to {{to}}.

{{#if memo}}There is a memo attached to the transfer stating: {{memo}} {{/if}}

If {{from}} is not already the RAM payer of their {{asset_to_symbol_code quantity}} token balance, {{from}} will be designated as such. As a result, RAM will be deducted from {{from}}’s resources to refund the original RAM payer.

If {{to}} does not have a balance for {{asset_to_symbol_code quantity}}, {{from}} will be designated as the RAM payer of the {{asset_to_symbol_code quantity}} token balance for {{to}}. As a result, RAM will be deducted from {{from}}’s resources to create the necessary records.