Module-level declarations

Functions

Link copied to clipboard
Link copied to clipboard
@extend(auth_handler) function (): map<text, _auth_handler>
Link copied to clipboard
@extend(auth_handler) function (): map<text, _auth_handler>

Operations

Link copied to clipboard
@mount("ft4.test.add_ad_to_account") operation add_ad_to_account(account: account, auth_descriptor: auth_descriptor)

Operation to add the specified auth descriptor to the specified account.

Link copied to clipboard
@mount("ft4.test.authenticated_operation") operation authenticated_operation()

An operation that only calls the authenticate function. Can be used to test authentication logic.

Link copied to clipboard
@mount("ft4.test.consume_point") operation consume_point(account_id: byte_array)

An operation that will consume one rate limit point from the specified account

Link copied to clipboard
@mount("ft4.test.register_account") operation register_account(auth_descriptor: auth_descriptor)

An operation to register an account using the provided auth descriptor

Link copied to clipboard
@mount("ft4.test.rejected_op") operation rejected_op()

An operation which will always cause the transaction to fail.