IsleGlobals
Last updated
Last updated
Inherits: , , , UUPSUpgradeable
Returns the revision number of the contract
Needs to be defined in the inherited class as a constant.
Returns
revision_
uint256
The revision number
Initializes the contract.
Parameters
governor_
address
The address of the governor.
Sets the address of the Isle vault.
Parameters
vault_
address
The address of the Isle vault.
Pause or unpause the protocol.
Parameters
protocolPaused_
bool
A boolean indicating the status of the protocol pause.
Pause or unpause a specific contract.
Parameters
contract_
address
The address of the contract to set the pause status for.
contractPaused_
bool
A boolean indicating the pause status of the contract.
Unpause or ununpause a specific function in a contract.
Parameters
contract_
address
The address of the contract.
sig_
bytes4
The function signature.
functionUnpaused_
bool
A boolean indicating whether the function is unpaused.
Sets the protocol fee.
Parameters
protocolFee_
uint24
A uint24 indicating the protocol fee (100.0000% = 1e6 (6 decimal precision)).
Sets the validity of a receivable asset (should match ERC-721).
Parameters
receivableAsset_
address
The address of the receivable asset to set the validity for.
isValid_
bool
A boolean indicating the validity of the receivable asset.
Sets the validity of the pool asset (should match ERC-20).
Parameters
poolAsset_
address
The address of the pool asset to set the validity for.
isValid_
bool
A boolean indicating the validity of the pool asset.
Sets the validity of a pool admin.
Parameters
poolAdmin_
address
The address of the pool admin to set the validity for.
isValid_
bool
A boolean indicating the validity of the pool admin.
Returns the pause status of a specific function in a contract.
Parameters
contract_
address
The address of the contract.
sig_
bytes4
The function signature.
Returns
functionIsPaused_
bool
isFunctionPaused_ A boolean indicating the pause status of the function.
Returns the pause status of a specific function in a contract.
Parameters
sig_
bytes4
The function signature.
Returns
functionIsPaused_
bool
isFunctionPaused_ A boolean indicating the pause status of the function.