From 835111edbd428e436df15f93558da3f997cc6813 Mon Sep 17 00:00:00 2001 From: D J Clarke <60730266+denviljclarke@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:22:00 -0500 Subject: [PATCH 1/7] Develop (#236) Co-authored-by: baroooo Co-authored-by: philbow61 <80156619+philbow61@users.noreply.github.com> Co-authored-by: Ryan Noble --- .../proposal-actions/disconnected-state.tsx | 14 ++ .../execute/execute-proposal.component.tsx | 111 +++++++++ .../proposal-actions/execute/index.ts | 1 + .../execute/useIsTimeLocked.ts | 20 ++ .../_components/proposal-actions/index.tsx | 44 ++++ ...proposal-action-confirmation.component.tsx | 37 +++ .../proposal-action-error.tsx | 20 ++ .../proposal-action-loading.tsx} | 11 +- .../proposal-action-status.tsx | 55 +++++ .../proposal-action-title.tsx} | 2 +- .../proposal-status-message.component.tsx | 167 ++++++++++++++ .../proposal-actions/queue/index.tsx | 1 + .../queue/queue-proposal.component.tsx | 90 ++++++++ .../proposal-actions/vote}/has-voted.tsx | 8 +- .../proposal-actions/vote/index.tsx | 1 + .../proposal-actions/vote}/locked-balance.tsx | 0 .../vote}/vote-confirmation.tsx | 11 +- .../proposal-actions/vote}/vote-type-pill.tsx | 2 +- .../proposal-actions/vote/vote.component.tsx} | 59 ++--- .../proposal-actions/vote}/voting-buttons.tsx | 4 +- .../[id]/_components/vote.component.tsx | 15 -- src/app/proposals/[id]/page.tsx | 214 +++++++++--------- src/app/voting-power/page.tsx | 63 +++--- .../breadcrumbs/breadcrumbs.component.tsx | 7 +- .../_shared/button/button.component.tsx | 2 +- src/components/_shared/index.tsx | 2 - .../mento-lock/components/locking-button.tsx | 14 +- .../progress-bar/progress-bar.component.tsx | 6 +- src/components/index.tsx | 10 - .../locks-list/locks-list.component.tsx | 17 +- .../proposals-list.component.tsx | 143 +++++++----- .../vote-cast-vote/disconnected-state.tsx | 13 -- src/components/vote-cast-vote/index.tsx | 7 - .../inactive-proposal-status-message.tsx | 77 ------- src/config/chains.ts | 1 - src/lib/contracts/governor/useCastVote.ts | 4 +- .../contracts/governor/useExecuteProposal.ts | 60 +++++ .../contracts/governor/useQueueProposal.ts | 60 +++++ .../subgraph/fragments/proposalFields.graphql | 9 +- .../graphql/subgraph/generated/subgraph.tsx | 12 +- src/lib/helpers/locking.ts | 26 +++ src/lib/hooks/useLockInfo.ts | 51 +---- src/middleware.ts | 56 +++-- 43 files changed, 1074 insertions(+), 453 deletions(-) create mode 100644 src/app/proposals/[id]/_components/proposal-actions/disconnected-state.tsx create mode 100644 src/app/proposals/[id]/_components/proposal-actions/execute/execute-proposal.component.tsx create mode 100644 src/app/proposals/[id]/_components/proposal-actions/execute/index.ts create mode 100644 src/app/proposals/[id]/_components/proposal-actions/execute/useIsTimeLocked.ts create mode 100644 src/app/proposals/[id]/_components/proposal-actions/index.tsx create mode 100644 src/app/proposals/[id]/_components/proposal-actions/proposal-action-confirmation.component.tsx create mode 100644 src/app/proposals/[id]/_components/proposal-actions/proposal-action-error.tsx rename src/{components/_shared/vote-loading-state/vote-loading-state.tsx => app/proposals/[id]/_components/proposal-actions/proposal-action-loading.tsx} (50%) create mode 100644 src/app/proposals/[id]/_components/proposal-actions/proposal-action-status.tsx rename src/{components/_shared/vote-voting-card-title/voting-card-title.tsx => app/proposals/[id]/_components/proposal-actions/proposal-action-title.tsx} (88%) create mode 100644 src/app/proposals/[id]/_components/proposal-actions/proposal-status-message.component.tsx create mode 100644 src/app/proposals/[id]/_components/proposal-actions/queue/index.tsx create mode 100644 src/app/proposals/[id]/_components/proposal-actions/queue/queue-proposal.component.tsx rename src/{components/vote-cast-vote => app/proposals/[id]/_components/proposal-actions/vote}/has-voted.tsx (84%) create mode 100644 src/app/proposals/[id]/_components/proposal-actions/vote/index.tsx rename src/{components/vote-cast-vote => app/proposals/[id]/_components/proposal-actions/vote}/locked-balance.tsx (100%) rename src/{components/vote-cast-vote => app/proposals/[id]/_components/proposal-actions/vote}/vote-confirmation.tsx (85%) rename src/{components/vote-cast-vote => app/proposals/[id]/_components/proposal-actions/vote}/vote-type-pill.tsx (88%) rename src/{components/vote-cast-vote/cast-vote.tsx => app/proposals/[id]/_components/proposal-actions/vote/vote.component.tsx} (79%) rename src/{components/vote-cast-vote => app/proposals/[id]/_components/proposal-actions/vote}/voting-buttons.tsx (87%) delete mode 100644 src/app/proposals/[id]/_components/vote.component.tsx delete mode 100644 src/components/vote-cast-vote/disconnected-state.tsx delete mode 100644 src/components/vote-cast-vote/index.tsx delete mode 100644 src/components/vote-inactive-proposal-status-message/inactive-proposal-status-message.tsx create mode 100644 src/lib/contracts/governor/useExecuteProposal.ts create mode 100644 src/lib/contracts/governor/useQueueProposal.ts diff --git a/src/app/proposals/[id]/_components/proposal-actions/disconnected-state.tsx b/src/app/proposals/[id]/_components/proposal-actions/disconnected-state.tsx new file mode 100644 index 00000000..b49bfb62 --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/disconnected-state.tsx @@ -0,0 +1,14 @@ +import { Card, ConnectButton } from "@/components/_shared"; +import { ProposalActionTitle } from "./proposal-action-title"; + +export const DisconnectedState = () => { + return ( + +
+ + Please connect your wallet to participate in governance + +
+
+ ); +}; diff --git a/src/app/proposals/[id]/_components/proposal-actions/execute/execute-proposal.component.tsx b/src/app/proposals/[id]/_components/proposal-actions/execute/execute-proposal.component.tsx new file mode 100644 index 00000000..c0f3f8be --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/execute/execute-proposal.component.tsx @@ -0,0 +1,111 @@ +import * as Sentry from "@sentry/nextjs"; + +import { Button, Card } from "@/components/_shared"; + +import type { Proposal } from "@/lib/graphql"; + +import { ProposalActionTitle } from "../proposal-action-title"; +import useExecuteProposal from "@/lib/contracts/governor/useExecuteProposal"; +import { ProposalActionError } from "../proposal-action-error"; +import { useIsTimeLocked } from "./useIsTimeLocked"; +import { + ProposalActionConfirming, + ProposalActionConfirmed, +} from "../proposal-action-status"; +import { ProposalActionConfirmation } from "../proposal-action-confirmation.component"; + +export const ExecuteProposal = ({ proposal }: { proposal: Proposal }) => { + const isTimeLocked = useIsTimeLocked(proposal); + const { + hash, + executeProposal, + isAwaitingUserSignature, + isConfirming, + isConfirmed, + error, + } = useExecuteProposal(); + + const handleExecuteProposal = () => { + try { + executeProposal(proposal.proposalId); + } catch (error) { + Sentry.captureException(error); + } + }; + + if (isAwaitingUserSignature) { + return ( + + ); + } + + if (isConfirming) { + return ( + + ); + } + + if (isConfirmed) { + return ( + + ); + } + + return ( +
+ + + {isTimeLocked ? "Proposal queued" : "Proposal ready for execution"} + + +
+ {isTimeLocked ? ( + <> + + This proposal is currently in a mandatory waiting period for + security reasons. + + + It will be ready for execution soon. Please check back later. + + + ) : ( + <> + + The waiting period for this proposal has ended. It's now + ready to be executed. + + Execute this proposal to implement its changes. + + )} +
+
+ + {error && ( + + )} +
+
+ ); +}; diff --git a/src/app/proposals/[id]/_components/proposal-actions/execute/index.ts b/src/app/proposals/[id]/_components/proposal-actions/execute/index.ts new file mode 100644 index 00000000..d5a3ab39 --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/execute/index.ts @@ -0,0 +1 @@ +export { ExecuteProposal as default } from "./execute-proposal.component"; diff --git a/src/app/proposals/[id]/_components/proposal-actions/execute/useIsTimeLocked.ts b/src/app/proposals/[id]/_components/proposal-actions/execute/useIsTimeLocked.ts new file mode 100644 index 00000000..4f6ee22d --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/execute/useIsTimeLocked.ts @@ -0,0 +1,20 @@ +import { Proposal, ProposalState } from "@/lib/graphql"; +import { useMemo } from "react"; + +export function useIsTimeLocked(proposal: Proposal | undefined): boolean { + const isTimeLocked = useMemo(() => { + if ( + proposal && + proposal.state === ProposalState.Queued && + proposal.proposalQueued[0] + ) { + const timeLockDeadline = new Date( + Number(proposal.proposalQueued[0].eta) * 1000, + ); + return timeLockDeadline.getTime() >= Date.now(); + } + return false; + }, [proposal]); + + return isTimeLocked; +} diff --git a/src/app/proposals/[id]/_components/proposal-actions/index.tsx b/src/app/proposals/[id]/_components/proposal-actions/index.tsx new file mode 100644 index 00000000..5ac7813a --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/index.tsx @@ -0,0 +1,44 @@ +import { useAccount } from "wagmi"; +import { Proposal, ProposalState } from "@/lib/graphql"; +import { DisconnectedState } from "./disconnected-state"; +import { ProposalActionLoading } from "./proposal-action-loading"; +import { Card } from "@/components/_shared"; +import ExecuteProposal from "./execute"; +import QueueProposal from "./queue"; +import Vote from "./vote"; +import { ProposalStatusMessage } from "./proposal-status-message.component"; + +const ProposalActions = ({ proposal }: { proposal: Proposal }) => { + const { address } = useAccount(); + + if (!address) { + return ; + } + + if (!proposal) { + return ; + } + + const Component = getComponent(proposal.state); + + return ( + + + + ); +}; + +const getComponent = (state: ProposalState) => { + switch (state) { + case ProposalState.Active: + return Vote; + case ProposalState.Succeeded: + return QueueProposal; + case ProposalState.Queued: + return ExecuteProposal; + default: + return ProposalStatusMessage; + } +}; + +export default ProposalActions; diff --git a/src/app/proposals/[id]/_components/proposal-actions/proposal-action-confirmation.component.tsx b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-confirmation.component.tsx new file mode 100644 index 00000000..ec5688da --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-confirmation.component.tsx @@ -0,0 +1,37 @@ +import { Loader } from "@/components/_shared"; +import WalletHelper from "@/lib/helpers/wallet.helper"; +import { ProposalActionTitle } from "./proposal-action-title"; +import { Proposal } from "@/lib/graphql"; + +export const ProposalActionConfirmation = ({ + proposalId, + title, + subtitle, +}: { + proposalId: Proposal["proposalId"]; + title: string; + subtitle: string; +}) => { + return ( + <> + {title} +
+ Confirm + + <> +
+ {subtitle} + {`${WalletHelper.getShortAddress(proposalId)}`} +
+ + + Proceed in your wallet + +
+ + ); +}; diff --git a/src/app/proposals/[id]/_components/proposal-actions/proposal-action-error.tsx b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-error.tsx new file mode 100644 index 00000000..a15c9b31 --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-error.tsx @@ -0,0 +1,20 @@ +import ErrorHelper from "@/lib/helpers/error.helper"; +import { UserRejectedRequestError } from "viem"; + +export const ProposalActionError = ({ + error, + errorHeading, +}: { + error: Error; + errorHeading: string; +}) => { + if (error instanceof UserRejectedRequestError) { + return null; + } + return ( +
+ {errorHeading} + {ErrorHelper.processWagmiErrorMessage(error)} +
+ ); +}; diff --git a/src/components/_shared/vote-loading-state/vote-loading-state.tsx b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-loading.tsx similarity index 50% rename from src/components/_shared/vote-loading-state/vote-loading-state.tsx rename to src/app/proposals/[id]/_components/proposal-actions/proposal-action-loading.tsx index 80d78116..bcf03d7e 100644 --- a/src/components/_shared/vote-loading-state/vote-loading-state.tsx +++ b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-loading.tsx @@ -1,14 +1,15 @@ -import { Card, Loader, VotingCardTitle } from "@/components/_shared"; +import { Loader } from "@/components/_shared"; +import { ProposalActionTitle } from "./proposal-action-title"; -export const LoadingState = () => { +export const ProposalActionLoading = () => { return ( - - + <> +


-
+ ); }; diff --git a/src/app/proposals/[id]/_components/proposal-actions/proposal-action-status.tsx b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-status.tsx new file mode 100644 index 00000000..474027d1 --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-status.tsx @@ -0,0 +1,55 @@ +import React from "react"; +import { BlockExplorerLink } from "@/components/_shared"; +import { SuccessIcon } from "@/components/_icons"; +import { ProposalActionTitle } from "./proposal-action-title"; + +interface ProposalActionStatusProps { + title: string; + status: string; + hash?: `0x${string}`; +} + +export const ProposalActionConfirming: React.FC = ({ + title, + status, + hash, +}) => { + return ( + <> + {title} +
+ {status} + + + Processing transaction. This may take a few moments. + + {hash && ( + + View on explorer + + )} +
+ + ); +}; + +export const ProposalActionConfirmed: React.FC = ({ + title, + status, + hash, +}) => { + return ( + <> + {title} +
+ {status} + + {hash && ( + + View on explorer + + )} +
+ + ); +}; diff --git a/src/components/_shared/vote-voting-card-title/voting-card-title.tsx b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-title.tsx similarity index 88% rename from src/components/_shared/vote-voting-card-title/voting-card-title.tsx rename to src/app/proposals/[id]/_components/proposal-actions/proposal-action-title.tsx index 565df6ed..29b2b2a3 100644 --- a/src/components/_shared/vote-voting-card-title/voting-card-title.tsx +++ b/src/app/proposals/[id]/_components/proposal-actions/proposal-action-title.tsx @@ -1,7 +1,7 @@ import React from "react"; import { Card } from "@/components/_shared"; -export const VotingCardTitle = ({ +export const ProposalActionTitle = ({ children = "Cast Votes", }: React.PropsWithChildren) => { return ( diff --git a/src/app/proposals/[id]/_components/proposal-actions/proposal-status-message.component.tsx b/src/app/proposals/[id]/_components/proposal-actions/proposal-status-message.component.tsx new file mode 100644 index 00000000..c6478aa3 --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/proposal-status-message.component.tsx @@ -0,0 +1,167 @@ +import { Proposal, ProposalState } from "@/lib/graphql"; +import React from "react"; +import { Card } from "@/components/_shared"; +import { BlockExplorerLink } from "@/components/_shared/block-explorer-link/block-explorer-link.component"; +import { format, fromUnixTime } from "date-fns"; + +const StatusMessage = { + Layout: ({ children }: { children: React.ReactNode }) => ( +
+
+ {children} +
+
+ ), + Header: ({ children }: { children: React.ReactNode }) => ( + +

{children}

+
+ ), + Content: ({ children }: { children: React.ReactNode }) => ( + {children} + ), +}; + +const ExploreLaterMessage: React.FC = () => ( + + Please explore other proposals to participate in the Mento ecosystem! + +); + +const getProposalStatusContent = (proposal: Proposal) => { + const baseMessages: Record< + Exclude, + React.ReactNode + > = { + [ProposalState.Succeeded]: ( + <> + Proposal Succeeded + + + This proposal has succeeded. + + + + + ), + [ProposalState.Defeated]: ( + <> + Proposal Defeated + + + This proposal was defeated. + + + + + ), + [ProposalState.Pending]: ( + <> + Proposal Pending + + + This proposal is currently pending. + + + + + ), + [ProposalState.Canceled]: ( + <> + Proposal Canceled + + + This proposal was canceled. + + + + + ), + [ProposalState.Executed]: ( + <> + {proposal.proposalExecuted.length > 0 && ( + <> + Proposal Executed + + + {(() => { + const [ + { + transaction: { id: hash, timestamp }, + }, + ] = proposal.proposalExecuted; + const executionDate = fromUnixTime(timestamp); + const formattedDate = format( + executionDate, + "MMMM do, yyyy 'at' hh:mm a", + ); + return ( +
+ {`Successfully executed on`} + {formattedDate} + + View on explorer + +
+ ); + })()} +
+ +
+ + )} + + ), + [ProposalState.Expired]: ( + <> + Proposal Expired + + + This proposal has expired. + + + + + ), + [ProposalState.Queued]: ( + <> + Proposal Queued + + + This proposal is queued. + + + {proposal.eta && ( + + This proposal will be executable after{" "} + {new Date(proposal.eta * 1000).toLocaleString()}. + + )} + + + ), + [ProposalState.NoState]: ( + <> + Proposal Pending + + + This proposal is currently pending. + + + + + ), + }; + + return baseMessages[ + proposal.state as Exclude + ]; +}; + +export const ProposalStatusMessage = ({ proposal }: { proposal: Proposal }) => { + return getProposalStatusContent(proposal); +}; diff --git a/src/app/proposals/[id]/_components/proposal-actions/queue/index.tsx b/src/app/proposals/[id]/_components/proposal-actions/queue/index.tsx new file mode 100644 index 00000000..e999e825 --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/queue/index.tsx @@ -0,0 +1 @@ +export { QueueProposal as default } from "./queue-proposal.component"; diff --git a/src/app/proposals/[id]/_components/proposal-actions/queue/queue-proposal.component.tsx b/src/app/proposals/[id]/_components/proposal-actions/queue/queue-proposal.component.tsx new file mode 100644 index 00000000..afd8974c --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/queue/queue-proposal.component.tsx @@ -0,0 +1,90 @@ +import * as Sentry from "@sentry/nextjs"; + +import { Button, Card } from "@/components/_shared"; + +import type { Proposal } from "@/lib/graphql"; + +import { ProposalActionTitle } from "../proposal-action-title"; +import useQueueProposal from "@/lib/contracts/governor/useQueueProposal"; +import { ProposalActionError } from "../proposal-action-error"; +import { ProposalActionConfirmation } from "../proposal-action-confirmation.component"; +import { + ProposalActionConfirmed, + ProposalActionConfirming, +} from "../proposal-action-status"; + +export const QueueProposal = ({ proposal }: { proposal: Proposal }) => { + const { + hash, + queueProposal, + + isAwaitingUserSignature, + isConfirming, + isConfirmed, + error, + } = useQueueProposal(); + + const handleQueueProposal = () => { + try { + queueProposal(proposal.proposalId); + } catch (error) { + Sentry.captureException(error); + } + }; + + if (isAwaitingUserSignature) { + return ( + + ); + } + + if (isConfirming) { + return ( + + ); + } + + if (isConfirmed) { + return ( + + ); + } + + return ( +
+ + Proposal succeeded + +
+ + This proposal has succeeded. It's now ready to be queued for + execution. + + Queue this proposal to start the time lock period. +
+
+ + {error && ( + + )} +
+
+ ); +}; diff --git a/src/components/vote-cast-vote/has-voted.tsx b/src/app/proposals/[id]/_components/proposal-actions/vote/has-voted.tsx similarity index 84% rename from src/components/vote-cast-vote/has-voted.tsx rename to src/app/proposals/[id]/_components/proposal-actions/vote/has-voted.tsx index 0b729d50..45de3688 100644 --- a/src/components/vote-cast-vote/has-voted.tsx +++ b/src/app/proposals/[id]/_components/proposal-actions/vote/has-voted.tsx @@ -1,10 +1,10 @@ -import { Card, VotingCardTitle } from "@/components/_shared"; import { VoteTypePill } from "./vote-type-pill"; +import { ProposalActionTitle } from "../proposal-action-title"; export const HasVoted = ({ voteType }: { voteType: number }) => { return ( - - + <> +
@@ -16,6 +16,6 @@ export const HasVoted = ({ voteType }: { voteType: number }) => { Thank you for participating in the Mento ecosystem!
- + ); }; diff --git a/src/app/proposals/[id]/_components/proposal-actions/vote/index.tsx b/src/app/proposals/[id]/_components/proposal-actions/vote/index.tsx new file mode 100644 index 00000000..94267b09 --- /dev/null +++ b/src/app/proposals/[id]/_components/proposal-actions/vote/index.tsx @@ -0,0 +1 @@ +export { Vote as default } from "./vote.component"; diff --git a/src/components/vote-cast-vote/locked-balance.tsx b/src/app/proposals/[id]/_components/proposal-actions/vote/locked-balance.tsx similarity index 100% rename from src/components/vote-cast-vote/locked-balance.tsx rename to src/app/proposals/[id]/_components/proposal-actions/vote/locked-balance.tsx diff --git a/src/components/vote-cast-vote/vote-confirmation.tsx b/src/app/proposals/[id]/_components/proposal-actions/vote/vote-confirmation.tsx similarity index 85% rename from src/components/vote-cast-vote/vote-confirmation.tsx rename to src/app/proposals/[id]/_components/proposal-actions/vote/vote-confirmation.tsx index 33000b68..585df0e3 100644 --- a/src/components/vote-cast-vote/vote-confirmation.tsx +++ b/src/app/proposals/[id]/_components/proposal-actions/vote/vote-confirmation.tsx @@ -1,7 +1,8 @@ import WalletHelper from "@/lib/helpers/wallet.helper"; -import { Card, Loader, VotingCardTitle } from "@/components/_shared"; +import { Loader } from "@/components/_shared"; import { Proposal } from "@/lib/graphql"; -import { VoteTypePill } from "../vote-cast-vote"; +import { VoteTypePill } from "./vote-type-pill"; +import { ProposalActionTitle } from "../proposal-action-title"; export const VoteConfirmation = ({ voteType, @@ -11,8 +12,8 @@ export const VoteConfirmation = ({ proposalId: Proposal["proposalId"]; }) => { return ( - - + <> +
Confirm your vote
-
+ ); }; diff --git a/src/components/vote-cast-vote/vote-type-pill.tsx b/src/app/proposals/[id]/_components/proposal-actions/vote/vote-type-pill.tsx similarity index 88% rename from src/components/vote-cast-vote/vote-type-pill.tsx rename to src/app/proposals/[id]/_components/proposal-actions/vote/vote-type-pill.tsx index 13d7561d..32ed5412 100644 --- a/src/components/vote-cast-vote/vote-type-pill.tsx +++ b/src/app/proposals/[id]/_components/proposal-actions/vote/vote-type-pill.tsx @@ -1,4 +1,4 @@ -import { REVERSE_VOTE_TYPE_MAP, VOTE_TYPES } from "./cast-vote"; +import { REVERSE_VOTE_TYPE_MAP, VOTE_TYPES } from "./vote.component"; import { cn } from "@/styles/helpers"; export const VoteTypePill = ({ voteType }: { voteType: number }) => { diff --git a/src/components/vote-cast-vote/cast-vote.tsx b/src/app/proposals/[id]/_components/proposal-actions/vote/vote.component.tsx similarity index 79% rename from src/components/vote-cast-vote/cast-vote.tsx rename to src/app/proposals/[id]/_components/proposal-actions/vote/vote.component.tsx index 84191d7d..5f798dc0 100644 --- a/src/components/vote-cast-vote/cast-vote.tsx +++ b/src/app/proposals/[id]/_components/proposal-actions/vote/vote.component.tsx @@ -2,13 +2,7 @@ import { useAccount } from "wagmi"; import { UserRejectedRequestError } from "viem"; import * as Sentry from "@sentry/nextjs"; -import { - BlockExplorerLink, - Button, - Card, - LoadingState, - VotingCardTitle, -} from "@/components/_shared"; +import { BlockExplorerLink, Button } from "@/components/_shared"; import { ChevronIcon, SuccessIcon } from "@/components/_icons"; import type { Proposal } from "@/lib/graphql"; @@ -18,12 +12,13 @@ import useTokens from "@/lib/contracts/useTokens"; import useCastVote from "@/lib/contracts/governor/useCastVote"; import useVoteReceipt from "@/lib/contracts/governor/useVoteReceipt"; -import { DisconnectedState } from "./disconnected-state"; import { VotingButtons } from "./voting-buttons"; import { LockedBalance } from "./locked-balance"; import { HasVoted } from "./has-voted"; import { VoteConfirmation } from "./vote-confirmation"; +import { ProposalActionTitle } from "../proposal-action-title"; +import { ProposalActionLoading } from "../proposal-action-loading"; export const VOTE_TYPES = { Against: 0, @@ -37,16 +32,12 @@ export const REVERSE_VOTE_TYPE_MAP = { [VOTE_TYPES.Abstain]: "Abstain", } as const; -export const CastVote = ({ - proposalId, -}: { - proposalId: Proposal["proposalId"]; -}) => { - const { address, isConnecting, isDisconnected } = useAccount(); +export const Vote = ({ proposal }: { proposal: Proposal }) => { + const { address, isConnecting } = useAccount(); const { veMentoBalance } = useTokens(); const { data: voteReceipt, isLoading: isHasVotedStatusLoading } = useVoteReceipt({ - proposalId, + proposalId: proposal.proposalId, address, }); @@ -63,20 +54,16 @@ export const CastVote = ({ const hasEnoughLockedMentoToVote = veMentoBalance.value > 0; const isInitializing = isConnecting || isHasVotedStatusLoading; - const handleCastVote = (voteType: number) => { + const handleVote = (support: number) => { try { - castVote(proposalId, voteType); + castVote(proposal.proposalId, support); } catch (error) { Sentry.captureException(error); } }; if (isInitializing) { - return ; - } - - if (isDisconnected) { - return ; + return ; } if (voteReceipt && voteReceipt.hasVoted) { @@ -91,15 +78,15 @@ export const CastVote = ({ return ( ); } if (isConfirming) { return ( - - + <> +
Vote submitted @@ -112,14 +99,14 @@ export const CastVote = ({ )}
-
+ ); } if (isConfirmed) { return ( - - + <> +
Vote success @@ -129,21 +116,21 @@ export const CastVote = ({ )}
-
+ ); } return ( - - + <> +
- + {error && }
-
+ ); }; @@ -161,8 +148,8 @@ const VotingError = ({ error }: { error: Error }) => { const DirectToLockMento = () => { return ( - - + <> +
You need to lock your MENTO to vote @@ -170,6 +157,6 @@ const DirectToLockMento = () => { Lock Mento
-
+ ); }; diff --git a/src/components/vote-cast-vote/voting-buttons.tsx b/src/app/proposals/[id]/_components/proposal-actions/vote/voting-buttons.tsx similarity index 87% rename from src/components/vote-cast-vote/voting-buttons.tsx rename to src/app/proposals/[id]/_components/proposal-actions/vote/voting-buttons.tsx index b90ed8c5..e4395774 100644 --- a/src/components/vote-cast-vote/voting-buttons.tsx +++ b/src/app/proposals/[id]/_components/proposal-actions/vote/voting-buttons.tsx @@ -1,5 +1,5 @@ -import { Button } from "../_shared"; -import { VOTE_TYPES } from "./cast-vote"; +import { Button } from "@/components/_shared"; +import { VOTE_TYPES } from "./vote.component"; export const VotingButtons = ({ onSubmit, diff --git a/src/app/proposals/[id]/_components/vote.component.tsx b/src/app/proposals/[id]/_components/vote.component.tsx deleted file mode 100644 index 4231e7c1..00000000 --- a/src/app/proposals/[id]/_components/vote.component.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { LoadingState } from "@/components/_shared"; -import { CastVote, InactiveProposalStatusMessage } from "@/components/index"; -import { Proposal, ProposalState } from "@/lib/graphql"; - -export default function Vote({ proposal }: { proposal: Proposal }) { - if (proposal && proposal.state === ProposalState.NoState) { - return ; - } - - if (proposal.state === ProposalState.Active) { - return ; - } - - return ; -} diff --git a/src/app/proposals/[id]/page.tsx b/src/app/proposals/[id]/page.tsx index 05a5cd51..127e8cf8 100644 --- a/src/app/proposals/[id]/page.tsx +++ b/src/app/proposals/[id]/page.tsx @@ -14,11 +14,12 @@ import { Status, WalletAddressWithCopy, } from "@/components/_shared"; -import Vote from "@/app/proposals/[id]/_components/vote.component"; -import ExecutionCode from "@/app/proposals/[id]/_components/execution-code.component"; -import Participants from "@/app/proposals/[id]/_components/participants.component"; +import ProposalActions from "./_components/proposal-actions"; +import ExecutionCode from "./_components/execution-code.component"; +import Participants from "./_components/participants.component"; import { Countdown, ProposalCurrentVotes } from "@/components/index"; import { ensureChainId } from "@/lib/helpers/ensureChainId"; +import { ProposalState } from "@/lib/graphql"; const Page = ({ params: { id } }: { params: { id: string } }) => { const { proposal } = useProposal(BigInt(id)); @@ -60,117 +61,128 @@ const Page = ({ params: { id } }: { params: { id: string } }) => { }, [currentBlock, endBlock.data, proposal]); const timeLockDeadLine = useMemo(() => { - if (proposal && proposal.state === "Queued" && proposal.proposalQueued[0]) { + if ( + proposal && + proposal.state === ProposalState.Queued && + proposal.proposalQueued[0] + ) { return new Date(Number(proposal.proposalQueued[0].eta) * 1000); } }, [proposal]); + if (!proposal) { + return
Proposal not found
; + } + return (
- {!proposal &&
Proposal not found
} - {proposal && ( - <> -
- -
-
-
-

- }> - {proposal.metadata?.title} - -

-
-
- {timeLockDeadLine && - timeLockDeadLine.getTime() >= new Date().getTime() && ( - - )} - {proposal.state === "Active" && votingDeadline && ( +
+ +
+ {timeLockDeadLine && + timeLockDeadLine.getTime() >= new Date().getTime() && ( + + )} +
+
+
+
+

+ }> + {proposal.metadata?.title} + +

+
+
+
+ {timeLockDeadLine && + timeLockDeadLine.getTime() >= new Date().getTime() && ( )} -
-
-
-
- }> - - by{" "} - - - - -
-
- Proposed on: - - }> - {proposedOn && ( - - {format(proposedOn, "MMMM do, yyyy 'at' hh:mm a")} - - )} - - -
-
- Voting deadline: - - {votingDeadline && ( - - {format(votingDeadline, "MMMM do, yyyy 'at' hh:mm a")}{" "} - - )} - -
-
-
- {proposal.votes ? ( - - ) : ( - + {proposal.state === ProposalState.Active && votingDeadline && ( + + )} +
+
+
+
+ }> + + by{" "} + + + + +
+
+ Proposed on: + + }> + {proposedOn && ( + + {format(proposedOn, "MMMM do, yyyy 'at' hh:mm a")} + )} -
- -
-

- Proposal Description -

- }> - - - {proposal.calls && } -
-
-
- -
- {proposal.votes && } -
+ + +
+
+ Voting deadline: + + {votingDeadline && ( + + {format(votingDeadline, "MMMM do, yyyy 'at' hh:mm a")}{" "} + + )} + +
+
+
+
+ {proposal.votes ? ( + + ) : ( + + )} +
+ +
+

+ Proposal Description +

+ }> + + + {proposal.calls && } +
+
+
+
- - )} + {proposal.votes && } +
+
); }; diff --git a/src/app/voting-power/page.tsx b/src/app/voting-power/page.tsx index 7a6489c8..09b7ee4f 100644 --- a/src/app/voting-power/page.tsx +++ b/src/app/voting-power/page.tsx @@ -1,43 +1,54 @@ "use client"; +import { useAccount } from "wagmi"; +import { Card, ConnectButton, MentoLock } from "@/components/_shared"; import { LocksList } from "@/components/index"; +import { useLockInfo } from "@/lib/hooks/useLockInfo"; const Page = () => { + const { address } = useAccount(); + const { hasActiveLock, refetch } = useLockInfo(address); + return (

- Your existing veMENTO lock + Your voting power

- {/*
-

- Lock MENTO -

- - {address ? ( - { - refetch(); - }} - className="max-w-[428px]" - /> - ) : ( - - )} - -
*/} + {!hasActiveLock && ( +
+

+ Lock MENTO +

+ + {address ? ( + { + refetch(); + }} + className="max-w-[428px]" + /> + ) : ( + + )} + +
+ )}
); }; -// const Disconnected = () => { -// return ( -//
-// Connect Wallet to Lock MENTO -// -//
-// ); -// }; +const Disconnected = () => { + return ( +
+ Connect Wallet to Lock MENTO + +
+ ); +}; export default Page; diff --git a/src/components/_shared/breadcrumbs/breadcrumbs.component.tsx b/src/components/_shared/breadcrumbs/breadcrumbs.component.tsx index 71c6064d..8a616996 100644 --- a/src/components/_shared/breadcrumbs/breadcrumbs.component.tsx +++ b/src/components/_shared/breadcrumbs/breadcrumbs.component.tsx @@ -3,6 +3,7 @@ import { useMemo } from "react"; import Link from "next/link"; import { routingMap } from "@/lib/helpers/routing.map"; import { useParams, usePathname } from "next/navigation"; +import WalletHelper from "@/lib/helpers/wallet.helper"; type CrumbProps = { path: string; @@ -21,7 +22,7 @@ const Crumb = ({ path, index, last }: CrumbProps) => { {last ? ( {crumbName} - {isProposalCrumb && ` ${shortenProposalId(proposalId)}`} + {isProposalCrumb && ` ${WalletHelper.getShortAddress(proposalId)}`} ) : ( @@ -61,7 +62,3 @@ export const Breadcrumbs = () => { <> ); }; - -function shortenProposalId(proposalId: string): string { - return `${proposalId.slice(0, 8)}...${proposalId.slice(-4)}`; -} diff --git a/src/components/_shared/button/button.component.tsx b/src/components/_shared/button/button.component.tsx index 691e2b99..f1312200 100644 --- a/src/components/_shared/button/button.component.tsx +++ b/src/components/_shared/button/button.component.tsx @@ -5,7 +5,7 @@ import { ComponentProps } from "react"; // TODO: group style types in cn combiner for readability export const variants = cva( - "relative block w-full select-none rounded-md border border-solid border-black px-x4 py-x2 font-inter text-sm text-black transition [transform-style:preserve-3d] hover:no-underline disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-gray-light disabled:text-black disabled:before:bg-black-off hover:[&>span]:text-[inherit]", + "relative block w-full select-none rounded-md border border-solid border-black px-x4 py-[18px] font-inter text-[15px]/[20px] text-black transition [transform-style:preserve-3d] hover:no-underline disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-gray-light disabled:text-black disabled:before:bg-black-off hover:[&>span]:text-[inherit]", { variants: { fullwidth: { true: "", false: "max-w-[200px]" }, diff --git a/src/components/_shared/index.tsx b/src/components/_shared/index.tsx index 7e6085e0..fa193478 100644 --- a/src/components/_shared/index.tsx +++ b/src/components/_shared/index.tsx @@ -33,8 +33,6 @@ export { TabList } from "./tabs/tab-list.component"; export { Tab } from "./tabs/tab.component"; export { Textarea } from "./textarea/textarea.component"; export { ThemeSwitch } from "./theme-switch/theme-switch.component"; -export { LoadingState } from "./vote-loading-state/vote-loading-state"; -export { VotingCardTitle } from "./vote-voting-card-title/voting-card-title"; export { WalletAddressWithCopy } from "./wallet-address-with-copy/wallet-address-with-copy.component"; export { DisconnectButton } from "./disconnect-button"; export { MaxWidthWrapper } from "./max-width-wrapper"; diff --git a/src/components/_shared/mento-lock/components/locking-button.tsx b/src/components/_shared/mento-lock/components/locking-button.tsx index 4987867e..03c71386 100644 --- a/src/components/_shared/mento-lock/components/locking-button.tsx +++ b/src/components/_shared/mento-lock/components/locking-button.tsx @@ -23,11 +23,7 @@ export const LockingButton = () => { handleSubmit, } = useFormContext(); - const { activeLocks } = useLockInfo(address); - - const hasActiveLocks = React.useMemo(() => { - return activeLocks.length > 0; - }, [activeLocks]); + const { hasActiveLock } = useLockInfo(address); const amount = watch(LOCKING_AMOUNT_FORM_KEY); @@ -44,18 +40,18 @@ export const LockingButton = () => { return <>Approve MENTO; } - if (hasActiveLocks) { + if (hasActiveLock) { return <>You have an existing lock, re-lock above ; } return <>Lock MENTO; - }, [CreateLockApprovalStatus, amount, hasActiveLocks, isBalanceInsufficient]); + }, [CreateLockApprovalStatus, amount, hasActiveLock, isBalanceInsufficient]); const shouldButtonBeDisabled = !isValid || isBalanceInsufficient || CreateLockTxStatus === CREATE_LOCK_TX_STATUS.CONFIRMING_APPROVE_TX || CreateLockTxStatus === CREATE_LOCK_TX_STATUS.AWAITING_SIGNATURE || - hasActiveLocks; + hasActiveLock; return (
); diff --git a/src/components/countdown/countdown.component.tsx b/src/components/countdown/countdown.component.tsx index db97320e..87bc0e6a 100644 --- a/src/components/countdown/countdown.component.tsx +++ b/src/components/countdown/countdown.component.tsx @@ -50,7 +50,7 @@ export const Countdown = ({ return (
{days} days
-
+
{ - return :; + return ( + + : + + ); }; const CountdownNumber = ({ children }: { children: React.ReactNode }) => { return ( -
+
{children}
); diff --git a/src/config/config.constants.ts b/src/config/config.constants.ts index b1718ac4..d88179d9 100644 --- a/src/config/config.constants.ts +++ b/src/config/config.constants.ts @@ -17,3 +17,5 @@ export const getSubgraphApiName = (chainId: number | undefined) => { if (!chainId || !isValidChainId(chainId)) return subgraphApiNames[0]; return subgraphApiNames[chainId]; }; + +export const CELO_BLOCK_TIME = 5000; // 5 seconds diff --git a/src/lib/contracts/governor/useProposal.ts b/src/lib/contracts/governor/useProposal.ts index 85768c77..93855ad0 100644 --- a/src/lib/contracts/governor/useProposal.ts +++ b/src/lib/contracts/governor/useProposal.ts @@ -13,7 +13,7 @@ import { useEnsureChainId } from "@/lib/hooks/useEnsureChainId"; import { NetworkStatus } from "@apollo/client"; import { useEffect, useMemo } from "react"; import { useBlockNumber, useReadContract } from "wagmi"; - +import { CELO_BLOCK_TIME } from "@/config/config.constants"; export const ProposalQueryKey = "proposal"; const useProposal = (proposalId: bigint) => { @@ -50,7 +50,7 @@ const useProposal = (proposalId: bigint) => { scopeKey: ProposalQueryKey, chainId: ensuredChainId, query: { - refetchInterval: 5000, + refetchInterval: CELO_BLOCK_TIME, enabled: graphNetworkStatus === NetworkStatus.ready && graphProposals.length > 0, }, diff --git a/src/lib/contracts/useTokens.ts b/src/lib/contracts/useTokens.ts index 63655b99..1e91633c 100644 --- a/src/lib/contracts/useTokens.ts +++ b/src/lib/contracts/useTokens.ts @@ -6,6 +6,7 @@ import { erc20Abi } from "viem"; import { useQueryClient } from "@tanstack/react-query"; import { formatUnitsWithRadix } from "@/lib/helpers/numbers.service"; import { useEnsureChainId } from "@/lib/hooks/useEnsureChainId"; +import { CELO_BLOCK_TIME } from "@/config/config.constants"; export type TokenBalance = { decimals: number; @@ -155,7 +156,7 @@ export const useTokens = () => { ], scopeKey: "token-hook", query: { - refetchInterval: 5000, + refetchInterval: CELO_BLOCK_TIME, enabled: isConnected && !!address, // initialData: [0n, 0n], }, From e529c3bec7f100d41f6e072680c5bbc43199f6ea Mon Sep 17 00:00:00 2001 From: chapati Date: Tue, 5 Nov 2024 10:45:15 +0100 Subject: [PATCH 5/7] Change "Voters" to "Registered Voters" in Proposal Summary section on landing page (#244) --- .secretlintignore | 1 + .../proposal-summary.component.tsx | 23 ++++++++++--------- .../proposals-list.component.tsx | 13 +++++------ 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.secretlintignore b/.secretlintignore index f09d69ff..afa78291 100644 --- a/.secretlintignore +++ b/.secretlintignore @@ -1,3 +1,4 @@ +.trunk .env*.local .next node_modules diff --git a/src/components/proposal-summary/proposal-summary.component.tsx b/src/components/proposal-summary/proposal-summary.component.tsx index 4de80e61..c742b407 100644 --- a/src/components/proposal-summary/proposal-summary.component.tsx +++ b/src/components/proposal-summary/proposal-summary.component.tsx @@ -1,18 +1,18 @@ -import { Suspense, useMemo } from "react"; -import { formatUnits } from "viem"; -import { useAccount, useBlockNumber } from "wagmi"; import { Card } from "@/components/_shared"; import useProposals from "@/lib/contracts/governor/useProposals"; -import useLockingWeek from "@/lib/contracts/locking/useLockingWeek"; import useAllLocks from "@/lib/contracts/locking/useAllLocks"; +import useLockingWeek from "@/lib/contracts/locking/useLockingWeek"; import useTokens from "@/lib/contracts/useTokens"; -import NumbersService from "@/lib/helpers/numbers.service"; import { ensureChainId } from "@/lib/helpers/ensureChainId"; +import NumbersService from "@/lib/helpers/numbers.service"; +import { Suspense, useMemo } from "react"; +import { formatUnits } from "viem"; +import { useAccount, useBlockNumber } from "wagmi"; export const ProposalSummaryComponent = () => { return ( -
+
}> @@ -73,7 +73,7 @@ const ContractDataGrid = () => { <> - + { return ( -
+
{value}
-
{label}
+
{label}
); }; + const ContractDataSkeleton = ({ label }: { label: string }) => { return ( -
+
000
@@ -113,7 +114,7 @@ const ContractDataGridSkeleton = () => { <> - + ); diff --git a/src/components/proposals-list/proposals-list.component.tsx b/src/components/proposals-list/proposals-list.component.tsx index 578a1bab..89179588 100644 --- a/src/components/proposals-list/proposals-list.component.tsx +++ b/src/components/proposals-list/proposals-list.component.tsx @@ -1,22 +1,21 @@ "use client"; +import { ProgressBar, Status } from "@/components/_shared"; +import useProposals from "@/lib/contracts/governor/useProposals"; +import { Proposal } from "@/lib/graphql/subgraph/generated/subgraph"; import NumbersService from "@/lib/helpers/numbers.service"; import StringService from "@/lib/helpers/string.service"; import BaseComponentProps from "@/lib/interfaces/base-component-props.interface"; -import { ProgressBar, Status } from "@/components/_shared"; -import Link from "next/link"; import { stateToStatusColorMap } from "@/lib/interfaces/proposal.interface"; +import Link from "next/link"; import { formatUnits } from "viem"; -import useProposals from "@/lib/contracts/governor/useProposals"; -import { Proposal } from "@/lib/graphql/subgraph/generated/subgraph"; -import { EmptyProposals } from "../_icons"; -import { MentoIcon } from "../_icons"; +import { EmptyProposals, MentoIcon } from "../_icons"; interface ProposalsListProps extends BaseComponentProps {} export const ProposalsListComponent = ({ className }: ProposalsListProps) => { return (
-

+

Proposals

From b51fd3e18f1ec4354ab878591a4f31f18ba5d2e3 Mon Sep 17 00:00:00 2001 From: Philip Paetz Date: Tue, 5 Nov 2024 10:54:47 +0100 Subject: [PATCH 6/7] fix: updated eslintignore path to generated subgraph files --- .eslintignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintignore b/.eslintignore index ed13b0e4..1c8a578e 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1 @@ -app/graphql/**/generated \ No newline at end of file +lib/graphql/**/generated \ No newline at end of file From 6a0e554279b7869368d601a3f730aea182f8f5db Mon Sep 17 00:00:00 2001 From: Philip Paetz Date: Tue, 5 Nov 2024 10:55:22 +0100 Subject: [PATCH 7/7] chore: regenerated subgraph.tsx without eslint/prettier --- .../graphql/subgraph/generated/subgraph.tsx | 12321 +++++++--------- 1 file changed, 5733 insertions(+), 6588 deletions(-) diff --git a/src/lib/graphql/subgraph/generated/subgraph.tsx b/src/lib/graphql/subgraph/generated/subgraph.tsx index ed52a5ca..88ca6125 100644 --- a/src/lib/graphql/subgraph/generated/subgraph.tsx +++ b/src/lib/graphql/subgraph/generated/subgraph.tsx @@ -1,76 +1,59 @@ /* eslint-disable */ -import * as Apollo from "@apollo/client"; -import { gql } from "@apollo/client"; -import { - FieldPolicy, - FieldReadFunction, - TypePolicies, - TypePolicy, -} from "@apollo/client/cache"; +import { gql } from '@apollo/client'; +import * as Apollo from '@apollo/client'; +import { FieldPolicy, FieldReadFunction, TypePolicies, TypePolicy } from '@apollo/client/cache'; export type Maybe = T | null; export type InputMaybe = Maybe; -export type Exact = { - [K in keyof T]: T[K]; -}; -export type MakeOptional = Omit & { - [SubKey in K]?: Maybe; -}; -export type MakeMaybe = Omit & { - [SubKey in K]: Maybe; -}; -export type MakeEmpty< - T extends { [key: string]: unknown }, - K extends keyof T, -> = { [_ in K]?: never }; -export type Incremental = - | T - | { - [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never; - }; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type MakeEmpty = { [_ in K]?: never }; +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; const defaultOptions = {} as const; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string }; - String: { input: string; output: string }; - Boolean: { input: boolean; output: boolean }; - Int: { input: number; output: number }; - Float: { input: number; output: number }; - BigDecimal: { input: any; output: any }; - BigInt: { input: any; output: any }; - Bytes: { input: any; output: any }; + ID: { input: string; output: string; } + String: { input: string; output: string; } + Boolean: { input: boolean; output: boolean; } + Int: { input: number; output: number; } + Float: { input: number; output: number; } + BigDecimal: { input: any; output: any; } + BigInt: { input: any; output: any; } + Bytes: { input: any; output: any; } /** * 8 bytes signed integer * */ - Int8: { input: any; output: any }; + Int8: { input: any; output: any; } /** * A string representation of microseconds UNIX timestamp (16 digits) * */ - Timestamp: { input: any; output: any }; + Timestamp: { input: any; output: any; } }; export type AccessControl = { - __typename?: "AccessControl"; + __typename?: 'AccessControl'; asAccount: Account; - id: Scalars["Bytes"]["output"]; + id: Scalars['Bytes']['output']; roles: Array; }; + export type AccessControlRolesArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; export type AccessControlRole = { - __typename?: "AccessControlRole"; + __typename?: 'AccessControlRole'; admin: AccessControlRole; adminOf: Array; contract: AccessControl; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; members: Array; role: Role; roleAdminChanged: Array; @@ -78,268 +61,269 @@ export type AccessControlRole = { roleRevoked: Array; }; + export type AccessControlRoleAdminOfArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccessControlRoleMembersArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccessControlRoleRoleAdminChangedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccessControlRoleRoleGrantedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccessControlRoleRoleRevokedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; export type AccessControlRoleMember = { - __typename?: "AccessControlRoleMember"; + __typename?: 'AccessControlRoleMember'; accesscontrolrole: AccessControlRole; account: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; }; export type AccessControlRoleMember_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; - accesscontrolrole: InputMaybe; + accesscontrolrole: InputMaybe; accesscontrolrole_: InputMaybe; - accesscontrolrole_contains: InputMaybe; - accesscontrolrole_contains_nocase: InputMaybe; - accesscontrolrole_ends_with: InputMaybe; - accesscontrolrole_ends_with_nocase: InputMaybe; - accesscontrolrole_gt: InputMaybe; - accesscontrolrole_gte: InputMaybe; - accesscontrolrole_in: InputMaybe>; - accesscontrolrole_lt: InputMaybe; - accesscontrolrole_lte: InputMaybe; - accesscontrolrole_not: InputMaybe; - accesscontrolrole_not_contains: InputMaybe; - accesscontrolrole_not_contains_nocase: InputMaybe; - accesscontrolrole_not_ends_with: InputMaybe; - accesscontrolrole_not_ends_with_nocase: InputMaybe< - Scalars["String"]["input"] - >; - accesscontrolrole_not_in: InputMaybe>; - accesscontrolrole_not_starts_with: InputMaybe; - accesscontrolrole_not_starts_with_nocase: InputMaybe< - Scalars["String"]["input"] - >; - accesscontrolrole_starts_with: InputMaybe; - accesscontrolrole_starts_with_nocase: InputMaybe; - account: InputMaybe; + accesscontrolrole_contains: InputMaybe; + accesscontrolrole_contains_nocase: InputMaybe; + accesscontrolrole_ends_with: InputMaybe; + accesscontrolrole_ends_with_nocase: InputMaybe; + accesscontrolrole_gt: InputMaybe; + accesscontrolrole_gte: InputMaybe; + accesscontrolrole_in: InputMaybe>; + accesscontrolrole_lt: InputMaybe; + accesscontrolrole_lte: InputMaybe; + accesscontrolrole_not: InputMaybe; + accesscontrolrole_not_contains: InputMaybe; + accesscontrolrole_not_contains_nocase: InputMaybe; + accesscontrolrole_not_ends_with: InputMaybe; + accesscontrolrole_not_ends_with_nocase: InputMaybe; + accesscontrolrole_not_in: InputMaybe>; + accesscontrolrole_not_starts_with: InputMaybe; + accesscontrolrole_not_starts_with_nocase: InputMaybe; + accesscontrolrole_starts_with: InputMaybe; + accesscontrolrole_starts_with_nocase: InputMaybe; + account: InputMaybe; account_: InputMaybe; - account_contains: InputMaybe; - account_contains_nocase: InputMaybe; - account_ends_with: InputMaybe; - account_ends_with_nocase: InputMaybe; - account_gt: InputMaybe; - account_gte: InputMaybe; - account_in: InputMaybe>; - account_lt: InputMaybe; - account_lte: InputMaybe; - account_not: InputMaybe; - account_not_contains: InputMaybe; - account_not_contains_nocase: InputMaybe; - account_not_ends_with: InputMaybe; - account_not_ends_with_nocase: InputMaybe; - account_not_in: InputMaybe>; - account_not_starts_with: InputMaybe; - account_not_starts_with_nocase: InputMaybe; - account_starts_with: InputMaybe; - account_starts_with_nocase: InputMaybe; + account_contains: InputMaybe; + account_contains_nocase: InputMaybe; + account_ends_with: InputMaybe; + account_ends_with_nocase: InputMaybe; + account_gt: InputMaybe; + account_gte: InputMaybe; + account_in: InputMaybe>; + account_lt: InputMaybe; + account_lte: InputMaybe; + account_not: InputMaybe; + account_not_contains: InputMaybe; + account_not_contains_nocase: InputMaybe; + account_not_ends_with: InputMaybe; + account_not_ends_with_nocase: InputMaybe; + account_not_in: InputMaybe>; + account_not_starts_with: InputMaybe; + account_not_starts_with_nocase: InputMaybe; + account_starts_with: InputMaybe; + account_starts_with_nocase: InputMaybe; and: InputMaybe>>; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; }; export enum AccessControlRoleMember_OrderBy { - Accesscontrolrole = "accesscontrolrole", - AccesscontrolroleId = "accesscontrolrole__id", - Account = "account", - AccountId = "account__id", - Id = "id", + Accesscontrolrole = 'accesscontrolrole', + AccesscontrolroleId = 'accesscontrolrole__id', + Account = 'account', + AccountId = 'account__id', + Id = 'id' } export type AccessControlRole_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; - admin: InputMaybe; + admin: InputMaybe; adminOf_: InputMaybe; admin_: InputMaybe; - admin_contains: InputMaybe; - admin_contains_nocase: InputMaybe; - admin_ends_with: InputMaybe; - admin_ends_with_nocase: InputMaybe; - admin_gt: InputMaybe; - admin_gte: InputMaybe; - admin_in: InputMaybe>; - admin_lt: InputMaybe; - admin_lte: InputMaybe; - admin_not: InputMaybe; - admin_not_contains: InputMaybe; - admin_not_contains_nocase: InputMaybe; - admin_not_ends_with: InputMaybe; - admin_not_ends_with_nocase: InputMaybe; - admin_not_in: InputMaybe>; - admin_not_starts_with: InputMaybe; - admin_not_starts_with_nocase: InputMaybe; - admin_starts_with: InputMaybe; - admin_starts_with_nocase: InputMaybe; + admin_contains: InputMaybe; + admin_contains_nocase: InputMaybe; + admin_ends_with: InputMaybe; + admin_ends_with_nocase: InputMaybe; + admin_gt: InputMaybe; + admin_gte: InputMaybe; + admin_in: InputMaybe>; + admin_lt: InputMaybe; + admin_lte: InputMaybe; + admin_not: InputMaybe; + admin_not_contains: InputMaybe; + admin_not_contains_nocase: InputMaybe; + admin_not_ends_with: InputMaybe; + admin_not_ends_with_nocase: InputMaybe; + admin_not_in: InputMaybe>; + admin_not_starts_with: InputMaybe; + admin_not_starts_with_nocase: InputMaybe; + admin_starts_with: InputMaybe; + admin_starts_with_nocase: InputMaybe; and: InputMaybe>>; - contract: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; members_: InputMaybe; or: InputMaybe>>; - role: InputMaybe; + role: InputMaybe; roleAdminChanged_: InputMaybe; roleGranted_: InputMaybe; roleRevoked_: InputMaybe; role_: InputMaybe; - role_contains: InputMaybe; - role_contains_nocase: InputMaybe; - role_ends_with: InputMaybe; - role_ends_with_nocase: InputMaybe; - role_gt: InputMaybe; - role_gte: InputMaybe; - role_in: InputMaybe>; - role_lt: InputMaybe; - role_lte: InputMaybe; - role_not: InputMaybe; - role_not_contains: InputMaybe; - role_not_contains_nocase: InputMaybe; - role_not_ends_with: InputMaybe; - role_not_ends_with_nocase: InputMaybe; - role_not_in: InputMaybe>; - role_not_starts_with: InputMaybe; - role_not_starts_with_nocase: InputMaybe; - role_starts_with: InputMaybe; - role_starts_with_nocase: InputMaybe; + role_contains: InputMaybe; + role_contains_nocase: InputMaybe; + role_ends_with: InputMaybe; + role_ends_with_nocase: InputMaybe; + role_gt: InputMaybe; + role_gte: InputMaybe; + role_in: InputMaybe>; + role_lt: InputMaybe; + role_lte: InputMaybe; + role_not: InputMaybe; + role_not_contains: InputMaybe; + role_not_contains_nocase: InputMaybe; + role_not_ends_with: InputMaybe; + role_not_ends_with_nocase: InputMaybe; + role_not_in: InputMaybe>; + role_not_starts_with: InputMaybe; + role_not_starts_with_nocase: InputMaybe; + role_starts_with: InputMaybe; + role_starts_with_nocase: InputMaybe; }; export enum AccessControlRole_OrderBy { - Admin = "admin", - AdminOf = "adminOf", - AdminId = "admin__id", - Contract = "contract", - ContractId = "contract__id", - Id = "id", - Members = "members", - Role = "role", - RoleAdminChanged = "roleAdminChanged", - RoleGranted = "roleGranted", - RoleRevoked = "roleRevoked", - RoleId = "role__id", + Admin = 'admin', + AdminOf = 'adminOf', + AdminId = 'admin__id', + Contract = 'contract', + ContractId = 'contract__id', + Id = 'id', + Members = 'members', + Role = 'role', + RoleAdminChanged = 'roleAdminChanged', + RoleGranted = 'roleGranted', + RoleRevoked = 'roleRevoked', + RoleId = 'role__id' } export type AccessControl_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - asAccount: InputMaybe; + asAccount: InputMaybe; asAccount_: InputMaybe; - asAccount_contains: InputMaybe; - asAccount_contains_nocase: InputMaybe; - asAccount_ends_with: InputMaybe; - asAccount_ends_with_nocase: InputMaybe; - asAccount_gt: InputMaybe; - asAccount_gte: InputMaybe; - asAccount_in: InputMaybe>; - asAccount_lt: InputMaybe; - asAccount_lte: InputMaybe; - asAccount_not: InputMaybe; - asAccount_not_contains: InputMaybe; - asAccount_not_contains_nocase: InputMaybe; - asAccount_not_ends_with: InputMaybe; - asAccount_not_ends_with_nocase: InputMaybe; - asAccount_not_in: InputMaybe>; - asAccount_not_starts_with: InputMaybe; - asAccount_not_starts_with_nocase: InputMaybe; - asAccount_starts_with: InputMaybe; - asAccount_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_contains: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_contains: InputMaybe; - id_not_in: InputMaybe>; + asAccount_contains: InputMaybe; + asAccount_contains_nocase: InputMaybe; + asAccount_ends_with: InputMaybe; + asAccount_ends_with_nocase: InputMaybe; + asAccount_gt: InputMaybe; + asAccount_gte: InputMaybe; + asAccount_in: InputMaybe>; + asAccount_lt: InputMaybe; + asAccount_lte: InputMaybe; + asAccount_not: InputMaybe; + asAccount_not_contains: InputMaybe; + asAccount_not_contains_nocase: InputMaybe; + asAccount_not_ends_with: InputMaybe; + asAccount_not_ends_with_nocase: InputMaybe; + asAccount_not_in: InputMaybe>; + asAccount_not_starts_with: InputMaybe; + asAccount_not_starts_with_nocase: InputMaybe; + asAccount_starts_with: InputMaybe; + asAccount_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_contains: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_contains: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; roles_: InputMaybe; }; export enum AccessControl_OrderBy { - AsAccount = "asAccount", - AsAccountId = "asAccount__id", - Id = "id", - Roles = "roles", + AsAccount = 'asAccount', + AsAccountId = 'asAccount__id', + Id = 'id', + Roles = 'roles' } export type Account = { - __typename?: "Account"; + __typename?: 'Account'; asAccessControl: Maybe; asGovernor: Maybe; asLocking: Maybe; @@ -352,7 +336,7 @@ export type Account = { delegationFrom: Array; delegationTo: Array; events: Array; - id: Scalars["Bytes"]["output"]; + id: Scalars['Bytes']['output']; locks: Array; membership: Array; proposed: Array; @@ -366,147 +350,165 @@ export type Account = { voted: Array; }; + export type AccountDelegateChangedEventArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountDelegateChangedFromEventArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountDelegateChangedToEventArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountDelegateVotesChangedEventArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountDelegationFromArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountDelegationToArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountEventsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountLocksArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountMembershipArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountProposedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountProposedCallsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountRoleGrantedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountRoleGrantedSenderArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountRoleRevokedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountRoleRevokedSenderArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountTimelockedCallsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountVoteWeigthArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type AccountVotedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; @@ -514,113 +516,111 @@ export type Account_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - asAccessControl: InputMaybe; + asAccessControl: InputMaybe; asAccessControl_: InputMaybe; - asAccessControl_contains: InputMaybe; - asAccessControl_contains_nocase: InputMaybe; - asAccessControl_ends_with: InputMaybe; - asAccessControl_ends_with_nocase: InputMaybe; - asAccessControl_gt: InputMaybe; - asAccessControl_gte: InputMaybe; - asAccessControl_in: InputMaybe>; - asAccessControl_lt: InputMaybe; - asAccessControl_lte: InputMaybe; - asAccessControl_not: InputMaybe; - asAccessControl_not_contains: InputMaybe; - asAccessControl_not_contains_nocase: InputMaybe; - asAccessControl_not_ends_with: InputMaybe; - asAccessControl_not_ends_with_nocase: InputMaybe; - asAccessControl_not_in: InputMaybe>; - asAccessControl_not_starts_with: InputMaybe; - asAccessControl_not_starts_with_nocase: InputMaybe< - Scalars["String"]["input"] - >; - asAccessControl_starts_with: InputMaybe; - asAccessControl_starts_with_nocase: InputMaybe; - asGovernor: InputMaybe; + asAccessControl_contains: InputMaybe; + asAccessControl_contains_nocase: InputMaybe; + asAccessControl_ends_with: InputMaybe; + asAccessControl_ends_with_nocase: InputMaybe; + asAccessControl_gt: InputMaybe; + asAccessControl_gte: InputMaybe; + asAccessControl_in: InputMaybe>; + asAccessControl_lt: InputMaybe; + asAccessControl_lte: InputMaybe; + asAccessControl_not: InputMaybe; + asAccessControl_not_contains: InputMaybe; + asAccessControl_not_contains_nocase: InputMaybe; + asAccessControl_not_ends_with: InputMaybe; + asAccessControl_not_ends_with_nocase: InputMaybe; + asAccessControl_not_in: InputMaybe>; + asAccessControl_not_starts_with: InputMaybe; + asAccessControl_not_starts_with_nocase: InputMaybe; + asAccessControl_starts_with: InputMaybe; + asAccessControl_starts_with_nocase: InputMaybe; + asGovernor: InputMaybe; asGovernor_: InputMaybe; - asGovernor_contains: InputMaybe; - asGovernor_contains_nocase: InputMaybe; - asGovernor_ends_with: InputMaybe; - asGovernor_ends_with_nocase: InputMaybe; - asGovernor_gt: InputMaybe; - asGovernor_gte: InputMaybe; - asGovernor_in: InputMaybe>; - asGovernor_lt: InputMaybe; - asGovernor_lte: InputMaybe; - asGovernor_not: InputMaybe; - asGovernor_not_contains: InputMaybe; - asGovernor_not_contains_nocase: InputMaybe; - asGovernor_not_ends_with: InputMaybe; - asGovernor_not_ends_with_nocase: InputMaybe; - asGovernor_not_in: InputMaybe>; - asGovernor_not_starts_with: InputMaybe; - asGovernor_not_starts_with_nocase: InputMaybe; - asGovernor_starts_with: InputMaybe; - asGovernor_starts_with_nocase: InputMaybe; - asLocking: InputMaybe; + asGovernor_contains: InputMaybe; + asGovernor_contains_nocase: InputMaybe; + asGovernor_ends_with: InputMaybe; + asGovernor_ends_with_nocase: InputMaybe; + asGovernor_gt: InputMaybe; + asGovernor_gte: InputMaybe; + asGovernor_in: InputMaybe>; + asGovernor_lt: InputMaybe; + asGovernor_lte: InputMaybe; + asGovernor_not: InputMaybe; + asGovernor_not_contains: InputMaybe; + asGovernor_not_contains_nocase: InputMaybe; + asGovernor_not_ends_with: InputMaybe; + asGovernor_not_ends_with_nocase: InputMaybe; + asGovernor_not_in: InputMaybe>; + asGovernor_not_starts_with: InputMaybe; + asGovernor_not_starts_with_nocase: InputMaybe; + asGovernor_starts_with: InputMaybe; + asGovernor_starts_with_nocase: InputMaybe; + asLocking: InputMaybe; asLocking_: InputMaybe; - asLocking_contains: InputMaybe; - asLocking_contains_nocase: InputMaybe; - asLocking_ends_with: InputMaybe; - asLocking_ends_with_nocase: InputMaybe; - asLocking_gt: InputMaybe; - asLocking_gte: InputMaybe; - asLocking_in: InputMaybe>; - asLocking_lt: InputMaybe; - asLocking_lte: InputMaybe; - asLocking_not: InputMaybe; - asLocking_not_contains: InputMaybe; - asLocking_not_contains_nocase: InputMaybe; - asLocking_not_ends_with: InputMaybe; - asLocking_not_ends_with_nocase: InputMaybe; - asLocking_not_in: InputMaybe>; - asLocking_not_starts_with: InputMaybe; - asLocking_not_starts_with_nocase: InputMaybe; - asLocking_starts_with: InputMaybe; - asLocking_starts_with_nocase: InputMaybe; - asTimelock: InputMaybe; + asLocking_contains: InputMaybe; + asLocking_contains_nocase: InputMaybe; + asLocking_ends_with: InputMaybe; + asLocking_ends_with_nocase: InputMaybe; + asLocking_gt: InputMaybe; + asLocking_gte: InputMaybe; + asLocking_in: InputMaybe>; + asLocking_lt: InputMaybe; + asLocking_lte: InputMaybe; + asLocking_not: InputMaybe; + asLocking_not_contains: InputMaybe; + asLocking_not_contains_nocase: InputMaybe; + asLocking_not_ends_with: InputMaybe; + asLocking_not_ends_with_nocase: InputMaybe; + asLocking_not_in: InputMaybe>; + asLocking_not_starts_with: InputMaybe; + asLocking_not_starts_with_nocase: InputMaybe; + asLocking_starts_with: InputMaybe; + asLocking_starts_with_nocase: InputMaybe; + asTimelock: InputMaybe; asTimelock_: InputMaybe; - asTimelock_contains: InputMaybe; - asTimelock_contains_nocase: InputMaybe; - asTimelock_ends_with: InputMaybe; - asTimelock_ends_with_nocase: InputMaybe; - asTimelock_gt: InputMaybe; - asTimelock_gte: InputMaybe; - asTimelock_in: InputMaybe>; - asTimelock_lt: InputMaybe; - asTimelock_lte: InputMaybe; - asTimelock_not: InputMaybe; - asTimelock_not_contains: InputMaybe; - asTimelock_not_contains_nocase: InputMaybe; - asTimelock_not_ends_with: InputMaybe; - asTimelock_not_ends_with_nocase: InputMaybe; - asTimelock_not_in: InputMaybe>; - asTimelock_not_starts_with: InputMaybe; - asTimelock_not_starts_with_nocase: InputMaybe; - asTimelock_starts_with: InputMaybe; - asTimelock_starts_with_nocase: InputMaybe; - asVoting: InputMaybe; + asTimelock_contains: InputMaybe; + asTimelock_contains_nocase: InputMaybe; + asTimelock_ends_with: InputMaybe; + asTimelock_ends_with_nocase: InputMaybe; + asTimelock_gt: InputMaybe; + asTimelock_gte: InputMaybe; + asTimelock_in: InputMaybe>; + asTimelock_lt: InputMaybe; + asTimelock_lte: InputMaybe; + asTimelock_not: InputMaybe; + asTimelock_not_contains: InputMaybe; + asTimelock_not_contains_nocase: InputMaybe; + asTimelock_not_ends_with: InputMaybe; + asTimelock_not_ends_with_nocase: InputMaybe; + asTimelock_not_in: InputMaybe>; + asTimelock_not_starts_with: InputMaybe; + asTimelock_not_starts_with_nocase: InputMaybe; + asTimelock_starts_with: InputMaybe; + asTimelock_starts_with_nocase: InputMaybe; + asVoting: InputMaybe; asVoting_: InputMaybe; - asVoting_contains: InputMaybe; - asVoting_contains_nocase: InputMaybe; - asVoting_ends_with: InputMaybe; - asVoting_ends_with_nocase: InputMaybe; - asVoting_gt: InputMaybe; - asVoting_gte: InputMaybe; - asVoting_in: InputMaybe>; - asVoting_lt: InputMaybe; - asVoting_lte: InputMaybe; - asVoting_not: InputMaybe; - asVoting_not_contains: InputMaybe; - asVoting_not_contains_nocase: InputMaybe; - asVoting_not_ends_with: InputMaybe; - asVoting_not_ends_with_nocase: InputMaybe; - asVoting_not_in: InputMaybe>; - asVoting_not_starts_with: InputMaybe; - asVoting_not_starts_with_nocase: InputMaybe; - asVoting_starts_with: InputMaybe; - asVoting_starts_with_nocase: InputMaybe; + asVoting_contains: InputMaybe; + asVoting_contains_nocase: InputMaybe; + asVoting_ends_with: InputMaybe; + asVoting_ends_with_nocase: InputMaybe; + asVoting_gt: InputMaybe; + asVoting_gte: InputMaybe; + asVoting_in: InputMaybe>; + asVoting_lt: InputMaybe; + asVoting_lte: InputMaybe; + asVoting_not: InputMaybe; + asVoting_not_contains: InputMaybe; + asVoting_not_contains_nocase: InputMaybe; + asVoting_not_ends_with: InputMaybe; + asVoting_not_ends_with_nocase: InputMaybe; + asVoting_not_in: InputMaybe>; + asVoting_not_starts_with: InputMaybe; + asVoting_not_starts_with_nocase: InputMaybe; + asVoting_starts_with: InputMaybe; + asVoting_starts_with_nocase: InputMaybe; delegateChangedEvent_: InputMaybe; delegateChangedFromEvent_: InputMaybe; delegateChangedToEvent_: InputMaybe; @@ -628,16 +628,16 @@ export type Account_Filter = { delegationFrom_: InputMaybe; delegationTo_: InputMaybe; events_: InputMaybe; - id: InputMaybe; - id_contains: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_contains: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_contains: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_contains: InputMaybe; + id_not_in: InputMaybe>; locks_: InputMaybe; membership_: InputMaybe; or: InputMaybe>>; @@ -653,75 +653,75 @@ export type Account_Filter = { }; export enum Account_OrderBy { - AsAccessControl = "asAccessControl", - AsAccessControlId = "asAccessControl__id", - AsGovernor = "asGovernor", - AsGovernorId = "asGovernor__id", - AsGovernorMode = "asGovernor__mode", - AsLocking = "asLocking", - AsLockingId = "asLocking__id", - AsLockingMode = "asLocking__mode", - AsTimelock = "asTimelock", - AsTimelockId = "asTimelock__id", - AsVoting = "asVoting", - AsVotingId = "asVoting__id", - DelegateChangedEvent = "delegateChangedEvent", - DelegateChangedFromEvent = "delegateChangedFromEvent", - DelegateChangedToEvent = "delegateChangedToEvent", - DelegateVotesChangedEvent = "delegateVotesChangedEvent", - DelegationFrom = "delegationFrom", - DelegationTo = "delegationTo", - Events = "events", - Id = "id", - Locks = "locks", - Membership = "membership", - Proposed = "proposed", - ProposedCalls = "proposedCalls", - RoleGranted = "roleGranted", - RoleGrantedSender = "roleGrantedSender", - RoleRevoked = "roleRevoked", - RoleRevokedSender = "roleRevokedSender", - TimelockedCalls = "timelockedCalls", - VoteWeigth = "voteWeigth", - Voted = "voted", + AsAccessControl = 'asAccessControl', + AsAccessControlId = 'asAccessControl__id', + AsGovernor = 'asGovernor', + AsGovernorId = 'asGovernor__id', + AsGovernorMode = 'asGovernor__mode', + AsLocking = 'asLocking', + AsLockingId = 'asLocking__id', + AsLockingMode = 'asLocking__mode', + AsTimelock = 'asTimelock', + AsTimelockId = 'asTimelock__id', + AsVoting = 'asVoting', + AsVotingId = 'asVoting__id', + DelegateChangedEvent = 'delegateChangedEvent', + DelegateChangedFromEvent = 'delegateChangedFromEvent', + DelegateChangedToEvent = 'delegateChangedToEvent', + DelegateVotesChangedEvent = 'delegateVotesChangedEvent', + DelegationFrom = 'delegationFrom', + DelegationTo = 'delegationTo', + Events = 'events', + Id = 'id', + Locks = 'locks', + Membership = 'membership', + Proposed = 'proposed', + ProposedCalls = 'proposedCalls', + RoleGranted = 'roleGranted', + RoleGrantedSender = 'roleGrantedSender', + RoleRevoked = 'roleRevoked', + RoleRevokedSender = 'roleRevokedSender', + TimelockedCalls = 'timelockedCalls', + VoteWeigth = 'voteWeigth', + Voted = 'voted' } export enum Aggregation_Interval { - Day = "day", - Hour = "hour", + Day = 'day', + Hour = 'hour' } export type BlockChangedFilter = { - number_gte: Scalars["Int"]["input"]; + number_gte: Scalars['Int']['input']; }; export type Block_Height = { - hash: InputMaybe; - number: InputMaybe; - number_gte: InputMaybe; + hash: InputMaybe; + number: InputMaybe; + number_gte: InputMaybe; }; export type Delegate = Event & { - __typename?: "Delegate"; + __typename?: 'Delegate'; delegate: Account; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; lock: Lock; locking: Locking; owner: Account; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; export type DelegateChanged = Event & { - __typename?: "DelegateChanged"; + __typename?: 'DelegateChanged'; contract: VotingContract; delegation: Maybe; delegator: Account; emitter: Account; fromDelegate: Account; - id: Scalars["ID"]["output"]; - timestamp: Scalars["BigInt"]["output"]; + id: Scalars['ID']['output']; + timestamp: Scalars['BigInt']['output']; toDelegate: Account; transaction: Transaction; }; @@ -730,202 +730,202 @@ export type DelegateChanged_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - contract: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; - delegation: InputMaybe; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; + delegation: InputMaybe; delegation_: InputMaybe; - delegation_contains: InputMaybe; - delegation_contains_nocase: InputMaybe; - delegation_ends_with: InputMaybe; - delegation_ends_with_nocase: InputMaybe; - delegation_gt: InputMaybe; - delegation_gte: InputMaybe; - delegation_in: InputMaybe>; - delegation_lt: InputMaybe; - delegation_lte: InputMaybe; - delegation_not: InputMaybe; - delegation_not_contains: InputMaybe; - delegation_not_contains_nocase: InputMaybe; - delegation_not_ends_with: InputMaybe; - delegation_not_ends_with_nocase: InputMaybe; - delegation_not_in: InputMaybe>; - delegation_not_starts_with: InputMaybe; - delegation_not_starts_with_nocase: InputMaybe; - delegation_starts_with: InputMaybe; - delegation_starts_with_nocase: InputMaybe; - delegator: InputMaybe; + delegation_contains: InputMaybe; + delegation_contains_nocase: InputMaybe; + delegation_ends_with: InputMaybe; + delegation_ends_with_nocase: InputMaybe; + delegation_gt: InputMaybe; + delegation_gte: InputMaybe; + delegation_in: InputMaybe>; + delegation_lt: InputMaybe; + delegation_lte: InputMaybe; + delegation_not: InputMaybe; + delegation_not_contains: InputMaybe; + delegation_not_contains_nocase: InputMaybe; + delegation_not_ends_with: InputMaybe; + delegation_not_ends_with_nocase: InputMaybe; + delegation_not_in: InputMaybe>; + delegation_not_starts_with: InputMaybe; + delegation_not_starts_with_nocase: InputMaybe; + delegation_starts_with: InputMaybe; + delegation_starts_with_nocase: InputMaybe; + delegator: InputMaybe; delegator_: InputMaybe; - delegator_contains: InputMaybe; - delegator_contains_nocase: InputMaybe; - delegator_ends_with: InputMaybe; - delegator_ends_with_nocase: InputMaybe; - delegator_gt: InputMaybe; - delegator_gte: InputMaybe; - delegator_in: InputMaybe>; - delegator_lt: InputMaybe; - delegator_lte: InputMaybe; - delegator_not: InputMaybe; - delegator_not_contains: InputMaybe; - delegator_not_contains_nocase: InputMaybe; - delegator_not_ends_with: InputMaybe; - delegator_not_ends_with_nocase: InputMaybe; - delegator_not_in: InputMaybe>; - delegator_not_starts_with: InputMaybe; - delegator_not_starts_with_nocase: InputMaybe; - delegator_starts_with: InputMaybe; - delegator_starts_with_nocase: InputMaybe; - emitter: InputMaybe; + delegator_contains: InputMaybe; + delegator_contains_nocase: InputMaybe; + delegator_ends_with: InputMaybe; + delegator_ends_with_nocase: InputMaybe; + delegator_gt: InputMaybe; + delegator_gte: InputMaybe; + delegator_in: InputMaybe>; + delegator_lt: InputMaybe; + delegator_lte: InputMaybe; + delegator_not: InputMaybe; + delegator_not_contains: InputMaybe; + delegator_not_contains_nocase: InputMaybe; + delegator_not_ends_with: InputMaybe; + delegator_not_ends_with_nocase: InputMaybe; + delegator_not_in: InputMaybe>; + delegator_not_starts_with: InputMaybe; + delegator_not_starts_with_nocase: InputMaybe; + delegator_starts_with: InputMaybe; + delegator_starts_with_nocase: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - fromDelegate: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + fromDelegate: InputMaybe; fromDelegate_: InputMaybe; - fromDelegate_contains: InputMaybe; - fromDelegate_contains_nocase: InputMaybe; - fromDelegate_ends_with: InputMaybe; - fromDelegate_ends_with_nocase: InputMaybe; - fromDelegate_gt: InputMaybe; - fromDelegate_gte: InputMaybe; - fromDelegate_in: InputMaybe>; - fromDelegate_lt: InputMaybe; - fromDelegate_lte: InputMaybe; - fromDelegate_not: InputMaybe; - fromDelegate_not_contains: InputMaybe; - fromDelegate_not_contains_nocase: InputMaybe; - fromDelegate_not_ends_with: InputMaybe; - fromDelegate_not_ends_with_nocase: InputMaybe; - fromDelegate_not_in: InputMaybe>; - fromDelegate_not_starts_with: InputMaybe; - fromDelegate_not_starts_with_nocase: InputMaybe; - fromDelegate_starts_with: InputMaybe; - fromDelegate_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + fromDelegate_contains: InputMaybe; + fromDelegate_contains_nocase: InputMaybe; + fromDelegate_ends_with: InputMaybe; + fromDelegate_ends_with_nocase: InputMaybe; + fromDelegate_gt: InputMaybe; + fromDelegate_gte: InputMaybe; + fromDelegate_in: InputMaybe>; + fromDelegate_lt: InputMaybe; + fromDelegate_lte: InputMaybe; + fromDelegate_not: InputMaybe; + fromDelegate_not_contains: InputMaybe; + fromDelegate_not_contains_nocase: InputMaybe; + fromDelegate_not_ends_with: InputMaybe; + fromDelegate_not_ends_with_nocase: InputMaybe; + fromDelegate_not_in: InputMaybe>; + fromDelegate_not_starts_with: InputMaybe; + fromDelegate_not_starts_with_nocase: InputMaybe; + fromDelegate_starts_with: InputMaybe; + fromDelegate_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - toDelegate: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + toDelegate: InputMaybe; toDelegate_: InputMaybe; - toDelegate_contains: InputMaybe; - toDelegate_contains_nocase: InputMaybe; - toDelegate_ends_with: InputMaybe; - toDelegate_ends_with_nocase: InputMaybe; - toDelegate_gt: InputMaybe; - toDelegate_gte: InputMaybe; - toDelegate_in: InputMaybe>; - toDelegate_lt: InputMaybe; - toDelegate_lte: InputMaybe; - toDelegate_not: InputMaybe; - toDelegate_not_contains: InputMaybe; - toDelegate_not_contains_nocase: InputMaybe; - toDelegate_not_ends_with: InputMaybe; - toDelegate_not_ends_with_nocase: InputMaybe; - toDelegate_not_in: InputMaybe>; - toDelegate_not_starts_with: InputMaybe; - toDelegate_not_starts_with_nocase: InputMaybe; - toDelegate_starts_with: InputMaybe; - toDelegate_starts_with_nocase: InputMaybe; - transaction: InputMaybe; + toDelegate_contains: InputMaybe; + toDelegate_contains_nocase: InputMaybe; + toDelegate_ends_with: InputMaybe; + toDelegate_ends_with_nocase: InputMaybe; + toDelegate_gt: InputMaybe; + toDelegate_gte: InputMaybe; + toDelegate_in: InputMaybe>; + toDelegate_lt: InputMaybe; + toDelegate_lte: InputMaybe; + toDelegate_not: InputMaybe; + toDelegate_not_contains: InputMaybe; + toDelegate_not_contains_nocase: InputMaybe; + toDelegate_not_ends_with: InputMaybe; + toDelegate_not_ends_with_nocase: InputMaybe; + toDelegate_not_in: InputMaybe>; + toDelegate_not_starts_with: InputMaybe; + toDelegate_not_starts_with_nocase: InputMaybe; + toDelegate_starts_with: InputMaybe; + toDelegate_starts_with_nocase: InputMaybe; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum DelegateChanged_OrderBy { - Contract = "contract", - ContractId = "contract__id", - Delegation = "delegation", - DelegationId = "delegation__id", - Delegator = "delegator", - DelegatorId = "delegator__id", - Emitter = "emitter", - EmitterId = "emitter__id", - FromDelegate = "fromDelegate", - FromDelegateId = "fromDelegate__id", - Id = "id", - Timestamp = "timestamp", - ToDelegate = "toDelegate", - ToDelegateId = "toDelegate__id", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Contract = 'contract', + ContractId = 'contract__id', + Delegation = 'delegation', + DelegationId = 'delegation__id', + Delegator = 'delegator', + DelegatorId = 'delegator__id', + Emitter = 'emitter', + EmitterId = 'emitter__id', + FromDelegate = 'fromDelegate', + FromDelegateId = 'fromDelegate__id', + Id = 'id', + Timestamp = 'timestamp', + ToDelegate = 'toDelegate', + ToDelegateId = 'toDelegate__id', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type DelegateVotesChanged = Event & { - __typename?: "DelegateVotesChanged"; + __typename?: 'DelegateVotesChanged'; contract: VotingContract; delegate: Account; emitter: Account; - id: Scalars["ID"]["output"]; - newValue: Scalars["BigInt"]["output"]; - oldValue: Scalars["BigInt"]["output"]; - timestamp: Scalars["BigInt"]["output"]; + id: Scalars['ID']['output']; + newValue: Scalars['BigInt']['output']; + oldValue: Scalars['BigInt']['output']; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; voteWeight: Maybe; }; @@ -934,345 +934,345 @@ export type DelegateVotesChanged_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - contract: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; - delegate: InputMaybe; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; + delegate: InputMaybe; delegate_: InputMaybe; - delegate_contains: InputMaybe; - delegate_contains_nocase: InputMaybe; - delegate_ends_with: InputMaybe; - delegate_ends_with_nocase: InputMaybe; - delegate_gt: InputMaybe; - delegate_gte: InputMaybe; - delegate_in: InputMaybe>; - delegate_lt: InputMaybe; - delegate_lte: InputMaybe; - delegate_not: InputMaybe; - delegate_not_contains: InputMaybe; - delegate_not_contains_nocase: InputMaybe; - delegate_not_ends_with: InputMaybe; - delegate_not_ends_with_nocase: InputMaybe; - delegate_not_in: InputMaybe>; - delegate_not_starts_with: InputMaybe; - delegate_not_starts_with_nocase: InputMaybe; - delegate_starts_with: InputMaybe; - delegate_starts_with_nocase: InputMaybe; - emitter: InputMaybe; + delegate_contains: InputMaybe; + delegate_contains_nocase: InputMaybe; + delegate_ends_with: InputMaybe; + delegate_ends_with_nocase: InputMaybe; + delegate_gt: InputMaybe; + delegate_gte: InputMaybe; + delegate_in: InputMaybe>; + delegate_lt: InputMaybe; + delegate_lte: InputMaybe; + delegate_not: InputMaybe; + delegate_not_contains: InputMaybe; + delegate_not_contains_nocase: InputMaybe; + delegate_not_ends_with: InputMaybe; + delegate_not_ends_with_nocase: InputMaybe; + delegate_not_in: InputMaybe>; + delegate_not_starts_with: InputMaybe; + delegate_not_starts_with_nocase: InputMaybe; + delegate_starts_with: InputMaybe; + delegate_starts_with_nocase: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - newValue: InputMaybe; - newValue_gt: InputMaybe; - newValue_gte: InputMaybe; - newValue_in: InputMaybe>; - newValue_lt: InputMaybe; - newValue_lte: InputMaybe; - newValue_not: InputMaybe; - newValue_not_in: InputMaybe>; - oldValue: InputMaybe; - oldValue_gt: InputMaybe; - oldValue_gte: InputMaybe; - oldValue_in: InputMaybe>; - oldValue_lt: InputMaybe; - oldValue_lte: InputMaybe; - oldValue_not: InputMaybe; - oldValue_not_in: InputMaybe>; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + newValue: InputMaybe; + newValue_gt: InputMaybe; + newValue_gte: InputMaybe; + newValue_in: InputMaybe>; + newValue_lt: InputMaybe; + newValue_lte: InputMaybe; + newValue_not: InputMaybe; + newValue_not_in: InputMaybe>; + oldValue: InputMaybe; + oldValue_gt: InputMaybe; + oldValue_gte: InputMaybe; + oldValue_in: InputMaybe>; + oldValue_lt: InputMaybe; + oldValue_lte: InputMaybe; + oldValue_not: InputMaybe; + oldValue_not_in: InputMaybe>; or: InputMaybe>>; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; - voteWeight: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; + voteWeight: InputMaybe; voteWeight_: InputMaybe; - voteWeight_contains: InputMaybe; - voteWeight_contains_nocase: InputMaybe; - voteWeight_ends_with: InputMaybe; - voteWeight_ends_with_nocase: InputMaybe; - voteWeight_gt: InputMaybe; - voteWeight_gte: InputMaybe; - voteWeight_in: InputMaybe>; - voteWeight_lt: InputMaybe; - voteWeight_lte: InputMaybe; - voteWeight_not: InputMaybe; - voteWeight_not_contains: InputMaybe; - voteWeight_not_contains_nocase: InputMaybe; - voteWeight_not_ends_with: InputMaybe; - voteWeight_not_ends_with_nocase: InputMaybe; - voteWeight_not_in: InputMaybe>; - voteWeight_not_starts_with: InputMaybe; - voteWeight_not_starts_with_nocase: InputMaybe; - voteWeight_starts_with: InputMaybe; - voteWeight_starts_with_nocase: InputMaybe; + voteWeight_contains: InputMaybe; + voteWeight_contains_nocase: InputMaybe; + voteWeight_ends_with: InputMaybe; + voteWeight_ends_with_nocase: InputMaybe; + voteWeight_gt: InputMaybe; + voteWeight_gte: InputMaybe; + voteWeight_in: InputMaybe>; + voteWeight_lt: InputMaybe; + voteWeight_lte: InputMaybe; + voteWeight_not: InputMaybe; + voteWeight_not_contains: InputMaybe; + voteWeight_not_contains_nocase: InputMaybe; + voteWeight_not_ends_with: InputMaybe; + voteWeight_not_ends_with_nocase: InputMaybe; + voteWeight_not_in: InputMaybe>; + voteWeight_not_starts_with: InputMaybe; + voteWeight_not_starts_with_nocase: InputMaybe; + voteWeight_starts_with: InputMaybe; + voteWeight_starts_with_nocase: InputMaybe; }; export enum DelegateVotesChanged_OrderBy { - Contract = "contract", - ContractId = "contract__id", - Delegate = "delegate", - DelegateId = "delegate__id", - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - NewValue = "newValue", - OldValue = "oldValue", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", - VoteWeight = "voteWeight", - VoteWeightId = "voteWeight__id", - VoteWeightValue = "voteWeight__value", + Contract = 'contract', + ContractId = 'contract__id', + Delegate = 'delegate', + DelegateId = 'delegate__id', + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + NewValue = 'newValue', + OldValue = 'oldValue', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp', + VoteWeight = 'voteWeight', + VoteWeightId = 'voteWeight__id', + VoteWeightValue = 'voteWeight__value' } export type Delegate_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - delegate: InputMaybe; + delegate: InputMaybe; delegate_: InputMaybe; - delegate_contains: InputMaybe; - delegate_contains_nocase: InputMaybe; - delegate_ends_with: InputMaybe; - delegate_ends_with_nocase: InputMaybe; - delegate_gt: InputMaybe; - delegate_gte: InputMaybe; - delegate_in: InputMaybe>; - delegate_lt: InputMaybe; - delegate_lte: InputMaybe; - delegate_not: InputMaybe; - delegate_not_contains: InputMaybe; - delegate_not_contains_nocase: InputMaybe; - delegate_not_ends_with: InputMaybe; - delegate_not_ends_with_nocase: InputMaybe; - delegate_not_in: InputMaybe>; - delegate_not_starts_with: InputMaybe; - delegate_not_starts_with_nocase: InputMaybe; - delegate_starts_with: InputMaybe; - delegate_starts_with_nocase: InputMaybe; - emitter: InputMaybe; + delegate_contains: InputMaybe; + delegate_contains_nocase: InputMaybe; + delegate_ends_with: InputMaybe; + delegate_ends_with_nocase: InputMaybe; + delegate_gt: InputMaybe; + delegate_gte: InputMaybe; + delegate_in: InputMaybe>; + delegate_lt: InputMaybe; + delegate_lte: InputMaybe; + delegate_not: InputMaybe; + delegate_not_contains: InputMaybe; + delegate_not_contains_nocase: InputMaybe; + delegate_not_ends_with: InputMaybe; + delegate_not_ends_with_nocase: InputMaybe; + delegate_not_in: InputMaybe>; + delegate_not_starts_with: InputMaybe; + delegate_not_starts_with_nocase: InputMaybe; + delegate_starts_with: InputMaybe; + delegate_starts_with_nocase: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - lock: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + lock: InputMaybe; lock_: InputMaybe; - lock_contains: InputMaybe; - lock_contains_nocase: InputMaybe; - lock_ends_with: InputMaybe; - lock_ends_with_nocase: InputMaybe; - lock_gt: InputMaybe; - lock_gte: InputMaybe; - lock_in: InputMaybe>; - lock_lt: InputMaybe; - lock_lte: InputMaybe; - lock_not: InputMaybe; - lock_not_contains: InputMaybe; - lock_not_contains_nocase: InputMaybe; - lock_not_ends_with: InputMaybe; - lock_not_ends_with_nocase: InputMaybe; - lock_not_in: InputMaybe>; - lock_not_starts_with: InputMaybe; - lock_not_starts_with_nocase: InputMaybe; - lock_starts_with: InputMaybe; - lock_starts_with_nocase: InputMaybe; - locking: InputMaybe; + lock_contains: InputMaybe; + lock_contains_nocase: InputMaybe; + lock_ends_with: InputMaybe; + lock_ends_with_nocase: InputMaybe; + lock_gt: InputMaybe; + lock_gte: InputMaybe; + lock_in: InputMaybe>; + lock_lt: InputMaybe; + lock_lte: InputMaybe; + lock_not: InputMaybe; + lock_not_contains: InputMaybe; + lock_not_contains_nocase: InputMaybe; + lock_not_ends_with: InputMaybe; + lock_not_ends_with_nocase: InputMaybe; + lock_not_in: InputMaybe>; + lock_not_starts_with: InputMaybe; + lock_not_starts_with_nocase: InputMaybe; + lock_starts_with: InputMaybe; + lock_starts_with_nocase: InputMaybe; + locking: InputMaybe; locking_: InputMaybe; - locking_contains: InputMaybe; - locking_contains_nocase: InputMaybe; - locking_ends_with: InputMaybe; - locking_ends_with_nocase: InputMaybe; - locking_gt: InputMaybe; - locking_gte: InputMaybe; - locking_in: InputMaybe>; - locking_lt: InputMaybe; - locking_lte: InputMaybe; - locking_not: InputMaybe; - locking_not_contains: InputMaybe; - locking_not_contains_nocase: InputMaybe; - locking_not_ends_with: InputMaybe; - locking_not_ends_with_nocase: InputMaybe; - locking_not_in: InputMaybe>; - locking_not_starts_with: InputMaybe; - locking_not_starts_with_nocase: InputMaybe; - locking_starts_with: InputMaybe; - locking_starts_with_nocase: InputMaybe; + locking_contains: InputMaybe; + locking_contains_nocase: InputMaybe; + locking_ends_with: InputMaybe; + locking_ends_with_nocase: InputMaybe; + locking_gt: InputMaybe; + locking_gte: InputMaybe; + locking_in: InputMaybe>; + locking_lt: InputMaybe; + locking_lte: InputMaybe; + locking_not: InputMaybe; + locking_not_contains: InputMaybe; + locking_not_contains_nocase: InputMaybe; + locking_not_ends_with: InputMaybe; + locking_not_ends_with_nocase: InputMaybe; + locking_not_in: InputMaybe>; + locking_not_starts_with: InputMaybe; + locking_not_starts_with_nocase: InputMaybe; + locking_starts_with: InputMaybe; + locking_starts_with_nocase: InputMaybe; or: InputMaybe>>; - owner: InputMaybe; + owner: InputMaybe; owner_: InputMaybe; - owner_contains: InputMaybe; - owner_contains_nocase: InputMaybe; - owner_ends_with: InputMaybe; - owner_ends_with_nocase: InputMaybe; - owner_gt: InputMaybe; - owner_gte: InputMaybe; - owner_in: InputMaybe>; - owner_lt: InputMaybe; - owner_lte: InputMaybe; - owner_not: InputMaybe; - owner_not_contains: InputMaybe; - owner_not_contains_nocase: InputMaybe; - owner_not_ends_with: InputMaybe; - owner_not_ends_with_nocase: InputMaybe; - owner_not_in: InputMaybe>; - owner_not_starts_with: InputMaybe; - owner_not_starts_with_nocase: InputMaybe; - owner_starts_with: InputMaybe; - owner_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + owner_contains: InputMaybe; + owner_contains_nocase: InputMaybe; + owner_ends_with: InputMaybe; + owner_ends_with_nocase: InputMaybe; + owner_gt: InputMaybe; + owner_gte: InputMaybe; + owner_in: InputMaybe>; + owner_lt: InputMaybe; + owner_lte: InputMaybe; + owner_not: InputMaybe; + owner_not_contains: InputMaybe; + owner_not_contains_nocase: InputMaybe; + owner_not_ends_with: InputMaybe; + owner_not_ends_with_nocase: InputMaybe; + owner_not_in: InputMaybe>; + owner_not_starts_with: InputMaybe; + owner_not_starts_with_nocase: InputMaybe; + owner_starts_with: InputMaybe; + owner_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum Delegate_OrderBy { - Delegate = "delegate", - DelegateId = "delegate__id", - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Lock = "lock", - LockAmount = "lock__amount", - LockCliff = "lock__cliff", - LockId = "lock__id", - LockLockId = "lock__lockId", - LockRelocked = "lock__relocked", - LockSlope = "lock__slope", - LockTime = "lock__time", - Locking = "locking", - LockingId = "locking__id", - LockingMode = "locking__mode", - Owner = "owner", - OwnerId = "owner__id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Delegate = 'delegate', + DelegateId = 'delegate__id', + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Lock = 'lock', + LockAmount = 'lock__amount', + LockCliff = 'lock__cliff', + LockId = 'lock__id', + LockLockId = 'lock__lockId', + LockRelocked = 'lock__relocked', + LockSlope = 'lock__slope', + LockTime = 'lock__time', + Locking = 'locking', + LockingId = 'locking__id', + LockingMode = 'locking__mode', + Owner = 'owner', + OwnerId = 'owner__id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type Event = { emitter: Account; - id: Scalars["ID"]["output"]; - timestamp: Scalars["BigInt"]["output"]; + id: Scalars['ID']['output']; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -1280,83 +1280,83 @@ export type Event_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum Event_OrderBy { - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type Governor = { - __typename?: "Governor"; + __typename?: 'Governor'; asAccount: Account; - id: Scalars["Bytes"]["output"]; - mode: Maybe; + id: Scalars['Bytes']['output']; + mode: Maybe; proposalCanceled: Array; proposalCreated: Array; proposalExecuted: Array; @@ -1365,51 +1365,57 @@ export type Governor = { votecast: Array; }; + export type GovernorProposalCanceledArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type GovernorProposalCreatedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type GovernorProposalExecutedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type GovernorProposalQueuedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type GovernorProposalsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type GovernorVotecastArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; @@ -1417,57 +1423,57 @@ export type Governor_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - asAccount: InputMaybe; + asAccount: InputMaybe; asAccount_: InputMaybe; - asAccount_contains: InputMaybe; - asAccount_contains_nocase: InputMaybe; - asAccount_ends_with: InputMaybe; - asAccount_ends_with_nocase: InputMaybe; - asAccount_gt: InputMaybe; - asAccount_gte: InputMaybe; - asAccount_in: InputMaybe>; - asAccount_lt: InputMaybe; - asAccount_lte: InputMaybe; - asAccount_not: InputMaybe; - asAccount_not_contains: InputMaybe; - asAccount_not_contains_nocase: InputMaybe; - asAccount_not_ends_with: InputMaybe; - asAccount_not_ends_with_nocase: InputMaybe; - asAccount_not_in: InputMaybe>; - asAccount_not_starts_with: InputMaybe; - asAccount_not_starts_with_nocase: InputMaybe; - asAccount_starts_with: InputMaybe; - asAccount_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_contains: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_contains: InputMaybe; - id_not_in: InputMaybe>; - mode: InputMaybe; - mode_contains: InputMaybe; - mode_contains_nocase: InputMaybe; - mode_ends_with: InputMaybe; - mode_ends_with_nocase: InputMaybe; - mode_gt: InputMaybe; - mode_gte: InputMaybe; - mode_in: InputMaybe>; - mode_lt: InputMaybe; - mode_lte: InputMaybe; - mode_not: InputMaybe; - mode_not_contains: InputMaybe; - mode_not_contains_nocase: InputMaybe; - mode_not_ends_with: InputMaybe; - mode_not_ends_with_nocase: InputMaybe; - mode_not_in: InputMaybe>; - mode_not_starts_with: InputMaybe; - mode_not_starts_with_nocase: InputMaybe; - mode_starts_with: InputMaybe; - mode_starts_with_nocase: InputMaybe; + asAccount_contains: InputMaybe; + asAccount_contains_nocase: InputMaybe; + asAccount_ends_with: InputMaybe; + asAccount_ends_with_nocase: InputMaybe; + asAccount_gt: InputMaybe; + asAccount_gte: InputMaybe; + asAccount_in: InputMaybe>; + asAccount_lt: InputMaybe; + asAccount_lte: InputMaybe; + asAccount_not: InputMaybe; + asAccount_not_contains: InputMaybe; + asAccount_not_contains_nocase: InputMaybe; + asAccount_not_ends_with: InputMaybe; + asAccount_not_ends_with_nocase: InputMaybe; + asAccount_not_in: InputMaybe>; + asAccount_not_starts_with: InputMaybe; + asAccount_not_starts_with_nocase: InputMaybe; + asAccount_starts_with: InputMaybe; + asAccount_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_contains: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_contains: InputMaybe; + id_not_in: InputMaybe>; + mode: InputMaybe; + mode_contains: InputMaybe; + mode_contains_nocase: InputMaybe; + mode_ends_with: InputMaybe; + mode_ends_with_nocase: InputMaybe; + mode_gt: InputMaybe; + mode_gte: InputMaybe; + mode_in: InputMaybe>; + mode_lt: InputMaybe; + mode_lte: InputMaybe; + mode_not: InputMaybe; + mode_not_contains: InputMaybe; + mode_not_contains_nocase: InputMaybe; + mode_not_ends_with: InputMaybe; + mode_not_ends_with_nocase: InputMaybe; + mode_not_in: InputMaybe>; + mode_not_starts_with: InputMaybe; + mode_not_starts_with_nocase: InputMaybe; + mode_starts_with: InputMaybe; + mode_starts_with_nocase: InputMaybe; or: InputMaybe>>; proposalCanceled_: InputMaybe; proposalCreated_: InputMaybe; @@ -1478,60 +1484,62 @@ export type Governor_Filter = { }; export enum Governor_OrderBy { - AsAccount = "asAccount", - AsAccountId = "asAccount__id", - Id = "id", - Mode = "mode", - ProposalCanceled = "proposalCanceled", - ProposalCreated = "proposalCreated", - ProposalExecuted = "proposalExecuted", - ProposalQueued = "proposalQueued", - Proposals = "proposals", - Votecast = "votecast", + AsAccount = 'asAccount', + AsAccountId = 'asAccount__id', + Id = 'id', + Mode = 'mode', + ProposalCanceled = 'proposalCanceled', + ProposalCreated = 'proposalCreated', + ProposalExecuted = 'proposalExecuted', + ProposalQueued = 'proposalQueued', + Proposals = 'proposals', + Votecast = 'votecast' } export type Lock = { - __typename?: "Lock"; - amount: Scalars["BigInt"]["output"]; - cliff: Scalars["Int"]["output"]; + __typename?: 'Lock'; + amount: Scalars['BigInt']['output']; + cliff: Scalars['Int']['output']; delegate: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; lockCreate: Array; - lockId: Scalars["BigInt"]["output"]; + lockId: Scalars['BigInt']['output']; locking: Locking; owner: Account; relock: Array; - relocked: Scalars["Boolean"]["output"]; + relocked: Scalars['Boolean']['output']; replacedBy: Maybe; replaces: Maybe; - slope: Scalars["Int"]["output"]; - time: Scalars["BigInt"]["output"]; + slope: Scalars['Int']['output']; + time: Scalars['BigInt']['output']; }; + export type LockLockCreateArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type LockRelockArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; export type LockCreate = Event & { - __typename?: "LockCreate"; + __typename?: 'LockCreate'; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; lock: Lock; locking: Locking; owner: Account; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -1539,404 +1547,409 @@ export type LockCreate_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - lock: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + lock: InputMaybe; lock_: InputMaybe; - lock_contains: InputMaybe; - lock_contains_nocase: InputMaybe; - lock_ends_with: InputMaybe; - lock_ends_with_nocase: InputMaybe; - lock_gt: InputMaybe; - lock_gte: InputMaybe; - lock_in: InputMaybe>; - lock_lt: InputMaybe; - lock_lte: InputMaybe; - lock_not: InputMaybe; - lock_not_contains: InputMaybe; - lock_not_contains_nocase: InputMaybe; - lock_not_ends_with: InputMaybe; - lock_not_ends_with_nocase: InputMaybe; - lock_not_in: InputMaybe>; - lock_not_starts_with: InputMaybe; - lock_not_starts_with_nocase: InputMaybe; - lock_starts_with: InputMaybe; - lock_starts_with_nocase: InputMaybe; - locking: InputMaybe; + lock_contains: InputMaybe; + lock_contains_nocase: InputMaybe; + lock_ends_with: InputMaybe; + lock_ends_with_nocase: InputMaybe; + lock_gt: InputMaybe; + lock_gte: InputMaybe; + lock_in: InputMaybe>; + lock_lt: InputMaybe; + lock_lte: InputMaybe; + lock_not: InputMaybe; + lock_not_contains: InputMaybe; + lock_not_contains_nocase: InputMaybe; + lock_not_ends_with: InputMaybe; + lock_not_ends_with_nocase: InputMaybe; + lock_not_in: InputMaybe>; + lock_not_starts_with: InputMaybe; + lock_not_starts_with_nocase: InputMaybe; + lock_starts_with: InputMaybe; + lock_starts_with_nocase: InputMaybe; + locking: InputMaybe; locking_: InputMaybe; - locking_contains: InputMaybe; - locking_contains_nocase: InputMaybe; - locking_ends_with: InputMaybe; - locking_ends_with_nocase: InputMaybe; - locking_gt: InputMaybe; - locking_gte: InputMaybe; - locking_in: InputMaybe>; - locking_lt: InputMaybe; - locking_lte: InputMaybe; - locking_not: InputMaybe; - locking_not_contains: InputMaybe; - locking_not_contains_nocase: InputMaybe; - locking_not_ends_with: InputMaybe; - locking_not_ends_with_nocase: InputMaybe; - locking_not_in: InputMaybe>; - locking_not_starts_with: InputMaybe; - locking_not_starts_with_nocase: InputMaybe; - locking_starts_with: InputMaybe; - locking_starts_with_nocase: InputMaybe; + locking_contains: InputMaybe; + locking_contains_nocase: InputMaybe; + locking_ends_with: InputMaybe; + locking_ends_with_nocase: InputMaybe; + locking_gt: InputMaybe; + locking_gte: InputMaybe; + locking_in: InputMaybe>; + locking_lt: InputMaybe; + locking_lte: InputMaybe; + locking_not: InputMaybe; + locking_not_contains: InputMaybe; + locking_not_contains_nocase: InputMaybe; + locking_not_ends_with: InputMaybe; + locking_not_ends_with_nocase: InputMaybe; + locking_not_in: InputMaybe>; + locking_not_starts_with: InputMaybe; + locking_not_starts_with_nocase: InputMaybe; + locking_starts_with: InputMaybe; + locking_starts_with_nocase: InputMaybe; or: InputMaybe>>; - owner: InputMaybe; + owner: InputMaybe; owner_: InputMaybe; - owner_contains: InputMaybe; - owner_contains_nocase: InputMaybe; - owner_ends_with: InputMaybe; - owner_ends_with_nocase: InputMaybe; - owner_gt: InputMaybe; - owner_gte: InputMaybe; - owner_in: InputMaybe>; - owner_lt: InputMaybe; - owner_lte: InputMaybe; - owner_not: InputMaybe; - owner_not_contains: InputMaybe; - owner_not_contains_nocase: InputMaybe; - owner_not_ends_with: InputMaybe; - owner_not_ends_with_nocase: InputMaybe; - owner_not_in: InputMaybe>; - owner_not_starts_with: InputMaybe; - owner_not_starts_with_nocase: InputMaybe; - owner_starts_with: InputMaybe; - owner_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + owner_contains: InputMaybe; + owner_contains_nocase: InputMaybe; + owner_ends_with: InputMaybe; + owner_ends_with_nocase: InputMaybe; + owner_gt: InputMaybe; + owner_gte: InputMaybe; + owner_in: InputMaybe>; + owner_lt: InputMaybe; + owner_lte: InputMaybe; + owner_not: InputMaybe; + owner_not_contains: InputMaybe; + owner_not_contains_nocase: InputMaybe; + owner_not_ends_with: InputMaybe; + owner_not_ends_with_nocase: InputMaybe; + owner_not_in: InputMaybe>; + owner_not_starts_with: InputMaybe; + owner_not_starts_with_nocase: InputMaybe; + owner_starts_with: InputMaybe; + owner_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum LockCreate_OrderBy { - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Lock = "lock", - LockAmount = "lock__amount", - LockCliff = "lock__cliff", - LockId = "lock__id", - LockLockId = "lock__lockId", - LockRelocked = "lock__relocked", - LockSlope = "lock__slope", - LockTime = "lock__time", - Locking = "locking", - LockingId = "locking__id", - LockingMode = "locking__mode", - Owner = "owner", - OwnerId = "owner__id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Lock = 'lock', + LockAmount = 'lock__amount', + LockCliff = 'lock__cliff', + LockId = 'lock__id', + LockLockId = 'lock__lockId', + LockRelocked = 'lock__relocked', + LockSlope = 'lock__slope', + LockTime = 'lock__time', + Locking = 'locking', + LockingId = 'locking__id', + LockingMode = 'locking__mode', + Owner = 'owner', + OwnerId = 'owner__id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type Lock_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; - amount: InputMaybe; - amount_gt: InputMaybe; - amount_gte: InputMaybe; - amount_in: InputMaybe>; - amount_lt: InputMaybe; - amount_lte: InputMaybe; - amount_not: InputMaybe; - amount_not_in: InputMaybe>; + amount: InputMaybe; + amount_gt: InputMaybe; + amount_gte: InputMaybe; + amount_in: InputMaybe>; + amount_lt: InputMaybe; + amount_lte: InputMaybe; + amount_not: InputMaybe; + amount_not_in: InputMaybe>; and: InputMaybe>>; - cliff: InputMaybe; - cliff_gt: InputMaybe; - cliff_gte: InputMaybe; - cliff_in: InputMaybe>; - cliff_lt: InputMaybe; - cliff_lte: InputMaybe; - cliff_not: InputMaybe; - cliff_not_in: InputMaybe>; - delegate: InputMaybe; + cliff: InputMaybe; + cliff_gt: InputMaybe; + cliff_gte: InputMaybe; + cliff_in: InputMaybe>; + cliff_lt: InputMaybe; + cliff_lte: InputMaybe; + cliff_not: InputMaybe; + cliff_not_in: InputMaybe>; + delegate: InputMaybe; delegate_: InputMaybe; - delegate_contains: InputMaybe; - delegate_contains_nocase: InputMaybe; - delegate_ends_with: InputMaybe; - delegate_ends_with_nocase: InputMaybe; - delegate_gt: InputMaybe; - delegate_gte: InputMaybe; - delegate_in: InputMaybe>; - delegate_lt: InputMaybe; - delegate_lte: InputMaybe; - delegate_not: InputMaybe; - delegate_not_contains: InputMaybe; - delegate_not_contains_nocase: InputMaybe; - delegate_not_ends_with: InputMaybe; - delegate_not_ends_with_nocase: InputMaybe; - delegate_not_in: InputMaybe>; - delegate_not_starts_with: InputMaybe; - delegate_not_starts_with_nocase: InputMaybe; - delegate_starts_with: InputMaybe; - delegate_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + delegate_contains: InputMaybe; + delegate_contains_nocase: InputMaybe; + delegate_ends_with: InputMaybe; + delegate_ends_with_nocase: InputMaybe; + delegate_gt: InputMaybe; + delegate_gte: InputMaybe; + delegate_in: InputMaybe>; + delegate_lt: InputMaybe; + delegate_lte: InputMaybe; + delegate_not: InputMaybe; + delegate_not_contains: InputMaybe; + delegate_not_contains_nocase: InputMaybe; + delegate_not_ends_with: InputMaybe; + delegate_not_ends_with_nocase: InputMaybe; + delegate_not_in: InputMaybe>; + delegate_not_starts_with: InputMaybe; + delegate_not_starts_with_nocase: InputMaybe; + delegate_starts_with: InputMaybe; + delegate_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; lockCreate_: InputMaybe; - lockId: InputMaybe; - lockId_gt: InputMaybe; - lockId_gte: InputMaybe; - lockId_in: InputMaybe>; - lockId_lt: InputMaybe; - lockId_lte: InputMaybe; - lockId_not: InputMaybe; - lockId_not_in: InputMaybe>; - locking: InputMaybe; + lockId: InputMaybe; + lockId_gt: InputMaybe; + lockId_gte: InputMaybe; + lockId_in: InputMaybe>; + lockId_lt: InputMaybe; + lockId_lte: InputMaybe; + lockId_not: InputMaybe; + lockId_not_in: InputMaybe>; + locking: InputMaybe; locking_: InputMaybe; - locking_contains: InputMaybe; - locking_contains_nocase: InputMaybe; - locking_ends_with: InputMaybe; - locking_ends_with_nocase: InputMaybe; - locking_gt: InputMaybe; - locking_gte: InputMaybe; - locking_in: InputMaybe>; - locking_lt: InputMaybe; - locking_lte: InputMaybe; - locking_not: InputMaybe; - locking_not_contains: InputMaybe; - locking_not_contains_nocase: InputMaybe; - locking_not_ends_with: InputMaybe; - locking_not_ends_with_nocase: InputMaybe; - locking_not_in: InputMaybe>; - locking_not_starts_with: InputMaybe; - locking_not_starts_with_nocase: InputMaybe; - locking_starts_with: InputMaybe; - locking_starts_with_nocase: InputMaybe; + locking_contains: InputMaybe; + locking_contains_nocase: InputMaybe; + locking_ends_with: InputMaybe; + locking_ends_with_nocase: InputMaybe; + locking_gt: InputMaybe; + locking_gte: InputMaybe; + locking_in: InputMaybe>; + locking_lt: InputMaybe; + locking_lte: InputMaybe; + locking_not: InputMaybe; + locking_not_contains: InputMaybe; + locking_not_contains_nocase: InputMaybe; + locking_not_ends_with: InputMaybe; + locking_not_ends_with_nocase: InputMaybe; + locking_not_in: InputMaybe>; + locking_not_starts_with: InputMaybe; + locking_not_starts_with_nocase: InputMaybe; + locking_starts_with: InputMaybe; + locking_starts_with_nocase: InputMaybe; or: InputMaybe>>; - owner: InputMaybe; + owner: InputMaybe; owner_: InputMaybe; - owner_contains: InputMaybe; - owner_contains_nocase: InputMaybe; - owner_ends_with: InputMaybe; - owner_ends_with_nocase: InputMaybe; - owner_gt: InputMaybe; - owner_gte: InputMaybe; - owner_in: InputMaybe>; - owner_lt: InputMaybe; - owner_lte: InputMaybe; - owner_not: InputMaybe; - owner_not_contains: InputMaybe; - owner_not_contains_nocase: InputMaybe; - owner_not_ends_with: InputMaybe; - owner_not_ends_with_nocase: InputMaybe; - owner_not_in: InputMaybe>; - owner_not_starts_with: InputMaybe; - owner_not_starts_with_nocase: InputMaybe; - owner_starts_with: InputMaybe; - owner_starts_with_nocase: InputMaybe; + owner_contains: InputMaybe; + owner_contains_nocase: InputMaybe; + owner_ends_with: InputMaybe; + owner_ends_with_nocase: InputMaybe; + owner_gt: InputMaybe; + owner_gte: InputMaybe; + owner_in: InputMaybe>; + owner_lt: InputMaybe; + owner_lte: InputMaybe; + owner_not: InputMaybe; + owner_not_contains: InputMaybe; + owner_not_contains_nocase: InputMaybe; + owner_not_ends_with: InputMaybe; + owner_not_ends_with_nocase: InputMaybe; + owner_not_in: InputMaybe>; + owner_not_starts_with: InputMaybe; + owner_not_starts_with_nocase: InputMaybe; + owner_starts_with: InputMaybe; + owner_starts_with_nocase: InputMaybe; relock_: InputMaybe; - relocked: InputMaybe; - relocked_in: InputMaybe>; - relocked_not: InputMaybe; - relocked_not_in: InputMaybe>; - replacedBy: InputMaybe; + relocked: InputMaybe; + relocked_in: InputMaybe>; + relocked_not: InputMaybe; + relocked_not_in: InputMaybe>; + replacedBy: InputMaybe; replacedBy_: InputMaybe; - replacedBy_contains: InputMaybe; - replacedBy_contains_nocase: InputMaybe; - replacedBy_ends_with: InputMaybe; - replacedBy_ends_with_nocase: InputMaybe; - replacedBy_gt: InputMaybe; - replacedBy_gte: InputMaybe; - replacedBy_in: InputMaybe>; - replacedBy_lt: InputMaybe; - replacedBy_lte: InputMaybe; - replacedBy_not: InputMaybe; - replacedBy_not_contains: InputMaybe; - replacedBy_not_contains_nocase: InputMaybe; - replacedBy_not_ends_with: InputMaybe; - replacedBy_not_ends_with_nocase: InputMaybe; - replacedBy_not_in: InputMaybe>; - replacedBy_not_starts_with: InputMaybe; - replacedBy_not_starts_with_nocase: InputMaybe; - replacedBy_starts_with: InputMaybe; - replacedBy_starts_with_nocase: InputMaybe; - replaces: InputMaybe; + replacedBy_contains: InputMaybe; + replacedBy_contains_nocase: InputMaybe; + replacedBy_ends_with: InputMaybe; + replacedBy_ends_with_nocase: InputMaybe; + replacedBy_gt: InputMaybe; + replacedBy_gte: InputMaybe; + replacedBy_in: InputMaybe>; + replacedBy_lt: InputMaybe; + replacedBy_lte: InputMaybe; + replacedBy_not: InputMaybe; + replacedBy_not_contains: InputMaybe; + replacedBy_not_contains_nocase: InputMaybe; + replacedBy_not_ends_with: InputMaybe; + replacedBy_not_ends_with_nocase: InputMaybe; + replacedBy_not_in: InputMaybe>; + replacedBy_not_starts_with: InputMaybe; + replacedBy_not_starts_with_nocase: InputMaybe; + replacedBy_starts_with: InputMaybe; + replacedBy_starts_with_nocase: InputMaybe; + replaces: InputMaybe; replaces_: InputMaybe; - replaces_contains: InputMaybe; - replaces_contains_nocase: InputMaybe; - replaces_ends_with: InputMaybe; - replaces_ends_with_nocase: InputMaybe; - replaces_gt: InputMaybe; - replaces_gte: InputMaybe; - replaces_in: InputMaybe>; - replaces_lt: InputMaybe; - replaces_lte: InputMaybe; - replaces_not: InputMaybe; - replaces_not_contains: InputMaybe; - replaces_not_contains_nocase: InputMaybe; - replaces_not_ends_with: InputMaybe; - replaces_not_ends_with_nocase: InputMaybe; - replaces_not_in: InputMaybe>; - replaces_not_starts_with: InputMaybe; - replaces_not_starts_with_nocase: InputMaybe; - replaces_starts_with: InputMaybe; - replaces_starts_with_nocase: InputMaybe; - slope: InputMaybe; - slope_gt: InputMaybe; - slope_gte: InputMaybe; - slope_in: InputMaybe>; - slope_lt: InputMaybe; - slope_lte: InputMaybe; - slope_not: InputMaybe; - slope_not_in: InputMaybe>; - time: InputMaybe; - time_gt: InputMaybe; - time_gte: InputMaybe; - time_in: InputMaybe>; - time_lt: InputMaybe; - time_lte: InputMaybe; - time_not: InputMaybe; - time_not_in: InputMaybe>; + replaces_contains: InputMaybe; + replaces_contains_nocase: InputMaybe; + replaces_ends_with: InputMaybe; + replaces_ends_with_nocase: InputMaybe; + replaces_gt: InputMaybe; + replaces_gte: InputMaybe; + replaces_in: InputMaybe>; + replaces_lt: InputMaybe; + replaces_lte: InputMaybe; + replaces_not: InputMaybe; + replaces_not_contains: InputMaybe; + replaces_not_contains_nocase: InputMaybe; + replaces_not_ends_with: InputMaybe; + replaces_not_ends_with_nocase: InputMaybe; + replaces_not_in: InputMaybe>; + replaces_not_starts_with: InputMaybe; + replaces_not_starts_with_nocase: InputMaybe; + replaces_starts_with: InputMaybe; + replaces_starts_with_nocase: InputMaybe; + slope: InputMaybe; + slope_gt: InputMaybe; + slope_gte: InputMaybe; + slope_in: InputMaybe>; + slope_lt: InputMaybe; + slope_lte: InputMaybe; + slope_not: InputMaybe; + slope_not_in: InputMaybe>; + time: InputMaybe; + time_gt: InputMaybe; + time_gte: InputMaybe; + time_in: InputMaybe>; + time_lt: InputMaybe; + time_lte: InputMaybe; + time_not: InputMaybe; + time_not_in: InputMaybe>; }; export enum Lock_OrderBy { - Amount = "amount", - Cliff = "cliff", - Delegate = "delegate", - DelegateId = "delegate__id", - Id = "id", - LockCreate = "lockCreate", - LockId = "lockId", - Locking = "locking", - LockingId = "locking__id", - LockingMode = "locking__mode", - Owner = "owner", - OwnerId = "owner__id", - Relock = "relock", - Relocked = "relocked", - ReplacedBy = "replacedBy", - ReplacedByAmount = "replacedBy__amount", - ReplacedByCliff = "replacedBy__cliff", - ReplacedById = "replacedBy__id", - ReplacedByLockId = "replacedBy__lockId", - ReplacedByRelocked = "replacedBy__relocked", - ReplacedBySlope = "replacedBy__slope", - ReplacedByTime = "replacedBy__time", - Replaces = "replaces", - ReplacesAmount = "replaces__amount", - ReplacesCliff = "replaces__cliff", - ReplacesId = "replaces__id", - ReplacesLockId = "replaces__lockId", - ReplacesRelocked = "replaces__relocked", - ReplacesSlope = "replaces__slope", - ReplacesTime = "replaces__time", - Slope = "slope", - Time = "time", + Amount = 'amount', + Cliff = 'cliff', + Delegate = 'delegate', + DelegateId = 'delegate__id', + Id = 'id', + LockCreate = 'lockCreate', + LockId = 'lockId', + Locking = 'locking', + LockingId = 'locking__id', + LockingMode = 'locking__mode', + Owner = 'owner', + OwnerId = 'owner__id', + Relock = 'relock', + Relocked = 'relocked', + ReplacedBy = 'replacedBy', + ReplacedByAmount = 'replacedBy__amount', + ReplacedByCliff = 'replacedBy__cliff', + ReplacedById = 'replacedBy__id', + ReplacedByLockId = 'replacedBy__lockId', + ReplacedByRelocked = 'replacedBy__relocked', + ReplacedBySlope = 'replacedBy__slope', + ReplacedByTime = 'replacedBy__time', + Replaces = 'replaces', + ReplacesAmount = 'replaces__amount', + ReplacesCliff = 'replaces__cliff', + ReplacesId = 'replaces__id', + ReplacesLockId = 'replaces__lockId', + ReplacesRelocked = 'replaces__relocked', + ReplacesSlope = 'replaces__slope', + ReplacesTime = 'replaces__time', + Slope = 'slope', + Time = 'time' } export type Locking = { - __typename?: "Locking"; + __typename?: 'Locking'; asAccount: Account; delegate: Array; - id: Scalars["Bytes"]["output"]; + id: Scalars['Bytes']['output']; lockCreate: Array; locks: Array; - mode: Maybe; + mode: Maybe; relock: Array; withdraw: Array; }; + export type LockingDelegateArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type LockingLockCreateArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type LockingLocksArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type LockingRelockArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type LockingWithdrawArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; @@ -1944,320 +1957,328 @@ export type Locking_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - asAccount: InputMaybe; + asAccount: InputMaybe; asAccount_: InputMaybe; - asAccount_contains: InputMaybe; - asAccount_contains_nocase: InputMaybe; - asAccount_ends_with: InputMaybe; - asAccount_ends_with_nocase: InputMaybe; - asAccount_gt: InputMaybe; - asAccount_gte: InputMaybe; - asAccount_in: InputMaybe>; - asAccount_lt: InputMaybe; - asAccount_lte: InputMaybe; - asAccount_not: InputMaybe; - asAccount_not_contains: InputMaybe; - asAccount_not_contains_nocase: InputMaybe; - asAccount_not_ends_with: InputMaybe; - asAccount_not_ends_with_nocase: InputMaybe; - asAccount_not_in: InputMaybe>; - asAccount_not_starts_with: InputMaybe; - asAccount_not_starts_with_nocase: InputMaybe; - asAccount_starts_with: InputMaybe; - asAccount_starts_with_nocase: InputMaybe; + asAccount_contains: InputMaybe; + asAccount_contains_nocase: InputMaybe; + asAccount_ends_with: InputMaybe; + asAccount_ends_with_nocase: InputMaybe; + asAccount_gt: InputMaybe; + asAccount_gte: InputMaybe; + asAccount_in: InputMaybe>; + asAccount_lt: InputMaybe; + asAccount_lte: InputMaybe; + asAccount_not: InputMaybe; + asAccount_not_contains: InputMaybe; + asAccount_not_contains_nocase: InputMaybe; + asAccount_not_ends_with: InputMaybe; + asAccount_not_ends_with_nocase: InputMaybe; + asAccount_not_in: InputMaybe>; + asAccount_not_starts_with: InputMaybe; + asAccount_not_starts_with_nocase: InputMaybe; + asAccount_starts_with: InputMaybe; + asAccount_starts_with_nocase: InputMaybe; delegate_: InputMaybe; - id: InputMaybe; - id_contains: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_contains: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_contains: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_contains: InputMaybe; + id_not_in: InputMaybe>; lockCreate_: InputMaybe; locks_: InputMaybe; - mode: InputMaybe; - mode_contains: InputMaybe; - mode_contains_nocase: InputMaybe; - mode_ends_with: InputMaybe; - mode_ends_with_nocase: InputMaybe; - mode_gt: InputMaybe; - mode_gte: InputMaybe; - mode_in: InputMaybe>; - mode_lt: InputMaybe; - mode_lte: InputMaybe; - mode_not: InputMaybe; - mode_not_contains: InputMaybe; - mode_not_contains_nocase: InputMaybe; - mode_not_ends_with: InputMaybe; - mode_not_ends_with_nocase: InputMaybe; - mode_not_in: InputMaybe>; - mode_not_starts_with: InputMaybe; - mode_not_starts_with_nocase: InputMaybe; - mode_starts_with: InputMaybe; - mode_starts_with_nocase: InputMaybe; + mode: InputMaybe; + mode_contains: InputMaybe; + mode_contains_nocase: InputMaybe; + mode_ends_with: InputMaybe; + mode_ends_with_nocase: InputMaybe; + mode_gt: InputMaybe; + mode_gte: InputMaybe; + mode_in: InputMaybe>; + mode_lt: InputMaybe; + mode_lte: InputMaybe; + mode_not: InputMaybe; + mode_not_contains: InputMaybe; + mode_not_contains_nocase: InputMaybe; + mode_not_ends_with: InputMaybe; + mode_not_ends_with_nocase: InputMaybe; + mode_not_in: InputMaybe>; + mode_not_starts_with: InputMaybe; + mode_not_starts_with_nocase: InputMaybe; + mode_starts_with: InputMaybe; + mode_starts_with_nocase: InputMaybe; or: InputMaybe>>; relock_: InputMaybe; withdraw_: InputMaybe; }; export enum Locking_OrderBy { - AsAccount = "asAccount", - AsAccountId = "asAccount__id", - Delegate = "delegate", - Id = "id", - LockCreate = "lockCreate", - Locks = "locks", - Mode = "mode", - Relock = "relock", - Withdraw = "withdraw", + AsAccount = 'asAccount', + AsAccountId = 'asAccount__id', + Delegate = 'delegate', + Id = 'id', + LockCreate = 'lockCreate', + Locks = 'locks', + Mode = 'mode', + Relock = 'relock', + Withdraw = 'withdraw' } /** Defines the order direction, either ascending or descending */ export enum OrderDirection { - Asc = "asc", - Desc = "desc", + Asc = 'asc', + Desc = 'desc' } export type Participant = { - __typename?: "Participant"; - address: Scalars["String"]["output"]; - weight: Scalars["BigInt"]["output"]; + __typename?: 'Participant'; + address: Scalars['String']['output']; + weight: Scalars['BigInt']['output']; }; export type Proposal = { - __typename?: "Proposal"; + __typename?: 'Proposal'; calls: Array; - canceled: Scalars["Boolean"]["output"]; - description: Scalars["String"]["output"]; - endBlock: Scalars["BigInt"]["output"]; - eta: Maybe; - executed: Scalars["Boolean"]["output"]; + canceled: Scalars['Boolean']['output']; + description: Scalars['String']['output']; + endBlock: Scalars['BigInt']['output']; + eta: Maybe; + executed: Scalars['Boolean']['output']; governor: Governor; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; metadata: ProposalMetadata; proposalCanceled: Array; proposalCreated: Array; proposalExecuted: Array; - proposalId: Scalars["BigInt"]["output"]; + proposalId: Scalars['BigInt']['output']; proposalQueued: Array; proposer: Account; - queued: Scalars["Boolean"]["output"]; + queued: Scalars['Boolean']['output']; receipts: Array; - startBlock: Scalars["BigInt"]["output"]; + startBlock: Scalars['BigInt']['output']; state: ProposalState; supports: Array; votecast: Array; votes: ProposalVotes; }; + export type ProposalCallsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type ProposalProposalCanceledArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type ProposalProposalCreatedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type ProposalProposalExecutedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type ProposalProposalQueuedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type ProposalReceiptsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type ProposalSupportsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type ProposalVotecastArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; export type ProposalCall = { - __typename?: "ProposalCall"; - calldata: Scalars["Bytes"]["output"]; - id: Scalars["ID"]["output"]; - index: Scalars["Int"]["output"]; + __typename?: 'ProposalCall'; + calldata: Scalars['Bytes']['output']; + id: Scalars['ID']['output']; + index: Scalars['Int']['output']; proposal: Proposal; - signature: Scalars["String"]["output"]; + signature: Scalars['String']['output']; target: Account; - value: Scalars["BigDecimal"]["output"]; + value: Scalars['BigDecimal']['output']; }; export type ProposalCall_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - calldata: InputMaybe; - calldata_contains: InputMaybe; - calldata_gt: InputMaybe; - calldata_gte: InputMaybe; - calldata_in: InputMaybe>; - calldata_lt: InputMaybe; - calldata_lte: InputMaybe; - calldata_not: InputMaybe; - calldata_not_contains: InputMaybe; - calldata_not_in: InputMaybe>; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - index: InputMaybe; - index_gt: InputMaybe; - index_gte: InputMaybe; - index_in: InputMaybe>; - index_lt: InputMaybe; - index_lte: InputMaybe; - index_not: InputMaybe; - index_not_in: InputMaybe>; + calldata: InputMaybe; + calldata_contains: InputMaybe; + calldata_gt: InputMaybe; + calldata_gte: InputMaybe; + calldata_in: InputMaybe>; + calldata_lt: InputMaybe; + calldata_lte: InputMaybe; + calldata_not: InputMaybe; + calldata_not_contains: InputMaybe; + calldata_not_in: InputMaybe>; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + index: InputMaybe; + index_gt: InputMaybe; + index_gte: InputMaybe; + index_in: InputMaybe>; + index_lt: InputMaybe; + index_lte: InputMaybe; + index_not: InputMaybe; + index_not_in: InputMaybe>; or: InputMaybe>>; - proposal: InputMaybe; + proposal: InputMaybe; proposal_: InputMaybe; - proposal_contains: InputMaybe; - proposal_contains_nocase: InputMaybe; - proposal_ends_with: InputMaybe; - proposal_ends_with_nocase: InputMaybe; - proposal_gt: InputMaybe; - proposal_gte: InputMaybe; - proposal_in: InputMaybe>; - proposal_lt: InputMaybe; - proposal_lte: InputMaybe; - proposal_not: InputMaybe; - proposal_not_contains: InputMaybe; - proposal_not_contains_nocase: InputMaybe; - proposal_not_ends_with: InputMaybe; - proposal_not_ends_with_nocase: InputMaybe; - proposal_not_in: InputMaybe>; - proposal_not_starts_with: InputMaybe; - proposal_not_starts_with_nocase: InputMaybe; - proposal_starts_with: InputMaybe; - proposal_starts_with_nocase: InputMaybe; - signature: InputMaybe; - signature_contains: InputMaybe; - signature_contains_nocase: InputMaybe; - signature_ends_with: InputMaybe; - signature_ends_with_nocase: InputMaybe; - signature_gt: InputMaybe; - signature_gte: InputMaybe; - signature_in: InputMaybe>; - signature_lt: InputMaybe; - signature_lte: InputMaybe; - signature_not: InputMaybe; - signature_not_contains: InputMaybe; - signature_not_contains_nocase: InputMaybe; - signature_not_ends_with: InputMaybe; - signature_not_ends_with_nocase: InputMaybe; - signature_not_in: InputMaybe>; - signature_not_starts_with: InputMaybe; - signature_not_starts_with_nocase: InputMaybe; - signature_starts_with: InputMaybe; - signature_starts_with_nocase: InputMaybe; - target: InputMaybe; + proposal_contains: InputMaybe; + proposal_contains_nocase: InputMaybe; + proposal_ends_with: InputMaybe; + proposal_ends_with_nocase: InputMaybe; + proposal_gt: InputMaybe; + proposal_gte: InputMaybe; + proposal_in: InputMaybe>; + proposal_lt: InputMaybe; + proposal_lte: InputMaybe; + proposal_not: InputMaybe; + proposal_not_contains: InputMaybe; + proposal_not_contains_nocase: InputMaybe; + proposal_not_ends_with: InputMaybe; + proposal_not_ends_with_nocase: InputMaybe; + proposal_not_in: InputMaybe>; + proposal_not_starts_with: InputMaybe; + proposal_not_starts_with_nocase: InputMaybe; + proposal_starts_with: InputMaybe; + proposal_starts_with_nocase: InputMaybe; + signature: InputMaybe; + signature_contains: InputMaybe; + signature_contains_nocase: InputMaybe; + signature_ends_with: InputMaybe; + signature_ends_with_nocase: InputMaybe; + signature_gt: InputMaybe; + signature_gte: InputMaybe; + signature_in: InputMaybe>; + signature_lt: InputMaybe; + signature_lte: InputMaybe; + signature_not: InputMaybe; + signature_not_contains: InputMaybe; + signature_not_contains_nocase: InputMaybe; + signature_not_ends_with: InputMaybe; + signature_not_ends_with_nocase: InputMaybe; + signature_not_in: InputMaybe>; + signature_not_starts_with: InputMaybe; + signature_not_starts_with_nocase: InputMaybe; + signature_starts_with: InputMaybe; + signature_starts_with_nocase: InputMaybe; + target: InputMaybe; target_: InputMaybe; - target_contains: InputMaybe; - target_contains_nocase: InputMaybe; - target_ends_with: InputMaybe; - target_ends_with_nocase: InputMaybe; - target_gt: InputMaybe; - target_gte: InputMaybe; - target_in: InputMaybe>; - target_lt: InputMaybe; - target_lte: InputMaybe; - target_not: InputMaybe; - target_not_contains: InputMaybe; - target_not_contains_nocase: InputMaybe; - target_not_ends_with: InputMaybe; - target_not_ends_with_nocase: InputMaybe; - target_not_in: InputMaybe>; - target_not_starts_with: InputMaybe; - target_not_starts_with_nocase: InputMaybe; - target_starts_with: InputMaybe; - target_starts_with_nocase: InputMaybe; - value: InputMaybe; - value_gt: InputMaybe; - value_gte: InputMaybe; - value_in: InputMaybe>; - value_lt: InputMaybe; - value_lte: InputMaybe; - value_not: InputMaybe; - value_not_in: InputMaybe>; + target_contains: InputMaybe; + target_contains_nocase: InputMaybe; + target_ends_with: InputMaybe; + target_ends_with_nocase: InputMaybe; + target_gt: InputMaybe; + target_gte: InputMaybe; + target_in: InputMaybe>; + target_lt: InputMaybe; + target_lte: InputMaybe; + target_not: InputMaybe; + target_not_contains: InputMaybe; + target_not_contains_nocase: InputMaybe; + target_not_ends_with: InputMaybe; + target_not_ends_with_nocase: InputMaybe; + target_not_in: InputMaybe>; + target_not_starts_with: InputMaybe; + target_not_starts_with_nocase: InputMaybe; + target_starts_with: InputMaybe; + target_starts_with_nocase: InputMaybe; + value: InputMaybe; + value_gt: InputMaybe; + value_gte: InputMaybe; + value_in: InputMaybe>; + value_lt: InputMaybe; + value_lte: InputMaybe; + value_not: InputMaybe; + value_not_in: InputMaybe>; }; export enum ProposalCall_OrderBy { - Calldata = "calldata", - Id = "id", - Index = "index", - Proposal = "proposal", - ProposalCanceled = "proposal__canceled", - ProposalDescription = "proposal__description", - ProposalEndBlock = "proposal__endBlock", - ProposalEta = "proposal__eta", - ProposalExecuted = "proposal__executed", - ProposalId = "proposal__id", - ProposalProposalId = "proposal__proposalId", - ProposalQueued = "proposal__queued", - ProposalStartBlock = "proposal__startBlock", - Signature = "signature", - Target = "target", - TargetId = "target__id", - Value = "value", + Calldata = 'calldata', + Id = 'id', + Index = 'index', + Proposal = 'proposal', + ProposalCanceled = 'proposal__canceled', + ProposalDescription = 'proposal__description', + ProposalEndBlock = 'proposal__endBlock', + ProposalEta = 'proposal__eta', + ProposalExecuted = 'proposal__executed', + ProposalId = 'proposal__id', + ProposalProposalId = 'proposal__proposalId', + ProposalQueued = 'proposal__queued', + ProposalStartBlock = 'proposal__startBlock', + Signature = 'signature', + Target = 'target', + TargetId = 'target__id', + Value = 'value' } export type ProposalCanceled = Event & { - __typename?: "ProposalCanceled"; + __typename?: 'ProposalCanceled'; emitter: Account; governor: Governor; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; proposal: Proposal; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -2265,141 +2286,141 @@ export type ProposalCanceled_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - governor: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + governor: InputMaybe; governor_: InputMaybe; - governor_contains: InputMaybe; - governor_contains_nocase: InputMaybe; - governor_ends_with: InputMaybe; - governor_ends_with_nocase: InputMaybe; - governor_gt: InputMaybe; - governor_gte: InputMaybe; - governor_in: InputMaybe>; - governor_lt: InputMaybe; - governor_lte: InputMaybe; - governor_not: InputMaybe; - governor_not_contains: InputMaybe; - governor_not_contains_nocase: InputMaybe; - governor_not_ends_with: InputMaybe; - governor_not_ends_with_nocase: InputMaybe; - governor_not_in: InputMaybe>; - governor_not_starts_with: InputMaybe; - governor_not_starts_with_nocase: InputMaybe; - governor_starts_with: InputMaybe; - governor_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + governor_contains: InputMaybe; + governor_contains_nocase: InputMaybe; + governor_ends_with: InputMaybe; + governor_ends_with_nocase: InputMaybe; + governor_gt: InputMaybe; + governor_gte: InputMaybe; + governor_in: InputMaybe>; + governor_lt: InputMaybe; + governor_lte: InputMaybe; + governor_not: InputMaybe; + governor_not_contains: InputMaybe; + governor_not_contains_nocase: InputMaybe; + governor_not_ends_with: InputMaybe; + governor_not_ends_with_nocase: InputMaybe; + governor_not_in: InputMaybe>; + governor_not_starts_with: InputMaybe; + governor_not_starts_with_nocase: InputMaybe; + governor_starts_with: InputMaybe; + governor_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - proposal: InputMaybe; + proposal: InputMaybe; proposal_: InputMaybe; - proposal_contains: InputMaybe; - proposal_contains_nocase: InputMaybe; - proposal_ends_with: InputMaybe; - proposal_ends_with_nocase: InputMaybe; - proposal_gt: InputMaybe; - proposal_gte: InputMaybe; - proposal_in: InputMaybe>; - proposal_lt: InputMaybe; - proposal_lte: InputMaybe; - proposal_not: InputMaybe; - proposal_not_contains: InputMaybe; - proposal_not_contains_nocase: InputMaybe; - proposal_not_ends_with: InputMaybe; - proposal_not_ends_with_nocase: InputMaybe; - proposal_not_in: InputMaybe>; - proposal_not_starts_with: InputMaybe; - proposal_not_starts_with_nocase: InputMaybe; - proposal_starts_with: InputMaybe; - proposal_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + proposal_contains: InputMaybe; + proposal_contains_nocase: InputMaybe; + proposal_ends_with: InputMaybe; + proposal_ends_with_nocase: InputMaybe; + proposal_gt: InputMaybe; + proposal_gte: InputMaybe; + proposal_in: InputMaybe>; + proposal_lt: InputMaybe; + proposal_lte: InputMaybe; + proposal_not: InputMaybe; + proposal_not_contains: InputMaybe; + proposal_not_contains_nocase: InputMaybe; + proposal_not_ends_with: InputMaybe; + proposal_not_ends_with_nocase: InputMaybe; + proposal_not_in: InputMaybe>; + proposal_not_starts_with: InputMaybe; + proposal_not_starts_with_nocase: InputMaybe; + proposal_starts_with: InputMaybe; + proposal_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum ProposalCanceled_OrderBy { - Emitter = "emitter", - EmitterId = "emitter__id", - Governor = "governor", - GovernorId = "governor__id", - GovernorMode = "governor__mode", - Id = "id", - Proposal = "proposal", - ProposalCanceled = "proposal__canceled", - ProposalDescription = "proposal__description", - ProposalEndBlock = "proposal__endBlock", - ProposalEta = "proposal__eta", - ProposalExecuted = "proposal__executed", - ProposalId = "proposal__id", - ProposalProposalId = "proposal__proposalId", - ProposalQueued = "proposal__queued", - ProposalStartBlock = "proposal__startBlock", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Emitter = 'emitter', + EmitterId = 'emitter__id', + Governor = 'governor', + GovernorId = 'governor__id', + GovernorMode = 'governor__mode', + Id = 'id', + Proposal = 'proposal', + ProposalCanceled = 'proposal__canceled', + ProposalDescription = 'proposal__description', + ProposalEndBlock = 'proposal__endBlock', + ProposalEta = 'proposal__eta', + ProposalExecuted = 'proposal__executed', + ProposalId = 'proposal__id', + ProposalProposalId = 'proposal__proposalId', + ProposalQueued = 'proposal__queued', + ProposalStartBlock = 'proposal__startBlock', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type ProposalCreated = Event & { - __typename?: "ProposalCreated"; + __typename?: 'ProposalCreated'; emitter: Account; governor: Governor; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; proposal: Proposal; proposer: Account; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -2407,163 +2428,163 @@ export type ProposalCreated_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - governor: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + governor: InputMaybe; governor_: InputMaybe; - governor_contains: InputMaybe; - governor_contains_nocase: InputMaybe; - governor_ends_with: InputMaybe; - governor_ends_with_nocase: InputMaybe; - governor_gt: InputMaybe; - governor_gte: InputMaybe; - governor_in: InputMaybe>; - governor_lt: InputMaybe; - governor_lte: InputMaybe; - governor_not: InputMaybe; - governor_not_contains: InputMaybe; - governor_not_contains_nocase: InputMaybe; - governor_not_ends_with: InputMaybe; - governor_not_ends_with_nocase: InputMaybe; - governor_not_in: InputMaybe>; - governor_not_starts_with: InputMaybe; - governor_not_starts_with_nocase: InputMaybe; - governor_starts_with: InputMaybe; - governor_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + governor_contains: InputMaybe; + governor_contains_nocase: InputMaybe; + governor_ends_with: InputMaybe; + governor_ends_with_nocase: InputMaybe; + governor_gt: InputMaybe; + governor_gte: InputMaybe; + governor_in: InputMaybe>; + governor_lt: InputMaybe; + governor_lte: InputMaybe; + governor_not: InputMaybe; + governor_not_contains: InputMaybe; + governor_not_contains_nocase: InputMaybe; + governor_not_ends_with: InputMaybe; + governor_not_ends_with_nocase: InputMaybe; + governor_not_in: InputMaybe>; + governor_not_starts_with: InputMaybe; + governor_not_starts_with_nocase: InputMaybe; + governor_starts_with: InputMaybe; + governor_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - proposal: InputMaybe; + proposal: InputMaybe; proposal_: InputMaybe; - proposal_contains: InputMaybe; - proposal_contains_nocase: InputMaybe; - proposal_ends_with: InputMaybe; - proposal_ends_with_nocase: InputMaybe; - proposal_gt: InputMaybe; - proposal_gte: InputMaybe; - proposal_in: InputMaybe>; - proposal_lt: InputMaybe; - proposal_lte: InputMaybe; - proposal_not: InputMaybe; - proposal_not_contains: InputMaybe; - proposal_not_contains_nocase: InputMaybe; - proposal_not_ends_with: InputMaybe; - proposal_not_ends_with_nocase: InputMaybe; - proposal_not_in: InputMaybe>; - proposal_not_starts_with: InputMaybe; - proposal_not_starts_with_nocase: InputMaybe; - proposal_starts_with: InputMaybe; - proposal_starts_with_nocase: InputMaybe; - proposer: InputMaybe; + proposal_contains: InputMaybe; + proposal_contains_nocase: InputMaybe; + proposal_ends_with: InputMaybe; + proposal_ends_with_nocase: InputMaybe; + proposal_gt: InputMaybe; + proposal_gte: InputMaybe; + proposal_in: InputMaybe>; + proposal_lt: InputMaybe; + proposal_lte: InputMaybe; + proposal_not: InputMaybe; + proposal_not_contains: InputMaybe; + proposal_not_contains_nocase: InputMaybe; + proposal_not_ends_with: InputMaybe; + proposal_not_ends_with_nocase: InputMaybe; + proposal_not_in: InputMaybe>; + proposal_not_starts_with: InputMaybe; + proposal_not_starts_with_nocase: InputMaybe; + proposal_starts_with: InputMaybe; + proposal_starts_with_nocase: InputMaybe; + proposer: InputMaybe; proposer_: InputMaybe; - proposer_contains: InputMaybe; - proposer_contains_nocase: InputMaybe; - proposer_ends_with: InputMaybe; - proposer_ends_with_nocase: InputMaybe; - proposer_gt: InputMaybe; - proposer_gte: InputMaybe; - proposer_in: InputMaybe>; - proposer_lt: InputMaybe; - proposer_lte: InputMaybe; - proposer_not: InputMaybe; - proposer_not_contains: InputMaybe; - proposer_not_contains_nocase: InputMaybe; - proposer_not_ends_with: InputMaybe; - proposer_not_ends_with_nocase: InputMaybe; - proposer_not_in: InputMaybe>; - proposer_not_starts_with: InputMaybe; - proposer_not_starts_with_nocase: InputMaybe; - proposer_starts_with: InputMaybe; - proposer_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + proposer_contains: InputMaybe; + proposer_contains_nocase: InputMaybe; + proposer_ends_with: InputMaybe; + proposer_ends_with_nocase: InputMaybe; + proposer_gt: InputMaybe; + proposer_gte: InputMaybe; + proposer_in: InputMaybe>; + proposer_lt: InputMaybe; + proposer_lte: InputMaybe; + proposer_not: InputMaybe; + proposer_not_contains: InputMaybe; + proposer_not_contains_nocase: InputMaybe; + proposer_not_ends_with: InputMaybe; + proposer_not_ends_with_nocase: InputMaybe; + proposer_not_in: InputMaybe>; + proposer_not_starts_with: InputMaybe; + proposer_not_starts_with_nocase: InputMaybe; + proposer_starts_with: InputMaybe; + proposer_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum ProposalCreated_OrderBy { - Emitter = "emitter", - EmitterId = "emitter__id", - Governor = "governor", - GovernorId = "governor__id", - GovernorMode = "governor__mode", - Id = "id", - Proposal = "proposal", - ProposalCanceled = "proposal__canceled", - ProposalDescription = "proposal__description", - ProposalEndBlock = "proposal__endBlock", - ProposalEta = "proposal__eta", - ProposalExecuted = "proposal__executed", - ProposalId = "proposal__id", - ProposalProposalId = "proposal__proposalId", - ProposalQueued = "proposal__queued", - ProposalStartBlock = "proposal__startBlock", - Proposer = "proposer", - ProposerId = "proposer__id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Emitter = 'emitter', + EmitterId = 'emitter__id', + Governor = 'governor', + GovernorId = 'governor__id', + GovernorMode = 'governor__mode', + Id = 'id', + Proposal = 'proposal', + ProposalCanceled = 'proposal__canceled', + ProposalDescription = 'proposal__description', + ProposalEndBlock = 'proposal__endBlock', + ProposalEta = 'proposal__eta', + ProposalExecuted = 'proposal__executed', + ProposalId = 'proposal__id', + ProposalProposalId = 'proposal__proposalId', + ProposalQueued = 'proposal__queued', + ProposalStartBlock = 'proposal__startBlock', + Proposer = 'proposer', + ProposerId = 'proposer__id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type ProposalExecuted = Event & { - __typename?: "ProposalExecuted"; + __typename?: 'ProposalExecuted'; emitter: Account; governor: Governor; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; proposal: Proposal; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -2571,147 +2592,147 @@ export type ProposalExecuted_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - governor: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + governor: InputMaybe; governor_: InputMaybe; - governor_contains: InputMaybe; - governor_contains_nocase: InputMaybe; - governor_ends_with: InputMaybe; - governor_ends_with_nocase: InputMaybe; - governor_gt: InputMaybe; - governor_gte: InputMaybe; - governor_in: InputMaybe>; - governor_lt: InputMaybe; - governor_lte: InputMaybe; - governor_not: InputMaybe; - governor_not_contains: InputMaybe; - governor_not_contains_nocase: InputMaybe; - governor_not_ends_with: InputMaybe; - governor_not_ends_with_nocase: InputMaybe; - governor_not_in: InputMaybe>; - governor_not_starts_with: InputMaybe; - governor_not_starts_with_nocase: InputMaybe; - governor_starts_with: InputMaybe; - governor_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + governor_contains: InputMaybe; + governor_contains_nocase: InputMaybe; + governor_ends_with: InputMaybe; + governor_ends_with_nocase: InputMaybe; + governor_gt: InputMaybe; + governor_gte: InputMaybe; + governor_in: InputMaybe>; + governor_lt: InputMaybe; + governor_lte: InputMaybe; + governor_not: InputMaybe; + governor_not_contains: InputMaybe; + governor_not_contains_nocase: InputMaybe; + governor_not_ends_with: InputMaybe; + governor_not_ends_with_nocase: InputMaybe; + governor_not_in: InputMaybe>; + governor_not_starts_with: InputMaybe; + governor_not_starts_with_nocase: InputMaybe; + governor_starts_with: InputMaybe; + governor_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - proposal: InputMaybe; + proposal: InputMaybe; proposal_: InputMaybe; - proposal_contains: InputMaybe; - proposal_contains_nocase: InputMaybe; - proposal_ends_with: InputMaybe; - proposal_ends_with_nocase: InputMaybe; - proposal_gt: InputMaybe; - proposal_gte: InputMaybe; - proposal_in: InputMaybe>; - proposal_lt: InputMaybe; - proposal_lte: InputMaybe; - proposal_not: InputMaybe; - proposal_not_contains: InputMaybe; - proposal_not_contains_nocase: InputMaybe; - proposal_not_ends_with: InputMaybe; - proposal_not_ends_with_nocase: InputMaybe; - proposal_not_in: InputMaybe>; - proposal_not_starts_with: InputMaybe; - proposal_not_starts_with_nocase: InputMaybe; - proposal_starts_with: InputMaybe; - proposal_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + proposal_contains: InputMaybe; + proposal_contains_nocase: InputMaybe; + proposal_ends_with: InputMaybe; + proposal_ends_with_nocase: InputMaybe; + proposal_gt: InputMaybe; + proposal_gte: InputMaybe; + proposal_in: InputMaybe>; + proposal_lt: InputMaybe; + proposal_lte: InputMaybe; + proposal_not: InputMaybe; + proposal_not_contains: InputMaybe; + proposal_not_contains_nocase: InputMaybe; + proposal_not_ends_with: InputMaybe; + proposal_not_ends_with_nocase: InputMaybe; + proposal_not_in: InputMaybe>; + proposal_not_starts_with: InputMaybe; + proposal_not_starts_with_nocase: InputMaybe; + proposal_starts_with: InputMaybe; + proposal_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum ProposalExecuted_OrderBy { - Emitter = "emitter", - EmitterId = "emitter__id", - Governor = "governor", - GovernorId = "governor__id", - GovernorMode = "governor__mode", - Id = "id", - Proposal = "proposal", - ProposalCanceled = "proposal__canceled", - ProposalDescription = "proposal__description", - ProposalEndBlock = "proposal__endBlock", - ProposalEta = "proposal__eta", - ProposalExecuted = "proposal__executed", - ProposalId = "proposal__id", - ProposalProposalId = "proposal__proposalId", - ProposalQueued = "proposal__queued", - ProposalStartBlock = "proposal__startBlock", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Emitter = 'emitter', + EmitterId = 'emitter__id', + Governor = 'governor', + GovernorId = 'governor__id', + GovernorMode = 'governor__mode', + Id = 'id', + Proposal = 'proposal', + ProposalCanceled = 'proposal__canceled', + ProposalDescription = 'proposal__description', + ProposalEndBlock = 'proposal__endBlock', + ProposalEta = 'proposal__eta', + ProposalExecuted = 'proposal__executed', + ProposalId = 'proposal__id', + ProposalProposalId = 'proposal__proposalId', + ProposalQueued = 'proposal__queued', + ProposalStartBlock = 'proposal__startBlock', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type ProposalMetadata = { - __typename?: "ProposalMetadata"; - description: Scalars["String"]["output"]; - title: Scalars["String"]["output"]; + __typename?: 'ProposalMetadata'; + description: Scalars['String']['output']; + title: Scalars['String']['output']; }; export type ProposalQueued = Event & { - __typename?: "ProposalQueued"; + __typename?: 'ProposalQueued'; emitter: Account; - eta: Scalars["BigInt"]["output"]; + eta: Scalars['BigInt']['output']; governor: Governor; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; proposal: Proposal; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -2719,168 +2740,169 @@ export type ProposalQueued_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - eta: InputMaybe; - eta_gt: InputMaybe; - eta_gte: InputMaybe; - eta_in: InputMaybe>; - eta_lt: InputMaybe; - eta_lte: InputMaybe; - eta_not: InputMaybe; - eta_not_in: InputMaybe>; - governor: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + eta: InputMaybe; + eta_gt: InputMaybe; + eta_gte: InputMaybe; + eta_in: InputMaybe>; + eta_lt: InputMaybe; + eta_lte: InputMaybe; + eta_not: InputMaybe; + eta_not_in: InputMaybe>; + governor: InputMaybe; governor_: InputMaybe; - governor_contains: InputMaybe; - governor_contains_nocase: InputMaybe; - governor_ends_with: InputMaybe; - governor_ends_with_nocase: InputMaybe; - governor_gt: InputMaybe; - governor_gte: InputMaybe; - governor_in: InputMaybe>; - governor_lt: InputMaybe; - governor_lte: InputMaybe; - governor_not: InputMaybe; - governor_not_contains: InputMaybe; - governor_not_contains_nocase: InputMaybe; - governor_not_ends_with: InputMaybe; - governor_not_ends_with_nocase: InputMaybe; - governor_not_in: InputMaybe>; - governor_not_starts_with: InputMaybe; - governor_not_starts_with_nocase: InputMaybe; - governor_starts_with: InputMaybe; - governor_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + governor_contains: InputMaybe; + governor_contains_nocase: InputMaybe; + governor_ends_with: InputMaybe; + governor_ends_with_nocase: InputMaybe; + governor_gt: InputMaybe; + governor_gte: InputMaybe; + governor_in: InputMaybe>; + governor_lt: InputMaybe; + governor_lte: InputMaybe; + governor_not: InputMaybe; + governor_not_contains: InputMaybe; + governor_not_contains_nocase: InputMaybe; + governor_not_ends_with: InputMaybe; + governor_not_ends_with_nocase: InputMaybe; + governor_not_in: InputMaybe>; + governor_not_starts_with: InputMaybe; + governor_not_starts_with_nocase: InputMaybe; + governor_starts_with: InputMaybe; + governor_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - proposal: InputMaybe; + proposal: InputMaybe; proposal_: InputMaybe; - proposal_contains: InputMaybe; - proposal_contains_nocase: InputMaybe; - proposal_ends_with: InputMaybe; - proposal_ends_with_nocase: InputMaybe; - proposal_gt: InputMaybe; - proposal_gte: InputMaybe; - proposal_in: InputMaybe>; - proposal_lt: InputMaybe; - proposal_lte: InputMaybe; - proposal_not: InputMaybe; - proposal_not_contains: InputMaybe; - proposal_not_contains_nocase: InputMaybe; - proposal_not_ends_with: InputMaybe; - proposal_not_ends_with_nocase: InputMaybe; - proposal_not_in: InputMaybe>; - proposal_not_starts_with: InputMaybe; - proposal_not_starts_with_nocase: InputMaybe; - proposal_starts_with: InputMaybe; - proposal_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + proposal_contains: InputMaybe; + proposal_contains_nocase: InputMaybe; + proposal_ends_with: InputMaybe; + proposal_ends_with_nocase: InputMaybe; + proposal_gt: InputMaybe; + proposal_gte: InputMaybe; + proposal_in: InputMaybe>; + proposal_lt: InputMaybe; + proposal_lte: InputMaybe; + proposal_not: InputMaybe; + proposal_not_contains: InputMaybe; + proposal_not_contains_nocase: InputMaybe; + proposal_not_ends_with: InputMaybe; + proposal_not_ends_with_nocase: InputMaybe; + proposal_not_in: InputMaybe>; + proposal_not_starts_with: InputMaybe; + proposal_not_starts_with_nocase: InputMaybe; + proposal_starts_with: InputMaybe; + proposal_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum ProposalQueued_OrderBy { - Emitter = "emitter", - EmitterId = "emitter__id", - Eta = "eta", - Governor = "governor", - GovernorId = "governor__id", - GovernorMode = "governor__mode", - Id = "id", - Proposal = "proposal", - ProposalCanceled = "proposal__canceled", - ProposalDescription = "proposal__description", - ProposalEndBlock = "proposal__endBlock", - ProposalEta = "proposal__eta", - ProposalExecuted = "proposal__executed", - ProposalId = "proposal__id", - ProposalProposalId = "proposal__proposalId", - ProposalQueued = "proposal__queued", - ProposalStartBlock = "proposal__startBlock", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Emitter = 'emitter', + EmitterId = 'emitter__id', + Eta = 'eta', + Governor = 'governor', + GovernorId = 'governor__id', + GovernorMode = 'governor__mode', + Id = 'id', + Proposal = 'proposal', + ProposalCanceled = 'proposal__canceled', + ProposalDescription = 'proposal__description', + ProposalEndBlock = 'proposal__endBlock', + ProposalEta = 'proposal__eta', + ProposalExecuted = 'proposal__executed', + ProposalId = 'proposal__id', + ProposalProposalId = 'proposal__proposalId', + ProposalQueued = 'proposal__queued', + ProposalStartBlock = 'proposal__startBlock', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export enum ProposalState { - Active = "Active", - Canceled = "Canceled", - Defeated = "Defeated", - Executed = "Executed", - Expired = "Expired", - NoState = "NoState", - Pending = "Pending", - Queued = "Queued", - Succeeded = "Succeeded", + Active = 'Active', + Canceled = 'Canceled', + Defeated = 'Defeated', + Executed = 'Executed', + Expired = 'Expired', + NoState = 'NoState', + Pending = 'Pending', + Queued = 'Queued', + Succeeded = 'Succeeded' } export type ProposalSupport = { - __typename?: "ProposalSupport"; - id: Scalars["ID"]["output"]; + __typename?: 'ProposalSupport'; + id: Scalars['ID']['output']; proposal: Proposal; - support: Scalars["Int"]["output"]; + support: Scalars['Int']['output']; votes: Array; - weight: Scalars["BigInt"]["output"]; + weight: Scalars['BigInt']['output']; }; + export type ProposalSupportVotesArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; @@ -2888,78 +2910,78 @@ export type ProposalSupport_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - proposal: InputMaybe; + proposal: InputMaybe; proposal_: InputMaybe; - proposal_contains: InputMaybe; - proposal_contains_nocase: InputMaybe; - proposal_ends_with: InputMaybe; - proposal_ends_with_nocase: InputMaybe; - proposal_gt: InputMaybe; - proposal_gte: InputMaybe; - proposal_in: InputMaybe>; - proposal_lt: InputMaybe; - proposal_lte: InputMaybe; - proposal_not: InputMaybe; - proposal_not_contains: InputMaybe; - proposal_not_contains_nocase: InputMaybe; - proposal_not_ends_with: InputMaybe; - proposal_not_ends_with_nocase: InputMaybe; - proposal_not_in: InputMaybe>; - proposal_not_starts_with: InputMaybe; - proposal_not_starts_with_nocase: InputMaybe; - proposal_starts_with: InputMaybe; - proposal_starts_with_nocase: InputMaybe; - support: InputMaybe; - support_gt: InputMaybe; - support_gte: InputMaybe; - support_in: InputMaybe>; - support_lt: InputMaybe; - support_lte: InputMaybe; - support_not: InputMaybe; - support_not_in: InputMaybe>; + proposal_contains: InputMaybe; + proposal_contains_nocase: InputMaybe; + proposal_ends_with: InputMaybe; + proposal_ends_with_nocase: InputMaybe; + proposal_gt: InputMaybe; + proposal_gte: InputMaybe; + proposal_in: InputMaybe>; + proposal_lt: InputMaybe; + proposal_lte: InputMaybe; + proposal_not: InputMaybe; + proposal_not_contains: InputMaybe; + proposal_not_contains_nocase: InputMaybe; + proposal_not_ends_with: InputMaybe; + proposal_not_ends_with_nocase: InputMaybe; + proposal_not_in: InputMaybe>; + proposal_not_starts_with: InputMaybe; + proposal_not_starts_with_nocase: InputMaybe; + proposal_starts_with: InputMaybe; + proposal_starts_with_nocase: InputMaybe; + support: InputMaybe; + support_gt: InputMaybe; + support_gte: InputMaybe; + support_in: InputMaybe>; + support_lt: InputMaybe; + support_lte: InputMaybe; + support_not: InputMaybe; + support_not_in: InputMaybe>; votes_: InputMaybe; - weight: InputMaybe; - weight_gt: InputMaybe; - weight_gte: InputMaybe; - weight_in: InputMaybe>; - weight_lt: InputMaybe; - weight_lte: InputMaybe; - weight_not: InputMaybe; - weight_not_in: InputMaybe>; + weight: InputMaybe; + weight_gt: InputMaybe; + weight_gte: InputMaybe; + weight_in: InputMaybe>; + weight_lt: InputMaybe; + weight_lte: InputMaybe; + weight_not: InputMaybe; + weight_not_in: InputMaybe>; }; export enum ProposalSupport_OrderBy { - Id = "id", - Proposal = "proposal", - ProposalCanceled = "proposal__canceled", - ProposalDescription = "proposal__description", - ProposalEndBlock = "proposal__endBlock", - ProposalEta = "proposal__eta", - ProposalExecuted = "proposal__executed", - ProposalId = "proposal__id", - ProposalProposalId = "proposal__proposalId", - ProposalQueued = "proposal__queued", - ProposalStartBlock = "proposal__startBlock", - Support = "support", - Votes = "votes", - Weight = "weight", + Id = 'id', + Proposal = 'proposal', + ProposalCanceled = 'proposal__canceled', + ProposalDescription = 'proposal__description', + ProposalEndBlock = 'proposal__endBlock', + ProposalEta = 'proposal__eta', + ProposalExecuted = 'proposal__executed', + ProposalId = 'proposal__id', + ProposalProposalId = 'proposal__proposalId', + ProposalQueued = 'proposal__queued', + ProposalStartBlock = 'proposal__startBlock', + Support = 'support', + Votes = 'votes', + Weight = 'weight' } export type ProposalVotes = { - __typename?: "ProposalVotes"; + __typename?: 'ProposalVotes'; abstain: VoteType; against: VoteType; for: VoteType; - total: Scalars["BigInt"]["output"]; + total: Scalars['BigInt']['output']; }; export type Proposal_Filter = { @@ -2967,157 +2989,157 @@ export type Proposal_Filter = { _change_block: InputMaybe; and: InputMaybe>>; calls_: InputMaybe; - canceled: InputMaybe; - canceled_in: InputMaybe>; - canceled_not: InputMaybe; - canceled_not_in: InputMaybe>; - description: InputMaybe; - description_contains: InputMaybe; - description_contains_nocase: InputMaybe; - description_ends_with: InputMaybe; - description_ends_with_nocase: InputMaybe; - description_gt: InputMaybe; - description_gte: InputMaybe; - description_in: InputMaybe>; - description_lt: InputMaybe; - description_lte: InputMaybe; - description_not: InputMaybe; - description_not_contains: InputMaybe; - description_not_contains_nocase: InputMaybe; - description_not_ends_with: InputMaybe; - description_not_ends_with_nocase: InputMaybe; - description_not_in: InputMaybe>; - description_not_starts_with: InputMaybe; - description_not_starts_with_nocase: InputMaybe; - description_starts_with: InputMaybe; - description_starts_with_nocase: InputMaybe; - endBlock: InputMaybe; - endBlock_gt: InputMaybe; - endBlock_gte: InputMaybe; - endBlock_in: InputMaybe>; - endBlock_lt: InputMaybe; - endBlock_lte: InputMaybe; - endBlock_not: InputMaybe; - endBlock_not_in: InputMaybe>; - eta: InputMaybe; - eta_gt: InputMaybe; - eta_gte: InputMaybe; - eta_in: InputMaybe>; - eta_lt: InputMaybe; - eta_lte: InputMaybe; - eta_not: InputMaybe; - eta_not_in: InputMaybe>; - executed: InputMaybe; - executed_in: InputMaybe>; - executed_not: InputMaybe; - executed_not_in: InputMaybe>; - governor: InputMaybe; + canceled: InputMaybe; + canceled_in: InputMaybe>; + canceled_not: InputMaybe; + canceled_not_in: InputMaybe>; + description: InputMaybe; + description_contains: InputMaybe; + description_contains_nocase: InputMaybe; + description_ends_with: InputMaybe; + description_ends_with_nocase: InputMaybe; + description_gt: InputMaybe; + description_gte: InputMaybe; + description_in: InputMaybe>; + description_lt: InputMaybe; + description_lte: InputMaybe; + description_not: InputMaybe; + description_not_contains: InputMaybe; + description_not_contains_nocase: InputMaybe; + description_not_ends_with: InputMaybe; + description_not_ends_with_nocase: InputMaybe; + description_not_in: InputMaybe>; + description_not_starts_with: InputMaybe; + description_not_starts_with_nocase: InputMaybe; + description_starts_with: InputMaybe; + description_starts_with_nocase: InputMaybe; + endBlock: InputMaybe; + endBlock_gt: InputMaybe; + endBlock_gte: InputMaybe; + endBlock_in: InputMaybe>; + endBlock_lt: InputMaybe; + endBlock_lte: InputMaybe; + endBlock_not: InputMaybe; + endBlock_not_in: InputMaybe>; + eta: InputMaybe; + eta_gt: InputMaybe; + eta_gte: InputMaybe; + eta_in: InputMaybe>; + eta_lt: InputMaybe; + eta_lte: InputMaybe; + eta_not: InputMaybe; + eta_not_in: InputMaybe>; + executed: InputMaybe; + executed_in: InputMaybe>; + executed_not: InputMaybe; + executed_not_in: InputMaybe>; + governor: InputMaybe; governor_: InputMaybe; - governor_contains: InputMaybe; - governor_contains_nocase: InputMaybe; - governor_ends_with: InputMaybe; - governor_ends_with_nocase: InputMaybe; - governor_gt: InputMaybe; - governor_gte: InputMaybe; - governor_in: InputMaybe>; - governor_lt: InputMaybe; - governor_lte: InputMaybe; - governor_not: InputMaybe; - governor_not_contains: InputMaybe; - governor_not_contains_nocase: InputMaybe; - governor_not_ends_with: InputMaybe; - governor_not_ends_with_nocase: InputMaybe; - governor_not_in: InputMaybe>; - governor_not_starts_with: InputMaybe; - governor_not_starts_with_nocase: InputMaybe; - governor_starts_with: InputMaybe; - governor_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + governor_contains: InputMaybe; + governor_contains_nocase: InputMaybe; + governor_ends_with: InputMaybe; + governor_ends_with_nocase: InputMaybe; + governor_gt: InputMaybe; + governor_gte: InputMaybe; + governor_in: InputMaybe>; + governor_lt: InputMaybe; + governor_lte: InputMaybe; + governor_not: InputMaybe; + governor_not_contains: InputMaybe; + governor_not_contains_nocase: InputMaybe; + governor_not_ends_with: InputMaybe; + governor_not_ends_with_nocase: InputMaybe; + governor_not_in: InputMaybe>; + governor_not_starts_with: InputMaybe; + governor_not_starts_with_nocase: InputMaybe; + governor_starts_with: InputMaybe; + governor_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; proposalCanceled_: InputMaybe; proposalCreated_: InputMaybe; proposalExecuted_: InputMaybe; - proposalId: InputMaybe; - proposalId_gt: InputMaybe; - proposalId_gte: InputMaybe; - proposalId_in: InputMaybe>; - proposalId_lt: InputMaybe; - proposalId_lte: InputMaybe; - proposalId_not: InputMaybe; - proposalId_not_in: InputMaybe>; + proposalId: InputMaybe; + proposalId_gt: InputMaybe; + proposalId_gte: InputMaybe; + proposalId_in: InputMaybe>; + proposalId_lt: InputMaybe; + proposalId_lte: InputMaybe; + proposalId_not: InputMaybe; + proposalId_not_in: InputMaybe>; proposalQueued_: InputMaybe; - proposer: InputMaybe; + proposer: InputMaybe; proposer_: InputMaybe; - proposer_contains: InputMaybe; - proposer_contains_nocase: InputMaybe; - proposer_ends_with: InputMaybe; - proposer_ends_with_nocase: InputMaybe; - proposer_gt: InputMaybe; - proposer_gte: InputMaybe; - proposer_in: InputMaybe>; - proposer_lt: InputMaybe; - proposer_lte: InputMaybe; - proposer_not: InputMaybe; - proposer_not_contains: InputMaybe; - proposer_not_contains_nocase: InputMaybe; - proposer_not_ends_with: InputMaybe; - proposer_not_ends_with_nocase: InputMaybe; - proposer_not_in: InputMaybe>; - proposer_not_starts_with: InputMaybe; - proposer_not_starts_with_nocase: InputMaybe; - proposer_starts_with: InputMaybe; - proposer_starts_with_nocase: InputMaybe; - queued: InputMaybe; - queued_in: InputMaybe>; - queued_not: InputMaybe; - queued_not_in: InputMaybe>; + proposer_contains: InputMaybe; + proposer_contains_nocase: InputMaybe; + proposer_ends_with: InputMaybe; + proposer_ends_with_nocase: InputMaybe; + proposer_gt: InputMaybe; + proposer_gte: InputMaybe; + proposer_in: InputMaybe>; + proposer_lt: InputMaybe; + proposer_lte: InputMaybe; + proposer_not: InputMaybe; + proposer_not_contains: InputMaybe; + proposer_not_contains_nocase: InputMaybe; + proposer_not_ends_with: InputMaybe; + proposer_not_ends_with_nocase: InputMaybe; + proposer_not_in: InputMaybe>; + proposer_not_starts_with: InputMaybe; + proposer_not_starts_with_nocase: InputMaybe; + proposer_starts_with: InputMaybe; + proposer_starts_with_nocase: InputMaybe; + queued: InputMaybe; + queued_in: InputMaybe>; + queued_not: InputMaybe; + queued_not_in: InputMaybe>; receipts_: InputMaybe; - startBlock: InputMaybe; - startBlock_gt: InputMaybe; - startBlock_gte: InputMaybe; - startBlock_in: InputMaybe>; - startBlock_lt: InputMaybe; - startBlock_lte: InputMaybe; - startBlock_not: InputMaybe; - startBlock_not_in: InputMaybe>; + startBlock: InputMaybe; + startBlock_gt: InputMaybe; + startBlock_gte: InputMaybe; + startBlock_in: InputMaybe>; + startBlock_lt: InputMaybe; + startBlock_lte: InputMaybe; + startBlock_not: InputMaybe; + startBlock_not_in: InputMaybe>; supports_: InputMaybe; votecast_: InputMaybe; }; export enum Proposal_OrderBy { - Calls = "calls", - Canceled = "canceled", - Description = "description", - EndBlock = "endBlock", - Eta = "eta", - Executed = "executed", - Governor = "governor", - GovernorId = "governor__id", - GovernorMode = "governor__mode", - Id = "id", - ProposalCanceled = "proposalCanceled", - ProposalCreated = "proposalCreated", - ProposalExecuted = "proposalExecuted", - ProposalId = "proposalId", - ProposalQueued = "proposalQueued", - Proposer = "proposer", - ProposerId = "proposer__id", - Queued = "queued", - Receipts = "receipts", - StartBlock = "startBlock", - Supports = "supports", - Votecast = "votecast", + Calls = 'calls', + Canceled = 'canceled', + Description = 'description', + EndBlock = 'endBlock', + Eta = 'eta', + Executed = 'executed', + Governor = 'governor', + GovernorId = 'governor__id', + GovernorMode = 'governor__mode', + Id = 'id', + ProposalCanceled = 'proposalCanceled', + ProposalCreated = 'proposalCreated', + ProposalExecuted = 'proposalExecuted', + ProposalId = 'proposalId', + ProposalQueued = 'proposalQueued', + Proposer = 'proposer', + ProposerId = 'proposer__id', + Queued = 'queued', + Receipts = 'receipts', + StartBlock = 'startBlock', + Supports = 'supports', + Votecast = 'votecast' } export type Query = { - __typename?: "Query"; + __typename?: 'Query'; /** Access to subgraph metadata */ _meta: Maybe<_Meta_>; accessControl: Maybe; @@ -3198,627 +3220,704 @@ export type Query = { withdraws: Array; }; + export type Query_MetaArgs = { block: InputMaybe; }; + export type QueryAccessControlArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryAccessControlRoleArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryAccessControlRoleMemberArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryAccessControlRoleMembersArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryAccessControlRolesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryAccessControlsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryAccountArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryAccountsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryDelegateArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryDelegateChangedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryDelegateChangedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryDelegateVotesChangedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryDelegateVotesChangedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryDelegatesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryEventArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryEventsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryGovernorArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryGovernorsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryLockArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryLockCreateArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryLockCreatesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryLockingArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryLockingsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryLocksArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryProposalArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryProposalCallArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryProposalCallsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryProposalCanceledArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryProposalCanceledsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryProposalCreatedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryProposalCreatedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryProposalExecutedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryProposalExecutedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryProposalQueuedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryProposalQueuedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryProposalSupportArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryProposalSupportsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryProposalsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryRelockArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryRelocksArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryRoleArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryRoleAdminChangedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryRoleAdminChangedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryRoleGrantedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryRoleGrantedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryRoleRevokedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryRoleRevokedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryRolesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryTimelockArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryTimelockCallArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryTimelockCallsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryTimelockMinDelayChangeArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryTimelockMinDelayChangesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryTimelockOperationArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryTimelockOperationCancelledArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryTimelockOperationCancelledsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryTimelockOperationExecutedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryTimelockOperationExecutedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryTimelockOperationScheduledArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryTimelockOperationScheduledsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryTimelockOperationsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryTimelocksArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryTransactionArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryTransactionsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryVoteCastArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryVoteCastsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryVoteDelegationArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryVoteDelegationsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryVoteReceiptArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryVoteReceiptsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryVoteWeightArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryVoteWeightsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryVotingContractArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryVotingContractsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type QueryWithdrawArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type QueryWithdrawsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; export type Relock = Event & { - __typename?: "Relock"; + __typename?: 'Relock'; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; locking: Locking; newLock: Lock; oldLock: Lock; owner: Account; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -3826,205 +3925,206 @@ export type Relock_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - locking: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + locking: InputMaybe; locking_: InputMaybe; - locking_contains: InputMaybe; - locking_contains_nocase: InputMaybe; - locking_ends_with: InputMaybe; - locking_ends_with_nocase: InputMaybe; - locking_gt: InputMaybe; - locking_gte: InputMaybe; - locking_in: InputMaybe>; - locking_lt: InputMaybe; - locking_lte: InputMaybe; - locking_not: InputMaybe; - locking_not_contains: InputMaybe; - locking_not_contains_nocase: InputMaybe; - locking_not_ends_with: InputMaybe; - locking_not_ends_with_nocase: InputMaybe; - locking_not_in: InputMaybe>; - locking_not_starts_with: InputMaybe; - locking_not_starts_with_nocase: InputMaybe; - locking_starts_with: InputMaybe; - locking_starts_with_nocase: InputMaybe; - newLock: InputMaybe; + locking_contains: InputMaybe; + locking_contains_nocase: InputMaybe; + locking_ends_with: InputMaybe; + locking_ends_with_nocase: InputMaybe; + locking_gt: InputMaybe; + locking_gte: InputMaybe; + locking_in: InputMaybe>; + locking_lt: InputMaybe; + locking_lte: InputMaybe; + locking_not: InputMaybe; + locking_not_contains: InputMaybe; + locking_not_contains_nocase: InputMaybe; + locking_not_ends_with: InputMaybe; + locking_not_ends_with_nocase: InputMaybe; + locking_not_in: InputMaybe>; + locking_not_starts_with: InputMaybe; + locking_not_starts_with_nocase: InputMaybe; + locking_starts_with: InputMaybe; + locking_starts_with_nocase: InputMaybe; + newLock: InputMaybe; newLock_: InputMaybe; - newLock_contains: InputMaybe; - newLock_contains_nocase: InputMaybe; - newLock_ends_with: InputMaybe; - newLock_ends_with_nocase: InputMaybe; - newLock_gt: InputMaybe; - newLock_gte: InputMaybe; - newLock_in: InputMaybe>; - newLock_lt: InputMaybe; - newLock_lte: InputMaybe; - newLock_not: InputMaybe; - newLock_not_contains: InputMaybe; - newLock_not_contains_nocase: InputMaybe; - newLock_not_ends_with: InputMaybe; - newLock_not_ends_with_nocase: InputMaybe; - newLock_not_in: InputMaybe>; - newLock_not_starts_with: InputMaybe; - newLock_not_starts_with_nocase: InputMaybe; - newLock_starts_with: InputMaybe; - newLock_starts_with_nocase: InputMaybe; - oldLock: InputMaybe; + newLock_contains: InputMaybe; + newLock_contains_nocase: InputMaybe; + newLock_ends_with: InputMaybe; + newLock_ends_with_nocase: InputMaybe; + newLock_gt: InputMaybe; + newLock_gte: InputMaybe; + newLock_in: InputMaybe>; + newLock_lt: InputMaybe; + newLock_lte: InputMaybe; + newLock_not: InputMaybe; + newLock_not_contains: InputMaybe; + newLock_not_contains_nocase: InputMaybe; + newLock_not_ends_with: InputMaybe; + newLock_not_ends_with_nocase: InputMaybe; + newLock_not_in: InputMaybe>; + newLock_not_starts_with: InputMaybe; + newLock_not_starts_with_nocase: InputMaybe; + newLock_starts_with: InputMaybe; + newLock_starts_with_nocase: InputMaybe; + oldLock: InputMaybe; oldLock_: InputMaybe; - oldLock_contains: InputMaybe; - oldLock_contains_nocase: InputMaybe; - oldLock_ends_with: InputMaybe; - oldLock_ends_with_nocase: InputMaybe; - oldLock_gt: InputMaybe; - oldLock_gte: InputMaybe; - oldLock_in: InputMaybe>; - oldLock_lt: InputMaybe; - oldLock_lte: InputMaybe; - oldLock_not: InputMaybe; - oldLock_not_contains: InputMaybe; - oldLock_not_contains_nocase: InputMaybe; - oldLock_not_ends_with: InputMaybe; - oldLock_not_ends_with_nocase: InputMaybe; - oldLock_not_in: InputMaybe>; - oldLock_not_starts_with: InputMaybe; - oldLock_not_starts_with_nocase: InputMaybe; - oldLock_starts_with: InputMaybe; - oldLock_starts_with_nocase: InputMaybe; + oldLock_contains: InputMaybe; + oldLock_contains_nocase: InputMaybe; + oldLock_ends_with: InputMaybe; + oldLock_ends_with_nocase: InputMaybe; + oldLock_gt: InputMaybe; + oldLock_gte: InputMaybe; + oldLock_in: InputMaybe>; + oldLock_lt: InputMaybe; + oldLock_lte: InputMaybe; + oldLock_not: InputMaybe; + oldLock_not_contains: InputMaybe; + oldLock_not_contains_nocase: InputMaybe; + oldLock_not_ends_with: InputMaybe; + oldLock_not_ends_with_nocase: InputMaybe; + oldLock_not_in: InputMaybe>; + oldLock_not_starts_with: InputMaybe; + oldLock_not_starts_with_nocase: InputMaybe; + oldLock_starts_with: InputMaybe; + oldLock_starts_with_nocase: InputMaybe; or: InputMaybe>>; - owner: InputMaybe; + owner: InputMaybe; owner_: InputMaybe; - owner_contains: InputMaybe; - owner_contains_nocase: InputMaybe; - owner_ends_with: InputMaybe; - owner_ends_with_nocase: InputMaybe; - owner_gt: InputMaybe; - owner_gte: InputMaybe; - owner_in: InputMaybe>; - owner_lt: InputMaybe; - owner_lte: InputMaybe; - owner_not: InputMaybe; - owner_not_contains: InputMaybe; - owner_not_contains_nocase: InputMaybe; - owner_not_ends_with: InputMaybe; - owner_not_ends_with_nocase: InputMaybe; - owner_not_in: InputMaybe>; - owner_not_starts_with: InputMaybe; - owner_not_starts_with_nocase: InputMaybe; - owner_starts_with: InputMaybe; - owner_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + owner_contains: InputMaybe; + owner_contains_nocase: InputMaybe; + owner_ends_with: InputMaybe; + owner_ends_with_nocase: InputMaybe; + owner_gt: InputMaybe; + owner_gte: InputMaybe; + owner_in: InputMaybe>; + owner_lt: InputMaybe; + owner_lte: InputMaybe; + owner_not: InputMaybe; + owner_not_contains: InputMaybe; + owner_not_contains_nocase: InputMaybe; + owner_not_ends_with: InputMaybe; + owner_not_ends_with_nocase: InputMaybe; + owner_not_in: InputMaybe>; + owner_not_starts_with: InputMaybe; + owner_not_starts_with_nocase: InputMaybe; + owner_starts_with: InputMaybe; + owner_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum Relock_OrderBy { - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Locking = "locking", - LockingId = "locking__id", - LockingMode = "locking__mode", - NewLock = "newLock", - NewLockAmount = "newLock__amount", - NewLockCliff = "newLock__cliff", - NewLockId = "newLock__id", - NewLockLockId = "newLock__lockId", - NewLockRelocked = "newLock__relocked", - NewLockSlope = "newLock__slope", - NewLockTime = "newLock__time", - OldLock = "oldLock", - OldLockAmount = "oldLock__amount", - OldLockCliff = "oldLock__cliff", - OldLockId = "oldLock__id", - OldLockLockId = "oldLock__lockId", - OldLockRelocked = "oldLock__relocked", - OldLockSlope = "oldLock__slope", - OldLockTime = "oldLock__time", - Owner = "owner", - OwnerId = "owner__id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Locking = 'locking', + LockingId = 'locking__id', + LockingMode = 'locking__mode', + NewLock = 'newLock', + NewLockAmount = 'newLock__amount', + NewLockCliff = 'newLock__cliff', + NewLockId = 'newLock__id', + NewLockLockId = 'newLock__lockId', + NewLockRelocked = 'newLock__relocked', + NewLockSlope = 'newLock__slope', + NewLockTime = 'newLock__time', + OldLock = 'oldLock', + OldLockAmount = 'oldLock__amount', + OldLockCliff = 'oldLock__cliff', + OldLockId = 'oldLock__id', + OldLockLockId = 'oldLock__lockId', + OldLockRelocked = 'oldLock__relocked', + OldLockSlope = 'oldLock__slope', + OldLockTime = 'oldLock__time', + Owner = 'owner', + OwnerId = 'owner__id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type Role = { - __typename?: "Role"; - id: Scalars["Bytes"]["output"]; + __typename?: 'Role'; + id: Scalars['Bytes']['output']; roleOf: Array; }; + export type RoleRoleOfArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; export type RoleAdminChanged = Event & { - __typename?: "RoleAdminChanged"; + __typename?: 'RoleAdminChanged'; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; newAdminRole: AccessControlRole; previousAdminRole: AccessControlRole; role: AccessControlRole; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -4032,488 +4132,484 @@ export type RoleAdminChanged_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - newAdminRole: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + newAdminRole: InputMaybe; newAdminRole_: InputMaybe; - newAdminRole_contains: InputMaybe; - newAdminRole_contains_nocase: InputMaybe; - newAdminRole_ends_with: InputMaybe; - newAdminRole_ends_with_nocase: InputMaybe; - newAdminRole_gt: InputMaybe; - newAdminRole_gte: InputMaybe; - newAdminRole_in: InputMaybe>; - newAdminRole_lt: InputMaybe; - newAdminRole_lte: InputMaybe; - newAdminRole_not: InputMaybe; - newAdminRole_not_contains: InputMaybe; - newAdminRole_not_contains_nocase: InputMaybe; - newAdminRole_not_ends_with: InputMaybe; - newAdminRole_not_ends_with_nocase: InputMaybe; - newAdminRole_not_in: InputMaybe>; - newAdminRole_not_starts_with: InputMaybe; - newAdminRole_not_starts_with_nocase: InputMaybe; - newAdminRole_starts_with: InputMaybe; - newAdminRole_starts_with_nocase: InputMaybe; + newAdminRole_contains: InputMaybe; + newAdminRole_contains_nocase: InputMaybe; + newAdminRole_ends_with: InputMaybe; + newAdminRole_ends_with_nocase: InputMaybe; + newAdminRole_gt: InputMaybe; + newAdminRole_gte: InputMaybe; + newAdminRole_in: InputMaybe>; + newAdminRole_lt: InputMaybe; + newAdminRole_lte: InputMaybe; + newAdminRole_not: InputMaybe; + newAdminRole_not_contains: InputMaybe; + newAdminRole_not_contains_nocase: InputMaybe; + newAdminRole_not_ends_with: InputMaybe; + newAdminRole_not_ends_with_nocase: InputMaybe; + newAdminRole_not_in: InputMaybe>; + newAdminRole_not_starts_with: InputMaybe; + newAdminRole_not_starts_with_nocase: InputMaybe; + newAdminRole_starts_with: InputMaybe; + newAdminRole_starts_with_nocase: InputMaybe; or: InputMaybe>>; - previousAdminRole: InputMaybe; + previousAdminRole: InputMaybe; previousAdminRole_: InputMaybe; - previousAdminRole_contains: InputMaybe; - previousAdminRole_contains_nocase: InputMaybe; - previousAdminRole_ends_with: InputMaybe; - previousAdminRole_ends_with_nocase: InputMaybe; - previousAdminRole_gt: InputMaybe; - previousAdminRole_gte: InputMaybe; - previousAdminRole_in: InputMaybe>; - previousAdminRole_lt: InputMaybe; - previousAdminRole_lte: InputMaybe; - previousAdminRole_not: InputMaybe; - previousAdminRole_not_contains: InputMaybe; - previousAdminRole_not_contains_nocase: InputMaybe; - previousAdminRole_not_ends_with: InputMaybe; - previousAdminRole_not_ends_with_nocase: InputMaybe< - Scalars["String"]["input"] - >; - previousAdminRole_not_in: InputMaybe>; - previousAdminRole_not_starts_with: InputMaybe; - previousAdminRole_not_starts_with_nocase: InputMaybe< - Scalars["String"]["input"] - >; - previousAdminRole_starts_with: InputMaybe; - previousAdminRole_starts_with_nocase: InputMaybe; - role: InputMaybe; + previousAdminRole_contains: InputMaybe; + previousAdminRole_contains_nocase: InputMaybe; + previousAdminRole_ends_with: InputMaybe; + previousAdminRole_ends_with_nocase: InputMaybe; + previousAdminRole_gt: InputMaybe; + previousAdminRole_gte: InputMaybe; + previousAdminRole_in: InputMaybe>; + previousAdminRole_lt: InputMaybe; + previousAdminRole_lte: InputMaybe; + previousAdminRole_not: InputMaybe; + previousAdminRole_not_contains: InputMaybe; + previousAdminRole_not_contains_nocase: InputMaybe; + previousAdminRole_not_ends_with: InputMaybe; + previousAdminRole_not_ends_with_nocase: InputMaybe; + previousAdminRole_not_in: InputMaybe>; + previousAdminRole_not_starts_with: InputMaybe; + previousAdminRole_not_starts_with_nocase: InputMaybe; + previousAdminRole_starts_with: InputMaybe; + previousAdminRole_starts_with_nocase: InputMaybe; + role: InputMaybe; role_: InputMaybe; - role_contains: InputMaybe; - role_contains_nocase: InputMaybe; - role_ends_with: InputMaybe; - role_ends_with_nocase: InputMaybe; - role_gt: InputMaybe; - role_gte: InputMaybe; - role_in: InputMaybe>; - role_lt: InputMaybe; - role_lte: InputMaybe; - role_not: InputMaybe; - role_not_contains: InputMaybe; - role_not_contains_nocase: InputMaybe; - role_not_ends_with: InputMaybe; - role_not_ends_with_nocase: InputMaybe; - role_not_in: InputMaybe>; - role_not_starts_with: InputMaybe; - role_not_starts_with_nocase: InputMaybe; - role_starts_with: InputMaybe; - role_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + role_contains: InputMaybe; + role_contains_nocase: InputMaybe; + role_ends_with: InputMaybe; + role_ends_with_nocase: InputMaybe; + role_gt: InputMaybe; + role_gte: InputMaybe; + role_in: InputMaybe>; + role_lt: InputMaybe; + role_lte: InputMaybe; + role_not: InputMaybe; + role_not_contains: InputMaybe; + role_not_contains_nocase: InputMaybe; + role_not_ends_with: InputMaybe; + role_not_ends_with_nocase: InputMaybe; + role_not_in: InputMaybe>; + role_not_starts_with: InputMaybe; + role_not_starts_with_nocase: InputMaybe; + role_starts_with: InputMaybe; + role_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum RoleAdminChanged_OrderBy { - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - NewAdminRole = "newAdminRole", - NewAdminRoleId = "newAdminRole__id", - PreviousAdminRole = "previousAdminRole", - PreviousAdminRoleId = "previousAdminRole__id", - Role = "role", - RoleId = "role__id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + NewAdminRole = 'newAdminRole', + NewAdminRoleId = 'newAdminRole__id', + PreviousAdminRole = 'previousAdminRole', + PreviousAdminRoleId = 'previousAdminRole__id', + Role = 'role', + RoleId = 'role__id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type RoleGranted = Event & { - __typename?: "RoleGranted"; + __typename?: 'RoleGranted'; account: Account; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; role: AccessControlRole; sender: Account; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; export type RoleGranted_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; - account: InputMaybe; + account: InputMaybe; account_: InputMaybe; - account_contains: InputMaybe; - account_contains_nocase: InputMaybe; - account_ends_with: InputMaybe; - account_ends_with_nocase: InputMaybe; - account_gt: InputMaybe; - account_gte: InputMaybe; - account_in: InputMaybe>; - account_lt: InputMaybe; - account_lte: InputMaybe; - account_not: InputMaybe; - account_not_contains: InputMaybe; - account_not_contains_nocase: InputMaybe; - account_not_ends_with: InputMaybe; - account_not_ends_with_nocase: InputMaybe; - account_not_in: InputMaybe>; - account_not_starts_with: InputMaybe; - account_not_starts_with_nocase: InputMaybe; - account_starts_with: InputMaybe; - account_starts_with_nocase: InputMaybe; + account_contains: InputMaybe; + account_contains_nocase: InputMaybe; + account_ends_with: InputMaybe; + account_ends_with_nocase: InputMaybe; + account_gt: InputMaybe; + account_gte: InputMaybe; + account_in: InputMaybe>; + account_lt: InputMaybe; + account_lte: InputMaybe; + account_not: InputMaybe; + account_not_contains: InputMaybe; + account_not_contains_nocase: InputMaybe; + account_not_ends_with: InputMaybe; + account_not_ends_with_nocase: InputMaybe; + account_not_in: InputMaybe>; + account_not_starts_with: InputMaybe; + account_not_starts_with_nocase: InputMaybe; + account_starts_with: InputMaybe; + account_starts_with_nocase: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - role: InputMaybe; + role: InputMaybe; role_: InputMaybe; - role_contains: InputMaybe; - role_contains_nocase: InputMaybe; - role_ends_with: InputMaybe; - role_ends_with_nocase: InputMaybe; - role_gt: InputMaybe; - role_gte: InputMaybe; - role_in: InputMaybe>; - role_lt: InputMaybe; - role_lte: InputMaybe; - role_not: InputMaybe; - role_not_contains: InputMaybe; - role_not_contains_nocase: InputMaybe; - role_not_ends_with: InputMaybe; - role_not_ends_with_nocase: InputMaybe; - role_not_in: InputMaybe>; - role_not_starts_with: InputMaybe; - role_not_starts_with_nocase: InputMaybe; - role_starts_with: InputMaybe; - role_starts_with_nocase: InputMaybe; - sender: InputMaybe; + role_contains: InputMaybe; + role_contains_nocase: InputMaybe; + role_ends_with: InputMaybe; + role_ends_with_nocase: InputMaybe; + role_gt: InputMaybe; + role_gte: InputMaybe; + role_in: InputMaybe>; + role_lt: InputMaybe; + role_lte: InputMaybe; + role_not: InputMaybe; + role_not_contains: InputMaybe; + role_not_contains_nocase: InputMaybe; + role_not_ends_with: InputMaybe; + role_not_ends_with_nocase: InputMaybe; + role_not_in: InputMaybe>; + role_not_starts_with: InputMaybe; + role_not_starts_with_nocase: InputMaybe; + role_starts_with: InputMaybe; + role_starts_with_nocase: InputMaybe; + sender: InputMaybe; sender_: InputMaybe; - sender_contains: InputMaybe; - sender_contains_nocase: InputMaybe; - sender_ends_with: InputMaybe; - sender_ends_with_nocase: InputMaybe; - sender_gt: InputMaybe; - sender_gte: InputMaybe; - sender_in: InputMaybe>; - sender_lt: InputMaybe; - sender_lte: InputMaybe; - sender_not: InputMaybe; - sender_not_contains: InputMaybe; - sender_not_contains_nocase: InputMaybe; - sender_not_ends_with: InputMaybe; - sender_not_ends_with_nocase: InputMaybe; - sender_not_in: InputMaybe>; - sender_not_starts_with: InputMaybe; - sender_not_starts_with_nocase: InputMaybe; - sender_starts_with: InputMaybe; - sender_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + sender_contains: InputMaybe; + sender_contains_nocase: InputMaybe; + sender_ends_with: InputMaybe; + sender_ends_with_nocase: InputMaybe; + sender_gt: InputMaybe; + sender_gte: InputMaybe; + sender_in: InputMaybe>; + sender_lt: InputMaybe; + sender_lte: InputMaybe; + sender_not: InputMaybe; + sender_not_contains: InputMaybe; + sender_not_contains_nocase: InputMaybe; + sender_not_ends_with: InputMaybe; + sender_not_ends_with_nocase: InputMaybe; + sender_not_in: InputMaybe>; + sender_not_starts_with: InputMaybe; + sender_not_starts_with_nocase: InputMaybe; + sender_starts_with: InputMaybe; + sender_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum RoleGranted_OrderBy { - Account = "account", - AccountId = "account__id", - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Role = "role", - RoleId = "role__id", - Sender = "sender", - SenderId = "sender__id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Account = 'account', + AccountId = 'account__id', + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Role = 'role', + RoleId = 'role__id', + Sender = 'sender', + SenderId = 'sender__id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type RoleRevoked = Event & { - __typename?: "RoleRevoked"; + __typename?: 'RoleRevoked'; account: Account; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; role: AccessControlRole; sender: Account; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; export type RoleRevoked_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; - account: InputMaybe; + account: InputMaybe; account_: InputMaybe; - account_contains: InputMaybe; - account_contains_nocase: InputMaybe; - account_ends_with: InputMaybe; - account_ends_with_nocase: InputMaybe; - account_gt: InputMaybe; - account_gte: InputMaybe; - account_in: InputMaybe>; - account_lt: InputMaybe; - account_lte: InputMaybe; - account_not: InputMaybe; - account_not_contains: InputMaybe; - account_not_contains_nocase: InputMaybe; - account_not_ends_with: InputMaybe; - account_not_ends_with_nocase: InputMaybe; - account_not_in: InputMaybe>; - account_not_starts_with: InputMaybe; - account_not_starts_with_nocase: InputMaybe; - account_starts_with: InputMaybe; - account_starts_with_nocase: InputMaybe; + account_contains: InputMaybe; + account_contains_nocase: InputMaybe; + account_ends_with: InputMaybe; + account_ends_with_nocase: InputMaybe; + account_gt: InputMaybe; + account_gte: InputMaybe; + account_in: InputMaybe>; + account_lt: InputMaybe; + account_lte: InputMaybe; + account_not: InputMaybe; + account_not_contains: InputMaybe; + account_not_contains_nocase: InputMaybe; + account_not_ends_with: InputMaybe; + account_not_ends_with_nocase: InputMaybe; + account_not_in: InputMaybe>; + account_not_starts_with: InputMaybe; + account_not_starts_with_nocase: InputMaybe; + account_starts_with: InputMaybe; + account_starts_with_nocase: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - role: InputMaybe; + role: InputMaybe; role_: InputMaybe; - role_contains: InputMaybe; - role_contains_nocase: InputMaybe; - role_ends_with: InputMaybe; - role_ends_with_nocase: InputMaybe; - role_gt: InputMaybe; - role_gte: InputMaybe; - role_in: InputMaybe>; - role_lt: InputMaybe; - role_lte: InputMaybe; - role_not: InputMaybe; - role_not_contains: InputMaybe; - role_not_contains_nocase: InputMaybe; - role_not_ends_with: InputMaybe; - role_not_ends_with_nocase: InputMaybe; - role_not_in: InputMaybe>; - role_not_starts_with: InputMaybe; - role_not_starts_with_nocase: InputMaybe; - role_starts_with: InputMaybe; - role_starts_with_nocase: InputMaybe; - sender: InputMaybe; + role_contains: InputMaybe; + role_contains_nocase: InputMaybe; + role_ends_with: InputMaybe; + role_ends_with_nocase: InputMaybe; + role_gt: InputMaybe; + role_gte: InputMaybe; + role_in: InputMaybe>; + role_lt: InputMaybe; + role_lte: InputMaybe; + role_not: InputMaybe; + role_not_contains: InputMaybe; + role_not_contains_nocase: InputMaybe; + role_not_ends_with: InputMaybe; + role_not_ends_with_nocase: InputMaybe; + role_not_in: InputMaybe>; + role_not_starts_with: InputMaybe; + role_not_starts_with_nocase: InputMaybe; + role_starts_with: InputMaybe; + role_starts_with_nocase: InputMaybe; + sender: InputMaybe; sender_: InputMaybe; - sender_contains: InputMaybe; - sender_contains_nocase: InputMaybe; - sender_ends_with: InputMaybe; - sender_ends_with_nocase: InputMaybe; - sender_gt: InputMaybe; - sender_gte: InputMaybe; - sender_in: InputMaybe>; - sender_lt: InputMaybe; - sender_lte: InputMaybe; - sender_not: InputMaybe; - sender_not_contains: InputMaybe; - sender_not_contains_nocase: InputMaybe; - sender_not_ends_with: InputMaybe; - sender_not_ends_with_nocase: InputMaybe; - sender_not_in: InputMaybe>; - sender_not_starts_with: InputMaybe; - sender_not_starts_with_nocase: InputMaybe; - sender_starts_with: InputMaybe; - sender_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + sender_contains: InputMaybe; + sender_contains_nocase: InputMaybe; + sender_ends_with: InputMaybe; + sender_ends_with_nocase: InputMaybe; + sender_gt: InputMaybe; + sender_gte: InputMaybe; + sender_in: InputMaybe>; + sender_lt: InputMaybe; + sender_lte: InputMaybe; + sender_not: InputMaybe; + sender_not_contains: InputMaybe; + sender_not_contains_nocase: InputMaybe; + sender_not_ends_with: InputMaybe; + sender_not_ends_with_nocase: InputMaybe; + sender_not_in: InputMaybe>; + sender_not_starts_with: InputMaybe; + sender_not_starts_with_nocase: InputMaybe; + sender_starts_with: InputMaybe; + sender_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum RoleRevoked_OrderBy { - Account = "account", - AccountId = "account__id", - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Role = "role", - RoleId = "role__id", - Sender = "sender", - SenderId = "sender__id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Account = 'account', + AccountId = 'account__id', + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Role = 'role', + RoleId = 'role__id', + Sender = 'sender', + SenderId = 'sender__id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type Role_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - id: InputMaybe; - id_contains: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_contains: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_contains: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_contains: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; roleOf_: InputMaybe; }; export enum Role_OrderBy { - Id = "id", - RoleOf = "roleOf", + Id = 'id', + RoleOf = 'roleOf' } export type Subscription = { - __typename?: "Subscription"; + __typename?: 'Subscription'; /** Access to subgraph metadata */ _meta: Maybe<_Meta_>; accessControl: Maybe; @@ -4594,694 +4690,778 @@ export type Subscription = { withdraws: Array; }; + export type Subscription_MetaArgs = { block: InputMaybe; }; + export type SubscriptionAccessControlArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionAccessControlRoleArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionAccessControlRoleMemberArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionAccessControlRoleMembersArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionAccessControlRolesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionAccessControlsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionAccountArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionAccountsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionDelegateArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionDelegateChangedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionDelegateChangedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionDelegateVotesChangedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionDelegateVotesChangedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionDelegatesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionEventArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionEventsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionGovernorArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionGovernorsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionLockArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionLockCreateArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionLockCreatesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionLockingArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionLockingsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionLocksArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionProposalArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionProposalCallArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionProposalCallsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionProposalCanceledArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionProposalCanceledsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionProposalCreatedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionProposalCreatedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionProposalExecutedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionProposalExecutedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionProposalQueuedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionProposalQueuedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionProposalSupportArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionProposalSupportsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionProposalsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionRelockArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionRelocksArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionRoleArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionRoleAdminChangedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionRoleAdminChangedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionRoleGrantedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionRoleGrantedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionRoleRevokedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionRoleRevokedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionRolesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionTimelockArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionTimelockCallArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionTimelockCallsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionTimelockMinDelayChangeArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionTimelockMinDelayChangesArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionTimelockOperationArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionTimelockOperationCancelledArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionTimelockOperationCancelledsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionTimelockOperationExecutedArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionTimelockOperationExecutedsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionTimelockOperationScheduledArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionTimelockOperationScheduledsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionTimelockOperationsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionTimelocksArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionTransactionArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionTransactionsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionVoteCastArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionVoteCastsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionVoteDelegationArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionVoteDelegationsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionVoteReceiptArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionVoteReceiptsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionVoteWeightArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionVoteWeightsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionVotingContractArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionVotingContractsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; + export type SubscriptionWithdrawArgs = { block: InputMaybe; - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; subgraphError?: _SubgraphErrorPolicy_; }; + export type SubscriptionWithdrawsArgs = { block: InputMaybe; - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; where: InputMaybe; }; export type Timelock = { - __typename?: "Timelock"; + __typename?: 'Timelock'; asAccount: Account; cancelled: Array; executed: Array; - id: Scalars["Bytes"]["output"]; + id: Scalars['Bytes']['output']; mindelaychange: Array; operations: Array; scheduled: Array; }; + export type TimelockCancelledArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type TimelockExecutedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type TimelockMindelaychangeArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type TimelockOperationsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type TimelockScheduledArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; export type TimelockCall = { - __typename?: "TimelockCall"; - data: Scalars["Bytes"]["output"]; + __typename?: 'TimelockCall'; + data: Scalars['Bytes']['output']; executed: Array; - id: Scalars["ID"]["output"]; - index: Scalars["BigInt"]["output"]; + id: Scalars['ID']['output']; + index: Scalars['BigInt']['output']; operation: TimelockOperation; scheduled: Array; target: Account; - value: Scalars["BigDecimal"]["output"]; + value: Scalars['BigDecimal']['output']; }; + export type TimelockCallExecutedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type TimelockCallScheduledArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; @@ -5289,110 +5469,110 @@ export type TimelockCall_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - data: InputMaybe; - data_contains: InputMaybe; - data_gt: InputMaybe; - data_gte: InputMaybe; - data_in: InputMaybe>; - data_lt: InputMaybe; - data_lte: InputMaybe; - data_not: InputMaybe; - data_not_contains: InputMaybe; - data_not_in: InputMaybe>; + data: InputMaybe; + data_contains: InputMaybe; + data_gt: InputMaybe; + data_gte: InputMaybe; + data_in: InputMaybe>; + data_lt: InputMaybe; + data_lte: InputMaybe; + data_not: InputMaybe; + data_not_contains: InputMaybe; + data_not_in: InputMaybe>; executed_: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - index: InputMaybe; - index_gt: InputMaybe; - index_gte: InputMaybe; - index_in: InputMaybe>; - index_lt: InputMaybe; - index_lte: InputMaybe; - index_not: InputMaybe; - index_not_in: InputMaybe>; - operation: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + index: InputMaybe; + index_gt: InputMaybe; + index_gte: InputMaybe; + index_in: InputMaybe>; + index_lt: InputMaybe; + index_lte: InputMaybe; + index_not: InputMaybe; + index_not_in: InputMaybe>; + operation: InputMaybe; operation_: InputMaybe; - operation_contains: InputMaybe; - operation_contains_nocase: InputMaybe; - operation_ends_with: InputMaybe; - operation_ends_with_nocase: InputMaybe; - operation_gt: InputMaybe; - operation_gte: InputMaybe; - operation_in: InputMaybe>; - operation_lt: InputMaybe; - operation_lte: InputMaybe; - operation_not: InputMaybe; - operation_not_contains: InputMaybe; - operation_not_contains_nocase: InputMaybe; - operation_not_ends_with: InputMaybe; - operation_not_ends_with_nocase: InputMaybe; - operation_not_in: InputMaybe>; - operation_not_starts_with: InputMaybe; - operation_not_starts_with_nocase: InputMaybe; - operation_starts_with: InputMaybe; - operation_starts_with_nocase: InputMaybe; + operation_contains: InputMaybe; + operation_contains_nocase: InputMaybe; + operation_ends_with: InputMaybe; + operation_ends_with_nocase: InputMaybe; + operation_gt: InputMaybe; + operation_gte: InputMaybe; + operation_in: InputMaybe>; + operation_lt: InputMaybe; + operation_lte: InputMaybe; + operation_not: InputMaybe; + operation_not_contains: InputMaybe; + operation_not_contains_nocase: InputMaybe; + operation_not_ends_with: InputMaybe; + operation_not_ends_with_nocase: InputMaybe; + operation_not_in: InputMaybe>; + operation_not_starts_with: InputMaybe; + operation_not_starts_with_nocase: InputMaybe; + operation_starts_with: InputMaybe; + operation_starts_with_nocase: InputMaybe; or: InputMaybe>>; scheduled_: InputMaybe; - target: InputMaybe; + target: InputMaybe; target_: InputMaybe; - target_contains: InputMaybe; - target_contains_nocase: InputMaybe; - target_ends_with: InputMaybe; - target_ends_with_nocase: InputMaybe; - target_gt: InputMaybe; - target_gte: InputMaybe; - target_in: InputMaybe>; - target_lt: InputMaybe; - target_lte: InputMaybe; - target_not: InputMaybe; - target_not_contains: InputMaybe; - target_not_contains_nocase: InputMaybe; - target_not_ends_with: InputMaybe; - target_not_ends_with_nocase: InputMaybe; - target_not_in: InputMaybe>; - target_not_starts_with: InputMaybe; - target_not_starts_with_nocase: InputMaybe; - target_starts_with: InputMaybe; - target_starts_with_nocase: InputMaybe; - value: InputMaybe; - value_gt: InputMaybe; - value_gte: InputMaybe; - value_in: InputMaybe>; - value_lt: InputMaybe; - value_lte: InputMaybe; - value_not: InputMaybe; - value_not_in: InputMaybe>; + target_contains: InputMaybe; + target_contains_nocase: InputMaybe; + target_ends_with: InputMaybe; + target_ends_with_nocase: InputMaybe; + target_gt: InputMaybe; + target_gte: InputMaybe; + target_in: InputMaybe>; + target_lt: InputMaybe; + target_lte: InputMaybe; + target_not: InputMaybe; + target_not_contains: InputMaybe; + target_not_contains_nocase: InputMaybe; + target_not_ends_with: InputMaybe; + target_not_ends_with_nocase: InputMaybe; + target_not_in: InputMaybe>; + target_not_starts_with: InputMaybe; + target_not_starts_with_nocase: InputMaybe; + target_starts_with: InputMaybe; + target_starts_with_nocase: InputMaybe; + value: InputMaybe; + value_gt: InputMaybe; + value_gte: InputMaybe; + value_in: InputMaybe>; + value_lt: InputMaybe; + value_lte: InputMaybe; + value_not: InputMaybe; + value_not_in: InputMaybe>; }; export enum TimelockCall_OrderBy { - Data = "data", - Executed = "executed", - Id = "id", - Index = "index", - Operation = "operation", - OperationDelay = "operation__delay", - OperationId = "operation__id", - OperationStatus = "operation__status", - OperationTimestamp = "operation__timestamp", - Scheduled = "scheduled", - Target = "target", - TargetId = "target__id", - Value = "value", + Data = 'data', + Executed = 'executed', + Id = 'id', + Index = 'index', + Operation = 'operation', + OperationDelay = 'operation__delay', + OperationId = 'operation__id', + OperationStatus = 'operation__status', + OperationTimestamp = 'operation__timestamp', + Scheduled = 'scheduled', + Target = 'target', + TargetId = 'target__id', + Value = 'value' } export type TimelockMinDelayChange = Event & { - __typename?: "TimelockMinDelayChange"; + __typename?: 'TimelockMinDelayChange'; contract: Timelock; - delay: Scalars["BigInt"]["output"]; + delay: Scalars['BigInt']['output']; emitter: Account; - id: Scalars["ID"]["output"]; - timestamp: Scalars["BigInt"]["output"]; + id: Scalars['ID']['output']; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -5400,163 +5580,167 @@ export type TimelockMinDelayChange_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - contract: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; - delay: InputMaybe; - delay_gt: InputMaybe; - delay_gte: InputMaybe; - delay_in: InputMaybe>; - delay_lt: InputMaybe; - delay_lte: InputMaybe; - delay_not: InputMaybe; - delay_not_in: InputMaybe>; - emitter: InputMaybe; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; + delay: InputMaybe; + delay_gt: InputMaybe; + delay_gte: InputMaybe; + delay_in: InputMaybe>; + delay_lt: InputMaybe; + delay_lte: InputMaybe; + delay_not: InputMaybe; + delay_not_in: InputMaybe>; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum TimelockMinDelayChange_OrderBy { - Contract = "contract", - ContractId = "contract__id", - Delay = "delay", - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Contract = 'contract', + ContractId = 'contract__id', + Delay = 'delay', + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type TimelockOperation = { - __typename?: "TimelockOperation"; + __typename?: 'TimelockOperation'; calls: Array; cancelled: Array; contract: Timelock; - delay: Scalars["BigInt"]["output"]; + delay: Scalars['BigInt']['output']; executed: Array; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; predecessor: Maybe; scheduled: Array; status: TimelockStatus; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; }; + export type TimelockOperationCallsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type TimelockOperationCancelledArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type TimelockOperationExecutedArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type TimelockOperationScheduledArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; export type TimelockOperationCancelled = Event & { - __typename?: "TimelockOperationCancelled"; + __typename?: 'TimelockOperationCancelled'; contract: Timelock; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; operation: TimelockOperation; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -5564,135 +5748,135 @@ export type TimelockOperationCancelled_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - contract: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; - emitter: InputMaybe; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - operation: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + operation: InputMaybe; operation_: InputMaybe; - operation_contains: InputMaybe; - operation_contains_nocase: InputMaybe; - operation_ends_with: InputMaybe; - operation_ends_with_nocase: InputMaybe; - operation_gt: InputMaybe; - operation_gte: InputMaybe; - operation_in: InputMaybe>; - operation_lt: InputMaybe; - operation_lte: InputMaybe; - operation_not: InputMaybe; - operation_not_contains: InputMaybe; - operation_not_contains_nocase: InputMaybe; - operation_not_ends_with: InputMaybe; - operation_not_ends_with_nocase: InputMaybe; - operation_not_in: InputMaybe>; - operation_not_starts_with: InputMaybe; - operation_not_starts_with_nocase: InputMaybe; - operation_starts_with: InputMaybe; - operation_starts_with_nocase: InputMaybe; + operation_contains: InputMaybe; + operation_contains_nocase: InputMaybe; + operation_ends_with: InputMaybe; + operation_ends_with_nocase: InputMaybe; + operation_gt: InputMaybe; + operation_gte: InputMaybe; + operation_in: InputMaybe>; + operation_lt: InputMaybe; + operation_lte: InputMaybe; + operation_not: InputMaybe; + operation_not_contains: InputMaybe; + operation_not_contains_nocase: InputMaybe; + operation_not_ends_with: InputMaybe; + operation_not_ends_with_nocase: InputMaybe; + operation_not_in: InputMaybe>; + operation_not_starts_with: InputMaybe; + operation_not_starts_with_nocase: InputMaybe; + operation_starts_with: InputMaybe; + operation_starts_with_nocase: InputMaybe; or: InputMaybe>>; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum TimelockOperationCancelled_OrderBy { - Contract = "contract", - ContractId = "contract__id", - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Operation = "operation", - OperationDelay = "operation__delay", - OperationId = "operation__id", - OperationStatus = "operation__status", - OperationTimestamp = "operation__timestamp", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Contract = 'contract', + ContractId = 'contract__id', + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Operation = 'operation', + OperationDelay = 'operation__delay', + OperationId = 'operation__id', + OperationStatus = 'operation__status', + OperationTimestamp = 'operation__timestamp', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type TimelockOperationExecuted = Event & { - __typename?: "TimelockOperationExecuted"; + __typename?: 'TimelockOperationExecuted'; call: TimelockCall; contract: Timelock; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; operation: TimelockOperation; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -5700,161 +5884,161 @@ export type TimelockOperationExecuted_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - call: InputMaybe; + call: InputMaybe; call_: InputMaybe; - call_contains: InputMaybe; - call_contains_nocase: InputMaybe; - call_ends_with: InputMaybe; - call_ends_with_nocase: InputMaybe; - call_gt: InputMaybe; - call_gte: InputMaybe; - call_in: InputMaybe>; - call_lt: InputMaybe; - call_lte: InputMaybe; - call_not: InputMaybe; - call_not_contains: InputMaybe; - call_not_contains_nocase: InputMaybe; - call_not_ends_with: InputMaybe; - call_not_ends_with_nocase: InputMaybe; - call_not_in: InputMaybe>; - call_not_starts_with: InputMaybe; - call_not_starts_with_nocase: InputMaybe; - call_starts_with: InputMaybe; - call_starts_with_nocase: InputMaybe; - contract: InputMaybe; + call_contains: InputMaybe; + call_contains_nocase: InputMaybe; + call_ends_with: InputMaybe; + call_ends_with_nocase: InputMaybe; + call_gt: InputMaybe; + call_gte: InputMaybe; + call_in: InputMaybe>; + call_lt: InputMaybe; + call_lte: InputMaybe; + call_not: InputMaybe; + call_not_contains: InputMaybe; + call_not_contains_nocase: InputMaybe; + call_not_ends_with: InputMaybe; + call_not_ends_with_nocase: InputMaybe; + call_not_in: InputMaybe>; + call_not_starts_with: InputMaybe; + call_not_starts_with_nocase: InputMaybe; + call_starts_with: InputMaybe; + call_starts_with_nocase: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; - emitter: InputMaybe; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - operation: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + operation: InputMaybe; operation_: InputMaybe; - operation_contains: InputMaybe; - operation_contains_nocase: InputMaybe; - operation_ends_with: InputMaybe; - operation_ends_with_nocase: InputMaybe; - operation_gt: InputMaybe; - operation_gte: InputMaybe; - operation_in: InputMaybe>; - operation_lt: InputMaybe; - operation_lte: InputMaybe; - operation_not: InputMaybe; - operation_not_contains: InputMaybe; - operation_not_contains_nocase: InputMaybe; - operation_not_ends_with: InputMaybe; - operation_not_ends_with_nocase: InputMaybe; - operation_not_in: InputMaybe>; - operation_not_starts_with: InputMaybe; - operation_not_starts_with_nocase: InputMaybe; - operation_starts_with: InputMaybe; - operation_starts_with_nocase: InputMaybe; + operation_contains: InputMaybe; + operation_contains_nocase: InputMaybe; + operation_ends_with: InputMaybe; + operation_ends_with_nocase: InputMaybe; + operation_gt: InputMaybe; + operation_gte: InputMaybe; + operation_in: InputMaybe>; + operation_lt: InputMaybe; + operation_lte: InputMaybe; + operation_not: InputMaybe; + operation_not_contains: InputMaybe; + operation_not_contains_nocase: InputMaybe; + operation_not_ends_with: InputMaybe; + operation_not_ends_with_nocase: InputMaybe; + operation_not_in: InputMaybe>; + operation_not_starts_with: InputMaybe; + operation_not_starts_with_nocase: InputMaybe; + operation_starts_with: InputMaybe; + operation_starts_with_nocase: InputMaybe; or: InputMaybe>>; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum TimelockOperationExecuted_OrderBy { - Call = "call", - CallData = "call__data", - CallId = "call__id", - CallIndex = "call__index", - CallValue = "call__value", - Contract = "contract", - ContractId = "contract__id", - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Operation = "operation", - OperationDelay = "operation__delay", - OperationId = "operation__id", - OperationStatus = "operation__status", - OperationTimestamp = "operation__timestamp", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Call = 'call', + CallData = 'call__data', + CallId = 'call__id', + CallIndex = 'call__index', + CallValue = 'call__value', + Contract = 'contract', + ContractId = 'contract__id', + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Operation = 'operation', + OperationDelay = 'operation__delay', + OperationId = 'operation__id', + OperationStatus = 'operation__status', + OperationTimestamp = 'operation__timestamp', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type TimelockOperationScheduled = Event & { - __typename?: "TimelockOperationScheduled"; + __typename?: 'TimelockOperationScheduled'; call: TimelockCall; contract: Timelock; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; operation: TimelockOperation; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; @@ -5862,151 +6046,151 @@ export type TimelockOperationScheduled_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - call: InputMaybe; + call: InputMaybe; call_: InputMaybe; - call_contains: InputMaybe; - call_contains_nocase: InputMaybe; - call_ends_with: InputMaybe; - call_ends_with_nocase: InputMaybe; - call_gt: InputMaybe; - call_gte: InputMaybe; - call_in: InputMaybe>; - call_lt: InputMaybe; - call_lte: InputMaybe; - call_not: InputMaybe; - call_not_contains: InputMaybe; - call_not_contains_nocase: InputMaybe; - call_not_ends_with: InputMaybe; - call_not_ends_with_nocase: InputMaybe; - call_not_in: InputMaybe>; - call_not_starts_with: InputMaybe; - call_not_starts_with_nocase: InputMaybe; - call_starts_with: InputMaybe; - call_starts_with_nocase: InputMaybe; - contract: InputMaybe; + call_contains: InputMaybe; + call_contains_nocase: InputMaybe; + call_ends_with: InputMaybe; + call_ends_with_nocase: InputMaybe; + call_gt: InputMaybe; + call_gte: InputMaybe; + call_in: InputMaybe>; + call_lt: InputMaybe; + call_lte: InputMaybe; + call_not: InputMaybe; + call_not_contains: InputMaybe; + call_not_contains_nocase: InputMaybe; + call_not_ends_with: InputMaybe; + call_not_ends_with_nocase: InputMaybe; + call_not_in: InputMaybe>; + call_not_starts_with: InputMaybe; + call_not_starts_with_nocase: InputMaybe; + call_starts_with: InputMaybe; + call_starts_with_nocase: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; - emitter: InputMaybe; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - operation: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + operation: InputMaybe; operation_: InputMaybe; - operation_contains: InputMaybe; - operation_contains_nocase: InputMaybe; - operation_ends_with: InputMaybe; - operation_ends_with_nocase: InputMaybe; - operation_gt: InputMaybe; - operation_gte: InputMaybe; - operation_in: InputMaybe>; - operation_lt: InputMaybe; - operation_lte: InputMaybe; - operation_not: InputMaybe; - operation_not_contains: InputMaybe; - operation_not_contains_nocase: InputMaybe; - operation_not_ends_with: InputMaybe; - operation_not_ends_with_nocase: InputMaybe; - operation_not_in: InputMaybe>; - operation_not_starts_with: InputMaybe; - operation_not_starts_with_nocase: InputMaybe; - operation_starts_with: InputMaybe; - operation_starts_with_nocase: InputMaybe; + operation_contains: InputMaybe; + operation_contains_nocase: InputMaybe; + operation_ends_with: InputMaybe; + operation_ends_with_nocase: InputMaybe; + operation_gt: InputMaybe; + operation_gte: InputMaybe; + operation_in: InputMaybe>; + operation_lt: InputMaybe; + operation_lte: InputMaybe; + operation_not: InputMaybe; + operation_not_contains: InputMaybe; + operation_not_contains_nocase: InputMaybe; + operation_not_ends_with: InputMaybe; + operation_not_ends_with_nocase: InputMaybe; + operation_not_in: InputMaybe>; + operation_not_starts_with: InputMaybe; + operation_not_starts_with_nocase: InputMaybe; + operation_starts_with: InputMaybe; + operation_starts_with_nocase: InputMaybe; or: InputMaybe>>; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum TimelockOperationScheduled_OrderBy { - Call = "call", - CallData = "call__data", - CallId = "call__id", - CallIndex = "call__index", - CallValue = "call__value", - Contract = "contract", - ContractId = "contract__id", - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Operation = "operation", - OperationDelay = "operation__delay", - OperationId = "operation__id", - OperationStatus = "operation__status", - OperationTimestamp = "operation__timestamp", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Call = 'call', + CallData = 'call__data', + CallId = 'call__id', + CallIndex = 'call__index', + CallValue = 'call__value', + Contract = 'contract', + ContractId = 'contract__id', + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Operation = 'operation', + OperationDelay = 'operation__delay', + OperationId = 'operation__id', + OperationStatus = 'operation__status', + OperationTimestamp = 'operation__timestamp', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type TimelockOperation_Filter = { @@ -6015,142 +6199,142 @@ export type TimelockOperation_Filter = { and: InputMaybe>>; calls_: InputMaybe; cancelled_: InputMaybe; - contract: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; - delay: InputMaybe; - delay_gt: InputMaybe; - delay_gte: InputMaybe; - delay_in: InputMaybe>; - delay_lt: InputMaybe; - delay_lte: InputMaybe; - delay_not: InputMaybe; - delay_not_in: InputMaybe>; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; + delay: InputMaybe; + delay_gt: InputMaybe; + delay_gte: InputMaybe; + delay_in: InputMaybe>; + delay_lt: InputMaybe; + delay_lte: InputMaybe; + delay_not: InputMaybe; + delay_not_in: InputMaybe>; executed_: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - predecessor: InputMaybe; + predecessor: InputMaybe; predecessor_: InputMaybe; - predecessor_contains: InputMaybe; - predecessor_contains_nocase: InputMaybe; - predecessor_ends_with: InputMaybe; - predecessor_ends_with_nocase: InputMaybe; - predecessor_gt: InputMaybe; - predecessor_gte: InputMaybe; - predecessor_in: InputMaybe>; - predecessor_lt: InputMaybe; - predecessor_lte: InputMaybe; - predecessor_not: InputMaybe; - predecessor_not_contains: InputMaybe; - predecessor_not_contains_nocase: InputMaybe; - predecessor_not_ends_with: InputMaybe; - predecessor_not_ends_with_nocase: InputMaybe; - predecessor_not_in: InputMaybe>; - predecessor_not_starts_with: InputMaybe; - predecessor_not_starts_with_nocase: InputMaybe; - predecessor_starts_with: InputMaybe; - predecessor_starts_with_nocase: InputMaybe; + predecessor_contains: InputMaybe; + predecessor_contains_nocase: InputMaybe; + predecessor_ends_with: InputMaybe; + predecessor_ends_with_nocase: InputMaybe; + predecessor_gt: InputMaybe; + predecessor_gte: InputMaybe; + predecessor_in: InputMaybe>; + predecessor_lt: InputMaybe; + predecessor_lte: InputMaybe; + predecessor_not: InputMaybe; + predecessor_not_contains: InputMaybe; + predecessor_not_contains_nocase: InputMaybe; + predecessor_not_ends_with: InputMaybe; + predecessor_not_ends_with_nocase: InputMaybe; + predecessor_not_in: InputMaybe>; + predecessor_not_starts_with: InputMaybe; + predecessor_not_starts_with_nocase: InputMaybe; + predecessor_starts_with: InputMaybe; + predecessor_starts_with_nocase: InputMaybe; scheduled_: InputMaybe; status: InputMaybe; status_in: InputMaybe>; status_not: InputMaybe; status_not_in: InputMaybe>; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; }; export enum TimelockOperation_OrderBy { - Calls = "calls", - Cancelled = "cancelled", - Contract = "contract", - ContractId = "contract__id", - Delay = "delay", - Executed = "executed", - Id = "id", - Predecessor = "predecessor", - PredecessorDelay = "predecessor__delay", - PredecessorId = "predecessor__id", - PredecessorStatus = "predecessor__status", - PredecessorTimestamp = "predecessor__timestamp", - Scheduled = "scheduled", - Status = "status", - Timestamp = "timestamp", + Calls = 'calls', + Cancelled = 'cancelled', + Contract = 'contract', + ContractId = 'contract__id', + Delay = 'delay', + Executed = 'executed', + Id = 'id', + Predecessor = 'predecessor', + PredecessorDelay = 'predecessor__delay', + PredecessorId = 'predecessor__id', + PredecessorStatus = 'predecessor__status', + PredecessorTimestamp = 'predecessor__timestamp', + Scheduled = 'scheduled', + Status = 'status', + Timestamp = 'timestamp' } export enum TimelockStatus { - Canceled = "CANCELED", - Executed = "EXECUTED", - Scheduled = "SCHEDULED", + Canceled = 'CANCELED', + Executed = 'EXECUTED', + Scheduled = 'SCHEDULED' } export type Timelock_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - asAccount: InputMaybe; + asAccount: InputMaybe; asAccount_: InputMaybe; - asAccount_contains: InputMaybe; - asAccount_contains_nocase: InputMaybe; - asAccount_ends_with: InputMaybe; - asAccount_ends_with_nocase: InputMaybe; - asAccount_gt: InputMaybe; - asAccount_gte: InputMaybe; - asAccount_in: InputMaybe>; - asAccount_lt: InputMaybe; - asAccount_lte: InputMaybe; - asAccount_not: InputMaybe; - asAccount_not_contains: InputMaybe; - asAccount_not_contains_nocase: InputMaybe; - asAccount_not_ends_with: InputMaybe; - asAccount_not_ends_with_nocase: InputMaybe; - asAccount_not_in: InputMaybe>; - asAccount_not_starts_with: InputMaybe; - asAccount_not_starts_with_nocase: InputMaybe; - asAccount_starts_with: InputMaybe; - asAccount_starts_with_nocase: InputMaybe; + asAccount_contains: InputMaybe; + asAccount_contains_nocase: InputMaybe; + asAccount_ends_with: InputMaybe; + asAccount_ends_with_nocase: InputMaybe; + asAccount_gt: InputMaybe; + asAccount_gte: InputMaybe; + asAccount_in: InputMaybe>; + asAccount_lt: InputMaybe; + asAccount_lte: InputMaybe; + asAccount_not: InputMaybe; + asAccount_not_contains: InputMaybe; + asAccount_not_contains_nocase: InputMaybe; + asAccount_not_ends_with: InputMaybe; + asAccount_not_ends_with_nocase: InputMaybe; + asAccount_not_in: InputMaybe>; + asAccount_not_starts_with: InputMaybe; + asAccount_not_starts_with_nocase: InputMaybe; + asAccount_starts_with: InputMaybe; + asAccount_starts_with_nocase: InputMaybe; cancelled_: InputMaybe; executed_: InputMaybe; - id: InputMaybe; - id_contains: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_contains: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_contains: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_contains: InputMaybe; + id_not_in: InputMaybe>; mindelaychange_: InputMaybe; operations_: InputMaybe; or: InputMaybe>>; @@ -6158,29 +6342,30 @@ export type Timelock_Filter = { }; export enum Timelock_OrderBy { - AsAccount = "asAccount", - AsAccountId = "asAccount__id", - Cancelled = "cancelled", - Executed = "executed", - Id = "id", - Mindelaychange = "mindelaychange", - Operations = "operations", - Scheduled = "scheduled", + AsAccount = 'asAccount', + AsAccountId = 'asAccount__id', + Cancelled = 'cancelled', + Executed = 'executed', + Id = 'id', + Mindelaychange = 'mindelaychange', + Operations = 'operations', + Scheduled = 'scheduled' } export type Transaction = { - __typename?: "Transaction"; - blockNumber: Scalars["BigInt"]["output"]; + __typename?: 'Transaction'; + blockNumber: Scalars['BigInt']['output']; events: Array; - id: Scalars["ID"]["output"]; - timestamp: Scalars["BigInt"]["output"]; + id: Scalars['ID']['output']; + timestamp: Scalars['BigInt']['output']; }; + export type TransactionEventsArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; @@ -6188,50 +6373,50 @@ export type Transaction_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - blockNumber: InputMaybe; - blockNumber_gt: InputMaybe; - blockNumber_gte: InputMaybe; - blockNumber_in: InputMaybe>; - blockNumber_lt: InputMaybe; - blockNumber_lte: InputMaybe; - blockNumber_not: InputMaybe; - blockNumber_not_in: InputMaybe>; + blockNumber: InputMaybe; + blockNumber_gt: InputMaybe; + blockNumber_gte: InputMaybe; + blockNumber_in: InputMaybe>; + blockNumber_lt: InputMaybe; + blockNumber_lte: InputMaybe; + blockNumber_not: InputMaybe; + blockNumber_not_in: InputMaybe>; events_: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; }; export enum Transaction_OrderBy { - BlockNumber = "blockNumber", - Events = "events", - Id = "id", - Timestamp = "timestamp", + BlockNumber = 'blockNumber', + Events = 'events', + Id = 'id', + Timestamp = 'timestamp' } export type VoteCast = Event & { - __typename?: "VoteCast"; + __typename?: 'VoteCast'; emitter: Account; governor: Governor; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; proposal: Proposal; receipt: VoteReceipt; support: ProposalSupport; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; voter: Account; }; @@ -6240,221 +6425,222 @@ export type VoteCast_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - governor: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + governor: InputMaybe; governor_: InputMaybe; - governor_contains: InputMaybe; - governor_contains_nocase: InputMaybe; - governor_ends_with: InputMaybe; - governor_ends_with_nocase: InputMaybe; - governor_gt: InputMaybe; - governor_gte: InputMaybe; - governor_in: InputMaybe>; - governor_lt: InputMaybe; - governor_lte: InputMaybe; - governor_not: InputMaybe; - governor_not_contains: InputMaybe; - governor_not_contains_nocase: InputMaybe; - governor_not_ends_with: InputMaybe; - governor_not_ends_with_nocase: InputMaybe; - governor_not_in: InputMaybe>; - governor_not_starts_with: InputMaybe; - governor_not_starts_with_nocase: InputMaybe; - governor_starts_with: InputMaybe; - governor_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + governor_contains: InputMaybe; + governor_contains_nocase: InputMaybe; + governor_ends_with: InputMaybe; + governor_ends_with_nocase: InputMaybe; + governor_gt: InputMaybe; + governor_gte: InputMaybe; + governor_in: InputMaybe>; + governor_lt: InputMaybe; + governor_lte: InputMaybe; + governor_not: InputMaybe; + governor_not_contains: InputMaybe; + governor_not_contains_nocase: InputMaybe; + governor_not_ends_with: InputMaybe; + governor_not_ends_with_nocase: InputMaybe; + governor_not_in: InputMaybe>; + governor_not_starts_with: InputMaybe; + governor_not_starts_with_nocase: InputMaybe; + governor_starts_with: InputMaybe; + governor_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - proposal: InputMaybe; + proposal: InputMaybe; proposal_: InputMaybe; - proposal_contains: InputMaybe; - proposal_contains_nocase: InputMaybe; - proposal_ends_with: InputMaybe; - proposal_ends_with_nocase: InputMaybe; - proposal_gt: InputMaybe; - proposal_gte: InputMaybe; - proposal_in: InputMaybe>; - proposal_lt: InputMaybe; - proposal_lte: InputMaybe; - proposal_not: InputMaybe; - proposal_not_contains: InputMaybe; - proposal_not_contains_nocase: InputMaybe; - proposal_not_ends_with: InputMaybe; - proposal_not_ends_with_nocase: InputMaybe; - proposal_not_in: InputMaybe>; - proposal_not_starts_with: InputMaybe; - proposal_not_starts_with_nocase: InputMaybe; - proposal_starts_with: InputMaybe; - proposal_starts_with_nocase: InputMaybe; - receipt: InputMaybe; + proposal_contains: InputMaybe; + proposal_contains_nocase: InputMaybe; + proposal_ends_with: InputMaybe; + proposal_ends_with_nocase: InputMaybe; + proposal_gt: InputMaybe; + proposal_gte: InputMaybe; + proposal_in: InputMaybe>; + proposal_lt: InputMaybe; + proposal_lte: InputMaybe; + proposal_not: InputMaybe; + proposal_not_contains: InputMaybe; + proposal_not_contains_nocase: InputMaybe; + proposal_not_ends_with: InputMaybe; + proposal_not_ends_with_nocase: InputMaybe; + proposal_not_in: InputMaybe>; + proposal_not_starts_with: InputMaybe; + proposal_not_starts_with_nocase: InputMaybe; + proposal_starts_with: InputMaybe; + proposal_starts_with_nocase: InputMaybe; + receipt: InputMaybe; receipt_: InputMaybe; - receipt_contains: InputMaybe; - receipt_contains_nocase: InputMaybe; - receipt_ends_with: InputMaybe; - receipt_ends_with_nocase: InputMaybe; - receipt_gt: InputMaybe; - receipt_gte: InputMaybe; - receipt_in: InputMaybe>; - receipt_lt: InputMaybe; - receipt_lte: InputMaybe; - receipt_not: InputMaybe; - receipt_not_contains: InputMaybe; - receipt_not_contains_nocase: InputMaybe; - receipt_not_ends_with: InputMaybe; - receipt_not_ends_with_nocase: InputMaybe; - receipt_not_in: InputMaybe>; - receipt_not_starts_with: InputMaybe; - receipt_not_starts_with_nocase: InputMaybe; - receipt_starts_with: InputMaybe; - receipt_starts_with_nocase: InputMaybe; - support: InputMaybe; + receipt_contains: InputMaybe; + receipt_contains_nocase: InputMaybe; + receipt_ends_with: InputMaybe; + receipt_ends_with_nocase: InputMaybe; + receipt_gt: InputMaybe; + receipt_gte: InputMaybe; + receipt_in: InputMaybe>; + receipt_lt: InputMaybe; + receipt_lte: InputMaybe; + receipt_not: InputMaybe; + receipt_not_contains: InputMaybe; + receipt_not_contains_nocase: InputMaybe; + receipt_not_ends_with: InputMaybe; + receipt_not_ends_with_nocase: InputMaybe; + receipt_not_in: InputMaybe>; + receipt_not_starts_with: InputMaybe; + receipt_not_starts_with_nocase: InputMaybe; + receipt_starts_with: InputMaybe; + receipt_starts_with_nocase: InputMaybe; + support: InputMaybe; support_: InputMaybe; - support_contains: InputMaybe; - support_contains_nocase: InputMaybe; - support_ends_with: InputMaybe; - support_ends_with_nocase: InputMaybe; - support_gt: InputMaybe; - support_gte: InputMaybe; - support_in: InputMaybe>; - support_lt: InputMaybe; - support_lte: InputMaybe; - support_not: InputMaybe; - support_not_contains: InputMaybe; - support_not_contains_nocase: InputMaybe; - support_not_ends_with: InputMaybe; - support_not_ends_with_nocase: InputMaybe; - support_not_in: InputMaybe>; - support_not_starts_with: InputMaybe; - support_not_starts_with_nocase: InputMaybe; - support_starts_with: InputMaybe; - support_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + support_contains: InputMaybe; + support_contains_nocase: InputMaybe; + support_ends_with: InputMaybe; + support_ends_with_nocase: InputMaybe; + support_gt: InputMaybe; + support_gte: InputMaybe; + support_in: InputMaybe>; + support_lt: InputMaybe; + support_lte: InputMaybe; + support_not: InputMaybe; + support_not_contains: InputMaybe; + support_not_contains_nocase: InputMaybe; + support_not_ends_with: InputMaybe; + support_not_ends_with_nocase: InputMaybe; + support_not_in: InputMaybe>; + support_not_starts_with: InputMaybe; + support_not_starts_with_nocase: InputMaybe; + support_starts_with: InputMaybe; + support_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; - voter: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; + voter: InputMaybe; voter_: InputMaybe; - voter_contains: InputMaybe; - voter_contains_nocase: InputMaybe; - voter_ends_with: InputMaybe; - voter_ends_with_nocase: InputMaybe; - voter_gt: InputMaybe; - voter_gte: InputMaybe; - voter_in: InputMaybe>; - voter_lt: InputMaybe; - voter_lte: InputMaybe; - voter_not: InputMaybe; - voter_not_contains: InputMaybe; - voter_not_contains_nocase: InputMaybe; - voter_not_ends_with: InputMaybe; - voter_not_ends_with_nocase: InputMaybe; - voter_not_in: InputMaybe>; - voter_not_starts_with: InputMaybe; - voter_not_starts_with_nocase: InputMaybe; - voter_starts_with: InputMaybe; - voter_starts_with_nocase: InputMaybe; + voter_contains: InputMaybe; + voter_contains_nocase: InputMaybe; + voter_ends_with: InputMaybe; + voter_ends_with_nocase: InputMaybe; + voter_gt: InputMaybe; + voter_gte: InputMaybe; + voter_in: InputMaybe>; + voter_lt: InputMaybe; + voter_lte: InputMaybe; + voter_not: InputMaybe; + voter_not_contains: InputMaybe; + voter_not_contains_nocase: InputMaybe; + voter_not_ends_with: InputMaybe; + voter_not_ends_with_nocase: InputMaybe; + voter_not_in: InputMaybe>; + voter_not_starts_with: InputMaybe; + voter_not_starts_with_nocase: InputMaybe; + voter_starts_with: InputMaybe; + voter_starts_with_nocase: InputMaybe; }; export enum VoteCast_OrderBy { - Emitter = "emitter", - EmitterId = "emitter__id", - Governor = "governor", - GovernorId = "governor__id", - GovernorMode = "governor__mode", - Id = "id", - Proposal = "proposal", - ProposalCanceled = "proposal__canceled", - ProposalDescription = "proposal__description", - ProposalEndBlock = "proposal__endBlock", - ProposalEta = "proposal__eta", - ProposalExecuted = "proposal__executed", - ProposalId = "proposal__id", - ProposalProposalId = "proposal__proposalId", - ProposalQueued = "proposal__queued", - ProposalStartBlock = "proposal__startBlock", - Receipt = "receipt", - ReceiptId = "receipt__id", - ReceiptParams = "receipt__params", - ReceiptReason = "receipt__reason", - ReceiptWeight = "receipt__weight", - Support = "support", - SupportId = "support__id", - SupportSupport = "support__support", - SupportWeight = "support__weight", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", - Voter = "voter", - VoterId = "voter__id", + Emitter = 'emitter', + EmitterId = 'emitter__id', + Governor = 'governor', + GovernorId = 'governor__id', + GovernorMode = 'governor__mode', + Id = 'id', + Proposal = 'proposal', + ProposalCanceled = 'proposal__canceled', + ProposalDescription = 'proposal__description', + ProposalEndBlock = 'proposal__endBlock', + ProposalEta = 'proposal__eta', + ProposalExecuted = 'proposal__executed', + ProposalId = 'proposal__id', + ProposalProposalId = 'proposal__proposalId', + ProposalQueued = 'proposal__queued', + ProposalStartBlock = 'proposal__startBlock', + Receipt = 'receipt', + ReceiptId = 'receipt__id', + ReceiptParams = 'receipt__params', + ReceiptReason = 'receipt__reason', + ReceiptWeight = 'receipt__weight', + Support = 'support', + SupportId = 'support__id', + SupportSupport = 'support__support', + SupportWeight = 'support__weight', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp', + Voter = 'voter', + VoterId = 'voter__id' } export type VoteDelegation = { - __typename?: "VoteDelegation"; + __typename?: 'VoteDelegation'; contract: VotingContract; delegateChangedEvent: Array; delegatee: Account; delegator: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; }; + export type VoteDelegationDelegateChangedEventArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; @@ -6462,381 +6648,386 @@ export type VoteDelegation_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - contract: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; delegateChangedEvent_: InputMaybe; - delegatee: InputMaybe; + delegatee: InputMaybe; delegatee_: InputMaybe; - delegatee_contains: InputMaybe; - delegatee_contains_nocase: InputMaybe; - delegatee_ends_with: InputMaybe; - delegatee_ends_with_nocase: InputMaybe; - delegatee_gt: InputMaybe; - delegatee_gte: InputMaybe; - delegatee_in: InputMaybe>; - delegatee_lt: InputMaybe; - delegatee_lte: InputMaybe; - delegatee_not: InputMaybe; - delegatee_not_contains: InputMaybe; - delegatee_not_contains_nocase: InputMaybe; - delegatee_not_ends_with: InputMaybe; - delegatee_not_ends_with_nocase: InputMaybe; - delegatee_not_in: InputMaybe>; - delegatee_not_starts_with: InputMaybe; - delegatee_not_starts_with_nocase: InputMaybe; - delegatee_starts_with: InputMaybe; - delegatee_starts_with_nocase: InputMaybe; - delegator: InputMaybe; + delegatee_contains: InputMaybe; + delegatee_contains_nocase: InputMaybe; + delegatee_ends_with: InputMaybe; + delegatee_ends_with_nocase: InputMaybe; + delegatee_gt: InputMaybe; + delegatee_gte: InputMaybe; + delegatee_in: InputMaybe>; + delegatee_lt: InputMaybe; + delegatee_lte: InputMaybe; + delegatee_not: InputMaybe; + delegatee_not_contains: InputMaybe; + delegatee_not_contains_nocase: InputMaybe; + delegatee_not_ends_with: InputMaybe; + delegatee_not_ends_with_nocase: InputMaybe; + delegatee_not_in: InputMaybe>; + delegatee_not_starts_with: InputMaybe; + delegatee_not_starts_with_nocase: InputMaybe; + delegatee_starts_with: InputMaybe; + delegatee_starts_with_nocase: InputMaybe; + delegator: InputMaybe; delegator_: InputMaybe; - delegator_contains: InputMaybe; - delegator_contains_nocase: InputMaybe; - delegator_ends_with: InputMaybe; - delegator_ends_with_nocase: InputMaybe; - delegator_gt: InputMaybe; - delegator_gte: InputMaybe; - delegator_in: InputMaybe>; - delegator_lt: InputMaybe; - delegator_lte: InputMaybe; - delegator_not: InputMaybe; - delegator_not_contains: InputMaybe; - delegator_not_contains_nocase: InputMaybe; - delegator_not_ends_with: InputMaybe; - delegator_not_ends_with_nocase: InputMaybe; - delegator_not_in: InputMaybe>; - delegator_not_starts_with: InputMaybe; - delegator_not_starts_with_nocase: InputMaybe; - delegator_starts_with: InputMaybe; - delegator_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + delegator_contains: InputMaybe; + delegator_contains_nocase: InputMaybe; + delegator_ends_with: InputMaybe; + delegator_ends_with_nocase: InputMaybe; + delegator_gt: InputMaybe; + delegator_gte: InputMaybe; + delegator_in: InputMaybe>; + delegator_lt: InputMaybe; + delegator_lte: InputMaybe; + delegator_not: InputMaybe; + delegator_not_contains: InputMaybe; + delegator_not_contains_nocase: InputMaybe; + delegator_not_ends_with: InputMaybe; + delegator_not_ends_with_nocase: InputMaybe; + delegator_not_in: InputMaybe>; + delegator_not_starts_with: InputMaybe; + delegator_not_starts_with_nocase: InputMaybe; + delegator_starts_with: InputMaybe; + delegator_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; }; export enum VoteDelegation_OrderBy { - Contract = "contract", - ContractId = "contract__id", - DelegateChangedEvent = "delegateChangedEvent", - Delegatee = "delegatee", - DelegateeId = "delegatee__id", - Delegator = "delegator", - DelegatorId = "delegator__id", - Id = "id", + Contract = 'contract', + ContractId = 'contract__id', + DelegateChangedEvent = 'delegateChangedEvent', + Delegatee = 'delegatee', + DelegateeId = 'delegatee__id', + Delegator = 'delegator', + DelegatorId = 'delegator__id', + Id = 'id' } export type VoteReceipt = { - __typename?: "VoteReceipt"; - id: Scalars["ID"]["output"]; - params: Maybe; + __typename?: 'VoteReceipt'; + id: Scalars['ID']['output']; + params: Maybe; proposal: Proposal; - reason: Scalars["String"]["output"]; + reason: Scalars['String']['output']; support: ProposalSupport; voter: Account; - weight: Scalars["BigInt"]["output"]; + weight: Scalars['BigInt']['output']; }; export type VoteReceipt_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - params: InputMaybe; - params_contains: InputMaybe; - params_gt: InputMaybe; - params_gte: InputMaybe; - params_in: InputMaybe>; - params_lt: InputMaybe; - params_lte: InputMaybe; - params_not: InputMaybe; - params_not_contains: InputMaybe; - params_not_in: InputMaybe>; - proposal: InputMaybe; + params: InputMaybe; + params_contains: InputMaybe; + params_gt: InputMaybe; + params_gte: InputMaybe; + params_in: InputMaybe>; + params_lt: InputMaybe; + params_lte: InputMaybe; + params_not: InputMaybe; + params_not_contains: InputMaybe; + params_not_in: InputMaybe>; + proposal: InputMaybe; proposal_: InputMaybe; - proposal_contains: InputMaybe; - proposal_contains_nocase: InputMaybe; - proposal_ends_with: InputMaybe; - proposal_ends_with_nocase: InputMaybe; - proposal_gt: InputMaybe; - proposal_gte: InputMaybe; - proposal_in: InputMaybe>; - proposal_lt: InputMaybe; - proposal_lte: InputMaybe; - proposal_not: InputMaybe; - proposal_not_contains: InputMaybe; - proposal_not_contains_nocase: InputMaybe; - proposal_not_ends_with: InputMaybe; - proposal_not_ends_with_nocase: InputMaybe; - proposal_not_in: InputMaybe>; - proposal_not_starts_with: InputMaybe; - proposal_not_starts_with_nocase: InputMaybe; - proposal_starts_with: InputMaybe; - proposal_starts_with_nocase: InputMaybe; - reason: InputMaybe; - reason_contains: InputMaybe; - reason_contains_nocase: InputMaybe; - reason_ends_with: InputMaybe; - reason_ends_with_nocase: InputMaybe; - reason_gt: InputMaybe; - reason_gte: InputMaybe; - reason_in: InputMaybe>; - reason_lt: InputMaybe; - reason_lte: InputMaybe; - reason_not: InputMaybe; - reason_not_contains: InputMaybe; - reason_not_contains_nocase: InputMaybe; - reason_not_ends_with: InputMaybe; - reason_not_ends_with_nocase: InputMaybe; - reason_not_in: InputMaybe>; - reason_not_starts_with: InputMaybe; - reason_not_starts_with_nocase: InputMaybe; - reason_starts_with: InputMaybe; - reason_starts_with_nocase: InputMaybe; - support: InputMaybe; + proposal_contains: InputMaybe; + proposal_contains_nocase: InputMaybe; + proposal_ends_with: InputMaybe; + proposal_ends_with_nocase: InputMaybe; + proposal_gt: InputMaybe; + proposal_gte: InputMaybe; + proposal_in: InputMaybe>; + proposal_lt: InputMaybe; + proposal_lte: InputMaybe; + proposal_not: InputMaybe; + proposal_not_contains: InputMaybe; + proposal_not_contains_nocase: InputMaybe; + proposal_not_ends_with: InputMaybe; + proposal_not_ends_with_nocase: InputMaybe; + proposal_not_in: InputMaybe>; + proposal_not_starts_with: InputMaybe; + proposal_not_starts_with_nocase: InputMaybe; + proposal_starts_with: InputMaybe; + proposal_starts_with_nocase: InputMaybe; + reason: InputMaybe; + reason_contains: InputMaybe; + reason_contains_nocase: InputMaybe; + reason_ends_with: InputMaybe; + reason_ends_with_nocase: InputMaybe; + reason_gt: InputMaybe; + reason_gte: InputMaybe; + reason_in: InputMaybe>; + reason_lt: InputMaybe; + reason_lte: InputMaybe; + reason_not: InputMaybe; + reason_not_contains: InputMaybe; + reason_not_contains_nocase: InputMaybe; + reason_not_ends_with: InputMaybe; + reason_not_ends_with_nocase: InputMaybe; + reason_not_in: InputMaybe>; + reason_not_starts_with: InputMaybe; + reason_not_starts_with_nocase: InputMaybe; + reason_starts_with: InputMaybe; + reason_starts_with_nocase: InputMaybe; + support: InputMaybe; support_: InputMaybe; - support_contains: InputMaybe; - support_contains_nocase: InputMaybe; - support_ends_with: InputMaybe; - support_ends_with_nocase: InputMaybe; - support_gt: InputMaybe; - support_gte: InputMaybe; - support_in: InputMaybe>; - support_lt: InputMaybe; - support_lte: InputMaybe; - support_not: InputMaybe; - support_not_contains: InputMaybe; - support_not_contains_nocase: InputMaybe; - support_not_ends_with: InputMaybe; - support_not_ends_with_nocase: InputMaybe; - support_not_in: InputMaybe>; - support_not_starts_with: InputMaybe; - support_not_starts_with_nocase: InputMaybe; - support_starts_with: InputMaybe; - support_starts_with_nocase: InputMaybe; - voter: InputMaybe; + support_contains: InputMaybe; + support_contains_nocase: InputMaybe; + support_ends_with: InputMaybe; + support_ends_with_nocase: InputMaybe; + support_gt: InputMaybe; + support_gte: InputMaybe; + support_in: InputMaybe>; + support_lt: InputMaybe; + support_lte: InputMaybe; + support_not: InputMaybe; + support_not_contains: InputMaybe; + support_not_contains_nocase: InputMaybe; + support_not_ends_with: InputMaybe; + support_not_ends_with_nocase: InputMaybe; + support_not_in: InputMaybe>; + support_not_starts_with: InputMaybe; + support_not_starts_with_nocase: InputMaybe; + support_starts_with: InputMaybe; + support_starts_with_nocase: InputMaybe; + voter: InputMaybe; voter_: InputMaybe; - voter_contains: InputMaybe; - voter_contains_nocase: InputMaybe; - voter_ends_with: InputMaybe; - voter_ends_with_nocase: InputMaybe; - voter_gt: InputMaybe; - voter_gte: InputMaybe; - voter_in: InputMaybe>; - voter_lt: InputMaybe; - voter_lte: InputMaybe; - voter_not: InputMaybe; - voter_not_contains: InputMaybe; - voter_not_contains_nocase: InputMaybe; - voter_not_ends_with: InputMaybe; - voter_not_ends_with_nocase: InputMaybe; - voter_not_in: InputMaybe>; - voter_not_starts_with: InputMaybe; - voter_not_starts_with_nocase: InputMaybe; - voter_starts_with: InputMaybe; - voter_starts_with_nocase: InputMaybe; - weight: InputMaybe; - weight_gt: InputMaybe; - weight_gte: InputMaybe; - weight_in: InputMaybe>; - weight_lt: InputMaybe; - weight_lte: InputMaybe; - weight_not: InputMaybe; - weight_not_in: InputMaybe>; + voter_contains: InputMaybe; + voter_contains_nocase: InputMaybe; + voter_ends_with: InputMaybe; + voter_ends_with_nocase: InputMaybe; + voter_gt: InputMaybe; + voter_gte: InputMaybe; + voter_in: InputMaybe>; + voter_lt: InputMaybe; + voter_lte: InputMaybe; + voter_not: InputMaybe; + voter_not_contains: InputMaybe; + voter_not_contains_nocase: InputMaybe; + voter_not_ends_with: InputMaybe; + voter_not_ends_with_nocase: InputMaybe; + voter_not_in: InputMaybe>; + voter_not_starts_with: InputMaybe; + voter_not_starts_with_nocase: InputMaybe; + voter_starts_with: InputMaybe; + voter_starts_with_nocase: InputMaybe; + weight: InputMaybe; + weight_gt: InputMaybe; + weight_gte: InputMaybe; + weight_in: InputMaybe>; + weight_lt: InputMaybe; + weight_lte: InputMaybe; + weight_not: InputMaybe; + weight_not_in: InputMaybe>; }; export enum VoteReceipt_OrderBy { - Id = "id", - Params = "params", - Proposal = "proposal", - ProposalCanceled = "proposal__canceled", - ProposalDescription = "proposal__description", - ProposalEndBlock = "proposal__endBlock", - ProposalEta = "proposal__eta", - ProposalExecuted = "proposal__executed", - ProposalId = "proposal__id", - ProposalProposalId = "proposal__proposalId", - ProposalQueued = "proposal__queued", - ProposalStartBlock = "proposal__startBlock", - Reason = "reason", - Support = "support", - SupportId = "support__id", - SupportSupport = "support__support", - SupportWeight = "support__weight", - Voter = "voter", - VoterId = "voter__id", - Weight = "weight", + Id = 'id', + Params = 'params', + Proposal = 'proposal', + ProposalCanceled = 'proposal__canceled', + ProposalDescription = 'proposal__description', + ProposalEndBlock = 'proposal__endBlock', + ProposalEta = 'proposal__eta', + ProposalExecuted = 'proposal__executed', + ProposalId = 'proposal__id', + ProposalProposalId = 'proposal__proposalId', + ProposalQueued = 'proposal__queued', + ProposalStartBlock = 'proposal__startBlock', + Reason = 'reason', + Support = 'support', + SupportId = 'support__id', + SupportSupport = 'support__support', + SupportWeight = 'support__weight', + Voter = 'voter', + VoterId = 'voter__id', + Weight = 'weight' } export type VoteType = { - __typename?: "VoteType"; + __typename?: 'VoteType'; participants: Array; - total: Scalars["BigInt"]["output"]; + total: Scalars['BigInt']['output']; }; export type VoteWeight = { - __typename?: "VoteWeight"; + __typename?: 'VoteWeight'; account: Maybe; contract: VotingContract; delegateVotesChangedEvent: Array; - id: Scalars["ID"]["output"]; - value: Scalars["BigInt"]["output"]; + id: Scalars['ID']['output']; + value: Scalars['BigInt']['output']; }; + export type VoteWeightDelegateVotesChangedEventArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; export type VoteWeight_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; - account: InputMaybe; + account: InputMaybe; account_: InputMaybe; - account_contains: InputMaybe; - account_contains_nocase: InputMaybe; - account_ends_with: InputMaybe; - account_ends_with_nocase: InputMaybe; - account_gt: InputMaybe; - account_gte: InputMaybe; - account_in: InputMaybe>; - account_lt: InputMaybe; - account_lte: InputMaybe; - account_not: InputMaybe; - account_not_contains: InputMaybe; - account_not_contains_nocase: InputMaybe; - account_not_ends_with: InputMaybe; - account_not_ends_with_nocase: InputMaybe; - account_not_in: InputMaybe>; - account_not_starts_with: InputMaybe; - account_not_starts_with_nocase: InputMaybe; - account_starts_with: InputMaybe; - account_starts_with_nocase: InputMaybe; + account_contains: InputMaybe; + account_contains_nocase: InputMaybe; + account_ends_with: InputMaybe; + account_ends_with_nocase: InputMaybe; + account_gt: InputMaybe; + account_gte: InputMaybe; + account_in: InputMaybe>; + account_lt: InputMaybe; + account_lte: InputMaybe; + account_not: InputMaybe; + account_not_contains: InputMaybe; + account_not_contains_nocase: InputMaybe; + account_not_ends_with: InputMaybe; + account_not_ends_with_nocase: InputMaybe; + account_not_in: InputMaybe>; + account_not_starts_with: InputMaybe; + account_not_starts_with_nocase: InputMaybe; + account_starts_with: InputMaybe; + account_starts_with_nocase: InputMaybe; and: InputMaybe>>; - contract: InputMaybe; + contract: InputMaybe; contract_: InputMaybe; - contract_contains: InputMaybe; - contract_contains_nocase: InputMaybe; - contract_ends_with: InputMaybe; - contract_ends_with_nocase: InputMaybe; - contract_gt: InputMaybe; - contract_gte: InputMaybe; - contract_in: InputMaybe>; - contract_lt: InputMaybe; - contract_lte: InputMaybe; - contract_not: InputMaybe; - contract_not_contains: InputMaybe; - contract_not_contains_nocase: InputMaybe; - contract_not_ends_with: InputMaybe; - contract_not_ends_with_nocase: InputMaybe; - contract_not_in: InputMaybe>; - contract_not_starts_with: InputMaybe; - contract_not_starts_with_nocase: InputMaybe; - contract_starts_with: InputMaybe; - contract_starts_with_nocase: InputMaybe; + contract_contains: InputMaybe; + contract_contains_nocase: InputMaybe; + contract_ends_with: InputMaybe; + contract_ends_with_nocase: InputMaybe; + contract_gt: InputMaybe; + contract_gte: InputMaybe; + contract_in: InputMaybe>; + contract_lt: InputMaybe; + contract_lte: InputMaybe; + contract_not: InputMaybe; + contract_not_contains: InputMaybe; + contract_not_contains_nocase: InputMaybe; + contract_not_ends_with: InputMaybe; + contract_not_ends_with_nocase: InputMaybe; + contract_not_in: InputMaybe>; + contract_not_starts_with: InputMaybe; + contract_not_starts_with_nocase: InputMaybe; + contract_starts_with: InputMaybe; + contract_starts_with_nocase: InputMaybe; delegateVotesChangedEvent_: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - value: InputMaybe; - value_gt: InputMaybe; - value_gte: InputMaybe; - value_in: InputMaybe>; - value_lt: InputMaybe; - value_lte: InputMaybe; - value_not: InputMaybe; - value_not_in: InputMaybe>; + value: InputMaybe; + value_gt: InputMaybe; + value_gte: InputMaybe; + value_in: InputMaybe>; + value_lt: InputMaybe; + value_lte: InputMaybe; + value_not: InputMaybe; + value_not_in: InputMaybe>; }; export enum VoteWeight_OrderBy { - Account = "account", - AccountId = "account__id", - Contract = "contract", - ContractId = "contract__id", - DelegateVotesChangedEvent = "delegateVotesChangedEvent", - Id = "id", - Value = "value", + Account = 'account', + AccountId = 'account__id', + Contract = 'contract', + ContractId = 'contract__id', + DelegateVotesChangedEvent = 'delegateVotesChangedEvent', + Id = 'id', + Value = 'value' } export type VotingContract = { - __typename?: "VotingContract"; + __typename?: 'VotingContract'; asAccount: Account; delegateChangedEvent: Array; delegateVotesChangedEvent: Array; delegation: Array; - id: Scalars["Bytes"]["output"]; + id: Scalars['Bytes']['output']; totalWeight: VoteWeight; weight: Array; }; + export type VotingContractDelegateChangedEventArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type VotingContractDelegateVotesChangedEventArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type VotingContractDelegationArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; + export type VotingContractWeightArgs = { - first?: InputMaybe; + first?: InputMaybe; orderBy: InputMaybe; orderDirection: InputMaybe; - skip?: InputMaybe; + skip?: InputMaybe; where: InputMaybe; }; @@ -6844,236 +7035,236 @@ export type VotingContract_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; and: InputMaybe>>; - asAccount: InputMaybe; + asAccount: InputMaybe; asAccount_: InputMaybe; - asAccount_contains: InputMaybe; - asAccount_contains_nocase: InputMaybe; - asAccount_ends_with: InputMaybe; - asAccount_ends_with_nocase: InputMaybe; - asAccount_gt: InputMaybe; - asAccount_gte: InputMaybe; - asAccount_in: InputMaybe>; - asAccount_lt: InputMaybe; - asAccount_lte: InputMaybe; - asAccount_not: InputMaybe; - asAccount_not_contains: InputMaybe; - asAccount_not_contains_nocase: InputMaybe; - asAccount_not_ends_with: InputMaybe; - asAccount_not_ends_with_nocase: InputMaybe; - asAccount_not_in: InputMaybe>; - asAccount_not_starts_with: InputMaybe; - asAccount_not_starts_with_nocase: InputMaybe; - asAccount_starts_with: InputMaybe; - asAccount_starts_with_nocase: InputMaybe; + asAccount_contains: InputMaybe; + asAccount_contains_nocase: InputMaybe; + asAccount_ends_with: InputMaybe; + asAccount_ends_with_nocase: InputMaybe; + asAccount_gt: InputMaybe; + asAccount_gte: InputMaybe; + asAccount_in: InputMaybe>; + asAccount_lt: InputMaybe; + asAccount_lte: InputMaybe; + asAccount_not: InputMaybe; + asAccount_not_contains: InputMaybe; + asAccount_not_contains_nocase: InputMaybe; + asAccount_not_ends_with: InputMaybe; + asAccount_not_ends_with_nocase: InputMaybe; + asAccount_not_in: InputMaybe>; + asAccount_not_starts_with: InputMaybe; + asAccount_not_starts_with_nocase: InputMaybe; + asAccount_starts_with: InputMaybe; + asAccount_starts_with_nocase: InputMaybe; delegateChangedEvent_: InputMaybe; delegateVotesChangedEvent_: InputMaybe; delegation_: InputMaybe; - id: InputMaybe; - id_contains: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_contains: InputMaybe; - id_not_in: InputMaybe>; + id: InputMaybe; + id_contains: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_contains: InputMaybe; + id_not_in: InputMaybe>; or: InputMaybe>>; - totalWeight: InputMaybe; + totalWeight: InputMaybe; totalWeight_: InputMaybe; - totalWeight_contains: InputMaybe; - totalWeight_contains_nocase: InputMaybe; - totalWeight_ends_with: InputMaybe; - totalWeight_ends_with_nocase: InputMaybe; - totalWeight_gt: InputMaybe; - totalWeight_gte: InputMaybe; - totalWeight_in: InputMaybe>; - totalWeight_lt: InputMaybe; - totalWeight_lte: InputMaybe; - totalWeight_not: InputMaybe; - totalWeight_not_contains: InputMaybe; - totalWeight_not_contains_nocase: InputMaybe; - totalWeight_not_ends_with: InputMaybe; - totalWeight_not_ends_with_nocase: InputMaybe; - totalWeight_not_in: InputMaybe>; - totalWeight_not_starts_with: InputMaybe; - totalWeight_not_starts_with_nocase: InputMaybe; - totalWeight_starts_with: InputMaybe; - totalWeight_starts_with_nocase: InputMaybe; + totalWeight_contains: InputMaybe; + totalWeight_contains_nocase: InputMaybe; + totalWeight_ends_with: InputMaybe; + totalWeight_ends_with_nocase: InputMaybe; + totalWeight_gt: InputMaybe; + totalWeight_gte: InputMaybe; + totalWeight_in: InputMaybe>; + totalWeight_lt: InputMaybe; + totalWeight_lte: InputMaybe; + totalWeight_not: InputMaybe; + totalWeight_not_contains: InputMaybe; + totalWeight_not_contains_nocase: InputMaybe; + totalWeight_not_ends_with: InputMaybe; + totalWeight_not_ends_with_nocase: InputMaybe; + totalWeight_not_in: InputMaybe>; + totalWeight_not_starts_with: InputMaybe; + totalWeight_not_starts_with_nocase: InputMaybe; + totalWeight_starts_with: InputMaybe; + totalWeight_starts_with_nocase: InputMaybe; weight_: InputMaybe; }; export enum VotingContract_OrderBy { - AsAccount = "asAccount", - AsAccountId = "asAccount__id", - DelegateChangedEvent = "delegateChangedEvent", - DelegateVotesChangedEvent = "delegateVotesChangedEvent", - Delegation = "delegation", - Id = "id", - TotalWeight = "totalWeight", - TotalWeightId = "totalWeight__id", - TotalWeightValue = "totalWeight__value", - Weight = "weight", + AsAccount = 'asAccount', + AsAccountId = 'asAccount__id', + DelegateChangedEvent = 'delegateChangedEvent', + DelegateVotesChangedEvent = 'delegateVotesChangedEvent', + Delegation = 'delegation', + Id = 'id', + TotalWeight = 'totalWeight', + TotalWeightId = 'totalWeight__id', + TotalWeightValue = 'totalWeight__value', + Weight = 'weight' } export type Withdraw = Event & { - __typename?: "Withdraw"; - amount: Scalars["BigInt"]["output"]; + __typename?: 'Withdraw'; + amount: Scalars['BigInt']['output']; emitter: Account; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; locking: Locking; owner: Account; - timestamp: Scalars["BigInt"]["output"]; + timestamp: Scalars['BigInt']['output']; transaction: Transaction; }; export type Withdraw_Filter = { /** Filter for the block changed event. */ _change_block: InputMaybe; - amount: InputMaybe; - amount_gt: InputMaybe; - amount_gte: InputMaybe; - amount_in: InputMaybe>; - amount_lt: InputMaybe; - amount_lte: InputMaybe; - amount_not: InputMaybe; - amount_not_in: InputMaybe>; + amount: InputMaybe; + amount_gt: InputMaybe; + amount_gte: InputMaybe; + amount_in: InputMaybe>; + amount_lt: InputMaybe; + amount_lte: InputMaybe; + amount_not: InputMaybe; + amount_not_in: InputMaybe>; and: InputMaybe>>; - emitter: InputMaybe; + emitter: InputMaybe; emitter_: InputMaybe; - emitter_contains: InputMaybe; - emitter_contains_nocase: InputMaybe; - emitter_ends_with: InputMaybe; - emitter_ends_with_nocase: InputMaybe; - emitter_gt: InputMaybe; - emitter_gte: InputMaybe; - emitter_in: InputMaybe>; - emitter_lt: InputMaybe; - emitter_lte: InputMaybe; - emitter_not: InputMaybe; - emitter_not_contains: InputMaybe; - emitter_not_contains_nocase: InputMaybe; - emitter_not_ends_with: InputMaybe; - emitter_not_ends_with_nocase: InputMaybe; - emitter_not_in: InputMaybe>; - emitter_not_starts_with: InputMaybe; - emitter_not_starts_with_nocase: InputMaybe; - emitter_starts_with: InputMaybe; - emitter_starts_with_nocase: InputMaybe; - id: InputMaybe; - id_gt: InputMaybe; - id_gte: InputMaybe; - id_in: InputMaybe>; - id_lt: InputMaybe; - id_lte: InputMaybe; - id_not: InputMaybe; - id_not_in: InputMaybe>; - locking: InputMaybe; + emitter_contains: InputMaybe; + emitter_contains_nocase: InputMaybe; + emitter_ends_with: InputMaybe; + emitter_ends_with_nocase: InputMaybe; + emitter_gt: InputMaybe; + emitter_gte: InputMaybe; + emitter_in: InputMaybe>; + emitter_lt: InputMaybe; + emitter_lte: InputMaybe; + emitter_not: InputMaybe; + emitter_not_contains: InputMaybe; + emitter_not_contains_nocase: InputMaybe; + emitter_not_ends_with: InputMaybe; + emitter_not_ends_with_nocase: InputMaybe; + emitter_not_in: InputMaybe>; + emitter_not_starts_with: InputMaybe; + emitter_not_starts_with_nocase: InputMaybe; + emitter_starts_with: InputMaybe; + emitter_starts_with_nocase: InputMaybe; + id: InputMaybe; + id_gt: InputMaybe; + id_gte: InputMaybe; + id_in: InputMaybe>; + id_lt: InputMaybe; + id_lte: InputMaybe; + id_not: InputMaybe; + id_not_in: InputMaybe>; + locking: InputMaybe; locking_: InputMaybe; - locking_contains: InputMaybe; - locking_contains_nocase: InputMaybe; - locking_ends_with: InputMaybe; - locking_ends_with_nocase: InputMaybe; - locking_gt: InputMaybe; - locking_gte: InputMaybe; - locking_in: InputMaybe>; - locking_lt: InputMaybe; - locking_lte: InputMaybe; - locking_not: InputMaybe; - locking_not_contains: InputMaybe; - locking_not_contains_nocase: InputMaybe; - locking_not_ends_with: InputMaybe; - locking_not_ends_with_nocase: InputMaybe; - locking_not_in: InputMaybe>; - locking_not_starts_with: InputMaybe; - locking_not_starts_with_nocase: InputMaybe; - locking_starts_with: InputMaybe; - locking_starts_with_nocase: InputMaybe; + locking_contains: InputMaybe; + locking_contains_nocase: InputMaybe; + locking_ends_with: InputMaybe; + locking_ends_with_nocase: InputMaybe; + locking_gt: InputMaybe; + locking_gte: InputMaybe; + locking_in: InputMaybe>; + locking_lt: InputMaybe; + locking_lte: InputMaybe; + locking_not: InputMaybe; + locking_not_contains: InputMaybe; + locking_not_contains_nocase: InputMaybe; + locking_not_ends_with: InputMaybe; + locking_not_ends_with_nocase: InputMaybe; + locking_not_in: InputMaybe>; + locking_not_starts_with: InputMaybe; + locking_not_starts_with_nocase: InputMaybe; + locking_starts_with: InputMaybe; + locking_starts_with_nocase: InputMaybe; or: InputMaybe>>; - owner: InputMaybe; + owner: InputMaybe; owner_: InputMaybe; - owner_contains: InputMaybe; - owner_contains_nocase: InputMaybe; - owner_ends_with: InputMaybe; - owner_ends_with_nocase: InputMaybe; - owner_gt: InputMaybe; - owner_gte: InputMaybe; - owner_in: InputMaybe>; - owner_lt: InputMaybe; - owner_lte: InputMaybe; - owner_not: InputMaybe; - owner_not_contains: InputMaybe; - owner_not_contains_nocase: InputMaybe; - owner_not_ends_with: InputMaybe; - owner_not_ends_with_nocase: InputMaybe; - owner_not_in: InputMaybe>; - owner_not_starts_with: InputMaybe; - owner_not_starts_with_nocase: InputMaybe; - owner_starts_with: InputMaybe; - owner_starts_with_nocase: InputMaybe; - timestamp: InputMaybe; - timestamp_gt: InputMaybe; - timestamp_gte: InputMaybe; - timestamp_in: InputMaybe>; - timestamp_lt: InputMaybe; - timestamp_lte: InputMaybe; - timestamp_not: InputMaybe; - timestamp_not_in: InputMaybe>; - transaction: InputMaybe; + owner_contains: InputMaybe; + owner_contains_nocase: InputMaybe; + owner_ends_with: InputMaybe; + owner_ends_with_nocase: InputMaybe; + owner_gt: InputMaybe; + owner_gte: InputMaybe; + owner_in: InputMaybe>; + owner_lt: InputMaybe; + owner_lte: InputMaybe; + owner_not: InputMaybe; + owner_not_contains: InputMaybe; + owner_not_contains_nocase: InputMaybe; + owner_not_ends_with: InputMaybe; + owner_not_ends_with_nocase: InputMaybe; + owner_not_in: InputMaybe>; + owner_not_starts_with: InputMaybe; + owner_not_starts_with_nocase: InputMaybe; + owner_starts_with: InputMaybe; + owner_starts_with_nocase: InputMaybe; + timestamp: InputMaybe; + timestamp_gt: InputMaybe; + timestamp_gte: InputMaybe; + timestamp_in: InputMaybe>; + timestamp_lt: InputMaybe; + timestamp_lte: InputMaybe; + timestamp_not: InputMaybe; + timestamp_not_in: InputMaybe>; + transaction: InputMaybe; transaction_: InputMaybe; - transaction_contains: InputMaybe; - transaction_contains_nocase: InputMaybe; - transaction_ends_with: InputMaybe; - transaction_ends_with_nocase: InputMaybe; - transaction_gt: InputMaybe; - transaction_gte: InputMaybe; - transaction_in: InputMaybe>; - transaction_lt: InputMaybe; - transaction_lte: InputMaybe; - transaction_not: InputMaybe; - transaction_not_contains: InputMaybe; - transaction_not_contains_nocase: InputMaybe; - transaction_not_ends_with: InputMaybe; - transaction_not_ends_with_nocase: InputMaybe; - transaction_not_in: InputMaybe>; - transaction_not_starts_with: InputMaybe; - transaction_not_starts_with_nocase: InputMaybe; - transaction_starts_with: InputMaybe; - transaction_starts_with_nocase: InputMaybe; + transaction_contains: InputMaybe; + transaction_contains_nocase: InputMaybe; + transaction_ends_with: InputMaybe; + transaction_ends_with_nocase: InputMaybe; + transaction_gt: InputMaybe; + transaction_gte: InputMaybe; + transaction_in: InputMaybe>; + transaction_lt: InputMaybe; + transaction_lte: InputMaybe; + transaction_not: InputMaybe; + transaction_not_contains: InputMaybe; + transaction_not_contains_nocase: InputMaybe; + transaction_not_ends_with: InputMaybe; + transaction_not_ends_with_nocase: InputMaybe; + transaction_not_in: InputMaybe>; + transaction_not_starts_with: InputMaybe; + transaction_not_starts_with_nocase: InputMaybe; + transaction_starts_with: InputMaybe; + transaction_starts_with_nocase: InputMaybe; }; export enum Withdraw_OrderBy { - Amount = "amount", - Emitter = "emitter", - EmitterId = "emitter__id", - Id = "id", - Locking = "locking", - LockingId = "locking__id", - LockingMode = "locking__mode", - Owner = "owner", - OwnerId = "owner__id", - Timestamp = "timestamp", - Transaction = "transaction", - TransactionBlockNumber = "transaction__blockNumber", - TransactionId = "transaction__id", - TransactionTimestamp = "transaction__timestamp", + Amount = 'amount', + Emitter = 'emitter', + EmitterId = 'emitter__id', + Id = 'id', + Locking = 'locking', + LockingId = 'locking__id', + LockingMode = 'locking__mode', + Owner = 'owner', + OwnerId = 'owner__id', + Timestamp = 'timestamp', + Transaction = 'transaction', + TransactionBlockNumber = 'transaction__blockNumber', + TransactionId = 'transaction__id', + TransactionTimestamp = 'transaction__timestamp' } export type _Block_ = { - __typename?: "_Block_"; + __typename?: '_Block_'; /** The hash of the block */ - hash: Maybe; + hash: Maybe; /** The block number */ - number: Scalars["Int"]["output"]; + number: Scalars['Int']['output']; /** The hash of the parent block */ - parentHash: Maybe; + parentHash: Maybe; /** Integer representation of the timestamp stored in blocks for the chain */ - timestamp: Maybe; + timestamp: Maybe; }; /** The type for the top-level _meta field */ export type _Meta_ = { - __typename?: "_Meta_"; + __typename?: '_Meta_'; /** * Information about a specific subgraph block. The hash of the block * will be null if the _meta field has a block constraint that asks for @@ -7083,349 +7274,145 @@ export type _Meta_ = { */ block: _Block_; /** The deployment ID */ - deployment: Scalars["String"]["output"]; + deployment: Scalars['String']['output']; /** If `true`, the subgraph encountered indexing errors at some past block */ - hasIndexingErrors: Scalars["Boolean"]["output"]; + hasIndexingErrors: Scalars['Boolean']['output']; }; export enum _SubgraphErrorPolicy_ { /** Data will be returned even if the subgraph has indexing errors */ - Allow = "allow", + Allow = 'allow', /** If the subgraph has indexing errors, data will be omitted. The default. */ - Deny = "deny", + Deny = 'deny' } -export type ProposalFieldsFragment = { - __typename?: "Proposal"; - proposalId: any; - description: string; - startBlock: any; - endBlock: any; - queued: boolean; - canceled: boolean; - executed: boolean; - state: ProposalState; - proposer: { __typename?: "Account"; id: any }; - proposalCreated: Array<{ __typename?: "ProposalCreated"; timestamp: any }>; - proposalQueued: Array<{ __typename?: "ProposalQueued"; eta: any }>; - votecast: Array<{ - __typename?: "VoteCast"; - timestamp: any; - voter: { __typename?: "Account"; id: any }; - support: { __typename?: "ProposalSupport"; support: number; weight: any }; - }>; - metadata: { - __typename?: "ProposalMetadata"; - title: string; - description: string; - }; - votes: { - __typename?: "ProposalVotes"; - total: any; - for: { - __typename?: "VoteType"; - total: any; - participants: Array<{ - __typename?: "Participant"; - address: string; - weight: any; - }>; - }; - against: { - __typename?: "VoteType"; - total: any; - participants: Array<{ - __typename?: "Participant"; - address: string; - weight: any; - }>; - }; - abstain: { - __typename?: "VoteType"; - total: any; - participants: Array<{ - __typename?: "Participant"; - address: string; - weight: any; - }>; - }; - }; -}; - -export type GetAllLocksQueryVariables = Exact<{ [key: string]: never }>; - -export type GetAllLocksQuery = { - __typename?: "Query"; - locks: Array<{ - __typename?: "Lock"; - lockId: any; - amount: any; - time: any; - slope: number; - cliff: number; - owner: { __typename?: "Account"; id: any }; - lockCreate: Array<{ - __typename?: "LockCreate"; - id: string; - timestamp: any; - }>; - delegate: { __typename?: "Account"; id: any }; - }>; -}; +export type ProposalFieldsFragment = { __typename?: 'Proposal', proposalId: any, description: string, startBlock: any, endBlock: any, queued: boolean, canceled: boolean, executed: boolean, state: ProposalState, proposer: { __typename?: 'Account', id: any }, proposalCreated: Array<{ __typename?: 'ProposalCreated', timestamp: any }>, proposalQueued: Array<{ __typename?: 'ProposalQueued', eta: any }>, proposalExecuted: Array<{ __typename?: 'ProposalExecuted', transaction: { __typename?: 'Transaction', id: string, timestamp: any } }>, votecast: Array<{ __typename?: 'VoteCast', id: string, support: { __typename?: 'ProposalSupport', weight: any }, receipt: { __typename?: 'VoteReceipt', id: string, weight: any, voter: { __typename?: 'Account', id: any }, support: { __typename?: 'ProposalSupport', id: string, support: number } } }>, metadata: { __typename?: 'ProposalMetadata', title: string, description: string }, votes: { __typename?: 'ProposalVotes', total: any, for: { __typename?: 'VoteType', total: any, participants: Array<{ __typename?: 'Participant', address: string, weight: any }> }, against: { __typename?: 'VoteType', total: any, participants: Array<{ __typename?: 'Participant', address: string, weight: any }> }, abstain: { __typename?: 'VoteType', total: any, participants: Array<{ __typename?: 'Participant', address: string, weight: any }> } } }; + +export type GetAllLocksQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetAllLocksQuery = { __typename?: 'Query', locks: Array<{ __typename?: 'Lock', lockId: any, amount: any, time: any, slope: number, cliff: number, owner: { __typename?: 'Account', id: any }, lockCreate: Array<{ __typename?: 'LockCreate', id: string, timestamp: any }>, delegate: { __typename?: 'Account', id: any } }> }; export type GetDelegatesQueryVariables = Exact<{ - skip: InputMaybe; - first: InputMaybe; + skip: InputMaybe; + first: InputMaybe; }>; -export type GetDelegatesQuery = { - __typename?: "Query"; - locks: Array<{ - __typename?: "Lock"; - delegate: { __typename?: "Account"; id: any }; - }>; -}; + +export type GetDelegatesQuery = { __typename?: 'Query', locks: Array<{ __typename?: 'Lock', delegate: { __typename?: 'Account', id: any } }> }; export type GetLocksQueryVariables = Exact<{ - address: InputMaybe; + address: InputMaybe; }>; -export type GetLocksQuery = { - __typename?: "Query"; - locks: Array<{ - __typename?: "Lock"; - lockId: any; - relocked: boolean; - amount: any; - time: any; - slope: number; - cliff: number; - owner: { __typename?: "Account"; id: any }; - replacedBy: { __typename?: "Lock"; id: string; lockId: any } | null; - replaces: { __typename?: "Lock"; id: string; lockId: any } | null; - lockCreate: Array<{ - __typename?: "LockCreate"; - id: string; - timestamp: any; - }>; - delegate: { __typename?: "Account"; id: any }; - }>; -}; + +export type GetLocksQuery = { __typename?: 'Query', locks: Array<{ __typename?: 'Lock', lockId: any, relocked: boolean, amount: any, time: any, slope: number, cliff: number, owner: { __typename?: 'Account', id: any }, replacedBy: { __typename?: 'Lock', id: string, lockId: any } | null, replaces: { __typename?: 'Lock', id: string, lockId: any } | null, lockCreate: Array<{ __typename?: 'LockCreate', id: string, timestamp: any }>, delegate: { __typename?: 'Account', id: any } }> }; export type GetProposalQueryVariables = Exact<{ - id: InputMaybe; + id: InputMaybe; }>; -export type GetProposalQuery = { - __typename?: "Query"; - proposals: Array<{ - __typename?: "Proposal"; - proposalId: any; - description: string; - startBlock: any; - endBlock: any; - queued: boolean; - canceled: boolean; - executed: boolean; - state: ProposalState; - calls: Array<{ - __typename?: "ProposalCall"; - index: number; - value: any; - signature: string; - calldata: any; - target: { __typename?: "Account"; id: any }; - }>; - proposer: { __typename?: "Account"; id: any }; - proposalCreated: Array<{ __typename?: "ProposalCreated"; timestamp: any }>; - proposalQueued: Array<{ __typename?: "ProposalQueued"; eta: any }>; - votecast: Array<{ - __typename?: "VoteCast"; - timestamp: any; - voter: { __typename?: "Account"; id: any }; - support: { __typename?: "ProposalSupport"; support: number; weight: any }; - }>; - metadata: { - __typename?: "ProposalMetadata"; - title: string; - description: string; - }; - votes: { - __typename?: "ProposalVotes"; - total: any; - for: { - __typename?: "VoteType"; - total: any; - participants: Array<{ - __typename?: "Participant"; - address: string; - weight: any; - }>; - }; - against: { - __typename?: "VoteType"; - total: any; - participants: Array<{ - __typename?: "Participant"; - address: string; - weight: any; - }>; - }; - abstain: { - __typename?: "VoteType"; - total: any; - participants: Array<{ - __typename?: "Participant"; - address: string; - weight: any; - }>; - }; - }; - }>; -}; - -export type GetProposalsQueryVariables = Exact<{ [key: string]: never }>; - -export type GetProposalsQuery = { - __typename?: "Query"; - proposals: Array<{ - __typename?: "Proposal"; - proposalId: any; - description: string; - startBlock: any; - endBlock: any; - queued: boolean; - canceled: boolean; - executed: boolean; - state: ProposalState; - proposer: { __typename?: "Account"; id: any }; - proposalCreated: Array<{ __typename?: "ProposalCreated"; timestamp: any }>; - proposalQueued: Array<{ __typename?: "ProposalQueued"; eta: any }>; - votecast: Array<{ - __typename?: "VoteCast"; - timestamp: any; - voter: { __typename?: "Account"; id: any }; - support: { __typename?: "ProposalSupport"; support: number; weight: any }; - }>; - metadata: { - __typename?: "ProposalMetadata"; - title: string; - description: string; - }; - votes: { - __typename?: "ProposalVotes"; - total: any; - for: { - __typename?: "VoteType"; - total: any; - participants: Array<{ - __typename?: "Participant"; - address: string; - weight: any; - }>; - }; - against: { - __typename?: "VoteType"; - total: any; - participants: Array<{ - __typename?: "Participant"; - address: string; - weight: any; - }>; - }; - abstain: { - __typename?: "VoteType"; - total: any; - participants: Array<{ - __typename?: "Participant"; - address: string; - weight: any; - }>; - }; - }; - }>; -}; + +export type GetProposalQuery = { __typename?: 'Query', proposals: Array<{ __typename?: 'Proposal', proposalId: any, description: string, startBlock: any, endBlock: any, queued: boolean, canceled: boolean, executed: boolean, state: ProposalState, calls: Array<{ __typename?: 'ProposalCall', index: number, value: any, signature: string, calldata: any, target: { __typename?: 'Account', id: any } }>, proposer: { __typename?: 'Account', id: any }, proposalCreated: Array<{ __typename?: 'ProposalCreated', timestamp: any }>, proposalQueued: Array<{ __typename?: 'ProposalQueued', eta: any }>, proposalExecuted: Array<{ __typename?: 'ProposalExecuted', transaction: { __typename?: 'Transaction', id: string, timestamp: any } }>, votecast: Array<{ __typename?: 'VoteCast', id: string, support: { __typename?: 'ProposalSupport', weight: any }, receipt: { __typename?: 'VoteReceipt', id: string, weight: any, voter: { __typename?: 'Account', id: any }, support: { __typename?: 'ProposalSupport', id: string, support: number } } }>, metadata: { __typename?: 'ProposalMetadata', title: string, description: string }, votes: { __typename?: 'ProposalVotes', total: any, for: { __typename?: 'VoteType', total: any, participants: Array<{ __typename?: 'Participant', address: string, weight: any }> }, against: { __typename?: 'VoteType', total: any, participants: Array<{ __typename?: 'Participant', address: string, weight: any }> }, abstain: { __typename?: 'VoteType', total: any, participants: Array<{ __typename?: 'Participant', address: string, weight: any }> } } }> }; + +export type GetProposalsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetProposalsQuery = { __typename?: 'Query', proposals: Array<{ __typename?: 'Proposal', proposalId: any, description: string, startBlock: any, endBlock: any, queued: boolean, canceled: boolean, executed: boolean, state: ProposalState, proposer: { __typename?: 'Account', id: any }, proposalCreated: Array<{ __typename?: 'ProposalCreated', timestamp: any }>, proposalQueued: Array<{ __typename?: 'ProposalQueued', eta: any }>, proposalExecuted: Array<{ __typename?: 'ProposalExecuted', transaction: { __typename?: 'Transaction', id: string, timestamp: any } }>, votecast: Array<{ __typename?: 'VoteCast', id: string, support: { __typename?: 'ProposalSupport', weight: any }, receipt: { __typename?: 'VoteReceipt', id: string, weight: any, voter: { __typename?: 'Account', id: any }, support: { __typename?: 'ProposalSupport', id: string, support: number } } }>, metadata: { __typename?: 'ProposalMetadata', title: string, description: string }, votes: { __typename?: 'ProposalVotes', total: any, for: { __typename?: 'VoteType', total: any, participants: Array<{ __typename?: 'Participant', address: string, weight: any }> }, against: { __typename?: 'VoteType', total: any, participants: Array<{ __typename?: 'Participant', address: string, weight: any }> }, abstain: { __typename?: 'VoteType', total: any, participants: Array<{ __typename?: 'Participant', address: string, weight: any }> } } }> }; export const ProposalFieldsFragmentDoc = gql` - fragment ProposalFields on Proposal { - proposalId - description - proposer { + fragment ProposalFields on Proposal { + proposalId + description + proposer { + id + } + proposalCreated { + timestamp + } + proposalQueued { + eta + } + proposalExecuted { + transaction { id - } - proposalCreated { timestamp } - proposalQueued { - eta + } + votecast { + id + support { + weight } - votecast { - timestamp + receipt { + id voter { id } + weight support { + id support - weight } } - startBlock - endBlock - queued - canceled - executed - state @client - metadata @client { - title - description - } - votes @client { - for { - participants { - address - weight - } - total + } + startBlock + endBlock + queued + canceled + executed + state @client + metadata @client { + title + description + } + votes @client { + for { + participants { + address + weight } - against { - participants { - address - weight - } - total + total + } + against { + participants { + address + weight } - abstain { - participants { - address - weight - } - total + total + } + abstain { + participants { + address + weight } total } + total } -`; +} + `; export const GetAllLocksDocument = gql` - query getAllLocks { - locks(first: 1000, where: { relocked: false }) { - lockId - owner { - id - } - amount - time - slope - cliff - lockCreate { - id - timestamp - } - delegate { - id - } + query getAllLocks { + locks(first: 1000, where: {relocked: false}) { + lockId + owner { + id + } + amount + time + slope + cliff + lockCreate { + id + timestamp + } + delegate { + id } } -`; +} + `; /** * __useGetAllLocksQuery__ @@ -7442,62 +7429,31 @@ export const GetAllLocksDocument = gql` * }, * }); */ -export function useGetAllLocksQuery( - baseOptions?: Apollo.QueryHookOptions< - GetAllLocksQuery, - GetAllLocksQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetAllLocksDocument, - options, - ); -} -export function useGetAllLocksLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetAllLocksQuery, - GetAllLocksQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetAllLocksDocument, - options, - ); -} -export function useGetAllLocksSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetAllLocksQuery, - GetAllLocksQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetAllLocksDocument, - options, - ); -} +export function useGetAllLocksQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetAllLocksDocument, options); + } +export function useGetAllLocksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetAllLocksDocument, options); + } +export function useGetAllLocksSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetAllLocksDocument, options); + } export type GetAllLocksQueryHookResult = ReturnType; -export type GetAllLocksLazyQueryHookResult = ReturnType< - typeof useGetAllLocksLazyQuery ->; -export type GetAllLocksSuspenseQueryHookResult = ReturnType< - typeof useGetAllLocksSuspenseQuery ->; -export type GetAllLocksQueryResult = Apollo.QueryResult< - GetAllLocksQuery, - GetAllLocksQueryVariables ->; +export type GetAllLocksLazyQueryHookResult = ReturnType; +export type GetAllLocksSuspenseQueryHookResult = ReturnType; +export type GetAllLocksQueryResult = Apollo.QueryResult; export const GetDelegatesDocument = gql` - query getDelegates($skip: Int, $first: Int) { - locks(skip: $skip, first: $first) { - delegate { - id - } + query getDelegates($skip: Int, $first: Int) { + locks(skip: $skip, first: $first) { + delegate { + id } } -`; +} + `; /** * __useGetDelegatesQuery__ @@ -7516,85 +7472,52 @@ export const GetDelegatesDocument = gql` * }, * }); */ -export function useGetDelegatesQuery( - baseOptions?: Apollo.QueryHookOptions< - GetDelegatesQuery, - GetDelegatesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetDelegatesDocument, - options, - ); -} -export function useGetDelegatesLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetDelegatesQuery, - GetDelegatesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetDelegatesDocument, - options, - ); -} -export function useGetDelegatesSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetDelegatesQuery, - GetDelegatesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetDelegatesDocument, - options, - ); -} -export type GetDelegatesQueryHookResult = ReturnType< - typeof useGetDelegatesQuery ->; -export type GetDelegatesLazyQueryHookResult = ReturnType< - typeof useGetDelegatesLazyQuery ->; -export type GetDelegatesSuspenseQueryHookResult = ReturnType< - typeof useGetDelegatesSuspenseQuery ->; -export type GetDelegatesQueryResult = Apollo.QueryResult< - GetDelegatesQuery, - GetDelegatesQueryVariables ->; +export function useGetDelegatesQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetDelegatesDocument, options); + } +export function useGetDelegatesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetDelegatesDocument, options); + } +export function useGetDelegatesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetDelegatesDocument, options); + } +export type GetDelegatesQueryHookResult = ReturnType; +export type GetDelegatesLazyQueryHookResult = ReturnType; +export type GetDelegatesSuspenseQueryHookResult = ReturnType; +export type GetDelegatesQueryResult = Apollo.QueryResult; export const GetLocksDocument = gql` - query getLocks($address: String) { - locks(first: 1000, where: { owner: $address }) { + query getLocks($address: String) { + locks(first: 1000, where: {owner: $address}) { + lockId + owner { + id + } + replacedBy { + id lockId - owner { - id - } - replacedBy { - id - lockId - } - replaces { - id - lockId - } - relocked - amount - time - slope - cliff - lockCreate { - id - timestamp - } - delegate { - id - } + } + replaces { + id + lockId + } + relocked + amount + time + slope + cliff + lockCreate { + id + timestamp + } + delegate { + id } } -`; +} + `; /** * __useGetLocksQuery__ @@ -7612,67 +7535,38 @@ export const GetLocksDocument = gql` * }, * }); */ -export function useGetLocksQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetLocksDocument, - options, - ); -} -export function useGetLocksLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetLocksQuery, - GetLocksQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetLocksDocument, - options, - ); -} -export function useGetLocksSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetLocksQuery, - GetLocksQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetLocksDocument, - options, - ); -} +export function useGetLocksQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetLocksDocument, options); + } +export function useGetLocksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetLocksDocument, options); + } +export function useGetLocksSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetLocksDocument, options); + } export type GetLocksQueryHookResult = ReturnType; -export type GetLocksLazyQueryHookResult = ReturnType< - typeof useGetLocksLazyQuery ->; -export type GetLocksSuspenseQueryHookResult = ReturnType< - typeof useGetLocksSuspenseQuery ->; -export type GetLocksQueryResult = Apollo.QueryResult< - GetLocksQuery, - GetLocksQueryVariables ->; +export type GetLocksLazyQueryHookResult = ReturnType; +export type GetLocksSuspenseQueryHookResult = ReturnType; +export type GetLocksQueryResult = Apollo.QueryResult; export const GetProposalDocument = gql` - query getProposal($id: BigInt) { - proposals(where: { proposalId: $id }) { - ...ProposalFields - calls(orderBy: index, orderDirection: asc) { - index - target { - id - } - value - signature - calldata + query getProposal($id: BigInt) { + proposals(where: {proposalId: $id}) { + ...ProposalFields + calls(orderBy: index, orderDirection: asc) { + index + target { + id } + value + signature + calldata } } - ${ProposalFieldsFragmentDoc} -`; +} + ${ProposalFieldsFragmentDoc}`; /** * __useGetProposalQuery__ @@ -7690,61 +7584,29 @@ export const GetProposalDocument = gql` * }, * }); */ -export function useGetProposalQuery( - baseOptions?: Apollo.QueryHookOptions< - GetProposalQuery, - GetProposalQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetProposalDocument, - options, - ); -} -export function useGetProposalLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetProposalQuery, - GetProposalQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetProposalDocument, - options, - ); -} -export function useGetProposalSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetProposalQuery, - GetProposalQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetProposalDocument, - options, - ); -} +export function useGetProposalQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetProposalDocument, options); + } +export function useGetProposalLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetProposalDocument, options); + } +export function useGetProposalSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetProposalDocument, options); + } export type GetProposalQueryHookResult = ReturnType; -export type GetProposalLazyQueryHookResult = ReturnType< - typeof useGetProposalLazyQuery ->; -export type GetProposalSuspenseQueryHookResult = ReturnType< - typeof useGetProposalSuspenseQuery ->; -export type GetProposalQueryResult = Apollo.QueryResult< - GetProposalQuery, - GetProposalQueryVariables ->; +export type GetProposalLazyQueryHookResult = ReturnType; +export type GetProposalSuspenseQueryHookResult = ReturnType; +export type GetProposalQueryResult = Apollo.QueryResult; export const GetProposalsDocument = gql` - query getProposals { - proposals(first: 1000, orderBy: startBlock, orderDirection: desc) { - ...ProposalFields - } + query getProposals { + proposals(first: 1000, orderBy: startBlock, orderDirection: desc) { + ...ProposalFields } - ${ProposalFieldsFragmentDoc} -`; +} + ${ProposalFieldsFragmentDoc}`; /** * __useGetProposalsQuery__ @@ -7761,1525 +7623,808 @@ export const GetProposalsDocument = gql` * }, * }); */ -export function useGetProposalsQuery( - baseOptions?: Apollo.QueryHookOptions< - GetProposalsQuery, - GetProposalsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetProposalsDocument, - options, - ); -} -export function useGetProposalsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetProposalsQuery, - GetProposalsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetProposalsDocument, - options, - ); -} -export function useGetProposalsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetProposalsQuery, - GetProposalsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetProposalsDocument, - options, - ); -} -export type GetProposalsQueryHookResult = ReturnType< - typeof useGetProposalsQuery ->; -export type GetProposalsLazyQueryHookResult = ReturnType< - typeof useGetProposalsLazyQuery ->; -export type GetProposalsSuspenseQueryHookResult = ReturnType< - typeof useGetProposalsSuspenseQuery ->; -export type GetProposalsQueryResult = Apollo.QueryResult< - GetProposalsQuery, - GetProposalsQueryVariables ->; -export type AccessControlKeySpecifier = ( - | "asAccount" - | "id" - | "roles" - | AccessControlKeySpecifier -)[]; +export function useGetProposalsQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetProposalsDocument, options); + } +export function useGetProposalsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetProposalsDocument, options); + } +export function useGetProposalsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetProposalsDocument, options); + } +export type GetProposalsQueryHookResult = ReturnType; +export type GetProposalsLazyQueryHookResult = ReturnType; +export type GetProposalsSuspenseQueryHookResult = ReturnType; +export type GetProposalsQueryResult = Apollo.QueryResult; +export type AccessControlKeySpecifier = ('asAccount' | 'id' | 'roles' | AccessControlKeySpecifier)[]; export type AccessControlFieldPolicy = { - asAccount?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - roles?: FieldPolicy | FieldReadFunction; -}; -export type AccessControlRoleKeySpecifier = ( - | "admin" - | "adminOf" - | "contract" - | "id" - | "members" - | "role" - | "roleAdminChanged" - | "roleGranted" - | "roleRevoked" - | AccessControlRoleKeySpecifier -)[]; + asAccount?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + roles?: FieldPolicy | FieldReadFunction +}; +export type AccessControlRoleKeySpecifier = ('admin' | 'adminOf' | 'contract' | 'id' | 'members' | 'role' | 'roleAdminChanged' | 'roleGranted' | 'roleRevoked' | AccessControlRoleKeySpecifier)[]; export type AccessControlRoleFieldPolicy = { - admin?: FieldPolicy | FieldReadFunction; - adminOf?: FieldPolicy | FieldReadFunction; - contract?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - members?: FieldPolicy | FieldReadFunction; - role?: FieldPolicy | FieldReadFunction; - roleAdminChanged?: FieldPolicy | FieldReadFunction; - roleGranted?: FieldPolicy | FieldReadFunction; - roleRevoked?: FieldPolicy | FieldReadFunction; -}; -export type AccessControlRoleMemberKeySpecifier = ( - | "accesscontrolrole" - | "account" - | "id" - | AccessControlRoleMemberKeySpecifier -)[]; + admin?: FieldPolicy | FieldReadFunction, + adminOf?: FieldPolicy | FieldReadFunction, + contract?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + members?: FieldPolicy | FieldReadFunction, + role?: FieldPolicy | FieldReadFunction, + roleAdminChanged?: FieldPolicy | FieldReadFunction, + roleGranted?: FieldPolicy | FieldReadFunction, + roleRevoked?: FieldPolicy | FieldReadFunction +}; +export type AccessControlRoleMemberKeySpecifier = ('accesscontrolrole' | 'account' | 'id' | AccessControlRoleMemberKeySpecifier)[]; export type AccessControlRoleMemberFieldPolicy = { - accesscontrolrole?: FieldPolicy | FieldReadFunction; - account?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; -}; -export type AccountKeySpecifier = ( - | "asAccessControl" - | "asGovernor" - | "asLocking" - | "asTimelock" - | "asVoting" - | "delegateChangedEvent" - | "delegateChangedFromEvent" - | "delegateChangedToEvent" - | "delegateVotesChangedEvent" - | "delegationFrom" - | "delegationTo" - | "events" - | "id" - | "locks" - | "membership" - | "proposed" - | "proposedCalls" - | "roleGranted" - | "roleGrantedSender" - | "roleRevoked" - | "roleRevokedSender" - | "timelockedCalls" - | "voteWeigth" - | "voted" - | AccountKeySpecifier -)[]; + accesscontrolrole?: FieldPolicy | FieldReadFunction, + account?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction +}; +export type AccountKeySpecifier = ('asAccessControl' | 'asGovernor' | 'asLocking' | 'asTimelock' | 'asVoting' | 'delegateChangedEvent' | 'delegateChangedFromEvent' | 'delegateChangedToEvent' | 'delegateVotesChangedEvent' | 'delegationFrom' | 'delegationTo' | 'events' | 'id' | 'locks' | 'membership' | 'proposed' | 'proposedCalls' | 'roleGranted' | 'roleGrantedSender' | 'roleRevoked' | 'roleRevokedSender' | 'timelockedCalls' | 'voteWeigth' | 'voted' | AccountKeySpecifier)[]; export type AccountFieldPolicy = { - asAccessControl?: FieldPolicy | FieldReadFunction; - asGovernor?: FieldPolicy | FieldReadFunction; - asLocking?: FieldPolicy | FieldReadFunction; - asTimelock?: FieldPolicy | FieldReadFunction; - asVoting?: FieldPolicy | FieldReadFunction; - delegateChangedEvent?: FieldPolicy | FieldReadFunction; - delegateChangedFromEvent?: FieldPolicy | FieldReadFunction; - delegateChangedToEvent?: FieldPolicy | FieldReadFunction; - delegateVotesChangedEvent?: FieldPolicy | FieldReadFunction; - delegationFrom?: FieldPolicy | FieldReadFunction; - delegationTo?: FieldPolicy | FieldReadFunction; - events?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - locks?: FieldPolicy | FieldReadFunction; - membership?: FieldPolicy | FieldReadFunction; - proposed?: FieldPolicy | FieldReadFunction; - proposedCalls?: FieldPolicy | FieldReadFunction; - roleGranted?: FieldPolicy | FieldReadFunction; - roleGrantedSender?: FieldPolicy | FieldReadFunction; - roleRevoked?: FieldPolicy | FieldReadFunction; - roleRevokedSender?: FieldPolicy | FieldReadFunction; - timelockedCalls?: FieldPolicy | FieldReadFunction; - voteWeigth?: FieldPolicy | FieldReadFunction; - voted?: FieldPolicy | FieldReadFunction; -}; -export type DelegateKeySpecifier = ( - | "delegate" - | "emitter" - | "id" - | "lock" - | "locking" - | "owner" - | "timestamp" - | "transaction" - | DelegateKeySpecifier -)[]; + asAccessControl?: FieldPolicy | FieldReadFunction, + asGovernor?: FieldPolicy | FieldReadFunction, + asLocking?: FieldPolicy | FieldReadFunction, + asTimelock?: FieldPolicy | FieldReadFunction, + asVoting?: FieldPolicy | FieldReadFunction, + delegateChangedEvent?: FieldPolicy | FieldReadFunction, + delegateChangedFromEvent?: FieldPolicy | FieldReadFunction, + delegateChangedToEvent?: FieldPolicy | FieldReadFunction, + delegateVotesChangedEvent?: FieldPolicy | FieldReadFunction, + delegationFrom?: FieldPolicy | FieldReadFunction, + delegationTo?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + locks?: FieldPolicy | FieldReadFunction, + membership?: FieldPolicy | FieldReadFunction, + proposed?: FieldPolicy | FieldReadFunction, + proposedCalls?: FieldPolicy | FieldReadFunction, + roleGranted?: FieldPolicy | FieldReadFunction, + roleGrantedSender?: FieldPolicy | FieldReadFunction, + roleRevoked?: FieldPolicy | FieldReadFunction, + roleRevokedSender?: FieldPolicy | FieldReadFunction, + timelockedCalls?: FieldPolicy | FieldReadFunction, + voteWeigth?: FieldPolicy | FieldReadFunction, + voted?: FieldPolicy | FieldReadFunction +}; +export type DelegateKeySpecifier = ('delegate' | 'emitter' | 'id' | 'lock' | 'locking' | 'owner' | 'timestamp' | 'transaction' | DelegateKeySpecifier)[]; export type DelegateFieldPolicy = { - delegate?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - lock?: FieldPolicy | FieldReadFunction; - locking?: FieldPolicy | FieldReadFunction; - owner?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type DelegateChangedKeySpecifier = ( - | "contract" - | "delegation" - | "delegator" - | "emitter" - | "fromDelegate" - | "id" - | "timestamp" - | "toDelegate" - | "transaction" - | DelegateChangedKeySpecifier -)[]; + delegate?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + lock?: FieldPolicy | FieldReadFunction, + locking?: FieldPolicy | FieldReadFunction, + owner?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type DelegateChangedKeySpecifier = ('contract' | 'delegation' | 'delegator' | 'emitter' | 'fromDelegate' | 'id' | 'timestamp' | 'toDelegate' | 'transaction' | DelegateChangedKeySpecifier)[]; export type DelegateChangedFieldPolicy = { - contract?: FieldPolicy | FieldReadFunction; - delegation?: FieldPolicy | FieldReadFunction; - delegator?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - fromDelegate?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - toDelegate?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type DelegateVotesChangedKeySpecifier = ( - | "contract" - | "delegate" - | "emitter" - | "id" - | "newValue" - | "oldValue" - | "timestamp" - | "transaction" - | "voteWeight" - | DelegateVotesChangedKeySpecifier -)[]; + contract?: FieldPolicy | FieldReadFunction, + delegation?: FieldPolicy | FieldReadFunction, + delegator?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + fromDelegate?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + toDelegate?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type DelegateVotesChangedKeySpecifier = ('contract' | 'delegate' | 'emitter' | 'id' | 'newValue' | 'oldValue' | 'timestamp' | 'transaction' | 'voteWeight' | DelegateVotesChangedKeySpecifier)[]; export type DelegateVotesChangedFieldPolicy = { - contract?: FieldPolicy | FieldReadFunction; - delegate?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - newValue?: FieldPolicy | FieldReadFunction; - oldValue?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; - voteWeight?: FieldPolicy | FieldReadFunction; -}; -export type EventKeySpecifier = ( - | "emitter" - | "id" - | "timestamp" - | "transaction" - | EventKeySpecifier -)[]; + contract?: FieldPolicy | FieldReadFunction, + delegate?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + newValue?: FieldPolicy | FieldReadFunction, + oldValue?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction, + voteWeight?: FieldPolicy | FieldReadFunction +}; +export type EventKeySpecifier = ('emitter' | 'id' | 'timestamp' | 'transaction' | EventKeySpecifier)[]; export type EventFieldPolicy = { - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type GovernorKeySpecifier = ( - | "asAccount" - | "id" - | "mode" - | "proposalCanceled" - | "proposalCreated" - | "proposalExecuted" - | "proposalQueued" - | "proposals" - | "votecast" - | GovernorKeySpecifier -)[]; + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type GovernorKeySpecifier = ('asAccount' | 'id' | 'mode' | 'proposalCanceled' | 'proposalCreated' | 'proposalExecuted' | 'proposalQueued' | 'proposals' | 'votecast' | GovernorKeySpecifier)[]; export type GovernorFieldPolicy = { - asAccount?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - mode?: FieldPolicy | FieldReadFunction; - proposalCanceled?: FieldPolicy | FieldReadFunction; - proposalCreated?: FieldPolicy | FieldReadFunction; - proposalExecuted?: FieldPolicy | FieldReadFunction; - proposalQueued?: FieldPolicy | FieldReadFunction; - proposals?: FieldPolicy | FieldReadFunction; - votecast?: FieldPolicy | FieldReadFunction; -}; -export type LockKeySpecifier = ( - | "amount" - | "cliff" - | "delegate" - | "id" - | "lockCreate" - | "lockId" - | "locking" - | "owner" - | "relock" - | "relocked" - | "replacedBy" - | "replaces" - | "slope" - | "time" - | LockKeySpecifier -)[]; + asAccount?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + mode?: FieldPolicy | FieldReadFunction, + proposalCanceled?: FieldPolicy | FieldReadFunction, + proposalCreated?: FieldPolicy | FieldReadFunction, + proposalExecuted?: FieldPolicy | FieldReadFunction, + proposalQueued?: FieldPolicy | FieldReadFunction, + proposals?: FieldPolicy | FieldReadFunction, + votecast?: FieldPolicy | FieldReadFunction +}; +export type LockKeySpecifier = ('amount' | 'cliff' | 'delegate' | 'id' | 'lockCreate' | 'lockId' | 'locking' | 'owner' | 'relock' | 'relocked' | 'replacedBy' | 'replaces' | 'slope' | 'time' | LockKeySpecifier)[]; export type LockFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction; - cliff?: FieldPolicy | FieldReadFunction; - delegate?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - lockCreate?: FieldPolicy | FieldReadFunction; - lockId?: FieldPolicy | FieldReadFunction; - locking?: FieldPolicy | FieldReadFunction; - owner?: FieldPolicy | FieldReadFunction; - relock?: FieldPolicy | FieldReadFunction; - relocked?: FieldPolicy | FieldReadFunction; - replacedBy?: FieldPolicy | FieldReadFunction; - replaces?: FieldPolicy | FieldReadFunction; - slope?: FieldPolicy | FieldReadFunction; - time?: FieldPolicy | FieldReadFunction; -}; -export type LockCreateKeySpecifier = ( - | "emitter" - | "id" - | "lock" - | "locking" - | "owner" - | "timestamp" - | "transaction" - | LockCreateKeySpecifier -)[]; + amount?: FieldPolicy | FieldReadFunction, + cliff?: FieldPolicy | FieldReadFunction, + delegate?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + lockCreate?: FieldPolicy | FieldReadFunction, + lockId?: FieldPolicy | FieldReadFunction, + locking?: FieldPolicy | FieldReadFunction, + owner?: FieldPolicy | FieldReadFunction, + relock?: FieldPolicy | FieldReadFunction, + relocked?: FieldPolicy | FieldReadFunction, + replacedBy?: FieldPolicy | FieldReadFunction, + replaces?: FieldPolicy | FieldReadFunction, + slope?: FieldPolicy | FieldReadFunction, + time?: FieldPolicy | FieldReadFunction +}; +export type LockCreateKeySpecifier = ('emitter' | 'id' | 'lock' | 'locking' | 'owner' | 'timestamp' | 'transaction' | LockCreateKeySpecifier)[]; export type LockCreateFieldPolicy = { - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - lock?: FieldPolicy | FieldReadFunction; - locking?: FieldPolicy | FieldReadFunction; - owner?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type LockingKeySpecifier = ( - | "asAccount" - | "delegate" - | "id" - | "lockCreate" - | "locks" - | "mode" - | "relock" - | "withdraw" - | LockingKeySpecifier -)[]; + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + lock?: FieldPolicy | FieldReadFunction, + locking?: FieldPolicy | FieldReadFunction, + owner?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type LockingKeySpecifier = ('asAccount' | 'delegate' | 'id' | 'lockCreate' | 'locks' | 'mode' | 'relock' | 'withdraw' | LockingKeySpecifier)[]; export type LockingFieldPolicy = { - asAccount?: FieldPolicy | FieldReadFunction; - delegate?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - lockCreate?: FieldPolicy | FieldReadFunction; - locks?: FieldPolicy | FieldReadFunction; - mode?: FieldPolicy | FieldReadFunction; - relock?: FieldPolicy | FieldReadFunction; - withdraw?: FieldPolicy | FieldReadFunction; -}; -export type ParticipantKeySpecifier = ( - | "address" - | "weight" - | ParticipantKeySpecifier -)[]; + asAccount?: FieldPolicy | FieldReadFunction, + delegate?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + lockCreate?: FieldPolicy | FieldReadFunction, + locks?: FieldPolicy | FieldReadFunction, + mode?: FieldPolicy | FieldReadFunction, + relock?: FieldPolicy | FieldReadFunction, + withdraw?: FieldPolicy | FieldReadFunction +}; +export type ParticipantKeySpecifier = ('address' | 'weight' | ParticipantKeySpecifier)[]; export type ParticipantFieldPolicy = { - address?: FieldPolicy | FieldReadFunction; - weight?: FieldPolicy | FieldReadFunction; -}; -export type ProposalKeySpecifier = ( - | "calls" - | "canceled" - | "description" - | "endBlock" - | "eta" - | "executed" - | "governor" - | "id" - | "metadata" - | "proposalCanceled" - | "proposalCreated" - | "proposalExecuted" - | "proposalId" - | "proposalQueued" - | "proposer" - | "queued" - | "receipts" - | "startBlock" - | "state" - | "supports" - | "votecast" - | "votes" - | ProposalKeySpecifier -)[]; + address?: FieldPolicy | FieldReadFunction, + weight?: FieldPolicy | FieldReadFunction +}; +export type ProposalKeySpecifier = ('calls' | 'canceled' | 'description' | 'endBlock' | 'eta' | 'executed' | 'governor' | 'id' | 'metadata' | 'proposalCanceled' | 'proposalCreated' | 'proposalExecuted' | 'proposalId' | 'proposalQueued' | 'proposer' | 'queued' | 'receipts' | 'startBlock' | 'state' | 'supports' | 'votecast' | 'votes' | ProposalKeySpecifier)[]; export type ProposalFieldPolicy = { - calls?: FieldPolicy | FieldReadFunction; - canceled?: FieldPolicy | FieldReadFunction; - description?: FieldPolicy | FieldReadFunction; - endBlock?: FieldPolicy | FieldReadFunction; - eta?: FieldPolicy | FieldReadFunction; - executed?: FieldPolicy | FieldReadFunction; - governor?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - metadata?: FieldPolicy | FieldReadFunction; - proposalCanceled?: FieldPolicy | FieldReadFunction; - proposalCreated?: FieldPolicy | FieldReadFunction; - proposalExecuted?: FieldPolicy | FieldReadFunction; - proposalId?: FieldPolicy | FieldReadFunction; - proposalQueued?: FieldPolicy | FieldReadFunction; - proposer?: FieldPolicy | FieldReadFunction; - queued?: FieldPolicy | FieldReadFunction; - receipts?: FieldPolicy | FieldReadFunction; - startBlock?: FieldPolicy | FieldReadFunction; - state?: FieldPolicy | FieldReadFunction; - supports?: FieldPolicy | FieldReadFunction; - votecast?: FieldPolicy | FieldReadFunction; - votes?: FieldPolicy | FieldReadFunction; -}; -export type ProposalCallKeySpecifier = ( - | "calldata" - | "id" - | "index" - | "proposal" - | "signature" - | "target" - | "value" - | ProposalCallKeySpecifier -)[]; + calls?: FieldPolicy | FieldReadFunction, + canceled?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, + endBlock?: FieldPolicy | FieldReadFunction, + eta?: FieldPolicy | FieldReadFunction, + executed?: FieldPolicy | FieldReadFunction, + governor?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + proposalCanceled?: FieldPolicy | FieldReadFunction, + proposalCreated?: FieldPolicy | FieldReadFunction, + proposalExecuted?: FieldPolicy | FieldReadFunction, + proposalId?: FieldPolicy | FieldReadFunction, + proposalQueued?: FieldPolicy | FieldReadFunction, + proposer?: FieldPolicy | FieldReadFunction, + queued?: FieldPolicy | FieldReadFunction, + receipts?: FieldPolicy | FieldReadFunction, + startBlock?: FieldPolicy | FieldReadFunction, + state?: FieldPolicy | FieldReadFunction, + supports?: FieldPolicy | FieldReadFunction, + votecast?: FieldPolicy | FieldReadFunction, + votes?: FieldPolicy | FieldReadFunction +}; +export type ProposalCallKeySpecifier = ('calldata' | 'id' | 'index' | 'proposal' | 'signature' | 'target' | 'value' | ProposalCallKeySpecifier)[]; export type ProposalCallFieldPolicy = { - calldata?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - index?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - signature?: FieldPolicy | FieldReadFunction; - target?: FieldPolicy | FieldReadFunction; - value?: FieldPolicy | FieldReadFunction; -}; -export type ProposalCanceledKeySpecifier = ( - | "emitter" - | "governor" - | "id" - | "proposal" - | "timestamp" - | "transaction" - | ProposalCanceledKeySpecifier -)[]; + calldata?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + index?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + signature?: FieldPolicy | FieldReadFunction, + target?: FieldPolicy | FieldReadFunction, + value?: FieldPolicy | FieldReadFunction +}; +export type ProposalCanceledKeySpecifier = ('emitter' | 'governor' | 'id' | 'proposal' | 'timestamp' | 'transaction' | ProposalCanceledKeySpecifier)[]; export type ProposalCanceledFieldPolicy = { - emitter?: FieldPolicy | FieldReadFunction; - governor?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type ProposalCreatedKeySpecifier = ( - | "emitter" - | "governor" - | "id" - | "proposal" - | "proposer" - | "timestamp" - | "transaction" - | ProposalCreatedKeySpecifier -)[]; + emitter?: FieldPolicy | FieldReadFunction, + governor?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type ProposalCreatedKeySpecifier = ('emitter' | 'governor' | 'id' | 'proposal' | 'proposer' | 'timestamp' | 'transaction' | ProposalCreatedKeySpecifier)[]; export type ProposalCreatedFieldPolicy = { - emitter?: FieldPolicy | FieldReadFunction; - governor?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - proposer?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type ProposalExecutedKeySpecifier = ( - | "emitter" - | "governor" - | "id" - | "proposal" - | "timestamp" - | "transaction" - | ProposalExecutedKeySpecifier -)[]; + emitter?: FieldPolicy | FieldReadFunction, + governor?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + proposer?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type ProposalExecutedKeySpecifier = ('emitter' | 'governor' | 'id' | 'proposal' | 'timestamp' | 'transaction' | ProposalExecutedKeySpecifier)[]; export type ProposalExecutedFieldPolicy = { - emitter?: FieldPolicy | FieldReadFunction; - governor?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type ProposalMetadataKeySpecifier = ( - | "description" - | "title" - | ProposalMetadataKeySpecifier -)[]; + emitter?: FieldPolicy | FieldReadFunction, + governor?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type ProposalMetadataKeySpecifier = ('description' | 'title' | ProposalMetadataKeySpecifier)[]; export type ProposalMetadataFieldPolicy = { - description?: FieldPolicy | FieldReadFunction; - title?: FieldPolicy | FieldReadFunction; -}; -export type ProposalQueuedKeySpecifier = ( - | "emitter" - | "eta" - | "governor" - | "id" - | "proposal" - | "timestamp" - | "transaction" - | ProposalQueuedKeySpecifier -)[]; + description?: FieldPolicy | FieldReadFunction, + title?: FieldPolicy | FieldReadFunction +}; +export type ProposalQueuedKeySpecifier = ('emitter' | 'eta' | 'governor' | 'id' | 'proposal' | 'timestamp' | 'transaction' | ProposalQueuedKeySpecifier)[]; export type ProposalQueuedFieldPolicy = { - emitter?: FieldPolicy | FieldReadFunction; - eta?: FieldPolicy | FieldReadFunction; - governor?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type ProposalSupportKeySpecifier = ( - | "id" - | "proposal" - | "support" - | "votes" - | "weight" - | ProposalSupportKeySpecifier -)[]; + emitter?: FieldPolicy | FieldReadFunction, + eta?: FieldPolicy | FieldReadFunction, + governor?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type ProposalSupportKeySpecifier = ('id' | 'proposal' | 'support' | 'votes' | 'weight' | ProposalSupportKeySpecifier)[]; export type ProposalSupportFieldPolicy = { - id?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - support?: FieldPolicy | FieldReadFunction; - votes?: FieldPolicy | FieldReadFunction; - weight?: FieldPolicy | FieldReadFunction; -}; -export type ProposalVotesKeySpecifier = ( - | "abstain" - | "against" - | "for" - | "total" - | ProposalVotesKeySpecifier -)[]; + id?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + support?: FieldPolicy | FieldReadFunction, + votes?: FieldPolicy | FieldReadFunction, + weight?: FieldPolicy | FieldReadFunction +}; +export type ProposalVotesKeySpecifier = ('abstain' | 'against' | 'for' | 'total' | ProposalVotesKeySpecifier)[]; export type ProposalVotesFieldPolicy = { - abstain?: FieldPolicy | FieldReadFunction; - against?: FieldPolicy | FieldReadFunction; - for?: FieldPolicy | FieldReadFunction; - total?: FieldPolicy | FieldReadFunction; -}; -export type QueryKeySpecifier = ( - | "_meta" - | "accessControl" - | "accessControlRole" - | "accessControlRoleMember" - | "accessControlRoleMembers" - | "accessControlRoles" - | "accessControls" - | "account" - | "accounts" - | "delegate" - | "delegateChanged" - | "delegateChangeds" - | "delegateVotesChanged" - | "delegateVotesChangeds" - | "delegates" - | "event" - | "events" - | "governor" - | "governors" - | "lock" - | "lockCreate" - | "lockCreates" - | "locking" - | "lockings" - | "locks" - | "proposal" - | "proposalCall" - | "proposalCalls" - | "proposalCanceled" - | "proposalCanceleds" - | "proposalCreated" - | "proposalCreateds" - | "proposalExecuted" - | "proposalExecuteds" - | "proposalQueued" - | "proposalQueueds" - | "proposalSupport" - | "proposalSupports" - | "proposals" - | "relock" - | "relocks" - | "role" - | "roleAdminChanged" - | "roleAdminChangeds" - | "roleGranted" - | "roleGranteds" - | "roleRevoked" - | "roleRevokeds" - | "roles" - | "timelock" - | "timelockCall" - | "timelockCalls" - | "timelockMinDelayChange" - | "timelockMinDelayChanges" - | "timelockOperation" - | "timelockOperationCancelled" - | "timelockOperationCancelleds" - | "timelockOperationExecuted" - | "timelockOperationExecuteds" - | "timelockOperationScheduled" - | "timelockOperationScheduleds" - | "timelockOperations" - | "timelocks" - | "transaction" - | "transactions" - | "voteCast" - | "voteCasts" - | "voteDelegation" - | "voteDelegations" - | "voteReceipt" - | "voteReceipts" - | "voteWeight" - | "voteWeights" - | "votingContract" - | "votingContracts" - | "withdraw" - | "withdraws" - | QueryKeySpecifier -)[]; + abstain?: FieldPolicy | FieldReadFunction, + against?: FieldPolicy | FieldReadFunction, + for?: FieldPolicy | FieldReadFunction, + total?: FieldPolicy | FieldReadFunction +}; +export type QueryKeySpecifier = ('_meta' | 'accessControl' | 'accessControlRole' | 'accessControlRoleMember' | 'accessControlRoleMembers' | 'accessControlRoles' | 'accessControls' | 'account' | 'accounts' | 'delegate' | 'delegateChanged' | 'delegateChangeds' | 'delegateVotesChanged' | 'delegateVotesChangeds' | 'delegates' | 'event' | 'events' | 'governor' | 'governors' | 'lock' | 'lockCreate' | 'lockCreates' | 'locking' | 'lockings' | 'locks' | 'proposal' | 'proposalCall' | 'proposalCalls' | 'proposalCanceled' | 'proposalCanceleds' | 'proposalCreated' | 'proposalCreateds' | 'proposalExecuted' | 'proposalExecuteds' | 'proposalQueued' | 'proposalQueueds' | 'proposalSupport' | 'proposalSupports' | 'proposals' | 'relock' | 'relocks' | 'role' | 'roleAdminChanged' | 'roleAdminChangeds' | 'roleGranted' | 'roleGranteds' | 'roleRevoked' | 'roleRevokeds' | 'roles' | 'timelock' | 'timelockCall' | 'timelockCalls' | 'timelockMinDelayChange' | 'timelockMinDelayChanges' | 'timelockOperation' | 'timelockOperationCancelled' | 'timelockOperationCancelleds' | 'timelockOperationExecuted' | 'timelockOperationExecuteds' | 'timelockOperationScheduled' | 'timelockOperationScheduleds' | 'timelockOperations' | 'timelocks' | 'transaction' | 'transactions' | 'voteCast' | 'voteCasts' | 'voteDelegation' | 'voteDelegations' | 'voteReceipt' | 'voteReceipts' | 'voteWeight' | 'voteWeights' | 'votingContract' | 'votingContracts' | 'withdraw' | 'withdraws' | QueryKeySpecifier)[]; export type QueryFieldPolicy = { - _meta?: FieldPolicy | FieldReadFunction; - accessControl?: FieldPolicy | FieldReadFunction; - accessControlRole?: FieldPolicy | FieldReadFunction; - accessControlRoleMember?: FieldPolicy | FieldReadFunction; - accessControlRoleMembers?: FieldPolicy | FieldReadFunction; - accessControlRoles?: FieldPolicy | FieldReadFunction; - accessControls?: FieldPolicy | FieldReadFunction; - account?: FieldPolicy | FieldReadFunction; - accounts?: FieldPolicy | FieldReadFunction; - delegate?: FieldPolicy | FieldReadFunction; - delegateChanged?: FieldPolicy | FieldReadFunction; - delegateChangeds?: FieldPolicy | FieldReadFunction; - delegateVotesChanged?: FieldPolicy | FieldReadFunction; - delegateVotesChangeds?: FieldPolicy | FieldReadFunction; - delegates?: FieldPolicy | FieldReadFunction; - event?: FieldPolicy | FieldReadFunction; - events?: FieldPolicy | FieldReadFunction; - governor?: FieldPolicy | FieldReadFunction; - governors?: FieldPolicy | FieldReadFunction; - lock?: FieldPolicy | FieldReadFunction; - lockCreate?: FieldPolicy | FieldReadFunction; - lockCreates?: FieldPolicy | FieldReadFunction; - locking?: FieldPolicy | FieldReadFunction; - lockings?: FieldPolicy | FieldReadFunction; - locks?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - proposalCall?: FieldPolicy | FieldReadFunction; - proposalCalls?: FieldPolicy | FieldReadFunction; - proposalCanceled?: FieldPolicy | FieldReadFunction; - proposalCanceleds?: FieldPolicy | FieldReadFunction; - proposalCreated?: FieldPolicy | FieldReadFunction; - proposalCreateds?: FieldPolicy | FieldReadFunction; - proposalExecuted?: FieldPolicy | FieldReadFunction; - proposalExecuteds?: FieldPolicy | FieldReadFunction; - proposalQueued?: FieldPolicy | FieldReadFunction; - proposalQueueds?: FieldPolicy | FieldReadFunction; - proposalSupport?: FieldPolicy | FieldReadFunction; - proposalSupports?: FieldPolicy | FieldReadFunction; - proposals?: FieldPolicy | FieldReadFunction; - relock?: FieldPolicy | FieldReadFunction; - relocks?: FieldPolicy | FieldReadFunction; - role?: FieldPolicy | FieldReadFunction; - roleAdminChanged?: FieldPolicy | FieldReadFunction; - roleAdminChangeds?: FieldPolicy | FieldReadFunction; - roleGranted?: FieldPolicy | FieldReadFunction; - roleGranteds?: FieldPolicy | FieldReadFunction; - roleRevoked?: FieldPolicy | FieldReadFunction; - roleRevokeds?: FieldPolicy | FieldReadFunction; - roles?: FieldPolicy | FieldReadFunction; - timelock?: FieldPolicy | FieldReadFunction; - timelockCall?: FieldPolicy | FieldReadFunction; - timelockCalls?: FieldPolicy | FieldReadFunction; - timelockMinDelayChange?: FieldPolicy | FieldReadFunction; - timelockMinDelayChanges?: FieldPolicy | FieldReadFunction; - timelockOperation?: FieldPolicy | FieldReadFunction; - timelockOperationCancelled?: FieldPolicy | FieldReadFunction; - timelockOperationCancelleds?: FieldPolicy | FieldReadFunction; - timelockOperationExecuted?: FieldPolicy | FieldReadFunction; - timelockOperationExecuteds?: FieldPolicy | FieldReadFunction; - timelockOperationScheduled?: FieldPolicy | FieldReadFunction; - timelockOperationScheduleds?: FieldPolicy | FieldReadFunction; - timelockOperations?: FieldPolicy | FieldReadFunction; - timelocks?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; - transactions?: FieldPolicy | FieldReadFunction; - voteCast?: FieldPolicy | FieldReadFunction; - voteCasts?: FieldPolicy | FieldReadFunction; - voteDelegation?: FieldPolicy | FieldReadFunction; - voteDelegations?: FieldPolicy | FieldReadFunction; - voteReceipt?: FieldPolicy | FieldReadFunction; - voteReceipts?: FieldPolicy | FieldReadFunction; - voteWeight?: FieldPolicy | FieldReadFunction; - voteWeights?: FieldPolicy | FieldReadFunction; - votingContract?: FieldPolicy | FieldReadFunction; - votingContracts?: FieldPolicy | FieldReadFunction; - withdraw?: FieldPolicy | FieldReadFunction; - withdraws?: FieldPolicy | FieldReadFunction; -}; -export type RelockKeySpecifier = ( - | "emitter" - | "id" - | "locking" - | "newLock" - | "oldLock" - | "owner" - | "timestamp" - | "transaction" - | RelockKeySpecifier -)[]; + _meta?: FieldPolicy | FieldReadFunction, + accessControl?: FieldPolicy | FieldReadFunction, + accessControlRole?: FieldPolicy | FieldReadFunction, + accessControlRoleMember?: FieldPolicy | FieldReadFunction, + accessControlRoleMembers?: FieldPolicy | FieldReadFunction, + accessControlRoles?: FieldPolicy | FieldReadFunction, + accessControls?: FieldPolicy | FieldReadFunction, + account?: FieldPolicy | FieldReadFunction, + accounts?: FieldPolicy | FieldReadFunction, + delegate?: FieldPolicy | FieldReadFunction, + delegateChanged?: FieldPolicy | FieldReadFunction, + delegateChangeds?: FieldPolicy | FieldReadFunction, + delegateVotesChanged?: FieldPolicy | FieldReadFunction, + delegateVotesChangeds?: FieldPolicy | FieldReadFunction, + delegates?: FieldPolicy | FieldReadFunction, + event?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + governor?: FieldPolicy | FieldReadFunction, + governors?: FieldPolicy | FieldReadFunction, + lock?: FieldPolicy | FieldReadFunction, + lockCreate?: FieldPolicy | FieldReadFunction, + lockCreates?: FieldPolicy | FieldReadFunction, + locking?: FieldPolicy | FieldReadFunction, + lockings?: FieldPolicy | FieldReadFunction, + locks?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + proposalCall?: FieldPolicy | FieldReadFunction, + proposalCalls?: FieldPolicy | FieldReadFunction, + proposalCanceled?: FieldPolicy | FieldReadFunction, + proposalCanceleds?: FieldPolicy | FieldReadFunction, + proposalCreated?: FieldPolicy | FieldReadFunction, + proposalCreateds?: FieldPolicy | FieldReadFunction, + proposalExecuted?: FieldPolicy | FieldReadFunction, + proposalExecuteds?: FieldPolicy | FieldReadFunction, + proposalQueued?: FieldPolicy | FieldReadFunction, + proposalQueueds?: FieldPolicy | FieldReadFunction, + proposalSupport?: FieldPolicy | FieldReadFunction, + proposalSupports?: FieldPolicy | FieldReadFunction, + proposals?: FieldPolicy | FieldReadFunction, + relock?: FieldPolicy | FieldReadFunction, + relocks?: FieldPolicy | FieldReadFunction, + role?: FieldPolicy | FieldReadFunction, + roleAdminChanged?: FieldPolicy | FieldReadFunction, + roleAdminChangeds?: FieldPolicy | FieldReadFunction, + roleGranted?: FieldPolicy | FieldReadFunction, + roleGranteds?: FieldPolicy | FieldReadFunction, + roleRevoked?: FieldPolicy | FieldReadFunction, + roleRevokeds?: FieldPolicy | FieldReadFunction, + roles?: FieldPolicy | FieldReadFunction, + timelock?: FieldPolicy | FieldReadFunction, + timelockCall?: FieldPolicy | FieldReadFunction, + timelockCalls?: FieldPolicy | FieldReadFunction, + timelockMinDelayChange?: FieldPolicy | FieldReadFunction, + timelockMinDelayChanges?: FieldPolicy | FieldReadFunction, + timelockOperation?: FieldPolicy | FieldReadFunction, + timelockOperationCancelled?: FieldPolicy | FieldReadFunction, + timelockOperationCancelleds?: FieldPolicy | FieldReadFunction, + timelockOperationExecuted?: FieldPolicy | FieldReadFunction, + timelockOperationExecuteds?: FieldPolicy | FieldReadFunction, + timelockOperationScheduled?: FieldPolicy | FieldReadFunction, + timelockOperationScheduleds?: FieldPolicy | FieldReadFunction, + timelockOperations?: FieldPolicy | FieldReadFunction, + timelocks?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction, + transactions?: FieldPolicy | FieldReadFunction, + voteCast?: FieldPolicy | FieldReadFunction, + voteCasts?: FieldPolicy | FieldReadFunction, + voteDelegation?: FieldPolicy | FieldReadFunction, + voteDelegations?: FieldPolicy | FieldReadFunction, + voteReceipt?: FieldPolicy | FieldReadFunction, + voteReceipts?: FieldPolicy | FieldReadFunction, + voteWeight?: FieldPolicy | FieldReadFunction, + voteWeights?: FieldPolicy | FieldReadFunction, + votingContract?: FieldPolicy | FieldReadFunction, + votingContracts?: FieldPolicy | FieldReadFunction, + withdraw?: FieldPolicy | FieldReadFunction, + withdraws?: FieldPolicy | FieldReadFunction +}; +export type RelockKeySpecifier = ('emitter' | 'id' | 'locking' | 'newLock' | 'oldLock' | 'owner' | 'timestamp' | 'transaction' | RelockKeySpecifier)[]; export type RelockFieldPolicy = { - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - locking?: FieldPolicy | FieldReadFunction; - newLock?: FieldPolicy | FieldReadFunction; - oldLock?: FieldPolicy | FieldReadFunction; - owner?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type RoleKeySpecifier = ("id" | "roleOf" | RoleKeySpecifier)[]; + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + locking?: FieldPolicy | FieldReadFunction, + newLock?: FieldPolicy | FieldReadFunction, + oldLock?: FieldPolicy | FieldReadFunction, + owner?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type RoleKeySpecifier = ('id' | 'roleOf' | RoleKeySpecifier)[]; export type RoleFieldPolicy = { - id?: FieldPolicy | FieldReadFunction; - roleOf?: FieldPolicy | FieldReadFunction; -}; -export type RoleAdminChangedKeySpecifier = ( - | "emitter" - | "id" - | "newAdminRole" - | "previousAdminRole" - | "role" - | "timestamp" - | "transaction" - | RoleAdminChangedKeySpecifier -)[]; + id?: FieldPolicy | FieldReadFunction, + roleOf?: FieldPolicy | FieldReadFunction +}; +export type RoleAdminChangedKeySpecifier = ('emitter' | 'id' | 'newAdminRole' | 'previousAdminRole' | 'role' | 'timestamp' | 'transaction' | RoleAdminChangedKeySpecifier)[]; export type RoleAdminChangedFieldPolicy = { - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - newAdminRole?: FieldPolicy | FieldReadFunction; - previousAdminRole?: FieldPolicy | FieldReadFunction; - role?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type RoleGrantedKeySpecifier = ( - | "account" - | "emitter" - | "id" - | "role" - | "sender" - | "timestamp" - | "transaction" - | RoleGrantedKeySpecifier -)[]; + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + newAdminRole?: FieldPolicy | FieldReadFunction, + previousAdminRole?: FieldPolicy | FieldReadFunction, + role?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type RoleGrantedKeySpecifier = ('account' | 'emitter' | 'id' | 'role' | 'sender' | 'timestamp' | 'transaction' | RoleGrantedKeySpecifier)[]; export type RoleGrantedFieldPolicy = { - account?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - role?: FieldPolicy | FieldReadFunction; - sender?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type RoleRevokedKeySpecifier = ( - | "account" - | "emitter" - | "id" - | "role" - | "sender" - | "timestamp" - | "transaction" - | RoleRevokedKeySpecifier -)[]; + account?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + role?: FieldPolicy | FieldReadFunction, + sender?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type RoleRevokedKeySpecifier = ('account' | 'emitter' | 'id' | 'role' | 'sender' | 'timestamp' | 'transaction' | RoleRevokedKeySpecifier)[]; export type RoleRevokedFieldPolicy = { - account?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - role?: FieldPolicy | FieldReadFunction; - sender?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type SubscriptionKeySpecifier = ( - | "_meta" - | "accessControl" - | "accessControlRole" - | "accessControlRoleMember" - | "accessControlRoleMembers" - | "accessControlRoles" - | "accessControls" - | "account" - | "accounts" - | "delegate" - | "delegateChanged" - | "delegateChangeds" - | "delegateVotesChanged" - | "delegateVotesChangeds" - | "delegates" - | "event" - | "events" - | "governor" - | "governors" - | "lock" - | "lockCreate" - | "lockCreates" - | "locking" - | "lockings" - | "locks" - | "proposal" - | "proposalCall" - | "proposalCalls" - | "proposalCanceled" - | "proposalCanceleds" - | "proposalCreated" - | "proposalCreateds" - | "proposalExecuted" - | "proposalExecuteds" - | "proposalQueued" - | "proposalQueueds" - | "proposalSupport" - | "proposalSupports" - | "proposals" - | "relock" - | "relocks" - | "role" - | "roleAdminChanged" - | "roleAdminChangeds" - | "roleGranted" - | "roleGranteds" - | "roleRevoked" - | "roleRevokeds" - | "roles" - | "timelock" - | "timelockCall" - | "timelockCalls" - | "timelockMinDelayChange" - | "timelockMinDelayChanges" - | "timelockOperation" - | "timelockOperationCancelled" - | "timelockOperationCancelleds" - | "timelockOperationExecuted" - | "timelockOperationExecuteds" - | "timelockOperationScheduled" - | "timelockOperationScheduleds" - | "timelockOperations" - | "timelocks" - | "transaction" - | "transactions" - | "voteCast" - | "voteCasts" - | "voteDelegation" - | "voteDelegations" - | "voteReceipt" - | "voteReceipts" - | "voteWeight" - | "voteWeights" - | "votingContract" - | "votingContracts" - | "withdraw" - | "withdraws" - | SubscriptionKeySpecifier -)[]; + account?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + role?: FieldPolicy | FieldReadFunction, + sender?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type SubscriptionKeySpecifier = ('_meta' | 'accessControl' | 'accessControlRole' | 'accessControlRoleMember' | 'accessControlRoleMembers' | 'accessControlRoles' | 'accessControls' | 'account' | 'accounts' | 'delegate' | 'delegateChanged' | 'delegateChangeds' | 'delegateVotesChanged' | 'delegateVotesChangeds' | 'delegates' | 'event' | 'events' | 'governor' | 'governors' | 'lock' | 'lockCreate' | 'lockCreates' | 'locking' | 'lockings' | 'locks' | 'proposal' | 'proposalCall' | 'proposalCalls' | 'proposalCanceled' | 'proposalCanceleds' | 'proposalCreated' | 'proposalCreateds' | 'proposalExecuted' | 'proposalExecuteds' | 'proposalQueued' | 'proposalQueueds' | 'proposalSupport' | 'proposalSupports' | 'proposals' | 'relock' | 'relocks' | 'role' | 'roleAdminChanged' | 'roleAdminChangeds' | 'roleGranted' | 'roleGranteds' | 'roleRevoked' | 'roleRevokeds' | 'roles' | 'timelock' | 'timelockCall' | 'timelockCalls' | 'timelockMinDelayChange' | 'timelockMinDelayChanges' | 'timelockOperation' | 'timelockOperationCancelled' | 'timelockOperationCancelleds' | 'timelockOperationExecuted' | 'timelockOperationExecuteds' | 'timelockOperationScheduled' | 'timelockOperationScheduleds' | 'timelockOperations' | 'timelocks' | 'transaction' | 'transactions' | 'voteCast' | 'voteCasts' | 'voteDelegation' | 'voteDelegations' | 'voteReceipt' | 'voteReceipts' | 'voteWeight' | 'voteWeights' | 'votingContract' | 'votingContracts' | 'withdraw' | 'withdraws' | SubscriptionKeySpecifier)[]; export type SubscriptionFieldPolicy = { - _meta?: FieldPolicy | FieldReadFunction; - accessControl?: FieldPolicy | FieldReadFunction; - accessControlRole?: FieldPolicy | FieldReadFunction; - accessControlRoleMember?: FieldPolicy | FieldReadFunction; - accessControlRoleMembers?: FieldPolicy | FieldReadFunction; - accessControlRoles?: FieldPolicy | FieldReadFunction; - accessControls?: FieldPolicy | FieldReadFunction; - account?: FieldPolicy | FieldReadFunction; - accounts?: FieldPolicy | FieldReadFunction; - delegate?: FieldPolicy | FieldReadFunction; - delegateChanged?: FieldPolicy | FieldReadFunction; - delegateChangeds?: FieldPolicy | FieldReadFunction; - delegateVotesChanged?: FieldPolicy | FieldReadFunction; - delegateVotesChangeds?: FieldPolicy | FieldReadFunction; - delegates?: FieldPolicy | FieldReadFunction; - event?: FieldPolicy | FieldReadFunction; - events?: FieldPolicy | FieldReadFunction; - governor?: FieldPolicy | FieldReadFunction; - governors?: FieldPolicy | FieldReadFunction; - lock?: FieldPolicy | FieldReadFunction; - lockCreate?: FieldPolicy | FieldReadFunction; - lockCreates?: FieldPolicy | FieldReadFunction; - locking?: FieldPolicy | FieldReadFunction; - lockings?: FieldPolicy | FieldReadFunction; - locks?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - proposalCall?: FieldPolicy | FieldReadFunction; - proposalCalls?: FieldPolicy | FieldReadFunction; - proposalCanceled?: FieldPolicy | FieldReadFunction; - proposalCanceleds?: FieldPolicy | FieldReadFunction; - proposalCreated?: FieldPolicy | FieldReadFunction; - proposalCreateds?: FieldPolicy | FieldReadFunction; - proposalExecuted?: FieldPolicy | FieldReadFunction; - proposalExecuteds?: FieldPolicy | FieldReadFunction; - proposalQueued?: FieldPolicy | FieldReadFunction; - proposalQueueds?: FieldPolicy | FieldReadFunction; - proposalSupport?: FieldPolicy | FieldReadFunction; - proposalSupports?: FieldPolicy | FieldReadFunction; - proposals?: FieldPolicy | FieldReadFunction; - relock?: FieldPolicy | FieldReadFunction; - relocks?: FieldPolicy | FieldReadFunction; - role?: FieldPolicy | FieldReadFunction; - roleAdminChanged?: FieldPolicy | FieldReadFunction; - roleAdminChangeds?: FieldPolicy | FieldReadFunction; - roleGranted?: FieldPolicy | FieldReadFunction; - roleGranteds?: FieldPolicy | FieldReadFunction; - roleRevoked?: FieldPolicy | FieldReadFunction; - roleRevokeds?: FieldPolicy | FieldReadFunction; - roles?: FieldPolicy | FieldReadFunction; - timelock?: FieldPolicy | FieldReadFunction; - timelockCall?: FieldPolicy | FieldReadFunction; - timelockCalls?: FieldPolicy | FieldReadFunction; - timelockMinDelayChange?: FieldPolicy | FieldReadFunction; - timelockMinDelayChanges?: FieldPolicy | FieldReadFunction; - timelockOperation?: FieldPolicy | FieldReadFunction; - timelockOperationCancelled?: FieldPolicy | FieldReadFunction; - timelockOperationCancelleds?: FieldPolicy | FieldReadFunction; - timelockOperationExecuted?: FieldPolicy | FieldReadFunction; - timelockOperationExecuteds?: FieldPolicy | FieldReadFunction; - timelockOperationScheduled?: FieldPolicy | FieldReadFunction; - timelockOperationScheduleds?: FieldPolicy | FieldReadFunction; - timelockOperations?: FieldPolicy | FieldReadFunction; - timelocks?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; - transactions?: FieldPolicy | FieldReadFunction; - voteCast?: FieldPolicy | FieldReadFunction; - voteCasts?: FieldPolicy | FieldReadFunction; - voteDelegation?: FieldPolicy | FieldReadFunction; - voteDelegations?: FieldPolicy | FieldReadFunction; - voteReceipt?: FieldPolicy | FieldReadFunction; - voteReceipts?: FieldPolicy | FieldReadFunction; - voteWeight?: FieldPolicy | FieldReadFunction; - voteWeights?: FieldPolicy | FieldReadFunction; - votingContract?: FieldPolicy | FieldReadFunction; - votingContracts?: FieldPolicy | FieldReadFunction; - withdraw?: FieldPolicy | FieldReadFunction; - withdraws?: FieldPolicy | FieldReadFunction; -}; -export type TimelockKeySpecifier = ( - | "asAccount" - | "cancelled" - | "executed" - | "id" - | "mindelaychange" - | "operations" - | "scheduled" - | TimelockKeySpecifier -)[]; + _meta?: FieldPolicy | FieldReadFunction, + accessControl?: FieldPolicy | FieldReadFunction, + accessControlRole?: FieldPolicy | FieldReadFunction, + accessControlRoleMember?: FieldPolicy | FieldReadFunction, + accessControlRoleMembers?: FieldPolicy | FieldReadFunction, + accessControlRoles?: FieldPolicy | FieldReadFunction, + accessControls?: FieldPolicy | FieldReadFunction, + account?: FieldPolicy | FieldReadFunction, + accounts?: FieldPolicy | FieldReadFunction, + delegate?: FieldPolicy | FieldReadFunction, + delegateChanged?: FieldPolicy | FieldReadFunction, + delegateChangeds?: FieldPolicy | FieldReadFunction, + delegateVotesChanged?: FieldPolicy | FieldReadFunction, + delegateVotesChangeds?: FieldPolicy | FieldReadFunction, + delegates?: FieldPolicy | FieldReadFunction, + event?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + governor?: FieldPolicy | FieldReadFunction, + governors?: FieldPolicy | FieldReadFunction, + lock?: FieldPolicy | FieldReadFunction, + lockCreate?: FieldPolicy | FieldReadFunction, + lockCreates?: FieldPolicy | FieldReadFunction, + locking?: FieldPolicy | FieldReadFunction, + lockings?: FieldPolicy | FieldReadFunction, + locks?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + proposalCall?: FieldPolicy | FieldReadFunction, + proposalCalls?: FieldPolicy | FieldReadFunction, + proposalCanceled?: FieldPolicy | FieldReadFunction, + proposalCanceleds?: FieldPolicy | FieldReadFunction, + proposalCreated?: FieldPolicy | FieldReadFunction, + proposalCreateds?: FieldPolicy | FieldReadFunction, + proposalExecuted?: FieldPolicy | FieldReadFunction, + proposalExecuteds?: FieldPolicy | FieldReadFunction, + proposalQueued?: FieldPolicy | FieldReadFunction, + proposalQueueds?: FieldPolicy | FieldReadFunction, + proposalSupport?: FieldPolicy | FieldReadFunction, + proposalSupports?: FieldPolicy | FieldReadFunction, + proposals?: FieldPolicy | FieldReadFunction, + relock?: FieldPolicy | FieldReadFunction, + relocks?: FieldPolicy | FieldReadFunction, + role?: FieldPolicy | FieldReadFunction, + roleAdminChanged?: FieldPolicy | FieldReadFunction, + roleAdminChangeds?: FieldPolicy | FieldReadFunction, + roleGranted?: FieldPolicy | FieldReadFunction, + roleGranteds?: FieldPolicy | FieldReadFunction, + roleRevoked?: FieldPolicy | FieldReadFunction, + roleRevokeds?: FieldPolicy | FieldReadFunction, + roles?: FieldPolicy | FieldReadFunction, + timelock?: FieldPolicy | FieldReadFunction, + timelockCall?: FieldPolicy | FieldReadFunction, + timelockCalls?: FieldPolicy | FieldReadFunction, + timelockMinDelayChange?: FieldPolicy | FieldReadFunction, + timelockMinDelayChanges?: FieldPolicy | FieldReadFunction, + timelockOperation?: FieldPolicy | FieldReadFunction, + timelockOperationCancelled?: FieldPolicy | FieldReadFunction, + timelockOperationCancelleds?: FieldPolicy | FieldReadFunction, + timelockOperationExecuted?: FieldPolicy | FieldReadFunction, + timelockOperationExecuteds?: FieldPolicy | FieldReadFunction, + timelockOperationScheduled?: FieldPolicy | FieldReadFunction, + timelockOperationScheduleds?: FieldPolicy | FieldReadFunction, + timelockOperations?: FieldPolicy | FieldReadFunction, + timelocks?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction, + transactions?: FieldPolicy | FieldReadFunction, + voteCast?: FieldPolicy | FieldReadFunction, + voteCasts?: FieldPolicy | FieldReadFunction, + voteDelegation?: FieldPolicy | FieldReadFunction, + voteDelegations?: FieldPolicy | FieldReadFunction, + voteReceipt?: FieldPolicy | FieldReadFunction, + voteReceipts?: FieldPolicy | FieldReadFunction, + voteWeight?: FieldPolicy | FieldReadFunction, + voteWeights?: FieldPolicy | FieldReadFunction, + votingContract?: FieldPolicy | FieldReadFunction, + votingContracts?: FieldPolicy | FieldReadFunction, + withdraw?: FieldPolicy | FieldReadFunction, + withdraws?: FieldPolicy | FieldReadFunction +}; +export type TimelockKeySpecifier = ('asAccount' | 'cancelled' | 'executed' | 'id' | 'mindelaychange' | 'operations' | 'scheduled' | TimelockKeySpecifier)[]; export type TimelockFieldPolicy = { - asAccount?: FieldPolicy | FieldReadFunction; - cancelled?: FieldPolicy | FieldReadFunction; - executed?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - mindelaychange?: FieldPolicy | FieldReadFunction; - operations?: FieldPolicy | FieldReadFunction; - scheduled?: FieldPolicy | FieldReadFunction; -}; -export type TimelockCallKeySpecifier = ( - | "data" - | "executed" - | "id" - | "index" - | "operation" - | "scheduled" - | "target" - | "value" - | TimelockCallKeySpecifier -)[]; + asAccount?: FieldPolicy | FieldReadFunction, + cancelled?: FieldPolicy | FieldReadFunction, + executed?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + mindelaychange?: FieldPolicy | FieldReadFunction, + operations?: FieldPolicy | FieldReadFunction, + scheduled?: FieldPolicy | FieldReadFunction +}; +export type TimelockCallKeySpecifier = ('data' | 'executed' | 'id' | 'index' | 'operation' | 'scheduled' | 'target' | 'value' | TimelockCallKeySpecifier)[]; export type TimelockCallFieldPolicy = { - data?: FieldPolicy | FieldReadFunction; - executed?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - index?: FieldPolicy | FieldReadFunction; - operation?: FieldPolicy | FieldReadFunction; - scheduled?: FieldPolicy | FieldReadFunction; - target?: FieldPolicy | FieldReadFunction; - value?: FieldPolicy | FieldReadFunction; -}; -export type TimelockMinDelayChangeKeySpecifier = ( - | "contract" - | "delay" - | "emitter" - | "id" - | "timestamp" - | "transaction" - | TimelockMinDelayChangeKeySpecifier -)[]; + data?: FieldPolicy | FieldReadFunction, + executed?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + index?: FieldPolicy | FieldReadFunction, + operation?: FieldPolicy | FieldReadFunction, + scheduled?: FieldPolicy | FieldReadFunction, + target?: FieldPolicy | FieldReadFunction, + value?: FieldPolicy | FieldReadFunction +}; +export type TimelockMinDelayChangeKeySpecifier = ('contract' | 'delay' | 'emitter' | 'id' | 'timestamp' | 'transaction' | TimelockMinDelayChangeKeySpecifier)[]; export type TimelockMinDelayChangeFieldPolicy = { - contract?: FieldPolicy | FieldReadFunction; - delay?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type TimelockOperationKeySpecifier = ( - | "calls" - | "cancelled" - | "contract" - | "delay" - | "executed" - | "id" - | "predecessor" - | "scheduled" - | "status" - | "timestamp" - | TimelockOperationKeySpecifier -)[]; + contract?: FieldPolicy | FieldReadFunction, + delay?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type TimelockOperationKeySpecifier = ('calls' | 'cancelled' | 'contract' | 'delay' | 'executed' | 'id' | 'predecessor' | 'scheduled' | 'status' | 'timestamp' | TimelockOperationKeySpecifier)[]; export type TimelockOperationFieldPolicy = { - calls?: FieldPolicy | FieldReadFunction; - cancelled?: FieldPolicy | FieldReadFunction; - contract?: FieldPolicy | FieldReadFunction; - delay?: FieldPolicy | FieldReadFunction; - executed?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - predecessor?: FieldPolicy | FieldReadFunction; - scheduled?: FieldPolicy | FieldReadFunction; - status?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; -}; -export type TimelockOperationCancelledKeySpecifier = ( - | "contract" - | "emitter" - | "id" - | "operation" - | "timestamp" - | "transaction" - | TimelockOperationCancelledKeySpecifier -)[]; + calls?: FieldPolicy | FieldReadFunction, + cancelled?: FieldPolicy | FieldReadFunction, + contract?: FieldPolicy | FieldReadFunction, + delay?: FieldPolicy | FieldReadFunction, + executed?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + predecessor?: FieldPolicy | FieldReadFunction, + scheduled?: FieldPolicy | FieldReadFunction, + status?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction +}; +export type TimelockOperationCancelledKeySpecifier = ('contract' | 'emitter' | 'id' | 'operation' | 'timestamp' | 'transaction' | TimelockOperationCancelledKeySpecifier)[]; export type TimelockOperationCancelledFieldPolicy = { - contract?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - operation?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type TimelockOperationExecutedKeySpecifier = ( - | "call" - | "contract" - | "emitter" - | "id" - | "operation" - | "timestamp" - | "transaction" - | TimelockOperationExecutedKeySpecifier -)[]; + contract?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + operation?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type TimelockOperationExecutedKeySpecifier = ('call' | 'contract' | 'emitter' | 'id' | 'operation' | 'timestamp' | 'transaction' | TimelockOperationExecutedKeySpecifier)[]; export type TimelockOperationExecutedFieldPolicy = { - call?: FieldPolicy | FieldReadFunction; - contract?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - operation?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type TimelockOperationScheduledKeySpecifier = ( - | "call" - | "contract" - | "emitter" - | "id" - | "operation" - | "timestamp" - | "transaction" - | TimelockOperationScheduledKeySpecifier -)[]; + call?: FieldPolicy | FieldReadFunction, + contract?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + operation?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type TimelockOperationScheduledKeySpecifier = ('call' | 'contract' | 'emitter' | 'id' | 'operation' | 'timestamp' | 'transaction' | TimelockOperationScheduledKeySpecifier)[]; export type TimelockOperationScheduledFieldPolicy = { - call?: FieldPolicy | FieldReadFunction; - contract?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - operation?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type TransactionKeySpecifier = ( - | "blockNumber" - | "events" - | "id" - | "timestamp" - | TransactionKeySpecifier -)[]; + call?: FieldPolicy | FieldReadFunction, + contract?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + operation?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type TransactionKeySpecifier = ('blockNumber' | 'events' | 'id' | 'timestamp' | TransactionKeySpecifier)[]; export type TransactionFieldPolicy = { - blockNumber?: FieldPolicy | FieldReadFunction; - events?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; -}; -export type VoteCastKeySpecifier = ( - | "emitter" - | "governor" - | "id" - | "proposal" - | "receipt" - | "support" - | "timestamp" - | "transaction" - | "voter" - | VoteCastKeySpecifier -)[]; + blockNumber?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction +}; +export type VoteCastKeySpecifier = ('emitter' | 'governor' | 'id' | 'proposal' | 'receipt' | 'support' | 'timestamp' | 'transaction' | 'voter' | VoteCastKeySpecifier)[]; export type VoteCastFieldPolicy = { - emitter?: FieldPolicy | FieldReadFunction; - governor?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - receipt?: FieldPolicy | FieldReadFunction; - support?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; - voter?: FieldPolicy | FieldReadFunction; -}; -export type VoteDelegationKeySpecifier = ( - | "contract" - | "delegateChangedEvent" - | "delegatee" - | "delegator" - | "id" - | VoteDelegationKeySpecifier -)[]; + emitter?: FieldPolicy | FieldReadFunction, + governor?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + receipt?: FieldPolicy | FieldReadFunction, + support?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction, + voter?: FieldPolicy | FieldReadFunction +}; +export type VoteDelegationKeySpecifier = ('contract' | 'delegateChangedEvent' | 'delegatee' | 'delegator' | 'id' | VoteDelegationKeySpecifier)[]; export type VoteDelegationFieldPolicy = { - contract?: FieldPolicy | FieldReadFunction; - delegateChangedEvent?: FieldPolicy | FieldReadFunction; - delegatee?: FieldPolicy | FieldReadFunction; - delegator?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; -}; -export type VoteReceiptKeySpecifier = ( - | "id" - | "params" - | "proposal" - | "reason" - | "support" - | "voter" - | "weight" - | VoteReceiptKeySpecifier -)[]; + contract?: FieldPolicy | FieldReadFunction, + delegateChangedEvent?: FieldPolicy | FieldReadFunction, + delegatee?: FieldPolicy | FieldReadFunction, + delegator?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction +}; +export type VoteReceiptKeySpecifier = ('id' | 'params' | 'proposal' | 'reason' | 'support' | 'voter' | 'weight' | VoteReceiptKeySpecifier)[]; export type VoteReceiptFieldPolicy = { - id?: FieldPolicy | FieldReadFunction; - params?: FieldPolicy | FieldReadFunction; - proposal?: FieldPolicy | FieldReadFunction; - reason?: FieldPolicy | FieldReadFunction; - support?: FieldPolicy | FieldReadFunction; - voter?: FieldPolicy | FieldReadFunction; - weight?: FieldPolicy | FieldReadFunction; -}; -export type VoteTypeKeySpecifier = ( - | "participants" - | "total" - | VoteTypeKeySpecifier -)[]; + id?: FieldPolicy | FieldReadFunction, + params?: FieldPolicy | FieldReadFunction, + proposal?: FieldPolicy | FieldReadFunction, + reason?: FieldPolicy | FieldReadFunction, + support?: FieldPolicy | FieldReadFunction, + voter?: FieldPolicy | FieldReadFunction, + weight?: FieldPolicy | FieldReadFunction +}; +export type VoteTypeKeySpecifier = ('participants' | 'total' | VoteTypeKeySpecifier)[]; export type VoteTypeFieldPolicy = { - participants?: FieldPolicy | FieldReadFunction; - total?: FieldPolicy | FieldReadFunction; -}; -export type VoteWeightKeySpecifier = ( - | "account" - | "contract" - | "delegateVotesChangedEvent" - | "id" - | "value" - | VoteWeightKeySpecifier -)[]; + participants?: FieldPolicy | FieldReadFunction, + total?: FieldPolicy | FieldReadFunction +}; +export type VoteWeightKeySpecifier = ('account' | 'contract' | 'delegateVotesChangedEvent' | 'id' | 'value' | VoteWeightKeySpecifier)[]; export type VoteWeightFieldPolicy = { - account?: FieldPolicy | FieldReadFunction; - contract?: FieldPolicy | FieldReadFunction; - delegateVotesChangedEvent?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - value?: FieldPolicy | FieldReadFunction; -}; -export type VotingContractKeySpecifier = ( - | "asAccount" - | "delegateChangedEvent" - | "delegateVotesChangedEvent" - | "delegation" - | "id" - | "totalWeight" - | "weight" - | VotingContractKeySpecifier -)[]; + account?: FieldPolicy | FieldReadFunction, + contract?: FieldPolicy | FieldReadFunction, + delegateVotesChangedEvent?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + value?: FieldPolicy | FieldReadFunction +}; +export type VotingContractKeySpecifier = ('asAccount' | 'delegateChangedEvent' | 'delegateVotesChangedEvent' | 'delegation' | 'id' | 'totalWeight' | 'weight' | VotingContractKeySpecifier)[]; export type VotingContractFieldPolicy = { - asAccount?: FieldPolicy | FieldReadFunction; - delegateChangedEvent?: FieldPolicy | FieldReadFunction; - delegateVotesChangedEvent?: FieldPolicy | FieldReadFunction; - delegation?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - totalWeight?: FieldPolicy | FieldReadFunction; - weight?: FieldPolicy | FieldReadFunction; -}; -export type WithdrawKeySpecifier = ( - | "amount" - | "emitter" - | "id" - | "locking" - | "owner" - | "timestamp" - | "transaction" - | WithdrawKeySpecifier -)[]; + asAccount?: FieldPolicy | FieldReadFunction, + delegateChangedEvent?: FieldPolicy | FieldReadFunction, + delegateVotesChangedEvent?: FieldPolicy | FieldReadFunction, + delegation?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + totalWeight?: FieldPolicy | FieldReadFunction, + weight?: FieldPolicy | FieldReadFunction +}; +export type WithdrawKeySpecifier = ('amount' | 'emitter' | 'id' | 'locking' | 'owner' | 'timestamp' | 'transaction' | WithdrawKeySpecifier)[]; export type WithdrawFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction; - emitter?: FieldPolicy | FieldReadFunction; - id?: FieldPolicy | FieldReadFunction; - locking?: FieldPolicy | FieldReadFunction; - owner?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; - transaction?: FieldPolicy | FieldReadFunction; -}; -export type _Block_KeySpecifier = ( - | "hash" - | "number" - | "parentHash" - | "timestamp" - | _Block_KeySpecifier -)[]; + amount?: FieldPolicy | FieldReadFunction, + emitter?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + locking?: FieldPolicy | FieldReadFunction, + owner?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type _Block_KeySpecifier = ('hash' | 'number' | 'parentHash' | 'timestamp' | _Block_KeySpecifier)[]; export type _Block_FieldPolicy = { - hash?: FieldPolicy | FieldReadFunction; - number?: FieldPolicy | FieldReadFunction; - parentHash?: FieldPolicy | FieldReadFunction; - timestamp?: FieldPolicy | FieldReadFunction; -}; -export type _Meta_KeySpecifier = ( - | "block" - | "deployment" - | "hasIndexingErrors" - | _Meta_KeySpecifier -)[]; + hash?: FieldPolicy | FieldReadFunction, + number?: FieldPolicy | FieldReadFunction, + parentHash?: FieldPolicy | FieldReadFunction, + timestamp?: FieldPolicy | FieldReadFunction +}; +export type _Meta_KeySpecifier = ('block' | 'deployment' | 'hasIndexingErrors' | _Meta_KeySpecifier)[]; export type _Meta_FieldPolicy = { - block?: FieldPolicy | FieldReadFunction; - deployment?: FieldPolicy | FieldReadFunction; - hasIndexingErrors?: FieldPolicy | FieldReadFunction; + block?: FieldPolicy | FieldReadFunction, + deployment?: FieldPolicy | FieldReadFunction, + hasIndexingErrors?: FieldPolicy | FieldReadFunction }; export type StrictTypedTypePolicies = { - AccessControl?: Omit & { - keyFields?: - | false - | AccessControlKeySpecifier - | (() => undefined | AccessControlKeySpecifier); - fields?: AccessControlFieldPolicy; - }; - AccessControlRole?: Omit & { - keyFields?: - | false - | AccessControlRoleKeySpecifier - | (() => undefined | AccessControlRoleKeySpecifier); - fields?: AccessControlRoleFieldPolicy; - }; - AccessControlRoleMember?: Omit & { - keyFields?: - | false - | AccessControlRoleMemberKeySpecifier - | (() => undefined | AccessControlRoleMemberKeySpecifier); - fields?: AccessControlRoleMemberFieldPolicy; - }; - Account?: Omit & { - keyFields?: - | false - | AccountKeySpecifier - | (() => undefined | AccountKeySpecifier); - fields?: AccountFieldPolicy; - }; - Delegate?: Omit & { - keyFields?: - | false - | DelegateKeySpecifier - | (() => undefined | DelegateKeySpecifier); - fields?: DelegateFieldPolicy; - }; - DelegateChanged?: Omit & { - keyFields?: - | false - | DelegateChangedKeySpecifier - | (() => undefined | DelegateChangedKeySpecifier); - fields?: DelegateChangedFieldPolicy; - }; - DelegateVotesChanged?: Omit & { - keyFields?: - | false - | DelegateVotesChangedKeySpecifier - | (() => undefined | DelegateVotesChangedKeySpecifier); - fields?: DelegateVotesChangedFieldPolicy; - }; - Event?: Omit & { - keyFields?: - | false - | EventKeySpecifier - | (() => undefined | EventKeySpecifier); - fields?: EventFieldPolicy; - }; - Governor?: Omit & { - keyFields?: - | false - | GovernorKeySpecifier - | (() => undefined | GovernorKeySpecifier); - fields?: GovernorFieldPolicy; - }; - Lock?: Omit & { - keyFields?: false | LockKeySpecifier | (() => undefined | LockKeySpecifier); - fields?: LockFieldPolicy; - }; - LockCreate?: Omit & { - keyFields?: - | false - | LockCreateKeySpecifier - | (() => undefined | LockCreateKeySpecifier); - fields?: LockCreateFieldPolicy; - }; - Locking?: Omit & { - keyFields?: - | false - | LockingKeySpecifier - | (() => undefined | LockingKeySpecifier); - fields?: LockingFieldPolicy; - }; - Participant?: Omit & { - keyFields?: - | false - | ParticipantKeySpecifier - | (() => undefined | ParticipantKeySpecifier); - fields?: ParticipantFieldPolicy; - }; - Proposal?: Omit & { - keyFields?: - | false - | ProposalKeySpecifier - | (() => undefined | ProposalKeySpecifier); - fields?: ProposalFieldPolicy; - }; - ProposalCall?: Omit & { - keyFields?: - | false - | ProposalCallKeySpecifier - | (() => undefined | ProposalCallKeySpecifier); - fields?: ProposalCallFieldPolicy; - }; - ProposalCanceled?: Omit & { - keyFields?: - | false - | ProposalCanceledKeySpecifier - | (() => undefined | ProposalCanceledKeySpecifier); - fields?: ProposalCanceledFieldPolicy; - }; - ProposalCreated?: Omit & { - keyFields?: - | false - | ProposalCreatedKeySpecifier - | (() => undefined | ProposalCreatedKeySpecifier); - fields?: ProposalCreatedFieldPolicy; - }; - ProposalExecuted?: Omit & { - keyFields?: - | false - | ProposalExecutedKeySpecifier - | (() => undefined | ProposalExecutedKeySpecifier); - fields?: ProposalExecutedFieldPolicy; - }; - ProposalMetadata?: Omit & { - keyFields?: - | false - | ProposalMetadataKeySpecifier - | (() => undefined | ProposalMetadataKeySpecifier); - fields?: ProposalMetadataFieldPolicy; - }; - ProposalQueued?: Omit & { - keyFields?: - | false - | ProposalQueuedKeySpecifier - | (() => undefined | ProposalQueuedKeySpecifier); - fields?: ProposalQueuedFieldPolicy; - }; - ProposalSupport?: Omit & { - keyFields?: - | false - | ProposalSupportKeySpecifier - | (() => undefined | ProposalSupportKeySpecifier); - fields?: ProposalSupportFieldPolicy; - }; - ProposalVotes?: Omit & { - keyFields?: - | false - | ProposalVotesKeySpecifier - | (() => undefined | ProposalVotesKeySpecifier); - fields?: ProposalVotesFieldPolicy; - }; - Query?: Omit & { - keyFields?: - | false - | QueryKeySpecifier - | (() => undefined | QueryKeySpecifier); - fields?: QueryFieldPolicy; - }; - Relock?: Omit & { - keyFields?: - | false - | RelockKeySpecifier - | (() => undefined | RelockKeySpecifier); - fields?: RelockFieldPolicy; - }; - Role?: Omit & { - keyFields?: false | RoleKeySpecifier | (() => undefined | RoleKeySpecifier); - fields?: RoleFieldPolicy; - }; - RoleAdminChanged?: Omit & { - keyFields?: - | false - | RoleAdminChangedKeySpecifier - | (() => undefined | RoleAdminChangedKeySpecifier); - fields?: RoleAdminChangedFieldPolicy; - }; - RoleGranted?: Omit & { - keyFields?: - | false - | RoleGrantedKeySpecifier - | (() => undefined | RoleGrantedKeySpecifier); - fields?: RoleGrantedFieldPolicy; - }; - RoleRevoked?: Omit & { - keyFields?: - | false - | RoleRevokedKeySpecifier - | (() => undefined | RoleRevokedKeySpecifier); - fields?: RoleRevokedFieldPolicy; - }; - Subscription?: Omit & { - keyFields?: - | false - | SubscriptionKeySpecifier - | (() => undefined | SubscriptionKeySpecifier); - fields?: SubscriptionFieldPolicy; - }; - Timelock?: Omit & { - keyFields?: - | false - | TimelockKeySpecifier - | (() => undefined | TimelockKeySpecifier); - fields?: TimelockFieldPolicy; - }; - TimelockCall?: Omit & { - keyFields?: - | false - | TimelockCallKeySpecifier - | (() => undefined | TimelockCallKeySpecifier); - fields?: TimelockCallFieldPolicy; - }; - TimelockMinDelayChange?: Omit & { - keyFields?: - | false - | TimelockMinDelayChangeKeySpecifier - | (() => undefined | TimelockMinDelayChangeKeySpecifier); - fields?: TimelockMinDelayChangeFieldPolicy; - }; - TimelockOperation?: Omit & { - keyFields?: - | false - | TimelockOperationKeySpecifier - | (() => undefined | TimelockOperationKeySpecifier); - fields?: TimelockOperationFieldPolicy; - }; - TimelockOperationCancelled?: Omit & { - keyFields?: - | false - | TimelockOperationCancelledKeySpecifier - | (() => undefined | TimelockOperationCancelledKeySpecifier); - fields?: TimelockOperationCancelledFieldPolicy; - }; - TimelockOperationExecuted?: Omit & { - keyFields?: - | false - | TimelockOperationExecutedKeySpecifier - | (() => undefined | TimelockOperationExecutedKeySpecifier); - fields?: TimelockOperationExecutedFieldPolicy; - }; - TimelockOperationScheduled?: Omit & { - keyFields?: - | false - | TimelockOperationScheduledKeySpecifier - | (() => undefined | TimelockOperationScheduledKeySpecifier); - fields?: TimelockOperationScheduledFieldPolicy; - }; - Transaction?: Omit & { - keyFields?: - | false - | TransactionKeySpecifier - | (() => undefined | TransactionKeySpecifier); - fields?: TransactionFieldPolicy; - }; - VoteCast?: Omit & { - keyFields?: - | false - | VoteCastKeySpecifier - | (() => undefined | VoteCastKeySpecifier); - fields?: VoteCastFieldPolicy; - }; - VoteDelegation?: Omit & { - keyFields?: - | false - | VoteDelegationKeySpecifier - | (() => undefined | VoteDelegationKeySpecifier); - fields?: VoteDelegationFieldPolicy; - }; - VoteReceipt?: Omit & { - keyFields?: - | false - | VoteReceiptKeySpecifier - | (() => undefined | VoteReceiptKeySpecifier); - fields?: VoteReceiptFieldPolicy; - }; - VoteType?: Omit & { - keyFields?: - | false - | VoteTypeKeySpecifier - | (() => undefined | VoteTypeKeySpecifier); - fields?: VoteTypeFieldPolicy; - }; - VoteWeight?: Omit & { - keyFields?: - | false - | VoteWeightKeySpecifier - | (() => undefined | VoteWeightKeySpecifier); - fields?: VoteWeightFieldPolicy; - }; - VotingContract?: Omit & { - keyFields?: - | false - | VotingContractKeySpecifier - | (() => undefined | VotingContractKeySpecifier); - fields?: VotingContractFieldPolicy; - }; - Withdraw?: Omit & { - keyFields?: - | false - | WithdrawKeySpecifier - | (() => undefined | WithdrawKeySpecifier); - fields?: WithdrawFieldPolicy; - }; - _Block_?: Omit & { - keyFields?: - | false - | _Block_KeySpecifier - | (() => undefined | _Block_KeySpecifier); - fields?: _Block_FieldPolicy; - }; - _Meta_?: Omit & { - keyFields?: - | false - | _Meta_KeySpecifier - | (() => undefined | _Meta_KeySpecifier); - fields?: _Meta_FieldPolicy; - }; -}; -export type TypedTypePolicies = StrictTypedTypePolicies & TypePolicies; + AccessControl?: Omit & { + keyFields?: false | AccessControlKeySpecifier | (() => undefined | AccessControlKeySpecifier), + fields?: AccessControlFieldPolicy, + }, + AccessControlRole?: Omit & { + keyFields?: false | AccessControlRoleKeySpecifier | (() => undefined | AccessControlRoleKeySpecifier), + fields?: AccessControlRoleFieldPolicy, + }, + AccessControlRoleMember?: Omit & { + keyFields?: false | AccessControlRoleMemberKeySpecifier | (() => undefined | AccessControlRoleMemberKeySpecifier), + fields?: AccessControlRoleMemberFieldPolicy, + }, + Account?: Omit & { + keyFields?: false | AccountKeySpecifier | (() => undefined | AccountKeySpecifier), + fields?: AccountFieldPolicy, + }, + Delegate?: Omit & { + keyFields?: false | DelegateKeySpecifier | (() => undefined | DelegateKeySpecifier), + fields?: DelegateFieldPolicy, + }, + DelegateChanged?: Omit & { + keyFields?: false | DelegateChangedKeySpecifier | (() => undefined | DelegateChangedKeySpecifier), + fields?: DelegateChangedFieldPolicy, + }, + DelegateVotesChanged?: Omit & { + keyFields?: false | DelegateVotesChangedKeySpecifier | (() => undefined | DelegateVotesChangedKeySpecifier), + fields?: DelegateVotesChangedFieldPolicy, + }, + Event?: Omit & { + keyFields?: false | EventKeySpecifier | (() => undefined | EventKeySpecifier), + fields?: EventFieldPolicy, + }, + Governor?: Omit & { + keyFields?: false | GovernorKeySpecifier | (() => undefined | GovernorKeySpecifier), + fields?: GovernorFieldPolicy, + }, + Lock?: Omit & { + keyFields?: false | LockKeySpecifier | (() => undefined | LockKeySpecifier), + fields?: LockFieldPolicy, + }, + LockCreate?: Omit & { + keyFields?: false | LockCreateKeySpecifier | (() => undefined | LockCreateKeySpecifier), + fields?: LockCreateFieldPolicy, + }, + Locking?: Omit & { + keyFields?: false | LockingKeySpecifier | (() => undefined | LockingKeySpecifier), + fields?: LockingFieldPolicy, + }, + Participant?: Omit & { + keyFields?: false | ParticipantKeySpecifier | (() => undefined | ParticipantKeySpecifier), + fields?: ParticipantFieldPolicy, + }, + Proposal?: Omit & { + keyFields?: false | ProposalKeySpecifier | (() => undefined | ProposalKeySpecifier), + fields?: ProposalFieldPolicy, + }, + ProposalCall?: Omit & { + keyFields?: false | ProposalCallKeySpecifier | (() => undefined | ProposalCallKeySpecifier), + fields?: ProposalCallFieldPolicy, + }, + ProposalCanceled?: Omit & { + keyFields?: false | ProposalCanceledKeySpecifier | (() => undefined | ProposalCanceledKeySpecifier), + fields?: ProposalCanceledFieldPolicy, + }, + ProposalCreated?: Omit & { + keyFields?: false | ProposalCreatedKeySpecifier | (() => undefined | ProposalCreatedKeySpecifier), + fields?: ProposalCreatedFieldPolicy, + }, + ProposalExecuted?: Omit & { + keyFields?: false | ProposalExecutedKeySpecifier | (() => undefined | ProposalExecutedKeySpecifier), + fields?: ProposalExecutedFieldPolicy, + }, + ProposalMetadata?: Omit & { + keyFields?: false | ProposalMetadataKeySpecifier | (() => undefined | ProposalMetadataKeySpecifier), + fields?: ProposalMetadataFieldPolicy, + }, + ProposalQueued?: Omit & { + keyFields?: false | ProposalQueuedKeySpecifier | (() => undefined | ProposalQueuedKeySpecifier), + fields?: ProposalQueuedFieldPolicy, + }, + ProposalSupport?: Omit & { + keyFields?: false | ProposalSupportKeySpecifier | (() => undefined | ProposalSupportKeySpecifier), + fields?: ProposalSupportFieldPolicy, + }, + ProposalVotes?: Omit & { + keyFields?: false | ProposalVotesKeySpecifier | (() => undefined | ProposalVotesKeySpecifier), + fields?: ProposalVotesFieldPolicy, + }, + Query?: Omit & { + keyFields?: false | QueryKeySpecifier | (() => undefined | QueryKeySpecifier), + fields?: QueryFieldPolicy, + }, + Relock?: Omit & { + keyFields?: false | RelockKeySpecifier | (() => undefined | RelockKeySpecifier), + fields?: RelockFieldPolicy, + }, + Role?: Omit & { + keyFields?: false | RoleKeySpecifier | (() => undefined | RoleKeySpecifier), + fields?: RoleFieldPolicy, + }, + RoleAdminChanged?: Omit & { + keyFields?: false | RoleAdminChangedKeySpecifier | (() => undefined | RoleAdminChangedKeySpecifier), + fields?: RoleAdminChangedFieldPolicy, + }, + RoleGranted?: Omit & { + keyFields?: false | RoleGrantedKeySpecifier | (() => undefined | RoleGrantedKeySpecifier), + fields?: RoleGrantedFieldPolicy, + }, + RoleRevoked?: Omit & { + keyFields?: false | RoleRevokedKeySpecifier | (() => undefined | RoleRevokedKeySpecifier), + fields?: RoleRevokedFieldPolicy, + }, + Subscription?: Omit & { + keyFields?: false | SubscriptionKeySpecifier | (() => undefined | SubscriptionKeySpecifier), + fields?: SubscriptionFieldPolicy, + }, + Timelock?: Omit & { + keyFields?: false | TimelockKeySpecifier | (() => undefined | TimelockKeySpecifier), + fields?: TimelockFieldPolicy, + }, + TimelockCall?: Omit & { + keyFields?: false | TimelockCallKeySpecifier | (() => undefined | TimelockCallKeySpecifier), + fields?: TimelockCallFieldPolicy, + }, + TimelockMinDelayChange?: Omit & { + keyFields?: false | TimelockMinDelayChangeKeySpecifier | (() => undefined | TimelockMinDelayChangeKeySpecifier), + fields?: TimelockMinDelayChangeFieldPolicy, + }, + TimelockOperation?: Omit & { + keyFields?: false | TimelockOperationKeySpecifier | (() => undefined | TimelockOperationKeySpecifier), + fields?: TimelockOperationFieldPolicy, + }, + TimelockOperationCancelled?: Omit & { + keyFields?: false | TimelockOperationCancelledKeySpecifier | (() => undefined | TimelockOperationCancelledKeySpecifier), + fields?: TimelockOperationCancelledFieldPolicy, + }, + TimelockOperationExecuted?: Omit & { + keyFields?: false | TimelockOperationExecutedKeySpecifier | (() => undefined | TimelockOperationExecutedKeySpecifier), + fields?: TimelockOperationExecutedFieldPolicy, + }, + TimelockOperationScheduled?: Omit & { + keyFields?: false | TimelockOperationScheduledKeySpecifier | (() => undefined | TimelockOperationScheduledKeySpecifier), + fields?: TimelockOperationScheduledFieldPolicy, + }, + Transaction?: Omit & { + keyFields?: false | TransactionKeySpecifier | (() => undefined | TransactionKeySpecifier), + fields?: TransactionFieldPolicy, + }, + VoteCast?: Omit & { + keyFields?: false | VoteCastKeySpecifier | (() => undefined | VoteCastKeySpecifier), + fields?: VoteCastFieldPolicy, + }, + VoteDelegation?: Omit & { + keyFields?: false | VoteDelegationKeySpecifier | (() => undefined | VoteDelegationKeySpecifier), + fields?: VoteDelegationFieldPolicy, + }, + VoteReceipt?: Omit & { + keyFields?: false | VoteReceiptKeySpecifier | (() => undefined | VoteReceiptKeySpecifier), + fields?: VoteReceiptFieldPolicy, + }, + VoteType?: Omit & { + keyFields?: false | VoteTypeKeySpecifier | (() => undefined | VoteTypeKeySpecifier), + fields?: VoteTypeFieldPolicy, + }, + VoteWeight?: Omit & { + keyFields?: false | VoteWeightKeySpecifier | (() => undefined | VoteWeightKeySpecifier), + fields?: VoteWeightFieldPolicy, + }, + VotingContract?: Omit & { + keyFields?: false | VotingContractKeySpecifier | (() => undefined | VotingContractKeySpecifier), + fields?: VotingContractFieldPolicy, + }, + Withdraw?: Omit & { + keyFields?: false | WithdrawKeySpecifier | (() => undefined | WithdrawKeySpecifier), + fields?: WithdrawFieldPolicy, + }, + _Block_?: Omit & { + keyFields?: false | _Block_KeySpecifier | (() => undefined | _Block_KeySpecifier), + fields?: _Block_FieldPolicy, + }, + _Meta_?: Omit & { + keyFields?: false | _Meta_KeySpecifier | (() => undefined | _Meta_KeySpecifier), + fields?: _Meta_FieldPolicy, + } +}; +export type TypedTypePolicies = StrictTypedTypePolicies & TypePolicies; \ No newline at end of file