pcoin

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 Input

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

type PCoin

type PCoin struct{}

PCoin chaincode

func (*PCoin) Init

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

func (*PCoin) Invoke

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

func (*PCoin) Query

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

func (*PCoin) SetTxTrk

func (c *PCoin) 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