apioracle

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMaxProposalsReached = fmt.Errorf("max proposals per address reached")

Functions

func NewProposalACL

func NewProposalACL(purgePeriod time.Duration, maxProposals uint) *proposalACL

Types

type APIoracle

type APIoracle struct {
	Namespace uint32
	// contains filtered or unexported fields
}

func NewAPIoracle

func NewAPIoracle(o *oracle.Oracle, r *router.Router) (*APIoracle, error)

func (*APIoracle) EnableERC20

func (a *APIoracle) EnableERC20(chainName string, web3Endpoints []string) error

Jump to

Keyboard shortcuts

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