Skip to main content

Input objects

BlockParamsMetadata

Arguments

NameDescription

attribute
String!

Attribute name

name
String!

Display name

displayedInResume
Boolean!

If true it will be displyaed in block resumed

type
String!

Type of the parameters

underlyingType
String!

Solidity type of the parameter

resolved
String

Custom resolver to get possible values

value
String

Forced value

values
[BlockParamsValues!]

List of possible value

BlockParamsValues

Arguments

NameDescription

name
String!

Common name of the parameter

value
String!

Value of the parameter

DefiYieldQuery

Arguments

NameDescription

chainIds
[Float!]!

The chain ids to filter the yield sources

protocolIds
[String!]!

The protocol ids to filter the yield sources

limit
Float!

The limit of the yield sources

offset
Float!

The offset of the yield sources

orderByAttribute
String!

The attribute to order the yield sources

orderByIsAscending
Boolean!

The order of the yield sources

GetRebalancedWithdrawalQuoteInput

Rebalanced withdrawal quote input

Arguments

NameDescription

fromChainId
Float!

Vault chain id

fromVault
String!

Vault address

fromAmount
String!

Shares to withdraw

fromAddress
String!

User address

PostBlockMetadataInput

Arguments

NameDescription

id
String!

Unique ID of the block

type
String!

Parameters type: block or positionManager

gitUrl
String!

Git repository url

positionManagerType
Float

Type of position manager

recommendedTimelock
Float!

Recommended timelock in second

recommendedMiddleware
Float!

Recommended middleware by id

paramsResolver
String!

Parameters block resolver ipfs hash

apyResolver
String!

APY block resolver ipfs hash

onlyAfterBlocks
[String!]!

The block have to be placed after one of specified block ids

positionManagerParamsTuple
String

Tuple for position manager parameters

positionManagerParams
[BlockParamsMetadata!]

Position manager params for creation

name
String!

Block name

description
String!

Block description

action
String!

Action description

protocolId
String!

ID of protocol implemented on the block

protocolName
String!

Name of protocol implemented on the block

paramsTuple
String!

Tuple for block parameters

params
[BlockParamsMetadata!]!

List of block parameters

PostVaultMetadataInput

Arguments

NameDescription

name
String!

Vault displayed name

description
String!

Long description of the vault

short
String!

Short description of the vault

protocols
String!

List of used protocols

visualization
String!

JSON encoded data to display the strategy schema on the website