@berachain/graphql 0.4.0 → 0.4.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -956,94 +956,6 @@ type QueryVotesArgs = {
956
956
  subgraphError?: _SubgraphErrorPolicy_;
957
957
  where?: InputMaybe<Vote_Filter>;
958
958
  };
959
- type Subscription = {
960
- __typename?: 'Subscription';
961
- /** Access to subgraph metadata */
962
- _meta?: Maybe<_Meta_>;
963
- executableCall?: Maybe<ExecutableCall>;
964
- executableCalls: Array<ExecutableCall>;
965
- pollResult?: Maybe<PollResult>;
966
- pollResults: Array<PollResult>;
967
- proposal?: Maybe<Proposal>;
968
- proposals: Array<Proposal>;
969
- timelock?: Maybe<Timelock>;
970
- timelocks: Array<Timelock>;
971
- vote?: Maybe<Vote>;
972
- votes: Array<Vote>;
973
- };
974
- type Subscription_MetaArgs = {
975
- block?: InputMaybe<Block_Height>;
976
- };
977
- type SubscriptionExecutableCallArgs = {
978
- block?: InputMaybe<Block_Height>;
979
- id: Scalars['ID']['input'];
980
- subgraphError?: _SubgraphErrorPolicy_;
981
- };
982
- type SubscriptionExecutableCallsArgs = {
983
- block?: InputMaybe<Block_Height>;
984
- first?: InputMaybe<Scalars['Int']['input']>;
985
- orderBy?: InputMaybe<ExecutableCall_OrderBy>;
986
- orderDirection?: InputMaybe<OrderDirection>;
987
- skip?: InputMaybe<Scalars['Int']['input']>;
988
- subgraphError?: _SubgraphErrorPolicy_;
989
- where?: InputMaybe<ExecutableCall_Filter>;
990
- };
991
- type SubscriptionPollResultArgs = {
992
- block?: InputMaybe<Block_Height>;
993
- id: Scalars['ID']['input'];
994
- subgraphError?: _SubgraphErrorPolicy_;
995
- };
996
- type SubscriptionPollResultsArgs = {
997
- block?: InputMaybe<Block_Height>;
998
- first?: InputMaybe<Scalars['Int']['input']>;
999
- orderBy?: InputMaybe<PollResult_OrderBy>;
1000
- orderDirection?: InputMaybe<OrderDirection>;
1001
- skip?: InputMaybe<Scalars['Int']['input']>;
1002
- subgraphError?: _SubgraphErrorPolicy_;
1003
- where?: InputMaybe<PollResult_Filter>;
1004
- };
1005
- type SubscriptionProposalArgs = {
1006
- block?: InputMaybe<Block_Height>;
1007
- id: Scalars['ID']['input'];
1008
- subgraphError?: _SubgraphErrorPolicy_;
1009
- };
1010
- type SubscriptionProposalsArgs = {
1011
- block?: InputMaybe<Block_Height>;
1012
- first?: InputMaybe<Scalars['Int']['input']>;
1013
- orderBy?: InputMaybe<Proposal_OrderBy>;
1014
- orderDirection?: InputMaybe<OrderDirection>;
1015
- skip?: InputMaybe<Scalars['Int']['input']>;
1016
- subgraphError?: _SubgraphErrorPolicy_;
1017
- where?: InputMaybe<Proposal_Filter>;
1018
- };
1019
- type SubscriptionTimelockArgs = {
1020
- block?: InputMaybe<Block_Height>;
1021
- id: Scalars['ID']['input'];
1022
- subgraphError?: _SubgraphErrorPolicy_;
1023
- };
1024
- type SubscriptionTimelocksArgs = {
1025
- block?: InputMaybe<Block_Height>;
1026
- first?: InputMaybe<Scalars['Int']['input']>;
1027
- orderBy?: InputMaybe<Timelock_OrderBy>;
1028
- orderDirection?: InputMaybe<OrderDirection>;
1029
- skip?: InputMaybe<Scalars['Int']['input']>;
1030
- subgraphError?: _SubgraphErrorPolicy_;
1031
- where?: InputMaybe<Timelock_Filter>;
1032
- };
1033
- type SubscriptionVoteArgs = {
1034
- block?: InputMaybe<Block_Height>;
1035
- id: Scalars['ID']['input'];
1036
- subgraphError?: _SubgraphErrorPolicy_;
1037
- };
1038
- type SubscriptionVotesArgs = {
1039
- block?: InputMaybe<Block_Height>;
1040
- first?: InputMaybe<Scalars['Int']['input']>;
1041
- orderBy?: InputMaybe<Vote_OrderBy>;
1042
- orderDirection?: InputMaybe<OrderDirection>;
1043
- skip?: InputMaybe<Scalars['Int']['input']>;
1044
- subgraphError?: _SubgraphErrorPolicy_;
1045
- where?: InputMaybe<Vote_Filter>;
1046
- };
1047
959
  type Timelock = {
1048
960
  __typename?: 'Timelock';
1049
961
  id: Scalars['Bytes']['output'];
@@ -1290,7 +1202,6 @@ type _Meta_ = {
1290
1202
  * will be null if the _meta field has a block constraint that asks for
1291
1203
  * a block number. It will be filled if the _meta field has no block constraint
1292
1204
  * and therefore asks for the latest block
1293
- *
1294
1205
  */
1295
1206
  block: _Block_;
1296
1207
  /** The deployment ID */
@@ -1619,4 +1530,4 @@ interface PossibleTypesResultData {
1619
1530
  }
1620
1531
  declare const result: PossibleTypesResultData;
1621
1532
 
1622
- export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, type ExecutableCall, ExecutableCallSubset, type ExecutableCallSubsetFragment, type ExecutableCall_Filter, ExecutableCall_OrderBy, GetProposal, type GetProposalQuery, type GetProposalQueryVariables, GetProposalVotes, type GetProposalVotesQuery, type GetProposalVotesQueryVariables, GetProposals, type GetProposalsQuery, type GetProposalsQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PollResult, type PollResult_Filter, PollResult_OrderBy, type PossibleTypesResultData, type Proposal, type ProposalExecutableCallsArgs, ProposalSelection, type ProposalSelectionFragment, ProposalStatus, ProposalVote, type ProposalVoteFragment, type ProposalVotesArgs, ProposalWithVotes, type ProposalWithVotesFragment, type Proposal_Filter, Proposal_OrderBy, type Query, type QueryExecutableCallArgs, type QueryExecutableCallsArgs, type QueryPollResultArgs, type QueryPollResultsArgs, type QueryProposalArgs, type QueryProposalSearchArgs, type QueryProposalsArgs, type QueryTimelockArgs, type QueryTimelocksArgs, type QueryVoteArgs, type QueryVotesArgs, type Query_MetaArgs, type Scalars, SearchProposals, type SearchProposalsQuery, type SearchProposalsQueryVariables, type Subscription, type SubscriptionExecutableCallArgs, type SubscriptionExecutableCallsArgs, type SubscriptionPollResultArgs, type SubscriptionPollResultsArgs, type SubscriptionProposalArgs, type SubscriptionProposalsArgs, type SubscriptionTimelockArgs, type SubscriptionTimelocksArgs, type SubscriptionVoteArgs, type SubscriptionVotesArgs, type Subscription_MetaArgs, type Timelock, type Timelock_Filter, Timelock_OrderBy, type Vote, VoteSupportType, type Vote_Filter, Vote_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
1533
+ export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, type ExecutableCall, ExecutableCallSubset, type ExecutableCallSubsetFragment, type ExecutableCall_Filter, ExecutableCall_OrderBy, GetProposal, type GetProposalQuery, type GetProposalQueryVariables, GetProposalVotes, type GetProposalVotesQuery, type GetProposalVotesQueryVariables, GetProposals, type GetProposalsQuery, type GetProposalsQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PollResult, type PollResult_Filter, PollResult_OrderBy, type PossibleTypesResultData, type Proposal, type ProposalExecutableCallsArgs, ProposalSelection, type ProposalSelectionFragment, ProposalStatus, ProposalVote, type ProposalVoteFragment, type ProposalVotesArgs, ProposalWithVotes, type ProposalWithVotesFragment, type Proposal_Filter, Proposal_OrderBy, type Query, type QueryExecutableCallArgs, type QueryExecutableCallsArgs, type QueryPollResultArgs, type QueryPollResultsArgs, type QueryProposalArgs, type QueryProposalSearchArgs, type QueryProposalsArgs, type QueryTimelockArgs, type QueryTimelocksArgs, type QueryVoteArgs, type QueryVotesArgs, type Query_MetaArgs, type Scalars, SearchProposals, type SearchProposalsQuery, type SearchProposalsQueryVariables, type Timelock, type Timelock_Filter, Timelock_OrderBy, type Vote, VoteSupportType, type Vote_Filter, Vote_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
@@ -1,4 +1,4 @@
1
- import{gql as i}from"@apollo/client";var c=(p=>(p.Day="day",p.Hour="hour",p))(c||{}),I=(n=>(n.Calldata="calldata",n.Id="id",n.Proposal="proposal",n.ProposalCancelTxHash="proposal__cancelTxHash",n.ProposalCanceledAt="proposal__canceledAt",n.ProposalCanceledAtBlock="proposal__canceledAtBlock",n.ProposalContentEncoding="proposal__contentEncoding",n.ProposalContentType="proposal__contentType",n.ProposalCreateTxHash="proposal__createTxHash",n.ProposalCreatedAt="proposal__createdAt",n.ProposalCreatedAtBlock="proposal__createdAtBlock",n.ProposalDescription="proposal__description",n.ProposalExecutableAtBlock="proposal__executableAtBlock",n.ProposalExecuteTxHash="proposal__executeTxHash",n.ProposalExecutedAt="proposal__executedAt",n.ProposalExecutedAtBlock="proposal__executedAtBlock",n.ProposalId="proposal__id",n.ProposalProposalId="proposal__proposalId",n.ProposalProposer="proposal__proposer",n.ProposalQueueEnd="proposal__queueEnd",n.ProposalQueueStart="proposal__queueStart",n.ProposalQueueStartBlock="proposal__queueStartBlock",n.ProposalQueueTxHash="proposal__queueTxHash",n.ProposalQuorum="proposal__quorum",n.ProposalStatus="proposal__status",n.ProposalSucceededAt="proposal__succeededAt",n.ProposalSucceededAtBlock="proposal__succeededAtBlock",n.ProposalSucceededVoteTxHash="proposal__succeededVoteTxHash",n.ProposalTitle="proposal__title",n.ProposalUnparsedDescription="proposal__unparsedDescription",n.ProposalUnverifiedForumLink="proposal__unverifiedForumLink",n.ProposalVoteEndAt="proposal__voteEndAt",n.ProposalVoteStartAt="proposal__voteStartAt",n.Signature="signature",n.Target="target",n.Value="value",n))(I||{}),_=(p=>(p.Asc="asc",p.Desc="desc",p))(_||{}),S=(r=>(r.Abstain="abstain",r.AbstainPercentage="abstainPercentage",r.AbstainVotersCount="abstainVotersCount",r.Against="against",r.AgainstPercentage="againstPercentage",r.AgainstVotersCount="againstVotersCount",r.For="for",r.ForPercentage="forPercentage",r.ForVotersCount="forVotersCount",r.Id="id",r.Total="total",r.TotalTowardsQuorum="totalTowardsQuorum",r.TotalVotersCount="totalVotersCount",r))(S||{}),y=(s=>(s.Active="ACTIVE",s.CanceledByGuardian="CANCELED_BY_GUARDIAN",s.CanceledByUser="CANCELED_BY_USER",s.Defeated="DEFEATED",s.Executed="EXECUTED",s.InQueue="IN_QUEUE",s.Pending="PENDING",s.PendingExecution="PENDING_EXECUTION",s.PendingQueue="PENDING_QUEUE",s.QuorumNotReached="QUORUM_NOT_REACHED",s))(y||{}),g=(t=>(t.CancelTxHash="cancelTxHash",t.CanceledAt="canceledAt",t.CanceledAtBlock="canceledAtBlock",t.ContentEncoding="contentEncoding",t.ContentType="contentType",t.CreateTxHash="createTxHash",t.CreatedAt="createdAt",t.CreatedAtBlock="createdAtBlock",t.Description="description",t.ExecutableAtBlock="executableAtBlock",t.ExecutableCalls="executableCalls",t.ExecuteTxHash="executeTxHash",t.ExecutedAt="executedAt",t.ExecutedAtBlock="executedAtBlock",t.Id="id",t.PollResult="pollResult",t.PollResultAbstain="pollResult__abstain",t.PollResultAbstainPercentage="pollResult__abstainPercentage",t.PollResultAbstainVotersCount="pollResult__abstainVotersCount",t.PollResultAgainst="pollResult__against",t.PollResultAgainstPercentage="pollResult__againstPercentage",t.PollResultAgainstVotersCount="pollResult__againstVotersCount",t.PollResultFor="pollResult__for",t.PollResultForPercentage="pollResult__forPercentage",t.PollResultForVotersCount="pollResult__forVotersCount",t.PollResultId="pollResult__id",t.PollResultTotal="pollResult__total",t.PollResultTotalTowardsQuorum="pollResult__totalTowardsQuorum",t.PollResultTotalVotersCount="pollResult__totalVotersCount",t.ProposalId="proposalId",t.Proposer="proposer",t.QueueEnd="queueEnd",t.QueueStart="queueStart",t.QueueStartBlock="queueStartBlock",t.QueueTxHash="queueTxHash",t.Quorum="quorum",t.Status="status",t.SucceededAt="succeededAt",t.SucceededAtBlock="succeededAtBlock",t.SucceededVoteTxHash="succeededVoteTxHash",t.Timelock="timelock",t.TimelockId="timelock__id",t.Title="title",t.Topics="topics",t.UnparsedDescription="unparsedDescription",t.UnverifiedForumLink="unverifiedForumLink",t.VoteEndAt="voteEndAt",t.VoteStartAt="voteStartAt",t.Votes="votes",t))(g||{}),b=(e=>(e.Id="id",e.Proposal="proposal",e.ProposalCancelTxHash="proposal__cancelTxHash",e.ProposalCanceledAt="proposal__canceledAt",e.ProposalCanceledAtBlock="proposal__canceledAtBlock",e.ProposalContentEncoding="proposal__contentEncoding",e.ProposalContentType="proposal__contentType",e.ProposalCreateTxHash="proposal__createTxHash",e.ProposalCreatedAt="proposal__createdAt",e.ProposalCreatedAtBlock="proposal__createdAtBlock",e.ProposalDescription="proposal__description",e.ProposalExecutableAtBlock="proposal__executableAtBlock",e.ProposalExecuteTxHash="proposal__executeTxHash",e.ProposalExecutedAt="proposal__executedAt",e.ProposalExecutedAtBlock="proposal__executedAtBlock",e.ProposalId="proposal__id",e.ProposalProposalId="proposal__proposalId",e.ProposalProposer="proposal__proposer",e.ProposalQueueEnd="proposal__queueEnd",e.ProposalQueueStart="proposal__queueStart",e.ProposalQueueStartBlock="proposal__queueStartBlock",e.ProposalQueueTxHash="proposal__queueTxHash",e.ProposalQuorum="proposal__quorum",e.ProposalStatus="proposal__status",e.ProposalSucceededAt="proposal__succeededAt",e.ProposalSucceededAtBlock="proposal__succeededAtBlock",e.ProposalSucceededVoteTxHash="proposal__succeededVoteTxHash",e.ProposalTitle="proposal__title",e.ProposalUnparsedDescription="proposal__unparsedDescription",e.ProposalUnverifiedForumLink="proposal__unverifiedForumLink",e.ProposalVoteEndAt="proposal__voteEndAt",e.ProposalVoteStartAt="proposal__voteStartAt",e))(b||{}),M=(u=>(u.Abstain="ABSTAIN",u.Against="AGAINST",u.For="FOR",u))(M||{}),d=(a=>(a.Id="id",a.Params="params",a.ProposalId="proposalId",a.ProposalIdCancelTxHash="proposalId__cancelTxHash",a.ProposalIdCanceledAt="proposalId__canceledAt",a.ProposalIdCanceledAtBlock="proposalId__canceledAtBlock",a.ProposalIdContentEncoding="proposalId__contentEncoding",a.ProposalIdContentType="proposalId__contentType",a.ProposalIdCreateTxHash="proposalId__createTxHash",a.ProposalIdCreatedAt="proposalId__createdAt",a.ProposalIdCreatedAtBlock="proposalId__createdAtBlock",a.ProposalIdDescription="proposalId__description",a.ProposalIdExecutableAtBlock="proposalId__executableAtBlock",a.ProposalIdExecuteTxHash="proposalId__executeTxHash",a.ProposalIdExecutedAt="proposalId__executedAt",a.ProposalIdExecutedAtBlock="proposalId__executedAtBlock",a.ProposalIdId="proposalId__id",a.ProposalIdProposalId="proposalId__proposalId",a.ProposalIdProposer="proposalId__proposer",a.ProposalIdQueueEnd="proposalId__queueEnd",a.ProposalIdQueueStart="proposalId__queueStart",a.ProposalIdQueueStartBlock="proposalId__queueStartBlock",a.ProposalIdQueueTxHash="proposalId__queueTxHash",a.ProposalIdQuorum="proposalId__quorum",a.ProposalIdStatus="proposalId__status",a.ProposalIdSucceededAt="proposalId__succeededAt",a.ProposalIdSucceededAtBlock="proposalId__succeededAtBlock",a.ProposalIdSucceededVoteTxHash="proposalId__succeededVoteTxHash",a.ProposalIdTitle="proposalId__title",a.ProposalIdUnparsedDescription="proposalId__unparsedDescription",a.ProposalIdUnverifiedForumLink="proposalId__unverifiedForumLink",a.ProposalIdVoteEndAt="proposalId__voteEndAt",a.ProposalIdVoteStartAt="proposalId__voteStartAt",a.Reason="reason",a.Support="support",a.Timestamp="timestamp",a.Voter="voter",a.Weight="weight",a))(d||{}),A=(p=>(p.Allow="allow",p.Deny="deny",p))(A||{}),o=i`
1
+ import{gql as p}from"@apollo/client";var c=(i=>(i.Day="day",i.Hour="hour",i))(c||{}),I=(n=>(n.Calldata="calldata",n.Id="id",n.Proposal="proposal",n.ProposalCancelTxHash="proposal__cancelTxHash",n.ProposalCanceledAt="proposal__canceledAt",n.ProposalCanceledAtBlock="proposal__canceledAtBlock",n.ProposalContentEncoding="proposal__contentEncoding",n.ProposalContentType="proposal__contentType",n.ProposalCreateTxHash="proposal__createTxHash",n.ProposalCreatedAt="proposal__createdAt",n.ProposalCreatedAtBlock="proposal__createdAtBlock",n.ProposalDescription="proposal__description",n.ProposalExecutableAtBlock="proposal__executableAtBlock",n.ProposalExecuteTxHash="proposal__executeTxHash",n.ProposalExecutedAt="proposal__executedAt",n.ProposalExecutedAtBlock="proposal__executedAtBlock",n.ProposalId="proposal__id",n.ProposalProposalId="proposal__proposalId",n.ProposalProposer="proposal__proposer",n.ProposalQueueEnd="proposal__queueEnd",n.ProposalQueueStart="proposal__queueStart",n.ProposalQueueStartBlock="proposal__queueStartBlock",n.ProposalQueueTxHash="proposal__queueTxHash",n.ProposalQuorum="proposal__quorum",n.ProposalStatus="proposal__status",n.ProposalSucceededAt="proposal__succeededAt",n.ProposalSucceededAtBlock="proposal__succeededAtBlock",n.ProposalSucceededVoteTxHash="proposal__succeededVoteTxHash",n.ProposalTitle="proposal__title",n.ProposalUnparsedDescription="proposal__unparsedDescription",n.ProposalUnverifiedForumLink="proposal__unverifiedForumLink",n.ProposalVoteEndAt="proposal__voteEndAt",n.ProposalVoteStartAt="proposal__voteStartAt",n.Signature="signature",n.Target="target",n.Value="value",n))(I||{}),_=(i=>(i.Asc="asc",i.Desc="desc",i))(_||{}),S=(r=>(r.Abstain="abstain",r.AbstainPercentage="abstainPercentage",r.AbstainVotersCount="abstainVotersCount",r.Against="against",r.AgainstPercentage="againstPercentage",r.AgainstVotersCount="againstVotersCount",r.For="for",r.ForPercentage="forPercentage",r.ForVotersCount="forVotersCount",r.Id="id",r.Total="total",r.TotalTowardsQuorum="totalTowardsQuorum",r.TotalVotersCount="totalVotersCount",r))(S||{}),g=(s=>(s.Active="ACTIVE",s.CanceledByGuardian="CANCELED_BY_GUARDIAN",s.CanceledByUser="CANCELED_BY_USER",s.Defeated="DEFEATED",s.Executed="EXECUTED",s.InQueue="IN_QUEUE",s.Pending="PENDING",s.PendingExecution="PENDING_EXECUTION",s.PendingQueue="PENDING_QUEUE",s.QuorumNotReached="QUORUM_NOT_REACHED",s))(g||{}),y=(t=>(t.CancelTxHash="cancelTxHash",t.CanceledAt="canceledAt",t.CanceledAtBlock="canceledAtBlock",t.ContentEncoding="contentEncoding",t.ContentType="contentType",t.CreateTxHash="createTxHash",t.CreatedAt="createdAt",t.CreatedAtBlock="createdAtBlock",t.Description="description",t.ExecutableAtBlock="executableAtBlock",t.ExecutableCalls="executableCalls",t.ExecuteTxHash="executeTxHash",t.ExecutedAt="executedAt",t.ExecutedAtBlock="executedAtBlock",t.Id="id",t.PollResult="pollResult",t.PollResultAbstain="pollResult__abstain",t.PollResultAbstainPercentage="pollResult__abstainPercentage",t.PollResultAbstainVotersCount="pollResult__abstainVotersCount",t.PollResultAgainst="pollResult__against",t.PollResultAgainstPercentage="pollResult__againstPercentage",t.PollResultAgainstVotersCount="pollResult__againstVotersCount",t.PollResultFor="pollResult__for",t.PollResultForPercentage="pollResult__forPercentage",t.PollResultForVotersCount="pollResult__forVotersCount",t.PollResultId="pollResult__id",t.PollResultTotal="pollResult__total",t.PollResultTotalTowardsQuorum="pollResult__totalTowardsQuorum",t.PollResultTotalVotersCount="pollResult__totalVotersCount",t.ProposalId="proposalId",t.Proposer="proposer",t.QueueEnd="queueEnd",t.QueueStart="queueStart",t.QueueStartBlock="queueStartBlock",t.QueueTxHash="queueTxHash",t.Quorum="quorum",t.Status="status",t.SucceededAt="succeededAt",t.SucceededAtBlock="succeededAtBlock",t.SucceededVoteTxHash="succeededVoteTxHash",t.Timelock="timelock",t.TimelockId="timelock__id",t.Title="title",t.Topics="topics",t.UnparsedDescription="unparsedDescription",t.UnverifiedForumLink="unverifiedForumLink",t.VoteEndAt="voteEndAt",t.VoteStartAt="voteStartAt",t.Votes="votes",t))(y||{}),b=(e=>(e.Id="id",e.Proposal="proposal",e.ProposalCancelTxHash="proposal__cancelTxHash",e.ProposalCanceledAt="proposal__canceledAt",e.ProposalCanceledAtBlock="proposal__canceledAtBlock",e.ProposalContentEncoding="proposal__contentEncoding",e.ProposalContentType="proposal__contentType",e.ProposalCreateTxHash="proposal__createTxHash",e.ProposalCreatedAt="proposal__createdAt",e.ProposalCreatedAtBlock="proposal__createdAtBlock",e.ProposalDescription="proposal__description",e.ProposalExecutableAtBlock="proposal__executableAtBlock",e.ProposalExecuteTxHash="proposal__executeTxHash",e.ProposalExecutedAt="proposal__executedAt",e.ProposalExecutedAtBlock="proposal__executedAtBlock",e.ProposalId="proposal__id",e.ProposalProposalId="proposal__proposalId",e.ProposalProposer="proposal__proposer",e.ProposalQueueEnd="proposal__queueEnd",e.ProposalQueueStart="proposal__queueStart",e.ProposalQueueStartBlock="proposal__queueStartBlock",e.ProposalQueueTxHash="proposal__queueTxHash",e.ProposalQuorum="proposal__quorum",e.ProposalStatus="proposal__status",e.ProposalSucceededAt="proposal__succeededAt",e.ProposalSucceededAtBlock="proposal__succeededAtBlock",e.ProposalSucceededVoteTxHash="proposal__succeededVoteTxHash",e.ProposalTitle="proposal__title",e.ProposalUnparsedDescription="proposal__unparsedDescription",e.ProposalUnverifiedForumLink="proposal__unverifiedForumLink",e.ProposalVoteEndAt="proposal__voteEndAt",e.ProposalVoteStartAt="proposal__voteStartAt",e))(b||{}),M=(u=>(u.Abstain="ABSTAIN",u.Against="AGAINST",u.For="FOR",u))(M||{}),d=(a=>(a.Id="id",a.Params="params",a.ProposalId="proposalId",a.ProposalIdCancelTxHash="proposalId__cancelTxHash",a.ProposalIdCanceledAt="proposalId__canceledAt",a.ProposalIdCanceledAtBlock="proposalId__canceledAtBlock",a.ProposalIdContentEncoding="proposalId__contentEncoding",a.ProposalIdContentType="proposalId__contentType",a.ProposalIdCreateTxHash="proposalId__createTxHash",a.ProposalIdCreatedAt="proposalId__createdAt",a.ProposalIdCreatedAtBlock="proposalId__createdAtBlock",a.ProposalIdDescription="proposalId__description",a.ProposalIdExecutableAtBlock="proposalId__executableAtBlock",a.ProposalIdExecuteTxHash="proposalId__executeTxHash",a.ProposalIdExecutedAt="proposalId__executedAt",a.ProposalIdExecutedAtBlock="proposalId__executedAtBlock",a.ProposalIdId="proposalId__id",a.ProposalIdProposalId="proposalId__proposalId",a.ProposalIdProposer="proposalId__proposer",a.ProposalIdQueueEnd="proposalId__queueEnd",a.ProposalIdQueueStart="proposalId__queueStart",a.ProposalIdQueueStartBlock="proposalId__queueStartBlock",a.ProposalIdQueueTxHash="proposalId__queueTxHash",a.ProposalIdQuorum="proposalId__quorum",a.ProposalIdStatus="proposalId__status",a.ProposalIdSucceededAt="proposalId__succeededAt",a.ProposalIdSucceededAtBlock="proposalId__succeededAtBlock",a.ProposalIdSucceededVoteTxHash="proposalId__succeededVoteTxHash",a.ProposalIdTitle="proposalId__title",a.ProposalIdUnparsedDescription="proposalId__unparsedDescription",a.ProposalIdUnverifiedForumLink="proposalId__unverifiedForumLink",a.ProposalIdVoteEndAt="proposalId__voteEndAt",a.ProposalIdVoteStartAt="proposalId__voteStartAt",a.Reason="reason",a.Support="support",a.Timestamp="timestamp",a.Voter="voter",a.Weight="weight",a))(d||{}),A=(i=>(i.Allow="allow",i.Deny="deny",i))(A||{}),o=p`
2
2
  fragment ProposalSelection on Proposal {
3
3
  id
4
4
  proposer
@@ -37,14 +37,14 @@ import{gql as i}from"@apollo/client";var c=(p=>(p.Day="day",p.Hour="hour",p))(c|
37
37
  title
38
38
  topics
39
39
  }
40
- `,h=i`
40
+ `,B=p`
41
41
  fragment ExecutableCallSubset on ExecutableCall {
42
42
  id
43
43
  target
44
44
  value
45
45
  calldata
46
46
  }
47
- `,l=i`
47
+ `,l=p`
48
48
  fragment ProposalVote on Vote {
49
49
  id
50
50
  voter
@@ -53,7 +53,7 @@ import{gql as i}from"@apollo/client";var c=(p=>(p.Day="day",p.Hour="hour",p))(c|
53
53
  timestamp
54
54
  reason
55
55
  }
56
- `,B=i`
56
+ `,h=p`
57
57
  fragment ProposalWithVotes on Proposal {
58
58
  ...ProposalSelection
59
59
  queueTxHash
@@ -71,8 +71,8 @@ import{gql as i}from"@apollo/client";var c=(p=>(p.Day="day",p.Hour="hour",p))(c|
71
71
  }
72
72
  }
73
73
  ${o}
74
- ${h}
75
- ${l}`,k=i`
74
+ ${B}
75
+ ${l}`,m=p`
76
76
  query GetProposalVotes($proposalId: String!, $orderBy: Vote_orderBy = weight, $orderDirection: OrderDirection = desc, $limit: Int!, $offset: Int) {
77
77
  votes(
78
78
  where: {proposalId: $proposalId}
@@ -84,7 +84,7 @@ ${l}`,k=i`
84
84
  ...ProposalVote
85
85
  }
86
86
  }
87
- ${l}`,m=i`
87
+ ${l}`,k=p`
88
88
  query GetProposals($offset: Int, $limit: Int, $where: Proposal_filter, $orderBy: Proposal_orderBy = createdAt, $orderDirection: OrderDirection = desc) {
89
89
  proposals(
90
90
  skip: $offset
@@ -96,7 +96,7 @@ ${l}`,k=i`
96
96
  ...ProposalSelection
97
97
  }
98
98
  }
99
- ${o}`,T=i`
99
+ ${o}`,T=p`
100
100
  query SearchProposals($offset: Int, $limit: Int, $where: Proposal_filter, $text: String!) {
101
101
  proposals: proposalSearch(
102
102
  skip: $offset
@@ -107,10 +107,10 @@ ${l}`,k=i`
107
107
  ...ProposalSelection
108
108
  }
109
109
  }
110
- ${o}`,w=i`
110
+ ${o}`,w=p`
111
111
  query GetProposal($id: ID!) {
112
112
  proposal(id: $id) {
113
113
  ...ProposalWithVotes
114
114
  }
115
115
  }
116
- ${B}`,x={possibleTypes:{}},E=x;export{c as Aggregation_Interval,h as ExecutableCallSubset,I as ExecutableCall_OrderBy,w as GetProposal,k as GetProposalVotes,m as GetProposals,_ as OrderDirection,S as PollResult_OrderBy,o as ProposalSelection,y as ProposalStatus,l as ProposalVote,B as ProposalWithVotes,g as Proposal_OrderBy,T as SearchProposals,b as Timelock_OrderBy,M as VoteSupportType,d as Vote_OrderBy,A as _SubgraphErrorPolicy_,E as default};
116
+ ${h}`,x={possibleTypes:{}},f=x;export{c as Aggregation_Interval,B as ExecutableCallSubset,I as ExecutableCall_OrderBy,w as GetProposal,m as GetProposalVotes,k as GetProposals,_ as OrderDirection,S as PollResult_OrderBy,o as ProposalSelection,g as ProposalStatus,l as ProposalVote,h as ProposalWithVotes,y as Proposal_OrderBy,T as SearchProposals,b as Timelock_OrderBy,M as VoteSupportType,d as Vote_OrderBy,A as _SubgraphErrorPolicy_,f as default};
@@ -1,4 +1,4 @@
1
- "use strict";var s=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var D=(p,e)=>{for(var t in e)s(p,t,{get:e[t],enumerable:!0})},A=(p,e,t,y)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of x(e))!B.call(p,u)&&u!==t&&s(p,u,{get:()=>e[u],enumerable:!(y=T(e,u))||y.enumerable});return p};var d=p=>A(s({},"__esModule",{value:!0}),p);var $={};D($,{Aggregation_Interval:()=>c,ChainTransaction_OrderBy:()=>b,GetChartData:()=>f,GetFirstHoneyTxnDate:()=>E,GetGlobalData:()=>C,GetHoneyTxn:()=>k,GetHoneyTxnByType:()=>H,HoneyCollateral_OrderBy:()=>I,HoneySupplyDayData_OrderBy:()=>_,HoneyTxnData:()=>l,HoneyTxnTimeseries_OrderBy:()=>S,HoneyTxn_OrderBy:()=>M,OrderDirection:()=>m,TxnType:()=>g,_SubgraphErrorPolicy_:()=>h,default:()=>w});module.exports=d($);var i=require("@apollo/client"),c=(t=>(t.Day="day",t.Hour="hour",t))(c||{}),b=(o=>(o.HoneyTxn="honeyTxn",o.Id="id",o.IsBasketMode="isBasketMode",o.TxHash="txHash",o.Type="type",o))(b||{}),I=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(I||{}),_=(y=>(y.Amount="amount",y.Id="id",y.Timestamp="timestamp",y))(_||{}),S=(r=>(r.BlockNumber="blockNumber",r.From="from",r.HoneyAmount="honeyAmount",r.Id="id",r.Timestamp="timestamp",r.To="to",r.TotalSupply="totalSupply",r.TxHash="txHash",r.TxnType="txnType",r))(S||{}),M=(a=>(a.ChainTransaction="chainTransaction",a.ChainTransactionId="chainTransaction__id",a.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",a.ChainTransactionTxHash="chainTransaction__txHash",a.ChainTransactionType="chainTransaction__type",a.Collateral="collateral",a.From="from",a.HoneyAmount="honeyAmount",a.Id="id",a.IsBasketMode="isBasketMode",a.Timestamp="timestamp",a.To="to",a.Type="type",a))(M||{}),m=(t=>(t.Asc="asc",t.Desc="desc",t))(m||{}),g=(t=>(t.Mint="MINT",t.Redeem="REDEEM",t))(g||{}),h=(t=>(t.Allow="allow",t.Deny="deny",t))(h||{}),l=i.gql`
1
+ "use strict";var l=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var D=Object.prototype.hasOwnProperty;var d=(p,e)=>{for(var t in e)l(p,t,{get:e[t],enumerable:!0})},H=(p,e,t,y)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of A(e))!D.call(p,s)&&s!==t&&l(p,s,{get:()=>e[s],enumerable:!(y=B(e,s))||y.enumerable});return p};var k=p=>H(l({},"__esModule",{value:!0}),p);var Q={};d(Q,{Aggregation_Interval:()=>I,ChainTransaction_OrderBy:()=>b,GetChartData:()=>C,GetFirstHoneyTxnDate:()=>V,GetGlobalData:()=>$,GetHoneyTxn:()=>F,GetHoneyTxnByType:()=>f,HoneyCollateral_OrderBy:()=>_,HoneySnapshot_OrderBy:()=>m,HoneySupplyDayData_OrderBy:()=>S,HoneyTxnData:()=>c,HoneyTxnTimeseries_OrderBy:()=>M,HoneyTxn_OrderBy:()=>g,OrderDirection:()=>h,TxnType:()=>T,_SubgraphErrorPolicy_:()=>x,default:()=>w});module.exports=k(Q);var u=require("@apollo/client"),I=(t=>(t.Day="day",t.Hour="hour",t))(I||{}),b=(o=>(o.HoneyTxn="honeyTxn",o.Id="id",o.IsBasketMode="isBasketMode",o.TxHash="txHash",o.Type="type",o))(b||{}),_=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(_||{}),m=(r=>(r.AllTimeVolume="allTimeVolume",r.Id="id",r.MintVolume="mintVolume",r.RedeemVolume="redeemVolume",r.Timestamp="timestamp",r.TotalSupply="totalSupply",r.TotalVolume="totalVolume",r))(m||{}),S=(y=>(y.Amount="amount",y.Id="id",y.Timestamp="timestamp",y))(S||{}),M=(i=>(i.BlockNumber="blockNumber",i.From="from",i.HoneyAmount="honeyAmount",i.Id="id",i.Timestamp="timestamp",i.To="to",i.TotalSupply="totalSupply",i.TxHash="txHash",i.TxnType="txnType",i))(M||{}),g=(a=>(a.ChainTransaction="chainTransaction",a.ChainTransactionId="chainTransaction__id",a.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",a.ChainTransactionTxHash="chainTransaction__txHash",a.ChainTransactionType="chainTransaction__type",a.Collateral="collateral",a.From="from",a.HoneyAmount="honeyAmount",a.Id="id",a.IsBasketMode="isBasketMode",a.Timestamp="timestamp",a.To="to",a.Type="type",a))(g||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),T=(t=>(t.Mint="MINT",t.Redeem="REDEEM",t))(T||{}),x=(t=>(t.Allow="allow",t.Deny="deny",t))(x||{}),c=u.gql`
2
2
  fragment HoneyTxnData on HoneyTxn {
3
3
  id
4
4
  timestamp
@@ -16,7 +16,7 @@
16
16
  id
17
17
  }
18
18
  }
19
- `,H=i.gql`
19
+ `,f=u.gql`
20
20
  query GetHoneyTxnByType($page: Int!, $limit: Int!, $type: TxnType!) {
21
21
  honeyTxns(
22
22
  skip: $page
@@ -28,13 +28,13 @@
28
28
  ...HoneyTxnData
29
29
  }
30
30
  }
31
- ${l}`,k=i.gql`
31
+ ${c}`,F=u.gql`
32
32
  query GetHoneyTxn($page: Int!, $limit: Int!) {
33
33
  honeyTxns(skip: $page, first: $limit, orderBy: timestamp, orderDirection: desc) {
34
34
  ...HoneyTxnData
35
35
  }
36
36
  }
37
- ${l}`,f=i.gql`
37
+ ${c}`,C=u.gql`
38
38
  query GetChartData($interval: Aggregation_interval!, $first: Int!) {
39
39
  honeySnapshots(interval: $interval, first: $first) {
40
40
  id
@@ -46,7 +46,7 @@
46
46
  totalSupply
47
47
  }
48
48
  }
49
- `,C=i.gql`
49
+ `,$=u.gql`
50
50
  query GetGlobalData {
51
51
  honeySnapshots(interval: hour, first: 24) {
52
52
  id
@@ -58,10 +58,10 @@
58
58
  redeemVolume
59
59
  }
60
60
  }
61
- `,E=i.gql`
61
+ `,V=u.gql`
62
62
  query GetFirstHoneyTxnDate {
63
63
  honeyTxns(first: 1) {
64
64
  timestamp
65
65
  }
66
66
  }
67
- `,F={possibleTypes:{}},w=F;0&&(module.exports={Aggregation_Interval,ChainTransaction_OrderBy,GetChartData,GetFirstHoneyTxnDate,GetGlobalData,GetHoneyTxn,GetHoneyTxnByType,HoneyCollateral_OrderBy,HoneySupplyDayData_OrderBy,HoneyTxnData,HoneyTxnTimeseries_OrderBy,HoneyTxn_OrderBy,OrderDirection,TxnType,_SubgraphErrorPolicy_});
67
+ `,E={possibleTypes:{}},w=E;0&&(module.exports={Aggregation_Interval,ChainTransaction_OrderBy,GetChartData,GetFirstHoneyTxnDate,GetGlobalData,GetHoneyTxn,GetHoneyTxnByType,HoneyCollateral_OrderBy,HoneySnapshot_OrderBy,HoneySupplyDayData_OrderBy,HoneyTxnData,HoneyTxnTimeseries_OrderBy,HoneyTxn_OrderBy,OrderDirection,TxnType,_SubgraphErrorPolicy_});
@@ -206,10 +206,7 @@ declare enum HoneyCollateral_OrderBy {
206
206
  HoneyTxnType = "honeyTxn__type",
207
207
  Id = "id"
208
208
  }
209
- /**
210
- * Aggregation for honey volume & supply by hour or day
211
- *
212
- */
209
+ /** Aggregation for honey volume & supply by hour or day */
213
210
  type HoneySnapshot = {
214
211
  __typename?: 'HoneySnapshot';
215
212
  allTimeVolume: Scalars['BigDecimal']['output'];
@@ -238,6 +235,15 @@ type HoneySnapshot_Filter = {
238
235
  timestamp_lt?: InputMaybe<Scalars['Timestamp']['input']>;
239
236
  timestamp_lte?: InputMaybe<Scalars['Timestamp']['input']>;
240
237
  };
238
+ declare enum HoneySnapshot_OrderBy {
239
+ AllTimeVolume = "allTimeVolume",
240
+ Id = "id",
241
+ MintVolume = "mintVolume",
242
+ RedeemVolume = "redeemVolume",
243
+ Timestamp = "timestamp",
244
+ TotalSupply = "totalSupply",
245
+ TotalVolume = "totalVolume"
246
+ }
241
247
  type HoneySupplyDayData = {
242
248
  __typename?: 'HoneySupplyDayData';
243
249
  amount: Scalars['BigDecimal']['output'];
@@ -298,10 +304,7 @@ type HoneyTxnCollateralArgs = {
298
304
  skip?: InputMaybe<Scalars['Int']['input']>;
299
305
  where?: InputMaybe<HoneyCollateral_Filter>;
300
306
  };
301
- /**
302
- * Timeseries data for honey volume transactions
303
- *
304
- */
307
+ /** Timeseries data for honey volume transactions */
305
308
  type HoneyTxnTimeseries = {
306
309
  __typename?: 'HoneyTxnTimeseries';
307
310
  blockNumber: Scalars['BigInt']['output'];
@@ -561,6 +564,8 @@ type QueryHoneySnapshotsArgs = {
561
564
  block?: InputMaybe<Block_Height>;
562
565
  first?: InputMaybe<Scalars['Int']['input']>;
563
566
  interval: Aggregation_Interval;
567
+ orderBy?: InputMaybe<HoneySnapshot_OrderBy>;
568
+ orderDirection?: InputMaybe<OrderDirection>;
564
569
  skip?: InputMaybe<Scalars['Int']['input']>;
565
570
  subgraphError?: _SubgraphErrorPolicy_;
566
571
  where?: InputMaybe<HoneySnapshot_Filter>;
@@ -607,104 +612,6 @@ type QueryHoneyTxnsArgs = {
607
612
  subgraphError?: _SubgraphErrorPolicy_;
608
613
  where?: InputMaybe<HoneyTxn_Filter>;
609
614
  };
610
- type Subscription = {
611
- __typename?: 'Subscription';
612
- /** Access to subgraph metadata */
613
- _meta?: Maybe<_Meta_>;
614
- chainTransaction?: Maybe<ChainTransaction>;
615
- chainTransactions: Array<ChainTransaction>;
616
- honeyCollateral?: Maybe<HoneyCollateral>;
617
- honeyCollaterals: Array<HoneyCollateral>;
618
- /** Collection of aggregated `HoneySnapshot` values */
619
- honeySnapshots: Array<HoneySnapshot>;
620
- honeySupplyDayData?: Maybe<HoneySupplyDayData>;
621
- honeySupplyDayDatas: Array<HoneySupplyDayData>;
622
- honeyTxn?: Maybe<HoneyTxn>;
623
- honeyTxnTimeseries?: Maybe<HoneyTxnTimeseries>;
624
- honeyTxnTimeseries_collection: Array<HoneyTxnTimeseries>;
625
- honeyTxns: Array<HoneyTxn>;
626
- };
627
- type Subscription_MetaArgs = {
628
- block?: InputMaybe<Block_Height>;
629
- };
630
- type SubscriptionChainTransactionArgs = {
631
- block?: InputMaybe<Block_Height>;
632
- id: Scalars['ID']['input'];
633
- subgraphError?: _SubgraphErrorPolicy_;
634
- };
635
- type SubscriptionChainTransactionsArgs = {
636
- block?: InputMaybe<Block_Height>;
637
- first?: InputMaybe<Scalars['Int']['input']>;
638
- orderBy?: InputMaybe<ChainTransaction_OrderBy>;
639
- orderDirection?: InputMaybe<OrderDirection>;
640
- skip?: InputMaybe<Scalars['Int']['input']>;
641
- subgraphError?: _SubgraphErrorPolicy_;
642
- where?: InputMaybe<ChainTransaction_Filter>;
643
- };
644
- type SubscriptionHoneyCollateralArgs = {
645
- block?: InputMaybe<Block_Height>;
646
- id: Scalars['ID']['input'];
647
- subgraphError?: _SubgraphErrorPolicy_;
648
- };
649
- type SubscriptionHoneyCollateralsArgs = {
650
- block?: InputMaybe<Block_Height>;
651
- first?: InputMaybe<Scalars['Int']['input']>;
652
- orderBy?: InputMaybe<HoneyCollateral_OrderBy>;
653
- orderDirection?: InputMaybe<OrderDirection>;
654
- skip?: InputMaybe<Scalars['Int']['input']>;
655
- subgraphError?: _SubgraphErrorPolicy_;
656
- where?: InputMaybe<HoneyCollateral_Filter>;
657
- };
658
- type SubscriptionHoneySnapshotsArgs = {
659
- block?: InputMaybe<Block_Height>;
660
- first?: InputMaybe<Scalars['Int']['input']>;
661
- interval: Aggregation_Interval;
662
- skip?: InputMaybe<Scalars['Int']['input']>;
663
- subgraphError?: _SubgraphErrorPolicy_;
664
- where?: InputMaybe<HoneySnapshot_Filter>;
665
- };
666
- type SubscriptionHoneySupplyDayDataArgs = {
667
- block?: InputMaybe<Block_Height>;
668
- id: Scalars['ID']['input'];
669
- subgraphError?: _SubgraphErrorPolicy_;
670
- };
671
- type SubscriptionHoneySupplyDayDatasArgs = {
672
- block?: InputMaybe<Block_Height>;
673
- first?: InputMaybe<Scalars['Int']['input']>;
674
- orderBy?: InputMaybe<HoneySupplyDayData_OrderBy>;
675
- orderDirection?: InputMaybe<OrderDirection>;
676
- skip?: InputMaybe<Scalars['Int']['input']>;
677
- subgraphError?: _SubgraphErrorPolicy_;
678
- where?: InputMaybe<HoneySupplyDayData_Filter>;
679
- };
680
- type SubscriptionHoneyTxnArgs = {
681
- block?: InputMaybe<Block_Height>;
682
- id: Scalars['ID']['input'];
683
- subgraphError?: _SubgraphErrorPolicy_;
684
- };
685
- type SubscriptionHoneyTxnTimeseriesArgs = {
686
- block?: InputMaybe<Block_Height>;
687
- id: Scalars['ID']['input'];
688
- subgraphError?: _SubgraphErrorPolicy_;
689
- };
690
- type SubscriptionHoneyTxnTimeseries_CollectionArgs = {
691
- block?: InputMaybe<Block_Height>;
692
- first?: InputMaybe<Scalars['Int']['input']>;
693
- orderBy?: InputMaybe<HoneyTxnTimeseries_OrderBy>;
694
- orderDirection?: InputMaybe<OrderDirection>;
695
- skip?: InputMaybe<Scalars['Int']['input']>;
696
- subgraphError?: _SubgraphErrorPolicy_;
697
- where?: InputMaybe<HoneyTxnTimeseries_Filter>;
698
- };
699
- type SubscriptionHoneyTxnsArgs = {
700
- block?: InputMaybe<Block_Height>;
701
- first?: InputMaybe<Scalars['Int']['input']>;
702
- orderBy?: InputMaybe<HoneyTxn_OrderBy>;
703
- orderDirection?: InputMaybe<OrderDirection>;
704
- skip?: InputMaybe<Scalars['Int']['input']>;
705
- subgraphError?: _SubgraphErrorPolicy_;
706
- where?: InputMaybe<HoneyTxn_Filter>;
707
- };
708
615
  declare enum TxnType {
709
616
  Mint = "MINT",
710
617
  Redeem = "REDEEM"
@@ -728,7 +635,6 @@ type _Meta_ = {
728
635
  * will be null if the _meta field has a block constraint that asks for
729
636
  * a block number. It will be filled if the _meta field has no block constraint
730
637
  * and therefore asks for the latest block
731
- *
732
638
  */
733
639
  block: _Block_;
734
640
  /** The deployment ID */
@@ -873,4 +779,4 @@ interface PossibleTypesResultData {
873
779
  }
874
780
  declare const result: PossibleTypesResultData;
875
781
 
876
- export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetChartData, type GetChartDataQuery, type GetChartDataQueryVariables, GetFirstHoneyTxnDate, type GetFirstHoneyTxnDateQuery, type GetFirstHoneyTxnDateQueryVariables, GetGlobalData, type GetGlobalDataQuery, type GetGlobalDataQueryVariables, GetHoneyTxn, GetHoneyTxnByType, type GetHoneyTxnByTypeQuery, type GetHoneyTxnByTypeQueryVariables, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, type HoneyCollateral, type HoneyCollateral_Filter, HoneyCollateral_OrderBy, type HoneySnapshot, type HoneySnapshot_Filter, type HoneySupplyDayData, type HoneySupplyDayData_Filter, HoneySupplyDayData_OrderBy, type HoneyTxn, type HoneyTxnCollateralArgs, HoneyTxnData, type HoneyTxnDataFragment, type HoneyTxnTimeseries, type HoneyTxnTimeseries_Filter, HoneyTxnTimeseries_OrderBy, type HoneyTxn_Filter, HoneyTxn_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryChainTransactionArgs, type QueryChainTransactionsArgs, type QueryHoneyCollateralArgs, type QueryHoneyCollateralsArgs, type QueryHoneySnapshotsArgs, type QueryHoneySupplyDayDataArgs, type QueryHoneySupplyDayDatasArgs, type QueryHoneyTxnArgs, type QueryHoneyTxnTimeseriesArgs, type QueryHoneyTxnTimeseries_CollectionArgs, type QueryHoneyTxnsArgs, type Query_MetaArgs, type Scalars, type Subscription, type SubscriptionChainTransactionArgs, type SubscriptionChainTransactionsArgs, type SubscriptionHoneyCollateralArgs, type SubscriptionHoneyCollateralsArgs, type SubscriptionHoneySnapshotsArgs, type SubscriptionHoneySupplyDayDataArgs, type SubscriptionHoneySupplyDayDatasArgs, type SubscriptionHoneyTxnArgs, type SubscriptionHoneyTxnTimeseriesArgs, type SubscriptionHoneyTxnTimeseries_CollectionArgs, type SubscriptionHoneyTxnsArgs, type Subscription_MetaArgs, TxnType, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
782
+ export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetChartData, type GetChartDataQuery, type GetChartDataQueryVariables, GetFirstHoneyTxnDate, type GetFirstHoneyTxnDateQuery, type GetFirstHoneyTxnDateQueryVariables, GetGlobalData, type GetGlobalDataQuery, type GetGlobalDataQueryVariables, GetHoneyTxn, GetHoneyTxnByType, type GetHoneyTxnByTypeQuery, type GetHoneyTxnByTypeQueryVariables, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, type HoneyCollateral, type HoneyCollateral_Filter, HoneyCollateral_OrderBy, type HoneySnapshot, type HoneySnapshot_Filter, HoneySnapshot_OrderBy, type HoneySupplyDayData, type HoneySupplyDayData_Filter, HoneySupplyDayData_OrderBy, type HoneyTxn, type HoneyTxnCollateralArgs, HoneyTxnData, type HoneyTxnDataFragment, type HoneyTxnTimeseries, type HoneyTxnTimeseries_Filter, HoneyTxnTimeseries_OrderBy, type HoneyTxn_Filter, HoneyTxn_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryChainTransactionArgs, type QueryChainTransactionsArgs, type QueryHoneyCollateralArgs, type QueryHoneyCollateralsArgs, type QueryHoneySnapshotsArgs, type QueryHoneySupplyDayDataArgs, type QueryHoneySupplyDayDatasArgs, type QueryHoneyTxnArgs, type QueryHoneyTxnTimeseriesArgs, type QueryHoneyTxnTimeseries_CollectionArgs, type QueryHoneyTxnsArgs, type Query_MetaArgs, type Scalars, TxnType, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
@@ -206,10 +206,7 @@ declare enum HoneyCollateral_OrderBy {
206
206
  HoneyTxnType = "honeyTxn__type",
207
207
  Id = "id"
208
208
  }
209
- /**
210
- * Aggregation for honey volume & supply by hour or day
211
- *
212
- */
209
+ /** Aggregation for honey volume & supply by hour or day */
213
210
  type HoneySnapshot = {
214
211
  __typename?: 'HoneySnapshot';
215
212
  allTimeVolume: Scalars['BigDecimal']['output'];
@@ -238,6 +235,15 @@ type HoneySnapshot_Filter = {
238
235
  timestamp_lt?: InputMaybe<Scalars['Timestamp']['input']>;
239
236
  timestamp_lte?: InputMaybe<Scalars['Timestamp']['input']>;
240
237
  };
238
+ declare enum HoneySnapshot_OrderBy {
239
+ AllTimeVolume = "allTimeVolume",
240
+ Id = "id",
241
+ MintVolume = "mintVolume",
242
+ RedeemVolume = "redeemVolume",
243
+ Timestamp = "timestamp",
244
+ TotalSupply = "totalSupply",
245
+ TotalVolume = "totalVolume"
246
+ }
241
247
  type HoneySupplyDayData = {
242
248
  __typename?: 'HoneySupplyDayData';
243
249
  amount: Scalars['BigDecimal']['output'];
@@ -298,10 +304,7 @@ type HoneyTxnCollateralArgs = {
298
304
  skip?: InputMaybe<Scalars['Int']['input']>;
299
305
  where?: InputMaybe<HoneyCollateral_Filter>;
300
306
  };
301
- /**
302
- * Timeseries data for honey volume transactions
303
- *
304
- */
307
+ /** Timeseries data for honey volume transactions */
305
308
  type HoneyTxnTimeseries = {
306
309
  __typename?: 'HoneyTxnTimeseries';
307
310
  blockNumber: Scalars['BigInt']['output'];
@@ -561,6 +564,8 @@ type QueryHoneySnapshotsArgs = {
561
564
  block?: InputMaybe<Block_Height>;
562
565
  first?: InputMaybe<Scalars['Int']['input']>;
563
566
  interval: Aggregation_Interval;
567
+ orderBy?: InputMaybe<HoneySnapshot_OrderBy>;
568
+ orderDirection?: InputMaybe<OrderDirection>;
564
569
  skip?: InputMaybe<Scalars['Int']['input']>;
565
570
  subgraphError?: _SubgraphErrorPolicy_;
566
571
  where?: InputMaybe<HoneySnapshot_Filter>;
@@ -607,104 +612,6 @@ type QueryHoneyTxnsArgs = {
607
612
  subgraphError?: _SubgraphErrorPolicy_;
608
613
  where?: InputMaybe<HoneyTxn_Filter>;
609
614
  };
610
- type Subscription = {
611
- __typename?: 'Subscription';
612
- /** Access to subgraph metadata */
613
- _meta?: Maybe<_Meta_>;
614
- chainTransaction?: Maybe<ChainTransaction>;
615
- chainTransactions: Array<ChainTransaction>;
616
- honeyCollateral?: Maybe<HoneyCollateral>;
617
- honeyCollaterals: Array<HoneyCollateral>;
618
- /** Collection of aggregated `HoneySnapshot` values */
619
- honeySnapshots: Array<HoneySnapshot>;
620
- honeySupplyDayData?: Maybe<HoneySupplyDayData>;
621
- honeySupplyDayDatas: Array<HoneySupplyDayData>;
622
- honeyTxn?: Maybe<HoneyTxn>;
623
- honeyTxnTimeseries?: Maybe<HoneyTxnTimeseries>;
624
- honeyTxnTimeseries_collection: Array<HoneyTxnTimeseries>;
625
- honeyTxns: Array<HoneyTxn>;
626
- };
627
- type Subscription_MetaArgs = {
628
- block?: InputMaybe<Block_Height>;
629
- };
630
- type SubscriptionChainTransactionArgs = {
631
- block?: InputMaybe<Block_Height>;
632
- id: Scalars['ID']['input'];
633
- subgraphError?: _SubgraphErrorPolicy_;
634
- };
635
- type SubscriptionChainTransactionsArgs = {
636
- block?: InputMaybe<Block_Height>;
637
- first?: InputMaybe<Scalars['Int']['input']>;
638
- orderBy?: InputMaybe<ChainTransaction_OrderBy>;
639
- orderDirection?: InputMaybe<OrderDirection>;
640
- skip?: InputMaybe<Scalars['Int']['input']>;
641
- subgraphError?: _SubgraphErrorPolicy_;
642
- where?: InputMaybe<ChainTransaction_Filter>;
643
- };
644
- type SubscriptionHoneyCollateralArgs = {
645
- block?: InputMaybe<Block_Height>;
646
- id: Scalars['ID']['input'];
647
- subgraphError?: _SubgraphErrorPolicy_;
648
- };
649
- type SubscriptionHoneyCollateralsArgs = {
650
- block?: InputMaybe<Block_Height>;
651
- first?: InputMaybe<Scalars['Int']['input']>;
652
- orderBy?: InputMaybe<HoneyCollateral_OrderBy>;
653
- orderDirection?: InputMaybe<OrderDirection>;
654
- skip?: InputMaybe<Scalars['Int']['input']>;
655
- subgraphError?: _SubgraphErrorPolicy_;
656
- where?: InputMaybe<HoneyCollateral_Filter>;
657
- };
658
- type SubscriptionHoneySnapshotsArgs = {
659
- block?: InputMaybe<Block_Height>;
660
- first?: InputMaybe<Scalars['Int']['input']>;
661
- interval: Aggregation_Interval;
662
- skip?: InputMaybe<Scalars['Int']['input']>;
663
- subgraphError?: _SubgraphErrorPolicy_;
664
- where?: InputMaybe<HoneySnapshot_Filter>;
665
- };
666
- type SubscriptionHoneySupplyDayDataArgs = {
667
- block?: InputMaybe<Block_Height>;
668
- id: Scalars['ID']['input'];
669
- subgraphError?: _SubgraphErrorPolicy_;
670
- };
671
- type SubscriptionHoneySupplyDayDatasArgs = {
672
- block?: InputMaybe<Block_Height>;
673
- first?: InputMaybe<Scalars['Int']['input']>;
674
- orderBy?: InputMaybe<HoneySupplyDayData_OrderBy>;
675
- orderDirection?: InputMaybe<OrderDirection>;
676
- skip?: InputMaybe<Scalars['Int']['input']>;
677
- subgraphError?: _SubgraphErrorPolicy_;
678
- where?: InputMaybe<HoneySupplyDayData_Filter>;
679
- };
680
- type SubscriptionHoneyTxnArgs = {
681
- block?: InputMaybe<Block_Height>;
682
- id: Scalars['ID']['input'];
683
- subgraphError?: _SubgraphErrorPolicy_;
684
- };
685
- type SubscriptionHoneyTxnTimeseriesArgs = {
686
- block?: InputMaybe<Block_Height>;
687
- id: Scalars['ID']['input'];
688
- subgraphError?: _SubgraphErrorPolicy_;
689
- };
690
- type SubscriptionHoneyTxnTimeseries_CollectionArgs = {
691
- block?: InputMaybe<Block_Height>;
692
- first?: InputMaybe<Scalars['Int']['input']>;
693
- orderBy?: InputMaybe<HoneyTxnTimeseries_OrderBy>;
694
- orderDirection?: InputMaybe<OrderDirection>;
695
- skip?: InputMaybe<Scalars['Int']['input']>;
696
- subgraphError?: _SubgraphErrorPolicy_;
697
- where?: InputMaybe<HoneyTxnTimeseries_Filter>;
698
- };
699
- type SubscriptionHoneyTxnsArgs = {
700
- block?: InputMaybe<Block_Height>;
701
- first?: InputMaybe<Scalars['Int']['input']>;
702
- orderBy?: InputMaybe<HoneyTxn_OrderBy>;
703
- orderDirection?: InputMaybe<OrderDirection>;
704
- skip?: InputMaybe<Scalars['Int']['input']>;
705
- subgraphError?: _SubgraphErrorPolicy_;
706
- where?: InputMaybe<HoneyTxn_Filter>;
707
- };
708
615
  declare enum TxnType {
709
616
  Mint = "MINT",
710
617
  Redeem = "REDEEM"
@@ -728,7 +635,6 @@ type _Meta_ = {
728
635
  * will be null if the _meta field has a block constraint that asks for
729
636
  * a block number. It will be filled if the _meta field has no block constraint
730
637
  * and therefore asks for the latest block
731
- *
732
638
  */
733
639
  block: _Block_;
734
640
  /** The deployment ID */
@@ -873,4 +779,4 @@ interface PossibleTypesResultData {
873
779
  }
874
780
  declare const result: PossibleTypesResultData;
875
781
 
876
- export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetChartData, type GetChartDataQuery, type GetChartDataQueryVariables, GetFirstHoneyTxnDate, type GetFirstHoneyTxnDateQuery, type GetFirstHoneyTxnDateQueryVariables, GetGlobalData, type GetGlobalDataQuery, type GetGlobalDataQueryVariables, GetHoneyTxn, GetHoneyTxnByType, type GetHoneyTxnByTypeQuery, type GetHoneyTxnByTypeQueryVariables, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, type HoneyCollateral, type HoneyCollateral_Filter, HoneyCollateral_OrderBy, type HoneySnapshot, type HoneySnapshot_Filter, type HoneySupplyDayData, type HoneySupplyDayData_Filter, HoneySupplyDayData_OrderBy, type HoneyTxn, type HoneyTxnCollateralArgs, HoneyTxnData, type HoneyTxnDataFragment, type HoneyTxnTimeseries, type HoneyTxnTimeseries_Filter, HoneyTxnTimeseries_OrderBy, type HoneyTxn_Filter, HoneyTxn_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryChainTransactionArgs, type QueryChainTransactionsArgs, type QueryHoneyCollateralArgs, type QueryHoneyCollateralsArgs, type QueryHoneySnapshotsArgs, type QueryHoneySupplyDayDataArgs, type QueryHoneySupplyDayDatasArgs, type QueryHoneyTxnArgs, type QueryHoneyTxnTimeseriesArgs, type QueryHoneyTxnTimeseries_CollectionArgs, type QueryHoneyTxnsArgs, type Query_MetaArgs, type Scalars, type Subscription, type SubscriptionChainTransactionArgs, type SubscriptionChainTransactionsArgs, type SubscriptionHoneyCollateralArgs, type SubscriptionHoneyCollateralsArgs, type SubscriptionHoneySnapshotsArgs, type SubscriptionHoneySupplyDayDataArgs, type SubscriptionHoneySupplyDayDatasArgs, type SubscriptionHoneyTxnArgs, type SubscriptionHoneyTxnTimeseriesArgs, type SubscriptionHoneyTxnTimeseries_CollectionArgs, type SubscriptionHoneyTxnsArgs, type Subscription_MetaArgs, TxnType, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
782
+ export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetChartData, type GetChartDataQuery, type GetChartDataQueryVariables, GetFirstHoneyTxnDate, type GetFirstHoneyTxnDateQuery, type GetFirstHoneyTxnDateQueryVariables, GetGlobalData, type GetGlobalDataQuery, type GetGlobalDataQueryVariables, GetHoneyTxn, GetHoneyTxnByType, type GetHoneyTxnByTypeQuery, type GetHoneyTxnByTypeQueryVariables, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, type HoneyCollateral, type HoneyCollateral_Filter, HoneyCollateral_OrderBy, type HoneySnapshot, type HoneySnapshot_Filter, HoneySnapshot_OrderBy, type HoneySupplyDayData, type HoneySupplyDayData_Filter, HoneySupplyDayData_OrderBy, type HoneyTxn, type HoneyTxnCollateralArgs, HoneyTxnData, type HoneyTxnDataFragment, type HoneyTxnTimeseries, type HoneyTxnTimeseries_Filter, HoneyTxnTimeseries_OrderBy, type HoneyTxn_Filter, HoneyTxn_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryChainTransactionArgs, type QueryChainTransactionsArgs, type QueryHoneyCollateralArgs, type QueryHoneyCollateralsArgs, type QueryHoneySnapshotsArgs, type QueryHoneySupplyDayDataArgs, type QueryHoneySupplyDayDatasArgs, type QueryHoneyTxnArgs, type QueryHoneyTxnTimeseriesArgs, type QueryHoneyTxnTimeseries_CollectionArgs, type QueryHoneyTxnsArgs, type Query_MetaArgs, type Scalars, TxnType, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };