Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SetAdminFunc = abi.MustNewMethod("function setAdmin(address)") SetEnabledFunc = abi.MustNewMethod("function setEnabled(address)") SetNoneFunc = abi.MustNewMethod("function setNone(address)") ReadAddressListFunc = abi.MustNewMethod("function readAddressList(address) returns (uint256)") )
list of function methods for the address list functionality
Functions ¶
func ApplyGenesisAllocs ¶
Types ¶
type AddressList ¶
type AddressList struct {
// contains filtered or unexported fields
}
func NewAddressList ¶
func NewAddressList(state stateRef, addr types.Address) *AddressList
func (*AddressList) Addr ¶
func (a *AddressList) Addr() types.Address
func (*AddressList) Run ¶
func (a *AddressList) Run(c *runtime.Contract, host runtime.Host, _ *chain.ForksInTime) *runtime.ExecutionResult
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.