sgns::runtime::OffchainWorker¶
#include <offchain_worker.hpp>
Inherited by sgns::runtime::binaryen::OffchainWorkerImpl
Protected Types¶
| Name | |
|---|---|
| using sgns::primitives::BlockNumber | BlockNumber |
Public Functions¶
| Name | |
|---|---|
| virtual | ~OffchainWorker() =default |
| virtual outcome::result< void > | offchain_worker(BlockNumber bn) =0 calls offchain_worker method of OffchainWorker runtime api |
Protected Types Documentation¶
using BlockNumber¶
Public Functions Documentation¶
function ~OffchainWorker¶
function offchain_worker¶
calls offchain_worker method of OffchainWorker runtime api
Parameters:
- bn block number
Return: success or error
Reimplemented by: sgns::runtime::binaryen::OffchainWorkerImpl::offchain_worker
Updated on 2026-03-04 at 13:10:43 -0800