Last updated
Last updated
The module's initializer function.
Parameters
Parameters
Parameters
Returns
Returns
Returns
Returns
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
Parameters
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
Parameters
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
The given max fee can not be higher than the BPS.
Parameters
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
The given treasury address can not be address(0).
Parameters
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
The given treasury address can not be address(0).
Parameters
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
The given fee needs to be less than the BPS.
Parameters
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
The given fee needs to be less than the BPS.
Parameters
Can only be accessed by either the COMMUNITY_MULTISIG_ROLE
or the TEAM_MULTISIG_ROLE
.
The given fee needs to be less than the BPS.
Parameters
Can only be accessed by either the COMMUNITY_MULTISIG_ROLE
or the TEAM_MULTISIG_ROLE
.
The given fee needs to be less than the BPS.
Parameters
Can only be accessed by either the COMMUNITY_MULTISIG_ROLE
or the TEAM_MULTISIG_ROLE
.
Parameters
This function will override previous timelocks even if they are active.
Can only be accessed by either the COMMUNITY_MULTISIG_ROLE
or the TEAM_MULTISIG_ROLE
.
Parameters
Can only be accessed by either the COMMUNITY_MULTISIG_ROLE
or the TEAM_MULTISIG_ROLE
.
Parameters
Can only be accessed by either the COMMUNITY_MULTISIG_ROLE
or the TEAM_MULTISIG_ROLE
.
Parameters
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
Parameters
Can only be accessed by either the COMMUNITY_MULTISIG_ROLE
or the TEAM_MULTISIG_ROLE
.
Parameters
Can only be accessed by either the COMMUNITY_MULTISIG_ROLE
or the TEAM_MULTISIG_ROLE
.
This function forces the upgrade of a beacon and restarts the implementation afterwards.
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
Parameters
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
.
Parameters
Accepts the ownership over the target address.
Can only be accessed by the COMMUNITY_MULTISIG_ROLE
or TEAM_MULTISIG_ROLE
.
Parameters
Parameters
Parameters
Parameters
Event emitted when the fee manager is updated.
Parameters
Event emitted when the module factory is updated.
Parameters
Event emitted when a timelock period is set.
Parameters
Parameters
Parameters
Parameters
Parameters
The given address is invalid.
The given amount is invalid.
The given target address is not accessible.
This function can only be accessed by the CommunityMultisig or TeamMultisig.
The call to the target contract has failed.
Properties
Callback function that is called by during initialization.
Returns the current timelock of a address.
Returns the list of currently linkeds.
Returns the address.
Returns the address.
Sets the address of the .
Sets the address of the .
Sets the maximum fee percentage that can be assigned in the linked .
Sets the default protocol treasury address in the linked .
Sets the protocol treasury address for a specific workflow in the linked .
Sets the default collateral fee of the protocol in the linked .
Sets the default issuance fee of the protocol in the linked .
Sets the collateral fee for a specific workflow module function in the linked .
Sets the issuance fee for a specific workflow module function in the linked .
Registers a with the provided metadata
in the target .
Starts the upgrade process of a by creating a timelock period after which the can be upgraded via triggerUpgradeBeaconWithTimelock()
.
Upgrades a with the data provided by the active timelock.
Cancels an upgrade of by setting the active timelock to inactive.
Sets the timelock period of a upgrade process.
Initiates the shutdown of a .
Initiates the shutdown of all linked s.
Restarts the implementation.
Event emitted when a new timelock period for a upgrade of a is started.
Event emitted when a is upgraded.
Event emitted when a upgraded is canceled.
Event emitted when a shutdown is initiated.
Event emitted when a is forcefully upgraded and the implementation gets restarted immediately.
Event emitted when a implementation is restarted.
Event emitted when the contract accepts the ownership over another contract.
This function can only be accessed by the linked .
This function can only be called when the linked array is empty.
The timelock period needed for the to be upgraded has not been exceeded yet.
This upgrade process for this has not yet been started.
Struct used to store information about a timelock for aupgrade.
The timelock is needed to upgrade a to new implementation.