simplecontract

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleContract

type SimpleContract struct {
	contractapi.Contract
}

SimpleContract with biz logic

func (*SimpleContract) Create

Create - Initialises a key value pair with the given ID in the world state

func (*SimpleContract) Read

Read - Returns value of a key with given ID from world state as string

func (*SimpleContract) Update

Update - Updates a key with given ID in the world state

Jump to

Keyboard shortcuts

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