Skip to main content

ISteerPeriphery.sol

Methods

createVaultAndDepositGas(tuple)

Solidity

function createVaultAndDepositGas(ISteerPeriphery.CVDGParams cvdgParams) external payable returns (address newVault)

Parameters

NameTypeDescription
cvdgParamsISteerPeriphery.CVDGParamsundefined

Returns

NameTypeDescription
newVaultaddressundefined

createVaultAndStrategy(tuple)

Solidity

function createVaultAndStrategy(ISteerPeriphery.CVSParams cvsParams) external payable returns (uint256 tokenId, address newVault)

Parameters

NameTypeDescription
cvsParamsISteerPeriphery.CVSParamsundefined

Returns

NameTypeDescription
tokenIduint256undefined
newVaultaddressundefined

createVaultStrategyAndRegisterJob(tuple)

Solidity

function createVaultStrategyAndRegisterJob(ISteerPeriphery.CVSRJParams cvsrjParams) external payable returns (uint256 tokenId, address newVault)

Parameters

NameTypeDescription
cvsrjParamsISteerPeriphery.CVSRJParamsundefined

Returns

NameTypeDescription
tokenIduint256undefined
newVaultaddressundefined

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

NameTypeDescription
_vaultAddressaddressundefined
amount0Desireduint256undefined
amount1Desireduint256undefined
amount0Minuint256undefined
amount1Minuint256undefined
toaddressundefined

strategiesByCreator(address)

Solidity

function strategiesByCreator(address _address) external view returns (struct IStrategyRegistry.RegisteredStrategy[])

Parameters

NameTypeDescription
_addressaddressundefined

Returns

NameTypeDescription
_0IStrategyRegistry.RegisteredStrategy[]undefined

vaultBalancesByAddressWithFees(address)

Solidity

function vaultBalancesByAddressWithFees(address _vault) external nonpayable returns (struct IMultiPositionManager.VaultBalance balances)

Parameters

NameTypeDescription
_vaultaddressundefined

Returns

NameTypeDescription
balancesIMultiPositionManager.VaultBalanceundefined

vaultDetailsByAddress(address)

Solidity

function vaultDetailsByAddress(address _vault) external view returns (struct IMultiPositionManager.VaultDetails details)

Parameters

NameTypeDescription
_vaultaddressundefined

Returns

NameTypeDescription
detailsIMultiPositionManager.VaultDetailsundefined

vaultsByStrategy(uint256)

Solidity

function vaultsByStrategy(uint256 _strategyId) external view returns (struct IVaultRegistry.VaultData[])

Parameters

NameTypeDescription
_strategyIduint256undefined

Returns

NameTypeDescription
_0IVaultRegistry.VaultData[]undefined