Documentation ¶
Index ¶
- type PubkeyManageContract
- type PubkeyManageRuntime
- func (r *PubkeyManageRuntime) AddPubkey(context protocol.TxSimContext, params map[string][]byte) ([]byte, error)
- func (r *PubkeyManageRuntime) DeletePubkey(context protocol.TxSimContext, params map[string][]byte) ([]byte, error)
- func (r *PubkeyManageRuntime) QueryPubkey(context protocol.TxSimContext, params map[string][]byte) ([]byte, error)
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
Click to show internal directories.
Click to hide internal directories.