Module-level declarations

Types

Link copied to clipboard
entity asset
Link copied to clipboard
entity balance
Link copied to clipboard
struct filter
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val ASSET_TYPE_FT4: text = "ft4"
Link copied to clipboard

Functions

Link copied to clipboard
@extendable function after_burn(account: account, asset: asset, amount: big_integer)
Link copied to clipboard
@extendable function after_mint(account: account, asset: asset, amount: big_integer)
Link copied to clipboard
@extendable function after_transfer(from: account, to: account, asset: asset, amount: big_integer)
Link copied to clipboard
function Asset(id: byte_array): asset
Link copied to clipboard
@extendable function before_burn(account: account, asset: asset, amount: big_integer)
Link copied to clipboard
@extendable function before_mint(account: account, asset: asset, amount: big_integer)
Link copied to clipboard
@extendable function before_transfer(from: account, to: account, asset: asset, amount: big_integer)
Link copied to clipboard
@extendable function create_on_internal_transfer(sender: account, recipient_id: byte_array, asset: asset, amount: big_integer)
Link copied to clipboard
function deduct_balance(account: account, asset: asset, amount: big_integer): big_integer
Link copied to clipboard
function extract_data_from_transfer_history_entry(entry: transfer_history_entry): (id: rowid, delta: big_integer, decimals: integer, (id: byte_array, name: text, symbol: text, decimals: integer, blockchain_rid: byte_array, icon_url: text, type: text, supply: big_integer), is_input: boolean, timestamp: integer, block_height: integer, tx_rid: byte_array, tx_data: byte_array, operation_name: text, op_index: integer, is_crosschain: boolean)
Link copied to clipboard
Link copied to clipboard
function format_amount_with_decimals(amount: big_integer, decimals: integer): text
Link copied to clipboard
function get_all_assets(page_size: integer?, page_cursor: text?): list<pagination_result>
Link copied to clipboard
function get_asset_balance(account: account, asset: asset): big_integer
Link copied to clipboard
function get_asset_balances(account_id: byte_array): list<((id: byte_array, name: text, symbol: text, decimals: integer, blockchain_rid: byte_array, icon_url: text, type: text, supply: big_integer), amount: big_integer)>
function get_asset_details_for_crosschain_registration(asset_id: byte_array): (id: byte_array, name: text, symbol: text, decimals: integer, blockchain_rid: byte_array, icon_url: text, type: text, uniqueness_resolver: byte_array)
Link copied to clipboard
function get_assets_by_type(type: text, page_size: integer?, page_cursor: text?): list<pagination_result>
Link copied to clipboard
function get_paginated_asset_balances(account_id: byte_array, page_size: integer?, page_cursor: text?): list<pagination_result>
Link copied to clipboard
function get_paginated_assets_by_name(name: text, page_size: integer?, page_cursor: text?): list<pagination_result>
Link copied to clipboard
function get_paginated_assets_by_symbol(symbol: text, page_size: integer?, page_cursor: text?): list<pagination_result>
Link copied to clipboard
function get_paginated_transfers(account: account?, asset: asset?, filter: filter, height: integer?, page_size: integer?, page_cursor: text?): list<pagination_result>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function increase_balance(account: account, asset: asset, amount: big_integer): big_integer
Link copied to clipboard
function map_asset(asset: asset): (id: byte_array, name: text, symbol: text, decimals: integer, blockchain_rid: byte_array, icon_url: text, type: text, supply: big_integer)
Link copied to clipboard
function parse_icon_url(icon_url: text): text
Link copied to clipboard
@extendable function recall_on_internal_transfer(sender: account, transfer_tx_rid: byte_array, transfer_op_index: integer)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function validate_asset_name(name: text)
Link copied to clipboard
function validate_asset_symbol(symbol: text)
Link copied to clipboard
function validate_asset_type(type: text)