Documentation ¶
Index ¶
- Variables
- type KycDataPayload
- func (*KycDataPayload) Descriptor() ([]byte, []int)
- func (m *KycDataPayload) GetApproved() bool
- func (m *KycDataPayload) GetID() string
- func (m *KycDataPayload) GetIgnore() bool
- func (m *KycDataPayload) Marshal() (dAtA []byte, err error)
- func (m *KycDataPayload) MarshalTo(dAtA []byte) (int, error)
- func (m *KycDataPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KycDataPayload) ProtoMessage()
- func (m *KycDataPayload) Reset()
- func (m *KycDataPayload) Size() (n int)
- func (m *KycDataPayload) String() string
- func (m *KycDataPayload) Unmarshal(dAtA []byte) error
- func (payload KycDataPayload) Validate(address string) bool
- func (m *KycDataPayload) XXX_DiscardUnknown()
- func (m *KycDataPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KycDataPayload) XXX_Merge(src proto.Message)
- func (m *KycDataPayload) XXX_Size() int
- func (m *KycDataPayload) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type KycDataPayload ¶
type KycDataPayload struct { // ignore is true if KYC validation is not required. Ignore bool `protobuf:"varint,1,opt,name=ignore,proto3" json:"ignore,omitempty"` // approved represent if KYC validation is approved or not. Approved bool `protobuf:"varint,2,opt,name=approved,proto3" json:"approved,omitempty"` // id is the id of the KYC user. ID string `protobuf:"bytes,3,opt,name=id,proto3" json:"id"` }
KycDataPayload is the KYC info.
func (*KycDataPayload) Descriptor ¶
func (*KycDataPayload) Descriptor() ([]byte, []int)
func (*KycDataPayload) GetApproved ¶
func (m *KycDataPayload) GetApproved() bool
func (*KycDataPayload) GetID ¶
func (m *KycDataPayload) GetID() string
func (*KycDataPayload) GetIgnore ¶
func (m *KycDataPayload) GetIgnore() bool
func (*KycDataPayload) Marshal ¶
func (m *KycDataPayload) Marshal() (dAtA []byte, err error)
func (*KycDataPayload) MarshalToSizedBuffer ¶
func (m *KycDataPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KycDataPayload) ProtoMessage ¶
func (*KycDataPayload) ProtoMessage()
func (*KycDataPayload) Reset ¶
func (m *KycDataPayload) Reset()
func (*KycDataPayload) Size ¶
func (m *KycDataPayload) Size() (n int)
func (*KycDataPayload) String ¶
func (m *KycDataPayload) String() string
func (*KycDataPayload) Unmarshal ¶
func (m *KycDataPayload) Unmarshal(dAtA []byte) error
func (KycDataPayload) Validate ¶
func (payload KycDataPayload) Validate(address string) bool
Validate checks whether the kyc data is valid for a particular bettor if the kyc is required
func (*KycDataPayload) XXX_DiscardUnknown ¶
func (m *KycDataPayload) XXX_DiscardUnknown()
func (*KycDataPayload) XXX_Marshal ¶
func (m *KycDataPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KycDataPayload) XXX_Merge ¶
func (m *KycDataPayload) XXX_Merge(src proto.Message)
func (*KycDataPayload) XXX_Size ¶
func (m *KycDataPayload) XXX_Size() int
func (*KycDataPayload) XXX_Unmarshal ¶
func (m *KycDataPayload) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.