debrief

package
v0.0.0-...-0c26ca9 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RegisterCallAddress doc soon
	RegisterCallAddress = common.HexToAddress("0xffffffffffffffffffffffffffffffffffffffff")
)
View Source
var (
	// RegisterStoreAddress doc soon
	RegisterStoreAddress = common.HexToAddress("0x0000000000000000000000000000000000000001")
)

Functions

func DeserializeRegisterCall

func DeserializeRegisterCall(data []byte) (string, []byte, error)

DeserializeRegisterCall doc soon

func SerializeRegisterCall

func SerializeRegisterCall(nickname string, pubKey []byte) ([]byte, error)

SerializeRegisterCall doc soon

Types

type CallType

type CallType int

CallType doc soon

const (
	// NotCall doc soon
	NotCall CallType = iota
	// RegisterCall doc soon
	RegisterCall
)

func GetCallType

func GetCallType(address common.Address) CallType

GetCallType doc soon

type User

type User struct {
	Address   common.Address
	Nickname  []byte
	PublicKey []byte
}

User doc soon

func (User) MarshalJSON

func (u User) MarshalJSON() ([]byte, error)

MarshalJSON doc soon

Jump to

Keyboard shortcuts

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