types

package
v0.0.0-...-65c0291 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthKyc        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKyc          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKyc = fmt.Errorf("proto: unexpected end of group")
)

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) MarshalTo

func (m *KycDataPayload) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL