Skip to content

MixinResolver

Description

A utility that gives the inheritor access to the AddressResolver

Source: contracts/MixinResolver.sol

Architecture

Inheritance Graph

graph TD MixinResolver[MixinResolver] --> Owned[Owned]

Constants

MAX_ADDRESSES_FROM_RESOLVER

Source

Type: uint256

Variables

resolver

Source

The AddressResolver instance

Type: contract AddressResolver

resolverAddressesRequired

Source

Type: bytes32[]

Constructor

constructor

Source

Details

Signature

(address _resolver, bytes32[24] _addressesToCache)

Visibility

internal

State Mutability

nonpayable

Requires

Views

getResolverAddressesRequired

Source

Details

Signature

getResolverAddressesRequired() returns (bytes32[24])

Visibility

external

State Mutability

view

isResolverCached

Source

Details

Signature

isResolverCached(contract AddressResolver _resolver) returns (bool)

Visibility

external

State Mutability

view

Restricted Functions

setResolverAndSyncCache

Source

Details

Signature

setResolverAndSyncCache(contract AddressResolver _resolver)

Visibility

external

State Mutability

nonpayable

Modifiers

Internal Functions

appendToAddressCache

Source

Details

Signature

appendToAddressCache(bytes32 name)

Visibility

internal

State Mutability

nonpayable

Requires

requireAndGetAddress

Source

Details

Signature

requireAndGetAddress(bytes32 name, string reason) returns (address)

Visibility

internal

State Mutability

view

Requires