signatory

package
Version: v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package signatory is a generated protocol buffer package.

It is generated from these files:

config.proto

It has these top-level messages:

Config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Whitelist    []string `protobuf:"bytes,1,rep,name=whitelist" json:"whitelist,omitempty"`
	JrpcBindAddr string   `protobuf:"bytes,2,opt,name=jrpcBindAddr" json:"jrpcBindAddr,omitempty"`
	Privkey      string   `protobuf:"bytes,3,opt,name=privkey" json:"privkey,omitempty"`
}

Config token相关cmd配置

func (*Config) Descriptor

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetJrpcBindAddr

func (m *Config) GetJrpcBindAddr() string

func (*Config) GetPrivkey

func (m *Config) GetPrivkey() string

func (*Config) GetWhitelist

func (m *Config) GetWhitelist() []string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

type Signatory

type Signatory struct {
	Privkey string
}

Signatory 签名密钥

func (*Signatory) Echo

func (*Signatory) Echo(in *string, out *interface{}) error

Echo echo

func (*Signatory) SignApprove

func (signatory *Signatory) SignApprove(in *TokenFinish, out *interface{}) error

SignApprove 完成签名

func (*Signatory) SignTransfer

func (signatory *Signatory) SignTransfer(in *string, out *interface{}) error

SignTransfer 签名交易,in 输入要数据 签名out 签名之后数据

type TokenFinish

type TokenFinish struct {
	OwnerAddr string `json:"ownerAddr"`
	Symbol    string `json:"symbol"`
}

TokenFinish token创建完成

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL