ownable

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const OwnableScript = "github.com/hyperledger-labs/fabric-smart-client/platform/fabric/services/state/ownable"

Variables

This section is empty.

Functions

func IsScriptValid

func IsScriptValid(s *api.Script) bool

func NewScripts

func NewScripts() *api.Scripts

Types

type InputStateValidator

type InputStateValidator struct{}

func (InputStateValidator) Validate

func (s InputStateValidator) Validate(tx api.Transaction, index uint32) error

type OutputStateValidator

type OutputStateValidator struct{}

func (OutputStateValidator) Validate

func (s OutputStateValidator) Validate(tx api.Transaction, index uint32) error

type State

type State struct {
	state2.EmbeddingState
	State interface{}

	Owners []view.Identity
}

func (*State) GetState

func (m *State) GetState() interface{}

Jump to

Keyboard shortcuts

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