Crate sabre_sdk

Crate sabre_sdk 

Source

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
log_enabled
log_level
log_message

Type Aliases§

WasmPtr
WasmPtrList