Versions in this module Expand all Collapse all v0 v0.1.0 Apr 21, 2023 Changes in this version + var ReadAllowListFunc = abi.MustNewMethod("function readAllowList(address) returns (uint256)") + var SetAdminFunc = abi.MustNewMethod("function setAdmin(address)") + var SetEnabledSignatureFunc = abi.MustNewMethod("function setEnabled(address)") + var SetNoneFunc = abi.MustNewMethod("function setNone(address)") + func ApplyGenesisAllocs(chain *chain.Genesis, allowListAddr types.Address, ...) + type AllowList struct + func NewAllowList(state stateRef, addr types.Address) *AllowList + func (a *AllowList) Addr() types.Address + func (a *AllowList) GetRole(addr types.Address) Role + func (a *AllowList) Run(c *runtime.Contract, host runtime.Host, _ *chain.ForksInTime) *runtime.ExecutionResult + func (a *AllowList) SetRole(addr types.Address, role Role) + type Role types.Hash + var AdminRole Role = Role(...) + var EnabledRole Role = Role(...) + var NoRole Role = Role(...) + func (r Role) Bytes() []byte + func (r Role) Enabled() bool + func (r Role) Uint64() uint64