models

package
v0.0.0-...-2a2476d Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OnfidoCheck

type OnfidoCheck struct {
	CheckId    string      `orm:"pk;size(50)"`
	IsVerified bool        `orm:"default(false)"`
	IsClear    bool        `orm:"default(false)"`
	User       *OnfidoUser `orm:"null;rel(one);"`
}

Check represents

type OnfidoUser

type OnfidoUser struct {
	EthereumAddress string       `orm:"pk;size(40)"`
	ApplicantId     string       `orm:"size(50);unique"`
	TermsHash       string       `orm:"size(64)"`
	TermsSignature  string       `orm:"size(130);unique"`
	OnfidoCheck     *OnfidoCheck `orm:"reverse(one)"`
}

User represents the Prediction Markets user that must follow a KYC process in order to use the official frontend

Jump to

Keyboard shortcuts

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