Documentation
¶
Index ¶
- type Oracle
- func (this *Oracle) GetAddr() common.Address
- func (this *Oracle) GetDecimal() (uint8, error)
- func (this *Oracle) GetUnderlyingPrice(key string) (*big.Int, error)
- func (this *Oracle) Init(admin common.Address) (string, error)
- func (this *Oracle) IsPriceOracle() (bool, error)
- func (this *Oracle) PutUnderlyingPrice(keyList []string, price []*big.Int) (string, error)
- func (this *Oracle) SetDecimal(decimals uint8) (string, error)
- func (this *Oracle) UpdateSigner(newSigner *ontSDK.Account)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oracle ¶
type Oracle struct {
// contains filtered or unexported fields
}
func (*Oracle) GetDecimal ¶
func (*Oracle) GetUnderlyingPrice ¶
func (*Oracle) IsPriceOracle ¶
func (*Oracle) PutUnderlyingPrice ¶
func (*Oracle) UpdateSigner ¶
Click to show internal directories.
Click to hide internal directories.