multisign210

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMultiContractMethods

func InitMultiContractMethods(log protocol.Logger) map[string]common.ContractFunc

InitMultiContractMethods init

Types

type MultiSignContract

type MultiSignContract struct {
	// contains filtered or unexported fields
}

func NewMultiSignContract

func NewMultiSignContract(log protocol.Logger) *MultiSignContract

NewMultiSignContract create a new instance @param log @return *MultiSignContract

func (*MultiSignContract) GetMethod

func (c *MultiSignContract) GetMethod(methodName string, _ uint32) common.ContractFunc

GetMethod get register method by name

type MultiSignRuntime

type MultiSignRuntime struct {
	// contains filtered or unexported fields
}

MultiSignRuntime contract runtime

func (*MultiSignRuntime) Query

func (r *MultiSignRuntime) Query(txSimContext protocol.TxSimContext, parameters map[string][]byte) (
	result []byte, err error)

func (*MultiSignRuntime) Req

func (r *MultiSignRuntime) Req(txSimContext protocol.TxSimContext, parameters map[string][]byte) (
	result []byte, err error)

Req request to multi sign

func (*MultiSignRuntime) Vote

func (r *MultiSignRuntime) Vote(txSimContext protocol.TxSimContext, parameters map[string][]byte) (
	result []byte, err error)

Jump to

Keyboard shortcuts

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