[][src]Crate sabre_sdk

Modules

log

The following are logging macros that will be used when running a smart contract in Sabre. The log level is the same level set on the sabre transaction processor running the smart contract.

protocol
protos

Macros

debug
error
info
log
trace
warn

Structs

Header
Request
SabreTransactionContext
TpProcessRequest
WasmBuffer

A WasmBuffer is a wrapper around a wasm pointer.

Enums

ApplyError
LogLevel
WasmSdkError

Traits

TransactionContext
TransactionHandler

Functions

execute_entrypoint

-1: Failed to deserialize payload -2: Failed to deserialize signer -3: apply returned InvalidTransaction -4: apply returned InternalError

execute_smart_permission_entrypoint

Error Codes:

invoke_smart_permission
log_enabled
log_level
log_message

Type Definitions

WasmPtr
WasmPtrList