verify_signers_with_message
Does what verify_signers
does, but receives the message as a parameter instead of using the auth message of the current operation.
Can only be called from an operation.
Throws "MISMATCHED SIGNATURES"
if any of the signers and signatures on the evm_signatures
operation don't match in the exact order they're found.
Throws "MISSING SIGNATURE"
if:
an EVM signer is specified but the signature is not found in the
evm_signatures
operation.an FT signer is specified but the signature is not found in the signers of the transaction.
Throws "UNSUPPORTED SIGNER"
if a signer passed is neither an EVM nor an FT signer, which means the byte array length is different from EVM_ADDRESS_SIZE
and FT_PUBKEY_SIZE
Throws if the message is empty.
Throws if any signatures in evm_signatures
is null or missing, or if there's extra signatures in that operation.
Parameters
the signers that are expected to be found.
the message that was signed.
See also
if the message that must be signed is the one defined in the auth_handler
for the current operation