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) 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) 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) 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) 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) GetOwnerPermission() *Permission
- func (x *Account) GetType() AccountType
- 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 AccountCreateContract
- func (*AccountCreateContract) Descriptor() ([]byte, []int)
- func (m *AccountCreateContract) GetAccountAddress() []byte
- func (m *AccountCreateContract) GetOwnerAddress() []byte
- func (m *AccountCreateContract) GetType() AccountType
- func (*AccountCreateContract) ProtoMessage()
- func (m *AccountCreateContract) Reset()
- func (m *AccountCreateContract) String() string
- func (m *AccountCreateContract) XXX_DiscardUnknown()
- func (m *AccountCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountCreateContract) XXX_Merge(src proto.Message)
- func (m *AccountCreateContract) XXX_Size() int
- func (m *AccountCreateContract) XXX_Unmarshal(b []byte) error
- type AccountId
- type AccountPermissionUpdateContract
- func (*AccountPermissionUpdateContract) Descriptor() ([]byte, []int)
- func (m *AccountPermissionUpdateContract) GetActives() []*Permission
- func (m *AccountPermissionUpdateContract) GetOwner() *Permission
- func (m *AccountPermissionUpdateContract) GetOwnerAddress() []byte
- func (m *AccountPermissionUpdateContract) GetWitness() *Permission
- func (*AccountPermissionUpdateContract) ProtoMessage()
- func (m *AccountPermissionUpdateContract) Reset()
- func (m *AccountPermissionUpdateContract) String() string
- func (m *AccountPermissionUpdateContract) XXX_DiscardUnknown()
- func (m *AccountPermissionUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountPermissionUpdateContract) XXX_Merge(src proto.Message)
- func (m *AccountPermissionUpdateContract) XXX_Size() int
- func (m *AccountPermissionUpdateContract) XXX_Unmarshal(b []byte) error
- 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)
- func (m *AccountUpdateContract) GetAccountName() []byte
- func (m *AccountUpdateContract) GetOwnerAddress() []byte
- func (*AccountUpdateContract) ProtoMessage()
- func (m *AccountUpdateContract) Reset()
- func (m *AccountUpdateContract) String() string
- func (m *AccountUpdateContract) XXX_DiscardUnknown()
- func (m *AccountUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUpdateContract) XXX_Merge(src proto.Message)
- func (m *AccountUpdateContract) XXX_Size() int
- func (m *AccountUpdateContract) XXX_Unmarshal(b []byte) error
- type Account_AccountResource
- func (*Account_AccountResource) Descriptor() ([]byte, []int)deprecated
- func (x *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64
- func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64
- func (x *Account_AccountResource) GetEnergyUsage() 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_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 AssetIssueContract
- func (*AssetIssueContract) Descriptor() ([]byte, []int)
- func (m *AssetIssueContract) GetAbbr() []byte
- func (m *AssetIssueContract) GetDescription() []byte
- func (m *AssetIssueContract) GetEndTime() int64
- func (m *AssetIssueContract) GetFreeAssetNetLimit() int64
- func (m *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply
- func (m *AssetIssueContract) GetId() string
- func (m *AssetIssueContract) GetName() []byte
- func (m *AssetIssueContract) GetNum() int32
- func (m *AssetIssueContract) GetOrder() int64
- func (m *AssetIssueContract) GetOwnerAddress() []byte
- func (m *AssetIssueContract) GetPrecision() int32
- func (m *AssetIssueContract) GetPublicFreeAssetNetLimit() int64
- func (m *AssetIssueContract) GetPublicFreeAssetNetUsage() int64
- func (m *AssetIssueContract) GetPublicLatestFreeNetTime() int64
- func (m *AssetIssueContract) GetStartTime() int64
- func (m *AssetIssueContract) GetTotalSupply() int64
- func (m *AssetIssueContract) GetTrxNum() int32
- func (m *AssetIssueContract) GetUrl() []byte
- func (m *AssetIssueContract) GetVoteScore() int32
- func (*AssetIssueContract) ProtoMessage()
- func (m *AssetIssueContract) Reset()
- func (m *AssetIssueContract) String() string
- func (m *AssetIssueContract) XXX_DiscardUnknown()
- func (m *AssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetIssueContract) XXX_Merge(src proto.Message)
- func (m *AssetIssueContract) XXX_Size() int
- func (m *AssetIssueContract) XXX_Unmarshal(b []byte) error
- type AssetIssueContract_FrozenSupply
- func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int)
- func (m *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64
- func (m *AssetIssueContract_FrozenSupply) GetFrozenDays() int64
- func (*AssetIssueContract_FrozenSupply) ProtoMessage()
- func (m *AssetIssueContract_FrozenSupply) Reset()
- func (m *AssetIssueContract_FrozenSupply) String() string
- func (m *AssetIssueContract_FrozenSupply) XXX_DiscardUnknown()
- func (m *AssetIssueContract_FrozenSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetIssueContract_FrozenSupply) XXX_Merge(src proto.Message)
- func (m *AssetIssueContract_FrozenSupply) XXX_Size() int
- func (m *AssetIssueContract_FrozenSupply) XXX_Unmarshal(b []byte) error
- type AuthenticationPath
- func (*AuthenticationPath) Descriptor() ([]byte, []int)
- func (m *AuthenticationPath) GetValue() []bool
- func (*AuthenticationPath) ProtoMessage()
- func (m *AuthenticationPath) Reset()
- func (m *AuthenticationPath) String() string
- func (m *AuthenticationPath) XXX_DiscardUnknown()
- func (m *AuthenticationPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticationPath) XXX_Merge(src proto.Message)
- func (m *AuthenticationPath) XXX_Size() int
- func (m *AuthenticationPath) XXX_Unmarshal(b []byte) error
- 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 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)
- func (m *BuyStorageBytesContract) GetBytes() int64
- func (m *BuyStorageBytesContract) GetOwnerAddress() []byte
- func (*BuyStorageBytesContract) ProtoMessage()
- func (m *BuyStorageBytesContract) Reset()
- func (m *BuyStorageBytesContract) String() string
- func (m *BuyStorageBytesContract) XXX_DiscardUnknown()
- func (m *BuyStorageBytesContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuyStorageBytesContract) XXX_Merge(src proto.Message)
- func (m *BuyStorageBytesContract) XXX_Size() int
- func (m *BuyStorageBytesContract) XXX_Unmarshal(b []byte) error
- type BuyStorageContract
- func (*BuyStorageContract) Descriptor() ([]byte, []int)
- func (m *BuyStorageContract) GetOwnerAddress() []byte
- func (m *BuyStorageContract) GetQuant() int64
- func (*BuyStorageContract) ProtoMessage()
- func (m *BuyStorageContract) Reset()
- func (m *BuyStorageContract) String() string
- func (m *BuyStorageContract) XXX_DiscardUnknown()
- func (m *BuyStorageContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuyStorageContract) XXX_Merge(src proto.Message)
- func (m *BuyStorageContract) XXX_Size() int
- func (m *BuyStorageContract) XXX_Unmarshal(b []byte) error
- 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)
- func (m *ClearABIContract) GetContractAddress() []byte
- func (m *ClearABIContract) GetOwnerAddress() []byte
- func (*ClearABIContract) ProtoMessage()
- func (m *ClearABIContract) Reset()
- func (m *ClearABIContract) String() string
- func (m *ClearABIContract) XXX_DiscardUnknown()
- func (m *ClearABIContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClearABIContract) XXX_Merge(src proto.Message)
- func (m *ClearABIContract) XXX_Size() int
- func (m *ClearABIContract) XXX_Unmarshal(b []byte) error
- type CreateSmartContract
- func (*CreateSmartContract) Descriptor() ([]byte, []int)
- func (m *CreateSmartContract) GetCallTokenValue() int64
- func (m *CreateSmartContract) GetNewContract() *SmartContract
- func (m *CreateSmartContract) GetOwnerAddress() []byte
- func (m *CreateSmartContract) GetTokenId() int64
- func (*CreateSmartContract) ProtoMessage()
- func (m *CreateSmartContract) Reset()
- func (m *CreateSmartContract) String() string
- func (m *CreateSmartContract) XXX_DiscardUnknown()
- func (m *CreateSmartContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateSmartContract) XXX_Merge(src proto.Message)
- func (m *CreateSmartContract) XXX_Size() int
- func (m *CreateSmartContract) XXX_Unmarshal(b []byte) error
- 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) 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)
- func (m *ExchangeCreateContract) GetFirstTokenBalance() int64
- func (m *ExchangeCreateContract) GetFirstTokenId() []byte
- func (m *ExchangeCreateContract) GetOwnerAddress() []byte
- func (m *ExchangeCreateContract) GetSecondTokenBalance() int64
- func (m *ExchangeCreateContract) GetSecondTokenId() []byte
- func (*ExchangeCreateContract) ProtoMessage()
- func (m *ExchangeCreateContract) Reset()
- func (m *ExchangeCreateContract) String() string
- func (m *ExchangeCreateContract) XXX_DiscardUnknown()
- func (m *ExchangeCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExchangeCreateContract) XXX_Merge(src proto.Message)
- func (m *ExchangeCreateContract) XXX_Size() int
- func (m *ExchangeCreateContract) XXX_Unmarshal(b []byte) error
- type ExchangeInjectContract
- func (*ExchangeInjectContract) Descriptor() ([]byte, []int)
- func (m *ExchangeInjectContract) GetExchangeId() int64
- func (m *ExchangeInjectContract) GetOwnerAddress() []byte
- func (m *ExchangeInjectContract) GetQuant() int64
- func (m *ExchangeInjectContract) GetTokenId() []byte
- func (*ExchangeInjectContract) ProtoMessage()
- func (m *ExchangeInjectContract) Reset()
- func (m *ExchangeInjectContract) String() string
- func (m *ExchangeInjectContract) XXX_DiscardUnknown()
- func (m *ExchangeInjectContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExchangeInjectContract) XXX_Merge(src proto.Message)
- func (m *ExchangeInjectContract) XXX_Size() int
- func (m *ExchangeInjectContract) XXX_Unmarshal(b []byte) error
- type ExchangeTransactionContract
- func (*ExchangeTransactionContract) Descriptor() ([]byte, []int)
- func (m *ExchangeTransactionContract) GetExchangeId() int64
- func (m *ExchangeTransactionContract) GetExpected() int64
- func (m *ExchangeTransactionContract) GetOwnerAddress() []byte
- func (m *ExchangeTransactionContract) GetQuant() int64
- func (m *ExchangeTransactionContract) GetTokenId() []byte
- func (*ExchangeTransactionContract) ProtoMessage()
- func (m *ExchangeTransactionContract) Reset()
- func (m *ExchangeTransactionContract) String() string
- func (m *ExchangeTransactionContract) XXX_DiscardUnknown()
- func (m *ExchangeTransactionContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExchangeTransactionContract) XXX_Merge(src proto.Message)
- func (m *ExchangeTransactionContract) XXX_Size() int
- func (m *ExchangeTransactionContract) XXX_Unmarshal(b []byte) error
- type ExchangeWithdrawContract
- func (*ExchangeWithdrawContract) Descriptor() ([]byte, []int)
- func (m *ExchangeWithdrawContract) GetExchangeId() int64
- func (m *ExchangeWithdrawContract) GetOwnerAddress() []byte
- func (m *ExchangeWithdrawContract) GetQuant() int64
- func (m *ExchangeWithdrawContract) GetTokenId() []byte
- func (*ExchangeWithdrawContract) ProtoMessage()
- func (m *ExchangeWithdrawContract) Reset()
- func (m *ExchangeWithdrawContract) String() string
- func (m *ExchangeWithdrawContract) XXX_DiscardUnknown()
- func (m *ExchangeWithdrawContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExchangeWithdrawContract) XXX_Merge(src proto.Message)
- func (m *ExchangeWithdrawContract) XXX_Size() int
- func (m *ExchangeWithdrawContract) XXX_Unmarshal(b []byte) error
- 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)
- func (m *FreezeBalanceContract) GetFrozenBalance() int64
- func (m *FreezeBalanceContract) GetFrozenDuration() int64
- func (m *FreezeBalanceContract) GetOwnerAddress() []byte
- func (m *FreezeBalanceContract) GetReceiverAddress() []byte
- func (m *FreezeBalanceContract) GetResource() ResourceCode
- func (*FreezeBalanceContract) ProtoMessage()
- func (m *FreezeBalanceContract) Reset()
- func (m *FreezeBalanceContract) String() string
- func (m *FreezeBalanceContract) XXX_DiscardUnknown()
- func (m *FreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreezeBalanceContract) XXX_Merge(src proto.Message)
- func (m *FreezeBalanceContract) XXX_Size() int
- func (m *FreezeBalanceContract) XXX_Unmarshal(b []byte) error
- type HelloMessage
- func (*HelloMessage) Descriptor() ([]byte, []int)deprecated
- func (x *HelloMessage) GetFrom() *Endpoint
- func (x *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId
- func (x *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId
- 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)
- func (m *IncrementalMerkleTree) GetLeft() *PedersenHash
- func (m *IncrementalMerkleTree) GetParents() []*PedersenHash
- func (m *IncrementalMerkleTree) GetRight() *PedersenHash
- func (*IncrementalMerkleTree) ProtoMessage()
- func (m *IncrementalMerkleTree) Reset()
- func (m *IncrementalMerkleTree) String() string
- func (m *IncrementalMerkleTree) XXX_DiscardUnknown()
- func (m *IncrementalMerkleTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncrementalMerkleTree) XXX_Merge(src proto.Message)
- func (m *IncrementalMerkleTree) XXX_Size() int
- func (m *IncrementalMerkleTree) XXX_Unmarshal(b []byte) error
- type IncrementalMerkleVoucher
- func (*IncrementalMerkleVoucher) Descriptor() ([]byte, []int)
- func (m *IncrementalMerkleVoucher) GetCursor() *IncrementalMerkleTree
- func (m *IncrementalMerkleVoucher) GetCursorDepth() int64
- func (m *IncrementalMerkleVoucher) GetFilled() []*PedersenHash
- func (m *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint
- func (m *IncrementalMerkleVoucher) GetRt() []byte
- func (m *IncrementalMerkleVoucher) GetTree() *IncrementalMerkleTree
- func (*IncrementalMerkleVoucher) ProtoMessage()
- func (m *IncrementalMerkleVoucher) Reset()
- func (m *IncrementalMerkleVoucher) String() string
- func (m *IncrementalMerkleVoucher) XXX_DiscardUnknown()
- func (m *IncrementalMerkleVoucher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncrementalMerkleVoucher) XXX_Merge(src proto.Message)
- func (m *IncrementalMerkleVoucher) XXX_Size() int
- func (m *IncrementalMerkleVoucher) XXX_Unmarshal(b []byte) error
- type IncrementalMerkleVoucherInfo
- func (*IncrementalMerkleVoucherInfo) Descriptor() ([]byte, []int)
- func (m *IncrementalMerkleVoucherInfo) GetPaths() [][]byte
- func (m *IncrementalMerkleVoucherInfo) GetVouchers() []*IncrementalMerkleVoucher
- func (*IncrementalMerkleVoucherInfo) ProtoMessage()
- func (m *IncrementalMerkleVoucherInfo) Reset()
- func (m *IncrementalMerkleVoucherInfo) String() string
- func (m *IncrementalMerkleVoucherInfo) XXX_DiscardUnknown()
- func (m *IncrementalMerkleVoucherInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncrementalMerkleVoucherInfo) XXX_Merge(src proto.Message)
- func (m *IncrementalMerkleVoucherInfo) XXX_Size() int
- func (m *IncrementalMerkleVoucherInfo) XXX_Unmarshal(b []byte) error
- type InternalTransaction
- func (*InternalTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *InternalTransaction) GetCallValueInfo() []*InternalTransaction_CallValueInfo
- func (x *InternalTransaction) GetCallerAddress() []byte
- 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 MerklePath
- func (*MerklePath) Descriptor() ([]byte, []int)
- func (m *MerklePath) GetAuthenticationPaths() []*AuthenticationPath
- func (m *MerklePath) GetIndex() []bool
- func (m *MerklePath) GetRt() []byte
- func (*MerklePath) ProtoMessage()
- func (m *MerklePath) Reset()
- func (m *MerklePath) String() string
- func (m *MerklePath) XXX_DiscardUnknown()
- func (m *MerklePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerklePath) XXX_Merge(src proto.Message)
- func (m *MerklePath) XXX_Size() int
- func (m *MerklePath) XXX_Unmarshal(b []byte) error
- 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) GetJvmTotalMemoery() 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
- func (*OutputPoint) Descriptor() ([]byte, []int)
- func (m *OutputPoint) GetHash() []byte
- func (m *OutputPoint) GetIndex() int32
- func (*OutputPoint) ProtoMessage()
- func (m *OutputPoint) Reset()
- func (m *OutputPoint) String() string
- func (m *OutputPoint) XXX_DiscardUnknown()
- func (m *OutputPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutputPoint) XXX_Merge(src proto.Message)
- func (m *OutputPoint) XXX_Size() int
- func (m *OutputPoint) XXX_Unmarshal(b []byte) error
- type OutputPointInfo
- func (*OutputPointInfo) Descriptor() ([]byte, []int)
- func (m *OutputPointInfo) GetBlockNum() int32
- func (m *OutputPointInfo) GetOutPoints() []*OutputPoint
- func (*OutputPointInfo) ProtoMessage()
- func (m *OutputPointInfo) Reset()
- func (m *OutputPointInfo) String() string
- func (m *OutputPointInfo) XXX_DiscardUnknown()
- func (m *OutputPointInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutputPointInfo) XXX_Merge(src proto.Message)
- func (m *OutputPointInfo) XXX_Size() int
- func (m *OutputPointInfo) XXX_Unmarshal(b []byte) error
- type ParticipateAssetIssueContract
- func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int)
- func (m *ParticipateAssetIssueContract) GetAmount() int64
- func (m *ParticipateAssetIssueContract) GetAssetName() []byte
- func (m *ParticipateAssetIssueContract) GetOwnerAddress() []byte
- func (m *ParticipateAssetIssueContract) GetToAddress() []byte
- func (*ParticipateAssetIssueContract) ProtoMessage()
- func (m *ParticipateAssetIssueContract) Reset()
- func (m *ParticipateAssetIssueContract) String() string
- func (m *ParticipateAssetIssueContract) XXX_DiscardUnknown()
- func (m *ParticipateAssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParticipateAssetIssueContract) XXX_Merge(src proto.Message)
- func (m *ParticipateAssetIssueContract) XXX_Size() int
- func (m *ParticipateAssetIssueContract) XXX_Unmarshal(b []byte) error
- type PedersenHash
- func (*PedersenHash) Descriptor() ([]byte, []int)
- func (m *PedersenHash) GetContent() []byte
- func (*PedersenHash) ProtoMessage()
- func (m *PedersenHash) Reset()
- func (m *PedersenHash) String() string
- func (m *PedersenHash) XXX_DiscardUnknown()
- func (m *PedersenHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PedersenHash) XXX_Merge(src proto.Message)
- func (m *PedersenHash) XXX_Size() int
- func (m *PedersenHash) XXX_Unmarshal(b []byte) error
- 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)
- func (m *ProposalApproveContract) GetIsAddApproval() bool
- func (m *ProposalApproveContract) GetOwnerAddress() []byte
- func (m *ProposalApproveContract) GetProposalId() int64
- func (*ProposalApproveContract) ProtoMessage()
- func (m *ProposalApproveContract) Reset()
- func (m *ProposalApproveContract) String() string
- func (m *ProposalApproveContract) XXX_DiscardUnknown()
- func (m *ProposalApproveContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalApproveContract) XXX_Merge(src proto.Message)
- func (m *ProposalApproveContract) XXX_Size() int
- func (m *ProposalApproveContract) XXX_Unmarshal(b []byte) error
- type ProposalCreateContract
- func (*ProposalCreateContract) Descriptor() ([]byte, []int)
- func (m *ProposalCreateContract) GetOwnerAddress() []byte
- func (m *ProposalCreateContract) GetParameters() map[int64]int64
- func (*ProposalCreateContract) ProtoMessage()
- func (m *ProposalCreateContract) Reset()
- func (m *ProposalCreateContract) String() string
- func (m *ProposalCreateContract) XXX_DiscardUnknown()
- func (m *ProposalCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalCreateContract) XXX_Merge(src proto.Message)
- func (m *ProposalCreateContract) XXX_Size() int
- func (m *ProposalCreateContract) XXX_Unmarshal(b []byte) error
- type ProposalDeleteContract
- func (*ProposalDeleteContract) Descriptor() ([]byte, []int)
- func (m *ProposalDeleteContract) GetOwnerAddress() []byte
- func (m *ProposalDeleteContract) GetProposalId() int64
- func (*ProposalDeleteContract) ProtoMessage()
- func (m *ProposalDeleteContract) Reset()
- func (m *ProposalDeleteContract) String() string
- func (m *ProposalDeleteContract) XXX_DiscardUnknown()
- func (m *ProposalDeleteContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalDeleteContract) XXX_Merge(src proto.Message)
- func (m *ProposalDeleteContract) XXX_Size() int
- func (m *ProposalDeleteContract) XXX_Unmarshal(b []byte) error
- 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)
- func (m *ReceiveDescription) GetCEnc() []byte
- func (m *ReceiveDescription) GetCOut() []byte
- func (m *ReceiveDescription) GetEpk() []byte
- func (m *ReceiveDescription) GetNoteCommitment() []byte
- func (m *ReceiveDescription) GetValueCommitment() []byte
- func (m *ReceiveDescription) GetZkproof() []byte
- func (*ReceiveDescription) ProtoMessage()
- func (m *ReceiveDescription) Reset()
- func (m *ReceiveDescription) String() string
- func (m *ReceiveDescription) XXX_DiscardUnknown()
- func (m *ReceiveDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiveDescription) XXX_Merge(src proto.Message)
- func (m *ReceiveDescription) XXX_Size() int
- func (m *ReceiveDescription) XXX_Unmarshal(b []byte) error
- type ResourceCode
- type ResourceReceipt
- func (*ResourceReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceReceipt) GetEnergyFee() 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 SellStorageContract
- func (*SellStorageContract) Descriptor() ([]byte, []int)
- func (m *SellStorageContract) GetOwnerAddress() []byte
- func (m *SellStorageContract) GetStorageBytes() int64
- func (*SellStorageContract) ProtoMessage()
- func (m *SellStorageContract) Reset()
- func (m *SellStorageContract) String() string
- func (m *SellStorageContract) XXX_DiscardUnknown()
- func (m *SellStorageContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SellStorageContract) XXX_Merge(src proto.Message)
- func (m *SellStorageContract) XXX_Size() int
- func (m *SellStorageContract) XXX_Unmarshal(b []byte) error
- type SetAccountIdContract
- func (*SetAccountIdContract) Descriptor() ([]byte, []int)
- func (m *SetAccountIdContract) GetAccountId() []byte
- func (m *SetAccountIdContract) GetOwnerAddress() []byte
- func (*SetAccountIdContract) ProtoMessage()
- func (m *SetAccountIdContract) Reset()
- func (m *SetAccountIdContract) String() string
- func (m *SetAccountIdContract) XXX_DiscardUnknown()
- func (m *SetAccountIdContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetAccountIdContract) XXX_Merge(src proto.Message)
- func (m *SetAccountIdContract) XXX_Size() int
- func (m *SetAccountIdContract) XXX_Unmarshal(b []byte) error
- type ShieldedTransferContract
- func (*ShieldedTransferContract) Descriptor() ([]byte, []int)
- func (m *ShieldedTransferContract) GetBindingSignature() []byte
- func (m *ShieldedTransferContract) GetFromAmount() int64
- func (m *ShieldedTransferContract) GetReceiveDescription() []*ReceiveDescription
- func (m *ShieldedTransferContract) GetSpendDescription() []*SpendDescription
- func (m *ShieldedTransferContract) GetToAmount() int64
- func (m *ShieldedTransferContract) GetTransparentFromAddress() []byte
- func (m *ShieldedTransferContract) GetTransparentToAddress() []byte
- func (*ShieldedTransferContract) ProtoMessage()
- func (m *ShieldedTransferContract) Reset()
- func (m *ShieldedTransferContract) String() string
- func (m *ShieldedTransferContract) XXX_DiscardUnknown()
- func (m *ShieldedTransferContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShieldedTransferContract) XXX_Merge(src proto.Message)
- func (m *ShieldedTransferContract) XXX_Size() int
- func (m *ShieldedTransferContract) XXX_Unmarshal(b []byte) error
- type SmartContract
- func (*SmartContract) Descriptor() ([]byte, []int)
- func (m *SmartContract) GetAbi() *SmartContract_ABI
- func (m *SmartContract) GetBytecode() []byte
- func (m *SmartContract) GetCallValue() int64
- func (m *SmartContract) GetCodeHash() []byte
- func (m *SmartContract) GetConsumeUserResourcePercent() int64
- func (m *SmartContract) GetContractAddress() []byte
- func (m *SmartContract) GetName() string
- func (m *SmartContract) GetOriginAddress() []byte
- func (m *SmartContract) GetOriginEnergyLimit() int64
- func (m *SmartContract) GetTrxHash() []byte
- func (*SmartContract) ProtoMessage()
- func (m *SmartContract) Reset()
- func (m *SmartContract) String() string
- func (m *SmartContract) XXX_DiscardUnknown()
- func (m *SmartContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SmartContract) XXX_Merge(src proto.Message)
- func (m *SmartContract) XXX_Size() int
- func (m *SmartContract) XXX_Unmarshal(b []byte) error
- type SmartContract_ABI
- func (*SmartContract_ABI) Descriptor() ([]byte, []int)
- func (m *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry
- func (*SmartContract_ABI) ProtoMessage()
- func (m *SmartContract_ABI) Reset()
- func (m *SmartContract_ABI) String() string
- func (m *SmartContract_ABI) XXX_DiscardUnknown()
- func (m *SmartContract_ABI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SmartContract_ABI) XXX_Merge(src proto.Message)
- func (m *SmartContract_ABI) XXX_Size() int
- func (m *SmartContract_ABI) XXX_Unmarshal(b []byte) error
- type SmartContract_ABI_Entry
- func (*SmartContract_ABI_Entry) Descriptor() ([]byte, []int)
- func (m *SmartContract_ABI_Entry) GetAnonymous() bool
- func (m *SmartContract_ABI_Entry) GetConstant() bool
- func (m *SmartContract_ABI_Entry) GetInputs() []*SmartContract_ABI_Entry_Param
- func (m *SmartContract_ABI_Entry) GetName() string
- func (m *SmartContract_ABI_Entry) GetOutputs() []*SmartContract_ABI_Entry_Param
- func (m *SmartContract_ABI_Entry) GetPayable() bool
- func (m *SmartContract_ABI_Entry) GetStateMutability() SmartContract_ABI_Entry_StateMutabilityType
- func (m *SmartContract_ABI_Entry) GetType() SmartContract_ABI_Entry_EntryType
- func (*SmartContract_ABI_Entry) ProtoMessage()
- func (m *SmartContract_ABI_Entry) Reset()
- func (m *SmartContract_ABI_Entry) String() string
- func (m *SmartContract_ABI_Entry) XXX_DiscardUnknown()
- func (m *SmartContract_ABI_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SmartContract_ABI_Entry) XXX_Merge(src proto.Message)
- func (m *SmartContract_ABI_Entry) XXX_Size() int
- func (m *SmartContract_ABI_Entry) XXX_Unmarshal(b []byte) error
- type SmartContract_ABI_Entry_EntryType
- type SmartContract_ABI_Entry_Param
- func (*SmartContract_ABI_Entry_Param) Descriptor() ([]byte, []int)
- func (m *SmartContract_ABI_Entry_Param) GetIndexed() bool
- func (m *SmartContract_ABI_Entry_Param) GetName() string
- func (m *SmartContract_ABI_Entry_Param) GetType() string
- func (*SmartContract_ABI_Entry_Param) ProtoMessage()
- func (m *SmartContract_ABI_Entry_Param) Reset()
- func (m *SmartContract_ABI_Entry_Param) String() string
- func (m *SmartContract_ABI_Entry_Param) XXX_DiscardUnknown()
- func (m *SmartContract_ABI_Entry_Param) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SmartContract_ABI_Entry_Param) XXX_Merge(src proto.Message)
- func (m *SmartContract_ABI_Entry_Param) XXX_Size() int
- func (m *SmartContract_ABI_Entry_Param) XXX_Unmarshal(b []byte) error
- type SmartContract_ABI_Entry_StateMutabilityType
- type SpendDescription
- func (*SpendDescription) Descriptor() ([]byte, []int)
- func (m *SpendDescription) GetAnchor() []byte
- func (m *SpendDescription) GetNullifier() []byte
- func (m *SpendDescription) GetRk() []byte
- func (m *SpendDescription) GetSpendAuthoritySignature() []byte
- func (m *SpendDescription) GetValueCommitment() []byte
- func (m *SpendDescription) GetZkproof() []byte
- func (*SpendDescription) ProtoMessage()
- func (m *SpendDescription) Reset()
- func (m *SpendDescription) String() string
- func (m *SpendDescription) XXX_DiscardUnknown()
- func (m *SpendDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpendDescription) XXX_Merge(src proto.Message)
- func (m *SpendDescription) XXX_Size() int
- func (m *SpendDescription) XXX_Unmarshal(b []byte) error
- 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 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) 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 (*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() *any.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) GetRet() Transaction_ResultCode
- func (x *Transaction_Result) GetShieldedTransactionFee() int64
- func (x *Transaction_Result) GetUnfreezeAmount() int64
- func (x *Transaction_Result) GetWithdrawAmount() 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)
- func (m *TransferAssetContract) GetAmount() int64
- func (m *TransferAssetContract) GetAssetName() []byte
- func (m *TransferAssetContract) GetOwnerAddress() []byte
- func (m *TransferAssetContract) GetToAddress() []byte
- func (*TransferAssetContract) ProtoMessage()
- func (m *TransferAssetContract) Reset()
- func (m *TransferAssetContract) String() string
- func (m *TransferAssetContract) XXX_DiscardUnknown()
- func (m *TransferAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferAssetContract) XXX_Merge(src proto.Message)
- func (m *TransferAssetContract) XXX_Size() int
- func (m *TransferAssetContract) XXX_Unmarshal(b []byte) error
- type TransferContract
- func (*TransferContract) Descriptor() ([]byte, []int)
- func (m *TransferContract) GetAmount() int64
- func (m *TransferContract) GetOwnerAddress() []byte
- func (m *TransferContract) GetToAddress() []byte
- func (*TransferContract) ProtoMessage()
- func (m *TransferContract) Reset()
- func (m *TransferContract) String() string
- func (m *TransferContract) XXX_DiscardUnknown()
- func (m *TransferContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferContract) XXX_Merge(src proto.Message)
- func (m *TransferContract) XXX_Size() int
- func (m *TransferContract) XXX_Unmarshal(b []byte) error
- type TriggerSmartContract
- func (*TriggerSmartContract) Descriptor() ([]byte, []int)
- func (m *TriggerSmartContract) GetCallTokenValue() int64
- func (m *TriggerSmartContract) GetCallValue() int64
- func (m *TriggerSmartContract) GetContractAddress() []byte
- func (m *TriggerSmartContract) GetData() []byte
- func (m *TriggerSmartContract) GetOwnerAddress() []byte
- func (m *TriggerSmartContract) GetTokenId() int64
- func (*TriggerSmartContract) ProtoMessage()
- func (m *TriggerSmartContract) Reset()
- func (m *TriggerSmartContract) String() string
- func (m *TriggerSmartContract) XXX_DiscardUnknown()
- func (m *TriggerSmartContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TriggerSmartContract) XXX_Merge(src proto.Message)
- func (m *TriggerSmartContract) XXX_Size() int
- func (m *TriggerSmartContract) XXX_Unmarshal(b []byte) error
- type UnfreezeAssetContract
- func (*UnfreezeAssetContract) Descriptor() ([]byte, []int)
- func (m *UnfreezeAssetContract) GetOwnerAddress() []byte
- func (*UnfreezeAssetContract) ProtoMessage()
- func (m *UnfreezeAssetContract) Reset()
- func (m *UnfreezeAssetContract) String() string
- func (m *UnfreezeAssetContract) XXX_DiscardUnknown()
- func (m *UnfreezeAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnfreezeAssetContract) XXX_Merge(src proto.Message)
- func (m *UnfreezeAssetContract) XXX_Size() int
- func (m *UnfreezeAssetContract) XXX_Unmarshal(b []byte) error
- type UnfreezeBalanceContract
- func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int)
- func (m *UnfreezeBalanceContract) GetOwnerAddress() []byte
- func (m *UnfreezeBalanceContract) GetReceiverAddress() []byte
- func (m *UnfreezeBalanceContract) GetResource() ResourceCode
- func (*UnfreezeBalanceContract) ProtoMessage()
- func (m *UnfreezeBalanceContract) Reset()
- func (m *UnfreezeBalanceContract) String() string
- func (m *UnfreezeBalanceContract) XXX_DiscardUnknown()
- func (m *UnfreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnfreezeBalanceContract) XXX_Merge(src proto.Message)
- func (m *UnfreezeBalanceContract) XXX_Size() int
- func (m *UnfreezeBalanceContract) XXX_Unmarshal(b []byte) error
- type UpdateAssetContract
- func (*UpdateAssetContract) Descriptor() ([]byte, []int)
- func (m *UpdateAssetContract) GetDescription() []byte
- func (m *UpdateAssetContract) GetNewLimit() int64
- func (m *UpdateAssetContract) GetNewPublicLimit() int64
- func (m *UpdateAssetContract) GetOwnerAddress() []byte
- func (m *UpdateAssetContract) GetUrl() []byte
- func (*UpdateAssetContract) ProtoMessage()
- func (m *UpdateAssetContract) Reset()
- func (m *UpdateAssetContract) String() string
- func (m *UpdateAssetContract) XXX_DiscardUnknown()
- func (m *UpdateAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAssetContract) XXX_Merge(src proto.Message)
- func (m *UpdateAssetContract) XXX_Size() int
- func (m *UpdateAssetContract) XXX_Unmarshal(b []byte) error
- type UpdateBrokerageContract
- func (*UpdateBrokerageContract) Descriptor() ([]byte, []int)
- func (m *UpdateBrokerageContract) GetBrokerage() int32
- func (m *UpdateBrokerageContract) GetOwnerAddress() []byte
- func (*UpdateBrokerageContract) ProtoMessage()
- func (m *UpdateBrokerageContract) Reset()
- func (m *UpdateBrokerageContract) String() string
- func (m *UpdateBrokerageContract) XXX_DiscardUnknown()
- func (m *UpdateBrokerageContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateBrokerageContract) XXX_Merge(src proto.Message)
- func (m *UpdateBrokerageContract) XXX_Size() int
- func (m *UpdateBrokerageContract) XXX_Unmarshal(b []byte) error
- type UpdateEnergyLimitContract
- func (*UpdateEnergyLimitContract) Descriptor() ([]byte, []int)
- func (m *UpdateEnergyLimitContract) GetContractAddress() []byte
- func (m *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64
- func (m *UpdateEnergyLimitContract) GetOwnerAddress() []byte
- func (*UpdateEnergyLimitContract) ProtoMessage()
- func (m *UpdateEnergyLimitContract) Reset()
- func (m *UpdateEnergyLimitContract) String() string
- func (m *UpdateEnergyLimitContract) XXX_DiscardUnknown()
- func (m *UpdateEnergyLimitContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateEnergyLimitContract) XXX_Merge(src proto.Message)
- func (m *UpdateEnergyLimitContract) XXX_Size() int
- func (m *UpdateEnergyLimitContract) XXX_Unmarshal(b []byte) error
- type UpdateSettingContract
- func (*UpdateSettingContract) Descriptor() ([]byte, []int)
- func (m *UpdateSettingContract) GetConsumeUserResourcePercent() int64
- func (m *UpdateSettingContract) GetContractAddress() []byte
- func (m *UpdateSettingContract) GetOwnerAddress() []byte
- func (*UpdateSettingContract) ProtoMessage()
- func (m *UpdateSettingContract) Reset()
- func (m *UpdateSettingContract) String() string
- func (m *UpdateSettingContract) XXX_DiscardUnknown()
- func (m *UpdateSettingContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateSettingContract) XXX_Merge(src proto.Message)
- func (m *UpdateSettingContract) XXX_Size() int
- func (m *UpdateSettingContract) XXX_Unmarshal(b []byte) error
- type Vote
- type VoteAssetContract
- func (*VoteAssetContract) Descriptor() ([]byte, []int)
- func (m *VoteAssetContract) GetCount() int32
- func (m *VoteAssetContract) GetOwnerAddress() []byte
- func (m *VoteAssetContract) GetSupport() bool
- func (m *VoteAssetContract) GetVoteAddress() [][]byte
- func (*VoteAssetContract) ProtoMessage()
- func (m *VoteAssetContract) Reset()
- func (m *VoteAssetContract) String() string
- func (m *VoteAssetContract) XXX_DiscardUnknown()
- func (m *VoteAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteAssetContract) XXX_Merge(src proto.Message)
- func (m *VoteAssetContract) XXX_Size() int
- func (m *VoteAssetContract) XXX_Unmarshal(b []byte) error
- type VoteWitnessContract
- func (*VoteWitnessContract) Descriptor() ([]byte, []int)
- func (m *VoteWitnessContract) GetOwnerAddress() []byte
- func (m *VoteWitnessContract) GetSupport() bool
- func (m *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote
- func (*VoteWitnessContract) ProtoMessage()
- func (m *VoteWitnessContract) Reset()
- func (m *VoteWitnessContract) String() string
- func (m *VoteWitnessContract) XXX_DiscardUnknown()
- func (m *VoteWitnessContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteWitnessContract) XXX_Merge(src proto.Message)
- func (m *VoteWitnessContract) XXX_Size() int
- func (m *VoteWitnessContract) XXX_Unmarshal(b []byte) error
- type VoteWitnessContract_Vote
- func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int)
- func (m *VoteWitnessContract_Vote) GetVoteAddress() []byte
- func (m *VoteWitnessContract_Vote) GetVoteCount() int64
- func (*VoteWitnessContract_Vote) ProtoMessage()
- func (m *VoteWitnessContract_Vote) Reset()
- func (m *VoteWitnessContract_Vote) String() string
- func (m *VoteWitnessContract_Vote) XXX_DiscardUnknown()
- func (m *VoteWitnessContract_Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteWitnessContract_Vote) XXX_Merge(src proto.Message)
- func (m *VoteWitnessContract_Vote) XXX_Size() int
- func (m *VoteWitnessContract_Vote) XXX_Unmarshal(b []byte) error
- 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)
- func (m *WithdrawBalanceContract) GetOwnerAddress() []byte
- func (*WithdrawBalanceContract) ProtoMessage()
- func (m *WithdrawBalanceContract) Reset()
- func (m *WithdrawBalanceContract) String() string
- func (m *WithdrawBalanceContract) XXX_DiscardUnknown()
- func (m *WithdrawBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawBalanceContract) XXX_Merge(src proto.Message)
- func (m *WithdrawBalanceContract) XXX_Size() int
- func (m *WithdrawBalanceContract) XXX_Unmarshal(b []byte) error
- 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)
- func (m *WitnessCreateContract) GetOwnerAddress() []byte
- func (m *WitnessCreateContract) GetUrl() []byte
- func (*WitnessCreateContract) ProtoMessage()
- func (m *WitnessCreateContract) Reset()
- func (m *WitnessCreateContract) String() string
- func (m *WitnessCreateContract) XXX_DiscardUnknown()
- func (m *WitnessCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WitnessCreateContract) XXX_Merge(src proto.Message)
- func (m *WitnessCreateContract) XXX_Size() int
- func (m *WitnessCreateContract) XXX_Unmarshal(b []byte) error
- type WitnessUpdateContract
- func (*WitnessUpdateContract) Descriptor() ([]byte, []int)
- func (m *WitnessUpdateContract) GetOwnerAddress() []byte
- func (m *WitnessUpdateContract) GetUpdateUrl() []byte
- func (*WitnessUpdateContract) ProtoMessage()
- func (m *WitnessUpdateContract) Reset()
- func (m *WitnessUpdateContract) String() string
- func (m *WitnessUpdateContract) XXX_DiscardUnknown()
- func (m *WitnessUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WitnessUpdateContract) XXX_Merge(src proto.Message)
- func (m *WitnessUpdateContract) XXX_Size() int
- func (m *WitnessUpdateContract) XXX_Unmarshal(b []byte) error
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: "NULL_IDENTITY", 8: "PEER_QUITING", 9: "UNEXPECTED_IDENTITY", 10: "LOCAL_IDENTITY", 11: "PING_TIMEOUT", 16: "USER_REASON", 17: "RESET", 18: "SYNC_FAIL", 19: "FETCH_FAIL", 20: "BAD_TX", 21: "BAD_BLOCK", 22: "FORKED", 23: "UNLINKABLE", 24: "INCOMPATIBLE_VERSION", 25: "INCOMPATIBLE_CHAIN", 32: "TIME_OUT", 33: "CONNECT_FAIL", 34: "TOO_MANY_PEERS_WITH_SAME_IP", 255: "UNKNOWN", } ReasonCode_value = map[string]int32{ "REQUESTED": 0, "BAD_PROTOCOL": 2, "TOO_MANY_PEERS": 4, "DUPLICATE_PEER": 5, "INCOMPATIBLE_PROTOCOL": 6, "NULL_IDENTITY": 7, "PEER_QUITING": 8, "UNEXPECTED_IDENTITY": 9, "LOCAL_IDENTITY": 10, "PING_TIMEOUT": 11, "USER_REASON": 16, "RESET": 17, "SYNC_FAIL": 18, "FETCH_FAIL": 19, "BAD_TX": 20, "BAD_BLOCK": 21, "FORKED": 22, "UNLINKABLE": 23, "INCOMPATIBLE_VERSION": 24, "INCOMPATIBLE_CHAIN": 25, "TIME_OUT": 32, "CONNECT_FAIL": 33, "TOO_MANY_PEERS_WITH_SAME_IP": 34, "UNKNOWN": 255, } )
Enum value maps for ReasonCode.
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 ( 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", } Transaction_Contract_ContractType_value = map[string]int32{ "AccountCreateContract": 0, "TransferContract": 1, "TransferAssetContract": 2, "VoteAssetContract": 3, "VoteWitnessContract": 4, "WitnessCreateContract": 5, "AssetIssueContract": 6, "WitnessUpdateContract": 8, "ParticipateAssetIssueContract": 9, "AccountUpdateContract": 10, "FreezeBalanceContract": 11, "UnfreezeBalanceContract": 12, "WithdrawBalanceContract": 13, "UnfreezeAssetContract": 14, "UpdateAssetContract": 15, "ProposalCreateContract": 16, "ProposalApproveContract": 17, "ProposalDeleteContract": 18, "SetAccountIdContract": 19, "CustomContract": 20, "CreateSmartContract": 30, "TriggerSmartContract": 31, "GetContract": 32, "UpdateSettingContract": 33, "ExchangeCreateContract": 41, "ExchangeInjectContract": 42, "ExchangeWithdrawContract": 43, "ExchangeTransactionContract": 44, "UpdateEnergyLimitContract": 45, "AccountPermissionUpdateContract": 46, "ClearABIContract": 48, "UpdateBrokerageContract": 49, "ShieldedTransferContract": 51, } )
Enum value maps for Transaction_Contract_ContractType.
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", } Transaction_ResultContractResult_value = map[string]int32{ "DEFAULT": 0, "SUCCESS": 1, "REVERT": 2, "BAD_JUMP_DESTINATION": 3, "OUT_OF_MEMORY": 4, "PRECOMPILED_CONTRACT": 5, "STACK_TOO_SMALL": 6, "STACK_TOO_LARGE": 7, "ILLEGAL_OPERATION": 8, "STACK_OVERFLOW": 9, "OUT_OF_ENERGY": 10, "OUT_OF_TIME": 11, "JVM_STACK_OVER_FLOW": 12, "UNKNOWN": 13, "TRANSFER_FAILED": 14, } )
Enum value maps for Transaction_ResultContractResult.
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 File_core_Discover_proto protoreflect.FileDescriptor
var File_core_TronInventoryItems_proto protoreflect.FileDescriptor
var File_core_Tron_proto protoreflect.FileDescriptor
var ResourceCode_name = map[int32]string{
0: "BANDWIDTH",
1: "ENERGY",
}
var ResourceCode_value = map[string]int32{
"BANDWIDTH": 0,
"ENERGY": 1,
}
var SmartContract_ABI_Entry_EntryType_name = map[int32]string{
0: "UnknownEntryType",
1: "Constructor",
2: "Function",
3: "Event",
4: "Fallback",
}
var SmartContract_ABI_Entry_EntryType_value = map[string]int32{
"UnknownEntryType": 0,
"Constructor": 1,
"Function": 2,
"Event": 3,
"Fallback": 4,
}
var SmartContract_ABI_Entry_StateMutabilityType_name = map[int32]string{
0: "UnknownMutabilityType",
1: "Pure",
2: "View",
3: "Nonpayable",
4: "Payable",
}
var SmartContract_ABI_Entry_StateMutabilityType_value = map[string]int32{
"UnknownMutabilityType": 0,
"Pure": 1,
"View": 2,
"Nonpayable": 3,
"Payable": 4,
}
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // account nick name AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` Type AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` // the create address Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // the trx balance Balance int64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"` // the votes Votes []*Vote `protobuf:"bytes,5,rep,name=votes,proto3" json:"votes,omitempty"` // the other asset owned by this account Asset map[string]int64 `` /* 152-byte string literal not displayed */ // the other asset owned by this account,key is assetId AssetV2 map[string]int64 `` /* 157-byte string literal not displayed */ // the frozen balance for bandwidth Frozen []*Account_Frozen `protobuf:"bytes,7,rep,name=frozen,proto3" json:"frozen,omitempty"` // bandwidth, get from frozen NetUsage int64 `protobuf:"varint,8,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` //Frozen balance provided by other accounts to this account AcquiredDelegatedFrozenBalanceForBandwidth int64 `` /* 197-byte string literal not displayed */ //Freeze and provide balances to other accounts DelegatedFrozenBalanceForBandwidth int64 `` /* 171-byte string literal not displayed */ // this account create time CreateTime int64 `protobuf:"varint,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // this last operation time, including transfer, voting and so on. //FIXME fix grammar LatestOprationTime int64 `protobuf:"varint,10,opt,name=latest_opration_time,json=latestOprationTime,proto3" json:"latest_opration_time,omitempty"` // witness block producing allowance Allowance int64 `protobuf:"varint,11,opt,name=allowance,proto3" json:"allowance,omitempty"` // last withdraw time LatestWithdrawTime int64 `protobuf:"varint,12,opt,name=latest_withdraw_time,json=latestWithdrawTime,proto3" json:"latest_withdraw_time,omitempty"` // not used so far Code []byte `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` IsWitness bool `protobuf:"varint,14,opt,name=is_witness,json=isWitness,proto3" json:"is_witness,omitempty"` IsCommittee bool `protobuf:"varint,15,opt,name=is_committee,json=isCommittee,proto3" json:"is_committee,omitempty"` // frozen asset(for asset issuer) FrozenSupply []*Account_Frozen `protobuf:"bytes,16,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` // asset_issued_name AssetIssuedName []byte `protobuf:"bytes,17,opt,name=asset_issued_name,json=assetIssuedName,proto3" json:"asset_issued_name,omitempty"` AssetIssued_ID []byte `protobuf:"bytes,57,opt,name=asset_issued_ID,json=assetIssuedID,proto3" json:"asset_issued_ID,omitempty"` LatestAssetOperationTime map[string]int64 `` /* 227-byte string literal not displayed */ LatestAssetOperationTimeV2 map[string]int64 `` /* 233-byte string literal not displayed */ FreeNetUsage int64 `protobuf:"varint,19,opt,name=free_net_usage,json=freeNetUsage,proto3" json:"free_net_usage,omitempty"` FreeAssetNetUsage map[string]int64 `` /* 206-byte string literal not displayed */ FreeAssetNetUsageV2 map[string]int64 `` /* 212-byte string literal not displayed */ LatestConsumeTime int64 `protobuf:"varint,21,opt,name=latest_consume_time,json=latestConsumeTime,proto3" json:"latest_consume_time,omitempty"` LatestConsumeFreeTime int64 `` /* 130-byte string literal not displayed */ // the identity of this account, case insensitive AccountId []byte `protobuf:"bytes,23,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AccountResource *Account_AccountResource `protobuf:"bytes,26,opt,name=account_resource,json=accountResource,proto3" json:"account_resource,omitempty"` CodeHash []byte `protobuf:"bytes,30,opt,name=codeHash,proto3" json:"codeHash,omitempty"` OwnerPermission *Permission `protobuf:"bytes,31,opt,name=owner_permission,json=ownerPermission,proto3" json:"owner_permission,omitempty"` WitnessPermission *Permission `protobuf:"bytes,32,opt,name=witness_permission,json=witnessPermission,proto3" json:"witness_permission,omitempty"` ActivePermission []*Permission `protobuf:"bytes,33,rep,name=active_permission,json=activePermission,proto3" json:"active_permission,omitempty"` // contains filtered or unexported fields }
Account
func (*Account) Descriptor
deprecated
func (*Account) GetAccountId ¶
func (*Account) GetAccountName ¶
func (*Account) GetAccountResource ¶
func (x *Account) GetAccountResource() *Account_AccountResource
func (*Account) GetAcquiredDelegatedFrozenBalanceForBandwidth ¶
func (*Account) GetActivePermission ¶
func (x *Account) GetActivePermission() []*Permission
func (*Account) GetAddress ¶
func (*Account) GetAllowance ¶
func (*Account) GetAssetIssuedName ¶
func (*Account) GetAssetIssued_ID ¶
func (*Account) GetAssetV2 ¶
func (*Account) GetBalance ¶
func (*Account) GetCodeHash ¶
func (*Account) GetCreateTime ¶
func (*Account) GetDelegatedFrozenBalanceForBandwidth ¶
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) 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) GetOwnerPermission ¶
func (x *Account) GetOwnerPermission() *Permission
func (*Account) GetType ¶
func (x *Account) GetType() AccountType
func (*Account) GetWitnessPermission ¶
func (x *Account) GetWitnessPermission() *Permission
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccountCreateContract) Descriptor ¶
func (*AccountCreateContract) Descriptor() ([]byte, []int)
func (*AccountCreateContract) GetAccountAddress ¶
func (m *AccountCreateContract) GetAccountAddress() []byte
func (*AccountCreateContract) GetOwnerAddress ¶
func (m *AccountCreateContract) GetOwnerAddress() []byte
func (*AccountCreateContract) GetType ¶
func (m *AccountCreateContract) GetType() AccountType
func (*AccountCreateContract) ProtoMessage ¶
func (*AccountCreateContract) ProtoMessage()
func (*AccountCreateContract) Reset ¶
func (m *AccountCreateContract) Reset()
func (*AccountCreateContract) String ¶
func (m *AccountCreateContract) String() string
func (*AccountCreateContract) XXX_DiscardUnknown ¶
func (m *AccountCreateContract) XXX_DiscardUnknown()
func (*AccountCreateContract) XXX_Marshal ¶
func (m *AccountCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountCreateContract) XXX_Merge ¶
func (m *AccountCreateContract) XXX_Merge(src proto.Message)
func (*AccountCreateContract) XXX_Size ¶
func (m *AccountCreateContract) XXX_Size() int
func (*AccountCreateContract) XXX_Unmarshal ¶
func (m *AccountCreateContract) XXX_Unmarshal(b []byte) error
type AccountId ¶
type AccountId struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 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 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"` Witness *Permission `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"` Actives []*Permission `protobuf:"bytes,4,rep,name=actives,proto3" json:"actives,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccountPermissionUpdateContract) Descriptor ¶
func (*AccountPermissionUpdateContract) Descriptor() ([]byte, []int)
func (*AccountPermissionUpdateContract) GetActives ¶
func (m *AccountPermissionUpdateContract) GetActives() []*Permission
func (*AccountPermissionUpdateContract) GetOwner ¶
func (m *AccountPermissionUpdateContract) GetOwner() *Permission
func (*AccountPermissionUpdateContract) GetOwnerAddress ¶
func (m *AccountPermissionUpdateContract) GetOwnerAddress() []byte
func (*AccountPermissionUpdateContract) GetWitness ¶
func (m *AccountPermissionUpdateContract) GetWitness() *Permission
func (*AccountPermissionUpdateContract) ProtoMessage ¶
func (*AccountPermissionUpdateContract) ProtoMessage()
func (*AccountPermissionUpdateContract) Reset ¶
func (m *AccountPermissionUpdateContract) Reset()
func (*AccountPermissionUpdateContract) String ¶
func (m *AccountPermissionUpdateContract) String() string
func (*AccountPermissionUpdateContract) XXX_DiscardUnknown ¶
func (m *AccountPermissionUpdateContract) XXX_DiscardUnknown()
func (*AccountPermissionUpdateContract) XXX_Marshal ¶
func (m *AccountPermissionUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountPermissionUpdateContract) XXX_Merge ¶
func (m *AccountPermissionUpdateContract) XXX_Merge(src proto.Message)
func (*AccountPermissionUpdateContract) XXX_Size ¶
func (m *AccountPermissionUpdateContract) XXX_Size() int
func (*AccountPermissionUpdateContract) XXX_Unmarshal ¶
func (m *AccountPermissionUpdateContract) XXX_Unmarshal(b []byte) error
type AccountType ¶
type AccountType int32
const ( AccountType_Normal AccountType = 0 AccountType_AssetIssue AccountType = 1 AccountType_Contract AccountType = 2 )
func (AccountType) 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Update account name. Account name is not unique now.
func (*AccountUpdateContract) Descriptor ¶
func (*AccountUpdateContract) Descriptor() ([]byte, []int)
func (*AccountUpdateContract) GetAccountName ¶
func (m *AccountUpdateContract) GetAccountName() []byte
func (*AccountUpdateContract) GetOwnerAddress ¶
func (m *AccountUpdateContract) GetOwnerAddress() []byte
func (*AccountUpdateContract) ProtoMessage ¶
func (*AccountUpdateContract) ProtoMessage()
func (*AccountUpdateContract) Reset ¶
func (m *AccountUpdateContract) Reset()
func (*AccountUpdateContract) String ¶
func (m *AccountUpdateContract) String() string
func (*AccountUpdateContract) XXX_DiscardUnknown ¶
func (m *AccountUpdateContract) XXX_DiscardUnknown()
func (*AccountUpdateContract) XXX_Marshal ¶
func (m *AccountUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUpdateContract) XXX_Merge ¶
func (m *AccountUpdateContract) XXX_Merge(src proto.Message)
func (*AccountUpdateContract) XXX_Size ¶
func (m *AccountUpdateContract) XXX_Size() int
func (*AccountUpdateContract) XXX_Unmarshal ¶
func (m *AccountUpdateContract) XXX_Unmarshal(b []byte) error
type Account_AccountResource ¶
type Account_AccountResource struct { // energy resource, get from frozen EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` // the frozen balance for energy FrozenBalanceForEnergy *Account_Frozen `` /* 131-byte string literal not displayed */ LatestConsumeTimeForEnergy int64 `` /* 146-byte string literal not displayed */ //Frozen balance provided by other accounts to this account AcquiredDelegatedFrozenBalanceForEnergy int64 `` /* 187-byte string literal not displayed */ //Frozen balances provided to other accounts DelegatedFrozenBalanceForEnergy int64 `` /* 161-byte string literal not displayed */ // storage resource, get from market StorageLimit int64 `protobuf:"varint,6,opt,name=storage_limit,json=storageLimit,proto3" json:"storage_limit,omitempty"` StorageUsage int64 `protobuf:"varint,7,opt,name=storage_usage,json=storageUsage,proto3" json:"storage_usage,omitempty"` LatestExchangeStorageTime int64 `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Account_AccountResource) Descriptor
deprecated
func (*Account_AccountResource) Descriptor() ([]byte, []int)
Deprecated: Use Account_AccountResource.ProtoReflect.Descriptor instead.
func (*Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy ¶
func (x *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64
func (*Account_AccountResource) GetDelegatedFrozenBalanceForEnergy ¶
func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64
func (*Account_AccountResource) GetEnergyUsage ¶
func (x *Account_AccountResource) GetEnergyUsage() int64
func (*Account_AccountResource) GetFrozenBalanceForEnergy ¶
func (x *Account_AccountResource) GetFrozenBalanceForEnergy() *Account_Frozen
func (*Account_AccountResource) GetLatestConsumeTimeForEnergy ¶
func (x *Account_AccountResource) GetLatestConsumeTimeForEnergy() int64
func (*Account_AccountResource) GetLatestExchangeStorageTime ¶
func (x *Account_AccountResource) GetLatestExchangeStorageTime() int64
func (*Account_AccountResource) GetStorageLimit ¶
func (x *Account_AccountResource) GetStorageLimit() int64
func (*Account_AccountResource) GetStorageUsage ¶
func (x *Account_AccountResource) GetStorageUsage() int64
func (*Account_AccountResource) ProtoMessage ¶
func (*Account_AccountResource) ProtoMessage()
func (*Account_AccountResource) ProtoReflect ¶
func (x *Account_AccountResource) ProtoReflect() protoreflect.Message
func (*Account_AccountResource) Reset ¶
func (x *Account_AccountResource) Reset()
func (*Account_AccountResource) String ¶
func (x *Account_AccountResource) String() string
type Account_Frozen ¶
type Account_Frozen struct { FrozenBalance int64 `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` // the frozen trx balance ExpireTime int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // the expire time // contains filtered or unexported fields }
frozen balance
func (*Account_Frozen) Descriptor
deprecated
func (*Account_Frozen) Descriptor() ([]byte, []int)
Deprecated: Use Account_Frozen.ProtoReflect.Descriptor instead.
func (*Account_Frozen) GetExpireTime ¶
func (x *Account_Frozen) GetExpireTime() int64
func (*Account_Frozen) GetFrozenBalance ¶
func (x *Account_Frozen) GetFrozenBalance() int64
func (*Account_Frozen) ProtoMessage ¶
func (*Account_Frozen) ProtoMessage()
func (*Account_Frozen) ProtoReflect ¶
func (x *Account_Frozen) ProtoReflect() protoreflect.Message
func (*Account_Frozen) Reset ¶
func (x *Account_Frozen) Reset()
func (*Account_Frozen) String ¶
func (x *Account_Frozen) String() string
type AssetIssueContract ¶
type AssetIssueContract struct { Id string `protobuf:"bytes,41,opt,name=id,proto3" json:"id,omitempty"` OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Abbr []byte `protobuf:"bytes,3,opt,name=abbr,proto3" json:"abbr,omitempty"` TotalSupply int64 `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` FrozenSupply []*AssetIssueContract_FrozenSupply `protobuf:"bytes,5,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` TrxNum int32 `protobuf:"varint,6,opt,name=trx_num,json=trxNum,proto3" json:"trx_num,omitempty"` Precision int32 `protobuf:"varint,7,opt,name=precision,proto3" json:"precision,omitempty"` Num int32 `protobuf:"varint,8,opt,name=num,proto3" json:"num,omitempty"` StartTime int64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Order int64 `protobuf:"varint,11,opt,name=order,proto3" json:"order,omitempty"` 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 */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssetIssueContract) Descriptor ¶
func (*AssetIssueContract) Descriptor() ([]byte, []int)
func (*AssetIssueContract) GetAbbr ¶
func (m *AssetIssueContract) GetAbbr() []byte
func (*AssetIssueContract) GetDescription ¶
func (m *AssetIssueContract) GetDescription() []byte
func (*AssetIssueContract) GetEndTime ¶
func (m *AssetIssueContract) GetEndTime() int64
func (*AssetIssueContract) GetFreeAssetNetLimit ¶
func (m *AssetIssueContract) GetFreeAssetNetLimit() int64
func (*AssetIssueContract) GetFrozenSupply ¶
func (m *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply
func (*AssetIssueContract) GetId ¶
func (m *AssetIssueContract) GetId() string
func (*AssetIssueContract) GetName ¶
func (m *AssetIssueContract) GetName() []byte
func (*AssetIssueContract) GetNum ¶
func (m *AssetIssueContract) GetNum() int32
func (*AssetIssueContract) GetOrder ¶
func (m *AssetIssueContract) GetOrder() int64
func (*AssetIssueContract) GetOwnerAddress ¶
func (m *AssetIssueContract) GetOwnerAddress() []byte
func (*AssetIssueContract) GetPrecision ¶
func (m *AssetIssueContract) GetPrecision() int32
func (*AssetIssueContract) GetPublicFreeAssetNetLimit ¶
func (m *AssetIssueContract) GetPublicFreeAssetNetLimit() int64
func (*AssetIssueContract) GetPublicFreeAssetNetUsage ¶
func (m *AssetIssueContract) GetPublicFreeAssetNetUsage() int64
func (*AssetIssueContract) GetPublicLatestFreeNetTime ¶
func (m *AssetIssueContract) GetPublicLatestFreeNetTime() int64
func (*AssetIssueContract) GetStartTime ¶
func (m *AssetIssueContract) GetStartTime() int64
func (*AssetIssueContract) GetTotalSupply ¶
func (m *AssetIssueContract) GetTotalSupply() int64
func (*AssetIssueContract) GetTrxNum ¶
func (m *AssetIssueContract) GetTrxNum() int32
func (*AssetIssueContract) GetUrl ¶
func (m *AssetIssueContract) GetUrl() []byte
func (*AssetIssueContract) GetVoteScore ¶
func (m *AssetIssueContract) GetVoteScore() int32
func (*AssetIssueContract) ProtoMessage ¶
func (*AssetIssueContract) ProtoMessage()
func (*AssetIssueContract) Reset ¶
func (m *AssetIssueContract) Reset()
func (*AssetIssueContract) String ¶
func (m *AssetIssueContract) String() string
func (*AssetIssueContract) XXX_DiscardUnknown ¶
func (m *AssetIssueContract) XXX_DiscardUnknown()
func (*AssetIssueContract) XXX_Marshal ¶
func (m *AssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetIssueContract) XXX_Merge ¶
func (m *AssetIssueContract) XXX_Merge(src proto.Message)
func (*AssetIssueContract) XXX_Size ¶
func (m *AssetIssueContract) XXX_Size() int
func (*AssetIssueContract) XXX_Unmarshal ¶
func (m *AssetIssueContract) XXX_Unmarshal(b []byte) error
type AssetIssueContract_FrozenSupply ¶
type AssetIssueContract_FrozenSupply struct { FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"` FrozenDays int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssetIssueContract_FrozenSupply) Descriptor ¶
func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int)
func (*AssetIssueContract_FrozenSupply) GetFrozenAmount ¶
func (m *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64
func (*AssetIssueContract_FrozenSupply) GetFrozenDays ¶
func (m *AssetIssueContract_FrozenSupply) GetFrozenDays() int64
func (*AssetIssueContract_FrozenSupply) ProtoMessage ¶
func (*AssetIssueContract_FrozenSupply) ProtoMessage()
func (*AssetIssueContract_FrozenSupply) Reset ¶
func (m *AssetIssueContract_FrozenSupply) Reset()
func (*AssetIssueContract_FrozenSupply) String ¶
func (m *AssetIssueContract_FrozenSupply) String() string
func (*AssetIssueContract_FrozenSupply) XXX_DiscardUnknown ¶
func (m *AssetIssueContract_FrozenSupply) XXX_DiscardUnknown()
func (*AssetIssueContract_FrozenSupply) XXX_Marshal ¶
func (m *AssetIssueContract_FrozenSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetIssueContract_FrozenSupply) XXX_Merge ¶
func (m *AssetIssueContract_FrozenSupply) XXX_Merge(src proto.Message)
func (*AssetIssueContract_FrozenSupply) XXX_Size ¶
func (m *AssetIssueContract_FrozenSupply) XXX_Size() int
func (*AssetIssueContract_FrozenSupply) XXX_Unmarshal ¶
func (m *AssetIssueContract_FrozenSupply) XXX_Unmarshal(b []byte) error
type AuthenticationPath ¶
type AuthenticationPath struct { Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthenticationPath) Descriptor ¶
func (*AuthenticationPath) Descriptor() ([]byte, []int)
func (*AuthenticationPath) GetValue ¶
func (m *AuthenticationPath) GetValue() []bool
func (*AuthenticationPath) ProtoMessage ¶
func (*AuthenticationPath) ProtoMessage()
func (*AuthenticationPath) Reset ¶
func (m *AuthenticationPath) Reset()
func (*AuthenticationPath) String ¶
func (m *AuthenticationPath) String() string
func (*AuthenticationPath) XXX_DiscardUnknown ¶
func (m *AuthenticationPath) XXX_DiscardUnknown()
func (*AuthenticationPath) XXX_Marshal ¶
func (m *AuthenticationPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticationPath) XXX_Merge ¶
func (m *AuthenticationPath) XXX_Merge(src proto.Message)
func (*AuthenticationPath) XXX_Size ¶
func (m *AuthenticationPath) XXX_Size() int
func (*AuthenticationPath) XXX_Unmarshal ¶
func (m *AuthenticationPath) XXX_Unmarshal(b []byte) error
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 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuyStorageBytesContract) Descriptor ¶
func (*BuyStorageBytesContract) Descriptor() ([]byte, []int)
func (*BuyStorageBytesContract) GetBytes ¶
func (m *BuyStorageBytesContract) GetBytes() int64
func (*BuyStorageBytesContract) GetOwnerAddress ¶
func (m *BuyStorageBytesContract) GetOwnerAddress() []byte
func (*BuyStorageBytesContract) ProtoMessage ¶
func (*BuyStorageBytesContract) ProtoMessage()
func (*BuyStorageBytesContract) Reset ¶
func (m *BuyStorageBytesContract) Reset()
func (*BuyStorageBytesContract) String ¶
func (m *BuyStorageBytesContract) String() string
func (*BuyStorageBytesContract) XXX_DiscardUnknown ¶
func (m *BuyStorageBytesContract) XXX_DiscardUnknown()
func (*BuyStorageBytesContract) XXX_Marshal ¶
func (m *BuyStorageBytesContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuyStorageBytesContract) XXX_Merge ¶
func (m *BuyStorageBytesContract) XXX_Merge(src proto.Message)
func (*BuyStorageBytesContract) XXX_Size ¶
func (m *BuyStorageBytesContract) XXX_Size() int
func (*BuyStorageBytesContract) XXX_Unmarshal ¶
func (m *BuyStorageBytesContract) XXX_Unmarshal(b []byte) error
type BuyStorageContract ¶
type BuyStorageContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Quant int64 `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuyStorageContract) Descriptor ¶
func (*BuyStorageContract) Descriptor() ([]byte, []int)
func (*BuyStorageContract) GetOwnerAddress ¶
func (m *BuyStorageContract) GetOwnerAddress() []byte
func (*BuyStorageContract) GetQuant ¶
func (m *BuyStorageContract) GetQuant() int64
func (*BuyStorageContract) ProtoMessage ¶
func (*BuyStorageContract) ProtoMessage()
func (*BuyStorageContract) Reset ¶
func (m *BuyStorageContract) Reset()
func (*BuyStorageContract) String ¶
func (m *BuyStorageContract) String() string
func (*BuyStorageContract) XXX_DiscardUnknown ¶
func (m *BuyStorageContract) XXX_DiscardUnknown()
func (*BuyStorageContract) XXX_Marshal ¶
func (m *BuyStorageContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuyStorageContract) XXX_Merge ¶
func (m *BuyStorageContract) XXX_Merge(src proto.Message)
func (*BuyStorageContract) XXX_Size ¶
func (m *BuyStorageContract) XXX_Size() int
func (*BuyStorageContract) XXX_Unmarshal ¶
func (m *BuyStorageContract) XXX_Unmarshal(b []byte) error
type ChainInventory ¶
type ChainInventory struct { Ids []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClearABIContract) Descriptor ¶
func (*ClearABIContract) Descriptor() ([]byte, []int)
func (*ClearABIContract) GetContractAddress ¶
func (m *ClearABIContract) GetContractAddress() []byte
func (*ClearABIContract) GetOwnerAddress ¶
func (m *ClearABIContract) GetOwnerAddress() []byte
func (*ClearABIContract) ProtoMessage ¶
func (*ClearABIContract) ProtoMessage()
func (*ClearABIContract) Reset ¶
func (m *ClearABIContract) Reset()
func (*ClearABIContract) String ¶
func (m *ClearABIContract) String() string
func (*ClearABIContract) XXX_DiscardUnknown ¶
func (m *ClearABIContract) XXX_DiscardUnknown()
func (*ClearABIContract) XXX_Marshal ¶
func (m *ClearABIContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClearABIContract) XXX_Merge ¶
func (m *ClearABIContract) XXX_Merge(src proto.Message)
func (*ClearABIContract) XXX_Size ¶
func (m *ClearABIContract) XXX_Size() int
func (*ClearABIContract) XXX_Unmarshal ¶
func (m *ClearABIContract) XXX_Unmarshal(b []byte) error
type CreateSmartContract ¶
type CreateSmartContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSmartContract) Descriptor ¶
func (*CreateSmartContract) Descriptor() ([]byte, []int)
func (*CreateSmartContract) GetCallTokenValue ¶
func (m *CreateSmartContract) GetCallTokenValue() int64
func (*CreateSmartContract) GetNewContract ¶
func (m *CreateSmartContract) GetNewContract() *SmartContract
func (*CreateSmartContract) GetOwnerAddress ¶
func (m *CreateSmartContract) GetOwnerAddress() []byte
func (*CreateSmartContract) GetTokenId ¶
func (m *CreateSmartContract) GetTokenId() int64
func (*CreateSmartContract) ProtoMessage ¶
func (*CreateSmartContract) ProtoMessage()
func (*CreateSmartContract) Reset ¶
func (m *CreateSmartContract) Reset()
func (*CreateSmartContract) String ¶
func (m *CreateSmartContract) String() string
func (*CreateSmartContract) XXX_DiscardUnknown ¶
func (m *CreateSmartContract) XXX_DiscardUnknown()
func (*CreateSmartContract) XXX_Marshal ¶
func (m *CreateSmartContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateSmartContract) XXX_Merge ¶
func (m *CreateSmartContract) XXX_Merge(src proto.Message)
func (*CreateSmartContract) XXX_Size ¶
func (m *CreateSmartContract) XXX_Size() int
func (*CreateSmartContract) XXX_Unmarshal ¶
func (m *CreateSmartContract) XXX_Unmarshal(b []byte) error
type DelegatedResource ¶
type DelegatedResource struct { From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` FrozenBalanceForBandwidth int64 `` /* 141-byte string literal not displayed */ FrozenBalanceForEnergy int64 `` /* 132-byte string literal not displayed */ ExpireTimeForBandwidth int64 `` /* 132-byte string literal not displayed */ ExpireTimeForEnergy int64 `protobuf:"varint,6,opt,name=expire_time_for_energy,json=expireTimeForEnergy,proto3" json:"expire_time_for_energy,omitempty"` // contains filtered or unexported fields }
func (*DelegatedResource) Descriptor
deprecated
func (*DelegatedResource) Descriptor() ([]byte, []int)
Deprecated: Use DelegatedResource.ProtoReflect.Descriptor instead.
func (*DelegatedResource) GetExpireTimeForBandwidth ¶
func (x *DelegatedResource) GetExpireTimeForBandwidth() int64
func (*DelegatedResource) GetExpireTimeForEnergy ¶
func (x *DelegatedResource) GetExpireTimeForEnergy() int64
func (*DelegatedResource) GetFrom ¶
func (x *DelegatedResource) GetFrom() []byte
func (*DelegatedResource) GetFrozenBalanceForBandwidth ¶
func (x *DelegatedResource) GetFrozenBalanceForBandwidth() int64
func (*DelegatedResource) GetFrozenBalanceForEnergy ¶
func (x *DelegatedResource) GetFrozenBalanceForEnergy() int64
func (*DelegatedResource) GetTo ¶
func (x *DelegatedResource) GetTo() []byte
func (*DelegatedResource) ProtoMessage ¶
func (*DelegatedResource) ProtoMessage()
func (*DelegatedResource) ProtoReflect ¶
func (x *DelegatedResource) ProtoReflect() protoreflect.Message
func (*DelegatedResource) Reset ¶
func (x *DelegatedResource) Reset()
func (*DelegatedResource) String ¶
func (x *DelegatedResource) String() string
type DelegatedResourceAccountIndex ¶
type DelegatedResourceAccountIndex struct { Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` FromAccounts [][]byte `protobuf:"bytes,2,rep,name=fromAccounts,proto3" json:"fromAccounts,omitempty"` ToAccounts [][]byte `protobuf:"bytes,3,rep,name=toAccounts,proto3" json:"toAccounts,omitempty"` // contains filtered or unexported fields }
func (*DelegatedResourceAccountIndex) Descriptor
deprecated
func (*DelegatedResourceAccountIndex) Descriptor() ([]byte, []int)
Deprecated: Use DelegatedResourceAccountIndex.ProtoReflect.Descriptor instead.
func (*DelegatedResourceAccountIndex) GetAccount ¶
func (x *DelegatedResourceAccountIndex) GetAccount() []byte
func (*DelegatedResourceAccountIndex) GetFromAccounts ¶
func (x *DelegatedResourceAccountIndex) GetFromAccounts() [][]byte
func (*DelegatedResourceAccountIndex) GetToAccounts ¶
func (x *DelegatedResourceAccountIndex) GetToAccounts() [][]byte
func (*DelegatedResourceAccountIndex) ProtoMessage ¶
func (*DelegatedResourceAccountIndex) ProtoMessage()
func (*DelegatedResourceAccountIndex) ProtoReflect ¶
func (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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExchangeCreateContract) Descriptor ¶
func (*ExchangeCreateContract) Descriptor() ([]byte, []int)
func (*ExchangeCreateContract) GetFirstTokenBalance ¶
func (m *ExchangeCreateContract) GetFirstTokenBalance() int64
func (*ExchangeCreateContract) GetFirstTokenId ¶
func (m *ExchangeCreateContract) GetFirstTokenId() []byte
func (*ExchangeCreateContract) GetOwnerAddress ¶
func (m *ExchangeCreateContract) GetOwnerAddress() []byte
func (*ExchangeCreateContract) GetSecondTokenBalance ¶
func (m *ExchangeCreateContract) GetSecondTokenBalance() int64
func (*ExchangeCreateContract) GetSecondTokenId ¶
func (m *ExchangeCreateContract) GetSecondTokenId() []byte
func (*ExchangeCreateContract) ProtoMessage ¶
func (*ExchangeCreateContract) ProtoMessage()
func (*ExchangeCreateContract) Reset ¶
func (m *ExchangeCreateContract) Reset()
func (*ExchangeCreateContract) String ¶
func (m *ExchangeCreateContract) String() string
func (*ExchangeCreateContract) XXX_DiscardUnknown ¶
func (m *ExchangeCreateContract) XXX_DiscardUnknown()
func (*ExchangeCreateContract) XXX_Marshal ¶
func (m *ExchangeCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExchangeCreateContract) XXX_Merge ¶
func (m *ExchangeCreateContract) XXX_Merge(src proto.Message)
func (*ExchangeCreateContract) XXX_Size ¶
func (m *ExchangeCreateContract) XXX_Size() int
func (*ExchangeCreateContract) XXX_Unmarshal ¶
func (m *ExchangeCreateContract) XXX_Unmarshal(b []byte) error
type ExchangeInjectContract ¶
type ExchangeInjectContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExchangeInjectContract) Descriptor ¶
func (*ExchangeInjectContract) Descriptor() ([]byte, []int)
func (*ExchangeInjectContract) GetExchangeId ¶
func (m *ExchangeInjectContract) GetExchangeId() int64
func (*ExchangeInjectContract) GetOwnerAddress ¶
func (m *ExchangeInjectContract) GetOwnerAddress() []byte
func (*ExchangeInjectContract) GetQuant ¶
func (m *ExchangeInjectContract) GetQuant() int64
func (*ExchangeInjectContract) GetTokenId ¶
func (m *ExchangeInjectContract) GetTokenId() []byte
func (*ExchangeInjectContract) ProtoMessage ¶
func (*ExchangeInjectContract) ProtoMessage()
func (*ExchangeInjectContract) Reset ¶
func (m *ExchangeInjectContract) Reset()
func (*ExchangeInjectContract) String ¶
func (m *ExchangeInjectContract) String() string
func (*ExchangeInjectContract) XXX_DiscardUnknown ¶
func (m *ExchangeInjectContract) XXX_DiscardUnknown()
func (*ExchangeInjectContract) XXX_Marshal ¶
func (m *ExchangeInjectContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExchangeInjectContract) XXX_Merge ¶
func (m *ExchangeInjectContract) XXX_Merge(src proto.Message)
func (*ExchangeInjectContract) XXX_Size ¶
func (m *ExchangeInjectContract) XXX_Size() int
func (*ExchangeInjectContract) XXX_Unmarshal ¶
func (m *ExchangeInjectContract) XXX_Unmarshal(b []byte) error
type ExchangeTransactionContract ¶
type ExchangeTransactionContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExchangeTransactionContract) Descriptor ¶
func (*ExchangeTransactionContract) Descriptor() ([]byte, []int)
func (*ExchangeTransactionContract) GetExchangeId ¶
func (m *ExchangeTransactionContract) GetExchangeId() int64
func (*ExchangeTransactionContract) GetExpected ¶
func (m *ExchangeTransactionContract) GetExpected() int64
func (*ExchangeTransactionContract) GetOwnerAddress ¶
func (m *ExchangeTransactionContract) GetOwnerAddress() []byte
func (*ExchangeTransactionContract) GetQuant ¶
func (m *ExchangeTransactionContract) GetQuant() int64
func (*ExchangeTransactionContract) GetTokenId ¶
func (m *ExchangeTransactionContract) GetTokenId() []byte
func (*ExchangeTransactionContract) ProtoMessage ¶
func (*ExchangeTransactionContract) ProtoMessage()
func (*ExchangeTransactionContract) Reset ¶
func (m *ExchangeTransactionContract) Reset()
func (*ExchangeTransactionContract) String ¶
func (m *ExchangeTransactionContract) String() string
func (*ExchangeTransactionContract) XXX_DiscardUnknown ¶
func (m *ExchangeTransactionContract) XXX_DiscardUnknown()
func (*ExchangeTransactionContract) XXX_Marshal ¶
func (m *ExchangeTransactionContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExchangeTransactionContract) XXX_Merge ¶
func (m *ExchangeTransactionContract) XXX_Merge(src proto.Message)
func (*ExchangeTransactionContract) XXX_Size ¶
func (m *ExchangeTransactionContract) XXX_Size() int
func (*ExchangeTransactionContract) XXX_Unmarshal ¶
func (m *ExchangeTransactionContract) XXX_Unmarshal(b []byte) error
type ExchangeWithdrawContract ¶
type ExchangeWithdrawContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExchangeWithdrawContract) Descriptor ¶
func (*ExchangeWithdrawContract) Descriptor() ([]byte, []int)
func (*ExchangeWithdrawContract) GetExchangeId ¶
func (m *ExchangeWithdrawContract) GetExchangeId() int64
func (*ExchangeWithdrawContract) GetOwnerAddress ¶
func (m *ExchangeWithdrawContract) GetOwnerAddress() []byte
func (*ExchangeWithdrawContract) GetQuant ¶
func (m *ExchangeWithdrawContract) GetQuant() int64
func (*ExchangeWithdrawContract) GetTokenId ¶
func (m *ExchangeWithdrawContract) GetTokenId() []byte
func (*ExchangeWithdrawContract) ProtoMessage ¶
func (*ExchangeWithdrawContract) ProtoMessage()
func (*ExchangeWithdrawContract) Reset ¶
func (m *ExchangeWithdrawContract) Reset()
func (*ExchangeWithdrawContract) String ¶
func (m *ExchangeWithdrawContract) String() string
func (*ExchangeWithdrawContract) XXX_DiscardUnknown ¶
func (m *ExchangeWithdrawContract) XXX_DiscardUnknown()
func (*ExchangeWithdrawContract) XXX_Marshal ¶
func (m *ExchangeWithdrawContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExchangeWithdrawContract) XXX_Merge ¶
func (m *ExchangeWithdrawContract) XXX_Merge(src proto.Message)
func (*ExchangeWithdrawContract) XXX_Size ¶
func (m *ExchangeWithdrawContract) XXX_Size() int
func (*ExchangeWithdrawContract) XXX_Unmarshal ¶
func (m *ExchangeWithdrawContract) XXX_Unmarshal(b []byte) error
type FindNeighbours ¶
type FindNeighbours struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FreezeBalanceContract) Descriptor ¶
func (*FreezeBalanceContract) Descriptor() ([]byte, []int)
func (*FreezeBalanceContract) GetFrozenBalance ¶
func (m *FreezeBalanceContract) GetFrozenBalance() int64
func (*FreezeBalanceContract) GetFrozenDuration ¶
func (m *FreezeBalanceContract) GetFrozenDuration() int64
func (*FreezeBalanceContract) GetOwnerAddress ¶
func (m *FreezeBalanceContract) GetOwnerAddress() []byte
func (*FreezeBalanceContract) GetReceiverAddress ¶
func (m *FreezeBalanceContract) GetReceiverAddress() []byte
func (*FreezeBalanceContract) GetResource ¶
func (m *FreezeBalanceContract) GetResource() ResourceCode
func (*FreezeBalanceContract) ProtoMessage ¶
func (*FreezeBalanceContract) ProtoMessage()
func (*FreezeBalanceContract) Reset ¶
func (m *FreezeBalanceContract) Reset()
func (*FreezeBalanceContract) String ¶
func (m *FreezeBalanceContract) String() string
func (*FreezeBalanceContract) XXX_DiscardUnknown ¶
func (m *FreezeBalanceContract) XXX_DiscardUnknown()
func (*FreezeBalanceContract) XXX_Marshal ¶
func (m *FreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FreezeBalanceContract) XXX_Merge ¶
func (m *FreezeBalanceContract) XXX_Merge(src proto.Message)
func (*FreezeBalanceContract) XXX_Size ¶
func (m *FreezeBalanceContract) XXX_Size() int
func (*FreezeBalanceContract) XXX_Unmarshal ¶
func (m *FreezeBalanceContract) XXX_Unmarshal(b []byte) error
type HelloMessage ¶
type HelloMessage struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` GenesisBlockId *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty"` SolidBlockId *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty"` HeadBlockId *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty"` // contains filtered or unexported fields }
func (*HelloMessage) Descriptor
deprecated
func (*HelloMessage) Descriptor() ([]byte, []int)
Deprecated: Use HelloMessage.ProtoReflect.Descriptor instead.
func (*HelloMessage) GetFrom ¶
func (x *HelloMessage) GetFrom() *Endpoint
func (*HelloMessage) GetGenesisBlockId ¶
func (x *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId
func (*HelloMessage) GetHeadBlockId ¶
func (x *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId
func (*HelloMessage) GetSolidBlockId ¶
func (x *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId
func (*HelloMessage) GetTimestamp ¶
func (x *HelloMessage) GetTimestamp() int64
func (*HelloMessage) GetVersion ¶
func (x *HelloMessage) GetVersion() int32
func (*HelloMessage) ProtoMessage ¶
func (*HelloMessage) ProtoMessage()
func (*HelloMessage) ProtoReflect ¶
func (x *HelloMessage) ProtoReflect() protoreflect.Message
func (*HelloMessage) Reset ¶
func (x *HelloMessage) Reset()
func (*HelloMessage) String ¶
func (x *HelloMessage) String() string
type HelloMessage_BlockId ¶
type HelloMessage_BlockId struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*HelloMessage_BlockId) Descriptor
deprecated
func (*HelloMessage_BlockId) Descriptor() ([]byte, []int)
Deprecated: Use HelloMessage_BlockId.ProtoReflect.Descriptor instead.
func (*HelloMessage_BlockId) GetHash ¶
func (x *HelloMessage_BlockId) GetHash() []byte
func (*HelloMessage_BlockId) GetNumber ¶
func (x *HelloMessage_BlockId) GetNumber() int64
func (*HelloMessage_BlockId) ProtoMessage ¶
func (*HelloMessage_BlockId) ProtoMessage()
func (*HelloMessage_BlockId) ProtoReflect ¶
func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message
func (*HelloMessage_BlockId) Reset ¶
func (x *HelloMessage_BlockId) Reset()
func (*HelloMessage_BlockId) String ¶
func (x *HelloMessage_BlockId) String() string
type IncrementalMerkleTree ¶
type IncrementalMerkleTree struct { Left *PedersenHash `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` Right *PedersenHash `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` Parents []*PedersenHash `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IncrementalMerkleTree) Descriptor ¶
func (*IncrementalMerkleTree) Descriptor() ([]byte, []int)
func (*IncrementalMerkleTree) GetLeft ¶
func (m *IncrementalMerkleTree) GetLeft() *PedersenHash
func (*IncrementalMerkleTree) GetParents ¶
func (m *IncrementalMerkleTree) GetParents() []*PedersenHash
func (*IncrementalMerkleTree) GetRight ¶
func (m *IncrementalMerkleTree) GetRight() *PedersenHash
func (*IncrementalMerkleTree) ProtoMessage ¶
func (*IncrementalMerkleTree) ProtoMessage()
func (*IncrementalMerkleTree) Reset ¶
func (m *IncrementalMerkleTree) Reset()
func (*IncrementalMerkleTree) String ¶
func (m *IncrementalMerkleTree) String() string
func (*IncrementalMerkleTree) XXX_DiscardUnknown ¶
func (m *IncrementalMerkleTree) XXX_DiscardUnknown()
func (*IncrementalMerkleTree) XXX_Marshal ¶
func (m *IncrementalMerkleTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncrementalMerkleTree) XXX_Merge ¶
func (m *IncrementalMerkleTree) XXX_Merge(src proto.Message)
func (*IncrementalMerkleTree) XXX_Size ¶
func (m *IncrementalMerkleTree) XXX_Size() int
func (*IncrementalMerkleTree) XXX_Unmarshal ¶
func (m *IncrementalMerkleTree) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IncrementalMerkleVoucher) Descriptor ¶
func (*IncrementalMerkleVoucher) Descriptor() ([]byte, []int)
func (*IncrementalMerkleVoucher) GetCursor ¶
func (m *IncrementalMerkleVoucher) GetCursor() *IncrementalMerkleTree
func (*IncrementalMerkleVoucher) GetCursorDepth ¶
func (m *IncrementalMerkleVoucher) GetCursorDepth() int64
func (*IncrementalMerkleVoucher) GetFilled ¶
func (m *IncrementalMerkleVoucher) GetFilled() []*PedersenHash
func (*IncrementalMerkleVoucher) GetOutputPoint ¶
func (m *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint
func (*IncrementalMerkleVoucher) GetRt ¶
func (m *IncrementalMerkleVoucher) GetRt() []byte
func (*IncrementalMerkleVoucher) GetTree ¶
func (m *IncrementalMerkleVoucher) GetTree() *IncrementalMerkleTree
func (*IncrementalMerkleVoucher) ProtoMessage ¶
func (*IncrementalMerkleVoucher) ProtoMessage()
func (*IncrementalMerkleVoucher) Reset ¶
func (m *IncrementalMerkleVoucher) Reset()
func (*IncrementalMerkleVoucher) String ¶
func (m *IncrementalMerkleVoucher) String() string
func (*IncrementalMerkleVoucher) XXX_DiscardUnknown ¶
func (m *IncrementalMerkleVoucher) XXX_DiscardUnknown()
func (*IncrementalMerkleVoucher) XXX_Marshal ¶
func (m *IncrementalMerkleVoucher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncrementalMerkleVoucher) XXX_Merge ¶
func (m *IncrementalMerkleVoucher) XXX_Merge(src proto.Message)
func (*IncrementalMerkleVoucher) XXX_Size ¶
func (m *IncrementalMerkleVoucher) XXX_Size() int
func (*IncrementalMerkleVoucher) XXX_Unmarshal ¶
func (m *IncrementalMerkleVoucher) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IncrementalMerkleVoucherInfo) Descriptor ¶
func (*IncrementalMerkleVoucherInfo) Descriptor() ([]byte, []int)
func (*IncrementalMerkleVoucherInfo) GetPaths ¶
func (m *IncrementalMerkleVoucherInfo) GetPaths() [][]byte
func (*IncrementalMerkleVoucherInfo) GetVouchers ¶
func (m *IncrementalMerkleVoucherInfo) GetVouchers() []*IncrementalMerkleVoucher
func (*IncrementalMerkleVoucherInfo) ProtoMessage ¶
func (*IncrementalMerkleVoucherInfo) ProtoMessage()
func (*IncrementalMerkleVoucherInfo) Reset ¶
func (m *IncrementalMerkleVoucherInfo) Reset()
func (*IncrementalMerkleVoucherInfo) String ¶
func (m *IncrementalMerkleVoucherInfo) String() string
func (*IncrementalMerkleVoucherInfo) XXX_DiscardUnknown ¶
func (m *IncrementalMerkleVoucherInfo) XXX_DiscardUnknown()
func (*IncrementalMerkleVoucherInfo) XXX_Marshal ¶
func (m *IncrementalMerkleVoucherInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncrementalMerkleVoucherInfo) XXX_Merge ¶
func (m *IncrementalMerkleVoucherInfo) XXX_Merge(src proto.Message)
func (*IncrementalMerkleVoucherInfo) XXX_Size ¶
func (m *IncrementalMerkleVoucherInfo) XXX_Size() int
func (*IncrementalMerkleVoucherInfo) XXX_Unmarshal ¶
func (m *IncrementalMerkleVoucherInfo) XXX_Unmarshal(b []byte) error
type InternalTransaction ¶
type InternalTransaction struct { // internalTransaction identity, the root InternalTransaction hash // should equals to root transaction id. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // the one send trx (TBD: or token) via function CallerAddress []byte `protobuf:"bytes,2,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty"` // the one recieve trx (TBD: or token) via function TransferToAddress []byte `protobuf:"bytes,3,opt,name=transferTo_address,json=transferToAddress,proto3" json:"transferTo_address,omitempty"` CallValueInfo []*InternalTransaction_CallValueInfo `protobuf:"bytes,4,rep,name=callValueInfo,proto3" json:"callValueInfo,omitempty"` Note []byte `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"` Rejected bool `protobuf:"varint,6,opt,name=rejected,proto3" json:"rejected,omitempty"` // contains filtered or unexported fields }
func (*InternalTransaction) Descriptor
deprecated
func (*InternalTransaction) Descriptor() ([]byte, []int)
Deprecated: Use InternalTransaction.ProtoReflect.Descriptor instead.
func (*InternalTransaction) GetCallValueInfo ¶
func (x *InternalTransaction) GetCallValueInfo() []*InternalTransaction_CallValueInfo
func (*InternalTransaction) GetCallerAddress ¶
func (x *InternalTransaction) GetCallerAddress() []byte
func (*InternalTransaction) GetHash ¶
func (x *InternalTransaction) GetHash() []byte
func (*InternalTransaction) GetNote ¶
func (x *InternalTransaction) GetNote() []byte
func (*InternalTransaction) GetRejected ¶
func (x *InternalTransaction) GetRejected() bool
func (*InternalTransaction) GetTransferToAddress ¶
func (x *InternalTransaction) GetTransferToAddress() []byte
func (*InternalTransaction) ProtoMessage ¶
func (*InternalTransaction) ProtoMessage()
func (*InternalTransaction) ProtoReflect ¶
func (x *InternalTransaction) ProtoReflect() protoreflect.Message
func (*InternalTransaction) Reset ¶
func (x *InternalTransaction) Reset()
func (*InternalTransaction) String ¶
func (x *InternalTransaction) String() string
type InternalTransaction_CallValueInfo ¶
type InternalTransaction_CallValueInfo struct { // trx (TBD: or token) value CallValue int64 `protobuf:"varint,1,opt,name=callValue,proto3" json:"callValue,omitempty"` // TBD: tokenName, trx should be empty TokenId string `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"` // contains filtered or unexported fields }
func (*InternalTransaction_CallValueInfo) Descriptor
deprecated
func (*InternalTransaction_CallValueInfo) Descriptor() ([]byte, []int)
Deprecated: Use InternalTransaction_CallValueInfo.ProtoReflect.Descriptor instead.
func (*InternalTransaction_CallValueInfo) GetCallValue ¶
func (x *InternalTransaction_CallValueInfo) GetCallValue() int64
func (*InternalTransaction_CallValueInfo) GetTokenId ¶
func (x *InternalTransaction_CallValueInfo) GetTokenId() string
func (*InternalTransaction_CallValueInfo) ProtoMessage ¶
func (*InternalTransaction_CallValueInfo) ProtoMessage()
func (*InternalTransaction_CallValueInfo) ProtoReflect ¶
func (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 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MerklePath) Descriptor ¶
func (*MerklePath) Descriptor() ([]byte, []int)
func (*MerklePath) GetAuthenticationPaths ¶
func (m *MerklePath) GetAuthenticationPaths() []*AuthenticationPath
func (*MerklePath) GetIndex ¶
func (m *MerklePath) GetIndex() []bool
func (*MerklePath) GetRt ¶
func (m *MerklePath) GetRt() []byte
func (*MerklePath) ProtoMessage ¶
func (*MerklePath) ProtoMessage()
func (*MerklePath) Reset ¶
func (m *MerklePath) Reset()
func (*MerklePath) String ¶
func (m *MerklePath) String() string
func (*MerklePath) XXX_DiscardUnknown ¶
func (m *MerklePath) XXX_DiscardUnknown()
func (*MerklePath) XXX_Marshal ¶
func (m *MerklePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerklePath) XXX_Merge ¶
func (m *MerklePath) XXX_Merge(src proto.Message)
func (*MerklePath) XXX_Size ¶
func (m *MerklePath) XXX_Size() int
func (*MerklePath) XXX_Unmarshal ¶
func (m *MerklePath) XXX_Unmarshal(b []byte) error
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"` JvmTotalMemoery int64 `protobuf:"varint,9,opt,name=jvmTotalMemoery,proto3" json:"jvmTotalMemoery,omitempty"` JvmFreeMemory int64 `protobuf:"varint,10,opt,name=jvmFreeMemory,proto3" json:"jvmFreeMemory,omitempty"` ProcessCpuRate float64 `protobuf:"fixed64,11,opt,name=processCpuRate,proto3" json:"processCpuRate,omitempty"` MemoryDescInfoList []*NodeInfo_MachineInfo_MemoryDescInfo `protobuf:"bytes,12,rep,name=memoryDescInfoList,proto3" json:"memoryDescInfoList,omitempty"` DeadLockThreadInfoList []*NodeInfo_MachineInfo_DeadLockThreadInfo `protobuf:"bytes,13,rep,name=deadLockThreadInfoList,proto3" json:"deadLockThreadInfoList,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_MachineInfo) Descriptor
deprecated
func (*NodeInfo_MachineInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_MachineInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_MachineInfo) GetCpuCount ¶
func (x *NodeInfo_MachineInfo) GetCpuCount() int32
func (*NodeInfo_MachineInfo) GetCpuRate ¶
func (x *NodeInfo_MachineInfo) GetCpuRate() float64
func (*NodeInfo_MachineInfo) GetDeadLockThreadCount ¶
func (x *NodeInfo_MachineInfo) GetDeadLockThreadCount() int32
func (*NodeInfo_MachineInfo) GetDeadLockThreadInfoList ¶
func (x *NodeInfo_MachineInfo) GetDeadLockThreadInfoList() []*NodeInfo_MachineInfo_DeadLockThreadInfo
func (*NodeInfo_MachineInfo) GetFreeMemory ¶
func (x *NodeInfo_MachineInfo) GetFreeMemory() int64
func (*NodeInfo_MachineInfo) GetJavaVersion ¶
func (x *NodeInfo_MachineInfo) GetJavaVersion() string
func (*NodeInfo_MachineInfo) GetJvmFreeMemory ¶
func (x *NodeInfo_MachineInfo) GetJvmFreeMemory() int64
func (*NodeInfo_MachineInfo) GetJvmTotalMemoery ¶
func (x *NodeInfo_MachineInfo) GetJvmTotalMemoery() int64
func (*NodeInfo_MachineInfo) GetMemoryDescInfoList ¶
func (x *NodeInfo_MachineInfo) GetMemoryDescInfoList() []*NodeInfo_MachineInfo_MemoryDescInfo
func (*NodeInfo_MachineInfo) GetOsName ¶
func (x *NodeInfo_MachineInfo) GetOsName() string
func (*NodeInfo_MachineInfo) GetProcessCpuRate ¶
func (x *NodeInfo_MachineInfo) GetProcessCpuRate() float64
func (*NodeInfo_MachineInfo) GetThreadCount ¶
func (x *NodeInfo_MachineInfo) GetThreadCount() int32
func (*NodeInfo_MachineInfo) GetTotalMemory ¶
func (x *NodeInfo_MachineInfo) GetTotalMemory() int64
func (*NodeInfo_MachineInfo) ProtoMessage ¶
func (*NodeInfo_MachineInfo) ProtoMessage()
func (*NodeInfo_MachineInfo) ProtoReflect ¶
func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_MachineInfo) Reset ¶
func (x *NodeInfo_MachineInfo) Reset()
func (*NodeInfo_MachineInfo) String ¶
func (x *NodeInfo_MachineInfo) String() string
type NodeInfo_MachineInfo_DeadLockThreadInfo ¶
type NodeInfo_MachineInfo_DeadLockThreadInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` LockName string `protobuf:"bytes,2,opt,name=lockName,proto3" json:"lockName,omitempty"` LockOwner string `protobuf:"bytes,3,opt,name=lockOwner,proto3" json:"lockOwner,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` BlockTime int64 `protobuf:"varint,5,opt,name=blockTime,proto3" json:"blockTime,omitempty"` WaitTime int64 `protobuf:"varint,6,opt,name=waitTime,proto3" json:"waitTime,omitempty"` StackTrace string `protobuf:"bytes,7,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor
deprecated
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_MachineInfo_DeadLockThreadInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime ¶
func (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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutputPoint) Descriptor ¶
func (*OutputPoint) Descriptor() ([]byte, []int)
func (*OutputPoint) GetHash ¶
func (m *OutputPoint) GetHash() []byte
func (*OutputPoint) GetIndex ¶
func (m *OutputPoint) GetIndex() int32
func (*OutputPoint) ProtoMessage ¶
func (*OutputPoint) ProtoMessage()
func (*OutputPoint) Reset ¶
func (m *OutputPoint) Reset()
func (*OutputPoint) String ¶
func (m *OutputPoint) String() string
func (*OutputPoint) XXX_DiscardUnknown ¶
func (m *OutputPoint) XXX_DiscardUnknown()
func (*OutputPoint) XXX_Marshal ¶
func (m *OutputPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputPoint) XXX_Merge ¶
func (m *OutputPoint) XXX_Merge(src proto.Message)
func (*OutputPoint) XXX_Size ¶
func (m *OutputPoint) XXX_Size() int
func (*OutputPoint) XXX_Unmarshal ¶
func (m *OutputPoint) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutputPointInfo) Descriptor ¶
func (*OutputPointInfo) Descriptor() ([]byte, []int)
func (*OutputPointInfo) GetBlockNum ¶
func (m *OutputPointInfo) GetBlockNum() int32
func (*OutputPointInfo) GetOutPoints ¶
func (m *OutputPointInfo) GetOutPoints() []*OutputPoint
func (*OutputPointInfo) ProtoMessage ¶
func (*OutputPointInfo) ProtoMessage()
func (*OutputPointInfo) Reset ¶
func (m *OutputPointInfo) Reset()
func (*OutputPointInfo) String ¶
func (m *OutputPointInfo) String() string
func (*OutputPointInfo) XXX_DiscardUnknown ¶
func (m *OutputPointInfo) XXX_DiscardUnknown()
func (*OutputPointInfo) XXX_Marshal ¶
func (m *OutputPointInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputPointInfo) XXX_Merge ¶
func (m *OutputPointInfo) XXX_Merge(src proto.Message)
func (*OutputPointInfo) XXX_Size ¶
func (m *OutputPointInfo) XXX_Size() int
func (*OutputPointInfo) XXX_Unmarshal ¶
func (m *OutputPointInfo) XXX_Unmarshal(b []byte) error
type ParticipateAssetIssueContract ¶
type ParticipateAssetIssueContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParticipateAssetIssueContract) Descriptor ¶
func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int)
func (*ParticipateAssetIssueContract) GetAmount ¶
func (m *ParticipateAssetIssueContract) GetAmount() int64
func (*ParticipateAssetIssueContract) GetAssetName ¶
func (m *ParticipateAssetIssueContract) GetAssetName() []byte
func (*ParticipateAssetIssueContract) GetOwnerAddress ¶
func (m *ParticipateAssetIssueContract) GetOwnerAddress() []byte
func (*ParticipateAssetIssueContract) GetToAddress ¶
func (m *ParticipateAssetIssueContract) GetToAddress() []byte
func (*ParticipateAssetIssueContract) ProtoMessage ¶
func (*ParticipateAssetIssueContract) ProtoMessage()
func (*ParticipateAssetIssueContract) Reset ¶
func (m *ParticipateAssetIssueContract) Reset()
func (*ParticipateAssetIssueContract) String ¶
func (m *ParticipateAssetIssueContract) String() string
func (*ParticipateAssetIssueContract) XXX_DiscardUnknown ¶
func (m *ParticipateAssetIssueContract) XXX_DiscardUnknown()
func (*ParticipateAssetIssueContract) XXX_Marshal ¶
func (m *ParticipateAssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParticipateAssetIssueContract) XXX_Merge ¶
func (m *ParticipateAssetIssueContract) XXX_Merge(src proto.Message)
func (*ParticipateAssetIssueContract) XXX_Size ¶
func (m *ParticipateAssetIssueContract) XXX_Size() int
func (*ParticipateAssetIssueContract) XXX_Unmarshal ¶
func (m *ParticipateAssetIssueContract) XXX_Unmarshal(b []byte) error
type PedersenHash ¶
type PedersenHash struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PedersenHash) Descriptor ¶
func (*PedersenHash) Descriptor() ([]byte, []int)
func (*PedersenHash) GetContent ¶
func (m *PedersenHash) GetContent() []byte
func (*PedersenHash) ProtoMessage ¶
func (*PedersenHash) ProtoMessage()
func (*PedersenHash) Reset ¶
func (m *PedersenHash) Reset()
func (*PedersenHash) String ¶
func (m *PedersenHash) String() string
func (*PedersenHash) XXX_DiscardUnknown ¶
func (m *PedersenHash) XXX_DiscardUnknown()
func (*PedersenHash) XXX_Marshal ¶
func (m *PedersenHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PedersenHash) XXX_Merge ¶
func (m *PedersenHash) XXX_Merge(src proto.Message)
func (*PedersenHash) XXX_Size ¶
func (m *PedersenHash) XXX_Size() int
func (*PedersenHash) XXX_Unmarshal ¶
func (m *PedersenHash) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProposalApproveContract) Descriptor ¶
func (*ProposalApproveContract) Descriptor() ([]byte, []int)
func (*ProposalApproveContract) GetIsAddApproval ¶
func (m *ProposalApproveContract) GetIsAddApproval() bool
func (*ProposalApproveContract) GetOwnerAddress ¶
func (m *ProposalApproveContract) GetOwnerAddress() []byte
func (*ProposalApproveContract) GetProposalId ¶
func (m *ProposalApproveContract) GetProposalId() int64
func (*ProposalApproveContract) ProtoMessage ¶
func (*ProposalApproveContract) ProtoMessage()
func (*ProposalApproveContract) Reset ¶
func (m *ProposalApproveContract) Reset()
func (*ProposalApproveContract) String ¶
func (m *ProposalApproveContract) String() string
func (*ProposalApproveContract) XXX_DiscardUnknown ¶
func (m *ProposalApproveContract) XXX_DiscardUnknown()
func (*ProposalApproveContract) XXX_Marshal ¶
func (m *ProposalApproveContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalApproveContract) XXX_Merge ¶
func (m *ProposalApproveContract) XXX_Merge(src proto.Message)
func (*ProposalApproveContract) XXX_Size ¶
func (m *ProposalApproveContract) XXX_Size() int
func (*ProposalApproveContract) XXX_Unmarshal ¶
func (m *ProposalApproveContract) XXX_Unmarshal(b []byte) error
type ProposalCreateContract ¶
type ProposalCreateContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Parameters map[int64]int64 `` /* 163-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProposalCreateContract) Descriptor ¶
func (*ProposalCreateContract) Descriptor() ([]byte, []int)
func (*ProposalCreateContract) GetOwnerAddress ¶
func (m *ProposalCreateContract) GetOwnerAddress() []byte
func (*ProposalCreateContract) GetParameters ¶
func (m *ProposalCreateContract) GetParameters() map[int64]int64
func (*ProposalCreateContract) ProtoMessage ¶
func (*ProposalCreateContract) ProtoMessage()
func (*ProposalCreateContract) Reset ¶
func (m *ProposalCreateContract) Reset()
func (*ProposalCreateContract) String ¶
func (m *ProposalCreateContract) String() string
func (*ProposalCreateContract) XXX_DiscardUnknown ¶
func (m *ProposalCreateContract) XXX_DiscardUnknown()
func (*ProposalCreateContract) XXX_Marshal ¶
func (m *ProposalCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalCreateContract) XXX_Merge ¶
func (m *ProposalCreateContract) XXX_Merge(src proto.Message)
func (*ProposalCreateContract) XXX_Size ¶
func (m *ProposalCreateContract) XXX_Size() int
func (*ProposalCreateContract) XXX_Unmarshal ¶
func (m *ProposalCreateContract) XXX_Unmarshal(b []byte) error
type ProposalDeleteContract ¶
type ProposalDeleteContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProposalDeleteContract) Descriptor ¶
func (*ProposalDeleteContract) Descriptor() ([]byte, []int)
func (*ProposalDeleteContract) GetOwnerAddress ¶
func (m *ProposalDeleteContract) GetOwnerAddress() []byte
func (*ProposalDeleteContract) GetProposalId ¶
func (m *ProposalDeleteContract) GetProposalId() int64
func (*ProposalDeleteContract) ProtoMessage ¶
func (*ProposalDeleteContract) ProtoMessage()
func (*ProposalDeleteContract) Reset ¶
func (m *ProposalDeleteContract) Reset()
func (*ProposalDeleteContract) String ¶
func (m *ProposalDeleteContract) String() string
func (*ProposalDeleteContract) XXX_DiscardUnknown ¶
func (m *ProposalDeleteContract) XXX_DiscardUnknown()
func (*ProposalDeleteContract) XXX_Marshal ¶
func (m *ProposalDeleteContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalDeleteContract) XXX_Merge ¶
func (m *ProposalDeleteContract) XXX_Merge(src proto.Message)
func (*ProposalDeleteContract) XXX_Size ¶
func (m *ProposalDeleteContract) XXX_Size() int
func (*ProposalDeleteContract) XXX_Unmarshal ¶
func (m *ProposalDeleteContract) XXX_Unmarshal(b []byte) error
type Proposal_State ¶
type Proposal_State int32
const ( Proposal_PENDING Proposal_State = 0 Proposal_DISAPPROVED Proposal_State = 1 Proposal_APPROVED Proposal_State = 2 Proposal_CANCELED Proposal_State = 3 )
func (Proposal_State) 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_NULL_IDENTITY ReasonCode = 7 ReasonCode_PEER_QUITING ReasonCode = 8 ReasonCode_UNEXPECTED_IDENTITY ReasonCode = 9 ReasonCode_LOCAL_IDENTITY ReasonCode = 10 ReasonCode_PING_TIMEOUT ReasonCode = 11 ReasonCode_USER_REASON ReasonCode = 16 ReasonCode_RESET ReasonCode = 17 ReasonCode_SYNC_FAIL ReasonCode = 18 ReasonCode_FETCH_FAIL ReasonCode = 19 ReasonCode_BAD_TX ReasonCode = 20 ReasonCode_BAD_BLOCK ReasonCode = 21 ReasonCode_FORKED ReasonCode = 22 ReasonCode_UNLINKABLE ReasonCode = 23 ReasonCode_INCOMPATIBLE_VERSION ReasonCode = 24 ReasonCode_INCOMPATIBLE_CHAIN ReasonCode = 25 ReasonCode_TIME_OUT ReasonCode = 32 ReasonCode_CONNECT_FAIL ReasonCode = 33 ReasonCode_TOO_MANY_PEERS_WITH_SAME_IP ReasonCode = 34 ReasonCode_UNKNOWN ReasonCode = 255 )
func (ReasonCode) Descriptor ¶
func (ReasonCode) Descriptor() protoreflect.EnumDescriptor
func (ReasonCode) Enum ¶
func (x ReasonCode) Enum() *ReasonCode
func (ReasonCode) EnumDescriptor
deprecated
func (ReasonCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReasonCode.Descriptor instead.
func (ReasonCode) Number ¶
func (x ReasonCode) Number() protoreflect.EnumNumber
func (ReasonCode) String ¶
func (x ReasonCode) String() string
func (ReasonCode) Type ¶
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"` CEnc []byte `protobuf:"bytes,4,opt,name=c_enc,json=cEnc,proto3" json:"c_enc,omitempty"` COut []byte `protobuf:"bytes,5,opt,name=c_out,json=cOut,proto3" json:"c_out,omitempty"` Zkproof []byte `protobuf:"bytes,6,opt,name=zkproof,proto3" json:"zkproof,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiveDescription) Descriptor ¶
func (*ReceiveDescription) Descriptor() ([]byte, []int)
func (*ReceiveDescription) GetCEnc ¶
func (m *ReceiveDescription) GetCEnc() []byte
func (*ReceiveDescription) GetCOut ¶
func (m *ReceiveDescription) GetCOut() []byte
func (*ReceiveDescription) GetEpk ¶
func (m *ReceiveDescription) GetEpk() []byte
func (*ReceiveDescription) GetNoteCommitment ¶
func (m *ReceiveDescription) GetNoteCommitment() []byte
func (*ReceiveDescription) GetValueCommitment ¶
func (m *ReceiveDescription) GetValueCommitment() []byte
func (*ReceiveDescription) GetZkproof ¶
func (m *ReceiveDescription) GetZkproof() []byte
func (*ReceiveDescription) ProtoMessage ¶
func (*ReceiveDescription) ProtoMessage()
func (*ReceiveDescription) Reset ¶
func (m *ReceiveDescription) Reset()
func (*ReceiveDescription) String ¶
func (m *ReceiveDescription) String() string
func (*ReceiveDescription) XXX_DiscardUnknown ¶
func (m *ReceiveDescription) XXX_DiscardUnknown()
func (*ReceiveDescription) XXX_Marshal ¶
func (m *ReceiveDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiveDescription) XXX_Merge ¶
func (m *ReceiveDescription) XXX_Merge(src proto.Message)
func (*ReceiveDescription) XXX_Size ¶
func (m *ReceiveDescription) XXX_Size() int
func (*ReceiveDescription) XXX_Unmarshal ¶
func (m *ReceiveDescription) XXX_Unmarshal(b []byte) error
type ResourceCode ¶
type ResourceCode int32
const ( ResourceCode_BANDWIDTH ResourceCode = 0 ResourceCode_ENERGY ResourceCode = 1 )
func (ResourceCode) EnumDescriptor ¶
func (ResourceCode) EnumDescriptor() ([]byte, []int)
func (ResourceCode) String ¶
func (x ResourceCode) String() string
type ResourceReceipt ¶
type ResourceReceipt struct { EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` EnergyFee int64 `protobuf:"varint,2,opt,name=energy_fee,json=energyFee,proto3" json:"energy_fee,omitempty"` OriginEnergyUsage int64 `protobuf:"varint,3,opt,name=origin_energy_usage,json=originEnergyUsage,proto3" json:"origin_energy_usage,omitempty"` EnergyUsageTotal int64 `protobuf:"varint,4,opt,name=energy_usage_total,json=energyUsageTotal,proto3" json:"energy_usage_total,omitempty"` NetUsage int64 `protobuf:"varint,5,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` NetFee int64 `protobuf:"varint,6,opt,name=net_fee,json=netFee,proto3" json:"net_fee,omitempty"` Result Transaction_ResultContractResult `protobuf:"varint,7,opt,name=result,proto3,enum=protocol.Transaction_ResultContractResult" json:"result,omitempty"` // contains filtered or unexported fields }
func (*ResourceReceipt) Descriptor
deprecated
func (*ResourceReceipt) Descriptor() ([]byte, []int)
Deprecated: Use ResourceReceipt.ProtoReflect.Descriptor instead.
func (*ResourceReceipt) GetEnergyFee ¶
func (x *ResourceReceipt) GetEnergyFee() int64
func (*ResourceReceipt) GetEnergyUsage ¶
func (x *ResourceReceipt) GetEnergyUsage() int64
func (*ResourceReceipt) GetEnergyUsageTotal ¶
func (x *ResourceReceipt) GetEnergyUsageTotal() int64
func (*ResourceReceipt) GetNetFee ¶
func (x *ResourceReceipt) GetNetFee() int64
func (*ResourceReceipt) GetNetUsage ¶
func (x *ResourceReceipt) GetNetUsage() int64
func (*ResourceReceipt) GetOriginEnergyUsage ¶
func (x *ResourceReceipt) GetOriginEnergyUsage() int64
func (*ResourceReceipt) GetResult ¶
func (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 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SellStorageContract) Descriptor ¶
func (*SellStorageContract) Descriptor() ([]byte, []int)
func (*SellStorageContract) GetOwnerAddress ¶
func (m *SellStorageContract) GetOwnerAddress() []byte
func (*SellStorageContract) GetStorageBytes ¶
func (m *SellStorageContract) GetStorageBytes() int64
func (*SellStorageContract) ProtoMessage ¶
func (*SellStorageContract) ProtoMessage()
func (*SellStorageContract) Reset ¶
func (m *SellStorageContract) Reset()
func (*SellStorageContract) String ¶
func (m *SellStorageContract) String() string
func (*SellStorageContract) XXX_DiscardUnknown ¶
func (m *SellStorageContract) XXX_DiscardUnknown()
func (*SellStorageContract) XXX_Marshal ¶
func (m *SellStorageContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SellStorageContract) XXX_Merge ¶
func (m *SellStorageContract) XXX_Merge(src proto.Message)
func (*SellStorageContract) XXX_Size ¶
func (m *SellStorageContract) XXX_Size() int
func (*SellStorageContract) XXX_Unmarshal ¶
func (m *SellStorageContract) XXX_Unmarshal(b []byte) error
type SetAccountIdContract ¶
type SetAccountIdContract struct { AccountId []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Set account id if the account has no id. Account id is unique and case insensitive.
func (*SetAccountIdContract) Descriptor ¶
func (*SetAccountIdContract) Descriptor() ([]byte, []int)
func (*SetAccountIdContract) GetAccountId ¶
func (m *SetAccountIdContract) GetAccountId() []byte
func (*SetAccountIdContract) GetOwnerAddress ¶
func (m *SetAccountIdContract) GetOwnerAddress() []byte
func (*SetAccountIdContract) ProtoMessage ¶
func (*SetAccountIdContract) ProtoMessage()
func (*SetAccountIdContract) Reset ¶
func (m *SetAccountIdContract) Reset()
func (*SetAccountIdContract) String ¶
func (m *SetAccountIdContract) String() string
func (*SetAccountIdContract) XXX_DiscardUnknown ¶
func (m *SetAccountIdContract) XXX_DiscardUnknown()
func (*SetAccountIdContract) XXX_Marshal ¶
func (m *SetAccountIdContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetAccountIdContract) XXX_Merge ¶
func (m *SetAccountIdContract) XXX_Merge(src proto.Message)
func (*SetAccountIdContract) XXX_Size ¶
func (m *SetAccountIdContract) XXX_Size() int
func (*SetAccountIdContract) XXX_Unmarshal ¶
func (m *SetAccountIdContract) XXX_Unmarshal(b []byte) error
type ShieldedTransferContract ¶
type ShieldedTransferContract struct { TransparentFromAddress []byte `` /* 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"` ToAmount int64 `protobuf:"varint,7,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShieldedTransferContract) Descriptor ¶
func (*ShieldedTransferContract) Descriptor() ([]byte, []int)
func (*ShieldedTransferContract) GetBindingSignature ¶
func (m *ShieldedTransferContract) GetBindingSignature() []byte
func (*ShieldedTransferContract) GetFromAmount ¶
func (m *ShieldedTransferContract) GetFromAmount() int64
func (*ShieldedTransferContract) GetReceiveDescription ¶
func (m *ShieldedTransferContract) GetReceiveDescription() []*ReceiveDescription
func (*ShieldedTransferContract) GetSpendDescription ¶
func (m *ShieldedTransferContract) GetSpendDescription() []*SpendDescription
func (*ShieldedTransferContract) GetToAmount ¶
func (m *ShieldedTransferContract) GetToAmount() int64
func (*ShieldedTransferContract) GetTransparentFromAddress ¶
func (m *ShieldedTransferContract) GetTransparentFromAddress() []byte
func (*ShieldedTransferContract) GetTransparentToAddress ¶
func (m *ShieldedTransferContract) GetTransparentToAddress() []byte
func (*ShieldedTransferContract) ProtoMessage ¶
func (*ShieldedTransferContract) ProtoMessage()
func (*ShieldedTransferContract) Reset ¶
func (m *ShieldedTransferContract) Reset()
func (*ShieldedTransferContract) String ¶
func (m *ShieldedTransferContract) String() string
func (*ShieldedTransferContract) XXX_DiscardUnknown ¶
func (m *ShieldedTransferContract) XXX_DiscardUnknown()
func (*ShieldedTransferContract) XXX_Marshal ¶
func (m *ShieldedTransferContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShieldedTransferContract) XXX_Merge ¶
func (m *ShieldedTransferContract) XXX_Merge(src proto.Message)
func (*ShieldedTransferContract) XXX_Size ¶
func (m *ShieldedTransferContract) XXX_Size() int
func (*ShieldedTransferContract) XXX_Unmarshal ¶
func (m *ShieldedTransferContract) XXX_Unmarshal(b []byte) error
type SmartContract ¶
type SmartContract struct { OriginAddress []byte `protobuf:"bytes,1,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SmartContract) Descriptor ¶
func (*SmartContract) Descriptor() ([]byte, []int)
func (*SmartContract) GetAbi ¶
func (m *SmartContract) GetAbi() *SmartContract_ABI
func (*SmartContract) GetBytecode ¶
func (m *SmartContract) GetBytecode() []byte
func (*SmartContract) GetCallValue ¶
func (m *SmartContract) GetCallValue() int64
func (*SmartContract) GetCodeHash ¶
func (m *SmartContract) GetCodeHash() []byte
func (*SmartContract) GetConsumeUserResourcePercent ¶
func (m *SmartContract) GetConsumeUserResourcePercent() int64
func (*SmartContract) GetContractAddress ¶
func (m *SmartContract) GetContractAddress() []byte
func (*SmartContract) GetName ¶
func (m *SmartContract) GetName() string
func (*SmartContract) GetOriginAddress ¶
func (m *SmartContract) GetOriginAddress() []byte
func (*SmartContract) GetOriginEnergyLimit ¶
func (m *SmartContract) GetOriginEnergyLimit() int64
func (*SmartContract) GetTrxHash ¶
func (m *SmartContract) GetTrxHash() []byte
func (*SmartContract) ProtoMessage ¶
func (*SmartContract) ProtoMessage()
func (*SmartContract) Reset ¶
func (m *SmartContract) Reset()
func (*SmartContract) String ¶
func (m *SmartContract) String() string
func (*SmartContract) XXX_DiscardUnknown ¶
func (m *SmartContract) XXX_DiscardUnknown()
func (*SmartContract) XXX_Marshal ¶
func (m *SmartContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SmartContract) XXX_Merge ¶
func (m *SmartContract) XXX_Merge(src proto.Message)
func (*SmartContract) XXX_Size ¶
func (m *SmartContract) XXX_Size() int
func (*SmartContract) XXX_Unmarshal ¶
func (m *SmartContract) XXX_Unmarshal(b []byte) error
type SmartContract_ABI ¶
type SmartContract_ABI struct { Entrys []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SmartContract_ABI) Descriptor ¶
func (*SmartContract_ABI) Descriptor() ([]byte, []int)
func (*SmartContract_ABI) GetEntrys ¶
func (m *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry
func (*SmartContract_ABI) ProtoMessage ¶
func (*SmartContract_ABI) ProtoMessage()
func (*SmartContract_ABI) Reset ¶
func (m *SmartContract_ABI) Reset()
func (*SmartContract_ABI) String ¶
func (m *SmartContract_ABI) String() string
func (*SmartContract_ABI) XXX_DiscardUnknown ¶
func (m *SmartContract_ABI) XXX_DiscardUnknown()
func (*SmartContract_ABI) XXX_Marshal ¶
func (m *SmartContract_ABI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SmartContract_ABI) XXX_Merge ¶
func (m *SmartContract_ABI) XXX_Merge(src proto.Message)
func (*SmartContract_ABI) XXX_Size ¶
func (m *SmartContract_ABI) XXX_Size() int
func (*SmartContract_ABI) XXX_Unmarshal ¶
func (m *SmartContract_ABI) XXX_Unmarshal(b []byte) error
type SmartContract_ABI_Entry ¶
type SmartContract_ABI_Entry struct { Anonymous bool `protobuf:"varint,1,opt,name=anonymous,proto3" json:"anonymous,omitempty"` 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 */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SmartContract_ABI_Entry) Descriptor ¶
func (*SmartContract_ABI_Entry) Descriptor() ([]byte, []int)
func (*SmartContract_ABI_Entry) GetAnonymous ¶
func (m *SmartContract_ABI_Entry) GetAnonymous() bool
func (*SmartContract_ABI_Entry) GetConstant ¶
func (m *SmartContract_ABI_Entry) GetConstant() bool
func (*SmartContract_ABI_Entry) GetInputs ¶
func (m *SmartContract_ABI_Entry) GetInputs() []*SmartContract_ABI_Entry_Param
func (*SmartContract_ABI_Entry) GetName ¶
func (m *SmartContract_ABI_Entry) GetName() string
func (*SmartContract_ABI_Entry) GetOutputs ¶
func (m *SmartContract_ABI_Entry) GetOutputs() []*SmartContract_ABI_Entry_Param
func (*SmartContract_ABI_Entry) GetPayable ¶
func (m *SmartContract_ABI_Entry) GetPayable() bool
func (*SmartContract_ABI_Entry) GetStateMutability ¶
func (m *SmartContract_ABI_Entry) GetStateMutability() SmartContract_ABI_Entry_StateMutabilityType
func (*SmartContract_ABI_Entry) GetType ¶
func (m *SmartContract_ABI_Entry) GetType() SmartContract_ABI_Entry_EntryType
func (*SmartContract_ABI_Entry) ProtoMessage ¶
func (*SmartContract_ABI_Entry) ProtoMessage()
func (*SmartContract_ABI_Entry) Reset ¶
func (m *SmartContract_ABI_Entry) Reset()
func (*SmartContract_ABI_Entry) String ¶
func (m *SmartContract_ABI_Entry) String() string
func (*SmartContract_ABI_Entry) XXX_DiscardUnknown ¶
func (m *SmartContract_ABI_Entry) XXX_DiscardUnknown()
func (*SmartContract_ABI_Entry) XXX_Marshal ¶
func (m *SmartContract_ABI_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SmartContract_ABI_Entry) XXX_Merge ¶
func (m *SmartContract_ABI_Entry) XXX_Merge(src proto.Message)
func (*SmartContract_ABI_Entry) XXX_Size ¶
func (m *SmartContract_ABI_Entry) XXX_Size() int
func (*SmartContract_ABI_Entry) XXX_Unmarshal ¶
func (m *SmartContract_ABI_Entry) XXX_Unmarshal(b []byte) error
type SmartContract_ABI_Entry_EntryType ¶
type SmartContract_ABI_Entry_EntryType int32
const ( SmartContract_ABI_Entry_UnknownEntryType SmartContract_ABI_Entry_EntryType = 0 SmartContract_ABI_Entry_Constructor SmartContract_ABI_Entry_EntryType = 1 SmartContract_ABI_Entry_Function SmartContract_ABI_Entry_EntryType = 2 SmartContract_ABI_Entry_Event SmartContract_ABI_Entry_EntryType = 3 SmartContract_ABI_Entry_Fallback SmartContract_ABI_Entry_EntryType = 4 )
func (SmartContract_ABI_Entry_EntryType) EnumDescriptor ¶
func (SmartContract_ABI_Entry_EntryType) EnumDescriptor() ([]byte, []int)
func (SmartContract_ABI_Entry_EntryType) String ¶
func (x SmartContract_ABI_Entry_EntryType) String() string
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SmartContract_ABI_Entry_Param) Descriptor ¶
func (*SmartContract_ABI_Entry_Param) Descriptor() ([]byte, []int)
func (*SmartContract_ABI_Entry_Param) GetIndexed ¶
func (m *SmartContract_ABI_Entry_Param) GetIndexed() bool
func (*SmartContract_ABI_Entry_Param) GetName ¶
func (m *SmartContract_ABI_Entry_Param) GetName() string
func (*SmartContract_ABI_Entry_Param) GetType ¶
func (m *SmartContract_ABI_Entry_Param) GetType() string
func (*SmartContract_ABI_Entry_Param) ProtoMessage ¶
func (*SmartContract_ABI_Entry_Param) ProtoMessage()
func (*SmartContract_ABI_Entry_Param) Reset ¶
func (m *SmartContract_ABI_Entry_Param) Reset()
func (*SmartContract_ABI_Entry_Param) String ¶
func (m *SmartContract_ABI_Entry_Param) String() string
func (*SmartContract_ABI_Entry_Param) XXX_DiscardUnknown ¶
func (m *SmartContract_ABI_Entry_Param) XXX_DiscardUnknown()
func (*SmartContract_ABI_Entry_Param) XXX_Marshal ¶
func (m *SmartContract_ABI_Entry_Param) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SmartContract_ABI_Entry_Param) XXX_Merge ¶
func (m *SmartContract_ABI_Entry_Param) XXX_Merge(src proto.Message)
func (*SmartContract_ABI_Entry_Param) XXX_Size ¶
func (m *SmartContract_ABI_Entry_Param) XXX_Size() int
func (*SmartContract_ABI_Entry_Param) XXX_Unmarshal ¶
func (m *SmartContract_ABI_Entry_Param) XXX_Unmarshal(b []byte) error
type SmartContract_ABI_Entry_StateMutabilityType ¶
type SmartContract_ABI_Entry_StateMutabilityType int32
const ( SmartContract_ABI_Entry_UnknownMutabilityType SmartContract_ABI_Entry_StateMutabilityType = 0 SmartContract_ABI_Entry_Pure SmartContract_ABI_Entry_StateMutabilityType = 1 SmartContract_ABI_Entry_View SmartContract_ABI_Entry_StateMutabilityType = 2 SmartContract_ABI_Entry_Nonpayable SmartContract_ABI_Entry_StateMutabilityType = 3 SmartContract_ABI_Entry_Payable SmartContract_ABI_Entry_StateMutabilityType = 4 )
func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor ¶
func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor() ([]byte, []int)
func (SmartContract_ABI_Entry_StateMutabilityType) String ¶
func (x SmartContract_ABI_Entry_StateMutabilityType) String() string
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"` Nullifier []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` Rk []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"` Zkproof []byte `protobuf:"bytes,5,opt,name=zkproof,proto3" json:"zkproof,omitempty"` SpendAuthoritySignature []byte `` /* 132-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SpendDescription) Descriptor ¶
func (*SpendDescription) Descriptor() ([]byte, []int)
func (*SpendDescription) GetAnchor ¶
func (m *SpendDescription) GetAnchor() []byte
func (*SpendDescription) GetNullifier ¶
func (m *SpendDescription) GetNullifier() []byte
func (*SpendDescription) GetRk ¶
func (m *SpendDescription) GetRk() []byte
func (*SpendDescription) GetSpendAuthoritySignature ¶
func (m *SpendDescription) GetSpendAuthoritySignature() []byte
func (*SpendDescription) GetValueCommitment ¶
func (m *SpendDescription) GetValueCommitment() []byte
func (*SpendDescription) GetZkproof ¶
func (m *SpendDescription) GetZkproof() []byte
func (*SpendDescription) ProtoMessage ¶
func (*SpendDescription) ProtoMessage()
func (*SpendDescription) Reset ¶
func (m *SpendDescription) Reset()
func (*SpendDescription) String ¶
func (m *SpendDescription) String() string
func (*SpendDescription) XXX_DiscardUnknown ¶
func (m *SpendDescription) XXX_DiscardUnknown()
func (*SpendDescription) XXX_Marshal ¶
func (m *SpendDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpendDescription) XXX_Merge ¶
func (m *SpendDescription) XXX_Merge(src proto.Message)
func (*SpendDescription) XXX_Size ¶
func (m *SpendDescription) XXX_Size() int
func (*SpendDescription) XXX_Unmarshal ¶
func (m *SpendDescription) XXX_Unmarshal(b []byte) error
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 TransactionInfo ¶
type TransactionInfo struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` BlockNumber int64 `protobuf:"varint,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` BlockTimeStamp int64 `protobuf:"varint,4,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` ContractResult [][]byte `protobuf:"bytes,5,rep,name=contractResult,proto3" json:"contractResult,omitempty"` ContractAddress []byte `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` Receipt *ResourceReceipt `protobuf:"bytes,7,opt,name=receipt,proto3" json:"receipt,omitempty"` Log []*TransactionInfo_Log `protobuf:"bytes,8,rep,name=log,proto3" json:"log,omitempty"` Result TransactionInfoCode `protobuf:"varint,9,opt,name=result,proto3,enum=protocol.TransactionInfoCode" json:"result,omitempty"` ResMessage []byte `protobuf:"bytes,10,opt,name=resMessage,proto3" json:"resMessage,omitempty"` AssetIssueID string `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"` WithdrawAmount int64 `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"` UnfreezeAmount int64 `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` InternalTransactions []*InternalTransaction `protobuf:"bytes,17,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` ExchangeReceivedAmount int64 `` /* 131-byte string literal not displayed */ ExchangeInjectAnotherAmount int64 `` /* 148-byte string literal not displayed */ ExchangeWithdrawAnotherAmount int64 `` /* 154-byte string literal not displayed */ ExchangeId int64 `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` ShieldedTransactionFee int64 `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TransactionInfo) Descriptor
deprecated
func (*TransactionInfo) Descriptor() ([]byte, []int)
Deprecated: Use TransactionInfo.ProtoReflect.Descriptor instead.
func (*TransactionInfo) GetAssetIssueID ¶
func (x *TransactionInfo) GetAssetIssueID() string
func (*TransactionInfo) GetBlockNumber ¶
func (x *TransactionInfo) GetBlockNumber() int64
func (*TransactionInfo) GetBlockTimeStamp ¶
func (x *TransactionInfo) GetBlockTimeStamp() int64
func (*TransactionInfo) GetContractAddress ¶
func (x *TransactionInfo) GetContractAddress() []byte
func (*TransactionInfo) GetContractResult ¶
func (x *TransactionInfo) GetContractResult() [][]byte
func (*TransactionInfo) GetExchangeId ¶
func (x *TransactionInfo) GetExchangeId() int64
func (*TransactionInfo) GetExchangeInjectAnotherAmount ¶
func (x *TransactionInfo) GetExchangeInjectAnotherAmount() int64
func (*TransactionInfo) GetExchangeReceivedAmount ¶
func (x *TransactionInfo) GetExchangeReceivedAmount() int64
func (*TransactionInfo) GetExchangeWithdrawAnotherAmount ¶
func (x *TransactionInfo) GetExchangeWithdrawAnotherAmount() int64
func (*TransactionInfo) GetFee ¶
func (x *TransactionInfo) GetFee() int64
func (*TransactionInfo) GetId ¶
func (x *TransactionInfo) GetId() []byte
func (*TransactionInfo) GetInternalTransactions ¶
func (x *TransactionInfo) GetInternalTransactions() []*InternalTransaction
func (*TransactionInfo) GetLog ¶
func (x *TransactionInfo) GetLog() []*TransactionInfo_Log
func (*TransactionInfo) GetReceipt ¶
func (x *TransactionInfo) GetReceipt() *ResourceReceipt
func (*TransactionInfo) GetResMessage ¶
func (x *TransactionInfo) GetResMessage() []byte
func (*TransactionInfo) GetResult ¶
func (x *TransactionInfo) GetResult() TransactionInfoCode
func (*TransactionInfo) GetShieldedTransactionFee ¶
func (x *TransactionInfo) GetShieldedTransactionFee() int64
func (*TransactionInfo) GetUnfreezeAmount ¶
func (x *TransactionInfo) GetUnfreezeAmount() int64
func (*TransactionInfo) GetWithdrawAmount ¶
func (x *TransactionInfo) GetWithdrawAmount() int64
func (*TransactionInfo) ProtoMessage ¶
func (*TransactionInfo) ProtoMessage()
func (*TransactionInfo) ProtoReflect ¶
func (x *TransactionInfo) ProtoReflect() protoreflect.Message
func (*TransactionInfo) Reset ¶
func (x *TransactionInfo) Reset()
func (*TransactionInfo) String ¶
func (x *TransactionInfo) String() string
type TransactionInfoCode ¶
type TransactionInfoCode int32
const ( TransactionInfo_SUCESS TransactionInfoCode = 0 TransactionInfo_FAILED TransactionInfoCode = 1 )
func (TransactionInfoCode) Descriptor ¶
func (TransactionInfoCode) 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"` // transaction note Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` //only support size = 1, repeated list here for extension Contract []*Transaction_Contract `protobuf:"bytes,11,rep,name=contract,proto3" json:"contract,omitempty"` // scripts not used Scripts []byte `protobuf:"bytes,12,opt,name=scripts,proto3" json:"scripts,omitempty"` Timestamp int64 `protobuf:"varint,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"` FeeLimit int64 `protobuf:"varint,18,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"` // contains filtered or unexported fields }
func (*TransactionRaw) Descriptor
deprecated
func (*TransactionRaw) Descriptor() ([]byte, []int)
Deprecated: Use TransactionRaw.ProtoReflect.Descriptor instead.
func (*TransactionRaw) GetAuths ¶
func (x *TransactionRaw) GetAuths() []*Authority
func (*TransactionRaw) GetContract ¶
func (x *TransactionRaw) GetContract() []*Transaction_Contract
func (*TransactionRaw) GetData ¶
func (x *TransactionRaw) GetData() []byte
func (*TransactionRaw) GetExpiration ¶
func (x *TransactionRaw) GetExpiration() int64
func (*TransactionRaw) GetFeeLimit ¶
func (x *TransactionRaw) GetFeeLimit() int64
func (*TransactionRaw) GetRefBlockBytes ¶
func (x *TransactionRaw) GetRefBlockBytes() []byte
func (*TransactionRaw) GetRefBlockHash ¶
func (x *TransactionRaw) GetRefBlockHash() []byte
func (*TransactionRaw) GetRefBlockNum ¶
func (x *TransactionRaw) GetRefBlockNum() int64
func (*TransactionRaw) GetScripts ¶
func (x *TransactionRaw) GetScripts() []byte
func (*TransactionRaw) GetTimestamp ¶
func (x *TransactionRaw) GetTimestamp() int64
func (*TransactionRaw) ProtoMessage ¶
func (*TransactionRaw) ProtoMessage()
func (*TransactionRaw) ProtoReflect ¶
func (x *TransactionRaw) ProtoReflect() protoreflect.Message
func (*TransactionRaw) Reset ¶
func (x *TransactionRaw) Reset()
func (*TransactionRaw) String ¶
func (x *TransactionRaw) String() string
type TransactionRet ¶
type TransactionRet struct { BlockNumber int64 `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` BlockTimeStamp int64 `protobuf:"varint,2,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` Transactioninfo []*TransactionInfo `protobuf:"bytes,3,rep,name=transactioninfo,proto3" json:"transactioninfo,omitempty"` // contains filtered or unexported fields }
func (*TransactionRet) Descriptor
deprecated
func (*TransactionRet) Descriptor() ([]byte, []int)
Deprecated: Use TransactionRet.ProtoReflect.Descriptor instead.
func (*TransactionRet) GetBlockNumber ¶
func (x *TransactionRet) GetBlockNumber() int64
func (*TransactionRet) GetBlockTimeStamp ¶
func (x *TransactionRet) GetBlockTimeStamp() int64
func (*TransactionRet) GetTransactioninfo ¶
func (x *TransactionRet) GetTransactioninfo() []*TransactionInfo
func (*TransactionRet) ProtoMessage ¶
func (*TransactionRet) ProtoMessage()
func (*TransactionRet) ProtoReflect ¶
func (x *TransactionRet) ProtoReflect() protoreflect.Message
func (*TransactionRet) Reset ¶
func (x *TransactionRet) Reset()
func (*TransactionRet) String ¶
func (x *TransactionRet) String() string
type TransactionSign ¶
type TransactionSign struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` PrivateKey []byte `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` // contains filtered or unexported fields }
func (*TransactionSign) Descriptor
deprecated
func (*TransactionSign) Descriptor() ([]byte, []int)
Deprecated: Use TransactionSign.ProtoReflect.Descriptor instead.
func (*TransactionSign) GetPrivateKey ¶
func (x *TransactionSign) GetPrivateKey() []byte
func (*TransactionSign) GetTransaction ¶
func (x *TransactionSign) GetTransaction() *Transaction
func (*TransactionSign) ProtoMessage ¶
func (*TransactionSign) ProtoMessage()
func (*TransactionSign) ProtoReflect ¶
func (x *TransactionSign) ProtoReflect() protoreflect.Message
func (*TransactionSign) Reset ¶
func (x *TransactionSign) Reset()
func (*TransactionSign) String ¶
func (x *TransactionSign) String() string
type Transaction_Contract ¶
type Transaction_Contract struct { Type Transaction_Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Transaction_Contract_ContractType" json:"type,omitempty"` Parameter *any.Any `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` Provider []byte `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` ContractName []byte `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty"` PermissionId int32 `protobuf:"varint,5,opt,name=Permission_id,json=PermissionId,proto3" json:"Permission_id,omitempty"` // contains filtered or unexported fields }
func (*Transaction_Contract) Descriptor
deprecated
func (*Transaction_Contract) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Contract.ProtoReflect.Descriptor instead.
func (*Transaction_Contract) GetContractName ¶
func (x *Transaction_Contract) GetContractName() []byte
func (*Transaction_Contract) GetParameter ¶
func (x *Transaction_Contract) GetParameter() *any.Any
func (*Transaction_Contract) GetPermissionId ¶
func (x *Transaction_Contract) GetPermissionId() int32
func (*Transaction_Contract) GetProvider ¶
func (x *Transaction_Contract) GetProvider() []byte
func (*Transaction_Contract) GetType ¶
func (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 )
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 */ // 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) 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) 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 )
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"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransferAssetContract) Descriptor ¶
func (*TransferAssetContract) Descriptor() ([]byte, []int)
func (*TransferAssetContract) GetAmount ¶
func (m *TransferAssetContract) GetAmount() int64
func (*TransferAssetContract) GetAssetName ¶
func (m *TransferAssetContract) GetAssetName() []byte
func (*TransferAssetContract) GetOwnerAddress ¶
func (m *TransferAssetContract) GetOwnerAddress() []byte
func (*TransferAssetContract) GetToAddress ¶
func (m *TransferAssetContract) GetToAddress() []byte
func (*TransferAssetContract) ProtoMessage ¶
func (*TransferAssetContract) ProtoMessage()
func (*TransferAssetContract) Reset ¶
func (m *TransferAssetContract) Reset()
func (*TransferAssetContract) String ¶
func (m *TransferAssetContract) String() string
func (*TransferAssetContract) XXX_DiscardUnknown ¶
func (m *TransferAssetContract) XXX_DiscardUnknown()
func (*TransferAssetContract) XXX_Marshal ¶
func (m *TransferAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferAssetContract) XXX_Merge ¶
func (m *TransferAssetContract) XXX_Merge(src proto.Message)
func (*TransferAssetContract) XXX_Size ¶
func (m *TransferAssetContract) XXX_Size() int
func (*TransferAssetContract) XXX_Unmarshal ¶
func (m *TransferAssetContract) XXX_Unmarshal(b []byte) error
type TransferContract ¶
type TransferContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransferContract) Descriptor ¶
func (*TransferContract) Descriptor() ([]byte, []int)
func (*TransferContract) GetAmount ¶
func (m *TransferContract) GetAmount() int64
func (*TransferContract) GetOwnerAddress ¶
func (m *TransferContract) GetOwnerAddress() []byte
func (*TransferContract) GetToAddress ¶
func (m *TransferContract) GetToAddress() []byte
func (*TransferContract) ProtoMessage ¶
func (*TransferContract) ProtoMessage()
func (*TransferContract) Reset ¶
func (m *TransferContract) Reset()
func (*TransferContract) String ¶
func (m *TransferContract) String() string
func (*TransferContract) XXX_DiscardUnknown ¶
func (m *TransferContract) XXX_DiscardUnknown()
func (*TransferContract) XXX_Marshal ¶
func (m *TransferContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferContract) XXX_Merge ¶
func (m *TransferContract) XXX_Merge(src proto.Message)
func (*TransferContract) XXX_Size ¶
func (m *TransferContract) XXX_Size() int
func (*TransferContract) XXX_Unmarshal ¶
func (m *TransferContract) XXX_Unmarshal(b []byte) error
type TriggerSmartContract ¶
type TriggerSmartContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TriggerSmartContract) Descriptor ¶
func (*TriggerSmartContract) Descriptor() ([]byte, []int)
func (*TriggerSmartContract) GetCallTokenValue ¶
func (m *TriggerSmartContract) GetCallTokenValue() int64
func (*TriggerSmartContract) GetCallValue ¶
func (m *TriggerSmartContract) GetCallValue() int64
func (*TriggerSmartContract) GetContractAddress ¶
func (m *TriggerSmartContract) GetContractAddress() []byte
func (*TriggerSmartContract) GetData ¶
func (m *TriggerSmartContract) GetData() []byte
func (*TriggerSmartContract) GetOwnerAddress ¶
func (m *TriggerSmartContract) GetOwnerAddress() []byte
func (*TriggerSmartContract) GetTokenId ¶
func (m *TriggerSmartContract) GetTokenId() int64
func (*TriggerSmartContract) ProtoMessage ¶
func (*TriggerSmartContract) ProtoMessage()
func (*TriggerSmartContract) Reset ¶
func (m *TriggerSmartContract) Reset()
func (*TriggerSmartContract) String ¶
func (m *TriggerSmartContract) String() string
func (*TriggerSmartContract) XXX_DiscardUnknown ¶
func (m *TriggerSmartContract) XXX_DiscardUnknown()
func (*TriggerSmartContract) XXX_Marshal ¶
func (m *TriggerSmartContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TriggerSmartContract) XXX_Merge ¶
func (m *TriggerSmartContract) XXX_Merge(src proto.Message)
func (*TriggerSmartContract) XXX_Size ¶
func (m *TriggerSmartContract) XXX_Size() int
func (*TriggerSmartContract) XXX_Unmarshal ¶
func (m *TriggerSmartContract) XXX_Unmarshal(b []byte) error
type UnfreezeAssetContract ¶
type UnfreezeAssetContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnfreezeAssetContract) Descriptor ¶
func (*UnfreezeAssetContract) Descriptor() ([]byte, []int)
func (*UnfreezeAssetContract) GetOwnerAddress ¶
func (m *UnfreezeAssetContract) GetOwnerAddress() []byte
func (*UnfreezeAssetContract) ProtoMessage ¶
func (*UnfreezeAssetContract) ProtoMessage()
func (*UnfreezeAssetContract) Reset ¶
func (m *UnfreezeAssetContract) Reset()
func (*UnfreezeAssetContract) String ¶
func (m *UnfreezeAssetContract) String() string
func (*UnfreezeAssetContract) XXX_DiscardUnknown ¶
func (m *UnfreezeAssetContract) XXX_DiscardUnknown()
func (*UnfreezeAssetContract) XXX_Marshal ¶
func (m *UnfreezeAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnfreezeAssetContract) XXX_Merge ¶
func (m *UnfreezeAssetContract) XXX_Merge(src proto.Message)
func (*UnfreezeAssetContract) XXX_Size ¶
func (m *UnfreezeAssetContract) XXX_Size() int
func (*UnfreezeAssetContract) XXX_Unmarshal ¶
func (m *UnfreezeAssetContract) XXX_Unmarshal(b []byte) error
type UnfreezeBalanceContract ¶
type UnfreezeBalanceContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnfreezeBalanceContract) Descriptor ¶
func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int)
func (*UnfreezeBalanceContract) GetOwnerAddress ¶
func (m *UnfreezeBalanceContract) GetOwnerAddress() []byte
func (*UnfreezeBalanceContract) GetReceiverAddress ¶
func (m *UnfreezeBalanceContract) GetReceiverAddress() []byte
func (*UnfreezeBalanceContract) GetResource ¶
func (m *UnfreezeBalanceContract) GetResource() ResourceCode
func (*UnfreezeBalanceContract) ProtoMessage ¶
func (*UnfreezeBalanceContract) ProtoMessage()
func (*UnfreezeBalanceContract) Reset ¶
func (m *UnfreezeBalanceContract) Reset()
func (*UnfreezeBalanceContract) String ¶
func (m *UnfreezeBalanceContract) String() string
func (*UnfreezeBalanceContract) XXX_DiscardUnknown ¶
func (m *UnfreezeBalanceContract) XXX_DiscardUnknown()
func (*UnfreezeBalanceContract) XXX_Marshal ¶
func (m *UnfreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnfreezeBalanceContract) XXX_Merge ¶
func (m *UnfreezeBalanceContract) XXX_Merge(src proto.Message)
func (*UnfreezeBalanceContract) XXX_Size ¶
func (m *UnfreezeBalanceContract) XXX_Size() int
func (*UnfreezeBalanceContract) XXX_Unmarshal ¶
func (m *UnfreezeBalanceContract) XXX_Unmarshal(b []byte) error
type UpdateAssetContract ¶
type UpdateAssetContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateAssetContract) Descriptor ¶
func (*UpdateAssetContract) Descriptor() ([]byte, []int)
func (*UpdateAssetContract) GetDescription ¶
func (m *UpdateAssetContract) GetDescription() []byte
func (*UpdateAssetContract) GetNewLimit ¶
func (m *UpdateAssetContract) GetNewLimit() int64
func (*UpdateAssetContract) GetNewPublicLimit ¶
func (m *UpdateAssetContract) GetNewPublicLimit() int64
func (*UpdateAssetContract) GetOwnerAddress ¶
func (m *UpdateAssetContract) GetOwnerAddress() []byte
func (*UpdateAssetContract) GetUrl ¶
func (m *UpdateAssetContract) GetUrl() []byte
func (*UpdateAssetContract) ProtoMessage ¶
func (*UpdateAssetContract) ProtoMessage()
func (*UpdateAssetContract) Reset ¶
func (m *UpdateAssetContract) Reset()
func (*UpdateAssetContract) String ¶
func (m *UpdateAssetContract) String() string
func (*UpdateAssetContract) XXX_DiscardUnknown ¶
func (m *UpdateAssetContract) XXX_DiscardUnknown()
func (*UpdateAssetContract) XXX_Marshal ¶
func (m *UpdateAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAssetContract) XXX_Merge ¶
func (m *UpdateAssetContract) XXX_Merge(src proto.Message)
func (*UpdateAssetContract) XXX_Size ¶
func (m *UpdateAssetContract) XXX_Size() int
func (*UpdateAssetContract) XXX_Unmarshal ¶
func (m *UpdateAssetContract) XXX_Unmarshal(b []byte) error
type 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateBrokerageContract) Descriptor ¶
func (*UpdateBrokerageContract) Descriptor() ([]byte, []int)
func (*UpdateBrokerageContract) GetBrokerage ¶
func (m *UpdateBrokerageContract) GetBrokerage() int32
func (*UpdateBrokerageContract) GetOwnerAddress ¶
func (m *UpdateBrokerageContract) GetOwnerAddress() []byte
func (*UpdateBrokerageContract) ProtoMessage ¶
func (*UpdateBrokerageContract) ProtoMessage()
func (*UpdateBrokerageContract) Reset ¶
func (m *UpdateBrokerageContract) Reset()
func (*UpdateBrokerageContract) String ¶
func (m *UpdateBrokerageContract) String() string
func (*UpdateBrokerageContract) XXX_DiscardUnknown ¶
func (m *UpdateBrokerageContract) XXX_DiscardUnknown()
func (*UpdateBrokerageContract) XXX_Marshal ¶
func (m *UpdateBrokerageContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateBrokerageContract) XXX_Merge ¶
func (m *UpdateBrokerageContract) XXX_Merge(src proto.Message)
func (*UpdateBrokerageContract) XXX_Size ¶
func (m *UpdateBrokerageContract) XXX_Size() int
func (*UpdateBrokerageContract) XXX_Unmarshal ¶
func (m *UpdateBrokerageContract) XXX_Unmarshal(b []byte) error
type UpdateEnergyLimitContract ¶
type UpdateEnergyLimitContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateEnergyLimitContract) Descriptor ¶
func (*UpdateEnergyLimitContract) Descriptor() ([]byte, []int)
func (*UpdateEnergyLimitContract) GetContractAddress ¶
func (m *UpdateEnergyLimitContract) GetContractAddress() []byte
func (*UpdateEnergyLimitContract) GetOriginEnergyLimit ¶
func (m *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64
func (*UpdateEnergyLimitContract) GetOwnerAddress ¶
func (m *UpdateEnergyLimitContract) GetOwnerAddress() []byte
func (*UpdateEnergyLimitContract) ProtoMessage ¶
func (*UpdateEnergyLimitContract) ProtoMessage()
func (*UpdateEnergyLimitContract) Reset ¶
func (m *UpdateEnergyLimitContract) Reset()
func (*UpdateEnergyLimitContract) String ¶
func (m *UpdateEnergyLimitContract) String() string
func (*UpdateEnergyLimitContract) XXX_DiscardUnknown ¶
func (m *UpdateEnergyLimitContract) XXX_DiscardUnknown()
func (*UpdateEnergyLimitContract) XXX_Marshal ¶
func (m *UpdateEnergyLimitContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateEnergyLimitContract) XXX_Merge ¶
func (m *UpdateEnergyLimitContract) XXX_Merge(src proto.Message)
func (*UpdateEnergyLimitContract) XXX_Size ¶
func (m *UpdateEnergyLimitContract) XXX_Size() int
func (*UpdateEnergyLimitContract) XXX_Unmarshal ¶
func (m *UpdateEnergyLimitContract) XXX_Unmarshal(b []byte) error
type UpdateSettingContract ¶
type UpdateSettingContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` ConsumeUserResourcePercent int64 `` /* 144-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateSettingContract) Descriptor ¶
func (*UpdateSettingContract) Descriptor() ([]byte, []int)
func (*UpdateSettingContract) GetConsumeUserResourcePercent ¶
func (m *UpdateSettingContract) GetConsumeUserResourcePercent() int64
func (*UpdateSettingContract) GetContractAddress ¶
func (m *UpdateSettingContract) GetContractAddress() []byte
func (*UpdateSettingContract) GetOwnerAddress ¶
func (m *UpdateSettingContract) GetOwnerAddress() []byte
func (*UpdateSettingContract) ProtoMessage ¶
func (*UpdateSettingContract) ProtoMessage()
func (*UpdateSettingContract) Reset ¶
func (m *UpdateSettingContract) Reset()
func (*UpdateSettingContract) String ¶
func (m *UpdateSettingContract) String() string
func (*UpdateSettingContract) XXX_DiscardUnknown ¶
func (m *UpdateSettingContract) XXX_DiscardUnknown()
func (*UpdateSettingContract) XXX_Marshal ¶
func (m *UpdateSettingContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateSettingContract) XXX_Merge ¶
func (m *UpdateSettingContract) XXX_Merge(src proto.Message)
func (*UpdateSettingContract) XXX_Size ¶
func (m *UpdateSettingContract) XXX_Size() int
func (*UpdateSettingContract) XXX_Unmarshal ¶
func (m *UpdateSettingContract) XXX_Unmarshal(b []byte) error
type Vote ¶
type Vote struct { // the super rep address VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VoteAssetContract) Descriptor ¶
func (*VoteAssetContract) Descriptor() ([]byte, []int)
func (*VoteAssetContract) GetCount ¶
func (m *VoteAssetContract) GetCount() int32
func (*VoteAssetContract) GetOwnerAddress ¶
func (m *VoteAssetContract) GetOwnerAddress() []byte
func (*VoteAssetContract) GetSupport ¶
func (m *VoteAssetContract) GetSupport() bool
func (*VoteAssetContract) GetVoteAddress ¶
func (m *VoteAssetContract) GetVoteAddress() [][]byte
func (*VoteAssetContract) ProtoMessage ¶
func (*VoteAssetContract) ProtoMessage()
func (*VoteAssetContract) Reset ¶
func (m *VoteAssetContract) Reset()
func (*VoteAssetContract) String ¶
func (m *VoteAssetContract) String() string
func (*VoteAssetContract) XXX_DiscardUnknown ¶
func (m *VoteAssetContract) XXX_DiscardUnknown()
func (*VoteAssetContract) XXX_Marshal ¶
func (m *VoteAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteAssetContract) XXX_Merge ¶
func (m *VoteAssetContract) XXX_Merge(src proto.Message)
func (*VoteAssetContract) XXX_Size ¶
func (m *VoteAssetContract) XXX_Size() int
func (*VoteAssetContract) XXX_Unmarshal ¶
func (m *VoteAssetContract) XXX_Unmarshal(b []byte) error
type VoteWitnessContract ¶
type VoteWitnessContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VoteWitnessContract) Descriptor ¶
func (*VoteWitnessContract) Descriptor() ([]byte, []int)
func (*VoteWitnessContract) GetOwnerAddress ¶
func (m *VoteWitnessContract) GetOwnerAddress() []byte
func (*VoteWitnessContract) GetSupport ¶
func (m *VoteWitnessContract) GetSupport() bool
func (*VoteWitnessContract) GetVotes ¶
func (m *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote
func (*VoteWitnessContract) ProtoMessage ¶
func (*VoteWitnessContract) ProtoMessage()
func (*VoteWitnessContract) Reset ¶
func (m *VoteWitnessContract) Reset()
func (*VoteWitnessContract) String ¶
func (m *VoteWitnessContract) String() string
func (*VoteWitnessContract) XXX_DiscardUnknown ¶
func (m *VoteWitnessContract) XXX_DiscardUnknown()
func (*VoteWitnessContract) XXX_Marshal ¶
func (m *VoteWitnessContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteWitnessContract) XXX_Merge ¶
func (m *VoteWitnessContract) XXX_Merge(src proto.Message)
func (*VoteWitnessContract) XXX_Size ¶
func (m *VoteWitnessContract) XXX_Size() int
func (*VoteWitnessContract) XXX_Unmarshal ¶
func (m *VoteWitnessContract) XXX_Unmarshal(b []byte) error
type VoteWitnessContract_Vote ¶
type VoteWitnessContract_Vote struct { VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VoteWitnessContract_Vote) Descriptor ¶
func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int)
func (*VoteWitnessContract_Vote) GetVoteAddress ¶
func (m *VoteWitnessContract_Vote) GetVoteAddress() []byte
func (*VoteWitnessContract_Vote) GetVoteCount ¶
func (m *VoteWitnessContract_Vote) GetVoteCount() int64
func (*VoteWitnessContract_Vote) ProtoMessage ¶
func (*VoteWitnessContract_Vote) ProtoMessage()
func (*VoteWitnessContract_Vote) Reset ¶
func (m *VoteWitnessContract_Vote) Reset()
func (*VoteWitnessContract_Vote) String ¶
func (m *VoteWitnessContract_Vote) String() string
func (*VoteWitnessContract_Vote) XXX_DiscardUnknown ¶
func (m *VoteWitnessContract_Vote) XXX_DiscardUnknown()
func (*VoteWitnessContract_Vote) XXX_Marshal ¶
func (m *VoteWitnessContract_Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteWitnessContract_Vote) XXX_Merge ¶
func (m *VoteWitnessContract_Vote) XXX_Merge(src proto.Message)
func (*VoteWitnessContract_Vote) XXX_Size ¶
func (m *VoteWitnessContract_Vote) XXX_Size() int
func (*VoteWitnessContract_Vote) XXX_Unmarshal ¶
func (m *VoteWitnessContract_Vote) XXX_Unmarshal(b []byte) error
type Votes ¶
type Votes struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WithdrawBalanceContract) Descriptor ¶
func (*WithdrawBalanceContract) Descriptor() ([]byte, []int)
func (*WithdrawBalanceContract) GetOwnerAddress ¶
func (m *WithdrawBalanceContract) GetOwnerAddress() []byte
func (*WithdrawBalanceContract) ProtoMessage ¶
func (*WithdrawBalanceContract) ProtoMessage()
func (*WithdrawBalanceContract) Reset ¶
func (m *WithdrawBalanceContract) Reset()
func (*WithdrawBalanceContract) String ¶
func (m *WithdrawBalanceContract) String() string
func (*WithdrawBalanceContract) XXX_DiscardUnknown ¶
func (m *WithdrawBalanceContract) XXX_DiscardUnknown()
func (*WithdrawBalanceContract) XXX_Marshal ¶
func (m *WithdrawBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawBalanceContract) XXX_Merge ¶
func (m *WithdrawBalanceContract) XXX_Merge(src proto.Message)
func (*WithdrawBalanceContract) XXX_Size ¶
func (m *WithdrawBalanceContract) XXX_Size() int
func (*WithdrawBalanceContract) XXX_Unmarshal ¶
func (m *WithdrawBalanceContract) XXX_Unmarshal(b []byte) error
type Witness ¶
type Witness struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WitnessCreateContract) Descriptor ¶
func (*WitnessCreateContract) Descriptor() ([]byte, []int)
func (*WitnessCreateContract) GetOwnerAddress ¶
func (m *WitnessCreateContract) GetOwnerAddress() []byte
func (*WitnessCreateContract) GetUrl ¶
func (m *WitnessCreateContract) GetUrl() []byte
func (*WitnessCreateContract) ProtoMessage ¶
func (*WitnessCreateContract) ProtoMessage()
func (*WitnessCreateContract) Reset ¶
func (m *WitnessCreateContract) Reset()
func (*WitnessCreateContract) String ¶
func (m *WitnessCreateContract) String() string
func (*WitnessCreateContract) XXX_DiscardUnknown ¶
func (m *WitnessCreateContract) XXX_DiscardUnknown()
func (*WitnessCreateContract) XXX_Marshal ¶
func (m *WitnessCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WitnessCreateContract) XXX_Merge ¶
func (m *WitnessCreateContract) XXX_Merge(src proto.Message)
func (*WitnessCreateContract) XXX_Size ¶
func (m *WitnessCreateContract) XXX_Size() int
func (*WitnessCreateContract) XXX_Unmarshal ¶
func (m *WitnessCreateContract) XXX_Unmarshal(b []byte) error
type WitnessUpdateContract ¶
type WitnessUpdateContract struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` UpdateUrl []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WitnessUpdateContract) Descriptor ¶
func (*WitnessUpdateContract) Descriptor() ([]byte, []int)
func (*WitnessUpdateContract) GetOwnerAddress ¶
func (m *WitnessUpdateContract) GetOwnerAddress() []byte
func (*WitnessUpdateContract) GetUpdateUrl ¶
func (m *WitnessUpdateContract) GetUpdateUrl() []byte
func (*WitnessUpdateContract) ProtoMessage ¶
func (*WitnessUpdateContract) ProtoMessage()
func (*WitnessUpdateContract) Reset ¶
func (m *WitnessUpdateContract) Reset()
func (*WitnessUpdateContract) String ¶
func (m *WitnessUpdateContract) String() string
func (*WitnessUpdateContract) XXX_DiscardUnknown ¶
func (m *WitnessUpdateContract) XXX_DiscardUnknown()
func (*WitnessUpdateContract) XXX_Marshal ¶
func (m *WitnessUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WitnessUpdateContract) XXX_Merge ¶
func (m *WitnessUpdateContract) XXX_Merge(src proto.Message)
func (*WitnessUpdateContract) XXX_Size ¶
func (m *WitnessUpdateContract) XXX_Size() int
func (*WitnessUpdateContract) XXX_Unmarshal ¶
func (m *WitnessUpdateContract) XXX_Unmarshal(b []byte) error