pubkeymgr220

package
v2.3.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubkeyManageContract

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

func NewPubkeyManageContract

func NewPubkeyManageContract(log protocol.Logger) *PubkeyManageContract

NewPubkeyManageContract create a new instance @param log @return *PubkeyManageContract

func (*PubkeyManageContract) GetMethod

func (c *PubkeyManageContract) GetMethod(methodName string) common.ContractFunc

GetMethod get register method by name

type PubkeyManageRuntime

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

func NewPubkeyManageRuntime

func NewPubkeyManageRuntime(log protocol.Logger) *PubkeyManageRuntime

func (*PubkeyManageRuntime) AddPubkey

func (r *PubkeyManageRuntime) AddPubkey(context protocol.TxSimContext, params map[string][]byte) ([]byte, error)

Add pubkey

func (*PubkeyManageRuntime) DeletePubkey

func (r *PubkeyManageRuntime) DeletePubkey(context protocol.TxSimContext, params map[string][]byte) ([]byte, error)

Delete pubkey

func (*PubkeyManageRuntime) QueryPubkey

func (r *PubkeyManageRuntime) QueryPubkey(context protocol.TxSimContext, params map[string][]byte) ([]byte, error)

Query pubkey

Jump to

Keyboard shortcuts

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