Function authorize

Source
pub fn authorize(
    env: &Env<'_>,
    header: &TransactionHeader,
    read_slots: &TxHandlerSlots,
    write_slots: &TxHandlerSlots,
    payload: &TxHandlerPayload,
    seal: &TxHandlerSeal,
) -> Result<(), ContractError>
Expand description

Utility function to authorize transaction with the wallet in a typical setup