xcoin

package
v0.0.0-...-fb4f826 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: GPL-3.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 InitInput

type InitInput struct {
	Values map[string]uint64 `json:"values"`
}

type Input

type Input struct {
	Method string `json:"method"`
	Dest   []byte `json:"dest"`
	Value  uint64 `json:"value"`
}

type XCoin

type XCoin struct{}

XCoin chaincode

func (*XCoin) Init

func (c *XCoin) Init(ctx common.CallContext) error

func (*XCoin) Invoke

func (c *XCoin) Invoke(ctx common.CallContext) error

func (*XCoin) Query

func (c *XCoin) Query(ctx common.CallContext) ([]byte, error)

func (*XCoin) SetTxTrk

func (c *XCoin) SetTxTrk(txTrk *common.StateTracker)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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