STRUCT
rule
A set of requirements to be satisfied to register an account.
struct rule {
timeout_days: integer = 0;
strategies: list<text>;
blockchains: allowlist;
senders: allowlist;
recipients: allowlist;
require_same_address: boolean = 0;
allow_all_assets: boolean = 0;
asset_limits: list<asset_limit>;
}timeout_days: integer = 0;How many days must pass after the transfer being received by the non-existing account before the account can no longer be registered and the transfer can be recalled.
strategies: list<text>;What strategies can be used to register an account if all requirements of this rule are met.
blockchains: allowlist;From which blockchains must assets arrive to create an account. For on-chain transfers, this blockchain's ID will appear in the
allowlistsenders: allowlist;Which accounts can send to a non-existing account to register it
recipients: allowlist;Which accounts can be registered
require_same_address: boolean = 0;Whether a certain sender can only register an account with its same ID. Only makes sense for cross-chain transfers.
allow_all_assets: boolean = 0;Whether all assets can be sent. If true,
asset_limitswon't be parsed - minimum amounts cannot be set.asset_limits: list<asset_limit>;What minimum amounts of each assets must be sent to register an account.