sidechain

package
v0.0.0-...-ea20e05 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocMsgCreateBlockHeader

type DocMsgCreateBlockHeader struct {
	SpaceId uint64 `bson:"space_id"`
	Height  uint64 `bson:"height"`
	Header  string `bson:"header"`
	Sender  string `bson:"sender"`
}

func (*DocMsgCreateBlockHeader) BuildMsg

func (m *DocMsgCreateBlockHeader) BuildMsg(v interface{})

func (*DocMsgCreateBlockHeader) GetType

func (m *DocMsgCreateBlockHeader) GetType() string

func (*DocMsgCreateBlockHeader) HandleTxMsg

func (m *DocMsgCreateBlockHeader) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocMsgCreateSpace

type DocMsgCreateSpace struct {
	Name   string `bson:"name"`
	Uri    string `bson:"uri"`
	Sender string `bson:"sender"`
}

func (*DocMsgCreateSpace) BuildMsg

func (m *DocMsgCreateSpace) BuildMsg(v interface{})

func (*DocMsgCreateSpace) GetType

func (m *DocMsgCreateSpace) GetType() string

func (*DocMsgCreateSpace) HandleTxMsg

func (m *DocMsgCreateSpace) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocMsgTransferSpace

type DocMsgTransferSpace struct {
	SpaceId   uint64 `bson:"space_id"`
	Recipient string `bson:"recipient"`
	Sender    string `bson:"sender"`
}

func (*DocMsgTransferSpace) BuildMsg

func (m *DocMsgTransferSpace) BuildMsg(v interface{})

func (*DocMsgTransferSpace) GetType

func (m *DocMsgTransferSpace) GetType() string

func (*DocMsgTransferSpace) HandleTxMsg

func (m *DocMsgTransferSpace) HandleTxMsg(v SdkMsg) MsgDocInfo

type SideChainClient

type SideChainClient struct {
}

func NewClient

func NewClient() SideChainClient

func (SideChainClient) HandleTxMsg

func (nft SideChainClient) HandleTxMsg(v types.Msg) (MsgDocInfo, bool)

Jump to

Keyboard shortcuts

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