TUPProxy
Alluvial Finance Inc.
TUPProxy (Transparent Upgradeable Pausable Proxy)
This contract extends the Transparent Upgradeable proxy and adds a system wide pause feature. When the system is paused, the fallback will fail no matter what calls are made. Address Zero is allowed to perform calls even if paused to allow view calls made from RPC providers to properly work.
Methods
pause
Pauses system
paused
Retrieves Paused state
Returns
_0
bool
Paused state
unpause
Unpauses system
Events
AdminChanged
Emitted when the admin account has changed.
Parameters
previousAdmin
address
undefined
newAdmin
address
undefined
BeaconUpgraded
Emitted when the beacon is changed.
Parameters
beacon indexed
address
undefined
Paused
The system is now paused
Parameters
admin
address
The admin at the time of the pause event
Unpaused
The system is now unpaused
Parameters
admin
address
The admin at the time of the unpause event
Upgraded
Emitted when the implementation is upgraded.
Parameters
implementation indexed
address
undefined
Errors
CallWhenPaused
A call happened while the system was paused
Last updated