delete_auth_descriptors_for_signer

@mount("ft4.delete_auth_descriptors_for_signer") operation delete_auth_descriptors_for_signer(signer: byte_array)(source)

Deletes all auth descriptors from an account for which the provided signer is included in the signers array.

Must be signed by an auth descriptor with accounts.auth_flags.ACCOUNT.

Note: Deleting an auth descriptor using this operation will delete the auth descriptor from every account it is associated with.

If any of the matched auth descriptors happens to be the main auth descriptor of any account, this operation will fail.

Throws "UNSUPPORTED SIGNER" if the signer's size does not match either:

  • EVM_ADDRESS_SIZE length of 20 bytes

  • FT_PUBKEY_SIZE length of 33 bytes

Parameters

signer

the signer for which to delete auth descriptors