relay

package
v0.0.0-...-791c31d Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() types.ClientInterface

func CreateSideClient

func CreateSideClient(typ types.ClientType, cfg *config.ConfigData)

CreateSideClient create client to force side chain

func HandRelayBlock

func HandRelayBlock(block *chainhandler.Block, actions []chainhandler.Action)

Types

type Destroy

type Destroy struct {
	Chain    forceio.Name        `json:"chain"`
	From     forceio.AccountName `json:"from"`
	Quantity forceio.Asset       `json:"quantity"`
	Memo     string              `json:"memo"`
}

Destroy action data for relay.token::destroy action

type OutAction

type OutAction struct {
	Committer interface{} `json:"committer"`
	Num       uint64      `json:"num"`
	To        interface{} `json:"to"`
	Chain     interface{} `json:"chain"`
	Contract  interface{} `json:"contract"`
	Action    interface{} `json:"action"`
	Quantity  interface{} `json:"quantity"`
	Memo      string      `json:"memo"`
}

OutAction capi_name committer, uint64_t num, capi_name to, name chain, name contract, const asset& quantity, const std::string& memo

Jump to

Keyboard shortcuts

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