whitelist

package
v0.0.60 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Whitelist

type Whitelist struct {
	// contains filtered or unexported fields
}

func NewWhiteList

func NewWhiteList(logger logging.Logger, contractAddr ...string) *Whitelist

NewWhiteList makes sure order of contract address. index = 0 should be USD, index = 1 should be BTC, index = 2 should be ETH.

func (*Whitelist) InInverseContractWhiteList

func (w *Whitelist) InInverseContractWhiteList(perpID string) (bool, string)

Jump to

Keyboard shortcuts

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