IIsleGlobals
Last updated
Last updated
Inherits: IIsleGlobalsEvents, IGovernable
Interface for the IsleGlobals contract.
This interface provides functions to manage the global configurations of the Isle Protocol.
Initializes the contract.
Parameters
Name | Type | Description |
---|---|---|
Sets the address of the Isle vault.
Parameters
Name | Type | Description |
---|---|---|
Pause or unpause the protocol.
Parameters
Pause or unpause a specific contract.
Parameters
Unpause or ununpause a specific function in a contract.
Normally used to unpause specific functions when a contract is paused.
Parameters
Sets the protocol fee.
Parameters
Sets the validity of a receivable asset (should match ERC-721).
Parameters
Sets the validity of the pool asset (should match ERC-20).
Parameters
Sets the validity of a pool admin.
Parameters
Returns the protocol fee.
Returns
Gets isle vault address.
Returns
Gets the status of the protocol pause.
Returns
Returns the pause status of a specific contract.
Parameters
Returns
Returns the unpause status of a specific function in a contract.
Parameters
Returns
Returns if the account is a valid poolAdmin.
Parameters
Returns
Gets the validity of a receivable asset.
Parameters
Returns
Gets the validity of a pool asset.
Parameters
Returns
Returns the pause status of a specific function in a contract.
Parameters
Returns
Returns the pause status of a specific function in the caller contract.
Parameters
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
governor_
address
The address of the governor.
isleVault_
address
The address of the Isle vault.
protocolPaused_
bool
A boolean indicating the status of the protocol pause.
contract_
address
The address of the contract to set the pause status for.
contractPaused_
bool
A boolean indicating the pause status of the contract.
contract_
address
The address of the contract.
sig_
bytes4
The function signature.
functionUnpaused_
bool
A boolean indicating whether the function is unpaused.
protocolFee_
uint24
A uint24 indicating the protocol fee (100.0000% = 1e6 (6 decimal precision)).
receivableAsset_
address
The address of the receivable asset to set the validity for.
isValid_
bool
A boolean indicating the validity of the receivable asset.
poolAsset_
address
The address of the pool asset to set the validity for.
isValid_
bool
A boolean indicating the validity of the pool asset.
poolAdmin_
address
The address of the pool admin to set the validity for.
isValid_
bool
A boolean indicating the validity of the pool admin.
protocolFee_
uint24
A uint24 indicating the protocol fee.
isleVault_
address
The address of the isle vault.
protocolPaused_
bool
A boolean indicating whether the protocol is paused.
contract_
address
The address of the contract to check.
contractPaused_
bool
A boolean indicating whether a contract is paused.
contract_
address
The address of the contract.
sig_
bytes4
The function signature.
functionUnpaused_
bool
A boolean indicating whether the function is unpaused.
account_
address
The address of the account to check.
isPoolAdmin_
bool
Whether the account is a valid poolAdmin.
receivableAsset_
address
The address of the receivableAsset to query.
isReceivableAsset_
bool
A boolean indicating the validity of the receivable asset.
poolAsset_
address
The address of the poolAsset to query.
isPoolAsset_
bool
A boolean indicating the validity of the pool asset.
contract_
address
The address of the contract.
sig_
bytes4
The function signature.
isFunctionPaused_
bool
A boolean indicating the pause status of the function.
sig_
bytes4
The function signature.
isFunctionPaused_
bool
A boolean indicating the pause status of the function.