Documentation
¶
Index ¶
- Variables
- type BlockchainTokenTypeV1
- func (BlockchainTokenTypeV1) Descriptor() protoreflect.EnumDescriptor
- func (x BlockchainTokenTypeV1) Enum() *BlockchainTokenTypeV1
- func (BlockchainTokenTypeV1) EnumDescriptor() ([]byte, []int)deprecated
- func (x BlockchainTokenTypeV1) Number() protoreflect.EnumNumber
- func (x BlockchainTokenTypeV1) String() string
- func (BlockchainTokenTypeV1) Type() protoreflect.EnumType
- type BlockchainTxn
- func (*BlockchainTxn) Descriptor() ([]byte, []int)deprecated
- func (x *BlockchainTxn) GetPaymentV2() *BlockchainTxnPaymentV2
- func (m *BlockchainTxn) GetTxn() isBlockchainTxn_Txn
- func (*BlockchainTxn) ProtoMessage()
- func (x *BlockchainTxn) ProtoReflect() protoreflect.Message
- func (x *BlockchainTxn) Reset()
- func (x *BlockchainTxn) String() string
- type BlockchainTxnBundleV1
- func (*BlockchainTxnBundleV1) Descriptor() ([]byte, []int)deprecated
- func (x *BlockchainTxnBundleV1) GetTransactions() []*BlockchainTxn
- func (*BlockchainTxnBundleV1) ProtoMessage()
- func (x *BlockchainTxnBundleV1) ProtoReflect() protoreflect.Message
- func (x *BlockchainTxnBundleV1) Reset()
- func (x *BlockchainTxnBundleV1) String() string
- type BlockchainTxnPaymentV2
- func (*BlockchainTxnPaymentV2) Descriptor() ([]byte, []int)deprecated
- func (x *BlockchainTxnPaymentV2) GetFee() uint64
- func (x *BlockchainTxnPaymentV2) GetNonce() uint64
- func (x *BlockchainTxnPaymentV2) GetPayer() []byte
- func (x *BlockchainTxnPaymentV2) GetPayments() []*Payment
- func (x *BlockchainTxnPaymentV2) GetSignature() []byte
- func (*BlockchainTxnPaymentV2) ProtoMessage()
- func (x *BlockchainTxnPaymentV2) ProtoReflect() protoreflect.Message
- func (x *BlockchainTxnPaymentV2) Reset()
- func (x *BlockchainTxnPaymentV2) String() string
- type BlockchainTxn_PaymentV2
- type Payment
- func (*Payment) Descriptor() ([]byte, []int)deprecated
- func (x *Payment) GetAmount() uint64
- func (x *Payment) GetMax() bool
- func (x *Payment) GetMemo() uint64
- func (x *Payment) GetPayee() []byte
- func (x *Payment) GetTokenType() BlockchainTokenTypeV1
- func (*Payment) ProtoMessage()
- func (x *Payment) ProtoReflect() protoreflect.Message
- func (x *Payment) Reset()
- func (x *Payment) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BlockchainTokenTypeV1_name = map[int32]string{ 0: "hnt", 1: "hst", 2: "mobile", 3: "iot", } BlockchainTokenTypeV1_value = map[string]int32{ "hnt": 0, "hst": 1, "mobile": 2, "iot": 3, } )
Enum value maps for BlockchainTokenTypeV1.
View Source
var File_proto_blockchain_token_type_v1_proto protoreflect.FileDescriptor
View Source
var File_proto_blockchain_txn_payment_v2_proto protoreflect.FileDescriptor
View Source
var File_proto_blockchain_txn_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BlockchainTokenTypeV1 ¶
type BlockchainTokenTypeV1 int32
const ( BlockchainTokenTypeV1_hnt BlockchainTokenTypeV1 = 0 BlockchainTokenTypeV1_hst BlockchainTokenTypeV1 = 1 BlockchainTokenTypeV1_mobile BlockchainTokenTypeV1 = 2 BlockchainTokenTypeV1_iot BlockchainTokenTypeV1 = 3 )
func (BlockchainTokenTypeV1) Descriptor ¶
func (BlockchainTokenTypeV1) Descriptor() protoreflect.EnumDescriptor
func (BlockchainTokenTypeV1) Enum ¶
func (x BlockchainTokenTypeV1) Enum() *BlockchainTokenTypeV1
func (BlockchainTokenTypeV1) EnumDescriptor
deprecated
func (BlockchainTokenTypeV1) EnumDescriptor() ([]byte, []int)
Deprecated: Use BlockchainTokenTypeV1.Descriptor instead.
func (BlockchainTokenTypeV1) Number ¶
func (x BlockchainTokenTypeV1) Number() protoreflect.EnumNumber
func (BlockchainTokenTypeV1) String ¶
func (x BlockchainTokenTypeV1) String() string
func (BlockchainTokenTypeV1) Type ¶
func (BlockchainTokenTypeV1) Type() protoreflect.EnumType
type BlockchainTxn ¶
type BlockchainTxn struct { // Types that are assignable to Txn: // *BlockchainTxn_PaymentV2 Txn isBlockchainTxn_Txn `protobuf_oneof:"txn"` // contains filtered or unexported fields }
func (*BlockchainTxn) Descriptor
deprecated
func (*BlockchainTxn) Descriptor() ([]byte, []int)
Deprecated: Use BlockchainTxn.ProtoReflect.Descriptor instead.
func (*BlockchainTxn) GetPaymentV2 ¶
func (x *BlockchainTxn) GetPaymentV2() *BlockchainTxnPaymentV2
func (*BlockchainTxn) GetTxn ¶
func (m *BlockchainTxn) GetTxn() isBlockchainTxn_Txn
func (*BlockchainTxn) ProtoMessage ¶
func (*BlockchainTxn) ProtoMessage()
func (*BlockchainTxn) ProtoReflect ¶
func (x *BlockchainTxn) ProtoReflect() protoreflect.Message
func (*BlockchainTxn) Reset ¶
func (x *BlockchainTxn) Reset()
func (*BlockchainTxn) String ¶
func (x *BlockchainTxn) String() string
type BlockchainTxnBundleV1 ¶
type BlockchainTxnBundleV1 struct { Transactions []*BlockchainTxn `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*BlockchainTxnBundleV1) Descriptor
deprecated
func (*BlockchainTxnBundleV1) Descriptor() ([]byte, []int)
Deprecated: Use BlockchainTxnBundleV1.ProtoReflect.Descriptor instead.
func (*BlockchainTxnBundleV1) GetTransactions ¶
func (x *BlockchainTxnBundleV1) GetTransactions() []*BlockchainTxn
func (*BlockchainTxnBundleV1) ProtoMessage ¶
func (*BlockchainTxnBundleV1) ProtoMessage()
func (*BlockchainTxnBundleV1) ProtoReflect ¶
func (x *BlockchainTxnBundleV1) ProtoReflect() protoreflect.Message
func (*BlockchainTxnBundleV1) Reset ¶
func (x *BlockchainTxnBundleV1) Reset()
func (*BlockchainTxnBundleV1) String ¶
func (x *BlockchainTxnBundleV1) String() string
type BlockchainTxnPaymentV2 ¶
type BlockchainTxnPaymentV2 struct { Payer []byte `protobuf:"bytes,1,opt,name=payer,proto3" json:"payer,omitempty"` Payments []*Payment `protobuf:"bytes,2,rep,name=payments,proto3" json:"payments,omitempty"` Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*BlockchainTxnPaymentV2) Descriptor
deprecated
func (*BlockchainTxnPaymentV2) Descriptor() ([]byte, []int)
Deprecated: Use BlockchainTxnPaymentV2.ProtoReflect.Descriptor instead.
func (*BlockchainTxnPaymentV2) GetFee ¶
func (x *BlockchainTxnPaymentV2) GetFee() uint64
func (*BlockchainTxnPaymentV2) GetNonce ¶
func (x *BlockchainTxnPaymentV2) GetNonce() uint64
func (*BlockchainTxnPaymentV2) GetPayer ¶
func (x *BlockchainTxnPaymentV2) GetPayer() []byte
func (*BlockchainTxnPaymentV2) GetPayments ¶
func (x *BlockchainTxnPaymentV2) GetPayments() []*Payment
func (*BlockchainTxnPaymentV2) GetSignature ¶
func (x *BlockchainTxnPaymentV2) GetSignature() []byte
func (*BlockchainTxnPaymentV2) ProtoMessage ¶
func (*BlockchainTxnPaymentV2) ProtoMessage()
func (*BlockchainTxnPaymentV2) ProtoReflect ¶
func (x *BlockchainTxnPaymentV2) ProtoReflect() protoreflect.Message
func (*BlockchainTxnPaymentV2) Reset ¶
func (x *BlockchainTxnPaymentV2) Reset()
func (*BlockchainTxnPaymentV2) String ¶
func (x *BlockchainTxnPaymentV2) String() string
type BlockchainTxn_PaymentV2 ¶
type BlockchainTxn_PaymentV2 struct {
PaymentV2 *BlockchainTxnPaymentV2 `protobuf:"bytes,24,opt,name=payment_v2,json=paymentV2,proto3,oneof"`
}
type Payment ¶
type Payment struct { Payee []byte `protobuf:"bytes,1,opt,name=payee,proto3" json:"payee,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Memo uint64 `protobuf:"varint,3,opt,name=memo,proto3" json:"memo,omitempty"` Max bool `protobuf:"varint,4,opt,name=max,proto3" json:"max,omitempty"` TokenType BlockchainTokenTypeV1 `protobuf:"varint,5,opt,name=token_type,json=tokenType,proto3,enum=protos.BlockchainTokenTypeV1" json:"token_type,omitempty"` // contains filtered or unexported fields }
func (*Payment) Descriptor
deprecated
func (*Payment) GetTokenType ¶
func (x *Payment) GetTokenType() BlockchainTokenTypeV1
func (*Payment) ProtoMessage ¶
func (*Payment) ProtoMessage()
func (*Payment) ProtoReflect ¶
func (x *Payment) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.