ption |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :----: | :-----------: | ----------- |
| 0 | | `bool` | `bool` | |
### `isCollateralAsset`
Gets the validity of a collateral asset.
```solidity
function isCollateralAsset(
address
)
view
returns (
bool
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :----: | :-----------: | ----------- |
| 0 | | `bool` | `bool` | |
### `isContractPaused`
Gets whether a contract is uniquely paused.
```solidity
function isContractPaused(
address
)
view
returns (
bool
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :----: | :-----------: | ----------- |
| 0 | | `bool` | `bool` | |
### `isFactory`
Gets the validity of a factory.
```solidity
function isFactory(
bytes32 factoryId_,
address factory_
)
view
returns (
bool isFactory_
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :----------: | :-------: | :-----------: | ------------------------------------ |
| 0 | `factoryId_` | `bytes32` | `bytes32` | The address of the factory to query. |
| 1 | `factory_` | `address` | `address` | The address of the factory to query. |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :----------: | :----: | :-----------: | ------------------------------------------------- |
| 0 | `isFactory_` | `bool` | `bool` | A boolean indicating the validity of the factory. |
### `isFunctionPaused`
Gets whether a contract's function is paused.
```solidity
function isFunctionPaused(
bytes4 sig_
)
view
returns (
bool functionIsPaused_
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :----: | :------: | :-----------: | ------------------------------------------- |
| 0 | `sig_` | `bytes4` | `bytes4` | The function signature within the contract. |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :-----------------: | :----: | :-----------: | ----------- |
| 0 | `functionIsPaused_` | `bool` | `bool` | |
### `isFunctionPaused`
Gets whether a contract's function is paused.
```solidity
function isFunctionPaused(
address contract_,
bytes4 sig_
)
view
returns (
bool functionIsPaused_
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :---------: | :-------: | :-----------: | ------------------------------------------- |
| 0 | `contract_` | `address` | `address` | The address of a contract in the protocol. |
| 1 | `sig_` | `bytes4` | `bytes4` | The function signature within the contract. |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :-----------------: | :----: | :-----------: | ----------- |
| 0 | `functionIsPaused_` | `bool` | `bool` | |
### `isFunctionUnpaused`
Gets whether a contract's function is uniquely unpaused. A false does not imply it is paused.
```solidity
function isFunctionUnpaused(
address,
bytes4
)
view
returns (
bool
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
| 1 | \`\` | `bytes4` | `bytes4` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :----: | :-----------: | ----------- |
| 0 | | `bool` | `bool` | |
### `isInstanceOf`
Gets wether an instance is of some instance key.
```solidity
function isInstanceOf(
bytes32,
address
)
view
returns (
bool
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `bytes32` | `bytes32` | |
| 1 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :----: | :-----------: | ----------- |
| 0 | | `bool` | `bool` | |
### `isPoolAsset`
Gets the validity of a pool asset.
```solidity
function isPoolAsset(
address
)
view
returns (
bool
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :----: | :-----------: | ----------- |
| 0 | | `bool` | `bool` | |
### `isPoolDelegate`
Gets the validity of a pool delegate.
```solidity
function isPoolDelegate(
address account_
)
view
returns (
bool isPoolDelegate_
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--------: | :-------: | :-----------: | ------------------------------------ |
| 0 | `account_` | `address` | `address` | The address of the account to query. |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :---------------: | :----: | :-----------: | ------------------------------------------------------- |
| 0 | `isPoolDelegate_` | `bool` | `bool` | A boolean indicating the validity of the pool delegate. |
### `isPoolDeployer`
Gets the validity of a pool deployer.
```solidity
function isPoolDeployer(
address caller_
)
view
returns (
bool isPoolDeployer_
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :-------: | :-------: | :-----------: | ----------- |
| 0 | `caller_` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :---------------: | :----: | :-----------: | ------------------------------------------------------- |
| 0 | `isPoolDeployer_` | `bool` | `bool` | A boolean indicating the validity of the pool deployer. |
### `isValidScheduledCall`
Checks if a call is scheduled.
```solidity
function isValidScheduledCall(
address caller_,
address contract_,
bytes32 functionId_,
bytes callData_
)
view
returns (
bool isValid_
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :-----------: | :-------: | :-----------: | ---------------------------------------------- |
| 0 | `caller_` | `address` | `address` | The contract to execute the call on. |
| 1 | `contract_` | `address` | `address` | The contract to execute the call on. |
| 2 | `functionId_` | `bytes32` | `bytes32` | The id of the function to execute. |
| 3 | `callData_` | `bytes` | `bytes` | The of the parameters to pass to the function. |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--------: | :----: | :-----------: | ----------------------------------------------- |
| 0 | `isValid_` | `bool` | `bool` | True if the call is scheduled, false otherwise. |
### `manualOverridePrice`
Gets the manual override price for an asset.
```solidity
function manualOverridePrice(
address
)
view
returns (
uint256
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `uint256` | `uint256` | |
### `mapleTreasury`
Gets maple treasury address.
```solidity
function mapleTreasury()
view
returns (
address
);
```
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `address` | `address` | |
### `maxCoverLiquidationPercent`
Gets the maximum cover liquidation percent for a given pool manager.
```solidity
function maxCoverLiquidationPercent(
address
)
view
returns (
uint256
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `uint256` | `uint256` | |
### `migrationAdmin`
Gets the migration admin address.
```solidity
function migrationAdmin()
view
returns (
address
);
```
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `address` | `address` | |
### `minCoverAmount`
Gets the minimum cover amount for a given pool manager.
```solidity
function minCoverAmount(
address
)
view
returns (
uint256
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `uint256` | `uint256` | |
### `operationalAdmin`
Gets the operational admin address.
```solidity
function operationalAdmin()
view
returns (
address
);
```
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `address` | `address` | |
### `ownedPoolManager`
Gets the address of the owner pool manager.
```solidity
function ownedPoolManager(
address account_
)
view
returns (
address poolManager_
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--------: | :-------: | :-----------: | ------------------------------------ |
| 0 | `account_` | `address` | `address` | The address of the account to query. |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :------------: | :-------: | :-----------: | -------------------------------- |
| 0 | `poolManager_` | `address` | `address` | The address of the pool manager. |
### `pendingGovernor`
Gets the pending governor address.
```solidity
function pendingGovernor()
view
returns (
address
);
```
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `address` | `address` | |
### `platformManagementFeeRate`
Gets the platform management fee rate for a given pool manager.
```solidity
function platformManagementFeeRate(
address
)
view
returns (
uint256
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `uint256` | `uint256` | |
### `platformOriginationFeeRate`
Gets the platform origination fee rate for a given pool manager.
```solidity
function platformOriginationFeeRate(
address
)
view
returns (
uint256
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `uint256` | `uint256` | |
### `platformServiceFeeRate`
Gets the platform service fee rate for a given pool manager.
```solidity
function platformServiceFeeRate(
address
)
view
returns (
uint256
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `uint256` | `uint256` | |
### `poolDelegates`
Gets pool delegate address information.
```solidity
function poolDelegates(
address
)
view
returns (
address ownedPoolManager,
bool isPoolDelegate
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :----------------: | :-------: | :-----------: | ---------------------------------------------------------------------------------- |
| 0 | `ownedPoolManager` | `address` | `address` | The address of the pool manager owned by the pool delegate. |
| 1 | `isPoolDelegate` | `bool` | `bool` | A boolean indication weather or not the address passed is a current pool delegate. |
### `priceOracleOf`
Gets the address and maximum delay of the oracle for the given asset.
```solidity
function priceOracleOf(
address
)
view
returns (
address oracle,
uint96 maxDelay
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--------: | :-------: | :-----------: | -------------------------------- |
| 0 | `oracle` | `address` | `address` | The address of the oracle. |
| 1 | `maxDelay` | `uint96` | `uint96` | The maximum delay of the oracle. |
### `protocolPaused`
Gets the status of the protocol pause.
```solidity
function protocolPaused()
view
returns (
bool
);
```
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :----: | :-----------: | ----------- |
| 0 | | `bool` | `bool` | |
### `scheduleCall`
Schedules a call to be executed.
```solidity
function scheduleCall(
address contract_,
bytes32 functionId_,
bytes callData_
)
nonpayable;
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :-----------: | :-------: | :-----------: | ---------------------------------------------- |
| 0 | `contract_` | `address` | `address` | The contract to execute the call on. |
| 1 | `functionId_` | `bytes32` | `bytes32` | The id of the function to execute. |
| 2 | `callData_` | `bytes` | `bytes` | The of the parameters to pass to the function. |
### `scheduledCalls`
Gets the schedule calls for the parameters.
```solidity
function scheduledCalls(
address,
address,
bytes32
)
view
returns (
uint256 timestamp,
bytes32 dataHash
);
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | \`\` | `address` | `address` | |
| 1 | \`\` | `address` | `address` | |
| 2 | \`\` | `bytes32` | `bytes32` | |
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :---------: | :-------: | :-----------: | ----------------------------------------- |
| 0 | `timestamp` | `uint256` | `uint256` | The timestamp of the next scheduled call. |
| 1 | `dataHash` | `bytes32` | `bytes32` | The hash of data fot the scheduled call. |
### `securityAdmin`
Gets security admin address.
```solidity
function securityAdmin()
view
returns (
address
);
```
#### Return Values:
| Index | Name | Type | Internal Type | Description |
| :---: | :--: | :-------: | :-----------: | ----------- |
| 0 | | `address` | `address` | |
### `setBootstrapMint`
Sets the virtualized first mint that acts as as offset to \`totalAssets\` and \`totalSupply\` to prevent an MEV-exploit vector against the first pool depositor.
```solidity
function setBootstrapMint(
address asset_,
uint256 amount_
)
nonpayable;
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :-------: | :-------: | :-----------: | ------------------------------ |
| 0 | `asset_` | `address` | `address` | The address of the pool asset. |
| 1 | `amount_` | `uint256` | `uint256` | |
### `setCanDeployFrom`
Sets whether an account can deploying an instance from a particular factory.
```solidity
function setCanDeployFrom(
address factory_,
address account_,
bool canDeployFrom_
)
nonpayable;
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--------------: | :-------: | :-----------: | ------------------------------------------------------- |
| 0 | `factory_` | `address` | `address` | The address of the factory. |
| 1 | `account_` | `address` | `address` | The address of the account. |
| 2 | `canDeployFrom_` | `bool` | `bool` | Whether the account can deploy or not from the factory. |
### `setContractPause`
Sets whether a contract is uniquely paused.
```solidity
function setContractPause(
address contract_,
bool contractPaused_
)
nonpayable;
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :---------------: | :-------: | :-----------: | ------------------------------------------ |
| 0 | `contract_` | `address` | `address` | The address of a contract in the protocol. |
| 1 | `contractPaused_` | `bool` | `bool` | Whether the contract is uniquely paused. |
### `setDefaultTimelockParameters`
Sets the default time lock parameters.
```solidity
function setDefaultTimelockParameters(
uint128 defaultTimelockDelay_,
uint128 defaultTimelockDuration_
)
nonpayable;
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :------------------------: | :-------: | :-----------: | ------------------------------- |
| 0 | `defaultTimelockDelay_` | `uint128` | `uint128` | The default time lock delay. |
| 1 | `defaultTimelockDuration_` | `uint128` | `uint128` | The default time lock duration. |
### `setFunctionUnpause`
Sets whether a contract's function is uniquely unpaused. A false does not imply it is paused.
```solidity
function setFunctionUnpause(
address contract_,
bytes4 sig_,
bool functionUnpaused_
)
nonpayable;
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :-----------------: | :-------: | :-----------: | ----------------------------------------------------- |
| 0 | `contract_` | `address` | `address` | The address of a contract in the protocol. |
| 1 | `sig_` | `bytes4` | `bytes4` | The function signature within the contract. |
| 2 | `functionUnpaused_` | `bool` | `bool` | Whether the contract's function is uniquely unpaused. |
### `setManualOverridePrice`
Sets the manual override price of the asset.
```solidity
function setManualOverridePrice(
address asset_,
uint256 price_
)
nonpayable;
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :------: | :-------: | :-----------: | ---------------------------------------------- |
| 0 | `asset_` | `address` | `address` | The address of the asset to set the price for. |
| 1 | `price_` | `uint256` | `uint256` | The price of the asset. |
### `setMapleTreasury`
Sets the address of the Maple treasury.
```solidity
function setMapleTreasury(
address mapleTreasury_
)
nonpayable;
```
#### Parameters:
| Index | Name | Type | Internal Type | Description |
| :---: | :--------------: | :-------: | :-----------: | ---------------------------------- |
| 0 | `mapleTreasury_` | `address` | `address` | The address of the Maple treasury. |
### `setMaxCoverLiquidationPercent`
Sets the maximum cover liquidation percent for the given pool manager.
```solidity
function setMaxCoverLiquidationPercent(
address poolManager_,
uint256 maxCoverLiquidationPercent_
)
nonpayable;
```
#### Parameters:
| Index | Name | Type | Internal Type | Descript프로젝트로 돌아가기