Documentation
¶
Index ¶
- Variables
- type AccountType
- func (AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountType) Enum() *AccountType
- func (AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountType) Number() protoreflect.EnumNumber
- func (x AccountType) String() string
- func (AccountType) Type() protoreflect.EnumType
- type Blockhash
- type BlockhashValidationError
- type ClientPong
- func (*ClientPong) Descriptor() ([]byte, []int)deprecated
- func (x *ClientPong) GetTimestamp() *timestamppb.Timestamp
- func (*ClientPong) ProtoMessage()
- func (x *ClientPong) ProtoReflect() protoreflect.Message
- func (x *ClientPong) Reset()
- func (x *ClientPong) String() string
- func (m *ClientPong) Validate() error
- type ClientPongValidationError
- type Hash
- type HashValidationError
- type IntentId
- type IntentIdValidationError
- type Interval
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetBody() []byte
- func (x *Request) GetMethod() string
- func (x *Request) GetService() string
- func (x *Request) GetVersion() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- func (m *Request) Validate() error
- type RequestValidationError
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetBody() []byte
- func (x *Response) GetMessage() string
- func (x *Response) GetResult() Response_Result
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- func (m *Response) Validate() error
- type ResponseValidationError
- type Response_Result
- func (Response_Result) Descriptor() protoreflect.EnumDescriptor
- func (x Response_Result) Enum() *Response_Result
- func (Response_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x Response_Result) Number() protoreflect.EnumNumber
- func (x Response_Result) String() string
- func (Response_Result) Type() protoreflect.EnumType
- type ServerPing
- func (*ServerPing) Descriptor() ([]byte, []int)deprecated
- func (x *ServerPing) GetPingDelay() *durationpb.Duration
- func (x *ServerPing) GetTimestamp() *timestamppb.Timestamp
- func (*ServerPing) ProtoMessage()
- func (x *ServerPing) ProtoReflect() protoreflect.Message
- func (x *ServerPing) Reset()
- func (x *ServerPing) String() string
- func (m *ServerPing) Validate() error
- type ServerPingValidationError
- type Signature
- type SignatureValidationError
- type SolanaAccountId
- func (*SolanaAccountId) Descriptor() ([]byte, []int)deprecated
- func (x *SolanaAccountId) GetValue() []byte
- func (*SolanaAccountId) ProtoMessage()
- func (x *SolanaAccountId) ProtoReflect() protoreflect.Message
- func (x *SolanaAccountId) Reset()
- func (x *SolanaAccountId) String() string
- func (m *SolanaAccountId) Validate() error
- type SolanaAccountIdValidationError
- func (e SolanaAccountIdValidationError) Cause() error
- func (e SolanaAccountIdValidationError) Error() string
- func (e SolanaAccountIdValidationError) ErrorName() string
- func (e SolanaAccountIdValidationError) Field() string
- func (e SolanaAccountIdValidationError) Key() bool
- func (e SolanaAccountIdValidationError) Reason() string
- type SolanaAddressLookupTable
- func (*SolanaAddressLookupTable) Descriptor() ([]byte, []int)deprecated
- func (x *SolanaAddressLookupTable) GetAddress() *SolanaAccountId
- func (x *SolanaAddressLookupTable) GetEntries() []*SolanaAccountId
- func (*SolanaAddressLookupTable) ProtoMessage()
- func (x *SolanaAddressLookupTable) ProtoReflect() protoreflect.Message
- func (x *SolanaAddressLookupTable) Reset()
- func (x *SolanaAddressLookupTable) String() string
- func (m *SolanaAddressLookupTable) Validate() error
- type SolanaAddressLookupTableValidationError
- func (e SolanaAddressLookupTableValidationError) Cause() error
- func (e SolanaAddressLookupTableValidationError) Error() string
- func (e SolanaAddressLookupTableValidationError) ErrorName() string
- func (e SolanaAddressLookupTableValidationError) Field() string
- func (e SolanaAddressLookupTableValidationError) Key() bool
- func (e SolanaAddressLookupTableValidationError) Reason() string
- type SwapId
- type SwapIdValidationError
- type Transaction
- type TransactionValidationError
- func (e TransactionValidationError) Cause() error
- func (e TransactionValidationError) Error() string
- func (e TransactionValidationError) ErrorName() string
- func (e TransactionValidationError) Field() string
- func (e TransactionValidationError) Key() bool
- func (e TransactionValidationError) Reason() string
- type UUID
- type UUIDValidationError
Constants ¶
This section is empty.
Variables ¶
var ( AccountType_name = map[int32]string{ 0: "UNKNOWN", 1: "PRIMARY", 2: "REMOTE_SEND_GIFT_CARD", 3: "SWAP", 4: "ASSOCIATED_TOKEN_ACCOUNT", 5: "POOL", } AccountType_value = map[string]int32{ "UNKNOWN": 0, "PRIMARY": 1, "REMOTE_SEND_GIFT_CARD": 2, "SWAP": 3, "ASSOCIATED_TOKEN_ACCOUNT": 4, "POOL": 5, } )
Enum value maps for AccountType.
var ( Interval_name = map[int32]string{ 0: "RAW", 1: "SECOND", 2: "MINUTE", 3: "HOUR", 4: "DAY", 5: "WEEK", } Interval_value = map[string]int32{ "RAW": 0, "SECOND": 1, "MINUTE": 2, "HOUR": 3, "DAY": 4, "WEEK": 5, } )
Enum value maps for Interval.
var ( Response_Result_name = map[int32]string{ 0: "OK", 1: "ERROR", } Response_Result_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for Response_Result.
var File_common_v1_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountType ¶
type AccountType int32
AccountType associates a type to an account, which infers how an account is used within the OCP ecosystem.
const ( AccountType_UNKNOWN AccountType = 0 AccountType_PRIMARY AccountType = 1 AccountType_REMOTE_SEND_GIFT_CARD AccountType = 2 AccountType_SWAP AccountType = 3 AccountType_ASSOCIATED_TOKEN_ACCOUNT AccountType = 4 AccountType_POOL AccountType = 5 )
func (AccountType) Descriptor ¶
func (AccountType) Descriptor() protoreflect.EnumDescriptor
func (AccountType) Enum ¶
func (x AccountType) Enum() *AccountType
func (AccountType) EnumDescriptor
deprecated
func (AccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountType.Descriptor instead.
func (AccountType) Number ¶
func (x AccountType) Number() protoreflect.EnumNumber
func (AccountType) String ¶
func (x AccountType) String() string
func (AccountType) Type ¶
func (AccountType) Type() protoreflect.EnumType
type Blockhash ¶
type Blockhash struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Blockhash is a raw binary Solana blockchash
func (*Blockhash) Descriptor
deprecated
func (*Blockhash) ProtoMessage ¶
func (*Blockhash) ProtoMessage()
func (*Blockhash) ProtoReflect ¶
func (x *Blockhash) ProtoReflect() protoreflect.Message
type BlockhashValidationError ¶
type BlockhashValidationError struct {
// contains filtered or unexported fields
}
BlockhashValidationError is the validation error returned by Blockhash.Validate if the designated constraints aren't met.
func (BlockhashValidationError) Cause ¶
func (e BlockhashValidationError) Cause() error
Cause function returns cause value.
func (BlockhashValidationError) Error ¶
func (e BlockhashValidationError) Error() string
Error satisfies the builtin error interface
func (BlockhashValidationError) ErrorName ¶
func (e BlockhashValidationError) ErrorName() string
ErrorName returns error name.
func (BlockhashValidationError) Field ¶
func (e BlockhashValidationError) Field() string
Field function returns field value.
func (BlockhashValidationError) Key ¶
func (e BlockhashValidationError) Key() bool
Key function returns key value.
func (BlockhashValidationError) Reason ¶
func (e BlockhashValidationError) Reason() string
Reason function returns reason value.
type ClientPong ¶
type ClientPong struct {
// Timestamp the Pong was sent on the stream, for server to get a sense
// of potential network latency
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*ClientPong) Descriptor
deprecated
func (*ClientPong) Descriptor() ([]byte, []int)
Deprecated: Use ClientPong.ProtoReflect.Descriptor instead.
func (*ClientPong) GetTimestamp ¶
func (x *ClientPong) GetTimestamp() *timestamppb.Timestamp
func (*ClientPong) ProtoMessage ¶
func (*ClientPong) ProtoMessage()
func (*ClientPong) ProtoReflect ¶
func (x *ClientPong) ProtoReflect() protoreflect.Message
func (*ClientPong) Reset ¶
func (x *ClientPong) Reset()
func (*ClientPong) String ¶
func (x *ClientPong) String() string
func (*ClientPong) Validate ¶
func (m *ClientPong) Validate() error
Validate checks the field values on ClientPong with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientPongValidationError ¶
type ClientPongValidationError struct {
// contains filtered or unexported fields
}
ClientPongValidationError is the validation error returned by ClientPong.Validate if the designated constraints aren't met.
func (ClientPongValidationError) Cause ¶
func (e ClientPongValidationError) Cause() error
Cause function returns cause value.
func (ClientPongValidationError) Error ¶
func (e ClientPongValidationError) Error() string
Error satisfies the builtin error interface
func (ClientPongValidationError) ErrorName ¶
func (e ClientPongValidationError) ErrorName() string
ErrorName returns error name.
func (ClientPongValidationError) Field ¶
func (e ClientPongValidationError) Field() string
Field function returns field value.
func (ClientPongValidationError) Key ¶
func (e ClientPongValidationError) Key() bool
Key function returns key value.
func (ClientPongValidationError) Reason ¶
func (e ClientPongValidationError) Reason() string
Reason function returns reason value.
type Hash ¶
type Hash struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Hash is a raw binary 32 byte hash value
func (*Hash) Descriptor
deprecated
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect ¶
func (x *Hash) ProtoReflect() protoreflect.Message
type HashValidationError ¶
type HashValidationError struct {
// contains filtered or unexported fields
}
HashValidationError is the validation error returned by Hash.Validate if the designated constraints aren't met.
func (HashValidationError) Cause ¶
func (e HashValidationError) Cause() error
Cause function returns cause value.
func (HashValidationError) Error ¶
func (e HashValidationError) Error() string
Error satisfies the builtin error interface
func (HashValidationError) ErrorName ¶
func (e HashValidationError) ErrorName() string
ErrorName returns error name.
func (HashValidationError) Field ¶
func (e HashValidationError) Field() string
Field function returns field value.
func (HashValidationError) Key ¶
func (e HashValidationError) Key() bool
Key function returns key value.
func (HashValidationError) Reason ¶
func (e HashValidationError) Reason() string
Reason function returns reason value.
type IntentId ¶
type IntentId struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
IntentId is a client-side generated ID that maps to an intent to perform actions on the blockchain fulfilled by the OCP sequencer.
func (*IntentId) Descriptor
deprecated
func (*IntentId) ProtoMessage ¶
func (*IntentId) ProtoMessage()
func (*IntentId) ProtoReflect ¶
func (x *IntentId) ProtoReflect() protoreflect.Message
type IntentIdValidationError ¶
type IntentIdValidationError struct {
// contains filtered or unexported fields
}
IntentIdValidationError is the validation error returned by IntentId.Validate if the designated constraints aren't met.
func (IntentIdValidationError) Cause ¶
func (e IntentIdValidationError) Cause() error
Cause function returns cause value.
func (IntentIdValidationError) Error ¶
func (e IntentIdValidationError) Error() string
Error satisfies the builtin error interface
func (IntentIdValidationError) ErrorName ¶
func (e IntentIdValidationError) ErrorName() string
ErrorName returns error name.
func (IntentIdValidationError) Field ¶
func (e IntentIdValidationError) Field() string
Field function returns field value.
func (IntentIdValidationError) Key ¶
func (e IntentIdValidationError) Key() bool
Key function returns key value.
func (IntentIdValidationError) Reason ¶
func (e IntentIdValidationError) Reason() string
Reason function returns reason value.
type Interval ¶ added in v0.8.0
type Interval int32
func (Interval) Descriptor ¶ added in v0.8.0
func (Interval) Descriptor() protoreflect.EnumDescriptor
func (Interval) EnumDescriptor
deprecated
added in
v0.8.0
func (Interval) Number ¶ added in v0.8.0
func (x Interval) Number() protoreflect.EnumNumber
func (Interval) Type ¶ added in v0.8.0
func (Interval) Type() protoreflect.EnumType
type Request ¶
type Request struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
Request is a generic wrapper for gRPC requests
func (*Request) Descriptor
deprecated
func (*Request) GetService ¶
func (*Request) GetVersion ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type RequestValidationError ¶
type RequestValidationError struct {
// contains filtered or unexported fields
}
RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.
func (RequestValidationError) Cause ¶
func (e RequestValidationError) Cause() error
Cause function returns cause value.
func (RequestValidationError) Error ¶
func (e RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RequestValidationError) ErrorName ¶
func (e RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RequestValidationError) Field ¶
func (e RequestValidationError) Field() string
Field function returns field value.
func (RequestValidationError) Key ¶
func (e RequestValidationError) Key() bool
Key function returns key value.
func (RequestValidationError) Reason ¶
func (e RequestValidationError) Reason() string
Reason function returns reason value.
type Response ¶
type Response struct {
Result Response_Result `protobuf:"varint,1,opt,name=result,proto3,enum=ocp.common.v1.Response_Result" json:"result,omitempty"`
Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Response is a generic wrapper for gRPC responses
func (*Response) Descriptor
deprecated
func (*Response) GetMessage ¶
func (*Response) GetResult ¶
func (x *Response) GetResult() Response_Result
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type ResponseValidationError ¶
type ResponseValidationError struct {
// contains filtered or unexported fields
}
ResponseValidationError is the validation error returned by Response.Validate if the designated constraints aren't met.
func (ResponseValidationError) Cause ¶
func (e ResponseValidationError) Cause() error
Cause function returns cause value.
func (ResponseValidationError) Error ¶
func (e ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseValidationError) ErrorName ¶
func (e ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseValidationError) Field ¶
func (e ResponseValidationError) Field() string
Field function returns field value.
func (ResponseValidationError) Key ¶
func (e ResponseValidationError) Key() bool
Key function returns key value.
func (ResponseValidationError) Reason ¶
func (e ResponseValidationError) Reason() string
Reason function returns reason value.
type Response_Result ¶
type Response_Result int32
const ( Response_OK Response_Result = 0 Response_ERROR Response_Result = 1 )
func (Response_Result) Descriptor ¶
func (Response_Result) Descriptor() protoreflect.EnumDescriptor
func (Response_Result) Enum ¶
func (x Response_Result) Enum() *Response_Result
func (Response_Result) EnumDescriptor
deprecated
func (Response_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use Response_Result.Descriptor instead.
func (Response_Result) Number ¶
func (x Response_Result) Number() protoreflect.EnumNumber
func (Response_Result) String ¶
func (x Response_Result) String() string
func (Response_Result) Type ¶
func (Response_Result) Type() protoreflect.EnumType
type ServerPing ¶
type ServerPing struct {
// Timestamp the ping was sent on the stream, for client to get a sense
// of potential network latency
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// The delay server will apply before sending the next ping
PingDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=ping_delay,json=pingDelay,proto3" json:"ping_delay,omitempty"`
// contains filtered or unexported fields
}
func (*ServerPing) Descriptor
deprecated
func (*ServerPing) Descriptor() ([]byte, []int)
Deprecated: Use ServerPing.ProtoReflect.Descriptor instead.
func (*ServerPing) GetPingDelay ¶
func (x *ServerPing) GetPingDelay() *durationpb.Duration
func (*ServerPing) GetTimestamp ¶
func (x *ServerPing) GetTimestamp() *timestamppb.Timestamp
func (*ServerPing) ProtoMessage ¶
func (*ServerPing) ProtoMessage()
func (*ServerPing) ProtoReflect ¶
func (x *ServerPing) ProtoReflect() protoreflect.Message
func (*ServerPing) Reset ¶
func (x *ServerPing) Reset()
func (*ServerPing) String ¶
func (x *ServerPing) String() string
func (*ServerPing) Validate ¶
func (m *ServerPing) Validate() error
Validate checks the field values on ServerPing with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ServerPingValidationError ¶
type ServerPingValidationError struct {
// contains filtered or unexported fields
}
ServerPingValidationError is the validation error returned by ServerPing.Validate if the designated constraints aren't met.
func (ServerPingValidationError) Cause ¶
func (e ServerPingValidationError) Cause() error
Cause function returns cause value.
func (ServerPingValidationError) Error ¶
func (e ServerPingValidationError) Error() string
Error satisfies the builtin error interface
func (ServerPingValidationError) ErrorName ¶
func (e ServerPingValidationError) ErrorName() string
ErrorName returns error name.
func (ServerPingValidationError) Field ¶
func (e ServerPingValidationError) Field() string
Field function returns field value.
func (ServerPingValidationError) Key ¶
func (e ServerPingValidationError) Key() bool
Key function returns key value.
func (ServerPingValidationError) Reason ¶
func (e ServerPingValidationError) Reason() string
Reason function returns reason value.
type Signature ¶
type Signature struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Signature is a raw binary Ed25519 signature
func (*Signature) Descriptor
deprecated
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type SignatureValidationError ¶
type SignatureValidationError struct {
// contains filtered or unexported fields
}
SignatureValidationError is the validation error returned by Signature.Validate if the designated constraints aren't met.
func (SignatureValidationError) Cause ¶
func (e SignatureValidationError) Cause() error
Cause function returns cause value.
func (SignatureValidationError) Error ¶
func (e SignatureValidationError) Error() string
Error satisfies the builtin error interface
func (SignatureValidationError) ErrorName ¶
func (e SignatureValidationError) ErrorName() string
ErrorName returns error name.
func (SignatureValidationError) Field ¶
func (e SignatureValidationError) Field() string
Field function returns field value.
func (SignatureValidationError) Key ¶
func (e SignatureValidationError) Key() bool
Key function returns key value.
func (SignatureValidationError) Reason ¶
func (e SignatureValidationError) Reason() string
Reason function returns reason value.
type SolanaAccountId ¶
type SolanaAccountId struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
SolanaAccountId is a raw binary Ed25519 public key for a Solana account
func (*SolanaAccountId) Descriptor
deprecated
func (*SolanaAccountId) Descriptor() ([]byte, []int)
Deprecated: Use SolanaAccountId.ProtoReflect.Descriptor instead.
func (*SolanaAccountId) GetValue ¶
func (x *SolanaAccountId) GetValue() []byte
func (*SolanaAccountId) ProtoMessage ¶
func (*SolanaAccountId) ProtoMessage()
func (*SolanaAccountId) ProtoReflect ¶
func (x *SolanaAccountId) ProtoReflect() protoreflect.Message
func (*SolanaAccountId) Reset ¶
func (x *SolanaAccountId) Reset()
func (*SolanaAccountId) String ¶
func (x *SolanaAccountId) String() string
func (*SolanaAccountId) Validate ¶
func (m *SolanaAccountId) Validate() error
Validate checks the field values on SolanaAccountId with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SolanaAccountIdValidationError ¶
type SolanaAccountIdValidationError struct {
// contains filtered or unexported fields
}
SolanaAccountIdValidationError is the validation error returned by SolanaAccountId.Validate if the designated constraints aren't met.
func (SolanaAccountIdValidationError) Cause ¶
func (e SolanaAccountIdValidationError) Cause() error
Cause function returns cause value.
func (SolanaAccountIdValidationError) Error ¶
func (e SolanaAccountIdValidationError) Error() string
Error satisfies the builtin error interface
func (SolanaAccountIdValidationError) ErrorName ¶
func (e SolanaAccountIdValidationError) ErrorName() string
ErrorName returns error name.
func (SolanaAccountIdValidationError) Field ¶
func (e SolanaAccountIdValidationError) Field() string
Field function returns field value.
func (SolanaAccountIdValidationError) Key ¶
func (e SolanaAccountIdValidationError) Key() bool
Key function returns key value.
func (SolanaAccountIdValidationError) Reason ¶
func (e SolanaAccountIdValidationError) Reason() string
Reason function returns reason value.
type SolanaAddressLookupTable ¶
type SolanaAddressLookupTable struct {
Address *SolanaAccountId `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Entries []*SolanaAccountId `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
A Solana address lookup table used in versioned transactions
func (*SolanaAddressLookupTable) Descriptor
deprecated
func (*SolanaAddressLookupTable) Descriptor() ([]byte, []int)
Deprecated: Use SolanaAddressLookupTable.ProtoReflect.Descriptor instead.
func (*SolanaAddressLookupTable) GetAddress ¶
func (x *SolanaAddressLookupTable) GetAddress() *SolanaAccountId
func (*SolanaAddressLookupTable) GetEntries ¶
func (x *SolanaAddressLookupTable) GetEntries() []*SolanaAccountId
func (*SolanaAddressLookupTable) ProtoMessage ¶
func (*SolanaAddressLookupTable) ProtoMessage()
func (*SolanaAddressLookupTable) ProtoReflect ¶
func (x *SolanaAddressLookupTable) ProtoReflect() protoreflect.Message
func (*SolanaAddressLookupTable) Reset ¶
func (x *SolanaAddressLookupTable) Reset()
func (*SolanaAddressLookupTable) String ¶
func (x *SolanaAddressLookupTable) String() string
func (*SolanaAddressLookupTable) Validate ¶
func (m *SolanaAddressLookupTable) Validate() error
Validate checks the field values on SolanaAddressLookupTable with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SolanaAddressLookupTableValidationError ¶
type SolanaAddressLookupTableValidationError struct {
// contains filtered or unexported fields
}
SolanaAddressLookupTableValidationError is the validation error returned by SolanaAddressLookupTable.Validate if the designated constraints aren't met.
func (SolanaAddressLookupTableValidationError) Cause ¶
func (e SolanaAddressLookupTableValidationError) Cause() error
Cause function returns cause value.
func (SolanaAddressLookupTableValidationError) Error ¶
func (e SolanaAddressLookupTableValidationError) Error() string
Error satisfies the builtin error interface
func (SolanaAddressLookupTableValidationError) ErrorName ¶
func (e SolanaAddressLookupTableValidationError) ErrorName() string
ErrorName returns error name.
func (SolanaAddressLookupTableValidationError) Field ¶
func (e SolanaAddressLookupTableValidationError) Field() string
Field function returns field value.
func (SolanaAddressLookupTableValidationError) Key ¶
func (e SolanaAddressLookupTableValidationError) Key() bool
Key function returns key value.
func (SolanaAddressLookupTableValidationError) Reason ¶
func (e SolanaAddressLookupTableValidationError) Reason() string
Reason function returns reason value.
type SwapId ¶
type SwapId struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
SwapId is a client-side generated ID that maps to a swap.
func (*SwapId) Descriptor
deprecated
func (*SwapId) ProtoMessage ¶
func (*SwapId) ProtoMessage()
func (*SwapId) ProtoReflect ¶
func (x *SwapId) ProtoReflect() protoreflect.Message
type SwapIdValidationError ¶
type SwapIdValidationError struct {
// contains filtered or unexported fields
}
SwapIdValidationError is the validation error returned by SwapId.Validate if the designated constraints aren't met.
func (SwapIdValidationError) Cause ¶
func (e SwapIdValidationError) Cause() error
Cause function returns cause value.
func (SwapIdValidationError) Error ¶
func (e SwapIdValidationError) Error() string
Error satisfies the builtin error interface
func (SwapIdValidationError) ErrorName ¶
func (e SwapIdValidationError) ErrorName() string
ErrorName returns error name.
func (SwapIdValidationError) Field ¶
func (e SwapIdValidationError) Field() string
Field function returns field value.
func (SwapIdValidationError) Key ¶
func (e SwapIdValidationError) Key() bool
Key function returns key value.
func (SwapIdValidationError) Reason ¶
func (e SwapIdValidationError) Reason() string
Reason function returns reason value.
type Transaction ¶
type Transaction struct {
// Maximum size taken from: https://github.com/solana-labs/solana/blob/39b3ac6a8d29e14faa1de73d8b46d390ad41797b/sdk/src/packet.rs#L9-L13
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Transaction is a raw binary Solana transaction
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetValue ¶
func (x *Transaction) GetValue() []byte
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
func (*Transaction) Validate ¶
func (m *Transaction) Validate() error
Validate checks the field values on Transaction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TransactionValidationError ¶
type TransactionValidationError struct {
// contains filtered or unexported fields
}
TransactionValidationError is the validation error returned by Transaction.Validate if the designated constraints aren't met.
func (TransactionValidationError) Cause ¶
func (e TransactionValidationError) Cause() error
Cause function returns cause value.
func (TransactionValidationError) Error ¶
func (e TransactionValidationError) Error() string
Error satisfies the builtin error interface
func (TransactionValidationError) ErrorName ¶
func (e TransactionValidationError) ErrorName() string
ErrorName returns error name.
func (TransactionValidationError) Field ¶
func (e TransactionValidationError) Field() string
Field function returns field value.
func (TransactionValidationError) Key ¶
func (e TransactionValidationError) Key() bool
Key function returns key value.
func (TransactionValidationError) Reason ¶
func (e TransactionValidationError) Reason() string
Reason function returns reason value.
type UUID ¶
type UUID struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
UUID is a 16 byte UUID value
func (*UUID) Descriptor
deprecated
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) ProtoReflect ¶
func (x *UUID) ProtoReflect() protoreflect.Message
type UUIDValidationError ¶
type UUIDValidationError struct {
// contains filtered or unexported fields
}
UUIDValidationError is the validation error returned by UUID.Validate if the designated constraints aren't met.
func (UUIDValidationError) Cause ¶
func (e UUIDValidationError) Cause() error
Cause function returns cause value.
func (UUIDValidationError) Error ¶
func (e UUIDValidationError) Error() string
Error satisfies the builtin error interface
func (UUIDValidationError) ErrorName ¶
func (e UUIDValidationError) ErrorName() string
ErrorName returns error name.
func (UUIDValidationError) Field ¶
func (e UUIDValidationError) Field() string
Field function returns field value.
func (UUIDValidationError) Key ¶
func (e UUIDValidationError) Key() bool
Key function returns key value.
func (UUIDValidationError) Reason ¶
func (e UUIDValidationError) Reason() string
Reason function returns reason value.