chaincode

package
v0.0.0-...-cc9d54e Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

chaincode/chaincode.go

chaincode/chaincode_compiler.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Function string   `json:"function"`
	Args     []string `json:"args"`
}

type Chaincode

type Chaincode struct {
}

func (*Chaincode) Init

func (c *Chaincode) Init(stub shim.ChaincodeStubInterface) []byte

func (*Chaincode) Invoke

func (c *Chaincode) Invoke(stub shim.ChaincodeStubInterface) ([]byte, error)

func (*Chaincode) InvokeStub

func (c *Chaincode) InvokeStub(stub shim.ChaincodeStubInterface, args []string) ([]byte, error)

func (*Chaincode) Query

func (c *Chaincode) Query(stub shim.ChaincodeStubInterface) ([]byte, error)

type ChaincodeCompiler

type ChaincodeCompiler struct {
}

func (*ChaincodeCompiler) Compile

func (c *ChaincodeCompiler) Compile(sourceCode string) ([]byte, error)

Jump to

Keyboard shortcuts

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