Skip to main content

authorize

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