Documentation ¶
Index ¶
- type AddressLevelInfo
- type IfOracle
- func (this *IfOracle) AcceptAdmin() (string, error)
- func (this *IfOracle) Admin() (common.Address, error)
- func (this *IfOracle) BindAddressToONTID(addr common.Address, ont_id string, index uint64) (string, error)
- func (this *IfOracle) GetBindedONTID(addr common.Address) (string, error)
- func (this *IfOracle) GetKYC(addr common.Address) (string, error)
- func (this *IfOracle) GetLevel(addr common.Address) (*AddressLevelInfo, error)
- func (this *IfOracle) Init(admin common.Address) (string, error)
- func (this *IfOracle) PendingAdmin() (common.Address, error)
- func (this *IfOracle) PutAddressKYC(addr common.Address, kycHash string) (string, error)
- func (this *IfOracle) PutAddressLevel(addr common.Address, level uint64) (string, error)
- func (this *IfOracle) SetPendingAdmin(pendingAdmin common.Address) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressLevelInfo ¶
type AddressLevelInfo struct { OScoreLevel uint8 `json:"o_score_level"` // level Timestamp uint64 `json:"timestamp"` }
func (*AddressLevelInfo) Deserialize ¶
func (this *AddressLevelInfo) Deserialize(source *common.ZeroCopySource) error
type IfOracle ¶
type IfOracle struct {
// contains filtered or unexported fields
}
func NewIfOracle ¶
func (*IfOracle) AcceptAdmin ¶
func (*IfOracle) BindAddressToONTID ¶
func (*IfOracle) GetBindedONTID ¶
func (*IfOracle) GetLevel ¶
func (this *IfOracle) GetLevel(addr common.Address) (*AddressLevelInfo, error)
func (*IfOracle) PutAddressKYC ¶
func (*IfOracle) PutAddressLevel ¶
Click to show internal directories.
Click to hide internal directories.