prototype

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 26 Imported by: 3

Documentation

Index

Constants

View Source
const Size = 32
View Source
const StatusError uint32 = 500
View Source
const StatusFailDeductStamina uint32 = 201
View Source
const StatusSuccess uint32 = 200

Variables

View Source
var (
	ErrNpe             = errors.New("Null Pointer")
	ErrKeyLength       = errors.New("Key Length Error")
	ErrHashLength      = errors.New("Hash Length Error")
	ErrSigLength       = errors.New("Signature Length Error")
	ErrCoinOverflow    = errors.New("Coin Overflow")
	ErrVestOverflow    = errors.New("Vest Overflow")
	ErrPubKeyFormatErr = errors.New("Public Key Format Error")
	ErrVestFormatErr   = errors.New("Vest Format Error")
	ErrCoinFormatErr   = errors.New("Coin Format Error")
	ErrJSONFormatErr   = errors.New("JSON Format Error")
	ErrCoinZero        = errors.New("Coin Value Zero Error")
	ErrSigInvalidS     = errors.New("Invalid S value of signature")
)
View Source
var (
	MaxAccountName = NewAccountName(strings.Repeat("z", constants.MaxAccountNameLength+1))
	//MinAccountName = NewAccountName("")
	MinAccountName = NewAccountName(strings.Repeat("0", constants.MinAccountNameLength))

	MaxCoin = NewCoin(math.MaxUint64)
	MinCoin = NewCoin(0)

	MaxVest = NewVest(math.MaxUint64)
	MinVest = NewVest(0)

	MaxTimePointSec = NewTimePointSec(math.MaxUint32)
	MinTimePointSec = NewTimePointSec(0)
)
View Source
var AtMost1KChars = func(s string) error { return stringLengthValidator(s, 0, 1024*1) }
View Source
var AtMost4KChars = func(s string) error { return stringLengthValidator(s, 0, 1024*4) }
View Source
var UnknownOperation unknownOp
View Source
var ValidContractMethodName = ValidVarName
View Source
var ValidContractName = ValidVarName
View Source
var ValidContractTableName = ValidVarName

Functions

func GetGenericOperationMeta added in v1.0.2

func GetGenericOperationMeta(generic *Operation, key string) interface{}

func GetGenericOperationName added in v1.0.2

func GetGenericOperationName(generic *Operation) string

func GetOperationMeta added in v1.0.2

func GetOperationMeta(opPtr interface{}, key string) interface{}

func GetOperationName added in v1.0.2

func GetOperationName(opPtr interface{}) string

func RegisterOperationMeta added in v1.0.2

func RegisterOperationMeta(opPtr interface{}, key string, value interface{})

func ValidAccountName added in v1.0.2

func ValidAccountName(s string) error

func ValidVarName added in v1.0.2

func ValidVarName(s string) error

Types

type AccountCreateOperation

type AccountCreateOperation struct {
	Fee                  *Coin          `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
	Creator              *AccountName   `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	NewAccountName       *AccountName   `protobuf:"bytes,3,opt,name=new_account_name,json=newAccountName,proto3" json:"new_account_name,omitempty"`
	PubKey               *PublicKeyType `protobuf:"bytes,4,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	JsonMetadata         string         `protobuf:"bytes,5,opt,name=json_metadata,json=jsonMetadata,proto3" json:"json_metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AccountCreateOperation) Descriptor

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

func (*AccountCreateOperation) GetAffectedProps added in v1.0.2

func (a *AccountCreateOperation) GetAffectedProps(props *map[string]bool)

func (*AccountCreateOperation) GetCreator

func (m *AccountCreateOperation) GetCreator() *AccountName

func (*AccountCreateOperation) GetFee

func (m *AccountCreateOperation) GetFee() *Coin

func (*AccountCreateOperation) GetJsonMetadata

func (m *AccountCreateOperation) GetJsonMetadata() string

func (*AccountCreateOperation) GetNewAccountName

func (m *AccountCreateOperation) GetNewAccountName() *AccountName

func (*AccountCreateOperation) GetPubKey added in v1.0.2

func (m *AccountCreateOperation) GetPubKey() *PublicKeyType

func (*AccountCreateOperation) GetSigner added in v1.0.2

func (a *AccountCreateOperation) GetSigner(auths *map[string]bool)

func (*AccountCreateOperation) ProtoMessage

func (*AccountCreateOperation) ProtoMessage()

func (*AccountCreateOperation) Reset

func (m *AccountCreateOperation) Reset()

func (*AccountCreateOperation) String

func (m *AccountCreateOperation) String() string

func (*AccountCreateOperation) Validate

func (a *AccountCreateOperation) Validate() error

func (*AccountCreateOperation) XXX_DiscardUnknown

func (m *AccountCreateOperation) XXX_DiscardUnknown()

func (*AccountCreateOperation) XXX_Marshal

func (m *AccountCreateOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountCreateOperation) XXX_Merge

func (m *AccountCreateOperation) XXX_Merge(src proto.Message)

func (*AccountCreateOperation) XXX_Size

func (m *AccountCreateOperation) XXX_Size() int

func (*AccountCreateOperation) XXX_Unmarshal

func (m *AccountCreateOperation) XXX_Unmarshal(b []byte) error

type AccountName

type AccountName struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewAccountName

func NewAccountName(value string) *AccountName

func (*AccountName) Descriptor

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

func (*AccountName) Empty

func (m *AccountName) Empty() bool

func (*AccountName) GetValue

func (m *AccountName) GetValue() string

func (*AccountName) MarshalJSON added in v1.0.2

func (m *AccountName) MarshalJSON() ([]byte, error)

func (*AccountName) OpeEncode

func (m *AccountName) OpeEncode() ([]byte, error)

func (*AccountName) ProtoMessage

func (*AccountName) ProtoMessage()

func (*AccountName) Reset

func (m *AccountName) Reset()

func (*AccountName) String

func (m *AccountName) String() string

func (*AccountName) ToString added in v1.0.2

func (m *AccountName) ToString() string

func (*AccountName) UnmarshalJSON added in v1.0.2

func (m *AccountName) UnmarshalJSON(input []byte) error

func (*AccountName) Validate

func (m *AccountName) Validate() error

func (*AccountName) XXX_DiscardUnknown

func (m *AccountName) XXX_DiscardUnknown()

func (*AccountName) XXX_Marshal

func (m *AccountName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountName) XXX_Merge

func (m *AccountName) XXX_Merge(src proto.Message)

func (*AccountName) XXX_Size

func (m *AccountName) XXX_Size() int

func (*AccountName) XXX_Unmarshal

func (m *AccountName) XXX_Unmarshal(b []byte) error

type AccountUpdateOperation added in v1.0.2

type AccountUpdateOperation struct {
	Owner                *AccountName   `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	PubKey               *PublicKeyType `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AccountUpdateOperation) Descriptor added in v1.0.2

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

func (*AccountUpdateOperation) GetAffectedProps added in v1.0.2

func (m *AccountUpdateOperation) GetAffectedProps(props *map[string]bool)

func (*AccountUpdateOperation) GetOwner added in v1.0.2

func (m *AccountUpdateOperation) GetOwner() *AccountName

func (*AccountUpdateOperation) GetPubKey added in v1.0.2

func (m *AccountUpdateOperation) GetPubKey() *PublicKeyType

func (*AccountUpdateOperation) GetSigner added in v1.0.2

func (m *AccountUpdateOperation) GetSigner(auths *map[string]bool)

func (*AccountUpdateOperation) ProtoMessage added in v1.0.2

func (*AccountUpdateOperation) ProtoMessage()

func (*AccountUpdateOperation) Reset added in v1.0.2

func (m *AccountUpdateOperation) Reset()

func (*AccountUpdateOperation) String added in v1.0.2

func (m *AccountUpdateOperation) String() string

func (*AccountUpdateOperation) Validate added in v1.0.2

func (m *AccountUpdateOperation) Validate() error

func (*AccountUpdateOperation) XXX_DiscardUnknown added in v1.0.2

func (m *AccountUpdateOperation) XXX_DiscardUnknown()

func (*AccountUpdateOperation) XXX_Marshal added in v1.0.2

func (m *AccountUpdateOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountUpdateOperation) XXX_Merge added in v1.0.2

func (m *AccountUpdateOperation) XXX_Merge(src proto.Message)

func (*AccountUpdateOperation) XXX_Size added in v1.0.2

func (m *AccountUpdateOperation) XXX_Size() int

func (*AccountUpdateOperation) XXX_Unmarshal added in v1.0.2

func (m *AccountUpdateOperation) XXX_Unmarshal(b []byte) error

type AcquireTicketOperation added in v1.0.2

type AcquireTicketOperation struct {
	Account              *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Count                uint64       `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*AcquireTicketOperation) Descriptor added in v1.0.2

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

func (*AcquireTicketOperation) GetAccount added in v1.0.2

func (m *AcquireTicketOperation) GetAccount() *AccountName

func (*AcquireTicketOperation) GetAffectedProps added in v1.0.2

func (a *AcquireTicketOperation) GetAffectedProps(props *map[string]bool)

func (*AcquireTicketOperation) GetCount added in v1.0.2

func (m *AcquireTicketOperation) GetCount() uint64

func (*AcquireTicketOperation) GetSigner added in v1.0.2

func (a *AcquireTicketOperation) GetSigner(auths *map[string]bool)

func (*AcquireTicketOperation) ProtoMessage added in v1.0.2

func (*AcquireTicketOperation) ProtoMessage()

func (*AcquireTicketOperation) Reset added in v1.0.2

func (m *AcquireTicketOperation) Reset()

func (*AcquireTicketOperation) String added in v1.0.2

func (m *AcquireTicketOperation) String() string

func (*AcquireTicketOperation) Validate added in v1.0.2

func (a *AcquireTicketOperation) Validate() error

func (*AcquireTicketOperation) XXX_DiscardUnknown added in v1.0.2

func (m *AcquireTicketOperation) XXX_DiscardUnknown()

func (*AcquireTicketOperation) XXX_Marshal added in v1.0.2

func (m *AcquireTicketOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AcquireTicketOperation) XXX_Merge added in v1.0.2

func (m *AcquireTicketOperation) XXX_Merge(src proto.Message)

func (*AcquireTicketOperation) XXX_Size added in v1.0.2

func (m *AcquireTicketOperation) XXX_Size() int

func (*AcquireTicketOperation) XXX_Unmarshal added in v1.0.2

func (m *AcquireTicketOperation) XXX_Unmarshal(b []byte) error

type BaseOperation

type BaseOperation interface {
	GetSigner(*map[string]bool)
	Validate() error

	// GetAffectedProps sets affected properties into given map.
	// e.g. TransferOperation should set 2 properties, names of sender and receiver.
	// "*" is the wildcard, meaning all properties.
	GetAffectedProps(props *map[string]bool)
}

func GetBaseOperation added in v1.0.2

func GetBaseOperation(op *Operation) BaseOperation

type BeneficiaryRouteType

type BeneficiaryRouteType struct {
	Name                 *AccountName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Weight               uint32       `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*BeneficiaryRouteType) Descriptor

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

func (*BeneficiaryRouteType) GetName

func (m *BeneficiaryRouteType) GetName() *AccountName

func (*BeneficiaryRouteType) GetWeight

func (m *BeneficiaryRouteType) GetWeight() uint32

func (*BeneficiaryRouteType) ProtoMessage

func (*BeneficiaryRouteType) ProtoMessage()

func (*BeneficiaryRouteType) Reset

func (m *BeneficiaryRouteType) Reset()

func (*BeneficiaryRouteType) String

func (m *BeneficiaryRouteType) String() string

func (*BeneficiaryRouteType) XXX_DiscardUnknown

func (m *BeneficiaryRouteType) XXX_DiscardUnknown()

func (*BeneficiaryRouteType) XXX_Marshal

func (m *BeneficiaryRouteType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BeneficiaryRouteType) XXX_Merge

func (m *BeneficiaryRouteType) XXX_Merge(src proto.Message)

func (*BeneficiaryRouteType) XXX_Size

func (m *BeneficiaryRouteType) XXX_Size() int

func (*BeneficiaryRouteType) XXX_Unmarshal

func (m *BeneficiaryRouteType) XXX_Unmarshal(b []byte) error

type BlockHeader

type BlockHeader struct {
	Previous              *Sha256       `protobuf:"bytes,1,opt,name=previous,proto3" json:"previous,omitempty"`
	Timestamp             *TimePointSec `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	BlockProducer         *AccountName  `protobuf:"bytes,3,opt,name=block_producer,json=blockProducer,proto3" json:"block_producer,omitempty"`
	TransactionMerkleRoot *Sha256       `` /* 126-byte string literal not displayed */
	PrevApplyHash         uint64        `protobuf:"varint,5,opt,name=prev_apply_hash,json=prevApplyHash,proto3" json:"prev_apply_hash,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}      `json:"-"`
	XXX_unrecognized      []byte        `json:"-"`
	XXX_sizecache         int32         `json:"-"`
}

block

func (*BlockHeader) Descriptor

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

func (*BlockHeader) GetBlockProducer added in v1.0.2

func (m *BlockHeader) GetBlockProducer() *AccountName

func (*BlockHeader) GetPrevApplyHash added in v1.0.2

func (m *BlockHeader) GetPrevApplyHash() uint64

func (*BlockHeader) GetPrevious

func (m *BlockHeader) GetPrevious() *Sha256

func (*BlockHeader) GetTimestamp

func (m *BlockHeader) GetTimestamp() *TimePointSec

func (*BlockHeader) GetTransactionMerkleRoot

func (m *BlockHeader) GetTransactionMerkleRoot() *Sha256

func (*BlockHeader) Hash

func (bh *BlockHeader) Hash() (hash [Size]byte)

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset

func (m *BlockHeader) Reset()

func (*BlockHeader) String

func (m *BlockHeader) String() string

func (*BlockHeader) XXX_DiscardUnknown

func (m *BlockHeader) XXX_DiscardUnknown()

func (*BlockHeader) XXX_Marshal

func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockHeader) XXX_Merge

func (m *BlockHeader) XXX_Merge(src proto.Message)

func (*BlockHeader) XXX_Size

func (m *BlockHeader) XXX_Size() int

func (*BlockHeader) XXX_Unmarshal

func (m *BlockHeader) XXX_Unmarshal(b []byte) error

type BpBlockProducerId added in v1.0.2

type BpBlockProducerId struct {
	BlockProducer        *AccountName `protobuf:"bytes,1,opt,name=block_producer,json=blockProducer,proto3" json:"block_producer,omitempty"`
	Voter                *AccountName `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*BpBlockProducerId) Descriptor added in v1.0.2

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

func (*BpBlockProducerId) GetBlockProducer added in v1.0.2

func (m *BpBlockProducerId) GetBlockProducer() *AccountName

func (*BpBlockProducerId) GetVoter added in v1.0.2

func (m *BpBlockProducerId) GetVoter() *AccountName

func (*BpBlockProducerId) OpeEncode added in v1.0.2

func (m *BpBlockProducerId) OpeEncode() ([]byte, error)

func (*BpBlockProducerId) ProtoMessage added in v1.0.2

func (*BpBlockProducerId) ProtoMessage()

func (*BpBlockProducerId) Reset added in v1.0.2

func (m *BpBlockProducerId) Reset()

func (*BpBlockProducerId) String added in v1.0.2

func (m *BpBlockProducerId) String() string

func (*BpBlockProducerId) XXX_DiscardUnknown added in v1.0.2

func (m *BpBlockProducerId) XXX_DiscardUnknown()

func (*BpBlockProducerId) XXX_Marshal added in v1.0.2

func (m *BpBlockProducerId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BpBlockProducerId) XXX_Merge added in v1.0.2

func (m *BpBlockProducerId) XXX_Merge(src proto.Message)

func (*BpBlockProducerId) XXX_Size added in v1.0.2

func (m *BpBlockProducerId) XXX_Size() int

func (*BpBlockProducerId) XXX_Unmarshal added in v1.0.2

func (m *BpBlockProducerId) XXX_Unmarshal(b []byte) error

type BpEnableOperation added in v1.0.2

type BpEnableOperation struct {
	Owner                *AccountName `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Cancel               bool         `protobuf:"varint,2,opt,name=cancel,proto3" json:"cancel,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*BpEnableOperation) Descriptor added in v1.0.2

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

func (*BpEnableOperation) GetAffectedProps added in v1.0.2

func (m *BpEnableOperation) GetAffectedProps(props *map[string]bool)

func (*BpEnableOperation) GetCancel added in v1.0.2

func (m *BpEnableOperation) GetCancel() bool

func (*BpEnableOperation) GetOwner added in v1.0.2

func (m *BpEnableOperation) GetOwner() *AccountName

func (*BpEnableOperation) GetSigner added in v1.0.2

func (m *BpEnableOperation) GetSigner(auths *map[string]bool)

func (*BpEnableOperation) ProtoMessage added in v1.0.2

func (*BpEnableOperation) ProtoMessage()

func (*BpEnableOperation) Reset added in v1.0.2

func (m *BpEnableOperation) Reset()

func (*BpEnableOperation) String added in v1.0.2

func (m *BpEnableOperation) String() string

func (*BpEnableOperation) Validate added in v1.0.2

func (m *BpEnableOperation) Validate() error

func (*BpEnableOperation) XXX_DiscardUnknown added in v1.0.2

func (m *BpEnableOperation) XXX_DiscardUnknown()

func (*BpEnableOperation) XXX_Marshal added in v1.0.2

func (m *BpEnableOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BpEnableOperation) XXX_Merge added in v1.0.2

func (m *BpEnableOperation) XXX_Merge(src proto.Message)

func (*BpEnableOperation) XXX_Size added in v1.0.2

func (m *BpEnableOperation) XXX_Size() int

func (*BpEnableOperation) XXX_Unmarshal added in v1.0.2

func (m *BpEnableOperation) XXX_Unmarshal(b []byte) error

type BpRegisterOperation

type BpRegisterOperation struct {
	Owner                *AccountName     `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Url                  string           `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Desc                 string           `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	BlockSigningKey      *PublicKeyType   `protobuf:"bytes,4,opt,name=block_signing_key,json=blockSigningKey,proto3" json:"block_signing_key,omitempty"`
	Props                *ChainProperties `protobuf:"bytes,5,opt,name=props,proto3" json:"props,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*BpRegisterOperation) Descriptor

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

func (*BpRegisterOperation) GetAffectedProps added in v1.0.2

func (m *BpRegisterOperation) GetAffectedProps(props *map[string]bool)

func (*BpRegisterOperation) GetBlockSigningKey

func (m *BpRegisterOperation) GetBlockSigningKey() *PublicKeyType

func (*BpRegisterOperation) GetDesc

func (m *BpRegisterOperation) GetDesc() string

func (*BpRegisterOperation) GetOwner

func (m *BpRegisterOperation) GetOwner() *AccountName

func (*BpRegisterOperation) GetProps

func (m *BpRegisterOperation) GetProps() *ChainProperties

func (*BpRegisterOperation) GetSigner added in v1.0.2

func (m *BpRegisterOperation) GetSigner(auths *map[string]bool)

func (*BpRegisterOperation) GetUrl

func (m *BpRegisterOperation) GetUrl() string

func (*BpRegisterOperation) ProtoMessage

func (*BpRegisterOperation) ProtoMessage()

func (*BpRegisterOperation) Reset

func (m *BpRegisterOperation) Reset()

func (*BpRegisterOperation) String

func (m *BpRegisterOperation) String() string

func (*BpRegisterOperation) Validate

func (m *BpRegisterOperation) Validate() error

func (*BpRegisterOperation) XXX_DiscardUnknown

func (m *BpRegisterOperation) XXX_DiscardUnknown()

func (*BpRegisterOperation) XXX_Marshal

func (m *BpRegisterOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BpRegisterOperation) XXX_Merge

func (m *BpRegisterOperation) XXX_Merge(src proto.Message)

func (*BpRegisterOperation) XXX_Size

func (m *BpRegisterOperation) XXX_Size() int

func (*BpRegisterOperation) XXX_Unmarshal

func (m *BpRegisterOperation) XXX_Unmarshal(b []byte) error

type BpUpdateOperation added in v1.0.2

type BpUpdateOperation struct {
	Owner                *AccountName     `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Props                *ChainProperties `protobuf:"bytes,2,opt,name=props,proto3" json:"props,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*BpUpdateOperation) Descriptor added in v1.0.2

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

func (*BpUpdateOperation) GetAffectedProps added in v1.0.2

func (m *BpUpdateOperation) GetAffectedProps(props *map[string]bool)

func (*BpUpdateOperation) GetOwner added in v1.0.2

func (m *BpUpdateOperation) GetOwner() *AccountName

func (*BpUpdateOperation) GetProps added in v1.0.2

func (m *BpUpdateOperation) GetProps() *ChainProperties

func (*BpUpdateOperation) GetSigner added in v1.0.2

func (m *BpUpdateOperation) GetSigner(auths *map[string]bool)

func (*BpUpdateOperation) ProtoMessage added in v1.0.2

func (*BpUpdateOperation) ProtoMessage()

func (*BpUpdateOperation) Reset added in v1.0.2

func (m *BpUpdateOperation) Reset()

func (*BpUpdateOperation) String added in v1.0.2

func (m *BpUpdateOperation) String() string

func (*BpUpdateOperation) Validate added in v1.0.2

func (m *BpUpdateOperation) Validate() error

func (*BpUpdateOperation) XXX_DiscardUnknown added in v1.0.2

func (m *BpUpdateOperation) XXX_DiscardUnknown()

func (*BpUpdateOperation) XXX_Marshal added in v1.0.2

func (m *BpUpdateOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BpUpdateOperation) XXX_Merge added in v1.0.2

func (m *BpUpdateOperation) XXX_Merge(src proto.Message)

func (*BpUpdateOperation) XXX_Size added in v1.0.2

func (m *BpUpdateOperation) XXX_Size() int

func (*BpUpdateOperation) XXX_Unmarshal added in v1.0.2

func (m *BpUpdateOperation) XXX_Unmarshal(b []byte) error

type BpVestId added in v1.0.2

type BpVestId struct {
	Active               bool     `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	VoteVest             *Vest    `protobuf:"bytes,2,opt,name=vote_vest,json=voteVest,proto3" json:"vote_vest,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BpVestId) Descriptor added in v1.0.2

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

func (*BpVestId) GetActive added in v1.0.2

func (m *BpVestId) GetActive() bool

func (*BpVestId) GetVoteVest added in v1.0.2

func (m *BpVestId) GetVoteVest() *Vest

func (*BpVestId) OpeEncode added in v1.0.2

func (m *BpVestId) OpeEncode() ([]byte, error)

func (*BpVestId) ProtoMessage added in v1.0.2

func (*BpVestId) ProtoMessage()

func (*BpVestId) Reset added in v1.0.2

func (m *BpVestId) Reset()

func (*BpVestId) String added in v1.0.2

func (m *BpVestId) String() string

func (*BpVestId) XXX_DiscardUnknown added in v1.0.2

func (m *BpVestId) XXX_DiscardUnknown()

func (*BpVestId) XXX_Marshal added in v1.0.2

func (m *BpVestId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BpVestId) XXX_Merge added in v1.0.2

func (m *BpVestId) XXX_Merge(src proto.Message)

func (*BpVestId) XXX_Size added in v1.0.2

func (m *BpVestId) XXX_Size() int

func (*BpVestId) XXX_Unmarshal added in v1.0.2

func (m *BpVestId) XXX_Unmarshal(b []byte) error

type BpVoteOperation

type BpVoteOperation struct {
	Voter                *AccountName `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
	BlockProducer        *AccountName `protobuf:"bytes,2,opt,name=block_producer,json=blockProducer,proto3" json:"block_producer,omitempty"`
	Cancel               bool         `protobuf:"varint,3,opt,name=cancel,proto3" json:"cancel,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*BpVoteOperation) Descriptor

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

func (*BpVoteOperation) GetAffectedProps added in v1.0.2

func (m *BpVoteOperation) GetAffectedProps(props *map[string]bool)

func (*BpVoteOperation) GetBlockProducer added in v1.0.2

func (m *BpVoteOperation) GetBlockProducer() *AccountName

func (*BpVoteOperation) GetCancel

func (m *BpVoteOperation) GetCancel() bool

func (*BpVoteOperation) GetSigner added in v1.0.2

func (m *BpVoteOperation) GetSigner(auths *map[string]bool)

func (*BpVoteOperation) GetVoter

func (m *BpVoteOperation) GetVoter() *AccountName

func (*BpVoteOperation) ProtoMessage

func (*BpVoteOperation) ProtoMessage()

func (*BpVoteOperation) Reset

func (m *BpVoteOperation) Reset()

func (*BpVoteOperation) String

func (m *BpVoteOperation) String() string

func (*BpVoteOperation) Validate

func (m *BpVoteOperation) Validate() error

func (*BpVoteOperation) XXX_DiscardUnknown

func (m *BpVoteOperation) XXX_DiscardUnknown()

func (*BpVoteOperation) XXX_Marshal

func (m *BpVoteOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BpVoteOperation) XXX_Merge

func (m *BpVoteOperation) XXX_Merge(src proto.Message)

func (*BpVoteOperation) XXX_Size

func (m *BpVoteOperation) XXX_Size() int

func (*BpVoteOperation) XXX_Unmarshal

func (m *BpVoteOperation) XXX_Unmarshal(b []byte) error

type ChainId

type ChainId struct {
	Value                uint32   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChainId) Descriptor

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

func (*ChainId) GetValue

func (m *ChainId) GetValue() uint32

func (*ChainId) ProtoMessage

func (*ChainId) ProtoMessage()

func (*ChainId) Reset

func (m *ChainId) Reset()

func (*ChainId) String

func (m *ChainId) String() string

func (*ChainId) XXX_DiscardUnknown

func (m *ChainId) XXX_DiscardUnknown()

func (*ChainId) XXX_Marshal

func (m *ChainId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainId) XXX_Merge

func (m *ChainId) XXX_Merge(src proto.Message)

func (*ChainId) XXX_Size

func (m *ChainId) XXX_Size() int

func (*ChainId) XXX_Unmarshal

func (m *ChainId) XXX_Unmarshal(b []byte) error

type ChainProperties

type ChainProperties struct {
	AccountCreationFee   *Coin    `protobuf:"bytes,1,opt,name=account_creation_fee,json=accountCreationFee,proto3" json:"account_creation_fee,omitempty"`
	StaminaFree          uint64   `protobuf:"varint,2,opt,name=stamina_free,json=staminaFree,proto3" json:"stamina_free,omitempty"`
	TpsExpected          uint64   `protobuf:"varint,3,opt,name=tps_expected,json=tpsExpected,proto3" json:"tps_expected,omitempty"`
	TopNAcquireFreeToken uint32   `` /* 128-byte string literal not displayed */
	EpochDuration        uint64   `protobuf:"varint,5,opt,name=epoch_duration,json=epochDuration,proto3" json:"epoch_duration,omitempty"`
	PerTicketPrice       *Coin    `protobuf:"bytes,6,opt,name=per_ticket_price,json=perTicketPrice,proto3" json:"per_ticket_price,omitempty"`
	PerTicketWeight      uint64   `protobuf:"varint,7,opt,name=per_ticket_weight,json=perTicketWeight,proto3" json:"per_ticket_weight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChainProperties) Descriptor

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

func (*ChainProperties) GetAccountCreationFee

func (m *ChainProperties) GetAccountCreationFee() *Coin

func (*ChainProperties) GetEpochDuration added in v1.0.2

func (m *ChainProperties) GetEpochDuration() uint64

func (*ChainProperties) GetPerTicketPrice added in v1.0.2

func (m *ChainProperties) GetPerTicketPrice() *Coin

func (*ChainProperties) GetPerTicketWeight added in v1.0.2

func (m *ChainProperties) GetPerTicketWeight() uint64

func (*ChainProperties) GetStaminaFree added in v1.0.2

func (m *ChainProperties) GetStaminaFree() uint64

func (*ChainProperties) GetTopNAcquireFreeToken added in v1.0.2

func (m *ChainProperties) GetTopNAcquireFreeToken() uint32

func (*ChainProperties) GetTpsExpected added in v1.0.2

func (m *ChainProperties) GetTpsExpected() uint64

func (*ChainProperties) ProtoMessage

func (*ChainProperties) ProtoMessage()

func (*ChainProperties) Reset

func (m *ChainProperties) Reset()

func (*ChainProperties) String

func (m *ChainProperties) String() string

func (*ChainProperties) XXX_DiscardUnknown

func (m *ChainProperties) XXX_DiscardUnknown()

func (*ChainProperties) XXX_Marshal

func (m *ChainProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainProperties) XXX_Merge

func (m *ChainProperties) XXX_Merge(src proto.Message)

func (*ChainProperties) XXX_Size

func (m *ChainProperties) XXX_Size() int

func (*ChainProperties) XXX_Unmarshal

func (m *ChainProperties) XXX_Unmarshal(b []byte) error

type Coin

type Coin struct {
	Value                uint64   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func CoinFromString added in v1.0.2

func CoinFromString(buf string) (*Coin, error)

func NewCoin

func NewCoin(value uint64) *Coin

func VestFromString added in v1.0.2

func VestFromString(buf string) (*Coin, error)

func (*Coin) Add

func (m *Coin) Add(o *Coin) *Coin

func (*Coin) Descriptor

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

func (*Coin) GetValue

func (m *Coin) GetValue() uint64

func (*Coin) MarshalJSON added in v1.0.2

func (m *Coin) MarshalJSON() ([]byte, error)

func (*Coin) Mul added in v1.0.2

func (m *Coin) Mul(c uint64) *Coin

func (*Coin) NonZero

func (m *Coin) NonZero() bool

func (*Coin) OpeEncode

func (m *Coin) OpeEncode() ([]byte, error)

func (*Coin) ProtoMessage

func (*Coin) ProtoMessage()

func (*Coin) Reset

func (m *Coin) Reset()

func (*Coin) String

func (m *Coin) String() string

func (*Coin) Sub

func (m *Coin) Sub(o *Coin) *Coin

func (*Coin) ToString added in v1.0.2

func (m *Coin) ToString() string

func (*Coin) ToVest

func (m *Coin) ToVest() *Vest

func (*Coin) UnmarshalJSON added in v1.0.2

func (m *Coin) UnmarshalJSON(input []byte) error

func (*Coin) XXX_DiscardUnknown

func (m *Coin) XXX_DiscardUnknown()

func (*Coin) XXX_Marshal

func (m *Coin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Coin) XXX_Merge

func (m *Coin) XXX_Merge(src proto.Message)

func (*Coin) XXX_Size

func (m *Coin) XXX_Size() int

func (*Coin) XXX_Unmarshal

func (m *Coin) XXX_Unmarshal(b []byte) error

type ContractApplyOperation added in v1.0.2

type ContractApplyOperation struct {
	Caller               *AccountName `protobuf:"bytes,1,opt,name=caller,proto3" json:"caller,omitempty"`
	Owner                *AccountName `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Contract             string       `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
	Method               string       `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	Params               string       `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"`
	Amount               *Coin        `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ContractApplyOperation) Descriptor added in v1.0.2

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

func (*ContractApplyOperation) GetAffectedProps added in v1.0.2

func (m *ContractApplyOperation) GetAffectedProps(props *map[string]bool)

func (*ContractApplyOperation) GetAmount added in v1.0.2

func (m *ContractApplyOperation) GetAmount() *Coin

func (*ContractApplyOperation) GetCaller added in v1.0.2

func (m *ContractApplyOperation) GetCaller() *AccountName

func (*ContractApplyOperation) GetContract added in v1.0.2

func (m *ContractApplyOperation) GetContract() string

func (*ContractApplyOperation) GetMethod added in v1.0.2

func (m *ContractApplyOperation) GetMethod() string

func (*ContractApplyOperation) GetOwner added in v1.0.2

func (m *ContractApplyOperation) GetOwner() *AccountName

func (*ContractApplyOperation) GetParams added in v1.0.2

func (m *ContractApplyOperation) GetParams() string

func (*ContractApplyOperation) GetSigner added in v1.0.2

func (m *ContractApplyOperation) GetSigner(auths *map[string]bool)

func (*ContractApplyOperation) ProtoMessage added in v1.0.2

func (*ContractApplyOperation) ProtoMessage()

func (*ContractApplyOperation) Reset added in v1.0.2

func (m *ContractApplyOperation) Reset()

func (*ContractApplyOperation) String added in v1.0.2

func (m *ContractApplyOperation) String() string

func (*ContractApplyOperation) Validate added in v1.0.2

func (m *ContractApplyOperation) Validate() error

func (*ContractApplyOperation) XXX_DiscardUnknown added in v1.0.2

func (m *ContractApplyOperation) XXX_DiscardUnknown()

func (*ContractApplyOperation) XXX_Marshal added in v1.0.2

func (m *ContractApplyOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractApplyOperation) XXX_Merge added in v1.0.2

func (m *ContractApplyOperation) XXX_Merge(src proto.Message)

func (*ContractApplyOperation) XXX_Size added in v1.0.2

func (m *ContractApplyOperation) XXX_Size() int

func (*ContractApplyOperation) XXX_Unmarshal added in v1.0.2

func (m *ContractApplyOperation) XXX_Unmarshal(b []byte) error

type ContractDeployOperation added in v1.0.2

type ContractDeployOperation struct {
	Owner                *AccountName `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Contract             string       `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
	Abi                  []byte       `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty"`
	Code                 []byte       `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	Upgradeable          bool         `protobuf:"varint,5,opt,name=upgradeable,proto3" json:"upgradeable,omitempty"`
	Url                  string       `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
	Describe             string       `protobuf:"bytes,7,opt,name=describe,proto3" json:"describe,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ContractDeployOperation) Descriptor added in v1.0.2

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

func (*ContractDeployOperation) GetAbi added in v1.0.2

func (m *ContractDeployOperation) GetAbi() []byte

func (*ContractDeployOperation) GetAffectedProps added in v1.0.2

func (m *ContractDeployOperation) GetAffectedProps(props *map[string]bool)

func (*ContractDeployOperation) GetCode added in v1.0.2

func (m *ContractDeployOperation) GetCode() []byte

func (*ContractDeployOperation) GetContract added in v1.0.2

func (m *ContractDeployOperation) GetContract() string

func (*ContractDeployOperation) GetDescribe added in v1.0.2

func (m *ContractDeployOperation) GetDescribe() string

func (*ContractDeployOperation) GetOwner added in v1.0.2

func (m *ContractDeployOperation) GetOwner() *AccountName

func (*ContractDeployOperation) GetSigner added in v1.0.2

func (m *ContractDeployOperation) GetSigner(auths *map[string]bool)

func (*ContractDeployOperation) GetUpgradeable added in v1.0.2

func (m *ContractDeployOperation) GetUpgradeable() bool

func (*ContractDeployOperation) GetUrl added in v1.0.2

func (m *ContractDeployOperation) GetUrl() string

func (*ContractDeployOperation) ProtoMessage added in v1.0.2

func (*ContractDeployOperation) ProtoMessage()

func (*ContractDeployOperation) Reset added in v1.0.2

func (m *ContractDeployOperation) Reset()

func (*ContractDeployOperation) String added in v1.0.2

func (m *ContractDeployOperation) String() string

func (*ContractDeployOperation) Validate added in v1.0.2

func (m *ContractDeployOperation) Validate() error

func (*ContractDeployOperation) XXX_DiscardUnknown added in v1.0.2

func (m *ContractDeployOperation) XXX_DiscardUnknown()

func (*ContractDeployOperation) XXX_Marshal added in v1.0.2

func (m *ContractDeployOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractDeployOperation) XXX_Merge added in v1.0.2

func (m *ContractDeployOperation) XXX_Merge(src proto.Message)

func (*ContractDeployOperation) XXX_Size added in v1.0.2

func (m *ContractDeployOperation) XXX_Size() int

func (*ContractDeployOperation) XXX_Unmarshal added in v1.0.2

func (m *ContractDeployOperation) XXX_Unmarshal(b []byte) error

type ContractId added in v1.0.2

type ContractId struct {
	Owner                *AccountName `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Cname                string       `protobuf:"bytes,2,opt,name=cname,proto3" json:"cname,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ContractId) Descriptor added in v1.0.2

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

func (*ContractId) GetCname added in v1.0.2

func (m *ContractId) GetCname() string

func (*ContractId) GetOwner added in v1.0.2

func (m *ContractId) GetOwner() *AccountName

func (*ContractId) OpeEncode added in v1.0.2

func (m *ContractId) OpeEncode() ([]byte, error)

func (*ContractId) ProtoMessage added in v1.0.2

func (*ContractId) ProtoMessage()

func (*ContractId) Reset added in v1.0.2

func (m *ContractId) Reset()

func (*ContractId) String added in v1.0.2

func (m *ContractId) String() string

func (*ContractId) XXX_DiscardUnknown added in v1.0.2

func (m *ContractId) XXX_DiscardUnknown()

func (*ContractId) XXX_Marshal added in v1.0.2

func (m *ContractId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractId) XXX_Merge added in v1.0.2

func (m *ContractId) XXX_Merge(src proto.Message)

func (*ContractId) XXX_Size added in v1.0.2

func (m *ContractId) XXX_Size() int

func (*ContractId) XXX_Unmarshal added in v1.0.2

func (m *ContractId) XXX_Unmarshal(b []byte) error

type ConvertVestOperation added in v1.0.2

type ConvertVestOperation struct {
	From                 *AccountName `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Amount               *Vest        `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ConvertVestOperation) Descriptor added in v1.0.2

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

func (*ConvertVestOperation) GetAffectedProps added in v1.0.2

func (m *ConvertVestOperation) GetAffectedProps(props *map[string]bool)

func (*ConvertVestOperation) GetAmount added in v1.0.2

func (m *ConvertVestOperation) GetAmount() *Vest

func (*ConvertVestOperation) GetFrom added in v1.0.2

func (m *ConvertVestOperation) GetFrom() *AccountName

func (*ConvertVestOperation) GetSigner added in v1.0.2

func (t *ConvertVestOperation) GetSigner(auths *map[string]bool)

func (*ConvertVestOperation) ProtoMessage added in v1.0.2

func (*ConvertVestOperation) ProtoMessage()

func (*ConvertVestOperation) Reset added in v1.0.2

func (m *ConvertVestOperation) Reset()

func (*ConvertVestOperation) String added in v1.0.2

func (m *ConvertVestOperation) String() string

func (*ConvertVestOperation) Validate added in v1.0.2

func (t *ConvertVestOperation) Validate() error

func (*ConvertVestOperation) XXX_DiscardUnknown added in v1.0.2

func (m *ConvertVestOperation) XXX_DiscardUnknown()

func (*ConvertVestOperation) XXX_Marshal added in v1.0.2

func (m *ConvertVestOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConvertVestOperation) XXX_Merge added in v1.0.2

func (m *ConvertVestOperation) XXX_Merge(src proto.Message)

func (*ConvertVestOperation) XXX_Size added in v1.0.2

func (m *ConvertVestOperation) XXX_Size() int

func (*ConvertVestOperation) XXX_Unmarshal added in v1.0.2

func (m *ConvertVestOperation) XXX_Unmarshal(b []byte) error

type DelegateVestOperation added in v1.0.8

type DelegateVestOperation struct {
	From                 *AccountName `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   *AccountName `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Amount               *Vest        `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Expiration           uint64       `protobuf:"varint,4,opt,name=expiration,proto3" json:"expiration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*DelegateVestOperation) Descriptor added in v1.0.8

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

func (*DelegateVestOperation) GetAffectedProps added in v1.0.8

func (m *DelegateVestOperation) GetAffectedProps(props *map[string]bool)

func (*DelegateVestOperation) GetAmount added in v1.0.8

func (m *DelegateVestOperation) GetAmount() *Vest

func (*DelegateVestOperation) GetExpiration added in v1.0.8

func (m *DelegateVestOperation) GetExpiration() uint64

func (*DelegateVestOperation) GetFrom added in v1.0.8

func (m *DelegateVestOperation) GetFrom() *AccountName

func (*DelegateVestOperation) GetSigner added in v1.0.8

func (m *DelegateVestOperation) GetSigner(auths *map[string]bool)

func (*DelegateVestOperation) GetTo added in v1.0.8

func (m *DelegateVestOperation) GetTo() *AccountName

func (*DelegateVestOperation) ProtoMessage added in v1.0.8

func (*DelegateVestOperation) ProtoMessage()

func (*DelegateVestOperation) Reset added in v1.0.8

func (m *DelegateVestOperation) Reset()

func (*DelegateVestOperation) String added in v1.0.8

func (m *DelegateVestOperation) String() string

func (*DelegateVestOperation) Validate added in v1.0.8

func (m *DelegateVestOperation) Validate() error

func (*DelegateVestOperation) XXX_DiscardUnknown added in v1.0.8

func (m *DelegateVestOperation) XXX_DiscardUnknown()

func (*DelegateVestOperation) XXX_Marshal added in v1.0.8

func (m *DelegateVestOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegateVestOperation) XXX_Merge added in v1.0.8

func (m *DelegateVestOperation) XXX_Merge(src proto.Message)

func (*DelegateVestOperation) XXX_Size added in v1.0.8

func (m *DelegateVestOperation) XXX_Size() int

func (*DelegateVestOperation) XXX_Unmarshal added in v1.0.8

func (m *DelegateVestOperation) XXX_Unmarshal(b []byte) error

type DynamicProperties

type DynamicProperties struct {
	HeadBlockId                *Sha256       `protobuf:"bytes,1,opt,name=head_block_id,json=headBlockId,proto3" json:"head_block_id,omitempty"`
	HeadBlockNumber            uint64        `protobuf:"varint,2,opt,name=head_block_number,json=headBlockNumber,proto3" json:"head_block_number,omitempty"`
	TotalCos                   *Coin         `protobuf:"bytes,3,opt,name=total_cos,json=totalCos,proto3" json:"total_cos,omitempty"`
	Time                       *TimePointSec `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	CurrentBlockProducer       *AccountName  `protobuf:"bytes,5,opt,name=current_block_producer,json=currentBlockProducer,proto3" json:"current_block_producer,omitempty"`
	Tps                        uint32        `protobuf:"varint,6,opt,name=tps,proto3" json:"tps,omitempty"`
	TotalVest                  *Vest         `protobuf:"bytes,7,opt,name=total_vest,json=totalVest,proto3" json:"total_vest,omitempty"`
	TotalTrxCnt                uint64        `protobuf:"varint,8,opt,name=total_trx_cnt,json=totalTrxCnt,proto3" json:"total_trx_cnt,omitempty"`
	TotalPostCnt               uint64        `protobuf:"varint,9,opt,name=total_post_cnt,json=totalPostCnt,proto3" json:"total_post_cnt,omitempty"`
	TotalUserCnt               uint64        `protobuf:"varint,10,opt,name=total_user_cnt,json=totalUserCnt,proto3" json:"total_user_cnt,omitempty"`
	MaxTps                     uint32        `protobuf:"varint,11,opt,name=max_tps,json=maxTps,proto3" json:"max_tps,omitempty"`
	MaxTpsBlockNum             uint64        `protobuf:"varint,12,opt,name=max_tps_block_num,json=maxTpsBlockNum,proto3" json:"max_tps_block_num,omitempty"`
	IthYear                    uint32        `protobuf:"varint,13,opt,name=ith_year,json=ithYear,proto3" json:"ith_year,omitempty"`
	AnnualBudget               *Vest         `protobuf:"bytes,14,opt,name=annual_budget,json=annualBudget,proto3" json:"annual_budget,omitempty"`
	AnnualMinted               *Vest         `protobuf:"bytes,15,opt,name=annual_minted,json=annualMinted,proto3" json:"annual_minted,omitempty"`
	PoolPostRewards            *Vest         `protobuf:"bytes,16,opt,name=pool_post_rewards,json=poolPostRewards,proto3" json:"pool_post_rewards,omitempty"`
	PoolReplyRewards           *Vest         `protobuf:"bytes,17,opt,name=pool_reply_rewards,json=poolReplyRewards,proto3" json:"pool_reply_rewards,omitempty"`
	PoolVoteRewards            *Vest         `protobuf:"bytes,18,opt,name=pool_vote_rewards,json=poolVoteRewards,proto3" json:"pool_vote_rewards,omitempty"`
	PoolDappRewards            *Vest         `protobuf:"bytes,19,opt,name=pool_dapp_rewards,json=poolDappRewards,proto3" json:"pool_dapp_rewards,omitempty"`
	WeightedVpsPost            string        `protobuf:"bytes,20,opt,name=weighted_vps_post,json=weightedVpsPost,proto3" json:"weighted_vps_post,omitempty"`
	WeightedVpsReply           string        `protobuf:"bytes,21,opt,name=weighted_vps_reply,json=weightedVpsReply,proto3" json:"weighted_vps_reply,omitempty"`
	WeightedVpsVote            string        `protobuf:"bytes,22,opt,name=weighted_vps_vote,json=weightedVpsVote,proto3" json:"weighted_vps_vote,omitempty"`
	WeightedVpsDapp            string        `protobuf:"bytes,23,opt,name=weighted_vps_dapp,json=weightedVpsDapp,proto3" json:"weighted_vps_dapp,omitempty"`
	ClaimedPostRewards         *Vest         `protobuf:"bytes,24,opt,name=claimed_post_rewards,json=claimedPostRewards,proto3" json:"claimed_post_rewards,omitempty"`
	ClaimedReplyRewards        *Vest         `protobuf:"bytes,25,opt,name=claimed_reply_rewards,json=claimedReplyRewards,proto3" json:"claimed_reply_rewards,omitempty"`
	ClaimedVoteRewards         *Vest         `protobuf:"bytes,26,opt,name=claimed_vote_rewards,json=claimedVoteRewards,proto3" json:"claimed_vote_rewards,omitempty"`
	ClaimedDappRewards         *Vest         `protobuf:"bytes,27,opt,name=claimed_dapp_rewards,json=claimedDappRewards,proto3" json:"claimed_dapp_rewards,omitempty"`
	StakeVest                  *Vest         `protobuf:"bytes,28,opt,name=stake_vest,json=stakeVest,proto3" json:"stake_vest,omitempty"`
	BlockProducerBootCompleted bool          `` /* 145-byte string literal not displayed */
	StaminaFree                uint64        `protobuf:"varint,30,opt,name=stamina_free,json=staminaFree,proto3" json:"stamina_free,omitempty"`
	TpsExpected                uint64        `protobuf:"varint,31,opt,name=tps_expected,json=tpsExpected,proto3" json:"tps_expected,omitempty"`
	AvgTpsUpdateBlock          uint64        `protobuf:"varint,32,opt,name=avg_tps_update_block,json=avgTpsUpdateBlock,proto3" json:"avg_tps_update_block,omitempty"`
	AvgTpsInWindow             uint64        `protobuf:"varint,33,opt,name=avg_tps_in_window,json=avgTpsInWindow,proto3" json:"avg_tps_in_window,omitempty"`
	OneDayStamina              uint64        `protobuf:"varint,34,opt,name=one_day_stamina,json=oneDayStamina,proto3" json:"one_day_stamina,omitempty"`
	AccountCreateFee           *Coin         `protobuf:"bytes,35,opt,name=account_create_fee,json=accountCreateFee,proto3" json:"account_create_fee,omitempty"`
	ReputationAdmin            *AccountName  `protobuf:"bytes,36,opt,name=reputation_admin,json=reputationAdmin,proto3" json:"reputation_admin,omitempty"`
	CurrentEpochStartBlock     uint64        `` /* 133-byte string literal not displayed */
	EpochDuration              uint64        `protobuf:"varint,38,opt,name=epoch_duration,json=epochDuration,proto3" json:"epoch_duration,omitempty"`
	TopNAcquireFreeToken       uint32        `` /* 129-byte string literal not displayed */
	PerTicketPrice             *Coin         `protobuf:"bytes,40,opt,name=per_ticket_price,json=perTicketPrice,proto3" json:"per_ticket_price,omitempty"`
	PerTicketWeight            uint64        `protobuf:"varint,41,opt,name=per_ticket_weight,json=perTicketWeight,proto3" json:"per_ticket_weight,omitempty"`
	TicketsIncome              *Vest         `protobuf:"bytes,42,opt,name=tickets_income,json=ticketsIncome,proto3" json:"tickets_income,omitempty"`
	ChargedTicketsNum          uint64        `protobuf:"varint,43,opt,name=charged_tickets_num,json=chargedTicketsNum,proto3" json:"charged_tickets_num,omitempty"`
	CopyrightAdmin             *AccountName  `protobuf:"bytes,44,opt,name=copyright_admin,json=copyrightAdmin,proto3" json:"copyright_admin,omitempty"`
	TicketsBpBonus             *Vest         `protobuf:"bytes,45,opt,name=tickets_bp_bonus,json=ticketsBpBonus,proto3" json:"tickets_bp_bonus,omitempty"`
	XXX_NoUnkeyedLiteral       struct{}      `json:"-"`
	XXX_unrecognized           []byte        `json:"-"`
	XXX_sizecache              int32         `json:"-"`
}

func (*DynamicProperties) Descriptor

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

func (*DynamicProperties) GetAccountCreateFee added in v1.0.2

func (m *DynamicProperties) GetAccountCreateFee() *Coin

func (*DynamicProperties) GetAnnualBudget added in v1.0.2

func (m *DynamicProperties) GetAnnualBudget() *Vest

func (*DynamicProperties) GetAnnualMinted added in v1.0.2

func (m *DynamicProperties) GetAnnualMinted() *Vest

func (*DynamicProperties) GetAvgTpsInWindow added in v1.0.2

func (m *DynamicProperties) GetAvgTpsInWindow() uint64

func (*DynamicProperties) GetAvgTpsUpdateBlock added in v1.0.2

func (m *DynamicProperties) GetAvgTpsUpdateBlock() uint64

func (*DynamicProperties) GetBlockProducerBootCompleted added in v1.0.2

func (m *DynamicProperties) GetBlockProducerBootCompleted() bool

func (*DynamicProperties) GetChargedTicketsNum added in v1.0.2

func (m *DynamicProperties) GetChargedTicketsNum() uint64

func (*DynamicProperties) GetClaimedDappRewards added in v1.0.2

func (m *DynamicProperties) GetClaimedDappRewards() *Vest

func (*DynamicProperties) GetClaimedPostRewards added in v1.0.2

func (m *DynamicProperties) GetClaimedPostRewards() *Vest

func (*DynamicProperties) GetClaimedReplyRewards added in v1.0.2

func (m *DynamicProperties) GetClaimedReplyRewards() *Vest

func (*DynamicProperties) GetClaimedVoteRewards added in v1.0.2

func (m *DynamicProperties) GetClaimedVoteRewards() *Vest

func (*DynamicProperties) GetCopyrightAdmin added in v1.0.2

func (m *DynamicProperties) GetCopyrightAdmin() *AccountName

func (*DynamicProperties) GetCurrentBlockProducer added in v1.0.2

func (m *DynamicProperties) GetCurrentBlockProducer() *AccountName

func (*DynamicProperties) GetCurrentEpochStartBlock added in v1.0.2

func (m *DynamicProperties) GetCurrentEpochStartBlock() uint64

func (*DynamicProperties) GetEpochDuration added in v1.0.2

func (m *DynamicProperties) GetEpochDuration() uint64

func (*DynamicProperties) GetHeadBlockId

func (m *DynamicProperties) GetHeadBlockId() *Sha256

func (*DynamicProperties) GetHeadBlockNumber

func (m *DynamicProperties) GetHeadBlockNumber() uint64

func (*DynamicProperties) GetIthYear added in v1.0.2

func (m *DynamicProperties) GetIthYear() uint32

func (*DynamicProperties) GetMaxTps added in v1.0.2

func (m *DynamicProperties) GetMaxTps() uint32

func (*DynamicProperties) GetMaxTpsBlockNum added in v1.0.2

func (m *DynamicProperties) GetMaxTpsBlockNum() uint64

func (*DynamicProperties) GetOneDayStamina added in v1.0.2

func (m *DynamicProperties) GetOneDayStamina() uint64

func (*DynamicProperties) GetPerTicketPrice added in v1.0.2

func (m *DynamicProperties) GetPerTicketPrice() *Coin

func (*DynamicProperties) GetPerTicketWeight added in v1.0.2

func (m *DynamicProperties) GetPerTicketWeight() uint64

func (*DynamicProperties) GetPoolDappRewards added in v1.0.2

func (m *DynamicProperties) GetPoolDappRewards() *Vest

func (*DynamicProperties) GetPoolPostRewards added in v1.0.2

func (m *DynamicProperties) GetPoolPostRewards() *Vest

func (*DynamicProperties) GetPoolReplyRewards added in v1.0.2

func (m *DynamicProperties) GetPoolReplyRewards() *Vest

func (*DynamicProperties) GetPoolVoteRewards added in v1.0.2

func (m *DynamicProperties) GetPoolVoteRewards() *Vest

func (*DynamicProperties) GetReputationAdmin added in v1.0.2

func (m *DynamicProperties) GetReputationAdmin() *AccountName

func (*DynamicProperties) GetStakeVest added in v1.0.2

func (m *DynamicProperties) GetStakeVest() *Vest

func (*DynamicProperties) GetStaminaFree added in v1.0.2

func (m *DynamicProperties) GetStaminaFree() uint64

func (*DynamicProperties) GetTicketsBpBonus added in v1.0.2

func (m *DynamicProperties) GetTicketsBpBonus() *Vest

func (*DynamicProperties) GetTicketsIncome added in v1.0.2

func (m *DynamicProperties) GetTicketsIncome() *Vest

func (*DynamicProperties) GetTime

func (m *DynamicProperties) GetTime() *TimePointSec

func (*DynamicProperties) GetTopNAcquireFreeToken added in v1.0.2

func (m *DynamicProperties) GetTopNAcquireFreeToken() uint32

func (*DynamicProperties) GetTotalCos

func (m *DynamicProperties) GetTotalCos() *Coin

func (*DynamicProperties) GetTotalPostCnt added in v1.0.2

func (m *DynamicProperties) GetTotalPostCnt() uint64

func (*DynamicProperties) GetTotalTrxCnt added in v1.0.2

func (m *DynamicProperties) GetTotalTrxCnt() uint64

func (*DynamicProperties) GetTotalUserCnt added in v1.0.2

func (m *DynamicProperties) GetTotalUserCnt() uint64

func (*DynamicProperties) GetTotalVest added in v1.0.2

func (m *DynamicProperties) GetTotalVest() *Vest

func (*DynamicProperties) GetTps

func (m *DynamicProperties) GetTps() uint32

func (*DynamicProperties) GetTpsExpected added in v1.0.2

func (m *DynamicProperties) GetTpsExpected() uint64

func (*DynamicProperties) GetWeightedVpsDapp added in v1.0.2

func (m *DynamicProperties) GetWeightedVpsDapp() string

func (*DynamicProperties) GetWeightedVpsPost added in v1.0.2

func (m *DynamicProperties) GetWeightedVpsPost() string

func (*DynamicProperties) GetWeightedVpsReply added in v1.0.2

func (m *DynamicProperties) GetWeightedVpsReply() string

func (*DynamicProperties) GetWeightedVpsVote added in v1.0.2

func (m *DynamicProperties) GetWeightedVpsVote() string

func (*DynamicProperties) ProtoMessage

func (*DynamicProperties) ProtoMessage()

func (*DynamicProperties) Reset

func (m *DynamicProperties) Reset()

func (*DynamicProperties) String

func (m *DynamicProperties) String() string

func (*DynamicProperties) XXX_DiscardUnknown

func (m *DynamicProperties) XXX_DiscardUnknown()

func (*DynamicProperties) XXX_Marshal

func (m *DynamicProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DynamicProperties) XXX_Merge

func (m *DynamicProperties) XXX_Merge(src proto.Message)

func (*DynamicProperties) XXX_Size

func (m *DynamicProperties) XXX_Size() int

func (*DynamicProperties) XXX_Unmarshal

func (m *DynamicProperties) XXX_Unmarshal(b []byte) error

type EmptySignedBlock

type EmptySignedBlock struct {
	SignedHeader         *SignedBlockHeader `protobuf:"bytes,1,opt,name=signed_header,json=signedHeader,proto3" json:"signed_header,omitempty"`
	TrxCount             uint32             `protobuf:"varint,2,opt,name=trx_count,json=trxCount,proto3" json:"trx_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*EmptySignedBlock) Descriptor

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

func (*EmptySignedBlock) GetSignedHeader

func (m *EmptySignedBlock) GetSignedHeader() *SignedBlockHeader

func (*EmptySignedBlock) GetTrxCount

func (m *EmptySignedBlock) GetTrxCount() uint32

func (*EmptySignedBlock) ProtoMessage

func (*EmptySignedBlock) ProtoMessage()

func (*EmptySignedBlock) Reset

func (m *EmptySignedBlock) Reset()

func (*EmptySignedBlock) String

func (m *EmptySignedBlock) String() string

func (*EmptySignedBlock) XXX_DiscardUnknown

func (m *EmptySignedBlock) XXX_DiscardUnknown()

func (*EmptySignedBlock) XXX_Marshal

func (m *EmptySignedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmptySignedBlock) XXX_Merge

func (m *EmptySignedBlock) XXX_Merge(src proto.Message)

func (*EmptySignedBlock) XXX_Size

func (m *EmptySignedBlock) XXX_Size() int

func (*EmptySignedBlock) XXX_Unmarshal

func (m *EmptySignedBlock) XXX_Unmarshal(b []byte) error

type FollowOperation

type FollowOperation struct {
	Account              *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	FAccount             *AccountName `protobuf:"bytes,2,opt,name=f_account,json=fAccount,proto3" json:"f_account,omitempty"`
	Cancel               bool         `protobuf:"varint,3,opt,name=cancel,proto3" json:"cancel,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*FollowOperation) Descriptor

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

func (*FollowOperation) GetAccount

func (m *FollowOperation) GetAccount() *AccountName

func (*FollowOperation) GetAffectedProps added in v1.0.2

func (m *FollowOperation) GetAffectedProps(props *map[string]bool)

func (*FollowOperation) GetCancel

func (m *FollowOperation) GetCancel() bool

func (*FollowOperation) GetFAccount

func (m *FollowOperation) GetFAccount() *AccountName

func (*FollowOperation) GetSigner added in v1.0.2

func (m *FollowOperation) GetSigner(auths *map[string]bool)

func (*FollowOperation) ProtoMessage

func (*FollowOperation) ProtoMessage()

func (*FollowOperation) Reset

func (m *FollowOperation) Reset()

func (*FollowOperation) String

func (m *FollowOperation) String() string

func (*FollowOperation) Validate

func (m *FollowOperation) Validate() error

func (*FollowOperation) XXX_DiscardUnknown

func (m *FollowOperation) XXX_DiscardUnknown()

func (*FollowOperation) XXX_Marshal

func (m *FollowOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FollowOperation) XXX_Merge

func (m *FollowOperation) XXX_Merge(src proto.Message)

func (*FollowOperation) XXX_Size

func (m *FollowOperation) XXX_Size() int

func (*FollowOperation) XXX_Unmarshal

func (m *FollowOperation) XXX_Unmarshal(b []byte) error

type FollowerCreatedOrder

type FollowerCreatedOrder struct {
	Account              *AccountName  `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	CreatedTime          *TimePointSec `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	Follower             *AccountName  `protobuf:"bytes,3,opt,name=follower,proto3" json:"follower,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*FollowerCreatedOrder) Descriptor

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

func (*FollowerCreatedOrder) GetAccount

func (m *FollowerCreatedOrder) GetAccount() *AccountName

func (*FollowerCreatedOrder) GetCreatedTime

func (m *FollowerCreatedOrder) GetCreatedTime() *TimePointSec

func (*FollowerCreatedOrder) GetFollower

func (m *FollowerCreatedOrder) GetFollower() *AccountName

func (*FollowerCreatedOrder) OpeEncode

func (m *FollowerCreatedOrder) OpeEncode() ([]byte, error)

func (*FollowerCreatedOrder) ProtoMessage

func (*FollowerCreatedOrder) ProtoMessage()

func (*FollowerCreatedOrder) Reset

func (m *FollowerCreatedOrder) Reset()

func (*FollowerCreatedOrder) String

func (m *FollowerCreatedOrder) String() string

func (*FollowerCreatedOrder) XXX_DiscardUnknown

func (m *FollowerCreatedOrder) XXX_DiscardUnknown()

func (*FollowerCreatedOrder) XXX_Marshal

func (m *FollowerCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FollowerCreatedOrder) XXX_Merge

func (m *FollowerCreatedOrder) XXX_Merge(src proto.Message)

func (*FollowerCreatedOrder) XXX_Size

func (m *FollowerCreatedOrder) XXX_Size() int

func (*FollowerCreatedOrder) XXX_Unmarshal

func (m *FollowerCreatedOrder) XXX_Unmarshal(b []byte) error

type FollowerRelation

type FollowerRelation struct {
	Account              *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Follower             *AccountName `protobuf:"bytes,2,opt,name=follower,proto3" json:"follower,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*FollowerRelation) Descriptor

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

func (*FollowerRelation) GetAccount

func (m *FollowerRelation) GetAccount() *AccountName

func (*FollowerRelation) GetFollower

func (m *FollowerRelation) GetFollower() *AccountName

func (*FollowerRelation) OpeEncode

func (m *FollowerRelation) OpeEncode() ([]byte, error)

func (*FollowerRelation) ProtoMessage

func (*FollowerRelation) ProtoMessage()

func (*FollowerRelation) Reset

func (m *FollowerRelation) Reset()

func (*FollowerRelation) String

func (m *FollowerRelation) String() string

func (*FollowerRelation) XXX_DiscardUnknown

func (m *FollowerRelation) XXX_DiscardUnknown()

func (*FollowerRelation) XXX_Marshal

func (m *FollowerRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FollowerRelation) XXX_Merge

func (m *FollowerRelation) XXX_Merge(src proto.Message)

func (*FollowerRelation) XXX_Size

func (m *FollowerRelation) XXX_Size() int

func (*FollowerRelation) XXX_Unmarshal

func (m *FollowerRelation) XXX_Unmarshal(b []byte) error

type FollowingCreatedOrder

type FollowingCreatedOrder struct {
	Account              *AccountName  `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	CreatedTime          *TimePointSec `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	Following            *AccountName  `protobuf:"bytes,3,opt,name=following,proto3" json:"following,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*FollowingCreatedOrder) Descriptor

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

func (*FollowingCreatedOrder) GetAccount

func (m *FollowingCreatedOrder) GetAccount() *AccountName

func (*FollowingCreatedOrder) GetCreatedTime

func (m *FollowingCreatedOrder) GetCreatedTime() *TimePointSec

func (*FollowingCreatedOrder) GetFollowing

func (m *FollowingCreatedOrder) GetFollowing() *AccountName

func (*FollowingCreatedOrder) OpeEncode

func (m *FollowingCreatedOrder) OpeEncode() ([]byte, error)

func (*FollowingCreatedOrder) ProtoMessage

func (*FollowingCreatedOrder) ProtoMessage()

func (*FollowingCreatedOrder) Reset

func (m *FollowingCreatedOrder) Reset()

func (*FollowingCreatedOrder) String

func (m *FollowingCreatedOrder) String() string

func (*FollowingCreatedOrder) XXX_DiscardUnknown

func (m *FollowingCreatedOrder) XXX_DiscardUnknown()

func (*FollowingCreatedOrder) XXX_Marshal

func (m *FollowingCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FollowingCreatedOrder) XXX_Merge

func (m *FollowingCreatedOrder) XXX_Merge(src proto.Message)

func (*FollowingCreatedOrder) XXX_Size

func (m *FollowingCreatedOrder) XXX_Size() int

func (*FollowingCreatedOrder) XXX_Unmarshal

func (m *FollowingCreatedOrder) XXX_Unmarshal(b []byte) error

type FollowingRelation

type FollowingRelation struct {
	Account              *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Following            *AccountName `protobuf:"bytes,2,opt,name=following,proto3" json:"following,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*FollowingRelation) Descriptor

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

func (*FollowingRelation) GetAccount

func (m *FollowingRelation) GetAccount() *AccountName

func (*FollowingRelation) GetFollowing

func (m *FollowingRelation) GetFollowing() *AccountName

func (*FollowingRelation) OpeEncode

func (m *FollowingRelation) OpeEncode() ([]byte, error)

func (*FollowingRelation) ProtoMessage

func (*FollowingRelation) ProtoMessage()

func (*FollowingRelation) Reset

func (m *FollowingRelation) Reset()

func (*FollowingRelation) String

func (m *FollowingRelation) String() string

func (*FollowingRelation) XXX_DiscardUnknown

func (m *FollowingRelation) XXX_DiscardUnknown()

func (*FollowingRelation) XXX_Marshal

func (m *FollowingRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FollowingRelation) XXX_Merge

func (m *FollowingRelation) XXX_Merge(src proto.Message)

func (*FollowingRelation) XXX_Size

func (m *FollowingRelation) XXX_Size() int

func (*FollowingRelation) XXX_Unmarshal

func (m *FollowingRelation) XXX_Unmarshal(b []byte) error

type GiftTicketKeyType added in v1.0.2

type GiftTicketKeyType struct {
	Type                 uint32   `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	From                 string   `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To                   string   `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	CreateBlock          uint64   `protobuf:"varint,4,opt,name=create_block,json=createBlock,proto3" json:"create_block,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GiftTicketKeyType) Descriptor added in v1.0.2

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

func (*GiftTicketKeyType) GetCreateBlock added in v1.0.2

func (m *GiftTicketKeyType) GetCreateBlock() uint64

func (*GiftTicketKeyType) GetFrom added in v1.0.2

func (m *GiftTicketKeyType) GetFrom() string

func (*GiftTicketKeyType) GetTo added in v1.0.2

func (m *GiftTicketKeyType) GetTo() string

func (*GiftTicketKeyType) GetType added in v1.0.2

func (m *GiftTicketKeyType) GetType() uint32

func (*GiftTicketKeyType) OpeEncode added in v1.0.2

func (m *GiftTicketKeyType) OpeEncode() ([]byte, error)

func (*GiftTicketKeyType) ProtoMessage added in v1.0.2

func (*GiftTicketKeyType) ProtoMessage()

func (*GiftTicketKeyType) Reset added in v1.0.2

func (m *GiftTicketKeyType) Reset()

func (*GiftTicketKeyType) String added in v1.0.2

func (m *GiftTicketKeyType) String() string

func (*GiftTicketKeyType) XXX_DiscardUnknown added in v1.0.2

func (m *GiftTicketKeyType) XXX_DiscardUnknown()

func (*GiftTicketKeyType) XXX_Marshal added in v1.0.2

func (m *GiftTicketKeyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GiftTicketKeyType) XXX_Merge added in v1.0.2

func (m *GiftTicketKeyType) XXX_Merge(src proto.Message)

func (*GiftTicketKeyType) XXX_Size added in v1.0.2

func (m *GiftTicketKeyType) XXX_Size() int

func (*GiftTicketKeyType) XXX_Unmarshal added in v1.0.2

func (m *GiftTicketKeyType) XXX_Unmarshal(b []byte) error

type InternalContractApplyOperation added in v1.0.2

type InternalContractApplyOperation struct {
	FromCaller           *AccountName `protobuf:"bytes,1,opt,name=from_caller,json=fromCaller,proto3" json:"from_caller,omitempty"`
	FromOwner            *AccountName `protobuf:"bytes,2,opt,name=from_owner,json=fromOwner,proto3" json:"from_owner,omitempty"`
	FromContract         string       `protobuf:"bytes,3,opt,name=from_contract,json=fromContract,proto3" json:"from_contract,omitempty"`
	FromMethod           string       `protobuf:"bytes,4,opt,name=from_method,json=fromMethod,proto3" json:"from_method,omitempty"`
	ToOwner              *AccountName `protobuf:"bytes,5,opt,name=to_owner,json=toOwner,proto3" json:"to_owner,omitempty"`
	ToContract           string       `protobuf:"bytes,6,opt,name=to_contract,json=toContract,proto3" json:"to_contract,omitempty"`
	ToMethod             string       `protobuf:"bytes,7,opt,name=to_method,json=toMethod,proto3" json:"to_method,omitempty"`
	Params               []byte       `protobuf:"bytes,8,opt,name=params,proto3" json:"params,omitempty"`
	Amount               *Coin        `protobuf:"bytes,9,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*InternalContractApplyOperation) Descriptor added in v1.0.2

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

func (*InternalContractApplyOperation) GetAffectedProps added in v1.0.2

func (m *InternalContractApplyOperation) GetAffectedProps(props *map[string]bool)

func (*InternalContractApplyOperation) GetAmount added in v1.0.2

func (m *InternalContractApplyOperation) GetAmount() *Coin

func (*InternalContractApplyOperation) GetFromCaller added in v1.0.2

func (m *InternalContractApplyOperation) GetFromCaller() *AccountName

func (*InternalContractApplyOperation) GetFromContract added in v1.0.2

func (m *InternalContractApplyOperation) GetFromContract() string

func (*InternalContractApplyOperation) GetFromMethod added in v1.0.2

func (m *InternalContractApplyOperation) GetFromMethod() string

func (*InternalContractApplyOperation) GetFromOwner added in v1.0.2

func (m *InternalContractApplyOperation) GetFromOwner() *AccountName

func (*InternalContractApplyOperation) GetParams added in v1.0.2

func (m *InternalContractApplyOperation) GetParams() []byte

func (*InternalContractApplyOperation) GetSigner added in v1.0.2

func (op *InternalContractApplyOperation) GetSigner(auths *map[string]bool)

func (*InternalContractApplyOperation) GetToContract added in v1.0.2

func (m *InternalContractApplyOperation) GetToContract() string

func (*InternalContractApplyOperation) GetToMethod added in v1.0.2

func (m *InternalContractApplyOperation) GetToMethod() string

func (*InternalContractApplyOperation) GetToOwner added in v1.0.2

func (*InternalContractApplyOperation) ProtoMessage added in v1.0.2

func (*InternalContractApplyOperation) ProtoMessage()

func (*InternalContractApplyOperation) Reset added in v1.0.2

func (m *InternalContractApplyOperation) Reset()

func (*InternalContractApplyOperation) String added in v1.0.2

func (*InternalContractApplyOperation) Validate added in v1.0.2

func (op *InternalContractApplyOperation) Validate() error

func (*InternalContractApplyOperation) XXX_DiscardUnknown added in v1.0.2

func (m *InternalContractApplyOperation) XXX_DiscardUnknown()

func (*InternalContractApplyOperation) XXX_Marshal added in v1.0.2

func (m *InternalContractApplyOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InternalContractApplyOperation) XXX_Merge added in v1.0.2

func (m *InternalContractApplyOperation) XXX_Merge(src proto.Message)

func (*InternalContractApplyOperation) XXX_Size added in v1.0.2

func (m *InternalContractApplyOperation) XXX_Size() int

func (*InternalContractApplyOperation) XXX_Unmarshal added in v1.0.2

func (m *InternalContractApplyOperation) XXX_Unmarshal(b []byte) error

type Operation

type Operation struct {
	// Types that are valid to be assigned to Op:
	//	*Operation_Op1
	//	*Operation_Op2
	//	*Operation_Op3
	//	*Operation_Op4
	//	*Operation_Op5
	//	*Operation_Op6
	//	*Operation_Op7
	//	*Operation_Op8
	//	*Operation_Op9
	//	*Operation_Op10
	//	*Operation_Op13
	//	*Operation_Op14
	//	*Operation_Op16
	//	*Operation_Op17
	//	*Operation_Op18
	//	*Operation_Op19
	//	*Operation_Op20
	//	*Operation_Op21
	//	*Operation_Op22
	//	*Operation_Op23
	//	*Operation_Op24
	Op                   isOperation_Op `protobuf_oneof:"op"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func GetPbOperation added in v1.0.2

func GetPbOperation(op interface{}) *Operation

Get protoBuffer struct Operation by a interface of detail operation(such as TransferOperation)

func (*Operation) Descriptor

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

func (*Operation) GetOp

func (m *Operation) GetOp() isOperation_Op

func (*Operation) GetOp1

func (m *Operation) GetOp1() *AccountCreateOperation

func (*Operation) GetOp10

func (m *Operation) GetOp10() *TransferToVestOperation

func (*Operation) GetOp13 added in v1.0.2

func (m *Operation) GetOp13() *ContractDeployOperation

func (*Operation) GetOp14 added in v1.0.2

func (m *Operation) GetOp14() *ContractApplyOperation

func (*Operation) GetOp16 added in v1.0.2

func (m *Operation) GetOp16() *ConvertVestOperation

func (*Operation) GetOp17 added in v1.0.2

func (m *Operation) GetOp17() *StakeOperation

func (*Operation) GetOp18 added in v1.0.2

func (m *Operation) GetOp18() *UnStakeOperation

func (*Operation) GetOp19 added in v1.0.2

func (m *Operation) GetOp19() *BpUpdateOperation

func (*Operation) GetOp2

func (m *Operation) GetOp2() *TransferOperation

func (*Operation) GetOp20 added in v1.0.2

func (m *Operation) GetOp20() *AccountUpdateOperation

func (*Operation) GetOp21 added in v1.0.2

func (m *Operation) GetOp21() *AcquireTicketOperation

func (*Operation) GetOp22 added in v1.0.2

func (m *Operation) GetOp22() *VoteByTicketOperation

func (*Operation) GetOp23 added in v1.0.8

func (m *Operation) GetOp23() *DelegateVestOperation

func (*Operation) GetOp24 added in v1.0.8

func (m *Operation) GetOp24() *UnDelegateVestOperation

func (*Operation) GetOp3

func (m *Operation) GetOp3() *BpRegisterOperation

func (*Operation) GetOp4

func (m *Operation) GetOp4() *BpEnableOperation

func (*Operation) GetOp5

func (m *Operation) GetOp5() *BpVoteOperation

func (*Operation) GetOp6

func (m *Operation) GetOp6() *PostOperation

func (*Operation) GetOp7

func (m *Operation) GetOp7() *ReplyOperation

func (*Operation) GetOp8

func (m *Operation) GetOp8() *FollowOperation

func (*Operation) GetOp9

func (m *Operation) GetOp9() *VoteOperation

func (*Operation) MarshalJSON added in v1.0.2

func (op *Operation) MarshalJSON() ([]byte, error)

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) Reset

func (m *Operation) Reset()

func (*Operation) String

func (m *Operation) String() string

func (*Operation) UnmarshalJSON added in v1.0.2

func (op *Operation) UnmarshalJSON(b []byte) error

func (*Operation) XXX_DiscardUnknown

func (m *Operation) XXX_DiscardUnknown()

func (*Operation) XXX_Marshal

func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Operation) XXX_Merge

func (m *Operation) XXX_Merge(src proto.Message)

func (*Operation) XXX_OneofWrappers added in v1.0.2

func (*Operation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Operation) XXX_Size

func (m *Operation) XXX_Size() int

func (*Operation) XXX_Unmarshal

func (m *Operation) XXX_Unmarshal(b []byte) error

type OperationNotification

type OperationNotification struct {
	Trx_id       *Sha256
	Trx_status   uint32
	Block        uint64
	Trx_in_block uint64
	Op_in_trx    uint64
	Virtual_op   uint64
	Op           *Operation
}

type OperationReceiptWithInfo added in v1.0.2

type OperationReceiptWithInfo struct {
	Status               uint32   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	GasUsage             uint64   `protobuf:"varint,2,opt,name=gas_usage,json=gasUsage,proto3" json:"gas_usage,omitempty"`
	VmConsole            string   `protobuf:"bytes,3,opt,name=vm_console,json=vmConsole,proto3" json:"vm_console,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OperationReceiptWithInfo) Descriptor added in v1.0.2

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

func (*OperationReceiptWithInfo) GetGasUsage added in v1.0.2

func (m *OperationReceiptWithInfo) GetGasUsage() uint64

func (*OperationReceiptWithInfo) GetStatus added in v1.0.2

func (m *OperationReceiptWithInfo) GetStatus() uint32

func (*OperationReceiptWithInfo) GetVmConsole added in v1.0.2

func (m *OperationReceiptWithInfo) GetVmConsole() string

func (*OperationReceiptWithInfo) ProtoMessage added in v1.0.2

func (*OperationReceiptWithInfo) ProtoMessage()

func (*OperationReceiptWithInfo) Reset added in v1.0.2

func (m *OperationReceiptWithInfo) Reset()

func (*OperationReceiptWithInfo) String added in v1.0.2

func (m *OperationReceiptWithInfo) String() string

func (*OperationReceiptWithInfo) XXX_DiscardUnknown added in v1.0.2

func (m *OperationReceiptWithInfo) XXX_DiscardUnknown()

func (*OperationReceiptWithInfo) XXX_Marshal added in v1.0.2

func (m *OperationReceiptWithInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OperationReceiptWithInfo) XXX_Merge added in v1.0.2

func (m *OperationReceiptWithInfo) XXX_Merge(src proto.Message)

func (*OperationReceiptWithInfo) XXX_Size added in v1.0.2

func (m *OperationReceiptWithInfo) XXX_Size() int

func (*OperationReceiptWithInfo) XXX_Unmarshal added in v1.0.2

func (m *OperationReceiptWithInfo) XXX_Unmarshal(b []byte) error

type Operation_Op1

type Operation_Op1 struct {
	Op1 *AccountCreateOperation `protobuf:"bytes,1,opt,name=op1,proto3,oneof"`
}

type Operation_Op10

type Operation_Op10 struct {
	Op10 *TransferToVestOperation `protobuf:"bytes,10,opt,name=op10,proto3,oneof"`
}

type Operation_Op13 added in v1.0.2

type Operation_Op13 struct {
	Op13 *ContractDeployOperation `protobuf:"bytes,13,opt,name=op13,proto3,oneof"`
}

type Operation_Op14 added in v1.0.2

type Operation_Op14 struct {
	Op14 *ContractApplyOperation `protobuf:"bytes,14,opt,name=op14,proto3,oneof"`
}

type Operation_Op16 added in v1.0.2

type Operation_Op16 struct {
	Op16 *ConvertVestOperation `protobuf:"bytes,16,opt,name=op16,proto3,oneof"`
}

type Operation_Op17 added in v1.0.2

type Operation_Op17 struct {
	Op17 *StakeOperation `protobuf:"bytes,17,opt,name=op17,proto3,oneof"`
}

type Operation_Op18 added in v1.0.2

type Operation_Op18 struct {
	Op18 *UnStakeOperation `protobuf:"bytes,18,opt,name=op18,proto3,oneof"`
}

type Operation_Op19 added in v1.0.2

type Operation_Op19 struct {
	Op19 *BpUpdateOperation `protobuf:"bytes,19,opt,name=op19,proto3,oneof"`
}

type Operation_Op2

type Operation_Op2 struct {
	Op2 *TransferOperation `protobuf:"bytes,2,opt,name=op2,proto3,oneof"`
}

type Operation_Op20 added in v1.0.2

type Operation_Op20 struct {
	Op20 *AccountUpdateOperation `protobuf:"bytes,20,opt,name=op20,proto3,oneof"`
}

type Operation_Op21 added in v1.0.2

type Operation_Op21 struct {
	Op21 *AcquireTicketOperation `protobuf:"bytes,21,opt,name=op21,proto3,oneof"`
}

type Operation_Op22 added in v1.0.2

type Operation_Op22 struct {
	Op22 *VoteByTicketOperation `protobuf:"bytes,22,opt,name=op22,proto3,oneof"`
}

type Operation_Op23 added in v1.0.8

type Operation_Op23 struct {
	Op23 *DelegateVestOperation `protobuf:"bytes,23,opt,name=op23,proto3,oneof"`
}

type Operation_Op24 added in v1.0.8

type Operation_Op24 struct {
	Op24 *UnDelegateVestOperation `protobuf:"bytes,24,opt,name=op24,proto3,oneof"`
}

type Operation_Op3

type Operation_Op3 struct {
	Op3 *BpRegisterOperation `protobuf:"bytes,3,opt,name=op3,proto3,oneof"`
}

type Operation_Op4

type Operation_Op4 struct {
	Op4 *BpEnableOperation `protobuf:"bytes,4,opt,name=op4,proto3,oneof"`
}

type Operation_Op5

type Operation_Op5 struct {
	Op5 *BpVoteOperation `protobuf:"bytes,5,opt,name=op5,proto3,oneof"`
}

type Operation_Op6

type Operation_Op6 struct {
	Op6 *PostOperation `protobuf:"bytes,6,opt,name=op6,proto3,oneof"`
}

type Operation_Op7

type Operation_Op7 struct {
	Op7 *ReplyOperation `protobuf:"bytes,7,opt,name=op7,proto3,oneof"`
}

type Operation_Op8

type Operation_Op8 struct {
	Op8 *FollowOperation `protobuf:"bytes,8,opt,name=op8,proto3,oneof"`
}

type Operation_Op9

type Operation_Op9 struct {
	Op9 *VoteOperation `protobuf:"bytes,9,opt,name=op9,proto3,oneof"`
}

type PostCreatedOrder

type PostCreatedOrder struct {
	Created              *TimePointSec `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"`
	ParentId             uint64        `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*PostCreatedOrder) Descriptor

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

func (*PostCreatedOrder) GetCreated

func (m *PostCreatedOrder) GetCreated() *TimePointSec

func (*PostCreatedOrder) GetParentId

func (m *PostCreatedOrder) GetParentId() uint64

func (*PostCreatedOrder) OpeEncode

func (m *PostCreatedOrder) OpeEncode() ([]byte, error)

func (*PostCreatedOrder) ProtoMessage

func (*PostCreatedOrder) ProtoMessage()

func (*PostCreatedOrder) Reset

func (m *PostCreatedOrder) Reset()

func (*PostCreatedOrder) String

func (m *PostCreatedOrder) String() string

func (*PostCreatedOrder) XXX_DiscardUnknown

func (m *PostCreatedOrder) XXX_DiscardUnknown()

func (*PostCreatedOrder) XXX_Marshal

func (m *PostCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostCreatedOrder) XXX_Merge

func (m *PostCreatedOrder) XXX_Merge(src proto.Message)

func (*PostCreatedOrder) XXX_Size

func (m *PostCreatedOrder) XXX_Size() int

func (*PostCreatedOrder) XXX_Unmarshal

func (m *PostCreatedOrder) XXX_Unmarshal(b []byte) error

type PostOperation

type PostOperation struct {
	Uuid                 uint64                  `protobuf:"varint,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Owner                *AccountName            `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Title                string                  `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Content              string                  `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	Tags                 []string                `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	Beneficiaries        []*BeneficiaryRouteType `protobuf:"bytes,6,rep,name=beneficiaries,proto3" json:"beneficiaries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*PostOperation) Descriptor

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

func (*PostOperation) GetAffectedProps added in v1.0.2

func (m *PostOperation) GetAffectedProps(props *map[string]bool)

func (*PostOperation) GetBeneficiaries

func (m *PostOperation) GetBeneficiaries() []*BeneficiaryRouteType

func (*PostOperation) GetContent

func (m *PostOperation) GetContent() string

func (*PostOperation) GetOwner

func (m *PostOperation) GetOwner() *AccountName

func (*PostOperation) GetSigner added in v1.0.2

func (m *PostOperation) GetSigner(auths *map[string]bool)

func (*PostOperation) GetTags

func (m *PostOperation) GetTags() []string

func (*PostOperation) GetTitle

func (m *PostOperation) GetTitle() string

func (*PostOperation) GetUuid

func (m *PostOperation) GetUuid() uint64

func (*PostOperation) ProtoMessage

func (*PostOperation) ProtoMessage()

func (*PostOperation) Reset

func (m *PostOperation) Reset()

func (*PostOperation) String

func (m *PostOperation) String() string

func (*PostOperation) Validate

func (m *PostOperation) Validate() error

func (*PostOperation) XXX_DiscardUnknown

func (m *PostOperation) XXX_DiscardUnknown()

func (*PostOperation) XXX_Marshal

func (m *PostOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostOperation) XXX_Merge

func (m *PostOperation) XXX_Merge(src proto.Message)

func (*PostOperation) XXX_Size

func (m *PostOperation) XXX_Size() int

func (*PostOperation) XXX_Unmarshal

func (m *PostOperation) XXX_Unmarshal(b []byte) error

type PrivateKeyType

type PrivateKeyType struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func FixBytesToPrivateKey added in v1.0.2

func FixBytesToPrivateKey(buff []byte) (*PrivateKeyType, error)

DANGER !!!!!!!!!!!!!!!!! this function only for test case If used improperly, the private key will be exhausted

func GenerateNewKey

func GenerateNewKey() (*PrivateKeyType, error)

func PrivateKeyFromBytes

func PrivateKeyFromBytes(buffer []byte) *PrivateKeyType

func PrivateKeyFromECDSA

func PrivateKeyFromECDSA(key *ecdsa.PrivateKey) *PrivateKeyType

func PrivateKeyFromWIF

func PrivateKeyFromWIF(encoded string) (*PrivateKeyType, error)

func (*PrivateKeyType) Descriptor

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

func (*PrivateKeyType) Equal

func (m *PrivateKeyType) Equal(other *PrivateKeyType) bool

func (*PrivateKeyType) GetData

func (m *PrivateKeyType) GetData() []byte

func (*PrivateKeyType) MarshalJSON

func (m *PrivateKeyType) MarshalJSON() ([]byte, error)

func (*PrivateKeyType) ProtoMessage

func (*PrivateKeyType) ProtoMessage()

func (*PrivateKeyType) PubKey

func (m *PrivateKeyType) PubKey() (*PublicKeyType, error)

func (*PrivateKeyType) Reset

func (m *PrivateKeyType) Reset()

func (*PrivateKeyType) String

func (m *PrivateKeyType) String() string

func (*PrivateKeyType) ToBase58

func (m *PrivateKeyType) ToBase58() string

ToBase58 returns base58 encoded address string

func (*PrivateKeyType) ToECDSA

func (m *PrivateKeyType) ToECDSA() (*ecdsa.PrivateKey, error)

func (*PrivateKeyType) ToWIF

func (m *PrivateKeyType) ToWIF() string

func (*PrivateKeyType) UnmarshalJSON

func (m *PrivateKeyType) UnmarshalJSON(input []byte) error

func (*PrivateKeyType) Validate

func (m *PrivateKeyType) Validate() error

func (*PrivateKeyType) XXX_DiscardUnknown

func (m *PrivateKeyType) XXX_DiscardUnknown()

func (*PrivateKeyType) XXX_Marshal

func (m *PrivateKeyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateKeyType) XXX_Merge

func (m *PrivateKeyType) XXX_Merge(src proto.Message)

func (*PrivateKeyType) XXX_Size

func (m *PrivateKeyType) XXX_Size() int

func (*PrivateKeyType) XXX_Unmarshal

func (m *PrivateKeyType) XXX_Unmarshal(b []byte) error

type PublicKeyType

type PublicKeyType struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func PublicKeyFromBytes

func PublicKeyFromBytes(buffer []byte) *PublicKeyType

func PublicKeyFromWIF

func PublicKeyFromWIF(encoded string) (*PublicKeyType, error)

fixme: ToBase58()/PublicKeyFromWIF() work well for now, but they are vulnerable.

This pair of functions can't work with key data prefixed by 0x00 bytes, but fortunately ecc compressed public keys are always prefixed by 0x02 or 0x03. Review this code if we switched to a key scheme other than ecc in future. The same problem has already been fixed in private_key_type.go by git commit 1f7fe10.

func (*PublicKeyType) Descriptor

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

func (*PublicKeyType) Equal

func (m *PublicKeyType) Equal(other *PublicKeyType) bool

func (*PublicKeyType) GetData

func (m *PublicKeyType) GetData() []byte

func (*PublicKeyType) MarshalJSON

func (m *PublicKeyType) MarshalJSON() ([]byte, error)

func (*PublicKeyType) OpeEncode

func (m *PublicKeyType) OpeEncode() ([]byte, error)

func (*PublicKeyType) ProtoMessage

func (*PublicKeyType) ProtoMessage()

func (*PublicKeyType) Reset

func (m *PublicKeyType) Reset()

func (*PublicKeyType) String

func (m *PublicKeyType) String() string

func (*PublicKeyType) ToBase58

func (m *PublicKeyType) ToBase58() string

ToBase58 returns base58 encoded address string fixme: ToBase58()/PublicKeyFromWIF() work well for now, but they are vulnerable.

This pair of functions can't work with key data prefixed by 0x00 bytes, but fortunately ecc compressed public keys are always prefixed by 0x02 or 0x03. Review this code if we switched to a key scheme other than ecc in future. The same problem has already been fixed in private_key_type.go by git commit 1f7fe10.

func (*PublicKeyType) ToWIF

func (m *PublicKeyType) ToWIF() string

func (*PublicKeyType) UnmarshalJSON

func (m *PublicKeyType) UnmarshalJSON(input []byte) error

func (*PublicKeyType) Validate

func (m *PublicKeyType) Validate() error

func (*PublicKeyType) XXX_DiscardUnknown

func (m *PublicKeyType) XXX_DiscardUnknown()

func (*PublicKeyType) XXX_Marshal

func (m *PublicKeyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKeyType) XXX_Merge

func (m *PublicKeyType) XXX_Merge(src proto.Message)

func (*PublicKeyType) XXX_Size

func (m *PublicKeyType) XXX_Size() int

func (*PublicKeyType) XXX_Unmarshal

func (m *PublicKeyType) XXX_Unmarshal(b []byte) error

type ReplyCreatedOrder

type ReplyCreatedOrder struct {
	ParentId             uint64        `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Created              *TimePointSec `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ReplyCreatedOrder) Descriptor

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

func (*ReplyCreatedOrder) GetCreated

func (m *ReplyCreatedOrder) GetCreated() *TimePointSec

func (*ReplyCreatedOrder) GetParentId

func (m *ReplyCreatedOrder) GetParentId() uint64

func (*ReplyCreatedOrder) OpeEncode

func (m *ReplyCreatedOrder) OpeEncode() ([]byte, error)

func (*ReplyCreatedOrder) ProtoMessage

func (*ReplyCreatedOrder) ProtoMessage()

func (*ReplyCreatedOrder) Reset

func (m *ReplyCreatedOrder) Reset()

func (*ReplyCreatedOrder) String

func (m *ReplyCreatedOrder) String() string

func (*ReplyCreatedOrder) XXX_DiscardUnknown

func (m *ReplyCreatedOrder) XXX_DiscardUnknown()

func (*ReplyCreatedOrder) XXX_Marshal

func (m *ReplyCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyCreatedOrder) XXX_Merge

func (m *ReplyCreatedOrder) XXX_Merge(src proto.Message)

func (*ReplyCreatedOrder) XXX_Size

func (m *ReplyCreatedOrder) XXX_Size() int

func (*ReplyCreatedOrder) XXX_Unmarshal

func (m *ReplyCreatedOrder) XXX_Unmarshal(b []byte) error

type ReplyOperation

type ReplyOperation struct {
	Uuid                 uint64                  `protobuf:"varint,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Owner                *AccountName            `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Content              string                  `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	ParentUuid           uint64                  `protobuf:"varint,4,opt,name=parent_uuid,json=parentUuid,proto3" json:"parent_uuid,omitempty"`
	Beneficiaries        []*BeneficiaryRouteType `protobuf:"bytes,6,rep,name=beneficiaries,proto3" json:"beneficiaries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ReplyOperation) Descriptor

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

func (*ReplyOperation) GetAffectedProps added in v1.0.2

func (m *ReplyOperation) GetAffectedProps(props *map[string]bool)

func (*ReplyOperation) GetBeneficiaries

func (m *ReplyOperation) GetBeneficiaries() []*BeneficiaryRouteType

func (*ReplyOperation) GetContent

func (m *ReplyOperation) GetContent() string

func (*ReplyOperation) GetOwner

func (m *ReplyOperation) GetOwner() *AccountName

func (*ReplyOperation) GetParentUuid

func (m *ReplyOperation) GetParentUuid() uint64

func (*ReplyOperation) GetSigner added in v1.0.2

func (m *ReplyOperation) GetSigner(auths *map[string]bool)

func (*ReplyOperation) GetUuid

func (m *ReplyOperation) GetUuid() uint64

func (*ReplyOperation) ProtoMessage

func (*ReplyOperation) ProtoMessage()

func (*ReplyOperation) Reset

func (m *ReplyOperation) Reset()

func (*ReplyOperation) String

func (m *ReplyOperation) String() string

func (*ReplyOperation) Validate

func (m *ReplyOperation) Validate() error

func (*ReplyOperation) XXX_DiscardUnknown

func (m *ReplyOperation) XXX_DiscardUnknown()

func (*ReplyOperation) XXX_Marshal

func (m *ReplyOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyOperation) XXX_Merge

func (m *ReplyOperation) XXX_Merge(src proto.Message)

func (*ReplyOperation) XXX_Size

func (m *ReplyOperation) XXX_Size() int

func (*ReplyOperation) XXX_Unmarshal

func (m *ReplyOperation) XXX_Unmarshal(b []byte) error

type RewardCashoutId added in v1.0.2

type RewardCashoutId struct {
	Account              *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	PostId               uint64       `protobuf:"varint,2,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*RewardCashoutId) Descriptor added in v1.0.2

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

func (*RewardCashoutId) GetAccount added in v1.0.2

func (m *RewardCashoutId) GetAccount() *AccountName

func (*RewardCashoutId) GetPostId added in v1.0.2

func (m *RewardCashoutId) GetPostId() uint64

func (*RewardCashoutId) OpeEncode added in v1.0.2

func (m *RewardCashoutId) OpeEncode() ([]byte, error)

func (*RewardCashoutId) ProtoMessage added in v1.0.2

func (*RewardCashoutId) ProtoMessage()

func (*RewardCashoutId) Reset added in v1.0.2

func (m *RewardCashoutId) Reset()

func (*RewardCashoutId) String added in v1.0.2

func (m *RewardCashoutId) String() string

func (*RewardCashoutId) XXX_DiscardUnknown added in v1.0.2

func (m *RewardCashoutId) XXX_DiscardUnknown()

func (*RewardCashoutId) XXX_Marshal added in v1.0.2

func (m *RewardCashoutId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardCashoutId) XXX_Merge added in v1.0.2

func (m *RewardCashoutId) XXX_Merge(src proto.Message)

func (*RewardCashoutId) XXX_Size added in v1.0.2

func (m *RewardCashoutId) XXX_Size() int

func (*RewardCashoutId) XXX_Unmarshal added in v1.0.2

func (m *RewardCashoutId) XXX_Unmarshal(b []byte) error

type Sha256

type Sha256 struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Sha256) Descriptor

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

func (*Sha256) Equal added in v1.0.2

func (m *Sha256) Equal(p *Sha256) bool

func (*Sha256) FromBlockID

func (m *Sha256) FromBlockID(id common.BlockID)

func (*Sha256) GetHash

func (m *Sha256) GetHash() []byte

func (*Sha256) MarshalJSON added in v1.0.2

func (m *Sha256) MarshalJSON() ([]byte, error)

func (*Sha256) OpeEncode

func (m *Sha256) OpeEncode() ([]byte, error)

func (*Sha256) ProtoMessage

func (*Sha256) ProtoMessage()

func (*Sha256) Reset

func (m *Sha256) Reset()

func (*Sha256) String

func (m *Sha256) String() string

func (*Sha256) ToString added in v1.0.2

func (m *Sha256) ToString() string

func (*Sha256) UnmarshalJSON added in v1.0.2

func (m *Sha256) UnmarshalJSON(input []byte) error

func (*Sha256) Validate

func (m *Sha256) Validate() error

func (*Sha256) XXX_DiscardUnknown

func (m *Sha256) XXX_DiscardUnknown()

func (*Sha256) XXX_Marshal

func (m *Sha256) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sha256) XXX_Merge

func (m *Sha256) XXX_Merge(src proto.Message)

func (*Sha256) XXX_Size

func (m *Sha256) XXX_Size() int

func (*Sha256) XXX_Unmarshal

func (m *Sha256) XXX_Unmarshal(b []byte) error

type SignatureType

type SignatureType struct {
	Sig                  []byte   `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignatureType) Descriptor

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

func (*SignatureType) GetSig

func (m *SignatureType) GetSig() []byte

func (*SignatureType) ProtoMessage

func (*SignatureType) ProtoMessage()

func (*SignatureType) Reset

func (m *SignatureType) Reset()

func (*SignatureType) String

func (m *SignatureType) String() string

func (*SignatureType) Validate

func (m *SignatureType) Validate() error

func (*SignatureType) XXX_DiscardUnknown

func (m *SignatureType) XXX_DiscardUnknown()

func (*SignatureType) XXX_Marshal

func (m *SignatureType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignatureType) XXX_Merge

func (m *SignatureType) XXX_Merge(src proto.Message)

func (*SignatureType) XXX_Size

func (m *SignatureType) XXX_Size() int

func (*SignatureType) XXX_Unmarshal

func (m *SignatureType) XXX_Unmarshal(b []byte) error

type SignedBlock

type SignedBlock struct {
	SignedHeader         *SignedBlockHeader    `protobuf:"bytes,1,opt,name=signed_header,json=signedHeader,proto3" json:"signed_header,omitempty"`
	Transactions         []*TransactionWrapper `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*SignedBlock) CalculateMerkleRoot

func (sb *SignedBlock) CalculateMerkleRoot() *common.BlockID

func (*SignedBlock) Descriptor

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

func (*SignedBlock) GetBlockSize added in v1.0.2

func (sb *SignedBlock) GetBlockSize() int

func (*SignedBlock) GetSignedHeader

func (m *SignedBlock) GetSignedHeader() *SignedBlockHeader

func (*SignedBlock) GetSignee

func (sb *SignedBlock) GetSignee() (interface{}, error)

func (*SignedBlock) GetTransactions

func (m *SignedBlock) GetTransactions() []*TransactionWrapper

func (*SignedBlock) Hash

func (sb *SignedBlock) Hash() (hash [Size]byte)

func (*SignedBlock) Id

func (sb *SignedBlock) Id() common.BlockID

func (*SignedBlock) Marshall

func (sb *SignedBlock) Marshall() ([]byte, error)

func (*SignedBlock) Previous

func (sb *SignedBlock) Previous() common.BlockID

func (*SignedBlock) ProtoMessage

func (*SignedBlock) ProtoMessage()

func (*SignedBlock) Reset

func (m *SignedBlock) Reset()

func (*SignedBlock) String

func (m *SignedBlock) String() string

func (*SignedBlock) Timestamp

func (sb *SignedBlock) Timestamp() uint64

func (*SignedBlock) Unmarshall

func (sb *SignedBlock) Unmarshall(buff []byte) error

func (*SignedBlock) Validate added in v1.0.6

func (sb *SignedBlock) Validate() bool

func (*SignedBlock) XXX_DiscardUnknown

func (m *SignedBlock) XXX_DiscardUnknown()

func (*SignedBlock) XXX_Marshal

func (m *SignedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignedBlock) XXX_Merge

func (m *SignedBlock) XXX_Merge(src proto.Message)

func (*SignedBlock) XXX_Size

func (m *SignedBlock) XXX_Size() int

func (*SignedBlock) XXX_Unmarshal

func (m *SignedBlock) XXX_Unmarshal(b []byte) error

type SignedBlockHeader

type SignedBlockHeader struct {
	Header                 *BlockHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	BlockProducerSignature *SignatureType `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}       `json:"-"`
	XXX_unrecognized       []byte         `json:"-"`
	XXX_sizecache          int32          `json:"-"`
}

func (*SignedBlockHeader) Descriptor

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

func (*SignedBlockHeader) GetBlockProducerSignature added in v1.0.2

func (m *SignedBlockHeader) GetBlockProducerSignature() *SignatureType

func (*SignedBlockHeader) GetHeader

func (m *SignedBlockHeader) GetHeader() *BlockHeader

func (*SignedBlockHeader) GetSignee

func (sbh *SignedBlockHeader) GetSignee() (interface{}, error)

func (*SignedBlockHeader) Hash

func (sbh *SignedBlockHeader) Hash() (hash [Size]byte)

func (*SignedBlockHeader) Number

func (sbh *SignedBlockHeader) Number() uint64

func (*SignedBlockHeader) ProtoMessage

func (*SignedBlockHeader) ProtoMessage()

func (*SignedBlockHeader) Reset

func (m *SignedBlockHeader) Reset()

func (*SignedBlockHeader) Sign

func (sbh *SignedBlockHeader) Sign(secKey *PrivateKeyType) error

func (*SignedBlockHeader) String

func (m *SignedBlockHeader) String() string

func (*SignedBlockHeader) ValidateSig

func (sbh *SignedBlockHeader) ValidateSig(key *PublicKeyType) (bool, error)

func (*SignedBlockHeader) XXX_DiscardUnknown

func (m *SignedBlockHeader) XXX_DiscardUnknown()

func (*SignedBlockHeader) XXX_Marshal

func (m *SignedBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignedBlockHeader) XXX_Merge

func (m *SignedBlockHeader) XXX_Merge(src proto.Message)

func (*SignedBlockHeader) XXX_Size

func (m *SignedBlockHeader) XXX_Size() int

func (*SignedBlockHeader) XXX_Unmarshal

func (m *SignedBlockHeader) XXX_Unmarshal(b []byte) error

type SignedTransaction

type SignedTransaction struct {
	Trx                  *Transaction   `protobuf:"bytes,1,opt,name=trx,proto3" json:"trx,omitempty"`
	Signature            *SignatureType `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*SignedTransaction) Descriptor

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

func (*SignedTransaction) ExportPubKeys

func (p *SignedTransaction) ExportPubKeys(cid ChainId) (*PublicKeyType, error)

func (*SignedTransaction) GetAffectedProps added in v1.0.2

func (tx *SignedTransaction) GetAffectedProps(props *map[string]bool)

func (*SignedTransaction) GetOpCreatorsMap added in v1.0.2

func (tx *SignedTransaction) GetOpCreatorsMap() map[string]bool

func (*SignedTransaction) GetSignature added in v1.0.2

func (m *SignedTransaction) GetSignature() *SignatureType

func (*SignedTransaction) GetTrx

func (m *SignedTransaction) GetTrx() *Transaction

func (*SignedTransaction) Id

func (p *SignedTransaction) Id() (*Sha256, error)

func (*SignedTransaction) MerkleDigest

func (p *SignedTransaction) MerkleDigest() (*Sha256, error)

func (*SignedTransaction) ProtoMessage

func (*SignedTransaction) ProtoMessage()

func (*SignedTransaction) Reset

func (m *SignedTransaction) Reset()

func (*SignedTransaction) Sign

func (p *SignedTransaction) Sign(secKey *PrivateKeyType, cid ChainId) []byte

func (*SignedTransaction) String

func (m *SignedTransaction) String() string

func (*SignedTransaction) Validate

func (p *SignedTransaction) Validate() error

func (*SignedTransaction) VerifySig

func (p *SignedTransaction) VerifySig(pubKey *PublicKeyType, cid ChainId) bool

func (*SignedTransaction) XXX_DiscardUnknown

func (m *SignedTransaction) XXX_DiscardUnknown()

func (*SignedTransaction) XXX_Marshal

func (m *SignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignedTransaction) XXX_Merge

func (m *SignedTransaction) XXX_Merge(src proto.Message)

func (*SignedTransaction) XXX_Size

func (m *SignedTransaction) XXX_Size() int

func (*SignedTransaction) XXX_Unmarshal

func (m *SignedTransaction) XXX_Unmarshal(b []byte) error

type SkipFlag

type SkipFlag uint32
const (
	Skip_nothing                SkipFlag = 0
	Skip_transaction_signatures SkipFlag = 1 << 0
	Skip_apply_transaction      SkipFlag = 1 << 1
	Skip_block_check            SkipFlag = 1 << 2
	Skip_block_signatures       SkipFlag = 1 << 3
)

type StakeOperation added in v1.0.2

type StakeOperation struct {
	From                 *AccountName `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   *AccountName `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Amount               *Coin        `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*StakeOperation) Descriptor added in v1.0.2

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

func (*StakeOperation) GetAffectedProps added in v1.0.2

func (m *StakeOperation) GetAffectedProps(props *map[string]bool)

func (*StakeOperation) GetAmount added in v1.0.2

func (m *StakeOperation) GetAmount() *Coin

func (*StakeOperation) GetFrom added in v1.0.2

func (m *StakeOperation) GetFrom() *AccountName

func (*StakeOperation) GetSigner added in v1.0.2

func (m *StakeOperation) GetSigner(auths *map[string]bool)

func (*StakeOperation) GetTo added in v1.0.2

func (m *StakeOperation) GetTo() *AccountName

func (*StakeOperation) ProtoMessage added in v1.0.2

func (*StakeOperation) ProtoMessage()

func (*StakeOperation) Reset added in v1.0.2

func (m *StakeOperation) Reset()

func (*StakeOperation) String added in v1.0.2

func (m *StakeOperation) String() string

func (*StakeOperation) Validate added in v1.0.2

func (m *StakeOperation) Validate() error

func (*StakeOperation) XXX_DiscardUnknown added in v1.0.2

func (m *StakeOperation) XXX_DiscardUnknown()

func (*StakeOperation) XXX_Marshal added in v1.0.2

func (m *StakeOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeOperation) XXX_Merge added in v1.0.2

func (m *StakeOperation) XXX_Merge(src proto.Message)

func (*StakeOperation) XXX_Size added in v1.0.2

func (m *StakeOperation) XXX_Size() int

func (*StakeOperation) XXX_Unmarshal added in v1.0.2

func (m *StakeOperation) XXX_Unmarshal(b []byte) error

type StakeRecord added in v1.0.2

type StakeRecord struct {
	From                 *AccountName `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   *AccountName `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*StakeRecord) Descriptor added in v1.0.2

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

func (*StakeRecord) GetFrom added in v1.0.2

func (m *StakeRecord) GetFrom() *AccountName

func (*StakeRecord) GetTo added in v1.0.2

func (m *StakeRecord) GetTo() *AccountName

func (*StakeRecord) OpeEncode added in v1.0.2

func (m *StakeRecord) OpeEncode() ([]byte, error)

func (*StakeRecord) ProtoMessage added in v1.0.2

func (*StakeRecord) ProtoMessage()

func (*StakeRecord) Reset added in v1.0.2

func (m *StakeRecord) Reset()

func (*StakeRecord) String added in v1.0.2

func (m *StakeRecord) String() string

func (*StakeRecord) XXX_DiscardUnknown added in v1.0.2

func (m *StakeRecord) XXX_DiscardUnknown()

func (*StakeRecord) XXX_Marshal added in v1.0.2

func (m *StakeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeRecord) XXX_Merge added in v1.0.2

func (m *StakeRecord) XXX_Merge(src proto.Message)

func (*StakeRecord) XXX_Size added in v1.0.2

func (m *StakeRecord) XXX_Size() int

func (*StakeRecord) XXX_Unmarshal added in v1.0.2

func (m *StakeRecord) XXX_Unmarshal(b []byte) error

type StakeRecordReverse added in v1.0.2

type StakeRecordReverse struct {
	To                   *AccountName `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	From                 *AccountName `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*StakeRecordReverse) Descriptor added in v1.0.2

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

func (*StakeRecordReverse) GetFrom added in v1.0.2

func (m *StakeRecordReverse) GetFrom() *AccountName

func (*StakeRecordReverse) GetTo added in v1.0.2

func (m *StakeRecordReverse) GetTo() *AccountName

func (*StakeRecordReverse) OpeEncode added in v1.0.2

func (m *StakeRecordReverse) OpeEncode() ([]byte, error)

func (*StakeRecordReverse) ProtoMessage added in v1.0.2

func (*StakeRecordReverse) ProtoMessage()

func (*StakeRecordReverse) Reset added in v1.0.2

func (m *StakeRecordReverse) Reset()

func (*StakeRecordReverse) String added in v1.0.2

func (m *StakeRecordReverse) String() string

func (*StakeRecordReverse) XXX_DiscardUnknown added in v1.0.2

func (m *StakeRecordReverse) XXX_DiscardUnknown()

func (*StakeRecordReverse) XXX_Marshal added in v1.0.2

func (m *StakeRecordReverse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeRecordReverse) XXX_Merge added in v1.0.2

func (m *StakeRecordReverse) XXX_Merge(src proto.Message)

func (*StakeRecordReverse) XXX_Size added in v1.0.2

func (m *StakeRecordReverse) XXX_Size() int

func (*StakeRecordReverse) XXX_Unmarshal added in v1.0.2

func (m *StakeRecordReverse) XXX_Unmarshal(b []byte) error

type TimePointSec

type TimePointSec struct {
	UtcSeconds           uint32   `protobuf:"varint,1,opt,name=utc_seconds,json=utcSeconds,proto3" json:"utc_seconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewTimePointSec

func NewTimePointSec(value uint32) *TimePointSec

func TimePointSecFromString added in v1.0.2

func TimePointSecFromString(str string) (*TimePointSec, error)

func (TimePointSec) Add

func (m TimePointSec) Add(value uint32) TimePointSec

func (*TimePointSec) Descriptor

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

func (*TimePointSec) GetUtcSeconds

func (m *TimePointSec) GetUtcSeconds() uint32

func (*TimePointSec) MarshalJSON added in v1.0.2

func (m *TimePointSec) MarshalJSON() ([]byte, error)

func (*TimePointSec) OpeEncode

func (m *TimePointSec) OpeEncode() ([]byte, error)

func (*TimePointSec) ProtoMessage

func (*TimePointSec) ProtoMessage()

func (*TimePointSec) Reset

func (m *TimePointSec) Reset()

func (*TimePointSec) String

func (m *TimePointSec) String() string

func (*TimePointSec) ToString added in v1.0.2

func (m *TimePointSec) ToString() string

func (*TimePointSec) UnmarshalJSON added in v1.0.2

func (m *TimePointSec) UnmarshalJSON(input []byte) error

func (*TimePointSec) XXX_DiscardUnknown

func (m *TimePointSec) XXX_DiscardUnknown()

func (*TimePointSec) XXX_Marshal

func (m *TimePointSec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimePointSec) XXX_Merge

func (m *TimePointSec) XXX_Merge(src proto.Message)

func (*TimePointSec) XXX_Size

func (m *TimePointSec) XXX_Size() int

func (*TimePointSec) XXX_Unmarshal

func (m *TimePointSec) XXX_Unmarshal(b []byte) error

type Transaction

type Transaction struct {
	RefBlockNum          uint32        `protobuf:"varint,1,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty"`
	RefBlockPrefix       uint32        `protobuf:"varint,2,opt,name=ref_block_prefix,json=refBlockPrefix,proto3" json:"ref_block_prefix,omitempty"`
	Expiration           *TimePointSec `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
	Operations           []*Operation  `protobuf:"bytes,4,rep,name=operations,proto3" json:"operations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

transaction

func (*Transaction) AddOperation

func (m *Transaction) AddOperation(op interface{})

func (*Transaction) Descriptor

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

func (*Transaction) GetAffectedProps added in v1.0.2

func (tx *Transaction) GetAffectedProps(props *map[string]bool)

GetAffectedProps sets affected properties into given map.

func (*Transaction) GetExpiration

func (m *Transaction) GetExpiration() *TimePointSec

func (*Transaction) GetOperations

func (m *Transaction) GetOperations() []*Operation

func (*Transaction) GetRefBlockNum

func (m *Transaction) GetRefBlockNum() uint32

func (*Transaction) GetRefBlockPrefix

func (m *Transaction) GetRefBlockPrefix() uint32

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) SetReferenceBlock

func (m *Transaction) SetReferenceBlock(id *common.BlockID)

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) Validate

func (m *Transaction) Validate() error

func (*Transaction) XXX_DiscardUnknown

func (m *Transaction) XXX_DiscardUnknown()

func (*Transaction) XXX_Marshal

func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Transaction) XXX_Merge

func (m *Transaction) XXX_Merge(src proto.Message)

func (*Transaction) XXX_Size

func (m *Transaction) XXX_Size() int

func (*Transaction) XXX_Unmarshal

func (m *Transaction) XXX_Unmarshal(b []byte) error

type TransactionReceipt added in v1.0.2

type TransactionReceipt struct {
	Status               uint32   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	NetUsage             uint64   `protobuf:"varint,2,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"`
	CpuUsage             uint64   `protobuf:"varint,3,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TransactionReceipt) Descriptor added in v1.0.2

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

func (*TransactionReceipt) GetCpuUsage added in v1.0.2

func (m *TransactionReceipt) GetCpuUsage() uint64

func (*TransactionReceipt) GetNetUsage added in v1.0.2

func (m *TransactionReceipt) GetNetUsage() uint64

func (*TransactionReceipt) GetStatus added in v1.0.2

func (m *TransactionReceipt) GetStatus() uint32

func (*TransactionReceipt) ProtoMessage added in v1.0.2

func (*TransactionReceipt) ProtoMessage()

func (*TransactionReceipt) Reset added in v1.0.2

func (m *TransactionReceipt) Reset()

func (*TransactionReceipt) String added in v1.0.2

func (m *TransactionReceipt) String() string

func (*TransactionReceipt) XXX_DiscardUnknown added in v1.0.2

func (m *TransactionReceipt) XXX_DiscardUnknown()

func (*TransactionReceipt) XXX_Marshal added in v1.0.2

func (m *TransactionReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionReceipt) XXX_Merge added in v1.0.2

func (m *TransactionReceipt) XXX_Merge(src proto.Message)

func (*TransactionReceipt) XXX_Size added in v1.0.2

func (m *TransactionReceipt) XXX_Size() int

func (*TransactionReceipt) XXX_Unmarshal added in v1.0.2

func (m *TransactionReceipt) XXX_Unmarshal(b []byte) error

type TransactionReceiptWithInfo added in v1.0.2

type TransactionReceiptWithInfo struct {
	Status               uint32                      `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	NetUsage             uint64                      `protobuf:"varint,2,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"`
	CpuUsage             uint64                      `protobuf:"varint,3,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"`
	ErrorInfo            string                      `protobuf:"bytes,4,opt,name=error_info,json=errorInfo,proto3" json:"error_info,omitempty"`
	OpResults            []*OperationReceiptWithInfo `protobuf:"bytes,5,rep,name=op_results,json=opResults,proto3" json:"op_results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func FetchTrxApplyResult added in v1.0.2

func FetchTrxApplyResult(eb EventBus.Bus, timeout time.Duration, trx *SignedTransaction) *TransactionReceiptWithInfo

func FetchTrxFinalResult added in v1.0.2

func FetchTrxFinalResult(eb EventBus.Bus, timeout time.Duration, trx *SignedTransaction) (receipt *TransactionReceiptWithInfo, finality bool)

func (*TransactionReceiptWithInfo) Descriptor added in v1.0.2

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

func (*TransactionReceiptWithInfo) GetCpuUsage added in v1.0.2

func (m *TransactionReceiptWithInfo) GetCpuUsage() uint64

func (*TransactionReceiptWithInfo) GetErrorInfo added in v1.0.2

func (m *TransactionReceiptWithInfo) GetErrorInfo() string

func (*TransactionReceiptWithInfo) GetNetUsage added in v1.0.2

func (m *TransactionReceiptWithInfo) GetNetUsage() uint64

func (*TransactionReceiptWithInfo) GetOpResults added in v1.0.2

func (*TransactionReceiptWithInfo) GetStatus added in v1.0.2

func (m *TransactionReceiptWithInfo) GetStatus() uint32

func (*TransactionReceiptWithInfo) IsExecuted added in v1.0.2

func (m *TransactionReceiptWithInfo) IsExecuted() bool

func (*TransactionReceiptWithInfo) IsFailDeductStamina added in v1.0.2

func (m *TransactionReceiptWithInfo) IsFailDeductStamina() bool

func (*TransactionReceiptWithInfo) IsSuccess added in v1.0.2

func (m *TransactionReceiptWithInfo) IsSuccess() bool

func (*TransactionReceiptWithInfo) ProtoMessage added in v1.0.2

func (*TransactionReceiptWithInfo) ProtoMessage()

func (*TransactionReceiptWithInfo) Reset added in v1.0.2

func (m *TransactionReceiptWithInfo) Reset()

func (*TransactionReceiptWithInfo) String added in v1.0.2

func (m *TransactionReceiptWithInfo) String() string

func (*TransactionReceiptWithInfo) ToReceipt added in v1.0.2

func (*TransactionReceiptWithInfo) Validate added in v1.0.2

func (m *TransactionReceiptWithInfo) Validate() error

func (*TransactionReceiptWithInfo) XXX_DiscardUnknown added in v1.0.2

func (m *TransactionReceiptWithInfo) XXX_DiscardUnknown()

func (*TransactionReceiptWithInfo) XXX_Marshal added in v1.0.2

func (m *TransactionReceiptWithInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionReceiptWithInfo) XXX_Merge added in v1.0.2

func (m *TransactionReceiptWithInfo) XXX_Merge(src proto.Message)

func (*TransactionReceiptWithInfo) XXX_Size added in v1.0.2

func (m *TransactionReceiptWithInfo) XXX_Size() int

func (*TransactionReceiptWithInfo) XXX_Unmarshal added in v1.0.2

func (m *TransactionReceiptWithInfo) XXX_Unmarshal(b []byte) error

type TransactionWrapper

type TransactionWrapper struct {
	SigTrx               *SignedTransaction  `protobuf:"bytes,1,opt,name=sig_trx,json=sigTrx,proto3" json:"sig_trx,omitempty"`
	Receipt              *TransactionReceipt `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*TransactionWrapper) Descriptor

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

func (*TransactionWrapper) GetReceipt added in v1.0.2

func (m *TransactionWrapper) GetReceipt() *TransactionReceipt

func (*TransactionWrapper) GetSigTrx

func (m *TransactionWrapper) GetSigTrx() *SignedTransaction

func (*TransactionWrapper) ProtoMessage

func (*TransactionWrapper) ProtoMessage()

func (*TransactionWrapper) Reset

func (m *TransactionWrapper) Reset()

func (*TransactionWrapper) String

func (m *TransactionWrapper) String() string

func (*TransactionWrapper) XXX_DiscardUnknown

func (m *TransactionWrapper) XXX_DiscardUnknown()

func (*TransactionWrapper) XXX_Marshal

func (m *TransactionWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionWrapper) XXX_Merge

func (m *TransactionWrapper) XXX_Merge(src proto.Message)

func (*TransactionWrapper) XXX_Size

func (m *TransactionWrapper) XXX_Size() int

func (*TransactionWrapper) XXX_Unmarshal

func (m *TransactionWrapper) XXX_Unmarshal(b []byte) error

type TransactionWrapperWithInfo added in v1.0.2

type TransactionWrapperWithInfo struct {
	SigTrx               *SignedTransaction          `protobuf:"bytes,1,opt,name=sig_trx,json=sigTrx,proto3" json:"sig_trx,omitempty"`
	Receipt              *TransactionReceiptWithInfo `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*TransactionWrapperWithInfo) Descriptor added in v1.0.2

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

func (*TransactionWrapperWithInfo) GetReceipt added in v1.0.2

func (*TransactionWrapperWithInfo) GetSigTrx added in v1.0.2

func (*TransactionWrapperWithInfo) ProtoMessage added in v1.0.2

func (*TransactionWrapperWithInfo) ProtoMessage()

func (*TransactionWrapperWithInfo) Reset added in v1.0.2

func (m *TransactionWrapperWithInfo) Reset()

func (*TransactionWrapperWithInfo) String added in v1.0.2

func (m *TransactionWrapperWithInfo) String() string

func (*TransactionWrapperWithInfo) ToWrapper added in v1.0.2

func (*TransactionWrapperWithInfo) XXX_DiscardUnknown added in v1.0.2

func (m *TransactionWrapperWithInfo) XXX_DiscardUnknown()

func (*TransactionWrapperWithInfo) XXX_Marshal added in v1.0.2

func (m *TransactionWrapperWithInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionWrapperWithInfo) XXX_Merge added in v1.0.2

func (m *TransactionWrapperWithInfo) XXX_Merge(src proto.Message)

func (*TransactionWrapperWithInfo) XXX_Size added in v1.0.2

func (m *TransactionWrapperWithInfo) XXX_Size() int

func (*TransactionWrapperWithInfo) XXX_Unmarshal added in v1.0.2

func (m *TransactionWrapperWithInfo) XXX_Unmarshal(b []byte) error

type TransferOperation

type TransferOperation struct {
	From                 *AccountName `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   *AccountName `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Amount               *Coin        `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Memo                 string       `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*TransferOperation) Descriptor

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

func (*TransferOperation) GetAffectedProps added in v1.0.2

func (m *TransferOperation) GetAffectedProps(props *map[string]bool)

func (*TransferOperation) GetAmount

func (m *TransferOperation) GetAmount() *Coin

func (*TransferOperation) GetFrom

func (m *TransferOperation) GetFrom() *AccountName

func (*TransferOperation) GetMemo

func (m *TransferOperation) GetMemo() string

func (*TransferOperation) GetSigner added in v1.0.2

func (t *TransferOperation) GetSigner(auths *map[string]bool)

func (*TransferOperation) GetTo

func (m *TransferOperation) GetTo() *AccountName

func (*TransferOperation) ProtoMessage

func (*TransferOperation) ProtoMessage()

func (*TransferOperation) Reset

func (m *TransferOperation) Reset()

func (*TransferOperation) String

func (m *TransferOperation) String() string

func (*TransferOperation) Validate

func (t *TransferOperation) Validate() error

func (*TransferOperation) XXX_DiscardUnknown

func (m *TransferOperation) XXX_DiscardUnknown()

func (*TransferOperation) XXX_Marshal

func (m *TransferOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferOperation) XXX_Merge

func (m *TransferOperation) XXX_Merge(src proto.Message)

func (*TransferOperation) XXX_Size

func (m *TransferOperation) XXX_Size() int

func (*TransferOperation) XXX_Unmarshal

func (m *TransferOperation) XXX_Unmarshal(b []byte) error

type TransferToVestOperation added in v1.0.2

type TransferToVestOperation struct {
	From                 *AccountName `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   *AccountName `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Amount               *Coin        `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Memo                 string       `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*TransferToVestOperation) Descriptor added in v1.0.2

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

func (*TransferToVestOperation) GetAffectedProps added in v1.0.2

func (m *TransferToVestOperation) GetAffectedProps(props *map[string]bool)

func (*TransferToVestOperation) GetAmount added in v1.0.2

func (m *TransferToVestOperation) GetAmount() *Coin

func (*TransferToVestOperation) GetFrom added in v1.0.2

func (m *TransferToVestOperation) GetFrom() *AccountName

func (*TransferToVestOperation) GetMemo added in v1.0.2

func (m *TransferToVestOperation) GetMemo() string

func (*TransferToVestOperation) GetSigner added in v1.0.2

func (m *TransferToVestOperation) GetSigner(auths *map[string]bool)

func (*TransferToVestOperation) GetTo added in v1.0.2

func (*TransferToVestOperation) ProtoMessage added in v1.0.2

func (*TransferToVestOperation) ProtoMessage()

func (*TransferToVestOperation) Reset added in v1.0.2

func (m *TransferToVestOperation) Reset()

func (*TransferToVestOperation) String added in v1.0.2

func (m *TransferToVestOperation) String() string

func (*TransferToVestOperation) Validate added in v1.0.2

func (m *TransferToVestOperation) Validate() error

func (*TransferToVestOperation) XXX_DiscardUnknown added in v1.0.2

func (m *TransferToVestOperation) XXX_DiscardUnknown()

func (*TransferToVestOperation) XXX_Marshal added in v1.0.2

func (m *TransferToVestOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferToVestOperation) XXX_Merge added in v1.0.2

func (m *TransferToVestOperation) XXX_Merge(src proto.Message)

func (*TransferToVestOperation) XXX_Size added in v1.0.2

func (m *TransferToVestOperation) XXX_Size() int

func (*TransferToVestOperation) XXX_Unmarshal added in v1.0.2

func (m *TransferToVestOperation) XXX_Unmarshal(b []byte) error

type UnDelegateVestOperation added in v1.0.8

type UnDelegateVestOperation struct {
	Account              *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	OrderId              uint64       `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*UnDelegateVestOperation) Descriptor added in v1.0.8

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

func (*UnDelegateVestOperation) GetAccount added in v1.0.8

func (m *UnDelegateVestOperation) GetAccount() *AccountName

func (*UnDelegateVestOperation) GetAffectedProps added in v1.0.8

func (m *UnDelegateVestOperation) GetAffectedProps(props *map[string]bool)

func (*UnDelegateVestOperation) GetOrderId added in v1.0.8

func (m *UnDelegateVestOperation) GetOrderId() uint64

func (*UnDelegateVestOperation) GetSigner added in v1.0.8

func (m *UnDelegateVestOperation) GetSigner(auths *map[string]bool)

func (*UnDelegateVestOperation) ProtoMessage added in v1.0.8

func (*UnDelegateVestOperation) ProtoMessage()

func (*UnDelegateVestOperation) Reset added in v1.0.8

func (m *UnDelegateVestOperation) Reset()

func (*UnDelegateVestOperation) String added in v1.0.8

func (m *UnDelegateVestOperation) String() string

func (*UnDelegateVestOperation) Validate added in v1.0.8

func (m *UnDelegateVestOperation) Validate() error

func (*UnDelegateVestOperation) XXX_DiscardUnknown added in v1.0.8

func (m *UnDelegateVestOperation) XXX_DiscardUnknown()

func (*UnDelegateVestOperation) XXX_Marshal added in v1.0.8

func (m *UnDelegateVestOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnDelegateVestOperation) XXX_Merge added in v1.0.8

func (m *UnDelegateVestOperation) XXX_Merge(src proto.Message)

func (*UnDelegateVestOperation) XXX_Size added in v1.0.8

func (m *UnDelegateVestOperation) XXX_Size() int

func (*UnDelegateVestOperation) XXX_Unmarshal added in v1.0.8

func (m *UnDelegateVestOperation) XXX_Unmarshal(b []byte) error

type UnStakeOperation added in v1.0.2

type UnStakeOperation struct {
	Creditor             *AccountName `protobuf:"bytes,1,opt,name=creditor,proto3" json:"creditor,omitempty"`
	Debtor               *AccountName `protobuf:"bytes,2,opt,name=debtor,proto3" json:"debtor,omitempty"`
	Amount               *Coin        `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*UnStakeOperation) Descriptor added in v1.0.2

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

func (*UnStakeOperation) GetAffectedProps added in v1.0.2

func (m *UnStakeOperation) GetAffectedProps(props *map[string]bool)

func (*UnStakeOperation) GetAmount added in v1.0.2

func (m *UnStakeOperation) GetAmount() *Coin

func (*UnStakeOperation) GetCreditor added in v1.0.2

func (m *UnStakeOperation) GetCreditor() *AccountName

func (*UnStakeOperation) GetDebtor added in v1.0.2

func (m *UnStakeOperation) GetDebtor() *AccountName

func (*UnStakeOperation) GetSigner added in v1.0.2

func (m *UnStakeOperation) GetSigner(auths *map[string]bool)

func (*UnStakeOperation) ProtoMessage added in v1.0.2

func (*UnStakeOperation) ProtoMessage()

func (*UnStakeOperation) Reset added in v1.0.2

func (m *UnStakeOperation) Reset()

func (*UnStakeOperation) String added in v1.0.2

func (m *UnStakeOperation) String() string

func (*UnStakeOperation) Validate added in v1.0.2

func (m *UnStakeOperation) Validate() error

func (*UnStakeOperation) XXX_DiscardUnknown added in v1.0.2

func (m *UnStakeOperation) XXX_DiscardUnknown()

func (*UnStakeOperation) XXX_Marshal added in v1.0.2

func (m *UnStakeOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnStakeOperation) XXX_Merge added in v1.0.2

func (m *UnStakeOperation) XXX_Merge(src proto.Message)

func (*UnStakeOperation) XXX_Size added in v1.0.2

func (m *UnStakeOperation) XXX_Size() int

func (*UnStakeOperation) XXX_Unmarshal added in v1.0.2

func (m *UnStakeOperation) XXX_Unmarshal(b []byte) error

type UserPostCreateOrder added in v1.0.2

type UserPostCreateOrder struct {
	Author               *AccountName  `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
	Create               *TimePointSec `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*UserPostCreateOrder) Descriptor added in v1.0.2

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

func (*UserPostCreateOrder) GetAuthor added in v1.0.2

func (m *UserPostCreateOrder) GetAuthor() *AccountName

func (*UserPostCreateOrder) GetCreate added in v1.0.2

func (m *UserPostCreateOrder) GetCreate() *TimePointSec

func (*UserPostCreateOrder) OpeEncode added in v1.0.2

func (m *UserPostCreateOrder) OpeEncode() ([]byte, error)

func (*UserPostCreateOrder) ProtoMessage added in v1.0.2

func (*UserPostCreateOrder) ProtoMessage()

func (*UserPostCreateOrder) Reset added in v1.0.2

func (m *UserPostCreateOrder) Reset()

func (*UserPostCreateOrder) String added in v1.0.2

func (m *UserPostCreateOrder) String() string

func (*UserPostCreateOrder) XXX_DiscardUnknown added in v1.0.2

func (m *UserPostCreateOrder) XXX_DiscardUnknown()

func (*UserPostCreateOrder) XXX_Marshal added in v1.0.2

func (m *UserPostCreateOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserPostCreateOrder) XXX_Merge added in v1.0.2

func (m *UserPostCreateOrder) XXX_Merge(src proto.Message)

func (*UserPostCreateOrder) XXX_Size added in v1.0.2

func (m *UserPostCreateOrder) XXX_Size() int

func (*UserPostCreateOrder) XXX_Unmarshal added in v1.0.2

func (m *UserPostCreateOrder) XXX_Unmarshal(b []byte) error

type UserTrxCreateOrder added in v1.0.2

type UserTrxCreateOrder struct {
	Creator              *AccountName  `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	CreateTime           *TimePointSec `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*UserTrxCreateOrder) Descriptor added in v1.0.2

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

func (*UserTrxCreateOrder) GetCreateTime added in v1.0.2

func (m *UserTrxCreateOrder) GetCreateTime() *TimePointSec

func (*UserTrxCreateOrder) GetCreator added in v1.0.2

func (m *UserTrxCreateOrder) GetCreator() *AccountName

func (*UserTrxCreateOrder) OpeEncode added in v1.0.2

func (m *UserTrxCreateOrder) OpeEncode() ([]byte, error)

func (*UserTrxCreateOrder) ProtoMessage added in v1.0.2

func (*UserTrxCreateOrder) ProtoMessage()

func (*UserTrxCreateOrder) Reset added in v1.0.2

func (m *UserTrxCreateOrder) Reset()

func (*UserTrxCreateOrder) String added in v1.0.2

func (m *UserTrxCreateOrder) String() string

func (*UserTrxCreateOrder) XXX_DiscardUnknown added in v1.0.2

func (m *UserTrxCreateOrder) XXX_DiscardUnknown()

func (*UserTrxCreateOrder) XXX_Marshal added in v1.0.2

func (m *UserTrxCreateOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserTrxCreateOrder) XXX_Merge added in v1.0.2

func (m *UserTrxCreateOrder) XXX_Merge(src proto.Message)

func (*UserTrxCreateOrder) XXX_Size added in v1.0.2

func (m *UserTrxCreateOrder) XXX_Size() int

func (*UserTrxCreateOrder) XXX_Unmarshal added in v1.0.2

func (m *UserTrxCreateOrder) XXX_Unmarshal(b []byte) error

type Vest

type Vest struct {
	Value                uint64   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewVest

func NewVest(value uint64) *Vest

func (*Vest) Add

func (m *Vest) Add(o *Vest) *Vest

func (*Vest) Descriptor

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

func (*Vest) GetValue

func (m *Vest) GetValue() uint64

func (*Vest) MarshalJSON added in v1.0.2

func (m *Vest) MarshalJSON() ([]byte, error)

func (*Vest) Mul added in v1.0.2

func (m *Vest) Mul(c uint64) *Vest

func (*Vest) OpeEncode

func (m *Vest) OpeEncode() ([]byte, error)

func (*Vest) ProtoMessage

func (*Vest) ProtoMessage()

func (*Vest) Reset

func (m *Vest) Reset()

func (*Vest) String

func (m *Vest) String() string

func (*Vest) Sub

func (m *Vest) Sub(o *Vest) *Vest

func (*Vest) ToCoin

func (m *Vest) ToCoin() *Coin

func (*Vest) ToString added in v1.0.2

func (m *Vest) ToString() string

func (*Vest) UnmarshalJSON added in v1.0.2

func (m *Vest) UnmarshalJSON(input []byte) error

func (*Vest) XXX_DiscardUnknown

func (m *Vest) XXX_DiscardUnknown()

func (*Vest) XXX_Marshal

func (m *Vest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Vest) XXX_Merge

func (m *Vest) XXX_Merge(src proto.Message)

func (*Vest) XXX_Size

func (m *Vest) XXX_Size() int

func (*Vest) XXX_Unmarshal

func (m *Vest) XXX_Unmarshal(b []byte) error

type VoteByTicketOperation added in v1.0.2

type VoteByTicketOperation struct {
	Account              *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Idx                  uint64       `protobuf:"varint,2,opt,name=idx,proto3" json:"idx,omitempty"`
	Count                uint64       `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*VoteByTicketOperation) Descriptor added in v1.0.2

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

func (*VoteByTicketOperation) GetAccount added in v1.0.2

func (m *VoteByTicketOperation) GetAccount() *AccountName

func (*VoteByTicketOperation) GetAffectedProps added in v1.0.2

func (a *VoteByTicketOperation) GetAffectedProps(props *map[string]bool)

func (*VoteByTicketOperation) GetCount added in v1.0.2

func (m *VoteByTicketOperation) GetCount() uint64

func (*VoteByTicketOperation) GetIdx added in v1.0.2

func (m *VoteByTicketOperation) GetIdx() uint64

func (*VoteByTicketOperation) GetSigner added in v1.0.2

func (a *VoteByTicketOperation) GetSigner(auths *map[string]bool)

func (*VoteByTicketOperation) ProtoMessage added in v1.0.2

func (*VoteByTicketOperation) ProtoMessage()

func (*VoteByTicketOperation) Reset added in v1.0.2

func (m *VoteByTicketOperation) Reset()

func (*VoteByTicketOperation) String added in v1.0.2

func (m *VoteByTicketOperation) String() string

func (*VoteByTicketOperation) Validate added in v1.0.2

func (a *VoteByTicketOperation) Validate() error

func (*VoteByTicketOperation) XXX_DiscardUnknown added in v1.0.2

func (m *VoteByTicketOperation) XXX_DiscardUnknown()

func (*VoteByTicketOperation) XXX_Marshal added in v1.0.2

func (m *VoteByTicketOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VoteByTicketOperation) XXX_Merge added in v1.0.2

func (m *VoteByTicketOperation) XXX_Merge(src proto.Message)

func (*VoteByTicketOperation) XXX_Size added in v1.0.2

func (m *VoteByTicketOperation) XXX_Size() int

func (*VoteByTicketOperation) XXX_Unmarshal added in v1.0.2

func (m *VoteByTicketOperation) XXX_Unmarshal(b []byte) error

type VoteOperation

type VoteOperation struct {
	Voter                *AccountName `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
	Idx                  uint64       `protobuf:"varint,2,opt,name=idx,proto3" json:"idx,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*VoteOperation) Descriptor

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

func (*VoteOperation) GetAffectedProps added in v1.0.2

func (m *VoteOperation) GetAffectedProps(props *map[string]bool)

func (*VoteOperation) GetIdx

func (m *VoteOperation) GetIdx() uint64

func (*VoteOperation) GetSigner added in v1.0.2

func (m *VoteOperation) GetSigner(auths *map[string]bool)

func (*VoteOperation) GetVoter

func (m *VoteOperation) GetVoter() *AccountName

func (*VoteOperation) ProtoMessage

func (*VoteOperation) ProtoMessage()

func (*VoteOperation) Reset

func (m *VoteOperation) Reset()

func (*VoteOperation) String

func (m *VoteOperation) String() string

func (*VoteOperation) Validate

func (m *VoteOperation) Validate() error

func (*VoteOperation) XXX_DiscardUnknown

func (m *VoteOperation) XXX_DiscardUnknown()

func (*VoteOperation) XXX_Marshal

func (m *VoteOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VoteOperation) XXX_Merge

func (m *VoteOperation) XXX_Merge(src proto.Message)

func (*VoteOperation) XXX_Size

func (m *VoteOperation) XXX_Size() int

func (*VoteOperation) XXX_Unmarshal

func (m *VoteOperation) XXX_Unmarshal(b []byte) error

type VoterId

type VoterId struct {
	Voter                *AccountName `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
	PostId               uint64       `protobuf:"varint,2,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*VoterId) Descriptor

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

func (*VoterId) GetPostId

func (m *VoterId) GetPostId() uint64

func (*VoterId) GetVoter

func (m *VoterId) GetVoter() *AccountName

func (*VoterId) OpeEncode

func (m *VoterId) OpeEncode() ([]byte, error)

func (*VoterId) ProtoMessage

func (*VoterId) ProtoMessage()

func (*VoterId) Reset

func (m *VoterId) Reset()

func (*VoterId) String

func (m *VoterId) String() string

func (*VoterId) XXX_DiscardUnknown

func (m *VoterId) XXX_DiscardUnknown()

func (*VoterId) XXX_Marshal

func (m *VoterId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VoterId) XXX_Merge

func (m *VoterId) XXX_Merge(src proto.Message)

func (*VoterId) XXX_Size

func (m *VoterId) XXX_Size() int

func (*VoterId) XXX_Unmarshal

func (m *VoterId) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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