proto

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HederaFunctionality_name = map[int32]string{
	0:  "NONE",
	1:  "CryptoTransfer",
	2:  "CryptoUpdate",
	3:  "CryptoDelete",
	4:  "CryptoAddClaim",
	5:  "CryptoDeleteClaim",
	6:  "ContractCall",
	7:  "ContractCreate",
	8:  "ContractUpdate",
	9:  "FileCreate",
	10: "FileAppend",
	11: "FileUpdate",
	12: "FileDelete",
	13: "CryptoGetAccountBalance",
	14: "CryptoGetAccountRecords",
	15: "CryptoGetInfo",
	16: "ContractCallLocal",
	17: "ContractGetInfo",
	18: "ContractGetBytecode",
	19: "GetBySolidityID",
	20: "GetByKey",
	21: "CryptoGetClaim",
	22: "CryptoGetStakers",
	23: "FileGetContents",
	24: "FileGetInfo",
	25: "TransactionGetRecord",
	26: "ContractGetRecords",
	27: "CryptoCreate",
	28: "SystemDelete",
	29: "SystemUndelete",
	30: "ContractDelete",
	31: "Freeze",
	32: "CreateTransactionRecord",
	33: "CryptoAccountAutoRenew",
	34: "ContractAutoRenew",
	35: "getVersion",
	36: "TransactionGetReceipt",
}
View Source
var HederaFunctionality_value = map[string]int32{
	"NONE":                    0,
	"CryptoTransfer":          1,
	"CryptoUpdate":            2,
	"CryptoDelete":            3,
	"CryptoAddClaim":          4,
	"CryptoDeleteClaim":       5,
	"ContractCall":            6,
	"ContractCreate":          7,
	"ContractUpdate":          8,
	"FileCreate":              9,
	"FileAppend":              10,
	"FileUpdate":              11,
	"FileDelete":              12,
	"CryptoGetAccountBalance": 13,
	"CryptoGetAccountRecords": 14,
	"CryptoGetInfo":           15,
	"ContractCallLocal":       16,
	"ContractGetInfo":         17,
	"ContractGetBytecode":     18,
	"GetBySolidityID":         19,
	"GetByKey":                20,
	"CryptoGetClaim":          21,
	"CryptoGetStakers":        22,
	"FileGetContents":         23,
	"FileGetInfo":             24,
	"TransactionGetRecord":    25,
	"ContractGetRecords":      26,
	"CryptoCreate":            27,
	"SystemDelete":            28,
	"SystemUndelete":          29,
	"ContractDelete":          30,
	"Freeze":                  31,
	"CreateTransactionRecord": 32,
	"CryptoAccountAutoRenew":  33,
	"ContractAutoRenew":       34,
	"getVersion":              35,
	"TransactionGetReceipt":   36,
}
View Source
var ResponseCodeEnum_name = map[int32]string{}/* 112 elements not displayed */
View Source
var ResponseCodeEnum_value = map[string]int32{}/* 112 elements not displayed */
View Source
var ResponseType_name = map[int32]string{
	0: "ANSWER_ONLY",
	1: "ANSWER_STATE_PROOF",
	2: "COST_ANSWER",
	3: "COST_ANSWER_STATE_PROOF",
}
View Source
var ResponseType_value = map[string]int32{
	"ANSWER_ONLY":             0,
	"ANSWER_STATE_PROOF":      1,
	"COST_ANSWER":             2,
	"COST_ANSWER_STATE_PROOF": 3,
}

Functions

func RegisterConsensusServiceServer

func RegisterConsensusServiceServer(s *grpc.Server, srv ConsensusServiceServer)

func RegisterCryptoServiceServer

func RegisterCryptoServiceServer(s *grpc.Server, srv CryptoServiceServer)

func RegisterFileServiceServer

func RegisterFileServiceServer(s *grpc.Server, srv FileServiceServer)

func RegisterFreezeServiceServer

func RegisterFreezeServiceServer(s *grpc.Server, srv FreezeServiceServer)

func RegisterSmartContractServiceServer

func RegisterSmartContractServiceServer(s *grpc.Server, srv SmartContractServiceServer)

Types

type AccountAmount

type AccountAmount struct {
	AccountID            *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
	Amount               int64      `protobuf:"zigzag64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

An account, and the amount that it sends or receives during a cryptocurrency transfer.

func (*AccountAmount) Descriptor

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

func (*AccountAmount) GetAccountID

func (m *AccountAmount) GetAccountID() *AccountID

func (*AccountAmount) GetAmount

func (m *AccountAmount) GetAmount() int64

func (*AccountAmount) ProtoMessage

func (*AccountAmount) ProtoMessage()

func (*AccountAmount) Reset

func (m *AccountAmount) Reset()

func (*AccountAmount) String

func (m *AccountAmount) String() string

func (*AccountAmount) XXX_DiscardUnknown

func (m *AccountAmount) XXX_DiscardUnknown()

func (*AccountAmount) XXX_Marshal

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

func (*AccountAmount) XXX_Merge

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

func (*AccountAmount) XXX_Size

func (m *AccountAmount) XXX_Size() int

func (*AccountAmount) XXX_Unmarshal

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

type AccountID

type AccountID struct {
	ShardNum             int64    `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	RealmNum             int64    `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`
	AccountNum           int64    `protobuf:"varint,3,opt,name=accountNum,proto3" json:"accountNum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The ID for an a cryptocurrency account

func (*AccountID) Descriptor

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

func (*AccountID) GetAccountNum

func (m *AccountID) GetAccountNum() int64

func (*AccountID) GetRealmNum

func (m *AccountID) GetRealmNum() int64

func (*AccountID) GetShardNum

func (m *AccountID) GetShardNum() int64

func (*AccountID) ProtoMessage

func (*AccountID) ProtoMessage()

func (*AccountID) Reset

func (m *AccountID) Reset()

func (*AccountID) String

func (m *AccountID) String() string

func (*AccountID) XXX_DiscardUnknown

func (m *AccountID) XXX_DiscardUnknown()

func (*AccountID) XXX_Marshal

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

func (*AccountID) XXX_Merge

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

func (*AccountID) XXX_Size

func (m *AccountID) XXX_Size() int

func (*AccountID) XXX_Unmarshal

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

type AllProxyStakers

type AllProxyStakers struct {
	AccountID            *AccountID     `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
	ProxyStaker          []*ProxyStaker `protobuf:"bytes,2,rep,name=proxyStaker,proto3" json:"proxyStaker,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

all of the accounts proxy staking to a given account, and the amounts proxy staked

func (*AllProxyStakers) Descriptor

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

func (*AllProxyStakers) GetAccountID

func (m *AllProxyStakers) GetAccountID() *AccountID

func (*AllProxyStakers) GetProxyStaker

func (m *AllProxyStakers) GetProxyStaker() []*ProxyStaker

func (*AllProxyStakers) ProtoMessage

func (*AllProxyStakers) ProtoMessage()

func (*AllProxyStakers) Reset

func (m *AllProxyStakers) Reset()

func (*AllProxyStakers) String

func (m *AllProxyStakers) String() string

func (*AllProxyStakers) XXX_DiscardUnknown

func (m *AllProxyStakers) XXX_DiscardUnknown()

func (*AllProxyStakers) XXX_Marshal

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

func (*AllProxyStakers) XXX_Merge

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

func (*AllProxyStakers) XXX_Size

func (m *AllProxyStakers) XXX_Size() int

func (*AllProxyStakers) XXX_Unmarshal

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

type Claim

type Claim struct {
	AccountID            *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
	Hash                 []byte     `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Keys                 *KeyList   `protobuf:"bytes,3,opt,name=keys,proto3" json:"keys,omitempty"`
	ClaimDuration        *Duration  `protobuf:"bytes,5,opt,name=claimDuration,proto3" json:"claimDuration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

A hash (presumably of some kind of credential or certificate), along with a list of keys (each of which is either a primitive or a threshold key). Each of them must reach its threshold when signing the transaction, to attach this claim to this account. At least one of them must reach its threshold to delete this Claim from this account. This is intended to provide a revocation service: all the authorities agree to attach the hash, to attest to the fact that the credential or certificate is valid. Any one of the authorities can later delete the hash, to indicate that the credential has been revoked. In this way, any client can prove to a third party that any particular account has certain credentials, or to identity facts proved about it, and that none of them have been revoked yet.

func (*Claim) Descriptor

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

func (*Claim) GetAccountID

func (m *Claim) GetAccountID() *AccountID

func (*Claim) GetClaimDuration

func (m *Claim) GetClaimDuration() *Duration

func (*Claim) GetHash

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

func (*Claim) GetKeys

func (m *Claim) GetKeys() *KeyList

func (*Claim) ProtoMessage

func (*Claim) ProtoMessage()

func (*Claim) Reset

func (m *Claim) Reset()

func (*Claim) String

func (m *Claim) String() string

func (*Claim) XXX_DiscardUnknown

func (m *Claim) XXX_DiscardUnknown()

func (*Claim) XXX_Marshal

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

func (*Claim) XXX_Merge

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

func (*Claim) XXX_Size

func (m *Claim) XXX_Size() int

func (*Claim) XXX_Unmarshal

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

type ConsensusCreateTopicTransactionBody

type ConsensusCreateTopicTransactionBody struct {
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// Access control for update/delete of the topic.
	// If unspecified, anyone can increase the topic's expirationTime via ConsensusService.updateTopic().
	AdminKey *Key `protobuf:"bytes,2,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	// Access control for ConsensusService.submitMessage.
	// If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
	SubmitKey      *Key       `protobuf:"bytes,3,opt,name=submitKey,proto3" json:"submitKey,omitempty"`
	ValidStartTime *Timestamp `protobuf:"bytes,4,opt,name=validStartTime,proto3" json:"validStartTime,omitempty"` // Deprecated: Do not use.
	ExpirationTime *Timestamp `protobuf:"bytes,5,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"` // Deprecated: Do not use.
	// The initial lifetime of the topic and the amount of time to extend the topic's lifetime automatically at
	// expirationTime if the autoRenewAccount is configured and has sufficient funds.
	// Required. Limited to a maximum of 90 days (server-side configuration which may change).
	AutoRenewPeriod *Duration `protobuf:"bytes,6,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// Optional account to be used at the topic's expirationTime to extend the life of the topic.
	// The topic lifetime will be extended up to a maximum of the autoRenewPeriod or however long the topic
	// can be extended using all funds on the account (whichever is the smaller duration/amount).
	// If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
	AutoRenewAccount     *AccountID `protobuf:"bytes,7,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

See [ConsensusService.createTopic()](#proto.ConsensusService)

func (*ConsensusCreateTopicTransactionBody) Descriptor

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

func (*ConsensusCreateTopicTransactionBody) GetAdminKey

func (m *ConsensusCreateTopicTransactionBody) GetAdminKey() *Key

func (*ConsensusCreateTopicTransactionBody) GetAutoRenewAccount

func (m *ConsensusCreateTopicTransactionBody) GetAutoRenewAccount() *AccountID

func (*ConsensusCreateTopicTransactionBody) GetAutoRenewPeriod

func (m *ConsensusCreateTopicTransactionBody) GetAutoRenewPeriod() *Duration

func (*ConsensusCreateTopicTransactionBody) GetExpirationTime deprecated

func (m *ConsensusCreateTopicTransactionBody) GetExpirationTime() *Timestamp

Deprecated: Do not use.

func (*ConsensusCreateTopicTransactionBody) GetMemo

func (*ConsensusCreateTopicTransactionBody) GetSubmitKey

func (m *ConsensusCreateTopicTransactionBody) GetSubmitKey() *Key

func (*ConsensusCreateTopicTransactionBody) GetValidStartTime deprecated

func (m *ConsensusCreateTopicTransactionBody) GetValidStartTime() *Timestamp

Deprecated: Do not use.

func (*ConsensusCreateTopicTransactionBody) ProtoMessage

func (*ConsensusCreateTopicTransactionBody) ProtoMessage()

func (*ConsensusCreateTopicTransactionBody) Reset

func (*ConsensusCreateTopicTransactionBody) String

func (*ConsensusCreateTopicTransactionBody) XXX_DiscardUnknown

func (m *ConsensusCreateTopicTransactionBody) XXX_DiscardUnknown()

func (*ConsensusCreateTopicTransactionBody) XXX_Marshal

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

func (*ConsensusCreateTopicTransactionBody) XXX_Merge

func (*ConsensusCreateTopicTransactionBody) XXX_Size

func (*ConsensusCreateTopicTransactionBody) XXX_Unmarshal

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

type ConsensusDeleteTopicTransactionBody

type ConsensusDeleteTopicTransactionBody struct {
	TopicID              *TopicID `protobuf:"bytes,1,opt,name=topicID,proto3" json:"topicID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

See [ConsensusService.deleteTopic()](#proto.ConsensusService)

func (*ConsensusDeleteTopicTransactionBody) Descriptor

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

func (*ConsensusDeleteTopicTransactionBody) GetTopicID

func (*ConsensusDeleteTopicTransactionBody) ProtoMessage

func (*ConsensusDeleteTopicTransactionBody) ProtoMessage()

func (*ConsensusDeleteTopicTransactionBody) Reset

func (*ConsensusDeleteTopicTransactionBody) String

func (*ConsensusDeleteTopicTransactionBody) XXX_DiscardUnknown

func (m *ConsensusDeleteTopicTransactionBody) XXX_DiscardUnknown()

func (*ConsensusDeleteTopicTransactionBody) XXX_Marshal

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

func (*ConsensusDeleteTopicTransactionBody) XXX_Merge

func (*ConsensusDeleteTopicTransactionBody) XXX_Size

func (*ConsensusDeleteTopicTransactionBody) XXX_Unmarshal

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

type ConsensusGetTopicInfoQuery

type ConsensusGetTopicInfoQuery struct {
	// Standard info sent from client to node, including the signed payment, and what kind of response is requested
	// (cost, state proof, both, or neither).
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	TopicID              *TopicID     `protobuf:"bytes,2,opt,name=topicID,proto3" json:"topicID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

See [ConsensusService.getTopicInfo()](#proto.ConsensusService)

func (*ConsensusGetTopicInfoQuery) Descriptor

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

func (*ConsensusGetTopicInfoQuery) GetHeader

func (m *ConsensusGetTopicInfoQuery) GetHeader() *QueryHeader

func (*ConsensusGetTopicInfoQuery) GetTopicID

func (m *ConsensusGetTopicInfoQuery) GetTopicID() *TopicID

func (*ConsensusGetTopicInfoQuery) ProtoMessage

func (*ConsensusGetTopicInfoQuery) ProtoMessage()

func (*ConsensusGetTopicInfoQuery) Reset

func (m *ConsensusGetTopicInfoQuery) Reset()

func (*ConsensusGetTopicInfoQuery) String

func (m *ConsensusGetTopicInfoQuery) String() string

func (*ConsensusGetTopicInfoQuery) XXX_DiscardUnknown

func (m *ConsensusGetTopicInfoQuery) XXX_DiscardUnknown()

func (*ConsensusGetTopicInfoQuery) XXX_Marshal

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

func (*ConsensusGetTopicInfoQuery) XXX_Merge

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

func (*ConsensusGetTopicInfoQuery) XXX_Size

func (m *ConsensusGetTopicInfoQuery) XXX_Size() int

func (*ConsensusGetTopicInfoQuery) XXX_Unmarshal

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

type ConsensusGetTopicInfoResponse

type ConsensusGetTopicInfoResponse struct {
	// Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither.
	Header               *ResponseHeader           `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	TopicID              *TopicID                  `protobuf:"bytes,2,opt,name=topicID,proto3" json:"topicID,omitempty"`
	TopicDefinition      *ConsensusTopicDefinition `protobuf:"bytes,3,opt,name=topicDefinition,proto3" json:"topicDefinition,omitempty"` // Deprecated: Do not use.
	TopicState           *ConsensusTopicState      `protobuf:"bytes,4,opt,name=topicState,proto3" json:"topicState,omitempty"`           // Deprecated: Do not use.
	TopicInfo            *ConsensusTopicInfo       `protobuf:"bytes,5,opt,name=topicInfo,proto3" json:"topicInfo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Retrieve the parameters of and state of a consensus topic.

func (*ConsensusGetTopicInfoResponse) Descriptor

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

func (*ConsensusGetTopicInfoResponse) GetHeader

func (*ConsensusGetTopicInfoResponse) GetTopicDefinition deprecated

Deprecated: Do not use.

func (*ConsensusGetTopicInfoResponse) GetTopicID

func (m *ConsensusGetTopicInfoResponse) GetTopicID() *TopicID

func (*ConsensusGetTopicInfoResponse) GetTopicInfo

func (*ConsensusGetTopicInfoResponse) GetTopicState deprecated

Deprecated: Do not use.

func (*ConsensusGetTopicInfoResponse) ProtoMessage

func (*ConsensusGetTopicInfoResponse) ProtoMessage()

func (*ConsensusGetTopicInfoResponse) Reset

func (m *ConsensusGetTopicInfoResponse) Reset()

func (*ConsensusGetTopicInfoResponse) String

func (*ConsensusGetTopicInfoResponse) XXX_DiscardUnknown

func (m *ConsensusGetTopicInfoResponse) XXX_DiscardUnknown()

func (*ConsensusGetTopicInfoResponse) XXX_Marshal

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

func (*ConsensusGetTopicInfoResponse) XXX_Merge

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

func (*ConsensusGetTopicInfoResponse) XXX_Size

func (m *ConsensusGetTopicInfoResponse) XXX_Size() int

func (*ConsensusGetTopicInfoResponse) XXX_Unmarshal

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

type ConsensusServiceClient

type ConsensusServiceClient interface {
	// Create a topic to be used for consensus.
	// If an autoRenewAccount is specified, that account must also sign this transaction, and there must be an adminKey
	// specified.
	// Request is [ConsensusCreateTopicTransactionBody](#proto.ConsensusCreateTopicTransactionBody)
	CreateTopic(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Update a topic.
	// If there is no adminKey, the only authorized update (available to anyone) is to extend the expirationTime.
	// Otherwise transaction must be signed by the adminKey.
	// If a new autoRenewAccount is specified (not just being removed), that account must also sign the transaction.
	// Request is [ConsensusUpdateTopicTransactionBody](#proto.ConsensusUpdateTopicTransactionBody)
	UpdateTopic(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Delete a topic. No more transactions or queries on the topic (via HAPI) will succeed.
	// If an adminKey is set, this transaction must be signed by that key.
	// If there is no adminKey, this transaction will fail UNAUTHORIZED.
	// Request is [ConsensusDeleteTopicTransactionBody](#proto.ConsensusDeleteTopicTransactionBody)
	DeleteTopic(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Retrieve the latest state of a topic. This method is unrestricted and allowed on any topic by any payer account.
	// Deleted accounts will not be returned.
	// Request is [ConsensusGetTopicInfoQuery](#proto.ConsensusGetTopicInfoQuery)
	// Response is [ConsensusGetTopicInfoResponse](#proto.ConsensusGetTopicInfoResponse)
	GetTopicInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Submit a message for consensus.
	// Valid and authorized messages on valid topics will be ordered by the consensus service, gossipped to the
	// mirror net, and published (in order) to all subscribers (from the mirror net) on this topic.
	// The submitKey (if any) must sign this transaction.
	// Request is [ConsensusSubmitMessageTransactionBody](#proto.ConsensusSubmitMessageTransactionBody)
	SubmitMessage(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

ConsensusServiceClient is the client API for ConsensusService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewConsensusServiceClient

func NewConsensusServiceClient(cc *grpc.ClientConn) ConsensusServiceClient

type ConsensusServiceServer

type ConsensusServiceServer interface {
	// Create a topic to be used for consensus.
	// If an autoRenewAccount is specified, that account must also sign this transaction, and there must be an adminKey
	// specified.
	// Request is [ConsensusCreateTopicTransactionBody](#proto.ConsensusCreateTopicTransactionBody)
	CreateTopic(context.Context, *Transaction) (*TransactionResponse, error)
	// Update a topic.
	// If there is no adminKey, the only authorized update (available to anyone) is to extend the expirationTime.
	// Otherwise transaction must be signed by the adminKey.
	// If a new autoRenewAccount is specified (not just being removed), that account must also sign the transaction.
	// Request is [ConsensusUpdateTopicTransactionBody](#proto.ConsensusUpdateTopicTransactionBody)
	UpdateTopic(context.Context, *Transaction) (*TransactionResponse, error)
	// Delete a topic. No more transactions or queries on the topic (via HAPI) will succeed.
	// If an adminKey is set, this transaction must be signed by that key.
	// If there is no adminKey, this transaction will fail UNAUTHORIZED.
	// Request is [ConsensusDeleteTopicTransactionBody](#proto.ConsensusDeleteTopicTransactionBody)
	DeleteTopic(context.Context, *Transaction) (*TransactionResponse, error)
	// Retrieve the latest state of a topic. This method is unrestricted and allowed on any topic by any payer account.
	// Deleted accounts will not be returned.
	// Request is [ConsensusGetTopicInfoQuery](#proto.ConsensusGetTopicInfoQuery)
	// Response is [ConsensusGetTopicInfoResponse](#proto.ConsensusGetTopicInfoResponse)
	GetTopicInfo(context.Context, *Query) (*Response, error)
	// Submit a message for consensus.
	// Valid and authorized messages on valid topics will be ordered by the consensus service, gossipped to the
	// mirror net, and published (in order) to all subscribers (from the mirror net) on this topic.
	// The submitKey (if any) must sign this transaction.
	// Request is [ConsensusSubmitMessageTransactionBody](#proto.ConsensusSubmitMessageTransactionBody)
	SubmitMessage(context.Context, *Transaction) (*TransactionResponse, error)
}

ConsensusServiceServer is the server API for ConsensusService service.

type ConsensusSubmitMessageTransactionBody

type ConsensusSubmitMessageTransactionBody struct {
	TopicID              *TopicID `protobuf:"bytes,1,opt,name=topicID,proto3" json:"topicID,omitempty"`
	Message              []byte   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConsensusSubmitMessageTransactionBody) Descriptor

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

func (*ConsensusSubmitMessageTransactionBody) GetMessage

func (m *ConsensusSubmitMessageTransactionBody) GetMessage() []byte

func (*ConsensusSubmitMessageTransactionBody) GetTopicID

func (*ConsensusSubmitMessageTransactionBody) ProtoMessage

func (*ConsensusSubmitMessageTransactionBody) ProtoMessage()

func (*ConsensusSubmitMessageTransactionBody) Reset

func (*ConsensusSubmitMessageTransactionBody) String

func (*ConsensusSubmitMessageTransactionBody) XXX_DiscardUnknown

func (m *ConsensusSubmitMessageTransactionBody) XXX_DiscardUnknown()

func (*ConsensusSubmitMessageTransactionBody) XXX_Marshal

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

func (*ConsensusSubmitMessageTransactionBody) XXX_Merge

func (*ConsensusSubmitMessageTransactionBody) XXX_Size

func (*ConsensusSubmitMessageTransactionBody) XXX_Unmarshal

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

type ConsensusTopicDefinition

type ConsensusTopicDefinition struct {
	Memo                 string     `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	ValidStartTime       *Timestamp `protobuf:"bytes,2,opt,name=validStartTime,proto3" json:"validStartTime,omitempty"`
	ExpirationTime       *Timestamp `protobuf:"bytes,3,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	AdminKey             *Key       `protobuf:"bytes,4,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	SubmitKey            *Key       `protobuf:"bytes,5,opt,name=submitKey,proto3" json:"submitKey,omitempty"`
	LastUpdateTime       *Timestamp `protobuf:"bytes,6,opt,name=lastUpdateTime,proto3" json:"lastUpdateTime,omitempty"`
	CreationTime         *Timestamp `protobuf:"bytes,7,opt,name=creationTime,proto3" json:"creationTime,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Deprecated

func (*ConsensusTopicDefinition) Descriptor

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

func (*ConsensusTopicDefinition) GetAdminKey

func (m *ConsensusTopicDefinition) GetAdminKey() *Key

func (*ConsensusTopicDefinition) GetCreationTime

func (m *ConsensusTopicDefinition) GetCreationTime() *Timestamp

func (*ConsensusTopicDefinition) GetExpirationTime

func (m *ConsensusTopicDefinition) GetExpirationTime() *Timestamp

func (*ConsensusTopicDefinition) GetLastUpdateTime

func (m *ConsensusTopicDefinition) GetLastUpdateTime() *Timestamp

func (*ConsensusTopicDefinition) GetMemo

func (m *ConsensusTopicDefinition) GetMemo() string

func (*ConsensusTopicDefinition) GetSubmitKey

func (m *ConsensusTopicDefinition) GetSubmitKey() *Key

func (*ConsensusTopicDefinition) GetValidStartTime

func (m *ConsensusTopicDefinition) GetValidStartTime() *Timestamp

func (*ConsensusTopicDefinition) ProtoMessage

func (*ConsensusTopicDefinition) ProtoMessage()

func (*ConsensusTopicDefinition) Reset

func (m *ConsensusTopicDefinition) Reset()

func (*ConsensusTopicDefinition) String

func (m *ConsensusTopicDefinition) String() string

func (*ConsensusTopicDefinition) XXX_DiscardUnknown

func (m *ConsensusTopicDefinition) XXX_DiscardUnknown()

func (*ConsensusTopicDefinition) XXX_Marshal

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

func (*ConsensusTopicDefinition) XXX_Merge

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

func (*ConsensusTopicDefinition) XXX_Size

func (m *ConsensusTopicDefinition) XXX_Size() int

func (*ConsensusTopicDefinition) XXX_Unmarshal

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

type ConsensusTopicInfo

type ConsensusTopicInfo struct {
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// SHA-384 running hash <previousRunningHash, topicId, consensusTimestamp, message>
	RunningHash []byte `protobuf:"bytes,2,opt,name=runningHash,proto3" json:"runningHash,omitempty"`
	// Sequence number (starting at 1 for the first submitMessage) of messages on the topic.
	SequenceNumber uint64 `protobuf:"varint,3,opt,name=sequenceNumber,proto3" json:"sequenceNumber,omitempty"`
	// Effective consensus timestamp at (and after) which submitMessage calls will no longer succeed on the topic
	// and the topic will expire and be marked as deleted.
	ExpirationTime       *Timestamp `protobuf:"bytes,4,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	AdminKey             *Key       `protobuf:"bytes,5,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	SubmitKey            *Key       `protobuf:"bytes,6,opt,name=submitKey,proto3" json:"submitKey,omitempty"`
	AutoRenewPeriod      *Duration  `protobuf:"bytes,7,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	AutoRenewAccount     *AccountID `protobuf:"bytes,8,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Current state of a topic.

func (*ConsensusTopicInfo) Descriptor

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

func (*ConsensusTopicInfo) GetAdminKey

func (m *ConsensusTopicInfo) GetAdminKey() *Key

func (*ConsensusTopicInfo) GetAutoRenewAccount

func (m *ConsensusTopicInfo) GetAutoRenewAccount() *AccountID

func (*ConsensusTopicInfo) GetAutoRenewPeriod

func (m *ConsensusTopicInfo) GetAutoRenewPeriod() *Duration

func (*ConsensusTopicInfo) GetExpirationTime

func (m *ConsensusTopicInfo) GetExpirationTime() *Timestamp

func (*ConsensusTopicInfo) GetMemo

func (m *ConsensusTopicInfo) GetMemo() string

func (*ConsensusTopicInfo) GetRunningHash

func (m *ConsensusTopicInfo) GetRunningHash() []byte

func (*ConsensusTopicInfo) GetSequenceNumber

func (m *ConsensusTopicInfo) GetSequenceNumber() uint64

func (*ConsensusTopicInfo) GetSubmitKey

func (m *ConsensusTopicInfo) GetSubmitKey() *Key

func (*ConsensusTopicInfo) ProtoMessage

func (*ConsensusTopicInfo) ProtoMessage()

func (*ConsensusTopicInfo) Reset

func (m *ConsensusTopicInfo) Reset()

func (*ConsensusTopicInfo) String

func (m *ConsensusTopicInfo) String() string

func (*ConsensusTopicInfo) XXX_DiscardUnknown

func (m *ConsensusTopicInfo) XXX_DiscardUnknown()

func (*ConsensusTopicInfo) XXX_Marshal

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

func (*ConsensusTopicInfo) XXX_Merge

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

func (*ConsensusTopicInfo) XXX_Size

func (m *ConsensusTopicInfo) XXX_Size() int

func (*ConsensusTopicInfo) XXX_Unmarshal

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

type ConsensusTopicState

type ConsensusTopicState struct {
	SequenceNumber       uint64     `protobuf:"varint,1,opt,name=sequenceNumber,proto3" json:"sequenceNumber,omitempty"`
	RunningHash          []byte     `protobuf:"bytes,2,opt,name=runningHash,proto3" json:"runningHash,omitempty"`
	LastSubmitTime       *Timestamp `protobuf:"bytes,3,opt,name=lastSubmitTime,proto3" json:"lastSubmitTime,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Deprecated

func (*ConsensusTopicState) Descriptor

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

func (*ConsensusTopicState) GetLastSubmitTime

func (m *ConsensusTopicState) GetLastSubmitTime() *Timestamp

func (*ConsensusTopicState) GetRunningHash

func (m *ConsensusTopicState) GetRunningHash() []byte

func (*ConsensusTopicState) GetSequenceNumber

func (m *ConsensusTopicState) GetSequenceNumber() uint64

func (*ConsensusTopicState) ProtoMessage

func (*ConsensusTopicState) ProtoMessage()

func (*ConsensusTopicState) Reset

func (m *ConsensusTopicState) Reset()

func (*ConsensusTopicState) String

func (m *ConsensusTopicState) String() string

func (*ConsensusTopicState) XXX_DiscardUnknown

func (m *ConsensusTopicState) XXX_DiscardUnknown()

func (*ConsensusTopicState) XXX_Marshal

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

func (*ConsensusTopicState) XXX_Merge

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

func (*ConsensusTopicState) XXX_Size

func (m *ConsensusTopicState) XXX_Size() int

func (*ConsensusTopicState) XXX_Unmarshal

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

type ConsensusUpdateTopicTransactionBody

type ConsensusUpdateTopicTransactionBody struct {
	TopicID *TopicID `protobuf:"bytes,1,opt,name=topicID,proto3" json:"topicID,omitempty"`
	// Short publicly visible memo about the topic. No guarantee of uniqueness. Null for "do not update".
	Memo           *wrappers.StringValue `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
	ValidStartTime *Timestamp            `protobuf:"bytes,3,opt,name=validStartTime,proto3" json:"validStartTime,omitempty"` // Deprecated: Do not use.
	// Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
	// The expirationTime may be no longer than 90 days from the consensus timestamp of this transaction.
	// If unspecified, no change.
	ExpirationTime *Timestamp `protobuf:"bytes,4,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// Access control for update/delete of the topic.
	// If unspecified, no change.
	// If empty keyList - the adminKey is cleared.
	AdminKey *Key `protobuf:"bytes,6,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	// Access control for ConsensusService.submitMessage.
	// If unspecified, no change.
	// If empty keyList - the submitKey is cleared.
	SubmitKey *Key `protobuf:"bytes,7,opt,name=submitKey,proto3" json:"submitKey,omitempty"`
	// The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
	// configured and has funds.
	// Limited to a maximum of 90 days (server-side configuration which may change).
	// If unspecified, no change.
	AutoRenewPeriod *Duration `protobuf:"bytes,8,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// Optional account to be used at the topic's expirationTime to extend the life of the topic.
	// The topic lifetime will be extended up to a maximum of the autoRenewPeriod or however long the topic
	// can be extended using all funds on the account (whichever is the smaller duration/amount).
	// If specified as the default value (0.0.0), the autoRenewAccount will be removed.
	AutoRenewAccount     *AccountID `protobuf:"bytes,9,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

All fields left null will not be updated. See [ConsensusService.updateTopic()](#proto.ConsensusService)

func (*ConsensusUpdateTopicTransactionBody) Descriptor

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

func (*ConsensusUpdateTopicTransactionBody) GetAdminKey

func (m *ConsensusUpdateTopicTransactionBody) GetAdminKey() *Key

func (*ConsensusUpdateTopicTransactionBody) GetAutoRenewAccount

func (m *ConsensusUpdateTopicTransactionBody) GetAutoRenewAccount() *AccountID

func (*ConsensusUpdateTopicTransactionBody) GetAutoRenewPeriod

func (m *ConsensusUpdateTopicTransactionBody) GetAutoRenewPeriod() *Duration

func (*ConsensusUpdateTopicTransactionBody) GetExpirationTime

func (m *ConsensusUpdateTopicTransactionBody) GetExpirationTime() *Timestamp

func (*ConsensusUpdateTopicTransactionBody) GetMemo

func (*ConsensusUpdateTopicTransactionBody) GetSubmitKey

func (m *ConsensusUpdateTopicTransactionBody) GetSubmitKey() *Key

func (*ConsensusUpdateTopicTransactionBody) GetTopicID

func (*ConsensusUpdateTopicTransactionBody) GetValidStartTime deprecated

func (m *ConsensusUpdateTopicTransactionBody) GetValidStartTime() *Timestamp

Deprecated: Do not use.

func (*ConsensusUpdateTopicTransactionBody) ProtoMessage

func (*ConsensusUpdateTopicTransactionBody) ProtoMessage()

func (*ConsensusUpdateTopicTransactionBody) Reset

func (*ConsensusUpdateTopicTransactionBody) String

func (*ConsensusUpdateTopicTransactionBody) XXX_DiscardUnknown

func (m *ConsensusUpdateTopicTransactionBody) XXX_DiscardUnknown()

func (*ConsensusUpdateTopicTransactionBody) XXX_Marshal

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

func (*ConsensusUpdateTopicTransactionBody) XXX_Merge

func (*ConsensusUpdateTopicTransactionBody) XXX_Size

func (*ConsensusUpdateTopicTransactionBody) XXX_Unmarshal

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

type ContractCallLocalQuery

type ContractCallLocalQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ContractID           *ContractID  `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	Gas                  int64        `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"`
	FunctionParameters   []byte       `protobuf:"bytes,4,opt,name=functionParameters,proto3" json:"functionParameters,omitempty"`
	MaxResultSize        int64        `protobuf:"varint,5,opt,name=maxResultSize,proto3" json:"maxResultSize,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Call a function of the given smart contract instance, giving it functionParameters as its inputs. It will consume the entire given amount of gas.

This is performed locally on the particular node that the client is communicating with. It cannot change the state of the contract instance (and so, cannot spend anything from the instance's cryptocurrency account). It will not have a consensus timestamp. It cannot generate a record or a receipt. The response will contain the output returned by the function call. This is useful for calling getter functions, which purely read the state and don't change it. It is faster and cheaper than a normal call, because it is purely local to a single node.

func (*ContractCallLocalQuery) Descriptor

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

func (*ContractCallLocalQuery) GetContractID

func (m *ContractCallLocalQuery) GetContractID() *ContractID

func (*ContractCallLocalQuery) GetFunctionParameters

func (m *ContractCallLocalQuery) GetFunctionParameters() []byte

func (*ContractCallLocalQuery) GetGas

func (m *ContractCallLocalQuery) GetGas() int64

func (*ContractCallLocalQuery) GetHeader

func (m *ContractCallLocalQuery) GetHeader() *QueryHeader

func (*ContractCallLocalQuery) GetMaxResultSize

func (m *ContractCallLocalQuery) GetMaxResultSize() int64

func (*ContractCallLocalQuery) ProtoMessage

func (*ContractCallLocalQuery) ProtoMessage()

func (*ContractCallLocalQuery) Reset

func (m *ContractCallLocalQuery) Reset()

func (*ContractCallLocalQuery) String

func (m *ContractCallLocalQuery) String() string

func (*ContractCallLocalQuery) XXX_DiscardUnknown

func (m *ContractCallLocalQuery) XXX_DiscardUnknown()

func (*ContractCallLocalQuery) XXX_Marshal

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

func (*ContractCallLocalQuery) XXX_Merge

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

func (*ContractCallLocalQuery) XXX_Size

func (m *ContractCallLocalQuery) XXX_Size() int

func (*ContractCallLocalQuery) XXX_Unmarshal

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

type ContractCallLocalResponse

type ContractCallLocalResponse struct {
	Header               *ResponseHeader         `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	FunctionResult       *ContractFunctionResult `protobuf:"bytes,2,opt,name=functionResult,proto3" json:"functionResult,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Response when the client sends the node ContractCallLocalQuery

func (*ContractCallLocalResponse) Descriptor

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

func (*ContractCallLocalResponse) GetFunctionResult

func (m *ContractCallLocalResponse) GetFunctionResult() *ContractFunctionResult

func (*ContractCallLocalResponse) GetHeader

func (m *ContractCallLocalResponse) GetHeader() *ResponseHeader

func (*ContractCallLocalResponse) ProtoMessage

func (*ContractCallLocalResponse) ProtoMessage()

func (*ContractCallLocalResponse) Reset

func (m *ContractCallLocalResponse) Reset()

func (*ContractCallLocalResponse) String

func (m *ContractCallLocalResponse) String() string

func (*ContractCallLocalResponse) XXX_DiscardUnknown

func (m *ContractCallLocalResponse) XXX_DiscardUnknown()

func (*ContractCallLocalResponse) XXX_Marshal

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

func (*ContractCallLocalResponse) XXX_Merge

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

func (*ContractCallLocalResponse) XXX_Size

func (m *ContractCallLocalResponse) XXX_Size() int

func (*ContractCallLocalResponse) XXX_Unmarshal

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

type ContractCallTransactionBody

type ContractCallTransactionBody struct {
	ContractID           *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	Gas                  int64       `protobuf:"varint,2,opt,name=gas,proto3" json:"gas,omitempty"`
	Amount               int64       `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	FunctionParameters   []byte      `protobuf:"bytes,4,opt,name=functionParameters,proto3" json:"functionParameters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Call a function of the given smart contract instance, giving it functionParameters as its inputs. it can use the given amount of gas, and any unspent gas will be refunded to the paying account.

If this function stores information, it is charged gas to store it. There is a fee in hbars to maintain that storage until the expiration time, and that fee is added as part of the transaction fee.

func (*ContractCallTransactionBody) Descriptor

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

func (*ContractCallTransactionBody) GetAmount

func (m *ContractCallTransactionBody) GetAmount() int64

func (*ContractCallTransactionBody) GetContractID

func (m *ContractCallTransactionBody) GetContractID() *ContractID

func (*ContractCallTransactionBody) GetFunctionParameters

func (m *ContractCallTransactionBody) GetFunctionParameters() []byte

func (*ContractCallTransactionBody) GetGas

func (m *ContractCallTransactionBody) GetGas() int64

func (*ContractCallTransactionBody) ProtoMessage

func (*ContractCallTransactionBody) ProtoMessage()

func (*ContractCallTransactionBody) Reset

func (m *ContractCallTransactionBody) Reset()

func (*ContractCallTransactionBody) String

func (m *ContractCallTransactionBody) String() string

func (*ContractCallTransactionBody) XXX_DiscardUnknown

func (m *ContractCallTransactionBody) XXX_DiscardUnknown()

func (*ContractCallTransactionBody) XXX_Marshal

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

func (*ContractCallTransactionBody) XXX_Merge

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

func (*ContractCallTransactionBody) XXX_Size

func (m *ContractCallTransactionBody) XXX_Size() int

func (*ContractCallTransactionBody) XXX_Unmarshal

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

type ContractCreateTransactionBody

type ContractCreateTransactionBody struct {
	FileID                *FileID    `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	AdminKey              *Key       `protobuf:"bytes,3,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	Gas                   int64      `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"`
	InitialBalance        int64      `protobuf:"varint,5,opt,name=initialBalance,proto3" json:"initialBalance,omitempty"`
	ProxyAccountID        *AccountID `protobuf:"bytes,6,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	AutoRenewPeriod       *Duration  `protobuf:"bytes,8,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	ConstructorParameters []byte     `protobuf:"bytes,9,opt,name=constructorParameters,proto3" json:"constructorParameters,omitempty"`
	ShardID               *ShardID   `protobuf:"bytes,10,opt,name=shardID,proto3" json:"shardID,omitempty"`
	RealmID               *RealmID   `protobuf:"bytes,11,opt,name=realmID,proto3" json:"realmID,omitempty"`
	NewRealmAdminKey      *Key       `protobuf:"bytes,12,opt,name=newRealmAdminKey,proto3" json:"newRealmAdminKey,omitempty"`
	Memo                  string     `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}   `json:"-"`
	XXX_unrecognized      []byte     `json:"-"`
	XXX_sizecache         int32      `json:"-"`
}

Start a new smart contract instance. After the instance is created, the ContractID for it is in the receipt, or can be retrieved with a GetByKey query, or by asking for a Record of the transaction to be created, and retrieving that. The instance will run the bytecode stored in the given file, referenced either by FileID or by the transaction ID of the transaction that created the file. The constructor will be executed using the given amount of gas, and any unspent gas will be refunded to the paying account. Constructor inputs come from the given constructorParameters.

The instance will exist for autoRenewPeriod seconds. When that is reached, it will renew itself for another autoRenewPeriod seconds by charging its associated cryptocurrency account (which it creates here). If it has insufficient cryptocurrency to extend that long, it will extend as long as it can. If its balance is zero, the instance will be deleted.

A smart contract instance normally enforces rules, so "the code is law". For example, an ERC-20 contract prevents a transfer from being undone without a signature by the recipient of the transfer. This is always enforced if the contract instance was created with the adminKeys being null. But for some uses, it might be desirable to create something like an ERC-20 contract that has a specific group of trusted individuals who can act as a "supreme court" with the ability to override the normal operation, when a sufficient number of them agree to do so. If adminKeys is not null, then they can sign a transaction that can change the state of the smart contract in arbitrary ways, such as to reverse a transaction that violates some standard of behavior that is not covered by the code itself. The admin keys can also be used to change the autoRenewPeriod, and change the adminKeys field itself. The API currently does not implement this ability. But it does allow the adminKeys field to be set and queried, and will in the future implement such admin abilities for any instance that has a non-null adminKeys.

If this constructor stores information, it is charged gas to store it. There is a fee in hbars to maintain that storage until the expiration time, and that fee is added as part of the transaction fee.

An entity (account, file, or smart contract instance) must be created in a particular realm. If the realmID is left null, then a new realm will be created with the given admin key. If a new realm has a null adminKey, then anyone can create/modify/delete entities in that realm. But if an admin key is given, then any transaction to create/modify/delete an entity in that realm must be signed by that key, though anyone can still call functions on smart contract instances that exist in that realm. A realm ceases to exist when everything within it has expired and no longer exists.

The current API ignores shardID, realmID, and newRealmAdminKey, and creates everything in shard 0 and realm 0, with a null key. Future versions of the API will support multiple realms and multiple shards.

The optional memo field can contain a string whose length is up to 100 bytes. That is the size after Unicode NFD then UTF-8 conversion. This field can be used to describe the smart contract. It could also be used for other purposes. One recommended purpose is to hold a hexadecimal string that is the SHA-384 hash of a PDF file containing a human-readable legal contract. Then, if the admin keys are the public keys of human arbitrators, they can use that legal document to guide their decisions during a binding arbitration tribunal, convened to consider any changes to the smart contract in the future. The memo field can only be changed using the admin keys. If there are no admin keys, then it cannot be changed after the smart contract is created.

func (*ContractCreateTransactionBody) Descriptor

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

func (*ContractCreateTransactionBody) GetAdminKey

func (m *ContractCreateTransactionBody) GetAdminKey() *Key

func (*ContractCreateTransactionBody) GetAutoRenewPeriod

func (m *ContractCreateTransactionBody) GetAutoRenewPeriod() *Duration

func (*ContractCreateTransactionBody) GetConstructorParameters

func (m *ContractCreateTransactionBody) GetConstructorParameters() []byte

func (*ContractCreateTransactionBody) GetFileID

func (m *ContractCreateTransactionBody) GetFileID() *FileID

func (*ContractCreateTransactionBody) GetGas

func (*ContractCreateTransactionBody) GetInitialBalance

func (m *ContractCreateTransactionBody) GetInitialBalance() int64

func (*ContractCreateTransactionBody) GetMemo

func (*ContractCreateTransactionBody) GetNewRealmAdminKey

func (m *ContractCreateTransactionBody) GetNewRealmAdminKey() *Key

func (*ContractCreateTransactionBody) GetProxyAccountID

func (m *ContractCreateTransactionBody) GetProxyAccountID() *AccountID

func (*ContractCreateTransactionBody) GetRealmID

func (m *ContractCreateTransactionBody) GetRealmID() *RealmID

func (*ContractCreateTransactionBody) GetShardID

func (m *ContractCreateTransactionBody) GetShardID() *ShardID

func (*ContractCreateTransactionBody) ProtoMessage

func (*ContractCreateTransactionBody) ProtoMessage()

func (*ContractCreateTransactionBody) Reset

func (m *ContractCreateTransactionBody) Reset()

func (*ContractCreateTransactionBody) String

func (*ContractCreateTransactionBody) XXX_DiscardUnknown

func (m *ContractCreateTransactionBody) XXX_DiscardUnknown()

func (*ContractCreateTransactionBody) XXX_Marshal

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

func (*ContractCreateTransactionBody) XXX_Merge

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

func (*ContractCreateTransactionBody) XXX_Size

func (m *ContractCreateTransactionBody) XXX_Size() int

func (*ContractCreateTransactionBody) XXX_Unmarshal

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

type ContractDeleteTransactionBody

type ContractDeleteTransactionBody struct {
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// Types that are valid to be assigned to Obtainers:
	//	*ContractDeleteTransactionBody_TransferAccountID
	//	*ContractDeleteTransactionBody_TransferContractID
	Obtainers            isContractDeleteTransactionBody_Obtainers `protobuf_oneof:"obtainers"`
	XXX_NoUnkeyedLiteral struct{}                                  `json:"-"`
	XXX_unrecognized     []byte                                    `json:"-"`
	XXX_sizecache        int32                                     `json:"-"`
}

Modify a smart contract instance to have the given parameter values. Any null field is ignored (left unchanged). If only the contractInstanceExpirationTime is being modified, then no signature is needed on this transaction other than for the account paying for the transaction itself. But if any of the other fields are being modified, then it must be signed by the adminKey. The use of adminKey is not currently supported in this API, but in the future will be implemented to allow these fields to be modified, and also to make modifications to the state of the instance. If the contract is created with no admin key, then none of the fields can be changed that need an admin signature, and therefore no admin key can ever be added. So if there is no admin key, then things like the bytecode are immutable. But if there is an admin key, then they can be changed. For example, the admin key might be a threshold key, which requires 3 of 5 binding arbitration judges to agree before the bytecode can be changed. This can be used to add flexibility to the mangement of smart contract behavior. But this is optional. If the smart contract is created without an admin key, then such a key can never be added, and its bytecode will be immutable.

func (*ContractDeleteTransactionBody) Descriptor

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

func (*ContractDeleteTransactionBody) GetContractID

func (m *ContractDeleteTransactionBody) GetContractID() *ContractID

func (*ContractDeleteTransactionBody) GetObtainers

func (m *ContractDeleteTransactionBody) GetObtainers() isContractDeleteTransactionBody_Obtainers

func (*ContractDeleteTransactionBody) GetTransferAccountID

func (m *ContractDeleteTransactionBody) GetTransferAccountID() *AccountID

func (*ContractDeleteTransactionBody) GetTransferContractID

func (m *ContractDeleteTransactionBody) GetTransferContractID() *ContractID

func (*ContractDeleteTransactionBody) ProtoMessage

func (*ContractDeleteTransactionBody) ProtoMessage()

func (*ContractDeleteTransactionBody) Reset

func (m *ContractDeleteTransactionBody) Reset()

func (*ContractDeleteTransactionBody) String

func (*ContractDeleteTransactionBody) XXX_DiscardUnknown

func (m *ContractDeleteTransactionBody) XXX_DiscardUnknown()

func (*ContractDeleteTransactionBody) XXX_Marshal

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

func (*ContractDeleteTransactionBody) XXX_Merge

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

func (*ContractDeleteTransactionBody) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ContractDeleteTransactionBody) XXX_Size

func (m *ContractDeleteTransactionBody) XXX_Size() int

func (*ContractDeleteTransactionBody) XXX_Unmarshal

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

type ContractDeleteTransactionBody_TransferAccountID

type ContractDeleteTransactionBody_TransferAccountID struct {
	TransferAccountID *AccountID `protobuf:"bytes,2,opt,name=transferAccountID,proto3,oneof"`
}

type ContractDeleteTransactionBody_TransferContractID

type ContractDeleteTransactionBody_TransferContractID struct {
	TransferContractID *ContractID `protobuf:"bytes,3,opt,name=transferContractID,proto3,oneof"`
}

type ContractFunctionResult

type ContractFunctionResult struct {
	ContractID           *ContractID        `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	ContractCallResult   []byte             `protobuf:"bytes,2,opt,name=contractCallResult,proto3" json:"contractCallResult,omitempty"`
	ErrorMessage         string             `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	Bloom                []byte             `protobuf:"bytes,4,opt,name=bloom,proto3" json:"bloom,omitempty"`
	GasUsed              uint64             `protobuf:"varint,5,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
	LogInfo              []*ContractLoginfo `protobuf:"bytes,6,rep,name=logInfo,proto3" json:"logInfo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

The result returned by a call to a smart contract function. This is part of the response to a ContractCallLocal query, and is in the record for a ContractCall or ContractCreateInstance transaction. The ContractCreateInstance transaction record has the results of the call to the constructor.

func (*ContractFunctionResult) Descriptor

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

func (*ContractFunctionResult) GetBloom

func (m *ContractFunctionResult) GetBloom() []byte

func (*ContractFunctionResult) GetContractCallResult

func (m *ContractFunctionResult) GetContractCallResult() []byte

func (*ContractFunctionResult) GetContractID

func (m *ContractFunctionResult) GetContractID() *ContractID

func (*ContractFunctionResult) GetErrorMessage

func (m *ContractFunctionResult) GetErrorMessage() string

func (*ContractFunctionResult) GetGasUsed

func (m *ContractFunctionResult) GetGasUsed() uint64

func (*ContractFunctionResult) GetLogInfo

func (m *ContractFunctionResult) GetLogInfo() []*ContractLoginfo

func (*ContractFunctionResult) ProtoMessage

func (*ContractFunctionResult) ProtoMessage()

func (*ContractFunctionResult) Reset

func (m *ContractFunctionResult) Reset()

func (*ContractFunctionResult) String

func (m *ContractFunctionResult) String() string

func (*ContractFunctionResult) XXX_DiscardUnknown

func (m *ContractFunctionResult) XXX_DiscardUnknown()

func (*ContractFunctionResult) XXX_Marshal

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

func (*ContractFunctionResult) XXX_Merge

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

func (*ContractFunctionResult) XXX_Size

func (m *ContractFunctionResult) XXX_Size() int

func (*ContractFunctionResult) XXX_Unmarshal

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

type ContractGetBytecodeQuery

type ContractGetBytecodeQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ContractID           *ContractID  `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get the bytecode for a smart contract instance

func (*ContractGetBytecodeQuery) Descriptor

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

func (*ContractGetBytecodeQuery) GetContractID

func (m *ContractGetBytecodeQuery) GetContractID() *ContractID

func (*ContractGetBytecodeQuery) GetHeader

func (m *ContractGetBytecodeQuery) GetHeader() *QueryHeader

func (*ContractGetBytecodeQuery) ProtoMessage

func (*ContractGetBytecodeQuery) ProtoMessage()

func (*ContractGetBytecodeQuery) Reset

func (m *ContractGetBytecodeQuery) Reset()

func (*ContractGetBytecodeQuery) String

func (m *ContractGetBytecodeQuery) String() string

func (*ContractGetBytecodeQuery) XXX_DiscardUnknown

func (m *ContractGetBytecodeQuery) XXX_DiscardUnknown()

func (*ContractGetBytecodeQuery) XXX_Marshal

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

func (*ContractGetBytecodeQuery) XXX_Merge

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

func (*ContractGetBytecodeQuery) XXX_Size

func (m *ContractGetBytecodeQuery) XXX_Size() int

func (*ContractGetBytecodeQuery) XXX_Unmarshal

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

type ContractGetBytecodeResponse

type ContractGetBytecodeResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Bytecode             []byte          `protobuf:"bytes,6,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Response when the client sends the node ContractGetBytecodeQuery

func (*ContractGetBytecodeResponse) Descriptor

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

func (*ContractGetBytecodeResponse) GetBytecode

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

func (*ContractGetBytecodeResponse) GetHeader

func (*ContractGetBytecodeResponse) ProtoMessage

func (*ContractGetBytecodeResponse) ProtoMessage()

func (*ContractGetBytecodeResponse) Reset

func (m *ContractGetBytecodeResponse) Reset()

func (*ContractGetBytecodeResponse) String

func (m *ContractGetBytecodeResponse) String() string

func (*ContractGetBytecodeResponse) XXX_DiscardUnknown

func (m *ContractGetBytecodeResponse) XXX_DiscardUnknown()

func (*ContractGetBytecodeResponse) XXX_Marshal

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

func (*ContractGetBytecodeResponse) XXX_Merge

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

func (*ContractGetBytecodeResponse) XXX_Size

func (m *ContractGetBytecodeResponse) XXX_Size() int

func (*ContractGetBytecodeResponse) XXX_Unmarshal

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

type ContractGetInfoQuery

type ContractGetInfoQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ContractID           *ContractID  `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get information about a smart contract instance. This includes the account that it uses, the file containing its bytecode, and the time when it will expire.

func (*ContractGetInfoQuery) Descriptor

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

func (*ContractGetInfoQuery) GetContractID

func (m *ContractGetInfoQuery) GetContractID() *ContractID

func (*ContractGetInfoQuery) GetHeader

func (m *ContractGetInfoQuery) GetHeader() *QueryHeader

func (*ContractGetInfoQuery) ProtoMessage

func (*ContractGetInfoQuery) ProtoMessage()

func (*ContractGetInfoQuery) Reset

func (m *ContractGetInfoQuery) Reset()

func (*ContractGetInfoQuery) String

func (m *ContractGetInfoQuery) String() string

func (*ContractGetInfoQuery) XXX_DiscardUnknown

func (m *ContractGetInfoQuery) XXX_DiscardUnknown()

func (*ContractGetInfoQuery) XXX_Marshal

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

func (*ContractGetInfoQuery) XXX_Merge

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

func (*ContractGetInfoQuery) XXX_Size

func (m *ContractGetInfoQuery) XXX_Size() int

func (*ContractGetInfoQuery) XXX_Unmarshal

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

type ContractGetInfoResponse

type ContractGetInfoResponse struct {
	Header               *ResponseHeader                       `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ContractInfo         *ContractGetInfoResponse_ContractInfo `protobuf:"bytes,2,opt,name=contractInfo,proto3" json:"contractInfo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

Response when the client sends the node ContractGetInfoQuery

func (*ContractGetInfoResponse) Descriptor

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

func (*ContractGetInfoResponse) GetContractInfo

func (*ContractGetInfoResponse) GetHeader

func (m *ContractGetInfoResponse) GetHeader() *ResponseHeader

func (*ContractGetInfoResponse) ProtoMessage

func (*ContractGetInfoResponse) ProtoMessage()

func (*ContractGetInfoResponse) Reset

func (m *ContractGetInfoResponse) Reset()

func (*ContractGetInfoResponse) String

func (m *ContractGetInfoResponse) String() string

func (*ContractGetInfoResponse) XXX_DiscardUnknown

func (m *ContractGetInfoResponse) XXX_DiscardUnknown()

func (*ContractGetInfoResponse) XXX_Marshal

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

func (*ContractGetInfoResponse) XXX_Merge

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

func (*ContractGetInfoResponse) XXX_Size

func (m *ContractGetInfoResponse) XXX_Size() int

func (*ContractGetInfoResponse) XXX_Unmarshal

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

type ContractGetInfoResponse_ContractInfo

type ContractGetInfoResponse_ContractInfo struct {
	ContractID           *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	AccountID            *AccountID  `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	ContractAccountID    string      `protobuf:"bytes,3,opt,name=contractAccountID,proto3" json:"contractAccountID,omitempty"`
	AdminKey             *Key        `protobuf:"bytes,4,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	ExpirationTime       *Timestamp  `protobuf:"bytes,5,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	AutoRenewPeriod      *Duration   `protobuf:"bytes,6,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	Storage              int64       `protobuf:"varint,7,opt,name=storage,proto3" json:"storage,omitempty"`
	Memo                 string      `protobuf:"bytes,8,opt,name=memo,proto3" json:"memo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ContractGetInfoResponse_ContractInfo) Descriptor

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

func (*ContractGetInfoResponse_ContractInfo) GetAccountID

func (*ContractGetInfoResponse_ContractInfo) GetAdminKey

func (m *ContractGetInfoResponse_ContractInfo) GetAdminKey() *Key

func (*ContractGetInfoResponse_ContractInfo) GetAutoRenewPeriod

func (m *ContractGetInfoResponse_ContractInfo) GetAutoRenewPeriod() *Duration

func (*ContractGetInfoResponse_ContractInfo) GetContractAccountID

func (m *ContractGetInfoResponse_ContractInfo) GetContractAccountID() string

func (*ContractGetInfoResponse_ContractInfo) GetContractID

func (*ContractGetInfoResponse_ContractInfo) GetExpirationTime

func (m *ContractGetInfoResponse_ContractInfo) GetExpirationTime() *Timestamp

func (*ContractGetInfoResponse_ContractInfo) GetMemo

func (*ContractGetInfoResponse_ContractInfo) GetStorage

func (*ContractGetInfoResponse_ContractInfo) ProtoMessage

func (*ContractGetInfoResponse_ContractInfo) ProtoMessage()

func (*ContractGetInfoResponse_ContractInfo) Reset

func (*ContractGetInfoResponse_ContractInfo) String

func (*ContractGetInfoResponse_ContractInfo) XXX_DiscardUnknown

func (m *ContractGetInfoResponse_ContractInfo) XXX_DiscardUnknown()

func (*ContractGetInfoResponse_ContractInfo) XXX_Marshal

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

func (*ContractGetInfoResponse_ContractInfo) XXX_Merge

func (*ContractGetInfoResponse_ContractInfo) XXX_Size

func (*ContractGetInfoResponse_ContractInfo) XXX_Unmarshal

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

type ContractGetRecordsQuery

type ContractGetRecordsQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ContractID           *ContractID  `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get all the records for a smart contract instance, for any function call (or the constructor call) during the last 25 hours, for which a Record was requested.

func (*ContractGetRecordsQuery) Descriptor

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

func (*ContractGetRecordsQuery) GetContractID

func (m *ContractGetRecordsQuery) GetContractID() *ContractID

func (*ContractGetRecordsQuery) GetHeader

func (m *ContractGetRecordsQuery) GetHeader() *QueryHeader

func (*ContractGetRecordsQuery) ProtoMessage

func (*ContractGetRecordsQuery) ProtoMessage()

func (*ContractGetRecordsQuery) Reset

func (m *ContractGetRecordsQuery) Reset()

func (*ContractGetRecordsQuery) String

func (m *ContractGetRecordsQuery) String() string

func (*ContractGetRecordsQuery) XXX_DiscardUnknown

func (m *ContractGetRecordsQuery) XXX_DiscardUnknown()

func (*ContractGetRecordsQuery) XXX_Marshal

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

func (*ContractGetRecordsQuery) XXX_Merge

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

func (*ContractGetRecordsQuery) XXX_Size

func (m *ContractGetRecordsQuery) XXX_Size() int

func (*ContractGetRecordsQuery) XXX_Unmarshal

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

type ContractGetRecordsResponse

type ContractGetRecordsResponse struct {
	Header               *ResponseHeader      `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ContractID           *ContractID          `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	Records              []*TransactionRecord `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Response when the client sends the node ContractGetRecordsQuery

func (*ContractGetRecordsResponse) Descriptor

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

func (*ContractGetRecordsResponse) GetContractID

func (m *ContractGetRecordsResponse) GetContractID() *ContractID

func (*ContractGetRecordsResponse) GetHeader

func (*ContractGetRecordsResponse) GetRecords

func (m *ContractGetRecordsResponse) GetRecords() []*TransactionRecord

func (*ContractGetRecordsResponse) ProtoMessage

func (*ContractGetRecordsResponse) ProtoMessage()

func (*ContractGetRecordsResponse) Reset

func (m *ContractGetRecordsResponse) Reset()

func (*ContractGetRecordsResponse) String

func (m *ContractGetRecordsResponse) String() string

func (*ContractGetRecordsResponse) XXX_DiscardUnknown

func (m *ContractGetRecordsResponse) XXX_DiscardUnknown()

func (*ContractGetRecordsResponse) XXX_Marshal

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

func (*ContractGetRecordsResponse) XXX_Merge

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

func (*ContractGetRecordsResponse) XXX_Size

func (m *ContractGetRecordsResponse) XXX_Size() int

func (*ContractGetRecordsResponse) XXX_Unmarshal

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

type ContractID

type ContractID struct {
	ShardNum             int64    `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	RealmNum             int64    `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`
	ContractNum          int64    `protobuf:"varint,3,opt,name=contractNum,proto3" json:"contractNum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The ID for a smart contract instance

func (*ContractID) Descriptor

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

func (*ContractID) GetContractNum

func (m *ContractID) GetContractNum() int64

func (*ContractID) GetRealmNum

func (m *ContractID) GetRealmNum() int64

func (*ContractID) GetShardNum

func (m *ContractID) GetShardNum() int64

func (*ContractID) ProtoMessage

func (*ContractID) ProtoMessage()

func (*ContractID) Reset

func (m *ContractID) Reset()

func (*ContractID) String

func (m *ContractID) String() string

func (*ContractID) XXX_DiscardUnknown

func (m *ContractID) XXX_DiscardUnknown()

func (*ContractID) XXX_Marshal

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

func (*ContractID) XXX_Merge

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

func (*ContractID) XXX_Size

func (m *ContractID) XXX_Size() int

func (*ContractID) XXX_Unmarshal

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

type ContractLoginfo

type ContractLoginfo struct {
	ContractID           *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	Bloom                []byte      `protobuf:"bytes,2,opt,name=bloom,proto3" json:"bloom,omitempty"`
	Topic                [][]byte    `protobuf:"bytes,3,rep,name=topic,proto3" json:"topic,omitempty"`
	Data                 []byte      `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

The log information for an event returned by a smart contract function call. One function call may return several such events.

func (*ContractLoginfo) Descriptor

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

func (*ContractLoginfo) GetBloom

func (m *ContractLoginfo) GetBloom() []byte

func (*ContractLoginfo) GetContractID

func (m *ContractLoginfo) GetContractID() *ContractID

func (*ContractLoginfo) GetData

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

func (*ContractLoginfo) GetTopic

func (m *ContractLoginfo) GetTopic() [][]byte

func (*ContractLoginfo) ProtoMessage

func (*ContractLoginfo) ProtoMessage()

func (*ContractLoginfo) Reset

func (m *ContractLoginfo) Reset()

func (*ContractLoginfo) String

func (m *ContractLoginfo) String() string

func (*ContractLoginfo) XXX_DiscardUnknown

func (m *ContractLoginfo) XXX_DiscardUnknown()

func (*ContractLoginfo) XXX_Marshal

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

func (*ContractLoginfo) XXX_Merge

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

func (*ContractLoginfo) XXX_Size

func (m *ContractLoginfo) XXX_Size() int

func (*ContractLoginfo) XXX_Unmarshal

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

type ContractUpdateTransactionBody

type ContractUpdateTransactionBody struct {
	ContractID           *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	ExpirationTime       *Timestamp  `protobuf:"bytes,2,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	AdminKey             *Key        `protobuf:"bytes,3,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	ProxyAccountID       *AccountID  `protobuf:"bytes,6,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	AutoRenewPeriod      *Duration   `protobuf:"bytes,7,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	FileID               *FileID     `protobuf:"bytes,8,opt,name=fileID,proto3" json:"fileID,omitempty"`
	Memo                 string      `protobuf:"bytes,9,opt,name=memo,proto3" json:"memo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Modify a smart contract instance to have the given parameter values. Any null field is ignored (left unchanged). If only the contractInstanceExpirationTime is being modified, then no signature is needed on this transaction other than for the account paying for the transaction itself. But if any of the other fields are being modified, then it must be signed by the adminKey. The use of adminKey is not currently supported in this API, but in the future will be implemented to allow these fields to be modified, and also to make modifications to the state of the instance. If the contract is created with no admin key, then none of the fields can be changed that need an admin signature, and therefore no admin key can ever be added. So if there is no admin key, then things like the bytecode are immutable. But if there is an admin key, then they can be changed. For example, the admin key might be a threshold key, which requires 3 of 5 binding arbitration judges to agree before the bytecode can be changed. This can be used to add flexibility to the management of smart contract behavior. But this is optional. If the smart contract is created without an admin key, then such a key can never be added, and its bytecode will be immutable.

func (*ContractUpdateTransactionBody) Descriptor

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

func (*ContractUpdateTransactionBody) GetAdminKey

func (m *ContractUpdateTransactionBody) GetAdminKey() *Key

func (*ContractUpdateTransactionBody) GetAutoRenewPeriod

func (m *ContractUpdateTransactionBody) GetAutoRenewPeriod() *Duration

func (*ContractUpdateTransactionBody) GetContractID

func (m *ContractUpdateTransactionBody) GetContractID() *ContractID

func (*ContractUpdateTransactionBody) GetExpirationTime

func (m *ContractUpdateTransactionBody) GetExpirationTime() *Timestamp

func (*ContractUpdateTransactionBody) GetFileID

func (m *ContractUpdateTransactionBody) GetFileID() *FileID

func (*ContractUpdateTransactionBody) GetMemo

func (*ContractUpdateTransactionBody) GetProxyAccountID

func (m *ContractUpdateTransactionBody) GetProxyAccountID() *AccountID

func (*ContractUpdateTransactionBody) ProtoMessage

func (*ContractUpdateTransactionBody) ProtoMessage()

func (*ContractUpdateTransactionBody) Reset

func (m *ContractUpdateTransactionBody) Reset()

func (*ContractUpdateTransactionBody) String

func (*ContractUpdateTransactionBody) XXX_DiscardUnknown

func (m *ContractUpdateTransactionBody) XXX_DiscardUnknown()

func (*ContractUpdateTransactionBody) XXX_Marshal

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

func (*ContractUpdateTransactionBody) XXX_Merge

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

func (*ContractUpdateTransactionBody) XXX_Size

func (m *ContractUpdateTransactionBody) XXX_Size() int

func (*ContractUpdateTransactionBody) XXX_Unmarshal

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

type CryptoAddClaimTransactionBody

type CryptoAddClaimTransactionBody struct {
	Claim                *Claim   `protobuf:"bytes,3,opt,name=claim,proto3" json:"claim,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Attach the given hash to the given account. The hash can be deleted by the keys used to transfer money from the account. The hash can also be deleted by any one of the deleteKeys (where that one may itself be a threshold key made up of multiple keys). Therefore, this acts as a revocation service for claims about the account. External authorities may issue certificates or credentials of some kind that make a claim about this account. The account owner can then attach a hash of that claim to the account. The transaction that adds the claim will be signed by the owner of the account, and also by all the authorities that are attesting to the truth of that claim. If the claim ever ceases to be true, such as when a certificate is revoked, then any one of the listed authorities has the ability to delete it. The account owner also has the ability to delete it at any time.

In this way, it acts as a revocation server, and the account owner can prove to any third party that the claim is still true for this account, by sending the third party the signed credential, and then having the third party query to discover whether the hash of that credential is still attached to the account.

For a given account, each Claim must contain a different hash. To modify the list of keys in a Claim, the existing Claim should first be deleted, then the Claim with the new list of keys can be added.

func (*CryptoAddClaimTransactionBody) Descriptor

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

func (*CryptoAddClaimTransactionBody) GetClaim

func (m *CryptoAddClaimTransactionBody) GetClaim() *Claim

func (*CryptoAddClaimTransactionBody) ProtoMessage

func (*CryptoAddClaimTransactionBody) ProtoMessage()

func (*CryptoAddClaimTransactionBody) Reset

func (m *CryptoAddClaimTransactionBody) Reset()

func (*CryptoAddClaimTransactionBody) String

func (*CryptoAddClaimTransactionBody) XXX_DiscardUnknown

func (m *CryptoAddClaimTransactionBody) XXX_DiscardUnknown()

func (*CryptoAddClaimTransactionBody) XXX_Marshal

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

func (*CryptoAddClaimTransactionBody) XXX_Merge

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

func (*CryptoAddClaimTransactionBody) XXX_Size

func (m *CryptoAddClaimTransactionBody) XXX_Size() int

func (*CryptoAddClaimTransactionBody) XXX_Unmarshal

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

type CryptoCreateTransactionBody

type CryptoCreateTransactionBody struct {
	Key                    *Key       `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	InitialBalance         uint64     `protobuf:"varint,2,opt,name=initialBalance,proto3" json:"initialBalance,omitempty"`
	ProxyAccountID         *AccountID `protobuf:"bytes,3,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	SendRecordThreshold    uint64     `protobuf:"varint,6,opt,name=sendRecordThreshold,proto3" json:"sendRecordThreshold,omitempty"`
	ReceiveRecordThreshold uint64     `protobuf:"varint,7,opt,name=receiveRecordThreshold,proto3" json:"receiveRecordThreshold,omitempty"`
	ReceiverSigRequired    bool       `protobuf:"varint,8,opt,name=receiverSigRequired,proto3" json:"receiverSigRequired,omitempty"`
	AutoRenewPeriod        *Duration  `protobuf:"bytes,9,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	ShardID                *ShardID   `protobuf:"bytes,10,opt,name=shardID,proto3" json:"shardID,omitempty"`
	RealmID                *RealmID   `protobuf:"bytes,11,opt,name=realmID,proto3" json:"realmID,omitempty"`
	NewRealmAdminKey       *Key       `protobuf:"bytes,12,opt,name=newRealmAdminKey,proto3" json:"newRealmAdminKey,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}   `json:"-"`
	XXX_unrecognized       []byte     `json:"-"`
	XXX_sizecache          int32      `json:"-"`
}

Create a new account. After the account is created, the AccountID for it is in the receipt, or can be retrieved with a GetByKey query, or by asking for a Record of the transaction to be created, and retrieving that. The account can then automatically generate records for large transfers into it or out of it, which each last for 25 hours. Records are generated for any transfer that exceeds the thresholds given here. This account is charged cryptocurrency for each record generated, so the thresholds are useful for limiting Record generation to happen only for large transactions. The Key field is the key used to sign transactions for this account. If the account has receiverSigRequired set to true, then all cryptocurrency transfers must be signed by this account's key, both for transfers in and out. If it is false, then only transfers out have to be signed by it. When the account is created, the payer account is charged enough hbars so that the new account will not expire for the next autoRenewPeriod seconds. When it reaches the expiration time, the new account will then be automatically charged to renew for another autoRenewPeriod seconds. If it does not have enough hbars to renew for that long, then the remaining hbars are used to extend its expiration as long as possible. If it is has a zero balance when it expires, then it is deleted. This transaction must be signed by the payer account. If receiverSigRequired is false, then the transaction does not have to be signed by the keys in the keys field. If it is true, then it must be signed by them, in addition to the keys of the payer account.

An entity (account, file, or smart contract instance) must be created in a particular realm. If the realmID is left null, then a new realm will be created with the given admin key. If a new realm has a null adminKey, then anyone can create/modify/delete entities in that realm. But if an admin key is given, then any transaction to create/modify/delete an entity in that realm must be signed by that key, though anyone can still call functions on smart contract instances that exist in that realm. A realm ceases to exist when everything within it has expired and no longer exists.

The current API ignores shardID, realmID, and newRealmAdminKey, and creates everything in shard 0 and realm 0, with a null key. Future versions of the API will support multiple realms and multiple shards.

func (*CryptoCreateTransactionBody) Descriptor

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

func (*CryptoCreateTransactionBody) GetAutoRenewPeriod

func (m *CryptoCreateTransactionBody) GetAutoRenewPeriod() *Duration

func (*CryptoCreateTransactionBody) GetInitialBalance

func (m *CryptoCreateTransactionBody) GetInitialBalance() uint64

func (*CryptoCreateTransactionBody) GetKey

func (m *CryptoCreateTransactionBody) GetKey() *Key

func (*CryptoCreateTransactionBody) GetNewRealmAdminKey

func (m *CryptoCreateTransactionBody) GetNewRealmAdminKey() *Key

func (*CryptoCreateTransactionBody) GetProxyAccountID

func (m *CryptoCreateTransactionBody) GetProxyAccountID() *AccountID

func (*CryptoCreateTransactionBody) GetRealmID

func (m *CryptoCreateTransactionBody) GetRealmID() *RealmID

func (*CryptoCreateTransactionBody) GetReceiveRecordThreshold

func (m *CryptoCreateTransactionBody) GetReceiveRecordThreshold() uint64

func (*CryptoCreateTransactionBody) GetReceiverSigRequired

func (m *CryptoCreateTransactionBody) GetReceiverSigRequired() bool

func (*CryptoCreateTransactionBody) GetSendRecordThreshold

func (m *CryptoCreateTransactionBody) GetSendRecordThreshold() uint64

func (*CryptoCreateTransactionBody) GetShardID

func (m *CryptoCreateTransactionBody) GetShardID() *ShardID

func (*CryptoCreateTransactionBody) ProtoMessage

func (*CryptoCreateTransactionBody) ProtoMessage()

func (*CryptoCreateTransactionBody) Reset

func (m *CryptoCreateTransactionBody) Reset()

func (*CryptoCreateTransactionBody) String

func (m *CryptoCreateTransactionBody) String() string

func (*CryptoCreateTransactionBody) XXX_DiscardUnknown

func (m *CryptoCreateTransactionBody) XXX_DiscardUnknown()

func (*CryptoCreateTransactionBody) XXX_Marshal

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

func (*CryptoCreateTransactionBody) XXX_Merge

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

func (*CryptoCreateTransactionBody) XXX_Size

func (m *CryptoCreateTransactionBody) XXX_Size() int

func (*CryptoCreateTransactionBody) XXX_Unmarshal

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

type CryptoDeleteClaimTransactionBody

type CryptoDeleteClaimTransactionBody struct {
	AccountIDToDeleteFrom *AccountID `protobuf:"bytes,1,opt,name=accountIDToDeleteFrom,proto3" json:"accountIDToDeleteFrom,omitempty"`
	HashToDelete          []byte     `protobuf:"bytes,2,opt,name=hashToDelete,proto3" json:"hashToDelete,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}   `json:"-"`
	XXX_unrecognized      []byte     `json:"-"`
	XXX_sizecache         int32      `json:"-"`
}

Delete a claim hash that was attached to the given account. This transaction is valid if signed by all the keys used for transfers out of the account. It is also valid if signed by any single ThresholdKeys in the deleteKeys list for this hash. See CryptoAddClaimTransaction for more information about claim hashes.

func (*CryptoDeleteClaimTransactionBody) Descriptor

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

func (*CryptoDeleteClaimTransactionBody) GetAccountIDToDeleteFrom

func (m *CryptoDeleteClaimTransactionBody) GetAccountIDToDeleteFrom() *AccountID

func (*CryptoDeleteClaimTransactionBody) GetHashToDelete

func (m *CryptoDeleteClaimTransactionBody) GetHashToDelete() []byte

func (*CryptoDeleteClaimTransactionBody) ProtoMessage

func (*CryptoDeleteClaimTransactionBody) ProtoMessage()

func (*CryptoDeleteClaimTransactionBody) Reset

func (*CryptoDeleteClaimTransactionBody) String

func (*CryptoDeleteClaimTransactionBody) XXX_DiscardUnknown

func (m *CryptoDeleteClaimTransactionBody) XXX_DiscardUnknown()

func (*CryptoDeleteClaimTransactionBody) XXX_Marshal

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

func (*CryptoDeleteClaimTransactionBody) XXX_Merge

func (*CryptoDeleteClaimTransactionBody) XXX_Size

func (m *CryptoDeleteClaimTransactionBody) XXX_Size() int

func (*CryptoDeleteClaimTransactionBody) XXX_Unmarshal

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

type CryptoDeleteTransactionBody

type CryptoDeleteTransactionBody struct {
	TransferAccountID    *AccountID `protobuf:"bytes,1,opt,name=transferAccountID,proto3" json:"transferAccountID,omitempty"`
	DeleteAccountID      *AccountID `protobuf:"bytes,2,opt,name=deleteAccountID,proto3" json:"deleteAccountID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Mark an account as deleted, moving all its current hbars to another account. It will remain in the ledger, marked as deleted, until it expires. Transfers into it a deleted account fail. But a deleted account can still have its expiration extended in the normal way.

func (*CryptoDeleteTransactionBody) Descriptor

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

func (*CryptoDeleteTransactionBody) GetDeleteAccountID

func (m *CryptoDeleteTransactionBody) GetDeleteAccountID() *AccountID

func (*CryptoDeleteTransactionBody) GetTransferAccountID

func (m *CryptoDeleteTransactionBody) GetTransferAccountID() *AccountID

func (*CryptoDeleteTransactionBody) ProtoMessage

func (*CryptoDeleteTransactionBody) ProtoMessage()

func (*CryptoDeleteTransactionBody) Reset

func (m *CryptoDeleteTransactionBody) Reset()

func (*CryptoDeleteTransactionBody) String

func (m *CryptoDeleteTransactionBody) String() string

func (*CryptoDeleteTransactionBody) XXX_DiscardUnknown

func (m *CryptoDeleteTransactionBody) XXX_DiscardUnknown()

func (*CryptoDeleteTransactionBody) XXX_Marshal

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

func (*CryptoDeleteTransactionBody) XXX_Merge

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

func (*CryptoDeleteTransactionBody) XXX_Size

func (m *CryptoDeleteTransactionBody) XXX_Size() int

func (*CryptoDeleteTransactionBody) XXX_Unmarshal

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

type CryptoGetAccountBalanceQuery

type CryptoGetAccountBalanceQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	AccountID            *AccountID   `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get the balance of a cryptocurrency account. This returns only the balance, so it is a smaller and faster reply than CryptoGetInfo, which returns the balance plus additional information.

func (*CryptoGetAccountBalanceQuery) Descriptor

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

func (*CryptoGetAccountBalanceQuery) GetAccountID

func (m *CryptoGetAccountBalanceQuery) GetAccountID() *AccountID

func (*CryptoGetAccountBalanceQuery) GetHeader

func (m *CryptoGetAccountBalanceQuery) GetHeader() *QueryHeader

func (*CryptoGetAccountBalanceQuery) ProtoMessage

func (*CryptoGetAccountBalanceQuery) ProtoMessage()

func (*CryptoGetAccountBalanceQuery) Reset

func (m *CryptoGetAccountBalanceQuery) Reset()

func (*CryptoGetAccountBalanceQuery) String

func (*CryptoGetAccountBalanceQuery) XXX_DiscardUnknown

func (m *CryptoGetAccountBalanceQuery) XXX_DiscardUnknown()

func (*CryptoGetAccountBalanceQuery) XXX_Marshal

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

func (*CryptoGetAccountBalanceQuery) XXX_Merge

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

func (*CryptoGetAccountBalanceQuery) XXX_Size

func (m *CryptoGetAccountBalanceQuery) XXX_Size() int

func (*CryptoGetAccountBalanceQuery) XXX_Unmarshal

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

type CryptoGetAccountBalanceResponse

type CryptoGetAccountBalanceResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	AccountID            *AccountID      `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	Balance              uint64          `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Response when the client sends the node CryptoGetAccountBalanceQuery

func (*CryptoGetAccountBalanceResponse) Descriptor

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

func (*CryptoGetAccountBalanceResponse) GetAccountID

func (m *CryptoGetAccountBalanceResponse) GetAccountID() *AccountID

func (*CryptoGetAccountBalanceResponse) GetBalance

func (m *CryptoGetAccountBalanceResponse) GetBalance() uint64

func (*CryptoGetAccountBalanceResponse) GetHeader

func (*CryptoGetAccountBalanceResponse) ProtoMessage

func (*CryptoGetAccountBalanceResponse) ProtoMessage()

func (*CryptoGetAccountBalanceResponse) Reset

func (*CryptoGetAccountBalanceResponse) String

func (*CryptoGetAccountBalanceResponse) XXX_DiscardUnknown

func (m *CryptoGetAccountBalanceResponse) XXX_DiscardUnknown()

func (*CryptoGetAccountBalanceResponse) XXX_Marshal

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

func (*CryptoGetAccountBalanceResponse) XXX_Merge

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

func (*CryptoGetAccountBalanceResponse) XXX_Size

func (m *CryptoGetAccountBalanceResponse) XXX_Size() int

func (*CryptoGetAccountBalanceResponse) XXX_Unmarshal

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

type CryptoGetAccountRecordsQuery

type CryptoGetAccountRecordsQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	AccountID            *AccountID   `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get all the records for an account for any transfers into it and out of it, that were above the threshold, during the last 25 hours.

func (*CryptoGetAccountRecordsQuery) Descriptor

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

func (*CryptoGetAccountRecordsQuery) GetAccountID

func (m *CryptoGetAccountRecordsQuery) GetAccountID() *AccountID

func (*CryptoGetAccountRecordsQuery) GetHeader

func (m *CryptoGetAccountRecordsQuery) GetHeader() *QueryHeader

func (*CryptoGetAccountRecordsQuery) ProtoMessage

func (*CryptoGetAccountRecordsQuery) ProtoMessage()

func (*CryptoGetAccountRecordsQuery) Reset

func (m *CryptoGetAccountRecordsQuery) Reset()

func (*CryptoGetAccountRecordsQuery) String

func (*CryptoGetAccountRecordsQuery) XXX_DiscardUnknown

func (m *CryptoGetAccountRecordsQuery) XXX_DiscardUnknown()

func (*CryptoGetAccountRecordsQuery) XXX_Marshal

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

func (*CryptoGetAccountRecordsQuery) XXX_Merge

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

func (*CryptoGetAccountRecordsQuery) XXX_Size

func (m *CryptoGetAccountRecordsQuery) XXX_Size() int

func (*CryptoGetAccountRecordsQuery) XXX_Unmarshal

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

type CryptoGetAccountRecordsResponse

type CryptoGetAccountRecordsResponse struct {
	Header               *ResponseHeader      `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	AccountID            *AccountID           `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	Records              []*TransactionRecord `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Response when the client sends the node CryptoGetAccountRecordsQuery

func (*CryptoGetAccountRecordsResponse) Descriptor

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

func (*CryptoGetAccountRecordsResponse) GetAccountID

func (m *CryptoGetAccountRecordsResponse) GetAccountID() *AccountID

func (*CryptoGetAccountRecordsResponse) GetHeader

func (*CryptoGetAccountRecordsResponse) GetRecords

func (*CryptoGetAccountRecordsResponse) ProtoMessage

func (*CryptoGetAccountRecordsResponse) ProtoMessage()

func (*CryptoGetAccountRecordsResponse) Reset

func (*CryptoGetAccountRecordsResponse) String

func (*CryptoGetAccountRecordsResponse) XXX_DiscardUnknown

func (m *CryptoGetAccountRecordsResponse) XXX_DiscardUnknown()

func (*CryptoGetAccountRecordsResponse) XXX_Marshal

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

func (*CryptoGetAccountRecordsResponse) XXX_Merge

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

func (*CryptoGetAccountRecordsResponse) XXX_Size

func (m *CryptoGetAccountRecordsResponse) XXX_Size() int

func (*CryptoGetAccountRecordsResponse) XXX_Unmarshal

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

type CryptoGetClaimQuery

type CryptoGetClaimQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	AccountID            *AccountID   `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	Hash                 []byte       `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get a single claim attached to an account, or return null if it does not exist.

func (*CryptoGetClaimQuery) Descriptor

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

func (*CryptoGetClaimQuery) GetAccountID

func (m *CryptoGetClaimQuery) GetAccountID() *AccountID

func (*CryptoGetClaimQuery) GetHash

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

func (*CryptoGetClaimQuery) GetHeader

func (m *CryptoGetClaimQuery) GetHeader() *QueryHeader

func (*CryptoGetClaimQuery) ProtoMessage

func (*CryptoGetClaimQuery) ProtoMessage()

func (*CryptoGetClaimQuery) Reset

func (m *CryptoGetClaimQuery) Reset()

func (*CryptoGetClaimQuery) String

func (m *CryptoGetClaimQuery) String() string

func (*CryptoGetClaimQuery) XXX_DiscardUnknown

func (m *CryptoGetClaimQuery) XXX_DiscardUnknown()

func (*CryptoGetClaimQuery) XXX_Marshal

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

func (*CryptoGetClaimQuery) XXX_Merge

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

func (*CryptoGetClaimQuery) XXX_Size

func (m *CryptoGetClaimQuery) XXX_Size() int

func (*CryptoGetClaimQuery) XXX_Unmarshal

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

type CryptoGetClaimResponse

type CryptoGetClaimResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Claim                *Claim          `protobuf:"bytes,2,opt,name=claim,proto3" json:"claim,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Response when the client sends the node CryptoGetClaimQuery. If the claim exists, there can be a state proof for that single claim. If the claim doesn't exist, then the state proof must be obtained for the account as a whole, which lists all the attached claims, which then proves that any claim not on the list must not exist.

func (*CryptoGetClaimResponse) Descriptor

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

func (*CryptoGetClaimResponse) GetClaim

func (m *CryptoGetClaimResponse) GetClaim() *Claim

func (*CryptoGetClaimResponse) GetHeader

func (m *CryptoGetClaimResponse) GetHeader() *ResponseHeader

func (*CryptoGetClaimResponse) ProtoMessage

func (*CryptoGetClaimResponse) ProtoMessage()

func (*CryptoGetClaimResponse) Reset

func (m *CryptoGetClaimResponse) Reset()

func (*CryptoGetClaimResponse) String

func (m *CryptoGetClaimResponse) String() string

func (*CryptoGetClaimResponse) XXX_DiscardUnknown

func (m *CryptoGetClaimResponse) XXX_DiscardUnknown()

func (*CryptoGetClaimResponse) XXX_Marshal

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

func (*CryptoGetClaimResponse) XXX_Merge

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

func (*CryptoGetClaimResponse) XXX_Size

func (m *CryptoGetClaimResponse) XXX_Size() int

func (*CryptoGetClaimResponse) XXX_Unmarshal

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

type CryptoGetInfoQuery

type CryptoGetInfoQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	AccountID            *AccountID   `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get all the information about an account, including the balance. This does not get the list of account records.

func (*CryptoGetInfoQuery) Descriptor

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

func (*CryptoGetInfoQuery) GetAccountID

func (m *CryptoGetInfoQuery) GetAccountID() *AccountID

func (*CryptoGetInfoQuery) GetHeader

func (m *CryptoGetInfoQuery) GetHeader() *QueryHeader

func (*CryptoGetInfoQuery) ProtoMessage

func (*CryptoGetInfoQuery) ProtoMessage()

func (*CryptoGetInfoQuery) Reset

func (m *CryptoGetInfoQuery) Reset()

func (*CryptoGetInfoQuery) String

func (m *CryptoGetInfoQuery) String() string

func (*CryptoGetInfoQuery) XXX_DiscardUnknown

func (m *CryptoGetInfoQuery) XXX_DiscardUnknown()

func (*CryptoGetInfoQuery) XXX_Marshal

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

func (*CryptoGetInfoQuery) XXX_Merge

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

func (*CryptoGetInfoQuery) XXX_Size

func (m *CryptoGetInfoQuery) XXX_Size() int

func (*CryptoGetInfoQuery) XXX_Unmarshal

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

type CryptoGetInfoResponse

type CryptoGetInfoResponse struct {
	Header               *ResponseHeader                    `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	AccountInfo          *CryptoGetInfoResponse_AccountInfo `protobuf:"bytes,2,opt,name=accountInfo,proto3" json:"accountInfo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

Response when the client sends the node CryptoGetInfoQuery

func (*CryptoGetInfoResponse) Descriptor

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

func (*CryptoGetInfoResponse) GetAccountInfo

func (*CryptoGetInfoResponse) GetHeader

func (m *CryptoGetInfoResponse) GetHeader() *ResponseHeader

func (*CryptoGetInfoResponse) ProtoMessage

func (*CryptoGetInfoResponse) ProtoMessage()

func (*CryptoGetInfoResponse) Reset

func (m *CryptoGetInfoResponse) Reset()

func (*CryptoGetInfoResponse) String

func (m *CryptoGetInfoResponse) String() string

func (*CryptoGetInfoResponse) XXX_DiscardUnknown

func (m *CryptoGetInfoResponse) XXX_DiscardUnknown()

func (*CryptoGetInfoResponse) XXX_Marshal

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

func (*CryptoGetInfoResponse) XXX_Merge

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

func (*CryptoGetInfoResponse) XXX_Size

func (m *CryptoGetInfoResponse) XXX_Size() int

func (*CryptoGetInfoResponse) XXX_Unmarshal

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

type CryptoGetInfoResponse_AccountInfo

type CryptoGetInfoResponse_AccountInfo struct {
	AccountID                      *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
	ContractAccountID              string     `protobuf:"bytes,2,opt,name=contractAccountID,proto3" json:"contractAccountID,omitempty"`
	Deleted                        bool       `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	ProxyAccountID                 *AccountID `protobuf:"bytes,4,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	ProxyReceived                  int64      `protobuf:"varint,6,opt,name=proxyReceived,proto3" json:"proxyReceived,omitempty"`
	Key                            *Key       `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"`
	Balance                        uint64     `protobuf:"varint,8,opt,name=balance,proto3" json:"balance,omitempty"`
	GenerateSendRecordThreshold    uint64     `protobuf:"varint,9,opt,name=generateSendRecordThreshold,proto3" json:"generateSendRecordThreshold,omitempty"`
	GenerateReceiveRecordThreshold uint64     `protobuf:"varint,10,opt,name=generateReceiveRecordThreshold,proto3" json:"generateReceiveRecordThreshold,omitempty"`
	ReceiverSigRequired            bool       `protobuf:"varint,11,opt,name=receiverSigRequired,proto3" json:"receiverSigRequired,omitempty"`
	ExpirationTime                 *Timestamp `protobuf:"bytes,12,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	AutoRenewPeriod                *Duration  `protobuf:"bytes,13,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	Claims                         []*Claim   `protobuf:"bytes,14,rep,name=claims,proto3" json:"claims,omitempty"`
	XXX_NoUnkeyedLiteral           struct{}   `json:"-"`
	XXX_unrecognized               []byte     `json:"-"`
	XXX_sizecache                  int32      `json:"-"`
}

func (*CryptoGetInfoResponse_AccountInfo) Descriptor

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

func (*CryptoGetInfoResponse_AccountInfo) GetAccountID

func (m *CryptoGetInfoResponse_AccountInfo) GetAccountID() *AccountID

func (*CryptoGetInfoResponse_AccountInfo) GetAutoRenewPeriod

func (m *CryptoGetInfoResponse_AccountInfo) GetAutoRenewPeriod() *Duration

func (*CryptoGetInfoResponse_AccountInfo) GetBalance

func (m *CryptoGetInfoResponse_AccountInfo) GetBalance() uint64

func (*CryptoGetInfoResponse_AccountInfo) GetClaims

func (m *CryptoGetInfoResponse_AccountInfo) GetClaims() []*Claim

func (*CryptoGetInfoResponse_AccountInfo) GetContractAccountID

func (m *CryptoGetInfoResponse_AccountInfo) GetContractAccountID() string

func (*CryptoGetInfoResponse_AccountInfo) GetDeleted

func (m *CryptoGetInfoResponse_AccountInfo) GetDeleted() bool

func (*CryptoGetInfoResponse_AccountInfo) GetExpirationTime

func (m *CryptoGetInfoResponse_AccountInfo) GetExpirationTime() *Timestamp

func (*CryptoGetInfoResponse_AccountInfo) GetGenerateReceiveRecordThreshold

func (m *CryptoGetInfoResponse_AccountInfo) GetGenerateReceiveRecordThreshold() uint64

func (*CryptoGetInfoResponse_AccountInfo) GetGenerateSendRecordThreshold

func (m *CryptoGetInfoResponse_AccountInfo) GetGenerateSendRecordThreshold() uint64

func (*CryptoGetInfoResponse_AccountInfo) GetKey

func (*CryptoGetInfoResponse_AccountInfo) GetProxyAccountID

func (m *CryptoGetInfoResponse_AccountInfo) GetProxyAccountID() *AccountID

func (*CryptoGetInfoResponse_AccountInfo) GetProxyReceived

func (m *CryptoGetInfoResponse_AccountInfo) GetProxyReceived() int64

func (*CryptoGetInfoResponse_AccountInfo) GetReceiverSigRequired

func (m *CryptoGetInfoResponse_AccountInfo) GetReceiverSigRequired() bool

func (*CryptoGetInfoResponse_AccountInfo) ProtoMessage

func (*CryptoGetInfoResponse_AccountInfo) ProtoMessage()

func (*CryptoGetInfoResponse_AccountInfo) Reset

func (*CryptoGetInfoResponse_AccountInfo) String

func (*CryptoGetInfoResponse_AccountInfo) XXX_DiscardUnknown

func (m *CryptoGetInfoResponse_AccountInfo) XXX_DiscardUnknown()

func (*CryptoGetInfoResponse_AccountInfo) XXX_Marshal

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

func (*CryptoGetInfoResponse_AccountInfo) XXX_Merge

func (*CryptoGetInfoResponse_AccountInfo) XXX_Size

func (m *CryptoGetInfoResponse_AccountInfo) XXX_Size() int

func (*CryptoGetInfoResponse_AccountInfo) XXX_Unmarshal

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

type CryptoGetStakersQuery

type CryptoGetStakersQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	AccountID            *AccountID   `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get all the accounts that are proxy staking to this account. For each of them, give the amount currently staked. This is not yet implemented, but will be in a future version of the API.

func (*CryptoGetStakersQuery) Descriptor

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

func (*CryptoGetStakersQuery) GetAccountID

func (m *CryptoGetStakersQuery) GetAccountID() *AccountID

func (*CryptoGetStakersQuery) GetHeader

func (m *CryptoGetStakersQuery) GetHeader() *QueryHeader

func (*CryptoGetStakersQuery) ProtoMessage

func (*CryptoGetStakersQuery) ProtoMessage()

func (*CryptoGetStakersQuery) Reset

func (m *CryptoGetStakersQuery) Reset()

func (*CryptoGetStakersQuery) String

func (m *CryptoGetStakersQuery) String() string

func (*CryptoGetStakersQuery) XXX_DiscardUnknown

func (m *CryptoGetStakersQuery) XXX_DiscardUnknown()

func (*CryptoGetStakersQuery) XXX_Marshal

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

func (*CryptoGetStakersQuery) XXX_Merge

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

func (*CryptoGetStakersQuery) XXX_Size

func (m *CryptoGetStakersQuery) XXX_Size() int

func (*CryptoGetStakersQuery) XXX_Unmarshal

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

type CryptoGetStakersResponse

type CryptoGetStakersResponse struct {
	Header               *ResponseHeader  `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Stakers              *AllProxyStakers `protobuf:"bytes,3,opt,name=stakers,proto3" json:"stakers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Response when the client sends the node CryptoGetStakersQuery

func (*CryptoGetStakersResponse) Descriptor

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

func (*CryptoGetStakersResponse) GetHeader

func (m *CryptoGetStakersResponse) GetHeader() *ResponseHeader

func (*CryptoGetStakersResponse) GetStakers

func (m *CryptoGetStakersResponse) GetStakers() *AllProxyStakers

func (*CryptoGetStakersResponse) ProtoMessage

func (*CryptoGetStakersResponse) ProtoMessage()

func (*CryptoGetStakersResponse) Reset

func (m *CryptoGetStakersResponse) Reset()

func (*CryptoGetStakersResponse) String

func (m *CryptoGetStakersResponse) String() string

func (*CryptoGetStakersResponse) XXX_DiscardUnknown

func (m *CryptoGetStakersResponse) XXX_DiscardUnknown()

func (*CryptoGetStakersResponse) XXX_Marshal

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

func (*CryptoGetStakersResponse) XXX_Merge

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

func (*CryptoGetStakersResponse) XXX_Size

func (m *CryptoGetStakersResponse) XXX_Size() int

func (*CryptoGetStakersResponse) XXX_Unmarshal

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

type CryptoServiceClient

type CryptoServiceClient interface {
	CreateAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	UpdateAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	CryptoTransfer(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	CryptoDelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	AddClaim(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	DeleteClaim(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	GetClaim(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	GetAccountRecords(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	CryptoGetBalance(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	GetAccountInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	GetTransactionReceipts(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	GetFastTransactionRecord(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	GetTxRecordByTxID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	GetStakersByAccountID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
}

CryptoServiceClient is the client API for CryptoService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCryptoServiceClient

func NewCryptoServiceClient(cc *grpc.ClientConn) CryptoServiceClient

type CryptoServiceServer

type CryptoServiceServer interface {
	CreateAccount(context.Context, *Transaction) (*TransactionResponse, error)
	UpdateAccount(context.Context, *Transaction) (*TransactionResponse, error)
	CryptoTransfer(context.Context, *Transaction) (*TransactionResponse, error)
	CryptoDelete(context.Context, *Transaction) (*TransactionResponse, error)
	AddClaim(context.Context, *Transaction) (*TransactionResponse, error)
	DeleteClaim(context.Context, *Transaction) (*TransactionResponse, error)
	GetClaim(context.Context, *Query) (*Response, error)
	GetAccountRecords(context.Context, *Query) (*Response, error)
	CryptoGetBalance(context.Context, *Query) (*Response, error)
	GetAccountInfo(context.Context, *Query) (*Response, error)
	GetTransactionReceipts(context.Context, *Query) (*Response, error)
	GetFastTransactionRecord(context.Context, *Query) (*Response, error)
	GetTxRecordByTxID(context.Context, *Query) (*Response, error)
	GetStakersByAccountID(context.Context, *Query) (*Response, error)
}

CryptoServiceServer is the server API for CryptoService service.

type CryptoTransferTransactionBody

type CryptoTransferTransactionBody struct {
	Transfers            *TransferList `protobuf:"bytes,1,opt,name=transfers,proto3" json:"transfers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Transfer cryptocurrency from some accounts to other accounts. The accounts list can contain up to 10 accounts. The amounts list must be the same length as the accounts list. Each negative amount is withdrawn from the corresponding account (a sender), and each positive one is added to the corresponding account (a receiver). The amounts list must sum to zero. Each amount is a number of tinyBars (there are 100,000,000 tinyBars in one Hbar). If any sender account fails to have sufficient hbars to do the withdrawal, then the entire transaction fails, and none of those transfers occur, though the transaction fee is still charged. This transaction must be signed by the keys for all the sending accounts, and for any receiving accounts that have receiverSigRequired == true. The signatures are in the same order as the accounts, skipping those accounts that don't need a signature.

func (*CryptoTransferTransactionBody) Descriptor

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

func (*CryptoTransferTransactionBody) GetTransfers

func (m *CryptoTransferTransactionBody) GetTransfers() *TransferList

func (*CryptoTransferTransactionBody) ProtoMessage

func (*CryptoTransferTransactionBody) ProtoMessage()

func (*CryptoTransferTransactionBody) Reset

func (m *CryptoTransferTransactionBody) Reset()

func (*CryptoTransferTransactionBody) String

func (*CryptoTransferTransactionBody) XXX_DiscardUnknown

func (m *CryptoTransferTransactionBody) XXX_DiscardUnknown()

func (*CryptoTransferTransactionBody) XXX_Marshal

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

func (*CryptoTransferTransactionBody) XXX_Merge

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

func (*CryptoTransferTransactionBody) XXX_Size

func (m *CryptoTransferTransactionBody) XXX_Size() int

func (*CryptoTransferTransactionBody) XXX_Unmarshal

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

type CryptoUpdateTransactionBody

type CryptoUpdateTransactionBody struct {
	AccountIDToUpdate *AccountID `protobuf:"bytes,2,opt,name=accountIDToUpdate,proto3" json:"accountIDToUpdate,omitempty"`
	Key               *Key       `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	ProxyAccountID    *AccountID `protobuf:"bytes,4,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	ProxyFraction     int32      `protobuf:"varint,5,opt,name=proxyFraction,proto3" json:"proxyFraction,omitempty"` // Deprecated: Do not use.
	// Types that are valid to be assigned to SendRecordThresholdField:
	//	*CryptoUpdateTransactionBody_SendRecordThreshold
	//	*CryptoUpdateTransactionBody_SendRecordThresholdWrapper
	SendRecordThresholdField isCryptoUpdateTransactionBody_SendRecordThresholdField `protobuf_oneof:"sendRecordThresholdField"`
	// Types that are valid to be assigned to ReceiveRecordThresholdField:
	//	*CryptoUpdateTransactionBody_ReceiveRecordThreshold
	//	*CryptoUpdateTransactionBody_ReceiveRecordThresholdWrapper
	ReceiveRecordThresholdField isCryptoUpdateTransactionBody_ReceiveRecordThresholdField `protobuf_oneof:"receiveRecordThresholdField"`
	AutoRenewPeriod             *Duration                                                 `protobuf:"bytes,8,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	ExpirationTime              *Timestamp                                                `protobuf:"bytes,9,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// Types that are valid to be assigned to ReceiverSigRequiredField:
	//	*CryptoUpdateTransactionBody_ReceiverSigRequired
	//	*CryptoUpdateTransactionBody_ReceiverSigRequiredWrapper
	ReceiverSigRequiredField isCryptoUpdateTransactionBody_ReceiverSigRequiredField `protobuf_oneof:"receiverSigRequiredField"`
	XXX_NoUnkeyedLiteral     struct{}                                               `json:"-"`
	XXX_unrecognized         []byte                                                 `json:"-"`
	XXX_sizecache            int32                                                  `json:"-"`
}

Change properties for the given account. Any null field is ignored (left unchanged). This transaction must be signed by the existing key for this account. If the transaction is changing the key field, then the transaction must be signed by both the old key (from before the change) and the new key. The old key must sign for security. The new key must sign as a safeguard to avoid accidentally changing to an invalid key, and then having no way to recover. When extending the expiration date, the cost is affected by the size of the list of attached claims, and of the keys associated with the claims and the account.

func (*CryptoUpdateTransactionBody) Descriptor

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

func (*CryptoUpdateTransactionBody) GetAccountIDToUpdate

func (m *CryptoUpdateTransactionBody) GetAccountIDToUpdate() *AccountID

func (*CryptoUpdateTransactionBody) GetAutoRenewPeriod

func (m *CryptoUpdateTransactionBody) GetAutoRenewPeriod() *Duration

func (*CryptoUpdateTransactionBody) GetExpirationTime

func (m *CryptoUpdateTransactionBody) GetExpirationTime() *Timestamp

func (*CryptoUpdateTransactionBody) GetKey

func (m *CryptoUpdateTransactionBody) GetKey() *Key

func (*CryptoUpdateTransactionBody) GetProxyAccountID

func (m *CryptoUpdateTransactionBody) GetProxyAccountID() *AccountID

func (*CryptoUpdateTransactionBody) GetProxyFraction deprecated

func (m *CryptoUpdateTransactionBody) GetProxyFraction() int32

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) GetReceiveRecordThreshold deprecated

func (m *CryptoUpdateTransactionBody) GetReceiveRecordThreshold() uint64

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) GetReceiveRecordThresholdField

func (m *CryptoUpdateTransactionBody) GetReceiveRecordThresholdField() isCryptoUpdateTransactionBody_ReceiveRecordThresholdField

func (*CryptoUpdateTransactionBody) GetReceiveRecordThresholdWrapper

func (m *CryptoUpdateTransactionBody) GetReceiveRecordThresholdWrapper() *wrappers.UInt64Value

func (*CryptoUpdateTransactionBody) GetReceiverSigRequired deprecated

func (m *CryptoUpdateTransactionBody) GetReceiverSigRequired() bool

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) GetReceiverSigRequiredField

func (m *CryptoUpdateTransactionBody) GetReceiverSigRequiredField() isCryptoUpdateTransactionBody_ReceiverSigRequiredField

func (*CryptoUpdateTransactionBody) GetReceiverSigRequiredWrapper

func (m *CryptoUpdateTransactionBody) GetReceiverSigRequiredWrapper() *wrappers.BoolValue

func (*CryptoUpdateTransactionBody) GetSendRecordThreshold deprecated

func (m *CryptoUpdateTransactionBody) GetSendRecordThreshold() uint64

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) GetSendRecordThresholdField

func (m *CryptoUpdateTransactionBody) GetSendRecordThresholdField() isCryptoUpdateTransactionBody_SendRecordThresholdField

func (*CryptoUpdateTransactionBody) GetSendRecordThresholdWrapper

func (m *CryptoUpdateTransactionBody) GetSendRecordThresholdWrapper() *wrappers.UInt64Value

func (*CryptoUpdateTransactionBody) ProtoMessage

func (*CryptoUpdateTransactionBody) ProtoMessage()

func (*CryptoUpdateTransactionBody) Reset

func (m *CryptoUpdateTransactionBody) Reset()

func (*CryptoUpdateTransactionBody) String

func (m *CryptoUpdateTransactionBody) String() string

func (*CryptoUpdateTransactionBody) XXX_DiscardUnknown

func (m *CryptoUpdateTransactionBody) XXX_DiscardUnknown()

func (*CryptoUpdateTransactionBody) XXX_Marshal

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

func (*CryptoUpdateTransactionBody) XXX_Merge

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

func (*CryptoUpdateTransactionBody) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*CryptoUpdateTransactionBody) XXX_Size

func (m *CryptoUpdateTransactionBody) XXX_Size() int

func (*CryptoUpdateTransactionBody) XXX_Unmarshal

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

type CryptoUpdateTransactionBody_ReceiveRecordThreshold

type CryptoUpdateTransactionBody_ReceiveRecordThreshold struct {
	ReceiveRecordThreshold uint64 `protobuf:"varint,7,opt,name=receiveRecordThreshold,proto3,oneof"`
}

type CryptoUpdateTransactionBody_ReceiveRecordThresholdWrapper

type CryptoUpdateTransactionBody_ReceiveRecordThresholdWrapper struct {
	ReceiveRecordThresholdWrapper *wrappers.UInt64Value `protobuf:"bytes,12,opt,name=receiveRecordThresholdWrapper,proto3,oneof"`
}

type CryptoUpdateTransactionBody_ReceiverSigRequired

type CryptoUpdateTransactionBody_ReceiverSigRequired struct {
	ReceiverSigRequired bool `protobuf:"varint,10,opt,name=receiverSigRequired,proto3,oneof"`
}

type CryptoUpdateTransactionBody_ReceiverSigRequiredWrapper

type CryptoUpdateTransactionBody_ReceiverSigRequiredWrapper struct {
	ReceiverSigRequiredWrapper *wrappers.BoolValue `protobuf:"bytes,13,opt,name=receiverSigRequiredWrapper,proto3,oneof"`
}

type CryptoUpdateTransactionBody_SendRecordThreshold

type CryptoUpdateTransactionBody_SendRecordThreshold struct {
	SendRecordThreshold uint64 `protobuf:"varint,6,opt,name=sendRecordThreshold,proto3,oneof"`
}

type CryptoUpdateTransactionBody_SendRecordThresholdWrapper

type CryptoUpdateTransactionBody_SendRecordThresholdWrapper struct {
	SendRecordThresholdWrapper *wrappers.UInt64Value `protobuf:"bytes,11,opt,name=sendRecordThresholdWrapper,proto3,oneof"`
}

type CurrentAndNextFeeSchedule

type CurrentAndNextFeeSchedule struct {
	CurrentFeeSchedule   *FeeSchedule `protobuf:"bytes,1,opt,name=currentFeeSchedule,proto3" json:"currentFeeSchedule,omitempty"`
	NextFeeSchedule      *FeeSchedule `protobuf:"bytes,2,opt,name=nextFeeSchedule,proto3" json:"nextFeeSchedule,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

This contains two Fee Schedules with expiry timestamp.

func (*CurrentAndNextFeeSchedule) Descriptor

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

func (*CurrentAndNextFeeSchedule) GetCurrentFeeSchedule

func (m *CurrentAndNextFeeSchedule) GetCurrentFeeSchedule() *FeeSchedule

func (*CurrentAndNextFeeSchedule) GetNextFeeSchedule

func (m *CurrentAndNextFeeSchedule) GetNextFeeSchedule() *FeeSchedule

func (*CurrentAndNextFeeSchedule) ProtoMessage

func (*CurrentAndNextFeeSchedule) ProtoMessage()

func (*CurrentAndNextFeeSchedule) Reset

func (m *CurrentAndNextFeeSchedule) Reset()

func (*CurrentAndNextFeeSchedule) String

func (m *CurrentAndNextFeeSchedule) String() string

func (*CurrentAndNextFeeSchedule) XXX_DiscardUnknown

func (m *CurrentAndNextFeeSchedule) XXX_DiscardUnknown()

func (*CurrentAndNextFeeSchedule) XXX_Marshal

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

func (*CurrentAndNextFeeSchedule) XXX_Merge

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

func (*CurrentAndNextFeeSchedule) XXX_Size

func (m *CurrentAndNextFeeSchedule) XXX_Size() int

func (*CurrentAndNextFeeSchedule) XXX_Unmarshal

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

type Duration

type Duration struct {
	Seconds              int64    `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The length of a period of time. This is an identical data structure to the protobuf Duration.proto (see the comments in https://github.com/google/protobuf/blob/master/src/google/protobuf/duration.proto)

func (*Duration) Descriptor

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

func (*Duration) GetSeconds

func (m *Duration) GetSeconds() int64

func (*Duration) ProtoMessage

func (*Duration) ProtoMessage()

func (*Duration) Reset

func (m *Duration) Reset()

func (*Duration) String

func (m *Duration) String() string

func (*Duration) XXX_DiscardUnknown

func (m *Duration) XXX_DiscardUnknown()

func (*Duration) XXX_Marshal

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

func (*Duration) XXX_Merge

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

func (*Duration) XXX_Size

func (m *Duration) XXX_Size() int

func (*Duration) XXX_Unmarshal

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

type EntityID

type EntityID struct {
	// Types that are valid to be assigned to Entity:
	//	*EntityID_AccountID
	//	*EntityID_Claim
	//	*EntityID_FileID
	//	*EntityID_ContractID
	Entity               isEntityID_Entity `protobuf_oneof:"entity"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

the ID for a single entity (account, claim, file, or smart contract instance)

func (*EntityID) Descriptor

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

func (*EntityID) GetAccountID

func (m *EntityID) GetAccountID() *AccountID

func (*EntityID) GetClaim

func (m *EntityID) GetClaim() *Claim

func (*EntityID) GetContractID

func (m *EntityID) GetContractID() *ContractID

func (*EntityID) GetEntity

func (m *EntityID) GetEntity() isEntityID_Entity

func (*EntityID) GetFileID

func (m *EntityID) GetFileID() *FileID

func (*EntityID) ProtoMessage

func (*EntityID) ProtoMessage()

func (*EntityID) Reset

func (m *EntityID) Reset()

func (*EntityID) String

func (m *EntityID) String() string

func (*EntityID) XXX_DiscardUnknown

func (m *EntityID) XXX_DiscardUnknown()

func (*EntityID) XXX_Marshal

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

func (*EntityID) XXX_Merge

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

func (*EntityID) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*EntityID) XXX_Size

func (m *EntityID) XXX_Size() int

func (*EntityID) XXX_Unmarshal

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

type EntityID_AccountID

type EntityID_AccountID struct {
	AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3,oneof"`
}

type EntityID_Claim

type EntityID_Claim struct {
	Claim *Claim `protobuf:"bytes,2,opt,name=claim,proto3,oneof"`
}

type EntityID_ContractID

type EntityID_ContractID struct {
	ContractID *ContractID `protobuf:"bytes,4,opt,name=contractID,proto3,oneof"`
}

type EntityID_FileID

type EntityID_FileID struct {
	FileID *FileID `protobuf:"bytes,3,opt,name=fileID,proto3,oneof"`
}

type ExchangeRate

type ExchangeRate struct {
	HbarEquiv            int32             `protobuf:"varint,1,opt,name=hbarEquiv,proto3" json:"hbarEquiv,omitempty"`
	CentEquiv            int32             `protobuf:"varint,2,opt,name=centEquiv,proto3" json:"centEquiv,omitempty"`
	ExpirationTime       *TimestampSeconds `protobuf:"bytes,3,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Values from these proto denotes habr and cents(USD) conversion

func (*ExchangeRate) Descriptor

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

func (*ExchangeRate) GetCentEquiv

func (m *ExchangeRate) GetCentEquiv() int32

func (*ExchangeRate) GetExpirationTime

func (m *ExchangeRate) GetExpirationTime() *TimestampSeconds

func (*ExchangeRate) GetHbarEquiv

func (m *ExchangeRate) GetHbarEquiv() int32

func (*ExchangeRate) ProtoMessage

func (*ExchangeRate) ProtoMessage()

func (*ExchangeRate) Reset

func (m *ExchangeRate) Reset()

func (*ExchangeRate) String

func (m *ExchangeRate) String() string

func (*ExchangeRate) XXX_DiscardUnknown

func (m *ExchangeRate) XXX_DiscardUnknown()

func (*ExchangeRate) XXX_Marshal

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

func (*ExchangeRate) XXX_Merge

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

func (*ExchangeRate) XXX_Size

func (m *ExchangeRate) XXX_Size() int

func (*ExchangeRate) XXX_Unmarshal

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

type ExchangeRateSet

type ExchangeRateSet struct {
	CurrentRate          *ExchangeRate `protobuf:"bytes,1,opt,name=currentRate,proto3" json:"currentRate,omitempty"`
	NextRate             *ExchangeRate `protobuf:"bytes,2,opt,name=nextRate,proto3" json:"nextRate,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Two sets of exchange rate

func (*ExchangeRateSet) Descriptor

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

func (*ExchangeRateSet) GetCurrentRate

func (m *ExchangeRateSet) GetCurrentRate() *ExchangeRate

func (*ExchangeRateSet) GetNextRate

func (m *ExchangeRateSet) GetNextRate() *ExchangeRate

func (*ExchangeRateSet) ProtoMessage

func (*ExchangeRateSet) ProtoMessage()

func (*ExchangeRateSet) Reset

func (m *ExchangeRateSet) Reset()

func (*ExchangeRateSet) String

func (m *ExchangeRateSet) String() string

func (*ExchangeRateSet) XXX_DiscardUnknown

func (m *ExchangeRateSet) XXX_DiscardUnknown()

func (*ExchangeRateSet) XXX_Marshal

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

func (*ExchangeRateSet) XXX_Merge

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

func (*ExchangeRateSet) XXX_Size

func (m *ExchangeRateSet) XXX_Size() int

func (*ExchangeRateSet) XXX_Unmarshal

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

type FeeComponents

type FeeComponents struct {
	Min                  int64    `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`
	Max                  int64    `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	Constant             int64    `protobuf:"varint,3,opt,name=constant,proto3" json:"constant,omitempty"`
	Bpt                  int64    `protobuf:"varint,4,opt,name=bpt,proto3" json:"bpt,omitempty"`
	Vpt                  int64    `protobuf:"varint,5,opt,name=vpt,proto3" json:"vpt,omitempty"`
	Rbh                  int64    `protobuf:"varint,6,opt,name=rbh,proto3" json:"rbh,omitempty"`
	Sbh                  int64    `protobuf:"varint,7,opt,name=sbh,proto3" json:"sbh,omitempty"`
	Gas                  int64    `protobuf:"varint,8,opt,name=gas,proto3" json:"gas,omitempty"`
	Tv                   int64    `protobuf:"varint,9,opt,name=tv,proto3" json:"tv,omitempty"`
	Bpr                  int64    `protobuf:"varint,10,opt,name=bpr,proto3" json:"bpr,omitempty"`
	Sbpr                 int64    `protobuf:"varint,11,opt,name=sbpr,proto3" json:"sbpr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FeeComponents) Descriptor

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

func (*FeeComponents) GetBpr

func (m *FeeComponents) GetBpr() int64

func (*FeeComponents) GetBpt

func (m *FeeComponents) GetBpt() int64

func (*FeeComponents) GetConstant

func (m *FeeComponents) GetConstant() int64

func (*FeeComponents) GetGas

func (m *FeeComponents) GetGas() int64

func (*FeeComponents) GetMax

func (m *FeeComponents) GetMax() int64

func (*FeeComponents) GetMin

func (m *FeeComponents) GetMin() int64

func (*FeeComponents) GetRbh

func (m *FeeComponents) GetRbh() int64

func (*FeeComponents) GetSbh

func (m *FeeComponents) GetSbh() int64

func (*FeeComponents) GetSbpr

func (m *FeeComponents) GetSbpr() int64

func (*FeeComponents) GetTv

func (m *FeeComponents) GetTv() int64

func (*FeeComponents) GetVpt

func (m *FeeComponents) GetVpt() int64

func (*FeeComponents) ProtoMessage

func (*FeeComponents) ProtoMessage()

func (*FeeComponents) Reset

func (m *FeeComponents) Reset()

func (*FeeComponents) String

func (m *FeeComponents) String() string

func (*FeeComponents) XXX_DiscardUnknown

func (m *FeeComponents) XXX_DiscardUnknown()

func (*FeeComponents) XXX_Marshal

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

func (*FeeComponents) XXX_Merge

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

func (*FeeComponents) XXX_Size

func (m *FeeComponents) XXX_Size() int

func (*FeeComponents) XXX_Unmarshal

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

type FeeData

type FeeData struct {
	Nodedata             *FeeComponents `protobuf:"bytes,1,opt,name=nodedata,proto3" json:"nodedata,omitempty"`
	Networkdata          *FeeComponents `protobuf:"bytes,2,opt,name=networkdata,proto3" json:"networkdata,omitempty"`
	Servicedata          *FeeComponents `protobuf:"bytes,3,opt,name=servicedata,proto3" json:"servicedata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

The total fees charged for a transaction. It contains three parts namely node data, network data and service data

func (*FeeData) Descriptor

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

func (*FeeData) GetNetworkdata

func (m *FeeData) GetNetworkdata() *FeeComponents

func (*FeeData) GetNodedata

func (m *FeeData) GetNodedata() *FeeComponents

func (*FeeData) GetServicedata

func (m *FeeData) GetServicedata() *FeeComponents

func (*FeeData) ProtoMessage

func (*FeeData) ProtoMessage()

func (*FeeData) Reset

func (m *FeeData) Reset()

func (*FeeData) String

func (m *FeeData) String() string

func (*FeeData) XXX_DiscardUnknown

func (m *FeeData) XXX_DiscardUnknown()

func (*FeeData) XXX_Marshal

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

func (*FeeData) XXX_Merge

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

func (*FeeData) XXX_Size

func (m *FeeData) XXX_Size() int

func (*FeeData) XXX_Unmarshal

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

type FeeSchedule

type FeeSchedule struct {
	TransactionFeeSchedule []*TransactionFeeSchedule `protobuf:"bytes,1,rep,name=transactionFeeSchedule,proto3" json:"transactionFeeSchedule,omitempty"`
	ExpiryTime             *TimestampSeconds         `protobuf:"bytes,2,opt,name=expiryTime,proto3" json:"expiryTime,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}                  `json:"-"`
	XXX_unrecognized       []byte                    `json:"-"`
	XXX_sizecache          int32                     `json:"-"`
}

The fee schedule for a specific hedera functionality and the time period this fee schedule will expire

func (*FeeSchedule) Descriptor

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

func (*FeeSchedule) GetExpiryTime

func (m *FeeSchedule) GetExpiryTime() *TimestampSeconds

func (*FeeSchedule) GetTransactionFeeSchedule

func (m *FeeSchedule) GetTransactionFeeSchedule() []*TransactionFeeSchedule

func (*FeeSchedule) ProtoMessage

func (*FeeSchedule) ProtoMessage()

func (*FeeSchedule) Reset

func (m *FeeSchedule) Reset()

func (*FeeSchedule) String

func (m *FeeSchedule) String() string

func (*FeeSchedule) XXX_DiscardUnknown

func (m *FeeSchedule) XXX_DiscardUnknown()

func (*FeeSchedule) XXX_Marshal

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

func (*FeeSchedule) XXX_Merge

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

func (*FeeSchedule) XXX_Size

func (m *FeeSchedule) XXX_Size() int

func (*FeeSchedule) XXX_Unmarshal

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

type FileAppendTransactionBody

type FileAppendTransactionBody struct {
	FileID               *FileID  `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"`
	Contents             []byte   `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Append the given contents to the end of the file. If a file is too big to create with a single FileCreateTransaction, then it can be created with the first part of its contents, and then appended multiple times to create the entire file.

func (*FileAppendTransactionBody) Descriptor

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

func (*FileAppendTransactionBody) GetContents

func (m *FileAppendTransactionBody) GetContents() []byte

func (*FileAppendTransactionBody) GetFileID

func (m *FileAppendTransactionBody) GetFileID() *FileID

func (*FileAppendTransactionBody) ProtoMessage

func (*FileAppendTransactionBody) ProtoMessage()

func (*FileAppendTransactionBody) Reset

func (m *FileAppendTransactionBody) Reset()

func (*FileAppendTransactionBody) String

func (m *FileAppendTransactionBody) String() string

func (*FileAppendTransactionBody) XXX_DiscardUnknown

func (m *FileAppendTransactionBody) XXX_DiscardUnknown()

func (*FileAppendTransactionBody) XXX_Marshal

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

func (*FileAppendTransactionBody) XXX_Merge

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

func (*FileAppendTransactionBody) XXX_Size

func (m *FileAppendTransactionBody) XXX_Size() int

func (*FileAppendTransactionBody) XXX_Unmarshal

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

type FileCreateTransactionBody

type FileCreateTransactionBody struct {
	ExpirationTime       *Timestamp `protobuf:"bytes,2,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	Keys                 *KeyList   `protobuf:"bytes,3,opt,name=keys,proto3" json:"keys,omitempty"`
	Contents             []byte     `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`
	ShardID              *ShardID   `protobuf:"bytes,5,opt,name=shardID,proto3" json:"shardID,omitempty"`
	RealmID              *RealmID   `protobuf:"bytes,6,opt,name=realmID,proto3" json:"realmID,omitempty"`
	NewRealmAdminKey     *Key       `protobuf:"bytes,7,opt,name=newRealmAdminKey,proto3" json:"newRealmAdminKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Create a new file, containing the given contents. It is referenced by its FileID, and does not have a filename, so it is important to get the FileID. After the file is created, the FileID for it can be found in the receipt, or retrieved with a GetByKey query, or by asking for a Record of the transaction to be created, and retrieving that.

The file contains the given contents (possibly empty). The file will automatically disappear at the fileExpirationTime, unless its expiration is extended by another transaction before that time. If the file is deleted, then its contents will become empty and it will be marked as deleted until it expires, and then it will cease to exist. See FileGetInfoQuery for more information about files.

The keys field is a list of keys. All the keys on the list must sign to create or modify a file, but only one of them needs to sign in order to delete the file. Each of those "keys" may itself be threshold key containing other keys (including other threshold keys). In other words, the behavior is an AND for create/modify, OR for delete. This is useful for acting as a revocation server. If it is desired to have the behavior be AND for all 3 operations (or OR for all 3), then the list should have only a single Key, which is a threshold key, with N=1 for OR, N=M for AND.

If a file is created without ANY keys in the keys field, the file is immutable ONLY the expirationTime of the file can be changed using FileUpdate API. The file contents or its keys cannot be changed.

An entity (account, file, or smart contract instance) must be created in a particular realm. If the realmID is left null, then a new realm will be created with the given admin key. If a new realm has a null adminKey, then anyone can create/modify/delete entities in that realm. But if an admin key is given, then any transaction to create/modify/delete an entity in that realm must be signed by that key, though anyone can still call functions on smart contract instances that exist in that realm. A realm ceases to exist when everything within it has expired and no longer exists.

The current API ignores shardID, realmID, and newRealmAdminKey, and creates everything in shard 0 and realm 0, with a null key. Future versions of the API will support multiple realms and multiple shards.

func (*FileCreateTransactionBody) Descriptor

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

func (*FileCreateTransactionBody) GetContents

func (m *FileCreateTransactionBody) GetContents() []byte

func (*FileCreateTransactionBody) GetExpirationTime

func (m *FileCreateTransactionBody) GetExpirationTime() *Timestamp

func (*FileCreateTransactionBody) GetKeys

func (m *FileCreateTransactionBody) GetKeys() *KeyList

func (*FileCreateTransactionBody) GetNewRealmAdminKey

func (m *FileCreateTransactionBody) GetNewRealmAdminKey() *Key

func (*FileCreateTransactionBody) GetRealmID

func (m *FileCreateTransactionBody) GetRealmID() *RealmID

func (*FileCreateTransactionBody) GetShardID

func (m *FileCreateTransactionBody) GetShardID() *ShardID

func (*FileCreateTransactionBody) ProtoMessage

func (*FileCreateTransactionBody) ProtoMessage()

func (*FileCreateTransactionBody) Reset

func (m *FileCreateTransactionBody) Reset()

func (*FileCreateTransactionBody) String

func (m *FileCreateTransactionBody) String() string

func (*FileCreateTransactionBody) XXX_DiscardUnknown

func (m *FileCreateTransactionBody) XXX_DiscardUnknown()

func (*FileCreateTransactionBody) XXX_Marshal

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

func (*FileCreateTransactionBody) XXX_Merge

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

func (*FileCreateTransactionBody) XXX_Size

func (m *FileCreateTransactionBody) XXX_Size() int

func (*FileCreateTransactionBody) XXX_Unmarshal

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

type FileDeleteTransactionBody

type FileDeleteTransactionBody struct {
	FileID               *FileID  `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete the given file. After deletion, it will be marked as deleted and will have no contents. But information about it will continue to exist until it expires. A list of keys was given when the file was created. All the keys on that list must sign transactions to create or modify the file, but any single one of them can be used to delete the file. Each "key" on that list may itself be a threshold key containing other keys (including other threshold keys).

func (*FileDeleteTransactionBody) Descriptor

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

func (*FileDeleteTransactionBody) GetFileID

func (m *FileDeleteTransactionBody) GetFileID() *FileID

func (*FileDeleteTransactionBody) ProtoMessage

func (*FileDeleteTransactionBody) ProtoMessage()

func (*FileDeleteTransactionBody) Reset

func (m *FileDeleteTransactionBody) Reset()

func (*FileDeleteTransactionBody) String

func (m *FileDeleteTransactionBody) String() string

func (*FileDeleteTransactionBody) XXX_DiscardUnknown

func (m *FileDeleteTransactionBody) XXX_DiscardUnknown()

func (*FileDeleteTransactionBody) XXX_Marshal

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

func (*FileDeleteTransactionBody) XXX_Merge

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

func (*FileDeleteTransactionBody) XXX_Size

func (m *FileDeleteTransactionBody) XXX_Size() int

func (*FileDeleteTransactionBody) XXX_Unmarshal

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

type FileGetContentsQuery

type FileGetContentsQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	FileID               *FileID      `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get the contents of a file. The content field is empty (no bytes) if the file is empty.

func (*FileGetContentsQuery) Descriptor

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

func (*FileGetContentsQuery) GetFileID

func (m *FileGetContentsQuery) GetFileID() *FileID

func (*FileGetContentsQuery) GetHeader

func (m *FileGetContentsQuery) GetHeader() *QueryHeader

func (*FileGetContentsQuery) ProtoMessage

func (*FileGetContentsQuery) ProtoMessage()

func (*FileGetContentsQuery) Reset

func (m *FileGetContentsQuery) Reset()

func (*FileGetContentsQuery) String

func (m *FileGetContentsQuery) String() string

func (*FileGetContentsQuery) XXX_DiscardUnknown

func (m *FileGetContentsQuery) XXX_DiscardUnknown()

func (*FileGetContentsQuery) XXX_Marshal

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

func (*FileGetContentsQuery) XXX_Merge

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

func (*FileGetContentsQuery) XXX_Size

func (m *FileGetContentsQuery) XXX_Size() int

func (*FileGetContentsQuery) XXX_Unmarshal

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

type FileGetContentsResponse

type FileGetContentsResponse struct {
	Header               *ResponseHeader                       `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	FileContents         *FileGetContentsResponse_FileContents `protobuf:"bytes,2,opt,name=fileContents,proto3" json:"fileContents,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

Response when the client sends the node FileGetContentsQuery

func (*FileGetContentsResponse) Descriptor

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

func (*FileGetContentsResponse) GetFileContents

func (*FileGetContentsResponse) GetHeader

func (m *FileGetContentsResponse) GetHeader() *ResponseHeader

func (*FileGetContentsResponse) ProtoMessage

func (*FileGetContentsResponse) ProtoMessage()

func (*FileGetContentsResponse) Reset

func (m *FileGetContentsResponse) Reset()

func (*FileGetContentsResponse) String

func (m *FileGetContentsResponse) String() string

func (*FileGetContentsResponse) XXX_DiscardUnknown

func (m *FileGetContentsResponse) XXX_DiscardUnknown()

func (*FileGetContentsResponse) XXX_Marshal

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

func (*FileGetContentsResponse) XXX_Merge

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

func (*FileGetContentsResponse) XXX_Size

func (m *FileGetContentsResponse) XXX_Size() int

func (*FileGetContentsResponse) XXX_Unmarshal

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

type FileGetContentsResponse_FileContents

type FileGetContentsResponse_FileContents struct {
	FileID               *FileID  `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	Contents             []byte   `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FileGetContentsResponse_FileContents) Descriptor

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

func (*FileGetContentsResponse_FileContents) GetContents

func (m *FileGetContentsResponse_FileContents) GetContents() []byte

func (*FileGetContentsResponse_FileContents) GetFileID

func (*FileGetContentsResponse_FileContents) ProtoMessage

func (*FileGetContentsResponse_FileContents) ProtoMessage()

func (*FileGetContentsResponse_FileContents) Reset

func (*FileGetContentsResponse_FileContents) String

func (*FileGetContentsResponse_FileContents) XXX_DiscardUnknown

func (m *FileGetContentsResponse_FileContents) XXX_DiscardUnknown()

func (*FileGetContentsResponse_FileContents) XXX_Marshal

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

func (*FileGetContentsResponse_FileContents) XXX_Merge

func (*FileGetContentsResponse_FileContents) XXX_Size

func (*FileGetContentsResponse_FileContents) XXX_Unmarshal

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

type FileGetInfoQuery

type FileGetInfoQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	FileID               *FileID      `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get all of the information about a file, except for its contents. When a file expires, it no longer exists, and there will be no info about it, and the fileInfo field will be blank. If a transaction or smart contract deletes the file, but it has not yet expired, then the fileInfo field will be non-empty, the deleted field will be true, its size will be 0, and its contents will be empty. Note that each file has a FileID, but does not have a filename.

func (*FileGetInfoQuery) Descriptor

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

func (*FileGetInfoQuery) GetFileID

func (m *FileGetInfoQuery) GetFileID() *FileID

func (*FileGetInfoQuery) GetHeader

func (m *FileGetInfoQuery) GetHeader() *QueryHeader

func (*FileGetInfoQuery) ProtoMessage

func (*FileGetInfoQuery) ProtoMessage()

func (*FileGetInfoQuery) Reset

func (m *FileGetInfoQuery) Reset()

func (*FileGetInfoQuery) String

func (m *FileGetInfoQuery) String() string

func (*FileGetInfoQuery) XXX_DiscardUnknown

func (m *FileGetInfoQuery) XXX_DiscardUnknown()

func (*FileGetInfoQuery) XXX_Marshal

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

func (*FileGetInfoQuery) XXX_Merge

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

func (*FileGetInfoQuery) XXX_Size

func (m *FileGetInfoQuery) XXX_Size() int

func (*FileGetInfoQuery) XXX_Unmarshal

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

type FileGetInfoResponse

type FileGetInfoResponse struct {
	Header               *ResponseHeader               `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	FileInfo             *FileGetInfoResponse_FileInfo `protobuf:"bytes,2,opt,name=fileInfo,proto3" json:"fileInfo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

Response when the client sends the node FileGetInfoQuery

func (*FileGetInfoResponse) Descriptor

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

func (*FileGetInfoResponse) GetFileInfo

func (*FileGetInfoResponse) GetHeader

func (m *FileGetInfoResponse) GetHeader() *ResponseHeader

func (*FileGetInfoResponse) ProtoMessage

func (*FileGetInfoResponse) ProtoMessage()

func (*FileGetInfoResponse) Reset

func (m *FileGetInfoResponse) Reset()

func (*FileGetInfoResponse) String

func (m *FileGetInfoResponse) String() string

func (*FileGetInfoResponse) XXX_DiscardUnknown

func (m *FileGetInfoResponse) XXX_DiscardUnknown()

func (*FileGetInfoResponse) XXX_Marshal

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

func (*FileGetInfoResponse) XXX_Merge

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

func (*FileGetInfoResponse) XXX_Size

func (m *FileGetInfoResponse) XXX_Size() int

func (*FileGetInfoResponse) XXX_Unmarshal

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

type FileGetInfoResponse_FileInfo

type FileGetInfoResponse_FileInfo struct {
	FileID               *FileID    `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	Size                 int64      `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	ExpirationTime       *Timestamp `protobuf:"bytes,3,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	Deleted              bool       `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
	Keys                 *KeyList   `protobuf:"bytes,5,opt,name=keys,proto3" json:"keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*FileGetInfoResponse_FileInfo) Descriptor

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

func (*FileGetInfoResponse_FileInfo) GetDeleted

func (m *FileGetInfoResponse_FileInfo) GetDeleted() bool

func (*FileGetInfoResponse_FileInfo) GetExpirationTime

func (m *FileGetInfoResponse_FileInfo) GetExpirationTime() *Timestamp

func (*FileGetInfoResponse_FileInfo) GetFileID

func (m *FileGetInfoResponse_FileInfo) GetFileID() *FileID

func (*FileGetInfoResponse_FileInfo) GetKeys

func (m *FileGetInfoResponse_FileInfo) GetKeys() *KeyList

func (*FileGetInfoResponse_FileInfo) GetSize

func (m *FileGetInfoResponse_FileInfo) GetSize() int64

func (*FileGetInfoResponse_FileInfo) ProtoMessage

func (*FileGetInfoResponse_FileInfo) ProtoMessage()

func (*FileGetInfoResponse_FileInfo) Reset

func (m *FileGetInfoResponse_FileInfo) Reset()

func (*FileGetInfoResponse_FileInfo) String

func (*FileGetInfoResponse_FileInfo) XXX_DiscardUnknown

func (m *FileGetInfoResponse_FileInfo) XXX_DiscardUnknown()

func (*FileGetInfoResponse_FileInfo) XXX_Marshal

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

func (*FileGetInfoResponse_FileInfo) XXX_Merge

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

func (*FileGetInfoResponse_FileInfo) XXX_Size

func (m *FileGetInfoResponse_FileInfo) XXX_Size() int

func (*FileGetInfoResponse_FileInfo) XXX_Unmarshal

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

type FileID

type FileID struct {
	ShardNum             int64    `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	RealmNum             int64    `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`
	FileNum              int64    `protobuf:"varint,3,opt,name=fileNum,proto3" json:"fileNum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The ID for a file

func (*FileID) Descriptor

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

func (*FileID) GetFileNum

func (m *FileID) GetFileNum() int64

func (*FileID) GetRealmNum

func (m *FileID) GetRealmNum() int64

func (*FileID) GetShardNum

func (m *FileID) GetShardNum() int64

func (*FileID) ProtoMessage

func (*FileID) ProtoMessage()

func (*FileID) Reset

func (m *FileID) Reset()

func (*FileID) String

func (m *FileID) String() string

func (*FileID) XXX_DiscardUnknown

func (m *FileID) XXX_DiscardUnknown()

func (*FileID) XXX_Marshal

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

func (*FileID) XXX_Merge

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

func (*FileID) XXX_Size

func (m *FileID) XXX_Size() int

func (*FileID) XXX_Unmarshal

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

type FileServiceClient

type FileServiceClient interface {
	CreateFile(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	UpdateFile(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	DeleteFile(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	AppendContent(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	GetFileContent(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	GetFileInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	SystemDelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	SystemUndelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

FileServiceClient is the client API for FileService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewFileServiceClient

func NewFileServiceClient(cc *grpc.ClientConn) FileServiceClient

type FileServiceServer

FileServiceServer is the server API for FileService service.

type FileUpdateTransactionBody

type FileUpdateTransactionBody struct {
	FileID               *FileID    `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	ExpirationTime       *Timestamp `protobuf:"bytes,2,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	Keys                 *KeyList   `protobuf:"bytes,3,opt,name=keys,proto3" json:"keys,omitempty"`
	Contents             []byte     `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Modify some of the metadata for a file. Any null field is ignored (left unchanged). Any field that is null is left unchanged. If contents is non-null, then the file's contents will be replaced with the given bytes. This transaction must be signed by all the keys for that file. If the transaction is modifying the keys field, then it must be signed by all the keys in both the old list and the new list.

If a file was created without ANY keys in the keys field, ONLY the expirationTime of the file can be changed using this call. The file contents or its keys cannot be changed.

func (*FileUpdateTransactionBody) Descriptor

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

func (*FileUpdateTransactionBody) GetContents

func (m *FileUpdateTransactionBody) GetContents() []byte

func (*FileUpdateTransactionBody) GetExpirationTime

func (m *FileUpdateTransactionBody) GetExpirationTime() *Timestamp

func (*FileUpdateTransactionBody) GetFileID

func (m *FileUpdateTransactionBody) GetFileID() *FileID

func (*FileUpdateTransactionBody) GetKeys

func (m *FileUpdateTransactionBody) GetKeys() *KeyList

func (*FileUpdateTransactionBody) ProtoMessage

func (*FileUpdateTransactionBody) ProtoMessage()

func (*FileUpdateTransactionBody) Reset

func (m *FileUpdateTransactionBody) Reset()

func (*FileUpdateTransactionBody) String

func (m *FileUpdateTransactionBody) String() string

func (*FileUpdateTransactionBody) XXX_DiscardUnknown

func (m *FileUpdateTransactionBody) XXX_DiscardUnknown()

func (*FileUpdateTransactionBody) XXX_Marshal

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

func (*FileUpdateTransactionBody) XXX_Merge

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

func (*FileUpdateTransactionBody) XXX_Size

func (m *FileUpdateTransactionBody) XXX_Size() int

func (*FileUpdateTransactionBody) XXX_Unmarshal

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

type FreezeServiceClient

type FreezeServiceClient interface {
	Freeze(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

FreezeServiceClient is the client API for FreezeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewFreezeServiceClient

func NewFreezeServiceClient(cc *grpc.ClientConn) FreezeServiceClient

type FreezeServiceServer

type FreezeServiceServer interface {
	Freeze(context.Context, *Transaction) (*TransactionResponse, error)
}

FreezeServiceServer is the server API for FreezeService service.

type FreezeTransactionBody

type FreezeTransactionBody struct {
	StartHour            int32    `protobuf:"varint,1,opt,name=startHour,proto3" json:"startHour,omitempty"`
	StartMin             int32    `protobuf:"varint,2,opt,name=startMin,proto3" json:"startMin,omitempty"`
	EndHour              int32    `protobuf:"varint,3,opt,name=endHour,proto3" json:"endHour,omitempty"`
	EndMin               int32    `protobuf:"varint,4,opt,name=endMin,proto3" json:"endMin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Set the freezing period in which the platform will stop creating events and accepting transactions. This is used before safely shut down the platform for maintenance.

func (*FreezeTransactionBody) Descriptor

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

func (*FreezeTransactionBody) GetEndHour

func (m *FreezeTransactionBody) GetEndHour() int32

func (*FreezeTransactionBody) GetEndMin

func (m *FreezeTransactionBody) GetEndMin() int32

func (*FreezeTransactionBody) GetStartHour

func (m *FreezeTransactionBody) GetStartHour() int32

func (*FreezeTransactionBody) GetStartMin

func (m *FreezeTransactionBody) GetStartMin() int32

func (*FreezeTransactionBody) ProtoMessage

func (*FreezeTransactionBody) ProtoMessage()

func (*FreezeTransactionBody) Reset

func (m *FreezeTransactionBody) Reset()

func (*FreezeTransactionBody) String

func (m *FreezeTransactionBody) String() string

func (*FreezeTransactionBody) XXX_DiscardUnknown

func (m *FreezeTransactionBody) XXX_DiscardUnknown()

func (*FreezeTransactionBody) XXX_Marshal

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

func (*FreezeTransactionBody) XXX_Merge

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

func (*FreezeTransactionBody) XXX_Size

func (m *FreezeTransactionBody) XXX_Size() int

func (*FreezeTransactionBody) XXX_Unmarshal

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

type GetByKeyQuery

type GetByKeyQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Key                  *Key         `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get all accounts, claims, files, and smart contract instances whose associated keys include the given Key. The given Key must not be a contractID or a ThresholdKey. This is not yet implemented in the API, but will be in the future.

func (*GetByKeyQuery) Descriptor

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

func (*GetByKeyQuery) GetHeader

func (m *GetByKeyQuery) GetHeader() *QueryHeader

func (*GetByKeyQuery) GetKey

func (m *GetByKeyQuery) GetKey() *Key

func (*GetByKeyQuery) ProtoMessage

func (*GetByKeyQuery) ProtoMessage()

func (*GetByKeyQuery) Reset

func (m *GetByKeyQuery) Reset()

func (*GetByKeyQuery) String

func (m *GetByKeyQuery) String() string

func (*GetByKeyQuery) XXX_DiscardUnknown

func (m *GetByKeyQuery) XXX_DiscardUnknown()

func (*GetByKeyQuery) XXX_Marshal

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

func (*GetByKeyQuery) XXX_Merge

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

func (*GetByKeyQuery) XXX_Size

func (m *GetByKeyQuery) XXX_Size() int

func (*GetByKeyQuery) XXX_Unmarshal

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

type GetByKeyResponse

type GetByKeyResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Entities             []*EntityID     `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Response when the client sends the node GetByKeyQuery

func (*GetByKeyResponse) Descriptor

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

func (*GetByKeyResponse) GetEntities

func (m *GetByKeyResponse) GetEntities() []*EntityID

func (*GetByKeyResponse) GetHeader

func (m *GetByKeyResponse) GetHeader() *ResponseHeader

func (*GetByKeyResponse) ProtoMessage

func (*GetByKeyResponse) ProtoMessage()

func (*GetByKeyResponse) Reset

func (m *GetByKeyResponse) Reset()

func (*GetByKeyResponse) String

func (m *GetByKeyResponse) String() string

func (*GetByKeyResponse) XXX_DiscardUnknown

func (m *GetByKeyResponse) XXX_DiscardUnknown()

func (*GetByKeyResponse) XXX_Marshal

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

func (*GetByKeyResponse) XXX_Merge

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

func (*GetByKeyResponse) XXX_Size

func (m *GetByKeyResponse) XXX_Size() int

func (*GetByKeyResponse) XXX_Unmarshal

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

type GetBySolidityIDQuery

type GetBySolidityIDQuery struct {
	Header               *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	SolidityID           string       `protobuf:"bytes,2,opt,name=solidityID,proto3" json:"solidityID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Get the IDs in the format used by transactions, given the ID in the format used by Solidity. If the Solidity ID is for a smart contract instance, then both the ContractID and associated AccountID will be returned.

func (*GetBySolidityIDQuery) Descriptor

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

func (*GetBySolidityIDQuery) GetHeader

func (m *GetBySolidityIDQuery) GetHeader() *QueryHeader

func (*GetBySolidityIDQuery) GetSolidityID

func (m *GetBySolidityIDQuery) GetSolidityID() string

func (*GetBySolidityIDQuery) ProtoMessage

func (*GetBySolidityIDQuery) ProtoMessage()

func (*GetBySolidityIDQuery) Reset

func (m *GetBySolidityIDQuery) Reset()

func (*GetBySolidityIDQuery) String

func (m *GetBySolidityIDQuery) String() string

func (*GetBySolidityIDQuery) XXX_DiscardUnknown

func (m *GetBySolidityIDQuery) XXX_DiscardUnknown()

func (*GetBySolidityIDQuery) XXX_Marshal

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

func (*GetBySolidityIDQuery) XXX_Merge

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

func (*GetBySolidityIDQuery) XXX_Size

func (m *GetBySolidityIDQuery) XXX_Size() int

func (*GetBySolidityIDQuery) XXX_Unmarshal

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

type GetBySolidityIDResponse

type GetBySolidityIDResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	AccountID            *AccountID      `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	FileID               *FileID         `protobuf:"bytes,3,opt,name=fileID,proto3" json:"fileID,omitempty"`
	ContractID           *ContractID     `protobuf:"bytes,4,opt,name=contractID,proto3" json:"contractID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Response when the client sends the node GetBySolidityIDQuery

func (*GetBySolidityIDResponse) Descriptor

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

func (*GetBySolidityIDResponse) GetAccountID

func (m *GetBySolidityIDResponse) GetAccountID() *AccountID

func (*GetBySolidityIDResponse) GetContractID

func (m *GetBySolidityIDResponse) GetContractID() *ContractID

func (*GetBySolidityIDResponse) GetFileID

func (m *GetBySolidityIDResponse) GetFileID() *FileID

func (*GetBySolidityIDResponse) GetHeader

func (m *GetBySolidityIDResponse) GetHeader() *ResponseHeader

func (*GetBySolidityIDResponse) ProtoMessage

func (*GetBySolidityIDResponse) ProtoMessage()

func (*GetBySolidityIDResponse) Reset

func (m *GetBySolidityIDResponse) Reset()

func (*GetBySolidityIDResponse) String

func (m *GetBySolidityIDResponse) String() string

func (*GetBySolidityIDResponse) XXX_DiscardUnknown

func (m *GetBySolidityIDResponse) XXX_DiscardUnknown()

func (*GetBySolidityIDResponse) XXX_Marshal

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

func (*GetBySolidityIDResponse) XXX_Merge

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

func (*GetBySolidityIDResponse) XXX_Size

func (m *GetBySolidityIDResponse) XXX_Size() int

func (*GetBySolidityIDResponse) XXX_Unmarshal

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

type HederaFunctionality

type HederaFunctionality int32

The functionality provided by hedera hashgraph

const (
	HederaFunctionality_NONE                    HederaFunctionality = 0
	HederaFunctionality_CryptoTransfer          HederaFunctionality = 1
	HederaFunctionality_CryptoUpdate            HederaFunctionality = 2
	HederaFunctionality_CryptoDelete            HederaFunctionality = 3
	HederaFunctionality_CryptoAddClaim          HederaFunctionality = 4
	HederaFunctionality_CryptoDeleteClaim       HederaFunctionality = 5
	HederaFunctionality_ContractCall            HederaFunctionality = 6
	HederaFunctionality_ContractCreate          HederaFunctionality = 7
	HederaFunctionality_ContractUpdate          HederaFunctionality = 8
	HederaFunctionality_FileCreate              HederaFunctionality = 9
	HederaFunctionality_FileAppend              HederaFunctionality = 10
	HederaFunctionality_FileUpdate              HederaFunctionality = 11
	HederaFunctionality_FileDelete              HederaFunctionality = 12
	HederaFunctionality_CryptoGetAccountBalance HederaFunctionality = 13
	HederaFunctionality_CryptoGetAccountRecords HederaFunctionality = 14
	HederaFunctionality_CryptoGetInfo           HederaFunctionality = 15
	HederaFunctionality_ContractCallLocal       HederaFunctionality = 16
	HederaFunctionality_ContractGetInfo         HederaFunctionality = 17
	HederaFunctionality_ContractGetBytecode     HederaFunctionality = 18
	HederaFunctionality_GetBySolidityID         HederaFunctionality = 19
	HederaFunctionality_GetByKey                HederaFunctionality = 20
	HederaFunctionality_CryptoGetClaim          HederaFunctionality = 21
	HederaFunctionality_CryptoGetStakers        HederaFunctionality = 22
	HederaFunctionality_FileGetContents         HederaFunctionality = 23
	HederaFunctionality_FileGetInfo             HederaFunctionality = 24
	HederaFunctionality_TransactionGetRecord    HederaFunctionality = 25
	HederaFunctionality_ContractGetRecords      HederaFunctionality = 26
	HederaFunctionality_CryptoCreate            HederaFunctionality = 27
	HederaFunctionality_SystemDelete            HederaFunctionality = 28
	HederaFunctionality_SystemUndelete          HederaFunctionality = 29
	HederaFunctionality_ContractDelete          HederaFunctionality = 30
	HederaFunctionality_Freeze                  HederaFunctionality = 31
	HederaFunctionality_CreateTransactionRecord HederaFunctionality = 32
	HederaFunctionality_CryptoAccountAutoRenew  HederaFunctionality = 33
	HederaFunctionality_ContractAutoRenew       HederaFunctionality = 34
	HederaFunctionality_getVersion              HederaFunctionality = 35
	HederaFunctionality_TransactionGetReceipt   HederaFunctionality = 36
)

func (HederaFunctionality) EnumDescriptor

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

func (HederaFunctionality) String

func (x HederaFunctionality) String() string

type Key

type Key struct {
	// Types that are valid to be assigned to Key:
	//	*Key_ContractID
	//	*Key_Ed25519
	//	*Key_RSA_3072
	//	*Key_ECDSA_384
	//	*Key_ThresholdKey
	//	*Key_KeyList
	Key                  isKey_Key `protobuf_oneof:"key"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

A Key can be a public key from one of the three supported systems (ed25519, RSA-3072, ECDSA with p384). Or, it can be the ID of a smart contract instance, which is authorized to act as if it had a key. If an account has an ed25519 key associated with it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it. And similarly for RSA and ECDSA.

A Key can be a smart contract ID, which means that smart contract is to authorize operations as if it had signed with a key that it owned. The smart contract doesn't actually have a key, and doesn't actually sign a transaction. But it's as if a virtual transaction were created, and the smart contract signed it with a private key.

A key can be a "threshold key", which means a list of M keys, any N of which must sign in order for the threshold signature to be considered valid. The keys within a threshold signature may themselves be threshold signatures, to allow complex signature requirements.

A Key can be a list of keys. Their use is dependent on context. For example, a Hedera file is created with a list of keys, where all of them must sign a transaction to create or modify the file, but only one of them is needed to sign a transaction to delete the file. So it's a single list that sometimes acts as a 1-of-M threshold key, and sometimes acts as an M-of-M threshold key.

A Key can contain a ThresholdKey or KeyList, which in turn contain a Key, so this mutual recursion would allow nesting arbitrarily deep. A ThresholdKey which contains a list of primitive keys (e.g., ed25519) has 3 levels: ThresholdKey -> KeyList -> Key. A KeyList which contains several primitive keys (e.g., ed25519) has 2 levels: KeyList -> Key. A Key with 2 levels of nested ThresholdKeys has 7 levels: Key -> ThresholdKey -> KeyList -> Key -> ThresholdKey -> KeyList -> Key.

Each Key should not have more than 46 levels, which implies 15 levels of nested ThresholdKeys.

func (*Key) Descriptor

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

func (*Key) GetContractID

func (m *Key) GetContractID() *ContractID

func (*Key) GetECDSA_384

func (m *Key) GetECDSA_384() []byte

func (*Key) GetEd25519

func (m *Key) GetEd25519() []byte

func (*Key) GetKey

func (m *Key) GetKey() isKey_Key

func (*Key) GetKeyList

func (m *Key) GetKeyList() *KeyList

func (*Key) GetRSA_3072

func (m *Key) GetRSA_3072() []byte

func (*Key) GetThresholdKey

func (m *Key) GetThresholdKey() *ThresholdKey

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) String

func (m *Key) String() string

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

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

func (*Key) XXX_Merge

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

func (*Key) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

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

type KeyList

type KeyList struct {
	Keys                 []*Key   `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A list of keys

func (*KeyList) Descriptor

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

func (*KeyList) GetKeys

func (m *KeyList) GetKeys() []*Key

func (*KeyList) ProtoMessage

func (*KeyList) ProtoMessage()

func (*KeyList) Reset

func (m *KeyList) Reset()

func (*KeyList) String

func (m *KeyList) String() string

func (*KeyList) XXX_DiscardUnknown

func (m *KeyList) XXX_DiscardUnknown()

func (*KeyList) XXX_Marshal

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

func (*KeyList) XXX_Merge

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

func (*KeyList) XXX_Size

func (m *KeyList) XXX_Size() int

func (*KeyList) XXX_Unmarshal

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

type Key_ContractID

type Key_ContractID struct {
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3,oneof"`
}

type Key_ECDSA_384

type Key_ECDSA_384 struct {
	ECDSA_384 []byte `protobuf:"bytes,4,opt,name=ECDSA_384,json=ECDSA384,proto3,oneof"`
}

type Key_Ed25519

type Key_Ed25519 struct {
	Ed25519 []byte `protobuf:"bytes,2,opt,name=ed25519,proto3,oneof"`
}

type Key_KeyList

type Key_KeyList struct {
	KeyList *KeyList `protobuf:"bytes,6,opt,name=keyList,proto3,oneof"`
}

type Key_RSA_3072

type Key_RSA_3072 struct {
	RSA_3072 []byte `protobuf:"bytes,3,opt,name=RSA_3072,json=RSA3072,proto3,oneof"`
}

type Key_ThresholdKey

type Key_ThresholdKey struct {
	ThresholdKey *ThresholdKey `protobuf:"bytes,5,opt,name=thresholdKey,proto3,oneof"`
}

type NodeAddress

type NodeAddress struct {
	IpAddress            []byte   `protobuf:"bytes,1,opt,name=ipAddress,proto3" json:"ipAddress,omitempty"`
	Portno               int32    `protobuf:"varint,2,opt,name=portno,proto3" json:"portno,omitempty"`
	Memo                 []byte   `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"`
	RSA_PubKey           string   `protobuf:"bytes,4,opt,name=RSA_PubKey,json=RSAPubKey,proto3" json:"RSA_PubKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The information about a node

func (*NodeAddress) Descriptor

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

func (*NodeAddress) GetIpAddress

func (m *NodeAddress) GetIpAddress() []byte

func (*NodeAddress) GetMemo

func (m *NodeAddress) GetMemo() []byte

func (*NodeAddress) GetPortno

func (m *NodeAddress) GetPortno() int32

func (*NodeAddress) GetRSA_PubKey

func (m *NodeAddress) GetRSA_PubKey() string

func (*NodeAddress) ProtoMessage

func (*NodeAddress) ProtoMessage()

func (*NodeAddress) Reset

func (m *NodeAddress) Reset()

func (*NodeAddress) String

func (m *NodeAddress) String() string

func (*NodeAddress) XXX_DiscardUnknown

func (m *NodeAddress) XXX_DiscardUnknown()

func (*NodeAddress) XXX_Marshal

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

func (*NodeAddress) XXX_Merge

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

func (*NodeAddress) XXX_Size

func (m *NodeAddress) XXX_Size() int

func (*NodeAddress) XXX_Unmarshal

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

type NodeAddressBook

type NodeAddressBook struct {
	NodeAddress          []*NodeAddress `protobuf:"bytes,1,rep,name=nodeAddress,proto3" json:"nodeAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Gives the node addresses in the address book

func (*NodeAddressBook) Descriptor

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

func (*NodeAddressBook) GetNodeAddress

func (m *NodeAddressBook) GetNodeAddress() []*NodeAddress

func (*NodeAddressBook) ProtoMessage

func (*NodeAddressBook) ProtoMessage()

func (*NodeAddressBook) Reset

func (m *NodeAddressBook) Reset()

func (*NodeAddressBook) String

func (m *NodeAddressBook) String() string

func (*NodeAddressBook) XXX_DiscardUnknown

func (m *NodeAddressBook) XXX_DiscardUnknown()

func (*NodeAddressBook) XXX_Marshal

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

func (*NodeAddressBook) XXX_Merge

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

func (*NodeAddressBook) XXX_Size

func (m *NodeAddressBook) XXX_Size() int

func (*NodeAddressBook) XXX_Unmarshal

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

type ProxyStaker

type ProxyStaker struct {
	AccountID            *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
	Amount               int64      `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

information about a single account that is proxy staking

func (*ProxyStaker) Descriptor

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

func (*ProxyStaker) GetAccountID

func (m *ProxyStaker) GetAccountID() *AccountID

func (*ProxyStaker) GetAmount

func (m *ProxyStaker) GetAmount() int64

func (*ProxyStaker) ProtoMessage

func (*ProxyStaker) ProtoMessage()

func (*ProxyStaker) Reset

func (m *ProxyStaker) Reset()

func (*ProxyStaker) String

func (m *ProxyStaker) String() string

func (*ProxyStaker) XXX_DiscardUnknown

func (m *ProxyStaker) XXX_DiscardUnknown()

func (*ProxyStaker) XXX_Marshal

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

func (*ProxyStaker) XXX_Merge

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

func (*ProxyStaker) XXX_Size

func (m *ProxyStaker) XXX_Size() int

func (*ProxyStaker) XXX_Unmarshal

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

type Query

type Query struct {
	// Types that are valid to be assigned to Query:
	//	*Query_GetByKey
	//	*Query_GetBySolidityID
	//	*Query_ContractCallLocal
	//	*Query_ContractGetInfo
	//	*Query_ContractGetBytecode
	//	*Query_ContractGetRecords
	//	*Query_CryptogetAccountBalance
	//	*Query_CryptoGetAccountRecords
	//	*Query_CryptoGetInfo
	//	*Query_CryptoGetClaim
	//	*Query_CryptoGetProxyStakers
	//	*Query_FileGetContents
	//	*Query_FileGetInfo
	//	*Query_TransactionGetReceipt
	//	*Query_TransactionGetRecord
	//	*Query_TransactionGetFastRecord
	//	*Query_ConsensusGetTopicInfo
	Query                isQuery_Query `protobuf_oneof:"query"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

A single query, which is sent from the client to the node. This includes all possible queries. Each Query should not have more than 50 levels.

func (*Query) Descriptor

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

func (*Query) GetConsensusGetTopicInfo

func (m *Query) GetConsensusGetTopicInfo() *ConsensusGetTopicInfoQuery

func (*Query) GetContractCallLocal

func (m *Query) GetContractCallLocal() *ContractCallLocalQuery

func (*Query) GetContractGetBytecode

func (m *Query) GetContractGetBytecode() *ContractGetBytecodeQuery

func (*Query) GetContractGetInfo

func (m *Query) GetContractGetInfo() *ContractGetInfoQuery

func (*Query) GetContractGetRecords

func (m *Query) GetContractGetRecords() *ContractGetRecordsQuery

func (*Query) GetCryptoGetAccountRecords

func (m *Query) GetCryptoGetAccountRecords() *CryptoGetAccountRecordsQuery

func (*Query) GetCryptoGetClaim

func (m *Query) GetCryptoGetClaim() *CryptoGetClaimQuery

func (*Query) GetCryptoGetInfo

func (m *Query) GetCryptoGetInfo() *CryptoGetInfoQuery

func (*Query) GetCryptoGetProxyStakers

func (m *Query) GetCryptoGetProxyStakers() *CryptoGetStakersQuery

func (*Query) GetCryptogetAccountBalance

func (m *Query) GetCryptogetAccountBalance() *CryptoGetAccountBalanceQuery

func (*Query) GetFileGetContents

func (m *Query) GetFileGetContents() *FileGetContentsQuery

func (*Query) GetFileGetInfo

func (m *Query) GetFileGetInfo() *FileGetInfoQuery

func (*Query) GetGetByKey

func (m *Query) GetGetByKey() *GetByKeyQuery

func (*Query) GetGetBySolidityID

func (m *Query) GetGetBySolidityID() *GetBySolidityIDQuery

func (*Query) GetQuery

func (m *Query) GetQuery() isQuery_Query

func (*Query) GetTransactionGetFastRecord

func (m *Query) GetTransactionGetFastRecord() *TransactionGetFastRecordQuery

func (*Query) GetTransactionGetReceipt

func (m *Query) GetTransactionGetReceipt() *TransactionGetReceiptQuery

func (*Query) GetTransactionGetRecord

func (m *Query) GetTransactionGetRecord() *TransactionGetRecordQuery

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) Reset

func (m *Query) Reset()

func (*Query) String

func (m *Query) String() string

func (*Query) XXX_DiscardUnknown

func (m *Query) XXX_DiscardUnknown()

func (*Query) XXX_Marshal

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

func (*Query) XXX_Merge

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

func (*Query) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Query) XXX_Size

func (m *Query) XXX_Size() int

func (*Query) XXX_Unmarshal

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

type QueryHeader

type QueryHeader struct {
	Payment              *Transaction `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
	ResponseType         ResponseType `protobuf:"varint,2,opt,name=responseType,proto3,enum=proto.ResponseType" json:"responseType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Each query from the client to the node will contain the QueryHeader, which gives the requested response type, and includes a payment for the response. It will sometimes leave payment blank: it is blank for TransactionGetReceiptQuery. It can also be left blank when the responseType is costAnswer or costAnswerStateProof. But it needs to be filled in for all other cases. The idea is that an answer that is only a few bytes (or that was paid for earlier) can be given for free. But if the answer is something that requires many bytes or much computation (like a state proof), then it should be paid for.

func (*QueryHeader) Descriptor

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

func (*QueryHeader) GetPayment

func (m *QueryHeader) GetPayment() *Transaction

func (*QueryHeader) GetResponseType

func (m *QueryHeader) GetResponseType() ResponseType

func (*QueryHeader) ProtoMessage

func (*QueryHeader) ProtoMessage()

func (*QueryHeader) Reset

func (m *QueryHeader) Reset()

func (*QueryHeader) String

func (m *QueryHeader) String() string

func (*QueryHeader) XXX_DiscardUnknown

func (m *QueryHeader) XXX_DiscardUnknown()

func (*QueryHeader) XXX_Marshal

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

func (*QueryHeader) XXX_Merge

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

func (*QueryHeader) XXX_Size

func (m *QueryHeader) XXX_Size() int

func (*QueryHeader) XXX_Unmarshal

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

type Query_ConsensusGetTopicInfo

type Query_ConsensusGetTopicInfo struct {
	ConsensusGetTopicInfo *ConsensusGetTopicInfoQuery `protobuf:"bytes,50,opt,name=consensusGetTopicInfo,proto3,oneof"`
}

type Query_ContractCallLocal

type Query_ContractCallLocal struct {
	ContractCallLocal *ContractCallLocalQuery `protobuf:"bytes,3,opt,name=contractCallLocal,proto3,oneof"`
}

type Query_ContractGetBytecode

type Query_ContractGetBytecode struct {
	ContractGetBytecode *ContractGetBytecodeQuery `protobuf:"bytes,5,opt,name=contractGetBytecode,proto3,oneof"`
}

type Query_ContractGetInfo

type Query_ContractGetInfo struct {
	ContractGetInfo *ContractGetInfoQuery `protobuf:"bytes,4,opt,name=contractGetInfo,proto3,oneof"`
}

type Query_ContractGetRecords

type Query_ContractGetRecords struct {
	ContractGetRecords *ContractGetRecordsQuery `protobuf:"bytes,6,opt,name=ContractGetRecords,proto3,oneof"`
}

type Query_CryptoGetAccountRecords

type Query_CryptoGetAccountRecords struct {
	CryptoGetAccountRecords *CryptoGetAccountRecordsQuery `protobuf:"bytes,8,opt,name=cryptoGetAccountRecords,proto3,oneof"`
}

type Query_CryptoGetClaim

type Query_CryptoGetClaim struct {
	CryptoGetClaim *CryptoGetClaimQuery `protobuf:"bytes,10,opt,name=cryptoGetClaim,proto3,oneof"`
}

type Query_CryptoGetInfo

type Query_CryptoGetInfo struct {
	CryptoGetInfo *CryptoGetInfoQuery `protobuf:"bytes,9,opt,name=cryptoGetInfo,proto3,oneof"`
}

type Query_CryptoGetProxyStakers

type Query_CryptoGetProxyStakers struct {
	CryptoGetProxyStakers *CryptoGetStakersQuery `protobuf:"bytes,11,opt,name=cryptoGetProxyStakers,proto3,oneof"`
}

type Query_CryptogetAccountBalance

type Query_CryptogetAccountBalance struct {
	CryptogetAccountBalance *CryptoGetAccountBalanceQuery `protobuf:"bytes,7,opt,name=cryptogetAccountBalance,proto3,oneof"`
}

type Query_FileGetContents

type Query_FileGetContents struct {
	FileGetContents *FileGetContentsQuery `protobuf:"bytes,12,opt,name=fileGetContents,proto3,oneof"`
}

type Query_FileGetInfo

type Query_FileGetInfo struct {
	FileGetInfo *FileGetInfoQuery `protobuf:"bytes,13,opt,name=fileGetInfo,proto3,oneof"`
}

type Query_GetByKey

type Query_GetByKey struct {
	GetByKey *GetByKeyQuery `protobuf:"bytes,1,opt,name=getByKey,proto3,oneof"`
}

type Query_GetBySolidityID

type Query_GetBySolidityID struct {
	GetBySolidityID *GetBySolidityIDQuery `protobuf:"bytes,2,opt,name=getBySolidityID,proto3,oneof"`
}

type Query_TransactionGetFastRecord

type Query_TransactionGetFastRecord struct {
	TransactionGetFastRecord *TransactionGetFastRecordQuery `protobuf:"bytes,16,opt,name=transactionGetFastRecord,proto3,oneof"`
}

type Query_TransactionGetReceipt

type Query_TransactionGetReceipt struct {
	TransactionGetReceipt *TransactionGetReceiptQuery `protobuf:"bytes,14,opt,name=transactionGetReceipt,proto3,oneof"`
}

type Query_TransactionGetRecord

type Query_TransactionGetRecord struct {
	TransactionGetRecord *TransactionGetRecordQuery `protobuf:"bytes,15,opt,name=transactionGetRecord,proto3,oneof"`
}

type RealmID

type RealmID struct {
	ShardNum             int64    `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	RealmNum             int64    `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The ID for a realm. Within a given shard, every realm has a unique ID. Each account, file, and contract instance belongs to exactly one realm.

func (*RealmID) Descriptor

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

func (*RealmID) GetRealmNum

func (m *RealmID) GetRealmNum() int64

func (*RealmID) GetShardNum

func (m *RealmID) GetShardNum() int64

func (*RealmID) ProtoMessage

func (*RealmID) ProtoMessage()

func (*RealmID) Reset

func (m *RealmID) Reset()

func (*RealmID) String

func (m *RealmID) String() string

func (*RealmID) XXX_DiscardUnknown

func (m *RealmID) XXX_DiscardUnknown()

func (*RealmID) XXX_Marshal

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

func (*RealmID) XXX_Merge

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

func (*RealmID) XXX_Size

func (m *RealmID) XXX_Size() int

func (*RealmID) XXX_Unmarshal

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

type Response

type Response struct {
	// Types that are valid to be assigned to Response:
	//	*Response_GetByKey
	//	*Response_GetBySolidityID
	//	*Response_ContractCallLocal
	//	*Response_ContractGetBytecodeResponse
	//	*Response_ContractGetInfo
	//	*Response_ContractGetRecordsResponse
	//	*Response_CryptogetAccountBalance
	//	*Response_CryptoGetAccountRecords
	//	*Response_CryptoGetInfo
	//	*Response_CryptoGetClaim
	//	*Response_CryptoGetProxyStakers
	//	*Response_FileGetContents
	//	*Response_FileGetInfo
	//	*Response_TransactionGetReceipt
	//	*Response_TransactionGetRecord
	//	*Response_TransactionGetFastRecord
	//	*Response_ConsensusGetTopicInfo
	Response             isResponse_Response `protobuf_oneof:"response"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

A single response, which is returned from the node to the client, after the client sent the node a query. This includes all responses.

func (*Response) Descriptor

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

func (*Response) GetConsensusGetTopicInfo

func (m *Response) GetConsensusGetTopicInfo() *ConsensusGetTopicInfoResponse

func (*Response) GetContractCallLocal

func (m *Response) GetContractCallLocal() *ContractCallLocalResponse

func (*Response) GetContractGetBytecodeResponse

func (m *Response) GetContractGetBytecodeResponse() *ContractGetBytecodeResponse

func (*Response) GetContractGetInfo

func (m *Response) GetContractGetInfo() *ContractGetInfoResponse

func (*Response) GetContractGetRecordsResponse

func (m *Response) GetContractGetRecordsResponse() *ContractGetRecordsResponse

func (*Response) GetCryptoGetAccountRecords

func (m *Response) GetCryptoGetAccountRecords() *CryptoGetAccountRecordsResponse

func (*Response) GetCryptoGetClaim

func (m *Response) GetCryptoGetClaim() *CryptoGetClaimResponse

func (*Response) GetCryptoGetInfo

func (m *Response) GetCryptoGetInfo() *CryptoGetInfoResponse

func (*Response) GetCryptoGetProxyStakers

func (m *Response) GetCryptoGetProxyStakers() *CryptoGetStakersResponse

func (*Response) GetCryptogetAccountBalance

func (m *Response) GetCryptogetAccountBalance() *CryptoGetAccountBalanceResponse

func (*Response) GetFileGetContents

func (m *Response) GetFileGetContents() *FileGetContentsResponse

func (*Response) GetFileGetInfo

func (m *Response) GetFileGetInfo() *FileGetInfoResponse

func (*Response) GetGetByKey

func (m *Response) GetGetByKey() *GetByKeyResponse

func (*Response) GetGetBySolidityID

func (m *Response) GetGetBySolidityID() *GetBySolidityIDResponse

func (*Response) GetResponse

func (m *Response) GetResponse() isResponse_Response

func (*Response) GetTransactionGetFastRecord

func (m *Response) GetTransactionGetFastRecord() *TransactionGetFastRecordResponse

func (*Response) GetTransactionGetReceipt

func (m *Response) GetTransactionGetReceipt() *TransactionGetReceiptResponse

func (*Response) GetTransactionGetRecord

func (m *Response) GetTransactionGetRecord() *TransactionGetRecordResponse

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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

type ResponseCodeEnum

type ResponseCodeEnum int32
const (
	ResponseCodeEnum_OK                                       ResponseCodeEnum = 0
	ResponseCodeEnum_INVALID_TRANSACTION                      ResponseCodeEnum = 1
	ResponseCodeEnum_PAYER_ACCOUNT_NOT_FOUND                  ResponseCodeEnum = 2
	ResponseCodeEnum_INVALID_NODE_ACCOUNT                     ResponseCodeEnum = 3
	ResponseCodeEnum_TRANSACTION_EXPIRED                      ResponseCodeEnum = 4
	ResponseCodeEnum_INVALID_TRANSACTION_START                ResponseCodeEnum = 5
	ResponseCodeEnum_INVALID_TRANSACTION_DURATION             ResponseCodeEnum = 6
	ResponseCodeEnum_INVALID_SIGNATURE                        ResponseCodeEnum = 7
	ResponseCodeEnum_MEMO_TOO_LONG                            ResponseCodeEnum = 8
	ResponseCodeEnum_INSUFFICIENT_TX_FEE                      ResponseCodeEnum = 9
	ResponseCodeEnum_INSUFFICIENT_PAYER_BALANCE               ResponseCodeEnum = 10
	ResponseCodeEnum_DUPLICATE_TRANSACTION                    ResponseCodeEnum = 11
	ResponseCodeEnum_BUSY                                     ResponseCodeEnum = 12
	ResponseCodeEnum_NOT_SUPPORTED                            ResponseCodeEnum = 13
	ResponseCodeEnum_INVALID_FILE_ID                          ResponseCodeEnum = 14
	ResponseCodeEnum_INVALID_ACCOUNT_ID                       ResponseCodeEnum = 15
	ResponseCodeEnum_INVALID_CONTRACT_ID                      ResponseCodeEnum = 16
	ResponseCodeEnum_INVALID_TRANSACTION_ID                   ResponseCodeEnum = 17
	ResponseCodeEnum_RECEIPT_NOT_FOUND                        ResponseCodeEnum = 18
	ResponseCodeEnum_RECORD_NOT_FOUND                         ResponseCodeEnum = 19
	ResponseCodeEnum_INVALID_SOLIDITY_ID                      ResponseCodeEnum = 20
	ResponseCodeEnum_UNKNOWN                                  ResponseCodeEnum = 21
	ResponseCodeEnum_SUCCESS                                  ResponseCodeEnum = 22
	ResponseCodeEnum_FAIL_INVALID                             ResponseCodeEnum = 23
	ResponseCodeEnum_FAIL_FEE                                 ResponseCodeEnum = 24
	ResponseCodeEnum_FAIL_BALANCE                             ResponseCodeEnum = 25
	ResponseCodeEnum_KEY_REQUIRED                             ResponseCodeEnum = 26
	ResponseCodeEnum_BAD_ENCODING                             ResponseCodeEnum = 27
	ResponseCodeEnum_INSUFFICIENT_ACCOUNT_BALANCE             ResponseCodeEnum = 28
	ResponseCodeEnum_INVALID_SOLIDITY_ADDRESS                 ResponseCodeEnum = 29
	ResponseCodeEnum_INSUFFICIENT_GAS                         ResponseCodeEnum = 30
	ResponseCodeEnum_CONTRACT_SIZE_LIMIT_EXCEEDED             ResponseCodeEnum = 31
	ResponseCodeEnum_LOCAL_CALL_MODIFICATION_EXCEPTION        ResponseCodeEnum = 32
	ResponseCodeEnum_CONTRACT_REVERT_EXECUTED                 ResponseCodeEnum = 33
	ResponseCodeEnum_CONTRACT_EXECUTION_EXCEPTION             ResponseCodeEnum = 34
	ResponseCodeEnum_INVALID_RECEIVING_NODE_ACCOUNT           ResponseCodeEnum = 35
	ResponseCodeEnum_MISSING_QUERY_HEADER                     ResponseCodeEnum = 36
	ResponseCodeEnum_ACCOUNT_UPDATE_FAILED                    ResponseCodeEnum = 37
	ResponseCodeEnum_INVALID_KEY_ENCODING                     ResponseCodeEnum = 38
	ResponseCodeEnum_NULL_SOLIDITY_ADDRESS                    ResponseCodeEnum = 39
	ResponseCodeEnum_CONTRACT_UPDATE_FAILED                   ResponseCodeEnum = 40
	ResponseCodeEnum_INVALID_QUERY_HEADER                     ResponseCodeEnum = 41
	ResponseCodeEnum_INVALID_FEE_SUBMITTED                    ResponseCodeEnum = 42
	ResponseCodeEnum_INVALID_PAYER_SIGNATURE                  ResponseCodeEnum = 43
	ResponseCodeEnum_KEY_NOT_PROVIDED                         ResponseCodeEnum = 44
	ResponseCodeEnum_INVALID_EXPIRATION_TIME                  ResponseCodeEnum = 45
	ResponseCodeEnum_NO_WACL_KEY                              ResponseCodeEnum = 46
	ResponseCodeEnum_FILE_CONTENT_EMPTY                       ResponseCodeEnum = 47
	ResponseCodeEnum_INVALID_ACCOUNT_AMOUNTS                  ResponseCodeEnum = 48
	ResponseCodeEnum_EMPTY_TRANSACTION_BODY                   ResponseCodeEnum = 49
	ResponseCodeEnum_INVALID_TRANSACTION_BODY                 ResponseCodeEnum = 50
	ResponseCodeEnum_INVALID_SIGNATURE_TYPE_MISMATCHING_KEY   ResponseCodeEnum = 51
	ResponseCodeEnum_INVALID_SIGNATURE_COUNT_MISMATCHING_KEY  ResponseCodeEnum = 52
	ResponseCodeEnum_EMPTY_CLAIM_BODY                         ResponseCodeEnum = 53
	ResponseCodeEnum_EMPTY_CLAIM_HASH                         ResponseCodeEnum = 54
	ResponseCodeEnum_EMPTY_CLAIM_KEYS                         ResponseCodeEnum = 55
	ResponseCodeEnum_INVALID_CLAIM_HASH_SIZE                  ResponseCodeEnum = 56
	ResponseCodeEnum_EMPTY_QUERY_BODY                         ResponseCodeEnum = 57
	ResponseCodeEnum_EMPTY_CLAIM_QUERY                        ResponseCodeEnum = 58
	ResponseCodeEnum_CLAIM_NOT_FOUND                          ResponseCodeEnum = 59
	ResponseCodeEnum_ACCOUNT_ID_DOES_NOT_EXIST                ResponseCodeEnum = 60
	ResponseCodeEnum_CLAIM_ALREADY_EXISTS                     ResponseCodeEnum = 61
	ResponseCodeEnum_INVALID_FILE_WACL                        ResponseCodeEnum = 62
	ResponseCodeEnum_SERIALIZATION_FAILED                     ResponseCodeEnum = 63
	ResponseCodeEnum_TRANSACTION_OVERSIZE                     ResponseCodeEnum = 64
	ResponseCodeEnum_TRANSACTION_TOO_MANY_LAYERS              ResponseCodeEnum = 65
	ResponseCodeEnum_CONTRACT_DELETED                         ResponseCodeEnum = 66
	ResponseCodeEnum_PLATFORM_NOT_ACTIVE                      ResponseCodeEnum = 67
	ResponseCodeEnum_KEY_PREFIX_MISMATCH                      ResponseCodeEnum = 68
	ResponseCodeEnum_PLATFORM_TRANSACTION_NOT_CREATED         ResponseCodeEnum = 69
	ResponseCodeEnum_INVALID_RENEWAL_PERIOD                   ResponseCodeEnum = 70
	ResponseCodeEnum_INVALID_PAYER_ACCOUNT_ID                 ResponseCodeEnum = 71
	ResponseCodeEnum_ACCOUNT_DELETED                          ResponseCodeEnum = 72
	ResponseCodeEnum_FILE_DELETED                             ResponseCodeEnum = 73
	ResponseCodeEnum_ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS      ResponseCodeEnum = 74
	ResponseCodeEnum_SETTING_NEGATIVE_ACCOUNT_BALANCE         ResponseCodeEnum = 75
	ResponseCodeEnum_OBTAINER_REQUIRED                        ResponseCodeEnum = 76
	ResponseCodeEnum_OBTAINER_SAME_CONTRACT_ID                ResponseCodeEnum = 77
	ResponseCodeEnum_OBTAINER_DOES_NOT_EXIST                  ResponseCodeEnum = 78
	ResponseCodeEnum_MODIFYING_IMMUTABLE_CONTRACT             ResponseCodeEnum = 79
	ResponseCodeEnum_FILE_SYSTEM_EXCEPTION                    ResponseCodeEnum = 80
	ResponseCodeEnum_AUTORENEW_DURATION_NOT_IN_RANGE          ResponseCodeEnum = 81
	ResponseCodeEnum_ERROR_DECODING_BYTESTRING                ResponseCodeEnum = 82
	ResponseCodeEnum_CONTRACT_FILE_EMPTY                      ResponseCodeEnum = 83
	ResponseCodeEnum_CONTRACT_BYTECODE_EMPTY                  ResponseCodeEnum = 84
	ResponseCodeEnum_INVALID_INITIAL_BALANCE                  ResponseCodeEnum = 85
	ResponseCodeEnum_INVALID_RECEIVE_RECORD_THRESHOLD         ResponseCodeEnum = 86
	ResponseCodeEnum_INVALID_SEND_RECORD_THRESHOLD            ResponseCodeEnum = 87
	ResponseCodeEnum_ACCOUNT_IS_NOT_GENESIS_ACCOUNT           ResponseCodeEnum = 88
	ResponseCodeEnum_PAYER_ACCOUNT_UNAUTHORIZED               ResponseCodeEnum = 89
	ResponseCodeEnum_INVALID_FREEZE_TRANSACTION_BODY          ResponseCodeEnum = 90
	ResponseCodeEnum_FREEZE_TRANSACTION_BODY_NOT_FOUND        ResponseCodeEnum = 91
	ResponseCodeEnum_TRANSFER_LIST_SIZE_LIMIT_EXCEEDED        ResponseCodeEnum = 92
	ResponseCodeEnum_RESULT_SIZE_LIMIT_EXCEEDED               ResponseCodeEnum = 93
	ResponseCodeEnum_NOT_SPECIAL_ACCOUNT                      ResponseCodeEnum = 94
	ResponseCodeEnum_CONTRACT_NEGATIVE_GAS                    ResponseCodeEnum = 95
	ResponseCodeEnum_CONTRACT_NEGATIVE_VALUE                  ResponseCodeEnum = 96
	ResponseCodeEnum_INVALID_FEE_FILE                         ResponseCodeEnum = 97
	ResponseCodeEnum_INVALID_EXCHANGE_RATE_FILE               ResponseCodeEnum = 98
	ResponseCodeEnum_INSUFFICIENT_LOCAL_CALL_GAS              ResponseCodeEnum = 99
	ResponseCodeEnum_ENTITY_NOT_ALLOWED_TO_DELETE             ResponseCodeEnum = 100
	ResponseCodeEnum_AUTHORIZATION_FAILED                     ResponseCodeEnum = 101
	ResponseCodeEnum_FILE_UPLOADED_PROTO_INVALID              ResponseCodeEnum = 102
	ResponseCodeEnum_FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK    ResponseCodeEnum = 103
	ResponseCodeEnum_FEE_SCHEDULE_FILE_PART_UPLOADED          ResponseCodeEnum = 104
	ResponseCodeEnum_EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED      ResponseCodeEnum = 105
	ResponseCodeEnum_MAX_CONTRACT_STORAGE_EXCEEDED            ResponseCodeEnum = 106
	ResponseCodeEnum_TRANSAFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT ResponseCodeEnum = 107
	ResponseCodeEnum_TOTAL_LEDGER_BALANCE_INVALID             ResponseCodeEnum = 108
	ResponseCodeEnum_EXPIRATION_REDUCTION_NOT_ALLOWED         ResponseCodeEnum = 110
	ResponseCodeEnum_MAX_GAS_LIMIT_EXCEEDED                   ResponseCodeEnum = 111
	ResponseCodeEnum_MAX_FILE_SIZE_EXCEEDED                   ResponseCodeEnum = 112
)

func (ResponseCodeEnum) EnumDescriptor

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

func (ResponseCodeEnum) String

func (x ResponseCodeEnum) String() string

type ResponseHeader

type ResponseHeader struct {
	NodeTransactionPrecheckCode ResponseCodeEnum `` /* 136-byte string literal not displayed */
	ResponseType                ResponseType     `protobuf:"varint,2,opt,name=responseType,proto3,enum=proto.ResponseType" json:"responseType,omitempty"`
	Cost                        uint64           `protobuf:"varint,3,opt,name=cost,proto3" json:"cost,omitempty"`
	StateProof                  []byte           `protobuf:"bytes,4,opt,name=stateProof,proto3" json:"stateProof,omitempty"`
	XXX_NoUnkeyedLiteral        struct{}         `json:"-"`
	XXX_unrecognized            []byte           `json:"-"`
	XXX_sizecache               int32            `json:"-"`
}

Every query receives a response containing the QueryResponseHeader. Either or both of the cost and stateProof fields may be blank, if the responseType didn't ask for the cost or stateProof.

func (*ResponseHeader) Descriptor

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

func (*ResponseHeader) GetCost

func (m *ResponseHeader) GetCost() uint64

func (*ResponseHeader) GetNodeTransactionPrecheckCode

func (m *ResponseHeader) GetNodeTransactionPrecheckCode() ResponseCodeEnum

func (*ResponseHeader) GetResponseType

func (m *ResponseHeader) GetResponseType() ResponseType

func (*ResponseHeader) GetStateProof

func (m *ResponseHeader) GetStateProof() []byte

func (*ResponseHeader) ProtoMessage

func (*ResponseHeader) ProtoMessage()

func (*ResponseHeader) Reset

func (m *ResponseHeader) Reset()

func (*ResponseHeader) String

func (m *ResponseHeader) String() string

func (*ResponseHeader) XXX_DiscardUnknown

func (m *ResponseHeader) XXX_DiscardUnknown()

func (*ResponseHeader) XXX_Marshal

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

func (*ResponseHeader) XXX_Merge

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

func (*ResponseHeader) XXX_Size

func (m *ResponseHeader) XXX_Size() int

func (*ResponseHeader) XXX_Unmarshal

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

type ResponseType

type ResponseType int32

The client uses the ResponseType to request that the node send it just the answer, or both the answer and a state proof. It can also ask for just the cost for getting the answer or both. If the payment in the query fails the precheck, then the response may have some fields blank. The state proof is only available for some types of information. It is available for a Record, but not a receipt. It is available for the information in each kind of *GetInfo request.

const (
	ResponseType_ANSWER_ONLY             ResponseType = 0
	ResponseType_ANSWER_STATE_PROOF      ResponseType = 1
	ResponseType_COST_ANSWER             ResponseType = 2
	ResponseType_COST_ANSWER_STATE_PROOF ResponseType = 3
)

func (ResponseType) EnumDescriptor

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

func (ResponseType) String

func (x ResponseType) String() string

type Response_ConsensusGetTopicInfo

type Response_ConsensusGetTopicInfo struct {
	ConsensusGetTopicInfo *ConsensusGetTopicInfoResponse `protobuf:"bytes,150,opt,name=consensusGetTopicInfo,proto3,oneof"`
}

type Response_ContractCallLocal

type Response_ContractCallLocal struct {
	ContractCallLocal *ContractCallLocalResponse `protobuf:"bytes,3,opt,name=contractCallLocal,proto3,oneof"`
}

type Response_ContractGetBytecodeResponse

type Response_ContractGetBytecodeResponse struct {
	ContractGetBytecodeResponse *ContractGetBytecodeResponse `protobuf:"bytes,5,opt,name=contractGetBytecodeResponse,proto3,oneof"`
}

type Response_ContractGetInfo

type Response_ContractGetInfo struct {
	ContractGetInfo *ContractGetInfoResponse `protobuf:"bytes,4,opt,name=contractGetInfo,proto3,oneof"`
}

type Response_ContractGetRecordsResponse

type Response_ContractGetRecordsResponse struct {
	ContractGetRecordsResponse *ContractGetRecordsResponse `protobuf:"bytes,6,opt,name=contractGetRecordsResponse,proto3,oneof"`
}

type Response_CryptoGetAccountRecords

type Response_CryptoGetAccountRecords struct {
	CryptoGetAccountRecords *CryptoGetAccountRecordsResponse `protobuf:"bytes,8,opt,name=cryptoGetAccountRecords,proto3,oneof"`
}

type Response_CryptoGetClaim

type Response_CryptoGetClaim struct {
	CryptoGetClaim *CryptoGetClaimResponse `protobuf:"bytes,10,opt,name=cryptoGetClaim,proto3,oneof"`
}

type Response_CryptoGetInfo

type Response_CryptoGetInfo struct {
	CryptoGetInfo *CryptoGetInfoResponse `protobuf:"bytes,9,opt,name=cryptoGetInfo,proto3,oneof"`
}

type Response_CryptoGetProxyStakers

type Response_CryptoGetProxyStakers struct {
	CryptoGetProxyStakers *CryptoGetStakersResponse `protobuf:"bytes,11,opt,name=cryptoGetProxyStakers,proto3,oneof"`
}

type Response_CryptogetAccountBalance

type Response_CryptogetAccountBalance struct {
	CryptogetAccountBalance *CryptoGetAccountBalanceResponse `protobuf:"bytes,7,opt,name=cryptogetAccountBalance,proto3,oneof"`
}

type Response_FileGetContents

type Response_FileGetContents struct {
	FileGetContents *FileGetContentsResponse `protobuf:"bytes,12,opt,name=fileGetContents,proto3,oneof"`
}

type Response_FileGetInfo

type Response_FileGetInfo struct {
	FileGetInfo *FileGetInfoResponse `protobuf:"bytes,13,opt,name=fileGetInfo,proto3,oneof"`
}

type Response_GetByKey

type Response_GetByKey struct {
	GetByKey *GetByKeyResponse `protobuf:"bytes,1,opt,name=getByKey,proto3,oneof"`
}

type Response_GetBySolidityID

type Response_GetBySolidityID struct {
	GetBySolidityID *GetBySolidityIDResponse `protobuf:"bytes,2,opt,name=getBySolidityID,proto3,oneof"`
}

type Response_TransactionGetFastRecord

type Response_TransactionGetFastRecord struct {
	TransactionGetFastRecord *TransactionGetFastRecordResponse `protobuf:"bytes,16,opt,name=transactionGetFastRecord,proto3,oneof"`
}

type Response_TransactionGetReceipt

type Response_TransactionGetReceipt struct {
	TransactionGetReceipt *TransactionGetReceiptResponse `protobuf:"bytes,14,opt,name=transactionGetReceipt,proto3,oneof"`
}

type Response_TransactionGetRecord

type Response_TransactionGetRecord struct {
	TransactionGetRecord *TransactionGetRecordResponse `protobuf:"bytes,15,opt,name=transactionGetRecord,proto3,oneof"`
}

type ShardID

type ShardID struct {
	ShardNum             int64    `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Each shard has a nonnegative shard number. Each realm within a given shard has a nonnegative realm number (that number might be reused in other shards). And each account, file, and smart contract instance within a given realm has a nonnegative number (which might be reused in other realms). Every account, file, and smart contract instance is within exactly one realm. So a FileID is a triplet of numbers, like 0.1.2 for entity number 2 within realm 1 within shard 0. Each realm maintains a single counter for assigning numbers, so if there is a file with ID 0.1.2, then there won't be an account or smart contract instance with ID 0.1.2.

Everything is partitioned into realms so that each Solidity smart contract can access everything in just a single realm, locking all those entities while it's running, but other smart contracts could potentially run in other realms in parallel. So realms allow Solidity to be parallelized somewhat, even though the language itself assumes everything is serial.

func (*ShardID) Descriptor

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

func (*ShardID) GetShardNum

func (m *ShardID) GetShardNum() int64

func (*ShardID) ProtoMessage

func (*ShardID) ProtoMessage()

func (*ShardID) Reset

func (m *ShardID) Reset()

func (*ShardID) String

func (m *ShardID) String() string

func (*ShardID) XXX_DiscardUnknown

func (m *ShardID) XXX_DiscardUnknown()

func (*ShardID) XXX_Marshal

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

func (*ShardID) XXX_Merge

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

func (*ShardID) XXX_Size

func (m *ShardID) XXX_Size() int

func (*ShardID) XXX_Unmarshal

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

type Signature deprecated

type Signature struct {
	// Types that are valid to be assigned to Signature:
	//	*Signature_Contract
	//	*Signature_Ed25519
	//	*Signature_RSA_3072
	//	*Signature_ECDSA_384
	//	*Signature_ThresholdSignature
	//	*Signature_SignatureList
	Signature            isSignature_Signature `protobuf_oneof:"signature"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

A Signature corresponding to a Key. It is a sequence of bytes holding a public key signature from one of the three supported systems (ed25519, RSA-3072, ECDSA with p384). Or, it can be a list of signatures corresponding to a single threshold key. Or, it can be the ID of a smart contract instance, which is authorized to act as if it had a key. If an account has an ed25519 key associated with it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it. If it has a smart contract ID associated with it, then that smart contract is allowed to transfer cryptocurrency out of it. The smart contract doesn't actually have a key, and doesn't actually sign a transaction. But it's as if a virtual transaction were created, and the smart contract signed it with a private key. A key can also be a "threshold key", which means a list of M keys, any N of which must sign in order for the threshold signature to be considered valid. The keys within a threshold signature may themselves be threshold signatures, to allow complex signature requirements (this nesting is not supported in the currently, but will be supported in a future version of API). If a Signature message is missing the "signature" field, then this is considered to be a null signature. That is useful in cases such as threshold signatures, where some of the signatures can be null. The definition of Key uses mutual recursion, so it allows nesting that is arbitrarily deep. But the current API only accepts Key messages up to 3 levels deep, such as a list of threshold keys, each of which is a list of primitive keys. Therefore, the matching Signature will have the same limitation. This restriction may be relaxed in future versions of the API, to allow deeper nesting. This message is deprecated and succeeded by SignaturePair and SignatureMap messages.

Deprecated: Do not use.

func (*Signature) Descriptor

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

func (*Signature) GetContract

func (m *Signature) GetContract() []byte

func (*Signature) GetECDSA_384

func (m *Signature) GetECDSA_384() []byte

func (*Signature) GetEd25519

func (m *Signature) GetEd25519() []byte

func (*Signature) GetRSA_3072

func (m *Signature) GetRSA_3072() []byte

func (*Signature) GetSignature

func (m *Signature) GetSignature() isSignature_Signature

func (*Signature) GetSignatureList

func (m *Signature) GetSignatureList() *SignatureList

func (*Signature) GetThresholdSignature

func (m *Signature) GetThresholdSignature() *ThresholdSignature

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) Reset

func (m *Signature) Reset()

func (*Signature) String

func (m *Signature) String() string

func (*Signature) XXX_DiscardUnknown

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal

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

func (*Signature) XXX_Merge

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

func (*Signature) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Signature) XXX_Size

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal

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

type SignatureList deprecated

type SignatureList struct {
	Sigs                 []*Signature `protobuf:"bytes,2,rep,name=sigs,proto3" json:"sigs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

The signatures corresponding to a KeyList of the same length. This message is deprecated and succeeded by SignaturePair and SignatureMap messages.

Deprecated: Do not use.

func (*SignatureList) Descriptor

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

func (*SignatureList) GetSigs

func (m *SignatureList) GetSigs() []*Signature

func (*SignatureList) ProtoMessage

func (*SignatureList) ProtoMessage()

func (*SignatureList) Reset

func (m *SignatureList) Reset()

func (*SignatureList) String

func (m *SignatureList) String() string

func (*SignatureList) XXX_DiscardUnknown

func (m *SignatureList) XXX_DiscardUnknown()

func (*SignatureList) XXX_Marshal

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

func (*SignatureList) XXX_Merge

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

func (*SignatureList) XXX_Size

func (m *SignatureList) XXX_Size() int

func (*SignatureList) XXX_Unmarshal

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

type SignatureMap

type SignatureMap struct {
	SigPair              []*SignaturePair `protobuf:"bytes,1,rep,name=sigPair,proto3" json:"sigPair,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

A set of signatures corresponding to every unique public key used to sign a given transaction. If one public key matches more than one prefixes on the signature map, the transaction containing the map will fail immediately with the response code KEY_PREFIX_MISMATCH.

func (*SignatureMap) Descriptor

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

func (*SignatureMap) GetSigPair

func (m *SignatureMap) GetSigPair() []*SignaturePair

func (*SignatureMap) ProtoMessage

func (*SignatureMap) ProtoMessage()

func (*SignatureMap) Reset

func (m *SignatureMap) Reset()

func (*SignatureMap) String

func (m *SignatureMap) String() string

func (*SignatureMap) XXX_DiscardUnknown

func (m *SignatureMap) XXX_DiscardUnknown()

func (*SignatureMap) XXX_Marshal

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

func (*SignatureMap) XXX_Merge

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

func (*SignatureMap) XXX_Size

func (m *SignatureMap) XXX_Size() int

func (*SignatureMap) XXX_Unmarshal

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

type SignaturePair

type SignaturePair struct {
	PubKeyPrefix []byte `protobuf:"bytes,1,opt,name=pubKeyPrefix,proto3" json:"pubKeyPrefix,omitempty"`
	// Types that are valid to be assigned to Signature:
	//	*SignaturePair_Contract
	//	*SignaturePair_Ed25519
	//	*SignaturePair_RSA_3072
	//	*SignaturePair_ECDSA_384
	Signature            isSignaturePair_Signature `protobuf_oneof:"signature"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

The client may use any number of bytes from 0 to the whole length of the public key for pubKeyPrefix. If 0 bytes is used, then it is assumed that only one public key is used to sign.

func (*SignaturePair) Descriptor

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

func (*SignaturePair) GetContract

func (m *SignaturePair) GetContract() []byte

func (*SignaturePair) GetECDSA_384

func (m *SignaturePair) GetECDSA_384() []byte

func (*SignaturePair) GetEd25519

func (m *SignaturePair) GetEd25519() []byte

func (*SignaturePair) GetPubKeyPrefix

func (m *SignaturePair) GetPubKeyPrefix() []byte

func (*SignaturePair) GetRSA_3072

func (m *SignaturePair) GetRSA_3072() []byte

func (*SignaturePair) GetSignature

func (m *SignaturePair) GetSignature() isSignaturePair_Signature

func (*SignaturePair) ProtoMessage

func (*SignaturePair) ProtoMessage()

func (*SignaturePair) Reset

func (m *SignaturePair) Reset()

func (*SignaturePair) String

func (m *SignaturePair) String() string

func (*SignaturePair) XXX_DiscardUnknown

func (m *SignaturePair) XXX_DiscardUnknown()

func (*SignaturePair) XXX_Marshal

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

func (*SignaturePair) XXX_Merge

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

func (*SignaturePair) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*SignaturePair) XXX_Size

func (m *SignaturePair) XXX_Size() int

func (*SignaturePair) XXX_Unmarshal

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

type SignaturePair_Contract

type SignaturePair_Contract struct {
	Contract []byte `protobuf:"bytes,2,opt,name=contract,proto3,oneof"`
}

type SignaturePair_ECDSA_384

type SignaturePair_ECDSA_384 struct {
	ECDSA_384 []byte `protobuf:"bytes,5,opt,name=ECDSA_384,json=ECDSA384,proto3,oneof"`
}

type SignaturePair_Ed25519

type SignaturePair_Ed25519 struct {
	Ed25519 []byte `protobuf:"bytes,3,opt,name=ed25519,proto3,oneof"`
}

type SignaturePair_RSA_3072

type SignaturePair_RSA_3072 struct {
	RSA_3072 []byte `protobuf:"bytes,4,opt,name=RSA_3072,json=RSA3072,proto3,oneof"`
}

type Signature_Contract

type Signature_Contract struct {
	Contract []byte `protobuf:"bytes,1,opt,name=contract,proto3,oneof"`
}

type Signature_ECDSA_384

type Signature_ECDSA_384 struct {
	ECDSA_384 []byte `protobuf:"bytes,4,opt,name=ECDSA_384,json=ECDSA384,proto3,oneof"`
}

type Signature_Ed25519

type Signature_Ed25519 struct {
	Ed25519 []byte `protobuf:"bytes,2,opt,name=ed25519,proto3,oneof"`
}

type Signature_RSA_3072

type Signature_RSA_3072 struct {
	RSA_3072 []byte `protobuf:"bytes,3,opt,name=RSA_3072,json=RSA3072,proto3,oneof"`
}

type Signature_SignatureList

type Signature_SignatureList struct {
	SignatureList *SignatureList `protobuf:"bytes,6,opt,name=signatureList,proto3,oneof"`
}

type Signature_ThresholdSignature

type Signature_ThresholdSignature struct {
	ThresholdSignature *ThresholdSignature `protobuf:"bytes,5,opt,name=thresholdSignature,proto3,oneof"`
}

type SmartContractServiceClient

type SmartContractServiceClient interface {
	CreateContract(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	UpdateContract(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	ContractCallMethod(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	GetContractInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	ContractCallLocalMethod(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	ContractGetBytecode(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	GetBySolidityID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	GetTxRecordByContractID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	DeleteContract(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	SystemDelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	SystemUndelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

SmartContractServiceClient is the client API for SmartContractService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSmartContractServiceClient

func NewSmartContractServiceClient(cc *grpc.ClientConn) SmartContractServiceClient

type SmartContractServiceServer

type SmartContractServiceServer interface {
	CreateContract(context.Context, *Transaction) (*TransactionResponse, error)
	UpdateContract(context.Context, *Transaction) (*TransactionResponse, error)
	ContractCallMethod(context.Context, *Transaction) (*TransactionResponse, error)
	GetContractInfo(context.Context, *Query) (*Response, error)
	ContractCallLocalMethod(context.Context, *Query) (*Response, error)
	ContractGetBytecode(context.Context, *Query) (*Response, error)
	GetBySolidityID(context.Context, *Query) (*Response, error)
	GetTxRecordByContractID(context.Context, *Query) (*Response, error)
	DeleteContract(context.Context, *Transaction) (*TransactionResponse, error)
	SystemDelete(context.Context, *Transaction) (*TransactionResponse, error)
	SystemUndelete(context.Context, *Transaction) (*TransactionResponse, error)
}

SmartContractServiceServer is the server API for SmartContractService service.

type SystemDeleteTransactionBody

type SystemDeleteTransactionBody struct {
	// Types that are valid to be assigned to Id:
	//	*SystemDeleteTransactionBody_FileID
	//	*SystemDeleteTransactionBody_ContractID
	Id                   isSystemDeleteTransactionBody_Id `protobuf_oneof:"id"`
	ExpirationTime       *TimestampSeconds                `protobuf:"bytes,3,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

Delete a file or smart contract - can only be done with a Hedera admin multisig. When it is deleted, it immediately disappears from the system as seen by the user, but is still stored internally until the expiration time, at which time it is truly and permanently deleted. Until that time, it can be undeleted by the Hedera admin multisig. When a smart contract is deleted, the cryptocurrency account within it continues to exist, and is not affected by the expiration time here.

func (*SystemDeleteTransactionBody) Descriptor

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

func (*SystemDeleteTransactionBody) GetContractID

func (m *SystemDeleteTransactionBody) GetContractID() *ContractID

func (*SystemDeleteTransactionBody) GetExpirationTime

func (m *SystemDeleteTransactionBody) GetExpirationTime() *TimestampSeconds

func (*SystemDeleteTransactionBody) GetFileID

func (m *SystemDeleteTransactionBody) GetFileID() *FileID

func (*SystemDeleteTransactionBody) GetId

func (m *SystemDeleteTransactionBody) GetId() isSystemDeleteTransactionBody_Id

func (*SystemDeleteTransactionBody) ProtoMessage

func (*SystemDeleteTransactionBody) ProtoMessage()

func (*SystemDeleteTransactionBody) Reset

func (m *SystemDeleteTransactionBody) Reset()

func (*SystemDeleteTransactionBody) String

func (m *SystemDeleteTransactionBody) String() string

func (*SystemDeleteTransactionBody) XXX_DiscardUnknown

func (m *SystemDeleteTransactionBody) XXX_DiscardUnknown()

func (*SystemDeleteTransactionBody) XXX_Marshal

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

func (*SystemDeleteTransactionBody) XXX_Merge

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

func (*SystemDeleteTransactionBody) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*SystemDeleteTransactionBody) XXX_Size

func (m *SystemDeleteTransactionBody) XXX_Size() int

func (*SystemDeleteTransactionBody) XXX_Unmarshal

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

type SystemDeleteTransactionBody_ContractID

type SystemDeleteTransactionBody_ContractID struct {
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3,oneof"`
}

type SystemDeleteTransactionBody_FileID

type SystemDeleteTransactionBody_FileID struct {
	FileID *FileID `protobuf:"bytes,1,opt,name=fileID,proto3,oneof"`
}

type SystemUndeleteTransactionBody

type SystemUndeleteTransactionBody struct {
	// Types that are valid to be assigned to Id:
	//	*SystemUndeleteTransactionBody_FileID
	//	*SystemUndeleteTransactionBody_ContractID
	Id                   isSystemUndeleteTransactionBody_Id `protobuf_oneof:"id"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

Undelete a file or smart contract that was deleted by AdminDelete - can only be done with a Hedera admin multisig. When it is deleted, it immediately disappears from the system as seen by the user, but is still stored internally until the expiration time, at which time it is truly and permanently deleted. Until that time, it can be undeleted by the Hedera admin multisig. When a smart contract is deleted, the cryptocurrency account within it continues to exist, and is not affected by the expiration time here.

func (*SystemUndeleteTransactionBody) Descriptor

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

func (*SystemUndeleteTransactionBody) GetContractID

func (m *SystemUndeleteTransactionBody) GetContractID() *ContractID

func (*SystemUndeleteTransactionBody) GetFileID

func (m *SystemUndeleteTransactionBody) GetFileID() *FileID

func (*SystemUndeleteTransactionBody) GetId

func (m *SystemUndeleteTransactionBody) GetId() isSystemUndeleteTransactionBody_Id

func (*SystemUndeleteTransactionBody) ProtoMessage

func (*SystemUndeleteTransactionBody) ProtoMessage()

func (*SystemUndeleteTransactionBody) Reset

func (m *SystemUndeleteTransactionBody) Reset()

func (*SystemUndeleteTransactionBody) String

func (*SystemUndeleteTransactionBody) XXX_DiscardUnknown

func (m *SystemUndeleteTransactionBody) XXX_DiscardUnknown()

func (*SystemUndeleteTransactionBody) XXX_Marshal

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

func (*SystemUndeleteTransactionBody) XXX_Merge

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

func (*SystemUndeleteTransactionBody) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*SystemUndeleteTransactionBody) XXX_Size

func (m *SystemUndeleteTransactionBody) XXX_Size() int

func (*SystemUndeleteTransactionBody) XXX_Unmarshal

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

type SystemUndeleteTransactionBody_ContractID

type SystemUndeleteTransactionBody_ContractID struct {
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3,oneof"`
}

type SystemUndeleteTransactionBody_FileID

type SystemUndeleteTransactionBody_FileID struct {
	FileID *FileID `protobuf:"bytes,1,opt,name=fileID,proto3,oneof"`
}

type ThresholdKey

type ThresholdKey struct {
	Threshold            uint32   `protobuf:"varint,1,opt,name=threshold,proto3" json:"threshold,omitempty"`
	Keys                 *KeyList `protobuf:"bytes,2,opt,name=keys,proto3" json:"keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A set of public keys that are used together to form a threshold signature. If the threshold is N and there are M keys, then this is an N of M threshold signature. If an account is associated with ThresholdKeys, then a transaction to move cryptocurrency out of it must be signed by a list of M signatures, where at most M-N of them are blank, and the other at least N of them are valid signatures corresponding to at least N of the public keys listed here.

func (*ThresholdKey) Descriptor

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

func (*ThresholdKey) GetKeys

func (m *ThresholdKey) GetKeys() *KeyList

func (*ThresholdKey) GetThreshold

func (m *ThresholdKey) GetThreshold() uint32

func (*ThresholdKey) ProtoMessage

func (*ThresholdKey) ProtoMessage()

func (*ThresholdKey) Reset

func (m *ThresholdKey) Reset()

func (*ThresholdKey) String

func (m *ThresholdKey) String() string

func (*ThresholdKey) XXX_DiscardUnknown

func (m *ThresholdKey) XXX_DiscardUnknown()

func (*ThresholdKey) XXX_Marshal

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

func (*ThresholdKey) XXX_Merge

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

func (*ThresholdKey) XXX_Size

func (m *ThresholdKey) XXX_Size() int

func (*ThresholdKey) XXX_Unmarshal

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

type ThresholdSignature deprecated

type ThresholdSignature struct {
	Sigs                 *SignatureList `protobuf:"bytes,2,opt,name=sigs,proto3" json:"sigs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

A signature corresponding to a ThresholdKey. For an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null. This message is deprecated and succeeded by SignaturePair and SignatureMap messages.

Deprecated: Do not use.

func (*ThresholdSignature) Descriptor

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

func (*ThresholdSignature) GetSigs

func (m *ThresholdSignature) GetSigs() *SignatureList

func (*ThresholdSignature) ProtoMessage

func (*ThresholdSignature) ProtoMessage()

func (*ThresholdSignature) Reset

func (m *ThresholdSignature) Reset()

func (*ThresholdSignature) String

func (m *ThresholdSignature) String() string

func (*ThresholdSignature) XXX_DiscardUnknown

func (m *ThresholdSignature) XXX_DiscardUnknown()

func (*ThresholdSignature) XXX_Marshal

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

func (*ThresholdSignature) XXX_Merge

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

func (*ThresholdSignature) XXX_Size

func (m *ThresholdSignature) XXX_Size() int

func (*ThresholdSignature) XXX_Unmarshal

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

type Timestamp

type Timestamp struct {
	Seconds              int64    `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	Nanos                int32    `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An exact date and time. This is the same data structure as the protobuf Timestamp.proto (see the comments in https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto)

func (*Timestamp) Descriptor

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

func (*Timestamp) GetNanos

func (m *Timestamp) GetNanos() int32

func (*Timestamp) GetSeconds

func (m *Timestamp) GetSeconds() int64

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) Reset

func (m *Timestamp) Reset()

func (*Timestamp) String

func (m *Timestamp) String() string

func (*Timestamp) XXX_DiscardUnknown

func (m *Timestamp) XXX_DiscardUnknown()

func (*Timestamp) XXX_Marshal

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

func (*Timestamp) XXX_Merge

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

func (*Timestamp) XXX_Size

func (m *Timestamp) XXX_Size() int

func (*Timestamp) XXX_Unmarshal

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

type TimestampSeconds

type TimestampSeconds struct {
	Seconds              int64    `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An exact date and time, with a resolution of one second (no nanoseconds).

func (*TimestampSeconds) Descriptor

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

func (*TimestampSeconds) GetSeconds

func (m *TimestampSeconds) GetSeconds() int64

func (*TimestampSeconds) ProtoMessage

func (*TimestampSeconds) ProtoMessage()

func (*TimestampSeconds) Reset

func (m *TimestampSeconds) Reset()

func (*TimestampSeconds) String

func (m *TimestampSeconds) String() string

func (*TimestampSeconds) XXX_DiscardUnknown

func (m *TimestampSeconds) XXX_DiscardUnknown()

func (*TimestampSeconds) XXX_Marshal

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

func (*TimestampSeconds) XXX_Merge

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

func (*TimestampSeconds) XXX_Size

func (m *TimestampSeconds) XXX_Size() int

func (*TimestampSeconds) XXX_Unmarshal

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

type TopicID

type TopicID struct {
	ShardNum             int64    `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	RealmNum             int64    `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`
	TopicNum             int64    `protobuf:"varint,3,opt,name=topicNum,proto3" json:"topicNum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Unique identifier for a topic (used by the consensus service)

func (*TopicID) Descriptor

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

func (*TopicID) GetRealmNum

func (m *TopicID) GetRealmNum() int64

func (*TopicID) GetShardNum

func (m *TopicID) GetShardNum() int64

func (*TopicID) GetTopicNum

func (m *TopicID) GetTopicNum() int64

func (*TopicID) ProtoMessage

func (*TopicID) ProtoMessage()

func (*TopicID) Reset

func (m *TopicID) Reset()

func (*TopicID) String

func (m *TopicID) String() string

func (*TopicID) XXX_DiscardUnknown

func (m *TopicID) XXX_DiscardUnknown()

func (*TopicID) XXX_Marshal

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

func (*TopicID) XXX_Merge

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

func (*TopicID) XXX_Size

func (m *TopicID) XXX_Size() int

func (*TopicID) XXX_Unmarshal

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

type Transaction

type Transaction struct {
	// Types that are valid to be assigned to BodyData:
	//	*Transaction_Body
	//	*Transaction_BodyBytes
	BodyData             isTransaction_BodyData `protobuf_oneof:"bodyData"`
	Sigs                 *SignatureList         `protobuf:"bytes,2,opt,name=sigs,proto3" json:"sigs,omitempty"` // Deprecated: Do not use.
	SigMap               *SignatureMap          `protobuf:"bytes,3,opt,name=sigMap,proto3" json:"sigMap,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

A single signed transaction, including all its signatures. The SignatureList will have a Signature for each Key in the transaction, either explicit or implicit, in the order that they appear in the transaction. For example, a CryptoTransfer will first have a Signature corresponding to the Key for the paying account, followed by a Signature corresponding to the Key for each account that is sending or receiving cryptocurrency in the transfer. Each Transaction should not have more than 50 levels. The SignatureList field is deprecated and succeeded by SignatureMap.

func (*Transaction) Descriptor

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

func (*Transaction) GetBody deprecated

func (m *Transaction) GetBody() *TransactionBody

Deprecated: Do not use.

func (*Transaction) GetBodyBytes

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

func (*Transaction) GetBodyData

func (m *Transaction) GetBodyData() isTransaction_BodyData

func (*Transaction) GetSigMap

func (m *Transaction) GetSigMap() *SignatureMap

func (*Transaction) GetSigs deprecated

func (m *Transaction) GetSigs() *SignatureList

Deprecated: Do not use.

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) XXX_DiscardUnknown

func (m *Transaction) XXX_DiscardUnknown()

func (*Transaction) XXX_Marshal

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

func (*Transaction) XXX_Merge

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

func (*Transaction) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Transaction) XXX_Size

func (m *Transaction) XXX_Size() int

func (*Transaction) XXX_Unmarshal

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

type TransactionBody

type TransactionBody struct {
	TransactionID            *TransactionID `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"`
	NodeAccountID            *AccountID     `protobuf:"bytes,2,opt,name=nodeAccountID,proto3" json:"nodeAccountID,omitempty"`
	TransactionFee           uint64         `protobuf:"varint,3,opt,name=transactionFee,proto3" json:"transactionFee,omitempty"`
	TransactionValidDuration *Duration      `protobuf:"bytes,4,opt,name=transactionValidDuration,proto3" json:"transactionValidDuration,omitempty"`
	GenerateRecord           bool           `protobuf:"varint,5,opt,name=generateRecord,proto3" json:"generateRecord,omitempty"` // Deprecated: Do not use.
	Memo                     string         `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`
	// Types that are valid to be assigned to Data:
	//	*TransactionBody_ContractCall
	//	*TransactionBody_ContractCreateInstance
	//	*TransactionBody_ContractUpdateInstance
	//	*TransactionBody_ContractDeleteInstance
	//	*TransactionBody_CryptoAddClaim
	//	*TransactionBody_CryptoCreateAccount
	//	*TransactionBody_CryptoDelete
	//	*TransactionBody_CryptoDeleteClaim
	//	*TransactionBody_CryptoTransfer
	//	*TransactionBody_CryptoUpdateAccount
	//	*TransactionBody_FileAppend
	//	*TransactionBody_FileCreate
	//	*TransactionBody_FileDelete
	//	*TransactionBody_FileUpdate
	//	*TransactionBody_SystemDelete
	//	*TransactionBody_SystemUndelete
	//	*TransactionBody_Freeze
	//	*TransactionBody_ConsensusCreateTopic
	//	*TransactionBody_ConsensusUpdateTopic
	//	*TransactionBody_ConsensusDeleteTopic
	//	*TransactionBody_ConsensusSubmitMessage
	Data                 isTransactionBody_Data `protobuf_oneof:"data"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

A single transaction. All transaction types are possible here.

func (*TransactionBody) Descriptor

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

func (*TransactionBody) GetConsensusCreateTopic

func (m *TransactionBody) GetConsensusCreateTopic() *ConsensusCreateTopicTransactionBody

func (*TransactionBody) GetConsensusDeleteTopic

func (m *TransactionBody) GetConsensusDeleteTopic() *ConsensusDeleteTopicTransactionBody

func (*TransactionBody) GetConsensusSubmitMessage

func (m *TransactionBody) GetConsensusSubmitMessage() *ConsensusSubmitMessageTransactionBody

func (*TransactionBody) GetConsensusUpdateTopic

func (m *TransactionBody) GetConsensusUpdateTopic() *ConsensusUpdateTopicTransactionBody

func (*TransactionBody) GetContractCall

func (m *TransactionBody) GetContractCall() *ContractCallTransactionBody

func (*TransactionBody) GetContractCreateInstance

func (m *TransactionBody) GetContractCreateInstance() *ContractCreateTransactionBody

func (*TransactionBody) GetContractDeleteInstance

func (m *TransactionBody) GetContractDeleteInstance() *ContractDeleteTransactionBody

func (*TransactionBody) GetContractUpdateInstance

func (m *TransactionBody) GetContractUpdateInstance() *ContractUpdateTransactionBody

func (*TransactionBody) GetCryptoAddClaim

func (m *TransactionBody) GetCryptoAddClaim() *CryptoAddClaimTransactionBody

func (*TransactionBody) GetCryptoCreateAccount

func (m *TransactionBody) GetCryptoCreateAccount() *CryptoCreateTransactionBody

func (*TransactionBody) GetCryptoDelete

func (m *TransactionBody) GetCryptoDelete() *CryptoDeleteTransactionBody

func (*TransactionBody) GetCryptoDeleteClaim

func (m *TransactionBody) GetCryptoDeleteClaim() *CryptoDeleteClaimTransactionBody

func (*TransactionBody) GetCryptoTransfer

func (m *TransactionBody) GetCryptoTransfer() *CryptoTransferTransactionBody

func (*TransactionBody) GetCryptoUpdateAccount

func (m *TransactionBody) GetCryptoUpdateAccount() *CryptoUpdateTransactionBody

func (*TransactionBody) GetData

func (m *TransactionBody) GetData() isTransactionBody_Data

func (*TransactionBody) GetFileAppend

func (m *TransactionBody) GetFileAppend() *FileAppendTransactionBody

func (*TransactionBody) GetFileCreate

func (m *TransactionBody) GetFileCreate() *FileCreateTransactionBody

func (*TransactionBody) GetFileDelete

func (m *TransactionBody) GetFileDelete() *FileDeleteTransactionBody

func (*TransactionBody) GetFileUpdate

func (m *TransactionBody) GetFileUpdate() *FileUpdateTransactionBody

func (*TransactionBody) GetFreeze

func (m *TransactionBody) GetFreeze() *FreezeTransactionBody

func (*TransactionBody) GetGenerateRecord deprecated

func (m *TransactionBody) GetGenerateRecord() bool

Deprecated: Do not use.

func (*TransactionBody) GetMemo

func (m *TransactionBody) GetMemo() string

func (*TransactionBody) GetNodeAccountID

func (m *TransactionBody) GetNodeAccountID() *AccountID

func (*TransactionBody) GetSystemDelete

func (m *TransactionBody) GetSystemDelete() *SystemDeleteTransactionBody

func (*TransactionBody) GetSystemUndelete

func (m *TransactionBody) GetSystemUndelete() *SystemUndeleteTransactionBody

func (*TransactionBody) GetTransactionFee

func (m *TransactionBody) GetTransactionFee() uint64

func (*TransactionBody) GetTransactionID

func (m *TransactionBody) GetTransactionID() *TransactionID

func (*TransactionBody) GetTransactionValidDuration

func (m *TransactionBody) GetTransactionValidDuration() *Duration

func (*TransactionBody) ProtoMessage

func (*TransactionBody) ProtoMessage()

func (*TransactionBody) Reset

func (m *TransactionBody) Reset()

func (*TransactionBody) String

func (m *TransactionBody) String() string

func (*TransactionBody) XXX_DiscardUnknown

func (m *TransactionBody) XXX_DiscardUnknown()

func (*TransactionBody) XXX_Marshal

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

func (*TransactionBody) XXX_Merge

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

func (*TransactionBody) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*TransactionBody) XXX_Size

func (m *TransactionBody) XXX_Size() int

func (*TransactionBody) XXX_Unmarshal

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

type TransactionBody_ConsensusCreateTopic

type TransactionBody_ConsensusCreateTopic struct {
	ConsensusCreateTopic *ConsensusCreateTopicTransactionBody `protobuf:"bytes,24,opt,name=consensusCreateTopic,proto3,oneof"`
}

type TransactionBody_ConsensusDeleteTopic

type TransactionBody_ConsensusDeleteTopic struct {
	ConsensusDeleteTopic *ConsensusDeleteTopicTransactionBody `protobuf:"bytes,26,opt,name=consensusDeleteTopic,proto3,oneof"`
}

type TransactionBody_ConsensusSubmitMessage

type TransactionBody_ConsensusSubmitMessage struct {
	ConsensusSubmitMessage *ConsensusSubmitMessageTransactionBody `protobuf:"bytes,27,opt,name=consensusSubmitMessage,proto3,oneof"`
}

type TransactionBody_ConsensusUpdateTopic

type TransactionBody_ConsensusUpdateTopic struct {
	ConsensusUpdateTopic *ConsensusUpdateTopicTransactionBody `protobuf:"bytes,25,opt,name=consensusUpdateTopic,proto3,oneof"`
}

type TransactionBody_ContractCall

type TransactionBody_ContractCall struct {
	ContractCall *ContractCallTransactionBody `protobuf:"bytes,7,opt,name=contractCall,proto3,oneof"`
}

type TransactionBody_ContractCreateInstance

type TransactionBody_ContractCreateInstance struct {
	ContractCreateInstance *ContractCreateTransactionBody `protobuf:"bytes,8,opt,name=contractCreateInstance,proto3,oneof"`
}

type TransactionBody_ContractDeleteInstance

type TransactionBody_ContractDeleteInstance struct {
	ContractDeleteInstance *ContractDeleteTransactionBody `protobuf:"bytes,22,opt,name=contractDeleteInstance,proto3,oneof"`
}

type TransactionBody_ContractUpdateInstance

type TransactionBody_ContractUpdateInstance struct {
	ContractUpdateInstance *ContractUpdateTransactionBody `protobuf:"bytes,9,opt,name=contractUpdateInstance,proto3,oneof"`
}

type TransactionBody_CryptoAddClaim

type TransactionBody_CryptoAddClaim struct {
	CryptoAddClaim *CryptoAddClaimTransactionBody `protobuf:"bytes,10,opt,name=cryptoAddClaim,proto3,oneof"`
}

type TransactionBody_CryptoCreateAccount

type TransactionBody_CryptoCreateAccount struct {
	CryptoCreateAccount *CryptoCreateTransactionBody `protobuf:"bytes,11,opt,name=cryptoCreateAccount,proto3,oneof"`
}

type TransactionBody_CryptoDelete

type TransactionBody_CryptoDelete struct {
	CryptoDelete *CryptoDeleteTransactionBody `protobuf:"bytes,12,opt,name=cryptoDelete,proto3,oneof"`
}

type TransactionBody_CryptoDeleteClaim

type TransactionBody_CryptoDeleteClaim struct {
	CryptoDeleteClaim *CryptoDeleteClaimTransactionBody `protobuf:"bytes,13,opt,name=cryptoDeleteClaim,proto3,oneof"`
}

type TransactionBody_CryptoTransfer

type TransactionBody_CryptoTransfer struct {
	CryptoTransfer *CryptoTransferTransactionBody `protobuf:"bytes,14,opt,name=cryptoTransfer,proto3,oneof"`
}

type TransactionBody_CryptoUpdateAccount

type TransactionBody_CryptoUpdateAccount struct {
	CryptoUpdateAccount *CryptoUpdateTransactionBody `protobuf:"bytes,15,opt,name=cryptoUpdateAccount,proto3,oneof"`
}

type TransactionBody_FileAppend

type TransactionBody_FileAppend struct {
	FileAppend *FileAppendTransactionBody `protobuf:"bytes,16,opt,name=fileAppend,proto3,oneof"`
}

type TransactionBody_FileCreate

type TransactionBody_FileCreate struct {
	FileCreate *FileCreateTransactionBody `protobuf:"bytes,17,opt,name=fileCreate,proto3,oneof"`
}

type TransactionBody_FileDelete

type TransactionBody_FileDelete struct {
	FileDelete *FileDeleteTransactionBody `protobuf:"bytes,18,opt,name=fileDelete,proto3,oneof"`
}

type TransactionBody_FileUpdate

type TransactionBody_FileUpdate struct {
	FileUpdate *FileUpdateTransactionBody `protobuf:"bytes,19,opt,name=fileUpdate,proto3,oneof"`
}

type TransactionBody_Freeze

type TransactionBody_Freeze struct {
	Freeze *FreezeTransactionBody `protobuf:"bytes,23,opt,name=freeze,proto3,oneof"`
}

type TransactionBody_SystemDelete

type TransactionBody_SystemDelete struct {
	SystemDelete *SystemDeleteTransactionBody `protobuf:"bytes,20,opt,name=systemDelete,proto3,oneof"`
}

type TransactionBody_SystemUndelete

type TransactionBody_SystemUndelete struct {
	SystemUndelete *SystemUndeleteTransactionBody `protobuf:"bytes,21,opt,name=systemUndelete,proto3,oneof"`
}

type TransactionFeeSchedule

type TransactionFeeSchedule struct {
	HederaFunctionality  HederaFunctionality `protobuf:"varint,1,opt,name=hederaFunctionality,proto3,enum=proto.HederaFunctionality" json:"hederaFunctionality,omitempty"`
	FeeData              *FeeData            `protobuf:"bytes,2,opt,name=feeData,proto3" json:"feeData,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

The fees for a specific transaction or query based on the fee data.

func (*TransactionFeeSchedule) Descriptor

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

func (*TransactionFeeSchedule) GetFeeData

func (m *TransactionFeeSchedule) GetFeeData() *FeeData

func (*TransactionFeeSchedule) GetHederaFunctionality

func (m *TransactionFeeSchedule) GetHederaFunctionality() HederaFunctionality

func (*TransactionFeeSchedule) ProtoMessage

func (*TransactionFeeSchedule) ProtoMessage()

func (*TransactionFeeSchedule) Reset

func (m *TransactionFeeSchedule) Reset()

func (*TransactionFeeSchedule) String

func (m *TransactionFeeSchedule) String() string

func (*TransactionFeeSchedule) XXX_DiscardUnknown

func (m *TransactionFeeSchedule) XXX_DiscardUnknown()

func (*TransactionFeeSchedule) XXX_Marshal

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

func (*TransactionFeeSchedule) XXX_Merge

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

func (*TransactionFeeSchedule) XXX_Size

func (m *TransactionFeeSchedule) XXX_Size() int

func (*TransactionFeeSchedule) XXX_Unmarshal

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

type TransactionGetFastRecordQuery

type TransactionGetFastRecordQuery struct {
	Header               *QueryHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	TransactionID        *TransactionID `protobuf:"bytes,2,opt,name=transactionID,proto3" json:"transactionID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Get the tx record of a transaction, given its transaction ID. Once a transaction reaches consensus, then information about whether it succeeded or failed will be available until the end of the receipt period. Before and after the receipt period, and for a transaction that was never submitted, the receipt is unknown. This query is free (the payment field is left empty).

func (*TransactionGetFastRecordQuery) Descriptor

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

func (*TransactionGetFastRecordQuery) GetHeader

func (*TransactionGetFastRecordQuery) GetTransactionID

func (m *TransactionGetFastRecordQuery) GetTransactionID() *TransactionID

func (*TransactionGetFastRecordQuery) ProtoMessage

func (*TransactionGetFastRecordQuery) ProtoMessage()

func (*TransactionGetFastRecordQuery) Reset

func (m *TransactionGetFastRecordQuery) Reset()

func (*TransactionGetFastRecordQuery) String

func (*TransactionGetFastRecordQuery) XXX_DiscardUnknown

func (m *TransactionGetFastRecordQuery) XXX_DiscardUnknown()

func (*TransactionGetFastRecordQuery) XXX_Marshal

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

func (*TransactionGetFastRecordQuery) XXX_Merge

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

func (*TransactionGetFastRecordQuery) XXX_Size

func (m *TransactionGetFastRecordQuery) XXX_Size() int

func (*TransactionGetFastRecordQuery) XXX_Unmarshal

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

type TransactionGetFastRecordResponse

type TransactionGetFastRecordResponse struct {
	Header               *ResponseHeader    `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	TransactionRecord    *TransactionRecord `protobuf:"bytes,2,opt,name=transactionRecord,proto3" json:"transactionRecord,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Response when the client sends the node TransactionGetFastRecordQuery. If it created a new entity (account, file, or smart contract instance) then one of the three ID fields will be filled in with the ID of the new entity. Sometimes a single transaction will create more than one new entity, such as when a new contract instance is created, and this also creates the new account that it owned by that instance.

func (*TransactionGetFastRecordResponse) Descriptor

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

func (*TransactionGetFastRecordResponse) GetHeader

func (*TransactionGetFastRecordResponse) GetTransactionRecord

func (m *TransactionGetFastRecordResponse) GetTransactionRecord() *TransactionRecord

func (*TransactionGetFastRecordResponse) ProtoMessage

func (*TransactionGetFastRecordResponse) ProtoMessage()

func (*TransactionGetFastRecordResponse) Reset

func (*TransactionGetFastRecordResponse) String

func (*TransactionGetFastRecordResponse) XXX_DiscardUnknown

func (m *TransactionGetFastRecordResponse) XXX_DiscardUnknown()

func (*TransactionGetFastRecordResponse) XXX_Marshal

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

func (*TransactionGetFastRecordResponse) XXX_Merge

func (*TransactionGetFastRecordResponse) XXX_Size

func (m *TransactionGetFastRecordResponse) XXX_Size() int

func (*TransactionGetFastRecordResponse) XXX_Unmarshal

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

type TransactionGetReceiptQuery

type TransactionGetReceiptQuery struct {
	Header               *QueryHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	TransactionID        *TransactionID `protobuf:"bytes,2,opt,name=transactionID,proto3" json:"transactionID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Get the receipt of a transaction, given its transaction ID. Once a transaction reaches consensus, then information about whether it succeeded or failed will be available until the end of the receipt period. Before and after the receipt period, and for a transaction that was never submitted, the receipt is unknown. This query is free (the payment field is left empty). No State proof is available for this response

func (*TransactionGetReceiptQuery) Descriptor

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

func (*TransactionGetReceiptQuery) GetHeader

func (m *TransactionGetReceiptQuery) GetHeader() *QueryHeader

func (*TransactionGetReceiptQuery) GetTransactionID

func (m *TransactionGetReceiptQuery) GetTransactionID() *TransactionID

func (*TransactionGetReceiptQuery) ProtoMessage

func (*TransactionGetReceiptQuery) ProtoMessage()

func (*TransactionGetReceiptQuery) Reset

func (m *TransactionGetReceiptQuery) Reset()

func (*TransactionGetReceiptQuery) String

func (m *TransactionGetReceiptQuery) String() string

func (*TransactionGetReceiptQuery) XXX_DiscardUnknown

func (m *TransactionGetReceiptQuery) XXX_DiscardUnknown()

func (*TransactionGetReceiptQuery) XXX_Marshal

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

func (*TransactionGetReceiptQuery) XXX_Merge

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

func (*TransactionGetReceiptQuery) XXX_Size

func (m *TransactionGetReceiptQuery) XXX_Size() int

func (*TransactionGetReceiptQuery) XXX_Unmarshal

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

type TransactionGetReceiptResponse

type TransactionGetReceiptResponse struct {
	Header               *ResponseHeader     `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Receipt              *TransactionReceipt `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Response when the client sends the node TransactionGetReceiptQuery. If it created a new entity (account, file, or smart contract instance) then one of the three ID fields will be filled in with the ID of the new entity. Sometimes a single transaction will create more than one new entity, such as when a new contract instance is created, and this also creates the new account that it owned by that instance. No State proof is available for this response

func (*TransactionGetReceiptResponse) Descriptor

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

func (*TransactionGetReceiptResponse) GetHeader

func (*TransactionGetReceiptResponse) GetReceipt

func (*TransactionGetReceiptResponse) ProtoMessage

func (*TransactionGetReceiptResponse) ProtoMessage()

func (*TransactionGetReceiptResponse) Reset

func (m *TransactionGetReceiptResponse) Reset()

func (*TransactionGetReceiptResponse) String

func (*TransactionGetReceiptResponse) XXX_DiscardUnknown

func (m *TransactionGetReceiptResponse) XXX_DiscardUnknown()

func (*TransactionGetReceiptResponse) XXX_Marshal

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

func (*TransactionGetReceiptResponse) XXX_Merge

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

func (*TransactionGetReceiptResponse) XXX_Size

func (m *TransactionGetReceiptResponse) XXX_Size() int

func (*TransactionGetReceiptResponse) XXX_Unmarshal

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

type TransactionGetRecordQuery

type TransactionGetRecordQuery struct {
	Header               *QueryHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	TransactionID        *TransactionID `protobuf:"bytes,2,opt,name=transactionID,proto3" json:"transactionID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Get the record for a transaction. If the transaction requested a record, then the record lasts for one hour, and a state proof is available for it. If the transaction created an account, file, or smart contract instance, then the record will contain the ID for what it created. If the transaction called a smart contract function, then the record contains the result of that call. If the transaction was a cryptocurrency transfer, then the record includes the TransferList which gives the details of that transfer. If the transaction didn't return anything that should be in the record, then the results field will be set to nothing.

func (*TransactionGetRecordQuery) Descriptor

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

func (*TransactionGetRecordQuery) GetHeader

func (m *TransactionGetRecordQuery) GetHeader() *QueryHeader

func (*TransactionGetRecordQuery) GetTransactionID

func (m *TransactionGetRecordQuery) GetTransactionID() *TransactionID

func (*TransactionGetRecordQuery) ProtoMessage

func (*TransactionGetRecordQuery) ProtoMessage()

func (*TransactionGetRecordQuery) Reset

func (m *TransactionGetRecordQuery) Reset()

func (*TransactionGetRecordQuery) String

func (m *TransactionGetRecordQuery) String() string

func (*TransactionGetRecordQuery) XXX_DiscardUnknown

func (m *TransactionGetRecordQuery) XXX_DiscardUnknown()

func (*TransactionGetRecordQuery) XXX_Marshal

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

func (*TransactionGetRecordQuery) XXX_Merge

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

func (*TransactionGetRecordQuery) XXX_Size

func (m *TransactionGetRecordQuery) XXX_Size() int

func (*TransactionGetRecordQuery) XXX_Unmarshal

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

type TransactionGetRecordResponse

type TransactionGetRecordResponse struct {
	Header               *ResponseHeader    `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	TransactionRecord    *TransactionRecord `protobuf:"bytes,3,opt,name=transactionRecord,proto3" json:"transactionRecord,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Response when the client sends the node TransactionGetRecordQuery

func (*TransactionGetRecordResponse) Descriptor

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

func (*TransactionGetRecordResponse) GetHeader

func (*TransactionGetRecordResponse) GetTransactionRecord

func (m *TransactionGetRecordResponse) GetTransactionRecord() *TransactionRecord

func (*TransactionGetRecordResponse) ProtoMessage

func (*TransactionGetRecordResponse) ProtoMessage()

func (*TransactionGetRecordResponse) Reset

func (m *TransactionGetRecordResponse) Reset()

func (*TransactionGetRecordResponse) String

func (*TransactionGetRecordResponse) XXX_DiscardUnknown

func (m *TransactionGetRecordResponse) XXX_DiscardUnknown()

func (*TransactionGetRecordResponse) XXX_Marshal

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

func (*TransactionGetRecordResponse) XXX_Merge

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

func (*TransactionGetRecordResponse) XXX_Size

func (m *TransactionGetRecordResponse) XXX_Size() int

func (*TransactionGetRecordResponse) XXX_Unmarshal

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

type TransactionID

type TransactionID struct {
	TransactionValidStart *Timestamp `protobuf:"bytes,1,opt,name=transactionValidStart,proto3" json:"transactionValidStart,omitempty"`
	AccountID             *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}   `json:"-"`
	XXX_unrecognized      []byte     `json:"-"`
	XXX_sizecache         int32      `json:"-"`
}

The ID for a transaction. This is used for retrieving receipts and records for a transaction, for appending to a file right after creating it, for instantiating a smart contract with bytecode in a file just created, and internally by the network for detecting when duplicate transactions are submitted. A user might get a transaction processed faster by submitting it to N nodes, each with a different node account, but all with the same TransactionID. Then, the transaction will take effect when the first of all those nodes submits the transaction and it reaches consensus. The other transactions will not take effect. So this could make the transaction take effect faster, if any given node might be slow. However, the full transaction fee is charged for each transaction, so the total fee is N times as much if the transaction is sent to N nodes.

func (*TransactionID) Descriptor

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

func (*TransactionID) GetAccountID

func (m *TransactionID) GetAccountID() *AccountID

func (*TransactionID) GetTransactionValidStart

func (m *TransactionID) GetTransactionValidStart() *Timestamp

func (*TransactionID) ProtoMessage

func (*TransactionID) ProtoMessage()

func (*TransactionID) Reset

func (m *TransactionID) Reset()

func (*TransactionID) String

func (m *TransactionID) String() string

func (*TransactionID) XXX_DiscardUnknown

func (m *TransactionID) XXX_DiscardUnknown()

func (*TransactionID) XXX_Marshal

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

func (*TransactionID) XXX_Merge

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

func (*TransactionID) XXX_Size

func (m *TransactionID) XXX_Size() int

func (*TransactionID) XXX_Unmarshal

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

type TransactionReceipt

type TransactionReceipt struct {
	Status       ResponseCodeEnum `protobuf:"varint,1,opt,name=status,proto3,enum=proto.ResponseCodeEnum" json:"status,omitempty"`
	AccountID    *AccountID       `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	FileID       *FileID          `protobuf:"bytes,3,opt,name=fileID,proto3" json:"fileID,omitempty"`
	ContractID   *ContractID      `protobuf:"bytes,4,opt,name=contractID,proto3" json:"contractID,omitempty"`
	ExchangeRate *ExchangeRateSet `protobuf:"bytes,5,opt,name=exchangeRate,proto3" json:"exchangeRate,omitempty"`
	TopicID      *TopicID         `protobuf:"bytes,6,opt,name=topicID,proto3" json:"topicID,omitempty"`
	// Updated sequence number for a consensus service topic. The result of a ConsensusSubmitMessage.
	TopicSequenceNumber uint64 `protobuf:"varint,7,opt,name=topicSequenceNumber,proto3" json:"topicSequenceNumber,omitempty"`
	// Updated running hash for a consensus service topic. The result of a ConsensusSubmitMessage.
	TopicRunningHash     []byte   `protobuf:"bytes,8,opt,name=topicRunningHash,proto3" json:"topicRunningHash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The consensus result for a transaction, which might not be currently known, or may succeed or fail.

func (*TransactionReceipt) Descriptor

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

func (*TransactionReceipt) GetAccountID

func (m *TransactionReceipt) GetAccountID() *AccountID

func (*TransactionReceipt) GetContractID

func (m *TransactionReceipt) GetContractID() *ContractID

func (*TransactionReceipt) GetExchangeRate

func (m *TransactionReceipt) GetExchangeRate() *ExchangeRateSet

func (*TransactionReceipt) GetFileID

func (m *TransactionReceipt) GetFileID() *FileID

func (*TransactionReceipt) GetStatus

func (m *TransactionReceipt) GetStatus() ResponseCodeEnum

func (*TransactionReceipt) GetTopicID

func (m *TransactionReceipt) GetTopicID() *TopicID

func (*TransactionReceipt) GetTopicRunningHash

func (m *TransactionReceipt) GetTopicRunningHash() []byte

func (*TransactionReceipt) GetTopicSequenceNumber

func (m *TransactionReceipt) GetTopicSequenceNumber() uint64

func (*TransactionReceipt) ProtoMessage

func (*TransactionReceipt) ProtoMessage()

func (*TransactionReceipt) Reset

func (m *TransactionReceipt) Reset()

func (*TransactionReceipt) String

func (m *TransactionReceipt) String() string

func (*TransactionReceipt) XXX_DiscardUnknown

func (m *TransactionReceipt) XXX_DiscardUnknown()

func (*TransactionReceipt) XXX_Marshal

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

func (*TransactionReceipt) XXX_Merge

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

func (*TransactionReceipt) XXX_Size

func (m *TransactionReceipt) XXX_Size() int

func (*TransactionReceipt) XXX_Unmarshal

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

type TransactionRecord

type TransactionRecord struct {
	Receipt            *TransactionReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
	TransactionHash    []byte              `protobuf:"bytes,2,opt,name=transactionHash,proto3" json:"transactionHash,omitempty"`
	ConsensusTimestamp *Timestamp          `protobuf:"bytes,3,opt,name=consensusTimestamp,proto3" json:"consensusTimestamp,omitempty"`
	TransactionID      *TransactionID      `protobuf:"bytes,4,opt,name=transactionID,proto3" json:"transactionID,omitempty"`
	Memo               string              `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`
	TransactionFee     uint64              `protobuf:"varint,6,opt,name=transactionFee,proto3" json:"transactionFee,omitempty"`
	// Types that are valid to be assigned to Body:
	//	*TransactionRecord_ContractCallResult
	//	*TransactionRecord_ContractCreateResult
	Body                 isTransactionRecord_Body `protobuf_oneof:"body"`
	TransferList         *TransferList            `protobuf:"bytes,10,opt,name=transferList,proto3" json:"transferList,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Response when the client sends the node TransactionGetRecordResponse

func (*TransactionRecord) Descriptor

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

func (*TransactionRecord) GetBody

func (m *TransactionRecord) GetBody() isTransactionRecord_Body

func (*TransactionRecord) GetConsensusTimestamp

func (m *TransactionRecord) GetConsensusTimestamp() *Timestamp

func (*TransactionRecord) GetContractCallResult

func (m *TransactionRecord) GetContractCallResult() *ContractFunctionResult

func (*TransactionRecord) GetContractCreateResult

func (m *TransactionRecord) GetContractCreateResult() *ContractFunctionResult

func (*TransactionRecord) GetMemo

func (m *TransactionRecord) GetMemo() string

func (*TransactionRecord) GetReceipt

func (m *TransactionRecord) GetReceipt() *TransactionReceipt

func (*TransactionRecord) GetTransactionFee

func (m *TransactionRecord) GetTransactionFee() uint64

func (*TransactionRecord) GetTransactionHash

func (m *TransactionRecord) GetTransactionHash() []byte

func (*TransactionRecord) GetTransactionID

func (m *TransactionRecord) GetTransactionID() *TransactionID

func (*TransactionRecord) GetTransferList

func (m *TransactionRecord) GetTransferList() *TransferList

func (*TransactionRecord) ProtoMessage

func (*TransactionRecord) ProtoMessage()

func (*TransactionRecord) Reset

func (m *TransactionRecord) Reset()

func (*TransactionRecord) String

func (m *TransactionRecord) String() string

func (*TransactionRecord) XXX_DiscardUnknown

func (m *TransactionRecord) XXX_DiscardUnknown()

func (*TransactionRecord) XXX_Marshal

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

func (*TransactionRecord) XXX_Merge

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

func (*TransactionRecord) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*TransactionRecord) XXX_Size

func (m *TransactionRecord) XXX_Size() int

func (*TransactionRecord) XXX_Unmarshal

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

type TransactionRecord_ContractCallResult

type TransactionRecord_ContractCallResult struct {
	ContractCallResult *ContractFunctionResult `protobuf:"bytes,7,opt,name=contractCallResult,proto3,oneof"`
}

type TransactionRecord_ContractCreateResult

type TransactionRecord_ContractCreateResult struct {
	ContractCreateResult *ContractFunctionResult `protobuf:"bytes,8,opt,name=contractCreateResult,proto3,oneof"`
}

type TransactionResponse

type TransactionResponse struct {
	NodeTransactionPrecheckCode ResponseCodeEnum `` /* 136-byte string literal not displayed */
	XXX_NoUnkeyedLiteral        struct{}         `json:"-"`
	XXX_unrecognized            []byte           `json:"-"`
	XXX_sizecache               int32            `json:"-"`
}

When the client sends the node a transaction of any kind, the node replies with this, which simply says that the transaction passed the precheck (so the node will submit it to the network) or it failed (so it won't). To learn the consensus result, the client should later obtain a receipt (free), or can buy a more detailed record (not free).

func (*TransactionResponse) Descriptor

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

func (*TransactionResponse) GetNodeTransactionPrecheckCode

func (m *TransactionResponse) GetNodeTransactionPrecheckCode() ResponseCodeEnum

func (*TransactionResponse) ProtoMessage

func (*TransactionResponse) ProtoMessage()

func (*TransactionResponse) Reset

func (m *TransactionResponse) Reset()

func (*TransactionResponse) String

func (m *TransactionResponse) String() string

func (*TransactionResponse) XXX_DiscardUnknown

func (m *TransactionResponse) XXX_DiscardUnknown()

func (*TransactionResponse) XXX_Marshal

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

func (*TransactionResponse) XXX_Merge

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

func (*TransactionResponse) XXX_Size

func (m *TransactionResponse) XXX_Size() int

func (*TransactionResponse) XXX_Unmarshal

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

type Transaction_Body

type Transaction_Body struct {
	Body *TransactionBody `protobuf:"bytes,1,opt,name=body,proto3,oneof"`
}

type Transaction_BodyBytes

type Transaction_BodyBytes struct {
	BodyBytes []byte `protobuf:"bytes,4,opt,name=bodyBytes,proto3,oneof"`
}

type TransferList

type TransferList struct {
	AccountAmounts       []*AccountAmount `protobuf:"bytes,1,rep,name=accountAmounts,proto3" json:"accountAmounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

A list of accounts and amounts to transfer out of each account (negative) or into it (positive).

func (*TransferList) Descriptor

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

func (*TransferList) GetAccountAmounts

func (m *TransferList) GetAccountAmounts() []*AccountAmount

func (*TransferList) ProtoMessage

func (*TransferList) ProtoMessage()

func (*TransferList) Reset

func (m *TransferList) Reset()

func (*TransferList) String

func (m *TransferList) String() string

func (*TransferList) XXX_DiscardUnknown

func (m *TransferList) XXX_DiscardUnknown()

func (*TransferList) XXX_Marshal

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

func (*TransferList) XXX_Merge

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

func (*TransferList) XXX_Size

func (m *TransferList) XXX_Size() int

func (*TransferList) XXX_Unmarshal

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

type UnimplementedConsensusServiceServer

type UnimplementedConsensusServiceServer struct {
}

UnimplementedConsensusServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedConsensusServiceServer) CreateTopic

func (*UnimplementedConsensusServiceServer) DeleteTopic

func (*UnimplementedConsensusServiceServer) GetTopicInfo

func (*UnimplementedConsensusServiceServer) SubmitMessage

func (*UnimplementedConsensusServiceServer) UpdateTopic

type UnimplementedCryptoServiceServer

type UnimplementedCryptoServiceServer struct {
}

UnimplementedCryptoServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCryptoServiceServer) AddClaim

func (*UnimplementedCryptoServiceServer) CreateAccount

func (*UnimplementedCryptoServiceServer) CryptoDelete

func (*UnimplementedCryptoServiceServer) CryptoGetBalance

func (*UnimplementedCryptoServiceServer) CryptoGetBalance(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedCryptoServiceServer) CryptoTransfer

func (*UnimplementedCryptoServiceServer) DeleteClaim

func (*UnimplementedCryptoServiceServer) GetAccountInfo

func (*UnimplementedCryptoServiceServer) GetAccountInfo(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedCryptoServiceServer) GetAccountRecords

func (*UnimplementedCryptoServiceServer) GetAccountRecords(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedCryptoServiceServer) GetClaim

func (*UnimplementedCryptoServiceServer) GetFastTransactionRecord

func (*UnimplementedCryptoServiceServer) GetFastTransactionRecord(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedCryptoServiceServer) GetStakersByAccountID

func (*UnimplementedCryptoServiceServer) GetStakersByAccountID(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedCryptoServiceServer) GetTransactionReceipts

func (*UnimplementedCryptoServiceServer) GetTransactionReceipts(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedCryptoServiceServer) GetTxRecordByTxID

func (*UnimplementedCryptoServiceServer) GetTxRecordByTxID(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedCryptoServiceServer) UpdateAccount

type UnimplementedFileServiceServer

type UnimplementedFileServiceServer struct {
}

UnimplementedFileServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFileServiceServer) AppendContent

func (*UnimplementedFileServiceServer) CreateFile

func (*UnimplementedFileServiceServer) DeleteFile

func (*UnimplementedFileServiceServer) GetFileContent

func (*UnimplementedFileServiceServer) GetFileContent(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedFileServiceServer) GetFileInfo

func (*UnimplementedFileServiceServer) GetFileInfo(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedFileServiceServer) SystemDelete

func (*UnimplementedFileServiceServer) SystemUndelete

func (*UnimplementedFileServiceServer) UpdateFile

type UnimplementedFreezeServiceServer

type UnimplementedFreezeServiceServer struct {
}

UnimplementedFreezeServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFreezeServiceServer) Freeze

type UnimplementedSmartContractServiceServer

type UnimplementedSmartContractServiceServer struct {
}

UnimplementedSmartContractServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSmartContractServiceServer) ContractCallLocalMethod

func (*UnimplementedSmartContractServiceServer) ContractCallLocalMethod(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedSmartContractServiceServer) ContractCallMethod

func (*UnimplementedSmartContractServiceServer) ContractGetBytecode

func (*UnimplementedSmartContractServiceServer) ContractGetBytecode(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedSmartContractServiceServer) CreateContract

func (*UnimplementedSmartContractServiceServer) DeleteContract

func (*UnimplementedSmartContractServiceServer) GetBySolidityID

func (*UnimplementedSmartContractServiceServer) GetContractInfo

func (*UnimplementedSmartContractServiceServer) GetTxRecordByContractID

func (*UnimplementedSmartContractServiceServer) GetTxRecordByContractID(ctx context.Context, req *Query) (*Response, error)

func (*UnimplementedSmartContractServiceServer) SystemDelete

func (*UnimplementedSmartContractServiceServer) SystemUndelete

func (*UnimplementedSmartContractServiceServer) UpdateContract

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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