Skip to content

ReadProxy

Description

The ReadProxy is a simple proxy for readonly views. If any mutative function is attempted on the underlying the EVM will revert.

Source: contracts/ReadProxy.sol

Architecture

Inheritance Graph

graph TD ReadProxy[ReadProxy] --> Owned[Owned]

Variables

target

Source

Type: address

Constructor

constructor

Source

Details

Signature

(address _owner)

Visibility

public

State Mutability

nonpayable

Restricted Functions

setTarget

Source

Details

Signature

setTarget(address _target)

Visibility

external

State Mutability

nonpayable

Modifiers

Emits

Fallback Function

() (fallback function)

Source

Details

Signature

()

Visibility

external

State Mutability

nonpayable

Events

TargetUpdated

Source

Signature: TargetUpdated(address newTarget)