core

package
v0.0.0-...-044d410 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountType_name = map[int32]string{
		0: "Normal",
		1: "AssetIssue",
		2: "Contract",
	}
	AccountType_value = map[string]int32{
		"Normal":     0,
		"AssetIssue": 1,
		"Contract":   2,
	}
)

Enum value maps for AccountType.

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",
	}
	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,
	}
)

Enum value maps for ReasonCode.

View Source
var (
	Proposal_State_name = map[int32]string{
		0: "PENDING",
		1: "DISAPPROVED",
		2: "APPROVED",
		3: "CANCELED",
	}
	Proposal_State_value = map[string]int32{
		"PENDING":     0,
		"DISAPPROVED": 1,
		"APPROVED":    2,
		"CANCELED":    3,
	}
)

Enum value maps for Proposal_State.

View Source
var (
	Permission_PermissionType_name = map[int32]string{
		0: "Owner",
		1: "Witness",
		2: "Active",
	}
	Permission_PermissionType_value = map[string]int32{
		"Owner":   0,
		"Witness": 1,
		"Active":  2,
	}
)

Enum value maps for Permission_PermissionType.

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",
		46: "AccountPermissionUpdateContract",
		48: "ClearABIContract",
		49: "UpdateBrokerageContract",
		51: "ShieldedTransferContract",
	}
	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,
		"AccountPermissionUpdateContract": 46,
		"ClearABIContract":                48,
		"UpdateBrokerageContract":         49,
		"ShieldedTransferContract":        51,
	}
)

Enum value maps for Transaction_Contract_ContractType.

View Source
var (
	Transaction_ResultCode_name = map[int32]string{
		0: "SUCESS",
		1: "FAILED",
	}
	Transaction_ResultCode_value = map[string]int32{
		"SUCESS": 0,
		"FAILED": 1,
	}
)

Enum value maps for Transaction_ResultCode.

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",
		14: "TRANSFER_FAILED",
	}
	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,
		"TRANSFER_FAILED":      14,
	}
)

Enum value maps for Transaction_ResultContractResult.

View Source
var (
	TransactionInfoCode_name = map[int32]string{
		0: "SUCESS",
		1: "FAILED",
	}
	TransactionInfoCode_value = map[string]int32{
		"SUCESS": 0,
		"FAILED": 1,
	}
)

Enum value maps for TransactionInfoCode.

View Source
var (
	BlockInventory_Type_name = map[int32]string{
		0: "SYNC",
		1: "ADVTISE",
		2: "FETCH",
	}
	BlockInventory_Type_value = map[string]int32{
		"SYNC":    0,
		"ADVTISE": 1,
		"FETCH":   2,
	}
)

Enum value maps for BlockInventory_Type.

View Source
var (
	Inventory_InventoryType_name = map[int32]string{
		0: "TRX",
		1: "BLOCK",
	}
	Inventory_InventoryType_value = map[string]int32{
		"TRX":   0,
		"BLOCK": 1,
	}
)

Enum value maps for Inventory_InventoryType.

View Source
var (
	Items_ItemType_name = map[int32]string{
		0: "ERR",
		1: "TRX",
		2: "BLOCK",
		3: "BLOCKHEADER",
	}
	Items_ItemType_value = map[string]int32{
		"ERR":         0,
		"TRX":         1,
		"BLOCK":       2,
		"BLOCKHEADER": 3,
	}
)

Enum value maps for Items_ItemType.

View Source
var (
	ResourceCode_name = map[int32]string{
		0: "BANDWIDTH",
		1: "ENERGY",
	}
	ResourceCode_value = map[string]int32{
		"BANDWIDTH": 0,
		"ENERGY":    1,
	}
)

Enum value maps for ResourceCode.

View Source
var (
	SmartContract_ABI_Entry_EntryType_name = map[int32]string{
		0: "UnknownEntryType",
		1: "Constructor",
		2: "Function",
		3: "Event",
		4: "Fallback",
	}
	SmartContract_ABI_Entry_EntryType_value = map[string]int32{
		"UnknownEntryType": 0,
		"Constructor":      1,
		"Function":         2,
		"Event":            3,
		"Fallback":         4,
	}
)

Enum value maps for SmartContract_ABI_Entry_EntryType.

View Source
var (
	SmartContract_ABI_Entry_StateMutabilityType_name = map[int32]string{
		0: "UnknownMutabilityType",
		1: "Pure",
		2: "View",
		3: "Nonpayable",
		4: "Payable",
	}
	SmartContract_ABI_Entry_StateMutabilityType_value = map[string]int32{
		"UnknownMutabilityType": 0,
		"Pure":                  1,
		"View":                  2,
		"Nonpayable":            3,
		"Payable":               4,
	}
)

Enum value maps for SmartContract_ABI_Entry_StateMutabilityType.

View Source
var File_core_Discover_proto protoreflect.FileDescriptor
View Source
var File_core_TronInventoryItems_proto protoreflect.FileDescriptor
View Source
var File_core_Tron_proto protoreflect.FileDescriptor
View Source
var File_core_contract_account_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_asset_issue_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_balance_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_common_proto protoreflect.FileDescriptor
View Source
var File_core_contract_exchange_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_proposal_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_shield_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_smart_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_storage_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_vote_asset_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_witness_contract_proto protoreflect.FileDescriptor

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"`
	Type        AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"`
	// the create address
	Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// the trx balance
	Balance int64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"`
	// the votes
	Votes []*Vote `protobuf:"bytes,5,rep,name=votes,proto3" json:"votes,omitempty"`
	// the other asset owned by this account
	Asset map[string]int64 `` /* 152-byte string literal not displayed */
	// the other asset owned by this account,key is assetId
	AssetV2 map[string]int64 `` /* 157-byte string literal not displayed */
	// the frozen balance for bandwidth
	Frozen []*Account_Frozen `protobuf:"bytes,7,rep,name=frozen,proto3" json:"frozen,omitempty"`
	// bandwidth, get from frozen
	NetUsage int64 `protobuf:"varint,8,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"`
	//Frozen balance provided by other accounts to this account
	AcquiredDelegatedFrozenBalanceForBandwidth int64 `` /* 197-byte string literal not displayed */
	//Freeze and provide balances to other accounts
	DelegatedFrozenBalanceForBandwidth int64 `` /* 171-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"`
	// this last operation time, including transfer, voting and so on. //FIXME fix grammar
	LatestOprationTime int64 `protobuf:"varint,10,opt,name=latest_opration_time,json=latestOprationTime,proto3" json:"latest_opration_time,omitempty"`
	// witness block producing allowance
	Allowance int64 `protobuf:"varint,11,opt,name=allowance,proto3" json:"allowance,omitempty"`
	// last withdraw time
	LatestWithdrawTime int64 `protobuf:"varint,12,opt,name=latest_withdraw_time,json=latestWithdrawTime,proto3" json:"latest_withdraw_time,omitempty"`
	// not used so far
	Code        []byte `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"`
	IsWitness   bool   `protobuf:"varint,14,opt,name=is_witness,json=isWitness,proto3" json:"is_witness,omitempty"`
	IsCommittee bool   `protobuf:"varint,15,opt,name=is_committee,json=isCommittee,proto3" json:"is_committee,omitempty"`
	// frozen asset(for asset issuer)
	FrozenSupply []*Account_Frozen `protobuf:"bytes,16,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"`
	// asset_issued_name
	AssetIssuedName            []byte           `protobuf:"bytes,17,opt,name=asset_issued_name,json=assetIssuedName,proto3" json:"asset_issued_name,omitempty"`
	AssetIssued_ID             []byte           `protobuf:"bytes,57,opt,name=asset_issued_ID,json=assetIssuedID,proto3" json:"asset_issued_ID,omitempty"`
	LatestAssetOperationTime   map[string]int64 `` /* 227-byte string literal not displayed */
	LatestAssetOperationTimeV2 map[string]int64 `` /* 233-byte string literal not displayed */
	FreeNetUsage               int64            `protobuf:"varint,19,opt,name=free_net_usage,json=freeNetUsage,proto3" json:"free_net_usage,omitempty"`
	FreeAssetNetUsage          map[string]int64 `` /* 206-byte string literal not displayed */
	FreeAssetNetUsageV2        map[string]int64 `` /* 212-byte string literal not displayed */
	LatestConsumeTime          int64            `protobuf:"varint,21,opt,name=latest_consume_time,json=latestConsumeTime,proto3" json:"latest_consume_time,omitempty"`
	LatestConsumeFreeTime      int64            `` /* 130-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"`
	AccountResource   *Account_AccountResource `protobuf:"bytes,26,opt,name=account_resource,json=accountResource,proto3" json:"account_resource,omitempty"`
	CodeHash          []byte                   `protobuf:"bytes,30,opt,name=codeHash,proto3" json:"codeHash,omitempty"`
	OwnerPermission   *Permission              `protobuf:"bytes,31,opt,name=owner_permission,json=ownerPermission,proto3" json:"owner_permission,omitempty"`
	WitnessPermission *Permission              `protobuf:"bytes,32,opt,name=witness_permission,json=witnessPermission,proto3" json:"witness_permission,omitempty"`
	ActivePermission  []*Permission            `protobuf:"bytes,33,rep,name=active_permission,json=activePermission,proto3" json:"active_permission,omitempty"`
	// contains filtered or unexported fields
}

Account

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountId

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

func (*Account) GetAccountName

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

func (*Account) GetAccountResource

func (x *Account) GetAccountResource() *Account_AccountResource

func (*Account) GetAcquiredDelegatedFrozenBalanceForBandwidth

func (x *Account) GetAcquiredDelegatedFrozenBalanceForBandwidth() int64

func (*Account) GetActivePermission

func (x *Account) GetActivePermission() []*Permission

func (*Account) GetAddress

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

func (*Account) GetAllowance

func (x *Account) GetAllowance() int64

func (*Account) GetAsset

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

func (*Account) GetAssetIssuedName

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

func (*Account) GetAssetIssued_ID

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

func (*Account) GetAssetV2

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

func (*Account) GetBalance

func (x *Account) GetBalance() int64

func (*Account) GetCode

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

func (*Account) GetCodeHash

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

func (*Account) GetCreateTime

func (x *Account) GetCreateTime() int64

func (*Account) GetDelegatedFrozenBalanceForBandwidth

func (x *Account) GetDelegatedFrozenBalanceForBandwidth() int64

func (*Account) GetFreeAssetNetUsage

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

func (*Account) GetFreeAssetNetUsageV2

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

func (*Account) GetFreeNetUsage

func (x *Account) GetFreeNetUsage() int64

func (*Account) GetFrozen

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

func (*Account) GetFrozenSupply

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

func (*Account) GetIsCommittee

func (x *Account) GetIsCommittee() bool

func (*Account) GetIsWitness

func (x *Account) GetIsWitness() bool

func (*Account) GetLatestAssetOperationTime

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

func (*Account) GetLatestAssetOperationTimeV2

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

func (*Account) GetLatestConsumeFreeTime

func (x *Account) GetLatestConsumeFreeTime() int64

func (*Account) GetLatestConsumeTime

func (x *Account) GetLatestConsumeTime() int64

func (*Account) GetLatestOprationTime

func (x *Account) GetLatestOprationTime() int64

func (*Account) GetLatestWithdrawTime

func (x *Account) GetLatestWithdrawTime() int64

func (*Account) GetNetUsage

func (x *Account) GetNetUsage() int64

func (*Account) GetOwnerPermission

func (x *Account) GetOwnerPermission() *Permission

func (*Account) GetType

func (x *Account) GetType() AccountType

func (*Account) GetVotes

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

func (*Account) GetWitnessPermission

func (x *Account) GetWitnessPermission() *Permission

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountCreateContract

type AccountCreateContract struct {
	OwnerAddress   []byte      `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	AccountAddress []byte      `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	Type           AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountCreateContract) Descriptor deprecated

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

Deprecated: Use AccountCreateContract.ProtoReflect.Descriptor instead.

func (*AccountCreateContract) GetAccountAddress

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

func (*AccountCreateContract) GetOwnerAddress

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

func (*AccountCreateContract) GetType

func (x *AccountCreateContract) GetType() AccountType

func (*AccountCreateContract) ProtoMessage

func (*AccountCreateContract) ProtoMessage()

func (*AccountCreateContract) ProtoReflect

func (x *AccountCreateContract) ProtoReflect() protoreflect.Message

func (*AccountCreateContract) Reset

func (x *AccountCreateContract) Reset()

func (*AccountCreateContract) String

func (x *AccountCreateContract) String() string

type AccountId

type AccountId struct {
	Name    []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

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

func (*AccountId) Descriptor deprecated

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

Deprecated: Use AccountId.ProtoReflect.Descriptor instead.

func (*AccountId) GetAddress

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

func (*AccountId) GetName

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

func (*AccountId) ProtoMessage

func (*AccountId) ProtoMessage()

func (*AccountId) ProtoReflect

func (x *AccountId) ProtoReflect() protoreflect.Message

func (*AccountId) Reset

func (x *AccountId) Reset()

func (*AccountId) String

func (x *AccountId) String() string

type AccountPermissionUpdateContract

type AccountPermissionUpdateContract struct {
	OwnerAddress []byte        `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Owner        *Permission   `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`     //Empty is invalidate
	Witness      *Permission   `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"` //Can be empty
	Actives      []*Permission `protobuf:"bytes,4,rep,name=actives,proto3" json:"actives,omitempty"` //Empty is invalidate
	// contains filtered or unexported fields
}

func (*AccountPermissionUpdateContract) Descriptor deprecated

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

Deprecated: Use AccountPermissionUpdateContract.ProtoReflect.Descriptor instead.

func (*AccountPermissionUpdateContract) GetActives

func (x *AccountPermissionUpdateContract) GetActives() []*Permission

func (*AccountPermissionUpdateContract) GetOwner

func (*AccountPermissionUpdateContract) GetOwnerAddress

func (x *AccountPermissionUpdateContract) GetOwnerAddress() []byte

func (*AccountPermissionUpdateContract) GetWitness

func (*AccountPermissionUpdateContract) ProtoMessage

func (*AccountPermissionUpdateContract) ProtoMessage()

func (*AccountPermissionUpdateContract) ProtoReflect

func (*AccountPermissionUpdateContract) Reset

func (*AccountPermissionUpdateContract) String

type AccountType

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

func (AccountType) Descriptor

func (AccountType) Enum

func (x AccountType) Enum() *AccountType

func (AccountType) EnumDescriptor deprecated

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

Deprecated: Use AccountType.Descriptor instead.

func (AccountType) Number

func (x AccountType) Number() protoreflect.EnumNumber

func (AccountType) String

func (x AccountType) String() string

func (AccountType) Type

type AccountUpdateContract

type AccountUpdateContract struct {
	AccountName  []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

Update account name. Account name is not unique now.

func (*AccountUpdateContract) Descriptor deprecated

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

Deprecated: Use AccountUpdateContract.ProtoReflect.Descriptor instead.

func (*AccountUpdateContract) GetAccountName

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

func (*AccountUpdateContract) GetOwnerAddress

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

func (*AccountUpdateContract) ProtoMessage

func (*AccountUpdateContract) ProtoMessage()

func (*AccountUpdateContract) ProtoReflect

func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message

func (*AccountUpdateContract) Reset

func (x *AccountUpdateContract) Reset()

func (*AccountUpdateContract) String

func (x *AccountUpdateContract) String() string

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"`
	// the frozen balance for energy
	FrozenBalanceForEnergy     *Account_Frozen `` /* 131-byte string literal not displayed */
	LatestConsumeTimeForEnergy int64           `` /* 146-byte string literal not displayed */
	//Frozen balance provided by other accounts to this account
	AcquiredDelegatedFrozenBalanceForEnergy int64 `` /* 187-byte string literal not displayed */
	//Frozen balances provided to other accounts
	DelegatedFrozenBalanceForEnergy int64 `` /* 161-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"`
	StorageUsage              int64 `protobuf:"varint,7,opt,name=storage_usage,json=storageUsage,proto3" json:"storage_usage,omitempty"`
	LatestExchangeStorageTime int64 `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Account_AccountResource) Descriptor deprecated

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

Deprecated: Use Account_AccountResource.ProtoReflect.Descriptor instead.

func (*Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy

func (x *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64

func (*Account_AccountResource) GetDelegatedFrozenBalanceForEnergy

func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64

func (*Account_AccountResource) GetEnergyUsage

func (x *Account_AccountResource) GetEnergyUsage() int64

func (*Account_AccountResource) GetFrozenBalanceForEnergy

func (x *Account_AccountResource) GetFrozenBalanceForEnergy() *Account_Frozen

func (*Account_AccountResource) GetLatestConsumeTimeForEnergy

func (x *Account_AccountResource) GetLatestConsumeTimeForEnergy() int64

func (*Account_AccountResource) GetLatestExchangeStorageTime

func (x *Account_AccountResource) GetLatestExchangeStorageTime() int64

func (*Account_AccountResource) GetStorageLimit

func (x *Account_AccountResource) GetStorageLimit() int64

func (*Account_AccountResource) GetStorageUsage

func (x *Account_AccountResource) GetStorageUsage() int64

func (*Account_AccountResource) ProtoMessage

func (*Account_AccountResource) ProtoMessage()

func (*Account_AccountResource) ProtoReflect

func (x *Account_AccountResource) ProtoReflect() protoreflect.Message

func (*Account_AccountResource) Reset

func (x *Account_AccountResource) Reset()

func (*Account_AccountResource) String

func (x *Account_AccountResource) String() string

type Account_Frozen

type Account_Frozen struct {
	FrozenBalance int64 `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` // the frozen trx balance
	ExpireTime    int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`          // the expire time
	// contains filtered or unexported fields
}

frozen balance

func (*Account_Frozen) Descriptor deprecated

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

Deprecated: Use Account_Frozen.ProtoReflect.Descriptor instead.

func (*Account_Frozen) GetExpireTime

func (x *Account_Frozen) GetExpireTime() int64

func (*Account_Frozen) GetFrozenBalance

func (x *Account_Frozen) GetFrozenBalance() int64

func (*Account_Frozen) ProtoMessage

func (*Account_Frozen) ProtoMessage()

func (*Account_Frozen) ProtoReflect

func (x *Account_Frozen) ProtoReflect() protoreflect.Message

func (*Account_Frozen) Reset

func (x *Account_Frozen) Reset()

func (*Account_Frozen) String

func (x *Account_Frozen) String() string

type AssetIssueContract

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

func (*AssetIssueContract) Descriptor deprecated

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

Deprecated: Use AssetIssueContract.ProtoReflect.Descriptor instead.

func (*AssetIssueContract) GetAbbr

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

func (*AssetIssueContract) GetDescription

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

func (*AssetIssueContract) GetEndTime

func (x *AssetIssueContract) GetEndTime() int64

func (*AssetIssueContract) GetFreeAssetNetLimit

func (x *AssetIssueContract) GetFreeAssetNetLimit() int64

func (*AssetIssueContract) GetFrozenSupply

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

func (*AssetIssueContract) GetId

func (x *AssetIssueContract) GetId() string

func (*AssetIssueContract) GetName

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

func (*AssetIssueContract) GetNum

func (x *AssetIssueContract) GetNum() int32

func (*AssetIssueContract) GetOrder

func (x *AssetIssueContract) GetOrder() int64

func (*AssetIssueContract) GetOwnerAddress

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

func (*AssetIssueContract) GetPrecision

func (x *AssetIssueContract) GetPrecision() int32

func (*AssetIssueContract) GetPublicFreeAssetNetLimit

func (x *AssetIssueContract) GetPublicFreeAssetNetLimit() int64

func (*AssetIssueContract) GetPublicFreeAssetNetUsage

func (x *AssetIssueContract) GetPublicFreeAssetNetUsage() int64

func (*AssetIssueContract) GetPublicLatestFreeNetTime

func (x *AssetIssueContract) GetPublicLatestFreeNetTime() int64

func (*AssetIssueContract) GetStartTime

func (x *AssetIssueContract) GetStartTime() int64

func (*AssetIssueContract) GetTotalSupply

func (x *AssetIssueContract) GetTotalSupply() int64

func (*AssetIssueContract) GetTrxNum

func (x *AssetIssueContract) GetTrxNum() int32

func (*AssetIssueContract) GetUrl

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

func (*AssetIssueContract) GetVoteScore

func (x *AssetIssueContract) GetVoteScore() int32

func (*AssetIssueContract) ProtoMessage

func (*AssetIssueContract) ProtoMessage()

func (*AssetIssueContract) ProtoReflect

func (x *AssetIssueContract) ProtoReflect() protoreflect.Message

func (*AssetIssueContract) Reset

func (x *AssetIssueContract) Reset()

func (*AssetIssueContract) String

func (x *AssetIssueContract) String() string

type AssetIssueContract_FrozenSupply

type AssetIssueContract_FrozenSupply struct {
	FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"`
	FrozenDays   int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetIssueContract_FrozenSupply) Descriptor deprecated

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

Deprecated: Use AssetIssueContract_FrozenSupply.ProtoReflect.Descriptor instead.

func (*AssetIssueContract_FrozenSupply) GetFrozenAmount

func (x *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64

func (*AssetIssueContract_FrozenSupply) GetFrozenDays

func (x *AssetIssueContract_FrozenSupply) GetFrozenDays() int64

func (*AssetIssueContract_FrozenSupply) ProtoMessage

func (*AssetIssueContract_FrozenSupply) ProtoMessage()

func (*AssetIssueContract_FrozenSupply) ProtoReflect

func (*AssetIssueContract_FrozenSupply) Reset

func (*AssetIssueContract_FrozenSupply) String

type AuthenticationPath

type AuthenticationPath struct {
	Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticationPath) Descriptor deprecated

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

Deprecated: Use AuthenticationPath.ProtoReflect.Descriptor instead.

func (*AuthenticationPath) GetValue

func (x *AuthenticationPath) GetValue() []bool

func (*AuthenticationPath) ProtoMessage

func (*AuthenticationPath) ProtoMessage()

func (*AuthenticationPath) ProtoReflect

func (x *AuthenticationPath) ProtoReflect() protoreflect.Message

func (*AuthenticationPath) Reset

func (x *AuthenticationPath) Reset()

func (*AuthenticationPath) String

func (x *AuthenticationPath) String() string

type Authority

type Authority struct {
	Account        *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	PermissionName []byte     `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Authority) Descriptor deprecated

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

Deprecated: Use Authority.ProtoReflect.Descriptor instead.

func (*Authority) GetAccount

func (x *Authority) GetAccount() *AccountId

func (*Authority) GetPermissionName

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

func (*Authority) ProtoMessage

func (*Authority) ProtoMessage()

func (*Authority) ProtoReflect

func (x *Authority) ProtoReflect() protoreflect.Message

func (*Authority) Reset

func (x *Authority) Reset()

func (*Authority) String

func (x *Authority) String() string

type BackupMessage

type BackupMessage struct {
	Flag     bool  `protobuf:"varint,1,opt,name=flag,proto3" json:"flag,omitempty"`
	Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupMessage) Descriptor deprecated

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

Deprecated: Use BackupMessage.ProtoReflect.Descriptor instead.

func (*BackupMessage) GetFlag

func (x *BackupMessage) GetFlag() bool

func (*BackupMessage) GetPriority

func (x *BackupMessage) GetPriority() int32

func (*BackupMessage) ProtoMessage

func (*BackupMessage) ProtoMessage()

func (*BackupMessage) ProtoReflect

func (x *BackupMessage) ProtoReflect() protoreflect.Message

func (*BackupMessage) Reset

func (x *BackupMessage) Reset()

func (*BackupMessage) String

func (x *BackupMessage) String() string

type Block

type Block struct {
	Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	BlockHeader  *BlockHeader   `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
	// contains filtered or unexported fields
}

block

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetBlockHeader

func (x *Block) GetBlockHeader() *BlockHeader

func (*Block) GetTransactions

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

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

func (x *Block) ProtoReflect() protoreflect.Message

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type BlockHeader

type BlockHeader struct {
	RawData          *BlockHeaderRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	WitnessSignature []byte          `protobuf:"bytes,2,opt,name=witness_signature,json=witnessSignature,proto3" json:"witness_signature,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeader) Descriptor deprecated

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

Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.

func (*BlockHeader) GetRawData

func (x *BlockHeader) GetRawData() *BlockHeaderRaw

func (*BlockHeader) GetWitnessSignature

func (x *BlockHeader) GetWitnessSignature() []byte

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) ProtoReflect

func (x *BlockHeader) ProtoReflect() protoreflect.Message

func (*BlockHeader) Reset

func (x *BlockHeader) Reset()

func (*BlockHeader) String

func (x *BlockHeader) String() string

type BlockHeaderRaw

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

func (*BlockHeaderRaw) Descriptor deprecated

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

Deprecated: Use BlockHeaderRaw.ProtoReflect.Descriptor instead.

func (*BlockHeaderRaw) GetAccountStateRoot

func (x *BlockHeaderRaw) GetAccountStateRoot() []byte

func (*BlockHeaderRaw) GetNumber

func (x *BlockHeaderRaw) GetNumber() int64

func (*BlockHeaderRaw) GetParentHash

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

func (*BlockHeaderRaw) GetTimestamp

func (x *BlockHeaderRaw) GetTimestamp() int64

func (*BlockHeaderRaw) GetTxTrieRoot

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

func (*BlockHeaderRaw) GetVersion

func (x *BlockHeaderRaw) GetVersion() int32

func (*BlockHeaderRaw) GetWitnessAddress

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

func (*BlockHeaderRaw) GetWitnessId

func (x *BlockHeaderRaw) GetWitnessId() int64

func (*BlockHeaderRaw) ProtoMessage

func (*BlockHeaderRaw) ProtoMessage()

func (*BlockHeaderRaw) ProtoReflect

func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message

func (*BlockHeaderRaw) Reset

func (x *BlockHeaderRaw) Reset()

func (*BlockHeaderRaw) String

func (x *BlockHeaderRaw) String() string

type BlockInventory

type BlockInventory struct {
	Ids  []*BlockInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	Type BlockInventory_Type       `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.BlockInventory_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Inventory

func (*BlockInventory) Descriptor deprecated

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

Deprecated: Use BlockInventory.ProtoReflect.Descriptor instead.

func (*BlockInventory) GetIds

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

func (*BlockInventory) GetType

func (x *BlockInventory) GetType() BlockInventory_Type

func (*BlockInventory) ProtoMessage

func (*BlockInventory) ProtoMessage()

func (*BlockInventory) ProtoReflect

func (x *BlockInventory) ProtoReflect() protoreflect.Message

func (*BlockInventory) Reset

func (x *BlockInventory) Reset()

func (*BlockInventory) String

func (x *BlockInventory) String() string

type BlockInventory_BlockId

type BlockInventory_BlockId struct {
	Hash   []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Number int64  `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockInventory_BlockId) Descriptor deprecated

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

Deprecated: Use BlockInventory_BlockId.ProtoReflect.Descriptor instead.

func (*BlockInventory_BlockId) GetHash

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

func (*BlockInventory_BlockId) GetNumber

func (x *BlockInventory_BlockId) GetNumber() int64

func (*BlockInventory_BlockId) ProtoMessage

func (*BlockInventory_BlockId) ProtoMessage()

func (*BlockInventory_BlockId) ProtoReflect

func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message

func (*BlockInventory_BlockId) Reset

func (x *BlockInventory_BlockId) Reset()

func (*BlockInventory_BlockId) String

func (x *BlockInventory_BlockId) String() string

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) Descriptor

func (BlockInventory_Type) Enum

func (BlockInventory_Type) EnumDescriptor deprecated

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

Deprecated: Use BlockInventory_Type.Descriptor instead.

func (BlockInventory_Type) Number

func (BlockInventory_Type) String

func (x BlockInventory_Type) String() string

func (BlockInventory_Type) Type

type BuyStorageBytesContract

type BuyStorageBytesContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Bytes        int64  `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // storage bytes for buy
	// contains filtered or unexported fields
}

func (*BuyStorageBytesContract) Descriptor deprecated

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

Deprecated: Use BuyStorageBytesContract.ProtoReflect.Descriptor instead.

func (*BuyStorageBytesContract) GetBytes

func (x *BuyStorageBytesContract) GetBytes() int64

func (*BuyStorageBytesContract) GetOwnerAddress

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

func (*BuyStorageBytesContract) ProtoMessage

func (*BuyStorageBytesContract) ProtoMessage()

func (*BuyStorageBytesContract) ProtoReflect

func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message

func (*BuyStorageBytesContract) Reset

func (x *BuyStorageBytesContract) Reset()

func (*BuyStorageBytesContract) String

func (x *BuyStorageBytesContract) String() string

type BuyStorageContract

type BuyStorageContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Quant        int64  `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty"` // trx quantity for buy storage (sun)
	// contains filtered or unexported fields
}

func (*BuyStorageContract) Descriptor deprecated

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

Deprecated: Use BuyStorageContract.ProtoReflect.Descriptor instead.

func (*BuyStorageContract) GetOwnerAddress

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

func (*BuyStorageContract) GetQuant

func (x *BuyStorageContract) GetQuant() int64

func (*BuyStorageContract) ProtoMessage

func (*BuyStorageContract) ProtoMessage()

func (*BuyStorageContract) ProtoReflect

func (x *BuyStorageContract) ProtoReflect() protoreflect.Message

func (*BuyStorageContract) Reset

func (x *BuyStorageContract) Reset()

func (*BuyStorageContract) String

func (x *BuyStorageContract) String() string

type ChainInventory

type ChainInventory struct {
	Ids       []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	RemainNum int64                     `protobuf:"varint,2,opt,name=remain_num,json=remainNum,proto3" json:"remain_num,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainInventory) Descriptor deprecated

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

Deprecated: Use ChainInventory.ProtoReflect.Descriptor instead.

func (*ChainInventory) GetIds

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

func (*ChainInventory) GetRemainNum

func (x *ChainInventory) GetRemainNum() int64

func (*ChainInventory) ProtoMessage

func (*ChainInventory) ProtoMessage()

func (*ChainInventory) ProtoReflect

func (x *ChainInventory) ProtoReflect() protoreflect.Message

func (*ChainInventory) Reset

func (x *ChainInventory) Reset()

func (*ChainInventory) String

func (x *ChainInventory) String() string

type ChainInventory_BlockId

type ChainInventory_BlockId struct {
	Hash   []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Number int64  `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainInventory_BlockId) Descriptor deprecated

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

Deprecated: Use ChainInventory_BlockId.ProtoReflect.Descriptor instead.

func (*ChainInventory_BlockId) GetHash

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

func (*ChainInventory_BlockId) GetNumber

func (x *ChainInventory_BlockId) GetNumber() int64

func (*ChainInventory_BlockId) ProtoMessage

func (*ChainInventory_BlockId) ProtoMessage()

func (*ChainInventory_BlockId) ProtoReflect

func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message

func (*ChainInventory_BlockId) Reset

func (x *ChainInventory_BlockId) Reset()

func (*ChainInventory_BlockId) String

func (x *ChainInventory_BlockId) String() string

type ChainParameters

type ChainParameters struct {
	ChainParameter []*ChainParameters_ChainParameter `protobuf:"bytes,1,rep,name=chainParameter,proto3" json:"chainParameter,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainParameters) Descriptor deprecated

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

Deprecated: Use ChainParameters.ProtoReflect.Descriptor instead.

func (*ChainParameters) GetChainParameter

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

func (*ChainParameters) ProtoMessage

func (*ChainParameters) ProtoMessage()

func (*ChainParameters) ProtoReflect

func (x *ChainParameters) ProtoReflect() protoreflect.Message

func (*ChainParameters) Reset

func (x *ChainParameters) Reset()

func (*ChainParameters) String

func (x *ChainParameters) String() string

type ChainParameters_ChainParameter

type ChainParameters_ChainParameter struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainParameters_ChainParameter) Descriptor deprecated

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

Deprecated: Use ChainParameters_ChainParameter.ProtoReflect.Descriptor instead.

func (*ChainParameters_ChainParameter) GetKey

func (*ChainParameters_ChainParameter) GetValue

func (x *ChainParameters_ChainParameter) GetValue() int64

func (*ChainParameters_ChainParameter) ProtoMessage

func (*ChainParameters_ChainParameter) ProtoMessage()

func (*ChainParameters_ChainParameter) ProtoReflect

func (*ChainParameters_ChainParameter) Reset

func (x *ChainParameters_ChainParameter) Reset()

func (*ChainParameters_ChainParameter) String

type ClearABIContract

type ClearABIContract struct {
	OwnerAddress    []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearABIContract) Descriptor deprecated

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

Deprecated: Use ClearABIContract.ProtoReflect.Descriptor instead.

func (*ClearABIContract) GetContractAddress

func (x *ClearABIContract) GetContractAddress() []byte

func (*ClearABIContract) GetOwnerAddress

func (x *ClearABIContract) GetOwnerAddress() []byte

func (*ClearABIContract) ProtoMessage

func (*ClearABIContract) ProtoMessage()

func (*ClearABIContract) ProtoReflect

func (x *ClearABIContract) ProtoReflect() protoreflect.Message

func (*ClearABIContract) Reset

func (x *ClearABIContract) Reset()

func (*ClearABIContract) String

func (x *ClearABIContract) String() string

type CreateSmartContract

type CreateSmartContract struct {
	OwnerAddress   []byte         `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	NewContract    *SmartContract `protobuf:"bytes,2,opt,name=new_contract,json=newContract,proto3" json:"new_contract,omitempty"`
	CallTokenValue int64          `protobuf:"varint,3,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"`
	TokenId        int64          `protobuf:"varint,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSmartContract) Descriptor deprecated

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

Deprecated: Use CreateSmartContract.ProtoReflect.Descriptor instead.

func (*CreateSmartContract) GetCallTokenValue

func (x *CreateSmartContract) GetCallTokenValue() int64

func (*CreateSmartContract) GetNewContract

func (x *CreateSmartContract) GetNewContract() *SmartContract

func (*CreateSmartContract) GetOwnerAddress

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

func (*CreateSmartContract) GetTokenId

func (x *CreateSmartContract) GetTokenId() int64

func (*CreateSmartContract) ProtoMessage

func (*CreateSmartContract) ProtoMessage()

func (*CreateSmartContract) ProtoReflect

func (x *CreateSmartContract) ProtoReflect() protoreflect.Message

func (*CreateSmartContract) Reset

func (x *CreateSmartContract) Reset()

func (*CreateSmartContract) String

func (x *CreateSmartContract) String() string

type DelegatedResource

type DelegatedResource struct {
	From                      []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                        []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	FrozenBalanceForBandwidth int64  `` /* 141-byte string literal not displayed */
	FrozenBalanceForEnergy    int64  `` /* 132-byte string literal not displayed */
	ExpireTimeForBandwidth    int64  `` /* 132-byte string literal not displayed */
	ExpireTimeForEnergy       int64  `protobuf:"varint,6,opt,name=expire_time_for_energy,json=expireTimeForEnergy,proto3" json:"expire_time_for_energy,omitempty"`
	// contains filtered or unexported fields
}

func (*DelegatedResource) Descriptor deprecated

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

Deprecated: Use DelegatedResource.ProtoReflect.Descriptor instead.

func (*DelegatedResource) GetExpireTimeForBandwidth

func (x *DelegatedResource) GetExpireTimeForBandwidth() int64

func (*DelegatedResource) GetExpireTimeForEnergy

func (x *DelegatedResource) GetExpireTimeForEnergy() int64

func (*DelegatedResource) GetFrom

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

func (*DelegatedResource) GetFrozenBalanceForBandwidth

func (x *DelegatedResource) GetFrozenBalanceForBandwidth() int64

func (*DelegatedResource) GetFrozenBalanceForEnergy

func (x *DelegatedResource) GetFrozenBalanceForEnergy() int64

func (*DelegatedResource) GetTo

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

func (*DelegatedResource) ProtoMessage

func (*DelegatedResource) ProtoMessage()

func (*DelegatedResource) ProtoReflect

func (x *DelegatedResource) ProtoReflect() protoreflect.Message

func (*DelegatedResource) Reset

func (x *DelegatedResource) Reset()

func (*DelegatedResource) String

func (x *DelegatedResource) String() string

type DelegatedResourceAccountIndex

type DelegatedResourceAccountIndex struct {
	Account      []byte   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	FromAccounts [][]byte `protobuf:"bytes,2,rep,name=fromAccounts,proto3" json:"fromAccounts,omitempty"`
	ToAccounts   [][]byte `protobuf:"bytes,3,rep,name=toAccounts,proto3" json:"toAccounts,omitempty"`
	// contains filtered or unexported fields
}

func (*DelegatedResourceAccountIndex) Descriptor deprecated

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

Deprecated: Use DelegatedResourceAccountIndex.ProtoReflect.Descriptor instead.

func (*DelegatedResourceAccountIndex) GetAccount

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

func (*DelegatedResourceAccountIndex) GetFromAccounts

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

func (*DelegatedResourceAccountIndex) GetToAccounts

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

func (*DelegatedResourceAccountIndex) ProtoMessage

func (*DelegatedResourceAccountIndex) ProtoMessage()

func (*DelegatedResourceAccountIndex) ProtoReflect

func (*DelegatedResourceAccountIndex) Reset

func (x *DelegatedResourceAccountIndex) Reset()

func (*DelegatedResourceAccountIndex) String

type DisconnectMessage

type DisconnectMessage struct {
	Reason ReasonCode `protobuf:"varint,1,opt,name=reason,proto3,enum=protocol.ReasonCode" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectMessage) Descriptor deprecated

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

Deprecated: Use DisconnectMessage.ProtoReflect.Descriptor instead.

func (*DisconnectMessage) GetReason

func (x *DisconnectMessage) GetReason() ReasonCode

func (*DisconnectMessage) ProtoMessage

func (*DisconnectMessage) ProtoMessage()

func (*DisconnectMessage) ProtoReflect

func (x *DisconnectMessage) ProtoReflect() protoreflect.Message

func (*DisconnectMessage) Reset

func (x *DisconnectMessage) Reset()

func (*DisconnectMessage) String

func (x *DisconnectMessage) String() string

type DynamicProperties

type DynamicProperties struct {
	LastSolidityBlockNum int64 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

DynamicProperties

func (*DynamicProperties) Descriptor deprecated

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

Deprecated: Use DynamicProperties.ProtoReflect.Descriptor instead.

func (*DynamicProperties) GetLastSolidityBlockNum

func (x *DynamicProperties) GetLastSolidityBlockNum() int64

func (*DynamicProperties) ProtoMessage

func (*DynamicProperties) ProtoMessage()

func (*DynamicProperties) ProtoReflect

func (x *DynamicProperties) ProtoReflect() protoreflect.Message

func (*DynamicProperties) Reset

func (x *DynamicProperties) Reset()

func (*DynamicProperties) String

func (x *DynamicProperties) String() string

type Endpoint

type Endpoint struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Port    int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	NodeId  []byte `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoint) Descriptor deprecated

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

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetAddress

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

func (*Endpoint) GetNodeId

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

func (*Endpoint) GetPort

func (x *Endpoint) GetPort() int32

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

func (x *Endpoint) ProtoReflect() protoreflect.Message

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) String

func (x *Endpoint) String() string

type Exchange

type Exchange struct {
	ExchangeId         int64  `protobuf:"varint,1,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	CreatorAddress     []byte `protobuf:"bytes,2,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"`
	CreateTime         int64  `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	FirstTokenId       []byte `protobuf:"bytes,6,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"`
	FirstTokenBalance  int64  `protobuf:"varint,7,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"`
	SecondTokenId      []byte `protobuf:"bytes,8,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"`
	SecondTokenBalance int64  `protobuf:"varint,9,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"`
	// contains filtered or unexported fields
}

Exchange

func (*Exchange) Descriptor deprecated

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

Deprecated: Use Exchange.ProtoReflect.Descriptor instead.

func (*Exchange) GetCreateTime

func (x *Exchange) GetCreateTime() int64

func (*Exchange) GetCreatorAddress

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

func (*Exchange) GetExchangeId

func (x *Exchange) GetExchangeId() int64

func (*Exchange) GetFirstTokenBalance

func (x *Exchange) GetFirstTokenBalance() int64

func (*Exchange) GetFirstTokenId

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

func (*Exchange) GetSecondTokenBalance

func (x *Exchange) GetSecondTokenBalance() int64

func (*Exchange) GetSecondTokenId

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

func (*Exchange) ProtoMessage

func (*Exchange) ProtoMessage()

func (*Exchange) ProtoReflect

func (x *Exchange) ProtoReflect() protoreflect.Message

func (*Exchange) Reset

func (x *Exchange) Reset()

func (*Exchange) String

func (x *Exchange) String() string

type ExchangeCreateContract

type ExchangeCreateContract struct {
	OwnerAddress       []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	FirstTokenId       []byte `protobuf:"bytes,2,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"`
	FirstTokenBalance  int64  `protobuf:"varint,3,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"`
	SecondTokenId      []byte `protobuf:"bytes,4,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"`
	SecondTokenBalance int64  `protobuf:"varint,5,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeCreateContract) Descriptor deprecated

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

Deprecated: Use ExchangeCreateContract.ProtoReflect.Descriptor instead.

func (*ExchangeCreateContract) GetFirstTokenBalance

func (x *ExchangeCreateContract) GetFirstTokenBalance() int64

func (*ExchangeCreateContract) GetFirstTokenId

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

func (*ExchangeCreateContract) GetOwnerAddress

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

func (*ExchangeCreateContract) GetSecondTokenBalance

func (x *ExchangeCreateContract) GetSecondTokenBalance() int64

func (*ExchangeCreateContract) GetSecondTokenId

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

func (*ExchangeCreateContract) ProtoMessage

func (*ExchangeCreateContract) ProtoMessage()

func (*ExchangeCreateContract) ProtoReflect

func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message

func (*ExchangeCreateContract) Reset

func (x *ExchangeCreateContract) Reset()

func (*ExchangeCreateContract) String

func (x *ExchangeCreateContract) String() string

type ExchangeInjectContract

type ExchangeInjectContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ExchangeId   int64  `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	TokenId      []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Quant        int64  `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeInjectContract) Descriptor deprecated

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

Deprecated: Use ExchangeInjectContract.ProtoReflect.Descriptor instead.

func (*ExchangeInjectContract) GetExchangeId

func (x *ExchangeInjectContract) GetExchangeId() int64

func (*ExchangeInjectContract) GetOwnerAddress

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

func (*ExchangeInjectContract) GetQuant

func (x *ExchangeInjectContract) GetQuant() int64

func (*ExchangeInjectContract) GetTokenId

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

func (*ExchangeInjectContract) ProtoMessage

func (*ExchangeInjectContract) ProtoMessage()

func (*ExchangeInjectContract) ProtoReflect

func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message

func (*ExchangeInjectContract) Reset

func (x *ExchangeInjectContract) Reset()

func (*ExchangeInjectContract) String

func (x *ExchangeInjectContract) String() string

type ExchangeTransactionContract

type ExchangeTransactionContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ExchangeId   int64  `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	TokenId      []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Quant        int64  `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"`
	Expected     int64  `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeTransactionContract) Descriptor deprecated

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

Deprecated: Use ExchangeTransactionContract.ProtoReflect.Descriptor instead.

func (*ExchangeTransactionContract) GetExchangeId

func (x *ExchangeTransactionContract) GetExchangeId() int64

func (*ExchangeTransactionContract) GetExpected

func (x *ExchangeTransactionContract) GetExpected() int64

func (*ExchangeTransactionContract) GetOwnerAddress

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

func (*ExchangeTransactionContract) GetQuant

func (x *ExchangeTransactionContract) GetQuant() int64

func (*ExchangeTransactionContract) GetTokenId

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

func (*ExchangeTransactionContract) ProtoMessage

func (*ExchangeTransactionContract) ProtoMessage()

func (*ExchangeTransactionContract) ProtoReflect

func (*ExchangeTransactionContract) Reset

func (x *ExchangeTransactionContract) Reset()

func (*ExchangeTransactionContract) String

func (x *ExchangeTransactionContract) String() string

type ExchangeWithdrawContract

type ExchangeWithdrawContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ExchangeId   int64  `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	TokenId      []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Quant        int64  `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeWithdrawContract) Descriptor deprecated

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

Deprecated: Use ExchangeWithdrawContract.ProtoReflect.Descriptor instead.

func (*ExchangeWithdrawContract) GetExchangeId

func (x *ExchangeWithdrawContract) GetExchangeId() int64

func (*ExchangeWithdrawContract) GetOwnerAddress

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

func (*ExchangeWithdrawContract) GetQuant

func (x *ExchangeWithdrawContract) GetQuant() int64

func (*ExchangeWithdrawContract) GetTokenId

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

func (*ExchangeWithdrawContract) ProtoMessage

func (*ExchangeWithdrawContract) ProtoMessage()

func (*ExchangeWithdrawContract) ProtoReflect

func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message

func (*ExchangeWithdrawContract) Reset

func (x *ExchangeWithdrawContract) Reset()

func (*ExchangeWithdrawContract) String

func (x *ExchangeWithdrawContract) String() string

type FindNeighbours

type FindNeighbours struct {
	From      *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	TargetId  []byte    `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId,omitempty"`
	Timestamp int64     `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*FindNeighbours) Descriptor deprecated

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

Deprecated: Use FindNeighbours.ProtoReflect.Descriptor instead.

func (*FindNeighbours) GetFrom

func (x *FindNeighbours) GetFrom() *Endpoint

func (*FindNeighbours) GetTargetId

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

func (*FindNeighbours) GetTimestamp

func (x *FindNeighbours) GetTimestamp() int64

func (*FindNeighbours) ProtoMessage

func (*FindNeighbours) ProtoMessage()

func (*FindNeighbours) ProtoReflect

func (x *FindNeighbours) ProtoReflect() protoreflect.Message

func (*FindNeighbours) Reset

func (x *FindNeighbours) Reset()

func (*FindNeighbours) String

func (x *FindNeighbours) String() string

type FreezeBalanceContract

type FreezeBalanceContract struct {
	OwnerAddress    []byte       `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	FrozenBalance   int64        `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"`
	FrozenDuration  int64        `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty"`
	Resource        ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"`
	ReceiverAddress []byte       `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	// contains filtered or unexported fields
}

func (*FreezeBalanceContract) Descriptor deprecated

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

Deprecated: Use FreezeBalanceContract.ProtoReflect.Descriptor instead.

func (*FreezeBalanceContract) GetFrozenBalance

func (x *FreezeBalanceContract) GetFrozenBalance() int64

func (*FreezeBalanceContract) GetFrozenDuration

func (x *FreezeBalanceContract) GetFrozenDuration() int64

func (*FreezeBalanceContract) GetOwnerAddress

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

func (*FreezeBalanceContract) GetReceiverAddress

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

func (*FreezeBalanceContract) GetResource

func (x *FreezeBalanceContract) GetResource() ResourceCode

func (*FreezeBalanceContract) ProtoMessage

func (*FreezeBalanceContract) ProtoMessage()

func (*FreezeBalanceContract) ProtoReflect

func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message

func (*FreezeBalanceContract) Reset

func (x *FreezeBalanceContract) Reset()

func (*FreezeBalanceContract) String

func (x *FreezeBalanceContract) String() string

type HelloMessage

type HelloMessage struct {
	From           *Endpoint             `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Version        int32                 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Timestamp      int64                 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	GenesisBlockId *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty"`
	SolidBlockId   *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty"`
	HeadBlockId    *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty"`
	// contains filtered or unexported fields
}

func (*HelloMessage) Descriptor deprecated

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

Deprecated: Use HelloMessage.ProtoReflect.Descriptor instead.

func (*HelloMessage) GetFrom

func (x *HelloMessage) GetFrom() *Endpoint

func (*HelloMessage) GetGenesisBlockId

func (x *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId

func (*HelloMessage) GetHeadBlockId

func (x *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId

func (*HelloMessage) GetSolidBlockId

func (x *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId

func (*HelloMessage) GetTimestamp

func (x *HelloMessage) GetTimestamp() int64

func (*HelloMessage) GetVersion

func (x *HelloMessage) GetVersion() int32

func (*HelloMessage) ProtoMessage

func (*HelloMessage) ProtoMessage()

func (*HelloMessage) ProtoReflect

func (x *HelloMessage) ProtoReflect() protoreflect.Message

func (*HelloMessage) Reset

func (x *HelloMessage) Reset()

func (*HelloMessage) String

func (x *HelloMessage) String() string

type HelloMessage_BlockId

type HelloMessage_BlockId struct {
	Hash   []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Number int64  `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*HelloMessage_BlockId) Descriptor deprecated

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

Deprecated: Use HelloMessage_BlockId.ProtoReflect.Descriptor instead.

func (*HelloMessage_BlockId) GetHash

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

func (*HelloMessage_BlockId) GetNumber

func (x *HelloMessage_BlockId) GetNumber() int64

func (*HelloMessage_BlockId) ProtoMessage

func (*HelloMessage_BlockId) ProtoMessage()

func (*HelloMessage_BlockId) ProtoReflect

func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message

func (*HelloMessage_BlockId) Reset

func (x *HelloMessage_BlockId) Reset()

func (*HelloMessage_BlockId) String

func (x *HelloMessage_BlockId) String() string

type IncrementalMerkleTree

type IncrementalMerkleTree struct {
	Left    *PedersenHash   `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
	Right   *PedersenHash   `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"`
	Parents []*PedersenHash `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrementalMerkleTree) Descriptor deprecated

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

Deprecated: Use IncrementalMerkleTree.ProtoReflect.Descriptor instead.

func (*IncrementalMerkleTree) GetLeft

func (x *IncrementalMerkleTree) GetLeft() *PedersenHash

func (*IncrementalMerkleTree) GetParents

func (x *IncrementalMerkleTree) GetParents() []*PedersenHash

func (*IncrementalMerkleTree) GetRight

func (x *IncrementalMerkleTree) GetRight() *PedersenHash

func (*IncrementalMerkleTree) ProtoMessage

func (*IncrementalMerkleTree) ProtoMessage()

func (*IncrementalMerkleTree) ProtoReflect

func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message

func (*IncrementalMerkleTree) Reset

func (x *IncrementalMerkleTree) Reset()

func (*IncrementalMerkleTree) String

func (x *IncrementalMerkleTree) String() string

type IncrementalMerkleVoucher

type IncrementalMerkleVoucher struct {
	Tree        *IncrementalMerkleTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"`
	Filled      []*PedersenHash        `protobuf:"bytes,2,rep,name=filled,proto3" json:"filled,omitempty"`
	Cursor      *IncrementalMerkleTree `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	CursorDepth int64                  `protobuf:"varint,4,opt,name=cursor_depth,json=cursorDepth,proto3" json:"cursor_depth,omitempty"`
	Rt          []byte                 `protobuf:"bytes,5,opt,name=rt,proto3" json:"rt,omitempty"`
	OutputPoint *OutputPoint           `protobuf:"bytes,10,opt,name=output_point,json=outputPoint,proto3" json:"output_point,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrementalMerkleVoucher) Descriptor deprecated

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

Deprecated: Use IncrementalMerkleVoucher.ProtoReflect.Descriptor instead.

func (*IncrementalMerkleVoucher) GetCursor

func (*IncrementalMerkleVoucher) GetCursorDepth

func (x *IncrementalMerkleVoucher) GetCursorDepth() int64

func (*IncrementalMerkleVoucher) GetFilled

func (x *IncrementalMerkleVoucher) GetFilled() []*PedersenHash

func (*IncrementalMerkleVoucher) GetOutputPoint

func (x *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint

func (*IncrementalMerkleVoucher) GetRt

func (x *IncrementalMerkleVoucher) GetRt() []byte

func (*IncrementalMerkleVoucher) GetTree

func (*IncrementalMerkleVoucher) ProtoMessage

func (*IncrementalMerkleVoucher) ProtoMessage()

func (*IncrementalMerkleVoucher) ProtoReflect

func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message

func (*IncrementalMerkleVoucher) Reset

func (x *IncrementalMerkleVoucher) Reset()

func (*IncrementalMerkleVoucher) String

func (x *IncrementalMerkleVoucher) String() string

type IncrementalMerkleVoucherInfo

type IncrementalMerkleVoucherInfo struct {
	Vouchers []*IncrementalMerkleVoucher `protobuf:"bytes,1,rep,name=vouchers,proto3" json:"vouchers,omitempty"`
	Paths    [][]byte                    `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrementalMerkleVoucherInfo) Descriptor deprecated

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

Deprecated: Use IncrementalMerkleVoucherInfo.ProtoReflect.Descriptor instead.

func (*IncrementalMerkleVoucherInfo) GetPaths

func (x *IncrementalMerkleVoucherInfo) GetPaths() [][]byte

func (*IncrementalMerkleVoucherInfo) GetVouchers

func (*IncrementalMerkleVoucherInfo) ProtoMessage

func (*IncrementalMerkleVoucherInfo) ProtoMessage()

func (*IncrementalMerkleVoucherInfo) ProtoReflect

func (*IncrementalMerkleVoucherInfo) Reset

func (x *IncrementalMerkleVoucherInfo) Reset()

func (*IncrementalMerkleVoucherInfo) String

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"`
	// 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"`
	// the one recieve trx (TBD: or token) via function
	TransferToAddress []byte                               `protobuf:"bytes,3,opt,name=transferTo_address,json=transferToAddress,proto3" json:"transferTo_address,omitempty"`
	CallValueInfo     []*InternalTransaction_CallValueInfo `protobuf:"bytes,4,rep,name=callValueInfo,proto3" json:"callValueInfo,omitempty"`
	Note              []byte                               `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	Rejected          bool                                 `protobuf:"varint,6,opt,name=rejected,proto3" json:"rejected,omitempty"`
	// contains filtered or unexported fields
}

func (*InternalTransaction) Descriptor deprecated

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

Deprecated: Use InternalTransaction.ProtoReflect.Descriptor instead.

func (*InternalTransaction) GetCallValueInfo

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

func (*InternalTransaction) GetCallerAddress

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

func (*InternalTransaction) GetHash

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

func (*InternalTransaction) GetNote

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

func (*InternalTransaction) GetRejected

func (x *InternalTransaction) GetRejected() bool

func (*InternalTransaction) GetTransferToAddress

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

func (*InternalTransaction) ProtoMessage

func (*InternalTransaction) ProtoMessage()

func (*InternalTransaction) ProtoReflect

func (x *InternalTransaction) ProtoReflect() protoreflect.Message

func (*InternalTransaction) Reset

func (x *InternalTransaction) Reset()

func (*InternalTransaction) String

func (x *InternalTransaction) String() string

type InternalTransaction_CallValueInfo

type InternalTransaction_CallValueInfo struct {

	// trx (TBD: or token) value
	CallValue int64 `protobuf:"varint,1,opt,name=callValue,proto3" json:"callValue,omitempty"`
	// TBD: tokenName, trx should be empty
	TokenId string `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	// contains filtered or unexported fields
}

func (*InternalTransaction_CallValueInfo) Descriptor deprecated

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

Deprecated: Use InternalTransaction_CallValueInfo.ProtoReflect.Descriptor instead.

func (*InternalTransaction_CallValueInfo) GetCallValue

func (x *InternalTransaction_CallValueInfo) GetCallValue() int64

func (*InternalTransaction_CallValueInfo) GetTokenId

func (x *InternalTransaction_CallValueInfo) GetTokenId() string

func (*InternalTransaction_CallValueInfo) ProtoMessage

func (*InternalTransaction_CallValueInfo) ProtoMessage()

func (*InternalTransaction_CallValueInfo) ProtoReflect

func (*InternalTransaction_CallValueInfo) Reset

func (*InternalTransaction_CallValueInfo) String

type Inventory

type Inventory struct {
	Type Inventory_InventoryType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Inventory_InventoryType" json:"type,omitempty"`
	Ids  [][]byte                `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*Inventory) Descriptor deprecated

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

Deprecated: Use Inventory.ProtoReflect.Descriptor instead.

func (*Inventory) GetIds

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

func (*Inventory) GetType

func (x *Inventory) GetType() Inventory_InventoryType

func (*Inventory) ProtoMessage

func (*Inventory) ProtoMessage()

func (*Inventory) ProtoReflect

func (x *Inventory) ProtoReflect() protoreflect.Message

func (*Inventory) Reset

func (x *Inventory) Reset()

func (*Inventory) String

func (x *Inventory) String() string

type InventoryItems

type InventoryItems struct {
	Type  int32    `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Items [][]byte `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*InventoryItems) Descriptor deprecated

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

Deprecated: Use InventoryItems.ProtoReflect.Descriptor instead.

func (*InventoryItems) GetItems

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

func (*InventoryItems) GetType

func (x *InventoryItems) GetType() int32

func (*InventoryItems) ProtoMessage

func (*InventoryItems) ProtoMessage()

func (*InventoryItems) ProtoReflect

func (x *InventoryItems) ProtoReflect() protoreflect.Message

func (*InventoryItems) Reset

func (x *InventoryItems) Reset()

func (*InventoryItems) String

func (x *InventoryItems) String() string

type Inventory_InventoryType

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

func (Inventory_InventoryType) Descriptor

func (Inventory_InventoryType) Enum

func (Inventory_InventoryType) EnumDescriptor deprecated

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

Deprecated: Use Inventory_InventoryType.Descriptor instead.

func (Inventory_InventoryType) Number

func (Inventory_InventoryType) String

func (x Inventory_InventoryType) String() string

func (Inventory_InventoryType) Type

type Items

type Items struct {
	Type         Items_ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Items_ItemType" json:"type,omitempty"`
	Blocks       []*Block       `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"`
	BlockHeaders []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"`
	Transactions []*Transaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*Items) Descriptor deprecated

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

Deprecated: Use Items.ProtoReflect.Descriptor instead.

func (*Items) GetBlockHeaders

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

func (*Items) GetBlocks

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

func (*Items) GetTransactions

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

func (*Items) GetType

func (x *Items) GetType() Items_ItemType

func (*Items) ProtoMessage

func (*Items) ProtoMessage()

func (*Items) ProtoReflect

func (x *Items) ProtoReflect() protoreflect.Message

func (*Items) Reset

func (x *Items) Reset()

func (*Items) String

func (x *Items) String() string

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) Descriptor

func (Items_ItemType) Enum

func (x Items_ItemType) Enum() *Items_ItemType

func (Items_ItemType) EnumDescriptor deprecated

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

Deprecated: Use Items_ItemType.Descriptor instead.

func (Items_ItemType) Number

func (Items_ItemType) String

func (x Items_ItemType) String() string

func (Items_ItemType) Type

type Key

type Key struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Weight  int64  `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*Key) Descriptor deprecated

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

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetAddress

func (x *Key) GetAddress() []byte

func (*Key) GetWeight

func (x *Key) GetWeight() int64

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) ProtoReflect

func (x *Key) ProtoReflect() protoreflect.Message

func (*Key) Reset

func (x *Key) Reset()

func (*Key) String

func (x *Key) String() string

type MerklePath

type MerklePath struct {
	AuthenticationPaths []*AuthenticationPath `protobuf:"bytes,1,rep,name=authentication_paths,json=authenticationPaths,proto3" json:"authentication_paths,omitempty"`
	Index               []bool                `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty"`
	Rt                  []byte                `protobuf:"bytes,3,opt,name=rt,proto3" json:"rt,omitempty"`
	// contains filtered or unexported fields
}

func (*MerklePath) Descriptor deprecated

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

Deprecated: Use MerklePath.ProtoReflect.Descriptor instead.

func (*MerklePath) GetAuthenticationPaths

func (x *MerklePath) GetAuthenticationPaths() []*AuthenticationPath

func (*MerklePath) GetIndex

func (x *MerklePath) GetIndex() []bool

func (*MerklePath) GetRt

func (x *MerklePath) GetRt() []byte

func (*MerklePath) ProtoMessage

func (*MerklePath) ProtoMessage()

func (*MerklePath) ProtoReflect

func (x *MerklePath) ProtoReflect() protoreflect.Message

func (*MerklePath) Reset

func (x *MerklePath) Reset()

func (*MerklePath) String

func (x *MerklePath) String() string

type Neighbours

type Neighbours struct {
	From       *Endpoint   `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Neighbours []*Endpoint `protobuf:"bytes,2,rep,name=neighbours,proto3" json:"neighbours,omitempty"`
	Timestamp  int64       `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Neighbours) Descriptor deprecated

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

Deprecated: Use Neighbours.ProtoReflect.Descriptor instead.

func (*Neighbours) GetFrom

func (x *Neighbours) GetFrom() *Endpoint

func (*Neighbours) GetNeighbours

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

func (*Neighbours) GetTimestamp

func (x *Neighbours) GetTimestamp() int64

func (*Neighbours) ProtoMessage

func (*Neighbours) ProtoMessage()

func (*Neighbours) ProtoReflect

func (x *Neighbours) ProtoReflect() protoreflect.Message

func (*Neighbours) Reset

func (x *Neighbours) Reset()

func (*Neighbours) String

func (x *Neighbours) String() string

type NodeInfo

type NodeInfo struct {
	BeginSyncNum  int64  `protobuf:"varint,1,opt,name=beginSyncNum,proto3" json:"beginSyncNum,omitempty"`
	Block         string `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
	SolidityBlock string `protobuf:"bytes,3,opt,name=solidityBlock,proto3" json:"solidityBlock,omitempty"`
	//connect information
	CurrentConnectCount int32                    `protobuf:"varint,4,opt,name=currentConnectCount,proto3" json:"currentConnectCount,omitempty"`
	ActiveConnectCount  int32                    `protobuf:"varint,5,opt,name=activeConnectCount,proto3" json:"activeConnectCount,omitempty"`
	PassiveConnectCount int32                    `protobuf:"varint,6,opt,name=passiveConnectCount,proto3" json:"passiveConnectCount,omitempty"`
	TotalFlow           int64                    `protobuf:"varint,7,opt,name=totalFlow,proto3" json:"totalFlow,omitempty"`
	PeerInfoList        []*NodeInfo_PeerInfo     `protobuf:"bytes,8,rep,name=peerInfoList,proto3" json:"peerInfoList,omitempty"`
	ConfigNodeInfo      *NodeInfo_ConfigNodeInfo `protobuf:"bytes,9,opt,name=configNodeInfo,proto3" json:"configNodeInfo,omitempty"`
	MachineInfo         *NodeInfo_MachineInfo    `protobuf:"bytes,10,opt,name=machineInfo,proto3" json:"machineInfo,omitempty"`
	CheatWitnessInfoMap map[string]string        `` /* 180-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NodeInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo) GetActiveConnectCount

func (x *NodeInfo) GetActiveConnectCount() int32

func (*NodeInfo) GetBeginSyncNum

func (x *NodeInfo) GetBeginSyncNum() int64

func (*NodeInfo) GetBlock

func (x *NodeInfo) GetBlock() string

func (*NodeInfo) GetCheatWitnessInfoMap

func (x *NodeInfo) GetCheatWitnessInfoMap() map[string]string

func (*NodeInfo) GetConfigNodeInfo

func (x *NodeInfo) GetConfigNodeInfo() *NodeInfo_ConfigNodeInfo

func (*NodeInfo) GetCurrentConnectCount

func (x *NodeInfo) GetCurrentConnectCount() int32

func (*NodeInfo) GetMachineInfo

func (x *NodeInfo) GetMachineInfo() *NodeInfo_MachineInfo

func (*NodeInfo) GetPassiveConnectCount

func (x *NodeInfo) GetPassiveConnectCount() int32

func (*NodeInfo) GetPeerInfoList

func (x *NodeInfo) GetPeerInfoList() []*NodeInfo_PeerInfo

func (*NodeInfo) GetSolidityBlock

func (x *NodeInfo) GetSolidityBlock() string

func (*NodeInfo) GetTotalFlow

func (x *NodeInfo) GetTotalFlow() int64

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

func (x *NodeInfo) ProtoReflect() protoreflect.Message

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) String

func (x *NodeInfo) String() string

type NodeInfo_ConfigNodeInfo

type NodeInfo_ConfigNodeInfo struct {
	CodeVersion              string  `protobuf:"bytes,1,opt,name=codeVersion,proto3" json:"codeVersion,omitempty"`
	P2PVersion               string  `protobuf:"bytes,2,opt,name=p2pVersion,proto3" json:"p2pVersion,omitempty"`
	ListenPort               int32   `protobuf:"varint,3,opt,name=listenPort,proto3" json:"listenPort,omitempty"`
	DiscoverEnable           bool    `protobuf:"varint,4,opt,name=discoverEnable,proto3" json:"discoverEnable,omitempty"`
	ActiveNodeSize           int32   `protobuf:"varint,5,opt,name=activeNodeSize,proto3" json:"activeNodeSize,omitempty"`
	PassiveNodeSize          int32   `protobuf:"varint,6,opt,name=passiveNodeSize,proto3" json:"passiveNodeSize,omitempty"`
	SendNodeSize             int32   `protobuf:"varint,7,opt,name=sendNodeSize,proto3" json:"sendNodeSize,omitempty"`
	MaxConnectCount          int32   `protobuf:"varint,8,opt,name=maxConnectCount,proto3" json:"maxConnectCount,omitempty"`
	SameIpMaxConnectCount    int32   `protobuf:"varint,9,opt,name=sameIpMaxConnectCount,proto3" json:"sameIpMaxConnectCount,omitempty"`
	BackupListenPort         int32   `protobuf:"varint,10,opt,name=backupListenPort,proto3" json:"backupListenPort,omitempty"`
	BackupMemberSize         int32   `protobuf:"varint,11,opt,name=backupMemberSize,proto3" json:"backupMemberSize,omitempty"`
	BackupPriority           int32   `protobuf:"varint,12,opt,name=backupPriority,proto3" json:"backupPriority,omitempty"`
	DbVersion                int32   `protobuf:"varint,13,opt,name=dbVersion,proto3" json:"dbVersion,omitempty"`
	MinParticipationRate     int32   `protobuf:"varint,14,opt,name=minParticipationRate,proto3" json:"minParticipationRate,omitempty"`
	SupportConstant          bool    `protobuf:"varint,15,opt,name=supportConstant,proto3" json:"supportConstant,omitempty"`
	MinTimeRatio             float64 `protobuf:"fixed64,16,opt,name=minTimeRatio,proto3" json:"minTimeRatio,omitempty"`
	MaxTimeRatio             float64 `protobuf:"fixed64,17,opt,name=maxTimeRatio,proto3" json:"maxTimeRatio,omitempty"`
	AllowCreationOfContracts int64   `protobuf:"varint,18,opt,name=allowCreationOfContracts,proto3" json:"allowCreationOfContracts,omitempty"`
	AllowAdaptiveEnergy      int64   `protobuf:"varint,19,opt,name=allowAdaptiveEnergy,proto3" json:"allowAdaptiveEnergy,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo_ConfigNodeInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo_ConfigNodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo_ConfigNodeInfo) GetActiveNodeSize

func (x *NodeInfo_ConfigNodeInfo) GetActiveNodeSize() int32

func (*NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy

func (x *NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy() int64

func (*NodeInfo_ConfigNodeInfo) GetAllowCreationOfContracts

func (x *NodeInfo_ConfigNodeInfo) GetAllowCreationOfContracts() int64

func (*NodeInfo_ConfigNodeInfo) GetBackupListenPort

func (x *NodeInfo_ConfigNodeInfo) GetBackupListenPort() int32

func (*NodeInfo_ConfigNodeInfo) GetBackupMemberSize

func (x *NodeInfo_ConfigNodeInfo) GetBackupMemberSize() int32

func (*NodeInfo_ConfigNodeInfo) GetBackupPriority

func (x *NodeInfo_ConfigNodeInfo) GetBackupPriority() int32

func (*NodeInfo_ConfigNodeInfo) GetCodeVersion

func (x *NodeInfo_ConfigNodeInfo) GetCodeVersion() string

func (*NodeInfo_ConfigNodeInfo) GetDbVersion

func (x *NodeInfo_ConfigNodeInfo) GetDbVersion() int32

func (*NodeInfo_ConfigNodeInfo) GetDiscoverEnable

func (x *NodeInfo_ConfigNodeInfo) GetDiscoverEnable() bool

func (*NodeInfo_ConfigNodeInfo) GetListenPort

func (x *NodeInfo_ConfigNodeInfo) GetListenPort() int32

func (*NodeInfo_ConfigNodeInfo) GetMaxConnectCount

func (x *NodeInfo_ConfigNodeInfo) GetMaxConnectCount() int32

func (*NodeInfo_ConfigNodeInfo) GetMaxTimeRatio

func (x *NodeInfo_ConfigNodeInfo) GetMaxTimeRatio() float64

func (*NodeInfo_ConfigNodeInfo) GetMinParticipationRate

func (x *NodeInfo_ConfigNodeInfo) GetMinParticipationRate() int32

func (*NodeInfo_ConfigNodeInfo) GetMinTimeRatio

func (x *NodeInfo_ConfigNodeInfo) GetMinTimeRatio() float64

func (*NodeInfo_ConfigNodeInfo) GetP2PVersion

func (x *NodeInfo_ConfigNodeInfo) GetP2PVersion() string

func (*NodeInfo_ConfigNodeInfo) GetPassiveNodeSize

func (x *NodeInfo_ConfigNodeInfo) GetPassiveNodeSize() int32

func (*NodeInfo_ConfigNodeInfo) GetSameIpMaxConnectCount

func (x *NodeInfo_ConfigNodeInfo) GetSameIpMaxConnectCount() int32

func (*NodeInfo_ConfigNodeInfo) GetSendNodeSize

func (x *NodeInfo_ConfigNodeInfo) GetSendNodeSize() int32

func (*NodeInfo_ConfigNodeInfo) GetSupportConstant

func (x *NodeInfo_ConfigNodeInfo) GetSupportConstant() bool

func (*NodeInfo_ConfigNodeInfo) ProtoMessage

func (*NodeInfo_ConfigNodeInfo) ProtoMessage()

func (*NodeInfo_ConfigNodeInfo) ProtoReflect

func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message

func (*NodeInfo_ConfigNodeInfo) Reset

func (x *NodeInfo_ConfigNodeInfo) Reset()

func (*NodeInfo_ConfigNodeInfo) String

func (x *NodeInfo_ConfigNodeInfo) String() string

type NodeInfo_MachineInfo

type NodeInfo_MachineInfo struct {
	ThreadCount            int32                                      `protobuf:"varint,1,opt,name=threadCount,proto3" json:"threadCount,omitempty"`
	DeadLockThreadCount    int32                                      `protobuf:"varint,2,opt,name=deadLockThreadCount,proto3" json:"deadLockThreadCount,omitempty"`
	CpuCount               int32                                      `protobuf:"varint,3,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"`
	TotalMemory            int64                                      `protobuf:"varint,4,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"`
	FreeMemory             int64                                      `protobuf:"varint,5,opt,name=freeMemory,proto3" json:"freeMemory,omitempty"`
	CpuRate                float64                                    `protobuf:"fixed64,6,opt,name=cpuRate,proto3" json:"cpuRate,omitempty"`
	JavaVersion            string                                     `protobuf:"bytes,7,opt,name=javaVersion,proto3" json:"javaVersion,omitempty"`
	OsName                 string                                     `protobuf:"bytes,8,opt,name=osName,proto3" json:"osName,omitempty"`
	JvmTotalMemoery        int64                                      `protobuf:"varint,9,opt,name=jvmTotalMemoery,proto3" json:"jvmTotalMemoery,omitempty"`
	JvmFreeMemory          int64                                      `protobuf:"varint,10,opt,name=jvmFreeMemory,proto3" json:"jvmFreeMemory,omitempty"`
	ProcessCpuRate         float64                                    `protobuf:"fixed64,11,opt,name=processCpuRate,proto3" json:"processCpuRate,omitempty"`
	MemoryDescInfoList     []*NodeInfo_MachineInfo_MemoryDescInfo     `protobuf:"bytes,12,rep,name=memoryDescInfoList,proto3" json:"memoryDescInfoList,omitempty"`
	DeadLockThreadInfoList []*NodeInfo_MachineInfo_DeadLockThreadInfo `protobuf:"bytes,13,rep,name=deadLockThreadInfoList,proto3" json:"deadLockThreadInfoList,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo_MachineInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo_MachineInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo_MachineInfo) GetCpuCount

func (x *NodeInfo_MachineInfo) GetCpuCount() int32

func (*NodeInfo_MachineInfo) GetCpuRate

func (x *NodeInfo_MachineInfo) GetCpuRate() float64

func (*NodeInfo_MachineInfo) GetDeadLockThreadCount

func (x *NodeInfo_MachineInfo) GetDeadLockThreadCount() int32

func (*NodeInfo_MachineInfo) GetDeadLockThreadInfoList

func (x *NodeInfo_MachineInfo) GetDeadLockThreadInfoList() []*NodeInfo_MachineInfo_DeadLockThreadInfo

func (*NodeInfo_MachineInfo) GetFreeMemory

func (x *NodeInfo_MachineInfo) GetFreeMemory() int64

func (*NodeInfo_MachineInfo) GetJavaVersion

func (x *NodeInfo_MachineInfo) GetJavaVersion() string

func (*NodeInfo_MachineInfo) GetJvmFreeMemory

func (x *NodeInfo_MachineInfo) GetJvmFreeMemory() int64

func (*NodeInfo_MachineInfo) GetJvmTotalMemoery

func (x *NodeInfo_MachineInfo) GetJvmTotalMemoery() int64

func (*NodeInfo_MachineInfo) GetMemoryDescInfoList

func (x *NodeInfo_MachineInfo) GetMemoryDescInfoList() []*NodeInfo_MachineInfo_MemoryDescInfo

func (*NodeInfo_MachineInfo) GetOsName

func (x *NodeInfo_MachineInfo) GetOsName() string

func (*NodeInfo_MachineInfo) GetProcessCpuRate

func (x *NodeInfo_MachineInfo) GetProcessCpuRate() float64

func (*NodeInfo_MachineInfo) GetThreadCount

func (x *NodeInfo_MachineInfo) GetThreadCount() int32

func (*NodeInfo_MachineInfo) GetTotalMemory

func (x *NodeInfo_MachineInfo) GetTotalMemory() int64

func (*NodeInfo_MachineInfo) ProtoMessage

func (*NodeInfo_MachineInfo) ProtoMessage()

func (*NodeInfo_MachineInfo) ProtoReflect

func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message

func (*NodeInfo_MachineInfo) Reset

func (x *NodeInfo_MachineInfo) Reset()

func (*NodeInfo_MachineInfo) String

func (x *NodeInfo_MachineInfo) String() string

type NodeInfo_MachineInfo_DeadLockThreadInfo

type NodeInfo_MachineInfo_DeadLockThreadInfo struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	LockName   string `protobuf:"bytes,2,opt,name=lockName,proto3" json:"lockName,omitempty"`
	LockOwner  string `protobuf:"bytes,3,opt,name=lockOwner,proto3" json:"lockOwner,omitempty"`
	State      string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	BlockTime  int64  `protobuf:"varint,5,opt,name=blockTime,proto3" json:"blockTime,omitempty"`
	WaitTime   int64  `protobuf:"varint,6,opt,name=waitTime,proto3" json:"waitTime,omitempty"`
	StackTrace string `protobuf:"bytes,7,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo_MachineInfo_DeadLockThreadInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetName

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetState

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Reset

func (*NodeInfo_MachineInfo_DeadLockThreadInfo) String

type NodeInfo_MachineInfo_MemoryDescInfo

type NodeInfo_MachineInfo_MemoryDescInfo struct {
	Name     string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	InitSize int64   `protobuf:"varint,2,opt,name=initSize,proto3" json:"initSize,omitempty"`
	UseSize  int64   `protobuf:"varint,3,opt,name=useSize,proto3" json:"useSize,omitempty"`
	MaxSize  int64   `protobuf:"varint,4,opt,name=maxSize,proto3" json:"maxSize,omitempty"`
	UseRate  float64 `protobuf:"fixed64,5,opt,name=useRate,proto3" json:"useRate,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo_MachineInfo_MemoryDescInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo_MachineInfo_MemoryDescInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo_MachineInfo_MemoryDescInfo) GetInitSize

func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetInitSize() int64

func (*NodeInfo_MachineInfo_MemoryDescInfo) GetMaxSize

func (*NodeInfo_MachineInfo_MemoryDescInfo) GetName

func (*NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate

func (*NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize

func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage

func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage()

func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect

func (*NodeInfo_MachineInfo_MemoryDescInfo) Reset

func (*NodeInfo_MachineInfo_MemoryDescInfo) String

type NodeInfo_PeerInfo

type NodeInfo_PeerInfo struct {
	LastSyncBlock           string  `protobuf:"bytes,1,opt,name=lastSyncBlock,proto3" json:"lastSyncBlock,omitempty"`
	RemainNum               int64   `protobuf:"varint,2,opt,name=remainNum,proto3" json:"remainNum,omitempty"`
	LastBlockUpdateTime     int64   `protobuf:"varint,3,opt,name=lastBlockUpdateTime,proto3" json:"lastBlockUpdateTime,omitempty"`
	SyncFlag                bool    `protobuf:"varint,4,opt,name=syncFlag,proto3" json:"syncFlag,omitempty"`
	HeadBlockTimeWeBothHave int64   `protobuf:"varint,5,opt,name=headBlockTimeWeBothHave,proto3" json:"headBlockTimeWeBothHave,omitempty"`
	NeedSyncFromPeer        bool    `protobuf:"varint,6,opt,name=needSyncFromPeer,proto3" json:"needSyncFromPeer,omitempty"`
	NeedSyncFromUs          bool    `protobuf:"varint,7,opt,name=needSyncFromUs,proto3" json:"needSyncFromUs,omitempty"`
	Host                    string  `protobuf:"bytes,8,opt,name=host,proto3" json:"host,omitempty"`
	Port                    int32   `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"`
	NodeId                  string  `protobuf:"bytes,10,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	ConnectTime             int64   `protobuf:"varint,11,opt,name=connectTime,proto3" json:"connectTime,omitempty"`
	AvgLatency              float64 `protobuf:"fixed64,12,opt,name=avgLatency,proto3" json:"avgLatency,omitempty"`
	SyncToFetchSize         int32   `protobuf:"varint,13,opt,name=syncToFetchSize,proto3" json:"syncToFetchSize,omitempty"`
	SyncToFetchSizePeekNum  int64   `protobuf:"varint,14,opt,name=syncToFetchSizePeekNum,proto3" json:"syncToFetchSizePeekNum,omitempty"`
	SyncBlockRequestedSize  int32   `protobuf:"varint,15,opt,name=syncBlockRequestedSize,proto3" json:"syncBlockRequestedSize,omitempty"`
	UnFetchSynNum           int64   `protobuf:"varint,16,opt,name=unFetchSynNum,proto3" json:"unFetchSynNum,omitempty"`
	BlockInPorcSize         int32   `protobuf:"varint,17,opt,name=blockInPorcSize,proto3" json:"blockInPorcSize,omitempty"`
	HeadBlockWeBothHave     string  `protobuf:"bytes,18,opt,name=headBlockWeBothHave,proto3" json:"headBlockWeBothHave,omitempty"`
	IsActive                bool    `protobuf:"varint,19,opt,name=isActive,proto3" json:"isActive,omitempty"`
	Score                   int32   `protobuf:"varint,20,opt,name=score,proto3" json:"score,omitempty"`
	NodeCount               int32   `protobuf:"varint,21,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"`
	InFlow                  int64   `protobuf:"varint,22,opt,name=inFlow,proto3" json:"inFlow,omitempty"`
	DisconnectTimes         int32   `protobuf:"varint,23,opt,name=disconnectTimes,proto3" json:"disconnectTimes,omitempty"`
	LocalDisconnectReason   string  `protobuf:"bytes,24,opt,name=localDisconnectReason,proto3" json:"localDisconnectReason,omitempty"`
	RemoteDisconnectReason  string  `protobuf:"bytes,25,opt,name=remoteDisconnectReason,proto3" json:"remoteDisconnectReason,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo_PeerInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo_PeerInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo_PeerInfo) GetAvgLatency

func (x *NodeInfo_PeerInfo) GetAvgLatency() float64

func (*NodeInfo_PeerInfo) GetBlockInPorcSize

func (x *NodeInfo_PeerInfo) GetBlockInPorcSize() int32

func (*NodeInfo_PeerInfo) GetConnectTime

func (x *NodeInfo_PeerInfo) GetConnectTime() int64

func (*NodeInfo_PeerInfo) GetDisconnectTimes

func (x *NodeInfo_PeerInfo) GetDisconnectTimes() int32

func (*NodeInfo_PeerInfo) GetHeadBlockTimeWeBothHave

func (x *NodeInfo_PeerInfo) GetHeadBlockTimeWeBothHave() int64

func (*NodeInfo_PeerInfo) GetHeadBlockWeBothHave

func (x *NodeInfo_PeerInfo) GetHeadBlockWeBothHave() string

func (*NodeInfo_PeerInfo) GetHost

func (x *NodeInfo_PeerInfo) GetHost() string

func (*NodeInfo_PeerInfo) GetInFlow

func (x *NodeInfo_PeerInfo) GetInFlow() int64

func (*NodeInfo_PeerInfo) GetIsActive

func (x *NodeInfo_PeerInfo) GetIsActive() bool

func (*NodeInfo_PeerInfo) GetLastBlockUpdateTime

func (x *NodeInfo_PeerInfo) GetLastBlockUpdateTime() int64

func (*NodeInfo_PeerInfo) GetLastSyncBlock

func (x *NodeInfo_PeerInfo) GetLastSyncBlock() string

func (*NodeInfo_PeerInfo) GetLocalDisconnectReason

func (x *NodeInfo_PeerInfo) GetLocalDisconnectReason() string

func (*NodeInfo_PeerInfo) GetNeedSyncFromPeer

func (x *NodeInfo_PeerInfo) GetNeedSyncFromPeer() bool

func (*NodeInfo_PeerInfo) GetNeedSyncFromUs

func (x *NodeInfo_PeerInfo) GetNeedSyncFromUs() bool

func (*NodeInfo_PeerInfo) GetNodeCount

func (x *NodeInfo_PeerInfo) GetNodeCount() int32

func (*NodeInfo_PeerInfo) GetNodeId

func (x *NodeInfo_PeerInfo) GetNodeId() string

func (*NodeInfo_PeerInfo) GetPort

func (x *NodeInfo_PeerInfo) GetPort() int32

func (*NodeInfo_PeerInfo) GetRemainNum

func (x *NodeInfo_PeerInfo) GetRemainNum() int64

func (*NodeInfo_PeerInfo) GetRemoteDisconnectReason

func (x *NodeInfo_PeerInfo) GetRemoteDisconnectReason() string

func (*NodeInfo_PeerInfo) GetScore

func (x *NodeInfo_PeerInfo) GetScore() int32

func (*NodeInfo_PeerInfo) GetSyncBlockRequestedSize

func (x *NodeInfo_PeerInfo) GetSyncBlockRequestedSize() int32

func (*NodeInfo_PeerInfo) GetSyncFlag

func (x *NodeInfo_PeerInfo) GetSyncFlag() bool

func (*NodeInfo_PeerInfo) GetSyncToFetchSize

func (x *NodeInfo_PeerInfo) GetSyncToFetchSize() int32

func (*NodeInfo_PeerInfo) GetSyncToFetchSizePeekNum

func (x *NodeInfo_PeerInfo) GetSyncToFetchSizePeekNum() int64

func (*NodeInfo_PeerInfo) GetUnFetchSynNum

func (x *NodeInfo_PeerInfo) GetUnFetchSynNum() int64

func (*NodeInfo_PeerInfo) ProtoMessage

func (*NodeInfo_PeerInfo) ProtoMessage()

func (*NodeInfo_PeerInfo) ProtoReflect

func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message

func (*NodeInfo_PeerInfo) Reset

func (x *NodeInfo_PeerInfo) Reset()

func (*NodeInfo_PeerInfo) String

func (x *NodeInfo_PeerInfo) String() string

type OutputPoint

type OutputPoint struct {
	Hash  []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Index int32  `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*OutputPoint) Descriptor deprecated

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

Deprecated: Use OutputPoint.ProtoReflect.Descriptor instead.

func (*OutputPoint) GetHash

func (x *OutputPoint) GetHash() []byte

func (*OutputPoint) GetIndex

func (x *OutputPoint) GetIndex() int32

func (*OutputPoint) ProtoMessage

func (*OutputPoint) ProtoMessage()

func (*OutputPoint) ProtoReflect

func (x *OutputPoint) ProtoReflect() protoreflect.Message

func (*OutputPoint) Reset

func (x *OutputPoint) Reset()

func (*OutputPoint) String

func (x *OutputPoint) String() string

type OutputPointInfo

type OutputPointInfo struct {
	OutPoints []*OutputPoint `protobuf:"bytes,1,rep,name=out_points,json=outPoints,proto3" json:"out_points,omitempty"`
	BlockNum  int32          `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	// contains filtered or unexported fields
}

func (*OutputPointInfo) Descriptor deprecated

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

Deprecated: Use OutputPointInfo.ProtoReflect.Descriptor instead.

func (*OutputPointInfo) GetBlockNum

func (x *OutputPointInfo) GetBlockNum() int32

func (*OutputPointInfo) GetOutPoints

func (x *OutputPointInfo) GetOutPoints() []*OutputPoint

func (*OutputPointInfo) ProtoMessage

func (*OutputPointInfo) ProtoMessage()

func (*OutputPointInfo) ProtoReflect

func (x *OutputPointInfo) ProtoReflect() protoreflect.Message

func (*OutputPointInfo) Reset

func (x *OutputPointInfo) Reset()

func (*OutputPointInfo) String

func (x *OutputPointInfo) String() string

type ParticipateAssetIssueContract

type ParticipateAssetIssueContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ToAddress    []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	AssetName    []byte `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format.
	Amount       int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`                       // the amount of drops
	// contains filtered or unexported fields
}

func (*ParticipateAssetIssueContract) Descriptor deprecated

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

Deprecated: Use ParticipateAssetIssueContract.ProtoReflect.Descriptor instead.

func (*ParticipateAssetIssueContract) GetAmount

func (x *ParticipateAssetIssueContract) GetAmount() int64

func (*ParticipateAssetIssueContract) GetAssetName

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

func (*ParticipateAssetIssueContract) GetOwnerAddress

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

func (*ParticipateAssetIssueContract) GetToAddress

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

func (*ParticipateAssetIssueContract) ProtoMessage

func (*ParticipateAssetIssueContract) ProtoMessage()

func (*ParticipateAssetIssueContract) ProtoReflect

func (*ParticipateAssetIssueContract) Reset

func (x *ParticipateAssetIssueContract) Reset()

func (*ParticipateAssetIssueContract) String

type PedersenHash

type PedersenHash struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*PedersenHash) Descriptor deprecated

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

Deprecated: Use PedersenHash.ProtoReflect.Descriptor instead.

func (*PedersenHash) GetContent

func (x *PedersenHash) GetContent() []byte

func (*PedersenHash) ProtoMessage

func (*PedersenHash) ProtoMessage()

func (*PedersenHash) ProtoReflect

func (x *PedersenHash) ProtoReflect() protoreflect.Message

func (*PedersenHash) Reset

func (x *PedersenHash) Reset()

func (*PedersenHash) String

func (x *PedersenHash) String() string

type Permission

type Permission struct {
	Type           Permission_PermissionType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Permission_PermissionType" json:"type,omitempty"`
	Id             int32                     `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` //Owner id=0, Witness id=1, Active id start by 2
	PermissionName string                    `protobuf:"bytes,3,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"`
	Threshold      int64                     `protobuf:"varint,4,opt,name=threshold,proto3" json:"threshold,omitempty"`
	ParentId       int32                     `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Operations     []byte                    `protobuf:"bytes,6,opt,name=operations,proto3" json:"operations,omitempty"` //1 bit 1 contract
	Keys           []*Key                    `protobuf:"bytes,7,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetId

func (x *Permission) GetId() int32

func (*Permission) GetKeys

func (x *Permission) GetKeys() []*Key

func (*Permission) GetOperations

func (x *Permission) GetOperations() []byte

func (*Permission) GetParentId

func (x *Permission) GetParentId() int32

func (*Permission) GetPermissionName

func (x *Permission) GetPermissionName() string

func (*Permission) GetThreshold

func (x *Permission) GetThreshold() int64

func (*Permission) GetType

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

func (x *Permission) ProtoReflect() protoreflect.Message

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

type Permission_PermissionType

type Permission_PermissionType int32
const (
	Permission_Owner   Permission_PermissionType = 0
	Permission_Witness Permission_PermissionType = 1
	Permission_Active  Permission_PermissionType = 2
)

func (Permission_PermissionType) Descriptor

func (Permission_PermissionType) Enum

func (Permission_PermissionType) EnumDescriptor deprecated

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

Deprecated: Use Permission_PermissionType.Descriptor instead.

func (Permission_PermissionType) Number

func (Permission_PermissionType) String

func (x Permission_PermissionType) String() string

func (Permission_PermissionType) Type

type PingMessage

type PingMessage struct {
	From      *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To        *Endpoint `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Version   int32     `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	Timestamp int64     `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PingMessage) Descriptor deprecated

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

Deprecated: Use PingMessage.ProtoReflect.Descriptor instead.

func (*PingMessage) GetFrom

func (x *PingMessage) GetFrom() *Endpoint

func (*PingMessage) GetTimestamp

func (x *PingMessage) GetTimestamp() int64

func (*PingMessage) GetTo

func (x *PingMessage) GetTo() *Endpoint

func (*PingMessage) GetVersion

func (x *PingMessage) GetVersion() int32

func (*PingMessage) ProtoMessage

func (*PingMessage) ProtoMessage()

func (*PingMessage) ProtoReflect

func (x *PingMessage) ProtoReflect() protoreflect.Message

func (*PingMessage) Reset

func (x *PingMessage) Reset()

func (*PingMessage) String

func (x *PingMessage) String() string

type PongMessage

type PongMessage struct {
	From      *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Echo      int32     `protobuf:"varint,2,opt,name=echo,proto3" json:"echo,omitempty"`
	Timestamp int64     `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PongMessage) Descriptor deprecated

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

Deprecated: Use PongMessage.ProtoReflect.Descriptor instead.

func (*PongMessage) GetEcho

func (x *PongMessage) GetEcho() int32

func (*PongMessage) GetFrom

func (x *PongMessage) GetFrom() *Endpoint

func (*PongMessage) GetTimestamp

func (x *PongMessage) GetTimestamp() int64

func (*PongMessage) ProtoMessage

func (*PongMessage) ProtoMessage()

func (*PongMessage) ProtoReflect

func (x *PongMessage) ProtoReflect() protoreflect.Message

func (*PongMessage) Reset

func (x *PongMessage) Reset()

func (*PongMessage) String

func (x *PongMessage) String() string

type Proposal

type Proposal struct {
	ProposalId      int64           `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
	ProposerAddress []byte          `protobuf:"bytes,2,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
	Parameters      map[int64]int64 `` /* 163-byte string literal not displayed */
	ExpirationTime  int64           `protobuf:"varint,4,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	CreateTime      int64           `protobuf:"varint,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	Approvals       [][]byte        `protobuf:"bytes,6,rep,name=approvals,proto3" json:"approvals,omitempty"`
	State           Proposal_State  `protobuf:"varint,7,opt,name=state,proto3,enum=protocol.Proposal_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Proposal

func (*Proposal) Descriptor deprecated

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

Deprecated: Use Proposal.ProtoReflect.Descriptor instead.

func (*Proposal) GetApprovals

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

func (*Proposal) GetCreateTime

func (x *Proposal) GetCreateTime() int64

func (*Proposal) GetExpirationTime

func (x *Proposal) GetExpirationTime() int64

func (*Proposal) GetParameters

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

func (*Proposal) GetProposalId

func (x *Proposal) GetProposalId() int64

func (*Proposal) GetProposerAddress

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

func (*Proposal) GetState

func (x *Proposal) GetState() Proposal_State

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) ProtoReflect

func (x *Proposal) ProtoReflect() protoreflect.Message

func (*Proposal) Reset

func (x *Proposal) Reset()

func (*Proposal) String

func (x *Proposal) String() string

type ProposalApproveContract

type ProposalApproveContract struct {
	OwnerAddress  []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ProposalId    int64  `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
	IsAddApproval bool   `protobuf:"varint,3,opt,name=is_add_approval,json=isAddApproval,proto3" json:"is_add_approval,omitempty"` // add or remove approval
	// contains filtered or unexported fields
}

func (*ProposalApproveContract) Descriptor deprecated

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

Deprecated: Use ProposalApproveContract.ProtoReflect.Descriptor instead.

func (*ProposalApproveContract) GetIsAddApproval

func (x *ProposalApproveContract) GetIsAddApproval() bool

func (*ProposalApproveContract) GetOwnerAddress

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

func (*ProposalApproveContract) GetProposalId

func (x *ProposalApproveContract) GetProposalId() int64

func (*ProposalApproveContract) ProtoMessage

func (*ProposalApproveContract) ProtoMessage()

func (*ProposalApproveContract) ProtoReflect

func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message

func (*ProposalApproveContract) Reset

func (x *ProposalApproveContract) Reset()

func (*ProposalApproveContract) String

func (x *ProposalApproveContract) String() string

type ProposalCreateContract

type ProposalCreateContract struct {
	OwnerAddress []byte          `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Parameters   map[int64]int64 `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProposalCreateContract) Descriptor deprecated

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

Deprecated: Use ProposalCreateContract.ProtoReflect.Descriptor instead.

func (*ProposalCreateContract) GetOwnerAddress

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

func (*ProposalCreateContract) GetParameters

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

func (*ProposalCreateContract) ProtoMessage

func (*ProposalCreateContract) ProtoMessage()

func (*ProposalCreateContract) ProtoReflect

func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message

func (*ProposalCreateContract) Reset

func (x *ProposalCreateContract) Reset()

func (*ProposalCreateContract) String

func (x *ProposalCreateContract) String() string

type ProposalDeleteContract

type ProposalDeleteContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ProposalId   int64  `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposalDeleteContract) Descriptor deprecated

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

Deprecated: Use ProposalDeleteContract.ProtoReflect.Descriptor instead.

func (*ProposalDeleteContract) GetOwnerAddress

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

func (*ProposalDeleteContract) GetProposalId

func (x *ProposalDeleteContract) GetProposalId() int64

func (*ProposalDeleteContract) ProtoMessage

func (*ProposalDeleteContract) ProtoMessage()

func (*ProposalDeleteContract) ProtoReflect

func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message

func (*ProposalDeleteContract) Reset

func (x *ProposalDeleteContract) Reset()

func (*ProposalDeleteContract) String

func (x *ProposalDeleteContract) String() string

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) Descriptor

func (Proposal_State) Enum

func (x Proposal_State) Enum() *Proposal_State

func (Proposal_State) EnumDescriptor deprecated

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

Deprecated: Use Proposal_State.Descriptor instead.

func (Proposal_State) Number

func (Proposal_State) String

func (x Proposal_State) String() string

func (Proposal_State) Type

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) Descriptor

func (ReasonCode) Descriptor() protoreflect.EnumDescriptor

func (ReasonCode) Enum

func (x ReasonCode) Enum() *ReasonCode

func (ReasonCode) EnumDescriptor deprecated

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

Deprecated: Use ReasonCode.Descriptor instead.

func (ReasonCode) Number

func (x ReasonCode) Number() protoreflect.EnumNumber

func (ReasonCode) String

func (x ReasonCode) String() string

func (ReasonCode) Type

type ReceiveDescription

type ReceiveDescription struct {
	ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"`
	NoteCommitment  []byte `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"`
	Epk             []byte `protobuf:"bytes,3,opt,name=epk,proto3" json:"epk,omitempty"`               // for Encryption
	CEnc            []byte `protobuf:"bytes,4,opt,name=c_enc,json=cEnc,proto3" json:"c_enc,omitempty"` // Encryption for incoming, decrypt it with ivk
	COut            []byte `protobuf:"bytes,5,opt,name=c_out,json=cOut,proto3" json:"c_out,omitempty"` // Encryption for audit, decrypt it with ovk
	Zkproof         []byte `protobuf:"bytes,6,opt,name=zkproof,proto3" json:"zkproof,omitempty"`
	// contains filtered or unexported fields
}

func (*ReceiveDescription) Descriptor deprecated

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

Deprecated: Use ReceiveDescription.ProtoReflect.Descriptor instead.

func (*ReceiveDescription) GetCEnc

func (x *ReceiveDescription) GetCEnc() []byte

func (*ReceiveDescription) GetCOut

func (x *ReceiveDescription) GetCOut() []byte

func (*ReceiveDescription) GetEpk

func (x *ReceiveDescription) GetEpk() []byte

func (*ReceiveDescription) GetNoteCommitment

func (x *ReceiveDescription) GetNoteCommitment() []byte

func (*ReceiveDescription) GetValueCommitment

func (x *ReceiveDescription) GetValueCommitment() []byte

func (*ReceiveDescription) GetZkproof

func (x *ReceiveDescription) GetZkproof() []byte

func (*ReceiveDescription) ProtoMessage

func (*ReceiveDescription) ProtoMessage()

func (*ReceiveDescription) ProtoReflect

func (x *ReceiveDescription) ProtoReflect() protoreflect.Message

func (*ReceiveDescription) Reset

func (x *ReceiveDescription) Reset()

func (*ReceiveDescription) String

func (x *ReceiveDescription) String() string

type ResourceCode

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

func (ResourceCode) Descriptor

func (ResourceCode) Enum

func (x ResourceCode) Enum() *ResourceCode

func (ResourceCode) EnumDescriptor deprecated

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

Deprecated: Use ResourceCode.Descriptor instead.

func (ResourceCode) Number

func (ResourceCode) String

func (x ResourceCode) String() string

func (ResourceCode) Type

type ResourceReceipt

type ResourceReceipt struct {
	EnergyUsage       int64                            `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"`
	EnergyFee         int64                            `protobuf:"varint,2,opt,name=energy_fee,json=energyFee,proto3" json:"energy_fee,omitempty"`
	OriginEnergyUsage int64                            `protobuf:"varint,3,opt,name=origin_energy_usage,json=originEnergyUsage,proto3" json:"origin_energy_usage,omitempty"`
	EnergyUsageTotal  int64                            `protobuf:"varint,4,opt,name=energy_usage_total,json=energyUsageTotal,proto3" json:"energy_usage_total,omitempty"`
	NetUsage          int64                            `protobuf:"varint,5,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"`
	NetFee            int64                            `protobuf:"varint,6,opt,name=net_fee,json=netFee,proto3" json:"net_fee,omitempty"`
	Result            Transaction_ResultContractResult `protobuf:"varint,7,opt,name=result,proto3,enum=protocol.Transaction_ResultContractResult" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceReceipt) Descriptor deprecated

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

Deprecated: Use ResourceReceipt.ProtoReflect.Descriptor instead.

func (*ResourceReceipt) GetEnergyFee

func (x *ResourceReceipt) GetEnergyFee() int64

func (*ResourceReceipt) GetEnergyUsage

func (x *ResourceReceipt) GetEnergyUsage() int64

func (*ResourceReceipt) GetEnergyUsageTotal

func (x *ResourceReceipt) GetEnergyUsageTotal() int64

func (*ResourceReceipt) GetNetFee

func (x *ResourceReceipt) GetNetFee() int64

func (*ResourceReceipt) GetNetUsage

func (x *ResourceReceipt) GetNetUsage() int64

func (*ResourceReceipt) GetOriginEnergyUsage

func (x *ResourceReceipt) GetOriginEnergyUsage() int64

func (*ResourceReceipt) GetResult

func (*ResourceReceipt) ProtoMessage

func (*ResourceReceipt) ProtoMessage()

func (*ResourceReceipt) ProtoReflect

func (x *ResourceReceipt) ProtoReflect() protoreflect.Message

func (*ResourceReceipt) Reset

func (x *ResourceReceipt) Reset()

func (*ResourceReceipt) String

func (x *ResourceReceipt) String() string

type SellStorageContract

type SellStorageContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	StorageBytes int64  `protobuf:"varint,2,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*SellStorageContract) Descriptor deprecated

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

Deprecated: Use SellStorageContract.ProtoReflect.Descriptor instead.

func (*SellStorageContract) GetOwnerAddress

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

func (*SellStorageContract) GetStorageBytes

func (x *SellStorageContract) GetStorageBytes() int64

func (*SellStorageContract) ProtoMessage

func (*SellStorageContract) ProtoMessage()

func (*SellStorageContract) ProtoReflect

func (x *SellStorageContract) ProtoReflect() protoreflect.Message

func (*SellStorageContract) Reset

func (x *SellStorageContract) Reset()

func (*SellStorageContract) String

func (x *SellStorageContract) String() string

type SetAccountIdContract

type SetAccountIdContract struct {
	AccountId    []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

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

func (*SetAccountIdContract) Descriptor deprecated

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

Deprecated: Use SetAccountIdContract.ProtoReflect.Descriptor instead.

func (*SetAccountIdContract) GetAccountId

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

func (*SetAccountIdContract) GetOwnerAddress

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

func (*SetAccountIdContract) ProtoMessage

func (*SetAccountIdContract) ProtoMessage()

func (*SetAccountIdContract) ProtoReflect

func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message

func (*SetAccountIdContract) Reset

func (x *SetAccountIdContract) Reset()

func (*SetAccountIdContract) String

func (x *SetAccountIdContract) String() string

type ShieldedTransferContract

type ShieldedTransferContract struct {
	TransparentFromAddress []byte `` // transparent address
	/* 129-byte string literal not displayed */
	FromAmount           int64                 `protobuf:"varint,2,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"`
	SpendDescription     []*SpendDescription   `protobuf:"bytes,3,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"`
	ReceiveDescription   []*ReceiveDescription `protobuf:"bytes,4,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"`
	BindingSignature     []byte                `protobuf:"bytes,5,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"`
	TransparentToAddress []byte                `protobuf:"bytes,6,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` // transparent address
	ToAmount             int64                 `protobuf:"varint,7,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`                                      // the amount to transparent to_address
	// contains filtered or unexported fields
}

func (*ShieldedTransferContract) Descriptor deprecated

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

Deprecated: Use ShieldedTransferContract.ProtoReflect.Descriptor instead.

func (*ShieldedTransferContract) GetBindingSignature

func (x *ShieldedTransferContract) GetBindingSignature() []byte

func (*ShieldedTransferContract) GetFromAmount

func (x *ShieldedTransferContract) GetFromAmount() int64

func (*ShieldedTransferContract) GetReceiveDescription

func (x *ShieldedTransferContract) GetReceiveDescription() []*ReceiveDescription

func (*ShieldedTransferContract) GetSpendDescription

func (x *ShieldedTransferContract) GetSpendDescription() []*SpendDescription

func (*ShieldedTransferContract) GetToAmount

func (x *ShieldedTransferContract) GetToAmount() int64

func (*ShieldedTransferContract) GetTransparentFromAddress

func (x *ShieldedTransferContract) GetTransparentFromAddress() []byte

func (*ShieldedTransferContract) GetTransparentToAddress

func (x *ShieldedTransferContract) GetTransparentToAddress() []byte

func (*ShieldedTransferContract) ProtoMessage

func (*ShieldedTransferContract) ProtoMessage()

func (*ShieldedTransferContract) ProtoReflect

func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message

func (*ShieldedTransferContract) Reset

func (x *ShieldedTransferContract) Reset()

func (*ShieldedTransferContract) String

func (x *ShieldedTransferContract) String() string

type SmartContract

type SmartContract struct {
	OriginAddress              []byte             `protobuf:"bytes,1,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty"`
	ContractAddress            []byte             `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	Abi                        *SmartContract_ABI `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty"`
	Bytecode                   []byte             `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	CallValue                  int64              `protobuf:"varint,5,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"`
	ConsumeUserResourcePercent int64              `` /* 144-byte string literal not displayed */
	Name                       string             `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	OriginEnergyLimit          int64              `protobuf:"varint,8,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"`
	CodeHash                   []byte             `protobuf:"bytes,9,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"`
	TrxHash                    []byte             `protobuf:"bytes,10,opt,name=trx_hash,json=trxHash,proto3" json:"trx_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*SmartContract) Descriptor deprecated

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

Deprecated: Use SmartContract.ProtoReflect.Descriptor instead.

func (*SmartContract) GetAbi

func (x *SmartContract) GetAbi() *SmartContract_ABI

func (*SmartContract) GetBytecode

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

func (*SmartContract) GetCallValue

func (x *SmartContract) GetCallValue() int64

func (*SmartContract) GetCodeHash

func (x *SmartContract) GetCodeHash() []byte

func (*SmartContract) GetConsumeUserResourcePercent

func (x *SmartContract) GetConsumeUserResourcePercent() int64

func (*SmartContract) GetContractAddress

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

func (*SmartContract) GetName

func (x *SmartContract) GetName() string

func (*SmartContract) GetOriginAddress

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

func (*SmartContract) GetOriginEnergyLimit

func (x *SmartContract) GetOriginEnergyLimit() int64

func (*SmartContract) GetTrxHash

func (x *SmartContract) GetTrxHash() []byte

func (*SmartContract) ProtoMessage

func (*SmartContract) ProtoMessage()

func (*SmartContract) ProtoReflect

func (x *SmartContract) ProtoReflect() protoreflect.Message

func (*SmartContract) Reset

func (x *SmartContract) Reset()

func (*SmartContract) String

func (x *SmartContract) String() string

type SmartContract_ABI

type SmartContract_ABI struct {
	Entrys []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty"`
	// contains filtered or unexported fields
}

func (*SmartContract_ABI) Descriptor deprecated

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

Deprecated: Use SmartContract_ABI.ProtoReflect.Descriptor instead.

func (*SmartContract_ABI) GetEntrys

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

func (*SmartContract_ABI) ProtoMessage

func (*SmartContract_ABI) ProtoMessage()

func (*SmartContract_ABI) ProtoReflect

func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message

func (*SmartContract_ABI) Reset

func (x *SmartContract_ABI) Reset()

func (*SmartContract_ABI) String

func (x *SmartContract_ABI) String() string

type SmartContract_ABI_Entry

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

func (*SmartContract_ABI_Entry) Descriptor deprecated

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

Deprecated: Use SmartContract_ABI_Entry.ProtoReflect.Descriptor instead.

func (*SmartContract_ABI_Entry) GetAnonymous

func (x *SmartContract_ABI_Entry) GetAnonymous() bool

func (*SmartContract_ABI_Entry) GetConstant

func (x *SmartContract_ABI_Entry) GetConstant() bool

func (*SmartContract_ABI_Entry) GetInputs

func (*SmartContract_ABI_Entry) GetName

func (x *SmartContract_ABI_Entry) GetName() string

func (*SmartContract_ABI_Entry) GetOutputs

func (*SmartContract_ABI_Entry) GetPayable

func (x *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) ProtoReflect

func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message

func (*SmartContract_ABI_Entry) Reset

func (x *SmartContract_ABI_Entry) Reset()

func (*SmartContract_ABI_Entry) String

func (x *SmartContract_ABI_Entry) String() string

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) Descriptor

func (SmartContract_ABI_Entry_EntryType) Enum

func (SmartContract_ABI_Entry_EntryType) EnumDescriptor deprecated

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

Deprecated: Use SmartContract_ABI_Entry_EntryType.Descriptor instead.

func (SmartContract_ABI_Entry_EntryType) Number

func (SmartContract_ABI_Entry_EntryType) String

func (SmartContract_ABI_Entry_EntryType) Type

type SmartContract_ABI_Entry_Param

type SmartContract_ABI_Entry_Param struct {
	Indexed bool   `protobuf:"varint,1,opt,name=indexed,proto3" json:"indexed,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type    string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // SolidityType type = 3;
	// contains filtered or unexported fields
}

func (*SmartContract_ABI_Entry_Param) Descriptor deprecated

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

Deprecated: Use SmartContract_ABI_Entry_Param.ProtoReflect.Descriptor instead.

func (*SmartContract_ABI_Entry_Param) GetIndexed

func (x *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) ProtoReflect

func (*SmartContract_ABI_Entry_Param) Reset

func (x *SmartContract_ABI_Entry_Param) Reset()

func (*SmartContract_ABI_Entry_Param) String

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) Descriptor

func (SmartContract_ABI_Entry_StateMutabilityType) Enum

func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor deprecated

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

Deprecated: Use SmartContract_ABI_Entry_StateMutabilityType.Descriptor instead.

func (SmartContract_ABI_Entry_StateMutabilityType) Number

func (SmartContract_ABI_Entry_StateMutabilityType) String

func (SmartContract_ABI_Entry_StateMutabilityType) Type

type SpendDescription

type SpendDescription struct {
	ValueCommitment         []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"`
	Anchor                  []byte `protobuf:"bytes,2,opt,name=anchor,proto3" json:"anchor,omitempty"`       // merkle root
	Nullifier               []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // used for check double spend
	Rk                      []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"`               // used for check spend authority signature
	Zkproof                 []byte `protobuf:"bytes,5,opt,name=zkproof,proto3" json:"zkproof,omitempty"`
	SpendAuthoritySignature []byte `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SpendDescription) Descriptor deprecated

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

Deprecated: Use SpendDescription.ProtoReflect.Descriptor instead.

func (*SpendDescription) GetAnchor

func (x *SpendDescription) GetAnchor() []byte

func (*SpendDescription) GetNullifier

func (x *SpendDescription) GetNullifier() []byte

func (*SpendDescription) GetRk

func (x *SpendDescription) GetRk() []byte

func (*SpendDescription) GetSpendAuthoritySignature

func (x *SpendDescription) GetSpendAuthoritySignature() []byte

func (*SpendDescription) GetValueCommitment

func (x *SpendDescription) GetValueCommitment() []byte

func (*SpendDescription) GetZkproof

func (x *SpendDescription) GetZkproof() []byte

func (*SpendDescription) ProtoMessage

func (*SpendDescription) ProtoMessage()

func (*SpendDescription) ProtoReflect

func (x *SpendDescription) ProtoReflect() protoreflect.Message

func (*SpendDescription) Reset

func (x *SpendDescription) Reset()

func (*SpendDescription) String

func (x *SpendDescription) String() string

type TXInput

type TXInput struct {
	RawData   *TXInputRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	Signature []byte      `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*TXInput) Descriptor deprecated

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

Deprecated: Use TXInput.ProtoReflect.Descriptor instead.

func (*TXInput) GetRawData

func (x *TXInput) GetRawData() *TXInputRaw

func (*TXInput) GetSignature

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

func (*TXInput) ProtoMessage

func (*TXInput) ProtoMessage()

func (*TXInput) ProtoReflect

func (x *TXInput) ProtoReflect() protoreflect.Message

func (*TXInput) Reset

func (x *TXInput) Reset()

func (*TXInput) String

func (x *TXInput) String() string

type TXInputRaw

type TXInputRaw struct {
	TxID   []byte `protobuf:"bytes,1,opt,name=txID,proto3" json:"txID,omitempty"`
	Vout   int64  `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"`
	PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	// contains filtered or unexported fields
}

func (*TXInputRaw) Descriptor deprecated

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

Deprecated: Use TXInputRaw.ProtoReflect.Descriptor instead.

func (*TXInputRaw) GetPubKey

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

func (*TXInputRaw) GetTxID

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

func (*TXInputRaw) GetVout

func (x *TXInputRaw) GetVout() int64

func (*TXInputRaw) ProtoMessage

func (*TXInputRaw) ProtoMessage()

func (*TXInputRaw) ProtoReflect

func (x *TXInputRaw) ProtoReflect() protoreflect.Message

func (*TXInputRaw) Reset

func (x *TXInputRaw) Reset()

func (*TXInputRaw) String

func (x *TXInputRaw) String() string

type TXOutput

type TXOutput struct {
	Value      int64  `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	PubKeyHash []byte `protobuf:"bytes,2,opt,name=pubKeyHash,proto3" json:"pubKeyHash,omitempty"`
	// contains filtered or unexported fields
}

func (*TXOutput) Descriptor deprecated

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

Deprecated: Use TXOutput.ProtoReflect.Descriptor instead.

func (*TXOutput) GetPubKeyHash

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

func (*TXOutput) GetValue

func (x *TXOutput) GetValue() int64

func (*TXOutput) ProtoMessage

func (*TXOutput) ProtoMessage()

func (*TXOutput) ProtoReflect

func (x *TXOutput) ProtoReflect() protoreflect.Message

func (*TXOutput) Reset

func (x *TXOutput) Reset()

func (*TXOutput) String

func (x *TXOutput) String() string

type TXOutputs

type TXOutputs struct {
	Outputs []*TXOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*TXOutputs) Descriptor deprecated

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

Deprecated: Use TXOutputs.ProtoReflect.Descriptor instead.

func (*TXOutputs) GetOutputs

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

func (*TXOutputs) ProtoMessage

func (*TXOutputs) ProtoMessage()

func (*TXOutputs) ProtoReflect

func (x *TXOutputs) ProtoReflect() protoreflect.Message

func (*TXOutputs) Reset

func (x *TXOutputs) Reset()

func (*TXOutputs) String

func (x *TXOutputs) String() string

type Transaction

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

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetRawData

func (x *Transaction) GetRawData() *TransactionRaw

func (*Transaction) GetRet

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

func (*Transaction) GetSignature

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

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

func (x *Transaction) ProtoReflect() protoreflect.Message

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TransactionInfo

type TransactionInfo struct {
	Id                            []byte                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Fee                           int64                  `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"`
	BlockNumber                   int64                  `protobuf:"varint,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	BlockTimeStamp                int64                  `protobuf:"varint,4,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"`
	ContractResult                [][]byte               `protobuf:"bytes,5,rep,name=contractResult,proto3" json:"contractResult,omitempty"`
	ContractAddress               []byte                 `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	Receipt                       *ResourceReceipt       `protobuf:"bytes,7,opt,name=receipt,proto3" json:"receipt,omitempty"`
	Log                           []*TransactionInfo_Log `protobuf:"bytes,8,rep,name=log,proto3" json:"log,omitempty"`
	Result                        TransactionInfoCode    `protobuf:"varint,9,opt,name=result,proto3,enum=protocol.TransactionInfoCode" json:"result,omitempty"`
	ResMessage                    []byte                 `protobuf:"bytes,10,opt,name=resMessage,proto3" json:"resMessage,omitempty"`
	AssetIssueID                  string                 `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"`
	WithdrawAmount                int64                  `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"`
	UnfreezeAmount                int64                  `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"`
	InternalTransactions          []*InternalTransaction `protobuf:"bytes,17,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"`
	ExchangeReceivedAmount        int64                  `` /* 131-byte string literal not displayed */
	ExchangeInjectAnotherAmount   int64                  `` /* 148-byte string literal not displayed */
	ExchangeWithdrawAnotherAmount int64                  `` /* 154-byte string literal not displayed */
	ExchangeId                    int64                  `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	ShieldedTransactionFee        int64                  `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TransactionInfo) Descriptor deprecated

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

Deprecated: Use TransactionInfo.ProtoReflect.Descriptor instead.

func (*TransactionInfo) GetAssetIssueID

func (x *TransactionInfo) GetAssetIssueID() string

func (*TransactionInfo) GetBlockNumber

func (x *TransactionInfo) GetBlockNumber() int64

func (*TransactionInfo) GetBlockTimeStamp

func (x *TransactionInfo) GetBlockTimeStamp() int64

func (*TransactionInfo) GetContractAddress

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

func (*TransactionInfo) GetContractResult

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

func (*TransactionInfo) GetExchangeId

func (x *TransactionInfo) GetExchangeId() int64

func (*TransactionInfo) GetExchangeInjectAnotherAmount

func (x *TransactionInfo) GetExchangeInjectAnotherAmount() int64

func (*TransactionInfo) GetExchangeReceivedAmount

func (x *TransactionInfo) GetExchangeReceivedAmount() int64

func (*TransactionInfo) GetExchangeWithdrawAnotherAmount

func (x *TransactionInfo) GetExchangeWithdrawAnotherAmount() int64

func (*TransactionInfo) GetFee

func (x *TransactionInfo) GetFee() int64

func (*TransactionInfo) GetId

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

func (*TransactionInfo) GetInternalTransactions

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

func (*TransactionInfo) GetLog

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

func (*TransactionInfo) GetReceipt

func (x *TransactionInfo) GetReceipt() *ResourceReceipt

func (*TransactionInfo) GetResMessage

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

func (*TransactionInfo) GetResult

func (x *TransactionInfo) GetResult() TransactionInfoCode

func (*TransactionInfo) GetShieldedTransactionFee

func (x *TransactionInfo) GetShieldedTransactionFee() int64

func (*TransactionInfo) GetUnfreezeAmount

func (x *TransactionInfo) GetUnfreezeAmount() int64

func (*TransactionInfo) GetWithdrawAmount

func (x *TransactionInfo) GetWithdrawAmount() int64

func (*TransactionInfo) ProtoMessage

func (*TransactionInfo) ProtoMessage()

func (*TransactionInfo) ProtoReflect

func (x *TransactionInfo) ProtoReflect() protoreflect.Message

func (*TransactionInfo) Reset

func (x *TransactionInfo) Reset()

func (*TransactionInfo) String

func (x *TransactionInfo) String() string

type TransactionInfoCode

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

func (TransactionInfoCode) Descriptor

func (TransactionInfoCode) Enum

func (TransactionInfoCode) EnumDescriptor deprecated

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

Deprecated: Use TransactionInfoCode.Descriptor instead.

func (TransactionInfoCode) Number

func (TransactionInfoCode) String

func (x TransactionInfoCode) String() string

func (TransactionInfoCode) Type

type TransactionInfo_Log

type TransactionInfo_Log struct {
	Address []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Topics  [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
	Data    []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionInfo_Log) Descriptor deprecated

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

Deprecated: Use TransactionInfo_Log.ProtoReflect.Descriptor instead.

func (*TransactionInfo_Log) GetAddress

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

func (*TransactionInfo_Log) GetData

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

func (*TransactionInfo_Log) GetTopics

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

func (*TransactionInfo_Log) ProtoMessage

func (*TransactionInfo_Log) ProtoMessage()

func (*TransactionInfo_Log) ProtoReflect

func (x *TransactionInfo_Log) ProtoReflect() protoreflect.Message

func (*TransactionInfo_Log) Reset

func (x *TransactionInfo_Log) Reset()

func (*TransactionInfo_Log) String

func (x *TransactionInfo_Log) String() string

type TransactionRaw

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

func (*TransactionRaw) Descriptor deprecated

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

Deprecated: Use TransactionRaw.ProtoReflect.Descriptor instead.

func (*TransactionRaw) GetAuths

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

func (*TransactionRaw) GetContract

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

func (*TransactionRaw) GetData

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

func (*TransactionRaw) GetExpiration

func (x *TransactionRaw) GetExpiration() int64

func (*TransactionRaw) GetFeeLimit

func (x *TransactionRaw) GetFeeLimit() int64

func (*TransactionRaw) GetRefBlockBytes

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

func (*TransactionRaw) GetRefBlockHash

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

func (*TransactionRaw) GetRefBlockNum

func (x *TransactionRaw) GetRefBlockNum() int64

func (*TransactionRaw) GetScripts

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

func (*TransactionRaw) GetTimestamp

func (x *TransactionRaw) GetTimestamp() int64

func (*TransactionRaw) ProtoMessage

func (*TransactionRaw) ProtoMessage()

func (*TransactionRaw) ProtoReflect

func (x *TransactionRaw) ProtoReflect() protoreflect.Message

func (*TransactionRaw) Reset

func (x *TransactionRaw) Reset()

func (*TransactionRaw) String

func (x *TransactionRaw) String() string

type TransactionRet

type TransactionRet struct {
	BlockNumber     int64              `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	BlockTimeStamp  int64              `protobuf:"varint,2,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"`
	Transactioninfo []*TransactionInfo `protobuf:"bytes,3,rep,name=transactioninfo,proto3" json:"transactioninfo,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionRet) Descriptor deprecated

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

Deprecated: Use TransactionRet.ProtoReflect.Descriptor instead.

func (*TransactionRet) GetBlockNumber

func (x *TransactionRet) GetBlockNumber() int64

func (*TransactionRet) GetBlockTimeStamp

func (x *TransactionRet) GetBlockTimeStamp() int64

func (*TransactionRet) GetTransactioninfo

func (x *TransactionRet) GetTransactioninfo() []*TransactionInfo

func (*TransactionRet) ProtoMessage

func (*TransactionRet) ProtoMessage()

func (*TransactionRet) ProtoReflect

func (x *TransactionRet) ProtoReflect() protoreflect.Message

func (*TransactionRet) Reset

func (x *TransactionRet) Reset()

func (*TransactionRet) String

func (x *TransactionRet) String() string

type TransactionSign

type TransactionSign struct {
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	PrivateKey  []byte       `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionSign) Descriptor deprecated

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

Deprecated: Use TransactionSign.ProtoReflect.Descriptor instead.

func (*TransactionSign) GetPrivateKey

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

func (*TransactionSign) GetTransaction

func (x *TransactionSign) GetTransaction() *Transaction

func (*TransactionSign) ProtoMessage

func (*TransactionSign) ProtoMessage()

func (*TransactionSign) ProtoReflect

func (x *TransactionSign) ProtoReflect() protoreflect.Message

func (*TransactionSign) Reset

func (x *TransactionSign) Reset()

func (*TransactionSign) String

func (x *TransactionSign) String() string

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"`
	Parameter    *any.Any                          `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"`
	Provider     []byte                            `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	ContractName []byte                            `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty"`
	PermissionId int32                             `protobuf:"varint,5,opt,name=Permission_id,json=PermissionId,proto3" json:"Permission_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_Contract) Descriptor deprecated

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

Deprecated: Use Transaction_Contract.ProtoReflect.Descriptor instead.

func (*Transaction_Contract) GetContractName

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

func (*Transaction_Contract) GetParameter

func (x *Transaction_Contract) GetParameter() *any.Any

func (*Transaction_Contract) GetPermissionId

func (x *Transaction_Contract) GetPermissionId() int32

func (*Transaction_Contract) GetProvider

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

func (*Transaction_Contract) GetType

func (*Transaction_Contract) ProtoMessage

func (*Transaction_Contract) ProtoMessage()

func (*Transaction_Contract) ProtoReflect

func (x *Transaction_Contract) ProtoReflect() protoreflect.Message

func (*Transaction_Contract) Reset

func (x *Transaction_Contract) Reset()

func (*Transaction_Contract) String

func (x *Transaction_Contract) String() string

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
	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
	Transaction_Contract_AccountPermissionUpdateContract Transaction_Contract_ContractType = 46
	Transaction_Contract_ClearABIContract                Transaction_Contract_ContractType = 48
	Transaction_Contract_UpdateBrokerageContract         Transaction_Contract_ContractType = 49
	Transaction_Contract_ShieldedTransferContract        Transaction_Contract_ContractType = 51
)

func (Transaction_Contract_ContractType) Descriptor

func (Transaction_Contract_ContractType) Enum

func (Transaction_Contract_ContractType) EnumDescriptor deprecated

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

Deprecated: Use Transaction_Contract_ContractType.Descriptor instead.

func (Transaction_Contract_ContractType) Number

func (Transaction_Contract_ContractType) String

func (Transaction_Contract_ContractType) Type

type Transaction_Result

type Transaction_Result struct {
	Fee                           int64                            `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"`
	Ret                           Transaction_ResultCode           `protobuf:"varint,2,opt,name=ret,proto3,enum=protocol.Transaction_ResultCode" json:"ret,omitempty"`
	ContractRet                   Transaction_ResultContractResult `protobuf:"varint,3,opt,name=contractRet,proto3,enum=protocol.Transaction_ResultContractResult" json:"contractRet,omitempty"`
	AssetIssueID                  string                           `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"`
	WithdrawAmount                int64                            `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"`
	UnfreezeAmount                int64                            `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"`
	ExchangeReceivedAmount        int64                            `` /* 131-byte string literal not displayed */
	ExchangeInjectAnotherAmount   int64                            `` /* 148-byte string literal not displayed */
	ExchangeWithdrawAnotherAmount int64                            `` /* 154-byte string literal not displayed */
	ExchangeId                    int64                            `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	ShieldedTransactionFee        int64                            `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Transaction_Result) Descriptor deprecated

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

Deprecated: Use Transaction_Result.ProtoReflect.Descriptor instead.

func (*Transaction_Result) GetAssetIssueID

func (x *Transaction_Result) GetAssetIssueID() string

func (*Transaction_Result) GetContractRet

func (*Transaction_Result) GetExchangeId

func (x *Transaction_Result) GetExchangeId() int64

func (*Transaction_Result) GetExchangeInjectAnotherAmount

func (x *Transaction_Result) GetExchangeInjectAnotherAmount() int64

func (*Transaction_Result) GetExchangeReceivedAmount

func (x *Transaction_Result) GetExchangeReceivedAmount() int64

func (*Transaction_Result) GetExchangeWithdrawAnotherAmount

func (x *Transaction_Result) GetExchangeWithdrawAnotherAmount() int64

func (*Transaction_Result) GetFee

func (x *Transaction_Result) GetFee() int64

func (*Transaction_Result) GetRet

func (*Transaction_Result) GetShieldedTransactionFee

func (x *Transaction_Result) GetShieldedTransactionFee() int64

func (*Transaction_Result) GetUnfreezeAmount

func (x *Transaction_Result) GetUnfreezeAmount() int64

func (*Transaction_Result) GetWithdrawAmount

func (x *Transaction_Result) GetWithdrawAmount() int64

func (*Transaction_Result) ProtoMessage

func (*Transaction_Result) ProtoMessage()

func (*Transaction_Result) ProtoReflect

func (x *Transaction_Result) ProtoReflect() protoreflect.Message

func (*Transaction_Result) Reset

func (x *Transaction_Result) Reset()

func (*Transaction_Result) String

func (x *Transaction_Result) String() string

type Transaction_ResultCode

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

func (Transaction_ResultCode) Descriptor

func (Transaction_ResultCode) Enum

func (Transaction_ResultCode) EnumDescriptor deprecated

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

Deprecated: Use Transaction_ResultCode.Descriptor instead.

func (Transaction_ResultCode) Number

func (Transaction_ResultCode) String

func (x Transaction_ResultCode) String() string

func (Transaction_ResultCode) Type

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
	Transaction_Result_TRANSFER_FAILED      Transaction_ResultContractResult = 14
)

func (Transaction_ResultContractResult) Descriptor

func (Transaction_ResultContractResult) Enum

func (Transaction_ResultContractResult) EnumDescriptor deprecated

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

Deprecated: Use Transaction_ResultContractResult.Descriptor instead.

func (Transaction_ResultContractResult) Number

func (Transaction_ResultContractResult) String

func (Transaction_ResultContractResult) Type

type Transactions

type Transactions struct {
	Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*Transactions) Descriptor deprecated

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

Deprecated: Use Transactions.ProtoReflect.Descriptor instead.

func (*Transactions) GetTransactions

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

func (*Transactions) ProtoMessage

func (*Transactions) ProtoMessage()

func (*Transactions) ProtoReflect

func (x *Transactions) ProtoReflect() protoreflect.Message

func (*Transactions) Reset

func (x *Transactions) Reset()

func (*Transactions) String

func (x *Transactions) String() string

type TransferAssetContract

type TransferAssetContract struct {
	AssetName    []byte `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format.
	OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ToAddress    []byte `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amount       int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferAssetContract) Descriptor deprecated

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

Deprecated: Use TransferAssetContract.ProtoReflect.Descriptor instead.

func (*TransferAssetContract) GetAmount

func (x *TransferAssetContract) GetAmount() int64

func (*TransferAssetContract) GetAssetName

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

func (*TransferAssetContract) GetOwnerAddress

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

func (*TransferAssetContract) GetToAddress

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

func (*TransferAssetContract) ProtoMessage

func (*TransferAssetContract) ProtoMessage()

func (*TransferAssetContract) ProtoReflect

func (x *TransferAssetContract) ProtoReflect() protoreflect.Message

func (*TransferAssetContract) Reset

func (x *TransferAssetContract) Reset()

func (*TransferAssetContract) String

func (x *TransferAssetContract) String() string

type TransferContract

type TransferContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ToAddress    []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amount       int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferContract) Descriptor deprecated

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

Deprecated: Use TransferContract.ProtoReflect.Descriptor instead.

func (*TransferContract) GetAmount

func (x *TransferContract) GetAmount() int64

func (*TransferContract) GetOwnerAddress

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

func (*TransferContract) GetToAddress

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

func (*TransferContract) ProtoMessage

func (*TransferContract) ProtoMessage()

func (*TransferContract) ProtoReflect

func (x *TransferContract) ProtoReflect() protoreflect.Message

func (*TransferContract) Reset

func (x *TransferContract) Reset()

func (*TransferContract) String

func (x *TransferContract) String() string

type TriggerSmartContract

type TriggerSmartContract struct {
	OwnerAddress    []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	CallValue       int64  `protobuf:"varint,3,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"`
	Data            []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	CallTokenValue  int64  `protobuf:"varint,5,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"`
	TokenId         int64  `protobuf:"varint,6,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerSmartContract) Descriptor deprecated

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

Deprecated: Use TriggerSmartContract.ProtoReflect.Descriptor instead.

func (*TriggerSmartContract) GetCallTokenValue

func (x *TriggerSmartContract) GetCallTokenValue() int64

func (*TriggerSmartContract) GetCallValue

func (x *TriggerSmartContract) GetCallValue() int64

func (*TriggerSmartContract) GetContractAddress

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

func (*TriggerSmartContract) GetData

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

func (*TriggerSmartContract) GetOwnerAddress

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

func (*TriggerSmartContract) GetTokenId

func (x *TriggerSmartContract) GetTokenId() int64

func (*TriggerSmartContract) ProtoMessage

func (*TriggerSmartContract) ProtoMessage()

func (*TriggerSmartContract) ProtoReflect

func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message

func (*TriggerSmartContract) Reset

func (x *TriggerSmartContract) Reset()

func (*TriggerSmartContract) String

func (x *TriggerSmartContract) String() string

type UnfreezeAssetContract

type UnfreezeAssetContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

func (*UnfreezeAssetContract) Descriptor deprecated

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

Deprecated: Use UnfreezeAssetContract.ProtoReflect.Descriptor instead.

func (*UnfreezeAssetContract) GetOwnerAddress

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

func (*UnfreezeAssetContract) ProtoMessage

func (*UnfreezeAssetContract) ProtoMessage()

func (*UnfreezeAssetContract) ProtoReflect

func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message

func (*UnfreezeAssetContract) Reset

func (x *UnfreezeAssetContract) Reset()

func (*UnfreezeAssetContract) String

func (x *UnfreezeAssetContract) String() string

type UnfreezeBalanceContract

type UnfreezeBalanceContract struct {
	OwnerAddress    []byte       `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Resource        ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"`
	ReceiverAddress []byte       `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	// contains filtered or unexported fields
}

func (*UnfreezeBalanceContract) Descriptor deprecated

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

Deprecated: Use UnfreezeBalanceContract.ProtoReflect.Descriptor instead.

func (*UnfreezeBalanceContract) GetOwnerAddress

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

func (*UnfreezeBalanceContract) GetReceiverAddress

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

func (*UnfreezeBalanceContract) GetResource

func (x *UnfreezeBalanceContract) GetResource() ResourceCode

func (*UnfreezeBalanceContract) ProtoMessage

func (*UnfreezeBalanceContract) ProtoMessage()

func (*UnfreezeBalanceContract) ProtoReflect

func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message

func (*UnfreezeBalanceContract) Reset

func (x *UnfreezeBalanceContract) Reset()

func (*UnfreezeBalanceContract) String

func (x *UnfreezeBalanceContract) String() string

type UpdateAssetContract

type UpdateAssetContract struct {
	OwnerAddress   []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Description    []byte `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Url            []byte `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	NewLimit       int64  `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty"`
	NewPublicLimit int64  `protobuf:"varint,5,opt,name=new_public_limit,json=newPublicLimit,proto3" json:"new_public_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAssetContract) Descriptor deprecated

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

Deprecated: Use UpdateAssetContract.ProtoReflect.Descriptor instead.

func (*UpdateAssetContract) GetDescription

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

func (*UpdateAssetContract) GetNewLimit

func (x *UpdateAssetContract) GetNewLimit() int64

func (*UpdateAssetContract) GetNewPublicLimit

func (x *UpdateAssetContract) GetNewPublicLimit() int64

func (*UpdateAssetContract) GetOwnerAddress

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

func (*UpdateAssetContract) GetUrl

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

func (*UpdateAssetContract) ProtoMessage

func (*UpdateAssetContract) ProtoMessage()

func (*UpdateAssetContract) ProtoReflect

func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message

func (*UpdateAssetContract) Reset

func (x *UpdateAssetContract) Reset()

func (*UpdateAssetContract) String

func (x *UpdateAssetContract) String() string

type UpdateBrokerageContract

type UpdateBrokerageContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Brokerage    int32  `protobuf:"varint,2,opt,name=brokerage,proto3" json:"brokerage,omitempty"` // 1 mean 1%
	// contains filtered or unexported fields
}

func (*UpdateBrokerageContract) Descriptor deprecated

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

Deprecated: Use UpdateBrokerageContract.ProtoReflect.Descriptor instead.

func (*UpdateBrokerageContract) GetBrokerage

func (x *UpdateBrokerageContract) GetBrokerage() int32

func (*UpdateBrokerageContract) GetOwnerAddress

func (x *UpdateBrokerageContract) GetOwnerAddress() []byte

func (*UpdateBrokerageContract) ProtoMessage

func (*UpdateBrokerageContract) ProtoMessage()

func (*UpdateBrokerageContract) ProtoReflect

func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message

func (*UpdateBrokerageContract) Reset

func (x *UpdateBrokerageContract) Reset()

func (*UpdateBrokerageContract) String

func (x *UpdateBrokerageContract) String() string

type UpdateEnergyLimitContract

type UpdateEnergyLimitContract struct {
	OwnerAddress      []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ContractAddress   []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	OriginEnergyLimit int64  `protobuf:"varint,3,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEnergyLimitContract) Descriptor deprecated

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

Deprecated: Use UpdateEnergyLimitContract.ProtoReflect.Descriptor instead.

func (*UpdateEnergyLimitContract) GetContractAddress

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

func (*UpdateEnergyLimitContract) GetOriginEnergyLimit

func (x *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64

func (*UpdateEnergyLimitContract) GetOwnerAddress

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

func (*UpdateEnergyLimitContract) ProtoMessage

func (*UpdateEnergyLimitContract) ProtoMessage()

func (*UpdateEnergyLimitContract) ProtoReflect

func (*UpdateEnergyLimitContract) Reset

func (x *UpdateEnergyLimitContract) Reset()

func (*UpdateEnergyLimitContract) String

func (x *UpdateEnergyLimitContract) String() string

type UpdateSettingContract

type UpdateSettingContract struct {
	OwnerAddress               []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ContractAddress            []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	ConsumeUserResourcePercent int64  `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateSettingContract) Descriptor deprecated

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

Deprecated: Use UpdateSettingContract.ProtoReflect.Descriptor instead.

func (*UpdateSettingContract) GetConsumeUserResourcePercent

func (x *UpdateSettingContract) GetConsumeUserResourcePercent() int64

func (*UpdateSettingContract) GetContractAddress

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

func (*UpdateSettingContract) GetOwnerAddress

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

func (*UpdateSettingContract) ProtoMessage

func (*UpdateSettingContract) ProtoMessage()

func (*UpdateSettingContract) ProtoReflect

func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message

func (*UpdateSettingContract) Reset

func (x *UpdateSettingContract) Reset()

func (*UpdateSettingContract) String

func (x *UpdateSettingContract) String() string

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"`
	// the vote num to this super rep.
	VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"`
	// contains filtered or unexported fields
}

vote message

func (*Vote) Descriptor deprecated

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

Deprecated: Use Vote.ProtoReflect.Descriptor instead.

func (*Vote) GetVoteAddress

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

func (*Vote) GetVoteCount

func (x *Vote) GetVoteCount() int64

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) ProtoReflect

func (x *Vote) ProtoReflect() protoreflect.Message

func (*Vote) Reset

func (x *Vote) Reset()

func (*Vote) String

func (x *Vote) String() string

type VoteAssetContract

type VoteAssetContract struct {
	OwnerAddress []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	VoteAddress  [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"`
	Support      bool     `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"`
	Count        int32    `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*VoteAssetContract) Descriptor deprecated

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

Deprecated: Use VoteAssetContract.ProtoReflect.Descriptor instead.

func (*VoteAssetContract) GetCount

func (x *VoteAssetContract) GetCount() int32

func (*VoteAssetContract) GetOwnerAddress

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

func (*VoteAssetContract) GetSupport

func (x *VoteAssetContract) GetSupport() bool

func (*VoteAssetContract) GetVoteAddress

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

func (*VoteAssetContract) ProtoMessage

func (*VoteAssetContract) ProtoMessage()

func (*VoteAssetContract) ProtoReflect

func (x *VoteAssetContract) ProtoReflect() protoreflect.Message

func (*VoteAssetContract) Reset

func (x *VoteAssetContract) Reset()

func (*VoteAssetContract) String

func (x *VoteAssetContract) String() string

type VoteWitnessContract

type VoteWitnessContract struct {
	OwnerAddress []byte                      `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Votes        []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"`
	Support      bool                        `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"`
	// contains filtered or unexported fields
}

func (*VoteWitnessContract) Descriptor deprecated

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

Deprecated: Use VoteWitnessContract.ProtoReflect.Descriptor instead.

func (*VoteWitnessContract) GetOwnerAddress

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

func (*VoteWitnessContract) GetSupport

func (x *VoteWitnessContract) GetSupport() bool

func (*VoteWitnessContract) GetVotes

func (*VoteWitnessContract) ProtoMessage

func (*VoteWitnessContract) ProtoMessage()

func (*VoteWitnessContract) ProtoReflect

func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message

func (*VoteWitnessContract) Reset

func (x *VoteWitnessContract) Reset()

func (*VoteWitnessContract) String

func (x *VoteWitnessContract) String() string

type VoteWitnessContract_Vote

type VoteWitnessContract_Vote struct {
	VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"`
	VoteCount   int64  `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"`
	// contains filtered or unexported fields
}

func (*VoteWitnessContract_Vote) Descriptor deprecated

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

Deprecated: Use VoteWitnessContract_Vote.ProtoReflect.Descriptor instead.

func (*VoteWitnessContract_Vote) GetVoteAddress

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

func (*VoteWitnessContract_Vote) GetVoteCount

func (x *VoteWitnessContract_Vote) GetVoteCount() int64

func (*VoteWitnessContract_Vote) ProtoMessage

func (*VoteWitnessContract_Vote) ProtoMessage()

func (*VoteWitnessContract_Vote) ProtoReflect

func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message

func (*VoteWitnessContract_Vote) Reset

func (x *VoteWitnessContract_Vote) Reset()

func (*VoteWitnessContract_Vote) String

func (x *VoteWitnessContract_Vote) String() string

type Votes

type Votes struct {
	Address  []byte  `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	OldVotes []*Vote `protobuf:"bytes,2,rep,name=old_votes,json=oldVotes,proto3" json:"old_votes,omitempty"`
	NewVotes []*Vote `protobuf:"bytes,3,rep,name=new_votes,json=newVotes,proto3" json:"new_votes,omitempty"`
	// contains filtered or unexported fields
}

Vote Change

func (*Votes) Descriptor deprecated

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

Deprecated: Use Votes.ProtoReflect.Descriptor instead.

func (*Votes) GetAddress

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

func (*Votes) GetNewVotes

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

func (*Votes) GetOldVotes

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

func (*Votes) ProtoMessage

func (*Votes) ProtoMessage()

func (*Votes) ProtoReflect

func (x *Votes) ProtoReflect() protoreflect.Message

func (*Votes) Reset

func (x *Votes) Reset()

func (*Votes) String

func (x *Votes) String() string

type WithdrawBalanceContract

type WithdrawBalanceContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawBalanceContract) Descriptor deprecated

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

Deprecated: Use WithdrawBalanceContract.ProtoReflect.Descriptor instead.

func (*WithdrawBalanceContract) GetOwnerAddress

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

func (*WithdrawBalanceContract) ProtoMessage

func (*WithdrawBalanceContract) ProtoMessage()

func (*WithdrawBalanceContract) ProtoReflect

func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message

func (*WithdrawBalanceContract) Reset

func (x *WithdrawBalanceContract) Reset()

func (*WithdrawBalanceContract) String

func (x *WithdrawBalanceContract) String() string

type Witness

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

Witness

func (*Witness) Descriptor deprecated

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

Deprecated: Use Witness.ProtoReflect.Descriptor instead.

func (*Witness) GetAddress

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

func (*Witness) GetIsJobs

func (x *Witness) GetIsJobs() bool

func (*Witness) GetLatestBlockNum

func (x *Witness) GetLatestBlockNum() int64

func (*Witness) GetLatestSlotNum

func (x *Witness) GetLatestSlotNum() int64

func (*Witness) GetPubKey

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

func (*Witness) GetTotalMissed

func (x *Witness) GetTotalMissed() int64

func (*Witness) GetTotalProduced

func (x *Witness) GetTotalProduced() int64

func (*Witness) GetUrl

func (x *Witness) GetUrl() string

func (*Witness) GetVoteCount

func (x *Witness) GetVoteCount() int64

func (*Witness) ProtoMessage

func (*Witness) ProtoMessage()

func (*Witness) ProtoReflect

func (x *Witness) ProtoReflect() protoreflect.Message

func (*Witness) Reset

func (x *Witness) Reset()

func (*Witness) String

func (x *Witness) String() string

type WitnessCreateContract

type WitnessCreateContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Url          []byte `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*WitnessCreateContract) Descriptor deprecated

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

Deprecated: Use WitnessCreateContract.ProtoReflect.Descriptor instead.

func (*WitnessCreateContract) GetOwnerAddress

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

func (*WitnessCreateContract) GetUrl

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

func (*WitnessCreateContract) ProtoMessage

func (*WitnessCreateContract) ProtoMessage()

func (*WitnessCreateContract) ProtoReflect

func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message

func (*WitnessCreateContract) Reset

func (x *WitnessCreateContract) Reset()

func (*WitnessCreateContract) String

func (x *WitnessCreateContract) String() string

type WitnessUpdateContract

type WitnessUpdateContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	UpdateUrl    []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"`
	// contains filtered or unexported fields
}

func (*WitnessUpdateContract) Descriptor deprecated

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

Deprecated: Use WitnessUpdateContract.ProtoReflect.Descriptor instead.

func (*WitnessUpdateContract) GetOwnerAddress

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

func (*WitnessUpdateContract) GetUpdateUrl

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

func (*WitnessUpdateContract) ProtoMessage

func (*WitnessUpdateContract) ProtoMessage()

func (*WitnessUpdateContract) ProtoReflect

func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message

func (*WitnessUpdateContract) Reset

func (x *WitnessUpdateContract) Reset()

func (*WitnessUpdateContract) String

func (x *WitnessUpdateContract) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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