Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@majora-finance/graphql
Advanced tools
Field | Argument | Type | Description |
---|---|---|---|
getAccount | MajoraAccount! |
Get user related data | |
address | String! |
The address of the user to retrieve the account for. | |
getTosMessageToSign | String! |
Return message to sign for term of service approval | |
address | String! |
The address of the user who needs to sign the terms of service. | |
getPortfolio | Portfolio! |
Return user's assets in its wallet | |
chainId | Float! |
The ID of the blockchain network where the assets are held. | |
address | String! |
The address of the user whose portfolio is to be fetched. | |
getMajoraPoint | MajoraPoint! |
Return user's Majora points | |
address | String! |
The address of the user to retrieve Majora points for. | |
getUserTransactionHistory | TransactionHistory! |
Return user's transactions history on Majora protocol | |
address | String! |
The address of the user whose transaction history is to be retrieved. | |
offset | Float! |
The offset from where the transactions should be fetched. | |
limit | Float! |
The number of transactions to retrieve. | |
orderByAttribute | String! |
The attribute to order the transactions by. | |
orderByIsAscending | Boolean! |
Whether the order should be ascending or descending. | |
getOracles | [Oracle!]! |
Return oracles list | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
orderByAttribute | String! |
The attribute by which the oracles should be ordered. | |
orderByIsAscending | Boolean! |
Determines whether the order is ascending (true) or descending (false). | |
getOraclesByChainId | [Oracle!]! |
Return oracles list for a specific chain | |
chainId | Float! |
The chain ID for which the oracles should be retrieved. | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
orderByAttribute | String! |
The attribute by which the oracles should be ordered. | |
orderByIsAscending | Boolean! |
Determines whether the order is ascending (true) or descending (false). | |
getOperationsByChainId | [OperationsResult!]! |
Return operations made by operators for a specific chain | |
chainId | Float! |
The ID of the blockchain network. | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
orderByAttribute | String! |
The attribute to order the results by. | |
orderByIsAscending | Boolean! |
Whether to sort results in ascending order. | |
getOperationsByVault | OperationsResult! |
Return operations made by operators for a specific vault | |
chainId | Float! |
The ID of the blockchain network. | |
address | String! |
The vault address to retrieve the operations for. | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
orderByAttribute | String! |
The attribute to order the results by. | |
orderByIsAscending | Boolean! |
Whether to sort results in ascending order. | |
getOperationsByPayer | OperationsResult! |
Return operations made by operators for a specific payer | |
address | String! |
The address of the payer. | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
orderByAttribute | String! |
The attribute to order the results by. | |
orderByIsAscending | Boolean! |
Whether to sort results in ascending order. | |
getMOPTDepositHistory | MOPTDepositHistory! |
Return MOPT deposit history for a specific address | |
address | String! |
The address of the user to retrieve deposit history for. | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
getOperatorsByChainId | [Operator!]! |
Return operators list for a specific chain | |
chainId | Float! |
The ID of the blockchain network. | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
orderByAttribute | String! |
The attribute to order the results by. | |
orderByIsAscending | Boolean! |
Whether to sort results in ascending order. | |
getAvailableBlocks | [MajoraBlock!]! |
Return available blocks for a specific chain | |
chainId | Float! |
The ID of the blockchain network where the blocks are held. | |
getBlockById | MajoraBlock! |
Return a specific block | |
chainId | Float! |
The ID of the blockchain network where the block is held. | |
id | String! |
The unique identifier of the block. | |
getBlocksByProtocolId | [MajoraBlock!]! |
Return blocks by protocol ID | |
chainId | Float! |
The ID of the blockchain network where the blocks are held. | |
id | String! |
The protocol ID used to filter blocks. | |
getBlockResolvedParams | BlockParamsResolved! |
Return resolved parameters for a specific block and configuration | |
chainId | Float! |
The ID of the blockchain network where the block is held. | |
blockAddress | String! |
The address of the block contract. | |
args | String! |
The arguments required for resolving block parameters. | |
getBlockProtocolList | [Protocol!]! |
Return a list of protocol blocks | |
getAvailableChains | [EVMChain!]! |
Return chains where Majora is deployed | |
getChain | EVMChain! |
Return chain where Majora is deployed | |
chainId | Float! |
The ID of the blockchain network where the assets are held. | |
getRewardsClaimableOf | [FeeReceiverBalance!]! |
Return all feeReceivers claimable by an address | |
address | String! |
The address of the user to retrieve claimable rewards for. | |
getFeeReceiverBalanceClaimed | [FeeReceiverBalance!]! |
Return all feeReceivers claimed by an address and epochId | |
address | String! |
The address of the user to retrieve claimed rewards for. | |
epochId | Int! |
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 | |
address | String! |
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
| |
chainId | Float! |
The chain ID to retrieve transactions for. | |
getVaultsByChainId | MajoraVaultList! |
Return vaults for a specific chain | |
chainId | Float! |
The ID of the blockchain network where the assets are held. | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
orderByAttribute | String! |
The attribute by which to order the results. | |
orderByIsAscending | Boolean! |
Whether to order the results in ascending order. | |
getVaultById | MajoraVault! |
Return a specific vault | |
chainId | Float! |
The ID of the blockchain network where the vault is held. | |
address | String! |
The address of the vault. | |
getAllVaultList | MajoraVaultList! |
Return a vault list | |
search | String! | ||
chainIds | [Float!]! | ||
offset | Float! | ||
limit | Float! | ||
orderByAttribute | String! | ||
orderByIsAscending | Boolean! | ||
getVaultsSponsoredBy | MajoraVaultSponsoredBy! |
Return vaults sponsorized by a specific address | |
address | String! | ||
offset | Float! | ||
limit | Float! | ||
orderByAttribute | String! | ||
orderByIsAscending | Boolean! | ||
getVaultsSponsors | MajoraVaultSponsoredBy! |
Return sponsors of a specific vault | |
chainId | Float! | ||
address | String! | ||
offset | Float! | ||
limit | Float! | ||
orderByAttribute | String! | ||
orderByIsAscending | Boolean! | ||
getVaultListFiltered | MajoraVaultList! |
Return result of a vault search string | |
search | String! | ||
chainIds | [Float!]! | ||
protocols | [String!]! | ||
offset | Float! | ||
limit | Float! | ||
orderByAttribute | String! | ||
orderByIsAscending | Boolean! | ||
getVaultsHoldedByFiltered | InvestList! |
Return vaults holded by a user | |
address | String! | ||
search | String! | ||
offset | Float! | ||
limit | Float! | ||
orderByAttribute | String! | ||
orderByIsAscending | Boolean! | ||
getVaultOwnedBy | MajoraVaultList! |
Return vaults owned by a user | |
address | String! | ||
offset | Float! | ||
limit | Float! | ||
orderByAttribute | String! | ||
orderByIsAscending | Boolean! | ||
getUserTotalTvl | Float! |
Return total TVL deposited by a user in Strateg protocol | |
address | String! | ||
getUserCreatedStrategiesTotalTvl | Float! |
Return total TVL deposited in user's owned strategies | |
address | String! | ||
getTotalUsersInStrategies | Float! |
Return total unique users who's deposited on specified user's strategies | |
address | String! | ||
getUserAllTimeFeesEarned | Float! |
Return all time total creator fees earned | |
address | String! | ||
getVaultStatus | String! |
Return the status of a specific vault | |
chainId | Float! |
The ID of the blockchain network where the vault is held. | |
address | String! |
The address of the vault. | |
getGlobalTVL | [ChainGlobalTVL!]! |
Return the total TVL of Majora | |
getGlobalDepositorsCount | Float! |
Return total number of distinct users who deposited on vaults | |
getGlobalAverageAPY | Float! |
Return the average APY on global TVL | |
getMostValuable | [MajoraVault!]! |
Return the most valuable vaults | |
limit | Float! |
The maximum number of most valuable vaults to return. | |
getVaultList | MajoraVaultList! |
Return a list of vaults | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
orderByAttribute | String! |
The attribute by which to order the vaults. | |
orderByIsAscending | Boolean! |
Whether to order the results in ascending order. | |
getERC3525Shares | MajoraERC3525SharesList! |
Return ERC3525 shares owned by a user | |
address | String! |
The address of the user to retrieve shares for. | |
offset | Float! |
The number of items to skip before starting to collect the result set. | |
limit | Float! |
The maximum number of items to return. | |
orderByAttribute | String! |
The attribute by which to order the shares. | |
orderByIsAscending | Boolean! |
Whether to order the results in ascending order. | |
getUserTvlForVault | [TvlData!]! |
Return user's tvl for vault | |
owner | String! |
The address of the owner to retrieve TVL data for. | |
vaultAddress | String! |
The address of the vault to retrieve TVL data for. | |
getProfile | UserProfile! | ||
address | String! | ||
getRebalancedWithdrawalQuote | GetRebalancedWithdrawalQuoteOutput! |
Return a quote for withdrawal rebalance from operators | |
input | GetRebalancedWithdrawalQuoteInput! |
Input data for generating a withdrawal rebalance quote. | |
getVestingScheduleOf | [VestingSchedule!]! |
Return the vesting schedule for a specific beneficiary | |
beneficiary | String! |
The address of the beneficiary to retrieve the vesting schedule for. | |
getMajoraRanking | MajoraRanking! |
Return the ranking by address | |
address | String! |
The address of the address to retrieve the ranking for. | |
getMajoraLeaderboardList | MajoraRankingList! |
Return the leaderboard with pagination and optional ordering by attributes | |
offset | Int! |
The number of items to skip before starting to collect the result set. | |
limit | Int! |
The maximum number of items to return. | |
orderByAttribute | String |
The attribute to order the results by. Can be rank, address, points, tvl, or vault_tvl. | |
orderByIsAscending | Boolean |
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 | |
protocolId | String! |
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 | |
search | DefiYieldQuery! |
The search criteria for retrieving DeFi pools. | |
getExplorerDefiPool | DefiYield! |
Return the details of a specific DeFi pool | |
chainId | Float! |
The ID of the blockchain network where the pool exists. | |
project | String! |
The project name associated with the DeFi pool. | |
pool | String! |
The pool ID to retrieve details for. | |
getExplorerDefiPoolsHistory | [DefiYield!]! |
Return the historical data for a specific DeFi pool | |
pool | String! |
The ID of the pool to retrieve history for. | |
from | Float! |
The start time in UNIX timestamp for retrieving the history. | |
to | Float! |
The end time in UNIX timestamp for retrieving the history. |
Field | Argument | Type | Description |
---|---|---|---|
postTosSignature | Boolean! |
Post Term of Service signature. Return true if post is successful | |
address | String! |
The address of the user signing the terms of service. | |
signature | String! |
The signature provided by the user for the terms of service. | |
postBlockMetadata | String! |
Mutation to store block's metadata | |
blockMetadataInput | PostBlockMetadataInput! |
The metadata input for the block to be stored on IPFS. | |
postVaultMetadata | String! |
Mutation to store vault's metadata | |
vaultMetadataInput | PostVaultMetadataInput! |
The metadata input for the vault to be stored on IPFS. | |
postResolver | String! |
Mutation to store block's resolvers | |
name | String! |
The name of the resolver to be stored on IPFS. | |
code | String! |
The code of the resolver to be stored on IPFS. | |
updateProfile | UserProfile! | ||
pseudo | String! |
User MOPT balance
Field | Argument | Type | Description |
---|---|---|---|
chain | EVMChain! |
The chain object of the balance | |
amount | String! |
The amount of MOPT |
APY resolver result
Field | Argument | Type | Description |
---|---|---|---|
apy | Float |
The apy of the block | |
tvlUsd | Float |
The tvl of the block | |
rewardTokens | [ERC20!] |
The reward tokens of the block |
EVM Chain Block Explorer
Field | Argument | Type | Description |
---|---|---|---|
default | BlockExplorerDetails! |
The default block explorer details |
EVM Chain Block Explorer Details
Field | Argument | Type | Description |
---|---|---|---|
name | String! |
The name of the block explorer | |
url | String! |
The URL of the block explorer |
Block resolvers result
Field | Argument | Type | Description |
---|---|---|---|
paramsResolved | String! |
The params resolved of the block | |
apyResolved | ApyResolved |
The apy resolved of the block |
MajoraTVL related to a chain
Field | Argument | Type | Description |
---|---|---|---|
chain | EVMChain! |
The chain object | |
tvl | Float! |
The TVL of the chain |
MajoraVault charts
Field | Argument | Type | Description |
---|---|---|---|
timestamp | Float! |
The timestamp of the chart point | |
value | String! |
The value of the chart point |
This object contains information about the yield on a specific protocol
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the protocol | |
chain | EVMChain! |
The chain object of the protocol | |
pool | String! |
The pool id of the yield source | |
address | [String!] |
The address(es) of the yield source | |
project | String! |
The project name of the yield source | |
symbol | String! |
The symbol of the yield source | |
tvl | Float! |
The total value locked of the yield source | |
apyBase | Float |
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 | |
totalSupplyUsd | Float |
The total supply in USD of the yield source | |
totalBorrowUsd | Float |
The total borrow in USD of the yield source | |
debtCeilingUsd | Float |
The debt ceiling in USD of the yield source | |
apyBaseBorrow | Float |
The base borrow apy of the yield source | |
ltv | Float |
The ltv of the yield source | |
url | String |
The url of the yield source | |
borrowable | Boolean |
True if the yield source is borrowable | |
mintedCoin | String |
The minted coin of the yield source | |
apy | Float |
The apy of the yield source | |
apyReward | Float |
The reward apy of the yield source | |
apyRewardBorrow | Float |
The reward apy of the yield source | |
apyBase7d | Float |
The apy of the yield source on the previous 7 days | |
apyRewardFake | Float |
The fake reward apy of the yield source | |
apyRewardBorrowFake | Float |
The fake apy borrow reward of the yield source | |
apyBaseInception | Float |
The apy of the yield source since inception | |
date | Float |
The date of the metric scrape |
ERC20 Asset
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the asset | |
address | String! |
The address of the asset | |
name | String! |
The name of the asset | |
symbol | String! |
The symbol of the asset | |
decimals | Float! |
The decimals of the asset | |
chain | EVMChain! |
The chain object of the asset | |
priceUSD | String! |
The price of the asset in USD | |
logoURI | String! |
The logo uri of the asset |
EVM Chain
Field | Argument | Type | Description |
---|---|---|---|
id | Float! |
The id of the chain | |
name | String! |
The name of the chain | |
network | String! |
The network of the chain | |
nativeCurrency | NativeCurrency! |
The native currency of the chain | |
rpcUrls | RpcUrl! |
The rpc urls of the chain | |
blockExplorers | BlockExplorer! |
The block explorers of the chain | |
contracts | EVMChainContracts! |
The contracts of the chain |
EVM Chain
Field | Argument | Type | Description |
---|---|---|---|
accessManager | String! |
The access manager address | |
blockRegistry | String! |
The block registry address | |
mopt | String! |
The MOPT address | |
operatorProxy | String! |
The operator proxy address | |
dataAggregator | String! |
The operator data aggregator address | |
portal | String! |
The portal address | |
pmFactory | String! |
The position manager factory address | |
userInteraction | String! |
The user interaction address | |
vaultFactory | String! |
The vault factory address | |
assetBuffer | String! |
The asset buffer address | |
mainFeeCollector | String! |
The main fee collector address | |
feeDistributor | String! |
The fee distributor address | |
StkMAJ | String! |
The StkMAJ address | |
StkMAJLP | String! |
The StkMAJLP address | |
StkMAJLocked | String! |
The StkMAJLocked address | |
MajoraToken | String! |
The Majora token address | |
MajoraTokenVesting | String! |
The Majora token vesting address |
Fee collector transaction
Field | Argument | Type | Description |
---|---|---|---|
id | String! |
The transaction id | |
amount | String! |
The transaction amount | |
route | Float! |
The transaction route | |
sourceAsset | String! |
The transaction source asset | |
targetAsset | String! |
The transaction target asset | |
fromChain | String! |
The transaction from chain | |
targetChain | String! |
The transaction to chain | |
createdAt | DateTime! |
The transaction created at |
Main Fee Collector epochs
Field | Argument | Type | Description |
---|---|---|---|
id | Float! |
The id of the fee epoch | |
feesCollected | String! |
The fees collected of the fee epoch | |
totalWeight | String! |
The total weight of the fee epoch | |
startedAt | Int! |
The starting timestamp date of the epoch | |
endedAt | Int! |
The ending timestamp date of the epoch | |
feeReceivers | [FeeReceiver!] |
List of Fee Receivers |
Fee receiver
Field | Argument | Type | Description |
---|---|---|---|
name | String! |
The name of the fee receiver | |
feeReceiverId | Int! |
The id of the fee receiver | |
epochId | Int! |
The epoch id of the fee receiver | |
weight | Float! |
The weight of the fee receiver | |
address | String! |
The address of the fee receiver | |
rewardAmount | String! |
The reward amount of the fee receiver | |
totalSupply | String! |
The total supply of the fee receiver | |
date | DateTime! |
The date of the fee receiver |
Fee receiver balance
Field | Argument | Type | Description |
---|---|---|---|
id | String! |
The id of the fee receiver balance | |
address | String! |
The address of the fee receiver balance | |
epochId | Int! |
The epoch id of the fee receiver balance | |
feeReceiverAddress | String! |
The address of the fee receiver | |
amount | String! |
The amount of the fee receiver balance | |
rewardAmount | String! |
The reward amount of the fee receiver balance | |
rewardClaimed | Boolean! |
The reward claimed of the fee receiver balance | |
name | String! |
The name of the fee receiver balance |
Total supply of each contracts
Field | Argument | Type | Description |
---|---|---|---|
feeReceiverAddress | String! |
The address of the fee receiver | |
name | String! |
The name of the fee receiver | |
totalSupply | String! |
The total supply of the fee receiver | |
latestEpochId | String! |
The latest epoch id of the fee receiver |
Rebalanced withdrawal quote
Field | Argument | Type | Description |
---|---|---|---|
fromChainId | Float! |
Vault chain id | |
fromAddress | String! |
User address | |
fromAmount | String! |
Shares withdrawed | |
fromVault | String! |
Vault address | |
dynamicParamsIndex | [String!]! |
Dynamic parameters for exit block indexes | |
dynamicParams | [String!]! |
Dynamic parameters for exit | |
deadline | Float! |
Transaction execution deadline | |
signature | String |
Signature of parameters if needed |
MajoraVaults
Field | Argument | Type | Description |
---|---|---|---|
resultsCount | Float! |
The results count of the invests | |
invests | [StrategInvest!]! |
The invests of the vault |
MOPT deposit
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! | ||
amount | String! | ||
chain | EVMChain! | ||
transactionHash | String! | ||
mintedAt | Float! |
MOPT deposit history list
Field | Argument | Type | Description |
---|---|---|---|
resultsCount | Float! | ||
results | [MOPTDeposit!]! |
Majora user account
Field | Argument | Type | Description |
---|---|---|---|
address | String! |
The address of the user | |
hasAcceptedTos | Boolean! |
The TOS acceptance of the user | |
averageApy | Float! |
User average APY | |
tvl | Float! |
User total value deposited | |
MOPTBalances | [AccountMOPTBalance!]! |
The MOPT balances of the user |
Majora Block
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the block | |
address | String! |
The address of the block | |
chain | EVMChain! |
The chain object of the block | |
ipfshash | String! |
The ipfs hash of the block | |
name | String! |
Block name | |
blockId | String! |
Block Id | |
gitUrl | String! |
Block git repository | |
paramsResolver | String! |
Parameters block resolver ipfs hash | |
apyResolver | String! |
APY block resolver ipfs hash | |
description | String! |
Block description | |
action | String! |
Action description | |
type | String! |
Parameters type: block or positionManager | |
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 | String! |
List of block parameters | |
positionManagerType | Float |
Type of position manager | |
positionManagerParamsTuple | String |
Tuple for position manager parameters | |
recommendedTimelock | Float! |
Recommended timelock in second | |
recommendedMiddleware | Float! |
REcommended middleware by id | |
onlyAfterBlocks | [String!]! |
The block have to be placed after one of specified block ids | |
positionManagerParams | String |
Position manager params for creation |
Majora ERC3525
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the ERC3525 | |
address | String! |
The address of the ERC3525 | |
shares | [MajoraERC3525Shares!]! |
The shares of the ERC3525 |
Majora ERC3525 shares
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the shares | |
address | String! |
The address of the shares | |
tokenId | Float! |
The token id of the shares | |
owner | String! |
The owner of the shares | |
value | String! |
The value of the shares | |
availableRewards | String! |
The available rewards of the shares | |
alreadyClaimed | String! |
The already claimed rewards of the shares | |
burned | Boolean! |
The burned status of the shares | |
vault | MajoraVault! |
The vault of the shares |
MajoraERC3525 with fees available
Field | Argument | Type | Description |
---|---|---|---|
resultsCount | Float! |
The results count of the ERC3525 shares | |
results | [MajoraERC3525Shares!]! |
The results of the ERC3525 shares |
Strat point
Field | Argument | Type | Description |
---|---|---|---|
owner | String |
The owner address | |
epoch | String! |
The epoch | |
points | String! |
The points |
Position Manager
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the position manager | |
address | String! |
The address of the position manager | |
owner | String! |
The owner of the position manager | |
index | Float! |
The index of the position manager | |
type | MajoraPositionManagerType! |
The type of the position manager | |
collateral | String! |
The collateral of the position manager | |
borrowed | String! |
The borrowed of the position manager | |
info | String! |
The info of the position manager | |
chain | EVMChain! | ||
collateralERC20 | ERC20! | ||
borrowedERC20 | ERC20! | ||
status | String | ||
positionDetails | String |
Position Manager State
Field | Argument | Type | Description |
---|---|---|---|
implementation | String! |
The implementation of the position manager | |
version | Float! |
The version of the position manager | |
name | String! |
The name of the position manager |
Majora ranking
Field | Argument | Type | Description |
---|---|---|---|
owner | String! |
The owner address | |
points | Int! |
The points | |
rank | Int! |
The user rank | |
tvl | Float |
The TVL | |
vaultTvl | Float |
The vault TVL |
Majoraranking list
Field | Argument | Type | Description |
---|---|---|---|
resultsCount | Int! |
The results count | |
rankings | [MajoraRanking!]! |
The Majora point rankings |
Majora transaction
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the transaction | |
chain | EVMChain! |
The chain object of the transaction | |
hash | String! |
The hash of the transaction | |
from | String! |
The from address of the transaction | |
to | String |
The to address of the transaction | |
data | String |
The data of the transaction | |
contractName | String! |
The contract name of the transaction | |
functionName | String! |
The function name of the transaction | |
args | String! |
The arguments of the transaction | |
gasUsed | Float! |
The gas used of the transaction | |
cumulativeGasUsed | Float! |
The cumulative gas used of the transaction | |
effectiveGasPrice | String! |
The effective gas price of the transaction | |
value | String! |
The value of the transaction | |
mintedAt | Float! |
The timestamp of the transaction |
MajoraVaults
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the vault | |
address | String! |
The address of the vault | |
index | Float! |
The index of the vault | |
initialized | Boolean! |
The initialized of the vault | |
description | String! |
The description of the vault | |
short | String! |
The short description of the vault | |
protocols | String! |
The protocols used by the vault | |
owner | String! |
The owner of the vault | |
asset | String! |
The asset of the vault | |
assetData | ERC20! |
The asset data of the vault | |
implementation | String! |
The implementation of the vault | |
name | String! |
The name of the vault | |
erc20Name | String! |
The erc20 name of the vault | |
erc20Symbol | String! |
The erc20 symbol of the vault | |
availableGas | String! |
The available gas of the vault | |
middleware | MajoraVaultMiddleware! |
The middleware of the vault | |
erc3525 | MajoraERC3525! |
The erc3525 of the vault | |
totalSupply | String! |
The total supply of the vault | |
shares | [MajoraVaultShares!]! |
The shares of the vault | |
chain | EVMChain! |
The chain of the vault | |
strategy | VaultStrategy! |
The strategy of the vault | |
operations | [Operation!]! |
The operations of the vault | |
latestOperation | Operation |
The latest operation of the vault | |
operatorAccount | MajoraVaultOperatorAccount! |
The operator account of the vault | |
tvl | Float! |
The tvl of the vault | |
apy | Float! |
The apy of the vault | |
bufferSize | String! |
The buffer size of the vault | |
bufferDerivation | String! |
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!]! | ||
depositorCount | Float! | ||
sponsors | [MajoraVaultSponsor!]! | ||
state | MajoraVaultState |
MajoraVaults
Field | Argument | Type | Description |
---|---|---|---|
resultsCount | Float! |
The results count of the vaults | |
vaults | [MajoraVault!]! |
Vault list |
Vaults Middleware
Field | Argument | Type | Description |
---|---|---|---|
type | Float! |
The type of the middleware | |
creatorFee | Float! |
The creator fee of the vault | |
harvestFee | Float! |
The harvest fee of the vault | |
timelockEnabled | Boolean! |
The timelock enabled status of the vault | |
timelockDuration | Float! |
The timelock duration of the vault | |
minUserDeposit | String! |
The minimum user deposit of the vault | |
maxUserDeposit | String! |
The maximum user deposit of the vault | |
minVaultDeposit | String! |
The minimum vault deposit of the vault | |
maxVaultDeposit | String! |
The maximum vault deposit of the vault | |
holdToken | String! |
The hold token of the vault | |
holdAmount | String! |
The hold amount of the vault | |
whitelist | [String!]! |
The whitelist of the vault |
MajoraVault shares
Field | Argument | Type | Description |
---|---|---|---|
MOPTBalance | String! |
The MOPT balance of the vault | |
sponsors | [MajoraVaultSponsor!]! |
The sponsors of the vault |
MajoraVault shares
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the vault | |
address | String! |
The address of the vault | |
owner | String! |
The owner of the vault | |
amount | String! |
The amount of shares |
MajoraVault shares
Field | Argument | Type | Description |
---|---|---|---|
vault | MajoraVault | ||
operationApproval | String! |
The balance of the MOPT allocated to the vault | |
sponsor | String! |
The address of the sponsor |
MajoraVaults sponsored
Field | Argument | Type | Description |
---|---|---|---|
resultsCount | Float! |
The results count of the sponsors | |
results | [MajoraVaultSponsor!]! |
The sponsors of the vault |
MajoraVault shares
Field | Argument | Type | Description |
---|---|---|---|
totalAssets | String! |
The total assets of the vault | |
gasAvailable | String! |
The gas available of the vault | |
bufferAssetsAvailable | String! |
The buffer assets available of the vault | |
lastHarvestIndex | String! |
The last harvest index of the vault | |
currentVaultIndex | String! |
The current vault index of the vault | |
onHarvestNativeAssetReceived | String! |
The on harvest native asset received of the vault | |
status | String! |
The status of the vault | |
updatedAt | Float! |
The updated at of the vault |
Field | Argument | Type | Description |
---|---|---|---|
decimals | Float! |
The decimals of the native currency | |
name | String! |
The name of the native currency | |
symbol | String! |
The symbol of the native currency |
Operations
Field | Argument | Type | Description |
---|---|---|---|
id | String | ||
chain | EVMChain | ||
hash | String | ||
target | String | ||
type | String | ||
operator | String | ||
payer | String | ||
gasCost | String | ||
vault | MajoraVault | ||
createdAt | Float |
Operations
Field | Argument | Type | Description |
---|---|---|---|
resultsCount | Float! | ||
results | [Operation!]! |
Majora operator
Field | Argument | Type | Description |
---|---|---|---|
id | String! |
Operator id: chainId and address concat | |
account | String! |
Operator vault account name | |
chain | EVMChain! | ||
address | String! |
Operator address | |
nonce | Float! |
Operator on chain nonce | |
nativeTokenBalance | String! |
Operator native gas token balance | |
status | String! |
Operator status | |
operations | [Operation!] |
Current operation |
Majora oracle
Field | Argument | Type | Description |
---|---|---|---|
id | String! | ||
chainId | Float! | ||
chain | EVMChain! | ||
adapter | String! | ||
type | Float! | ||
address | String! | ||
asset | ERC20 | ||
symbol | String! | ||
decimals | Float! | ||
ponderatedValue | String! | ||
onChainValue | String! | ||
derivationTrigger | Float! | ||
updatedAt | Float! | ||
createdAt | Float! | ||
tickers | OracleTicker! |
Oracle ticker
Field | Argument | Type | Description |
---|---|---|---|
id | String! | ||
type | String! | ||
ponderation | Float! | ||
source | String! | ||
data | String! | ||
symbol | String! | ||
value | String! | ||
updatedAt | Float! | ||
createdAt | Float! |
User owned ERC20 portfolio
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the portfolio | |
address | String! |
The address of the portfolio | |
portfolio | [PortfolioBalance!]! |
The balances of the portfolio |
User owned ERC20 portfolio
Field | Argument | Type | Description |
---|---|---|---|
balance | String! |
The balance of the asset | |
address | String! |
The address of the asset | |
chainId | Float! |
The chain id of the asset | |
asset | ERC20 |
The asset object |
Protocol
Field | Argument | Type | Description |
---|---|---|---|
protocolId | String! |
The protocol id of the block | |
protocolName | String! |
The protocol name of the block |
EVM Chain RPC URL
Field | Argument | Type | Description |
---|---|---|---|
default | RpcUrlHttp! |
The default RPC URL |
EVM Chain RPC URL
Field | Argument | Type | Description |
---|---|---|---|
http | [String!]! |
The HTTP RPC URLs |
MajoraVaults invests
Field | Argument | Type | Description |
---|---|---|---|
shares | MajoraVaultShares! |
The shares of the invest | |
vault | MajoraVault! |
The vault of the invest |
Majora user transactions history
Field | Argument | Type | Description |
---|---|---|---|
address | String! |
The address of the user | |
resultsCount | Float! |
The results count of the transactions | |
transactions | [MajoraTransaction!]! |
The transactions of the user |
MajoraVault shares tvl
Field | Argument | Type | Description |
---|---|---|---|
time | String! |
The time of the tvl | |
tvl | Float! |
The tvl of the vault |
User profile
Field | Argument | Type | Description |
---|---|---|---|
id | ID! | ||
address | String! |
The user address | |
pseudo | String |
The user pseudo | |
banner | String |
The user banner | |
image | String |
The user image |
Majora blocks and their parameters
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the strategy | |
address | String! |
The address of the strategy | |
visualization | String! |
The visualization object of the strategy | |
strategy | [VaultStrategyBlock!]! |
The strategy blocks | |
harvest | [VaultStrategyBlock!]! |
The harvest blocks |
Majora block and its parameters
Field | Argument | Type | Description |
---|---|---|---|
chainId | Float! |
The chain id of the strategy | |
index | Float! |
The index of block in the strategy | |
params | String! |
The parameters of the block | |
block | MajoraBlock! |
The block object |
The vesting schedule of $MAJ token
Field | Argument | Type | Description |
---|---|---|---|
scheduleId | String! |
The id of the vesting schedule | |
beneficiary | String! |
The beneficiary of the vesting schedule | |
cliff | Int! |
The cliff of the vesting schedule | |
start | Int! |
The start of the vesting schedule | |
duration | String! |
The duration of the vesting schedule | |
slicePeriodSeconds | Int! |
The slice period of the vesting schedule | |
revocable | Boolean! |
True if the vesting schedule is revocable | |
amountTotal | String! |
The total amount of the vesting schedule | |
amountRelease | String |
The amount released of the vesting schedule | |
revoked | Boolean |
True if the vesting schedule is revoked |
Field | Type | Description |
---|---|---|
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 |
Field | Type | Description |
---|---|---|
name | String! |
Common name of the parameter |
value | String! |
Value of the parameter |
Field | Type | Description |
---|---|---|
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 |
Rebalanced withdrawal quote input
Field | Type | Description |
---|---|---|
fromChainId | Float! |
Vault chain id |
fromVault | String! |
Vault address |
fromAmount | String! |
Shares to withdraw |
fromAddress | String! |
User address |
Field | Type | Description |
---|---|---|
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 |
Field | Type | Description |
---|---|---|
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 |
The Boolean
scalar type represents true
or false
.
A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
The Float
scalar type represents signed double-precision fractional values as specified by IEEE 754.
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.
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
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
Majora GraphQL API client
The npm package @majora-finance/graphql receives a total of 7 weekly downloads. As such, @majora-finance/graphql popularity was classified as not popular.
We found that @majora-finance/graphql demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.