Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@majora-finance/graphql

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@majora-finance/graphql

Majora GraphQL API client

  • 0.2.21
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
23
increased by187.5%
Maintainers
0
Weekly downloads
 
Created
Source

Schema Types

Table of Contents

Query

FieldArgumentTypeDescription
getAccountMajoraAccount!

Get user related data

addressString!

The address of the user to retrieve the account for.

getTosMessageToSignString!

Return message to sign for term of service approval

addressString!

The address of the user who needs to sign the terms of service.

getPortfolioPortfolio!

Return user's assets in its wallet

chainIdFloat!

The ID of the blockchain network where the assets are held.

addressString!

The address of the user whose portfolio is to be fetched.

getMajoraPointMajoraPoint!

Return user's Majora points

addressString!

The address of the user to retrieve Majora points for.

getUserTransactionHistoryTransactionHistory!

Return user's transactions history on Majora protocol

addressString!

The address of the user whose transaction history is to be retrieved.

offsetFloat!

The offset from where the transactions should be fetched.

limitFloat!

The number of transactions to retrieve.

orderByAttributeString!

The attribute to order the transactions by.

orderByIsAscendingBoolean!

Whether the order should be ascending or descending.

getOracles[Oracle!]!

Return oracles list

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

orderByAttributeString!

The attribute by which the oracles should be ordered.

orderByIsAscendingBoolean!

Determines whether the order is ascending (true) or descending (false).

getOraclesByChainId[Oracle!]!

Return oracles list for a specific chain

chainIdFloat!

The chain ID for which the oracles should be retrieved.

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

orderByAttributeString!

The attribute by which the oracles should be ordered.

orderByIsAscendingBoolean!

Determines whether the order is ascending (true) or descending (false).

getOperationsByChainId[OperationsResult!]!

Return operations made by operators for a specific chain

chainIdFloat!

The ID of the blockchain network.

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

orderByAttributeString!

The attribute to order the results by.

orderByIsAscendingBoolean!

Whether to sort results in ascending order.

getOperationsByVaultOperationsResult!

Return operations made by operators for a specific vault

chainIdFloat!

The ID of the blockchain network.

addressString!

The vault address to retrieve the operations for.

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

orderByAttributeString!

The attribute to order the results by.

orderByIsAscendingBoolean!

Whether to sort results in ascending order.

getOperationsByPayerOperationsResult!

Return operations made by operators for a specific payer

addressString!

The address of the payer.

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

orderByAttributeString!

The attribute to order the results by.

orderByIsAscendingBoolean!

Whether to sort results in ascending order.

getMOPTDepositHistoryMOPTDepositHistory!

Return MOPT deposit history for a specific address

addressString!

The address of the user to retrieve deposit history for.

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

getOperatorsByChainId[Operator!]!

Return operators list for a specific chain

chainIdFloat!

The ID of the blockchain network.

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

orderByAttributeString!

The attribute to order the results by.

orderByIsAscendingBoolean!

Whether to sort results in ascending order.

getAvailableBlocks[MajoraBlock!]!

Return available blocks for a specific chain

chainIdFloat!

The ID of the blockchain network where the blocks are held.

getBlockByIdMajoraBlock!

Return a specific block

chainIdFloat!

The ID of the blockchain network where the block is held.

idString!

The unique identifier of the block.

getBlocksByProtocolId[MajoraBlock!]!

Return blocks by protocol ID

chainIdFloat!

The ID of the blockchain network where the blocks are held.

idString!

The protocol ID used to filter blocks.

getBlockResolvedParamsBlockParamsResolved!

Return resolved parameters for a specific block and configuration

chainIdFloat!

The ID of the blockchain network where the block is held.

blockAddressString!

The address of the block contract.

argsString!

The arguments required for resolving block parameters.

getBlockProtocolList[Protocol!]!

Return a list of protocol blocks

getAvailableChains[EVMChain!]!

Return chains where Majora is deployed

getChainEVMChain!

Return chain where Majora is deployed

chainIdFloat!

The ID of the blockchain network where the assets are held.

getRewardsClaimableOf[FeeReceiverBalance!]!

Return all feeReceivers claimable by an address

addressString!

The address of the user to retrieve claimable rewards for.

getFeeReceiverBalanceClaimed[FeeReceiverBalance!]!

Return all feeReceivers claimed by an address and epochId

addressString!

The address of the user to retrieve claimed rewards for.

epochIdInt!

The epoch ID for which to retrieve claimed rewards.

getFeeTotalSupply[FeeTotalSupply!]!

Return total fee supply for each contract

getRewardsOf[FeeReceiverBalance!]!

Return rewards for a specific user

addressString!

The address of the user to retrieve rewards for.

getFeeEpochs[FeeEpoch!]!

Return all fee epochs with associated fee receivers

getFeeReceivers[FeeReceiver!]!

Return all fee receivers

getFeeCollectorTransactions ⚠️[FeeCollectorTransaction!]!

Return transactions executed by the fee collector

⚠️ DEPRECATED

Not implemented yet

chainIdFloat!

The chain ID to retrieve transactions for.

getVaultsByChainIdMajoraVaultList!

Return vaults for a specific chain

chainIdFloat!

The ID of the blockchain network where the assets are held.

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

orderByAttributeString!

The attribute by which to order the results.

orderByIsAscendingBoolean!

Whether to order the results in ascending order.

getVaultByIdMajoraVault!

Return a specific vault

chainIdFloat!

The ID of the blockchain network where the vault is held.

addressString!

The address of the vault.

getAllVaultListMajoraVaultList!

Return a vault list

searchString!
chainIds[Float!]!
offsetFloat!
limitFloat!
orderByAttributeString!
orderByIsAscendingBoolean!
getVaultsSponsoredByMajoraVaultSponsoredBy!

Return vaults sponsorized by a specific address

addressString!
offsetFloat!
limitFloat!
orderByAttributeString!
orderByIsAscendingBoolean!
getVaultsSponsorsMajoraVaultSponsoredBy!

Return sponsors of a specific vault

chainIdFloat!
addressString!
offsetFloat!
limitFloat!
orderByAttributeString!
orderByIsAscendingBoolean!
getVaultListFilteredMajoraVaultList!

Return result of a vault search string

searchString!
chainIds[Float!]!
protocols[String!]!
offsetFloat!
limitFloat!
orderByAttributeString!
orderByIsAscendingBoolean!
getVaultsHoldedByFilteredInvestList!

Return vaults holded by a user

addressString!
searchString!
offsetFloat!
limitFloat!
orderByAttributeString!
orderByIsAscendingBoolean!
getVaultOwnedByMajoraVaultList!

Return vaults owned by a user

addressString!
offsetFloat!
limitFloat!
orderByAttributeString!
orderByIsAscendingBoolean!
getUserTotalTvlFloat!

Return total TVL deposited by a user in Strateg protocol

addressString!
getUserCreatedStrategiesTotalTvlFloat!

Return total TVL deposited in user's owned strategies

addressString!
getTotalUsersInStrategiesFloat!

Return total unique users who's deposited on specified user's strategies

addressString!
getUserAllTimeFeesEarnedFloat!

Return all time total creator fees earned

addressString!
getVaultStatusString!

Return the status of a specific vault

chainIdFloat!

The ID of the blockchain network where the vault is held.

addressString!

The address of the vault.

getGlobalTVL[ChainGlobalTVL!]!

Return the total TVL of Majora

getGlobalDepositorsCountFloat!

Return total number of distinct users who deposited on vaults

getGlobalAverageAPYFloat!

Return the average APY on global TVL

getMostValuable[MajoraVault!]!

Return the most valuable vaults

limitFloat!

The maximum number of most valuable vaults to return.

getVaultListMajoraVaultList!

Return a list of vaults

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

orderByAttributeString!

The attribute by which to order the vaults.

orderByIsAscendingBoolean!

Whether to order the results in ascending order.

getERC3525SharesMajoraERC3525SharesList!

Return ERC3525 shares owned by a user

addressString!

The address of the user to retrieve shares for.

offsetFloat!

The number of items to skip before starting to collect the result set.

limitFloat!

The maximum number of items to return.

orderByAttributeString!

The attribute by which to order the shares.

orderByIsAscendingBoolean!

Whether to order the results in ascending order.

getUserTvlForVault[TvlData!]!

Return user's tvl for vault

ownerString!

The address of the owner to retrieve TVL data for.

vaultAddressString!

The address of the vault to retrieve TVL data for.

getProfileUserProfile!
addressString!
getRebalancedWithdrawalQuoteGetRebalancedWithdrawalQuoteOutput!

Return a quote for withdrawal rebalance from operators

inputGetRebalancedWithdrawalQuoteInput!

Input data for generating a withdrawal rebalance quote.

getVestingScheduleOf[VestingSchedule!]!

Return the vesting schedule for a specific beneficiary

beneficiaryString!

The address of the beneficiary to retrieve the vesting schedule for.

getMajoraRankingMajoraRanking!

Return the ranking by address

addressString!

The address of the address to retrieve the ranking for.

getMajoraLeaderboardListMajoraRankingList!

Return the leaderboard with pagination and optional ordering by attributes

offsetInt!

The number of items to skip before starting to collect the result set.

limitInt!

The maximum number of items to return.

orderByAttributeString

The attribute to order the results by. Can be rank, address, points, tvl, or vault_tvl.

orderByIsAscendingBoolean

Whether to sort the results in ascending order.

getExplorerChainIds[Float!]!

Return the list of supported chain IDs for the DeFi explorer

getExplorerProtocolChainIds[Float!]!

Return the list of supported chain IDs for a specific protocol in the DeFi explorer

protocolIdString!

The protocol ID to retrieve chain IDs for.

getExplorerProtocolIds[String!]!

Return the list of protocol IDs supported by the DeFi explorer

getExplorerDefiPools[DefiYield!]!

Return the list of DeFi pools based on the search criteria

searchDefiYieldQuery!

The search criteria for retrieving DeFi pools.

getExplorerDefiPoolDefiYield!

Return the details of a specific DeFi pool

chainIdFloat!

The ID of the blockchain network where the pool exists.

projectString!

The project name associated with the DeFi pool.

poolString!

The pool ID to retrieve details for.

getExplorerDefiPoolsHistory[DefiYield!]!

Return the historical data for a specific DeFi pool

poolString!

The ID of the pool to retrieve history for.

fromFloat!

The start time in UNIX timestamp for retrieving the history.

toFloat!

The end time in UNIX timestamp for retrieving the history.

Mutation

FieldArgumentTypeDescription
postTosSignatureBoolean!

Post Term of Service signature. Return true if post is successful

addressString!

The address of the user signing the terms of service.

signatureString!

The signature provided by the user for the terms of service.

postBlockMetadataString!

Mutation to store block's metadata

blockMetadataInputPostBlockMetadataInput!

The metadata input for the block to be stored on IPFS.

postVaultMetadataString!

Mutation to store vault's metadata

vaultMetadataInputPostVaultMetadataInput!

The metadata input for the vault to be stored on IPFS.

postResolverString!

Mutation to store block's resolvers

nameString!

The name of the resolver to be stored on IPFS.

codeString!

The code of the resolver to be stored on IPFS.

updateProfileUserProfile!
pseudoString!

Objects

AccountMOPTBalance

User MOPT balance

FieldArgumentTypeDescription
chainEVMChain!

The chain object of the balance

amountString!

The amount of MOPT

ApyResolved

APY resolver result

FieldArgumentTypeDescription
apyFloat

The apy of the block

tvlUsdFloat

The tvl of the block

rewardTokens[ERC20!]

The reward tokens of the block

BlockExplorer

EVM Chain Block Explorer

FieldArgumentTypeDescription
defaultBlockExplorerDetails!

The default block explorer details

BlockExplorerDetails

EVM Chain Block Explorer Details

FieldArgumentTypeDescription
nameString!

The name of the block explorer

urlString!

The URL of the block explorer

BlockParamsResolved

Block resolvers result

FieldArgumentTypeDescription
paramsResolvedString!

The params resolved of the block

apyResolvedApyResolved

The apy resolved of the block

ChainGlobalTVL

MajoraTVL related to a chain

FieldArgumentTypeDescription
chainEVMChain!

The chain object

tvlFloat!

The TVL of the chain

ChartPoint

MajoraVault charts

FieldArgumentTypeDescription
timestampFloat!

The timestamp of the chart point

valueString!

The value of the chart point

DefiYield

This object contains information about the yield on a specific protocol

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the protocol

chainEVMChain!

The chain object of the protocol

poolString!

The pool id of the yield source

address[String!]

The address(es) of the yield source

projectString!

The project name of the yield source

symbolString!

The symbol of the yield source

tvlFloat!

The total value locked of the yield source

apyBaseFloat

The base apy of the yield source

underlyingTokens[String!]

The underlying tokens of the yield source

underlyingAssets[ERC20!]

The underlying assets objects of the yield source

rewardTokens[String!]

The reward tokens of the yield source

rewardAssets[ERC20!]

The reward assets objects of the yield source

totalSupplyUsdFloat

The total supply in USD of the yield source

totalBorrowUsdFloat

The total borrow in USD of the yield source

debtCeilingUsdFloat

The debt ceiling in USD of the yield source

apyBaseBorrowFloat

The base borrow apy of the yield source

ltvFloat

The ltv of the yield source

urlString

The url of the yield source

borrowableBoolean

True if the yield source is borrowable

mintedCoinString

The minted coin of the yield source

apyFloat

The apy of the yield source

apyRewardFloat

The reward apy of the yield source

apyRewardBorrowFloat

The reward apy of the yield source

apyBase7dFloat

The apy of the yield source on the previous 7 days

apyRewardFakeFloat

The fake reward apy of the yield source

apyRewardBorrowFakeFloat

The fake apy borrow reward of the yield source

apyBaseInceptionFloat

The apy of the yield source since inception

dateFloat

The date of the metric scrape

ERC20

ERC20 Asset

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the asset

addressString!

The address of the asset

nameString!

The name of the asset

symbolString!

The symbol of the asset

decimalsFloat!

The decimals of the asset

chainEVMChain!

The chain object of the asset

priceUSDString!

The price of the asset in USD

logoURIString!

The logo uri of the asset

EVMChain

EVM Chain

FieldArgumentTypeDescription
idFloat!

The id of the chain

nameString!

The name of the chain

networkString!

The network of the chain

nativeCurrencyNativeCurrency!

The native currency of the chain

rpcUrlsRpcUrl!

The rpc urls of the chain

blockExplorersBlockExplorer!

The block explorers of the chain

contractsEVMChainContracts!

The contracts of the chain

EVMChainContracts

EVM Chain

FieldArgumentTypeDescription
accessManagerString!

The access manager address

blockRegistryString!

The block registry address

moptString!

The MOPT address

operatorProxyString!

The operator proxy address

dataAggregatorString!

The operator data aggregator address

portalString!

The portal address

pmFactoryString!

The position manager factory address

userInteractionString!

The user interaction address

vaultFactoryString!

The vault factory address

assetBufferString!

The asset buffer address

mainFeeCollectorString!

The main fee collector address

feeDistributorString!

The fee distributor address

StkMAJString!

The StkMAJ address

StkMAJLPString!

The StkMAJLP address

StkMAJLockedString!

The StkMAJLocked address

MajoraTokenString!

The Majora token address

MajoraTokenVestingString!

The Majora token vesting address

FeeCollectorTransaction

Fee collector transaction

FieldArgumentTypeDescription
idString!

The transaction id

amountString!

The transaction amount

routeFloat!

The transaction route

sourceAssetString!

The transaction source asset

targetAssetString!

The transaction target asset

fromChainString!

The transaction from chain

targetChainString!

The transaction to chain

createdAtDateTime!

The transaction created at

FeeEpoch

Main Fee Collector epochs

FieldArgumentTypeDescription
idFloat!

The id of the fee epoch

feesCollectedString!

The fees collected of the fee epoch

totalWeightString!

The total weight of the fee epoch

startedAtInt!

The starting timestamp date of the epoch

endedAtInt!

The ending timestamp date of the epoch

feeReceivers[FeeReceiver!]

List of Fee Receivers

FeeReceiver

Fee receiver

FieldArgumentTypeDescription
nameString!

The name of the fee receiver

feeReceiverIdInt!

The id of the fee receiver

epochIdInt!

The epoch id of the fee receiver

weightFloat!

The weight of the fee receiver

addressString!

The address of the fee receiver

rewardAmountString!

The reward amount of the fee receiver

totalSupplyString!

The total supply of the fee receiver

dateDateTime!

The date of the fee receiver

FeeReceiverBalance

Fee receiver balance

FieldArgumentTypeDescription
idString!

The id of the fee receiver balance

addressString!

The address of the fee receiver balance

epochIdInt!

The epoch id of the fee receiver balance

feeReceiverAddressString!

The address of the fee receiver

amountString!

The amount of the fee receiver balance

rewardAmountString!

The reward amount of the fee receiver balance

rewardClaimedBoolean!

The reward claimed of the fee receiver balance

nameString!

The name of the fee receiver balance

FeeTotalSupply

Total supply of each contracts

FieldArgumentTypeDescription
feeReceiverAddressString!

The address of the fee receiver

nameString!

The name of the fee receiver

totalSupplyString!

The total supply of the fee receiver

latestEpochIdString!

The latest epoch id of the fee receiver

GetRebalancedWithdrawalQuoteOutput

Rebalanced withdrawal quote

FieldArgumentTypeDescription
fromChainIdFloat!

Vault chain id

fromAddressString!

User address

fromAmountString!

Shares withdrawed

fromVaultString!

Vault address

dynamicParamsIndex[String!]!

Dynamic parameters for exit block indexes

dynamicParams[String!]!

Dynamic parameters for exit

deadlineFloat!

Transaction execution deadline

signatureString

Signature of parameters if needed

InvestList

MajoraVaults

FieldArgumentTypeDescription
resultsCountFloat!

The results count of the invests

invests[StrategInvest!]!

The invests of the vault

MOPTDeposit

MOPT deposit

FieldArgumentTypeDescription
chainIdFloat!
amountString!
chainEVMChain!
transactionHashString!
mintedAtFloat!

MOPTDepositHistory

MOPT deposit history list

FieldArgumentTypeDescription
resultsCountFloat!
results[MOPTDeposit!]!

MajoraAccount

Majora user account

FieldArgumentTypeDescription
addressString!

The address of the user

hasAcceptedTosBoolean!

The TOS acceptance of the user

averageApyFloat!

User average APY

tvlFloat!

User total value deposited

MOPTBalances[AccountMOPTBalance!]!

The MOPT balances of the user

MajoraBlock

Majora Block

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the block

addressString!

The address of the block

chainEVMChain!

The chain object of the block

ipfshashString!

The ipfs hash of the block

nameString!

Block name

blockIdString!

Block Id

gitUrlString!

Block git repository

paramsResolverString!

Parameters block resolver ipfs hash

apyResolverString!

APY block resolver ipfs hash

descriptionString!

Block description

actionString!

Action description

typeString!

Parameters type: block or positionManager

protocolIdString!

ID of protocol implemented on the block

protocolNameString!

Name of protocol implemented on the block

paramsTupleString!

Tuple for block parameters

paramsString!

List of block parameters

positionManagerTypeFloat

Type of position manager

positionManagerParamsTupleString

Tuple for position manager parameters

recommendedTimelockFloat!

Recommended timelock in second

recommendedMiddlewareFloat!

REcommended middleware by id

onlyAfterBlocks[String!]!

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

positionManagerParamsString

Position manager params for creation

MajoraERC3525

Majora ERC3525

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the ERC3525

addressString!

The address of the ERC3525

shares[MajoraERC3525Shares!]!

The shares of the ERC3525

MajoraERC3525Shares

Majora ERC3525 shares

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the shares

addressString!

The address of the shares

tokenIdFloat!

The token id of the shares

ownerString!

The owner of the shares

valueString!

The value of the shares

availableRewardsString!

The available rewards of the shares

alreadyClaimedString!

The already claimed rewards of the shares

burnedBoolean!

The burned status of the shares

vaultMajoraVault!

The vault of the shares

MajoraERC3525SharesList

MajoraERC3525 with fees available

FieldArgumentTypeDescription
resultsCountFloat!

The results count of the ERC3525 shares

results[MajoraERC3525Shares!]!

The results of the ERC3525 shares

MajoraPoint

Strat point

FieldArgumentTypeDescription
ownerString

The owner address

epochString!

The epoch

pointsString!

The points

MajoraPositionManager

Position Manager

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the position manager

addressString!

The address of the position manager

ownerString!

The owner of the position manager

indexFloat!

The index of the position manager

typeMajoraPositionManagerType!

The type of the position manager

collateralString!

The collateral of the position manager

borrowedString!

The borrowed of the position manager

infoString!

The info of the position manager

chainEVMChain!
collateralERC20ERC20!
borrowedERC20ERC20!
statusString
positionDetailsString

MajoraPositionManagerType

Position Manager State

FieldArgumentTypeDescription
implementationString!

The implementation of the position manager

versionFloat!

The version of the position manager

nameString!

The name of the position manager

MajoraRanking

Majora ranking

FieldArgumentTypeDescription
ownerString!

The owner address

pointsInt!

The points

rankInt!

The user rank

tvlFloat

The TVL

vaultTvlFloat

The vault TVL

MajoraRankingList

Majoraranking list

FieldArgumentTypeDescription
resultsCountInt!

The results count

rankings[MajoraRanking!]!

The Majora point rankings

MajoraTransaction

Majora transaction

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the transaction

chainEVMChain!

The chain object of the transaction

hashString!

The hash of the transaction

fromString!

The from address of the transaction

toString

The to address of the transaction

dataString

The data of the transaction

contractNameString!

The contract name of the transaction

functionNameString!

The function name of the transaction

argsString!

The arguments of the transaction

gasUsedFloat!

The gas used of the transaction

cumulativeGasUsedFloat!

The cumulative gas used of the transaction

effectiveGasPriceString!

The effective gas price of the transaction

valueString!

The value of the transaction

mintedAtFloat!

The timestamp of the transaction

MajoraVault

MajoraVaults

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the vault

addressString!

The address of the vault

indexFloat!

The index of the vault

initializedBoolean!

The initialized of the vault

descriptionString!

The description of the vault

shortString!

The short description of the vault

protocolsString!

The protocols used by the vault

ownerString!

The owner of the vault

assetString!

The asset of the vault

assetDataERC20!

The asset data of the vault

implementationString!

The implementation of the vault

nameString!

The name of the vault

erc20NameString!

The erc20 name of the vault

erc20SymbolString!

The erc20 symbol of the vault

availableGasString!

The available gas of the vault

middlewareMajoraVaultMiddleware!

The middleware of the vault

erc3525MajoraERC3525!

The erc3525 of the vault

totalSupplyString!

The total supply of the vault

shares[MajoraVaultShares!]!

The shares of the vault

chainEVMChain!

The chain of the vault

strategyVaultStrategy!

The strategy of the vault

operations[Operation!]!

The operations of the vault

latestOperationOperation

The latest operation of the vault

operatorAccountMajoraVaultOperatorAccount!

The operator account of the vault

tvlFloat!

The tvl of the vault

apyFloat!

The apy of the vault

bufferSizeString!

The buffer size of the vault

bufferDerivationString!

The buffer derivation of the vault

totalAssetsChart[ChartPoint!]!

The total assets chart of the vault

tvlChart[ChartPoint!]!

The tvl chart of the vault

vaultIndexChart[ChartPoint!]!

The vault index chart of the vault

gasAvailableChart[ChartPoint!]!

The gas available chart of the vault

bufferSizeChart[ChartPoint!]!

The buffer size chart of the vault

positionManagers[MajoraPositionManager!]!
depositorCountFloat!
sponsors[MajoraVaultSponsor!]!
stateMajoraVaultState

MajoraVaultList

MajoraVaults

FieldArgumentTypeDescription
resultsCountFloat!

The results count of the vaults

vaults[MajoraVault!]!

Vault list

MajoraVaultMiddleware

Vaults Middleware

FieldArgumentTypeDescription
typeFloat!

The type of the middleware

creatorFeeFloat!

The creator fee of the vault

harvestFeeFloat!

The harvest fee of the vault

timelockEnabledBoolean!

The timelock enabled status of the vault

timelockDurationFloat!

The timelock duration of the vault

minUserDepositString!

The minimum user deposit of the vault

maxUserDepositString!

The maximum user deposit of the vault

minVaultDepositString!

The minimum vault deposit of the vault

maxVaultDepositString!

The maximum vault deposit of the vault

holdTokenString!

The hold token of the vault

holdAmountString!

The hold amount of the vault

whitelist[String!]!

The whitelist of the vault

MajoraVaultOperatorAccount

MajoraVault shares

FieldArgumentTypeDescription
MOPTBalanceString!

The MOPT balance of the vault

sponsors[MajoraVaultSponsor!]!

The sponsors of the vault

MajoraVaultShares

MajoraVault shares

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the vault

addressString!

The address of the vault

ownerString!

The owner of the vault

amountString!

The amount of shares

MajoraVaultSponsor

MajoraVault shares

FieldArgumentTypeDescription
vaultMajoraVault
operationApprovalString!

The balance of the MOPT allocated to the vault

sponsorString!

The address of the sponsor

MajoraVaultSponsoredBy

MajoraVaults sponsored

FieldArgumentTypeDescription
resultsCountFloat!

The results count of the sponsors

results[MajoraVaultSponsor!]!

The sponsors of the vault

MajoraVaultState

MajoraVault shares

FieldArgumentTypeDescription
totalAssetsString!

The total assets of the vault

gasAvailableString!

The gas available of the vault

bufferAssetsAvailableString!

The buffer assets available of the vault

lastHarvestIndexString!

The last harvest index of the vault

currentVaultIndexString!

The current vault index of the vault

onHarvestNativeAssetReceivedString!

The on harvest native asset received of the vault

statusString!

The status of the vault

updatedAtFloat!

The updated at of the vault

NativeCurrency

FieldArgumentTypeDescription
decimalsFloat!

The decimals of the native currency

nameString!

The name of the native currency

symbolString!

The symbol of the native currency

Operation

Operations

FieldArgumentTypeDescription
idString
chainEVMChain
hashString
targetString
typeString
operatorString
payerString
gasCostString
vaultMajoraVault
createdAtFloat

OperationsResult

Operations

FieldArgumentTypeDescription
resultsCountFloat!
results[Operation!]!

Operator

Majora operator

FieldArgumentTypeDescription
idString!

Operator id: chainId and address concat

accountString!

Operator vault account name

chainEVMChain!
addressString!

Operator address

nonceFloat!

Operator on chain nonce

nativeTokenBalanceString!

Operator native gas token balance

statusString!

Operator status

operations[Operation!]

Current operation

Oracle

Majora oracle

FieldArgumentTypeDescription
idString!
chainIdFloat!
chainEVMChain!
adapterString!
typeFloat!
addressString!
assetERC20
symbolString!
decimalsFloat!
ponderatedValueString!
onChainValueString!
derivationTriggerFloat!
updatedAtFloat!
createdAtFloat!
tickersOracleTicker!

OracleTicker

Oracle ticker

FieldArgumentTypeDescription
idString!
typeString!
ponderationFloat!
sourceString!
dataString!
symbolString!
valueString!
updatedAtFloat!
createdAtFloat!

Portfolio

User owned ERC20 portfolio

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the portfolio

addressString!

The address of the portfolio

portfolio[PortfolioBalance!]!

The balances of the portfolio

PortfolioBalance

User owned ERC20 portfolio

FieldArgumentTypeDescription
balanceString!

The balance of the asset

addressString!

The address of the asset

chainIdFloat!

The chain id of the asset

assetERC20

The asset object

Protocol

Protocol

FieldArgumentTypeDescription
protocolIdString!

The protocol id of the block

protocolNameString!

The protocol name of the block

RpcUrl

EVM Chain RPC URL

FieldArgumentTypeDescription
defaultRpcUrlHttp!

The default RPC URL

RpcUrlHttp

EVM Chain RPC URL

FieldArgumentTypeDescription
http[String!]!

The HTTP RPC URLs

StrategInvest

MajoraVaults invests

FieldArgumentTypeDescription
sharesMajoraVaultShares!

The shares of the invest

vaultMajoraVault!

The vault of the invest

TransactionHistory

Majora user transactions history

FieldArgumentTypeDescription
addressString!

The address of the user

resultsCountFloat!

The results count of the transactions

transactions[MajoraTransaction!]!

The transactions of the user

TvlData

MajoraVault shares tvl

FieldArgumentTypeDescription
timeString!

The time of the tvl

tvlFloat!

The tvl of the vault

UserProfile

User profile

FieldArgumentTypeDescription
idID!
addressString!

The user address

pseudoString

The user pseudo

bannerString

The user banner

imageString

The user image

VaultStrategy

Majora blocks and their parameters

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the strategy

addressString!

The address of the strategy

visualizationString!

The visualization object of the strategy

strategy[VaultStrategyBlock!]!

The strategy blocks

harvest[VaultStrategyBlock!]!

The harvest blocks

VaultStrategyBlock

Majora block and its parameters

FieldArgumentTypeDescription
chainIdFloat!

The chain id of the strategy

indexFloat!

The index of block in the strategy

paramsString!

The parameters of the block

blockMajoraBlock!

The block object

VestingSchedule

The vesting schedule of $MAJ token

FieldArgumentTypeDescription
scheduleIdString!

The id of the vesting schedule

beneficiaryString!

The beneficiary of the vesting schedule

cliffInt!

The cliff of the vesting schedule

startInt!

The start of the vesting schedule

durationString!

The duration of the vesting schedule

slicePeriodSecondsInt!

The slice period of the vesting schedule

revocableBoolean!

True if the vesting schedule is revocable

amountTotalString!

The total amount of the vesting schedule

amountReleaseString

The amount released of the vesting schedule

revokedBoolean

True if the vesting schedule is revoked

Inputs

BlockParamsMetadata

FieldTypeDescription
attributeString!

Attribute name

nameString!

Display name

displayedInResumeBoolean!

If true it will be displyaed in block resumed

typeString!

Type of the parameters

underlyingTypeString!

Solidity type of the parameter

resolvedString

Custom resolver to get possible values

valueString

Forced value

values[BlockParamsValues!]

List of possible value

BlockParamsValues

FieldTypeDescription
nameString!

Common name of the parameter

valueString!

Value of the parameter

DefiYieldQuery

FieldTypeDescription
chainIds[Float!]!

The chain ids to filter the yield sources

protocolIds[String!]!

The protocol ids to filter the yield sources

limitFloat!

The limit of the yield sources

offsetFloat!

The offset of the yield sources

orderByAttributeString!

The attribute to order the yield sources

orderByIsAscendingBoolean!

The order of the yield sources

GetRebalancedWithdrawalQuoteInput

Rebalanced withdrawal quote input

FieldTypeDescription
fromChainIdFloat!

Vault chain id

fromVaultString!

Vault address

fromAmountString!

Shares to withdraw

fromAddressString!

User address

PostBlockMetadataInput

FieldTypeDescription
idString!

Unique ID of the block

typeString!

Parameters type: block or positionManager

gitUrlString!

Git repository url

positionManagerTypeFloat

Type of position manager

recommendedTimelockFloat!

Recommended timelock in second

recommendedMiddlewareFloat!

Recommended middleware by id

paramsResolverString!

Parameters block resolver ipfs hash

apyResolverString!

APY block resolver ipfs hash

onlyAfterBlocks[String!]!

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

positionManagerParamsTupleString

Tuple for position manager parameters

positionManagerParams[BlockParamsMetadata!]

Position manager params for creation

nameString!

Block name

descriptionString!

Block description

actionString!

Action description

protocolIdString!

ID of protocol implemented on the block

protocolNameString!

Name of protocol implemented on the block

paramsTupleString!

Tuple for block parameters

params[BlockParamsMetadata!]!

List of block parameters

PostVaultMetadataInput

FieldTypeDescription
nameString!

Vault displayed name

descriptionString!

Long description of the vault

shortString!

Short description of the vault

protocolsString!

List of used protocols

visualizationString!

JSON encoded data to display the strategy schema on the website

Scalars

Boolean

The Boolean scalar type represents true or false.

DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

Float

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

ID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Int

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

String

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

FAQs

Package last updated on 08 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc