protocol_core

package
v0.5.16-pre1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountType_name = map[int32]string{
	0: "Normal",
	1: "AssetIssue",
	2: "Contract",
}
View Source
var AccountType_value = map[string]int32{
	"Normal":     0,
	"AssetIssue": 1,
	"Contract":   2,
}
View Source
var BlockInventory_Type_name = map[int32]string{
	0: "SYNC",
	1: "ADVTISE",
	2: "FETCH",
}
View Source
var BlockInventory_Type_value = map[string]int32{
	"SYNC":    0,
	"ADVTISE": 1,
	"FETCH":   2,
}
View Source
var Inventory_InventoryType_name = map[int32]string{
	0: "TRX",
	1: "BLOCK",
}
View Source
var Inventory_InventoryType_value = map[string]int32{
	"TRX":   0,
	"BLOCK": 1,
}
View Source
var Items_ItemType_name = map[int32]string{
	0: "ERR",
	1: "TRX",
	2: "BLOCK",
	3: "BLOCKHEADER",
}
View Source
var Items_ItemType_value = map[string]int32{
	"ERR":         0,
	"TRX":         1,
	"BLOCK":       2,
	"BLOCKHEADER": 3,
}
View Source
var Proposal_State_name = map[int32]string{
	0: "PENDING",
	1: "DISAPPROVED",
	2: "APPROVED",
	3: "CANCELED",
}
View Source
var Proposal_State_value = map[string]int32{
	"PENDING":     0,
	"DISAPPROVED": 1,
	"APPROVED":    2,
	"CANCELED":    3,
}
View Source
var ReasonCode_name = map[int32]string{
	0:   "REQUESTED",
	2:   "BAD_PROTOCOL",
	4:   "TOO_MANY_PEERS",
	5:   "DUPLICATE_PEER",
	6:   "INCOMPATIBLE_PROTOCOL",
	7:   "NULL_IDENTITY",
	8:   "PEER_QUITING",
	9:   "UNEXPECTED_IDENTITY",
	10:  "LOCAL_IDENTITY",
	11:  "PING_TIMEOUT",
	16:  "USER_REASON",
	17:  "RESET",
	18:  "SYNC_FAIL",
	19:  "FETCH_FAIL",
	20:  "BAD_TX",
	21:  "BAD_BLOCK",
	22:  "FORKED",
	23:  "UNLINKABLE",
	24:  "INCOMPATIBLE_VERSION",
	25:  "INCOMPATIBLE_CHAIN",
	32:  "TIME_OUT",
	33:  "CONNECT_FAIL",
	34:  "TOO_MANY_PEERS_WITH_SAME_IP",
	255: "UNKNOWN",
}
View Source
var ReasonCode_value = map[string]int32{
	"REQUESTED":                   0,
	"BAD_PROTOCOL":                2,
	"TOO_MANY_PEERS":              4,
	"DUPLICATE_PEER":              5,
	"INCOMPATIBLE_PROTOCOL":       6,
	"NULL_IDENTITY":               7,
	"PEER_QUITING":                8,
	"UNEXPECTED_IDENTITY":         9,
	"LOCAL_IDENTITY":              10,
	"PING_TIMEOUT":                11,
	"USER_REASON":                 16,
	"RESET":                       17,
	"SYNC_FAIL":                   18,
	"FETCH_FAIL":                  19,
	"BAD_TX":                      20,
	"BAD_BLOCK":                   21,
	"FORKED":                      22,
	"UNLINKABLE":                  23,
	"INCOMPATIBLE_VERSION":        24,
	"INCOMPATIBLE_CHAIN":          25,
	"TIME_OUT":                    32,
	"CONNECT_FAIL":                33,
	"TOO_MANY_PEERS_WITH_SAME_IP": 34,
	"UNKNOWN":                     255,
}
View Source
var ResourceCode_name = map[int32]string{
	0: "BANDWIDTH",
	1: "ENERGY",
}
View Source
var ResourceCode_value = map[string]int32{
	"BANDWIDTH": 0,
	"ENERGY":    1,
}
View Source
var SmartContract_ABI_Entry_EntryType_name = map[int32]string{
	0: "UnknownEntryType",
	1: "Constructor",
	2: "Function",
	3: "Event",
	4: "Fallback",
}
View Source
var SmartContract_ABI_Entry_EntryType_value = map[string]int32{
	"UnknownEntryType": 0,
	"Constructor":      1,
	"Function":         2,
	"Event":            3,
	"Fallback":         4,
}
View Source
var SmartContract_ABI_Entry_StateMutabilityType_name = map[int32]string{
	0: "UnknownMutabilityType",
	1: "Pure",
	2: "View",
	3: "Nonpayable",
	4: "Payable",
}
View Source
var SmartContract_ABI_Entry_StateMutabilityType_value = map[string]int32{
	"UnknownMutabilityType": 0,
	"Pure":                  1,
	"View":                  2,
	"Nonpayable":            3,
	"Payable":               4,
}
View Source
var TransactionInfoCode_name = map[int32]string{
	0: "SUCESS",
	1: "FAILED",
}
View Source
var TransactionInfoCode_value = map[string]int32{
	"SUCESS": 0,
	"FAILED": 1,
}
View Source
var Transaction_Contract_ContractType_name = map[int32]string{
	0:  "AccountCreateContract",
	1:  "TransferContract",
	2:  "TransferAssetContract",
	3:  "VoteAssetContract",
	4:  "VoteWitnessContract",
	5:  "WitnessCreateContract",
	6:  "AssetIssueContract",
	8:  "WitnessUpdateContract",
	9:  "ParticipateAssetIssueContract",
	10: "AccountUpdateContract",
	11: "FreezeBalanceContract",
	12: "UnfreezeBalanceContract",
	13: "WithdrawBalanceContract",
	14: "UnfreezeAssetContract",
	15: "UpdateAssetContract",
	16: "ProposalCreateContract",
	17: "ProposalApproveContract",
	18: "ProposalDeleteContract",
	19: "SetAccountIdContract",
	20: "CustomContract",
	30: "CreateSmartContract",
	31: "TriggerSmartContract",
	32: "GetContract",
	33: "UpdateSettingContract",
	41: "ExchangeCreateContract",
	42: "ExchangeInjectContract",
	43: "ExchangeWithdrawContract",
	44: "ExchangeTransactionContract",
	45: "UpdateEnergyLimitContract",
}
View Source
var Transaction_Contract_ContractType_value = map[string]int32{
	"AccountCreateContract":         0,
	"TransferContract":              1,
	"TransferAssetContract":         2,
	"VoteAssetContract":             3,
	"VoteWitnessContract":           4,
	"WitnessCreateContract":         5,
	"AssetIssueContract":            6,
	"WitnessUpdateContract":         8,
	"ParticipateAssetIssueContract": 9,
	"AccountUpdateContract":         10,
	"FreezeBalanceContract":         11,
	"UnfreezeBalanceContract":       12,
	"WithdrawBalanceContract":       13,
	"UnfreezeAssetContract":         14,
	"UpdateAssetContract":           15,
	"ProposalCreateContract":        16,
	"ProposalApproveContract":       17,
	"ProposalDeleteContract":        18,
	"SetAccountIdContract":          19,
	"CustomContract":                20,
	"CreateSmartContract":           30,
	"TriggerSmartContract":          31,
	"GetContract":                   32,
	"UpdateSettingContract":         33,
	"ExchangeCreateContract":        41,
	"ExchangeInjectContract":        42,
	"ExchangeWithdrawContract":      43,
	"ExchangeTransactionContract":   44,
	"UpdateEnergyLimitContract":     45,
}
View Source
var Transaction_ResultCode_name = map[int32]string{
	0: "SUCESS",
	1: "FAILED",
}
View Source
var Transaction_ResultCode_value = map[string]int32{
	"SUCESS": 0,
	"FAILED": 1,
}
View Source
var Transaction_ResultContractResult_name = map[int32]string{
	0:  "DEFAULT",
	1:  "SUCCESS",
	2:  "REVERT",
	3:  "BAD_JUMP_DESTINATION",
	4:  "OUT_OF_MEMORY",
	5:  "PRECOMPILED_CONTRACT",
	6:  "STACK_TOO_SMALL",
	7:  "STACK_TOO_LARGE",
	8:  "ILLEGAL_OPERATION",
	9:  "STACK_OVERFLOW",
	10: "OUT_OF_ENERGY",
	11: "OUT_OF_TIME",
	12: "JVM_STACK_OVER_FLOW",
	13: "UNKNOWN",
}
View Source
var Transaction_ResultContractResult_value = map[string]int32{
	"DEFAULT":              0,
	"SUCCESS":              1,
	"REVERT":               2,
	"BAD_JUMP_DESTINATION": 3,
	"OUT_OF_MEMORY":        4,
	"PRECOMPILED_CONTRACT": 5,
	"STACK_TOO_SMALL":      6,
	"STACK_TOO_LARGE":      7,
	"ILLEGAL_OPERATION":    8,
	"STACK_OVERFLOW":       9,
	"OUT_OF_ENERGY":        10,
	"OUT_OF_TIME":          11,
	"JVM_STACK_OVER_FLOW":  12,
	"UNKNOWN":              13,
}

Functions

This section is empty.

Types

type Account

type Account struct {
	// account nick name
	AccountName []byte      `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty" pg:"account_name"`
	Type        AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty" pg:"type"`
	// the create address
	Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty" pg:"address"`
	// the trx balance
	Balance int64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty" pg:"balance"`
	// the votes
	Votes []*Vote `protobuf:"bytes,5,rep,name=votes,proto3" json:"votes,omitempty" pg:"votes"`
	// the other asset owned by this account
	Asset map[string]int64 `` /* 163-byte string literal not displayed */
	// the other asset owned by this account,key is assetId
	AssetV2 map[string]int64 `` /* 170-byte string literal not displayed */
	// the frozen balance for bandwidth
	Frozen []*Account_Frozen `protobuf:"bytes,7,rep,name=frozen,proto3" json:"frozen,omitempty" pg:"frozen"`
	// bandwidth, get from frozen
	NetUsage int64 `protobuf:"varint,8,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty" pg:"net_usage"`
	//Frozen balance provided by other accounts to this account
	AcquiredDelegatedFrozenBalanceForBandwidth int64 `` /* 250-byte string literal not displayed */
	//Freeze and provide balances to other accounts
	DelegatedFrozenBalanceForBandwidth int64 `` /* 215-byte string literal not displayed */
	// this account create time
	CreateTime int64 `protobuf:"varint,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" pg:"create_time"`
	// this last operation time, including transfer, voting and so on. //FIXME fix grammar
	LatestOprationTime int64 `` /* 145-byte string literal not displayed */
	// witness block producing allowance
	Allowance int64 `protobuf:"varint,11,opt,name=allowance,proto3" json:"allowance,omitempty" pg:"allowance"`
	// last withdraw time
	LatestWithdrawTime int64 `` /* 145-byte string literal not displayed */
	// not used so far
	Code        []byte `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty" pg:"code"`
	IsWitness   bool   `protobuf:"varint,14,opt,name=is_witness,json=isWitness,proto3" json:"is_witness,omitempty" pg:"is_witness"`
	IsCommittee bool   `protobuf:"varint,15,opt,name=is_committee,json=isCommittee,proto3" json:"is_committee,omitempty" pg:"is_committee"`
	// frozen asset(for asset issuer)
	FrozenSupply []*Account_Frozen `protobuf:"bytes,16,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty" pg:"frozen_supply"`
	// asset_issued_name
	AssetIssuedName            []byte           `` /* 132-byte string literal not displayed */
	AssetIssued_ID             []byte           `protobuf:"bytes,57,opt,name=asset_issued_ID,json=assetIssuedID,proto3" json:"asset_issued_ID,omitempty" pg:"asset_issued_ID"`
	LatestAssetOperationTime   map[string]int64 `` /* 260-byte string literal not displayed */
	LatestAssetOperationTimeV2 map[string]int64 `` /* 268-byte string literal not displayed */
	FreeNetUsage               int64            `protobuf:"varint,19,opt,name=free_net_usage,json=freeNetUsage,proto3" json:"free_net_usage,omitempty" pg:"free_net_usage"`
	FreeAssetNetUsage          map[string]int64 `` /* 232-byte string literal not displayed */
	FreeAssetNetUsageV2        map[string]int64 `` /* 240-byte string literal not displayed */
	LatestConsumeTime          int64            `` /* 141-byte string literal not displayed */
	LatestConsumeFreeTime      int64            `` /* 160-byte string literal not displayed */
	// the identity of this account, case insensitive
	AccountId            []byte                   `protobuf:"bytes,23,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty" pg:"account_id"`
	AccountResource      *Account_AccountResource `` /* 129-byte string literal not displayed */
	CodeHash             []byte                   `protobuf:"bytes,30,opt,name=codeHash,proto3" json:"codeHash,omitempty" pg:"codeHash"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-" pg:"-"`
	XXX_unrecognized     []byte                   `json:"-" pg:"-"`
	XXX_sizecache        int32                    `json:"-" pg:"-"`
}

Account

func (*Account) Descriptor

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

func (*Account) GetAccountId

func (m *Account) GetAccountId() []byte

func (*Account) GetAccountName

func (m *Account) GetAccountName() []byte

func (*Account) GetAccountResource

func (m *Account) GetAccountResource() *Account_AccountResource

func (*Account) GetAcquiredDelegatedFrozenBalanceForBandwidth

func (m *Account) GetAcquiredDelegatedFrozenBalanceForBandwidth() int64

func (*Account) GetAddress

func (m *Account) GetAddress() []byte

func (*Account) GetAllowance

func (m *Account) GetAllowance() int64

func (*Account) GetAsset

func (m *Account) GetAsset() map[string]int64

func (*Account) GetAssetIssuedName

func (m *Account) GetAssetIssuedName() []byte

func (*Account) GetAssetIssued_ID

func (m *Account) GetAssetIssued_ID() []byte

func (*Account) GetAssetV2

func (m *Account) GetAssetV2() map[string]int64

func (*Account) GetBalance

func (m *Account) GetBalance() int64

func (*Account) GetCode

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

func (*Account) GetCodeHash

func (m *Account) GetCodeHash() []byte

func (*Account) GetCreateTime

func (m *Account) GetCreateTime() int64

func (*Account) GetDelegatedFrozenBalanceForBandwidth

func (m *Account) GetDelegatedFrozenBalanceForBandwidth() int64

func (*Account) GetFreeAssetNetUsage

func (m *Account) GetFreeAssetNetUsage() map[string]int64

func (*Account) GetFreeAssetNetUsageV2

func (m *Account) GetFreeAssetNetUsageV2() map[string]int64

func (*Account) GetFreeNetUsage

func (m *Account) GetFreeNetUsage() int64

func (*Account) GetFrozen

func (m *Account) GetFrozen() []*Account_Frozen

func (*Account) GetFrozenSupply

func (m *Account) GetFrozenSupply() []*Account_Frozen

func (*Account) GetIsCommittee

func (m *Account) GetIsCommittee() bool

func (*Account) GetIsWitness

func (m *Account) GetIsWitness() bool

func (*Account) GetLatestAssetOperationTime

func (m *Account) GetLatestAssetOperationTime() map[string]int64

func (*Account) GetLatestAssetOperationTimeV2

func (m *Account) GetLatestAssetOperationTimeV2() map[string]int64

func (*Account) GetLatestConsumeFreeTime

func (m *Account) GetLatestConsumeFreeTime() int64

func (*Account) GetLatestConsumeTime

func (m *Account) GetLatestConsumeTime() int64

func (*Account) GetLatestOprationTime

func (m *Account) GetLatestOprationTime() int64

func (*Account) GetLatestWithdrawTime

func (m *Account) GetLatestWithdrawTime() int64

func (*Account) GetNetUsage

func (m *Account) GetNetUsage() int64

func (*Account) GetType

func (m *Account) GetType() AccountType

func (*Account) GetVotes

func (m *Account) GetVotes() []*Vote

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

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

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type AccountCreateContract

type AccountCreateContract struct {
	OwnerAddress         []byte      `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	AccountAddress       []byte      `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty" pg:"account_address"`
	Type                 AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty" pg:"type"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-" pg:"-"`
	XXX_unrecognized     []byte      `json:"-" pg:"-"`
	XXX_sizecache        int32       `json:"-" pg:"-"`
}

func (*AccountCreateContract) Descriptor

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

func (*AccountCreateContract) GetAccountAddress

func (m *AccountCreateContract) GetAccountAddress() []byte

func (*AccountCreateContract) GetOwnerAddress

func (m *AccountCreateContract) GetOwnerAddress() []byte

func (*AccountCreateContract) GetType

func (m *AccountCreateContract) GetType() AccountType

func (*AccountCreateContract) ProtoMessage

func (*AccountCreateContract) ProtoMessage()

func (*AccountCreateContract) Reset

func (m *AccountCreateContract) Reset()

func (*AccountCreateContract) String

func (m *AccountCreateContract) String() string

func (*AccountCreateContract) XXX_DiscardUnknown

func (m *AccountCreateContract) XXX_DiscardUnknown()

func (*AccountCreateContract) XXX_Marshal

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

func (*AccountCreateContract) XXX_Merge

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

func (*AccountCreateContract) XXX_Size

func (m *AccountCreateContract) XXX_Size() int

func (*AccountCreateContract) XXX_Unmarshal

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

type AccountId

type AccountId struct {
	Name                 []byte   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" pg:"name"`
	Address              []byte   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" pg:"address"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

AccountId, (name, address) use name, (null, address) use address, (name, null) use name,

func (*AccountId) Descriptor

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

func (*AccountId) GetAddress

func (m *AccountId) GetAddress() []byte

func (*AccountId) GetName

func (m *AccountId) GetName() []byte

func (*AccountId) ProtoMessage

func (*AccountId) ProtoMessage()

func (*AccountId) Reset

func (m *AccountId) Reset()

func (*AccountId) String

func (m *AccountId) String() string

func (*AccountId) XXX_DiscardUnknown

func (m *AccountId) XXX_DiscardUnknown()

func (*AccountId) XXX_Marshal

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

func (*AccountId) XXX_Merge

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

func (*AccountId) XXX_Size

func (m *AccountId) XXX_Size() int

func (*AccountId) XXX_Unmarshal

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

type AccountType

type AccountType int32
const (
	AccountType_Normal     AccountType = 0
	AccountType_AssetIssue AccountType = 1
	AccountType_Contract   AccountType = 2
)

func (AccountType) EnumDescriptor

func (AccountType) EnumDescriptor() ([]byte, []int)

func (AccountType) String

func (x AccountType) String() string

type AccountUpdateContract

type AccountUpdateContract struct {
	AccountName          []byte   `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty" pg:"account_name"`
	OwnerAddress         []byte   `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

Update account name. Account name is not unique now.

func (*AccountUpdateContract) Descriptor

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

func (*AccountUpdateContract) GetAccountName

func (m *AccountUpdateContract) GetAccountName() []byte

func (*AccountUpdateContract) GetOwnerAddress

func (m *AccountUpdateContract) GetOwnerAddress() []byte

func (*AccountUpdateContract) ProtoMessage

func (*AccountUpdateContract) ProtoMessage()

func (*AccountUpdateContract) Reset

func (m *AccountUpdateContract) Reset()

func (*AccountUpdateContract) String

func (m *AccountUpdateContract) String() string

func (*AccountUpdateContract) XXX_DiscardUnknown

func (m *AccountUpdateContract) XXX_DiscardUnknown()

func (*AccountUpdateContract) XXX_Marshal

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

func (*AccountUpdateContract) XXX_Merge

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

func (*AccountUpdateContract) XXX_Size

func (m *AccountUpdateContract) XXX_Size() int

func (*AccountUpdateContract) XXX_Unmarshal

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

type Account_AccountResource

type Account_AccountResource struct {
	// energy resource, get from frozen
	EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty" pg:"energy_usage"`
	// the frozen balance for energy
	FrozenBalanceForEnergy     *Account_Frozen `` /* 162-byte string literal not displayed */
	LatestConsumeTimeForEnergy int64           `` /* 182-byte string literal not displayed */
	//Frozen balance provided by other accounts to this account
	AcquiredDelegatedFrozenBalanceForEnergy int64 `` /* 237-byte string literal not displayed */
	//Frozen balances provided to other accounts
	DelegatedFrozenBalanceForEnergy int64 `` /* 202-byte string literal not displayed */
	// storage resource, get from market
	StorageLimit              int64    `protobuf:"varint,6,opt,name=storage_limit,json=storageLimit,proto3" json:"storage_limit,omitempty" pg:"storage_limit"`
	StorageUsage              int64    `protobuf:"varint,7,opt,name=storage_usage,json=storageUsage,proto3" json:"storage_usage,omitempty" pg:"storage_usage"`
	LatestExchangeStorageTime int64    `` /* 175-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{} `json:"-" pg:"-"`
	XXX_unrecognized          []byte   `json:"-" pg:"-"`
	XXX_sizecache             int32    `json:"-" pg:"-"`
}

func (*Account_AccountResource) Descriptor

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

func (*Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy

func (m *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64

func (*Account_AccountResource) GetDelegatedFrozenBalanceForEnergy

func (m *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64

func (*Account_AccountResource) GetEnergyUsage

func (m *Account_AccountResource) GetEnergyUsage() int64

func (*Account_AccountResource) GetFrozenBalanceForEnergy

func (m *Account_AccountResource) GetFrozenBalanceForEnergy() *Account_Frozen

func (*Account_AccountResource) GetLatestConsumeTimeForEnergy

func (m *Account_AccountResource) GetLatestConsumeTimeForEnergy() int64

func (*Account_AccountResource) GetLatestExchangeStorageTime

func (m *Account_AccountResource) GetLatestExchangeStorageTime() int64

func (*Account_AccountResource) GetStorageLimit

func (m *Account_AccountResource) GetStorageLimit() int64

func (*Account_AccountResource) GetStorageUsage

func (m *Account_AccountResource) GetStorageUsage() int64

func (*Account_AccountResource) ProtoMessage

func (*Account_AccountResource) ProtoMessage()

func (*Account_AccountResource) Reset

func (m *Account_AccountResource) Reset()

func (*Account_AccountResource) String

func (m *Account_AccountResource) String() string

func (*Account_AccountResource) XXX_DiscardUnknown

func (m *Account_AccountResource) XXX_DiscardUnknown()

func (*Account_AccountResource) XXX_Marshal

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

func (*Account_AccountResource) XXX_Merge

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

func (*Account_AccountResource) XXX_Size

func (m *Account_AccountResource) XXX_Size() int

func (*Account_AccountResource) XXX_Unmarshal

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

type Account_Frozen

type Account_Frozen struct {
	FrozenBalance        int64    `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty" pg:"frozen_balance"`
	ExpireTime           int64    `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty" pg:"expire_time"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

frozen balance

func (*Account_Frozen) Descriptor

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

func (*Account_Frozen) GetExpireTime

func (m *Account_Frozen) GetExpireTime() int64

func (*Account_Frozen) GetFrozenBalance

func (m *Account_Frozen) GetFrozenBalance() int64

func (*Account_Frozen) ProtoMessage

func (*Account_Frozen) ProtoMessage()

func (*Account_Frozen) Reset

func (m *Account_Frozen) Reset()

func (*Account_Frozen) String

func (m *Account_Frozen) String() string

func (*Account_Frozen) XXX_DiscardUnknown

func (m *Account_Frozen) XXX_DiscardUnknown()

func (*Account_Frozen) XXX_Marshal

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

func (*Account_Frozen) XXX_Merge

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

func (*Account_Frozen) XXX_Size

func (m *Account_Frozen) XXX_Size() int

func (*Account_Frozen) XXX_Unmarshal

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

type AssetIssueContract

type AssetIssueContract struct {
	Id                      string                             `protobuf:"bytes,41,opt,name=id,proto3" json:"id,omitempty" pg:"id"`
	OwnerAddress            []byte                             `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	Name                    []byte                             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" pg:"name"`
	Abbr                    []byte                             `protobuf:"bytes,3,opt,name=abbr,proto3" json:"abbr,omitempty" pg:"abbr"`
	TotalSupply             int64                              `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty" pg:"total_supply"`
	FrozenSupply            []*AssetIssueContract_FrozenSupply `protobuf:"bytes,5,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty" pg:"frozen_supply"`
	TrxNum                  int32                              `protobuf:"varint,6,opt,name=trx_num,json=trxNum,proto3" json:"trx_num,omitempty" pg:"trx_num"`
	Precision               int32                              `protobuf:"varint,7,opt,name=precision,proto3" json:"precision,omitempty" pg:"precision"`
	Num                     int32                              `protobuf:"varint,8,opt,name=num,proto3" json:"num,omitempty" pg:"num"`
	StartTime               int64                              `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" pg:"start_time"`
	EndTime                 int64                              `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" pg:"end_time"`
	Order                   int64                              `protobuf:"varint,11,opt,name=order,proto3" json:"order,omitempty" pg:"order"`
	VoteScore               int32                              `protobuf:"varint,16,opt,name=vote_score,json=voteScore,proto3" json:"vote_score,omitempty" pg:"vote_score"`
	Description             []byte                             `protobuf:"bytes,20,opt,name=description,proto3" json:"description,omitempty" pg:"description"`
	Url                     []byte                             `protobuf:"bytes,21,opt,name=url,proto3" json:"url,omitempty" pg:"url"`
	FreeAssetNetLimit       int64                              `` /* 144-byte string literal not displayed */
	PublicFreeAssetNetLimit int64                              `` /* 171-byte string literal not displayed */
	PublicFreeAssetNetUsage int64                              `` /* 171-byte string literal not displayed */
	PublicLatestFreeNetTime int64                              `` /* 171-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}                           `json:"-" pg:"-"`
	XXX_unrecognized        []byte                             `json:"-" pg:"-"`
	XXX_sizecache           int32                              `json:"-" pg:"-"`
}

func (*AssetIssueContract) Descriptor

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

func (*AssetIssueContract) GetAbbr

func (m *AssetIssueContract) GetAbbr() []byte

func (*AssetIssueContract) GetDescription

func (m *AssetIssueContract) GetDescription() []byte

func (*AssetIssueContract) GetEndTime

func (m *AssetIssueContract) GetEndTime() int64

func (*AssetIssueContract) GetFreeAssetNetLimit

func (m *AssetIssueContract) GetFreeAssetNetLimit() int64

func (*AssetIssueContract) GetFrozenSupply

func (m *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply

func (*AssetIssueContract) GetId

func (m *AssetIssueContract) GetId() string

func (*AssetIssueContract) GetName

func (m *AssetIssueContract) GetName() []byte

func (*AssetIssueContract) GetNum

func (m *AssetIssueContract) GetNum() int32

func (*AssetIssueContract) GetOrder

func (m *AssetIssueContract) GetOrder() int64

func (*AssetIssueContract) GetOwnerAddress

func (m *AssetIssueContract) GetOwnerAddress() []byte

func (*AssetIssueContract) GetPrecision

func (m *AssetIssueContract) GetPrecision() int32

func (*AssetIssueContract) GetPublicFreeAssetNetLimit

func (m *AssetIssueContract) GetPublicFreeAssetNetLimit() int64

func (*AssetIssueContract) GetPublicFreeAssetNetUsage

func (m *AssetIssueContract) GetPublicFreeAssetNetUsage() int64

func (*AssetIssueContract) GetPublicLatestFreeNetTime

func (m *AssetIssueContract) GetPublicLatestFreeNetTime() int64

func (*AssetIssueContract) GetStartTime

func (m *AssetIssueContract) GetStartTime() int64

func (*AssetIssueContract) GetTotalSupply

func (m *AssetIssueContract) GetTotalSupply() int64

func (*AssetIssueContract) GetTrxNum

func (m *AssetIssueContract) GetTrxNum() int32

func (*AssetIssueContract) GetUrl

func (m *AssetIssueContract) GetUrl() []byte

func (*AssetIssueContract) GetVoteScore

func (m *AssetIssueContract) GetVoteScore() int32

func (*AssetIssueContract) ProtoMessage

func (*AssetIssueContract) ProtoMessage()

func (*AssetIssueContract) Reset

func (m *AssetIssueContract) Reset()

func (*AssetIssueContract) String

func (m *AssetIssueContract) String() string

func (*AssetIssueContract) XXX_DiscardUnknown

func (m *AssetIssueContract) XXX_DiscardUnknown()

func (*AssetIssueContract) XXX_Marshal

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

func (*AssetIssueContract) XXX_Merge

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

func (*AssetIssueContract) XXX_Size

func (m *AssetIssueContract) XXX_Size() int

func (*AssetIssueContract) XXX_Unmarshal

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

type AssetIssueContract_FrozenSupply

type AssetIssueContract_FrozenSupply struct {
	FrozenAmount         int64    `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty" pg:"frozen_amount"`
	FrozenDays           int64    `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty" pg:"frozen_days"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*AssetIssueContract_FrozenSupply) Descriptor

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

func (*AssetIssueContract_FrozenSupply) GetFrozenAmount

func (m *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64

func (*AssetIssueContract_FrozenSupply) GetFrozenDays

func (m *AssetIssueContract_FrozenSupply) GetFrozenDays() int64

func (*AssetIssueContract_FrozenSupply) ProtoMessage

func (*AssetIssueContract_FrozenSupply) ProtoMessage()

func (*AssetIssueContract_FrozenSupply) Reset

func (*AssetIssueContract_FrozenSupply) String

func (*AssetIssueContract_FrozenSupply) XXX_DiscardUnknown

func (m *AssetIssueContract_FrozenSupply) XXX_DiscardUnknown()

func (*AssetIssueContract_FrozenSupply) XXX_Marshal

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

func (*AssetIssueContract_FrozenSupply) XXX_Merge

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

func (*AssetIssueContract_FrozenSupply) XXX_Size

func (m *AssetIssueContract_FrozenSupply) XXX_Size() int

func (*AssetIssueContract_FrozenSupply) XXX_Unmarshal

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

type Authority

type Authority struct {
	Account              *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty" pg:"account"`
	PermissionName       []byte     `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty" pg:"permission_name"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-" pg:"-"`
	XXX_unrecognized     []byte     `json:"-" pg:"-"`
	XXX_sizecache        int32      `json:"-" pg:"-"`
}

func (*Authority) Descriptor

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

func (*Authority) GetAccount

func (m *Authority) GetAccount() *AccountId

func (*Authority) GetPermissionName

func (m *Authority) GetPermissionName() []byte

func (*Authority) ProtoMessage

func (*Authority) ProtoMessage()

func (*Authority) Reset

func (m *Authority) Reset()

func (*Authority) String

func (m *Authority) String() string

func (*Authority) XXX_DiscardUnknown

func (m *Authority) XXX_DiscardUnknown()

func (*Authority) XXX_Marshal

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

func (*Authority) XXX_Merge

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

func (*Authority) XXX_Size

func (m *Authority) XXX_Size() int

func (*Authority) XXX_Unmarshal

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

type BackupMessage

type BackupMessage struct {
	Flag                 bool     `protobuf:"varint,1,opt,name=flag,proto3" json:"flag,omitempty" pg:"flag"`
	Priority             int32    `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty" pg:"priority"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*BackupMessage) Descriptor

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

func (*BackupMessage) GetFlag

func (m *BackupMessage) GetFlag() bool

func (*BackupMessage) GetPriority

func (m *BackupMessage) GetPriority() int32

func (*BackupMessage) ProtoMessage

func (*BackupMessage) ProtoMessage()

func (*BackupMessage) Reset

func (m *BackupMessage) Reset()

func (*BackupMessage) String

func (m *BackupMessage) String() string

func (*BackupMessage) XXX_DiscardUnknown

func (m *BackupMessage) XXX_DiscardUnknown()

func (*BackupMessage) XXX_Marshal

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

func (*BackupMessage) XXX_Merge

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

func (*BackupMessage) XXX_Size

func (m *BackupMessage) XXX_Size() int

func (*BackupMessage) XXX_Unmarshal

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

type Block

type Block struct {
	Transactions         []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty" pg:"transactions"`
	BlockHeader          *BlockHeader   `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty" pg:"block_header"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-" pg:"-"`
	XXX_unrecognized     []byte         `json:"-" pg:"-"`
	XXX_sizecache        int32          `json:"-" pg:"-"`
}

block

func (*Block) Descriptor

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

func (*Block) GetBlockHeader

func (m *Block) GetBlockHeader() *BlockHeader

func (*Block) GetTransactions

func (m *Block) GetTransactions() []*Transaction

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

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

func (*Block) XXX_Merge

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

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

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

type BlockHeader

type BlockHeader struct {
	RawData              *BlockHeaderRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty" pg:"raw_data"`
	WitnessSignature     []byte          `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-" pg:"-"`
	XXX_unrecognized     []byte          `json:"-" pg:"-"`
	XXX_sizecache        int32           `json:"-" pg:"-"`
}

func (*BlockHeader) Descriptor

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

func (*BlockHeader) GetRawData

func (m *BlockHeader) GetRawData() *BlockHeaderRaw

func (*BlockHeader) GetWitnessSignature

func (m *BlockHeader) GetWitnessSignature() []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 BlockHeaderRaw

type BlockHeaderRaw struct {
	Timestamp  int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty" pg:"timestamp"`
	TxTrieRoot []byte `protobuf:"bytes,2,opt,name=txTrieRoot,proto3" json:"txTrieRoot,omitempty" pg:"txTrieRoot"`
	ParentHash []byte `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty" pg:"parentHash"`
	//bytes nonce = 5;
	//bytes difficulty = 6;
	Number               int64    `protobuf:"varint,7,opt,name=number,proto3" json:"number,omitempty" pg:"number"`
	WitnessId            int64    `protobuf:"varint,8,opt,name=witness_id,json=witnessId,proto3" json:"witness_id,omitempty" pg:"witness_id"`
	WitnessAddress       []byte   `protobuf:"bytes,9,opt,name=witness_address,json=witnessAddress,proto3" json:"witness_address,omitempty" pg:"witness_address"`
	Version              int32    `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty" pg:"version"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*BlockHeaderRaw) Descriptor

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

func (*BlockHeaderRaw) GetNumber

func (m *BlockHeaderRaw) GetNumber() int64

func (*BlockHeaderRaw) GetParentHash

func (m *BlockHeaderRaw) GetParentHash() []byte

func (*BlockHeaderRaw) GetTimestamp

func (m *BlockHeaderRaw) GetTimestamp() int64

func (*BlockHeaderRaw) GetTxTrieRoot

func (m *BlockHeaderRaw) GetTxTrieRoot() []byte

func (*BlockHeaderRaw) GetVersion

func (m *BlockHeaderRaw) GetVersion() int32

func (*BlockHeaderRaw) GetWitnessAddress

func (m *BlockHeaderRaw) GetWitnessAddress() []byte

func (*BlockHeaderRaw) GetWitnessId

func (m *BlockHeaderRaw) GetWitnessId() int64

func (*BlockHeaderRaw) ProtoMessage

func (*BlockHeaderRaw) ProtoMessage()

func (*BlockHeaderRaw) Reset

func (m *BlockHeaderRaw) Reset()

func (*BlockHeaderRaw) String

func (m *BlockHeaderRaw) String() string

func (*BlockHeaderRaw) XXX_DiscardUnknown

func (m *BlockHeaderRaw) XXX_DiscardUnknown()

func (*BlockHeaderRaw) XXX_Marshal

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

func (*BlockHeaderRaw) XXX_Merge

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

func (*BlockHeaderRaw) XXX_Size

func (m *BlockHeaderRaw) XXX_Size() int

func (*BlockHeaderRaw) XXX_Unmarshal

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

type BlockInventory

type BlockInventory struct {
	Ids                  []*BlockInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" pg:"ids"`
	Type                 BlockInventory_Type       `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.BlockInventory_Type" json:"type,omitempty" pg:"type"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-" pg:"-"`
	XXX_unrecognized     []byte                    `json:"-" pg:"-"`
	XXX_sizecache        int32                     `json:"-" pg:"-"`
}

Inventory

func (*BlockInventory) Descriptor

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

func (*BlockInventory) GetIds

func (m *BlockInventory) GetIds() []*BlockInventory_BlockId

func (*BlockInventory) GetType

func (m *BlockInventory) GetType() BlockInventory_Type

func (*BlockInventory) ProtoMessage

func (*BlockInventory) ProtoMessage()

func (*BlockInventory) Reset

func (m *BlockInventory) Reset()

func (*BlockInventory) String

func (m *BlockInventory) String() string

func (*BlockInventory) XXX_DiscardUnknown

func (m *BlockInventory) XXX_DiscardUnknown()

func (*BlockInventory) XXX_Marshal

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

func (*BlockInventory) XXX_Merge

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

func (*BlockInventory) XXX_Size

func (m *BlockInventory) XXX_Size() int

func (*BlockInventory) XXX_Unmarshal

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

type BlockInventory_BlockId

type BlockInventory_BlockId struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" pg:"hash"`
	Number               int64    `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty" pg:"number"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*BlockInventory_BlockId) Descriptor

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

func (*BlockInventory_BlockId) GetHash

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

func (*BlockInventory_BlockId) GetNumber

func (m *BlockInventory_BlockId) GetNumber() int64

func (*BlockInventory_BlockId) ProtoMessage

func (*BlockInventory_BlockId) ProtoMessage()

func (*BlockInventory_BlockId) Reset

func (m *BlockInventory_BlockId) Reset()

func (*BlockInventory_BlockId) String

func (m *BlockInventory_BlockId) String() string

func (*BlockInventory_BlockId) XXX_DiscardUnknown

func (m *BlockInventory_BlockId) XXX_DiscardUnknown()

func (*BlockInventory_BlockId) XXX_Marshal

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

func (*BlockInventory_BlockId) XXX_Merge

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

func (*BlockInventory_BlockId) XXX_Size

func (m *BlockInventory_BlockId) XXX_Size() int

func (*BlockInventory_BlockId) XXX_Unmarshal

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

type BlockInventory_Type

type BlockInventory_Type int32
const (
	BlockInventory_SYNC    BlockInventory_Type = 0
	BlockInventory_ADVTISE BlockInventory_Type = 1
	BlockInventory_FETCH   BlockInventory_Type = 2
)

func (BlockInventory_Type) EnumDescriptor

func (BlockInventory_Type) EnumDescriptor() ([]byte, []int)

func (BlockInventory_Type) String

func (x BlockInventory_Type) String() string

type BuyStorageBytesContract

type BuyStorageBytesContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	Bytes                int64    `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty" pg:"bytes"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*BuyStorageBytesContract) Descriptor

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

func (*BuyStorageBytesContract) GetBytes

func (m *BuyStorageBytesContract) GetBytes() int64

func (*BuyStorageBytesContract) GetOwnerAddress

func (m *BuyStorageBytesContract) GetOwnerAddress() []byte

func (*BuyStorageBytesContract) ProtoMessage

func (*BuyStorageBytesContract) ProtoMessage()

func (*BuyStorageBytesContract) Reset

func (m *BuyStorageBytesContract) Reset()

func (*BuyStorageBytesContract) String

func (m *BuyStorageBytesContract) String() string

func (*BuyStorageBytesContract) XXX_DiscardUnknown

func (m *BuyStorageBytesContract) XXX_DiscardUnknown()

func (*BuyStorageBytesContract) XXX_Marshal

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

func (*BuyStorageBytesContract) XXX_Merge

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

func (*BuyStorageBytesContract) XXX_Size

func (m *BuyStorageBytesContract) XXX_Size() int

func (*BuyStorageBytesContract) XXX_Unmarshal

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

type BuyStorageContract

type BuyStorageContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	Quant                int64    `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty" pg:"quant"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*BuyStorageContract) Descriptor

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

func (*BuyStorageContract) GetOwnerAddress

func (m *BuyStorageContract) GetOwnerAddress() []byte

func (*BuyStorageContract) GetQuant

func (m *BuyStorageContract) GetQuant() int64

func (*BuyStorageContract) ProtoMessage

func (*BuyStorageContract) ProtoMessage()

func (*BuyStorageContract) Reset

func (m *BuyStorageContract) Reset()

func (*BuyStorageContract) String

func (m *BuyStorageContract) String() string

func (*BuyStorageContract) XXX_DiscardUnknown

func (m *BuyStorageContract) XXX_DiscardUnknown()

func (*BuyStorageContract) XXX_Marshal

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

func (*BuyStorageContract) XXX_Merge

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

func (*BuyStorageContract) XXX_Size

func (m *BuyStorageContract) XXX_Size() int

func (*BuyStorageContract) XXX_Unmarshal

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

type ChainInventory

type ChainInventory struct {
	Ids                  []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" pg:"ids"`
	RemainNum            int64                     `protobuf:"varint,2,opt,name=remain_num,json=remainNum,proto3" json:"remain_num,omitempty" pg:"remain_num"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-" pg:"-"`
	XXX_unrecognized     []byte                    `json:"-" pg:"-"`
	XXX_sizecache        int32                     `json:"-" pg:"-"`
}

func (*ChainInventory) Descriptor

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

func (*ChainInventory) GetIds

func (m *ChainInventory) GetIds() []*ChainInventory_BlockId

func (*ChainInventory) GetRemainNum

func (m *ChainInventory) GetRemainNum() int64

func (*ChainInventory) ProtoMessage

func (*ChainInventory) ProtoMessage()

func (*ChainInventory) Reset

func (m *ChainInventory) Reset()

func (*ChainInventory) String

func (m *ChainInventory) String() string

func (*ChainInventory) XXX_DiscardUnknown

func (m *ChainInventory) XXX_DiscardUnknown()

func (*ChainInventory) XXX_Marshal

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

func (*ChainInventory) XXX_Merge

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

func (*ChainInventory) XXX_Size

func (m *ChainInventory) XXX_Size() int

func (*ChainInventory) XXX_Unmarshal

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

type ChainInventory_BlockId

type ChainInventory_BlockId struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" pg:"hash"`
	Number               int64    `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty" pg:"number"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*ChainInventory_BlockId) Descriptor

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

func (*ChainInventory_BlockId) GetHash

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

func (*ChainInventory_BlockId) GetNumber

func (m *ChainInventory_BlockId) GetNumber() int64

func (*ChainInventory_BlockId) ProtoMessage

func (*ChainInventory_BlockId) ProtoMessage()

func (*ChainInventory_BlockId) Reset

func (m *ChainInventory_BlockId) Reset()

func (*ChainInventory_BlockId) String

func (m *ChainInventory_BlockId) String() string

func (*ChainInventory_BlockId) XXX_DiscardUnknown

func (m *ChainInventory_BlockId) XXX_DiscardUnknown()

func (*ChainInventory_BlockId) XXX_Marshal

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

func (*ChainInventory_BlockId) XXX_Merge

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

func (*ChainInventory_BlockId) XXX_Size

func (m *ChainInventory_BlockId) XXX_Size() int

func (*ChainInventory_BlockId) XXX_Unmarshal

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

type ChainParameters

type ChainParameters struct {
	ChainParameter       []*ChainParameters_ChainParameter `protobuf:"bytes,1,rep,name=chainParameter,proto3" json:"chainParameter,omitempty" pg:"chainParameter"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-" pg:"-"`
	XXX_unrecognized     []byte                            `json:"-" pg:"-"`
	XXX_sizecache        int32                             `json:"-" pg:"-"`
}

func (*ChainParameters) Descriptor

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

func (*ChainParameters) GetChainParameter

func (m *ChainParameters) GetChainParameter() []*ChainParameters_ChainParameter

func (*ChainParameters) ProtoMessage

func (*ChainParameters) ProtoMessage()

func (*ChainParameters) Reset

func (m *ChainParameters) Reset()

func (*ChainParameters) String

func (m *ChainParameters) String() string

func (*ChainParameters) XXX_DiscardUnknown

func (m *ChainParameters) XXX_DiscardUnknown()

func (*ChainParameters) XXX_Marshal

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

func (*ChainParameters) XXX_Merge

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

func (*ChainParameters) XXX_Size

func (m *ChainParameters) XXX_Size() int

func (*ChainParameters) XXX_Unmarshal

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

type ChainParameters_ChainParameter

type ChainParameters_ChainParameter struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" pg:"key"`
	Value                int64    `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty" pg:"value"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*ChainParameters_ChainParameter) Descriptor

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

func (*ChainParameters_ChainParameter) GetKey

func (*ChainParameters_ChainParameter) GetValue

func (m *ChainParameters_ChainParameter) GetValue() int64

func (*ChainParameters_ChainParameter) ProtoMessage

func (*ChainParameters_ChainParameter) ProtoMessage()

func (*ChainParameters_ChainParameter) Reset

func (m *ChainParameters_ChainParameter) Reset()

func (*ChainParameters_ChainParameter) String

func (*ChainParameters_ChainParameter) XXX_DiscardUnknown

func (m *ChainParameters_ChainParameter) XXX_DiscardUnknown()

func (*ChainParameters_ChainParameter) XXX_Marshal

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

func (*ChainParameters_ChainParameter) XXX_Merge

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

func (*ChainParameters_ChainParameter) XXX_Size

func (m *ChainParameters_ChainParameter) XXX_Size() int

func (*ChainParameters_ChainParameter) XXX_Unmarshal

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

type CreateSmartContract

type CreateSmartContract struct {
	OwnerAddress         []byte         `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	NewContract          *SmartContract `protobuf:"bytes,2,opt,name=new_contract,json=newContract,proto3" json:"new_contract,omitempty" pg:"new_contract"`
	CallTokenValue       int64          `` /* 128-byte string literal not displayed */
	TokenId              int64          `protobuf:"varint,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" pg:"token_id"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-" pg:"-"`
	XXX_unrecognized     []byte         `json:"-" pg:"-"`
	XXX_sizecache        int32          `json:"-" pg:"-"`
}

func (*CreateSmartContract) Descriptor

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

func (*CreateSmartContract) GetCallTokenValue

func (m *CreateSmartContract) GetCallTokenValue() int64

func (*CreateSmartContract) GetNewContract

func (m *CreateSmartContract) GetNewContract() *SmartContract

func (*CreateSmartContract) GetOwnerAddress

func (m *CreateSmartContract) GetOwnerAddress() []byte

func (*CreateSmartContract) GetTokenId

func (m *CreateSmartContract) GetTokenId() int64

func (*CreateSmartContract) ProtoMessage

func (*CreateSmartContract) ProtoMessage()

func (*CreateSmartContract) Reset

func (m *CreateSmartContract) Reset()

func (*CreateSmartContract) String

func (m *CreateSmartContract) String() string

func (*CreateSmartContract) XXX_DiscardUnknown

func (m *CreateSmartContract) XXX_DiscardUnknown()

func (*CreateSmartContract) XXX_Marshal

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

func (*CreateSmartContract) XXX_Merge

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

func (*CreateSmartContract) XXX_Size

func (m *CreateSmartContract) XXX_Size() int

func (*CreateSmartContract) XXX_Unmarshal

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

type DelegatedResource

type DelegatedResource struct {
	From                      []byte   `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" pg:"from"`
	To                        []byte   `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty" pg:"to"`
	FrozenBalanceForBandwidth int64    `` /* 175-byte string literal not displayed */
	FrozenBalanceForEnergy    int64    `` /* 163-byte string literal not displayed */
	ExpireTimeForBandwidth    int64    `` /* 163-byte string literal not displayed */
	ExpireTimeForEnergy       int64    `` /* 151-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{} `json:"-" pg:"-"`
	XXX_unrecognized          []byte   `json:"-" pg:"-"`
	XXX_sizecache             int32    `json:"-" pg:"-"`
}

func (*DelegatedResource) Descriptor

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

func (*DelegatedResource) GetExpireTimeForBandwidth

func (m *DelegatedResource) GetExpireTimeForBandwidth() int64

func (*DelegatedResource) GetExpireTimeForEnergy

func (m *DelegatedResource) GetExpireTimeForEnergy() int64

func (*DelegatedResource) GetFrom

func (m *DelegatedResource) GetFrom() []byte

func (*DelegatedResource) GetFrozenBalanceForBandwidth

func (m *DelegatedResource) GetFrozenBalanceForBandwidth() int64

func (*DelegatedResource) GetFrozenBalanceForEnergy

func (m *DelegatedResource) GetFrozenBalanceForEnergy() int64

func (*DelegatedResource) GetTo

func (m *DelegatedResource) GetTo() []byte

func (*DelegatedResource) ProtoMessage

func (*DelegatedResource) ProtoMessage()

func (*DelegatedResource) Reset

func (m *DelegatedResource) Reset()

func (*DelegatedResource) String

func (m *DelegatedResource) String() string

func (*DelegatedResource) XXX_DiscardUnknown

func (m *DelegatedResource) XXX_DiscardUnknown()

func (*DelegatedResource) XXX_Marshal

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

func (*DelegatedResource) XXX_Merge

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

func (*DelegatedResource) XXX_Size

func (m *DelegatedResource) XXX_Size() int

func (*DelegatedResource) XXX_Unmarshal

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

type DelegatedResourceAccountIndex

type DelegatedResourceAccountIndex struct {
	Account              []byte   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty" pg:"account"`
	FromAccounts         [][]byte `protobuf:"bytes,2,rep,name=fromAccounts,proto3" json:"fromAccounts,omitempty" pg:"fromAccounts"`
	ToAccounts           [][]byte `protobuf:"bytes,3,rep,name=toAccounts,proto3" json:"toAccounts,omitempty" pg:"toAccounts"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*DelegatedResourceAccountIndex) Descriptor

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

func (*DelegatedResourceAccountIndex) GetAccount

func (m *DelegatedResourceAccountIndex) GetAccount() []byte

func (*DelegatedResourceAccountIndex) GetFromAccounts

func (m *DelegatedResourceAccountIndex) GetFromAccounts() [][]byte

func (*DelegatedResourceAccountIndex) GetToAccounts

func (m *DelegatedResourceAccountIndex) GetToAccounts() [][]byte

func (*DelegatedResourceAccountIndex) ProtoMessage

func (*DelegatedResourceAccountIndex) ProtoMessage()

func (*DelegatedResourceAccountIndex) Reset

func (m *DelegatedResourceAccountIndex) Reset()

func (*DelegatedResourceAccountIndex) String

func (*DelegatedResourceAccountIndex) XXX_DiscardUnknown

func (m *DelegatedResourceAccountIndex) XXX_DiscardUnknown()

func (*DelegatedResourceAccountIndex) XXX_Marshal

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

func (*DelegatedResourceAccountIndex) XXX_Merge

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

func (*DelegatedResourceAccountIndex) XXX_Size

func (m *DelegatedResourceAccountIndex) XXX_Size() int

func (*DelegatedResourceAccountIndex) XXX_Unmarshal

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

type DisconnectMessage

type DisconnectMessage struct {
	Reason               ReasonCode `protobuf:"varint,1,opt,name=reason,proto3,enum=protocol.ReasonCode" json:"reason,omitempty" pg:"reason"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-" pg:"-"`
	XXX_unrecognized     []byte     `json:"-" pg:"-"`
	XXX_sizecache        int32      `json:"-" pg:"-"`
}

func (*DisconnectMessage) Descriptor

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

func (*DisconnectMessage) GetReason

func (m *DisconnectMessage) GetReason() ReasonCode

func (*DisconnectMessage) ProtoMessage

func (*DisconnectMessage) ProtoMessage()

func (*DisconnectMessage) Reset

func (m *DisconnectMessage) Reset()

func (*DisconnectMessage) String

func (m *DisconnectMessage) String() string

func (*DisconnectMessage) XXX_DiscardUnknown

func (m *DisconnectMessage) XXX_DiscardUnknown()

func (*DisconnectMessage) XXX_Marshal

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

func (*DisconnectMessage) XXX_Merge

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

func (*DisconnectMessage) XXX_Size

func (m *DisconnectMessage) XXX_Size() int

func (*DisconnectMessage) XXX_Unmarshal

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

type DynamicProperties

type DynamicProperties struct {
	LastSolidityBlockNum int64    `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

DynamicProperties

func (*DynamicProperties) Descriptor

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

func (*DynamicProperties) GetLastSolidityBlockNum

func (m *DynamicProperties) GetLastSolidityBlockNum() int64

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 Endpoint

type Endpoint struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"`
	Port                 int32    `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty" pg:"port"`
	NodeId               []byte   `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty" pg:"nodeId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*Endpoint) Descriptor

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

func (*Endpoint) GetAddress

func (m *Endpoint) GetAddress() []byte

func (*Endpoint) GetNodeId

func (m *Endpoint) GetNodeId() []byte

func (*Endpoint) GetPort

func (m *Endpoint) GetPort() int32

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) Reset

func (m *Endpoint) Reset()

func (*Endpoint) String

func (m *Endpoint) String() string

func (*Endpoint) XXX_DiscardUnknown

func (m *Endpoint) XXX_DiscardUnknown()

func (*Endpoint) XXX_Marshal

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

func (*Endpoint) XXX_Merge

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

func (*Endpoint) XXX_Size

func (m *Endpoint) XXX_Size() int

func (*Endpoint) XXX_Unmarshal

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

type Exchange

type Exchange struct {
	ExchangeId           int64    `protobuf:"varint,1,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty" pg:"exchange_id"`
	CreatorAddress       []byte   `protobuf:"bytes,2,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty" pg:"creator_address"`
	CreateTime           int64    `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" pg:"create_time"`
	FirstTokenId         []byte   `protobuf:"bytes,6,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty" pg:"first_token_id"`
	FirstTokenBalance    int64    `` /* 140-byte string literal not displayed */
	SecondTokenId        []byte   `protobuf:"bytes,8,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty" pg:"second_token_id"`
	SecondTokenBalance   int64    `` /* 144-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

Exchange

func (*Exchange) Descriptor

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

func (*Exchange) GetCreateTime

func (m *Exchange) GetCreateTime() int64

func (*Exchange) GetCreatorAddress

func (m *Exchange) GetCreatorAddress() []byte

func (*Exchange) GetExchangeId

func (m *Exchange) GetExchangeId() int64

func (*Exchange) GetFirstTokenBalance

func (m *Exchange) GetFirstTokenBalance() int64

func (*Exchange) GetFirstTokenId

func (m *Exchange) GetFirstTokenId() []byte

func (*Exchange) GetSecondTokenBalance

func (m *Exchange) GetSecondTokenBalance() int64

func (*Exchange) GetSecondTokenId

func (m *Exchange) GetSecondTokenId() []byte

func (*Exchange) ProtoMessage

func (*Exchange) ProtoMessage()

func (*Exchange) Reset

func (m *Exchange) Reset()

func (*Exchange) String

func (m *Exchange) String() string

func (*Exchange) XXX_DiscardUnknown

func (m *Exchange) XXX_DiscardUnknown()

func (*Exchange) XXX_Marshal

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

func (*Exchange) XXX_Merge

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

func (*Exchange) XXX_Size

func (m *Exchange) XXX_Size() int

func (*Exchange) XXX_Unmarshal

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

type ExchangeCreateContract

type ExchangeCreateContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	FirstTokenId         []byte   `protobuf:"bytes,2,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty" pg:"first_token_id"`
	FirstTokenBalance    int64    `` /* 140-byte string literal not displayed */
	SecondTokenId        []byte   `protobuf:"bytes,4,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty" pg:"second_token_id"`
	SecondTokenBalance   int64    `` /* 144-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*ExchangeCreateContract) Descriptor

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

func (*ExchangeCreateContract) GetFirstTokenBalance

func (m *ExchangeCreateContract) GetFirstTokenBalance() int64

func (*ExchangeCreateContract) GetFirstTokenId

func (m *ExchangeCreateContract) GetFirstTokenId() []byte

func (*ExchangeCreateContract) GetOwnerAddress

func (m *ExchangeCreateContract) GetOwnerAddress() []byte

func (*ExchangeCreateContract) GetSecondTokenBalance

func (m *ExchangeCreateContract) GetSecondTokenBalance() int64

func (*ExchangeCreateContract) GetSecondTokenId

func (m *ExchangeCreateContract) GetSecondTokenId() []byte

func (*ExchangeCreateContract) ProtoMessage

func (*ExchangeCreateContract) ProtoMessage()

func (*ExchangeCreateContract) Reset

func (m *ExchangeCreateContract) Reset()

func (*ExchangeCreateContract) String

func (m *ExchangeCreateContract) String() string

func (*ExchangeCreateContract) XXX_DiscardUnknown

func (m *ExchangeCreateContract) XXX_DiscardUnknown()

func (*ExchangeCreateContract) XXX_Marshal

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

func (*ExchangeCreateContract) XXX_Merge

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

func (*ExchangeCreateContract) XXX_Size

func (m *ExchangeCreateContract) XXX_Size() int

func (*ExchangeCreateContract) XXX_Unmarshal

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

type ExchangeInjectContract

type ExchangeInjectContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ExchangeId           int64    `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty" pg:"exchange_id"`
	TokenId              []byte   `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" pg:"token_id"`
	Quant                int64    `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty" pg:"quant"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*ExchangeInjectContract) Descriptor

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

func (*ExchangeInjectContract) GetExchangeId

func (m *ExchangeInjectContract) GetExchangeId() int64

func (*ExchangeInjectContract) GetOwnerAddress

func (m *ExchangeInjectContract) GetOwnerAddress() []byte

func (*ExchangeInjectContract) GetQuant

func (m *ExchangeInjectContract) GetQuant() int64

func (*ExchangeInjectContract) GetTokenId

func (m *ExchangeInjectContract) GetTokenId() []byte

func (*ExchangeInjectContract) ProtoMessage

func (*ExchangeInjectContract) ProtoMessage()

func (*ExchangeInjectContract) Reset

func (m *ExchangeInjectContract) Reset()

func (*ExchangeInjectContract) String

func (m *ExchangeInjectContract) String() string

func (*ExchangeInjectContract) XXX_DiscardUnknown

func (m *ExchangeInjectContract) XXX_DiscardUnknown()

func (*ExchangeInjectContract) XXX_Marshal

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

func (*ExchangeInjectContract) XXX_Merge

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

func (*ExchangeInjectContract) XXX_Size

func (m *ExchangeInjectContract) XXX_Size() int

func (*ExchangeInjectContract) XXX_Unmarshal

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

type ExchangeTransactionContract

type ExchangeTransactionContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ExchangeId           int64    `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty" pg:"exchange_id"`
	TokenId              []byte   `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" pg:"token_id"`
	Quant                int64    `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty" pg:"quant"`
	Expected             int64    `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty" pg:"expected"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*ExchangeTransactionContract) Descriptor

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

func (*ExchangeTransactionContract) GetExchangeId

func (m *ExchangeTransactionContract) GetExchangeId() int64

func (*ExchangeTransactionContract) GetExpected

func (m *ExchangeTransactionContract) GetExpected() int64

func (*ExchangeTransactionContract) GetOwnerAddress

func (m *ExchangeTransactionContract) GetOwnerAddress() []byte

func (*ExchangeTransactionContract) GetQuant

func (m *ExchangeTransactionContract) GetQuant() int64

func (*ExchangeTransactionContract) GetTokenId

func (m *ExchangeTransactionContract) GetTokenId() []byte

func (*ExchangeTransactionContract) ProtoMessage

func (*ExchangeTransactionContract) ProtoMessage()

func (*ExchangeTransactionContract) Reset

func (m *ExchangeTransactionContract) Reset()

func (*ExchangeTransactionContract) String

func (m *ExchangeTransactionContract) String() string

func (*ExchangeTransactionContract) XXX_DiscardUnknown

func (m *ExchangeTransactionContract) XXX_DiscardUnknown()

func (*ExchangeTransactionContract) XXX_Marshal

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

func (*ExchangeTransactionContract) XXX_Merge

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

func (*ExchangeTransactionContract) XXX_Size

func (m *ExchangeTransactionContract) XXX_Size() int

func (*ExchangeTransactionContract) XXX_Unmarshal

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

type ExchangeWithdrawContract

type ExchangeWithdrawContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ExchangeId           int64    `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty" pg:"exchange_id"`
	TokenId              []byte   `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" pg:"token_id"`
	Quant                int64    `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty" pg:"quant"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*ExchangeWithdrawContract) Descriptor

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

func (*ExchangeWithdrawContract) GetExchangeId

func (m *ExchangeWithdrawContract) GetExchangeId() int64

func (*ExchangeWithdrawContract) GetOwnerAddress

func (m *ExchangeWithdrawContract) GetOwnerAddress() []byte

func (*ExchangeWithdrawContract) GetQuant

func (m *ExchangeWithdrawContract) GetQuant() int64

func (*ExchangeWithdrawContract) GetTokenId

func (m *ExchangeWithdrawContract) GetTokenId() []byte

func (*ExchangeWithdrawContract) ProtoMessage

func (*ExchangeWithdrawContract) ProtoMessage()

func (*ExchangeWithdrawContract) Reset

func (m *ExchangeWithdrawContract) Reset()

func (*ExchangeWithdrawContract) String

func (m *ExchangeWithdrawContract) String() string

func (*ExchangeWithdrawContract) XXX_DiscardUnknown

func (m *ExchangeWithdrawContract) XXX_DiscardUnknown()

func (*ExchangeWithdrawContract) XXX_Marshal

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

func (*ExchangeWithdrawContract) XXX_Merge

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

func (*ExchangeWithdrawContract) XXX_Size

func (m *ExchangeWithdrawContract) XXX_Size() int

func (*ExchangeWithdrawContract) XXX_Unmarshal

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

type FindNeighbours

type FindNeighbours struct {
	From                 *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" pg:"from"`
	TargetId             []byte    `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId,omitempty" pg:"targetId"`
	Timestamp            int64     `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty" pg:"timestamp"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-" pg:"-"`
	XXX_unrecognized     []byte    `json:"-" pg:"-"`
	XXX_sizecache        int32     `json:"-" pg:"-"`
}

func (*FindNeighbours) Descriptor

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

func (*FindNeighbours) GetFrom

func (m *FindNeighbours) GetFrom() *Endpoint

func (*FindNeighbours) GetTargetId

func (m *FindNeighbours) GetTargetId() []byte

func (*FindNeighbours) GetTimestamp

func (m *FindNeighbours) GetTimestamp() int64

func (*FindNeighbours) ProtoMessage

func (*FindNeighbours) ProtoMessage()

func (*FindNeighbours) Reset

func (m *FindNeighbours) Reset()

func (*FindNeighbours) String

func (m *FindNeighbours) String() string

func (*FindNeighbours) XXX_DiscardUnknown

func (m *FindNeighbours) XXX_DiscardUnknown()

func (*FindNeighbours) XXX_Marshal

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

func (*FindNeighbours) XXX_Merge

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

func (*FindNeighbours) XXX_Size

func (m *FindNeighbours) XXX_Size() int

func (*FindNeighbours) XXX_Unmarshal

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

type FreezeBalanceContract

type FreezeBalanceContract struct {
	OwnerAddress         []byte       `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	FrozenBalance        int64        `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty" pg:"frozen_balance"`
	FrozenDuration       int64        `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty" pg:"frozen_duration"`
	Resource             ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty" pg:"resource"`
	ReceiverAddress      []byte       `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-" pg:"-"`
	XXX_unrecognized     []byte       `json:"-" pg:"-"`
	XXX_sizecache        int32        `json:"-" pg:"-"`
}

func (*FreezeBalanceContract) Descriptor

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

func (*FreezeBalanceContract) GetFrozenBalance

func (m *FreezeBalanceContract) GetFrozenBalance() int64

func (*FreezeBalanceContract) GetFrozenDuration

func (m *FreezeBalanceContract) GetFrozenDuration() int64

func (*FreezeBalanceContract) GetOwnerAddress

func (m *FreezeBalanceContract) GetOwnerAddress() []byte

func (*FreezeBalanceContract) GetReceiverAddress

func (m *FreezeBalanceContract) GetReceiverAddress() []byte

func (*FreezeBalanceContract) GetResource

func (m *FreezeBalanceContract) GetResource() ResourceCode

func (*FreezeBalanceContract) ProtoMessage

func (*FreezeBalanceContract) ProtoMessage()

func (*FreezeBalanceContract) Reset

func (m *FreezeBalanceContract) Reset()

func (*FreezeBalanceContract) String

func (m *FreezeBalanceContract) String() string

func (*FreezeBalanceContract) XXX_DiscardUnknown

func (m *FreezeBalanceContract) XXX_DiscardUnknown()

func (*FreezeBalanceContract) XXX_Marshal

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

func (*FreezeBalanceContract) XXX_Merge

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

func (*FreezeBalanceContract) XXX_Size

func (m *FreezeBalanceContract) XXX_Size() int

func (*FreezeBalanceContract) XXX_Unmarshal

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

type HelloMessage

type HelloMessage struct {
	From                 *Endpoint             `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" pg:"from"`
	Version              int32                 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" pg:"version"`
	Timestamp            int64                 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty" pg:"timestamp"`
	GenesisBlockId       *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty" pg:"genesisBlockId"`
	SolidBlockId         *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty" pg:"solidBlockId"`
	HeadBlockId          *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty" pg:"headBlockId"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" pg:"-"`
	XXX_unrecognized     []byte                `json:"-" pg:"-"`
	XXX_sizecache        int32                 `json:"-" pg:"-"`
}

func (*HelloMessage) Descriptor

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

func (*HelloMessage) GetFrom

func (m *HelloMessage) GetFrom() *Endpoint

func (*HelloMessage) GetGenesisBlockId

func (m *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId

func (*HelloMessage) GetHeadBlockId

func (m *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId

func (*HelloMessage) GetSolidBlockId

func (m *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId

func (*HelloMessage) GetTimestamp

func (m *HelloMessage) GetTimestamp() int64

func (*HelloMessage) GetVersion

func (m *HelloMessage) GetVersion() int32

func (*HelloMessage) ProtoMessage

func (*HelloMessage) ProtoMessage()

func (*HelloMessage) Reset

func (m *HelloMessage) Reset()

func (*HelloMessage) String

func (m *HelloMessage) String() string

func (*HelloMessage) XXX_DiscardUnknown

func (m *HelloMessage) XXX_DiscardUnknown()

func (*HelloMessage) XXX_Marshal

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

func (*HelloMessage) XXX_Merge

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

func (*HelloMessage) XXX_Size

func (m *HelloMessage) XXX_Size() int

func (*HelloMessage) XXX_Unmarshal

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

type HelloMessage_BlockId

type HelloMessage_BlockId struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" pg:"hash"`
	Number               int64    `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty" pg:"number"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*HelloMessage_BlockId) Descriptor

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

func (*HelloMessage_BlockId) GetHash

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

func (*HelloMessage_BlockId) GetNumber

func (m *HelloMessage_BlockId) GetNumber() int64

func (*HelloMessage_BlockId) ProtoMessage

func (*HelloMessage_BlockId) ProtoMessage()

func (*HelloMessage_BlockId) Reset

func (m *HelloMessage_BlockId) Reset()

func (*HelloMessage_BlockId) String

func (m *HelloMessage_BlockId) String() string

func (*HelloMessage_BlockId) XXX_DiscardUnknown

func (m *HelloMessage_BlockId) XXX_DiscardUnknown()

func (*HelloMessage_BlockId) XXX_Marshal

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

func (*HelloMessage_BlockId) XXX_Merge

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

func (*HelloMessage_BlockId) XXX_Size

func (m *HelloMessage_BlockId) XXX_Size() int

func (*HelloMessage_BlockId) XXX_Unmarshal

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

type InternalTransaction

type InternalTransaction struct {
	// internalTransaction identity, the root InternalTransaction hash
	// should equals to root transaction id.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" pg:"hash"`
	// the one send trx (TBD: or token) via function
	CallerAddress []byte `protobuf:"bytes,2,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty" pg:"caller_address"`
	// the one recieve trx (TBD: or token) via function
	TransferToAddress    []byte                               `` /* 136-byte string literal not displayed */
	CallValueInfo        []*InternalTransaction_CallValueInfo `protobuf:"bytes,4,rep,name=callValueInfo,proto3" json:"callValueInfo,omitempty" pg:"callValueInfo"`
	Note                 []byte                               `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty" pg:"note"`
	Rejected             bool                                 `protobuf:"varint,6,opt,name=rejected,proto3" json:"rejected,omitempty" pg:"rejected"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-" pg:"-"`
	XXX_unrecognized     []byte                               `json:"-" pg:"-"`
	XXX_sizecache        int32                                `json:"-" pg:"-"`
}

func (*InternalTransaction) Descriptor

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

func (*InternalTransaction) GetCallValueInfo

func (m *InternalTransaction) GetCallValueInfo() []*InternalTransaction_CallValueInfo

func (*InternalTransaction) GetCallerAddress

func (m *InternalTransaction) GetCallerAddress() []byte

func (*InternalTransaction) GetHash

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

func (*InternalTransaction) GetNote

func (m *InternalTransaction) GetNote() []byte

func (*InternalTransaction) GetRejected

func (m *InternalTransaction) GetRejected() bool

func (*InternalTransaction) GetTransferToAddress

func (m *InternalTransaction) GetTransferToAddress() []byte

func (*InternalTransaction) ProtoMessage

func (*InternalTransaction) ProtoMessage()

func (*InternalTransaction) Reset

func (m *InternalTransaction) Reset()

func (*InternalTransaction) String

func (m *InternalTransaction) String() string

func (*InternalTransaction) XXX_DiscardUnknown

func (m *InternalTransaction) XXX_DiscardUnknown()

func (*InternalTransaction) XXX_Marshal

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

func (*InternalTransaction) XXX_Merge

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

func (*InternalTransaction) XXX_Size

func (m *InternalTransaction) XXX_Size() int

func (*InternalTransaction) XXX_Unmarshal

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

type InternalTransaction_CallValueInfo

type InternalTransaction_CallValueInfo struct {
	// trx (TBD: or token) value
	CallValue int64 `protobuf:"varint,1,opt,name=callValue,proto3" json:"callValue,omitempty" pg:"callValue"`
	// TBD: tokenName, trx should be empty
	TokenId              string   `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty" pg:"tokenId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*InternalTransaction_CallValueInfo) Descriptor

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

func (*InternalTransaction_CallValueInfo) GetCallValue

func (m *InternalTransaction_CallValueInfo) GetCallValue() int64

func (*InternalTransaction_CallValueInfo) GetTokenId

func (m *InternalTransaction_CallValueInfo) GetTokenId() string

func (*InternalTransaction_CallValueInfo) ProtoMessage

func (*InternalTransaction_CallValueInfo) ProtoMessage()

func (*InternalTransaction_CallValueInfo) Reset

func (*InternalTransaction_CallValueInfo) String

func (*InternalTransaction_CallValueInfo) XXX_DiscardUnknown

func (m *InternalTransaction_CallValueInfo) XXX_DiscardUnknown()

func (*InternalTransaction_CallValueInfo) XXX_Marshal

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

func (*InternalTransaction_CallValueInfo) XXX_Merge

func (*InternalTransaction_CallValueInfo) XXX_Size

func (m *InternalTransaction_CallValueInfo) XXX_Size() int

func (*InternalTransaction_CallValueInfo) XXX_Unmarshal

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

type Inventory

type Inventory struct {
	Type                 Inventory_InventoryType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Inventory_InventoryType" json:"type,omitempty" pg:"type"`
	Ids                  [][]byte                `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty" pg:"ids"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-" pg:"-"`
	XXX_unrecognized     []byte                  `json:"-" pg:"-"`
	XXX_sizecache        int32                   `json:"-" pg:"-"`
}

func (*Inventory) Descriptor

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

func (*Inventory) GetIds

func (m *Inventory) GetIds() [][]byte

func (*Inventory) GetType

func (m *Inventory) GetType() Inventory_InventoryType

func (*Inventory) ProtoMessage

func (*Inventory) ProtoMessage()

func (*Inventory) Reset

func (m *Inventory) Reset()

func (*Inventory) String

func (m *Inventory) String() string

func (*Inventory) XXX_DiscardUnknown

func (m *Inventory) XXX_DiscardUnknown()

func (*Inventory) XXX_Marshal

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

func (*Inventory) XXX_Merge

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

func (*Inventory) XXX_Size

func (m *Inventory) XXX_Size() int

func (*Inventory) XXX_Unmarshal

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

type InventoryItems

type InventoryItems struct {
	Type                 int32    `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty" pg:"type"`
	Items                [][]byte `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty" pg:"items"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*InventoryItems) Descriptor

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

func (*InventoryItems) GetItems

func (m *InventoryItems) GetItems() [][]byte

func (*InventoryItems) GetType

func (m *InventoryItems) GetType() int32

func (*InventoryItems) ProtoMessage

func (*InventoryItems) ProtoMessage()

func (*InventoryItems) Reset

func (m *InventoryItems) Reset()

func (*InventoryItems) String

func (m *InventoryItems) String() string

func (*InventoryItems) XXX_DiscardUnknown

func (m *InventoryItems) XXX_DiscardUnknown()

func (*InventoryItems) XXX_Marshal

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

func (*InventoryItems) XXX_Merge

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

func (*InventoryItems) XXX_Size

func (m *InventoryItems) XXX_Size() int

func (*InventoryItems) XXX_Unmarshal

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

type Inventory_InventoryType

type Inventory_InventoryType int32
const (
	Inventory_TRX   Inventory_InventoryType = 0
	Inventory_BLOCK Inventory_InventoryType = 1
)

func (Inventory_InventoryType) EnumDescriptor

func (Inventory_InventoryType) EnumDescriptor() ([]byte, []int)

func (Inventory_InventoryType) String

func (x Inventory_InventoryType) String() string

type Items

type Items struct {
	Type                 Items_ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Items_ItemType" json:"type,omitempty" pg:"type"`
	Blocks               []*Block       `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty" pg:"blocks"`
	BlockHeaders         []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty" pg:"block_headers"`
	Transactions         []*Transaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty" pg:"transactions"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-" pg:"-"`
	XXX_unrecognized     []byte         `json:"-" pg:"-"`
	XXX_sizecache        int32          `json:"-" pg:"-"`
}

func (*Items) Descriptor

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

func (*Items) GetBlockHeaders

func (m *Items) GetBlockHeaders() []*BlockHeader

func (*Items) GetBlocks

func (m *Items) GetBlocks() []*Block

func (*Items) GetTransactions

func (m *Items) GetTransactions() []*Transaction

func (*Items) GetType

func (m *Items) GetType() Items_ItemType

func (*Items) ProtoMessage

func (*Items) ProtoMessage()

func (*Items) Reset

func (m *Items) Reset()

func (*Items) String

func (m *Items) String() string

func (*Items) XXX_DiscardUnknown

func (m *Items) XXX_DiscardUnknown()

func (*Items) XXX_Marshal

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

func (*Items) XXX_Merge

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

func (*Items) XXX_Size

func (m *Items) XXX_Size() int

func (*Items) XXX_Unmarshal

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

type Items_ItemType

type Items_ItemType int32
const (
	Items_ERR         Items_ItemType = 0
	Items_TRX         Items_ItemType = 1
	Items_BLOCK       Items_ItemType = 2
	Items_BLOCKHEADER Items_ItemType = 3
)

func (Items_ItemType) EnumDescriptor

func (Items_ItemType) EnumDescriptor() ([]byte, []int)

func (Items_ItemType) String

func (x Items_ItemType) String() string

type Neighbours

type Neighbours struct {
	From                 *Endpoint   `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" pg:"from"`
	Neighbours           []*Endpoint `protobuf:"bytes,2,rep,name=neighbours,proto3" json:"neighbours,omitempty" pg:"neighbours"`
	Timestamp            int64       `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty" pg:"timestamp"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-" pg:"-"`
	XXX_unrecognized     []byte      `json:"-" pg:"-"`
	XXX_sizecache        int32       `json:"-" pg:"-"`
}

func (*Neighbours) Descriptor

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

func (*Neighbours) GetFrom

func (m *Neighbours) GetFrom() *Endpoint

func (*Neighbours) GetNeighbours

func (m *Neighbours) GetNeighbours() []*Endpoint

func (*Neighbours) GetTimestamp

func (m *Neighbours) GetTimestamp() int64

func (*Neighbours) ProtoMessage

func (*Neighbours) ProtoMessage()

func (*Neighbours) Reset

func (m *Neighbours) Reset()

func (*Neighbours) String

func (m *Neighbours) String() string

func (*Neighbours) XXX_DiscardUnknown

func (m *Neighbours) XXX_DiscardUnknown()

func (*Neighbours) XXX_Marshal

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

func (*Neighbours) XXX_Merge

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

func (*Neighbours) XXX_Size

func (m *Neighbours) XXX_Size() int

func (*Neighbours) XXX_Unmarshal

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

type ParticipateAssetIssueContract

type ParticipateAssetIssueContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ToAddress            []byte   `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"`
	AssetName            []byte   `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty" pg:"asset_name"`
	Amount               int64    `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*ParticipateAssetIssueContract) Descriptor

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

func (*ParticipateAssetIssueContract) GetAmount

func (m *ParticipateAssetIssueContract) GetAmount() int64

func (*ParticipateAssetIssueContract) GetAssetName

func (m *ParticipateAssetIssueContract) GetAssetName() []byte

func (*ParticipateAssetIssueContract) GetOwnerAddress

func (m *ParticipateAssetIssueContract) GetOwnerAddress() []byte

func (*ParticipateAssetIssueContract) GetToAddress

func (m *ParticipateAssetIssueContract) GetToAddress() []byte

func (*ParticipateAssetIssueContract) ProtoMessage

func (*ParticipateAssetIssueContract) ProtoMessage()

func (*ParticipateAssetIssueContract) Reset

func (m *ParticipateAssetIssueContract) Reset()

func (*ParticipateAssetIssueContract) String

func (*ParticipateAssetIssueContract) XXX_DiscardUnknown

func (m *ParticipateAssetIssueContract) XXX_DiscardUnknown()

func (*ParticipateAssetIssueContract) XXX_Marshal

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

func (*ParticipateAssetIssueContract) XXX_Merge

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

func (*ParticipateAssetIssueContract) XXX_Size

func (m *ParticipateAssetIssueContract) XXX_Size() int

func (*ParticipateAssetIssueContract) XXX_Unmarshal

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

type Permission

type Permission struct {
	Account              *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty" pg:"account"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-" pg:"-"`
	XXX_unrecognized     []byte     `json:"-" pg:"-"`
	XXX_sizecache        int32      `json:"-" pg:"-"`
}

func (*Permission) Descriptor

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

func (*Permission) GetAccount

func (m *Permission) GetAccount() *AccountId

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) Reset

func (m *Permission) Reset()

func (*Permission) String

func (m *Permission) String() string

func (*Permission) XXX_DiscardUnknown

func (m *Permission) XXX_DiscardUnknown()

func (*Permission) XXX_Marshal

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

func (*Permission) XXX_Merge

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

func (*Permission) XXX_Size

func (m *Permission) XXX_Size() int

func (*Permission) XXX_Unmarshal

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

type PingMessage

type PingMessage struct {
	From                 *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" pg:"from"`
	To                   *Endpoint `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty" pg:"to"`
	Version              int32     `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty" pg:"version"`
	Timestamp            int64     `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty" pg:"timestamp"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-" pg:"-"`
	XXX_unrecognized     []byte    `json:"-" pg:"-"`
	XXX_sizecache        int32     `json:"-" pg:"-"`
}

func (*PingMessage) Descriptor

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

func (*PingMessage) GetFrom

func (m *PingMessage) GetFrom() *Endpoint

func (*PingMessage) GetTimestamp

func (m *PingMessage) GetTimestamp() int64

func (*PingMessage) GetTo

func (m *PingMessage) GetTo() *Endpoint

func (*PingMessage) GetVersion

func (m *PingMessage) GetVersion() int32

func (*PingMessage) ProtoMessage

func (*PingMessage) ProtoMessage()

func (*PingMessage) Reset

func (m *PingMessage) Reset()

func (*PingMessage) String

func (m *PingMessage) String() string

func (*PingMessage) XXX_DiscardUnknown

func (m *PingMessage) XXX_DiscardUnknown()

func (*PingMessage) XXX_Marshal

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

func (*PingMessage) XXX_Merge

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

func (*PingMessage) XXX_Size

func (m *PingMessage) XXX_Size() int

func (*PingMessage) XXX_Unmarshal

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

type PongMessage

type PongMessage struct {
	From                 *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" pg:"from"`
	Echo                 int32     `protobuf:"varint,2,opt,name=echo,proto3" json:"echo,omitempty" pg:"echo"`
	Timestamp            int64     `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty" pg:"timestamp"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-" pg:"-"`
	XXX_unrecognized     []byte    `json:"-" pg:"-"`
	XXX_sizecache        int32     `json:"-" pg:"-"`
}

func (*PongMessage) Descriptor

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

func (*PongMessage) GetEcho

func (m *PongMessage) GetEcho() int32

func (*PongMessage) GetFrom

func (m *PongMessage) GetFrom() *Endpoint

func (*PongMessage) GetTimestamp

func (m *PongMessage) GetTimestamp() int64

func (*PongMessage) ProtoMessage

func (*PongMessage) ProtoMessage()

func (*PongMessage) Reset

func (m *PongMessage) Reset()

func (*PongMessage) String

func (m *PongMessage) String() string

func (*PongMessage) XXX_DiscardUnknown

func (m *PongMessage) XXX_DiscardUnknown()

func (*PongMessage) XXX_Marshal

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

func (*PongMessage) XXX_Merge

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

func (*PongMessage) XXX_Size

func (m *PongMessage) XXX_Size() int

func (*PongMessage) XXX_Unmarshal

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

type Proposal

type Proposal struct {
	ProposalId           int64           `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty" pg:"proposal_id"`
	ProposerAddress      []byte          `` /* 128-byte string literal not displayed */
	Parameters           map[int64]int64 `` /* 179-byte string literal not displayed */
	ExpirationTime       int64           `protobuf:"varint,4,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty" pg:"expiration_time"`
	CreateTime           int64           `protobuf:"varint,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" pg:"create_time"`
	Approvals            [][]byte        `protobuf:"bytes,6,rep,name=approvals,proto3" json:"approvals,omitempty" pg:"approvals"`
	State                Proposal_State  `protobuf:"varint,7,opt,name=state,proto3,enum=protocol.Proposal_State" json:"state,omitempty" pg:"state"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-" pg:"-"`
	XXX_unrecognized     []byte          `json:"-" pg:"-"`
	XXX_sizecache        int32           `json:"-" pg:"-"`
}

Proposal

func (*Proposal) Descriptor

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

func (*Proposal) GetApprovals

func (m *Proposal) GetApprovals() [][]byte

func (*Proposal) GetCreateTime

func (m *Proposal) GetCreateTime() int64

func (*Proposal) GetExpirationTime

func (m *Proposal) GetExpirationTime() int64

func (*Proposal) GetParameters

func (m *Proposal) GetParameters() map[int64]int64

func (*Proposal) GetProposalId

func (m *Proposal) GetProposalId() int64

func (*Proposal) GetProposerAddress

func (m *Proposal) GetProposerAddress() []byte

func (*Proposal) GetState

func (m *Proposal) GetState() Proposal_State

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) Reset

func (m *Proposal) Reset()

func (*Proposal) String

func (m *Proposal) String() string

func (*Proposal) XXX_DiscardUnknown

func (m *Proposal) XXX_DiscardUnknown()

func (*Proposal) XXX_Marshal

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

func (*Proposal) XXX_Merge

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

func (*Proposal) XXX_Size

func (m *Proposal) XXX_Size() int

func (*Proposal) XXX_Unmarshal

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

type ProposalApproveContract

type ProposalApproveContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ProposalId           int64    `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty" pg:"proposal_id"`
	IsAddApproval        bool     `protobuf:"varint,3,opt,name=is_add_approval,json=isAddApproval,proto3" json:"is_add_approval,omitempty" pg:"is_add_approval"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*ProposalApproveContract) Descriptor

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

func (*ProposalApproveContract) GetIsAddApproval

func (m *ProposalApproveContract) GetIsAddApproval() bool

func (*ProposalApproveContract) GetOwnerAddress

func (m *ProposalApproveContract) GetOwnerAddress() []byte

func (*ProposalApproveContract) GetProposalId

func (m *ProposalApproveContract) GetProposalId() int64

func (*ProposalApproveContract) ProtoMessage

func (*ProposalApproveContract) ProtoMessage()

func (*ProposalApproveContract) Reset

func (m *ProposalApproveContract) Reset()

func (*ProposalApproveContract) String

func (m *ProposalApproveContract) String() string

func (*ProposalApproveContract) XXX_DiscardUnknown

func (m *ProposalApproveContract) XXX_DiscardUnknown()

func (*ProposalApproveContract) XXX_Marshal

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

func (*ProposalApproveContract) XXX_Merge

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

func (*ProposalApproveContract) XXX_Size

func (m *ProposalApproveContract) XXX_Size() int

func (*ProposalApproveContract) XXX_Unmarshal

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

type ProposalCreateContract

type ProposalCreateContract struct {
	OwnerAddress         []byte          `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	Parameters           map[int64]int64 `` /* 179-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-" pg:"-"`
	XXX_unrecognized     []byte          `json:"-" pg:"-"`
	XXX_sizecache        int32           `json:"-" pg:"-"`
}

func (*ProposalCreateContract) Descriptor

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

func (*ProposalCreateContract) GetOwnerAddress

func (m *ProposalCreateContract) GetOwnerAddress() []byte

func (*ProposalCreateContract) GetParameters

func (m *ProposalCreateContract) GetParameters() map[int64]int64

func (*ProposalCreateContract) ProtoMessage

func (*ProposalCreateContract) ProtoMessage()

func (*ProposalCreateContract) Reset

func (m *ProposalCreateContract) Reset()

func (*ProposalCreateContract) String

func (m *ProposalCreateContract) String() string

func (*ProposalCreateContract) XXX_DiscardUnknown

func (m *ProposalCreateContract) XXX_DiscardUnknown()

func (*ProposalCreateContract) XXX_Marshal

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

func (*ProposalCreateContract) XXX_Merge

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

func (*ProposalCreateContract) XXX_Size

func (m *ProposalCreateContract) XXX_Size() int

func (*ProposalCreateContract) XXX_Unmarshal

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

type ProposalDeleteContract

type ProposalDeleteContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ProposalId           int64    `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty" pg:"proposal_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*ProposalDeleteContract) Descriptor

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

func (*ProposalDeleteContract) GetOwnerAddress

func (m *ProposalDeleteContract) GetOwnerAddress() []byte

func (*ProposalDeleteContract) GetProposalId

func (m *ProposalDeleteContract) GetProposalId() int64

func (*ProposalDeleteContract) ProtoMessage

func (*ProposalDeleteContract) ProtoMessage()

func (*ProposalDeleteContract) Reset

func (m *ProposalDeleteContract) Reset()

func (*ProposalDeleteContract) String

func (m *ProposalDeleteContract) String() string

func (*ProposalDeleteContract) XXX_DiscardUnknown

func (m *ProposalDeleteContract) XXX_DiscardUnknown()

func (*ProposalDeleteContract) XXX_Marshal

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

func (*ProposalDeleteContract) XXX_Merge

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

func (*ProposalDeleteContract) XXX_Size

func (m *ProposalDeleteContract) XXX_Size() int

func (*ProposalDeleteContract) XXX_Unmarshal

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

type Proposal_State

type Proposal_State int32
const (
	Proposal_PENDING     Proposal_State = 0
	Proposal_DISAPPROVED Proposal_State = 1
	Proposal_APPROVED    Proposal_State = 2
	Proposal_CANCELED    Proposal_State = 3
)

func (Proposal_State) EnumDescriptor

func (Proposal_State) EnumDescriptor() ([]byte, []int)

func (Proposal_State) String

func (x Proposal_State) String() string

type ReasonCode

type ReasonCode int32
const (
	ReasonCode_REQUESTED                   ReasonCode = 0
	ReasonCode_BAD_PROTOCOL                ReasonCode = 2
	ReasonCode_TOO_MANY_PEERS              ReasonCode = 4
	ReasonCode_DUPLICATE_PEER              ReasonCode = 5
	ReasonCode_INCOMPATIBLE_PROTOCOL       ReasonCode = 6
	ReasonCode_NULL_IDENTITY               ReasonCode = 7
	ReasonCode_PEER_QUITING                ReasonCode = 8
	ReasonCode_UNEXPECTED_IDENTITY         ReasonCode = 9
	ReasonCode_LOCAL_IDENTITY              ReasonCode = 10
	ReasonCode_PING_TIMEOUT                ReasonCode = 11
	ReasonCode_USER_REASON                 ReasonCode = 16
	ReasonCode_RESET                       ReasonCode = 17
	ReasonCode_SYNC_FAIL                   ReasonCode = 18
	ReasonCode_FETCH_FAIL                  ReasonCode = 19
	ReasonCode_BAD_TX                      ReasonCode = 20
	ReasonCode_BAD_BLOCK                   ReasonCode = 21
	ReasonCode_FORKED                      ReasonCode = 22
	ReasonCode_UNLINKABLE                  ReasonCode = 23
	ReasonCode_INCOMPATIBLE_VERSION        ReasonCode = 24
	ReasonCode_INCOMPATIBLE_CHAIN          ReasonCode = 25
	ReasonCode_TIME_OUT                    ReasonCode = 32
	ReasonCode_CONNECT_FAIL                ReasonCode = 33
	ReasonCode_TOO_MANY_PEERS_WITH_SAME_IP ReasonCode = 34
	ReasonCode_UNKNOWN                     ReasonCode = 255
)

func (ReasonCode) EnumDescriptor

func (ReasonCode) EnumDescriptor() ([]byte, []int)

func (ReasonCode) String

func (x ReasonCode) String() string

type ResourceCode

type ResourceCode int32
const (
	ResourceCode_BANDWIDTH ResourceCode = 0
	ResourceCode_ENERGY    ResourceCode = 1
)

func (ResourceCode) EnumDescriptor

func (ResourceCode) EnumDescriptor() ([]byte, []int)

func (ResourceCode) String

func (x ResourceCode) String() string

type ResourceReceipt

type ResourceReceipt struct {
	EnergyUsage          int64                            `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty" pg:"energy_usage"`
	EnergyFee            int64                            `protobuf:"varint,2,opt,name=energy_fee,json=energyFee,proto3" json:"energy_fee,omitempty" pg:"energy_fee"`
	OriginEnergyUsage    int64                            `` /* 140-byte string literal not displayed */
	EnergyUsageTotal     int64                            `` /* 136-byte string literal not displayed */
	NetUsage             int64                            `protobuf:"varint,5,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty" pg:"net_usage"`
	NetFee               int64                            `protobuf:"varint,6,opt,name=net_fee,json=netFee,proto3" json:"net_fee,omitempty" pg:"net_fee"`
	Result               Transaction_ResultContractResult `protobuf:"varint,7,opt,name=result,proto3,enum=protocol.Transaction_ResultContractResult" json:"result,omitempty" pg:"result"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-" pg:"-"`
	XXX_unrecognized     []byte                           `json:"-" pg:"-"`
	XXX_sizecache        int32                            `json:"-" pg:"-"`
}

func (*ResourceReceipt) Descriptor

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

func (*ResourceReceipt) GetEnergyFee

func (m *ResourceReceipt) GetEnergyFee() int64

func (*ResourceReceipt) GetEnergyUsage

func (m *ResourceReceipt) GetEnergyUsage() int64

func (*ResourceReceipt) GetEnergyUsageTotal

func (m *ResourceReceipt) GetEnergyUsageTotal() int64

func (*ResourceReceipt) GetNetFee

func (m *ResourceReceipt) GetNetFee() int64

func (*ResourceReceipt) GetNetUsage

func (m *ResourceReceipt) GetNetUsage() int64

func (*ResourceReceipt) GetOriginEnergyUsage

func (m *ResourceReceipt) GetOriginEnergyUsage() int64

func (*ResourceReceipt) GetResult

func (*ResourceReceipt) ProtoMessage

func (*ResourceReceipt) ProtoMessage()

func (*ResourceReceipt) Reset

func (m *ResourceReceipt) Reset()

func (*ResourceReceipt) String

func (m *ResourceReceipt) String() string

func (*ResourceReceipt) XXX_DiscardUnknown

func (m *ResourceReceipt) XXX_DiscardUnknown()

func (*ResourceReceipt) XXX_Marshal

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

func (*ResourceReceipt) XXX_Merge

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

func (*ResourceReceipt) XXX_Size

func (m *ResourceReceipt) XXX_Size() int

func (*ResourceReceipt) XXX_Unmarshal

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

type SellStorageContract

type SellStorageContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	StorageBytes         int64    `protobuf:"varint,2,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty" pg:"storage_bytes"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*SellStorageContract) Descriptor

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

func (*SellStorageContract) GetOwnerAddress

func (m *SellStorageContract) GetOwnerAddress() []byte

func (*SellStorageContract) GetStorageBytes

func (m *SellStorageContract) GetStorageBytes() int64

func (*SellStorageContract) ProtoMessage

func (*SellStorageContract) ProtoMessage()

func (*SellStorageContract) Reset

func (m *SellStorageContract) Reset()

func (*SellStorageContract) String

func (m *SellStorageContract) String() string

func (*SellStorageContract) XXX_DiscardUnknown

func (m *SellStorageContract) XXX_DiscardUnknown()

func (*SellStorageContract) XXX_Marshal

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

func (*SellStorageContract) XXX_Merge

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

func (*SellStorageContract) XXX_Size

func (m *SellStorageContract) XXX_Size() int

func (*SellStorageContract) XXX_Unmarshal

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

type SetAccountIdContract

type SetAccountIdContract struct {
	AccountId            []byte   `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty" pg:"account_id"`
	OwnerAddress         []byte   `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

Set account id if the account has no id. Account id is unique and case insensitive.

func (*SetAccountIdContract) Descriptor

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

func (*SetAccountIdContract) GetAccountId

func (m *SetAccountIdContract) GetAccountId() []byte

func (*SetAccountIdContract) GetOwnerAddress

func (m *SetAccountIdContract) GetOwnerAddress() []byte

func (*SetAccountIdContract) ProtoMessage

func (*SetAccountIdContract) ProtoMessage()

func (*SetAccountIdContract) Reset

func (m *SetAccountIdContract) Reset()

func (*SetAccountIdContract) String

func (m *SetAccountIdContract) String() string

func (*SetAccountIdContract) XXX_DiscardUnknown

func (m *SetAccountIdContract) XXX_DiscardUnknown()

func (*SetAccountIdContract) XXX_Marshal

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

func (*SetAccountIdContract) XXX_Merge

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

func (*SetAccountIdContract) XXX_Size

func (m *SetAccountIdContract) XXX_Size() int

func (*SetAccountIdContract) XXX_Unmarshal

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

type SmartContract

type SmartContract struct {
	OriginAddress              []byte             `protobuf:"bytes,1,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty" pg:"origin_address"`
	ContractAddress            []byte             `` /* 128-byte string literal not displayed */
	Abi                        *SmartContract_ABI `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty" pg:"abi"`
	Bytecode                   []byte             `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty" pg:"bytecode"`
	CallValue                  int64              `protobuf:"varint,5,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty" pg:"call_value"`
	ConsumeUserResourcePercent int64              `` /* 179-byte string literal not displayed */
	Name                       string             `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty" pg:"name"`
	OriginEnergyLimit          int64              `` /* 140-byte string literal not displayed */
	XXX_NoUnkeyedLiteral       struct{}           `json:"-" pg:"-"`
	XXX_unrecognized           []byte             `json:"-" pg:"-"`
	XXX_sizecache              int32              `json:"-" pg:"-"`
}

func (*SmartContract) Descriptor

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

func (*SmartContract) GetAbi

func (m *SmartContract) GetAbi() *SmartContract_ABI

func (*SmartContract) GetBytecode

func (m *SmartContract) GetBytecode() []byte

func (*SmartContract) GetCallValue

func (m *SmartContract) GetCallValue() int64

func (*SmartContract) GetConsumeUserResourcePercent

func (m *SmartContract) GetConsumeUserResourcePercent() int64

func (*SmartContract) GetContractAddress

func (m *SmartContract) GetContractAddress() []byte

func (*SmartContract) GetName

func (m *SmartContract) GetName() string

func (*SmartContract) GetOriginAddress

func (m *SmartContract) GetOriginAddress() []byte

func (*SmartContract) GetOriginEnergyLimit

func (m *SmartContract) GetOriginEnergyLimit() int64

func (*SmartContract) ProtoMessage

func (*SmartContract) ProtoMessage()

func (*SmartContract) Reset

func (m *SmartContract) Reset()

func (*SmartContract) String

func (m *SmartContract) String() string

func (*SmartContract) XXX_DiscardUnknown

func (m *SmartContract) XXX_DiscardUnknown()

func (*SmartContract) XXX_Marshal

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

func (*SmartContract) XXX_Merge

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

func (*SmartContract) XXX_Size

func (m *SmartContract) XXX_Size() int

func (*SmartContract) XXX_Unmarshal

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

type SmartContract_ABI

type SmartContract_ABI struct {
	Entrys               []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty" pg:"entrys"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-" pg:"-"`
	XXX_unrecognized     []byte                     `json:"-" pg:"-"`
	XXX_sizecache        int32                      `json:"-" pg:"-"`
}

func (*SmartContract_ABI) Descriptor

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

func (*SmartContract_ABI) GetEntrys

func (m *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry

func (*SmartContract_ABI) ProtoMessage

func (*SmartContract_ABI) ProtoMessage()

func (*SmartContract_ABI) Reset

func (m *SmartContract_ABI) Reset()

func (*SmartContract_ABI) String

func (m *SmartContract_ABI) String() string

func (*SmartContract_ABI) XXX_DiscardUnknown

func (m *SmartContract_ABI) XXX_DiscardUnknown()

func (*SmartContract_ABI) XXX_Marshal

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

func (*SmartContract_ABI) XXX_Merge

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

func (*SmartContract_ABI) XXX_Size

func (m *SmartContract_ABI) XXX_Size() int

func (*SmartContract_ABI) XXX_Unmarshal

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

type SmartContract_ABI_Entry

type SmartContract_ABI_Entry struct {
	Anonymous            bool                                        `protobuf:"varint,1,opt,name=anonymous,proto3" json:"anonymous,omitempty" pg:"anonymous"`
	Constant             bool                                        `protobuf:"varint,2,opt,name=constant,proto3" json:"constant,omitempty" pg:"constant"`
	Name                 string                                      `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" pg:"name"`
	Inputs               []*SmartContract_ABI_Entry_Param            `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty" pg:"inputs"`
	Outputs              []*SmartContract_ABI_Entry_Param            `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty" pg:"outputs"`
	Type                 SmartContract_ABI_Entry_EntryType           `protobuf:"varint,6,opt,name=type,proto3,enum=protocol.SmartContract_ABI_Entry_EntryType" json:"type,omitempty" pg:"type"`
	Payable              bool                                        `protobuf:"varint,7,opt,name=payable,proto3" json:"payable,omitempty" pg:"payable"`
	StateMutability      SmartContract_ABI_Entry_StateMutabilityType `` /* 163-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                    `json:"-" pg:"-"`
	XXX_unrecognized     []byte                                      `json:"-" pg:"-"`
	XXX_sizecache        int32                                       `json:"-" pg:"-"`
}

func (*SmartContract_ABI_Entry) Descriptor

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

func (*SmartContract_ABI_Entry) GetAnonymous

func (m *SmartContract_ABI_Entry) GetAnonymous() bool

func (*SmartContract_ABI_Entry) GetConstant

func (m *SmartContract_ABI_Entry) GetConstant() bool

func (*SmartContract_ABI_Entry) GetInputs

func (*SmartContract_ABI_Entry) GetName

func (m *SmartContract_ABI_Entry) GetName() string

func (*SmartContract_ABI_Entry) GetOutputs

func (*SmartContract_ABI_Entry) GetPayable

func (m *SmartContract_ABI_Entry) GetPayable() bool

func (*SmartContract_ABI_Entry) GetStateMutability

func (*SmartContract_ABI_Entry) GetType

func (*SmartContract_ABI_Entry) ProtoMessage

func (*SmartContract_ABI_Entry) ProtoMessage()

func (*SmartContract_ABI_Entry) Reset

func (m *SmartContract_ABI_Entry) Reset()

func (*SmartContract_ABI_Entry) String

func (m *SmartContract_ABI_Entry) String() string

func (*SmartContract_ABI_Entry) XXX_DiscardUnknown

func (m *SmartContract_ABI_Entry) XXX_DiscardUnknown()

func (*SmartContract_ABI_Entry) XXX_Marshal

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

func (*SmartContract_ABI_Entry) XXX_Merge

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

func (*SmartContract_ABI_Entry) XXX_Size

func (m *SmartContract_ABI_Entry) XXX_Size() int

func (*SmartContract_ABI_Entry) XXX_Unmarshal

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

type SmartContract_ABI_Entry_EntryType

type SmartContract_ABI_Entry_EntryType int32
const (
	SmartContract_ABI_Entry_UnknownEntryType SmartContract_ABI_Entry_EntryType = 0
	SmartContract_ABI_Entry_Constructor      SmartContract_ABI_Entry_EntryType = 1
	SmartContract_ABI_Entry_Function         SmartContract_ABI_Entry_EntryType = 2
	SmartContract_ABI_Entry_Event            SmartContract_ABI_Entry_EntryType = 3
	SmartContract_ABI_Entry_Fallback         SmartContract_ABI_Entry_EntryType = 4
)

func (SmartContract_ABI_Entry_EntryType) EnumDescriptor

func (SmartContract_ABI_Entry_EntryType) EnumDescriptor() ([]byte, []int)

func (SmartContract_ABI_Entry_EntryType) String

type SmartContract_ABI_Entry_Param

type SmartContract_ABI_Entry_Param struct {
	Indexed              bool     `protobuf:"varint,1,opt,name=indexed,proto3" json:"indexed,omitempty" pg:"indexed"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" pg:"name"`
	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" pg:"type"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*SmartContract_ABI_Entry_Param) Descriptor

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

func (*SmartContract_ABI_Entry_Param) GetIndexed

func (m *SmartContract_ABI_Entry_Param) GetIndexed() bool

func (*SmartContract_ABI_Entry_Param) GetName

func (*SmartContract_ABI_Entry_Param) GetType

func (*SmartContract_ABI_Entry_Param) ProtoMessage

func (*SmartContract_ABI_Entry_Param) ProtoMessage()

func (*SmartContract_ABI_Entry_Param) Reset

func (m *SmartContract_ABI_Entry_Param) Reset()

func (*SmartContract_ABI_Entry_Param) String

func (*SmartContract_ABI_Entry_Param) XXX_DiscardUnknown

func (m *SmartContract_ABI_Entry_Param) XXX_DiscardUnknown()

func (*SmartContract_ABI_Entry_Param) XXX_Marshal

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

func (*SmartContract_ABI_Entry_Param) XXX_Merge

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

func (*SmartContract_ABI_Entry_Param) XXX_Size

func (m *SmartContract_ABI_Entry_Param) XXX_Size() int

func (*SmartContract_ABI_Entry_Param) XXX_Unmarshal

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

type SmartContract_ABI_Entry_StateMutabilityType

type SmartContract_ABI_Entry_StateMutabilityType int32
const (
	SmartContract_ABI_Entry_UnknownMutabilityType SmartContract_ABI_Entry_StateMutabilityType = 0
	SmartContract_ABI_Entry_Pure                  SmartContract_ABI_Entry_StateMutabilityType = 1
	SmartContract_ABI_Entry_View                  SmartContract_ABI_Entry_StateMutabilityType = 2
	SmartContract_ABI_Entry_Nonpayable            SmartContract_ABI_Entry_StateMutabilityType = 3
	SmartContract_ABI_Entry_Payable               SmartContract_ABI_Entry_StateMutabilityType = 4
)

func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor

func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor() ([]byte, []int)

func (SmartContract_ABI_Entry_StateMutabilityType) String

type TXInput

type TXInput struct {
	RawData              *TXInputRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty" pg:"raw_data"`
	Signature            []byte      `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-" pg:"-"`
	XXX_unrecognized     []byte      `json:"-" pg:"-"`
	XXX_sizecache        int32       `json:"-" pg:"-"`
}

func (*TXInput) Descriptor

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

func (*TXInput) GetRawData

func (m *TXInput) GetRawData() *TXInputRaw

func (*TXInput) GetSignature

func (m *TXInput) GetSignature() []byte

func (*TXInput) ProtoMessage

func (*TXInput) ProtoMessage()

func (*TXInput) Reset

func (m *TXInput) Reset()

func (*TXInput) String

func (m *TXInput) String() string

func (*TXInput) XXX_DiscardUnknown

func (m *TXInput) XXX_DiscardUnknown()

func (*TXInput) XXX_Marshal

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

func (*TXInput) XXX_Merge

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

func (*TXInput) XXX_Size

func (m *TXInput) XXX_Size() int

func (*TXInput) XXX_Unmarshal

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

type TXInputRaw

type TXInputRaw struct {
	TxID                 []byte   `protobuf:"bytes,1,opt,name=txID,proto3" json:"txID,omitempty" pg:"txID"`
	Vout                 int64    `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty" pg:"vout"`
	PubKey               []byte   `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty" pg:"pubKey"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*TXInputRaw) Descriptor

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

func (*TXInputRaw) GetPubKey

func (m *TXInputRaw) GetPubKey() []byte

func (*TXInputRaw) GetTxID

func (m *TXInputRaw) GetTxID() []byte

func (*TXInputRaw) GetVout

func (m *TXInputRaw) GetVout() int64

func (*TXInputRaw) ProtoMessage

func (*TXInputRaw) ProtoMessage()

func (*TXInputRaw) Reset

func (m *TXInputRaw) Reset()

func (*TXInputRaw) String

func (m *TXInputRaw) String() string

func (*TXInputRaw) XXX_DiscardUnknown

func (m *TXInputRaw) XXX_DiscardUnknown()

func (*TXInputRaw) XXX_Marshal

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

func (*TXInputRaw) XXX_Merge

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

func (*TXInputRaw) XXX_Size

func (m *TXInputRaw) XXX_Size() int

func (*TXInputRaw) XXX_Unmarshal

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

type TXOutput

type TXOutput struct {
	Value                int64    `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty" pg:"value"`
	PubKeyHash           []byte   `protobuf:"bytes,2,opt,name=pubKeyHash,proto3" json:"pubKeyHash,omitempty" pg:"pubKeyHash"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*TXOutput) Descriptor

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

func (*TXOutput) GetPubKeyHash

func (m *TXOutput) GetPubKeyHash() []byte

func (*TXOutput) GetValue

func (m *TXOutput) GetValue() int64

func (*TXOutput) ProtoMessage

func (*TXOutput) ProtoMessage()

func (*TXOutput) Reset

func (m *TXOutput) Reset()

func (*TXOutput) String

func (m *TXOutput) String() string

func (*TXOutput) XXX_DiscardUnknown

func (m *TXOutput) XXX_DiscardUnknown()

func (*TXOutput) XXX_Marshal

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

func (*TXOutput) XXX_Merge

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

func (*TXOutput) XXX_Size

func (m *TXOutput) XXX_Size() int

func (*TXOutput) XXX_Unmarshal

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

type TXOutputs

type TXOutputs struct {
	Outputs              []*TXOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty" pg:"outputs"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-" pg:"-"`
	XXX_unrecognized     []byte      `json:"-" pg:"-"`
	XXX_sizecache        int32       `json:"-" pg:"-"`
}

func (*TXOutputs) Descriptor

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

func (*TXOutputs) GetOutputs

func (m *TXOutputs) GetOutputs() []*TXOutput

func (*TXOutputs) ProtoMessage

func (*TXOutputs) ProtoMessage()

func (*TXOutputs) Reset

func (m *TXOutputs) Reset()

func (*TXOutputs) String

func (m *TXOutputs) String() string

func (*TXOutputs) XXX_DiscardUnknown

func (m *TXOutputs) XXX_DiscardUnknown()

func (*TXOutputs) XXX_Marshal

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

func (*TXOutputs) XXX_Merge

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

func (*TXOutputs) XXX_Size

func (m *TXOutputs) XXX_Size() int

func (*TXOutputs) XXX_Unmarshal

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

type Transaction

type Transaction struct {
	RawData *TransactionRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty" pg:"raw_data"`
	// only support size = 1,  repeated list here for muti-sig extension
	Signature            [][]byte              `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty" pg:"signature"`
	Ret                  []*Transaction_Result `protobuf:"bytes,5,rep,name=ret,proto3" json:"ret,omitempty" pg:"ret"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" pg:"-"`
	XXX_unrecognized     []byte                `json:"-" pg:"-"`
	XXX_sizecache        int32                 `json:"-" pg:"-"`
}

func (*Transaction) Descriptor

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

func (*Transaction) GetRawData

func (m *Transaction) GetRawData() *TransactionRaw

func (*Transaction) GetRet

func (m *Transaction) GetRet() []*Transaction_Result

func (*Transaction) GetSignature

func (m *Transaction) GetSignature() [][]byte

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

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 TransactionInfo

type TransactionInfo struct {
	Id                            []byte                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" pg:"id"`
	Fee                           int64                  `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty" pg:"fee"`
	BlockNumber                   int64                  `protobuf:"varint,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty" pg:"blockNumber"`
	BlockTimeStamp                int64                  `protobuf:"varint,4,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty" pg:"blockTimeStamp"`
	ContractResult                [][]byte               `protobuf:"bytes,5,rep,name=contractResult,proto3" json:"contractResult,omitempty" pg:"contractResult"`
	ContractAddress               []byte                 `` /* 128-byte string literal not displayed */
	Receipt                       *ResourceReceipt       `protobuf:"bytes,7,opt,name=receipt,proto3" json:"receipt,omitempty" pg:"receipt"`
	Log                           []*TransactionInfo_Log `protobuf:"bytes,8,rep,name=log,proto3" json:"log,omitempty" pg:"log"`
	Result                        TransactionInfoCode    `protobuf:"varint,9,opt,name=result,proto3,enum=protocol.TransactionInfoCode" json:"result,omitempty" pg:"result"`
	ResMessage                    []byte                 `protobuf:"bytes,10,opt,name=resMessage,proto3" json:"resMessage,omitempty" pg:"resMessage"`
	AssetIssueID                  string                 `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty" pg:"assetIssueID"`
	WithdrawAmount                int64                  `` /* 126-byte string literal not displayed */
	UnfreezeAmount                int64                  `` /* 126-byte string literal not displayed */
	InternalTransactions          []*InternalTransaction `` /* 149-byte string literal not displayed */
	ExchangeReceivedAmount        int64                  `` /* 161-byte string literal not displayed */
	ExchangeInjectAnotherAmount   int64                  `` /* 184-byte string literal not displayed */
	ExchangeWithdrawAnotherAmount int64                  `` /* 192-byte string literal not displayed */
	ExchangeId                    int64                  `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty" pg:"exchange_id"`
	XXX_NoUnkeyedLiteral          struct{}               `json:"-" pg:"-"`
	XXX_unrecognized              []byte                 `json:"-" pg:"-"`
	XXX_sizecache                 int32                  `json:"-" pg:"-"`
}

func (*TransactionInfo) Descriptor

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

func (*TransactionInfo) GetAssetIssueID

func (m *TransactionInfo) GetAssetIssueID() string

func (*TransactionInfo) GetBlockNumber

func (m *TransactionInfo) GetBlockNumber() int64

func (*TransactionInfo) GetBlockTimeStamp

func (m *TransactionInfo) GetBlockTimeStamp() int64

func (*TransactionInfo) GetContractAddress

func (m *TransactionInfo) GetContractAddress() []byte

func (*TransactionInfo) GetContractResult

func (m *TransactionInfo) GetContractResult() [][]byte

func (*TransactionInfo) GetExchangeId

func (m *TransactionInfo) GetExchangeId() int64

func (*TransactionInfo) GetExchangeInjectAnotherAmount

func (m *TransactionInfo) GetExchangeInjectAnotherAmount() int64

func (*TransactionInfo) GetExchangeReceivedAmount

func (m *TransactionInfo) GetExchangeReceivedAmount() int64

func (*TransactionInfo) GetExchangeWithdrawAnotherAmount

func (m *TransactionInfo) GetExchangeWithdrawAnotherAmount() int64

func (*TransactionInfo) GetFee

func (m *TransactionInfo) GetFee() int64

func (*TransactionInfo) GetId

func (m *TransactionInfo) GetId() []byte

func (*TransactionInfo) GetInternalTransactions

func (m *TransactionInfo) GetInternalTransactions() []*InternalTransaction

func (*TransactionInfo) GetLog

func (m *TransactionInfo) GetLog() []*TransactionInfo_Log

func (*TransactionInfo) GetReceipt

func (m *TransactionInfo) GetReceipt() *ResourceReceipt

func (*TransactionInfo) GetResMessage

func (m *TransactionInfo) GetResMessage() []byte

func (*TransactionInfo) GetResult

func (m *TransactionInfo) GetResult() TransactionInfoCode

func (*TransactionInfo) GetUnfreezeAmount

func (m *TransactionInfo) GetUnfreezeAmount() int64

func (*TransactionInfo) GetWithdrawAmount

func (m *TransactionInfo) GetWithdrawAmount() int64

func (*TransactionInfo) ProtoMessage

func (*TransactionInfo) ProtoMessage()

func (*TransactionInfo) Reset

func (m *TransactionInfo) Reset()

func (*TransactionInfo) String

func (m *TransactionInfo) String() string

func (*TransactionInfo) XXX_DiscardUnknown

func (m *TransactionInfo) XXX_DiscardUnknown()

func (*TransactionInfo) XXX_Marshal

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

func (*TransactionInfo) XXX_Merge

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

func (*TransactionInfo) XXX_Size

func (m *TransactionInfo) XXX_Size() int

func (*TransactionInfo) XXX_Unmarshal

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

type TransactionInfoCode

type TransactionInfoCode int32
const (
	TransactionInfo_SUCESS TransactionInfoCode = 0
	TransactionInfo_FAILED TransactionInfoCode = 1
)

func (TransactionInfoCode) EnumDescriptor

func (TransactionInfoCode) EnumDescriptor() ([]byte, []int)

func (TransactionInfoCode) String

func (x TransactionInfoCode) String() string

type TransactionInfo_Log

type TransactionInfo_Log struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"`
	Topics               [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty" pg:"topics"`
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty" pg:"data"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*TransactionInfo_Log) Descriptor

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

func (*TransactionInfo_Log) GetAddress

func (m *TransactionInfo_Log) GetAddress() []byte

func (*TransactionInfo_Log) GetData

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

func (*TransactionInfo_Log) GetTopics

func (m *TransactionInfo_Log) GetTopics() [][]byte

func (*TransactionInfo_Log) ProtoMessage

func (*TransactionInfo_Log) ProtoMessage()

func (*TransactionInfo_Log) Reset

func (m *TransactionInfo_Log) Reset()

func (*TransactionInfo_Log) String

func (m *TransactionInfo_Log) String() string

func (*TransactionInfo_Log) XXX_DiscardUnknown

func (m *TransactionInfo_Log) XXX_DiscardUnknown()

func (*TransactionInfo_Log) XXX_Marshal

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

func (*TransactionInfo_Log) XXX_Merge

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

func (*TransactionInfo_Log) XXX_Size

func (m *TransactionInfo_Log) XXX_Size() int

func (*TransactionInfo_Log) XXX_Unmarshal

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

type TransactionRaw

type TransactionRaw struct {
	RefBlockBytes []byte       `protobuf:"bytes,1,opt,name=ref_block_bytes,json=refBlockBytes,proto3" json:"ref_block_bytes,omitempty" pg:"ref_block_bytes"`
	RefBlockNum   int64        `protobuf:"varint,3,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty" pg:"ref_block_num"`
	RefBlockHash  []byte       `protobuf:"bytes,4,opt,name=ref_block_hash,json=refBlockHash,proto3" json:"ref_block_hash,omitempty" pg:"ref_block_hash"`
	Expiration    int64        `protobuf:"varint,8,opt,name=expiration,proto3" json:"expiration,omitempty" pg:"expiration"`
	Auths         []*Authority `protobuf:"bytes,9,rep,name=auths,proto3" json:"auths,omitempty" pg:"auths"`
	// data not used
	Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty" pg:"data"`
	//only support size = 1,  repeated list here for extension
	Contract []*Transaction_Contract `protobuf:"bytes,11,rep,name=contract,proto3" json:"contract,omitempty" pg:"contract"`
	// scripts not used
	Scripts              []byte   `protobuf:"bytes,12,opt,name=scripts,proto3" json:"scripts,omitempty" pg:"scripts"`
	Timestamp            int64    `protobuf:"varint,14,opt,name=timestamp,proto3" json:"timestamp,omitempty" pg:"timestamp"`
	FeeLimit             int64    `protobuf:"varint,18,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty" pg:"fee_limit"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*TransactionRaw) Descriptor

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

func (*TransactionRaw) GetAuths

func (m *TransactionRaw) GetAuths() []*Authority

func (*TransactionRaw) GetContract

func (m *TransactionRaw) GetContract() []*Transaction_Contract

func (*TransactionRaw) GetData

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

func (*TransactionRaw) GetExpiration

func (m *TransactionRaw) GetExpiration() int64

func (*TransactionRaw) GetFeeLimit

func (m *TransactionRaw) GetFeeLimit() int64

func (*TransactionRaw) GetRefBlockBytes

func (m *TransactionRaw) GetRefBlockBytes() []byte

func (*TransactionRaw) GetRefBlockHash

func (m *TransactionRaw) GetRefBlockHash() []byte

func (*TransactionRaw) GetRefBlockNum

func (m *TransactionRaw) GetRefBlockNum() int64

func (*TransactionRaw) GetScripts

func (m *TransactionRaw) GetScripts() []byte

func (*TransactionRaw) GetTimestamp

func (m *TransactionRaw) GetTimestamp() int64

func (*TransactionRaw) ProtoMessage

func (*TransactionRaw) ProtoMessage()

func (*TransactionRaw) Reset

func (m *TransactionRaw) Reset()

func (*TransactionRaw) String

func (m *TransactionRaw) String() string

func (*TransactionRaw) XXX_DiscardUnknown

func (m *TransactionRaw) XXX_DiscardUnknown()

func (*TransactionRaw) XXX_Marshal

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

func (*TransactionRaw) XXX_Merge

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

func (*TransactionRaw) XXX_Size

func (m *TransactionRaw) XXX_Size() int

func (*TransactionRaw) XXX_Unmarshal

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

type TransactionSign

type TransactionSign struct {
	Transaction          *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty" pg:"transaction"`
	PrivateKey           []byte       `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty" pg:"privateKey"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-" pg:"-"`
	XXX_unrecognized     []byte       `json:"-" pg:"-"`
	XXX_sizecache        int32        `json:"-" pg:"-"`
}

func (*TransactionSign) Descriptor

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

func (*TransactionSign) GetPrivateKey

func (m *TransactionSign) GetPrivateKey() []byte

func (*TransactionSign) GetTransaction

func (m *TransactionSign) GetTransaction() *Transaction

func (*TransactionSign) ProtoMessage

func (*TransactionSign) ProtoMessage()

func (*TransactionSign) Reset

func (m *TransactionSign) Reset()

func (*TransactionSign) String

func (m *TransactionSign) String() string

func (*TransactionSign) XXX_DiscardUnknown

func (m *TransactionSign) XXX_DiscardUnknown()

func (*TransactionSign) XXX_Marshal

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

func (*TransactionSign) XXX_Merge

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

func (*TransactionSign) XXX_Size

func (m *TransactionSign) XXX_Size() int

func (*TransactionSign) XXX_Unmarshal

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

type Transaction_Contract

type Transaction_Contract struct {
	Type                 Transaction_Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Transaction_Contract_ContractType" json:"type,omitempty" pg:"type"`
	Parameter            *types.Any                        `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty" pg:"parameter"`
	Provider             []byte                            `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty" pg:"provider"`
	ContractName         []byte                            `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty" pg:"ContractName"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-" pg:"-"`
	XXX_unrecognized     []byte                            `json:"-" pg:"-"`
	XXX_sizecache        int32                             `json:"-" pg:"-"`
}

func (*Transaction_Contract) Descriptor

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

func (*Transaction_Contract) GetContractName

func (m *Transaction_Contract) GetContractName() []byte

func (*Transaction_Contract) GetParameter

func (m *Transaction_Contract) GetParameter() *types.Any

func (*Transaction_Contract) GetProvider

func (m *Transaction_Contract) GetProvider() []byte

func (*Transaction_Contract) GetType

func (*Transaction_Contract) ProtoMessage

func (*Transaction_Contract) ProtoMessage()

func (*Transaction_Contract) Reset

func (m *Transaction_Contract) Reset()

func (*Transaction_Contract) String

func (m *Transaction_Contract) String() string

func (*Transaction_Contract) XXX_DiscardUnknown

func (m *Transaction_Contract) XXX_DiscardUnknown()

func (*Transaction_Contract) XXX_Marshal

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

func (*Transaction_Contract) XXX_Merge

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

func (*Transaction_Contract) XXX_Size

func (m *Transaction_Contract) XXX_Size() int

func (*Transaction_Contract) XXX_Unmarshal

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

type Transaction_Contract_ContractType

type Transaction_Contract_ContractType int32
const (
	Transaction_Contract_AccountCreateContract         Transaction_Contract_ContractType = 0
	Transaction_Contract_TransferContract              Transaction_Contract_ContractType = 1
	Transaction_Contract_TransferAssetContract         Transaction_Contract_ContractType = 2
	Transaction_Contract_VoteAssetContract             Transaction_Contract_ContractType = 3
	Transaction_Contract_VoteWitnessContract           Transaction_Contract_ContractType = 4
	Transaction_Contract_WitnessCreateContract         Transaction_Contract_ContractType = 5
	Transaction_Contract_AssetIssueContract            Transaction_Contract_ContractType = 6
	Transaction_Contract_WitnessUpdateContract         Transaction_Contract_ContractType = 8
	Transaction_Contract_ParticipateAssetIssueContract Transaction_Contract_ContractType = 9
	Transaction_Contract_AccountUpdateContract         Transaction_Contract_ContractType = 10
	Transaction_Contract_FreezeBalanceContract         Transaction_Contract_ContractType = 11
	Transaction_Contract_UnfreezeBalanceContract       Transaction_Contract_ContractType = 12
	Transaction_Contract_WithdrawBalanceContract       Transaction_Contract_ContractType = 13
	Transaction_Contract_UnfreezeAssetContract         Transaction_Contract_ContractType = 14
	Transaction_Contract_UpdateAssetContract           Transaction_Contract_ContractType = 15
	Transaction_Contract_ProposalCreateContract        Transaction_Contract_ContractType = 16
	Transaction_Contract_ProposalApproveContract       Transaction_Contract_ContractType = 17
	Transaction_Contract_ProposalDeleteContract        Transaction_Contract_ContractType = 18
	Transaction_Contract_SetAccountIdContract          Transaction_Contract_ContractType = 19
	Transaction_Contract_CustomContract                Transaction_Contract_ContractType = 20
	// BuyStorageContract = 21;
	// BuyStorageBytesContract = 22;
	// SellStorageContract = 23;
	Transaction_Contract_CreateSmartContract         Transaction_Contract_ContractType = 30
	Transaction_Contract_TriggerSmartContract        Transaction_Contract_ContractType = 31
	Transaction_Contract_GetContract                 Transaction_Contract_ContractType = 32
	Transaction_Contract_UpdateSettingContract       Transaction_Contract_ContractType = 33
	Transaction_Contract_ExchangeCreateContract      Transaction_Contract_ContractType = 41
	Transaction_Contract_ExchangeInjectContract      Transaction_Contract_ContractType = 42
	Transaction_Contract_ExchangeWithdrawContract    Transaction_Contract_ContractType = 43
	Transaction_Contract_ExchangeTransactionContract Transaction_Contract_ContractType = 44
	Transaction_Contract_UpdateEnergyLimitContract   Transaction_Contract_ContractType = 45
)

func (Transaction_Contract_ContractType) EnumDescriptor

func (Transaction_Contract_ContractType) EnumDescriptor() ([]byte, []int)

func (Transaction_Contract_ContractType) String

type Transaction_Result

type Transaction_Result struct {
	Fee                           int64                            `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty" pg:"fee"`
	Ret                           Transaction_ResultCode           `protobuf:"varint,2,opt,name=ret,proto3,enum=protocol.Transaction_ResultCode" json:"ret,omitempty" pg:"ret"`
	ContractRet                   Transaction_ResultContractResult `` /* 140-byte string literal not displayed */
	AssetIssueID                  string                           `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty" pg:"assetIssueID"`
	WithdrawAmount                int64                            `` /* 126-byte string literal not displayed */
	UnfreezeAmount                int64                            `` /* 126-byte string literal not displayed */
	ExchangeReceivedAmount        int64                            `` /* 161-byte string literal not displayed */
	ExchangeInjectAnotherAmount   int64                            `` /* 184-byte string literal not displayed */
	ExchangeWithdrawAnotherAmount int64                            `` /* 192-byte string literal not displayed */
	ExchangeId                    int64                            `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty" pg:"exchange_id"`
	XXX_NoUnkeyedLiteral          struct{}                         `json:"-" pg:"-"`
	XXX_unrecognized              []byte                           `json:"-" pg:"-"`
	XXX_sizecache                 int32                            `json:"-" pg:"-"`
}

func (*Transaction_Result) Descriptor

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

func (*Transaction_Result) GetAssetIssueID

func (m *Transaction_Result) GetAssetIssueID() string

func (*Transaction_Result) GetContractRet

func (*Transaction_Result) GetExchangeId

func (m *Transaction_Result) GetExchangeId() int64

func (*Transaction_Result) GetExchangeInjectAnotherAmount

func (m *Transaction_Result) GetExchangeInjectAnotherAmount() int64

func (*Transaction_Result) GetExchangeReceivedAmount

func (m *Transaction_Result) GetExchangeReceivedAmount() int64

func (*Transaction_Result) GetExchangeWithdrawAnotherAmount

func (m *Transaction_Result) GetExchangeWithdrawAnotherAmount() int64

func (*Transaction_Result) GetFee

func (m *Transaction_Result) GetFee() int64

func (*Transaction_Result) GetRet

func (*Transaction_Result) GetUnfreezeAmount

func (m *Transaction_Result) GetUnfreezeAmount() int64

func (*Transaction_Result) GetWithdrawAmount

func (m *Transaction_Result) GetWithdrawAmount() int64

func (*Transaction_Result) ProtoMessage

func (*Transaction_Result) ProtoMessage()

func (*Transaction_Result) Reset

func (m *Transaction_Result) Reset()

func (*Transaction_Result) String

func (m *Transaction_Result) String() string

func (*Transaction_Result) XXX_DiscardUnknown

func (m *Transaction_Result) XXX_DiscardUnknown()

func (*Transaction_Result) XXX_Marshal

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

func (*Transaction_Result) XXX_Merge

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

func (*Transaction_Result) XXX_Size

func (m *Transaction_Result) XXX_Size() int

func (*Transaction_Result) XXX_Unmarshal

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

type Transaction_ResultCode

type Transaction_ResultCode int32
const (
	Transaction_Result_SUCESS Transaction_ResultCode = 0
	Transaction_Result_FAILED Transaction_ResultCode = 1
)

func (Transaction_ResultCode) EnumDescriptor

func (Transaction_ResultCode) EnumDescriptor() ([]byte, []int)

func (Transaction_ResultCode) String

func (x Transaction_ResultCode) String() string

type Transaction_ResultContractResult

type Transaction_ResultContractResult int32
const (
	Transaction_Result_DEFAULT              Transaction_ResultContractResult = 0
	Transaction_Result_SUCCESS              Transaction_ResultContractResult = 1
	Transaction_Result_REVERT               Transaction_ResultContractResult = 2
	Transaction_Result_BAD_JUMP_DESTINATION Transaction_ResultContractResult = 3
	Transaction_Result_OUT_OF_MEMORY        Transaction_ResultContractResult = 4
	Transaction_Result_PRECOMPILED_CONTRACT Transaction_ResultContractResult = 5
	Transaction_Result_STACK_TOO_SMALL      Transaction_ResultContractResult = 6
	Transaction_Result_STACK_TOO_LARGE      Transaction_ResultContractResult = 7
	Transaction_Result_ILLEGAL_OPERATION    Transaction_ResultContractResult = 8
	Transaction_Result_STACK_OVERFLOW       Transaction_ResultContractResult = 9
	Transaction_Result_OUT_OF_ENERGY        Transaction_ResultContractResult = 10
	Transaction_Result_OUT_OF_TIME          Transaction_ResultContractResult = 11
	Transaction_Result_JVM_STACK_OVER_FLOW  Transaction_ResultContractResult = 12
	Transaction_Result_UNKNOWN              Transaction_ResultContractResult = 13
)

func (Transaction_ResultContractResult) EnumDescriptor

func (Transaction_ResultContractResult) EnumDescriptor() ([]byte, []int)

func (Transaction_ResultContractResult) String

type Transactions

type Transactions struct {
	Transactions         []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty" pg:"transactions"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-" pg:"-"`
	XXX_unrecognized     []byte         `json:"-" pg:"-"`
	XXX_sizecache        int32          `json:"-" pg:"-"`
}

func (*Transactions) Descriptor

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

func (*Transactions) GetTransactions

func (m *Transactions) GetTransactions() []*Transaction

func (*Transactions) ProtoMessage

func (*Transactions) ProtoMessage()

func (*Transactions) Reset

func (m *Transactions) Reset()

func (*Transactions) String

func (m *Transactions) String() string

func (*Transactions) XXX_DiscardUnknown

func (m *Transactions) XXX_DiscardUnknown()

func (*Transactions) XXX_Marshal

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

func (*Transactions) XXX_Merge

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

func (*Transactions) XXX_Size

func (m *Transactions) XXX_Size() int

func (*Transactions) XXX_Unmarshal

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

type TransferAssetContract

type TransferAssetContract struct {
	AssetName            []byte   `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty" pg:"asset_name"`
	OwnerAddress         []byte   `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ToAddress            []byte   `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"`
	Amount               int64    `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*TransferAssetContract) Descriptor

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

func (*TransferAssetContract) GetAmount

func (m *TransferAssetContract) GetAmount() int64

func (*TransferAssetContract) GetAssetName

func (m *TransferAssetContract) GetAssetName() []byte

func (*TransferAssetContract) GetOwnerAddress

func (m *TransferAssetContract) GetOwnerAddress() []byte

func (*TransferAssetContract) GetToAddress

func (m *TransferAssetContract) GetToAddress() []byte

func (*TransferAssetContract) ProtoMessage

func (*TransferAssetContract) ProtoMessage()

func (*TransferAssetContract) Reset

func (m *TransferAssetContract) Reset()

func (*TransferAssetContract) String

func (m *TransferAssetContract) String() string

func (*TransferAssetContract) XXX_DiscardUnknown

func (m *TransferAssetContract) XXX_DiscardUnknown()

func (*TransferAssetContract) XXX_Marshal

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

func (*TransferAssetContract) XXX_Merge

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

func (*TransferAssetContract) XXX_Size

func (m *TransferAssetContract) XXX_Size() int

func (*TransferAssetContract) XXX_Unmarshal

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

type TransferContract

type TransferContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ToAddress            []byte   `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"`
	Amount               int64    `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*TransferContract) Descriptor

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

func (*TransferContract) GetAmount

func (m *TransferContract) GetAmount() int64

func (*TransferContract) GetOwnerAddress

func (m *TransferContract) GetOwnerAddress() []byte

func (*TransferContract) GetToAddress

func (m *TransferContract) GetToAddress() []byte

func (*TransferContract) ProtoMessage

func (*TransferContract) ProtoMessage()

func (*TransferContract) Reset

func (m *TransferContract) Reset()

func (*TransferContract) String

func (m *TransferContract) String() string

func (*TransferContract) XXX_DiscardUnknown

func (m *TransferContract) XXX_DiscardUnknown()

func (*TransferContract) XXX_Marshal

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

func (*TransferContract) XXX_Merge

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

func (*TransferContract) XXX_Size

func (m *TransferContract) XXX_Size() int

func (*TransferContract) XXX_Unmarshal

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

type TriggerSmartContract

type TriggerSmartContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ContractAddress      []byte   `` /* 128-byte string literal not displayed */
	CallValue            int64    `protobuf:"varint,3,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty" pg:"call_value"`
	Data                 []byte   `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty" pg:"data"`
	CallTokenValue       int64    `` /* 128-byte string literal not displayed */
	TokenId              int64    `protobuf:"varint,6,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" pg:"token_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*TriggerSmartContract) Descriptor

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

func (*TriggerSmartContract) GetCallTokenValue

func (m *TriggerSmartContract) GetCallTokenValue() int64

func (*TriggerSmartContract) GetCallValue

func (m *TriggerSmartContract) GetCallValue() int64

func (*TriggerSmartContract) GetContractAddress

func (m *TriggerSmartContract) GetContractAddress() []byte

func (*TriggerSmartContract) GetData

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

func (*TriggerSmartContract) GetOwnerAddress

func (m *TriggerSmartContract) GetOwnerAddress() []byte

func (*TriggerSmartContract) GetTokenId

func (m *TriggerSmartContract) GetTokenId() int64

func (*TriggerSmartContract) ProtoMessage

func (*TriggerSmartContract) ProtoMessage()

func (*TriggerSmartContract) Reset

func (m *TriggerSmartContract) Reset()

func (*TriggerSmartContract) String

func (m *TriggerSmartContract) String() string

func (*TriggerSmartContract) XXX_DiscardUnknown

func (m *TriggerSmartContract) XXX_DiscardUnknown()

func (*TriggerSmartContract) XXX_Marshal

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

func (*TriggerSmartContract) XXX_Merge

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

func (*TriggerSmartContract) XXX_Size

func (m *TriggerSmartContract) XXX_Size() int

func (*TriggerSmartContract) XXX_Unmarshal

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

type UnfreezeAssetContract

type UnfreezeAssetContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*UnfreezeAssetContract) Descriptor

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

func (*UnfreezeAssetContract) GetOwnerAddress

func (m *UnfreezeAssetContract) GetOwnerAddress() []byte

func (*UnfreezeAssetContract) ProtoMessage

func (*UnfreezeAssetContract) ProtoMessage()

func (*UnfreezeAssetContract) Reset

func (m *UnfreezeAssetContract) Reset()

func (*UnfreezeAssetContract) String

func (m *UnfreezeAssetContract) String() string

func (*UnfreezeAssetContract) XXX_DiscardUnknown

func (m *UnfreezeAssetContract) XXX_DiscardUnknown()

func (*UnfreezeAssetContract) XXX_Marshal

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

func (*UnfreezeAssetContract) XXX_Merge

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

func (*UnfreezeAssetContract) XXX_Size

func (m *UnfreezeAssetContract) XXX_Size() int

func (*UnfreezeAssetContract) XXX_Unmarshal

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

type UnfreezeBalanceContract

type UnfreezeBalanceContract struct {
	OwnerAddress         []byte       `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	Resource             ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty" pg:"resource"`
	ReceiverAddress      []byte       `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-" pg:"-"`
	XXX_unrecognized     []byte       `json:"-" pg:"-"`
	XXX_sizecache        int32        `json:"-" pg:"-"`
}

func (*UnfreezeBalanceContract) Descriptor

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

func (*UnfreezeBalanceContract) GetOwnerAddress

func (m *UnfreezeBalanceContract) GetOwnerAddress() []byte

func (*UnfreezeBalanceContract) GetReceiverAddress

func (m *UnfreezeBalanceContract) GetReceiverAddress() []byte

func (*UnfreezeBalanceContract) GetResource

func (m *UnfreezeBalanceContract) GetResource() ResourceCode

func (*UnfreezeBalanceContract) ProtoMessage

func (*UnfreezeBalanceContract) ProtoMessage()

func (*UnfreezeBalanceContract) Reset

func (m *UnfreezeBalanceContract) Reset()

func (*UnfreezeBalanceContract) String

func (m *UnfreezeBalanceContract) String() string

func (*UnfreezeBalanceContract) XXX_DiscardUnknown

func (m *UnfreezeBalanceContract) XXX_DiscardUnknown()

func (*UnfreezeBalanceContract) XXX_Marshal

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

func (*UnfreezeBalanceContract) XXX_Merge

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

func (*UnfreezeBalanceContract) XXX_Size

func (m *UnfreezeBalanceContract) XXX_Size() int

func (*UnfreezeBalanceContract) XXX_Unmarshal

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

type UpdateAssetContract

type UpdateAssetContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	Description          []byte   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" pg:"description"`
	Url                  []byte   `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty" pg:"url"`
	NewLimit             int64    `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty" pg:"new_limit"`
	NewPublicLimit       int64    `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*UpdateAssetContract) Descriptor

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

func (*UpdateAssetContract) GetDescription

func (m *UpdateAssetContract) GetDescription() []byte

func (*UpdateAssetContract) GetNewLimit

func (m *UpdateAssetContract) GetNewLimit() int64

func (*UpdateAssetContract) GetNewPublicLimit

func (m *UpdateAssetContract) GetNewPublicLimit() int64

func (*UpdateAssetContract) GetOwnerAddress

func (m *UpdateAssetContract) GetOwnerAddress() []byte

func (*UpdateAssetContract) GetUrl

func (m *UpdateAssetContract) GetUrl() []byte

func (*UpdateAssetContract) ProtoMessage

func (*UpdateAssetContract) ProtoMessage()

func (*UpdateAssetContract) Reset

func (m *UpdateAssetContract) Reset()

func (*UpdateAssetContract) String

func (m *UpdateAssetContract) String() string

func (*UpdateAssetContract) XXX_DiscardUnknown

func (m *UpdateAssetContract) XXX_DiscardUnknown()

func (*UpdateAssetContract) XXX_Marshal

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

func (*UpdateAssetContract) XXX_Merge

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

func (*UpdateAssetContract) XXX_Size

func (m *UpdateAssetContract) XXX_Size() int

func (*UpdateAssetContract) XXX_Unmarshal

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

type UpdateEnergyLimitContract

type UpdateEnergyLimitContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ContractAddress      []byte   `` /* 128-byte string literal not displayed */
	OriginEnergyLimit    int64    `` /* 140-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*UpdateEnergyLimitContract) Descriptor

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

func (*UpdateEnergyLimitContract) GetContractAddress

func (m *UpdateEnergyLimitContract) GetContractAddress() []byte

func (*UpdateEnergyLimitContract) GetOriginEnergyLimit

func (m *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64

func (*UpdateEnergyLimitContract) GetOwnerAddress

func (m *UpdateEnergyLimitContract) GetOwnerAddress() []byte

func (*UpdateEnergyLimitContract) ProtoMessage

func (*UpdateEnergyLimitContract) ProtoMessage()

func (*UpdateEnergyLimitContract) Reset

func (m *UpdateEnergyLimitContract) Reset()

func (*UpdateEnergyLimitContract) String

func (m *UpdateEnergyLimitContract) String() string

func (*UpdateEnergyLimitContract) XXX_DiscardUnknown

func (m *UpdateEnergyLimitContract) XXX_DiscardUnknown()

func (*UpdateEnergyLimitContract) XXX_Marshal

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

func (*UpdateEnergyLimitContract) XXX_Merge

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

func (*UpdateEnergyLimitContract) XXX_Size

func (m *UpdateEnergyLimitContract) XXX_Size() int

func (*UpdateEnergyLimitContract) XXX_Unmarshal

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

type UpdateSettingContract

type UpdateSettingContract struct {
	OwnerAddress               []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	ContractAddress            []byte   `` /* 128-byte string literal not displayed */
	ConsumeUserResourcePercent int64    `` /* 179-byte string literal not displayed */
	XXX_NoUnkeyedLiteral       struct{} `json:"-" pg:"-"`
	XXX_unrecognized           []byte   `json:"-" pg:"-"`
	XXX_sizecache              int32    `json:"-" pg:"-"`
}

func (*UpdateSettingContract) Descriptor

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

func (*UpdateSettingContract) GetConsumeUserResourcePercent

func (m *UpdateSettingContract) GetConsumeUserResourcePercent() int64

func (*UpdateSettingContract) GetContractAddress

func (m *UpdateSettingContract) GetContractAddress() []byte

func (*UpdateSettingContract) GetOwnerAddress

func (m *UpdateSettingContract) GetOwnerAddress() []byte

func (*UpdateSettingContract) ProtoMessage

func (*UpdateSettingContract) ProtoMessage()

func (*UpdateSettingContract) Reset

func (m *UpdateSettingContract) Reset()

func (*UpdateSettingContract) String

func (m *UpdateSettingContract) String() string

func (*UpdateSettingContract) XXX_DiscardUnknown

func (m *UpdateSettingContract) XXX_DiscardUnknown()

func (*UpdateSettingContract) XXX_Marshal

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

func (*UpdateSettingContract) XXX_Merge

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

func (*UpdateSettingContract) XXX_Size

func (m *UpdateSettingContract) XXX_Size() int

func (*UpdateSettingContract) XXX_Unmarshal

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

type Vote

type Vote struct {
	// the super rep address
	VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty" pg:"vote_address"`
	// the vote num to this super rep.
	VoteCount            int64    `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty" pg:"vote_count"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

vote message

func (*Vote) Descriptor

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

func (*Vote) GetVoteAddress

func (m *Vote) GetVoteAddress() []byte

func (*Vote) GetVoteCount

func (m *Vote) GetVoteCount() int64

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) Reset

func (m *Vote) Reset()

func (*Vote) String

func (m *Vote) String() string

func (*Vote) XXX_DiscardUnknown

func (m *Vote) XXX_DiscardUnknown()

func (*Vote) XXX_Marshal

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

func (*Vote) XXX_Merge

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

func (*Vote) XXX_Size

func (m *Vote) XXX_Size() int

func (*Vote) XXX_Unmarshal

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

type VoteAssetContract

type VoteAssetContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	VoteAddress          [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty" pg:"vote_address"`
	Support              bool     `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty" pg:"support"`
	Count                int32    `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty" pg:"count"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*VoteAssetContract) Descriptor

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

func (*VoteAssetContract) GetCount

func (m *VoteAssetContract) GetCount() int32

func (*VoteAssetContract) GetOwnerAddress

func (m *VoteAssetContract) GetOwnerAddress() []byte

func (*VoteAssetContract) GetSupport

func (m *VoteAssetContract) GetSupport() bool

func (*VoteAssetContract) GetVoteAddress

func (m *VoteAssetContract) GetVoteAddress() [][]byte

func (*VoteAssetContract) ProtoMessage

func (*VoteAssetContract) ProtoMessage()

func (*VoteAssetContract) Reset

func (m *VoteAssetContract) Reset()

func (*VoteAssetContract) String

func (m *VoteAssetContract) String() string

func (*VoteAssetContract) XXX_DiscardUnknown

func (m *VoteAssetContract) XXX_DiscardUnknown()

func (*VoteAssetContract) XXX_Marshal

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

func (*VoteAssetContract) XXX_Merge

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

func (*VoteAssetContract) XXX_Size

func (m *VoteAssetContract) XXX_Size() int

func (*VoteAssetContract) XXX_Unmarshal

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

type VoteWitnessContract

type VoteWitnessContract struct {
	OwnerAddress         []byte                      `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	Votes                []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty" pg:"votes"`
	Support              bool                        `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty" pg:"support"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-" pg:"-"`
	XXX_unrecognized     []byte                      `json:"-" pg:"-"`
	XXX_sizecache        int32                       `json:"-" pg:"-"`
}

func (*VoteWitnessContract) Descriptor

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

func (*VoteWitnessContract) GetOwnerAddress

func (m *VoteWitnessContract) GetOwnerAddress() []byte

func (*VoteWitnessContract) GetSupport

func (m *VoteWitnessContract) GetSupport() bool

func (*VoteWitnessContract) GetVotes

func (*VoteWitnessContract) ProtoMessage

func (*VoteWitnessContract) ProtoMessage()

func (*VoteWitnessContract) Reset

func (m *VoteWitnessContract) Reset()

func (*VoteWitnessContract) String

func (m *VoteWitnessContract) String() string

func (*VoteWitnessContract) XXX_DiscardUnknown

func (m *VoteWitnessContract) XXX_DiscardUnknown()

func (*VoteWitnessContract) XXX_Marshal

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

func (*VoteWitnessContract) XXX_Merge

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

func (*VoteWitnessContract) XXX_Size

func (m *VoteWitnessContract) XXX_Size() int

func (*VoteWitnessContract) XXX_Unmarshal

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

type VoteWitnessContract_Vote

type VoteWitnessContract_Vote struct {
	VoteAddress          []byte   `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty" pg:"vote_address"`
	VoteCount            int64    `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty" pg:"vote_count"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*VoteWitnessContract_Vote) Descriptor

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

func (*VoteWitnessContract_Vote) GetVoteAddress

func (m *VoteWitnessContract_Vote) GetVoteAddress() []byte

func (*VoteWitnessContract_Vote) GetVoteCount

func (m *VoteWitnessContract_Vote) GetVoteCount() int64

func (*VoteWitnessContract_Vote) ProtoMessage

func (*VoteWitnessContract_Vote) ProtoMessage()

func (*VoteWitnessContract_Vote) Reset

func (m *VoteWitnessContract_Vote) Reset()

func (*VoteWitnessContract_Vote) String

func (m *VoteWitnessContract_Vote) String() string

func (*VoteWitnessContract_Vote) XXX_DiscardUnknown

func (m *VoteWitnessContract_Vote) XXX_DiscardUnknown()

func (*VoteWitnessContract_Vote) XXX_Marshal

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

func (*VoteWitnessContract_Vote) XXX_Merge

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

func (*VoteWitnessContract_Vote) XXX_Size

func (m *VoteWitnessContract_Vote) XXX_Size() int

func (*VoteWitnessContract_Vote) XXX_Unmarshal

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

type Votes

type Votes struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"`
	OldVotes             []*Vote  `protobuf:"bytes,2,rep,name=old_votes,json=oldVotes,proto3" json:"old_votes,omitempty" pg:"old_votes"`
	NewVotes             []*Vote  `protobuf:"bytes,3,rep,name=new_votes,json=newVotes,proto3" json:"new_votes,omitempty" pg:"new_votes"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

Vote Change

func (*Votes) Descriptor

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

func (*Votes) GetAddress

func (m *Votes) GetAddress() []byte

func (*Votes) GetNewVotes

func (m *Votes) GetNewVotes() []*Vote

func (*Votes) GetOldVotes

func (m *Votes) GetOldVotes() []*Vote

func (*Votes) ProtoMessage

func (*Votes) ProtoMessage()

func (*Votes) Reset

func (m *Votes) Reset()

func (*Votes) String

func (m *Votes) String() string

func (*Votes) XXX_DiscardUnknown

func (m *Votes) XXX_DiscardUnknown()

func (*Votes) XXX_Marshal

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

func (*Votes) XXX_Merge

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

func (*Votes) XXX_Size

func (m *Votes) XXX_Size() int

func (*Votes) XXX_Unmarshal

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

type WithdrawBalanceContract

type WithdrawBalanceContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*WithdrawBalanceContract) Descriptor

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

func (*WithdrawBalanceContract) GetOwnerAddress

func (m *WithdrawBalanceContract) GetOwnerAddress() []byte

func (*WithdrawBalanceContract) ProtoMessage

func (*WithdrawBalanceContract) ProtoMessage()

func (*WithdrawBalanceContract) Reset

func (m *WithdrawBalanceContract) Reset()

func (*WithdrawBalanceContract) String

func (m *WithdrawBalanceContract) String() string

func (*WithdrawBalanceContract) XXX_DiscardUnknown

func (m *WithdrawBalanceContract) XXX_DiscardUnknown()

func (*WithdrawBalanceContract) XXX_Marshal

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

func (*WithdrawBalanceContract) XXX_Merge

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

func (*WithdrawBalanceContract) XXX_Size

func (m *WithdrawBalanceContract) XXX_Size() int

func (*WithdrawBalanceContract) XXX_Unmarshal

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

type Witness

type Witness struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"`
	VoteCount            int64    `protobuf:"varint,2,opt,name=voteCount,proto3" json:"voteCount,omitempty" pg:"voteCount"`
	PubKey               []byte   `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty" pg:"pubKey"`
	Url                  string   `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty" pg:"url"`
	TotalProduced        int64    `protobuf:"varint,5,opt,name=totalProduced,proto3" json:"totalProduced,omitempty" pg:"totalProduced"`
	TotalMissed          int64    `protobuf:"varint,6,opt,name=totalMissed,proto3" json:"totalMissed,omitempty" pg:"totalMissed"`
	LatestBlockNum       int64    `protobuf:"varint,7,opt,name=latestBlockNum,proto3" json:"latestBlockNum,omitempty" pg:"latestBlockNum"`
	LatestSlotNum        int64    `protobuf:"varint,8,opt,name=latestSlotNum,proto3" json:"latestSlotNum,omitempty" pg:"latestSlotNum"`
	IsJobs               bool     `protobuf:"varint,9,opt,name=isJobs,proto3" json:"isJobs,omitempty" pg:"isJobs"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

Witness

func (*Witness) Descriptor

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

func (*Witness) GetAddress

func (m *Witness) GetAddress() []byte

func (*Witness) GetIsJobs

func (m *Witness) GetIsJobs() bool

func (*Witness) GetLatestBlockNum

func (m *Witness) GetLatestBlockNum() int64

func (*Witness) GetLatestSlotNum

func (m *Witness) GetLatestSlotNum() int64

func (*Witness) GetPubKey

func (m *Witness) GetPubKey() []byte

func (*Witness) GetTotalMissed

func (m *Witness) GetTotalMissed() int64

func (*Witness) GetTotalProduced

func (m *Witness) GetTotalProduced() int64

func (*Witness) GetUrl

func (m *Witness) GetUrl() string

func (*Witness) GetVoteCount

func (m *Witness) GetVoteCount() int64

func (*Witness) ProtoMessage

func (*Witness) ProtoMessage()

func (*Witness) Reset

func (m *Witness) Reset()

func (*Witness) String

func (m *Witness) String() string

func (*Witness) XXX_DiscardUnknown

func (m *Witness) XXX_DiscardUnknown()

func (*Witness) XXX_Marshal

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

func (*Witness) XXX_Merge

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

func (*Witness) XXX_Size

func (m *Witness) XXX_Size() int

func (*Witness) XXX_Unmarshal

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

type WitnessCreateContract

type WitnessCreateContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	Url                  []byte   `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" pg:"url"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*WitnessCreateContract) Descriptor

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

func (*WitnessCreateContract) GetOwnerAddress

func (m *WitnessCreateContract) GetOwnerAddress() []byte

func (*WitnessCreateContract) GetUrl

func (m *WitnessCreateContract) GetUrl() []byte

func (*WitnessCreateContract) ProtoMessage

func (*WitnessCreateContract) ProtoMessage()

func (*WitnessCreateContract) Reset

func (m *WitnessCreateContract) Reset()

func (*WitnessCreateContract) String

func (m *WitnessCreateContract) String() string

func (*WitnessCreateContract) XXX_DiscardUnknown

func (m *WitnessCreateContract) XXX_DiscardUnknown()

func (*WitnessCreateContract) XXX_Marshal

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

func (*WitnessCreateContract) XXX_Merge

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

func (*WitnessCreateContract) XXX_Size

func (m *WitnessCreateContract) XXX_Size() int

func (*WitnessCreateContract) XXX_Unmarshal

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

type WitnessUpdateContract

type WitnessUpdateContract struct {
	OwnerAddress         []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty" pg:"owner_address"`
	UpdateUrl            []byte   `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty" pg:"update_url"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*WitnessUpdateContract) Descriptor

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

func (*WitnessUpdateContract) GetOwnerAddress

func (m *WitnessUpdateContract) GetOwnerAddress() []byte

func (*WitnessUpdateContract) GetUpdateUrl

func (m *WitnessUpdateContract) GetUpdateUrl() []byte

func (*WitnessUpdateContract) ProtoMessage

func (*WitnessUpdateContract) ProtoMessage()

func (*WitnessUpdateContract) Reset

func (m *WitnessUpdateContract) Reset()

func (*WitnessUpdateContract) String

func (m *WitnessUpdateContract) String() string

func (*WitnessUpdateContract) XXX_DiscardUnknown

func (m *WitnessUpdateContract) XXX_DiscardUnknown()

func (*WitnessUpdateContract) XXX_Marshal

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

func (*WitnessUpdateContract) XXX_Merge

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

func (*WitnessUpdateContract) XXX_Size

func (m *WitnessUpdateContract) XXX_Size() int

func (*WitnessUpdateContract) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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