ISteerPeriphery.sol
Methods
createVaultAndDepositGas(tuple)
Solidity
function createVaultAndDepositGas(ISteerPeriphery.CVDGParams cvdgParams) external payable returns (address newVault)
Parameters
Name | Type | Description |
---|---|---|
cvdgParams | ISteerPeriphery.CVDGParams | undefined |
Returns
Name | Type | Description |
---|---|---|
newVault | address | undefined |
createVaultAndStrategy(tuple)
Solidity
function createVaultAndStrategy(ISteerPeriphery.CVSParams cvsParams) external payable returns (uint256 tokenId, address newVault)
Parameters
Name | Type | Description |
---|---|---|
cvsParams | ISteerPeriphery.CVSParams | undefined |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | undefined |
newVault | address | undefined |
createVaultStrategyAndRegisterJob(tuple)
Solidity
function createVaultStrategyAndRegisterJob(ISteerPeriphery.CVSRJParams cvsrjParams) external payable returns (uint256 tokenId, address newVault)
Parameters
Name | Type | Description |
---|---|---|
cvsrjParams | ISteerPeriphery.CVSRJParams | undefined |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | undefined |
newVault | address | undefined |
deposit(address,uint256,uint256,uint256,uint256,address)
Solidity
function deposit(address _vaultAddress, uint256 amount0Desired, uint256 amount1Desired, uint256 amount0Min, uint256 amount1Min, address to) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_vaultAddress | address | undefined |
amount0Desired | uint256 | undefined |
amount1Desired | uint256 | undefined |
amount0Min | uint256 | undefined |
amount1Min | uint256 | undefined |
to | address | undefined |
strategiesByCreator(address)
Solidity
function strategiesByCreator(address _address) external view returns (struct IStrategyRegistry.RegisteredStrategy[])
Parameters
Name | Type | Description |
---|---|---|
_address | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | IStrategyRegistry.RegisteredStrategy[] | undefined |
vaultBalancesByAddressWithFees(address)
Solidity
function vaultBalancesByAddressWithFees(address _vault) external nonpayable returns (struct IMultiPositionManager.VaultBalance balances)
Parameters
Name | Type | Description |
---|---|---|
_vault | address | undefined |
Returns
Name | Type | Description |
---|---|---|
balances | IMultiPositionManager.VaultBalance | undefined |
vaultDetailsByAddress(address)
Solidity
function vaultDetailsByAddress(address _vault) external view returns (struct IMultiPositionManager.VaultDetails details)
Parameters
Name | Type | Description |
---|---|---|
_vault | address | undefined |
Returns
Name | Type | Description |
---|---|---|
details | IMultiPositionManager.VaultDetails | undefined |
vaultsByStrategy(uint256)
Solidity
function vaultsByStrategy(uint256 _strategyId) external view returns (struct IVaultRegistry.VaultData[])
Parameters
Name | Type | Description |
---|---|---|
_strategyId | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | IVaultRegistry.VaultData[] | undefined |