Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UnlockFunds and UnlockOperator actions #572

4 changes: 2 additions & 2 deletions explorer/gql/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const documents = {
"\n query OperatorsConnectionRewards(\n $first: Int!\n $after: String\n $orderBy: [OperatorRewardsOrderByInput!]!\n $where: OperatorRewardsWhereInput\n ) {\n operatorRewardsConnection(orderBy: $orderBy, first: $first, after: $after, where: $where) {\n edges {\n cursor\n node {\n amount\n id\n updatedAt\n }\n }\n totalCount\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n }\n": types.OperatorsConnectionRewardsDocument,
"\n query LogsConnection($first: Int!, $after: String, $where: LogWhereInput) {\n logsConnection(orderBy: id_DESC, first: $first, after: $after, where: $where) {\n totalCount\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n edges {\n node {\n id\n kind\n value\n block {\n id\n height\n timestamp\n }\n }\n cursor\n }\n }\n logTypesQuery {\n result\n }\n }\n": types.LogsConnectionDocument,
"\n query LogById($logId: String!) {\n logById(id: $logId) {\n id\n kind\n value\n block {\n id\n height\n timestamp\n events(limit: 10, orderBy: id_DESC) {\n id\n args\n name\n phase\n indexInBlock\n timestamp\n block {\n height\n hash\n }\n }\n }\n }\n }\n": types.LogByIdDocument,
"\n query OperatorsConnection(\n $first: Int!\n $after: String\n $orderBy: [OperatorOrderByInput!]!\n $where: OperatorWhereInput\n ) {\n operatorsConnection(orderBy: $orderBy, first: $first, after: $after, where: $where) {\n edges {\n node {\n id\n operatorOwner\n currentDomainId\n currentEpochRewards\n currentTotalStake\n minimumNominatorStake\n nextDomainId\n nominationTax\n signingKey\n status\n totalShares\n updatedAt\n nominators(limit: 256) {\n id\n shares\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n }\n": types.OperatorsConnectionDocument,
"\n query OperatorsConnection(\n $first: Int!\n $after: String\n $orderBy: [OperatorOrderByInput!]!\n $where: OperatorWhereInput\n ) {\n lastBlock: blocks(limit: 1, orderBy: height_DESC) {\n height\n }\n operatorsConnection(orderBy: $orderBy, first: $first, after: $after, where: $where) {\n edges {\n node {\n id\n operatorOwner\n currentDomainId\n currentEpochRewards\n currentTotalStake\n minimumNominatorStake\n nextDomainId\n nominationTax\n signingKey\n status\n totalShares\n updatedAt\n nominators(limit: 256) {\n id\n shares\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n }\n": types.OperatorsConnectionDocument,
"\n query OperatorById($operatorId: String!) {\n operatorById(id: $operatorId) {\n id\n operatorOwner\n currentDomainId\n currentEpochRewards\n currentTotalStake\n minimumNominatorStake\n nextDomainId\n nominationTax\n signingKey\n status\n totalShares\n updatedAt\n nominators(limit: 300) {\n id\n shares\n account {\n id\n }\n }\n }\n }\n": types.OperatorByIdDocument,
"\n query NominatorsConnection(\n $first: Int!\n $after: String\n $orderBy: [NominatorOrderByInput!]!\n $where: NominatorWhereInput\n ) {\n nominatorsConnection(orderBy: $orderBy, first: $first, after: $after, where: $where) {\n edges {\n node {\n id\n shares\n account {\n id\n }\n operator {\n id\n operatorOwner\n currentDomainId\n currentEpochRewards\n currentTotalStake\n minimumNominatorStake\n nextDomainId\n nominationTax\n signingKey\n status\n totalShares\n updatedAt\n }\n updatedAt\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n }\n": types.NominatorsConnectionDocument,
"\n query AccountsTopLeaderboard($first: Int!) {\n farmers: accountRewardsConnection(\n orderBy: amount_DESC\n first: $first\n where: { vote_gt: 0, vote_isNull: false, OR: { block_gt: 0, block_isNull: false } }\n ) {\n edges {\n cursor\n node {\n id\n }\n }\n }\n operators: operatorRewardsConnection(orderBy: amount_DESC, first: $first, where: {}) {\n edges {\n cursor\n node {\n amount\n id\n }\n }\n }\n nominators: accountRewardsConnection(\n orderBy: operator_DESC\n first: $first\n where: { operator_gt: 0, operator_isNull: false }\n ) {\n edges {\n cursor\n node {\n id\n }\n }\n }\n }\n": types.AccountsTopLeaderboardDocument,
Expand Down Expand Up @@ -185,7 +185,7 @@ export function graphql(source: "\n query LogById($logId: String!) {\n logBy
/**
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function graphql(source: "\n query OperatorsConnection(\n $first: Int!\n $after: String\n $orderBy: [OperatorOrderByInput!]!\n $where: OperatorWhereInput\n ) {\n operatorsConnection(orderBy: $orderBy, first: $first, after: $after, where: $where) {\n edges {\n node {\n id\n operatorOwner\n currentDomainId\n currentEpochRewards\n currentTotalStake\n minimumNominatorStake\n nextDomainId\n nominationTax\n signingKey\n status\n totalShares\n updatedAt\n nominators(limit: 256) {\n id\n shares\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n }\n"): (typeof documents)["\n query OperatorsConnection(\n $first: Int!\n $after: String\n $orderBy: [OperatorOrderByInput!]!\n $where: OperatorWhereInput\n ) {\n operatorsConnection(orderBy: $orderBy, first: $first, after: $after, where: $where) {\n edges {\n node {\n id\n operatorOwner\n currentDomainId\n currentEpochRewards\n currentTotalStake\n minimumNominatorStake\n nextDomainId\n nominationTax\n signingKey\n status\n totalShares\n updatedAt\n nominators(limit: 256) {\n id\n shares\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n }\n"];
export function graphql(source: "\n query OperatorsConnection(\n $first: Int!\n $after: String\n $orderBy: [OperatorOrderByInput!]!\n $where: OperatorWhereInput\n ) {\n lastBlock: blocks(limit: 1, orderBy: height_DESC) {\n height\n }\n operatorsConnection(orderBy: $orderBy, first: $first, after: $after, where: $where) {\n edges {\n node {\n id\n operatorOwner\n currentDomainId\n currentEpochRewards\n currentTotalStake\n minimumNominatorStake\n nextDomainId\n nominationTax\n signingKey\n status\n totalShares\n updatedAt\n nominators(limit: 256) {\n id\n shares\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n }\n"): (typeof documents)["\n query OperatorsConnection(\n $first: Int!\n $after: String\n $orderBy: [OperatorOrderByInput!]!\n $where: OperatorWhereInput\n ) {\n lastBlock: blocks(limit: 1, orderBy: height_DESC) {\n height\n }\n operatorsConnection(orderBy: $orderBy, first: $first, after: $after, where: $where) {\n edges {\n node {\n id\n operatorOwner\n currentDomainId\n currentEpochRewards\n currentTotalStake\n minimumNominatorStake\n nextDomainId\n nominationTax\n signingKey\n status\n totalShares\n updatedAt\n nominators(limit: 256) {\n id\n shares\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n }\n"];
/**
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
Expand Down
Loading
Loading