blockchain

package
v1.0.1-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateChainHeight

func CreateChainHeight(ctx context.Context, projectName string, r *CreateChainHeightReq) (*models.ChainHeight, error)

func CreateChainTx

func CreateChainTx(ctx context.Context, projectName string, r *CreateChainTxReq) (*models.ChainTx, error)

func CreateContractLog

func CreateContractLog(ctx context.Context, projectName string, r *CreateContractLogReq) (*models.ContractLog, error)

func InitChainDB

func InitChainDB(ctx context.Context) error

func Monitor

func Monitor(ctx context.Context)

func RemoveChainHeight

func RemoveChainHeight(ctx context.Context, projectName string, id types.SFID) error

func RemoveChainTx

func RemoveChainTx(ctx context.Context, projectName string, id types.SFID) error

func RemoveContractLog

func RemoveContractLog(ctx context.Context, projectName string, id types.SFID) error

func RemoveMonitor added in v1.1.0

func RemoveMonitor(ctx context.Context, projectName string) error

Types

type CreateChainHeightReq

type CreateChainHeightReq = models.ChainHeightInfo

type CreateChainTxReq

type CreateChainTxReq = models.ChainTxInfo

type CreateContractLogReq

type CreateContractLogReq = models.ContractLogInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL