Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SetAdminFunc = abi.MustNewMethod("function setAdmin(address)") SetEnabledSignatureFunc = abi.MustNewMethod("function setEnabled(address)") SetNoneFunc = abi.MustNewMethod("function setNone(address)") ReadAllowListFunc = abi.MustNewMethod("function readAllowList(address) returns (uint256)") )
list of function methods for the allow list functionality
Functions ¶
func ApplyGenesisAllocs ¶
Types ¶
type AllowList ¶
type AllowList struct {
// contains filtered or unexported fields
}
func NewAllowList ¶
type Role ¶
var ( NoRole Role = Role(types.StringToHash("0x0000000000000000000000000000000000000000000000000000000000000000")) EnabledRole Role = Role(types.StringToHash("0x0000000000000000000000000000000000000000000000000000000000000001")) AdminRole Role = Role(types.StringToHash("0x0000000000000000000000000000000000000000000000000000000000000002")) )
Click to show internal directories.
Click to hide internal directories.