PoolDeployer
Last updated
Last updated
\
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
\
deployPool
Deploys a pool along with its dependencies.
\
deployPool
Deploys a pool along with its dependencies.
\
getDeploymentAddresses
Gets the addresses that would result from a deployment.
\
getDeploymentAddresses
Gets the addresses that would result from a deployment.
\
globals
\
PoolDeployed
Emitted when a new pool is deployed.
\
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0
globals_
address
address
0
poolManagerFactory_
address
address
The address of the PoolManager factory to use.
1
withdrawalManagerFactory_
address
address
The address of the WithdrawalManager factory to use.
2
loanManagerFactories_
address[]
address[]
An array of LoanManager factories to use.
3
asset_
address
address
The address of the asset to use.
4
poolPermissionManager_
address
address
The address of the PoolPermissionManager to use.
5
name_
string
string
The name of the Pool.
6
symbol_
string
string
The symbol of the Pool.
7
configParams_
uint256[4]
uint256[4]
Array of uint256 config parameters. Array used to avoid stack too deep issues. [0]: liquidityCap [1]: delegateManagementFeeRate [2]: coverAmountRequired [3]: initialSupply
0
poolManager_
address
address
The address of the PoolManager.
0
poolManagerFactory_
address
address
The address of the PoolManager factory to use.
1
withdrawalManagerFactory_
address
address
The address of the WithdrawalManager factory to use.
2
loanManagerFactories_
address[]
address[]
An array of LoanManager factories to use.
3
asset_
address
address
The address of the asset to use.
4
poolPermissionManager_
address
address
The address of the PoolPermissionManager to use.
5
name_
string
string
The name of the Pool.
6
symbol_
string
string
The symbol of the Pool.
7
configParams_
uint256[7]
uint256[7]
Array of uint256 config parameters. Array used to avoid stack too deep issues. [0]: liquidityCap [1]: delegateManagementFeeRate [2]: coverAmountRequired [3]: initialSupply
0
poolManager_
address
address
The address of the PoolManager.
0
poolDelegate_
address
address
The address of the PoolDelegate that will deploy the Pool.
1
poolManagerFactory_
address
address
The address of the PoolManager factory to use.
2
withdrawalManagerFactory_
address
address
The address of the WithdrawalManager factory to use.
3
loanManagerFactories_
address[]
address[]
An array of LoanManager factories to use.
4
asset_
address
address
The address of the asset to use.
5
name_
string
string
The name of the Pool.
6
symbol_
string
string
The symbol of the Pool.
7
configParams_
uint256[7]
uint256[7]
Array of uint256 config parameters. Array used to avoid stack too deep issues. [0]: liquidityCap [1]: delegateManagementFeeRate [2]: coverAmountRequired [3]: initialSupply
0
poolManager_
address
address
The address of the PoolManager contract that will be deployed.
1
pool_
address
address
The address of the Pool contract that will be deployed.
2
poolDelegateCover_
address
address
The address of the PoolDelegateCover contract that will be deployed.
3
withdrawalManager_
address
address
The address of the WithdrawalManager contract that will be deployed.
4
loanManagers_
address[]
address[]
The address of the LoanManager contracts that will be deployed.
0
poolDelegate_
address
address
The address of the PoolDelegate that will deploy the Pool.
1
poolManagerFactory_
address
address
The address of the PoolManager factory to use.
2
withdrawalManagerFactory_
address
address
The address of the WithdrawalManager factory to use.
3
loanManagerFactories_
address[]
address[]
An array of LoanManager factories to use.
4
asset_
address
address
The address of the asset to use.
5
name_
string
string
The name of the Pool.
6
symbol_
string
string
The symbol of the Pool.
7
configParams_
uint256[4]
uint256[4]
Array of uint256 config parameters. Array used to avoid stack too deep issues. [0]: liquidityCap [1]: delegateManagementFeeRate [2]: coverAmountRequired [3]: initialSupply
0
poolManager_
address
address
The address of the PoolManager contract that will be deployed.
1
pool_
address
address
The address of the Pool contract that will be deployed.
2
poolDelegateCover_
address
address
The address of the PoolDelegateCover contract that will be deployed.
3
withdrawalManager_
address
address
The address of the WithdrawalManager contract that will be deployed.
4
loanManagers_
address[]
address[]
The address of the LoanManager contracts that will be deployed.
0
address
address
0
pool_
address
address
The address of the Pool deployed.
1
poolManager_
address
address
The address of the PoolManager deployed.
2
withdrawalManager_
address
address
The address of the WithdrawalManager deployed.
3
loanManagers_
address[]
address[]
An array of the addresses of the LoanManagers deployed.