Documentation ¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccountId() []byte
- func (x *Account) GetAccountName() []byte
- func (x *Account) GetAccountResource() *Account_AccountResource
- func (x *Account) GetAcquiredDelegatedFrozenBalanceForBandwidth() int64
- func (x *Account) GetAcquiredDelegatedFrozenV2BalanceForBandwidth() int64
- func (x *Account) GetActivePermission() []*Permission
- func (x *Account) GetAddress() []byte
- func (x *Account) GetAllowance() int64
- func (x *Account) GetAsset() map[string]int64
- func (x *Account) GetAssetIssuedName() []byte
- func (x *Account) GetAssetIssued_ID() []byte
- func (x *Account) GetAssetOptimized() bool
- func (x *Account) GetAssetV2() map[string]int64
- func (x *Account) GetBalance() int64
- func (x *Account) GetCode() []byte
- func (x *Account) GetCodeHash() []byte
- func (x *Account) GetCreateTime() int64
- func (x *Account) GetDelegatedFrozenBalanceForBandwidth() int64
- func (x *Account) GetDelegatedFrozenV2BalanceForBandwidth() int64
- func (x *Account) GetFreeAssetNetUsage() map[string]int64
- func (x *Account) GetFreeAssetNetUsageV2() map[string]int64
- func (x *Account) GetFreeNetUsage() int64
- func (x *Account) GetFrozen() []*Account_Frozen
- func (x *Account) GetFrozenSupply() []*Account_Frozen
- func (x *Account) GetFrozenV2() []*Account_FreezeV2
- func (x *Account) GetIsCommittee() bool
- func (x *Account) GetIsWitness() bool
- func (x *Account) GetLatestAssetOperationTime() map[string]int64
- func (x *Account) GetLatestAssetOperationTimeV2() map[string]int64
- func (x *Account) GetLatestConsumeFreeTime() int64
- func (x *Account) GetLatestConsumeTime() int64
- func (x *Account) GetLatestOprationTime() int64
- func (x *Account) GetLatestWithdrawTime() int64
- func (x *Account) GetNetUsage() int64
- func (x *Account) GetNetWindowSize() int64
- func (x *Account) GetOldTronPower() int64
- func (x *Account) GetOwnerPermission() *Permission
- func (x *Account) GetTronPower() *Account_Frozen
- func (x *Account) GetType() AccountType
- func (x *Account) GetUnfrozenV2() []*Account_UnFreezeV2
- func (x *Account) GetVotes() []*Vote
- func (x *Account) GetWitnessPermission() *Permission
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountBalanceRequest
- func (*AccountBalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountBalanceRequest) GetAccountIdentifier() *AccountIdentifier
- func (x *AccountBalanceRequest) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier
- func (*AccountBalanceRequest) ProtoMessage()
- func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message
- func (x *AccountBalanceRequest) Reset()
- func (x *AccountBalanceRequest) String() string
- type AccountBalanceResponse
- func (*AccountBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountBalanceResponse) GetBalance() int64
- func (x *AccountBalanceResponse) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier
- func (*AccountBalanceResponse) ProtoMessage()
- func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *AccountBalanceResponse) Reset()
- func (x *AccountBalanceResponse) String() string
- type AccountCreateContract
- func (*AccountCreateContract) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCreateContract) GetAccountAddress() []byte
- func (x *AccountCreateContract) GetOwnerAddress() []byte
- func (x *AccountCreateContract) GetType() AccountType
- func (*AccountCreateContract) ProtoMessage()
- func (x *AccountCreateContract) ProtoReflect() protoreflect.Message
- func (x *AccountCreateContract) Reset()
- func (x *AccountCreateContract) String() string
- type AccountId
- type AccountIdentifier
- type AccountPermissionUpdateContract
- func (*AccountPermissionUpdateContract) Descriptor() ([]byte, []int)deprecated
- func (x *AccountPermissionUpdateContract) GetActives() []*Permission
- func (x *AccountPermissionUpdateContract) GetOwner() *Permission
- func (x *AccountPermissionUpdateContract) GetOwnerAddress() []byte
- func (x *AccountPermissionUpdateContract) GetWitness() *Permission
- func (*AccountPermissionUpdateContract) ProtoMessage()
- func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message
- func (x *AccountPermissionUpdateContract) Reset()
- func (x *AccountPermissionUpdateContract) String() string
- type AccountTrace
- func (*AccountTrace) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTrace) GetBalance() int64
- func (x *AccountTrace) GetPlaceholder() int64
- func (*AccountTrace) ProtoMessage()
- func (x *AccountTrace) ProtoReflect() protoreflect.Message
- func (x *AccountTrace) Reset()
- func (x *AccountTrace) String() string
- type AccountType
- func (AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountType) Enum() *AccountType
- func (AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountType) Number() protoreflect.EnumNumber
- func (x AccountType) String() string
- func (AccountType) Type() protoreflect.EnumType
- type AccountUpdateContract
- func (*AccountUpdateContract) Descriptor() ([]byte, []int)deprecated
- func (x *AccountUpdateContract) GetAccountName() []byte
- func (x *AccountUpdateContract) GetOwnerAddress() []byte
- func (*AccountUpdateContract) ProtoMessage()
- func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message
- func (x *AccountUpdateContract) Reset()
- func (x *AccountUpdateContract) String() string
- type Account_AccountResource
- func (*Account_AccountResource) Descriptor() ([]byte, []int)deprecated
- func (x *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64
- func (x *Account_AccountResource) GetAcquiredDelegatedFrozenV2BalanceForEnergy() int64
- func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64
- func (x *Account_AccountResource) GetDelegatedFrozenV2BalanceForEnergy() int64
- func (x *Account_AccountResource) GetEnergyUsage() int64
- func (x *Account_AccountResource) GetEnergyWindowSize() int64
- func (x *Account_AccountResource) GetFrozenBalanceForEnergy() *Account_Frozen
- func (x *Account_AccountResource) GetLatestConsumeTimeForEnergy() int64
- func (x *Account_AccountResource) GetLatestExchangeStorageTime() int64
- func (x *Account_AccountResource) GetStorageLimit() int64
- func (x *Account_AccountResource) GetStorageUsage() int64
- func (*Account_AccountResource) ProtoMessage()
- func (x *Account_AccountResource) ProtoReflect() protoreflect.Message
- func (x *Account_AccountResource) Reset()
- func (x *Account_AccountResource) String() string
- type Account_FreezeV2
- func (*Account_FreezeV2) Descriptor() ([]byte, []int)deprecated
- func (x *Account_FreezeV2) GetAmount() int64
- func (x *Account_FreezeV2) GetType() ResourceCode
- func (*Account_FreezeV2) ProtoMessage()
- func (x *Account_FreezeV2) ProtoReflect() protoreflect.Message
- func (x *Account_FreezeV2) Reset()
- func (x *Account_FreezeV2) String() string
- type Account_Frozen
- func (*Account_Frozen) Descriptor() ([]byte, []int)deprecated
- func (x *Account_Frozen) GetExpireTime() int64
- func (x *Account_Frozen) GetFrozenBalance() int64
- func (*Account_Frozen) ProtoMessage()
- func (x *Account_Frozen) ProtoReflect() protoreflect.Message
- func (x *Account_Frozen) Reset()
- func (x *Account_Frozen) String() string
- type Account_UnFreezeV2
- func (*Account_UnFreezeV2) Descriptor() ([]byte, []int)deprecated
- func (x *Account_UnFreezeV2) GetType() ResourceCode
- func (x *Account_UnFreezeV2) GetUnfreezeAmount() int64
- func (x *Account_UnFreezeV2) GetUnfreezeExpireTime() int64
- func (*Account_UnFreezeV2) ProtoMessage()
- func (x *Account_UnFreezeV2) ProtoReflect() protoreflect.Message
- func (x *Account_UnFreezeV2) Reset()
- func (x *Account_UnFreezeV2) String() string
- type AssetIssueContract
- func (*AssetIssueContract) Descriptor() ([]byte, []int)deprecated
- func (x *AssetIssueContract) GetAbbr() []byte
- func (x *AssetIssueContract) GetDescription() []byte
- func (x *AssetIssueContract) GetEndTime() int64
- func (x *AssetIssueContract) GetFreeAssetNetLimit() int64
- func (x *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply
- func (x *AssetIssueContract) GetId() string
- func (x *AssetIssueContract) GetName() []byte
- func (x *AssetIssueContract) GetNum() int32
- func (x *AssetIssueContract) GetOrder() int64
- func (x *AssetIssueContract) GetOwnerAddress() []byte
- func (x *AssetIssueContract) GetPrecision() int32
- func (x *AssetIssueContract) GetPublicFreeAssetNetLimit() int64
- func (x *AssetIssueContract) GetPublicFreeAssetNetUsage() int64
- func (x *AssetIssueContract) GetPublicLatestFreeNetTime() int64
- func (x *AssetIssueContract) GetStartTime() int64
- func (x *AssetIssueContract) GetTotalSupply() int64
- func (x *AssetIssueContract) GetTrxNum() int32
- func (x *AssetIssueContract) GetUrl() []byte
- func (x *AssetIssueContract) GetVoteScore() int32
- func (*AssetIssueContract) ProtoMessage()
- func (x *AssetIssueContract) ProtoReflect() protoreflect.Message
- func (x *AssetIssueContract) Reset()
- func (x *AssetIssueContract) String() string
- type AssetIssueContract_FrozenSupply
- func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int)deprecated
- func (x *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64
- func (x *AssetIssueContract_FrozenSupply) GetFrozenDays() int64
- func (*AssetIssueContract_FrozenSupply) ProtoMessage()
- func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message
- func (x *AssetIssueContract_FrozenSupply) Reset()
- func (x *AssetIssueContract_FrozenSupply) String() string
- type AuthenticationPath
- func (*AuthenticationPath) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticationPath) GetValue() []bool
- func (*AuthenticationPath) ProtoMessage()
- func (x *AuthenticationPath) ProtoReflect() protoreflect.Message
- func (x *AuthenticationPath) Reset()
- func (x *AuthenticationPath) String() string
- type Authority
- func (*Authority) Descriptor() ([]byte, []int)deprecated
- func (x *Authority) GetAccount() *AccountId
- func (x *Authority) GetPermissionName() []byte
- func (*Authority) ProtoMessage()
- func (x *Authority) ProtoReflect() protoreflect.Message
- func (x *Authority) Reset()
- func (x *Authority) String() string
- type BackupMessage
- func (*BackupMessage) Descriptor() ([]byte, []int)deprecated
- func (x *BackupMessage) GetFlag() bool
- func (x *BackupMessage) GetPriority() int32
- func (*BackupMessage) ProtoMessage()
- func (x *BackupMessage) ProtoReflect() protoreflect.Message
- func (x *BackupMessage) Reset()
- func (x *BackupMessage) String() string
- type Block
- type BlockBalanceTrace
- func (*BlockBalanceTrace) Descriptor() ([]byte, []int)deprecated
- func (x *BlockBalanceTrace) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier
- func (x *BlockBalanceTrace) GetTimestamp() int64
- func (x *BlockBalanceTrace) GetTransactionBalanceTrace() []*TransactionBalanceTrace
- func (*BlockBalanceTrace) ProtoMessage()
- func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message
- func (x *BlockBalanceTrace) Reset()
- func (x *BlockBalanceTrace) String() string
- type BlockBalanceTrace_BlockIdentifier
- func (*BlockBalanceTrace_BlockIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *BlockBalanceTrace_BlockIdentifier) GetHash() []byte
- func (x *BlockBalanceTrace_BlockIdentifier) GetNumber() int64
- func (*BlockBalanceTrace_BlockIdentifier) ProtoMessage()
- func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message
- func (x *BlockBalanceTrace_BlockIdentifier) Reset()
- func (x *BlockBalanceTrace_BlockIdentifier) String() string
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeader) GetRawData() *BlockHeaderRaw
- func (x *BlockHeader) GetWitnessSignature() []byte
- func (*BlockHeader) ProtoMessage()
- func (x *BlockHeader) ProtoReflect() protoreflect.Message
- func (x *BlockHeader) Reset()
- func (x *BlockHeader) String() string
- type BlockHeaderRaw
- func (*BlockHeaderRaw) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeaderRaw) GetAccountStateRoot() []byte
- func (x *BlockHeaderRaw) GetNumber() int64
- func (x *BlockHeaderRaw) GetParentHash() []byte
- func (x *BlockHeaderRaw) GetTimestamp() int64
- func (x *BlockHeaderRaw) GetTxTrieRoot() []byte
- func (x *BlockHeaderRaw) GetVersion() int32
- func (x *BlockHeaderRaw) GetWitnessAddress() []byte
- func (x *BlockHeaderRaw) GetWitnessId() int64
- func (*BlockHeaderRaw) ProtoMessage()
- func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message
- func (x *BlockHeaderRaw) Reset()
- func (x *BlockHeaderRaw) String() string
- type BlockInventory
- func (*BlockInventory) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInventory) GetIds() []*BlockInventory_BlockId
- func (x *BlockInventory) GetType() BlockInventory_Type
- func (*BlockInventory) ProtoMessage()
- func (x *BlockInventory) ProtoReflect() protoreflect.Message
- func (x *BlockInventory) Reset()
- func (x *BlockInventory) String() string
- type BlockInventory_BlockId
- func (*BlockInventory_BlockId) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInventory_BlockId) GetHash() []byte
- func (x *BlockInventory_BlockId) GetNumber() int64
- func (*BlockInventory_BlockId) ProtoMessage()
- func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message
- func (x *BlockInventory_BlockId) Reset()
- func (x *BlockInventory_BlockId) String() string
- type BlockInventory_Type
- func (BlockInventory_Type) Descriptor() protoreflect.EnumDescriptor
- func (x BlockInventory_Type) Enum() *BlockInventory_Type
- func (BlockInventory_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x BlockInventory_Type) Number() protoreflect.EnumNumber
- func (x BlockInventory_Type) String() string
- func (BlockInventory_Type) Type() protoreflect.EnumType
- type BuyStorageBytesContract
- func (*BuyStorageBytesContract) Descriptor() ([]byte, []int)deprecated
- func (x *BuyStorageBytesContract) GetBytes() int64
- func (x *BuyStorageBytesContract) GetOwnerAddress() []byte
- func (*BuyStorageBytesContract) ProtoMessage()
- func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message
- func (x *BuyStorageBytesContract) Reset()
- func (x *BuyStorageBytesContract) String() string
- type BuyStorageContract
- func (*BuyStorageContract) Descriptor() ([]byte, []int)deprecated
- func (x *BuyStorageContract) GetOwnerAddress() []byte
- func (x *BuyStorageContract) GetQuant() int64
- func (*BuyStorageContract) ProtoMessage()
- func (x *BuyStorageContract) ProtoReflect() protoreflect.Message
- func (x *BuyStorageContract) Reset()
- func (x *BuyStorageContract) String() string
- type ChainInventory
- func (*ChainInventory) Descriptor() ([]byte, []int)deprecated
- func (x *ChainInventory) GetIds() []*ChainInventory_BlockId
- func (x *ChainInventory) GetRemainNum() int64
- func (*ChainInventory) ProtoMessage()
- func (x *ChainInventory) ProtoReflect() protoreflect.Message
- func (x *ChainInventory) Reset()
- func (x *ChainInventory) String() string
- type ChainInventory_BlockId
- func (*ChainInventory_BlockId) Descriptor() ([]byte, []int)deprecated
- func (x *ChainInventory_BlockId) GetHash() []byte
- func (x *ChainInventory_BlockId) GetNumber() int64
- func (*ChainInventory_BlockId) ProtoMessage()
- func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message
- func (x *ChainInventory_BlockId) Reset()
- func (x *ChainInventory_BlockId) String() string
- type ChainParameters
- func (*ChainParameters) Descriptor() ([]byte, []int)deprecated
- func (x *ChainParameters) GetChainParameter() []*ChainParameters_ChainParameter
- func (*ChainParameters) ProtoMessage()
- func (x *ChainParameters) ProtoReflect() protoreflect.Message
- func (x *ChainParameters) Reset()
- func (x *ChainParameters) String() string
- type ChainParameters_ChainParameter
- func (*ChainParameters_ChainParameter) Descriptor() ([]byte, []int)deprecated
- func (x *ChainParameters_ChainParameter) GetKey() string
- func (x *ChainParameters_ChainParameter) GetValue() int64
- func (*ChainParameters_ChainParameter) ProtoMessage()
- func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message
- func (x *ChainParameters_ChainParameter) Reset()
- func (x *ChainParameters_ChainParameter) String() string
- type ClearABIContract
- func (*ClearABIContract) Descriptor() ([]byte, []int)deprecated
- func (x *ClearABIContract) GetContractAddress() []byte
- func (x *ClearABIContract) GetOwnerAddress() []byte
- func (*ClearABIContract) ProtoMessage()
- func (x *ClearABIContract) ProtoReflect() protoreflect.Message
- func (x *ClearABIContract) Reset()
- func (x *ClearABIContract) String() string
- type ContractState
- func (*ContractState) Descriptor() ([]byte, []int)deprecated
- func (x *ContractState) GetEnergyFactor() int64
- func (x *ContractState) GetEnergyUsage() int64
- func (x *ContractState) GetUpdateCycle() int64
- func (*ContractState) ProtoMessage()
- func (x *ContractState) ProtoReflect() protoreflect.Message
- func (x *ContractState) Reset()
- func (x *ContractState) String() string
- type CreateSmartContract
- func (*CreateSmartContract) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSmartContract) GetCallTokenValue() int64
- func (x *CreateSmartContract) GetNewContract() *SmartContract
- func (x *CreateSmartContract) GetOwnerAddress() []byte
- func (x *CreateSmartContract) GetTokenId() int64
- func (*CreateSmartContract) ProtoMessage()
- func (x *CreateSmartContract) ProtoReflect() protoreflect.Message
- func (x *CreateSmartContract) Reset()
- func (x *CreateSmartContract) String() string
- type DelegateResourceContract
- func (*DelegateResourceContract) Descriptor() ([]byte, []int)deprecated
- func (x *DelegateResourceContract) GetBalance() int64
- func (x *DelegateResourceContract) GetLock() bool
- func (x *DelegateResourceContract) GetOwnerAddress() []byte
- func (x *DelegateResourceContract) GetReceiverAddress() []byte
- func (x *DelegateResourceContract) GetResource() ResourceCode
- func (*DelegateResourceContract) ProtoMessage()
- func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message
- func (x *DelegateResourceContract) Reset()
- func (x *DelegateResourceContract) String() string
- type DelegatedResource
- func (*DelegatedResource) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatedResource) GetExpireTimeForBandwidth() int64
- func (x *DelegatedResource) GetExpireTimeForEnergy() int64
- func (x *DelegatedResource) GetFrom() []byte
- func (x *DelegatedResource) GetFrozenBalanceForBandwidth() int64
- func (x *DelegatedResource) GetFrozenBalanceForEnergy() int64
- func (x *DelegatedResource) GetTo() []byte
- func (*DelegatedResource) ProtoMessage()
- func (x *DelegatedResource) ProtoReflect() protoreflect.Message
- func (x *DelegatedResource) Reset()
- func (x *DelegatedResource) String() string
- type DelegatedResourceAccountIndex
- func (*DelegatedResourceAccountIndex) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatedResourceAccountIndex) GetAccount() []byte
- func (x *DelegatedResourceAccountIndex) GetFromAccounts() [][]byte
- func (x *DelegatedResourceAccountIndex) GetTimestamp() int64
- func (x *DelegatedResourceAccountIndex) GetToAccounts() [][]byte
- func (*DelegatedResourceAccountIndex) ProtoMessage()
- func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message
- func (x *DelegatedResourceAccountIndex) Reset()
- func (x *DelegatedResourceAccountIndex) String() string
- type DisconnectMessage
- func (*DisconnectMessage) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectMessage) GetReason() ReasonCode
- func (*DisconnectMessage) ProtoMessage()
- func (x *DisconnectMessage) ProtoReflect() protoreflect.Message
- func (x *DisconnectMessage) Reset()
- func (x *DisconnectMessage) String() string
- type DynamicProperties
- func (*DynamicProperties) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicProperties) GetLastSolidityBlockNum() int64
- func (*DynamicProperties) ProtoMessage()
- func (x *DynamicProperties) ProtoReflect() protoreflect.Message
- func (x *DynamicProperties) Reset()
- func (x *DynamicProperties) String() string
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetAddress() []byte
- func (x *Endpoint) GetNodeId() []byte
- func (x *Endpoint) GetPort() int32
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type Exchange
- func (*Exchange) Descriptor() ([]byte, []int)deprecated
- func (x *Exchange) GetCreateTime() int64
- func (x *Exchange) GetCreatorAddress() []byte
- func (x *Exchange) GetExchangeId() int64
- func (x *Exchange) GetFirstTokenBalance() int64
- func (x *Exchange) GetFirstTokenId() []byte
- func (x *Exchange) GetSecondTokenBalance() int64
- func (x *Exchange) GetSecondTokenId() []byte
- func (*Exchange) ProtoMessage()
- func (x *Exchange) ProtoReflect() protoreflect.Message
- func (x *Exchange) Reset()
- func (x *Exchange) String() string
- type ExchangeCreateContract
- func (*ExchangeCreateContract) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeCreateContract) GetFirstTokenBalance() int64
- func (x *ExchangeCreateContract) GetFirstTokenId() []byte
- func (x *ExchangeCreateContract) GetOwnerAddress() []byte
- func (x *ExchangeCreateContract) GetSecondTokenBalance() int64
- func (x *ExchangeCreateContract) GetSecondTokenId() []byte
- func (*ExchangeCreateContract) ProtoMessage()
- func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message
- func (x *ExchangeCreateContract) Reset()
- func (x *ExchangeCreateContract) String() string
- type ExchangeInjectContract
- func (*ExchangeInjectContract) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeInjectContract) GetExchangeId() int64
- func (x *ExchangeInjectContract) GetOwnerAddress() []byte
- func (x *ExchangeInjectContract) GetQuant() int64
- func (x *ExchangeInjectContract) GetTokenId() []byte
- func (*ExchangeInjectContract) ProtoMessage()
- func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message
- func (x *ExchangeInjectContract) Reset()
- func (x *ExchangeInjectContract) String() string
- type ExchangeTransactionContract
- func (*ExchangeTransactionContract) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeTransactionContract) GetExchangeId() int64
- func (x *ExchangeTransactionContract) GetExpected() int64
- func (x *ExchangeTransactionContract) GetOwnerAddress() []byte
- func (x *ExchangeTransactionContract) GetQuant() int64
- func (x *ExchangeTransactionContract) GetTokenId() []byte
- func (*ExchangeTransactionContract) ProtoMessage()
- func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message
- func (x *ExchangeTransactionContract) Reset()
- func (x *ExchangeTransactionContract) String() string
- type ExchangeWithdrawContract
- func (*ExchangeWithdrawContract) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeWithdrawContract) GetExchangeId() int64
- func (x *ExchangeWithdrawContract) GetOwnerAddress() []byte
- func (x *ExchangeWithdrawContract) GetQuant() int64
- func (x *ExchangeWithdrawContract) GetTokenId() []byte
- func (*ExchangeWithdrawContract) ProtoMessage()
- func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message
- func (x *ExchangeWithdrawContract) Reset()
- func (x *ExchangeWithdrawContract) String() string
- type FindNeighbours
- func (*FindNeighbours) Descriptor() ([]byte, []int)deprecated
- func (x *FindNeighbours) GetFrom() *Endpoint
- func (x *FindNeighbours) GetTargetId() []byte
- func (x *FindNeighbours) GetTimestamp() int64
- func (*FindNeighbours) ProtoMessage()
- func (x *FindNeighbours) ProtoReflect() protoreflect.Message
- func (x *FindNeighbours) Reset()
- func (x *FindNeighbours) String() string
- type FreezeBalanceContract
- func (*FreezeBalanceContract) Descriptor() ([]byte, []int)deprecated
- func (x *FreezeBalanceContract) GetFrozenBalance() int64
- func (x *FreezeBalanceContract) GetFrozenDuration() int64
- func (x *FreezeBalanceContract) GetOwnerAddress() []byte
- func (x *FreezeBalanceContract) GetReceiverAddress() []byte
- func (x *FreezeBalanceContract) GetResource() ResourceCode
- func (*FreezeBalanceContract) ProtoMessage()
- func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message
- func (x *FreezeBalanceContract) Reset()
- func (x *FreezeBalanceContract) String() string
- type FreezeBalanceV2Contract
- func (*FreezeBalanceV2Contract) Descriptor() ([]byte, []int)deprecated
- func (x *FreezeBalanceV2Contract) GetFrozenBalance() int64
- func (x *FreezeBalanceV2Contract) GetOwnerAddress() []byte
- func (x *FreezeBalanceV2Contract) GetResource() ResourceCode
- func (*FreezeBalanceV2Contract) ProtoMessage()
- func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message
- func (x *FreezeBalanceV2Contract) Reset()
- func (x *FreezeBalanceV2Contract) String() string
- type HelloMessage
- func (*HelloMessage) Descriptor() ([]byte, []int)deprecated
- func (x *HelloMessage) GetAddress() []byte
- func (x *HelloMessage) GetFrom() *Endpoint
- func (x *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId
- func (x *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId
- func (x *HelloMessage) GetLowestBlockNum() int64
- func (x *HelloMessage) GetNodeType() int32
- func (x *HelloMessage) GetSignature() []byte
- func (x *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId
- func (x *HelloMessage) GetTimestamp() int64
- func (x *HelloMessage) GetVersion() int32
- func (*HelloMessage) ProtoMessage()
- func (x *HelloMessage) ProtoReflect() protoreflect.Message
- func (x *HelloMessage) Reset()
- func (x *HelloMessage) String() string
- type HelloMessage_BlockId
- func (*HelloMessage_BlockId) Descriptor() ([]byte, []int)deprecated
- func (x *HelloMessage_BlockId) GetHash() []byte
- func (x *HelloMessage_BlockId) GetNumber() int64
- func (*HelloMessage_BlockId) ProtoMessage()
- func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message
- func (x *HelloMessage_BlockId) Reset()
- func (x *HelloMessage_BlockId) String() string
- type IncrementalMerkleTree
- func (*IncrementalMerkleTree) Descriptor() ([]byte, []int)deprecated
- func (x *IncrementalMerkleTree) GetLeft() *PedersenHash
- func (x *IncrementalMerkleTree) GetParents() []*PedersenHash
- func (x *IncrementalMerkleTree) GetRight() *PedersenHash
- func (*IncrementalMerkleTree) ProtoMessage()
- func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message
- func (x *IncrementalMerkleTree) Reset()
- func (x *IncrementalMerkleTree) String() string
- type IncrementalMerkleVoucher
- func (*IncrementalMerkleVoucher) Descriptor() ([]byte, []int)deprecated
- func (x *IncrementalMerkleVoucher) GetCursor() *IncrementalMerkleTree
- func (x *IncrementalMerkleVoucher) GetCursorDepth() int64
- func (x *IncrementalMerkleVoucher) GetFilled() []*PedersenHash
- func (x *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint
- func (x *IncrementalMerkleVoucher) GetRt() []byte
- func (x *IncrementalMerkleVoucher) GetTree() *IncrementalMerkleTree
- func (*IncrementalMerkleVoucher) ProtoMessage()
- func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message
- func (x *IncrementalMerkleVoucher) Reset()
- func (x *IncrementalMerkleVoucher) String() string
- type IncrementalMerkleVoucherInfo
- func (*IncrementalMerkleVoucherInfo) Descriptor() ([]byte, []int)deprecated
- func (x *IncrementalMerkleVoucherInfo) GetPaths() [][]byte
- func (x *IncrementalMerkleVoucherInfo) GetVouchers() []*IncrementalMerkleVoucher
- func (*IncrementalMerkleVoucherInfo) ProtoMessage()
- func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message
- func (x *IncrementalMerkleVoucherInfo) Reset()
- func (x *IncrementalMerkleVoucherInfo) String() string
- type InternalTransaction
- func (*InternalTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *InternalTransaction) GetCallValueInfo() []*InternalTransaction_CallValueInfo
- func (x *InternalTransaction) GetCallerAddress() []byte
- func (x *InternalTransaction) GetExtra() string
- func (x *InternalTransaction) GetHash() []byte
- func (x *InternalTransaction) GetNote() []byte
- func (x *InternalTransaction) GetRejected() bool
- func (x *InternalTransaction) GetTransferToAddress() []byte
- func (*InternalTransaction) ProtoMessage()
- func (x *InternalTransaction) ProtoReflect() protoreflect.Message
- func (x *InternalTransaction) Reset()
- func (x *InternalTransaction) String() string
- type InternalTransaction_CallValueInfo
- func (*InternalTransaction_CallValueInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InternalTransaction_CallValueInfo) GetCallValue() int64
- func (x *InternalTransaction_CallValueInfo) GetTokenId() string
- func (*InternalTransaction_CallValueInfo) ProtoMessage()
- func (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message
- func (x *InternalTransaction_CallValueInfo) Reset()
- func (x *InternalTransaction_CallValueInfo) String() string
- type Inventory
- func (*Inventory) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory) GetIds() [][]byte
- func (x *Inventory) GetType() Inventory_InventoryType
- func (*Inventory) ProtoMessage()
- func (x *Inventory) ProtoReflect() protoreflect.Message
- func (x *Inventory) Reset()
- func (x *Inventory) String() string
- type InventoryItems
- func (*InventoryItems) Descriptor() ([]byte, []int)deprecated
- func (x *InventoryItems) GetItems() [][]byte
- func (x *InventoryItems) GetType() int32
- func (*InventoryItems) ProtoMessage()
- func (x *InventoryItems) ProtoReflect() protoreflect.Message
- func (x *InventoryItems) Reset()
- func (x *InventoryItems) String() string
- type Inventory_InventoryType
- func (Inventory_InventoryType) Descriptor() protoreflect.EnumDescriptor
- func (x Inventory_InventoryType) Enum() *Inventory_InventoryType
- func (Inventory_InventoryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Inventory_InventoryType) Number() protoreflect.EnumNumber
- func (x Inventory_InventoryType) String() string
- func (Inventory_InventoryType) Type() protoreflect.EnumType
- type Items
- func (*Items) Descriptor() ([]byte, []int)deprecated
- func (x *Items) GetBlockHeaders() []*BlockHeader
- func (x *Items) GetBlocks() []*Block
- func (x *Items) GetTransactions() []*Transaction
- func (x *Items) GetType() Items_ItemType
- func (*Items) ProtoMessage()
- func (x *Items) ProtoReflect() protoreflect.Message
- func (x *Items) Reset()
- func (x *Items) String() string
- type Items_ItemType
- func (Items_ItemType) Descriptor() protoreflect.EnumDescriptor
- func (x Items_ItemType) Enum() *Items_ItemType
- func (Items_ItemType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Items_ItemType) Number() protoreflect.EnumNumber
- func (x Items_ItemType) String() string
- func (Items_ItemType) Type() protoreflect.EnumType
- type Key
- type MarketAccountOrder
- func (*MarketAccountOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MarketAccountOrder) GetCount() int64
- func (x *MarketAccountOrder) GetOrders() [][]byte
- func (x *MarketAccountOrder) GetOwnerAddress() []byte
- func (x *MarketAccountOrder) GetTotalCount() int64
- func (*MarketAccountOrder) ProtoMessage()
- func (x *MarketAccountOrder) ProtoReflect() protoreflect.Message
- func (x *MarketAccountOrder) Reset()
- func (x *MarketAccountOrder) String() string
- type MarketCancelOrderContract
- func (*MarketCancelOrderContract) Descriptor() ([]byte, []int)deprecated
- func (x *MarketCancelOrderContract) GetOrderId() []byte
- func (x *MarketCancelOrderContract) GetOwnerAddress() []byte
- func (*MarketCancelOrderContract) ProtoMessage()
- func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message
- func (x *MarketCancelOrderContract) Reset()
- func (x *MarketCancelOrderContract) String() string
- type MarketOrder
- func (*MarketOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrder) GetBuyTokenId() []byte
- func (x *MarketOrder) GetBuyTokenQuantity() int64
- func (x *MarketOrder) GetCreateTime() int64
- func (x *MarketOrder) GetNext() []byte
- func (x *MarketOrder) GetOrderId() []byte
- func (x *MarketOrder) GetOwnerAddress() []byte
- func (x *MarketOrder) GetPrev() []byte
- func (x *MarketOrder) GetSellTokenId() []byte
- func (x *MarketOrder) GetSellTokenQuantity() int64
- func (x *MarketOrder) GetSellTokenQuantityRemain() int64
- func (x *MarketOrder) GetSellTokenQuantityReturn() int64
- func (x *MarketOrder) GetState() MarketOrder_State
- func (*MarketOrder) ProtoMessage()
- func (x *MarketOrder) ProtoReflect() protoreflect.Message
- func (x *MarketOrder) Reset()
- func (x *MarketOrder) String() string
- type MarketOrderDetail
- func (*MarketOrderDetail) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrderDetail) GetFillBuyQuantity() int64
- func (x *MarketOrderDetail) GetFillSellQuantity() int64
- func (x *MarketOrderDetail) GetMakerOrderId() []byte
- func (x *MarketOrderDetail) GetTakerOrderId() []byte
- func (*MarketOrderDetail) ProtoMessage()
- func (x *MarketOrderDetail) ProtoReflect() protoreflect.Message
- func (x *MarketOrderDetail) Reset()
- func (x *MarketOrderDetail) String() string
- type MarketOrderIdList
- func (*MarketOrderIdList) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrderIdList) GetHead() []byte
- func (x *MarketOrderIdList) GetTail() []byte
- func (*MarketOrderIdList) ProtoMessage()
- func (x *MarketOrderIdList) ProtoReflect() protoreflect.Message
- func (x *MarketOrderIdList) Reset()
- func (x *MarketOrderIdList) String() string
- type MarketOrderList
- type MarketOrderPair
- func (*MarketOrderPair) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrderPair) GetBuyTokenId() []byte
- func (x *MarketOrderPair) GetSellTokenId() []byte
- func (*MarketOrderPair) ProtoMessage()
- func (x *MarketOrderPair) ProtoReflect() protoreflect.Message
- func (x *MarketOrderPair) Reset()
- func (x *MarketOrderPair) String() string
- type MarketOrderPairList
- func (*MarketOrderPairList) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrderPairList) GetOrderPair() []*MarketOrderPair
- func (*MarketOrderPairList) ProtoMessage()
- func (x *MarketOrderPairList) ProtoReflect() protoreflect.Message
- func (x *MarketOrderPairList) Reset()
- func (x *MarketOrderPairList) String() string
- type MarketOrder_State
- func (MarketOrder_State) Descriptor() protoreflect.EnumDescriptor
- func (x MarketOrder_State) Enum() *MarketOrder_State
- func (MarketOrder_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x MarketOrder_State) Number() protoreflect.EnumNumber
- func (x MarketOrder_State) String() string
- func (MarketOrder_State) Type() protoreflect.EnumType
- type MarketPrice
- func (*MarketPrice) Descriptor() ([]byte, []int)deprecated
- func (x *MarketPrice) GetBuyTokenQuantity() int64
- func (x *MarketPrice) GetSellTokenQuantity() int64
- func (*MarketPrice) ProtoMessage()
- func (x *MarketPrice) ProtoReflect() protoreflect.Message
- func (x *MarketPrice) Reset()
- func (x *MarketPrice) String() string
- type MarketPriceList
- func (*MarketPriceList) Descriptor() ([]byte, []int)deprecated
- func (x *MarketPriceList) GetBuyTokenId() []byte
- func (x *MarketPriceList) GetPrices() []*MarketPrice
- func (x *MarketPriceList) GetSellTokenId() []byte
- func (*MarketPriceList) ProtoMessage()
- func (x *MarketPriceList) ProtoReflect() protoreflect.Message
- func (x *MarketPriceList) Reset()
- func (x *MarketPriceList) String() string
- type MarketSellAssetContract
- func (*MarketSellAssetContract) Descriptor() ([]byte, []int)deprecated
- func (x *MarketSellAssetContract) GetBuyTokenId() []byte
- func (x *MarketSellAssetContract) GetBuyTokenQuantity() int64
- func (x *MarketSellAssetContract) GetOwnerAddress() []byte
- func (x *MarketSellAssetContract) GetSellTokenId() []byte
- func (x *MarketSellAssetContract) GetSellTokenQuantity() int64
- func (*MarketSellAssetContract) ProtoMessage()
- func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message
- func (x *MarketSellAssetContract) Reset()
- func (x *MarketSellAssetContract) String() string
- type MerklePath
- func (*MerklePath) Descriptor() ([]byte, []int)deprecated
- func (x *MerklePath) GetAuthenticationPaths() []*AuthenticationPath
- func (x *MerklePath) GetIndex() []bool
- func (x *MerklePath) GetRt() []byte
- func (*MerklePath) ProtoMessage()
- func (x *MerklePath) ProtoReflect() protoreflect.Message
- func (x *MerklePath) Reset()
- func (x *MerklePath) String() string
- type MetricsInfo
- func (*MetricsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo) GetBlockchain() *MetricsInfo_BlockChainInfo
- func (x *MetricsInfo) GetInterval() int64
- func (x *MetricsInfo) GetNet() *MetricsInfo_NetInfo
- func (x *MetricsInfo) GetNode() *MetricsInfo_NodeInfo
- func (*MetricsInfo) ProtoMessage()
- func (x *MetricsInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo) Reset()
- func (x *MetricsInfo) String() string
- type MetricsInfo_BlockChainInfo
- func (*MetricsInfo_BlockChainInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_BlockChainInfo) GetBlockProcessTime() *MetricsInfo_RateInfo
- func (x *MetricsInfo_BlockChainInfo) GetDupWitness() []*MetricsInfo_BlockChainInfo_DupWitness
- func (x *MetricsInfo_BlockChainInfo) GetFailForkCount() int32
- func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockNum() int64
- func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockReason() string
- func (x *MetricsInfo_BlockChainInfo) GetForkCount() int32
- func (x *MetricsInfo_BlockChainInfo) GetHeadBlockHash() string
- func (x *MetricsInfo_BlockChainInfo) GetHeadBlockNum() int64
- func (x *MetricsInfo_BlockChainInfo) GetHeadBlockTimestamp() int64
- func (x *MetricsInfo_BlockChainInfo) GetMissedTransaction() *MetricsInfo_RateInfo
- func (x *MetricsInfo_BlockChainInfo) GetTps() *MetricsInfo_RateInfo
- func (x *MetricsInfo_BlockChainInfo) GetTransactionCacheSize() int32
- func (x *MetricsInfo_BlockChainInfo) GetWitnesses() []*MetricsInfo_BlockChainInfo_Witness
- func (*MetricsInfo_BlockChainInfo) ProtoMessage()
- func (x *MetricsInfo_BlockChainInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_BlockChainInfo) Reset()
- func (x *MetricsInfo_BlockChainInfo) String() string
- type MetricsInfo_BlockChainInfo_DupWitness
- func (*MetricsInfo_BlockChainInfo_DupWitness) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_BlockChainInfo_DupWitness) GetAddress() string
- func (x *MetricsInfo_BlockChainInfo_DupWitness) GetBlockNum() int64
- func (x *MetricsInfo_BlockChainInfo_DupWitness) GetCount() int32
- func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage()
- func (x *MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_BlockChainInfo_DupWitness) Reset()
- func (x *MetricsInfo_BlockChainInfo_DupWitness) String() string
- type MetricsInfo_BlockChainInfo_Witness
- func (*MetricsInfo_BlockChainInfo_Witness) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_BlockChainInfo_Witness) GetAddress() string
- func (x *MetricsInfo_BlockChainInfo_Witness) GetVersion() int32
- func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage()
- func (x *MetricsInfo_BlockChainInfo_Witness) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_BlockChainInfo_Witness) Reset()
- func (x *MetricsInfo_BlockChainInfo_Witness) String() string
- type MetricsInfo_NetInfo
- func (*MetricsInfo_NetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo) GetApi() *MetricsInfo_NetInfo_ApiInfo
- func (x *MetricsInfo_NetInfo) GetConnectionCount() int32
- func (x *MetricsInfo_NetInfo) GetDisconnectionCount() int32
- func (x *MetricsInfo_NetInfo) GetDisconnectionDetail() []*MetricsInfo_NetInfo_DisconnectionDetailInfo
- func (x *MetricsInfo_NetInfo) GetErrorProtoCount() int32
- func (x *MetricsInfo_NetInfo) GetLatency() *MetricsInfo_NetInfo_LatencyInfo
- func (x *MetricsInfo_NetInfo) GetTcpInTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo) GetTcpOutTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo) GetUdpInTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo) GetUdpOutTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo) GetValidConnectionCount() int32
- func (*MetricsInfo_NetInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo) Reset()
- func (x *MetricsInfo_NetInfo) String() string
- type MetricsInfo_NetInfo_ApiInfo
- func (*MetricsInfo_NetInfo_ApiInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_ApiInfo) GetDetail() []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo
- func (x *MetricsInfo_NetInfo_ApiInfo) GetFailQps() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo_ApiInfo) GetOutTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo_ApiInfo) GetQps() *MetricsInfo_RateInfo
- func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_ApiInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_ApiInfo) Reset()
- func (x *MetricsInfo_NetInfo_ApiInfo) String() string
- type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo
- func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetFailQps() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetName() string
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetOutTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetQps() *MetricsInfo_RateInfo
- func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset()
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String() string
- type MetricsInfo_NetInfo_DisconnectionDetailInfo
- func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetCount() int32
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetReason() string
- func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset()
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) String() string
- type MetricsInfo_NetInfo_LatencyInfo
- func (*MetricsInfo_NetInfo_LatencyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay1S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay2S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay3S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetDetail() []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop75() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop95() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop99() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetTotalCount() int32
- func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_LatencyInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_LatencyInfo) Reset()
- func (x *MetricsInfo_NetInfo_LatencyInfo) String() string
- type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo
- func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetCount() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay1S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay2S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay3S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop75() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop95() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop99() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetWitness() string
- func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset()
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String() string
- type MetricsInfo_NodeInfo
- func (*MetricsInfo_NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NodeInfo) GetBackupStatus() int32
- func (x *MetricsInfo_NodeInfo) GetIp() string
- func (x *MetricsInfo_NodeInfo) GetNodeType() int32
- func (x *MetricsInfo_NodeInfo) GetVersion() string
- func (*MetricsInfo_NodeInfo) ProtoMessage()
- func (x *MetricsInfo_NodeInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NodeInfo) Reset()
- func (x *MetricsInfo_NodeInfo) String() string
- type MetricsInfo_RateInfo
- func (*MetricsInfo_RateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_RateInfo) GetCount() int64
- func (x *MetricsInfo_RateInfo) GetFifteenMinuteRate() float64
- func (x *MetricsInfo_RateInfo) GetFiveMinuteRate() float64
- func (x *MetricsInfo_RateInfo) GetMeanRate() float64
- func (x *MetricsInfo_RateInfo) GetOneMinuteRate() float64
- func (*MetricsInfo_RateInfo) ProtoMessage()
- func (x *MetricsInfo_RateInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_RateInfo) Reset()
- func (x *MetricsInfo_RateInfo) String() string
- type Neighbours
- func (*Neighbours) Descriptor() ([]byte, []int)deprecated
- func (x *Neighbours) GetFrom() *Endpoint
- func (x *Neighbours) GetNeighbours() []*Endpoint
- func (x *Neighbours) GetTimestamp() int64
- func (*Neighbours) ProtoMessage()
- func (x *Neighbours) ProtoReflect() protoreflect.Message
- func (x *Neighbours) Reset()
- func (x *Neighbours) String() string
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetActiveConnectCount() int32
- func (x *NodeInfo) GetBeginSyncNum() int64
- func (x *NodeInfo) GetBlock() string
- func (x *NodeInfo) GetCheatWitnessInfoMap() map[string]string
- func (x *NodeInfo) GetConfigNodeInfo() *NodeInfo_ConfigNodeInfo
- func (x *NodeInfo) GetCurrentConnectCount() int32
- func (x *NodeInfo) GetMachineInfo() *NodeInfo_MachineInfo
- func (x *NodeInfo) GetPassiveConnectCount() int32
- func (x *NodeInfo) GetPeerInfoList() []*NodeInfo_PeerInfo
- func (x *NodeInfo) GetSolidityBlock() string
- func (x *NodeInfo) GetTotalFlow() int64
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type NodeInfo_ConfigNodeInfo
- func (*NodeInfo_ConfigNodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_ConfigNodeInfo) GetActiveNodeSize() int32
- func (x *NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy() int64
- func (x *NodeInfo_ConfigNodeInfo) GetAllowCreationOfContracts() int64
- func (x *NodeInfo_ConfigNodeInfo) GetBackupListenPort() int32
- func (x *NodeInfo_ConfigNodeInfo) GetBackupMemberSize() int32
- func (x *NodeInfo_ConfigNodeInfo) GetBackupPriority() int32
- func (x *NodeInfo_ConfigNodeInfo) GetCodeVersion() string
- func (x *NodeInfo_ConfigNodeInfo) GetDbVersion() int32
- func (x *NodeInfo_ConfigNodeInfo) GetDiscoverEnable() bool
- func (x *NodeInfo_ConfigNodeInfo) GetListenPort() int32
- func (x *NodeInfo_ConfigNodeInfo) GetMaxConnectCount() int32
- func (x *NodeInfo_ConfigNodeInfo) GetMaxTimeRatio() float64
- func (x *NodeInfo_ConfigNodeInfo) GetMinParticipationRate() int32
- func (x *NodeInfo_ConfigNodeInfo) GetMinTimeRatio() float64
- func (x *NodeInfo_ConfigNodeInfo) GetP2PVersion() string
- func (x *NodeInfo_ConfigNodeInfo) GetPassiveNodeSize() int32
- func (x *NodeInfo_ConfigNodeInfo) GetSameIpMaxConnectCount() int32
- func (x *NodeInfo_ConfigNodeInfo) GetSendNodeSize() int32
- func (x *NodeInfo_ConfigNodeInfo) GetSupportConstant() bool
- func (*NodeInfo_ConfigNodeInfo) ProtoMessage()
- func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_ConfigNodeInfo) Reset()
- func (x *NodeInfo_ConfigNodeInfo) String() string
- type NodeInfo_MachineInfo
- func (*NodeInfo_MachineInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_MachineInfo) GetCpuCount() int32
- func (x *NodeInfo_MachineInfo) GetCpuRate() float64
- func (x *NodeInfo_MachineInfo) GetDeadLockThreadCount() int32
- func (x *NodeInfo_MachineInfo) GetDeadLockThreadInfoList() []*NodeInfo_MachineInfo_DeadLockThreadInfo
- func (x *NodeInfo_MachineInfo) GetFreeMemory() int64
- func (x *NodeInfo_MachineInfo) GetJavaVersion() string
- func (x *NodeInfo_MachineInfo) GetJvmFreeMemory() int64
- func (x *NodeInfo_MachineInfo) GetJvmTotalMemory() int64
- func (x *NodeInfo_MachineInfo) GetMemoryDescInfoList() []*NodeInfo_MachineInfo_MemoryDescInfo
- func (x *NodeInfo_MachineInfo) GetOsName() string
- func (x *NodeInfo_MachineInfo) GetProcessCpuRate() float64
- func (x *NodeInfo_MachineInfo) GetThreadCount() int32
- func (x *NodeInfo_MachineInfo) GetTotalMemory() int64
- func (*NodeInfo_MachineInfo) ProtoMessage()
- func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_MachineInfo) Reset()
- func (x *NodeInfo_MachineInfo) String() string
- type NodeInfo_MachineInfo_DeadLockThreadInfo
- func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime() int64
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetName() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetState() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime() int64
- func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage()
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) Reset()
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) String() string
- type NodeInfo_MachineInfo_MemoryDescInfo
- func (*NodeInfo_MachineInfo_MemoryDescInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetInitSize() int64
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetMaxSize() int64
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetName() string
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate() float64
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize() int64
- func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage()
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) Reset()
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) String() string
- type NodeInfo_PeerInfo
- func (*NodeInfo_PeerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_PeerInfo) GetAvgLatency() float64
- func (x *NodeInfo_PeerInfo) GetBlockInPorcSize() int32
- func (x *NodeInfo_PeerInfo) GetConnectTime() int64
- func (x *NodeInfo_PeerInfo) GetDisconnectTimes() int32
- func (x *NodeInfo_PeerInfo) GetHeadBlockTimeWeBothHave() int64
- func (x *NodeInfo_PeerInfo) GetHeadBlockWeBothHave() string
- func (x *NodeInfo_PeerInfo) GetHost() string
- func (x *NodeInfo_PeerInfo) GetInFlow() int64
- func (x *NodeInfo_PeerInfo) GetIsActive() bool
- func (x *NodeInfo_PeerInfo) GetLastBlockUpdateTime() int64
- func (x *NodeInfo_PeerInfo) GetLastSyncBlock() string
- func (x *NodeInfo_PeerInfo) GetLocalDisconnectReason() string
- func (x *NodeInfo_PeerInfo) GetNeedSyncFromPeer() bool
- func (x *NodeInfo_PeerInfo) GetNeedSyncFromUs() bool
- func (x *NodeInfo_PeerInfo) GetNodeCount() int32
- func (x *NodeInfo_PeerInfo) GetNodeId() string
- func (x *NodeInfo_PeerInfo) GetPort() int32
- func (x *NodeInfo_PeerInfo) GetRemainNum() int64
- func (x *NodeInfo_PeerInfo) GetRemoteDisconnectReason() string
- func (x *NodeInfo_PeerInfo) GetScore() int32
- func (x *NodeInfo_PeerInfo) GetSyncBlockRequestedSize() int32
- func (x *NodeInfo_PeerInfo) GetSyncFlag() bool
- func (x *NodeInfo_PeerInfo) GetSyncToFetchSize() int32
- func (x *NodeInfo_PeerInfo) GetSyncToFetchSizePeekNum() int64
- func (x *NodeInfo_PeerInfo) GetUnFetchSynNum() int64
- func (*NodeInfo_PeerInfo) ProtoMessage()
- func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_PeerInfo) Reset()
- func (x *NodeInfo_PeerInfo) String() string
- type OutputPoint
- type OutputPointInfo
- func (*OutputPointInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OutputPointInfo) GetBlockNum() int32
- func (x *OutputPointInfo) GetOutPoints() []*OutputPoint
- func (*OutputPointInfo) ProtoMessage()
- func (x *OutputPointInfo) ProtoReflect() protoreflect.Message
- func (x *OutputPointInfo) Reset()
- func (x *OutputPointInfo) String() string
- type PBFTCommitResult
- func (*PBFTCommitResult) Descriptor() ([]byte, []int)deprecated
- func (x *PBFTCommitResult) GetData() []byte
- func (x *PBFTCommitResult) GetSignature() [][]byte
- func (*PBFTCommitResult) ProtoMessage()
- func (x *PBFTCommitResult) ProtoReflect() protoreflect.Message
- func (x *PBFTCommitResult) Reset()
- func (x *PBFTCommitResult) String() string
- type PBFTMessage
- func (*PBFTMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PBFTMessage) GetRawData() *PBFTMessage_Raw
- func (x *PBFTMessage) GetSignature() []byte
- func (*PBFTMessage) ProtoMessage()
- func (x *PBFTMessage) ProtoReflect() protoreflect.Message
- func (x *PBFTMessage) Reset()
- func (x *PBFTMessage) String() string
- type PBFTMessage_DataType
- func (PBFTMessage_DataType) Descriptor() protoreflect.EnumDescriptor
- func (x PBFTMessage_DataType) Enum() *PBFTMessage_DataType
- func (PBFTMessage_DataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PBFTMessage_DataType) Number() protoreflect.EnumNumber
- func (x PBFTMessage_DataType) String() string
- func (PBFTMessage_DataType) Type() protoreflect.EnumType
- type PBFTMessage_MsgType
- func (PBFTMessage_MsgType) Descriptor() protoreflect.EnumDescriptor
- func (x PBFTMessage_MsgType) Enum() *PBFTMessage_MsgType
- func (PBFTMessage_MsgType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PBFTMessage_MsgType) Number() protoreflect.EnumNumber
- func (x PBFTMessage_MsgType) String() string
- func (PBFTMessage_MsgType) Type() protoreflect.EnumType
- type PBFTMessage_Raw
- func (*PBFTMessage_Raw) Descriptor() ([]byte, []int)deprecated
- func (x *PBFTMessage_Raw) GetData() []byte
- func (x *PBFTMessage_Raw) GetDataType() PBFTMessage_DataType
- func (x *PBFTMessage_Raw) GetEpoch() int64
- func (x *PBFTMessage_Raw) GetMsgType() PBFTMessage_MsgType
- func (x *PBFTMessage_Raw) GetViewN() int64
- func (*PBFTMessage_Raw) ProtoMessage()
- func (x *PBFTMessage_Raw) ProtoReflect() protoreflect.Message
- func (x *PBFTMessage_Raw) Reset()
- func (x *PBFTMessage_Raw) String() string
- type ParticipateAssetIssueContract
- func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int)deprecated
- func (x *ParticipateAssetIssueContract) GetAmount() int64
- func (x *ParticipateAssetIssueContract) GetAssetName() []byte
- func (x *ParticipateAssetIssueContract) GetOwnerAddress() []byte
- func (x *ParticipateAssetIssueContract) GetToAddress() []byte
- func (*ParticipateAssetIssueContract) ProtoMessage()
- func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message
- func (x *ParticipateAssetIssueContract) Reset()
- func (x *ParticipateAssetIssueContract) String() string
- type PedersenHash
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetId() int32
- func (x *Permission) GetKeys() []*Key
- func (x *Permission) GetOperations() []byte
- func (x *Permission) GetParentId() int32
- func (x *Permission) GetPermissionName() string
- func (x *Permission) GetThreshold() int64
- func (x *Permission) GetType() Permission_PermissionType
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- type Permission_PermissionType
- func (Permission_PermissionType) Descriptor() protoreflect.EnumDescriptor
- func (x Permission_PermissionType) Enum() *Permission_PermissionType
- func (Permission_PermissionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Permission_PermissionType) Number() protoreflect.EnumNumber
- func (x Permission_PermissionType) String() string
- func (Permission_PermissionType) Type() protoreflect.EnumType
- type PingMessage
- func (*PingMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PingMessage) GetFrom() *Endpoint
- func (x *PingMessage) GetTimestamp() int64
- func (x *PingMessage) GetTo() *Endpoint
- func (x *PingMessage) GetVersion() int32
- func (*PingMessage) ProtoMessage()
- func (x *PingMessage) ProtoReflect() protoreflect.Message
- func (x *PingMessage) Reset()
- func (x *PingMessage) String() string
- type PongMessage
- func (*PongMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PongMessage) GetEcho() int32
- func (x *PongMessage) GetFrom() *Endpoint
- func (x *PongMessage) GetTimestamp() int64
- func (*PongMessage) ProtoMessage()
- func (x *PongMessage) ProtoReflect() protoreflect.Message
- func (x *PongMessage) Reset()
- func (x *PongMessage) String() string
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal) GetApprovals() [][]byte
- func (x *Proposal) GetCreateTime() int64
- func (x *Proposal) GetExpirationTime() int64
- func (x *Proposal) GetParameters() map[int64]int64
- func (x *Proposal) GetProposalId() int64
- func (x *Proposal) GetProposerAddress() []byte
- func (x *Proposal) GetState() Proposal_State
- func (*Proposal) ProtoMessage()
- func (x *Proposal) ProtoReflect() protoreflect.Message
- func (x *Proposal) Reset()
- func (x *Proposal) String() string
- type ProposalApproveContract
- func (*ProposalApproveContract) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalApproveContract) GetIsAddApproval() bool
- func (x *ProposalApproveContract) GetOwnerAddress() []byte
- func (x *ProposalApproveContract) GetProposalId() int64
- func (*ProposalApproveContract) ProtoMessage()
- func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message
- func (x *ProposalApproveContract) Reset()
- func (x *ProposalApproveContract) String() string
- type ProposalCreateContract
- func (*ProposalCreateContract) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalCreateContract) GetOwnerAddress() []byte
- func (x *ProposalCreateContract) GetParameters() map[int64]int64
- func (*ProposalCreateContract) ProtoMessage()
- func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message
- func (x *ProposalCreateContract) Reset()
- func (x *ProposalCreateContract) String() string
- type ProposalDeleteContract
- func (*ProposalDeleteContract) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalDeleteContract) GetOwnerAddress() []byte
- func (x *ProposalDeleteContract) GetProposalId() int64
- func (*ProposalDeleteContract) ProtoMessage()
- func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message
- func (x *ProposalDeleteContract) Reset()
- func (x *ProposalDeleteContract) String() string
- type Proposal_State
- func (Proposal_State) Descriptor() protoreflect.EnumDescriptor
- func (x Proposal_State) Enum() *Proposal_State
- func (Proposal_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Proposal_State) Number() protoreflect.EnumNumber
- func (x Proposal_State) String() string
- func (Proposal_State) Type() protoreflect.EnumType
- type ReasonCode
- type ReceiveDescription
- func (*ReceiveDescription) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveDescription) GetCEnc() []byte
- func (x *ReceiveDescription) GetCOut() []byte
- func (x *ReceiveDescription) GetEpk() []byte
- func (x *ReceiveDescription) GetNoteCommitment() []byte
- func (x *ReceiveDescription) GetValueCommitment() []byte
- func (x *ReceiveDescription) GetZkproof() []byte
- func (*ReceiveDescription) ProtoMessage()
- func (x *ReceiveDescription) ProtoReflect() protoreflect.Message
- func (x *ReceiveDescription) Reset()
- func (x *ReceiveDescription) String() string
- type ResourceCode
- func (ResourceCode) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceCode) Enum() *ResourceCode
- func (ResourceCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceCode) Number() protoreflect.EnumNumber
- func (x ResourceCode) String() string
- func (ResourceCode) Type() protoreflect.EnumType
- type ResourceReceipt
- func (*ResourceReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceReceipt) GetEnergyFee() int64
- func (x *ResourceReceipt) GetEnergyPenaltyTotal() int64
- func (x *ResourceReceipt) GetEnergyUsage() int64
- func (x *ResourceReceipt) GetEnergyUsageTotal() int64
- func (x *ResourceReceipt) GetNetFee() int64
- func (x *ResourceReceipt) GetNetUsage() int64
- func (x *ResourceReceipt) GetOriginEnergyUsage() int64
- func (x *ResourceReceipt) GetResult() Transaction_ResultContractResult
- func (*ResourceReceipt) ProtoMessage()
- func (x *ResourceReceipt) ProtoReflect() protoreflect.Message
- func (x *ResourceReceipt) Reset()
- func (x *ResourceReceipt) String() string
- type SRL
- type SellStorageContract
- func (*SellStorageContract) Descriptor() ([]byte, []int)deprecated
- func (x *SellStorageContract) GetOwnerAddress() []byte
- func (x *SellStorageContract) GetStorageBytes() int64
- func (*SellStorageContract) ProtoMessage()
- func (x *SellStorageContract) ProtoReflect() protoreflect.Message
- func (x *SellStorageContract) Reset()
- func (x *SellStorageContract) String() string
- type SetAccountIdContract
- func (*SetAccountIdContract) Descriptor() ([]byte, []int)deprecated
- func (x *SetAccountIdContract) GetAccountId() []byte
- func (x *SetAccountIdContract) GetOwnerAddress() []byte
- func (*SetAccountIdContract) ProtoMessage()
- func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message
- func (x *SetAccountIdContract) Reset()
- func (x *SetAccountIdContract) String() string
- type ShieldedTransferContract
- func (*ShieldedTransferContract) Descriptor() ([]byte, []int)deprecated
- func (x *ShieldedTransferContract) GetBindingSignature() []byte
- func (x *ShieldedTransferContract) GetFromAmount() int64
- func (x *ShieldedTransferContract) GetReceiveDescription() []*ReceiveDescription
- func (x *ShieldedTransferContract) GetSpendDescription() []*SpendDescription
- func (x *ShieldedTransferContract) GetToAmount() int64
- func (x *ShieldedTransferContract) GetTransparentFromAddress() []byte
- func (x *ShieldedTransferContract) GetTransparentToAddress() []byte
- func (*ShieldedTransferContract) ProtoMessage()
- func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message
- func (x *ShieldedTransferContract) Reset()
- func (x *ShieldedTransferContract) String() string
- type SmartContract
- func (*SmartContract) Descriptor() ([]byte, []int)deprecated
- func (x *SmartContract) GetAbi() *SmartContract_ABI
- func (x *SmartContract) GetBytecode() []byte
- func (x *SmartContract) GetCallValue() int64
- func (x *SmartContract) GetCodeHash() []byte
- func (x *SmartContract) GetConsumeUserResourcePercent() int64
- func (x *SmartContract) GetContractAddress() []byte
- func (x *SmartContract) GetName() string
- func (x *SmartContract) GetOriginAddress() []byte
- func (x *SmartContract) GetOriginEnergyLimit() int64
- func (x *SmartContract) GetTrxHash() []byte
- func (x *SmartContract) GetVersion() int32
- func (*SmartContract) ProtoMessage()
- func (x *SmartContract) ProtoReflect() protoreflect.Message
- func (x *SmartContract) Reset()
- func (x *SmartContract) String() string
- type SmartContractDataWrapper
- func (*SmartContractDataWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *SmartContractDataWrapper) GetContractState() *ContractState
- func (x *SmartContractDataWrapper) GetRuntimecode() []byte
- func (x *SmartContractDataWrapper) GetSmartContract() *SmartContract
- func (*SmartContractDataWrapper) ProtoMessage()
- func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message
- func (x *SmartContractDataWrapper) Reset()
- func (x *SmartContractDataWrapper) String() string
- type SmartContract_ABI
- func (*SmartContract_ABI) Descriptor() ([]byte, []int)deprecated
- func (x *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry
- func (*SmartContract_ABI) ProtoMessage()
- func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message
- func (x *SmartContract_ABI) Reset()
- func (x *SmartContract_ABI) String() string
- type SmartContract_ABI_Entry
- func (*SmartContract_ABI_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *SmartContract_ABI_Entry) GetAnonymous() bool
- func (x *SmartContract_ABI_Entry) GetConstant() bool
- func (x *SmartContract_ABI_Entry) GetInputs() []*SmartContract_ABI_Entry_Param
- func (x *SmartContract_ABI_Entry) GetName() string
- func (x *SmartContract_ABI_Entry) GetOutputs() []*SmartContract_ABI_Entry_Param
- func (x *SmartContract_ABI_Entry) GetPayable() bool
- func (x *SmartContract_ABI_Entry) GetStateMutability() SmartContract_ABI_Entry_StateMutabilityType
- func (x *SmartContract_ABI_Entry) GetType() SmartContract_ABI_Entry_EntryType
- func (*SmartContract_ABI_Entry) ProtoMessage()
- func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message
- func (x *SmartContract_ABI_Entry) Reset()
- func (x *SmartContract_ABI_Entry) String() string
- type SmartContract_ABI_Entry_EntryType
- func (SmartContract_ABI_Entry_EntryType) Descriptor() protoreflect.EnumDescriptor
- func (x SmartContract_ABI_Entry_EntryType) Enum() *SmartContract_ABI_Entry_EntryType
- func (SmartContract_ABI_Entry_EntryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SmartContract_ABI_Entry_EntryType) Number() protoreflect.EnumNumber
- func (x SmartContract_ABI_Entry_EntryType) String() string
- func (SmartContract_ABI_Entry_EntryType) Type() protoreflect.EnumType
- type SmartContract_ABI_Entry_Param
- func (*SmartContract_ABI_Entry_Param) Descriptor() ([]byte, []int)deprecated
- func (x *SmartContract_ABI_Entry_Param) GetIndexed() bool
- func (x *SmartContract_ABI_Entry_Param) GetName() string
- func (x *SmartContract_ABI_Entry_Param) GetType() string
- func (*SmartContract_ABI_Entry_Param) ProtoMessage()
- func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message
- func (x *SmartContract_ABI_Entry_Param) Reset()
- func (x *SmartContract_ABI_Entry_Param) String() string
- type SmartContract_ABI_Entry_StateMutabilityType
- func (SmartContract_ABI_Entry_StateMutabilityType) Descriptor() protoreflect.EnumDescriptor
- func (x SmartContract_ABI_Entry_StateMutabilityType) Enum() *SmartContract_ABI_Entry_StateMutabilityType
- func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SmartContract_ABI_Entry_StateMutabilityType) Number() protoreflect.EnumNumber
- func (x SmartContract_ABI_Entry_StateMutabilityType) String() string
- func (SmartContract_ABI_Entry_StateMutabilityType) Type() protoreflect.EnumType
- type SpendDescription
- func (*SpendDescription) Descriptor() ([]byte, []int)deprecated
- func (x *SpendDescription) GetAnchor() []byte
- func (x *SpendDescription) GetNullifier() []byte
- func (x *SpendDescription) GetRk() []byte
- func (x *SpendDescription) GetSpendAuthoritySignature() []byte
- func (x *SpendDescription) GetValueCommitment() []byte
- func (x *SpendDescription) GetZkproof() []byte
- func (*SpendDescription) ProtoMessage()
- func (x *SpendDescription) ProtoReflect() protoreflect.Message
- func (x *SpendDescription) Reset()
- func (x *SpendDescription) String() string
- type TXInput
- type TXInputRaw
- func (*TXInputRaw) Descriptor() ([]byte, []int)deprecated
- func (x *TXInputRaw) GetPubKey() []byte
- func (x *TXInputRaw) GetTxID() []byte
- func (x *TXInputRaw) GetVout() int64
- func (*TXInputRaw) ProtoMessage()
- func (x *TXInputRaw) ProtoReflect() protoreflect.Message
- func (x *TXInputRaw) Reset()
- func (x *TXInputRaw) String() string
- type TXOutput
- type TXOutputs
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetRawData() *TransactionRaw
- func (x *Transaction) GetRet() []*Transaction_Result
- func (x *Transaction) GetSignature() [][]byte
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionBalanceTrace
- func (*TransactionBalanceTrace) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionBalanceTrace) GetOperation() []*TransactionBalanceTrace_Operation
- func (x *TransactionBalanceTrace) GetStatus() string
- func (x *TransactionBalanceTrace) GetTransactionIdentifier() []byte
- func (x *TransactionBalanceTrace) GetType() string
- func (*TransactionBalanceTrace) ProtoMessage()
- func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message
- func (x *TransactionBalanceTrace) Reset()
- func (x *TransactionBalanceTrace) String() string
- type TransactionBalanceTrace_Operation
- func (*TransactionBalanceTrace_Operation) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionBalanceTrace_Operation) GetAddress() []byte
- func (x *TransactionBalanceTrace_Operation) GetAmount() int64
- func (x *TransactionBalanceTrace_Operation) GetOperationIdentifier() int64
- func (*TransactionBalanceTrace_Operation) ProtoMessage()
- func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message
- func (x *TransactionBalanceTrace_Operation) Reset()
- func (x *TransactionBalanceTrace_Operation) String() string
- type TransactionInfo
- func (*TransactionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionInfo) GetAssetIssueID() string
- func (x *TransactionInfo) GetBlockNumber() int64
- func (x *TransactionInfo) GetBlockTimeStamp() int64
- func (x *TransactionInfo) GetContractAddress() []byte
- func (x *TransactionInfo) GetContractResult() [][]byte
- func (x *TransactionInfo) GetExchangeId() int64
- func (x *TransactionInfo) GetExchangeInjectAnotherAmount() int64
- func (x *TransactionInfo) GetExchangeReceivedAmount() int64
- func (x *TransactionInfo) GetExchangeWithdrawAnotherAmount() int64
- func (x *TransactionInfo) GetFee() int64
- func (x *TransactionInfo) GetId() []byte
- func (x *TransactionInfo) GetInternalTransactions() []*InternalTransaction
- func (x *TransactionInfo) GetLog() []*TransactionInfo_Log
- func (x *TransactionInfo) GetOrderDetails() []*MarketOrderDetail
- func (x *TransactionInfo) GetOrderId() []byte
- func (x *TransactionInfo) GetPackingFee() int64
- func (x *TransactionInfo) GetReceipt() *ResourceReceipt
- func (x *TransactionInfo) GetResMessage() []byte
- func (x *TransactionInfo) GetResult() TransactionInfoCode
- func (x *TransactionInfo) GetShieldedTransactionFee() int64
- func (x *TransactionInfo) GetUnfreezeAmount() int64
- func (x *TransactionInfo) GetWithdrawAmount() int64
- func (x *TransactionInfo) GetWithdrawExpireAmount() int64
- func (*TransactionInfo) ProtoMessage()
- func (x *TransactionInfo) ProtoReflect() protoreflect.Message
- func (x *TransactionInfo) Reset()
- func (x *TransactionInfo) String() string
- type TransactionInfoCode
- func (TransactionInfoCode) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionInfoCode) Enum() *TransactionInfoCode
- func (TransactionInfoCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionInfoCode) Number() protoreflect.EnumNumber
- func (x TransactionInfoCode) String() string
- func (TransactionInfoCode) Type() protoreflect.EnumType
- type TransactionInfo_Log
- func (*TransactionInfo_Log) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionInfo_Log) GetAddress() []byte
- func (x *TransactionInfo_Log) GetData() []byte
- func (x *TransactionInfo_Log) GetTopics() [][]byte
- func (*TransactionInfo_Log) ProtoMessage()
- func (x *TransactionInfo_Log) ProtoReflect() protoreflect.Message
- func (x *TransactionInfo_Log) Reset()
- func (x *TransactionInfo_Log) String() string
- type TransactionRaw
- func (*TransactionRaw) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionRaw) GetAuths() []*Authority
- func (x *TransactionRaw) GetContract() []*Transaction_Contract
- func (x *TransactionRaw) GetData() []byte
- func (x *TransactionRaw) GetExpiration() int64
- func (x *TransactionRaw) GetFeeLimit() int64
- func (x *TransactionRaw) GetRefBlockBytes() []byte
- func (x *TransactionRaw) GetRefBlockHash() []byte
- func (x *TransactionRaw) GetRefBlockNum() int64
- func (x *TransactionRaw) GetScripts() []byte
- func (x *TransactionRaw) GetTimestamp() int64
- func (*TransactionRaw) ProtoMessage()
- func (x *TransactionRaw) ProtoReflect() protoreflect.Message
- func (x *TransactionRaw) Reset()
- func (x *TransactionRaw) String() string
- type TransactionRet
- func (*TransactionRet) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionRet) GetBlockNumber() int64
- func (x *TransactionRet) GetBlockTimeStamp() int64
- func (x *TransactionRet) GetTransactioninfo() []*TransactionInfo
- func (*TransactionRet) ProtoMessage()
- func (x *TransactionRet) ProtoReflect() protoreflect.Message
- func (x *TransactionRet) Reset()
- func (x *TransactionRet) String() string
- type TransactionSign
- func (*TransactionSign) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionSign) GetPrivateKey() []byte
- func (x *TransactionSign) GetTransaction() *Transaction
- func (*TransactionSign) ProtoMessage()
- func (x *TransactionSign) ProtoReflect() protoreflect.Message
- func (x *TransactionSign) Reset()
- func (x *TransactionSign) String() string
- type Transaction_Contract
- func (*Transaction_Contract) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Contract) GetContractName() []byte
- func (x *Transaction_Contract) GetParameter() *anypb.Any
- func (x *Transaction_Contract) GetPermissionId() int32
- func (x *Transaction_Contract) GetProvider() []byte
- func (x *Transaction_Contract) GetType() Transaction_Contract_ContractType
- func (*Transaction_Contract) ProtoMessage()
- func (x *Transaction_Contract) ProtoReflect() protoreflect.Message
- func (x *Transaction_Contract) Reset()
- func (x *Transaction_Contract) String() string
- type Transaction_Contract_ContractType
- func (Transaction_Contract_ContractType) Descriptor() protoreflect.EnumDescriptor
- func (x Transaction_Contract_ContractType) Enum() *Transaction_Contract_ContractType
- func (Transaction_Contract_ContractType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Transaction_Contract_ContractType) Number() protoreflect.EnumNumber
- func (x Transaction_Contract_ContractType) String() string
- func (Transaction_Contract_ContractType) Type() protoreflect.EnumType
- type Transaction_Result
- func (*Transaction_Result) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Result) GetAssetIssueID() string
- func (x *Transaction_Result) GetContractRet() Transaction_ResultContractResult
- func (x *Transaction_Result) GetExchangeId() int64
- func (x *Transaction_Result) GetExchangeInjectAnotherAmount() int64
- func (x *Transaction_Result) GetExchangeReceivedAmount() int64
- func (x *Transaction_Result) GetExchangeWithdrawAnotherAmount() int64
- func (x *Transaction_Result) GetFee() int64
- func (x *Transaction_Result) GetOrderDetails() []*MarketOrderDetail
- func (x *Transaction_Result) GetOrderId() []byte
- func (x *Transaction_Result) GetRet() Transaction_ResultCode
- func (x *Transaction_Result) GetShieldedTransactionFee() int64
- func (x *Transaction_Result) GetUnfreezeAmount() int64
- func (x *Transaction_Result) GetWithdrawAmount() int64
- func (x *Transaction_Result) GetWithdrawExpireAmount() int64
- func (*Transaction_Result) ProtoMessage()
- func (x *Transaction_Result) ProtoReflect() protoreflect.Message
- func (x *Transaction_Result) Reset()
- func (x *Transaction_Result) String() string
- type Transaction_ResultCode
- func (Transaction_ResultCode) Descriptor() protoreflect.EnumDescriptor
- func (x Transaction_ResultCode) Enum() *Transaction_ResultCode
- func (Transaction_ResultCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Transaction_ResultCode) Number() protoreflect.EnumNumber
- func (x Transaction_ResultCode) String() string
- func (Transaction_ResultCode) Type() protoreflect.EnumType
- type Transaction_ResultContractResult
- func (Transaction_ResultContractResult) Descriptor() protoreflect.EnumDescriptor
- func (x Transaction_ResultContractResult) Enum() *Transaction_ResultContractResult
- func (Transaction_ResultContractResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x Transaction_ResultContractResult) Number() protoreflect.EnumNumber
- func (x Transaction_ResultContractResult) String() string
- func (Transaction_ResultContractResult) Type() protoreflect.EnumType
- type Transactions
- type TransferAssetContract
- func (*TransferAssetContract) Descriptor() ([]byte, []int)deprecated
- func (x *TransferAssetContract) GetAmount() int64
- func (x *TransferAssetContract) GetAssetName() []byte
- func (x *TransferAssetContract) GetOwnerAddress() []byte
- func (x *TransferAssetContract) GetToAddress() []byte
- func (*TransferAssetContract) ProtoMessage()
- func (x *TransferAssetContract) ProtoReflect() protoreflect.Message
- func (x *TransferAssetContract) Reset()
- func (x *TransferAssetContract) String() string
- type TransferContract
- func (*TransferContract) Descriptor() ([]byte, []int)deprecated
- func (x *TransferContract) GetAmount() int64
- func (x *TransferContract) GetOwnerAddress() []byte
- func (x *TransferContract) GetToAddress() []byte
- func (*TransferContract) ProtoMessage()
- func (x *TransferContract) ProtoReflect() protoreflect.Message
- func (x *TransferContract) Reset()
- func (x *TransferContract) String() string
- type TriggerSmartContract
- func (*TriggerSmartContract) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerSmartContract) GetCallTokenValue() int64
- func (x *TriggerSmartContract) GetCallValue() int64
- func (x *TriggerSmartContract) GetContractAddress() []byte
- func (x *TriggerSmartContract) GetData() []byte
- func (x *TriggerSmartContract) GetOwnerAddress() []byte
- func (x *TriggerSmartContract) GetTokenId() int64
- func (*TriggerSmartContract) ProtoMessage()
- func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message
- func (x *TriggerSmartContract) Reset()
- func (x *TriggerSmartContract) String() string
- type UnDelegateResourceContract
- func (*UnDelegateResourceContract) Descriptor() ([]byte, []int)deprecated
- func (x *UnDelegateResourceContract) GetBalance() int64
- func (x *UnDelegateResourceContract) GetOwnerAddress() []byte
- func (x *UnDelegateResourceContract) GetReceiverAddress() []byte
- func (x *UnDelegateResourceContract) GetResource() ResourceCode
- func (*UnDelegateResourceContract) ProtoMessage()
- func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message
- func (x *UnDelegateResourceContract) Reset()
- func (x *UnDelegateResourceContract) String() string
- type UnfreezeAssetContract
- func (*UnfreezeAssetContract) Descriptor() ([]byte, []int)deprecated
- func (x *UnfreezeAssetContract) GetOwnerAddress() []byte
- func (*UnfreezeAssetContract) ProtoMessage()
- func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message
- func (x *UnfreezeAssetContract) Reset()
- func (x *UnfreezeAssetContract) String() string
- type UnfreezeBalanceContract
- func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int)deprecated
- func (x *UnfreezeBalanceContract) GetOwnerAddress() []byte
- func (x *UnfreezeBalanceContract) GetReceiverAddress() []byte
- func (x *UnfreezeBalanceContract) GetResource() ResourceCode
- func (*UnfreezeBalanceContract) ProtoMessage()
- func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message
- func (x *UnfreezeBalanceContract) Reset()
- func (x *UnfreezeBalanceContract) String() string
- type UnfreezeBalanceV2Contract
- func (*UnfreezeBalanceV2Contract) Descriptor() ([]byte, []int)deprecated
- func (x *UnfreezeBalanceV2Contract) GetOwnerAddress() []byte
- func (x *UnfreezeBalanceV2Contract) GetResource() ResourceCode
- func (x *UnfreezeBalanceV2Contract) GetUnfreezeBalance() int64
- func (*UnfreezeBalanceV2Contract) ProtoMessage()
- func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message
- func (x *UnfreezeBalanceV2Contract) Reset()
- func (x *UnfreezeBalanceV2Contract) String() string
- type UpdateAssetContract
- func (*UpdateAssetContract) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAssetContract) GetDescription() []byte
- func (x *UpdateAssetContract) GetNewLimit() int64
- func (x *UpdateAssetContract) GetNewPublicLimit() int64
- func (x *UpdateAssetContract) GetOwnerAddress() []byte
- func (x *UpdateAssetContract) GetUrl() []byte
- func (*UpdateAssetContract) ProtoMessage()
- func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message
- func (x *UpdateAssetContract) Reset()
- func (x *UpdateAssetContract) String() string
- type UpdateBrokerageContract
- func (*UpdateBrokerageContract) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBrokerageContract) GetBrokerage() int32
- func (x *UpdateBrokerageContract) GetOwnerAddress() []byte
- func (*UpdateBrokerageContract) ProtoMessage()
- func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message
- func (x *UpdateBrokerageContract) Reset()
- func (x *UpdateBrokerageContract) String() string
- type UpdateEnergyLimitContract
- func (*UpdateEnergyLimitContract) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEnergyLimitContract) GetContractAddress() []byte
- func (x *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64
- func (x *UpdateEnergyLimitContract) GetOwnerAddress() []byte
- func (*UpdateEnergyLimitContract) ProtoMessage()
- func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message
- func (x *UpdateEnergyLimitContract) Reset()
- func (x *UpdateEnergyLimitContract) String() string
- type UpdateSettingContract
- func (*UpdateSettingContract) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettingContract) GetConsumeUserResourcePercent() int64
- func (x *UpdateSettingContract) GetContractAddress() []byte
- func (x *UpdateSettingContract) GetOwnerAddress() []byte
- func (*UpdateSettingContract) ProtoMessage()
- func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingContract) Reset()
- func (x *UpdateSettingContract) String() string
- type Vote
- type VoteAssetContract
- func (*VoteAssetContract) Descriptor() ([]byte, []int)deprecated
- func (x *VoteAssetContract) GetCount() int32
- func (x *VoteAssetContract) GetOwnerAddress() []byte
- func (x *VoteAssetContract) GetSupport() bool
- func (x *VoteAssetContract) GetVoteAddress() [][]byte
- func (*VoteAssetContract) ProtoMessage()
- func (x *VoteAssetContract) ProtoReflect() protoreflect.Message
- func (x *VoteAssetContract) Reset()
- func (x *VoteAssetContract) String() string
- type VoteWitnessContract
- func (*VoteWitnessContract) Descriptor() ([]byte, []int)deprecated
- func (x *VoteWitnessContract) GetOwnerAddress() []byte
- func (x *VoteWitnessContract) GetSupport() bool
- func (x *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote
- func (*VoteWitnessContract) ProtoMessage()
- func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message
- func (x *VoteWitnessContract) Reset()
- func (x *VoteWitnessContract) String() string
- type VoteWitnessContract_Vote
- func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int)deprecated
- func (x *VoteWitnessContract_Vote) GetVoteAddress() []byte
- func (x *VoteWitnessContract_Vote) GetVoteCount() int64
- func (*VoteWitnessContract_Vote) ProtoMessage()
- func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message
- func (x *VoteWitnessContract_Vote) Reset()
- func (x *VoteWitnessContract_Vote) String() string
- type Votes
- func (*Votes) Descriptor() ([]byte, []int)deprecated
- func (x *Votes) GetAddress() []byte
- func (x *Votes) GetNewVotes() []*Vote
- func (x *Votes) GetOldVotes() []*Vote
- func (*Votes) ProtoMessage()
- func (x *Votes) ProtoReflect() protoreflect.Message
- func (x *Votes) Reset()
- func (x *Votes) String() string
- type WithdrawBalanceContract
- func (*WithdrawBalanceContract) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawBalanceContract) GetOwnerAddress() []byte
- func (*WithdrawBalanceContract) ProtoMessage()
- func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message
- func (x *WithdrawBalanceContract) Reset()
- func (x *WithdrawBalanceContract) String() string
- type WithdrawExpireUnfreezeContract
- func (*WithdrawExpireUnfreezeContract) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawExpireUnfreezeContract) GetOwnerAddress() []byte
- func (*WithdrawExpireUnfreezeContract) ProtoMessage()
- func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message
- func (x *WithdrawExpireUnfreezeContract) Reset()
- func (x *WithdrawExpireUnfreezeContract) String() string
- type Witness
- func (*Witness) Descriptor() ([]byte, []int)deprecated
- func (x *Witness) GetAddress() []byte
- func (x *Witness) GetIsJobs() bool
- func (x *Witness) GetLatestBlockNum() int64
- func (x *Witness) GetLatestSlotNum() int64
- func (x *Witness) GetPubKey() []byte
- func (x *Witness) GetTotalMissed() int64
- func (x *Witness) GetTotalProduced() int64
- func (x *Witness) GetUrl() string
- func (x *Witness) GetVoteCount() int64
- func (*Witness) ProtoMessage()
- func (x *Witness) ProtoReflect() protoreflect.Message
- func (x *Witness) Reset()
- func (x *Witness) String() string
- type WitnessCreateContract
- func (*WitnessCreateContract) Descriptor() ([]byte, []int)deprecated
- func (x *WitnessCreateContract) GetOwnerAddress() []byte
- func (x *WitnessCreateContract) GetUrl() []byte
- func (*WitnessCreateContract) ProtoMessage()
- func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message
- func (x *WitnessCreateContract) Reset()
- func (x *WitnessCreateContract) String() string
- type WitnessUpdateContract
- func (*WitnessUpdateContract) Descriptor() ([]byte, []int)deprecated
- func (x *WitnessUpdateContract) GetOwnerAddress() []byte
- func (x *WitnessUpdateContract) GetUpdateUrl() []byte
- func (*WitnessUpdateContract) ProtoMessage()
- func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message
- func (x *WitnessUpdateContract) Reset()
- func (x *WitnessUpdateContract) String() string
Constants ¶
This section is empty.
Variables ¶
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.
var ( ReasonCode_name = map[int32]string{ 0: "REQUESTED", 2: "BAD_PROTOCOL", 4: "TOO_MANY_PEERS", 5: "DUPLICATE_PEER", 6: "INCOMPATIBLE_PROTOCOL", 7: "RANDOM_ELIMINATION", 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", 35: "LIGHT_NODE_SYNC_FAIL", 255: "UNKNOWN", } ReasonCode_value = map[string]int32{ "REQUESTED": 0, "BAD_PROTOCOL": 2, "TOO_MANY_PEERS": 4, "DUPLICATE_PEER": 5, "INCOMPATIBLE_PROTOCOL": 6, "RANDOM_ELIMINATION": 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, "LIGHT_NODE_SYNC_FAIL": 35, "UNKNOWN": 255, } )
Enum value maps for ReasonCode.
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.
var ( MarketOrder_State_name = map[int32]string{ 0: "ACTIVE", 1: "INACTIVE", 2: "CANCELED", } MarketOrder_State_value = map[string]int32{ "ACTIVE": 0, "INACTIVE": 1, "CANCELED": 2, } )
Enum value maps for MarketOrder_State.
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.
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", 52: "MarketSellAssetContract", 53: "MarketCancelOrderContract", 54: "FreezeBalanceV2Contract", 55: "UnfreezeBalanceV2Contract", 56: "WithdrawExpireUnfreezeContract", 57: "DelegateResourceContract", 58: "UnDelegateResourceContract", } 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, "MarketSellAssetContract": 52, "MarketCancelOrderContract": 53, "FreezeBalanceV2Contract": 54, "UnfreezeBalanceV2Contract": 55, "WithdrawExpireUnfreezeContract": 56, "DelegateResourceContract": 57, "UnDelegateResourceContract": 58, } )
Enum value maps for Transaction_Contract_ContractType.
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.
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", 15: "INVALID_CODE", } 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, "INVALID_CODE": 15, } )
Enum value maps for Transaction_ResultContractResult.
var ( TransactionInfoCode_name = map[int32]string{ 0: "SUCESS", 1: "FAILED", } TransactionInfoCode_value = map[string]int32{ "SUCESS": 0, "FAILED": 1, } )
Enum value maps for TransactionInfoCode.
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.
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.
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.
var ( PBFTMessage_MsgType_name = map[int32]string{ 0: "VIEW_CHANGE", 1: "REQUEST", 2: "PREPREPARE", 3: "PREPARE", 4: "COMMIT", } PBFTMessage_MsgType_value = map[string]int32{ "VIEW_CHANGE": 0, "REQUEST": 1, "PREPREPARE": 2, "PREPARE": 3, "COMMIT": 4, } )
Enum value maps for PBFTMessage_MsgType.
var ( PBFTMessage_DataType_name = map[int32]string{ 0: "BLOCK", 1: "SRL", } PBFTMessage_DataType_value = map[string]int32{ "BLOCK": 0, "SRL": 1, } )
Enum value maps for PBFTMessage_DataType.
var ( ResourceCode_name = map[int32]string{ 0: "BANDWIDTH", 1: "ENERGY", 2: "TRON_POWER", } ResourceCode_value = map[string]int32{ "BANDWIDTH": 0, "ENERGY": 1, "TRON_POWER": 2, } )
Enum value maps for ResourceCode.
var ( SmartContract_ABI_Entry_EntryType_name = map[int32]string{ 0: "UnknownEntryType", 1: "Constructor", 2: "Function", 3: "Event", 4: "Fallback", 5: "Receive", 6: "Error", } SmartContract_ABI_Entry_EntryType_value = map[string]int32{ "UnknownEntryType": 0, "Constructor": 1, "Function": 2, "Event": 3, "Fallback": 4, "Receive": 5, "Error": 6, } )
Enum value maps for SmartContract_ABI_Entry_EntryType.
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.
var File_core_Discover_proto protoreflect.FileDescriptor
var File_core_TronInventoryItems_proto protoreflect.FileDescriptor
var File_core_Tron_proto protoreflect.FileDescriptor
var File_core_account_contract_proto protoreflect.FileDescriptor
var File_core_asset_issue_contract_proto protoreflect.FileDescriptor
var File_core_balance_contract_proto protoreflect.FileDescriptor
var File_core_common_proto protoreflect.FileDescriptor
var File_core_exchange_contract_proto protoreflect.FileDescriptor
var File_core_market_contract_proto protoreflect.FileDescriptor
var File_core_proposal_contract_proto protoreflect.FileDescriptor
var File_core_shield_contract_proto protoreflect.FileDescriptor
var File_core_smart_contract_proto protoreflect.FileDescriptor
var File_core_storage_contract_proto protoreflect.FileDescriptor
var File_core_vote_asset_contract_proto protoreflect.FileDescriptor
var File_core_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 */ OldTronPower int64 `protobuf:"varint,46,opt,name=old_tron_power,json=oldTronPower,proto3" json:"old_tron_power,omitempty"` TronPower *Account_Frozen `protobuf:"bytes,47,opt,name=tron_power,json=tronPower,proto3" json:"tron_power,omitempty"` AssetOptimized bool `protobuf:"varint,60,opt,name=asset_optimized,json=assetOptimized,proto3" json:"asset_optimized,omitempty"` // 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"` NetWindowSize int64 `protobuf:"varint,24,opt,name=net_window_size,json=netWindowSize,proto3" json:"net_window_size,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"` FrozenV2 []*Account_FreezeV2 `protobuf:"bytes,34,rep,name=frozenV2,proto3" json:"frozenV2,omitempty"` UnfrozenV2 []*Account_UnFreezeV2 `protobuf:"bytes,35,rep,name=unfrozenV2,proto3" json:"unfrozenV2,omitempty"` DelegatedFrozenV2BalanceForBandwidth int64 `` /* 177-byte string literal not displayed */ AcquiredDelegatedFrozenV2BalanceForBandwidth int64 `` /* 203-byte string literal not displayed */ // contains filtered or unexported fields }
Account
func (*Account) Descriptor
deprecated
func (*Account) GetAccountId ¶
func (*Account) GetAccountName ¶
func (*Account) GetAccountResource ¶
func (x *Account) GetAccountResource() *Account_AccountResource
func (*Account) GetAcquiredDelegatedFrozenBalanceForBandwidth ¶
func (*Account) GetAcquiredDelegatedFrozenV2BalanceForBandwidth ¶
func (*Account) GetActivePermission ¶
func (x *Account) GetActivePermission() []*Permission
func (*Account) GetAddress ¶
func (*Account) GetAllowance ¶
func (*Account) GetAssetIssuedName ¶
func (*Account) GetAssetIssued_ID ¶
func (*Account) GetAssetOptimized ¶
func (*Account) GetAssetV2 ¶
func (*Account) GetBalance ¶
func (*Account) GetCodeHash ¶
func (*Account) GetCreateTime ¶
func (*Account) GetDelegatedFrozenBalanceForBandwidth ¶
func (*Account) GetDelegatedFrozenV2BalanceForBandwidth ¶
func (*Account) GetFreeAssetNetUsage ¶
func (*Account) GetFreeAssetNetUsageV2 ¶
func (*Account) GetFreeNetUsage ¶
func (*Account) GetFrozen ¶
func (x *Account) GetFrozen() []*Account_Frozen
func (*Account) GetFrozenSupply ¶
func (x *Account) GetFrozenSupply() []*Account_Frozen
func (*Account) GetFrozenV2 ¶
func (x *Account) GetFrozenV2() []*Account_FreezeV2
func (*Account) GetIsCommittee ¶
func (*Account) GetIsWitness ¶
func (*Account) GetLatestAssetOperationTime ¶
func (*Account) GetLatestAssetOperationTimeV2 ¶
func (*Account) GetLatestConsumeFreeTime ¶
func (*Account) GetLatestConsumeTime ¶
func (*Account) GetLatestOprationTime ¶
func (*Account) GetLatestWithdrawTime ¶
func (*Account) GetNetUsage ¶
func (*Account) GetNetWindowSize ¶
func (*Account) GetOldTronPower ¶
func (*Account) GetOwnerPermission ¶
func (x *Account) GetOwnerPermission() *Permission
func (*Account) GetTronPower ¶
func (x *Account) GetTronPower() *Account_Frozen
func (*Account) GetType ¶
func (x *Account) GetType() AccountType
func (*Account) GetUnfrozenV2 ¶
func (x *Account) GetUnfrozenV2() []*Account_UnFreezeV2
func (*Account) GetWitnessPermission ¶
func (x *Account) GetWitnessPermission() *Permission
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountBalanceRequest ¶
type AccountBalanceRequest struct { AccountIdentifier *AccountIdentifier `protobuf:"bytes,1,opt,name=account_identifier,json=accountIdentifier,proto3" json:"account_identifier,omitempty"` BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,2,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` // contains filtered or unexported fields }
func (*AccountBalanceRequest) Descriptor
deprecated
func (*AccountBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountBalanceRequest.ProtoReflect.Descriptor instead.
func (*AccountBalanceRequest) GetAccountIdentifier ¶
func (x *AccountBalanceRequest) GetAccountIdentifier() *AccountIdentifier
func (*AccountBalanceRequest) GetBlockIdentifier ¶
func (x *AccountBalanceRequest) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier
func (*AccountBalanceRequest) ProtoMessage ¶
func (*AccountBalanceRequest) ProtoMessage()
func (*AccountBalanceRequest) ProtoReflect ¶
func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message
func (*AccountBalanceRequest) Reset ¶
func (x *AccountBalanceRequest) Reset()
func (*AccountBalanceRequest) String ¶
func (x *AccountBalanceRequest) String() string
type AccountBalanceResponse ¶
type AccountBalanceResponse struct { Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,2,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` // contains filtered or unexported fields }
func (*AccountBalanceResponse) Descriptor
deprecated
func (*AccountBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountBalanceResponse.ProtoReflect.Descriptor instead.
func (*AccountBalanceResponse) GetBalance ¶
func (x *AccountBalanceResponse) GetBalance() int64
func (*AccountBalanceResponse) GetBlockIdentifier ¶
func (x *AccountBalanceResponse) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier
func (*AccountBalanceResponse) ProtoMessage ¶
func (*AccountBalanceResponse) ProtoMessage()
func (*AccountBalanceResponse) ProtoReflect ¶
func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message
func (*AccountBalanceResponse) Reset ¶
func (x *AccountBalanceResponse) Reset()
func (*AccountBalanceResponse) String ¶
func (x *AccountBalanceResponse) 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) GetAddress ¶
func (*AccountId) ProtoMessage ¶
func (*AccountId) ProtoMessage()
func (*AccountId) ProtoReflect ¶
func (x *AccountId) ProtoReflect() protoreflect.Message
type AccountIdentifier ¶
type AccountIdentifier struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*AccountIdentifier) Descriptor
deprecated
func (*AccountIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use AccountIdentifier.ProtoReflect.Descriptor instead.
func (*AccountIdentifier) GetAddress ¶
func (x *AccountIdentifier) GetAddress() []byte
func (*AccountIdentifier) ProtoMessage ¶
func (*AccountIdentifier) ProtoMessage()
func (*AccountIdentifier) ProtoReflect ¶
func (x *AccountIdentifier) ProtoReflect() protoreflect.Message
func (*AccountIdentifier) Reset ¶
func (x *AccountIdentifier) Reset()
func (*AccountIdentifier) String ¶
func (x *AccountIdentifier) 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 (x *AccountPermissionUpdateContract) GetOwner() *Permission
func (*AccountPermissionUpdateContract) GetOwnerAddress ¶
func (x *AccountPermissionUpdateContract) GetOwnerAddress() []byte
func (*AccountPermissionUpdateContract) GetWitness ¶
func (x *AccountPermissionUpdateContract) GetWitness() *Permission
func (*AccountPermissionUpdateContract) ProtoMessage ¶
func (*AccountPermissionUpdateContract) ProtoMessage()
func (*AccountPermissionUpdateContract) ProtoReflect ¶
func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message
func (*AccountPermissionUpdateContract) Reset ¶
func (x *AccountPermissionUpdateContract) Reset()
func (*AccountPermissionUpdateContract) String ¶
func (x *AccountPermissionUpdateContract) String() string
type AccountTrace ¶
type AccountTrace struct { Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` Placeholder int64 `protobuf:"varint,99,opt,name=placeholder,proto3" json:"placeholder,omitempty"` // contains filtered or unexported fields }
func (*AccountTrace) Descriptor
deprecated
func (*AccountTrace) Descriptor() ([]byte, []int)
Deprecated: Use AccountTrace.ProtoReflect.Descriptor instead.
func (*AccountTrace) GetBalance ¶
func (x *AccountTrace) GetBalance() int64
func (*AccountTrace) GetPlaceholder ¶
func (x *AccountTrace) GetPlaceholder() int64
func (*AccountTrace) ProtoMessage ¶
func (*AccountTrace) ProtoMessage()
func (*AccountTrace) ProtoReflect ¶
func (x *AccountTrace) ProtoReflect() protoreflect.Message
func (*AccountTrace) Reset ¶
func (x *AccountTrace) Reset()
func (*AccountTrace) String ¶
func (x *AccountTrace) String() string
type AccountType ¶
type AccountType int32
const ( AccountType_Normal AccountType = 0 AccountType_AssetIssue AccountType = 1 AccountType_Contract AccountType = 2 )
func (AccountType) Descriptor ¶
func (AccountType) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (AccountType) Type() protoreflect.EnumType
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 */ EnergyWindowSize int64 `protobuf:"varint,9,opt,name=energy_window_size,json=energyWindowSize,proto3" json:"energy_window_size,omitempty"` DelegatedFrozenV2BalanceForEnergy int64 `` /* 168-byte string literal not displayed */ AcquiredDelegatedFrozenV2BalanceForEnergy int64 `` /* 194-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) GetAcquiredDelegatedFrozenV2BalanceForEnergy ¶
func (x *Account_AccountResource) GetAcquiredDelegatedFrozenV2BalanceForEnergy() int64
func (*Account_AccountResource) GetDelegatedFrozenBalanceForEnergy ¶
func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64
func (*Account_AccountResource) GetDelegatedFrozenV2BalanceForEnergy ¶
func (x *Account_AccountResource) GetDelegatedFrozenV2BalanceForEnergy() int64
func (*Account_AccountResource) GetEnergyUsage ¶
func (x *Account_AccountResource) GetEnergyUsage() int64
func (*Account_AccountResource) GetEnergyWindowSize ¶
func (x *Account_AccountResource) GetEnergyWindowSize() 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_FreezeV2 ¶
type Account_FreezeV2 struct { Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Account_FreezeV2) Descriptor
deprecated
func (*Account_FreezeV2) Descriptor() ([]byte, []int)
Deprecated: Use Account_FreezeV2.ProtoReflect.Descriptor instead.
func (*Account_FreezeV2) GetAmount ¶
func (x *Account_FreezeV2) GetAmount() int64
func (*Account_FreezeV2) GetType ¶
func (x *Account_FreezeV2) GetType() ResourceCode
func (*Account_FreezeV2) ProtoMessage ¶
func (*Account_FreezeV2) ProtoMessage()
func (*Account_FreezeV2) ProtoReflect ¶
func (x *Account_FreezeV2) ProtoReflect() protoreflect.Message
func (*Account_FreezeV2) Reset ¶
func (x *Account_FreezeV2) Reset()
func (*Account_FreezeV2) String ¶
func (x *Account_FreezeV2) 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 Account_UnFreezeV2 ¶
type Account_UnFreezeV2 struct { Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` UnfreezeAmount int64 `protobuf:"varint,3,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` UnfreezeExpireTime int64 `protobuf:"varint,4,opt,name=unfreeze_expire_time,json=unfreezeExpireTime,proto3" json:"unfreeze_expire_time,omitempty"` // contains filtered or unexported fields }
func (*Account_UnFreezeV2) Descriptor
deprecated
func (*Account_UnFreezeV2) Descriptor() ([]byte, []int)
Deprecated: Use Account_UnFreezeV2.ProtoReflect.Descriptor instead.
func (*Account_UnFreezeV2) GetType ¶
func (x *Account_UnFreezeV2) GetType() ResourceCode
func (*Account_UnFreezeV2) GetUnfreezeAmount ¶
func (x *Account_UnFreezeV2) GetUnfreezeAmount() int64
func (*Account_UnFreezeV2) GetUnfreezeExpireTime ¶
func (x *Account_UnFreezeV2) GetUnfreezeExpireTime() int64
func (*Account_UnFreezeV2) ProtoMessage ¶
func (*Account_UnFreezeV2) ProtoMessage()
func (*Account_UnFreezeV2) ProtoReflect ¶
func (x *Account_UnFreezeV2) ProtoReflect() protoreflect.Message
func (*Account_UnFreezeV2) Reset ¶
func (x *Account_UnFreezeV2) Reset()
func (*Account_UnFreezeV2) String ¶
func (x *Account_UnFreezeV2) 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 (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message
func (*AssetIssueContract_FrozenSupply) Reset ¶
func (x *AssetIssueContract_FrozenSupply) Reset()
func (*AssetIssueContract_FrozenSupply) String ¶
func (x *AssetIssueContract_FrozenSupply) String() 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) GetAccount ¶
func (*Authority) GetPermissionName ¶
func (*Authority) ProtoMessage ¶
func (*Authority) ProtoMessage()
func (*Authority) ProtoReflect ¶
func (x *Authority) ProtoReflect() protoreflect.Message
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) 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
type BlockBalanceTrace ¶
type BlockBalanceTrace struct { BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,1,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` TransactionBalanceTrace []*TransactionBalanceTrace `` // BlockIdentifier parent_block_identifier = 4; /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BlockBalanceTrace) Descriptor
deprecated
func (*BlockBalanceTrace) Descriptor() ([]byte, []int)
Deprecated: Use BlockBalanceTrace.ProtoReflect.Descriptor instead.
func (*BlockBalanceTrace) GetBlockIdentifier ¶
func (x *BlockBalanceTrace) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier
func (*BlockBalanceTrace) GetTimestamp ¶
func (x *BlockBalanceTrace) GetTimestamp() int64
func (*BlockBalanceTrace) GetTransactionBalanceTrace ¶
func (x *BlockBalanceTrace) GetTransactionBalanceTrace() []*TransactionBalanceTrace
func (*BlockBalanceTrace) ProtoMessage ¶
func (*BlockBalanceTrace) ProtoMessage()
func (*BlockBalanceTrace) ProtoReflect ¶
func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message
func (*BlockBalanceTrace) Reset ¶
func (x *BlockBalanceTrace) Reset()
func (*BlockBalanceTrace) String ¶
func (x *BlockBalanceTrace) String() string
type BlockBalanceTrace_BlockIdentifier ¶
type BlockBalanceTrace_BlockIdentifier 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 (*BlockBalanceTrace_BlockIdentifier) Descriptor
deprecated
func (*BlockBalanceTrace_BlockIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use BlockBalanceTrace_BlockIdentifier.ProtoReflect.Descriptor instead.
func (*BlockBalanceTrace_BlockIdentifier) GetHash ¶
func (x *BlockBalanceTrace_BlockIdentifier) GetHash() []byte
func (*BlockBalanceTrace_BlockIdentifier) GetNumber ¶
func (x *BlockBalanceTrace_BlockIdentifier) GetNumber() int64
func (*BlockBalanceTrace_BlockIdentifier) ProtoMessage ¶
func (*BlockBalanceTrace_BlockIdentifier) ProtoMessage()
func (*BlockBalanceTrace_BlockIdentifier) ProtoReflect ¶
func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message
func (*BlockBalanceTrace_BlockIdentifier) Reset ¶
func (x *BlockBalanceTrace_BlockIdentifier) Reset()
func (*BlockBalanceTrace_BlockIdentifier) String ¶
func (x *BlockBalanceTrace_BlockIdentifier) 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) Descriptor() protoreflect.EnumDescriptor
func (BlockInventory_Type) Enum ¶
func (x BlockInventory_Type) Enum() *BlockInventory_Type
func (BlockInventory_Type) EnumDescriptor
deprecated
func (BlockInventory_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use BlockInventory_Type.Descriptor instead.
func (BlockInventory_Type) Number ¶
func (x BlockInventory_Type) Number() protoreflect.EnumNumber
func (BlockInventory_Type) String ¶
func (x BlockInventory_Type) String() string
func (BlockInventory_Type) Type ¶
func (BlockInventory_Type) Type() protoreflect.EnumType
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 (x *ChainParameters_ChainParameter) GetKey() string
func (*ChainParameters_ChainParameter) GetValue ¶
func (x *ChainParameters_ChainParameter) GetValue() int64
func (*ChainParameters_ChainParameter) ProtoMessage ¶
func (*ChainParameters_ChainParameter) ProtoMessage()
func (*ChainParameters_ChainParameter) ProtoReflect ¶
func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message
func (*ChainParameters_ChainParameter) Reset ¶
func (x *ChainParameters_ChainParameter) Reset()
func (*ChainParameters_ChainParameter) String ¶
func (x *ChainParameters_ChainParameter) String() 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 ContractState ¶
type ContractState struct { EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` EnergyFactor int64 `protobuf:"varint,2,opt,name=energy_factor,json=energyFactor,proto3" json:"energy_factor,omitempty"` UpdateCycle int64 `protobuf:"varint,3,opt,name=update_cycle,json=updateCycle,proto3" json:"update_cycle,omitempty"` // contains filtered or unexported fields }
func (*ContractState) Descriptor
deprecated
func (*ContractState) Descriptor() ([]byte, []int)
Deprecated: Use ContractState.ProtoReflect.Descriptor instead.
func (*ContractState) GetEnergyFactor ¶
func (x *ContractState) GetEnergyFactor() int64
func (*ContractState) GetEnergyUsage ¶
func (x *ContractState) GetEnergyUsage() int64
func (*ContractState) GetUpdateCycle ¶
func (x *ContractState) GetUpdateCycle() int64
func (*ContractState) ProtoMessage ¶
func (*ContractState) ProtoMessage()
func (*ContractState) ProtoReflect ¶
func (x *ContractState) ProtoReflect() protoreflect.Message
func (*ContractState) Reset ¶
func (x *ContractState) Reset()
func (*ContractState) String ¶
func (x *ContractState) 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 DelegateResourceContract ¶
type DelegateResourceContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` Lock bool `protobuf:"varint,5,opt,name=lock,proto3" json:"lock,omitempty"` // contains filtered or unexported fields }
func (*DelegateResourceContract) Descriptor
deprecated
func (*DelegateResourceContract) Descriptor() ([]byte, []int)
Deprecated: Use DelegateResourceContract.ProtoReflect.Descriptor instead.
func (*DelegateResourceContract) GetBalance ¶
func (x *DelegateResourceContract) GetBalance() int64
func (*DelegateResourceContract) GetLock ¶
func (x *DelegateResourceContract) GetLock() bool
func (*DelegateResourceContract) GetOwnerAddress ¶
func (x *DelegateResourceContract) GetOwnerAddress() []byte
func (*DelegateResourceContract) GetReceiverAddress ¶
func (x *DelegateResourceContract) GetReceiverAddress() []byte
func (*DelegateResourceContract) GetResource ¶
func (x *DelegateResourceContract) GetResource() ResourceCode
func (*DelegateResourceContract) ProtoMessage ¶
func (*DelegateResourceContract) ProtoMessage()
func (*DelegateResourceContract) ProtoReflect ¶
func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message
func (*DelegateResourceContract) Reset ¶
func (x *DelegateResourceContract) Reset()
func (*DelegateResourceContract) String ¶
func (x *DelegateResourceContract) 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"` Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,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) GetTimestamp ¶
func (x *DelegatedResourceAccountIndex) GetTimestamp() int64
func (*DelegatedResourceAccountIndex) GetToAccounts ¶
func (x *DelegatedResourceAccountIndex) GetToAccounts() [][]byte
func (*DelegatedResourceAccountIndex) ProtoMessage ¶
func (*DelegatedResourceAccountIndex) ProtoMessage()
func (*DelegatedResourceAccountIndex) ProtoReflect ¶
func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message
func (*DelegatedResourceAccountIndex) Reset ¶
func (x *DelegatedResourceAccountIndex) Reset()
func (*DelegatedResourceAccountIndex) String ¶
func (x *DelegatedResourceAccountIndex) String() 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) GetAddress ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
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) GetCreateTime ¶
func (*Exchange) GetCreatorAddress ¶
func (*Exchange) GetExchangeId ¶
func (*Exchange) GetFirstTokenBalance ¶
func (*Exchange) GetFirstTokenId ¶
func (*Exchange) GetSecondTokenBalance ¶
func (*Exchange) GetSecondTokenId ¶
func (*Exchange) ProtoMessage ¶
func (*Exchange) ProtoMessage()
func (*Exchange) ProtoReflect ¶
func (x *Exchange) ProtoReflect() protoreflect.Message
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 (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message
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 FreezeBalanceV2Contract ¶
type FreezeBalanceV2Contract 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"` Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*FreezeBalanceV2Contract) Descriptor
deprecated
func (*FreezeBalanceV2Contract) Descriptor() ([]byte, []int)
Deprecated: Use FreezeBalanceV2Contract.ProtoReflect.Descriptor instead.
func (*FreezeBalanceV2Contract) GetFrozenBalance ¶
func (x *FreezeBalanceV2Contract) GetFrozenBalance() int64
func (*FreezeBalanceV2Contract) GetOwnerAddress ¶
func (x *FreezeBalanceV2Contract) GetOwnerAddress() []byte
func (*FreezeBalanceV2Contract) GetResource ¶
func (x *FreezeBalanceV2Contract) GetResource() ResourceCode
func (*FreezeBalanceV2Contract) ProtoMessage ¶
func (*FreezeBalanceV2Contract) ProtoMessage()
func (*FreezeBalanceV2Contract) ProtoReflect ¶
func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message
func (*FreezeBalanceV2Contract) Reset ¶
func (x *FreezeBalanceV2Contract) Reset()
func (*FreezeBalanceV2Contract) String ¶
func (x *FreezeBalanceV2Contract) 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"` Address []byte `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` NodeType int32 `protobuf:"varint,9,opt,name=nodeType,proto3" json:"nodeType,omitempty"` LowestBlockNum int64 `protobuf:"varint,10,opt,name=lowestBlockNum,proto3" json:"lowestBlockNum,omitempty"` // contains filtered or unexported fields }
func (*HelloMessage) Descriptor
deprecated
func (*HelloMessage) Descriptor() ([]byte, []int)
Deprecated: Use HelloMessage.ProtoReflect.Descriptor instead.
func (*HelloMessage) GetAddress ¶
func (x *HelloMessage) GetAddress() []byte
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) GetLowestBlockNum ¶
func (x *HelloMessage) GetLowestBlockNum() int64
func (*HelloMessage) GetNodeType ¶
func (x *HelloMessage) GetNodeType() int32
func (*HelloMessage) GetSignature ¶
func (x *HelloMessage) GetSignature() []byte
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 (x *IncrementalMerkleVoucher) GetCursor() *IncrementalMerkleTree
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 (x *IncrementalMerkleVoucher) GetTree() *IncrementalMerkleTree
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 (x *IncrementalMerkleVoucherInfo) GetVouchers() []*IncrementalMerkleVoucher
func (*IncrementalMerkleVoucherInfo) ProtoMessage ¶
func (*IncrementalMerkleVoucherInfo) ProtoMessage()
func (*IncrementalMerkleVoucherInfo) ProtoReflect ¶
func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message
func (*IncrementalMerkleVoucherInfo) Reset ¶
func (x *IncrementalMerkleVoucherInfo) Reset()
func (*IncrementalMerkleVoucherInfo) String ¶
func (x *IncrementalMerkleVoucherInfo) String() 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"` Extra string `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,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) GetExtra ¶
func (x *InternalTransaction) GetExtra() string
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 (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message
func (*InternalTransaction_CallValueInfo) Reset ¶
func (x *InternalTransaction_CallValueInfo) Reset()
func (*InternalTransaction_CallValueInfo) String ¶
func (x *InternalTransaction_CallValueInfo) String() 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) GetType ¶
func (x *Inventory) GetType() Inventory_InventoryType
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) ProtoReflect ¶
func (x *Inventory) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (Inventory_InventoryType) Enum ¶
func (x Inventory_InventoryType) Enum() *Inventory_InventoryType
func (Inventory_InventoryType) EnumDescriptor
deprecated
func (Inventory_InventoryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Inventory_InventoryType.Descriptor instead.
func (Inventory_InventoryType) Number ¶
func (x Inventory_InventoryType) Number() protoreflect.EnumNumber
func (Inventory_InventoryType) String ¶
func (x Inventory_InventoryType) String() string
func (Inventory_InventoryType) Type ¶
func (Inventory_InventoryType) Type() protoreflect.EnumType
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) GetBlockHeaders ¶
func (x *Items) GetBlockHeaders() []*BlockHeader
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
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) Descriptor() protoreflect.EnumDescriptor
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 (x Items_ItemType) Number() protoreflect.EnumNumber
func (Items_ItemType) String ¶
func (x Items_ItemType) String() string
func (Items_ItemType) Type ¶
func (Items_ItemType) Type() protoreflect.EnumType
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) GetAddress ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type MarketAccountOrder ¶
type MarketAccountOrder struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Orders [][]byte `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` // order_id list Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // active count TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*MarketAccountOrder) Descriptor
deprecated
func (*MarketAccountOrder) Descriptor() ([]byte, []int)
Deprecated: Use MarketAccountOrder.ProtoReflect.Descriptor instead.
func (*MarketAccountOrder) GetCount ¶
func (x *MarketAccountOrder) GetCount() int64
func (*MarketAccountOrder) GetOrders ¶
func (x *MarketAccountOrder) GetOrders() [][]byte
func (*MarketAccountOrder) GetOwnerAddress ¶
func (x *MarketAccountOrder) GetOwnerAddress() []byte
func (*MarketAccountOrder) GetTotalCount ¶
func (x *MarketAccountOrder) GetTotalCount() int64
func (*MarketAccountOrder) ProtoMessage ¶
func (*MarketAccountOrder) ProtoMessage()
func (*MarketAccountOrder) ProtoReflect ¶
func (x *MarketAccountOrder) ProtoReflect() protoreflect.Message
func (*MarketAccountOrder) Reset ¶
func (x *MarketAccountOrder) Reset()
func (*MarketAccountOrder) String ¶
func (x *MarketAccountOrder) String() string
type MarketCancelOrderContract ¶
type MarketCancelOrderContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` OrderId []byte `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*MarketCancelOrderContract) Descriptor
deprecated
func (*MarketCancelOrderContract) Descriptor() ([]byte, []int)
Deprecated: Use MarketCancelOrderContract.ProtoReflect.Descriptor instead.
func (*MarketCancelOrderContract) GetOrderId ¶
func (x *MarketCancelOrderContract) GetOrderId() []byte
func (*MarketCancelOrderContract) GetOwnerAddress ¶
func (x *MarketCancelOrderContract) GetOwnerAddress() []byte
func (*MarketCancelOrderContract) ProtoMessage ¶
func (*MarketCancelOrderContract) ProtoMessage()
func (*MarketCancelOrderContract) ProtoReflect ¶
func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message
func (*MarketCancelOrderContract) Reset ¶
func (x *MarketCancelOrderContract) Reset()
func (*MarketCancelOrderContract) String ¶
func (x *MarketCancelOrderContract) String() string
type MarketOrder ¶
type MarketOrder struct { OrderId []byte `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` SellTokenId []byte `protobuf:"bytes,4,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` SellTokenQuantity int64 `protobuf:"varint,5,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` BuyTokenId []byte `protobuf:"bytes,6,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` BuyTokenQuantity int64 `protobuf:"varint,7,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive SellTokenQuantityRemain int64 `` /* 135-byte string literal not displayed */ // When state != ACTIVE and sell_token_quantity_return !=0, //it means that some sell tokens are returned to the account due to insufficient remaining amount SellTokenQuantityReturn int64 `` /* 136-byte string literal not displayed */ State MarketOrder_State `protobuf:"varint,11,opt,name=state,proto3,enum=protocol.MarketOrder_State" json:"state,omitempty"` Prev []byte `protobuf:"bytes,12,opt,name=prev,proto3" json:"prev,omitempty"` Next []byte `protobuf:"bytes,13,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
market
func (*MarketOrder) Descriptor
deprecated
func (*MarketOrder) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrder.ProtoReflect.Descriptor instead.
func (*MarketOrder) GetBuyTokenId ¶
func (x *MarketOrder) GetBuyTokenId() []byte
func (*MarketOrder) GetBuyTokenQuantity ¶
func (x *MarketOrder) GetBuyTokenQuantity() int64
func (*MarketOrder) GetCreateTime ¶
func (x *MarketOrder) GetCreateTime() int64
func (*MarketOrder) GetNext ¶
func (x *MarketOrder) GetNext() []byte
func (*MarketOrder) GetOrderId ¶
func (x *MarketOrder) GetOrderId() []byte
func (*MarketOrder) GetOwnerAddress ¶
func (x *MarketOrder) GetOwnerAddress() []byte
func (*MarketOrder) GetPrev ¶
func (x *MarketOrder) GetPrev() []byte
func (*MarketOrder) GetSellTokenId ¶
func (x *MarketOrder) GetSellTokenId() []byte
func (*MarketOrder) GetSellTokenQuantity ¶
func (x *MarketOrder) GetSellTokenQuantity() int64
func (*MarketOrder) GetSellTokenQuantityRemain ¶
func (x *MarketOrder) GetSellTokenQuantityRemain() int64
func (*MarketOrder) GetSellTokenQuantityReturn ¶
func (x *MarketOrder) GetSellTokenQuantityReturn() int64
func (*MarketOrder) GetState ¶
func (x *MarketOrder) GetState() MarketOrder_State
func (*MarketOrder) ProtoMessage ¶
func (*MarketOrder) ProtoMessage()
func (*MarketOrder) ProtoReflect ¶
func (x *MarketOrder) ProtoReflect() protoreflect.Message
func (*MarketOrder) Reset ¶
func (x *MarketOrder) Reset()
func (*MarketOrder) String ¶
func (x *MarketOrder) String() string
type MarketOrderDetail ¶
type MarketOrderDetail struct { MakerOrderId []byte `protobuf:"bytes,1,opt,name=makerOrderId,proto3" json:"makerOrderId,omitempty"` TakerOrderId []byte `protobuf:"bytes,2,opt,name=takerOrderId,proto3" json:"takerOrderId,omitempty"` FillSellQuantity int64 `protobuf:"varint,3,opt,name=fillSellQuantity,proto3" json:"fillSellQuantity,omitempty"` FillBuyQuantity int64 `protobuf:"varint,4,opt,name=fillBuyQuantity,proto3" json:"fillBuyQuantity,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderDetail) Descriptor
deprecated
func (*MarketOrderDetail) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderDetail.ProtoReflect.Descriptor instead.
func (*MarketOrderDetail) GetFillBuyQuantity ¶
func (x *MarketOrderDetail) GetFillBuyQuantity() int64
func (*MarketOrderDetail) GetFillSellQuantity ¶
func (x *MarketOrderDetail) GetFillSellQuantity() int64
func (*MarketOrderDetail) GetMakerOrderId ¶
func (x *MarketOrderDetail) GetMakerOrderId() []byte
func (*MarketOrderDetail) GetTakerOrderId ¶
func (x *MarketOrderDetail) GetTakerOrderId() []byte
func (*MarketOrderDetail) ProtoMessage ¶
func (*MarketOrderDetail) ProtoMessage()
func (*MarketOrderDetail) ProtoReflect ¶
func (x *MarketOrderDetail) ProtoReflect() protoreflect.Message
func (*MarketOrderDetail) Reset ¶
func (x *MarketOrderDetail) Reset()
func (*MarketOrderDetail) String ¶
func (x *MarketOrderDetail) String() string
type MarketOrderIdList ¶
type MarketOrderIdList struct { Head []byte `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` Tail []byte `protobuf:"bytes,2,opt,name=tail,proto3" json:"tail,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderIdList) Descriptor
deprecated
func (*MarketOrderIdList) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderIdList.ProtoReflect.Descriptor instead.
func (*MarketOrderIdList) GetHead ¶
func (x *MarketOrderIdList) GetHead() []byte
func (*MarketOrderIdList) GetTail ¶
func (x *MarketOrderIdList) GetTail() []byte
func (*MarketOrderIdList) ProtoMessage ¶
func (*MarketOrderIdList) ProtoMessage()
func (*MarketOrderIdList) ProtoReflect ¶
func (x *MarketOrderIdList) ProtoReflect() protoreflect.Message
func (*MarketOrderIdList) Reset ¶
func (x *MarketOrderIdList) Reset()
func (*MarketOrderIdList) String ¶
func (x *MarketOrderIdList) String() string
type MarketOrderList ¶
type MarketOrderList struct { Orders []*MarketOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderList) Descriptor
deprecated
func (*MarketOrderList) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderList.ProtoReflect.Descriptor instead.
func (*MarketOrderList) GetOrders ¶
func (x *MarketOrderList) GetOrders() []*MarketOrder
func (*MarketOrderList) ProtoMessage ¶
func (*MarketOrderList) ProtoMessage()
func (*MarketOrderList) ProtoReflect ¶
func (x *MarketOrderList) ProtoReflect() protoreflect.Message
func (*MarketOrderList) Reset ¶
func (x *MarketOrderList) Reset()
func (*MarketOrderList) String ¶
func (x *MarketOrderList) String() string
type MarketOrderPair ¶
type MarketOrderPair struct { SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderPair) Descriptor
deprecated
func (*MarketOrderPair) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderPair.ProtoReflect.Descriptor instead.
func (*MarketOrderPair) GetBuyTokenId ¶
func (x *MarketOrderPair) GetBuyTokenId() []byte
func (*MarketOrderPair) GetSellTokenId ¶
func (x *MarketOrderPair) GetSellTokenId() []byte
func (*MarketOrderPair) ProtoMessage ¶
func (*MarketOrderPair) ProtoMessage()
func (*MarketOrderPair) ProtoReflect ¶
func (x *MarketOrderPair) ProtoReflect() protoreflect.Message
func (*MarketOrderPair) Reset ¶
func (x *MarketOrderPair) Reset()
func (*MarketOrderPair) String ¶
func (x *MarketOrderPair) String() string
type MarketOrderPairList ¶
type MarketOrderPairList struct { OrderPair []*MarketOrderPair `protobuf:"bytes,1,rep,name=orderPair,proto3" json:"orderPair,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderPairList) Descriptor
deprecated
func (*MarketOrderPairList) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderPairList.ProtoReflect.Descriptor instead.
func (*MarketOrderPairList) GetOrderPair ¶
func (x *MarketOrderPairList) GetOrderPair() []*MarketOrderPair
func (*MarketOrderPairList) ProtoMessage ¶
func (*MarketOrderPairList) ProtoMessage()
func (*MarketOrderPairList) ProtoReflect ¶
func (x *MarketOrderPairList) ProtoReflect() protoreflect.Message
func (*MarketOrderPairList) Reset ¶
func (x *MarketOrderPairList) Reset()
func (*MarketOrderPairList) String ¶
func (x *MarketOrderPairList) String() string
type MarketOrder_State ¶
type MarketOrder_State int32
const ( MarketOrder_ACTIVE MarketOrder_State = 0 MarketOrder_INACTIVE MarketOrder_State = 1 MarketOrder_CANCELED MarketOrder_State = 2 )
func (MarketOrder_State) Descriptor ¶
func (MarketOrder_State) Descriptor() protoreflect.EnumDescriptor
func (MarketOrder_State) Enum ¶
func (x MarketOrder_State) Enum() *MarketOrder_State
func (MarketOrder_State) EnumDescriptor
deprecated
func (MarketOrder_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use MarketOrder_State.Descriptor instead.
func (MarketOrder_State) Number ¶
func (x MarketOrder_State) Number() protoreflect.EnumNumber
func (MarketOrder_State) String ¶
func (x MarketOrder_State) String() string
func (MarketOrder_State) Type ¶
func (MarketOrder_State) Type() protoreflect.EnumType
type MarketPrice ¶
type MarketPrice struct { SellTokenQuantity int64 `protobuf:"varint,1,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` BuyTokenQuantity int64 `protobuf:"varint,2,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // contains filtered or unexported fields }
func (*MarketPrice) Descriptor
deprecated
func (*MarketPrice) Descriptor() ([]byte, []int)
Deprecated: Use MarketPrice.ProtoReflect.Descriptor instead.
func (*MarketPrice) GetBuyTokenQuantity ¶
func (x *MarketPrice) GetBuyTokenQuantity() int64
func (*MarketPrice) GetSellTokenQuantity ¶
func (x *MarketPrice) GetSellTokenQuantity() int64
func (*MarketPrice) ProtoMessage ¶
func (*MarketPrice) ProtoMessage()
func (*MarketPrice) ProtoReflect ¶
func (x *MarketPrice) ProtoReflect() protoreflect.Message
func (*MarketPrice) Reset ¶
func (x *MarketPrice) Reset()
func (*MarketPrice) String ¶
func (x *MarketPrice) String() string
type MarketPriceList ¶
type MarketPriceList struct { SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` Prices []*MarketPrice `protobuf:"bytes,3,rep,name=prices,proto3" json:"prices,omitempty"` // contains filtered or unexported fields }
func (*MarketPriceList) Descriptor
deprecated
func (*MarketPriceList) Descriptor() ([]byte, []int)
Deprecated: Use MarketPriceList.ProtoReflect.Descriptor instead.
func (*MarketPriceList) GetBuyTokenId ¶
func (x *MarketPriceList) GetBuyTokenId() []byte
func (*MarketPriceList) GetPrices ¶
func (x *MarketPriceList) GetPrices() []*MarketPrice
func (*MarketPriceList) GetSellTokenId ¶
func (x *MarketPriceList) GetSellTokenId() []byte
func (*MarketPriceList) ProtoMessage ¶
func (*MarketPriceList) ProtoMessage()
func (*MarketPriceList) ProtoReflect ¶
func (x *MarketPriceList) ProtoReflect() protoreflect.Message
func (*MarketPriceList) Reset ¶
func (x *MarketPriceList) Reset()
func (*MarketPriceList) String ¶
func (x *MarketPriceList) String() string
type MarketSellAssetContract ¶
type MarketSellAssetContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` SellTokenId []byte `protobuf:"bytes,2,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` SellTokenQuantity int64 `protobuf:"varint,3,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` BuyTokenId []byte `protobuf:"bytes,4,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` BuyTokenQuantity int64 `protobuf:"varint,5,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive // contains filtered or unexported fields }
func (*MarketSellAssetContract) Descriptor
deprecated
func (*MarketSellAssetContract) Descriptor() ([]byte, []int)
Deprecated: Use MarketSellAssetContract.ProtoReflect.Descriptor instead.
func (*MarketSellAssetContract) GetBuyTokenId ¶
func (x *MarketSellAssetContract) GetBuyTokenId() []byte
func (*MarketSellAssetContract) GetBuyTokenQuantity ¶
func (x *MarketSellAssetContract) GetBuyTokenQuantity() int64
func (*MarketSellAssetContract) GetOwnerAddress ¶
func (x *MarketSellAssetContract) GetOwnerAddress() []byte
func (*MarketSellAssetContract) GetSellTokenId ¶
func (x *MarketSellAssetContract) GetSellTokenId() []byte
func (*MarketSellAssetContract) GetSellTokenQuantity ¶
func (x *MarketSellAssetContract) GetSellTokenQuantity() int64
func (*MarketSellAssetContract) ProtoMessage ¶
func (*MarketSellAssetContract) ProtoMessage()
func (*MarketSellAssetContract) ProtoReflect ¶
func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message
func (*MarketSellAssetContract) Reset ¶
func (x *MarketSellAssetContract) Reset()
func (*MarketSellAssetContract) String ¶
func (x *MarketSellAssetContract) 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 MetricsInfo ¶
type MetricsInfo struct { Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"` Node *MetricsInfo_NodeInfo `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` Blockchain *MetricsInfo_BlockChainInfo `protobuf:"bytes,3,opt,name=blockchain,proto3" json:"blockchain,omitempty"` Net *MetricsInfo_NetInfo `protobuf:"bytes,4,opt,name=net,proto3" json:"net,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo) Descriptor
deprecated
func (*MetricsInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo) GetBlockchain ¶
func (x *MetricsInfo) GetBlockchain() *MetricsInfo_BlockChainInfo
func (*MetricsInfo) GetInterval ¶
func (x *MetricsInfo) GetInterval() int64
func (*MetricsInfo) GetNet ¶
func (x *MetricsInfo) GetNet() *MetricsInfo_NetInfo
func (*MetricsInfo) GetNode ¶
func (x *MetricsInfo) GetNode() *MetricsInfo_NodeInfo
func (*MetricsInfo) ProtoMessage ¶
func (*MetricsInfo) ProtoMessage()
func (*MetricsInfo) ProtoReflect ¶
func (x *MetricsInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo) Reset ¶
func (x *MetricsInfo) Reset()
func (*MetricsInfo) String ¶
func (x *MetricsInfo) String() string
type MetricsInfo_BlockChainInfo ¶
type MetricsInfo_BlockChainInfo struct { HeadBlockNum int64 `protobuf:"varint,1,opt,name=headBlockNum,proto3" json:"headBlockNum,omitempty"` HeadBlockTimestamp int64 `protobuf:"varint,2,opt,name=headBlockTimestamp,proto3" json:"headBlockTimestamp,omitempty"` HeadBlockHash string `protobuf:"bytes,3,opt,name=headBlockHash,proto3" json:"headBlockHash,omitempty"` ForkCount int32 `protobuf:"varint,4,opt,name=forkCount,proto3" json:"forkCount,omitempty"` FailForkCount int32 `protobuf:"varint,5,opt,name=failForkCount,proto3" json:"failForkCount,omitempty"` BlockProcessTime *MetricsInfo_RateInfo `protobuf:"bytes,6,opt,name=blockProcessTime,proto3" json:"blockProcessTime,omitempty"` Tps *MetricsInfo_RateInfo `protobuf:"bytes,7,opt,name=tps,proto3" json:"tps,omitempty"` TransactionCacheSize int32 `protobuf:"varint,8,opt,name=transactionCacheSize,proto3" json:"transactionCacheSize,omitempty"` MissedTransaction *MetricsInfo_RateInfo `protobuf:"bytes,9,opt,name=missedTransaction,proto3" json:"missedTransaction,omitempty"` Witnesses []*MetricsInfo_BlockChainInfo_Witness `protobuf:"bytes,10,rep,name=witnesses,proto3" json:"witnesses,omitempty"` FailProcessBlockNum int64 `protobuf:"varint,11,opt,name=failProcessBlockNum,proto3" json:"failProcessBlockNum,omitempty"` FailProcessBlockReason string `protobuf:"bytes,12,opt,name=failProcessBlockReason,proto3" json:"failProcessBlockReason,omitempty"` DupWitness []*MetricsInfo_BlockChainInfo_DupWitness `protobuf:"bytes,13,rep,name=dupWitness,proto3" json:"dupWitness,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_BlockChainInfo) Descriptor
deprecated
func (*MetricsInfo_BlockChainInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_BlockChainInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_BlockChainInfo) GetBlockProcessTime ¶
func (x *MetricsInfo_BlockChainInfo) GetBlockProcessTime() *MetricsInfo_RateInfo
func (*MetricsInfo_BlockChainInfo) GetDupWitness ¶
func (x *MetricsInfo_BlockChainInfo) GetDupWitness() []*MetricsInfo_BlockChainInfo_DupWitness
func (*MetricsInfo_BlockChainInfo) GetFailForkCount ¶
func (x *MetricsInfo_BlockChainInfo) GetFailForkCount() int32
func (*MetricsInfo_BlockChainInfo) GetFailProcessBlockNum ¶
func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockNum() int64
func (*MetricsInfo_BlockChainInfo) GetFailProcessBlockReason ¶
func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockReason() string
func (*MetricsInfo_BlockChainInfo) GetForkCount ¶
func (x *MetricsInfo_BlockChainInfo) GetForkCount() int32
func (*MetricsInfo_BlockChainInfo) GetHeadBlockHash ¶
func (x *MetricsInfo_BlockChainInfo) GetHeadBlockHash() string
func (*MetricsInfo_BlockChainInfo) GetHeadBlockNum ¶
func (x *MetricsInfo_BlockChainInfo) GetHeadBlockNum() int64
func (*MetricsInfo_BlockChainInfo) GetHeadBlockTimestamp ¶
func (x *MetricsInfo_BlockChainInfo) GetHeadBlockTimestamp() int64
func (*MetricsInfo_BlockChainInfo) GetMissedTransaction ¶
func (x *MetricsInfo_BlockChainInfo) GetMissedTransaction() *MetricsInfo_RateInfo
func (*MetricsInfo_BlockChainInfo) GetTps ¶
func (x *MetricsInfo_BlockChainInfo) GetTps() *MetricsInfo_RateInfo
func (*MetricsInfo_BlockChainInfo) GetTransactionCacheSize ¶
func (x *MetricsInfo_BlockChainInfo) GetTransactionCacheSize() int32
func (*MetricsInfo_BlockChainInfo) GetWitnesses ¶
func (x *MetricsInfo_BlockChainInfo) GetWitnesses() []*MetricsInfo_BlockChainInfo_Witness
func (*MetricsInfo_BlockChainInfo) ProtoMessage ¶
func (*MetricsInfo_BlockChainInfo) ProtoMessage()
func (*MetricsInfo_BlockChainInfo) ProtoReflect ¶
func (x *MetricsInfo_BlockChainInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_BlockChainInfo) Reset ¶
func (x *MetricsInfo_BlockChainInfo) Reset()
func (*MetricsInfo_BlockChainInfo) String ¶
func (x *MetricsInfo_BlockChainInfo) String() string
type MetricsInfo_BlockChainInfo_DupWitness ¶
type MetricsInfo_BlockChainInfo_DupWitness struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` BlockNum int64 `protobuf:"varint,2,opt,name=blockNum,proto3" json:"blockNum,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_BlockChainInfo_DupWitness) Descriptor
deprecated
func (*MetricsInfo_BlockChainInfo_DupWitness) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_BlockChainInfo_DupWitness.ProtoReflect.Descriptor instead.
func (*MetricsInfo_BlockChainInfo_DupWitness) GetAddress ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) GetAddress() string
func (*MetricsInfo_BlockChainInfo_DupWitness) GetBlockNum ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) GetBlockNum() int64
func (*MetricsInfo_BlockChainInfo_DupWitness) GetCount ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) GetCount() int32
func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage ¶
func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage()
func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect() protoreflect.Message
func (*MetricsInfo_BlockChainInfo_DupWitness) Reset ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) Reset()
func (*MetricsInfo_BlockChainInfo_DupWitness) String ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) String() string
type MetricsInfo_BlockChainInfo_Witness ¶
type MetricsInfo_BlockChainInfo_Witness struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_BlockChainInfo_Witness) Descriptor
deprecated
func (*MetricsInfo_BlockChainInfo_Witness) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_BlockChainInfo_Witness.ProtoReflect.Descriptor instead.
func (*MetricsInfo_BlockChainInfo_Witness) GetAddress ¶
func (x *MetricsInfo_BlockChainInfo_Witness) GetAddress() string
func (*MetricsInfo_BlockChainInfo_Witness) GetVersion ¶
func (x *MetricsInfo_BlockChainInfo_Witness) GetVersion() int32
func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage ¶
func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage()
func (*MetricsInfo_BlockChainInfo_Witness) ProtoReflect ¶
func (x *MetricsInfo_BlockChainInfo_Witness) ProtoReflect() protoreflect.Message
func (*MetricsInfo_BlockChainInfo_Witness) Reset ¶
func (x *MetricsInfo_BlockChainInfo_Witness) Reset()
func (*MetricsInfo_BlockChainInfo_Witness) String ¶
func (x *MetricsInfo_BlockChainInfo_Witness) String() string
type MetricsInfo_NetInfo ¶
type MetricsInfo_NetInfo struct { ErrorProtoCount int32 `protobuf:"varint,1,opt,name=errorProtoCount,proto3" json:"errorProtoCount,omitempty"` Api *MetricsInfo_NetInfo_ApiInfo `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` ConnectionCount int32 `protobuf:"varint,3,opt,name=connectionCount,proto3" json:"connectionCount,omitempty"` ValidConnectionCount int32 `protobuf:"varint,4,opt,name=validConnectionCount,proto3" json:"validConnectionCount,omitempty"` TcpInTraffic *MetricsInfo_RateInfo `protobuf:"bytes,5,opt,name=tcpInTraffic,proto3" json:"tcpInTraffic,omitempty"` TcpOutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,6,opt,name=tcpOutTraffic,proto3" json:"tcpOutTraffic,omitempty"` DisconnectionCount int32 `protobuf:"varint,7,opt,name=disconnectionCount,proto3" json:"disconnectionCount,omitempty"` DisconnectionDetail []*MetricsInfo_NetInfo_DisconnectionDetailInfo `protobuf:"bytes,8,rep,name=disconnectionDetail,proto3" json:"disconnectionDetail,omitempty"` UdpInTraffic *MetricsInfo_RateInfo `protobuf:"bytes,9,opt,name=udpInTraffic,proto3" json:"udpInTraffic,omitempty"` UdpOutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,10,opt,name=udpOutTraffic,proto3" json:"udpOutTraffic,omitempty"` Latency *MetricsInfo_NetInfo_LatencyInfo `protobuf:"bytes,11,opt,name=latency,proto3" json:"latency,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo) GetApi ¶
func (x *MetricsInfo_NetInfo) GetApi() *MetricsInfo_NetInfo_ApiInfo
func (*MetricsInfo_NetInfo) GetConnectionCount ¶
func (x *MetricsInfo_NetInfo) GetConnectionCount() int32
func (*MetricsInfo_NetInfo) GetDisconnectionCount ¶
func (x *MetricsInfo_NetInfo) GetDisconnectionCount() int32
func (*MetricsInfo_NetInfo) GetDisconnectionDetail ¶
func (x *MetricsInfo_NetInfo) GetDisconnectionDetail() []*MetricsInfo_NetInfo_DisconnectionDetailInfo
func (*MetricsInfo_NetInfo) GetErrorProtoCount ¶
func (x *MetricsInfo_NetInfo) GetErrorProtoCount() int32
func (*MetricsInfo_NetInfo) GetLatency ¶
func (x *MetricsInfo_NetInfo) GetLatency() *MetricsInfo_NetInfo_LatencyInfo
func (*MetricsInfo_NetInfo) GetTcpInTraffic ¶
func (x *MetricsInfo_NetInfo) GetTcpInTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo) GetTcpOutTraffic ¶
func (x *MetricsInfo_NetInfo) GetTcpOutTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo) GetUdpInTraffic ¶
func (x *MetricsInfo_NetInfo) GetUdpInTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo) GetUdpOutTraffic ¶
func (x *MetricsInfo_NetInfo) GetUdpOutTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo) GetValidConnectionCount ¶
func (x *MetricsInfo_NetInfo) GetValidConnectionCount() int32
func (*MetricsInfo_NetInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo) ProtoMessage()
func (*MetricsInfo_NetInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo) Reset ¶
func (x *MetricsInfo_NetInfo) Reset()
func (*MetricsInfo_NetInfo) String ¶
func (x *MetricsInfo_NetInfo) String() string
type MetricsInfo_NetInfo_ApiInfo ¶
type MetricsInfo_NetInfo_ApiInfo struct { Qps *MetricsInfo_RateInfo `protobuf:"bytes,1,opt,name=qps,proto3" json:"qps,omitempty"` FailQps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=failQps,proto3" json:"failQps,omitempty"` OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` Detail []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo `protobuf:"bytes,4,rep,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_ApiInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_ApiInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_ApiInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_ApiInfo) GetDetail ¶
func (x *MetricsInfo_NetInfo_ApiInfo) GetDetail() []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo
func (*MetricsInfo_NetInfo_ApiInfo) GetFailQps ¶
func (x *MetricsInfo_NetInfo_ApiInfo) GetFailQps() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo) GetOutTraffic ¶
func (x *MetricsInfo_NetInfo_ApiInfo) GetOutTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo) GetQps ¶
func (x *MetricsInfo_NetInfo_ApiInfo) GetQps() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_ApiInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_ApiInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_ApiInfo) Reset ¶
func (x *MetricsInfo_NetInfo_ApiInfo) Reset()
func (*MetricsInfo_NetInfo_ApiInfo) String ¶
func (x *MetricsInfo_NetInfo_ApiInfo) String() string
type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo ¶
type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Qps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=qps,proto3" json:"qps,omitempty"` FailQps *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=failQps,proto3" json:"failQps,omitempty"` OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,4,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetFailQps ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetFailQps() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetName ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetName() string
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetOutTraffic ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetOutTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetQps ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetQps() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset()
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String() string
type MetricsInfo_NetInfo_DisconnectionDetailInfo ¶
type MetricsInfo_NetInfo_DisconnectionDetailInfo struct { Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_DisconnectionDetailInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) GetCount ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetCount() int32
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) GetReason ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetReason() string
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset()
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) String ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) String() string
type MetricsInfo_NetInfo_LatencyInfo ¶
type MetricsInfo_NetInfo_LatencyInfo struct { Top99 int32 `protobuf:"varint,1,opt,name=top99,proto3" json:"top99,omitempty"` Top95 int32 `protobuf:"varint,2,opt,name=top95,proto3" json:"top95,omitempty"` Top75 int32 `protobuf:"varint,3,opt,name=top75,proto3" json:"top75,omitempty"` TotalCount int32 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"` Delay1S int32 `protobuf:"varint,5,opt,name=delay1S,proto3" json:"delay1S,omitempty"` Delay2S int32 `protobuf:"varint,6,opt,name=delay2S,proto3" json:"delay2S,omitempty"` Delay3S int32 `protobuf:"varint,7,opt,name=delay3S,proto3" json:"delay3S,omitempty"` Detail []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo `protobuf:"bytes,8,rep,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_LatencyInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_LatencyInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_LatencyInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_LatencyInfo) GetDelay1S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay1S() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetDelay2S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay2S() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetDelay3S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay3S() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetDetail ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetDetail() []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo
func (*MetricsInfo_NetInfo_LatencyInfo) GetTop75 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop75() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetTop95 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop95() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetTop99 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop99() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetTotalCount ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetTotalCount() int32
func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_LatencyInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_LatencyInfo) Reset ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) Reset()
func (*MetricsInfo_NetInfo_LatencyInfo) String ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) String() string
type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo ¶
type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo struct { Witness string `protobuf:"bytes,1,opt,name=witness,proto3" json:"witness,omitempty"` Top99 int32 `protobuf:"varint,2,opt,name=top99,proto3" json:"top99,omitempty"` Top95 int32 `protobuf:"varint,3,opt,name=top95,proto3" json:"top95,omitempty"` Top75 int32 `protobuf:"varint,4,opt,name=top75,proto3" json:"top75,omitempty"` Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` Delay1S int32 `protobuf:"varint,6,opt,name=delay1S,proto3" json:"delay1S,omitempty"` Delay2S int32 `protobuf:"varint,7,opt,name=delay2S,proto3" json:"delay2S,omitempty"` Delay3S int32 `protobuf:"varint,8,opt,name=delay3S,proto3" json:"delay3S,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetCount ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetCount() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay1S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay1S() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay2S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay2S() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay3S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay3S() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop75 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop75() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop95 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop95() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop99 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop99() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetWitness ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetWitness() string
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset()
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String() string
type MetricsInfo_NodeInfo ¶
type MetricsInfo_NodeInfo struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` NodeType int32 `protobuf:"varint,2,opt,name=nodeType,proto3" json:"nodeType,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` BackupStatus int32 `protobuf:"varint,4,opt,name=backupStatus,proto3" json:"backupStatus,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NodeInfo) Descriptor
deprecated
func (*MetricsInfo_NodeInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NodeInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NodeInfo) GetBackupStatus ¶
func (x *MetricsInfo_NodeInfo) GetBackupStatus() int32
func (*MetricsInfo_NodeInfo) GetIp ¶
func (x *MetricsInfo_NodeInfo) GetIp() string
func (*MetricsInfo_NodeInfo) GetNodeType ¶
func (x *MetricsInfo_NodeInfo) GetNodeType() int32
func (*MetricsInfo_NodeInfo) GetVersion ¶
func (x *MetricsInfo_NodeInfo) GetVersion() string
func (*MetricsInfo_NodeInfo) ProtoMessage ¶
func (*MetricsInfo_NodeInfo) ProtoMessage()
func (*MetricsInfo_NodeInfo) ProtoReflect ¶
func (x *MetricsInfo_NodeInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NodeInfo) Reset ¶
func (x *MetricsInfo_NodeInfo) Reset()
func (*MetricsInfo_NodeInfo) String ¶
func (x *MetricsInfo_NodeInfo) String() string
type MetricsInfo_RateInfo ¶
type MetricsInfo_RateInfo struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` MeanRate float64 `protobuf:"fixed64,2,opt,name=meanRate,proto3" json:"meanRate,omitempty"` OneMinuteRate float64 `protobuf:"fixed64,3,opt,name=oneMinuteRate,proto3" json:"oneMinuteRate,omitempty"` FiveMinuteRate float64 `protobuf:"fixed64,4,opt,name=fiveMinuteRate,proto3" json:"fiveMinuteRate,omitempty"` FifteenMinuteRate float64 `protobuf:"fixed64,5,opt,name=fifteenMinuteRate,proto3" json:"fifteenMinuteRate,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_RateInfo) Descriptor
deprecated
func (*MetricsInfo_RateInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_RateInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_RateInfo) GetCount ¶
func (x *MetricsInfo_RateInfo) GetCount() int64
func (*MetricsInfo_RateInfo) GetFifteenMinuteRate ¶
func (x *MetricsInfo_RateInfo) GetFifteenMinuteRate() float64
func (*MetricsInfo_RateInfo) GetFiveMinuteRate ¶
func (x *MetricsInfo_RateInfo) GetFiveMinuteRate() float64
func (*MetricsInfo_RateInfo) GetMeanRate ¶
func (x *MetricsInfo_RateInfo) GetMeanRate() float64
func (*MetricsInfo_RateInfo) GetOneMinuteRate ¶
func (x *MetricsInfo_RateInfo) GetOneMinuteRate() float64
func (*MetricsInfo_RateInfo) ProtoMessage ¶
func (*MetricsInfo_RateInfo) ProtoMessage()
func (*MetricsInfo_RateInfo) ProtoReflect ¶
func (x *MetricsInfo_RateInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_RateInfo) Reset ¶
func (x *MetricsInfo_RateInfo) Reset()
func (*MetricsInfo_RateInfo) String ¶
func (x *MetricsInfo_RateInfo) 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) GetActiveConnectCount ¶
func (*NodeInfo) GetBeginSyncNum ¶
func (*NodeInfo) GetCheatWitnessInfoMap ¶
func (*NodeInfo) GetConfigNodeInfo ¶
func (x *NodeInfo) GetConfigNodeInfo() *NodeInfo_ConfigNodeInfo
func (*NodeInfo) GetCurrentConnectCount ¶
func (*NodeInfo) GetMachineInfo ¶
func (x *NodeInfo) GetMachineInfo() *NodeInfo_MachineInfo
func (*NodeInfo) GetPassiveConnectCount ¶
func (*NodeInfo) GetPeerInfoList ¶
func (x *NodeInfo) GetPeerInfoList() []*NodeInfo_PeerInfo
func (*NodeInfo) GetSolidityBlock ¶
func (*NodeInfo) GetTotalFlow ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
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"` JvmTotalMemory int64 `protobuf:"varint,9,opt,name=jvmTotalMemory,proto3" json:"jvmTotalMemory,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) GetJvmTotalMemory ¶
func (x *NodeInfo_MachineInfo) GetJvmTotalMemory() 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 (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime() int64
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetName ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetName() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetState ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetState() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime() int64
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage ¶
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage()
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Reset ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) Reset()
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) String ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) String() 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 (x *NodeInfo_MachineInfo_MemoryDescInfo) GetMaxSize() int64
func (*NodeInfo_MachineInfo_MemoryDescInfo) GetName ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetName() string
func (*NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate() float64
func (*NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize() int64
func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage ¶
func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage()
func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_MachineInfo_MemoryDescInfo) Reset ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) Reset()
func (*NodeInfo_MachineInfo_MemoryDescInfo) String ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) String() 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 PBFTCommitResult ¶
type PBFTCommitResult struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*PBFTCommitResult) Descriptor
deprecated
func (*PBFTCommitResult) Descriptor() ([]byte, []int)
Deprecated: Use PBFTCommitResult.ProtoReflect.Descriptor instead.
func (*PBFTCommitResult) GetData ¶
func (x *PBFTCommitResult) GetData() []byte
func (*PBFTCommitResult) GetSignature ¶
func (x *PBFTCommitResult) GetSignature() [][]byte
func (*PBFTCommitResult) ProtoMessage ¶
func (*PBFTCommitResult) ProtoMessage()
func (*PBFTCommitResult) ProtoReflect ¶
func (x *PBFTCommitResult) ProtoReflect() protoreflect.Message
func (*PBFTCommitResult) Reset ¶
func (x *PBFTCommitResult) Reset()
func (*PBFTCommitResult) String ¶
func (x *PBFTCommitResult) String() string
type PBFTMessage ¶
type PBFTMessage struct { RawData *PBFTMessage_Raw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*PBFTMessage) Descriptor
deprecated
func (*PBFTMessage) Descriptor() ([]byte, []int)
Deprecated: Use PBFTMessage.ProtoReflect.Descriptor instead.
func (*PBFTMessage) GetRawData ¶
func (x *PBFTMessage) GetRawData() *PBFTMessage_Raw
func (*PBFTMessage) GetSignature ¶
func (x *PBFTMessage) GetSignature() []byte
func (*PBFTMessage) ProtoMessage ¶
func (*PBFTMessage) ProtoMessage()
func (*PBFTMessage) ProtoReflect ¶
func (x *PBFTMessage) ProtoReflect() protoreflect.Message
func (*PBFTMessage) Reset ¶
func (x *PBFTMessage) Reset()
func (*PBFTMessage) String ¶
func (x *PBFTMessage) String() string
type PBFTMessage_DataType ¶
type PBFTMessage_DataType int32
const ( PBFTMessage_BLOCK PBFTMessage_DataType = 0 PBFTMessage_SRL PBFTMessage_DataType = 1 )
func (PBFTMessage_DataType) Descriptor ¶
func (PBFTMessage_DataType) Descriptor() protoreflect.EnumDescriptor
func (PBFTMessage_DataType) Enum ¶
func (x PBFTMessage_DataType) Enum() *PBFTMessage_DataType
func (PBFTMessage_DataType) EnumDescriptor
deprecated
func (PBFTMessage_DataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PBFTMessage_DataType.Descriptor instead.
func (PBFTMessage_DataType) Number ¶
func (x PBFTMessage_DataType) Number() protoreflect.EnumNumber
func (PBFTMessage_DataType) String ¶
func (x PBFTMessage_DataType) String() string
func (PBFTMessage_DataType) Type ¶
func (PBFTMessage_DataType) Type() protoreflect.EnumType
type PBFTMessage_MsgType ¶
type PBFTMessage_MsgType int32
const ( PBFTMessage_VIEW_CHANGE PBFTMessage_MsgType = 0 PBFTMessage_REQUEST PBFTMessage_MsgType = 1 PBFTMessage_PREPREPARE PBFTMessage_MsgType = 2 PBFTMessage_PREPARE PBFTMessage_MsgType = 3 PBFTMessage_COMMIT PBFTMessage_MsgType = 4 )
func (PBFTMessage_MsgType) Descriptor ¶
func (PBFTMessage_MsgType) Descriptor() protoreflect.EnumDescriptor
func (PBFTMessage_MsgType) Enum ¶
func (x PBFTMessage_MsgType) Enum() *PBFTMessage_MsgType
func (PBFTMessage_MsgType) EnumDescriptor
deprecated
func (PBFTMessage_MsgType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PBFTMessage_MsgType.Descriptor instead.
func (PBFTMessage_MsgType) Number ¶
func (x PBFTMessage_MsgType) Number() protoreflect.EnumNumber
func (PBFTMessage_MsgType) String ¶
func (x PBFTMessage_MsgType) String() string
func (PBFTMessage_MsgType) Type ¶
func (PBFTMessage_MsgType) Type() protoreflect.EnumType
type PBFTMessage_Raw ¶
type PBFTMessage_Raw struct { MsgType PBFTMessage_MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=protocol.PBFTMessage_MsgType" json:"msg_type,omitempty"` DataType PBFTMessage_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=protocol.PBFTMessage_DataType" json:"data_type,omitempty"` ViewN int64 `protobuf:"varint,3,opt,name=view_n,json=viewN,proto3" json:"view_n,omitempty"` Epoch int64 `protobuf:"varint,4,opt,name=epoch,proto3" json:"epoch,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PBFTMessage_Raw) Descriptor
deprecated
func (*PBFTMessage_Raw) Descriptor() ([]byte, []int)
Deprecated: Use PBFTMessage_Raw.ProtoReflect.Descriptor instead.
func (*PBFTMessage_Raw) GetData ¶
func (x *PBFTMessage_Raw) GetData() []byte
func (*PBFTMessage_Raw) GetDataType ¶
func (x *PBFTMessage_Raw) GetDataType() PBFTMessage_DataType
func (*PBFTMessage_Raw) GetEpoch ¶
func (x *PBFTMessage_Raw) GetEpoch() int64
func (*PBFTMessage_Raw) GetMsgType ¶
func (x *PBFTMessage_Raw) GetMsgType() PBFTMessage_MsgType
func (*PBFTMessage_Raw) GetViewN ¶
func (x *PBFTMessage_Raw) GetViewN() int64
func (*PBFTMessage_Raw) ProtoMessage ¶
func (*PBFTMessage_Raw) ProtoMessage()
func (*PBFTMessage_Raw) ProtoReflect ¶
func (x *PBFTMessage_Raw) ProtoReflect() protoreflect.Message
func (*PBFTMessage_Raw) Reset ¶
func (x *PBFTMessage_Raw) Reset()
func (*PBFTMessage_Raw) String ¶
func (x *PBFTMessage_Raw) 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 (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message
func (*ParticipateAssetIssueContract) Reset ¶
func (x *ParticipateAssetIssueContract) Reset()
func (*ParticipateAssetIssueContract) String ¶
func (x *ParticipateAssetIssueContract) String() 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 (x *Permission) GetType() Permission_PermissionType
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) Descriptor() protoreflect.EnumDescriptor
func (Permission_PermissionType) Enum ¶
func (x Permission_PermissionType) Enum() *Permission_PermissionType
func (Permission_PermissionType) EnumDescriptor
deprecated
func (Permission_PermissionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission_PermissionType.Descriptor instead.
func (Permission_PermissionType) Number ¶
func (x Permission_PermissionType) Number() protoreflect.EnumNumber
func (Permission_PermissionType) String ¶
func (x Permission_PermissionType) String() string
func (Permission_PermissionType) Type ¶
func (Permission_PermissionType) Type() protoreflect.EnumType
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) GetApprovals ¶
func (*Proposal) GetCreateTime ¶
func (*Proposal) GetExpirationTime ¶
func (*Proposal) GetParameters ¶
func (*Proposal) GetProposalId ¶
func (*Proposal) GetProposerAddress ¶
func (*Proposal) GetState ¶
func (x *Proposal) GetState() Proposal_State
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) ProtoReflect ¶
func (x *Proposal) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x Proposal_State) Number() protoreflect.EnumNumber
func (Proposal_State) String ¶
func (x Proposal_State) String() string
func (Proposal_State) Type ¶
func (Proposal_State) Type() protoreflect.EnumType
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_RANDOM_ELIMINATION 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_LIGHT_NODE_SYNC_FAIL ReasonCode = 35 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 ¶
func (ReasonCode) Type() protoreflect.EnumType
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 ResourceCode_TRON_POWER ResourceCode = 2 )
func (ResourceCode) Descriptor ¶
func (ResourceCode) Descriptor() protoreflect.EnumDescriptor
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 (x ResourceCode) Number() protoreflect.EnumNumber
func (ResourceCode) String ¶
func (x ResourceCode) String() string
func (ResourceCode) Type ¶
func (ResourceCode) Type() protoreflect.EnumType
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"` EnergyPenaltyTotal int64 `protobuf:"varint,8,opt,name=energy_penalty_total,json=energyPenaltyTotal,proto3" json:"energy_penalty_total,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) GetEnergyPenaltyTotal ¶
func (x *ResourceReceipt) GetEnergyPenaltyTotal() 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 (x *ResourceReceipt) GetResult() Transaction_ResultContractResult
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 SRL ¶
type SRL struct { SrAddress [][]byte `protobuf:"bytes,1,rep,name=srAddress,proto3" json:"srAddress,omitempty"` // contains filtered or unexported fields }
func (*SRL) Descriptor
deprecated
func (*SRL) GetSrAddress ¶
func (*SRL) ProtoMessage ¶
func (*SRL) ProtoMessage()
func (*SRL) ProtoReflect ¶
func (x *SRL) ProtoReflect() protoreflect.Message
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"` Version int32 `protobuf:"varint,11,opt,name=version,proto3" json:"version,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) GetVersion ¶
func (x *SmartContract) GetVersion() int32
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 SmartContractDataWrapper ¶
type SmartContractDataWrapper struct { SmartContract *SmartContract `protobuf:"bytes,1,opt,name=smart_contract,json=smartContract,proto3" json:"smart_contract,omitempty"` Runtimecode []byte `protobuf:"bytes,2,opt,name=runtimecode,proto3" json:"runtimecode,omitempty"` ContractState *ContractState `protobuf:"bytes,3,opt,name=contract_state,json=contractState,proto3" json:"contract_state,omitempty"` // contains filtered or unexported fields }
func (*SmartContractDataWrapper) Descriptor
deprecated
func (*SmartContractDataWrapper) Descriptor() ([]byte, []int)
Deprecated: Use SmartContractDataWrapper.ProtoReflect.Descriptor instead.
func (*SmartContractDataWrapper) GetContractState ¶
func (x *SmartContractDataWrapper) GetContractState() *ContractState
func (*SmartContractDataWrapper) GetRuntimecode ¶
func (x *SmartContractDataWrapper) GetRuntimecode() []byte
func (*SmartContractDataWrapper) GetSmartContract ¶
func (x *SmartContractDataWrapper) GetSmartContract() *SmartContract
func (*SmartContractDataWrapper) ProtoMessage ¶
func (*SmartContractDataWrapper) ProtoMessage()
func (*SmartContractDataWrapper) ProtoReflect ¶
func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message
func (*SmartContractDataWrapper) Reset ¶
func (x *SmartContractDataWrapper) Reset()
func (*SmartContractDataWrapper) String ¶
func (x *SmartContractDataWrapper) 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 (x *SmartContract_ABI_Entry) GetInputs() []*SmartContract_ABI_Entry_Param
func (*SmartContract_ABI_Entry) GetName ¶
func (x *SmartContract_ABI_Entry) GetName() string
func (*SmartContract_ABI_Entry) GetOutputs ¶
func (x *SmartContract_ABI_Entry) GetOutputs() []*SmartContract_ABI_Entry_Param
func (*SmartContract_ABI_Entry) GetPayable ¶
func (x *SmartContract_ABI_Entry) GetPayable() bool
func (*SmartContract_ABI_Entry) GetStateMutability ¶
func (x *SmartContract_ABI_Entry) GetStateMutability() SmartContract_ABI_Entry_StateMutabilityType
func (*SmartContract_ABI_Entry) GetType ¶
func (x *SmartContract_ABI_Entry) GetType() SmartContract_ABI_Entry_EntryType
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 SmartContract_ABI_Entry_Receive SmartContract_ABI_Entry_EntryType = 5 SmartContract_ABI_Entry_Error SmartContract_ABI_Entry_EntryType = 6 )
func (SmartContract_ABI_Entry_EntryType) Descriptor ¶
func (SmartContract_ABI_Entry_EntryType) Descriptor() protoreflect.EnumDescriptor
func (SmartContract_ABI_Entry_EntryType) Enum ¶
func (x SmartContract_ABI_Entry_EntryType) Enum() *SmartContract_ABI_Entry_EntryType
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 (x SmartContract_ABI_Entry_EntryType) Number() protoreflect.EnumNumber
func (SmartContract_ABI_Entry_EntryType) String ¶
func (x SmartContract_ABI_Entry_EntryType) String() string
func (SmartContract_ABI_Entry_EntryType) Type ¶
func (SmartContract_ABI_Entry_EntryType) Type() protoreflect.EnumType
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 (x *SmartContract_ABI_Entry_Param) GetName() string
func (*SmartContract_ABI_Entry_Param) GetType ¶
func (x *SmartContract_ABI_Entry_Param) GetType() string
func (*SmartContract_ABI_Entry_Param) ProtoMessage ¶
func (*SmartContract_ABI_Entry_Param) ProtoMessage()
func (*SmartContract_ABI_Entry_Param) ProtoReflect ¶
func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message
func (*SmartContract_ABI_Entry_Param) Reset ¶
func (x *SmartContract_ABI_Entry_Param) Reset()
func (*SmartContract_ABI_Entry_Param) String ¶
func (x *SmartContract_ABI_Entry_Param) String() 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) Descriptor() protoreflect.EnumDescriptor
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 (x SmartContract_ABI_Entry_StateMutabilityType) Number() protoreflect.EnumNumber
func (SmartContract_ABI_Entry_StateMutabilityType) String ¶
func (x SmartContract_ABI_Entry_StateMutabilityType) String() string
func (SmartContract_ABI_Entry_StateMutabilityType) Type ¶
func (SmartContract_ABI_Entry_StateMutabilityType) Type() protoreflect.EnumType
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) GetRawData ¶
func (x *TXInput) GetRawData() *TXInputRaw
func (*TXInput) GetSignature ¶
func (*TXInput) ProtoMessage ¶
func (*TXInput) ProtoMessage()
func (*TXInput) ProtoReflect ¶
func (x *TXInput) ProtoReflect() protoreflect.Message
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) GetPubKeyHash ¶
func (*TXOutput) ProtoMessage ¶
func (*TXOutput) ProtoMessage()
func (*TXOutput) ProtoReflect ¶
func (x *TXOutput) ProtoReflect() protoreflect.Message
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) GetOutputs ¶
func (*TXOutputs) ProtoMessage ¶
func (*TXOutputs) ProtoMessage()
func (*TXOutputs) ProtoReflect ¶
func (x *TXOutputs) ProtoReflect() protoreflect.Message
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 TransactionBalanceTrace ¶
type TransactionBalanceTrace struct { TransactionIdentifier []byte `protobuf:"bytes,1,opt,name=transaction_identifier,json=transactionIdentifier,proto3" json:"transaction_identifier,omitempty"` Operation []*TransactionBalanceTrace_Operation `protobuf:"bytes,2,rep,name=operation,proto3" json:"operation,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*TransactionBalanceTrace) Descriptor
deprecated
func (*TransactionBalanceTrace) Descriptor() ([]byte, []int)
Deprecated: Use TransactionBalanceTrace.ProtoReflect.Descriptor instead.
func (*TransactionBalanceTrace) GetOperation ¶
func (x *TransactionBalanceTrace) GetOperation() []*TransactionBalanceTrace_Operation
func (*TransactionBalanceTrace) GetStatus ¶
func (x *TransactionBalanceTrace) GetStatus() string
func (*TransactionBalanceTrace) GetTransactionIdentifier ¶
func (x *TransactionBalanceTrace) GetTransactionIdentifier() []byte
func (*TransactionBalanceTrace) GetType ¶
func (x *TransactionBalanceTrace) GetType() string
func (*TransactionBalanceTrace) ProtoMessage ¶
func (*TransactionBalanceTrace) ProtoMessage()
func (*TransactionBalanceTrace) ProtoReflect ¶
func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message
func (*TransactionBalanceTrace) Reset ¶
func (x *TransactionBalanceTrace) Reset()
func (*TransactionBalanceTrace) String ¶
func (x *TransactionBalanceTrace) String() string
type TransactionBalanceTrace_Operation ¶
type TransactionBalanceTrace_Operation struct { OperationIdentifier int64 `protobuf:"varint,1,opt,name=operation_identifier,json=operationIdentifier,proto3" json:"operation_identifier,omitempty"` Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*TransactionBalanceTrace_Operation) Descriptor
deprecated
func (*TransactionBalanceTrace_Operation) Descriptor() ([]byte, []int)
Deprecated: Use TransactionBalanceTrace_Operation.ProtoReflect.Descriptor instead.
func (*TransactionBalanceTrace_Operation) GetAddress ¶
func (x *TransactionBalanceTrace_Operation) GetAddress() []byte
func (*TransactionBalanceTrace_Operation) GetAmount ¶
func (x *TransactionBalanceTrace_Operation) GetAmount() int64
func (*TransactionBalanceTrace_Operation) GetOperationIdentifier ¶
func (x *TransactionBalanceTrace_Operation) GetOperationIdentifier() int64
func (*TransactionBalanceTrace_Operation) ProtoMessage ¶
func (*TransactionBalanceTrace_Operation) ProtoMessage()
func (*TransactionBalanceTrace_Operation) ProtoReflect ¶
func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message
func (*TransactionBalanceTrace_Operation) Reset ¶
func (x *TransactionBalanceTrace_Operation) Reset()
func (*TransactionBalanceTrace_Operation) String ¶
func (x *TransactionBalanceTrace_Operation) 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 */ OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` PackingFee int64 `protobuf:"varint,27,opt,name=packingFee,proto3" json:"packingFee,omitempty"` WithdrawExpireAmount int64 `protobuf:"varint,28,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` // 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) GetOrderDetails ¶
func (x *TransactionInfo) GetOrderDetails() []*MarketOrderDetail
func (*TransactionInfo) GetOrderId ¶
func (x *TransactionInfo) GetOrderId() []byte
func (*TransactionInfo) GetPackingFee ¶
func (x *TransactionInfo) GetPackingFee() int64
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) GetWithdrawExpireAmount ¶
func (x *TransactionInfo) GetWithdrawExpireAmount() 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) Descriptor() protoreflect.EnumDescriptor
func (TransactionInfoCode) Enum ¶
func (x TransactionInfoCode) Enum() *TransactionInfoCode
func (TransactionInfoCode) EnumDescriptor
deprecated
func (TransactionInfoCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionInfoCode.Descriptor instead.
func (TransactionInfoCode) Number ¶
func (x TransactionInfoCode) Number() protoreflect.EnumNumber
func (TransactionInfoCode) String ¶
func (x TransactionInfoCode) String() string
func (TransactionInfoCode) Type ¶
func (TransactionInfoCode) Type() protoreflect.EnumType
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"` // data not used 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 *anypb.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() *anypb.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 (x *Transaction_Contract) GetType() Transaction_Contract_ContractType
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 Transaction_Contract_MarketSellAssetContract Transaction_Contract_ContractType = 52 Transaction_Contract_MarketCancelOrderContract Transaction_Contract_ContractType = 53 Transaction_Contract_FreezeBalanceV2Contract Transaction_Contract_ContractType = 54 Transaction_Contract_UnfreezeBalanceV2Contract Transaction_Contract_ContractType = 55 Transaction_Contract_WithdrawExpireUnfreezeContract Transaction_Contract_ContractType = 56 Transaction_Contract_DelegateResourceContract Transaction_Contract_ContractType = 57 Transaction_Contract_UnDelegateResourceContract Transaction_Contract_ContractType = 58 )
func (Transaction_Contract_ContractType) Descriptor ¶
func (Transaction_Contract_ContractType) Descriptor() protoreflect.EnumDescriptor
func (Transaction_Contract_ContractType) Enum ¶
func (x Transaction_Contract_ContractType) Enum() *Transaction_Contract_ContractType
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 (x Transaction_Contract_ContractType) Number() protoreflect.EnumNumber
func (Transaction_Contract_ContractType) String ¶
func (x Transaction_Contract_ContractType) String() string
func (Transaction_Contract_ContractType) Type ¶
func (Transaction_Contract_ContractType) Type() protoreflect.EnumType
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 */ OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` WithdrawExpireAmount int64 `protobuf:"varint,27,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` // 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 (x *Transaction_Result) GetContractRet() Transaction_ResultContractResult
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) GetOrderDetails ¶
func (x *Transaction_Result) GetOrderDetails() []*MarketOrderDetail
func (*Transaction_Result) GetOrderId ¶
func (x *Transaction_Result) GetOrderId() []byte
func (*Transaction_Result) GetRet ¶
func (x *Transaction_Result) GetRet() Transaction_ResultCode
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) GetWithdrawExpireAmount ¶
func (x *Transaction_Result) GetWithdrawExpireAmount() 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) Descriptor() protoreflect.EnumDescriptor
func (Transaction_ResultCode) Enum ¶
func (x Transaction_ResultCode) Enum() *Transaction_ResultCode
func (Transaction_ResultCode) EnumDescriptor
deprecated
func (Transaction_ResultCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Transaction_ResultCode.Descriptor instead.
func (Transaction_ResultCode) Number ¶
func (x Transaction_ResultCode) Number() protoreflect.EnumNumber
func (Transaction_ResultCode) String ¶
func (x Transaction_ResultCode) String() string
func (Transaction_ResultCode) Type ¶
func (Transaction_ResultCode) Type() protoreflect.EnumType
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 Transaction_Result_INVALID_CODE Transaction_ResultContractResult = 15 )
func (Transaction_ResultContractResult) Descriptor ¶
func (Transaction_ResultContractResult) Descriptor() protoreflect.EnumDescriptor
func (Transaction_ResultContractResult) Enum ¶
func (x Transaction_ResultContractResult) Enum() *Transaction_ResultContractResult
func (Transaction_ResultContractResult) EnumDescriptor
deprecated
func (Transaction_ResultContractResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use Transaction_ResultContractResult.Descriptor instead.
func (Transaction_ResultContractResult) Number ¶
func (x Transaction_ResultContractResult) Number() protoreflect.EnumNumber
func (Transaction_ResultContractResult) String ¶
func (x Transaction_ResultContractResult) String() string
func (Transaction_ResultContractResult) Type ¶
func (Transaction_ResultContractResult) Type() protoreflect.EnumType
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 UnDelegateResourceContract ¶
type UnDelegateResourceContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` // contains filtered or unexported fields }
func (*UnDelegateResourceContract) Descriptor
deprecated
func (*UnDelegateResourceContract) Descriptor() ([]byte, []int)
Deprecated: Use UnDelegateResourceContract.ProtoReflect.Descriptor instead.
func (*UnDelegateResourceContract) GetBalance ¶
func (x *UnDelegateResourceContract) GetBalance() int64
func (*UnDelegateResourceContract) GetOwnerAddress ¶
func (x *UnDelegateResourceContract) GetOwnerAddress() []byte
func (*UnDelegateResourceContract) GetReceiverAddress ¶
func (x *UnDelegateResourceContract) GetReceiverAddress() []byte
func (*UnDelegateResourceContract) GetResource ¶
func (x *UnDelegateResourceContract) GetResource() ResourceCode
func (*UnDelegateResourceContract) ProtoMessage ¶
func (*UnDelegateResourceContract) ProtoMessage()
func (*UnDelegateResourceContract) ProtoReflect ¶
func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message
func (*UnDelegateResourceContract) Reset ¶
func (x *UnDelegateResourceContract) Reset()
func (*UnDelegateResourceContract) String ¶
func (x *UnDelegateResourceContract) 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 UnfreezeBalanceV2Contract ¶
type UnfreezeBalanceV2Contract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` UnfreezeBalance int64 `protobuf:"varint,2,opt,name=unfreeze_balance,json=unfreezeBalance,proto3" json:"unfreeze_balance,omitempty"` Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*UnfreezeBalanceV2Contract) Descriptor
deprecated
func (*UnfreezeBalanceV2Contract) Descriptor() ([]byte, []int)
Deprecated: Use UnfreezeBalanceV2Contract.ProtoReflect.Descriptor instead.
func (*UnfreezeBalanceV2Contract) GetOwnerAddress ¶
func (x *UnfreezeBalanceV2Contract) GetOwnerAddress() []byte
func (*UnfreezeBalanceV2Contract) GetResource ¶
func (x *UnfreezeBalanceV2Contract) GetResource() ResourceCode
func (*UnfreezeBalanceV2Contract) GetUnfreezeBalance ¶
func (x *UnfreezeBalanceV2Contract) GetUnfreezeBalance() int64
func (*UnfreezeBalanceV2Contract) ProtoMessage ¶
func (*UnfreezeBalanceV2Contract) ProtoMessage()
func (*UnfreezeBalanceV2Contract) ProtoReflect ¶
func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message
func (*UnfreezeBalanceV2Contract) Reset ¶
func (x *UnfreezeBalanceV2Contract) Reset()
func (*UnfreezeBalanceV2Contract) String ¶
func (x *UnfreezeBalanceV2Contract) 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 (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message
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) GetVoteAddress ¶
func (*Vote) GetVoteCount ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶
func (x *Vote) ProtoReflect() protoreflect.Message
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 (x *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote
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) GetAddress ¶
func (*Votes) GetNewVotes ¶
func (*Votes) GetOldVotes ¶
func (*Votes) ProtoMessage ¶
func (*Votes) ProtoMessage()
func (*Votes) ProtoReflect ¶
func (x *Votes) ProtoReflect() protoreflect.Message
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 WithdrawExpireUnfreezeContract ¶
type WithdrawExpireUnfreezeContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // contains filtered or unexported fields }
func (*WithdrawExpireUnfreezeContract) Descriptor
deprecated
func (*WithdrawExpireUnfreezeContract) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawExpireUnfreezeContract.ProtoReflect.Descriptor instead.
func (*WithdrawExpireUnfreezeContract) GetOwnerAddress ¶
func (x *WithdrawExpireUnfreezeContract) GetOwnerAddress() []byte
func (*WithdrawExpireUnfreezeContract) ProtoMessage ¶
func (*WithdrawExpireUnfreezeContract) ProtoMessage()
func (*WithdrawExpireUnfreezeContract) ProtoReflect ¶
func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message
func (*WithdrawExpireUnfreezeContract) Reset ¶
func (x *WithdrawExpireUnfreezeContract) Reset()
func (*WithdrawExpireUnfreezeContract) String ¶
func (x *WithdrawExpireUnfreezeContract) 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) GetAddress ¶
func (*Witness) GetLatestBlockNum ¶
func (*Witness) GetLatestSlotNum ¶
func (*Witness) GetTotalMissed ¶
func (*Witness) GetTotalProduced ¶
func (*Witness) GetVoteCount ¶
func (*Witness) ProtoMessage ¶
func (*Witness) ProtoMessage()
func (*Witness) ProtoReflect ¶
func (x *Witness) ProtoReflect() protoreflect.Message
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
Source Files ¶
- Discover.pb.go
- Tron.pb.go
- TronInventoryItems.pb.go
- account_contract.pb.go
- asset_issue_contract.pb.go
- balance_contract.pb.go
- common.pb.go
- exchange_contract.pb.go
- market_contract.pb.go
- proposal_contract.pb.go
- shield_contract.pb.go
- smart_contract.pb.go
- storage_contract.pb.go
- vote_asset_contract.pb.go
- witness_contract.pb.go