Module-level declarations
Types
Link copied to clipboard
entity account_auth_descriptor
Link copied to clipboard
struct auth_descriptor
Link copied to clipboard
struct auth_descriptor_config
Link copied to clipboard
entity auth_descriptor_signer
Link copied to clipboard
struct auth_flags_config
Link copied to clipboard
entity main_auth_descriptor
Link copied to clipboard
struct module_args
Link copied to clipboard
struct multi_sig_args
Link copied to clipboard
struct rate_limit_config
Link copied to clipboard
struct rule_expression
Link copied to clipboard
enum rule_operator
Link copied to clipboard
struct rule_parameters
Link copied to clipboard
enum rule_variable
Link copied to clipboard
struct single_sig_args
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Extend this function to have different rate limiting for different accounts.
Link copied to clipboard
function add_auth_descriptor(account: account, auth_descriptor: auth_descriptor): account_auth_descriptor
Link copied to clipboard
Link copied to clipboard
function add_signers(account: account, auth_descriptor: auth_descriptor, account_auth_descriptor: account_auth_descriptor)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function check_auth_args(a_t: auth_type, args: byte_array, signers: list<byte_array>, required_flags: list<text>): validation_result
Link copied to clipboard
function check_multi_sig_auth(args: byte_array, signers: list<byte_array>, required_flags: list<text>): validation_result
Link copied to clipboard
Link copied to clipboard
function check_single_sig_auth(args: byte_array, signers: list<byte_array>, required_flags: list<text>): validation_result
Link copied to clipboard
function create_account_with_auth(auth_descriptor: auth_descriptor, account_id: byte_array?): account
Link copied to clipboard
Creates an account without auth descriptor. Used to create different "system" account types, that cannot be directly accessed, e.g. POOL, FEE, BLOCKCHAIN, ... accounts.
Link copied to clipboard
Link copied to clipboard
function current_rate_limit_points(rate_limit_config: rate_limit_config, rl_state: rl_state, current_timestamp: integer): integer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Finds or creates an account of specific type.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function get_auth_descriptor_data(ad: immutable_mirror_struct<account_auth_descriptor>): (id: byte_array, account_id: byte_array, auth_type: auth_type, args: gtv, rules: gtv, created: integer)
Link copied to clipboard
function get_auth_descriptors(id: byte_array): list<(id: byte_array, account_id: byte_array, auth_type: auth_type, args: gtv, rules: gtv, created: integer)>
Link copied to clipboard
function get_auth_descriptors_by_signer(account_id: byte_array, signer: byte_array): list<(id: byte_array, account_id: byte_array, auth_type: auth_type, args: gtv, rules: gtv, created: integer)>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function get_paginated_accounts_by_ad_id(id: byte_array, page_size: integer?, page_cursor: text?): list<pagination_result>
Link copied to clipboard
function get_paginated_accounts_by_signer(id: byte_array, page_size: integer?, page_cursor: text?): list<pagination_result>
Link copied to clipboard
function get_paginated_accounts_by_type(type: text, page_size: integer?, page_cursor: text?): list<pagination_result>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function get_signers_from_encoded_auth_descriptor(a_t: auth_type, args: byte_array): list<byte_array>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
block_height *Content copied to clipboard
Link copied to clipboard
block_time *Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function multi_sig_auth_descriptor(signers: list<byte_array>, signatures_required: integer, flags: set<text>): auth_descriptor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function set_main_auth_descriptor(account: account, account_auth_descriptor: account_auth_descriptor)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Deletes old main auth descriptor and sets provided auth descriptor as main auth descriptor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard