pubkeymgr

package
v0.0.0-...-890dc94 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 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

func (*PubkeyManageContract) GetMethod

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

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