ISteerPeriphery.sol
Methods
createVaultAndDepositGas(uint256,bytes,string,address,string)
Solidity
function createVaultAndDepositGas(uint256 tokenId, bytes params, string beaconName, address vaultManager, string payloadIpfs) external payable returns (address newVault)
Parameters
| Name | Type | Description |
|---|---|---|
| tokenId | uint256 | undefined |
| params | bytes | undefined |
| beaconName | string | undefined |
| vaultManager | address | undefined |
| payloadIpfs | string | undefined |
Returns
| Name | Type | Description |
|---|---|---|
| newVault | address | undefined |
createVaultAndStrategy(address,string,string,uint128,uint128,bytes,string,address,string)
Solidity
function createVaultAndStrategy(address strategyCreator, string name, string execBundle, uint128 maxGasCost, uint128 maxGasPerAction, bytes _params, string _beaconName, address vaultManager, string _payloadIpfs) external payable returns (uint256 tokenId, address newVault)
Parameters
| Name | Type | Description |
|---|---|---|
| strategyCreator | address | undefined |
| name | string | undefined |
| execBundle | string | undefined |
| maxGasCost | uint128 | undefined |
| maxGasPerAction | uint128 | undefined |
| _params | bytes | undefined |
| _beaconName | string | undefined |
| vaultManager | address | undefined |
| _payloadIpfs | string | 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 |