account_auth_descriptor
An entity that allows fine-tuned access control over accounts. It's used to specify what keypairs can access an account, and it can limit the conditions for access in some ways.
Properties
It specifies signers and level of access for the auth descriptor. It should be either of the following structs, encoded into a byte array:
single_sig_args
, ifauth_type
isS
multi_sig_args
, ifauth_type
isM
a unique identifier for the auth descriptor
Must be one of these values, converted to gtv and then encoded into a byte array:
no rules:
null
(when encoded, it will be converted toGTV_NULL_BYTES
)a simple rule: a
rule_expression
a complex rule: a list starting with the value
"and"
and followed byrule_expression
s
The amount of rule expressions should always be less than or equal to auth_descriptor_config.max_rules
.
After the expiration conditions are reached, this auth descriptor will automatically be deleted as soon as the account that owns it sends an operation.
Must be GTV_NULL_BYTES
if this is the main_auth_descriptor
for the account.