# lib.ft4.core.accounts.strategies · FT4 Rell API · Chromia Docs (concept)

> Types _strategy Represents a single strategy which can be used to register accounts. It is composed of three account_details Represents information about a

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/

PACKAGE

# lib.ft4.core.accounts.strategies

On this page

* [Types](#types)
* [Functions](#functions)
* [Properties](#properties)

## Types

[\_strategy](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/_strategy/)
:   Represents a single strategy which can be used to register accounts. It is composed of three

[account\_details](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/account_details/)
:   Represents information about an account that will be created using a strategy.

[allowlist](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/allowlist/)
:   Represents a list of allowed values. Used by rules to represent allowed senders, recipients,

[asset\_limit](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/asset_limit/)
:   Represents an asset's lower limit, below which a transfer is deemed not sufficient for

[rule](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/rule/)
:   A set of requirements to be satisfied to register an account.

## Functions

[\_default\_signers](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/_default_signers/)
:   Sets the default signers based on the provided account details, used only when adding a strategy

[\_no\_action](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/_no_action/)
:   An empty function that can be used if a strategy does not need to perform checks for the

[add\_strategy](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/add_strategy/)
:   Used to add new strategies to the dapp. This does not need to be called for FT4-defined

[after\_register\_account](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/after_register_account/)
:   Extendable function that allows the developer to add more functionality to the

[auth\_message\_auth\_descriptor](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/auth_message_auth_descriptor/)
:   Builds a text description of an auth descriptor. It's used to represent the auth descriptor

[auth\_message\_auth\_descriptors\_details](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/auth_message_auth_descriptors_details/)
:   Builds a portion of the message that will be used to authorize account registration.

[auth\_message\_multi\_sig](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/auth_message_multi_sig/)
:   Builds a text description of a multi-sig auth descriptor. It's used to represent the auth

[auth\_message\_operation\_details](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/auth_message_operation_details/)
:   Builds a portion of the message that will be used to authorize account registration.

[auth\_message\_single\_sig](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/auth_message_single_sig/)
:   Builds a text description of a single-sig auth descriptor. It's used to represent the auth

[before\_register\_account](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/before_register_account/)
:   Extendable function that allows the developer to add more functionality to the

[get\_account\_id\_for\_strategy](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/get_account_id_for_strategy/)
:   Retrieves an account id given the strategy operation, using the accountdetails function

[get\_register\_account\_message](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/get_register_account_message/)
:   Gives a default message used by EVM wallets to authorize the account registration.

[get\_strategy](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/get_strategy/)
:   Returns a strategy, given the mount name of the operation that defines it.

[is\_strategy\_op](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/is_strategy_op/)
:   Checks whether an operation is a strategy operation that can be used on this chain.

[parse\_account\_id\_single\_value\_from\_gtv](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/parse_account_id_single_value_from_gtv/)
:   Reads a GTV-encoded moduleArgs field containing a single account ID.

[parse\_account\_ids\_from\_gtv](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/parse_account_ids_from_gtv/)
:   Reads a GTV-encoded moduleArgs field containing account IDs.

[parse\_amount](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/parse_amount/)
:   Reads a GTV-encoded moduleArgs field containing asset limits.

[parse\_asset\_limit](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/parse_asset_limit/)
:   Reads a moduleArgs field containing a single asset limit, structured like a dictionary.

[parse\_asset\_limits\_from\_gtv](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/parse_asset_limits_from_gtv/)
:   Reads a GTV-encoded moduleArgs field containing asset limits.

[parse\_blockchain\_single\_value\_from\_gtv](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/parse_blockchain_single_value_from_gtv/)
:   Reads a GTV-encoded moduleArgs field containing a single blockchain RID.

[parse\_blockchains\_from\_gtv](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/parse_blockchains_from_gtv/)
:   Reads a GTV-encoded moduleArgs field containing blockchain RIDs.

[register\_account](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/register_account/)
:   Registers an account on this chain, using a certain strategy.

[require\_register\_account\_next\_operation](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/require_register_account_next_operation/)
:   Verifies that the next operation in the transaction is an operation that can be used to

[strategy](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/strategy/)
:   Returns a map of all possible strategies used to register accounts on this chain.

## Properties

[\_CONFIG\_ERROR\_TEXT](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/_-c-o-n-f-i-g_-e-r-r-o-r_-t-e-x-t/)
:   A starting string for configuration errors

[CURRENT\_CHAIN\_REF](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/-c-u-r-r-e-n-t_-c-h-a-i-n_-r-e-f/)
:   Used in transfer strategy rules config to specify current chain

[CURRENT\_ACCOUNT\_REF](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/-c-u-r-r-e-n-t_-a-c-c-o-u-n-t_-r-e-f/)
:   Used in transfer strategy rules to specify current account for

[ANY\_REF](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/-a-n-y_-r-e-f/)
:   Used in transfer strategy rules to specify that any value is accepted.

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts.strategies/index.html)Generated API reference, mirrored from the live docs
