Documentation ¶ Index ¶ Variables func NewProposalACL(purgePeriod time.Duration, maxProposals uint) *proposalACL type APIoracle func NewAPIoracle(o *oracle.Oracle, r *router.Router) (*APIoracle, error) func (a *APIoracle) EnableERC20(chainName string, web3Endpoints []string) error 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 Source Files ¶ View all Source files acl.go apioracle.go Click to show internal directories. Click to hide internal directories.