From f5baaf646d186b2ff8687f4e13f0403353cb1dc8 Mon Sep 17 00:00:00 2001 From: Magic Cat Date: Fri, 12 Jan 2024 16:29:09 +0700 Subject: [PATCH 01/72] add filter icon --- .../assets/icon-filter-transactions.svg | 3 +++ .../components/desktop/index.tsx | 16 +++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 packages/shared-utils/assets/icon-filter-transactions.svg diff --git a/packages/shared-utils/assets/icon-filter-transactions.svg b/packages/shared-utils/assets/icon-filter-transactions.svg new file mode 100644 index 0000000000..a3d1f8752b --- /dev/null +++ b/packages/shared-utils/assets/icon-filter-transactions.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/ui/src/components/transactions_list/components/desktop/index.tsx b/packages/ui/src/components/transactions_list/components/desktop/index.tsx index 59d43128d7..df4f03f9be 100644 --- a/packages/ui/src/components/transactions_list/components/desktop/index.tsx +++ b/packages/ui/src/components/transactions_list/components/desktop/index.tsx @@ -17,6 +17,7 @@ import { FC, LegacyRef } from 'react'; import AutoSizer from 'react-virtualized-auto-sizer'; import { VariableSizeGrid as Grid } from 'react-window'; import InfiniteLoader from 'react-window-infinite-loader'; +import FilterTxsByType from '@/components/transaction_message_filter_detailed'; const Desktop: FC = ({ className, @@ -76,9 +77,18 @@ const Desktop: FC = ({ return (
- - {t(key)} - + {key === 'type' ? ( + <> + + {t(key)} + + + + ) : ( + + {t(key)} + + )}
); }} From cf13ccdde226f775a59d7ad4d5a3c6255f169d7a Mon Sep 17 00:00:00 2001 From: Magic Cat Date: Fri, 12 Jan 2024 16:37:13 +0700 Subject: [PATCH 02/72] wip: msg filter dialog --- .../hooks.ts | 23 +++ .../index.tsx | 133 ++++++++++++++++++ .../styles.ts | 60 ++++++++ 3 files changed, 216 insertions(+) create mode 100644 packages/ui/src/components/transaction_message_filter_detailed/hooks.ts create mode 100644 packages/ui/src/components/transaction_message_filter_detailed/index.tsx create mode 100644 packages/ui/src/components/transaction_message_filter_detailed/styles.ts diff --git a/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts b/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts new file mode 100644 index 0000000000..6350fe51d5 --- /dev/null +++ b/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts @@ -0,0 +1,23 @@ +import { useState } from 'react'; + +export const useMsgFiler = () => { + const [open, setOpen] = useState(false); + + const handleOpen = () => { + setOpen(true); + }; + + const handleCancel = () => { + handleClose(); + }; + + const handleClose = () => { + setOpen(false); + }; + + return { + open, + handleOpen, + handleCancel, + }; +}; diff --git a/packages/ui/src/components/transaction_message_filter_detailed/index.tsx b/packages/ui/src/components/transaction_message_filter_detailed/index.tsx new file mode 100644 index 0000000000..445c44647c --- /dev/null +++ b/packages/ui/src/components/transaction_message_filter_detailed/index.tsx @@ -0,0 +1,133 @@ +import Dialog from '@mui/material/Dialog'; +import DialogContent from '@mui/material/DialogContent'; +import DialogTitle from '@mui/material/DialogTitle'; +import Typography from '@mui/material/Typography'; +import useAppTranslation from '@/hooks/useAppTranslation'; +import { useRouter } from 'next/router'; +import { FC } from 'react'; +import FilterTxsIcon from 'shared-utils/assets/icon-filter-transactions.svg'; +import Search from '@/components/search'; +import { useMsgFiler } from '@/components/transaction_message_filter_detailed/hooks'; +import useStyles from './styles'; + +const FilterTxsByType: FC = (props) => { + const { classes, cx } = useStyles(); + const router = useRouter(); + const { t } = useAppTranslation('common'); + const { open, handleOpen, handleCancel } = useMsgFiler(); + + const sss3 = { + Staking: ['Delegate', 'Redelegate', 'Undelegate', 'Withdraw Rewards'], + Bank: ['Send', 'MultiSend'], + Crisis: ['Verify Invariant'], + Slashing: ['Unjail'], + Distribution: [ + 'Fund Community Pool', + 'Withdraw Delegator Rewards', + 'Set Withdraw Address', + 'Withdraw Validator Commission', + ], + Governance: ['Deposit', 'Submit Proposal', 'Vote'], + }; + + const categoryList = ['Staking', 'Bank', 'Crisis', 'Slashing', 'Distribution', 'Governance']; + const msgTypeList = { + Staking: { + Delegate: { + msg: '/cosmos.staking.v1beta1.MsgDelegate', + display: 'Delegate', + }, + Redelegate: { + msg: '/cosmos.staking.v1beta1.MsgBeginRedelegate', + display: 'Redelegate', + }, + Undelegate: { + msg: '/cosmos.staking.v1beta1.MsgUndelegate', + display: 'Undelegate', + }, + CreateValidator: { + msg: '/cosmos.staking.v1beta1.MsgCreateValidator', + display: 'Create Validator', + }, + EditValidator: { + msg: '/cosmos.staking.v1beta1.MsgEditValidator', + display: 'Edit Validator', + }, + }, + Bank: { + Send: { + msg: '/cosmos.bank.v1beta1.MsgSend', + display: 'Send', + }, + MultiSend: { + msg: '/cosmos.bank.v1beta1.MsgMultiSend', + display: 'Multi Send', + }, + }, + Crisis: ['Verify Invariant'], + Slashing: ['Unjail'], + Distribution: [ + 'Fund Community Pool', + 'Withdraw Delegator Rewards', + 'Set Withdraw Address', + 'Withdraw Validator Commission', + ], + Governance: ['Deposit', 'Submit Proposal', 'Vote'], + }; + + return ( + <> +
+ +
+ + +
+ {t('filter')} +
+
+ +
+
+ + {categoryList.map((option) => ( +
+
+ {option} +
+
+
+ {sss3[option]?.map((type) => ( +
+ + +
+ ))} +
+
+
+ ))} +
+
+ + ); +}; + +export default FilterTxsByType; diff --git a/packages/ui/src/components/transaction_message_filter_detailed/styles.ts b/packages/ui/src/components/transaction_message_filter_detailed/styles.ts new file mode 100644 index 0000000000..28045db268 --- /dev/null +++ b/packages/ui/src/components/transaction_message_filter_detailed/styles.ts @@ -0,0 +1,60 @@ +import { makeStyles } from 'tss-react/mui'; + +const useStyles = makeStyles()((theme) => ({ + icon: { + display: 'inline-flex', + position: 'absolute', + marginLeft: theme.spacing(5), + '&:hover': { + cursor: 'pointer', + }, + '& svg': { + fill: theme.palette.custom.general.icon, + '& path': { + fill: theme.palette.custom.general.icon, + }, + }, + }, + header: { + display: 'flex', + alignItems: 'center', + justifyContent: 'space-between', + '& .MuiButtonBase-root': { + padding: 0, + }, + }, + title: { + display: 'flex', + alignItems: 'center', + }, + dialog: { + '& .MuiDialog-paper': { + width: '500px', + height: '650px', + }, + }, + moduleName: { + display: 'flex', + paddingTop: theme.spacing(1.25), + color: 'rgba(255, 131, 91, 1)', + fontFamily: 'SF Pro', + fontSize: '16px', + fontStyle: 'normal', + fontWeight: 590, + lineHeight: '20px', + letterSpacing: '-0.544px', + }, + msgOption: { + color: theme.palette.custom.fonts.fontFour, + fontFamily: 'Helvetica Neue', + fontSize: '16px', + fontStyle: 'normal', + fontWeight: 400, + letterSpacing: '0.024px', + }, + msgType: { + display: 'flex', + }, +})); + +export default useStyles; From 454ef4a48735506109f396b1d32cb3c6540f3204 Mon Sep 17 00:00:00 2001 From: Magic Cat Date: Fri, 12 Jan 2024 16:37:51 +0700 Subject: [PATCH 03/72] updated locales --- packages/ui/public/locales/en/common.json | 4 +++- packages/ui/public/locales/it/common.json | 4 +++- packages/ui/public/locales/pl/common.json | 4 +++- packages/ui/public/locales/zhs/common.json | 4 +++- packages/ui/public/locales/zht/common.json | 4 +++- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/packages/ui/public/locales/en/common.json b/packages/ui/public/locales/en/common.json index 1ec4f8f51b..e260ce3b43 100644 --- a/packages/ui/public/locales/en/common.json +++ b/packages/ui/public/locales/en/common.json @@ -89,5 +89,7 @@ "loginSuccessMsg": "The system will automatically redirect to the previous \npage in 3 seconds.", "connectWalletConnect": "Connect Wallet Connect", "scanWalletConnectQR": "Please scan the QR with a WalletConnect compatible Wallet.", - "walletTitle": "Connected wallets" + "walletTitle": "Connected wallets", + "searchType": "Search Type", + "filter": "Filter" } diff --git a/packages/ui/public/locales/it/common.json b/packages/ui/public/locales/it/common.json index 2cc8d202ba..00ff5a5685 100644 --- a/packages/ui/public/locales/it/common.json +++ b/packages/ui/public/locales/it/common.json @@ -89,5 +89,7 @@ "loginSuccessMsg": "The system will automatically redirect to the previous \npage in 3 seconds.", "connectWalletConnect": "Connect Wallet Connect", "scanWalletConnectQR": "Please scan the QR with a WalletConnect compatible Wallet.", - "walletTitle": "Connected wallets" + "walletTitle": "Connected wallets", + "searchType": "Tipo di ricerca", + "filtro": "Filtro" } diff --git a/packages/ui/public/locales/pl/common.json b/packages/ui/public/locales/pl/common.json index f058d8fe15..f22e4f8f10 100644 --- a/packages/ui/public/locales/pl/common.json +++ b/packages/ui/public/locales/pl/common.json @@ -89,5 +89,7 @@ "loginSuccessMsg": "The system will automatically redirect to the previous \npage in 3 seconds.", "connectWalletConnect": "Connect Wallet Connect", "scanWalletConnectQR": "Please scan the QR with a WalletConnect compatible Wallet.", - "walletTitle": "Connected wallets" + "walletTitle": "Connected wallets", + "searchType": "Wyszukaj typ", + "filtr": "Filtruj" } diff --git a/packages/ui/public/locales/zhs/common.json b/packages/ui/public/locales/zhs/common.json index 184bb3a585..594a74f9cf 100644 --- a/packages/ui/public/locales/zhs/common.json +++ b/packages/ui/public/locales/zhs/common.json @@ -89,5 +89,7 @@ "loginSuccessMsg": "The system will automatically redirect to the previous \npage in 3 seconds.", "connectWalletConnect": "Connect Wallet Connect", "scanWalletConnectQR": "Please scan the QR with a WalletConnect compatible Wallet.", - "walletTitle": "Connected wallets" + "walletTitle": "Connected wallets", + "searchType": "搜索类型", + "filter": "过滤器" } diff --git a/packages/ui/public/locales/zht/common.json b/packages/ui/public/locales/zht/common.json index cc6751ad17..09b39a48ee 100644 --- a/packages/ui/public/locales/zht/common.json +++ b/packages/ui/public/locales/zht/common.json @@ -87,5 +87,7 @@ "loginSuccessMsg": "The system will automatically redirect to the previous \npage in 3 seconds.", "connectWalletConnect": "Connect Wallet Connect", "scanWalletConnectQR": "Please scan the QR with a WalletConnect compatible Wallet.", - "walletTitle": "Connected wallets" + "walletTitle": "Connected wallets", + "searchType": "搜尋類型", + "filter": "過濾器" } From 55cc7ec41a62547957ecda7b43b449025b85cb38 Mon Sep 17 00:00:00 2001 From: Magic Cat Date: Mon, 15 Jan 2024 17:54:01 +0700 Subject: [PATCH 04/72] update FilterTxsByType handler --- .../hooks.ts | 2 +- .../index.tsx | 102 ++++++------------ .../styles.ts | 5 +- .../utils.tsx | 78 ++++++++++++++ 4 files changed, 115 insertions(+), 72 deletions(-) create mode 100644 packages/ui/src/components/transaction_message_filter_detailed/utils.tsx diff --git a/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts b/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts index 6350fe51d5..b833876359 100644 --- a/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts +++ b/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts @@ -1,6 +1,6 @@ import { useState } from 'react'; -export const useMsgFiler = () => { +export const useMsgFilter = () => { const [open, setOpen] = useState(false); const handleOpen = () => { diff --git a/packages/ui/src/components/transaction_message_filter_detailed/index.tsx b/packages/ui/src/components/transaction_message_filter_detailed/index.tsx index 445c44647c..37f6ea3b69 100644 --- a/packages/ui/src/components/transaction_message_filter_detailed/index.tsx +++ b/packages/ui/src/components/transaction_message_filter_detailed/index.tsx @@ -3,76 +3,36 @@ import DialogContent from '@mui/material/DialogContent'; import DialogTitle from '@mui/material/DialogTitle'; import Typography from '@mui/material/Typography'; import useAppTranslation from '@/hooks/useAppTranslation'; -import { useRouter } from 'next/router'; -import { FC } from 'react'; +import { FC, useState, ChangeEvent } from 'react'; import FilterTxsIcon from 'shared-utils/assets/icon-filter-transactions.svg'; import Search from '@/components/search'; -import { useMsgFiler } from '@/components/transaction_message_filter_detailed/hooks'; +import { useMsgFilter } from '@/components/transaction_message_filter_detailed/hooks'; +import { SetterOrUpdater, useRecoilState } from 'recoil'; +import { writeMsgTypes } from '@/recoil/settings'; import useStyles from './styles'; +import { MsgTypeList } from './utils'; -const FilterTxsByType: FC = (props) => { +const FilterTxsByType: FC = props => { const { classes, cx } = useStyles(); - const router = useRouter(); const { t } = useAppTranslation('common'); - const { open, handleOpen, handleCancel } = useMsgFiler(); + const { open, handleOpen, handleCancel } = useMsgFilter(); + const [queryMsgTypeList, setQueryMsgTypeList] = useState([] as string[]); + const [msgTypes, setMsgTypes] = useRecoilState(writeMsgTypes) as [ + string, + SetterOrUpdater + ]; - const sss3 = { - Staking: ['Delegate', 'Redelegate', 'Undelegate', 'Withdraw Rewards'], - Bank: ['Send', 'MultiSend'], - Crisis: ['Verify Invariant'], - Slashing: ['Unjail'], - Distribution: [ - 'Fund Community Pool', - 'Withdraw Delegator Rewards', - 'Set Withdraw Address', - 'Withdraw Validator Commission', - ], - Governance: ['Deposit', 'Submit Proposal', 'Vote'], - }; - - const categoryList = ['Staking', 'Bank', 'Crisis', 'Slashing', 'Distribution', 'Governance']; - const msgTypeList = { - Staking: { - Delegate: { - msg: '/cosmos.staking.v1beta1.MsgDelegate', - display: 'Delegate', - }, - Redelegate: { - msg: '/cosmos.staking.v1beta1.MsgBeginRedelegate', - display: 'Redelegate', - }, - Undelegate: { - msg: '/cosmos.staking.v1beta1.MsgUndelegate', - display: 'Undelegate', - }, - CreateValidator: { - msg: '/cosmos.staking.v1beta1.MsgCreateValidator', - display: 'Create Validator', - }, - EditValidator: { - msg: '/cosmos.staking.v1beta1.MsgEditValidator', - display: 'Edit Validator', - }, - }, - Bank: { - Send: { - msg: '/cosmos.bank.v1beta1.MsgSend', - display: 'Send', - }, - MultiSend: { - msg: '/cosmos.bank.v1beta1.MsgMultiSend', - display: 'Multi Send', - }, - }, - Crisis: ['Verify Invariant'], - Slashing: ['Unjail'], - Distribution: [ - 'Fund Community Pool', - 'Withdraw Delegator Rewards', - 'Set Withdraw Address', - 'Withdraw Validator Commission', - ], - Governance: ['Deposit', 'Submit Proposal', 'Vote'], + const handleMsgTypeSelection = (event: ChangeEvent) => { + let msgList = queryMsgTypeList; + if (!msgList.includes(event.target.value)) { + msgList.push(event.target.value); + setQueryMsgTypeList(msgList); + } else { + msgList = msgList.filter(v => v !== event.target.value); + setQueryMsgTypeList(msgList); + } + setMsgTypes(() => event.target.value); + console.log(msgTypes); }; return ( @@ -100,23 +60,25 @@ const FilterTxsByType: FC = (props) => { - {categoryList.map((option) => ( + {Object.entries(MsgTypeList).map(msgType => (
- {option} + {msgType[0]}
- {sss3[option]?.map((type) => ( + {Object.values(msgType[1]).map((tp, ind) => (
handleMsgTypeSelection(e)} />
))} diff --git a/packages/ui/src/components/transaction_message_filter_detailed/styles.ts b/packages/ui/src/components/transaction_message_filter_detailed/styles.ts index 28045db268..68a068bd78 100644 --- a/packages/ui/src/components/transaction_message_filter_detailed/styles.ts +++ b/packages/ui/src/components/transaction_message_filter_detailed/styles.ts @@ -1,6 +1,6 @@ import { makeStyles } from 'tss-react/mui'; -const useStyles = makeStyles()((theme) => ({ +const useStyles = makeStyles()(theme => ({ icon: { display: 'inline-flex', position: 'absolute', @@ -55,6 +55,9 @@ const useStyles = makeStyles()((theme) => ({ msgType: { display: 'flex', }, + checkbox: { + marginRight: '8px', + }, })); export default useStyles; diff --git a/packages/ui/src/components/transaction_message_filter_detailed/utils.tsx b/packages/ui/src/components/transaction_message_filter_detailed/utils.tsx new file mode 100644 index 0000000000..da2ce3741e --- /dev/null +++ b/packages/ui/src/components/transaction_message_filter_detailed/utils.tsx @@ -0,0 +1,78 @@ +export const MsgTypeList = { + Staking: { + Delegate: { + msg: 'cosmos.staking.v1beta1.MsgDelegate', + display: 'Delegate', + }, + Redelegate: { + msg: 'cosmos.staking.v1beta1.MsgBeginRedelegate', + display: 'Redelegate', + }, + Undelegate: { + msg: 'cosmos.staking.v1beta1.MsgUndelegate', + display: 'Undelegate', + }, + CreateValidator: { + msg: 'cosmos.staking.v1beta1.MsgCreateValidator', + display: 'Create Validator', + }, + EditValidator: { + msg: 'cosmos.staking.v1beta1.MsgEditValidator', + display: 'Edit Validator', + }, + }, + Bank: { + Send: { + msg: 'cosmos.bank.v1beta1.MsgSend', + display: 'Send', + }, + MultiSend: { + msg: 'cosmos.bank.v1beta1.MsgMultiSend', + display: 'Multi Send', + }, + }, + Crisis: { + VerifyInvariant: { + msg: 'cosmos.crisis.v1beta1.MsgVerifyInvariant', + display: 'Verify Invariant', + }, + }, + Distribution: { + FundCommunityPool: { + msg: 'cosmos.distribution.v1beta1.MsgFundCommunityPool', + display: 'Fund Community Pool', + }, + SetWithdrawAddress: { + msg: 'cosmos.distribution.v1beta1.MsgSetWithdrawAddress', + display: 'Set Withdraw Address', + }, + WithdrawDelegatorReward: { + msg: 'cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward', + display: 'Withdraw Delegator Reward', + }, + WithdrawValidatorCommission: { + msg: 'cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission', + display: 'Withdraw Validator Commission', + }, + }, + Governance: { + Deposit: { + msg: 'cosmos.gov.v1beta1.MsgDeposit, cosmos.gov.v1.MsgDeposit', + display: 'Deposit', + }, + SubmitProposal: { + msg: 'cosmos.gov.v1beta1.MsgSubmitProposal, cosmos.gov.v1.MsgSubmitProposal', + display: 'Submit Proposal', + }, + Vote: { + msg: 'cosmos.gov.v1beta1.MsgVote, cosmos.gov.v1.MsgVote', + display: 'Vote', + }, + }, + Slashing: { + Unjail: { + msg: 'cosmos.slashing.v1beta1.MsgUnjail', + dsplay: 'Unjail', + }, + }, +}; From 7b3d8d714adb89cd8314f3843c96d1904f6e0d2b Mon Sep 17 00:00:00 2001 From: Magic Cat Date: Mon, 15 Jan 2024 17:58:05 +0700 Subject: [PATCH 05/72] add filterMsgType to recoil --- packages/ui/src/recoil/settings/atom.ts | 1 + packages/ui/src/recoil/settings/index.ts | 1 + packages/ui/src/recoil/settings/selectors.ts | 32 +++++++++++++++++++- packages/ui/src/recoil/settings/types.ts | 1 + 4 files changed, 34 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/recoil/settings/atom.ts b/packages/ui/src/recoil/settings/atom.ts index c4f18d1c6d..414d2e7819 100644 --- a/packages/ui/src/recoil/settings/atom.ts +++ b/packages/ui/src/recoil/settings/atom.ts @@ -9,6 +9,7 @@ const initialState: AtomState = { dateFormat: 'locale', timeFormat: '12-hour', txListFormat: 'compact', + filterMsgTypes: '{}', }; export const atomState = atom({ diff --git a/packages/ui/src/recoil/settings/index.ts b/packages/ui/src/recoil/settings/index.ts index 5417bdc43e..7aed05fe8d 100644 --- a/packages/ui/src/recoil/settings/index.ts +++ b/packages/ui/src/recoil/settings/index.ts @@ -9,6 +9,7 @@ export { writeTimeFormat, writeTheme, writeTx, + writeFilterMsgTypes, } from '@/recoil/settings/selectors'; export type { AtomState, Date, Theme, Tx, TimeFormat } from '@/recoil/settings/types'; export { diff --git a/packages/ui/src/recoil/settings/selectors.ts b/packages/ui/src/recoil/settings/selectors.ts index 3b9d32e693..29a4106b91 100644 --- a/packages/ui/src/recoil/settings/selectors.ts +++ b/packages/ui/src/recoil/settings/selectors.ts @@ -1,7 +1,14 @@ import { DefaultValue, ReadOnlySelectorOptions, selector } from 'recoil'; import { atomState } from '@/recoil/settings/atom'; import type { Date, TimeFormat, Theme, Tx } from '@/recoil/settings/types'; -import { DATE_KEY, setItem, THEME_KEY, TX_KEY, TIME_FORMAT_KEY } from '@/utils/localstorage'; +import { + DATE_KEY, + setItem, + THEME_KEY, + TX_KEY, + TIME_FORMAT_KEY, + FILTER_MSG_TYPES_KEY, +} from '@/utils/localstorage'; import { mergeStateChange } from '@/utils/merge_state_change'; const getTheme: ReadOnlySelectorOptions['get'] = ({ get }): Theme => { @@ -108,3 +115,26 @@ export const readTx = selector({ key: 'settings.read.tx', get: getTx, }); + +const getFilterMsgTypes: ReadOnlySelectorOptions['get'] = ({ get }) => { + const state = get(atomState); + return state.filterMsgTypes; +}; + +export const writeFilterMsgTypes = selector({ + key: 'settings.write.filterMsgTypes', + get: getFilterMsgTypes, + set: ({ get, set }, newMsgFilter) => { + if (newMsgFilter instanceof DefaultValue) return; + const prevState = get(atomState); + const newState = mergeStateChange(prevState, { + msgTypes: newMsgFilter, + }); + set(atomState, newState); + }, +}); + +export const readFilterMsgTypes = selector({ + key: 'settings.read.filterMsgTypes', + get: getFilterMsgTypes, +}); \ No newline at end of file diff --git a/packages/ui/src/recoil/settings/types.ts b/packages/ui/src/recoil/settings/types.ts index 07e652bf4d..a569934a38 100644 --- a/packages/ui/src/recoil/settings/types.ts +++ b/packages/ui/src/recoil/settings/types.ts @@ -8,4 +8,5 @@ export interface AtomState { dateFormat: Date; timeFormat: TimeFormat; txListFormat: Tx; + filterMsgTypes: string; } From f17102de6fd9b4dfddf96590f4870c3d2fb84355 Mon Sep 17 00:00:00 2001 From: Magic Cat Date: Fri, 19 Jan 2024 11:03:42 +0700 Subject: [PATCH 06/72] add message_type query to graphql --- .../src/graphql/general/message_types.graphql | 7 + .../ui/src/graphql/general/params.graphql | 4 +- .../graphql/general/proposal_details.graphql | 2 +- .../src/graphql/general/token_price.graphql | 1 - .../ui/src/graphql/types/general_types.ts | 7866 ++++++----------- .../ui/src/graphql/types/profile_types.ts | 184 + 6 files changed, 2789 insertions(+), 5275 deletions(-) create mode 100644 packages/ui/src/graphql/general/message_types.graphql diff --git a/packages/ui/src/graphql/general/message_types.graphql b/packages/ui/src/graphql/general/message_types.graphql new file mode 100644 index 0000000000..c2fd3ba720 --- /dev/null +++ b/packages/ui/src/graphql/general/message_types.graphql @@ -0,0 +1,7 @@ +query MessageTypes{ + msgTypes: message_type{ + type + module + label + } +} \ No newline at end of file diff --git a/packages/ui/src/graphql/general/params.graphql b/packages/ui/src/graphql/general/params.graphql index b5415d40e3..7ad8b7de07 100644 --- a/packages/ui/src/graphql/general/params.graphql +++ b/packages/ui/src/graphql/general/params.graphql @@ -12,8 +12,6 @@ query Params { params } govParams: gov_params (limit: 1, order_by: {height: desc}) { - depositParams: deposit_params - tallyParams: tally_params - votingParams: voting_params + params } } diff --git a/packages/ui/src/graphql/general/proposal_details.graphql b/packages/ui/src/graphql/general/proposal_details.graphql index e298e93cc8..fab5a900e5 100644 --- a/packages/ui/src/graphql/general/proposal_details.graphql +++ b/packages/ui/src/graphql/general/proposal_details.graphql @@ -24,7 +24,7 @@ query ProposalDetailsTally($proposalId: Int) { bondedTokens: bonded_tokens } quorum: gov_params (limit: 1, order_by: {height: desc}) { - tallyParams: tally_params + params } } diff --git a/packages/ui/src/graphql/general/token_price.graphql b/packages/ui/src/graphql/general/token_price.graphql index 8c11321b98..3ed50b2348 100644 --- a/packages/ui/src/graphql/general/token_price.graphql +++ b/packages/ui/src/graphql/general/token_price.graphql @@ -1,6 +1,5 @@ subscription TokenPriceListener($denom: String) { tokenPrice: token_price(where: {unit_name: {_eq: $denom}}) { - id price timestamp marketCap: market_cap diff --git a/packages/ui/src/graphql/types/general_types.ts b/packages/ui/src/graphql/types/general_types.ts index f300b55cac..6d7bbd4199 100644 --- a/packages/ui/src/graphql/types/general_types.ts +++ b/packages/ui/src/graphql/types/general_types.ts @@ -21,12 +21,13 @@ export type Scalars = { _coin: any; _dec_coin: any; _text: any; + access_config_scalar: any; bigint: any; + bytea: any; jsonb: any; numeric: any; smallint: any; timestamp: any; - timestamptz: any; }; export type ActionAddress = { @@ -57,6 +58,14 @@ export type ActionRedelegationResponse = { redelegations?: Maybe>>; }; +export type ActionSuperfluidDelegationResponse = { + __typename?: 'ActionSuperfluidDelegationResponse'; + delegation_amount?: Maybe; + delegator_address: Scalars['String']; + equivalent_staked_amount?: Maybe; + validator_address: Scalars['String']; +}; + export type ActionUnbondingDelegationResponse = { __typename?: 'ActionUnbondingDelegationResponse'; pagination?: Maybe; @@ -166,40 +175,45 @@ export type _Text_Comparison_Exp = { _nin?: InputMaybe>; }; +/** Boolean expression to compare columns of type "access_config_scalar". All fields are combined with logical 'AND'. */ +export type Access_Config_Scalar_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + /** columns and relationships of "account" */ export type Account = { __typename?: 'account'; address: Scalars['String']; /** An array relationship */ feeGrantAllowancesByGranterAddress: Array; - /** An aggregate relationship */ - feeGrantAllowancesByGranterAddress_aggregate: Fee_Grant_Allowance_Aggregate; /** An array relationship */ fee_grant_allowances: Array; - /** An aggregate relationship */ - fee_grant_allowances_aggregate: Fee_Grant_Allowance_Aggregate; /** An array relationship */ proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; /** An array relationship */ proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; /** An array relationship */ proposals: Array; /** An aggregate relationship */ proposals_aggregate: Proposal_Aggregate; /** An array relationship */ validator_infos: Array; - /** An aggregate relationship */ - validator_infos_aggregate: Validator_Info_Aggregate; /** An object relationship */ vesting_account?: Maybe; /** An array relationship */ vesting_accounts: Array; + /** An array relationship */ + wasm_contracts: Array; /** An aggregate relationship */ - vesting_accounts_aggregate: Vesting_Account_Aggregate; + wasm_contracts_aggregate: Wasm_Contract_Aggregate; }; @@ -213,16 +227,6 @@ export type AccountFeeGrantAllowancesByGranterAddressArgs = { }; -/** columns and relationships of "account" */ -export type AccountFeeGrantAllowancesByGranterAddress_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountFee_Grant_AllowancesArgs = { distinct_on?: InputMaybe>; @@ -233,16 +237,6 @@ export type AccountFee_Grant_AllowancesArgs = { }; -/** columns and relationships of "account" */ -export type AccountFee_Grant_Allowances_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountProposal_DepositsArgs = { distinct_on?: InputMaybe>; @@ -253,16 +247,6 @@ export type AccountProposal_DepositsArgs = { }; -/** columns and relationships of "account" */ -export type AccountProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountProposal_VotesArgs = { distinct_on?: InputMaybe>; @@ -273,16 +257,6 @@ export type AccountProposal_VotesArgs = { }; -/** columns and relationships of "account" */ -export type AccountProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountProposalsArgs = { distinct_on?: InputMaybe>; @@ -313,16 +287,6 @@ export type AccountValidator_InfosArgs = { }; -/** columns and relationships of "account" */ -export type AccountValidator_Infos_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountVesting_AccountsArgs = { distinct_on?: InputMaybe>; @@ -334,34 +298,22 @@ export type AccountVesting_AccountsArgs = { /** columns and relationships of "account" */ -export type AccountVesting_Accounts_AggregateArgs = { - distinct_on?: InputMaybe>; +export type AccountWasm_ContractsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "account" */ -export type Account_Aggregate = { - __typename?: 'account_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "account" */ -export type Account_Aggregate_Fields = { - __typename?: 'account_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate fields of "account" */ -export type Account_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; +/** columns and relationships of "account" */ +export type AccountWasm_Contracts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** Boolean expression to filter rows from the table "account". All fields are combined with a logical 'AND'. */ @@ -375,21 +327,12 @@ export type Account_Bool_Exp = { proposal_deposits?: InputMaybe; proposal_votes?: InputMaybe; proposals?: InputMaybe; + proposals_aggregate?: InputMaybe; validator_infos?: InputMaybe; vesting_account?: InputMaybe; vesting_accounts?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Account_Max_Fields = { - __typename?: 'account_max_fields'; - address?: Maybe; -}; - -/** aggregate min on columns */ -export type Account_Min_Fields = { - __typename?: 'account_min_fields'; - address?: Maybe; + wasm_contracts?: InputMaybe; + wasm_contracts_aggregate?: InputMaybe; }; /** Ordering options when selecting data from "account". */ @@ -403,6 +346,7 @@ export type Account_Order_By = { validator_infos_aggregate?: InputMaybe; vesting_account?: InputMaybe; vesting_accounts_aggregate?: InputMaybe; + wasm_contracts_aggregate?: InputMaybe; }; /** select columns of table "account" */ @@ -411,6 +355,19 @@ export enum Account_Select_Column { Address = 'address' } +/** Streaming cursor of the table "account" */ +export type Account_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Account_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Account_Stream_Cursor_Value_Input = { + address?: InputMaybe; +}; + /** columns and relationships of "average_block_time_from_genesis" */ export type Average_Block_Time_From_Genesis = { __typename?: 'average_block_time_from_genesis'; @@ -418,43 +375,6 @@ export type Average_Block_Time_From_Genesis = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_from_genesis" */ -export type Average_Block_Time_From_Genesis_Aggregate = { - __typename?: 'average_block_time_from_genesis_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_from_genesis" */ -export type Average_Block_Time_From_Genesis_Aggregate_Fields = { - __typename?: 'average_block_time_from_genesis_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_from_genesis" */ -export type Average_Block_Time_From_Genesis_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_From_Genesis_Avg_Fields = { - __typename?: 'average_block_time_from_genesis_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_from_genesis". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_From_Genesis_Bool_Exp = { _and?: InputMaybe>; @@ -464,20 +384,6 @@ export type Average_Block_Time_From_Genesis_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_From_Genesis_Max_Fields = { - __typename?: 'average_block_time_from_genesis_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_From_Genesis_Min_Fields = { - __typename?: 'average_block_time_from_genesis_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_from_genesis". */ export type Average_Block_Time_From_Genesis_Order_By = { average_time?: InputMaybe; @@ -492,53 +398,18 @@ export enum Average_Block_Time_From_Genesis_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_From_Genesis_Stddev_Fields = { - __typename?: 'average_block_time_from_genesis_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_From_Genesis_Stddev_Pop_Fields = { - __typename?: 'average_block_time_from_genesis_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_From_Genesis_Stddev_Samp_Fields = { - __typename?: 'average_block_time_from_genesis_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_From_Genesis_Sum_Fields = { - __typename?: 'average_block_time_from_genesis_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_From_Genesis_Var_Pop_Fields = { - __typename?: 'average_block_time_from_genesis_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_From_Genesis_Var_Samp_Fields = { - __typename?: 'average_block_time_from_genesis_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_from_genesis" */ +export type Average_Block_Time_From_Genesis_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_From_Genesis_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Average_Block_Time_From_Genesis_Variance_Fields = { - __typename?: 'average_block_time_from_genesis_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_From_Genesis_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "average_block_time_per_day" */ @@ -548,43 +419,6 @@ export type Average_Block_Time_Per_Day = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_per_day" */ -export type Average_Block_Time_Per_Day_Aggregate = { - __typename?: 'average_block_time_per_day_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_per_day" */ -export type Average_Block_Time_Per_Day_Aggregate_Fields = { - __typename?: 'average_block_time_per_day_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_per_day" */ -export type Average_Block_Time_Per_Day_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_Per_Day_Avg_Fields = { - __typename?: 'average_block_time_per_day_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_per_day". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_Per_Day_Bool_Exp = { _and?: InputMaybe>; @@ -594,20 +428,6 @@ export type Average_Block_Time_Per_Day_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_Per_Day_Max_Fields = { - __typename?: 'average_block_time_per_day_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_Per_Day_Min_Fields = { - __typename?: 'average_block_time_per_day_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_per_day". */ export type Average_Block_Time_Per_Day_Order_By = { average_time?: InputMaybe; @@ -622,53 +442,18 @@ export enum Average_Block_Time_Per_Day_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_Per_Day_Stddev_Fields = { - __typename?: 'average_block_time_per_day_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_Per_Day_Stddev_Pop_Fields = { - __typename?: 'average_block_time_per_day_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_Per_Day_Stddev_Samp_Fields = { - __typename?: 'average_block_time_per_day_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_Per_Day_Sum_Fields = { - __typename?: 'average_block_time_per_day_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_Per_Day_Var_Pop_Fields = { - __typename?: 'average_block_time_per_day_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_Per_Day_Var_Samp_Fields = { - __typename?: 'average_block_time_per_day_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_per_day" */ +export type Average_Block_Time_Per_Day_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_Per_Day_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Average_Block_Time_Per_Day_Variance_Fields = { - __typename?: 'average_block_time_per_day_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_Per_Day_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "average_block_time_per_hour" */ @@ -678,43 +463,6 @@ export type Average_Block_Time_Per_Hour = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_per_hour" */ -export type Average_Block_Time_Per_Hour_Aggregate = { - __typename?: 'average_block_time_per_hour_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_per_hour" */ -export type Average_Block_Time_Per_Hour_Aggregate_Fields = { - __typename?: 'average_block_time_per_hour_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_per_hour" */ -export type Average_Block_Time_Per_Hour_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_Per_Hour_Avg_Fields = { - __typename?: 'average_block_time_per_hour_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_per_hour". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_Per_Hour_Bool_Exp = { _and?: InputMaybe>; @@ -724,20 +472,6 @@ export type Average_Block_Time_Per_Hour_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_Per_Hour_Max_Fields = { - __typename?: 'average_block_time_per_hour_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_Per_Hour_Min_Fields = { - __typename?: 'average_block_time_per_hour_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_per_hour". */ export type Average_Block_Time_Per_Hour_Order_By = { average_time?: InputMaybe; @@ -752,53 +486,18 @@ export enum Average_Block_Time_Per_Hour_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_Per_Hour_Stddev_Fields = { - __typename?: 'average_block_time_per_hour_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_Per_Hour_Stddev_Pop_Fields = { - __typename?: 'average_block_time_per_hour_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_Per_Hour_Stddev_Samp_Fields = { - __typename?: 'average_block_time_per_hour_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_Per_Hour_Sum_Fields = { - __typename?: 'average_block_time_per_hour_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_Per_Hour_Var_Pop_Fields = { - __typename?: 'average_block_time_per_hour_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_Per_Hour_Var_Samp_Fields = { - __typename?: 'average_block_time_per_hour_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_per_hour" */ +export type Average_Block_Time_Per_Hour_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_Per_Hour_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Average_Block_Time_Per_Hour_Variance_Fields = { - __typename?: 'average_block_time_per_hour_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_Per_Hour_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "average_block_time_per_minute" */ @@ -808,43 +507,6 @@ export type Average_Block_Time_Per_Minute = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_per_minute" */ -export type Average_Block_Time_Per_Minute_Aggregate = { - __typename?: 'average_block_time_per_minute_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_per_minute" */ -export type Average_Block_Time_Per_Minute_Aggregate_Fields = { - __typename?: 'average_block_time_per_minute_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_per_minute" */ -export type Average_Block_Time_Per_Minute_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_Per_Minute_Avg_Fields = { - __typename?: 'average_block_time_per_minute_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_per_minute". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_Per_Minute_Bool_Exp = { _and?: InputMaybe>; @@ -854,20 +516,6 @@ export type Average_Block_Time_Per_Minute_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_Per_Minute_Max_Fields = { - __typename?: 'average_block_time_per_minute_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_Per_Minute_Min_Fields = { - __typename?: 'average_block_time_per_minute_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_per_minute". */ export type Average_Block_Time_Per_Minute_Order_By = { average_time?: InputMaybe; @@ -882,53 +530,18 @@ export enum Average_Block_Time_Per_Minute_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_Per_Minute_Stddev_Fields = { - __typename?: 'average_block_time_per_minute_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_Per_Minute_Stddev_Pop_Fields = { - __typename?: 'average_block_time_per_minute_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_Per_Minute_Stddev_Samp_Fields = { - __typename?: 'average_block_time_per_minute_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_Per_Minute_Sum_Fields = { - __typename?: 'average_block_time_per_minute_sum_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_per_minute" */ +export type Average_Block_Time_Per_Minute_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_Per_Minute_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Average_Block_Time_Per_Minute_Var_Pop_Fields = { - __typename?: 'average_block_time_per_minute_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_Per_Minute_Var_Samp_Fields = { - __typename?: 'average_block_time_per_minute_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Average_Block_Time_Per_Minute_Variance_Fields = { - __typename?: 'average_block_time_per_minute_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_Per_Minute_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ @@ -956,19 +569,13 @@ export type Block = { pre_commits_aggregate: Pre_Commit_Aggregate; /** An array relationship */ proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; /** An array relationship */ proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; proposer_address?: Maybe; timestamp: Scalars['timestamp']; total_gas?: Maybe; /** An array relationship */ transactions: Array; - /** An aggregate relationship */ - transactions_aggregate: Transaction_Aggregate; /** An object relationship */ validator?: Maybe; /** An array relationship */ @@ -1008,16 +615,6 @@ export type BlockProposal_DepositsArgs = { }; -/** columns and relationships of "block" */ -export type BlockProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "block" */ export type BlockProposal_VotesArgs = { distinct_on?: InputMaybe>; @@ -1028,16 +625,6 @@ export type BlockProposal_VotesArgs = { }; -/** columns and relationships of "block" */ -export type BlockProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "block" */ export type BlockTransactionsArgs = { distinct_on?: InputMaybe>; @@ -1048,16 +635,6 @@ export type BlockTransactionsArgs = { }; -/** columns and relationships of "block" */ -export type BlockTransactions_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "block" */ export type BlockValidator_Voting_PowersArgs = { distinct_on?: InputMaybe>; @@ -1077,36 +654,6 @@ export type BlockValidator_Voting_Powers_AggregateArgs = { where?: InputMaybe; }; -/** aggregated selection of "block" */ -export type Block_Aggregate = { - __typename?: 'block_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "block" */ -export type Block_Aggregate_Fields = { - __typename?: 'block_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "block" */ -export type Block_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "block" */ export type Block_Aggregate_Order_By = { avg?: InputMaybe; @@ -1122,14 +669,6 @@ export type Block_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Block_Avg_Fields = { - __typename?: 'block_avg_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by avg() on columns of table "block" */ export type Block_Avg_Order_By = { height?: InputMaybe; @@ -1146,6 +685,7 @@ export type Block_Bool_Exp = { height?: InputMaybe; num_txs?: InputMaybe; pre_commits?: InputMaybe; + pre_commits_aggregate?: InputMaybe; proposal_deposits?: InputMaybe; proposal_votes?: InputMaybe; proposer_address?: InputMaybe; @@ -1154,17 +694,7 @@ export type Block_Bool_Exp = { transactions?: InputMaybe; validator?: InputMaybe; validator_voting_powers?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Block_Max_Fields = { - __typename?: 'block_max_fields'; - hash?: Maybe; - height?: Maybe; - num_txs?: Maybe; - proposer_address?: Maybe; - timestamp?: Maybe; - total_gas?: Maybe; + validator_voting_powers_aggregate?: InputMaybe; }; /** order by max() on columns of table "block" */ @@ -1177,17 +707,6 @@ export type Block_Max_Order_By = { total_gas?: InputMaybe; }; -/** aggregate min on columns */ -export type Block_Min_Fields = { - __typename?: 'block_min_fields'; - hash?: Maybe; - height?: Maybe; - num_txs?: Maybe; - proposer_address?: Maybe; - timestamp?: Maybe; - total_gas?: Maybe; -}; - /** order by min() on columns of table "block" */ export type Block_Min_Order_By = { hash?: InputMaybe; @@ -1230,14 +749,6 @@ export enum Block_Select_Column { TotalGas = 'total_gas' } -/** aggregate stddev on columns */ -export type Block_Stddev_Fields = { - __typename?: 'block_stddev_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by stddev() on columns of table "block" */ export type Block_Stddev_Order_By = { height?: InputMaybe; @@ -1245,14 +756,6 @@ export type Block_Stddev_Order_By = { total_gas?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Block_Stddev_Pop_Fields = { - __typename?: 'block_stddev_pop_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by stddev_pop() on columns of table "block" */ export type Block_Stddev_Pop_Order_By = { height?: InputMaybe; @@ -1260,14 +763,6 @@ export type Block_Stddev_Pop_Order_By = { total_gas?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Block_Stddev_Samp_Fields = { - __typename?: 'block_stddev_samp_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by stddev_samp() on columns of table "block" */ export type Block_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -1275,12 +770,22 @@ export type Block_Stddev_Samp_Order_By = { total_gas?: InputMaybe; }; -/** aggregate sum on columns */ -export type Block_Sum_Fields = { - __typename?: 'block_sum_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; +/** Streaming cursor of the table "block" */ +export type Block_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Block_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Block_Stream_Cursor_Value_Input = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; }; /** order by sum() on columns of table "block" */ @@ -1290,14 +795,6 @@ export type Block_Sum_Order_By = { total_gas?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Block_Var_Pop_Fields = { - __typename?: 'block_var_pop_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by var_pop() on columns of table "block" */ export type Block_Var_Pop_Order_By = { height?: InputMaybe; @@ -1305,14 +802,6 @@ export type Block_Var_Pop_Order_By = { total_gas?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Block_Var_Samp_Fields = { - __typename?: 'block_var_samp_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by var_samp() on columns of table "block" */ export type Block_Var_Samp_Order_By = { height?: InputMaybe; @@ -1320,14 +809,6 @@ export type Block_Var_Samp_Order_By = { total_gas?: InputMaybe; }; -/** aggregate variance on columns */ -export type Block_Variance_Fields = { - __typename?: 'block_variance_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by variance() on columns of table "block" */ export type Block_Variance_Order_By = { height?: InputMaybe; @@ -1335,6 +816,19 @@ export type Block_Variance_Order_By = { total_gas?: InputMaybe; }; +/** Boolean expression to compare columns of type "bytea". All fields are combined with logical 'AND'. */ +export type Bytea_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + /** columns and relationships of "community_pool" */ export type Community_Pool = { __typename?: 'community_pool'; @@ -1342,42 +836,6 @@ export type Community_Pool = { height: Scalars['bigint']; }; -/** aggregated selection of "community_pool" */ -export type Community_Pool_Aggregate = { - __typename?: 'community_pool_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "community_pool" */ -export type Community_Pool_Aggregate_Fields = { - __typename?: 'community_pool_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "community_pool" */ -export type Community_Pool_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Community_Pool_Avg_Fields = { - __typename?: 'community_pool_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "community_pool". All fields are combined with a logical 'AND'. */ export type Community_Pool_Bool_Exp = { _and?: InputMaybe>; @@ -1387,18 +845,6 @@ export type Community_Pool_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Community_Pool_Max_Fields = { - __typename?: 'community_pool_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Community_Pool_Min_Fields = { - __typename?: 'community_pool_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "community_pool". */ export type Community_Pool_Order_By = { coins?: InputMaybe; @@ -1413,53 +859,32 @@ export enum Community_Pool_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Community_Pool_Stddev_Fields = { - __typename?: 'community_pool_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Community_Pool_Stddev_Pop_Fields = { - __typename?: 'community_pool_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Community_Pool_Stddev_Samp_Fields = { - __typename?: 'community_pool_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Community_Pool_Sum_Fields = { - __typename?: 'community_pool_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Community_Pool_Var_Pop_Fields = { - __typename?: 'community_pool_var_pop_fields'; - height?: Maybe; +/** Streaming cursor of the table "community_pool" */ +export type Community_Pool_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Community_Pool_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Community_Pool_Var_Samp_Fields = { - __typename?: 'community_pool_var_samp_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Community_Pool_Stream_Cursor_Value_Input = { + coins?: InputMaybe; + height?: InputMaybe; }; -/** aggregate variance on columns */ -export type Community_Pool_Variance_Fields = { - __typename?: 'community_pool_variance_fields'; - height?: Maybe; -}; +/** ordering argument of a cursor */ +export enum Cursor_Ordering { + /** ascending ordering of the cursor */ + Asc = 'ASC', + /** descending ordering of the cursor */ + Desc = 'DESC' +} /** columns and relationships of "distribution_params" */ export type Distribution_Params = { __typename?: 'distribution_params'; height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; params: Scalars['jsonb']; }; @@ -1469,68 +894,18 @@ export type Distribution_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "distribution_params" */ -export type Distribution_Params_Aggregate = { - __typename?: 'distribution_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "distribution_params" */ -export type Distribution_Params_Aggregate_Fields = { - __typename?: 'distribution_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "distribution_params" */ -export type Distribution_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Distribution_Params_Avg_Fields = { - __typename?: 'distribution_params_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "distribution_params". All fields are combined with a logical 'AND'. */ export type Distribution_Params_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; -/** aggregate max on columns */ -export type Distribution_Params_Max_Fields = { - __typename?: 'distribution_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Distribution_Params_Min_Fields = { - __typename?: 'distribution_params_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "distribution_params". */ export type Distribution_Params_Order_By = { height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; @@ -1539,51 +914,21 @@ export enum Distribution_Params_Select_Column { /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', - /** column name */ Params = 'params' } -/** aggregate stddev on columns */ -export type Distribution_Params_Stddev_Fields = { - __typename?: 'distribution_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Distribution_Params_Stddev_Pop_Fields = { - __typename?: 'distribution_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Distribution_Params_Stddev_Samp_Fields = { - __typename?: 'distribution_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Distribution_Params_Sum_Fields = { - __typename?: 'distribution_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Distribution_Params_Var_Pop_Fields = { - __typename?: 'distribution_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Distribution_Params_Var_Samp_Fields = { - __typename?: 'distribution_params_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "distribution_params" */ +export type Distribution_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Distribution_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Distribution_Params_Variance_Fields = { - __typename?: 'distribution_params_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Distribution_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; /** columns and relationships of "double_sign_evidence" */ @@ -1598,36 +943,6 @@ export type Double_Sign_Evidence = { vote_b_id: Scalars['bigint']; }; -/** aggregated selection of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate = { - __typename?: 'double_sign_evidence_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate_Fields = { - __typename?: 'double_sign_evidence_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "double_sign_evidence" */ export type Double_Sign_Evidence_Aggregate_Order_By = { avg?: InputMaybe; @@ -1643,14 +958,6 @@ export type Double_Sign_Evidence_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Double_Sign_Evidence_Avg_Fields = { - __typename?: 'double_sign_evidence_avg_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by avg() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Avg_Order_By = { height?: InputMaybe; @@ -1670,14 +977,6 @@ export type Double_Sign_Evidence_Bool_Exp = { vote_b_id?: InputMaybe; }; -/** aggregate max on columns */ -export type Double_Sign_Evidence_Max_Fields = { - __typename?: 'double_sign_evidence_max_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by max() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Max_Order_By = { height?: InputMaybe; @@ -1685,14 +984,6 @@ export type Double_Sign_Evidence_Max_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate min on columns */ -export type Double_Sign_Evidence_Min_Fields = { - __typename?: 'double_sign_evidence_min_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by min() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Min_Order_By = { height?: InputMaybe; @@ -1719,14 +1010,6 @@ export enum Double_Sign_Evidence_Select_Column { VoteBId = 'vote_b_id' } -/** aggregate stddev on columns */ -export type Double_Sign_Evidence_Stddev_Fields = { - __typename?: 'double_sign_evidence_stddev_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by stddev() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Stddev_Order_By = { height?: InputMaybe; @@ -1734,14 +1017,6 @@ export type Double_Sign_Evidence_Stddev_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Double_Sign_Evidence_Stddev_Pop_Fields = { - __typename?: 'double_sign_evidence_stddev_pop_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Stddev_Pop_Order_By = { height?: InputMaybe; @@ -1749,14 +1024,6 @@ export type Double_Sign_Evidence_Stddev_Pop_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Double_Sign_Evidence_Stddev_Samp_Fields = { - __typename?: 'double_sign_evidence_stddev_samp_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by stddev_samp() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -1764,12 +1031,19 @@ export type Double_Sign_Evidence_Stddev_Samp_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Double_Sign_Evidence_Sum_Fields = { - __typename?: 'double_sign_evidence_sum_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; +/** Streaming cursor of the table "double_sign_evidence" */ +export type Double_Sign_Evidence_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Double_Sign_Evidence_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Double_Sign_Evidence_Stream_Cursor_Value_Input = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; }; /** order by sum() on columns of table "double_sign_evidence" */ @@ -1779,14 +1053,6 @@ export type Double_Sign_Evidence_Sum_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Double_Sign_Evidence_Var_Pop_Fields = { - __typename?: 'double_sign_evidence_var_pop_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by var_pop() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Var_Pop_Order_By = { height?: InputMaybe; @@ -1794,14 +1060,6 @@ export type Double_Sign_Evidence_Var_Pop_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Double_Sign_Evidence_Var_Samp_Fields = { - __typename?: 'double_sign_evidence_var_samp_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by var_samp() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Var_Samp_Order_By = { height?: InputMaybe; @@ -1809,14 +1067,6 @@ export type Double_Sign_Evidence_Var_Samp_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Double_Sign_Evidence_Variance_Fields = { - __typename?: 'double_sign_evidence_variance_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by variance() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Variance_Order_By = { height?: InputMaybe; @@ -1830,14 +1080,9 @@ export type Double_Sign_Vote = { block_id: Scalars['String']; /** An array relationship */ doubleSignEvidencesByVoteBId: Array; - /** An aggregate relationship */ - doubleSignEvidencesByVoteBId_aggregate: Double_Sign_Evidence_Aggregate; /** An array relationship */ double_sign_evidences: Array; - /** An aggregate relationship */ - double_sign_evidences_aggregate: Double_Sign_Evidence_Aggregate; height: Scalars['bigint']; - id: Scalars['Int']; round: Scalars['Int']; signature: Scalars['String']; type: Scalars['smallint']; @@ -1859,7 +1104,7 @@ export type Double_Sign_VoteDoubleSignEvidencesByVoteBIdArgs = { /** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDoubleSignEvidencesByVoteBId_AggregateArgs = { +export type Double_Sign_VoteDouble_Sign_EvidencesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -1867,56 +1112,6 @@ export type Double_Sign_VoteDoubleSignEvidencesByVoteBId_AggregateArgs = { where?: InputMaybe; }; - -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDouble_Sign_EvidencesArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDouble_Sign_Evidences_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate = { - __typename?: 'double_sign_vote_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate_Fields = { - __typename?: 'double_sign_vote_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "double_sign_vote" */ export type Double_Sign_Vote_Aggregate_Order_By = { avg?: InputMaybe; @@ -1932,20 +1127,9 @@ export type Double_Sign_Vote_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Double_Sign_Vote_Avg_Fields = { - __typename?: 'double_sign_vote_avg_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by avg() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Avg_Order_By = { height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; type?: InputMaybe; validator_index?: InputMaybe; @@ -1960,7 +1144,6 @@ export type Double_Sign_Vote_Bool_Exp = { doubleSignEvidencesByVoteBId?: InputMaybe; double_sign_evidences?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; signature?: InputMaybe; type?: InputMaybe; @@ -1969,24 +1152,10 @@ export type Double_Sign_Vote_Bool_Exp = { validator_index?: InputMaybe; }; -/** aggregate max on columns */ -export type Double_Sign_Vote_Max_Fields = { - __typename?: 'double_sign_vote_max_fields'; - block_id?: Maybe; - height?: Maybe; - id?: Maybe; - round?: Maybe; - signature?: Maybe; - type?: Maybe; - validator_address?: Maybe; - validator_index?: Maybe; -}; - /** order by max() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Max_Order_By = { block_id?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; signature?: InputMaybe; type?: InputMaybe; @@ -1994,24 +1163,10 @@ export type Double_Sign_Vote_Max_Order_By = { validator_index?: InputMaybe; }; -/** aggregate min on columns */ -export type Double_Sign_Vote_Min_Fields = { - __typename?: 'double_sign_vote_min_fields'; - block_id?: Maybe; - height?: Maybe; - id?: Maybe; - round?: Maybe; - signature?: Maybe; - type?: Maybe; - validator_address?: Maybe; - validator_index?: Maybe; -}; - /** order by min() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Min_Order_By = { block_id?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; signature?: InputMaybe; type?: InputMaybe; @@ -2025,7 +1180,6 @@ export type Double_Sign_Vote_Order_By = { doubleSignEvidencesByVoteBId_aggregate?: InputMaybe; double_sign_evidences_aggregate?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; signature?: InputMaybe; type?: InputMaybe; @@ -2041,8 +1195,6 @@ export enum Double_Sign_Vote_Select_Column { /** column name */ Height = 'height', /** column name */ - Id = 'id', - /** column name */ Round = 'round', /** column name */ Signature = 'signature', @@ -2054,134 +1206,76 @@ export enum Double_Sign_Vote_Select_Column { ValidatorIndex = 'validator_index' } -/** aggregate stddev on columns */ -export type Double_Sign_Vote_Stddev_Fields = { - __typename?: 'double_sign_vote_stddev_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by stddev() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Stddev_Order_By = { height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; type?: InputMaybe; validator_index?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Double_Sign_Vote_Stddev_Pop_Fields = { - __typename?: 'double_sign_vote_stddev_pop_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by stddev_pop() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Stddev_Pop_Order_By = { height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; type?: InputMaybe; validator_index?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Double_Sign_Vote_Stddev_Samp_Fields = { - __typename?: 'double_sign_vote_stddev_samp_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by stddev_samp() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Stddev_Samp_Order_By = { height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; type?: InputMaybe; validator_index?: InputMaybe; }; -/** aggregate sum on columns */ -export type Double_Sign_Vote_Sum_Fields = { - __typename?: 'double_sign_vote_sum_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; +/** Streaming cursor of the table "double_sign_vote" */ +export type Double_Sign_Vote_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Double_Sign_Vote_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Double_Sign_Vote_Stream_Cursor_Value_Input = { + block_id?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; }; /** order by sum() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Sum_Order_By = { height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; type?: InputMaybe; validator_index?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Double_Sign_Vote_Var_Pop_Fields = { - __typename?: 'double_sign_vote_var_pop_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by var_pop() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Var_Pop_Order_By = { height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; type?: InputMaybe; validator_index?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Double_Sign_Vote_Var_Samp_Fields = { - __typename?: 'double_sign_vote_var_samp_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by var_samp() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Var_Samp_Order_By = { height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; type?: InputMaybe; validator_index?: InputMaybe; }; -/** aggregate variance on columns */ -export type Double_Sign_Vote_Variance_Fields = { - __typename?: 'double_sign_vote_variance_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by variance() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Variance_Order_By = { height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; type?: InputMaybe; validator_index?: InputMaybe; @@ -2198,7 +1292,6 @@ export type Fee_Grant_Allowance = { granter: Account; granter_address: Scalars['String']; height: Scalars['bigint']; - id: Scalars['Int']; }; @@ -2207,36 +1300,6 @@ export type Fee_Grant_AllowanceAllowanceArgs = { path?: InputMaybe; }; -/** aggregated selection of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate = { - __typename?: 'fee_grant_allowance_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate_Fields = { - __typename?: 'fee_grant_allowance_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "fee_grant_allowance" */ export type Fee_Grant_Allowance_Aggregate_Order_By = { avg?: InputMaybe; @@ -2252,17 +1315,9 @@ export type Fee_Grant_Allowance_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Fee_Grant_Allowance_Avg_Fields = { - __typename?: 'fee_grant_allowance_avg_fields'; - height?: Maybe; - id?: Maybe; -}; - /** order by avg() on columns of table "fee_grant_allowance" */ export type Fee_Grant_Allowance_Avg_Order_By = { height?: InputMaybe; - id?: InputMaybe; }; /** Boolean expression to filter rows from the table "fee_grant_allowance". All fields are combined with a logical 'AND'. */ @@ -2276,16 +1331,6 @@ export type Fee_Grant_Allowance_Bool_Exp = { granter?: InputMaybe; granter_address?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Fee_Grant_Allowance_Max_Fields = { - __typename?: 'fee_grant_allowance_max_fields'; - grantee_address?: Maybe; - granter_address?: Maybe; - height?: Maybe; - id?: Maybe; }; /** order by max() on columns of table "fee_grant_allowance" */ @@ -2293,16 +1338,6 @@ export type Fee_Grant_Allowance_Max_Order_By = { grantee_address?: InputMaybe; granter_address?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Fee_Grant_Allowance_Min_Fields = { - __typename?: 'fee_grant_allowance_min_fields'; - grantee_address?: Maybe; - granter_address?: Maybe; - height?: Maybe; - id?: Maybe; }; /** order by min() on columns of table "fee_grant_allowance" */ @@ -2310,7 +1345,6 @@ export type Fee_Grant_Allowance_Min_Order_By = { grantee_address?: InputMaybe; granter_address?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; }; /** Ordering options when selecting data from "fee_grant_allowance". */ @@ -2321,7 +1355,6 @@ export type Fee_Grant_Allowance_Order_By = { granter?: InputMaybe; granter_address?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; }; /** select columns of table "fee_grant_allowance" */ @@ -2333,100 +1366,58 @@ export enum Fee_Grant_Allowance_Select_Column { /** column name */ GranterAddress = 'granter_address', /** column name */ - Height = 'height', - /** column name */ - Id = 'id' + Height = 'height' } -/** aggregate stddev on columns */ -export type Fee_Grant_Allowance_Stddev_Fields = { - __typename?: 'fee_grant_allowance_stddev_fields'; - height?: Maybe; - id?: Maybe; -}; - /** order by stddev() on columns of table "fee_grant_allowance" */ export type Fee_Grant_Allowance_Stddev_Order_By = { height?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Fee_Grant_Allowance_Stddev_Pop_Fields = { - __typename?: 'fee_grant_allowance_stddev_pop_fields'; - height?: Maybe; - id?: Maybe; }; /** order by stddev_pop() on columns of table "fee_grant_allowance" */ export type Fee_Grant_Allowance_Stddev_Pop_Order_By = { height?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate stddev_samp on columns */ -export type Fee_Grant_Allowance_Stddev_Samp_Fields = { - __typename?: 'fee_grant_allowance_stddev_samp_fields'; - height?: Maybe; - id?: Maybe; }; /** order by stddev_samp() on columns of table "fee_grant_allowance" */ export type Fee_Grant_Allowance_Stddev_Samp_Order_By = { height?: InputMaybe; - id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Fee_Grant_Allowance_Sum_Fields = { - __typename?: 'fee_grant_allowance_sum_fields'; - height?: Maybe; - id?: Maybe; +/** Streaming cursor of the table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Fee_Grant_Allowance_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Fee_Grant_Allowance_Stream_Cursor_Value_Input = { + allowance?: InputMaybe; + grantee_address?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; }; /** order by sum() on columns of table "fee_grant_allowance" */ export type Fee_Grant_Allowance_Sum_Order_By = { height?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate var_pop on columns */ -export type Fee_Grant_Allowance_Var_Pop_Fields = { - __typename?: 'fee_grant_allowance_var_pop_fields'; - height?: Maybe; - id?: Maybe; }; /** order by var_pop() on columns of table "fee_grant_allowance" */ export type Fee_Grant_Allowance_Var_Pop_Order_By = { height?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Fee_Grant_Allowance_Var_Samp_Fields = { - __typename?: 'fee_grant_allowance_var_samp_fields'; - height?: Maybe; - id?: Maybe; }; /** order by var_samp() on columns of table "fee_grant_allowance" */ export type Fee_Grant_Allowance_Var_Samp_Order_By = { height?: InputMaybe; - id?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type Fee_Grant_Allowance_Variance_Fields = { - __typename?: 'fee_grant_allowance_variance_fields'; - height?: Maybe; - id?: Maybe; }; /** order by variance() on columns of table "fee_grant_allowance" */ export type Fee_Grant_Allowance_Variance_Order_By = { height?: InputMaybe; - id?: InputMaybe; }; /** columns and relationships of "genesis" */ @@ -2437,42 +1428,6 @@ export type Genesis = { time: Scalars['timestamp']; }; -/** aggregated selection of "genesis" */ -export type Genesis_Aggregate = { - __typename?: 'genesis_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "genesis" */ -export type Genesis_Aggregate_Fields = { - __typename?: 'genesis_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "genesis" */ -export type Genesis_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Genesis_Avg_Fields = { - __typename?: 'genesis_avg_fields'; - initial_height?: Maybe; -}; - /** Boolean expression to filter rows from the table "genesis". All fields are combined with a logical 'AND'. */ export type Genesis_Bool_Exp = { _and?: InputMaybe>; @@ -2483,22 +1438,6 @@ export type Genesis_Bool_Exp = { time?: InputMaybe; }; -/** aggregate max on columns */ -export type Genesis_Max_Fields = { - __typename?: 'genesis_max_fields'; - chain_id?: Maybe; - initial_height?: Maybe; - time?: Maybe; -}; - -/** aggregate min on columns */ -export type Genesis_Min_Fields = { - __typename?: 'genesis_min_fields'; - chain_id?: Maybe; - initial_height?: Maybe; - time?: Maybe; -}; - /** Ordering options when selecting data from "genesis". */ export type Genesis_Order_By = { chain_id?: InputMaybe; @@ -2516,243 +1455,76 @@ export enum Genesis_Select_Column { Time = 'time' } -/** aggregate stddev on columns */ -export type Genesis_Stddev_Fields = { - __typename?: 'genesis_stddev_fields'; - initial_height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Genesis_Stddev_Pop_Fields = { - __typename?: 'genesis_stddev_pop_fields'; - initial_height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Genesis_Stddev_Samp_Fields = { - __typename?: 'genesis_stddev_samp_fields'; - initial_height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Genesis_Sum_Fields = { - __typename?: 'genesis_sum_fields'; - initial_height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Genesis_Var_Pop_Fields = { - __typename?: 'genesis_var_pop_fields'; - initial_height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Genesis_Var_Samp_Fields = { - __typename?: 'genesis_var_samp_fields'; - initial_height?: Maybe; +/** Streaming cursor of the table "genesis" */ +export type Genesis_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Genesis_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Genesis_Variance_Fields = { - __typename?: 'genesis_variance_fields'; - initial_height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Genesis_Stream_Cursor_Value_Input = { + chain_id?: InputMaybe; + initial_height?: InputMaybe; + time?: InputMaybe; }; /** columns and relationships of "gov_params" */ export type Gov_Params = { __typename?: 'gov_params'; - deposit_params: Scalars['jsonb']; height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; - tally_params: Scalars['jsonb']; - voting_params: Scalars['jsonb']; -}; - - -/** columns and relationships of "gov_params" */ -export type Gov_ParamsDeposit_ParamsArgs = { - path?: InputMaybe; -}; - - -/** columns and relationships of "gov_params" */ -export type Gov_ParamsTally_ParamsArgs = { - path?: InputMaybe; + params: Scalars['jsonb']; }; /** columns and relationships of "gov_params" */ -export type Gov_ParamsVoting_ParamsArgs = { +export type Gov_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "gov_params" */ -export type Gov_Params_Aggregate = { - __typename?: 'gov_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "gov_params" */ -export type Gov_Params_Aggregate_Fields = { - __typename?: 'gov_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "gov_params" */ -export type Gov_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Gov_Params_Avg_Fields = { - __typename?: 'gov_params_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "gov_params". All fields are combined with a logical 'AND'. */ export type Gov_Params_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; - deposit_params?: InputMaybe; height?: InputMaybe; - one_row_id?: InputMaybe; - tally_params?: InputMaybe; - voting_params?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Gov_Params_Max_Fields = { - __typename?: 'gov_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Gov_Params_Min_Fields = { - __typename?: 'gov_params_min_fields'; - height?: Maybe; + params?: InputMaybe; }; /** Ordering options when selecting data from "gov_params". */ export type Gov_Params_Order_By = { - deposit_params?: InputMaybe; height?: InputMaybe; - one_row_id?: InputMaybe; - tally_params?: InputMaybe; - voting_params?: InputMaybe; + params?: InputMaybe; }; /** select columns of table "gov_params" */ export enum Gov_Params_Select_Column { - /** column name */ - DepositParams = 'deposit_params', /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', - /** column name */ - TallyParams = 'tally_params', - /** column name */ - VotingParams = 'voting_params' + Params = 'params' } -/** aggregate stddev on columns */ -export type Gov_Params_Stddev_Fields = { - __typename?: 'gov_params_stddev_fields'; - height?: Maybe; +/** Streaming cursor of the table "gov_params" */ +export type Gov_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Gov_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Gov_Params_Stddev_Pop_Fields = { - __typename?: 'gov_params_stddev_pop_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Gov_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Gov_Params_Stddev_Samp_Fields = { - __typename?: 'gov_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Gov_Params_Sum_Fields = { - __typename?: 'gov_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Gov_Params_Var_Pop_Fields = { - __typename?: 'gov_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Gov_Params_Var_Samp_Fields = { - __typename?: 'gov_params_var_samp_fields'; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Gov_Params_Variance_Fields = { - __typename?: 'gov_params_variance_fields'; - height?: Maybe; -}; - -/** columns and relationships of "inflation" */ -export type Inflation = { - __typename?: 'inflation'; - height: Scalars['bigint']; - value: Scalars['numeric']; -}; - -/** aggregated selection of "inflation" */ -export type Inflation_Aggregate = { - __typename?: 'inflation_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "inflation" */ -export type Inflation_Aggregate_Fields = { - __typename?: 'inflation_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "inflation" */ -export type Inflation_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Inflation_Avg_Fields = { - __typename?: 'inflation_avg_fields'; - height?: Maybe; - value?: Maybe; +/** columns and relationships of "inflation" */ +export type Inflation = { + __typename?: 'inflation'; + height: Scalars['bigint']; + value: Scalars['String']; }; /** Boolean expression to filter rows from the table "inflation". All fields are combined with a logical 'AND'. */ @@ -2761,21 +1533,7 @@ export type Inflation_Bool_Exp = { _not?: InputMaybe; _or?: InputMaybe>; height?: InputMaybe; - value?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Inflation_Max_Fields = { - __typename?: 'inflation_max_fields'; - height?: Maybe; - value?: Maybe; -}; - -/** aggregate min on columns */ -export type Inflation_Min_Fields = { - __typename?: 'inflation_min_fields'; - height?: Maybe; - value?: Maybe; + value?: InputMaybe; }; /** Ordering options when selecting data from "inflation". */ @@ -2792,57 +1550,27 @@ export enum Inflation_Select_Column { Value = 'value' } -/** aggregate stddev on columns */ -export type Inflation_Stddev_Fields = { - __typename?: 'inflation_stddev_fields'; - height?: Maybe; - value?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Inflation_Stddev_Pop_Fields = { - __typename?: 'inflation_stddev_pop_fields'; - height?: Maybe; - value?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Inflation_Stddev_Samp_Fields = { - __typename?: 'inflation_stddev_samp_fields'; - height?: Maybe; - value?: Maybe; -}; - -/** aggregate sum on columns */ -export type Inflation_Sum_Fields = { - __typename?: 'inflation_sum_fields'; - height?: Maybe; - value?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Inflation_Var_Pop_Fields = { - __typename?: 'inflation_var_pop_fields'; - height?: Maybe; - value?: Maybe; +/** Streaming cursor of the table "inflation" */ +export type Inflation_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Inflation_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Inflation_Var_Samp_Fields = { - __typename?: 'inflation_var_samp_fields'; - height?: Maybe; - value?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Inflation_Stream_Cursor_Value_Input = { + height?: InputMaybe; + value?: InputMaybe; }; -/** aggregate variance on columns */ -export type Inflation_Variance_Fields = { - __typename?: 'inflation_variance_fields'; - height?: Maybe; - value?: Maybe; +export type Jsonb_Cast_Exp = { + String?: InputMaybe; }; /** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ export type Jsonb_Comparison_Exp = { + _cast?: InputMaybe; /** is the column contained in the given json value */ _contained_in?: InputMaybe; /** does the column contain the given json value at the top level */ @@ -2870,7 +1598,8 @@ export type Message = { height: Scalars['bigint']; index: Scalars['bigint']; involved_accounts_addresses: Scalars['_text']; - partition_id: Scalars['bigint']; + /** An object relationship */ + message_type: Message_Type; /** An object relationship */ transaction?: Maybe; /** An object relationship */ @@ -2886,36 +1615,6 @@ export type MessageValueArgs = { path?: InputMaybe; }; -/** aggregated selection of "message" */ -export type Message_Aggregate = { - __typename?: 'message_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "message" */ -export type Message_Aggregate_Fields = { - __typename?: 'message_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "message" */ -export type Message_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "message" */ export type Message_Aggregate_Order_By = { avg?: InputMaybe; @@ -2931,19 +1630,10 @@ export type Message_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Message_Avg_Fields = { - __typename?: 'message_avg_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - /** order by avg() on columns of table "message" */ export type Message_Avg_Order_By = { height?: InputMaybe; index?: InputMaybe; - partition_id?: InputMaybe; }; /** Boolean expression to filter rows from the table "message". All fields are combined with a logical 'AND'. */ @@ -2954,7 +1644,7 @@ export type Message_Bool_Exp = { height?: InputMaybe; index?: InputMaybe; involved_accounts_addresses?: InputMaybe<_Text_Comparison_Exp>; - partition_id?: InputMaybe; + message_type?: InputMaybe; transaction?: InputMaybe; transactionByPartitionIdTransactionHash?: InputMaybe; transaction_hash?: InputMaybe; @@ -2962,40 +1652,18 @@ export type Message_Bool_Exp = { value?: InputMaybe; }; -/** aggregate max on columns */ -export type Message_Max_Fields = { - __typename?: 'message_max_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; - transaction_hash?: Maybe; - type?: Maybe; -}; - /** order by max() on columns of table "message" */ export type Message_Max_Order_By = { height?: InputMaybe; index?: InputMaybe; - partition_id?: InputMaybe; transaction_hash?: InputMaybe; type?: InputMaybe; }; -/** aggregate min on columns */ -export type Message_Min_Fields = { - __typename?: 'message_min_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; - transaction_hash?: Maybe; - type?: Maybe; -}; - /** order by min() on columns of table "message" */ export type Message_Min_Order_By = { height?: InputMaybe; index?: InputMaybe; - partition_id?: InputMaybe; transaction_hash?: InputMaybe; type?: InputMaybe; }; @@ -3005,7 +1673,7 @@ export type Message_Order_By = { height?: InputMaybe; index?: InputMaybe; involved_accounts_addresses?: InputMaybe; - partition_id?: InputMaybe; + message_type?: InputMaybe; transaction?: InputMaybe; transactionByPartitionIdTransactionHash?: InputMaybe; transaction_hash?: InputMaybe; @@ -3022,8 +1690,6 @@ export enum Message_Select_Column { /** column name */ InvolvedAccountsAddresses = 'involved_accounts_addresses', /** column name */ - PartitionId = 'partition_id', - /** column name */ TransactionHash = 'transaction_hash', /** column name */ Type = 'type', @@ -3031,318 +1697,337 @@ export enum Message_Select_Column { Value = 'value' } -/** aggregate stddev on columns */ -export type Message_Stddev_Fields = { - __typename?: 'message_stddev_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - /** order by stddev() on columns of table "message" */ export type Message_Stddev_Order_By = { height?: InputMaybe; index?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Message_Stddev_Pop_Fields = { - __typename?: 'message_stddev_pop_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; }; /** order by stddev_pop() on columns of table "message" */ export type Message_Stddev_Pop_Order_By = { height?: InputMaybe; index?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate stddev_samp on columns */ -export type Message_Stddev_Samp_Fields = { - __typename?: 'message_stddev_samp_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; }; /** order by stddev_samp() on columns of table "message" */ export type Message_Stddev_Samp_Order_By = { height?: InputMaybe; index?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type Message_Sum_Fields = { - __typename?: 'message_sum_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - -/** order by sum() on columns of table "message" */ -export type Message_Sum_Order_By = { - height?: InputMaybe; - index?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate var_pop on columns */ -export type Message_Var_Pop_Fields = { - __typename?: 'message_var_pop_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - -/** order by var_pop() on columns of table "message" */ -export type Message_Var_Pop_Order_By = { - height?: InputMaybe; - index?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Message_Var_Samp_Fields = { - __typename?: 'message_var_samp_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; }; -/** order by var_samp() on columns of table "message" */ -export type Message_Var_Samp_Order_By = { - height?: InputMaybe; - index?: InputMaybe; - partition_id?: InputMaybe; +/** Streaming cursor of the table "message" */ +export type Message_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Message_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Message_Variance_Fields = { - __typename?: 'message_variance_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Message_Stream_Cursor_Value_Input = { + height?: InputMaybe; + index?: InputMaybe; + involved_accounts_addresses?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; }; -/** order by variance() on columns of table "message" */ -export type Message_Variance_Order_By = { +/** order by sum() on columns of table "message" */ +export type Message_Sum_Order_By = { height?: InputMaybe; index?: InputMaybe; - partition_id?: InputMaybe; }; -export type Messages_By_Address_Args = { - addresses?: InputMaybe; - limit?: InputMaybe; - offset?: InputMaybe; - types?: InputMaybe; -}; - -/** columns and relationships of "mint_params" */ -export type Mint_Params = { - __typename?: 'mint_params'; +/** columns and relationships of "message_type" */ +export type Message_Type = { + __typename?: 'message_type'; height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; - params: Scalars['jsonb']; + label: Scalars['String']; + /** An array relationship */ + messages: Array; + module: Scalars['String']; + type: Scalars['String']; }; -/** columns and relationships of "mint_params" */ -export type Mint_ParamsParamsArgs = { - path?: InputMaybe; +/** columns and relationships of "message_type" */ +export type Message_TypeMessagesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregated selection of "mint_params" */ -export type Mint_Params_Aggregate = { - __typename?: 'mint_params_aggregate'; - aggregate?: Maybe; - nodes: Array; +/** aggregated selection of "message_type" */ +export type Message_Type_Aggregate = { + __typename?: 'message_type_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "mint_params" */ -export type Mint_Params_Aggregate_Fields = { - __typename?: 'mint_params_aggregate_fields'; - avg?: Maybe; +/** aggregate fields of "message_type" */ +export type Message_Type_Aggregate_Fields = { + __typename?: 'message_type_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "mint_params" */ -export type Mint_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +/** aggregate fields of "message_type" */ +export type Message_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; /** aggregate avg on columns */ -export type Mint_Params_Avg_Fields = { - __typename?: 'mint_params_avg_fields'; +export type Message_Type_Avg_Fields = { + __typename?: 'message_type_avg_fields'; height?: Maybe; }; -/** Boolean expression to filter rows from the table "mint_params". All fields are combined with a logical 'AND'. */ -export type Mint_Params_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; +/** Boolean expression to filter rows from the table "message_type". All fields are combined with a logical 'AND'. */ +export type Message_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; + label?: InputMaybe; + messages?: InputMaybe; + module?: InputMaybe; + type?: InputMaybe; }; /** aggregate max on columns */ -export type Mint_Params_Max_Fields = { - __typename?: 'mint_params_max_fields'; +export type Message_Type_Max_Fields = { + __typename?: 'message_type_max_fields'; height?: Maybe; + label?: Maybe; + module?: Maybe; + type?: Maybe; }; /** aggregate min on columns */ -export type Mint_Params_Min_Fields = { - __typename?: 'mint_params_min_fields'; +export type Message_Type_Min_Fields = { + __typename?: 'message_type_min_fields'; height?: Maybe; + label?: Maybe; + module?: Maybe; + type?: Maybe; }; -/** Ordering options when selecting data from "mint_params". */ -export type Mint_Params_Order_By = { +/** Ordering options when selecting data from "message_type". */ +export type Message_Type_Order_By = { height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; + label?: InputMaybe; + messages_aggregate?: InputMaybe; + module?: InputMaybe; + type?: InputMaybe; }; -/** select columns of table "mint_params" */ -export enum Mint_Params_Select_Column { +/** select columns of table "message_type" */ +export enum Message_Type_Select_Column { /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', + Label = 'label', /** column name */ - Params = 'params' + Module = 'module', + /** column name */ + Type = 'type' } /** aggregate stddev on columns */ -export type Mint_Params_Stddev_Fields = { - __typename?: 'mint_params_stddev_fields'; +export type Message_Type_Stddev_Fields = { + __typename?: 'message_type_stddev_fields'; height?: Maybe; }; /** aggregate stddev_pop on columns */ -export type Mint_Params_Stddev_Pop_Fields = { - __typename?: 'mint_params_stddev_pop_fields'; +export type Message_Type_Stddev_Pop_Fields = { + __typename?: 'message_type_stddev_pop_fields'; height?: Maybe; }; /** aggregate stddev_samp on columns */ -export type Mint_Params_Stddev_Samp_Fields = { - __typename?: 'mint_params_stddev_samp_fields'; +export type Message_Type_Stddev_Samp_Fields = { + __typename?: 'message_type_stddev_samp_fields'; height?: Maybe; }; +/** Streaming cursor of the table "message_type" */ +export type Message_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Message_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Message_Type_Stream_Cursor_Value_Input = { + height?: InputMaybe; + label?: InputMaybe; + module?: InputMaybe; + type?: InputMaybe; +}; + /** aggregate sum on columns */ -export type Mint_Params_Sum_Fields = { - __typename?: 'mint_params_sum_fields'; +export type Message_Type_Sum_Fields = { + __typename?: 'message_type_sum_fields'; height?: Maybe; }; /** aggregate var_pop on columns */ -export type Mint_Params_Var_Pop_Fields = { - __typename?: 'mint_params_var_pop_fields'; +export type Message_Type_Var_Pop_Fields = { + __typename?: 'message_type_var_pop_fields'; height?: Maybe; }; /** aggregate var_samp on columns */ -export type Mint_Params_Var_Samp_Fields = { - __typename?: 'mint_params_var_samp_fields'; +export type Message_Type_Var_Samp_Fields = { + __typename?: 'message_type_var_samp_fields'; height?: Maybe; }; /** aggregate variance on columns */ -export type Mint_Params_Variance_Fields = { - __typename?: 'mint_params_variance_fields'; +export type Message_Type_Variance_Fields = { + __typename?: 'message_type_variance_fields'; height?: Maybe; }; -/** columns and relationships of "modules" */ -export type Modules = { - __typename?: 'modules'; - module_name: Scalars['String']; +/** order by var_pop() on columns of table "message" */ +export type Message_Var_Pop_Order_By = { + height?: InputMaybe; + index?: InputMaybe; }; -/** aggregated selection of "modules" */ -export type Modules_Aggregate = { - __typename?: 'modules_aggregate'; - aggregate?: Maybe; - nodes: Array; +/** order by var_samp() on columns of table "message" */ +export type Message_Var_Samp_Order_By = { + height?: InputMaybe; + index?: InputMaybe; }; -/** aggregate fields of "modules" */ -export type Modules_Aggregate_Fields = { - __typename?: 'modules_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; +/** order by variance() on columns of table "message" */ +export type Message_Variance_Order_By = { + height?: InputMaybe; + index?: InputMaybe; }; - -/** aggregate fields of "modules" */ -export type Modules_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; +export type Messages_By_Address_Args = { + addresses?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; + types?: InputMaybe; }; -/** Boolean expression to filter rows from the table "modules". All fields are combined with a logical 'AND'. */ -export type Modules_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - module_name?: InputMaybe; +/** columns and relationships of "mint_params" */ +export type Mint_Params = { + __typename?: 'mint_params'; + height: Scalars['bigint']; + params: Scalars['jsonb']; }; -/** aggregate max on columns */ -export type Modules_Max_Fields = { - __typename?: 'modules_max_fields'; - module_name?: Maybe; + +/** columns and relationships of "mint_params" */ +export type Mint_ParamsParamsArgs = { + path?: InputMaybe; }; -/** aggregate min on columns */ -export type Modules_Min_Fields = { - __typename?: 'modules_min_fields'; - module_name?: Maybe; +/** Boolean expression to filter rows from the table "mint_params". All fields are combined with a logical 'AND'. */ +export type Mint_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + params?: InputMaybe; }; -/** Ordering options when selecting data from "modules". */ -export type Modules_Order_By = { - module_name?: InputMaybe; +/** Ordering options when selecting data from "mint_params". */ +export type Mint_Params_Order_By = { + height?: InputMaybe; + params?: InputMaybe; }; -/** select columns of table "modules" */ -export enum Modules_Select_Column { +/** select columns of table "mint_params" */ +export enum Mint_Params_Select_Column { /** column name */ - ModuleName = 'module_name' + Height = 'height', + /** column name */ + Params = 'params' } -/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ -export type Numeric_Comparison_Exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; +/** Streaming cursor of the table "mint_params" */ +export type Mint_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Mint_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Mint_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; +}; + +/** columns and relationships of "modules" */ +export type Modules = { + __typename?: 'modules'; + module_name: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "modules". All fields are combined with a logical 'AND'. */ +export type Modules_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + module_name?: InputMaybe; +}; + +/** Ordering options when selecting data from "modules". */ +export type Modules_Order_By = { + module_name?: InputMaybe; +}; + +/** select columns of table "modules" */ +export enum Modules_Select_Column { + /** column name */ + ModuleName = 'module_name' +} + +/** Streaming cursor of the table "modules" */ +export type Modules_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Modules_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Modules_Stream_Cursor_Value_Input = { + module_name?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export type Numeric_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; _nin?: InputMaybe>; }; @@ -3381,6 +2066,17 @@ export type Pre_Commit_Aggregate = { nodes: Array; }; +export type Pre_Commit_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Pre_Commit_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "pre_commit" */ export type Pre_Commit_Aggregate_Fields = { __typename?: 'pre_commit_aggregate_fields'; @@ -3554,6 +2250,23 @@ export type Pre_Commit_Stddev_Samp_Order_By = { voting_power?: InputMaybe; }; +/** Streaming cursor of the table "pre_commit" */ +export type Pre_Commit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Pre_Commit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Pre_Commit_Stream_Cursor_Value_Input = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + /** aggregate sum on columns */ export type Pre_Commit_Sum_Fields = { __typename?: 'pre_commit_sum_fields'; @@ -3614,137 +2327,6 @@ export type Pre_Commit_Variance_Order_By = { voting_power?: InputMaybe; }; -/** columns and relationships of "profiles_params" */ -export type Profiles_Params = { - __typename?: 'profiles_params'; - height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; - params: Scalars['jsonb']; -}; - - -/** columns and relationships of "profiles_params" */ -export type Profiles_ParamsParamsArgs = { - path?: InputMaybe; -}; - -/** aggregated selection of "profiles_params" */ -export type Profiles_Params_Aggregate = { - __typename?: 'profiles_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "profiles_params" */ -export type Profiles_Params_Aggregate_Fields = { - __typename?: 'profiles_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "profiles_params" */ -export type Profiles_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Profiles_Params_Avg_Fields = { - __typename?: 'profiles_params_avg_fields'; - height?: Maybe; -}; - -/** Boolean expression to filter rows from the table "profiles_params". All fields are combined with a logical 'AND'. */ -export type Profiles_Params_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Profiles_Params_Max_Fields = { - __typename?: 'profiles_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Profiles_Params_Min_Fields = { - __typename?: 'profiles_params_min_fields'; - height?: Maybe; -}; - -/** Ordering options when selecting data from "profiles_params". */ -export type Profiles_Params_Order_By = { - height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; -}; - -/** select columns of table "profiles_params" */ -export enum Profiles_Params_Select_Column { - /** column name */ - Height = 'height', - /** column name */ - OneRowId = 'one_row_id', - /** column name */ - Params = 'params' -} - -/** aggregate stddev on columns */ -export type Profiles_Params_Stddev_Fields = { - __typename?: 'profiles_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Profiles_Params_Stddev_Pop_Fields = { - __typename?: 'profiles_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Profiles_Params_Stddev_Samp_Fields = { - __typename?: 'profiles_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Profiles_Params_Sum_Fields = { - __typename?: 'profiles_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Profiles_Params_Var_Pop_Fields = { - __typename?: 'profiles_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Profiles_Params_Var_Samp_Fields = { - __typename?: 'profiles_params_var_samp_fields'; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Profiles_Params_Variance_Fields = { - __typename?: 'profiles_params_variance_fields'; - height?: Maybe; -}; - /** columns and relationships of "proposal" */ export type Proposal = { __typename?: 'proposal'; @@ -3752,22 +2334,15 @@ export type Proposal = { deposit_end_time?: Maybe; description: Scalars['String']; id: Scalars['Int']; + metadata: Scalars['String']; /** An array relationship */ proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; - proposal_route: Scalars['String']; /** An object relationship */ proposal_tally_result?: Maybe; /** An array relationship */ proposal_tally_results: Array; - /** An aggregate relationship */ - proposal_tally_results_aggregate: Proposal_Tally_Result_Aggregate; - proposal_type: Scalars['String']; /** An array relationship */ proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; /** An object relationship */ proposer: Account; proposer_address: Scalars['String']; @@ -3778,8 +2353,6 @@ export type Proposal = { title: Scalars['String']; /** An array relationship */ validator_status_snapshots: Array; - /** An aggregate relationship */ - validator_status_snapshots_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; voting_end_time?: Maybe; voting_start_time?: Maybe; }; @@ -3801,16 +2374,6 @@ export type ProposalProposal_DepositsArgs = { }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "proposal" */ export type ProposalProposal_Tally_ResultsArgs = { distinct_on?: InputMaybe>; @@ -3821,16 +2384,6 @@ export type ProposalProposal_Tally_ResultsArgs = { }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Tally_Results_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "proposal" */ export type ProposalProposal_VotesArgs = { distinct_on?: InputMaybe>; @@ -3841,16 +2394,6 @@ export type ProposalProposal_VotesArgs = { }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "proposal" */ export type ProposalValidator_Status_SnapshotsArgs = { distinct_on?: InputMaybe>; @@ -3860,16 +2403,6 @@ export type ProposalValidator_Status_SnapshotsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "proposal" */ -export type ProposalValidator_Status_Snapshots_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - /** aggregated selection of "proposal" */ export type Proposal_Aggregate = { __typename?: 'proposal_aggregate'; @@ -3877,6 +2410,17 @@ export type Proposal_Aggregate = { nodes: Array; }; +export type Proposal_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Proposal_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "proposal" */ export type Proposal_Aggregate_Fields = { __typename?: 'proposal_aggregate_fields'; @@ -3935,11 +2479,10 @@ export type Proposal_Bool_Exp = { deposit_end_time?: InputMaybe; description?: InputMaybe; id?: InputMaybe; + metadata?: InputMaybe; proposal_deposits?: InputMaybe; - proposal_route?: InputMaybe; proposal_tally_result?: InputMaybe; proposal_tally_results?: InputMaybe; - proposal_type?: InputMaybe; proposal_votes?: InputMaybe; proposer?: InputMaybe; proposer_address?: InputMaybe; @@ -3961,41 +2504,11 @@ export type Proposal_Deposit = { /** An object relationship */ depositor?: Maybe; depositor_address?: Maybe; - height?: Maybe; + height: Scalars['bigint']; /** An object relationship */ proposal: Proposal; proposal_id: Scalars['Int']; - timestamp?: Maybe; -}; - -/** aggregated selection of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate = { - __typename?: 'proposal_deposit_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate_Fields = { - __typename?: 'proposal_deposit_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; + timestamp?: Maybe; }; /** order by aggregate values of table "proposal_deposit" */ @@ -4013,13 +2526,6 @@ export type Proposal_Deposit_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Deposit_Avg_Fields = { - __typename?: 'proposal_deposit_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by avg() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Avg_Order_By = { height?: InputMaybe; @@ -4038,16 +2544,7 @@ export type Proposal_Deposit_Bool_Exp = { height?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; - timestamp?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Proposal_Deposit_Max_Fields = { - __typename?: 'proposal_deposit_max_fields'; - depositor_address?: Maybe; - height?: Maybe; - proposal_id?: Maybe; - timestamp?: Maybe; + timestamp?: InputMaybe; }; /** order by max() on columns of table "proposal_deposit" */ @@ -4058,15 +2555,6 @@ export type Proposal_Deposit_Max_Order_By = { timestamp?: InputMaybe; }; -/** aggregate min on columns */ -export type Proposal_Deposit_Min_Fields = { - __typename?: 'proposal_deposit_min_fields'; - depositor_address?: Maybe; - height?: Maybe; - proposal_id?: Maybe; - timestamp?: Maybe; -}; - /** order by min() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Min_Order_By = { depositor_address?: InputMaybe; @@ -4101,50 +2589,39 @@ export enum Proposal_Deposit_Select_Column { Timestamp = 'timestamp' } -/** aggregate stddev on columns */ -export type Proposal_Deposit_Stddev_Fields = { - __typename?: 'proposal_deposit_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Stddev_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Deposit_Stddev_Pop_Fields = { - __typename?: 'proposal_deposit_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Stddev_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Deposit_Stddev_Samp_Fields = { - __typename?: 'proposal_deposit_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_samp() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Stddev_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Deposit_Sum_Fields = { - __typename?: 'proposal_deposit_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "proposal_deposit" */ +export type Proposal_Deposit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Deposit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Deposit_Stream_Cursor_Value_Input = { + amount?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; }; /** order by sum() on columns of table "proposal_deposit" */ @@ -4153,39 +2630,18 @@ export type Proposal_Deposit_Sum_Order_By = { proposal_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Deposit_Var_Pop_Fields = { - __typename?: 'proposal_deposit_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Var_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Deposit_Var_Samp_Fields = { - __typename?: 'proposal_deposit_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_samp() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Var_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Deposit_Variance_Fields = { - __typename?: 'proposal_deposit_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by variance() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Variance_Order_By = { height?: InputMaybe; @@ -4198,8 +2654,7 @@ export type Proposal_Max_Fields = { deposit_end_time?: Maybe; description?: Maybe; id?: Maybe; - proposal_route?: Maybe; - proposal_type?: Maybe; + metadata?: Maybe; proposer_address?: Maybe; status?: Maybe; submit_time?: Maybe; @@ -4213,8 +2668,7 @@ export type Proposal_Max_Order_By = { deposit_end_time?: InputMaybe; description?: InputMaybe; id?: InputMaybe; - proposal_route?: InputMaybe; - proposal_type?: InputMaybe; + metadata?: InputMaybe; proposer_address?: InputMaybe; status?: InputMaybe; submit_time?: InputMaybe; @@ -4229,8 +2683,7 @@ export type Proposal_Min_Fields = { deposit_end_time?: Maybe; description?: Maybe; id?: Maybe; - proposal_route?: Maybe; - proposal_type?: Maybe; + metadata?: Maybe; proposer_address?: Maybe; status?: Maybe; submit_time?: Maybe; @@ -4244,8 +2697,7 @@ export type Proposal_Min_Order_By = { deposit_end_time?: InputMaybe; description?: InputMaybe; id?: InputMaybe; - proposal_route?: InputMaybe; - proposal_type?: InputMaybe; + metadata?: InputMaybe; proposer_address?: InputMaybe; status?: InputMaybe; submit_time?: InputMaybe; @@ -4260,11 +2712,10 @@ export type Proposal_Order_By = { deposit_end_time?: InputMaybe; description?: InputMaybe; id?: InputMaybe; + metadata?: InputMaybe; proposal_deposits_aggregate?: InputMaybe; - proposal_route?: InputMaybe; proposal_tally_result?: InputMaybe; proposal_tally_results_aggregate?: InputMaybe; - proposal_type?: InputMaybe; proposal_votes_aggregate?: InputMaybe; proposer?: InputMaybe; proposer_address?: InputMaybe; @@ -4288,9 +2739,7 @@ export enum Proposal_Select_Column { /** column name */ Id = 'id', /** column name */ - ProposalRoute = 'proposal_route', - /** column name */ - ProposalType = 'proposal_type', + Metadata = 'metadata', /** column name */ ProposerAddress = 'proposer_address', /** column name */ @@ -4308,83 +2757,26 @@ export enum Proposal_Select_Column { /** columns and relationships of "proposal_staking_pool_snapshot" */ export type Proposal_Staking_Pool_Snapshot = { __typename?: 'proposal_staking_pool_snapshot'; - bonded_tokens: Scalars['bigint']; + bonded_tokens: Scalars['String']; height: Scalars['bigint']; - not_bonded_tokens: Scalars['bigint']; + not_bonded_tokens: Scalars['String']; /** An object relationship */ proposal: Proposal; proposal_id: Scalars['Int']; }; -/** aggregated selection of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate = { - __typename?: 'proposal_staking_pool_snapshot_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate_Fields = { - __typename?: 'proposal_staking_pool_snapshot_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Proposal_Staking_Pool_Snapshot_Avg_Fields = { - __typename?: 'proposal_staking_pool_snapshot_avg_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - /** Boolean expression to filter rows from the table "proposal_staking_pool_snapshot". All fields are combined with a logical 'AND'. */ export type Proposal_Staking_Pool_Snapshot_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; - bonded_tokens?: InputMaybe; + bonded_tokens?: InputMaybe; height?: InputMaybe; - not_bonded_tokens?: InputMaybe; + not_bonded_tokens?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Staking_Pool_Snapshot_Max_Fields = { - __typename?: 'proposal_staking_pool_snapshot_max_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate min on columns */ -export type Proposal_Staking_Pool_Snapshot_Min_Fields = { - __typename?: 'proposal_staking_pool_snapshot_min_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - /** Ordering options when selecting data from "proposal_staking_pool_snapshot". */ export type Proposal_Staking_Pool_Snapshot_Order_By = { bonded_tokens?: InputMaybe; @@ -4406,67 +2798,20 @@ export enum Proposal_Staking_Pool_Snapshot_Select_Column { ProposalId = 'proposal_id' } -/** aggregate stddev on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Pop_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_pop_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Samp_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_samp_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate sum on columns */ -export type Proposal_Staking_Pool_Snapshot_Sum_Fields = { - __typename?: 'proposal_staking_pool_snapshot_sum_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Proposal_Staking_Pool_Snapshot_Var_Pop_Fields = { - __typename?: 'proposal_staking_pool_snapshot_var_pop_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Proposal_Staking_Pool_Snapshot_Var_Samp_Fields = { - __typename?: 'proposal_staking_pool_snapshot_var_samp_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "proposal_staking_pool_snapshot" */ +export type Proposal_Staking_Pool_Snapshot_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Staking_Pool_Snapshot_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Staking_Pool_Snapshot_Variance_Fields = { - __typename?: 'proposal_staking_pool_snapshot_variance_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Proposal_Staking_Pool_Snapshot_Stream_Cursor_Value_Input = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal_id?: InputMaybe; }; /** aggregate stddev on columns */ @@ -4502,6 +2847,29 @@ export type Proposal_Stddev_Samp_Order_By = { id?: InputMaybe; }; +/** Streaming cursor of the table "proposal" */ +export type Proposal_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Stream_Cursor_Value_Input = { + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + metadata?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + /** aggregate sum on columns */ export type Proposal_Sum_Fields = { __typename?: 'proposal_sum_fields'; @@ -4526,36 +2894,6 @@ export type Proposal_Tally_Result = { yes: Scalars['String']; }; -/** aggregated selection of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate = { - __typename?: 'proposal_tally_result_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate_Fields = { - __typename?: 'proposal_tally_result_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "proposal_tally_result" */ export type Proposal_Tally_Result_Aggregate_Order_By = { avg?: InputMaybe; @@ -4571,13 +2909,6 @@ export type Proposal_Tally_Result_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Tally_Result_Avg_Fields = { - __typename?: 'proposal_tally_result_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by avg() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Avg_Order_By = { height?: InputMaybe; @@ -4598,17 +2929,6 @@ export type Proposal_Tally_Result_Bool_Exp = { yes?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Tally_Result_Max_Fields = { - __typename?: 'proposal_tally_result_max_fields'; - abstain?: Maybe; - height?: Maybe; - no?: Maybe; - no_with_veto?: Maybe; - proposal_id?: Maybe; - yes?: Maybe; -}; - /** order by max() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Max_Order_By = { abstain?: InputMaybe; @@ -4619,17 +2939,6 @@ export type Proposal_Tally_Result_Max_Order_By = { yes?: InputMaybe; }; -/** aggregate min on columns */ -export type Proposal_Tally_Result_Min_Fields = { - __typename?: 'proposal_tally_result_min_fields'; - abstain?: Maybe; - height?: Maybe; - no?: Maybe; - no_with_veto?: Maybe; - proposal_id?: Maybe; - yes?: Maybe; -}; - /** order by min() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Min_Order_By = { abstain?: InputMaybe; @@ -4667,50 +2976,40 @@ export enum Proposal_Tally_Result_Select_Column { Yes = 'yes' } -/** aggregate stddev on columns */ -export type Proposal_Tally_Result_Stddev_Fields = { - __typename?: 'proposal_tally_result_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Stddev_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Tally_Result_Stddev_Pop_Fields = { - __typename?: 'proposal_tally_result_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Stddev_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Tally_Result_Stddev_Samp_Fields = { - __typename?: 'proposal_tally_result_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_samp() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Stddev_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Tally_Result_Sum_Fields = { - __typename?: 'proposal_tally_result_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "proposal_tally_result" */ +export type Proposal_Tally_Result_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Tally_Result_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Tally_Result_Stream_Cursor_Value_Input = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; }; /** order by sum() on columns of table "proposal_tally_result" */ @@ -4719,39 +3018,18 @@ export type Proposal_Tally_Result_Sum_Order_By = { proposal_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Tally_Result_Var_Pop_Fields = { - __typename?: 'proposal_tally_result_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Var_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Tally_Result_Var_Samp_Fields = { - __typename?: 'proposal_tally_result_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_samp() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Var_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Tally_Result_Variance_Fields = { - __typename?: 'proposal_tally_result_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by variance() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Variance_Order_By = { height?: InputMaybe; @@ -4762,7 +3040,6 @@ export type Proposal_Tally_Result_Variance_Order_By = { export type Proposal_Validator_Status_Snapshot = { __typename?: 'proposal_validator_status_snapshot'; height: Scalars['bigint']; - id: Scalars['Int']; jailed: Scalars['Boolean']; /** An object relationship */ proposal?: Maybe; @@ -4774,36 +3051,6 @@ export type Proposal_Validator_Status_Snapshot = { voting_power: Scalars['bigint']; }; -/** aggregated selection of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate = { - __typename?: 'proposal_validator_status_snapshot_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate_Fields = { - __typename?: 'proposal_validator_status_snapshot_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Aggregate_Order_By = { avg?: InputMaybe; @@ -4819,20 +3066,9 @@ export type Proposal_Validator_Status_Snapshot_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Validator_Status_Snapshot_Avg_Fields = { - __typename?: 'proposal_validator_status_snapshot_avg_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by avg() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Avg_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; @@ -4844,7 +3080,6 @@ export type Proposal_Validator_Status_Snapshot_Bool_Exp = { _not?: InputMaybe; _or?: InputMaybe>; height?: InputMaybe; - id?: InputMaybe; jailed?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; @@ -4854,42 +3089,18 @@ export type Proposal_Validator_Status_Snapshot_Bool_Exp = { voting_power?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Validator_Status_Snapshot_Max_Fields = { - __typename?: 'proposal_validator_status_snapshot_max_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - validator_address?: Maybe; - voting_power?: Maybe; -}; - /** order by max() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Max_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; validator_address?: InputMaybe; voting_power?: InputMaybe; }; -/** aggregate min on columns */ -export type Proposal_Validator_Status_Snapshot_Min_Fields = { - __typename?: 'proposal_validator_status_snapshot_min_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - validator_address?: Maybe; - voting_power?: Maybe; -}; - /** order by min() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Min_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; validator_address?: InputMaybe; @@ -4899,7 +3110,6 @@ export type Proposal_Validator_Status_Snapshot_Min_Order_By = { /** Ordering options when selecting data from "proposal_validator_status_snapshot". */ export type Proposal_Validator_Status_Snapshot_Order_By = { height?: InputMaybe; - id?: InputMaybe; jailed?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; @@ -4914,8 +3124,6 @@ export enum Proposal_Validator_Status_Snapshot_Select_Column { /** column name */ Height = 'height', /** column name */ - Id = 'id', - /** column name */ Jailed = 'jailed', /** column name */ ProposalId = 'proposal_id', @@ -4927,134 +3135,75 @@ export enum Proposal_Validator_Status_Snapshot_Select_Column { VotingPower = 'voting_power' } -/** aggregate stddev on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Fields = { - __typename?: 'proposal_validator_status_snapshot_stddev_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by stddev() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Stddev_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Pop_Fields = { - __typename?: 'proposal_validator_status_snapshot_stddev_pop_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Stddev_Pop_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Samp_Fields = { - __typename?: 'proposal_validator_status_snapshot_stddev_samp_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by stddev_samp() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Stddev_Samp_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Validator_Status_Snapshot_Sum_Fields = { - __typename?: 'proposal_validator_status_snapshot_sum_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; +/** Streaming cursor of the table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Validator_Status_Snapshot_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Validator_Status_Snapshot_Stream_Cursor_Value_Input = { + height?: InputMaybe; + jailed?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; }; /** order by sum() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Sum_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Validator_Status_Snapshot_Var_Pop_Fields = { - __typename?: 'proposal_validator_status_snapshot_var_pop_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Var_Pop_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Validator_Status_Snapshot_Var_Samp_Fields = { - __typename?: 'proposal_validator_status_snapshot_var_samp_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by var_samp() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Var_Samp_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Validator_Status_Snapshot_Variance_Fields = { - __typename?: 'proposal_validator_status_snapshot_variance_fields'; - height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by variance() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Variance_Order_By = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; @@ -5098,43 +3247,16 @@ export type Proposal_Vote = { __typename?: 'proposal_vote'; /** An object relationship */ account: Account; + /** An object relationship */ + block?: Maybe; height: Scalars['bigint']; option: Scalars['String']; /** An object relationship */ proposal: Proposal; proposal_id: Scalars['Int']; - timestamp?: Maybe; + timestamp?: Maybe; voter_address: Scalars['String']; -}; - -/** aggregated selection of "proposal_vote" */ -export type Proposal_Vote_Aggregate = { - __typename?: 'proposal_vote_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_vote" */ -export type Proposal_Vote_Aggregate_Fields = { - __typename?: 'proposal_vote_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_vote" */ -export type Proposal_Vote_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; + weight: Scalars['String']; }; /** order by aggregate values of table "proposal_vote" */ @@ -5152,13 +3274,6 @@ export type Proposal_Vote_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Vote_Avg_Fields = { - __typename?: 'proposal_vote_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by avg() on columns of table "proposal_vote" */ export type Proposal_Vote_Avg_Order_By = { height?: InputMaybe; @@ -5171,22 +3286,14 @@ export type Proposal_Vote_Bool_Exp = { _not?: InputMaybe; _or?: InputMaybe>; account?: InputMaybe; + block?: InputMaybe; height?: InputMaybe; option?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; - timestamp?: InputMaybe; + timestamp?: InputMaybe; voter_address?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Proposal_Vote_Max_Fields = { - __typename?: 'proposal_vote_max_fields'; - height?: Maybe; - option?: Maybe; - proposal_id?: Maybe; - timestamp?: Maybe; - voter_address?: Maybe; + weight?: InputMaybe; }; /** order by max() on columns of table "proposal_vote" */ @@ -5196,16 +3303,7 @@ export type Proposal_Vote_Max_Order_By = { proposal_id?: InputMaybe; timestamp?: InputMaybe; voter_address?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Proposal_Vote_Min_Fields = { - __typename?: 'proposal_vote_min_fields'; - height?: Maybe; - option?: Maybe; - proposal_id?: Maybe; - timestamp?: Maybe; - voter_address?: Maybe; + weight?: InputMaybe; }; /** order by min() on columns of table "proposal_vote" */ @@ -5215,17 +3313,20 @@ export type Proposal_Vote_Min_Order_By = { proposal_id?: InputMaybe; timestamp?: InputMaybe; voter_address?: InputMaybe; + weight?: InputMaybe; }; /** Ordering options when selecting data from "proposal_vote". */ export type Proposal_Vote_Order_By = { account?: InputMaybe; + block?: InputMaybe; height?: InputMaybe; option?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; timestamp?: InputMaybe; voter_address?: InputMaybe; + weight?: InputMaybe; }; /** select columns of table "proposal_vote" */ @@ -5239,53 +3340,45 @@ export enum Proposal_Vote_Select_Column { /** column name */ Timestamp = 'timestamp', /** column name */ - VoterAddress = 'voter_address' + VoterAddress = 'voter_address', + /** column name */ + Weight = 'weight' } -/** aggregate stddev on columns */ -export type Proposal_Vote_Stddev_Fields = { - __typename?: 'proposal_vote_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev() on columns of table "proposal_vote" */ export type Proposal_Vote_Stddev_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Vote_Stddev_Pop_Fields = { - __typename?: 'proposal_vote_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_vote" */ export type Proposal_Vote_Stddev_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Vote_Stddev_Samp_Fields = { - __typename?: 'proposal_vote_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_samp() on columns of table "proposal_vote" */ export type Proposal_Vote_Stddev_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Vote_Sum_Fields = { - __typename?: 'proposal_vote_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "proposal_vote" */ +export type Proposal_Vote_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Vote_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Vote_Stream_Cursor_Value_Input = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; + weight?: InputMaybe; }; /** order by sum() on columns of table "proposal_vote" */ @@ -5294,39 +3387,18 @@ export type Proposal_Vote_Sum_Order_By = { proposal_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Vote_Var_Pop_Fields = { - __typename?: 'proposal_vote_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_vote" */ export type Proposal_Vote_Var_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Vote_Var_Samp_Fields = { - __typename?: 'proposal_vote_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_samp() on columns of table "proposal_vote" */ export type Proposal_Vote_Var_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Vote_Variance_Fields = { - __typename?: 'proposal_vote_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by variance() on columns of table "proposal_vote" */ export type Proposal_Vote_Variance_Order_By = { height?: InputMaybe; @@ -5337,8 +3409,6 @@ export type Query_Root = { __typename?: 'query_root'; /** fetch data from the table: "account" */ account: Array; - /** fetch aggregated fields from the table: "account" */ - account_aggregate: Account_Aggregate; /** fetch data from the table: "account" using primary key columns */ account_by_pk?: Maybe; action_account_balance?: Maybe; @@ -5347,6 +3417,8 @@ export type Query_Root = { action_delegation_total?: Maybe; action_delegator_withdraw_address: ActionAddress; action_redelegation?: Maybe; + action_superfluid_delegation?: Maybe>>; + action_superfluid_delegation_total?: Maybe; action_unbonding_delegation?: Maybe; action_unbonding_delegation_total?: Maybe; action_validator_commission_amount?: Maybe; @@ -5355,96 +3427,50 @@ export type Query_Root = { action_validator_unbonding_delegations?: Maybe; /** fetch data from the table: "average_block_time_from_genesis" */ average_block_time_from_genesis: Array; - /** fetch aggregated fields from the table: "average_block_time_from_genesis" */ - average_block_time_from_genesis_aggregate: Average_Block_Time_From_Genesis_Aggregate; /** fetch data from the table: "average_block_time_per_day" */ average_block_time_per_day: Array; - /** fetch aggregated fields from the table: "average_block_time_per_day" */ - average_block_time_per_day_aggregate: Average_Block_Time_Per_Day_Aggregate; /** fetch data from the table: "average_block_time_per_hour" */ average_block_time_per_hour: Array; - /** fetch aggregated fields from the table: "average_block_time_per_hour" */ - average_block_time_per_hour_aggregate: Average_Block_Time_Per_Hour_Aggregate; /** fetch data from the table: "average_block_time_per_minute" */ average_block_time_per_minute: Array; - /** fetch aggregated fields from the table: "average_block_time_per_minute" */ - average_block_time_per_minute_aggregate: Average_Block_Time_Per_Minute_Aggregate; /** fetch data from the table: "block" */ block: Array; - /** fetch aggregated fields from the table: "block" */ - block_aggregate: Block_Aggregate; /** fetch data from the table: "block" using primary key columns */ block_by_pk?: Maybe; /** fetch data from the table: "community_pool" */ community_pool: Array; - /** fetch aggregated fields from the table: "community_pool" */ - community_pool_aggregate: Community_Pool_Aggregate; /** fetch data from the table: "distribution_params" */ distribution_params: Array; - /** fetch aggregated fields from the table: "distribution_params" */ - distribution_params_aggregate: Distribution_Params_Aggregate; - /** fetch data from the table: "distribution_params" using primary key columns */ - distribution_params_by_pk?: Maybe; /** fetch data from the table: "double_sign_evidence" */ double_sign_evidence: Array; - /** fetch aggregated fields from the table: "double_sign_evidence" */ - double_sign_evidence_aggregate: Double_Sign_Evidence_Aggregate; /** fetch data from the table: "double_sign_vote" */ double_sign_vote: Array; - /** fetch aggregated fields from the table: "double_sign_vote" */ - double_sign_vote_aggregate: Double_Sign_Vote_Aggregate; - /** fetch data from the table: "double_sign_vote" using primary key columns */ - double_sign_vote_by_pk?: Maybe; /** fetch data from the table: "fee_grant_allowance" */ fee_grant_allowance: Array; - /** fetch aggregated fields from the table: "fee_grant_allowance" */ - fee_grant_allowance_aggregate: Fee_Grant_Allowance_Aggregate; - /** fetch data from the table: "fee_grant_allowance" using primary key columns */ - fee_grant_allowance_by_pk?: Maybe; /** fetch data from the table: "genesis" */ genesis: Array; - /** fetch aggregated fields from the table: "genesis" */ - genesis_aggregate: Genesis_Aggregate; /** fetch data from the table: "gov_params" */ gov_params: Array; - /** fetch aggregated fields from the table: "gov_params" */ - gov_params_aggregate: Gov_Params_Aggregate; - /** fetch data from the table: "gov_params" using primary key columns */ - gov_params_by_pk?: Maybe; /** fetch data from the table: "inflation" */ inflation: Array; - /** fetch aggregated fields from the table: "inflation" */ - inflation_aggregate: Inflation_Aggregate; /** fetch data from the table: "message" */ message: Array; - /** fetch aggregated fields from the table: "message" */ - message_aggregate: Message_Aggregate; + /** fetch data from the table: "message_type" */ + message_type: Array; + /** fetch aggregated fields from the table: "message_type" */ + message_type_aggregate: Message_Type_Aggregate; /** execute function "messages_by_address" which returns "message" */ messages_by_address: Array; - /** execute function "messages_by_address" and query aggregates on result of table type "message" */ - messages_by_address_aggregate: Message_Aggregate; /** fetch data from the table: "mint_params" */ mint_params: Array; - /** fetch aggregated fields from the table: "mint_params" */ - mint_params_aggregate: Mint_Params_Aggregate; - /** fetch data from the table: "mint_params" using primary key columns */ - mint_params_by_pk?: Maybe; /** fetch data from the table: "modules" */ modules: Array; - /** fetch aggregated fields from the table: "modules" */ - modules_aggregate: Modules_Aggregate; /** fetch data from the table: "modules" using primary key columns */ modules_by_pk?: Maybe; /** fetch data from the table: "pre_commit" */ pre_commit: Array; /** fetch aggregated fields from the table: "pre_commit" */ pre_commit_aggregate: Pre_Commit_Aggregate; - /** fetch data from the table: "profiles_params" */ - profiles_params: Array; - /** fetch aggregated fields from the table: "profiles_params" */ - profiles_params_aggregate: Profiles_Params_Aggregate; - /** fetch data from the table: "profiles_params" using primary key columns */ - profiles_params_by_pk?: Maybe; /** fetch data from the table: "proposal" */ proposal: Array; /** fetch aggregated fields from the table: "proposal" */ @@ -5453,104 +3479,58 @@ export type Query_Root = { proposal_by_pk?: Maybe; /** fetch data from the table: "proposal_deposit" */ proposal_deposit: Array; - /** fetch aggregated fields from the table: "proposal_deposit" */ - proposal_deposit_aggregate: Proposal_Deposit_Aggregate; /** fetch data from the table: "proposal_staking_pool_snapshot" */ proposal_staking_pool_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_staking_pool_snapshot" */ - proposal_staking_pool_snapshot_aggregate: Proposal_Staking_Pool_Snapshot_Aggregate; /** fetch data from the table: "proposal_staking_pool_snapshot" using primary key columns */ proposal_staking_pool_snapshot_by_pk?: Maybe; /** fetch data from the table: "proposal_tally_result" */ proposal_tally_result: Array; - /** fetch aggregated fields from the table: "proposal_tally_result" */ - proposal_tally_result_aggregate: Proposal_Tally_Result_Aggregate; /** fetch data from the table: "proposal_tally_result" using primary key columns */ proposal_tally_result_by_pk?: Maybe; /** fetch data from the table: "proposal_validator_status_snapshot" */ proposal_validator_status_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_validator_status_snapshot" */ - proposal_validator_status_snapshot_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; - /** fetch data from the table: "proposal_validator_status_snapshot" using primary key columns */ - proposal_validator_status_snapshot_by_pk?: Maybe; /** fetch data from the table: "proposal_vote" */ proposal_vote: Array; - /** fetch aggregated fields from the table: "proposal_vote" */ - proposal_vote_aggregate: Proposal_Vote_Aggregate; /** fetch data from the table: "slashing_params" */ slashing_params: Array; - /** fetch aggregated fields from the table: "slashing_params" */ - slashing_params_aggregate: Slashing_Params_Aggregate; - /** fetch data from the table: "slashing_params" using primary key columns */ - slashing_params_by_pk?: Maybe; /** fetch data from the table: "software_upgrade_plan" */ software_upgrade_plan: Array; /** fetch aggregated fields from the table: "software_upgrade_plan" */ software_upgrade_plan_aggregate: Software_Upgrade_Plan_Aggregate; /** fetch data from the table: "staking_params" */ staking_params: Array; - /** fetch aggregated fields from the table: "staking_params" */ - staking_params_aggregate: Staking_Params_Aggregate; - /** fetch data from the table: "staking_params" using primary key columns */ - staking_params_by_pk?: Maybe; /** fetch data from the table: "staking_pool" */ staking_pool: Array; - /** fetch aggregated fields from the table: "staking_pool" */ - staking_pool_aggregate: Staking_Pool_Aggregate; /** fetch data from the table: "supply" */ supply: Array; - /** fetch aggregated fields from the table: "supply" */ - supply_aggregate: Supply_Aggregate; /** fetch data from the table: "token" */ token: Array; - /** fetch aggregated fields from the table: "token" */ - token_aggregate: Token_Aggregate; /** fetch data from the table: "token_price" */ token_price: Array; - /** fetch aggregated fields from the table: "token_price" */ - token_price_aggregate: Token_Price_Aggregate; - /** fetch data from the table: "token_price" using primary key columns */ - token_price_by_pk?: Maybe; /** fetch data from the table: "token_price_history" */ token_price_history: Array; - /** fetch aggregated fields from the table: "token_price_history" */ - token_price_history_aggregate: Token_Price_History_Aggregate; /** fetch data from the table: "token_unit" */ token_unit: Array; - /** fetch aggregated fields from the table: "token_unit" */ - token_unit_aggregate: Token_Unit_Aggregate; /** fetch data from the table: "transaction" */ transaction: Array; - /** fetch aggregated fields from the table: "transaction" */ - transaction_aggregate: Transaction_Aggregate; /** fetch data from the table: "validator" */ validator: Array; - /** fetch aggregated fields from the table: "validator" */ - validator_aggregate: Validator_Aggregate; /** fetch data from the table: "validator" using primary key columns */ validator_by_pk?: Maybe; /** fetch data from the table: "validator_commission" */ validator_commission: Array; - /** fetch aggregated fields from the table: "validator_commission" */ - validator_commission_aggregate: Validator_Commission_Aggregate; /** fetch data from the table: "validator_commission" using primary key columns */ validator_commission_by_pk?: Maybe; /** fetch data from the table: "validator_description" */ validator_description: Array; - /** fetch aggregated fields from the table: "validator_description" */ - validator_description_aggregate: Validator_Description_Aggregate; /** fetch data from the table: "validator_description" using primary key columns */ validator_description_by_pk?: Maybe; /** fetch data from the table: "validator_info" */ validator_info: Array; - /** fetch aggregated fields from the table: "validator_info" */ - validator_info_aggregate: Validator_Info_Aggregate; /** fetch data from the table: "validator_info" using primary key columns */ validator_info_by_pk?: Maybe; /** fetch data from the table: "validator_signing_info" */ validator_signing_info: Array; - /** fetch aggregated fields from the table: "validator_signing_info" */ - validator_signing_info_aggregate: Validator_Signing_Info_Aggregate; /** fetch data from the table: "validator_signing_info" using primary key columns */ validator_signing_info_by_pk?: Maybe; /** fetch data from the table: "validator_status" */ @@ -5567,14 +3547,26 @@ export type Query_Root = { validator_voting_power_by_pk?: Maybe; /** fetch data from the table: "vesting_account" */ vesting_account: Array; - /** fetch aggregated fields from the table: "vesting_account" */ - vesting_account_aggregate: Vesting_Account_Aggregate; - /** fetch data from the table: "vesting_account" using primary key columns */ - vesting_account_by_pk?: Maybe; /** fetch data from the table: "vesting_period" */ vesting_period: Array; - /** fetch aggregated fields from the table: "vesting_period" */ - vesting_period_aggregate: Vesting_Period_Aggregate; + /** fetch data from the table: "wasm_code" */ + wasm_code: Array; + /** fetch aggregated fields from the table: "wasm_code" */ + wasm_code_aggregate: Wasm_Code_Aggregate; + /** fetch data from the table: "wasm_contract" */ + wasm_contract: Array; + /** fetch aggregated fields from the table: "wasm_contract" */ + wasm_contract_aggregate: Wasm_Contract_Aggregate; + /** fetch data from the table: "wasm_execute_contract" */ + wasm_execute_contract: Array; + /** fetch aggregated fields from the table: "wasm_execute_contract" */ + wasm_execute_contract_aggregate: Wasm_Execute_Contract_Aggregate; + /** fetch data from the table: "wasm_params" */ + wasm_params: Array; + /** fetch aggregated fields from the table: "wasm_params" */ + wasm_params_aggregate: Wasm_Params_Aggregate; + /** fetch data from the table: "wasm_params" using primary key columns */ + wasm_params_by_pk?: Maybe; }; @@ -5587,15 +3579,6 @@ export type Query_RootAccountArgs = { }; -export type Query_RootAccount_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAccount_By_PkArgs = { address: Scalars['String']; }; @@ -5642,6 +3625,18 @@ export type Query_RootAction_RedelegationArgs = { }; +export type Query_RootAction_Superfluid_DelegationArgs = { + address: Scalars['String']; + height?: InputMaybe; +}; + + +export type Query_RootAction_Superfluid_Delegation_TotalArgs = { + address: Scalars['String']; + height?: InputMaybe; +}; + + export type Query_RootAction_Unbonding_DelegationArgs = { address: Scalars['String']; count_total?: InputMaybe; @@ -5696,15 +3691,6 @@ export type Query_RootAverage_Block_Time_From_GenesisArgs = { }; -export type Query_RootAverage_Block_Time_From_Genesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAverage_Block_Time_Per_DayArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5714,15 +3700,6 @@ export type Query_RootAverage_Block_Time_Per_DayArgs = { }; -export type Query_RootAverage_Block_Time_Per_Day_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAverage_Block_Time_Per_HourArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5732,15 +3709,6 @@ export type Query_RootAverage_Block_Time_Per_HourArgs = { }; -export type Query_RootAverage_Block_Time_Per_Hour_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAverage_Block_Time_Per_MinuteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5750,15 +3718,6 @@ export type Query_RootAverage_Block_Time_Per_MinuteArgs = { }; -export type Query_RootAverage_Block_Time_Per_Minute_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootBlockArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5768,15 +3727,6 @@ export type Query_RootBlockArgs = { }; -export type Query_RootBlock_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootBlock_By_PkArgs = { height: Scalars['bigint']; }; @@ -5791,15 +3741,6 @@ export type Query_RootCommunity_PoolArgs = { }; -export type Query_RootCommunity_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootDistribution_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5809,20 +3750,6 @@ export type Query_RootDistribution_ParamsArgs = { }; -export type Query_RootDistribution_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootDistribution_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Query_RootDouble_Sign_EvidenceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5832,15 +3759,6 @@ export type Query_RootDouble_Sign_EvidenceArgs = { }; -export type Query_RootDouble_Sign_Evidence_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootDouble_Sign_VoteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5850,20 +3768,6 @@ export type Query_RootDouble_Sign_VoteArgs = { }; -export type Query_RootDouble_Sign_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootDouble_Sign_Vote_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Query_RootFee_Grant_AllowanceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5873,20 +3777,6 @@ export type Query_RootFee_Grant_AllowanceArgs = { }; -export type Query_RootFee_Grant_Allowance_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootFee_Grant_Allowance_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Query_RootGenesisArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5896,15 +3786,6 @@ export type Query_RootGenesisArgs = { }; -export type Query_RootGenesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootGov_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5914,20 +3795,6 @@ export type Query_RootGov_ParamsArgs = { }; -export type Query_RootGov_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootGov_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Query_RootInflationArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5937,15 +3804,6 @@ export type Query_RootInflationArgs = { }; -export type Query_RootInflation_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootMessageArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5955,26 +3813,25 @@ export type Query_RootMessageArgs = { }; -export type Query_RootMessage_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootMessage_TypeArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootMessages_By_AddressArgs = { - args: Messages_By_Address_Args; - distinct_on?: InputMaybe>; +export type Query_RootMessage_Type_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootMessages_By_Address_AggregateArgs = { +export type Query_RootMessages_By_AddressArgs = { args: Messages_By_Address_Args; distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5993,20 +3850,6 @@ export type Query_RootMint_ParamsArgs = { }; -export type Query_RootMint_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootMint_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Query_RootModulesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6016,15 +3859,6 @@ export type Query_RootModulesArgs = { }; -export type Query_RootModules_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootModules_By_PkArgs = { module_name: Scalars['String']; }; @@ -6048,29 +3882,6 @@ export type Query_RootPre_Commit_AggregateArgs = { }; -export type Query_RootProfiles_ParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootProfiles_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootProfiles_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Query_RootProposalArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6103,15 +3914,6 @@ export type Query_RootProposal_DepositArgs = { }; -export type Query_RootProposal_Deposit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_Staking_Pool_SnapshotArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6121,15 +3923,6 @@ export type Query_RootProposal_Staking_Pool_SnapshotArgs = { }; -export type Query_RootProposal_Staking_Pool_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { proposal_id: Scalars['Int']; }; @@ -6144,15 +3937,6 @@ export type Query_RootProposal_Tally_ResultArgs = { }; -export type Query_RootProposal_Tally_Result_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_Tally_Result_By_PkArgs = { proposal_id: Scalars['Int']; }; @@ -6167,20 +3951,6 @@ export type Query_RootProposal_Validator_Status_SnapshotArgs = { }; -export type Query_RootProposal_Validator_Status_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootProposal_Validator_Status_Snapshot_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Query_RootProposal_VoteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6190,15 +3960,6 @@ export type Query_RootProposal_VoteArgs = { }; -export type Query_RootProposal_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootSlashing_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6208,26 +3969,12 @@ export type Query_RootSlashing_ParamsArgs = { }; -export type Query_RootSlashing_Params_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootSoftware_Upgrade_PlanArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootSlashing_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - -export type Query_RootSoftware_Upgrade_PlanArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; @@ -6249,20 +3996,6 @@ export type Query_RootStaking_ParamsArgs = { }; -export type Query_RootStaking_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootStaking_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Query_RootStaking_PoolArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6272,15 +4005,6 @@ export type Query_RootStaking_PoolArgs = { }; -export type Query_RootStaking_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootSupplyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6290,15 +4014,6 @@ export type Query_RootSupplyArgs = { }; -export type Query_RootSupply_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootTokenArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6308,15 +4023,6 @@ export type Query_RootTokenArgs = { }; -export type Query_RootToken_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootToken_PriceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6326,20 +4032,6 @@ export type Query_RootToken_PriceArgs = { }; -export type Query_RootToken_Price_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootToken_Price_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Query_RootToken_Price_HistoryArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6349,15 +4041,6 @@ export type Query_RootToken_Price_HistoryArgs = { }; -export type Query_RootToken_Price_History_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootToken_UnitArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6367,15 +4050,6 @@ export type Query_RootToken_UnitArgs = { }; -export type Query_RootToken_Unit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootTransactionArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6385,15 +4059,6 @@ export type Query_RootTransactionArgs = { }; -export type Query_RootTransaction_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidatorArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6403,15 +4068,6 @@ export type Query_RootValidatorArgs = { }; -export type Query_RootValidator_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -6426,15 +4082,6 @@ export type Query_RootValidator_CommissionArgs = { }; -export type Query_RootValidator_Commission_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Commission_By_PkArgs = { validator_address: Scalars['String']; }; @@ -6449,15 +4096,6 @@ export type Query_RootValidator_DescriptionArgs = { }; -export type Query_RootValidator_Description_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Description_By_PkArgs = { validator_address: Scalars['String']; }; @@ -6472,15 +4110,6 @@ export type Query_RootValidator_InfoArgs = { }; -export type Query_RootValidator_Info_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Info_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -6495,15 +4124,6 @@ export type Query_RootValidator_Signing_InfoArgs = { }; -export type Query_RootValidator_Signing_Info_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Signing_Info_By_PkArgs = { validator_address: Scalars['String']; }; @@ -6564,85 +4184,102 @@ export type Query_RootVesting_AccountArgs = { }; -export type Query_RootVesting_Account_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootVesting_PeriodArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootVesting_Account_By_PkArgs = { - id: Scalars['Int']; +export type Query_RootWasm_CodeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootVesting_PeriodArgs = { - distinct_on?: InputMaybe>; +export type Query_RootWasm_Code_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootVesting_Period_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootWasm_ContractArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "slashing_params" */ -export type Slashing_Params = { - __typename?: 'slashing_params'; - height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; - params: Scalars['jsonb']; + +export type Query_RootWasm_Contract_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "slashing_params" */ -export type Slashing_ParamsParamsArgs = { - path?: InputMaybe; +export type Query_RootWasm_Execute_ContractArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregated selection of "slashing_params" */ -export type Slashing_Params_Aggregate = { - __typename?: 'slashing_params_aggregate'; - aggregate?: Maybe; - nodes: Array; + +export type Query_RootWasm_Execute_Contract_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate fields of "slashing_params" */ -export type Slashing_Params_Aggregate_Fields = { - __typename?: 'slashing_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + +export type Query_RootWasm_ParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate fields of "slashing_params" */ -export type Slashing_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; +export type Query_RootWasm_Params_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate avg on columns */ -export type Slashing_Params_Avg_Fields = { - __typename?: 'slashing_params_avg_fields'; - height?: Maybe; + +export type Query_RootWasm_Params_By_PkArgs = { + one_row_id: Scalars['Boolean']; +}; + +/** columns and relationships of "slashing_params" */ +export type Slashing_Params = { + __typename?: 'slashing_params'; + height: Scalars['bigint']; + params: Scalars['jsonb']; +}; + + +/** columns and relationships of "slashing_params" */ +export type Slashing_ParamsParamsArgs = { + path?: InputMaybe; }; /** Boolean expression to filter rows from the table "slashing_params". All fields are combined with a logical 'AND'. */ @@ -6651,26 +4288,12 @@ export type Slashing_Params_Bool_Exp = { _not?: InputMaybe; _or?: InputMaybe>; height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; -/** aggregate max on columns */ -export type Slashing_Params_Max_Fields = { - __typename?: 'slashing_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Slashing_Params_Min_Fields = { - __typename?: 'slashing_params_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "slashing_params". */ export type Slashing_Params_Order_By = { height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; @@ -6679,51 +4302,21 @@ export enum Slashing_Params_Select_Column { /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', - /** column name */ Params = 'params' } -/** aggregate stddev on columns */ -export type Slashing_Params_Stddev_Fields = { - __typename?: 'slashing_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Slashing_Params_Stddev_Pop_Fields = { - __typename?: 'slashing_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Slashing_Params_Stddev_Samp_Fields = { - __typename?: 'slashing_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Slashing_Params_Sum_Fields = { - __typename?: 'slashing_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Slashing_Params_Var_Pop_Fields = { - __typename?: 'slashing_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Slashing_Params_Var_Samp_Fields = { - __typename?: 'slashing_params_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "slashing_params" */ +export type Slashing_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Slashing_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Slashing_Params_Variance_Fields = { - __typename?: 'slashing_params_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Slashing_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */ @@ -6870,6 +4463,23 @@ export type Software_Upgrade_Plan_Stddev_Samp_Fields = { upgrade_height?: Maybe; }; +/** Streaming cursor of the table "software_upgrade_plan" */ +export type Software_Upgrade_Plan_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Software_Upgrade_Plan_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Software_Upgrade_Plan_Stream_Cursor_Value_Input = { + height?: InputMaybe; + info?: InputMaybe; + plan_name?: InputMaybe; + proposal_id?: InputMaybe; + upgrade_height?: InputMaybe; +}; + /** aggregate sum on columns */ export type Software_Upgrade_Plan_Sum_Fields = { __typename?: 'software_upgrade_plan_sum_fields'; @@ -6906,7 +4516,6 @@ export type Software_Upgrade_Plan_Variance_Fields = { export type Staking_Params = { __typename?: 'staking_params'; height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; params: Scalars['jsonb']; }; @@ -6916,68 +4525,18 @@ export type Staking_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "staking_params" */ -export type Staking_Params_Aggregate = { - __typename?: 'staking_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "staking_params" */ -export type Staking_Params_Aggregate_Fields = { - __typename?: 'staking_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "staking_params" */ -export type Staking_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Staking_Params_Avg_Fields = { - __typename?: 'staking_params_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "staking_params". All fields are combined with a logical 'AND'. */ export type Staking_Params_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; -/** aggregate max on columns */ -export type Staking_Params_Max_Fields = { - __typename?: 'staking_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Staking_Params_Min_Fields = { - __typename?: 'staking_params_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "staking_params". */ export type Staking_Params_Order_By = { height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; @@ -6986,99 +4545,31 @@ export enum Staking_Params_Select_Column { /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', - /** column name */ Params = 'params' } -/** aggregate stddev on columns */ -export type Staking_Params_Stddev_Fields = { - __typename?: 'staking_params_stddev_fields'; - height?: Maybe; +/** Streaming cursor of the table "staking_params" */ +export type Staking_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Staking_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Staking_Params_Stddev_Pop_Fields = { - __typename?: 'staking_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Staking_Params_Stddev_Samp_Fields = { - __typename?: 'staking_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Staking_Params_Sum_Fields = { - __typename?: 'staking_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Staking_Params_Var_Pop_Fields = { - __typename?: 'staking_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Staking_Params_Var_Samp_Fields = { - __typename?: 'staking_params_var_samp_fields'; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Staking_Params_Variance_Fields = { - __typename?: 'staking_params_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Staking_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; /** columns and relationships of "staking_pool" */ export type Staking_Pool = { __typename?: 'staking_pool'; - bonded_tokens: Scalars['bigint']; + bonded_tokens: Scalars['String']; height: Scalars['bigint']; - not_bonded_tokens: Scalars['bigint']; - staked_not_bonded_tokens?: Maybe; - unbonding_tokens?: Maybe; -}; - -/** aggregated selection of "staking_pool" */ -export type Staking_Pool_Aggregate = { - __typename?: 'staking_pool_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "staking_pool" */ -export type Staking_Pool_Aggregate_Fields = { - __typename?: 'staking_pool_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "staking_pool" */ -export type Staking_Pool_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Staking_Pool_Avg_Fields = { - __typename?: 'staking_pool_avg_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; + not_bonded_tokens: Scalars['String']; + staked_not_bonded_tokens: Scalars['String']; + unbonding_tokens: Scalars['String']; }; /** Boolean expression to filter rows from the table "staking_pool". All fields are combined with a logical 'AND'. */ @@ -7086,33 +4577,13 @@ export type Staking_Pool_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; - bonded_tokens?: InputMaybe; + bonded_tokens?: InputMaybe; height?: InputMaybe; - not_bonded_tokens?: InputMaybe; + not_bonded_tokens?: InputMaybe; staked_not_bonded_tokens?: InputMaybe; unbonding_tokens?: InputMaybe; }; -/** aggregate max on columns */ -export type Staking_Pool_Max_Fields = { - __typename?: 'staking_pool_max_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - staked_not_bonded_tokens?: Maybe; - unbonding_tokens?: Maybe; -}; - -/** aggregate min on columns */ -export type Staking_Pool_Min_Fields = { - __typename?: 'staking_pool_min_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - staked_not_bonded_tokens?: Maybe; - unbonding_tokens?: Maybe; -}; - /** Ordering options when selecting data from "staking_pool". */ export type Staking_Pool_Order_By = { bonded_tokens?: InputMaybe; @@ -7136,162 +4607,113 @@ export enum Staking_Pool_Select_Column { UnbondingTokens = 'unbonding_tokens' } -/** aggregate stddev on columns */ -export type Staking_Pool_Stddev_Fields = { - __typename?: 'staking_pool_stddev_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Staking_Pool_Stddev_Pop_Fields = { - __typename?: 'staking_pool_stddev_pop_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Staking_Pool_Stddev_Samp_Fields = { - __typename?: 'staking_pool_stddev_samp_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; -}; - -/** aggregate sum on columns */ -export type Staking_Pool_Sum_Fields = { - __typename?: 'staking_pool_sum_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Staking_Pool_Var_Pop_Fields = { - __typename?: 'staking_pool_var_pop_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Staking_Pool_Var_Samp_Fields = { - __typename?: 'staking_pool_var_samp_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; +/** Streaming cursor of the table "staking_pool" */ +export type Staking_Pool_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Staking_Pool_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Staking_Pool_Variance_Fields = { - __typename?: 'staking_pool_variance_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Staking_Pool_Stream_Cursor_Value_Input = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + staked_not_bonded_tokens?: InputMaybe; + unbonding_tokens?: InputMaybe; }; export type Subscription_Root = { __typename?: 'subscription_root'; /** fetch data from the table: "account" */ account: Array; - /** fetch aggregated fields from the table: "account" */ - account_aggregate: Account_Aggregate; /** fetch data from the table: "account" using primary key columns */ account_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "account" */ + account_stream: Array; /** fetch data from the table: "average_block_time_from_genesis" */ average_block_time_from_genesis: Array; - /** fetch aggregated fields from the table: "average_block_time_from_genesis" */ - average_block_time_from_genesis_aggregate: Average_Block_Time_From_Genesis_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_from_genesis" */ + average_block_time_from_genesis_stream: Array; /** fetch data from the table: "average_block_time_per_day" */ average_block_time_per_day: Array; - /** fetch aggregated fields from the table: "average_block_time_per_day" */ - average_block_time_per_day_aggregate: Average_Block_Time_Per_Day_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_per_day" */ + average_block_time_per_day_stream: Array; /** fetch data from the table: "average_block_time_per_hour" */ average_block_time_per_hour: Array; - /** fetch aggregated fields from the table: "average_block_time_per_hour" */ - average_block_time_per_hour_aggregate: Average_Block_Time_Per_Hour_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_per_hour" */ + average_block_time_per_hour_stream: Array; /** fetch data from the table: "average_block_time_per_minute" */ average_block_time_per_minute: Array; - /** fetch aggregated fields from the table: "average_block_time_per_minute" */ - average_block_time_per_minute_aggregate: Average_Block_Time_Per_Minute_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_per_minute" */ + average_block_time_per_minute_stream: Array; /** fetch data from the table: "block" */ block: Array; - /** fetch aggregated fields from the table: "block" */ - block_aggregate: Block_Aggregate; /** fetch data from the table: "block" using primary key columns */ block_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "block" */ + block_stream: Array; /** fetch data from the table: "community_pool" */ community_pool: Array; - /** fetch aggregated fields from the table: "community_pool" */ - community_pool_aggregate: Community_Pool_Aggregate; + /** fetch data from the table in a streaming manner: "community_pool" */ + community_pool_stream: Array; /** fetch data from the table: "distribution_params" */ distribution_params: Array; - /** fetch aggregated fields from the table: "distribution_params" */ - distribution_params_aggregate: Distribution_Params_Aggregate; - /** fetch data from the table: "distribution_params" using primary key columns */ - distribution_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "distribution_params" */ + distribution_params_stream: Array; /** fetch data from the table: "double_sign_evidence" */ double_sign_evidence: Array; - /** fetch aggregated fields from the table: "double_sign_evidence" */ - double_sign_evidence_aggregate: Double_Sign_Evidence_Aggregate; + /** fetch data from the table in a streaming manner: "double_sign_evidence" */ + double_sign_evidence_stream: Array; /** fetch data from the table: "double_sign_vote" */ double_sign_vote: Array; - /** fetch aggregated fields from the table: "double_sign_vote" */ - double_sign_vote_aggregate: Double_Sign_Vote_Aggregate; - /** fetch data from the table: "double_sign_vote" using primary key columns */ - double_sign_vote_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "double_sign_vote" */ + double_sign_vote_stream: Array; /** fetch data from the table: "fee_grant_allowance" */ fee_grant_allowance: Array; - /** fetch aggregated fields from the table: "fee_grant_allowance" */ - fee_grant_allowance_aggregate: Fee_Grant_Allowance_Aggregate; - /** fetch data from the table: "fee_grant_allowance" using primary key columns */ - fee_grant_allowance_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "fee_grant_allowance" */ + fee_grant_allowance_stream: Array; /** fetch data from the table: "genesis" */ genesis: Array; - /** fetch aggregated fields from the table: "genesis" */ - genesis_aggregate: Genesis_Aggregate; + /** fetch data from the table in a streaming manner: "genesis" */ + genesis_stream: Array; /** fetch data from the table: "gov_params" */ gov_params: Array; - /** fetch aggregated fields from the table: "gov_params" */ - gov_params_aggregate: Gov_Params_Aggregate; - /** fetch data from the table: "gov_params" using primary key columns */ - gov_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "gov_params" */ + gov_params_stream: Array; /** fetch data from the table: "inflation" */ inflation: Array; - /** fetch aggregated fields from the table: "inflation" */ - inflation_aggregate: Inflation_Aggregate; + /** fetch data from the table in a streaming manner: "inflation" */ + inflation_stream: Array; /** fetch data from the table: "message" */ message: Array; - /** fetch aggregated fields from the table: "message" */ - message_aggregate: Message_Aggregate; + /** fetch data from the table in a streaming manner: "message" */ + message_stream: Array; + /** fetch data from the table: "message_type" */ + message_type: Array; + /** fetch aggregated fields from the table: "message_type" */ + message_type_aggregate: Message_Type_Aggregate; + /** fetch data from the table in a streaming manner: "message_type" */ + message_type_stream: Array; /** execute function "messages_by_address" which returns "message" */ messages_by_address: Array; - /** execute function "messages_by_address" and query aggregates on result of table type "message" */ - messages_by_address_aggregate: Message_Aggregate; /** fetch data from the table: "mint_params" */ mint_params: Array; - /** fetch aggregated fields from the table: "mint_params" */ - mint_params_aggregate: Mint_Params_Aggregate; - /** fetch data from the table: "mint_params" using primary key columns */ - mint_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "mint_params" */ + mint_params_stream: Array; /** fetch data from the table: "modules" */ modules: Array; - /** fetch aggregated fields from the table: "modules" */ - modules_aggregate: Modules_Aggregate; /** fetch data from the table: "modules" using primary key columns */ modules_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "modules" */ + modules_stream: Array; /** fetch data from the table: "pre_commit" */ pre_commit: Array; /** fetch aggregated fields from the table: "pre_commit" */ pre_commit_aggregate: Pre_Commit_Aggregate; - /** fetch data from the table: "profiles_params" */ - profiles_params: Array; - /** fetch aggregated fields from the table: "profiles_params" */ - profiles_params_aggregate: Profiles_Params_Aggregate; - /** fetch data from the table: "profiles_params" using primary key columns */ - profiles_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "pre_commit" */ + pre_commit_stream: Array; /** fetch data from the table: "proposal" */ proposal: Array; /** fetch aggregated fields from the table: "proposal" */ @@ -7300,128 +4722,152 @@ export type Subscription_Root = { proposal_by_pk?: Maybe; /** fetch data from the table: "proposal_deposit" */ proposal_deposit: Array; - /** fetch aggregated fields from the table: "proposal_deposit" */ - proposal_deposit_aggregate: Proposal_Deposit_Aggregate; + /** fetch data from the table in a streaming manner: "proposal_deposit" */ + proposal_deposit_stream: Array; /** fetch data from the table: "proposal_staking_pool_snapshot" */ proposal_staking_pool_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_staking_pool_snapshot" */ - proposal_staking_pool_snapshot_aggregate: Proposal_Staking_Pool_Snapshot_Aggregate; /** fetch data from the table: "proposal_staking_pool_snapshot" using primary key columns */ proposal_staking_pool_snapshot_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_staking_pool_snapshot" */ + proposal_staking_pool_snapshot_stream: Array; + /** fetch data from the table in a streaming manner: "proposal" */ + proposal_stream: Array; /** fetch data from the table: "proposal_tally_result" */ proposal_tally_result: Array; - /** fetch aggregated fields from the table: "proposal_tally_result" */ - proposal_tally_result_aggregate: Proposal_Tally_Result_Aggregate; /** fetch data from the table: "proposal_tally_result" using primary key columns */ proposal_tally_result_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_tally_result" */ + proposal_tally_result_stream: Array; /** fetch data from the table: "proposal_validator_status_snapshot" */ proposal_validator_status_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_validator_status_snapshot" */ - proposal_validator_status_snapshot_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; - /** fetch data from the table: "proposal_validator_status_snapshot" using primary key columns */ - proposal_validator_status_snapshot_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_validator_status_snapshot" */ + proposal_validator_status_snapshot_stream: Array; /** fetch data from the table: "proposal_vote" */ proposal_vote: Array; - /** fetch aggregated fields from the table: "proposal_vote" */ - proposal_vote_aggregate: Proposal_Vote_Aggregate; + /** fetch data from the table in a streaming manner: "proposal_vote" */ + proposal_vote_stream: Array; /** fetch data from the table: "slashing_params" */ slashing_params: Array; - /** fetch aggregated fields from the table: "slashing_params" */ - slashing_params_aggregate: Slashing_Params_Aggregate; - /** fetch data from the table: "slashing_params" using primary key columns */ - slashing_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "slashing_params" */ + slashing_params_stream: Array; /** fetch data from the table: "software_upgrade_plan" */ software_upgrade_plan: Array; /** fetch aggregated fields from the table: "software_upgrade_plan" */ software_upgrade_plan_aggregate: Software_Upgrade_Plan_Aggregate; + /** fetch data from the table in a streaming manner: "software_upgrade_plan" */ + software_upgrade_plan_stream: Array; /** fetch data from the table: "staking_params" */ staking_params: Array; - /** fetch aggregated fields from the table: "staking_params" */ - staking_params_aggregate: Staking_Params_Aggregate; - /** fetch data from the table: "staking_params" using primary key columns */ - staking_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "staking_params" */ + staking_params_stream: Array; /** fetch data from the table: "staking_pool" */ staking_pool: Array; - /** fetch aggregated fields from the table: "staking_pool" */ - staking_pool_aggregate: Staking_Pool_Aggregate; + /** fetch data from the table in a streaming manner: "staking_pool" */ + staking_pool_stream: Array; /** fetch data from the table: "supply" */ supply: Array; - /** fetch aggregated fields from the table: "supply" */ - supply_aggregate: Supply_Aggregate; + /** fetch data from the table in a streaming manner: "supply" */ + supply_stream: Array; /** fetch data from the table: "token" */ token: Array; - /** fetch aggregated fields from the table: "token" */ - token_aggregate: Token_Aggregate; /** fetch data from the table: "token_price" */ token_price: Array; - /** fetch aggregated fields from the table: "token_price" */ - token_price_aggregate: Token_Price_Aggregate; - /** fetch data from the table: "token_price" using primary key columns */ - token_price_by_pk?: Maybe; /** fetch data from the table: "token_price_history" */ token_price_history: Array; - /** fetch aggregated fields from the table: "token_price_history" */ - token_price_history_aggregate: Token_Price_History_Aggregate; + /** fetch data from the table in a streaming manner: "token_price_history" */ + token_price_history_stream: Array; + /** fetch data from the table in a streaming manner: "token_price" */ + token_price_stream: Array; + /** fetch data from the table in a streaming manner: "token" */ + token_stream: Array; /** fetch data from the table: "token_unit" */ token_unit: Array; - /** fetch aggregated fields from the table: "token_unit" */ - token_unit_aggregate: Token_Unit_Aggregate; + /** fetch data from the table in a streaming manner: "token_unit" */ + token_unit_stream: Array; /** fetch data from the table: "transaction" */ transaction: Array; - /** fetch aggregated fields from the table: "transaction" */ - transaction_aggregate: Transaction_Aggregate; + /** fetch data from the table in a streaming manner: "transaction" */ + transaction_stream: Array; /** fetch data from the table: "validator" */ validator: Array; - /** fetch aggregated fields from the table: "validator" */ - validator_aggregate: Validator_Aggregate; /** fetch data from the table: "validator" using primary key columns */ validator_by_pk?: Maybe; /** fetch data from the table: "validator_commission" */ validator_commission: Array; - /** fetch aggregated fields from the table: "validator_commission" */ - validator_commission_aggregate: Validator_Commission_Aggregate; /** fetch data from the table: "validator_commission" using primary key columns */ validator_commission_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_commission" */ + validator_commission_stream: Array; /** fetch data from the table: "validator_description" */ validator_description: Array; - /** fetch aggregated fields from the table: "validator_description" */ - validator_description_aggregate: Validator_Description_Aggregate; /** fetch data from the table: "validator_description" using primary key columns */ validator_description_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_description" */ + validator_description_stream: Array; /** fetch data from the table: "validator_info" */ validator_info: Array; - /** fetch aggregated fields from the table: "validator_info" */ - validator_info_aggregate: Validator_Info_Aggregate; /** fetch data from the table: "validator_info" using primary key columns */ validator_info_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_info" */ + validator_info_stream: Array; /** fetch data from the table: "validator_signing_info" */ validator_signing_info: Array; - /** fetch aggregated fields from the table: "validator_signing_info" */ - validator_signing_info_aggregate: Validator_Signing_Info_Aggregate; /** fetch data from the table: "validator_signing_info" using primary key columns */ validator_signing_info_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_signing_info" */ + validator_signing_info_stream: Array; /** fetch data from the table: "validator_status" */ validator_status: Array; /** fetch aggregated fields from the table: "validator_status" */ validator_status_aggregate: Validator_Status_Aggregate; /** fetch data from the table: "validator_status" using primary key columns */ validator_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_status" */ + validator_status_stream: Array; + /** fetch data from the table in a streaming manner: "validator" */ + validator_stream: Array; /** fetch data from the table: "validator_voting_power" */ validator_voting_power: Array; /** fetch aggregated fields from the table: "validator_voting_power" */ validator_voting_power_aggregate: Validator_Voting_Power_Aggregate; /** fetch data from the table: "validator_voting_power" using primary key columns */ validator_voting_power_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_voting_power" */ + validator_voting_power_stream: Array; /** fetch data from the table: "vesting_account" */ vesting_account: Array; - /** fetch aggregated fields from the table: "vesting_account" */ - vesting_account_aggregate: Vesting_Account_Aggregate; - /** fetch data from the table: "vesting_account" using primary key columns */ - vesting_account_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "vesting_account" */ + vesting_account_stream: Array; /** fetch data from the table: "vesting_period" */ vesting_period: Array; - /** fetch aggregated fields from the table: "vesting_period" */ - vesting_period_aggregate: Vesting_Period_Aggregate; + /** fetch data from the table in a streaming manner: "vesting_period" */ + vesting_period_stream: Array; + /** fetch data from the table: "wasm_code" */ + wasm_code: Array; + /** fetch aggregated fields from the table: "wasm_code" */ + wasm_code_aggregate: Wasm_Code_Aggregate; + /** fetch data from the table in a streaming manner: "wasm_code" */ + wasm_code_stream: Array; + /** fetch data from the table: "wasm_contract" */ + wasm_contract: Array; + /** fetch aggregated fields from the table: "wasm_contract" */ + wasm_contract_aggregate: Wasm_Contract_Aggregate; + /** fetch data from the table in a streaming manner: "wasm_contract" */ + wasm_contract_stream: Array; + /** fetch data from the table: "wasm_execute_contract" */ + wasm_execute_contract: Array; + /** fetch aggregated fields from the table: "wasm_execute_contract" */ + wasm_execute_contract_aggregate: Wasm_Execute_Contract_Aggregate; + /** fetch data from the table in a streaming manner: "wasm_execute_contract" */ + wasm_execute_contract_stream: Array; + /** fetch data from the table: "wasm_params" */ + wasm_params: Array; + /** fetch aggregated fields from the table: "wasm_params" */ + wasm_params_aggregate: Wasm_Params_Aggregate; + /** fetch data from the table: "wasm_params" using primary key columns */ + wasm_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "wasm_params" */ + wasm_params_stream: Array; }; @@ -7434,17 +4880,15 @@ export type Subscription_RootAccountArgs = { }; -export type Subscription_RootAccount_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootAccount_By_PkArgs = { + address: Scalars['String']; }; -export type Subscription_RootAccount_By_PkArgs = { - address: Scalars['String']; +export type Subscription_RootAccount_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7457,11 +4901,9 @@ export type Subscription_RootAverage_Block_Time_From_GenesisArgs = { }; -export type Subscription_RootAverage_Block_Time_From_Genesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_From_Genesis_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7475,11 +4917,9 @@ export type Subscription_RootAverage_Block_Time_Per_DayArgs = { }; -export type Subscription_RootAverage_Block_Time_Per_Day_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_Per_Day_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7493,11 +4933,9 @@ export type Subscription_RootAverage_Block_Time_Per_HourArgs = { }; -export type Subscription_RootAverage_Block_Time_Per_Hour_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_Per_Hour_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7511,11 +4949,9 @@ export type Subscription_RootAverage_Block_Time_Per_MinuteArgs = { }; -export type Subscription_RootAverage_Block_Time_Per_Minute_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_Per_Minute_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7529,17 +4965,15 @@ export type Subscription_RootBlockArgs = { }; -export type Subscription_RootBlock_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootBlock_By_PkArgs = { + height: Scalars['bigint']; }; -export type Subscription_RootBlock_By_PkArgs = { - height: Scalars['bigint']; +export type Subscription_RootBlock_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7552,11 +4986,9 @@ export type Subscription_RootCommunity_PoolArgs = { }; -export type Subscription_RootCommunity_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootCommunity_Pool_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7570,20 +5002,13 @@ export type Subscription_RootDistribution_ParamsArgs = { }; -export type Subscription_RootDistribution_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootDistribution_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootDistribution_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Subscription_RootDouble_Sign_EvidenceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7593,11 +5018,9 @@ export type Subscription_RootDouble_Sign_EvidenceArgs = { }; -export type Subscription_RootDouble_Sign_Evidence_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootDouble_Sign_Evidence_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7611,20 +5034,13 @@ export type Subscription_RootDouble_Sign_VoteArgs = { }; -export type Subscription_RootDouble_Sign_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootDouble_Sign_Vote_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootDouble_Sign_Vote_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Subscription_RootFee_Grant_AllowanceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7634,20 +5050,13 @@ export type Subscription_RootFee_Grant_AllowanceArgs = { }; -export type Subscription_RootFee_Grant_Allowance_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootFee_Grant_Allowance_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootFee_Grant_Allowance_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Subscription_RootGenesisArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7657,11 +5066,9 @@ export type Subscription_RootGenesisArgs = { }; -export type Subscription_RootGenesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootGenesis_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7675,20 +5082,13 @@ export type Subscription_RootGov_ParamsArgs = { }; -export type Subscription_RootGov_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootGov_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootGov_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Subscription_RootInflationArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7698,11 +5098,9 @@ export type Subscription_RootInflationArgs = { }; -export type Subscription_RootInflation_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootInflation_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7716,26 +5114,39 @@ export type Subscription_RootMessageArgs = { }; -export type Subscription_RootMessage_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootMessage_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootMessage_TypeArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootMessages_By_AddressArgs = { - args: Messages_By_Address_Args; - distinct_on?: InputMaybe>; +export type Subscription_RootMessage_Type_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootMessage_Type_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootMessages_By_Address_AggregateArgs = { +export type Subscription_RootMessages_By_AddressArgs = { args: Messages_By_Address_Args; distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7754,20 +5165,13 @@ export type Subscription_RootMint_ParamsArgs = { }; -export type Subscription_RootMint_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootMint_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootMint_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Subscription_RootModulesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7777,17 +5181,15 @@ export type Subscription_RootModulesArgs = { }; -export type Subscription_RootModules_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootModules_By_PkArgs = { + module_name: Scalars['String']; }; -export type Subscription_RootModules_By_PkArgs = { - module_name: Scalars['String']; +export type Subscription_RootModules_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7809,26 +5211,10 @@ export type Subscription_RootPre_Commit_AggregateArgs = { }; -export type Subscription_RootProfiles_ParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootProfiles_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootProfiles_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; +export type Subscription_RootPre_Commit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7864,11 +5250,9 @@ export type Subscription_RootProposal_DepositArgs = { }; -export type Subscription_RootProposal_Deposit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootProposal_Deposit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7882,30 +5266,26 @@ export type Subscription_RootProposal_Staking_Pool_SnapshotArgs = { }; -export type Subscription_RootProposal_Staking_Pool_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { + proposal_id: Scalars['Int']; }; -export type Subscription_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { - proposal_id: Scalars['Int']; +export type Subscription_RootProposal_Staking_Pool_Snapshot_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootProposal_Tally_ResultArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootProposal_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootProposal_Tally_Result_AggregateArgs = { +export type Subscription_RootProposal_Tally_ResultArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7919,16 +5299,14 @@ export type Subscription_RootProposal_Tally_Result_By_PkArgs = { }; -export type Subscription_RootProposal_Validator_Status_SnapshotArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootProposal_Tally_Result_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootProposal_Validator_Status_Snapshot_AggregateArgs = { +export type Subscription_RootProposal_Validator_Status_SnapshotArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7937,8 +5315,10 @@ export type Subscription_RootProposal_Validator_Status_Snapshot_AggregateArgs = }; -export type Subscription_RootProposal_Validator_Status_Snapshot_By_PkArgs = { - id: Scalars['Int']; +export type Subscription_RootProposal_Validator_Status_Snapshot_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7951,11 +5331,9 @@ export type Subscription_RootProposal_VoteArgs = { }; -export type Subscription_RootProposal_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootProposal_Vote_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7969,20 +5347,13 @@ export type Subscription_RootSlashing_ParamsArgs = { }; -export type Subscription_RootSlashing_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootSlashing_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootSlashing_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Subscription_RootSoftware_Upgrade_PlanArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8001,16 +5372,14 @@ export type Subscription_RootSoftware_Upgrade_Plan_AggregateArgs = { }; -export type Subscription_RootStaking_ParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootSoftware_Upgrade_Plan_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootStaking_Params_AggregateArgs = { +export type Subscription_RootStaking_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -8019,8 +5388,10 @@ export type Subscription_RootStaking_Params_AggregateArgs = { }; -export type Subscription_RootStaking_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; +export type Subscription_RootStaking_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -8033,11 +5404,9 @@ export type Subscription_RootStaking_PoolArgs = { }; -export type Subscription_RootStaking_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootStaking_Pool_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -8051,11 +5420,9 @@ export type Subscription_RootSupplyArgs = { }; -export type Subscription_RootSupply_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootSupply_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -8069,15 +5436,6 @@ export type Subscription_RootTokenArgs = { }; -export type Subscription_RootToken_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootToken_PriceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8087,35 +5445,33 @@ export type Subscription_RootToken_PriceArgs = { }; -export type Subscription_RootToken_Price_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootToken_Price_HistoryArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootToken_Price_By_PkArgs = { - id: Scalars['Int']; +export type Subscription_RootToken_Price_History_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootToken_Price_HistoryArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootToken_Price_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootToken_Price_History_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootToken_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -8128,11 +5484,9 @@ export type Subscription_RootToken_UnitArgs = { }; -export type Subscription_RootToken_Unit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootToken_Unit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -8146,11 +5500,9 @@ export type Subscription_RootTransactionArgs = { }; -export type Subscription_RootTransaction_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootTransaction_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -8164,15 +5516,6 @@ export type Subscription_RootValidatorArgs = { }; -export type Subscription_RootValidator_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootValidator_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -8187,30 +5530,19 @@ export type Subscription_RootValidator_CommissionArgs = { }; -export type Subscription_RootValidator_Commission_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootValidator_Commission_By_PkArgs = { validator_address: Scalars['String']; }; -export type Subscription_RootValidator_DescriptionArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Commission_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootValidator_Description_AggregateArgs = { +export type Subscription_RootValidator_DescriptionArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -8224,16 +5556,14 @@ export type Subscription_RootValidator_Description_By_PkArgs = { }; -export type Subscription_RootValidator_InfoArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Description_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootValidator_Info_AggregateArgs = { +export type Subscription_RootValidator_InfoArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -8247,16 +5577,14 @@ export type Subscription_RootValidator_Info_By_PkArgs = { }; -export type Subscription_RootValidator_Signing_InfoArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Info_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootValidator_Signing_Info_AggregateArgs = { +export type Subscription_RootValidator_Signing_InfoArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -8270,6 +5598,13 @@ export type Subscription_RootValidator_Signing_Info_By_PkArgs = { }; +export type Subscription_RootValidator_Signing_Info_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootValidator_StatusArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8293,6 +5628,20 @@ export type Subscription_RootValidator_Status_By_PkArgs = { }; +export type Subscription_RootValidator_Status_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootValidator_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootValidator_Voting_PowerArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8316,16 +5665,14 @@ export type Subscription_RootValidator_Voting_Power_By_PkArgs = { }; -export type Subscription_RootVesting_AccountArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Voting_Power_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootVesting_Account_AggregateArgs = { +export type Subscription_RootVesting_AccountArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -8334,8 +5681,10 @@ export type Subscription_RootVesting_Account_AggregateArgs = { }; -export type Subscription_RootVesting_Account_By_PkArgs = { - id: Scalars['Int']; +export type Subscription_RootVesting_Account_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -8348,55 +5697,122 @@ export type Subscription_RootVesting_PeriodArgs = { }; -export type Subscription_RootVesting_Period_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootVesting_Period_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootWasm_CodeArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "supply" */ -export type Supply = { - __typename?: 'supply'; - coins: Scalars['_coin']; - height: Scalars['bigint']; + +export type Subscription_RootWasm_Code_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregated selection of "supply" */ -export type Supply_Aggregate = { - __typename?: 'supply_aggregate'; - aggregate?: Maybe; - nodes: Array; + +export type Subscription_RootWasm_Code_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -/** aggregate fields of "supply" */ -export type Supply_Aggregate_Fields = { - __typename?: 'supply_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + +export type Subscription_RootWasm_ContractArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate fields of "supply" */ -export type Supply_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; +export type Subscription_RootWasm_Contract_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate avg on columns */ -export type Supply_Avg_Fields = { - __typename?: 'supply_avg_fields'; - height?: Maybe; + +export type Subscription_RootWasm_Contract_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootWasm_Execute_ContractArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootWasm_Execute_Contract_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootWasm_Execute_Contract_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootWasm_ParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootWasm_Params_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootWasm_Params_By_PkArgs = { + one_row_id: Scalars['Boolean']; +}; + + +export type Subscription_RootWasm_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + +/** columns and relationships of "supply" */ +export type Supply = { + __typename?: 'supply'; + coins: Scalars['_coin']; + height: Scalars['bigint']; }; /** Boolean expression to filter rows from the table "supply". All fields are combined with a logical 'AND'. */ @@ -8408,18 +5824,6 @@ export type Supply_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Supply_Max_Fields = { - __typename?: 'supply_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Supply_Min_Fields = { - __typename?: 'supply_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "supply". */ export type Supply_Order_By = { coins?: InputMaybe; @@ -8434,46 +5838,18 @@ export enum Supply_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Supply_Stddev_Fields = { - __typename?: 'supply_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Supply_Stddev_Pop_Fields = { - __typename?: 'supply_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Supply_Stddev_Samp_Fields = { - __typename?: 'supply_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Supply_Sum_Fields = { - __typename?: 'supply_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Supply_Var_Pop_Fields = { - __typename?: 'supply_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Supply_Var_Samp_Fields = { - __typename?: 'supply_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "supply" */ +export type Supply_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Supply_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Supply_Variance_Fields = { - __typename?: 'supply_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Supply_Stream_Cursor_Value_Input = { + coins?: InputMaybe; + height?: InputMaybe; }; /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ @@ -8489,27 +5865,12 @@ export type Timestamp_Comparison_Exp = { _nin?: InputMaybe>; }; -/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ -export type Timestamptz_Comparison_Exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - /** columns and relationships of "token" */ export type Token = { __typename?: 'token'; name: Scalars['String']; /** An array relationship */ token_units: Array; - /** An aggregate relationship */ - token_units_aggregate: Token_Unit_Aggregate; }; @@ -8522,38 +5883,6 @@ export type TokenToken_UnitsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "token" */ -export type TokenToken_Units_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "token" */ -export type Token_Aggregate = { - __typename?: 'token_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token" */ -export type Token_Aggregate_Fields = { - __typename?: 'token_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "token" */ -export type Token_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "token". All fields are combined with a logical 'AND'. */ export type Token_Bool_Exp = { _and?: InputMaybe>; @@ -8563,18 +5892,6 @@ export type Token_Bool_Exp = { token_units?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Max_Fields = { - __typename?: 'token_max_fields'; - name?: Maybe; -}; - -/** aggregate min on columns */ -export type Token_Min_Fields = { - __typename?: 'token_min_fields'; - name?: Maybe; -}; - /** Ordering options when selecting data from "token". */ export type Token_Order_By = { name?: InputMaybe; @@ -8584,7 +5901,6 @@ export type Token_Order_By = { /** columns and relationships of "token_price" */ export type Token_Price = { __typename?: 'token_price'; - id: Scalars['Int']; market_cap: Scalars['bigint']; price: Scalars['numeric']; timestamp: Scalars['timestamp']; @@ -8593,36 +5909,6 @@ export type Token_Price = { unit_name: Scalars['String']; }; -/** aggregated selection of "token_price" */ -export type Token_Price_Aggregate = { - __typename?: 'token_price_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token_price" */ -export type Token_Price_Aggregate_Fields = { - __typename?: 'token_price_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "token_price" */ -export type Token_Price_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "token_price" */ export type Token_Price_Aggregate_Order_By = { avg?: InputMaybe; @@ -8638,17 +5924,8 @@ export type Token_Price_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Token_Price_Avg_Fields = { - __typename?: 'token_price_avg_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by avg() on columns of table "token_price" */ export type Token_Price_Avg_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; @@ -8658,7 +5935,6 @@ export type Token_Price_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; timestamp?: InputMaybe; @@ -8677,36 +5953,6 @@ export type Token_Price_History = { unit_name: Scalars['String']; }; -/** aggregated selection of "token_price_history" */ -export type Token_Price_History_Aggregate = { - __typename?: 'token_price_history_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token_price_history" */ -export type Token_Price_History_Aggregate_Fields = { - __typename?: 'token_price_history_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "token_price_history" */ -export type Token_Price_History_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "token_price_history" */ export type Token_Price_History_Aggregate_Order_By = { avg?: InputMaybe; @@ -8722,13 +5968,6 @@ export type Token_Price_History_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Token_Price_History_Avg_Fields = { - __typename?: 'token_price_history_avg_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by avg() on columns of table "token_price_history" */ export type Token_Price_History_Avg_Order_By = { market_cap?: InputMaybe; @@ -8747,15 +5986,6 @@ export type Token_Price_History_Bool_Exp = { unit_name?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Price_History_Max_Fields = { - __typename?: 'token_price_history_max_fields'; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by max() on columns of table "token_price_history" */ export type Token_Price_History_Max_Order_By = { market_cap?: InputMaybe; @@ -8764,15 +5994,6 @@ export type Token_Price_History_Max_Order_By = { unit_name?: InputMaybe; }; -/** aggregate min on columns */ -export type Token_Price_History_Min_Fields = { - __typename?: 'token_price_history_min_fields'; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by min() on columns of table "token_price_history" */ export type Token_Price_History_Min_Order_By = { market_cap?: InputMaybe; @@ -8802,50 +6023,38 @@ export enum Token_Price_History_Select_Column { UnitName = 'unit_name' } -/** aggregate stddev on columns */ -export type Token_Price_History_Stddev_Fields = { - __typename?: 'token_price_history_stddev_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev() on columns of table "token_price_history" */ export type Token_Price_History_Stddev_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Token_Price_History_Stddev_Pop_Fields = { - __typename?: 'token_price_history_stddev_pop_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_pop() on columns of table "token_price_history" */ export type Token_Price_History_Stddev_Pop_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Token_Price_History_Stddev_Samp_Fields = { - __typename?: 'token_price_history_stddev_samp_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_samp() on columns of table "token_price_history" */ export type Token_Price_History_Stddev_Samp_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate sum on columns */ -export type Token_Price_History_Sum_Fields = { - __typename?: 'token_price_history_sum_fields'; - market_cap?: Maybe; - price?: Maybe; +/** Streaming cursor of the table "token_price_history" */ +export type Token_Price_History_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Price_History_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Price_History_Stream_Cursor_Value_Input = { + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; }; /** order by sum() on columns of table "token_price_history" */ @@ -8854,77 +6063,34 @@ export type Token_Price_History_Sum_Order_By = { price?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Token_Price_History_Var_Pop_Fields = { - __typename?: 'token_price_history_var_pop_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_pop() on columns of table "token_price_history" */ export type Token_Price_History_Var_Pop_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Token_Price_History_Var_Samp_Fields = { - __typename?: 'token_price_history_var_samp_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_samp() on columns of table "token_price_history" */ export type Token_Price_History_Var_Samp_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate variance on columns */ -export type Token_Price_History_Variance_Fields = { - __typename?: 'token_price_history_variance_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by variance() on columns of table "token_price_history" */ export type Token_Price_History_Variance_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Price_Max_Fields = { - __typename?: 'token_price_max_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by max() on columns of table "token_price" */ export type Token_Price_Max_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; timestamp?: InputMaybe; unit_name?: InputMaybe; }; -/** aggregate min on columns */ -export type Token_Price_Min_Fields = { - __typename?: 'token_price_min_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by min() on columns of table "token_price" */ export type Token_Price_Min_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; timestamp?: InputMaybe; @@ -8933,7 +6099,6 @@ export type Token_Price_Min_Order_By = { /** Ordering options when selecting data from "token_price". */ export type Token_Price_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; timestamp?: InputMaybe; @@ -8943,8 +6108,6 @@ export type Token_Price_Order_By = { /** select columns of table "token_price" */ export enum Token_Price_Select_Column { - /** column name */ - Id = 'id', /** column name */ MarketCap = 'market_cap', /** column name */ @@ -8955,107 +6118,60 @@ export enum Token_Price_Select_Column { UnitName = 'unit_name' } -/** aggregate stddev on columns */ -export type Token_Price_Stddev_Fields = { - __typename?: 'token_price_stddev_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev() on columns of table "token_price" */ export type Token_Price_Stddev_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Token_Price_Stddev_Pop_Fields = { - __typename?: 'token_price_stddev_pop_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_pop() on columns of table "token_price" */ export type Token_Price_Stddev_Pop_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Token_Price_Stddev_Samp_Fields = { - __typename?: 'token_price_stddev_samp_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_samp() on columns of table "token_price" */ export type Token_Price_Stddev_Samp_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate sum on columns */ -export type Token_Price_Sum_Fields = { - __typename?: 'token_price_sum_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; +/** Streaming cursor of the table "token_price" */ +export type Token_Price_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Price_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Price_Stream_Cursor_Value_Input = { + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; }; /** order by sum() on columns of table "token_price" */ export type Token_Price_Sum_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Token_Price_Var_Pop_Fields = { - __typename?: 'token_price_var_pop_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_pop() on columns of table "token_price" */ export type Token_Price_Var_Pop_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Token_Price_Var_Samp_Fields = { - __typename?: 'token_price_var_samp_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_samp() on columns of table "token_price" */ export type Token_Price_Var_Samp_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate variance on columns */ -export type Token_Price_Variance_Fields = { - __typename?: 'token_price_variance_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by variance() on columns of table "token_price" */ export type Token_Price_Variance_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; @@ -9066,6 +6182,19 @@ export enum Token_Select_Column { Name = 'name' } +/** Streaming cursor of the table "token" */ +export type Token_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Stream_Cursor_Value_Input = { + name?: InputMaybe; +}; + /** columns and relationships of "token_unit" */ export type Token_Unit = { __typename?: 'token_unit'; @@ -9080,12 +6209,8 @@ export type Token_Unit = { token_price?: Maybe; /** An array relationship */ token_price_histories: Array; - /** An aggregate relationship */ - token_price_histories_aggregate: Token_Price_History_Aggregate; /** An array relationship */ token_prices: Array; - /** An aggregate relationship */ - token_prices_aggregate: Token_Price_Aggregate; }; @@ -9099,16 +6224,6 @@ export type Token_UnitToken_Price_HistoriesArgs = { }; -/** columns and relationships of "token_unit" */ -export type Token_UnitToken_Price_Histories_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "token_unit" */ export type Token_UnitToken_PricesArgs = { distinct_on?: InputMaybe>; @@ -9118,46 +6233,6 @@ export type Token_UnitToken_PricesArgs = { where?: InputMaybe; }; - -/** columns and relationships of "token_unit" */ -export type Token_UnitToken_Prices_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "token_unit" */ -export type Token_Unit_Aggregate = { - __typename?: 'token_unit_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token_unit" */ -export type Token_Unit_Aggregate_Fields = { - __typename?: 'token_unit_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "token_unit" */ -export type Token_Unit_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "token_unit" */ export type Token_Unit_Aggregate_Order_By = { avg?: InputMaybe; @@ -9173,12 +6248,6 @@ export type Token_Unit_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Token_Unit_Avg_Fields = { - __typename?: 'token_unit_avg_fields'; - exponent?: Maybe; -}; - /** order by avg() on columns of table "token_unit" */ export type Token_Unit_Avg_Order_By = { exponent?: InputMaybe; @@ -9200,15 +6269,6 @@ export type Token_Unit_Bool_Exp = { token_prices?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Unit_Max_Fields = { - __typename?: 'token_unit_max_fields'; - denom?: Maybe; - exponent?: Maybe; - price_id?: Maybe; - token_name?: Maybe; -}; - /** order by max() on columns of table "token_unit" */ export type Token_Unit_Max_Order_By = { denom?: InputMaybe; @@ -9217,15 +6277,6 @@ export type Token_Unit_Max_Order_By = { token_name?: InputMaybe; }; -/** aggregate min on columns */ -export type Token_Unit_Min_Fields = { - __typename?: 'token_unit_min_fields'; - denom?: Maybe; - exponent?: Maybe; - price_id?: Maybe; - token_name?: Maybe; -}; - /** order by min() on columns of table "token_unit" */ export type Token_Unit_Min_Order_By = { denom?: InputMaybe; @@ -9261,43 +6312,36 @@ export enum Token_Unit_Select_Column { TokenName = 'token_name' } -/** aggregate stddev on columns */ -export type Token_Unit_Stddev_Fields = { - __typename?: 'token_unit_stddev_fields'; - exponent?: Maybe; -}; - /** order by stddev() on columns of table "token_unit" */ export type Token_Unit_Stddev_Order_By = { exponent?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Token_Unit_Stddev_Pop_Fields = { - __typename?: 'token_unit_stddev_pop_fields'; - exponent?: Maybe; -}; - /** order by stddev_pop() on columns of table "token_unit" */ export type Token_Unit_Stddev_Pop_Order_By = { exponent?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Token_Unit_Stddev_Samp_Fields = { - __typename?: 'token_unit_stddev_samp_fields'; - exponent?: Maybe; -}; - /** order by stddev_samp() on columns of table "token_unit" */ export type Token_Unit_Stddev_Samp_Order_By = { exponent?: InputMaybe; }; -/** aggregate sum on columns */ -export type Token_Unit_Sum_Fields = { - __typename?: 'token_unit_sum_fields'; - exponent?: Maybe; +/** Streaming cursor of the table "token_unit" */ +export type Token_Unit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Unit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Unit_Stream_Cursor_Value_Input = { + aliases?: InputMaybe; + denom?: InputMaybe; + exponent?: InputMaybe; + price_id?: InputMaybe; + token_name?: InputMaybe; }; /** order by sum() on columns of table "token_unit" */ @@ -9305,34 +6349,16 @@ export type Token_Unit_Sum_Order_By = { exponent?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Token_Unit_Var_Pop_Fields = { - __typename?: 'token_unit_var_pop_fields'; - exponent?: Maybe; -}; - /** order by var_pop() on columns of table "token_unit" */ export type Token_Unit_Var_Pop_Order_By = { exponent?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Token_Unit_Var_Samp_Fields = { - __typename?: 'token_unit_var_samp_fields'; - exponent?: Maybe; -}; - /** order by var_samp() on columns of table "token_unit" */ export type Token_Unit_Var_Samp_Order_By = { exponent?: InputMaybe; }; -/** aggregate variance on columns */ -export type Token_Unit_Variance_Fields = { - __typename?: 'token_unit_variance_fields'; - exponent?: Maybe; -}; - /** order by variance() on columns of table "token_unit" */ export type Token_Unit_Variance_Order_By = { exponent?: InputMaybe; @@ -9352,10 +6378,7 @@ export type Transaction = { memo?: Maybe; messages: Scalars['jsonb']; /** An array relationship */ - messagesByTransactionHashPartitionId: Array; - /** An aggregate relationship */ - messagesByTransactionHashPartitionId_aggregate: Message_Aggregate; - partition_id: Scalars['bigint']; + messagesByPartitionIdTransactionHash: Array; raw_log?: Maybe; signatures: Scalars['_text']; signer_infos: Scalars['jsonb']; @@ -9382,17 +6405,7 @@ export type TransactionMessagesArgs = { /** columns and relationships of "transaction" */ -export type TransactionMessagesByTransactionHashPartitionIdArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "transaction" */ -export type TransactionMessagesByTransactionHashPartitionId_AggregateArgs = { +export type TransactionMessagesByPartitionIdTransactionHashArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -9406,36 +6419,6 @@ export type TransactionSigner_InfosArgs = { path?: InputMaybe; }; -/** aggregated selection of "transaction" */ -export type Transaction_Aggregate = { - __typename?: 'transaction_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "transaction" */ -export type Transaction_Aggregate_Fields = { - __typename?: 'transaction_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "transaction" */ -export type Transaction_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "transaction" */ export type Transaction_Aggregate_Order_By = { avg?: InputMaybe; @@ -9451,21 +6434,11 @@ export type Transaction_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Transaction_Avg_Fields = { - __typename?: 'transaction_avg_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; -}; - /** order by avg() on columns of table "transaction" */ export type Transaction_Avg_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; }; /** Boolean expression to filter rows from the table "transaction". All fields are combined with a logical 'AND'. */ @@ -9482,26 +6455,13 @@ export type Transaction_Bool_Exp = { logs?: InputMaybe; memo?: InputMaybe; messages?: InputMaybe; - messagesByTransactionHashPartitionId?: InputMaybe; - partition_id?: InputMaybe; + messagesByPartitionIdTransactionHash?: InputMaybe; raw_log?: InputMaybe; signatures?: InputMaybe<_Text_Comparison_Exp>; signer_infos?: InputMaybe; success?: InputMaybe; }; -/** aggregate max on columns */ -export type Transaction_Max_Fields = { - __typename?: 'transaction_max_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - hash?: Maybe; - height?: Maybe; - memo?: Maybe; - partition_id?: Maybe; - raw_log?: Maybe; -}; - /** order by max() on columns of table "transaction" */ export type Transaction_Max_Order_By = { gas_used?: InputMaybe; @@ -9509,22 +6469,9 @@ export type Transaction_Max_Order_By = { hash?: InputMaybe; height?: InputMaybe; memo?: InputMaybe; - partition_id?: InputMaybe; raw_log?: InputMaybe; }; -/** aggregate min on columns */ -export type Transaction_Min_Fields = { - __typename?: 'transaction_min_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - hash?: Maybe; - height?: Maybe; - memo?: Maybe; - partition_id?: Maybe; - raw_log?: Maybe; -}; - /** order by min() on columns of table "transaction" */ export type Transaction_Min_Order_By = { gas_used?: InputMaybe; @@ -9532,7 +6479,6 @@ export type Transaction_Min_Order_By = { hash?: InputMaybe; height?: InputMaybe; memo?: InputMaybe; - partition_id?: InputMaybe; raw_log?: InputMaybe; }; @@ -9547,8 +6493,7 @@ export type Transaction_Order_By = { logs?: InputMaybe; memo?: InputMaybe; messages?: InputMaybe; - messagesByTransactionHashPartitionId_aggregate?: InputMaybe; - partition_id?: InputMaybe; + messagesByPartitionIdTransactionHash_aggregate?: InputMaybe; raw_log?: InputMaybe; signatures?: InputMaybe; signer_infos?: InputMaybe; @@ -9574,8 +6519,6 @@ export enum Transaction_Select_Column { /** column name */ Messages = 'messages', /** column name */ - PartitionId = 'partition_id', - /** column name */ RawLog = 'raw_log', /** column name */ Signatures = 'signatures', @@ -9585,30 +6528,11 @@ export enum Transaction_Select_Column { Success = 'success' } -/** aggregate stddev on columns */ -export type Transaction_Stddev_Fields = { - __typename?: 'transaction_stddev_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; -}; - /** order by stddev() on columns of table "transaction" */ export type Transaction_Stddev_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Transaction_Stddev_Pop_Fields = { - __typename?: 'transaction_stddev_pop_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by stddev_pop() on columns of table "transaction" */ @@ -9616,16 +6540,6 @@ export type Transaction_Stddev_Pop_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate stddev_samp on columns */ -export type Transaction_Stddev_Samp_Fields = { - __typename?: 'transaction_stddev_samp_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by stddev_samp() on columns of table "transaction" */ @@ -9633,16 +6547,30 @@ export type Transaction_Stddev_Samp_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Transaction_Sum_Fields = { - __typename?: 'transaction_sum_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; +/** Streaming cursor of the table "transaction" */ +export type Transaction_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Transaction_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Transaction_Stream_Cursor_Value_Input = { + fee?: InputMaybe; + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + logs?: InputMaybe; + memo?: InputMaybe; + messages?: InputMaybe; + raw_log?: InputMaybe; + signatures?: InputMaybe; + signer_infos?: InputMaybe; + success?: InputMaybe; }; /** order by sum() on columns of table "transaction" */ @@ -9650,16 +6578,6 @@ export type Transaction_Sum_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate var_pop on columns */ -export type Transaction_Var_Pop_Fields = { - __typename?: 'transaction_var_pop_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by var_pop() on columns of table "transaction" */ @@ -9667,16 +6585,6 @@ export type Transaction_Var_Pop_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Transaction_Var_Samp_Fields = { - __typename?: 'transaction_var_samp_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by var_samp() on columns of table "transaction" */ @@ -9684,16 +6592,6 @@ export type Transaction_Var_Samp_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type Transaction_Variance_Fields = { - __typename?: 'transaction_variance_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by variance() on columns of table "transaction" */ @@ -9701,7 +6599,6 @@ export type Transaction_Variance_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; }; /** columns and relationships of "validator" */ @@ -9709,14 +6606,10 @@ export type Validator = { __typename?: 'validator'; /** An array relationship */ blocks: Array; - /** An aggregate relationship */ - blocks_aggregate: Block_Aggregate; consensus_address: Scalars['String']; consensus_pubkey: Scalars['String']; /** An array relationship */ double_sign_votes: Array; - /** An aggregate relationship */ - double_sign_votes_aggregate: Double_Sign_Vote_Aggregate; /** An array relationship */ pre_commits: Array; /** An aggregate relationship */ @@ -9725,26 +6618,16 @@ export type Validator = { proposal_validator_status_snapshot?: Maybe; /** An array relationship */ proposal_validator_status_snapshots: Array; - /** An aggregate relationship */ - proposal_validator_status_snapshots_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; /** An array relationship */ validator_commissions: Array; - /** An aggregate relationship */ - validator_commissions_aggregate: Validator_Commission_Aggregate; /** An array relationship */ validator_descriptions: Array; - /** An aggregate relationship */ - validator_descriptions_aggregate: Validator_Description_Aggregate; /** An object relationship */ validator_info?: Maybe; /** An array relationship */ validator_infos: Array; - /** An aggregate relationship */ - validator_infos_aggregate: Validator_Info_Aggregate; /** An array relationship */ validator_signing_infos: Array; - /** An aggregate relationship */ - validator_signing_infos_aggregate: Validator_Signing_Info_Aggregate; /** An array relationship */ validator_statuses: Array; /** An aggregate relationship */ @@ -9766,16 +6649,6 @@ export type ValidatorBlocksArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorBlocks_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorDouble_Sign_VotesArgs = { distinct_on?: InputMaybe>; @@ -9786,16 +6659,6 @@ export type ValidatorDouble_Sign_VotesArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorDouble_Sign_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorPre_CommitsArgs = { distinct_on?: InputMaybe>; @@ -9826,16 +6689,6 @@ export type ValidatorProposal_Validator_Status_SnapshotsArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorProposal_Validator_Status_Snapshots_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_CommissionsArgs = { distinct_on?: InputMaybe>; @@ -9846,16 +6699,6 @@ export type ValidatorValidator_CommissionsArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorValidator_Commissions_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_DescriptionsArgs = { distinct_on?: InputMaybe>; @@ -9866,16 +6709,6 @@ export type ValidatorValidator_DescriptionsArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorValidator_Descriptions_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_InfosArgs = { distinct_on?: InputMaybe>; @@ -9886,16 +6719,6 @@ export type ValidatorValidator_InfosArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorValidator_Infos_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_Signing_InfosArgs = { distinct_on?: InputMaybe>; @@ -9906,16 +6729,6 @@ export type ValidatorValidator_Signing_InfosArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorValidator_Signing_Infos_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_StatusesArgs = { distinct_on?: InputMaybe>; @@ -9955,28 +6768,6 @@ export type ValidatorValidator_Voting_Powers_AggregateArgs = { where?: InputMaybe; }; -/** aggregated selection of "validator" */ -export type Validator_Aggregate = { - __typename?: 'validator_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator" */ -export type Validator_Aggregate_Fields = { - __typename?: 'validator_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "validator" */ -export type Validator_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "validator". All fields are combined with a logical 'AND'. */ export type Validator_Bool_Exp = { _and?: InputMaybe>; @@ -9987,6 +6778,7 @@ export type Validator_Bool_Exp = { consensus_pubkey?: InputMaybe; double_sign_votes?: InputMaybe; pre_commits?: InputMaybe; + pre_commits_aggregate?: InputMaybe; proposal_validator_status_snapshot?: InputMaybe; proposal_validator_status_snapshots?: InputMaybe; validator_commissions?: InputMaybe; @@ -9995,7 +6787,9 @@ export type Validator_Bool_Exp = { validator_infos?: InputMaybe; validator_signing_infos?: InputMaybe; validator_statuses?: InputMaybe; + validator_statuses_aggregate?: InputMaybe; validator_voting_powers?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; }; /** columns and relationships of "validator_commission" */ @@ -10009,36 +6803,6 @@ export type Validator_Commission = { validator_address: Scalars['String']; }; -/** aggregated selection of "validator_commission" */ -export type Validator_Commission_Aggregate = { - __typename?: 'validator_commission_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_commission" */ -export type Validator_Commission_Aggregate_Fields = { - __typename?: 'validator_commission_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_commission" */ -export type Validator_Commission_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_commission" */ export type Validator_Commission_Aggregate_Order_By = { avg?: InputMaybe; @@ -10054,14 +6818,6 @@ export type Validator_Commission_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Validator_Commission_Avg_Fields = { - __typename?: 'validator_commission_avg_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by avg() on columns of table "validator_commission" */ export type Validator_Commission_Avg_Order_By = { commission?: InputMaybe; @@ -10081,15 +6837,6 @@ export type Validator_Commission_Bool_Exp = { validator_address?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Commission_Max_Fields = { - __typename?: 'validator_commission_max_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; - validator_address?: Maybe; -}; - /** order by max() on columns of table "validator_commission" */ export type Validator_Commission_Max_Order_By = { commission?: InputMaybe; @@ -10098,15 +6845,6 @@ export type Validator_Commission_Max_Order_By = { validator_address?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Commission_Min_Fields = { - __typename?: 'validator_commission_min_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; - validator_address?: Maybe; -}; - /** order by min() on columns of table "validator_commission" */ export type Validator_Commission_Min_Order_By = { commission?: InputMaybe; @@ -10136,14 +6874,6 @@ export enum Validator_Commission_Select_Column { ValidatorAddress = 'validator_address' } -/** aggregate stddev on columns */ -export type Validator_Commission_Stddev_Fields = { - __typename?: 'validator_commission_stddev_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by stddev() on columns of table "validator_commission" */ export type Validator_Commission_Stddev_Order_By = { commission?: InputMaybe; @@ -10151,14 +6881,6 @@ export type Validator_Commission_Stddev_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Validator_Commission_Stddev_Pop_Fields = { - __typename?: 'validator_commission_stddev_pop_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by stddev_pop() on columns of table "validator_commission" */ export type Validator_Commission_Stddev_Pop_Order_By = { commission?: InputMaybe; @@ -10166,14 +6888,6 @@ export type Validator_Commission_Stddev_Pop_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Validator_Commission_Stddev_Samp_Fields = { - __typename?: 'validator_commission_stddev_samp_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by stddev_samp() on columns of table "validator_commission" */ export type Validator_Commission_Stddev_Samp_Order_By = { commission?: InputMaybe; @@ -10181,12 +6895,20 @@ export type Validator_Commission_Stddev_Samp_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate sum on columns */ -export type Validator_Commission_Sum_Fields = { - __typename?: 'validator_commission_sum_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; +/** Streaming cursor of the table "validator_commission" */ +export type Validator_Commission_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Commission_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Commission_Stream_Cursor_Value_Input = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator_address?: InputMaybe; }; /** order by sum() on columns of table "validator_commission" */ @@ -10196,14 +6918,6 @@ export type Validator_Commission_Sum_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Validator_Commission_Var_Pop_Fields = { - __typename?: 'validator_commission_var_pop_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by var_pop() on columns of table "validator_commission" */ export type Validator_Commission_Var_Pop_Order_By = { commission?: InputMaybe; @@ -10211,14 +6925,6 @@ export type Validator_Commission_Var_Pop_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Validator_Commission_Var_Samp_Fields = { - __typename?: 'validator_commission_var_samp_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by var_samp() on columns of table "validator_commission" */ export type Validator_Commission_Var_Samp_Order_By = { commission?: InputMaybe; @@ -10226,14 +6932,6 @@ export type Validator_Commission_Var_Samp_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Commission_Variance_Fields = { - __typename?: 'validator_commission_variance_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by variance() on columns of table "validator_commission" */ export type Validator_Commission_Variance_Order_By = { commission?: InputMaybe; @@ -10256,36 +6954,6 @@ export type Validator_Description = { website?: Maybe; }; -/** aggregated selection of "validator_description" */ -export type Validator_Description_Aggregate = { - __typename?: 'validator_description_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_description" */ -export type Validator_Description_Aggregate_Fields = { - __typename?: 'validator_description_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_description" */ -export type Validator_Description_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_description" */ export type Validator_Description_Aggregate_Order_By = { avg?: InputMaybe; @@ -10301,12 +6969,6 @@ export type Validator_Description_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Validator_Description_Avg_Fields = { - __typename?: 'validator_description_avg_fields'; - height?: Maybe; -}; - /** order by avg() on columns of table "validator_description" */ export type Validator_Description_Avg_Order_By = { height?: InputMaybe; @@ -10328,19 +6990,6 @@ export type Validator_Description_Bool_Exp = { website?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Description_Max_Fields = { - __typename?: 'validator_description_max_fields'; - avatar_url?: Maybe; - details?: Maybe; - height?: Maybe; - identity?: Maybe; - moniker?: Maybe; - security_contact?: Maybe; - validator_address?: Maybe; - website?: Maybe; -}; - /** order by max() on columns of table "validator_description" */ export type Validator_Description_Max_Order_By = { avatar_url?: InputMaybe; @@ -10353,19 +7002,6 @@ export type Validator_Description_Max_Order_By = { website?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Description_Min_Fields = { - __typename?: 'validator_description_min_fields'; - avatar_url?: Maybe; - details?: Maybe; - height?: Maybe; - identity?: Maybe; - moniker?: Maybe; - security_contact?: Maybe; - validator_address?: Maybe; - website?: Maybe; -}; - /** order by min() on columns of table "validator_description" */ export type Validator_Description_Min_Order_By = { avatar_url?: InputMaybe; @@ -10411,43 +7047,39 @@ export enum Validator_Description_Select_Column { Website = 'website' } -/** aggregate stddev on columns */ -export type Validator_Description_Stddev_Fields = { - __typename?: 'validator_description_stddev_fields'; - height?: Maybe; -}; - /** order by stddev() on columns of table "validator_description" */ export type Validator_Description_Stddev_Order_By = { height?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Validator_Description_Stddev_Pop_Fields = { - __typename?: 'validator_description_stddev_pop_fields'; - height?: Maybe; -}; - /** order by stddev_pop() on columns of table "validator_description" */ export type Validator_Description_Stddev_Pop_Order_By = { height?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Validator_Description_Stddev_Samp_Fields = { - __typename?: 'validator_description_stddev_samp_fields'; - height?: Maybe; -}; - /** order by stddev_samp() on columns of table "validator_description" */ export type Validator_Description_Stddev_Samp_Order_By = { height?: InputMaybe; }; -/** aggregate sum on columns */ -export type Validator_Description_Sum_Fields = { - __typename?: 'validator_description_sum_fields'; - height?: Maybe; +/** Streaming cursor of the table "validator_description" */ +export type Validator_Description_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Description_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Description_Stream_Cursor_Value_Input = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; }; /** order by sum() on columns of table "validator_description" */ @@ -10455,34 +7087,16 @@ export type Validator_Description_Sum_Order_By = { height?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Validator_Description_Var_Pop_Fields = { - __typename?: 'validator_description_var_pop_fields'; - height?: Maybe; -}; - /** order by var_pop() on columns of table "validator_description" */ export type Validator_Description_Var_Pop_Order_By = { height?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Validator_Description_Var_Samp_Fields = { - __typename?: 'validator_description_var_samp_fields'; - height?: Maybe; -}; - /** order by var_samp() on columns of table "validator_description" */ export type Validator_Description_Var_Samp_Order_By = { height?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Description_Variance_Fields = { - __typename?: 'validator_description_variance_fields'; - height?: Maybe; -}; - /** order by variance() on columns of table "validator_description" */ export type Validator_Description_Variance_Order_By = { height?: InputMaybe; @@ -10502,28 +7116,6 @@ export type Validator_Info = { validator: Validator; }; -/** aggregated selection of "validator_info" */ -export type Validator_Info_Aggregate = { - __typename?: 'validator_info_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_info" */ -export type Validator_Info_Aggregate_Fields = { - __typename?: 'validator_info_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "validator_info" */ -export type Validator_Info_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_info" */ export type Validator_Info_Aggregate_Order_By = { count?: InputMaybe; @@ -10545,16 +7137,6 @@ export type Validator_Info_Bool_Exp = { validator?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Info_Max_Fields = { - __typename?: 'validator_info_max_fields'; - consensus_address?: Maybe; - max_change_rate?: Maybe; - max_rate?: Maybe; - operator_address?: Maybe; - self_delegate_address?: Maybe; -}; - /** order by max() on columns of table "validator_info" */ export type Validator_Info_Max_Order_By = { consensus_address?: InputMaybe; @@ -10564,16 +7146,6 @@ export type Validator_Info_Max_Order_By = { self_delegate_address?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Info_Min_Fields = { - __typename?: 'validator_info_min_fields'; - consensus_address?: Maybe; - max_change_rate?: Maybe; - max_rate?: Maybe; - operator_address?: Maybe; - self_delegate_address?: Maybe; -}; - /** order by min() on columns of table "validator_info" */ export type Validator_Info_Min_Order_By = { consensus_address?: InputMaybe; @@ -10608,18 +7180,21 @@ export enum Validator_Info_Select_Column { SelfDelegateAddress = 'self_delegate_address' } -/** aggregate max on columns */ -export type Validator_Max_Fields = { - __typename?: 'validator_max_fields'; - consensus_address?: Maybe; - consensus_pubkey?: Maybe; +/** Streaming cursor of the table "validator_info" */ +export type Validator_Info_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Info_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Min_Fields = { - __typename?: 'validator_min_fields'; - consensus_address?: Maybe; - consensus_pubkey?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Validator_Info_Stream_Cursor_Value_Input = { + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; }; /** Ordering options when selecting data from "validator". */ @@ -10660,36 +7235,6 @@ export type Validator_Signing_Info = { validator_address: Scalars['String']; }; -/** aggregated selection of "validator_signing_info" */ -export type Validator_Signing_Info_Aggregate = { - __typename?: 'validator_signing_info_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_signing_info" */ -export type Validator_Signing_Info_Aggregate_Fields = { - __typename?: 'validator_signing_info_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_signing_info" */ -export type Validator_Signing_Info_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_signing_info" */ export type Validator_Signing_Info_Aggregate_Order_By = { avg?: InputMaybe; @@ -10705,15 +7250,6 @@ export type Validator_Signing_Info_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Validator_Signing_Info_Avg_Fields = { - __typename?: 'validator_signing_info_avg_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by avg() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Avg_Order_By = { height?: InputMaybe; @@ -10736,17 +7272,6 @@ export type Validator_Signing_Info_Bool_Exp = { validator_address?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Signing_Info_Max_Fields = { - __typename?: 'validator_signing_info_max_fields'; - height?: Maybe; - index_offset?: Maybe; - jailed_until?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; - validator_address?: Maybe; -}; - /** order by max() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Max_Order_By = { height?: InputMaybe; @@ -10757,17 +7282,6 @@ export type Validator_Signing_Info_Max_Order_By = { validator_address?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Signing_Info_Min_Fields = { - __typename?: 'validator_signing_info_min_fields'; - height?: Maybe; - index_offset?: Maybe; - jailed_until?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; - validator_address?: Maybe; -}; - /** order by min() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Min_Order_By = { height?: InputMaybe; @@ -10807,15 +7321,6 @@ export enum Validator_Signing_Info_Select_Column { ValidatorAddress = 'validator_address' } -/** aggregate stddev on columns */ -export type Validator_Signing_Info_Stddev_Fields = { - __typename?: 'validator_signing_info_stddev_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by stddev() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Stddev_Order_By = { height?: InputMaybe; @@ -10824,15 +7329,6 @@ export type Validator_Signing_Info_Stddev_Order_By = { start_height?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Validator_Signing_Info_Stddev_Pop_Fields = { - __typename?: 'validator_signing_info_stddev_pop_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by stddev_pop() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Stddev_Pop_Order_By = { height?: InputMaybe; @@ -10841,15 +7337,6 @@ export type Validator_Signing_Info_Stddev_Pop_Order_By = { start_height?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Validator_Signing_Info_Stddev_Samp_Fields = { - __typename?: 'validator_signing_info_stddev_samp_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by stddev_samp() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -10858,13 +7345,23 @@ export type Validator_Signing_Info_Stddev_Samp_Order_By = { start_height?: InputMaybe; }; -/** aggregate sum on columns */ -export type Validator_Signing_Info_Sum_Fields = { - __typename?: 'validator_signing_info_sum_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; +/** Streaming cursor of the table "validator_signing_info" */ +export type Validator_Signing_Info_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Signing_Info_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Signing_Info_Stream_Cursor_Value_Input = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + tombstoned?: InputMaybe; + validator_address?: InputMaybe; }; /** order by sum() on columns of table "validator_signing_info" */ @@ -10875,15 +7372,6 @@ export type Validator_Signing_Info_Sum_Order_By = { start_height?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Validator_Signing_Info_Var_Pop_Fields = { - __typename?: 'validator_signing_info_var_pop_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by var_pop() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Var_Pop_Order_By = { height?: InputMaybe; @@ -10892,15 +7380,6 @@ export type Validator_Signing_Info_Var_Pop_Order_By = { start_height?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Validator_Signing_Info_Var_Samp_Fields = { - __typename?: 'validator_signing_info_var_samp_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by var_samp() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Var_Samp_Order_By = { height?: InputMaybe; @@ -10909,15 +7388,6 @@ export type Validator_Signing_Info_Var_Samp_Order_By = { start_height?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Signing_Info_Variance_Fields = { - __typename?: 'validator_signing_info_variance_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by variance() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Variance_Order_By = { height?: InputMaybe; @@ -10932,7 +7402,6 @@ export type Validator_Status = { height: Scalars['bigint']; jailed: Scalars['Boolean']; status: Scalars['Int']; - tombstoned: Scalars['Boolean']; /** An object relationship */ validator: Validator; validator_address: Scalars['String']; @@ -10945,6 +7414,33 @@ export type Validator_Status_Aggregate = { nodes: Array; }; +export type Validator_Status_Aggregate_Bool_Exp = { + bool_and?: InputMaybe; + bool_or?: InputMaybe; + count?: InputMaybe; +}; + +export type Validator_Status_Aggregate_Bool_Exp_Bool_And = { + arguments: Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_And_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Validator_Status_Aggregate_Bool_Exp_Bool_Or = { + arguments: Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Validator_Status_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "validator_status" */ export type Validator_Status_Aggregate_Fields = { __typename?: 'validator_status_aggregate_fields'; @@ -11004,7 +7500,6 @@ export type Validator_Status_Bool_Exp = { height?: InputMaybe; jailed?: InputMaybe; status?: InputMaybe; - tombstoned?: InputMaybe; validator?: InputMaybe; validator_address?: InputMaybe; }; @@ -11044,7 +7539,6 @@ export type Validator_Status_Order_By = { height?: InputMaybe; jailed?: InputMaybe; status?: InputMaybe; - tombstoned?: InputMaybe; validator?: InputMaybe; validator_address?: InputMaybe; }; @@ -11058,11 +7552,21 @@ export enum Validator_Status_Select_Column { /** column name */ Status = 'status', /** column name */ - Tombstoned = 'tombstoned', - /** column name */ ValidatorAddress = 'validator_address' } +/** select "validator_status_aggregate_bool_exp_bool_and_arguments_columns" columns of table "validator_status" */ +export enum Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_And_Arguments_Columns { + /** column name */ + Jailed = 'jailed' +} + +/** select "validator_status_aggregate_bool_exp_bool_or_arguments_columns" columns of table "validator_status" */ +export enum Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns { + /** column name */ + Jailed = 'jailed' +} + /** aggregate stddev on columns */ export type Validator_Status_Stddev_Fields = { __typename?: 'validator_status_stddev_fields'; @@ -11102,6 +7606,22 @@ export type Validator_Status_Stddev_Samp_Order_By = { status?: InputMaybe; }; +/** Streaming cursor of the table "validator_status" */ +export type Validator_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Status_Stream_Cursor_Value_Input = { + height?: InputMaybe; + jailed?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; +}; + /** aggregate sum on columns */ export type Validator_Status_Sum_Fields = { __typename?: 'validator_status_sum_fields'; @@ -11154,6 +7674,20 @@ export type Validator_Status_Variance_Order_By = { status?: InputMaybe; }; +/** Streaming cursor of the table "validator" */ +export type Validator_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Stream_Cursor_Value_Input = { + consensus_address?: InputMaybe; + consensus_pubkey?: InputMaybe; +}; + /** columns and relationships of "validator_voting_power" */ export type Validator_Voting_Power = { __typename?: 'validator_voting_power'; @@ -11173,9 +7707,20 @@ export type Validator_Voting_Power_Aggregate = { nodes: Array; }; -/** aggregate fields of "validator_voting_power" */ -export type Validator_Voting_Power_Aggregate_Fields = { - __typename?: 'validator_voting_power_aggregate_fields'; +export type Validator_Voting_Power_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Validator_Voting_Power_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "validator_voting_power" */ +export type Validator_Voting_Power_Aggregate_Fields = { + __typename?: 'validator_voting_power_aggregate_fields'; avg?: Maybe; count: Scalars['Int']; max?: Maybe; @@ -11324,6 +7869,21 @@ export type Validator_Voting_Power_Stddev_Samp_Order_By = { voting_power?: InputMaybe; }; +/** Streaming cursor of the table "validator_voting_power" */ +export type Validator_Voting_Power_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Voting_Power_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Voting_Power_Stream_Cursor_Value_Input = { + height?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + /** aggregate sum on columns */ export type Validator_Voting_Power_Sum_Fields = { __typename?: 'validator_voting_power_sum_fields'; @@ -11383,14 +7943,11 @@ export type Vesting_Account = { account: Account; address: Scalars['String']; end_time: Scalars['timestamp']; - id: Scalars['Int']; original_vesting: Scalars['_coin']; start_time?: Maybe; type: Scalars['String']; /** An array relationship */ vesting_periods: Array; - /** An aggregate relationship */ - vesting_periods_aggregate: Vesting_Period_Aggregate; }; @@ -11403,467 +7960,1204 @@ export type Vesting_AccountVesting_PeriodsArgs = { where?: InputMaybe; }; +/** order by aggregate values of table "vesting_account" */ +export type Vesting_Account_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "vesting_account". All fields are combined with a logical 'AND'. */ +export type Vesting_Account_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + address?: InputMaybe; + end_time?: InputMaybe; + original_vesting?: InputMaybe<_Coin_Comparison_Exp>; + start_time?: InputMaybe; + type?: InputMaybe; + vesting_periods?: InputMaybe; +}; + +/** order by max() on columns of table "vesting_account" */ +export type Vesting_Account_Max_Order_By = { + address?: InputMaybe; + end_time?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; +}; + +/** order by min() on columns of table "vesting_account" */ +export type Vesting_Account_Min_Order_By = { + address?: InputMaybe; + end_time?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; +}; + +/** Ordering options when selecting data from "vesting_account". */ +export type Vesting_Account_Order_By = { + account?: InputMaybe; + address?: InputMaybe; + end_time?: InputMaybe; + original_vesting?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; + vesting_periods_aggregate?: InputMaybe; +}; + +/** select columns of table "vesting_account" */ +export enum Vesting_Account_Select_Column { + /** column name */ + Address = 'address', + /** column name */ + EndTime = 'end_time', + /** column name */ + OriginalVesting = 'original_vesting', + /** column name */ + StartTime = 'start_time', + /** column name */ + Type = 'type' +} + +/** Streaming cursor of the table "vesting_account" */ +export type Vesting_Account_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Vesting_Account_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Vesting_Account_Stream_Cursor_Value_Input = { + address?: InputMaybe; + end_time?: InputMaybe; + original_vesting?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; +}; + +/** columns and relationships of "vesting_period" */ +export type Vesting_Period = { + __typename?: 'vesting_period'; + amount: Scalars['_coin']; + length: Scalars['bigint']; + period_order: Scalars['bigint']; + /** An object relationship */ + vesting_account: Vesting_Account; +}; + +/** order by aggregate values of table "vesting_period" */ +export type Vesting_Period_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "vesting_period" */ +export type Vesting_Period_Avg_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "vesting_period". All fields are combined with a logical 'AND'. */ +export type Vesting_Period_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe<_Coin_Comparison_Exp>; + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account?: InputMaybe; +}; + +/** order by max() on columns of table "vesting_period" */ +export type Vesting_Period_Max_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by min() on columns of table "vesting_period" */ +export type Vesting_Period_Min_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** Ordering options when selecting data from "vesting_period". */ +export type Vesting_Period_Order_By = { + amount?: InputMaybe; + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account?: InputMaybe; +}; + +/** select columns of table "vesting_period" */ +export enum Vesting_Period_Select_Column { + /** column name */ + Amount = 'amount', + /** column name */ + Length = 'length', + /** column name */ + PeriodOrder = 'period_order' +} + +/** order by stddev() on columns of table "vesting_period" */ +export type Vesting_Period_Stddev_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "vesting_period" */ +export type Vesting_Period_Stddev_Pop_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "vesting_period" */ +export type Vesting_Period_Stddev_Samp_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** Streaming cursor of the table "vesting_period" */ +export type Vesting_Period_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Vesting_Period_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Vesting_Period_Stream_Cursor_Value_Input = { + amount?: InputMaybe; + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by sum() on columns of table "vesting_period" */ +export type Vesting_Period_Sum_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by var_pop() on columns of table "vesting_period" */ +export type Vesting_Period_Var_Pop_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by var_samp() on columns of table "vesting_period" */ +export type Vesting_Period_Var_Samp_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by variance() on columns of table "vesting_period" */ +export type Vesting_Period_Variance_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** columns and relationships of "wasm_code" */ +export type Wasm_Code = { + __typename?: 'wasm_code'; + byte_code: Scalars['bytea']; + code_id: Scalars['bigint']; + height: Scalars['bigint']; + instantiate_permission?: Maybe; + sender?: Maybe; + /** An array relationship */ + wasm_contracts: Array; + /** An aggregate relationship */ + wasm_contracts_aggregate: Wasm_Contract_Aggregate; +}; + + +/** columns and relationships of "wasm_code" */ +export type Wasm_CodeWasm_ContractsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "wasm_code" */ +export type Wasm_CodeWasm_Contracts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "wasm_code" */ +export type Wasm_Code_Aggregate = { + __typename?: 'wasm_code_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "wasm_code" */ +export type Wasm_Code_Aggregate_Fields = { + __typename?: 'wasm_code_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "wasm_code" */ +export type Wasm_Code_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Wasm_Code_Avg_Fields = { + __typename?: 'wasm_code_avg_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** Boolean expression to filter rows from the table "wasm_code". All fields are combined with a logical 'AND'. */ +export type Wasm_Code_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + byte_code?: InputMaybe; + code_id?: InputMaybe; + height?: InputMaybe; + instantiate_permission?: InputMaybe; + sender?: InputMaybe; + wasm_contracts?: InputMaybe; + wasm_contracts_aggregate?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Wasm_Code_Max_Fields = { + __typename?: 'wasm_code_max_fields'; + code_id?: Maybe; + height?: Maybe; + instantiate_permission?: Maybe; + sender?: Maybe; +}; + +/** aggregate min on columns */ +export type Wasm_Code_Min_Fields = { + __typename?: 'wasm_code_min_fields'; + code_id?: Maybe; + height?: Maybe; + instantiate_permission?: Maybe; + sender?: Maybe; +}; + +/** Ordering options when selecting data from "wasm_code". */ +export type Wasm_Code_Order_By = { + byte_code?: InputMaybe; + code_id?: InputMaybe; + height?: InputMaybe; + instantiate_permission?: InputMaybe; + sender?: InputMaybe; + wasm_contracts_aggregate?: InputMaybe; +}; + +/** select columns of table "wasm_code" */ +export enum Wasm_Code_Select_Column { + /** column name */ + ByteCode = 'byte_code', + /** column name */ + CodeId = 'code_id', + /** column name */ + Height = 'height', + /** column name */ + InstantiatePermission = 'instantiate_permission', + /** column name */ + Sender = 'sender' +} + +/** aggregate stddev on columns */ +export type Wasm_Code_Stddev_Fields = { + __typename?: 'wasm_code_stddev_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Wasm_Code_Stddev_Pop_Fields = { + __typename?: 'wasm_code_stddev_pop_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Wasm_Code_Stddev_Samp_Fields = { + __typename?: 'wasm_code_stddev_samp_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** Streaming cursor of the table "wasm_code" */ +export type Wasm_Code_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Wasm_Code_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Wasm_Code_Stream_Cursor_Value_Input = { + byte_code?: InputMaybe; + code_id?: InputMaybe; + height?: InputMaybe; + instantiate_permission?: InputMaybe; + sender?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Wasm_Code_Sum_Fields = { + __typename?: 'wasm_code_sum_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Wasm_Code_Var_Pop_Fields = { + __typename?: 'wasm_code_var_pop_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Wasm_Code_Var_Samp_Fields = { + __typename?: 'wasm_code_var_samp_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** aggregate variance on columns */ +export type Wasm_Code_Variance_Fields = { + __typename?: 'wasm_code_variance_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** columns and relationships of "wasm_contract" */ +export type Wasm_Contract = { + __typename?: 'wasm_contract'; + /** An object relationship */ + account: Account; + admin?: Maybe; + code_id: Scalars['bigint']; + contract_address: Scalars['String']; + contract_info_extension?: Maybe; + contract_states: Scalars['jsonb']; + creator: Scalars['String']; + data?: Maybe; + funds: Scalars['_coin']; + height: Scalars['bigint']; + instantiated_at: Scalars['timestamp']; + label?: Maybe; + raw_contract_message: Scalars['jsonb']; + sender?: Maybe; + /** An object relationship */ + wasm_code: Wasm_Code; + /** An array relationship */ + wasm_execute_contracts: Array; + /** An aggregate relationship */ + wasm_execute_contracts_aggregate: Wasm_Execute_Contract_Aggregate; +}; + + +/** columns and relationships of "wasm_contract" */ +export type Wasm_ContractContract_StatesArgs = { + path?: InputMaybe; +}; + + +/** columns and relationships of "wasm_contract" */ +export type Wasm_ContractRaw_Contract_MessageArgs = { + path?: InputMaybe; +}; + + +/** columns and relationships of "wasm_contract" */ +export type Wasm_ContractWasm_Execute_ContractsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "wasm_contract" */ +export type Wasm_ContractWasm_Execute_Contracts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "wasm_contract" */ +export type Wasm_Contract_Aggregate = { + __typename?: 'wasm_contract_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Wasm_Contract_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Wasm_Contract_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "wasm_contract" */ +export type Wasm_Contract_Aggregate_Fields = { + __typename?: 'wasm_contract_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "wasm_contract" */ +export type Wasm_Contract_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "wasm_contract" */ +export type Wasm_Contract_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Wasm_Contract_Avg_Fields = { + __typename?: 'wasm_contract_avg_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** order by avg() on columns of table "wasm_contract" */ +export type Wasm_Contract_Avg_Order_By = { + code_id?: InputMaybe; + height?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "wasm_contract". All fields are combined with a logical 'AND'. */ +export type Wasm_Contract_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + admin?: InputMaybe; + code_id?: InputMaybe; + contract_address?: InputMaybe; + contract_info_extension?: InputMaybe; + contract_states?: InputMaybe; + creator?: InputMaybe; + data?: InputMaybe; + funds?: InputMaybe<_Coin_Comparison_Exp>; + height?: InputMaybe; + instantiated_at?: InputMaybe; + label?: InputMaybe; + raw_contract_message?: InputMaybe; + sender?: InputMaybe; + wasm_code?: InputMaybe; + wasm_execute_contracts?: InputMaybe; + wasm_execute_contracts_aggregate?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Wasm_Contract_Max_Fields = { + __typename?: 'wasm_contract_max_fields'; + admin?: Maybe; + code_id?: Maybe; + contract_address?: Maybe; + contract_info_extension?: Maybe; + creator?: Maybe; + data?: Maybe; + height?: Maybe; + instantiated_at?: Maybe; + label?: Maybe; + sender?: Maybe; +}; + +/** order by max() on columns of table "wasm_contract" */ +export type Wasm_Contract_Max_Order_By = { + admin?: InputMaybe; + code_id?: InputMaybe; + contract_address?: InputMaybe; + contract_info_extension?: InputMaybe; + creator?: InputMaybe; + data?: InputMaybe; + height?: InputMaybe; + instantiated_at?: InputMaybe; + label?: InputMaybe; + sender?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Wasm_Contract_Min_Fields = { + __typename?: 'wasm_contract_min_fields'; + admin?: Maybe; + code_id?: Maybe; + contract_address?: Maybe; + contract_info_extension?: Maybe; + creator?: Maybe; + data?: Maybe; + height?: Maybe; + instantiated_at?: Maybe; + label?: Maybe; + sender?: Maybe; +}; + +/** order by min() on columns of table "wasm_contract" */ +export type Wasm_Contract_Min_Order_By = { + admin?: InputMaybe; + code_id?: InputMaybe; + contract_address?: InputMaybe; + contract_info_extension?: InputMaybe; + creator?: InputMaybe; + data?: InputMaybe; + height?: InputMaybe; + instantiated_at?: InputMaybe; + label?: InputMaybe; + sender?: InputMaybe; +}; + +/** Ordering options when selecting data from "wasm_contract". */ +export type Wasm_Contract_Order_By = { + account?: InputMaybe; + admin?: InputMaybe; + code_id?: InputMaybe; + contract_address?: InputMaybe; + contract_info_extension?: InputMaybe; + contract_states?: InputMaybe; + creator?: InputMaybe; + data?: InputMaybe; + funds?: InputMaybe; + height?: InputMaybe; + instantiated_at?: InputMaybe; + label?: InputMaybe; + raw_contract_message?: InputMaybe; + sender?: InputMaybe; + wasm_code?: InputMaybe; + wasm_execute_contracts_aggregate?: InputMaybe; +}; + +/** select columns of table "wasm_contract" */ +export enum Wasm_Contract_Select_Column { + /** column name */ + Admin = 'admin', + /** column name */ + CodeId = 'code_id', + /** column name */ + ContractAddress = 'contract_address', + /** column name */ + ContractInfoExtension = 'contract_info_extension', + /** column name */ + ContractStates = 'contract_states', + /** column name */ + Creator = 'creator', + /** column name */ + Data = 'data', + /** column name */ + Funds = 'funds', + /** column name */ + Height = 'height', + /** column name */ + InstantiatedAt = 'instantiated_at', + /** column name */ + Label = 'label', + /** column name */ + RawContractMessage = 'raw_contract_message', + /** column name */ + Sender = 'sender' +} + +/** aggregate stddev on columns */ +export type Wasm_Contract_Stddev_Fields = { + __typename?: 'wasm_contract_stddev_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** order by stddev() on columns of table "wasm_contract" */ +export type Wasm_Contract_Stddev_Order_By = { + code_id?: InputMaybe; + height?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Wasm_Contract_Stddev_Pop_Fields = { + __typename?: 'wasm_contract_stddev_pop_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** order by stddev_pop() on columns of table "wasm_contract" */ +export type Wasm_Contract_Stddev_Pop_Order_By = { + code_id?: InputMaybe; + height?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Wasm_Contract_Stddev_Samp_Fields = { + __typename?: 'wasm_contract_stddev_samp_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** order by stddev_samp() on columns of table "wasm_contract" */ +export type Wasm_Contract_Stddev_Samp_Order_By = { + code_id?: InputMaybe; + height?: InputMaybe; +}; + +/** Streaming cursor of the table "wasm_contract" */ +export type Wasm_Contract_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Wasm_Contract_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Wasm_Contract_Stream_Cursor_Value_Input = { + admin?: InputMaybe; + code_id?: InputMaybe; + contract_address?: InputMaybe; + contract_info_extension?: InputMaybe; + contract_states?: InputMaybe; + creator?: InputMaybe; + data?: InputMaybe; + funds?: InputMaybe; + height?: InputMaybe; + instantiated_at?: InputMaybe; + label?: InputMaybe; + raw_contract_message?: InputMaybe; + sender?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Wasm_Contract_Sum_Fields = { + __typename?: 'wasm_contract_sum_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** order by sum() on columns of table "wasm_contract" */ +export type Wasm_Contract_Sum_Order_By = { + code_id?: InputMaybe; + height?: InputMaybe; +}; + +/** aggregate var_pop on columns */ +export type Wasm_Contract_Var_Pop_Fields = { + __typename?: 'wasm_contract_var_pop_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** order by var_pop() on columns of table "wasm_contract" */ +export type Wasm_Contract_Var_Pop_Order_By = { + code_id?: InputMaybe; + height?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Wasm_Contract_Var_Samp_Fields = { + __typename?: 'wasm_contract_var_samp_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** order by var_samp() on columns of table "wasm_contract" */ +export type Wasm_Contract_Var_Samp_Order_By = { + code_id?: InputMaybe; + height?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Wasm_Contract_Variance_Fields = { + __typename?: 'wasm_contract_variance_fields'; + code_id?: Maybe; + height?: Maybe; +}; + +/** order by variance() on columns of table "wasm_contract" */ +export type Wasm_Contract_Variance_Order_By = { + code_id?: InputMaybe; + height?: InputMaybe; +}; + +/** columns and relationships of "wasm_execute_contract" */ +export type Wasm_Execute_Contract = { + __typename?: 'wasm_execute_contract'; + contract_address: Scalars['String']; + data?: Maybe; + executed_at: Scalars['timestamp']; + funds: Scalars['_coin']; + height: Scalars['bigint']; + raw_contract_message: Scalars['jsonb']; + sender: Scalars['String']; + /** An object relationship */ + wasm_contract: Wasm_Contract; +}; + + +/** columns and relationships of "wasm_execute_contract" */ +export type Wasm_Execute_ContractRaw_Contract_MessageArgs = { + path?: InputMaybe; +}; + +/** aggregated selection of "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Aggregate = { + __typename?: 'wasm_execute_contract_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; -/** columns and relationships of "vesting_account" */ -export type Vesting_AccountVesting_Periods_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Wasm_Execute_Contract_Aggregate_Bool_Exp = { + count?: InputMaybe; }; -/** aggregated selection of "vesting_account" */ -export type Vesting_Account_Aggregate = { - __typename?: 'vesting_account_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Wasm_Execute_Contract_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; }; -/** aggregate fields of "vesting_account" */ -export type Vesting_Account_Aggregate_Fields = { - __typename?: 'vesting_account_aggregate_fields'; - avg?: Maybe; +/** aggregate fields of "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Aggregate_Fields = { + __typename?: 'wasm_execute_contract_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "vesting_account" */ -export type Vesting_Account_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +/** aggregate fields of "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** order by aggregate values of table "vesting_account" */ -export type Vesting_Account_Aggregate_Order_By = { - avg?: InputMaybe; +/** order by aggregate values of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Aggregate_Order_By = { + avg?: InputMaybe; count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; /** aggregate avg on columns */ -export type Vesting_Account_Avg_Fields = { - __typename?: 'vesting_account_avg_fields'; - id?: Maybe; +export type Wasm_Execute_Contract_Avg_Fields = { + __typename?: 'wasm_execute_contract_avg_fields'; + height?: Maybe; }; -/** order by avg() on columns of table "vesting_account" */ -export type Vesting_Account_Avg_Order_By = { - id?: InputMaybe; +/** order by avg() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Avg_Order_By = { + height?: InputMaybe; }; -/** Boolean expression to filter rows from the table "vesting_account". All fields are combined with a logical 'AND'. */ -export type Vesting_Account_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - account?: InputMaybe; - address?: InputMaybe; - end_time?: InputMaybe; - id?: InputMaybe; - original_vesting?: InputMaybe<_Coin_Comparison_Exp>; - start_time?: InputMaybe; - type?: InputMaybe; - vesting_periods?: InputMaybe; +/** Boolean expression to filter rows from the table "wasm_execute_contract". All fields are combined with a logical 'AND'. */ +export type Wasm_Execute_Contract_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + contract_address?: InputMaybe; + data?: InputMaybe; + executed_at?: InputMaybe; + funds?: InputMaybe<_Coin_Comparison_Exp>; + height?: InputMaybe; + raw_contract_message?: InputMaybe; + sender?: InputMaybe; + wasm_contract?: InputMaybe; }; /** aggregate max on columns */ -export type Vesting_Account_Max_Fields = { - __typename?: 'vesting_account_max_fields'; - address?: Maybe; - end_time?: Maybe; - id?: Maybe; - start_time?: Maybe; - type?: Maybe; +export type Wasm_Execute_Contract_Max_Fields = { + __typename?: 'wasm_execute_contract_max_fields'; + contract_address?: Maybe; + data?: Maybe; + executed_at?: Maybe; + height?: Maybe; + sender?: Maybe; }; -/** order by max() on columns of table "vesting_account" */ -export type Vesting_Account_Max_Order_By = { - address?: InputMaybe; - end_time?: InputMaybe; - id?: InputMaybe; - start_time?: InputMaybe; - type?: InputMaybe; +/** order by max() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Max_Order_By = { + contract_address?: InputMaybe; + data?: InputMaybe; + executed_at?: InputMaybe; + height?: InputMaybe; + sender?: InputMaybe; }; /** aggregate min on columns */ -export type Vesting_Account_Min_Fields = { - __typename?: 'vesting_account_min_fields'; - address?: Maybe; - end_time?: Maybe; - id?: Maybe; - start_time?: Maybe; - type?: Maybe; +export type Wasm_Execute_Contract_Min_Fields = { + __typename?: 'wasm_execute_contract_min_fields'; + contract_address?: Maybe; + data?: Maybe; + executed_at?: Maybe; + height?: Maybe; + sender?: Maybe; }; -/** order by min() on columns of table "vesting_account" */ -export type Vesting_Account_Min_Order_By = { - address?: InputMaybe; - end_time?: InputMaybe; - id?: InputMaybe; - start_time?: InputMaybe; - type?: InputMaybe; +/** order by min() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Min_Order_By = { + contract_address?: InputMaybe; + data?: InputMaybe; + executed_at?: InputMaybe; + height?: InputMaybe; + sender?: InputMaybe; }; -/** Ordering options when selecting data from "vesting_account". */ -export type Vesting_Account_Order_By = { - account?: InputMaybe; - address?: InputMaybe; - end_time?: InputMaybe; - id?: InputMaybe; - original_vesting?: InputMaybe; - start_time?: InputMaybe; - type?: InputMaybe; - vesting_periods_aggregate?: InputMaybe; +/** Ordering options when selecting data from "wasm_execute_contract". */ +export type Wasm_Execute_Contract_Order_By = { + contract_address?: InputMaybe; + data?: InputMaybe; + executed_at?: InputMaybe; + funds?: InputMaybe; + height?: InputMaybe; + raw_contract_message?: InputMaybe; + sender?: InputMaybe; + wasm_contract?: InputMaybe; }; -/** select columns of table "vesting_account" */ -export enum Vesting_Account_Select_Column { +/** select columns of table "wasm_execute_contract" */ +export enum Wasm_Execute_Contract_Select_Column { /** column name */ - Address = 'address', + ContractAddress = 'contract_address', /** column name */ - EndTime = 'end_time', + Data = 'data', /** column name */ - Id = 'id', + ExecutedAt = 'executed_at', /** column name */ - OriginalVesting = 'original_vesting', + Funds = 'funds', /** column name */ - StartTime = 'start_time', + Height = 'height', /** column name */ - Type = 'type' + RawContractMessage = 'raw_contract_message', + /** column name */ + Sender = 'sender' } /** aggregate stddev on columns */ -export type Vesting_Account_Stddev_Fields = { - __typename?: 'vesting_account_stddev_fields'; - id?: Maybe; +export type Wasm_Execute_Contract_Stddev_Fields = { + __typename?: 'wasm_execute_contract_stddev_fields'; + height?: Maybe; }; -/** order by stddev() on columns of table "vesting_account" */ -export type Vesting_Account_Stddev_Order_By = { - id?: InputMaybe; +/** order by stddev() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Stddev_Order_By = { + height?: InputMaybe; }; /** aggregate stddev_pop on columns */ -export type Vesting_Account_Stddev_Pop_Fields = { - __typename?: 'vesting_account_stddev_pop_fields'; - id?: Maybe; +export type Wasm_Execute_Contract_Stddev_Pop_Fields = { + __typename?: 'wasm_execute_contract_stddev_pop_fields'; + height?: Maybe; }; -/** order by stddev_pop() on columns of table "vesting_account" */ -export type Vesting_Account_Stddev_Pop_Order_By = { - id?: InputMaybe; +/** order by stddev_pop() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Stddev_Pop_Order_By = { + height?: InputMaybe; }; /** aggregate stddev_samp on columns */ -export type Vesting_Account_Stddev_Samp_Fields = { - __typename?: 'vesting_account_stddev_samp_fields'; - id?: Maybe; +export type Wasm_Execute_Contract_Stddev_Samp_Fields = { + __typename?: 'wasm_execute_contract_stddev_samp_fields'; + height?: Maybe; }; -/** order by stddev_samp() on columns of table "vesting_account" */ -export type Vesting_Account_Stddev_Samp_Order_By = { - id?: InputMaybe; +/** order by stddev_samp() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Stddev_Samp_Order_By = { + height?: InputMaybe; +}; + +/** Streaming cursor of the table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Wasm_Execute_Contract_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Wasm_Execute_Contract_Stream_Cursor_Value_Input = { + contract_address?: InputMaybe; + data?: InputMaybe; + executed_at?: InputMaybe; + funds?: InputMaybe; + height?: InputMaybe; + raw_contract_message?: InputMaybe; + sender?: InputMaybe; }; /** aggregate sum on columns */ -export type Vesting_Account_Sum_Fields = { - __typename?: 'vesting_account_sum_fields'; - id?: Maybe; +export type Wasm_Execute_Contract_Sum_Fields = { + __typename?: 'wasm_execute_contract_sum_fields'; + height?: Maybe; }; -/** order by sum() on columns of table "vesting_account" */ -export type Vesting_Account_Sum_Order_By = { - id?: InputMaybe; +/** order by sum() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Sum_Order_By = { + height?: InputMaybe; }; /** aggregate var_pop on columns */ -export type Vesting_Account_Var_Pop_Fields = { - __typename?: 'vesting_account_var_pop_fields'; - id?: Maybe; +export type Wasm_Execute_Contract_Var_Pop_Fields = { + __typename?: 'wasm_execute_contract_var_pop_fields'; + height?: Maybe; }; -/** order by var_pop() on columns of table "vesting_account" */ -export type Vesting_Account_Var_Pop_Order_By = { - id?: InputMaybe; +/** order by var_pop() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Var_Pop_Order_By = { + height?: InputMaybe; }; /** aggregate var_samp on columns */ -export type Vesting_Account_Var_Samp_Fields = { - __typename?: 'vesting_account_var_samp_fields'; - id?: Maybe; +export type Wasm_Execute_Contract_Var_Samp_Fields = { + __typename?: 'wasm_execute_contract_var_samp_fields'; + height?: Maybe; }; -/** order by var_samp() on columns of table "vesting_account" */ -export type Vesting_Account_Var_Samp_Order_By = { - id?: InputMaybe; +/** order by var_samp() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Var_Samp_Order_By = { + height?: InputMaybe; }; /** aggregate variance on columns */ -export type Vesting_Account_Variance_Fields = { - __typename?: 'vesting_account_variance_fields'; - id?: Maybe; +export type Wasm_Execute_Contract_Variance_Fields = { + __typename?: 'wasm_execute_contract_variance_fields'; + height?: Maybe; }; -/** order by variance() on columns of table "vesting_account" */ -export type Vesting_Account_Variance_Order_By = { - id?: InputMaybe; +/** order by variance() on columns of table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Variance_Order_By = { + height?: InputMaybe; }; -/** columns and relationships of "vesting_period" */ -export type Vesting_Period = { - __typename?: 'vesting_period'; - amount: Scalars['_coin']; - length: Scalars['bigint']; - period_order: Scalars['bigint']; - /** An object relationship */ - vesting_account: Vesting_Account; - vesting_account_id: Scalars['bigint']; +/** columns and relationships of "wasm_params" */ +export type Wasm_Params = { + __typename?: 'wasm_params'; + code_upload_access: Scalars['access_config_scalar']; + height: Scalars['bigint']; + instantiate_default_permission: Scalars['Int']; + one_row_id: Scalars['Boolean']; }; -/** aggregated selection of "vesting_period" */ -export type Vesting_Period_Aggregate = { - __typename?: 'vesting_period_aggregate'; - aggregate?: Maybe; - nodes: Array; +/** aggregated selection of "wasm_params" */ +export type Wasm_Params_Aggregate = { + __typename?: 'wasm_params_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "vesting_period" */ -export type Vesting_Period_Aggregate_Fields = { - __typename?: 'vesting_period_aggregate_fields'; - avg?: Maybe; +/** aggregate fields of "wasm_params" */ +export type Wasm_Params_Aggregate_Fields = { + __typename?: 'wasm_params_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "vesting_period" */ -export type Vesting_Period_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +/** aggregate fields of "wasm_params" */ +export type Wasm_Params_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** order by aggregate values of table "vesting_period" */ -export type Vesting_Period_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - /** aggregate avg on columns */ -export type Vesting_Period_Avg_Fields = { - __typename?: 'vesting_period_avg_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - -/** order by avg() on columns of table "vesting_period" */ -export type Vesting_Period_Avg_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +export type Wasm_Params_Avg_Fields = { + __typename?: 'wasm_params_avg_fields'; + height?: Maybe; + instantiate_default_permission?: Maybe; }; -/** Boolean expression to filter rows from the table "vesting_period". All fields are combined with a logical 'AND'. */ -export type Vesting_Period_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - amount?: InputMaybe<_Coin_Comparison_Exp>; - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account?: InputMaybe; - vesting_account_id?: InputMaybe; +/** Boolean expression to filter rows from the table "wasm_params". All fields are combined with a logical 'AND'. */ +export type Wasm_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + code_upload_access?: InputMaybe; + height?: InputMaybe; + instantiate_default_permission?: InputMaybe; + one_row_id?: InputMaybe; }; /** aggregate max on columns */ -export type Vesting_Period_Max_Fields = { - __typename?: 'vesting_period_max_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - -/** order by max() on columns of table "vesting_period" */ -export type Vesting_Period_Max_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +export type Wasm_Params_Max_Fields = { + __typename?: 'wasm_params_max_fields'; + code_upload_access?: Maybe; + height?: Maybe; + instantiate_default_permission?: Maybe; }; /** aggregate min on columns */ -export type Vesting_Period_Min_Fields = { - __typename?: 'vesting_period_min_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - -/** order by min() on columns of table "vesting_period" */ -export type Vesting_Period_Min_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +export type Wasm_Params_Min_Fields = { + __typename?: 'wasm_params_min_fields'; + code_upload_access?: Maybe; + height?: Maybe; + instantiate_default_permission?: Maybe; }; -/** Ordering options when selecting data from "vesting_period". */ -export type Vesting_Period_Order_By = { - amount?: InputMaybe; - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account?: InputMaybe; - vesting_account_id?: InputMaybe; +/** Ordering options when selecting data from "wasm_params". */ +export type Wasm_Params_Order_By = { + code_upload_access?: InputMaybe; + height?: InputMaybe; + instantiate_default_permission?: InputMaybe; + one_row_id?: InputMaybe; }; -/** select columns of table "vesting_period" */ -export enum Vesting_Period_Select_Column { +/** select columns of table "wasm_params" */ +export enum Wasm_Params_Select_Column { /** column name */ - Amount = 'amount', + CodeUploadAccess = 'code_upload_access', /** column name */ - Length = 'length', + Height = 'height', /** column name */ - PeriodOrder = 'period_order', + InstantiateDefaultPermission = 'instantiate_default_permission', /** column name */ - VestingAccountId = 'vesting_account_id' + OneRowId = 'one_row_id' } /** aggregate stddev on columns */ -export type Vesting_Period_Stddev_Fields = { - __typename?: 'vesting_period_stddev_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - -/** order by stddev() on columns of table "vesting_period" */ -export type Vesting_Period_Stddev_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +export type Wasm_Params_Stddev_Fields = { + __typename?: 'wasm_params_stddev_fields'; + height?: Maybe; + instantiate_default_permission?: Maybe; }; /** aggregate stddev_pop on columns */ -export type Vesting_Period_Stddev_Pop_Fields = { - __typename?: 'vesting_period_stddev_pop_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - -/** order by stddev_pop() on columns of table "vesting_period" */ -export type Vesting_Period_Stddev_Pop_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +export type Wasm_Params_Stddev_Pop_Fields = { + __typename?: 'wasm_params_stddev_pop_fields'; + height?: Maybe; + instantiate_default_permission?: Maybe; }; /** aggregate stddev_samp on columns */ -export type Vesting_Period_Stddev_Samp_Fields = { - __typename?: 'vesting_period_stddev_samp_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; +export type Wasm_Params_Stddev_Samp_Fields = { + __typename?: 'wasm_params_stddev_samp_fields'; + height?: Maybe; + instantiate_default_permission?: Maybe; }; -/** order by stddev_samp() on columns of table "vesting_period" */ -export type Vesting_Period_Stddev_Samp_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +/** Streaming cursor of the table "wasm_params" */ +export type Wasm_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Wasm_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate sum on columns */ -export type Vesting_Period_Sum_Fields = { - __typename?: 'vesting_period_sum_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Wasm_Params_Stream_Cursor_Value_Input = { + code_upload_access?: InputMaybe; + height?: InputMaybe; + instantiate_default_permission?: InputMaybe; + one_row_id?: InputMaybe; }; -/** order by sum() on columns of table "vesting_period" */ -export type Vesting_Period_Sum_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +/** aggregate sum on columns */ +export type Wasm_Params_Sum_Fields = { + __typename?: 'wasm_params_sum_fields'; + height?: Maybe; + instantiate_default_permission?: Maybe; }; /** aggregate var_pop on columns */ -export type Vesting_Period_Var_Pop_Fields = { - __typename?: 'vesting_period_var_pop_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - -/** order by var_pop() on columns of table "vesting_period" */ -export type Vesting_Period_Var_Pop_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +export type Wasm_Params_Var_Pop_Fields = { + __typename?: 'wasm_params_var_pop_fields'; + height?: Maybe; + instantiate_default_permission?: Maybe; }; /** aggregate var_samp on columns */ -export type Vesting_Period_Var_Samp_Fields = { - __typename?: 'vesting_period_var_samp_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - -/** order by var_samp() on columns of table "vesting_period" */ -export type Vesting_Period_Var_Samp_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +export type Wasm_Params_Var_Samp_Fields = { + __typename?: 'wasm_params_var_samp_fields'; + height?: Maybe; + instantiate_default_permission?: Maybe; }; /** aggregate variance on columns */ -export type Vesting_Period_Variance_Fields = { - __typename?: 'vesting_period_variance_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - -/** order by variance() on columns of table "vesting_period" */ -export type Vesting_Period_Variance_Order_By = { - length?: InputMaybe; - period_order?: InputMaybe; - vesting_account_id?: InputMaybe; +export type Wasm_Params_Variance_Fields = { + __typename?: 'wasm_params_variance_fields'; + height?: Maybe; + instantiate_default_permission?: Maybe; }; export type AccountCommissionQueryVariables = Exact<{ @@ -11996,7 +9290,12 @@ export type MarketDataQueryVariables = Exact<{ }>; -export type MarketDataQuery = { communityPool: Array<{ __typename?: 'community_pool', coins: any }>, inflation: Array<{ __typename?: 'inflation', value: any }>, tokenPrice: Array<{ __typename?: 'token_price', price: any, marketCap: any }>, supply: Array<{ __typename?: 'supply', coins: any }>, bondedTokens: Array<{ __typename?: 'staking_pool', bonded_tokens: any }>, distributionParams: Array<{ __typename?: 'distribution_params', params: any }> }; +export type MarketDataQuery = { communityPool: Array<{ __typename?: 'community_pool', coins: any }>, inflation: Array<{ __typename?: 'inflation', value: string }>, tokenPrice: Array<{ __typename?: 'token_price', price: any, marketCap: any }>, supply: Array<{ __typename?: 'supply', coins: any }>, bondedTokens: Array<{ __typename?: 'staking_pool', bonded_tokens: string }>, distributionParams: Array<{ __typename?: 'distribution_params', params: any }> }; + +export type MessageTypesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type MessageTypesQuery = { msgTypes: Array<{ __typename?: 'message_type', type: string, module: string, label: string }> }; export type GetMessagesByAddressQueryVariables = Exact<{ address?: InputMaybe; @@ -12011,26 +9310,26 @@ export type GetMessagesByAddressQuery = { messagesByAddress: Array<{ __typename? export type OnlineVotingPowerQueryVariables = Exact<{ [key: string]: never; }>; -export type OnlineVotingPowerQuery = { activeTotal: { __typename?: 'validator_status_aggregate', aggregate?: { __typename?: 'validator_status_aggregate_fields', count: number } | null }, validatorVotingPowerAggregate: { __typename?: 'validator_voting_power_aggregate', aggregate?: { __typename?: 'validator_voting_power_aggregate_fields', sum?: { __typename?: 'validator_voting_power_sum_fields', votingPower?: any | null } | null } | null }, stakingPool: Array<{ __typename?: 'staking_pool', bonded: any }>, stakingParams: Array<{ __typename?: 'staking_params', params: any }> }; +export type OnlineVotingPowerQuery = { activeTotal: { __typename?: 'validator_status_aggregate', aggregate?: { __typename?: 'validator_status_aggregate_fields', count: number } | null }, validatorVotingPowerAggregate: { __typename?: 'validator_voting_power_aggregate', aggregate?: { __typename?: 'validator_voting_power_aggregate_fields', sum?: { __typename?: 'validator_voting_power_sum_fields', votingPower?: any | null } | null } | null }, stakingPool: Array<{ __typename?: 'staking_pool', bonded: string }>, stakingParams: Array<{ __typename?: 'staking_params', params: any }> }; export type ParamsQueryVariables = Exact<{ [key: string]: never; }>; -export type ParamsQuery = { stakingParams: Array<{ __typename?: 'staking_params', params: any }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }>, mintParams: Array<{ __typename?: 'mint_params', params: any }>, distributionParams: Array<{ __typename?: 'distribution_params', params: any }>, govParams: Array<{ __typename?: 'gov_params', depositParams: any, tallyParams: any, votingParams: any }> }; +export type ParamsQuery = { stakingParams: Array<{ __typename?: 'staking_params', params: any }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }>, mintParams: Array<{ __typename?: 'mint_params', params: any }>, distributionParams: Array<{ __typename?: 'distribution_params', params: any }>, govParams: Array<{ __typename?: 'gov_params', params: any }> }; export type ProposalDetailsQueryVariables = Exact<{ proposalId?: InputMaybe; }>; -export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> }; +export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> }; export type ProposalDetailsTallyQueryVariables = Exact<{ proposalId?: InputMaybe; }>; -export type ProposalDetailsTallyQuery = { proposalTallyResult: Array<{ __typename?: 'proposal_tally_result', yes: string, no: string, abstain: string, noWithVeto: string }>, stakingPool: Array<{ __typename?: 'proposal_staking_pool_snapshot', bondedTokens: any }>, quorum: Array<{ __typename?: 'gov_params', tallyParams: any }> }; +export type ProposalDetailsTallyQuery = { proposalTallyResult: Array<{ __typename?: 'proposal_tally_result', yes: string, no: string, abstain: string, noWithVeto: string }>, stakingPool: Array<{ __typename?: 'proposal_staking_pool_snapshot', bondedTokens: string }>, quorum: Array<{ __typename?: 'gov_params', params: any }> }; export type ProposalDetailsDepositsQueryVariables = Exact<{ proposalId?: InputMaybe; @@ -12059,7 +9358,7 @@ export type TokenPriceListenerSubscriptionVariables = Exact<{ }>; -export type TokenPriceListenerSubscription = { tokenPrice: Array<{ __typename?: 'token_price', id: number, price: any, timestamp: any, marketCap: any, unitName: string }> }; +export type TokenPriceListenerSubscription = { tokenPrice: Array<{ __typename?: 'token_price', price: any, timestamp: any, marketCap: any, unitName: string }> }; export type TokenPriceHistoryQueryVariables = Exact<{ denom?: InputMaybe; @@ -12072,7 +9371,7 @@ export type TokenPriceHistoryQuery = { tokenPrice: Array<{ __typename?: 'token_p export type TokenomicsQueryVariables = Exact<{ [key: string]: never; }>; -export type TokenomicsQuery = { stakingParams: Array<{ __typename?: 'staking_params', params: any }>, stakingPool: Array<{ __typename?: 'staking_pool', bonded: any, unbonded: any }>, supply: Array<{ __typename?: 'supply', coins: any }> }; +export type TokenomicsQuery = { stakingParams: Array<{ __typename?: 'staking_params', params: any }>, stakingPool: Array<{ __typename?: 'staking_pool', bonded: string, unbonded: string }>, supply: Array<{ __typename?: 'supply', coins: any }> }; export type TransactionDetailsQueryVariables = Exact<{ hash?: InputMaybe; @@ -12116,7 +9415,7 @@ export type ValidatorDetailsQueryVariables = Exact<{ }>; -export type ValidatorDetailsQuery = { stakingPool: Array<{ __typename?: 'staking_pool', height: any, bonded: any }>, validator: Array<{ __typename?: 'validator', validatorDescriptions: Array<{ __typename?: 'validator_description', details?: string | null, website?: string | null }>, validatorStatuses: Array<{ __typename?: 'validator_status', status: number, jailed: boolean, height: any }>, validatorSigningInfos: Array<{ __typename?: 'validator_signing_info', tombstoned: boolean, missedBlocksCounter: any }>, validatorInfo?: { __typename?: 'validator_info', operatorAddress: string, selfDelegateAddress?: string | null, maxRate: string } | null, validatorCommissions: Array<{ __typename?: 'validator_commission', commission: any }>, validatorVotingPowers: Array<{ __typename?: 'validator_voting_power', height: any, votingPower: any }> }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }> }; +export type ValidatorDetailsQuery = { stakingPool: Array<{ __typename?: 'staking_pool', height: any, bonded: string }>, validator: Array<{ __typename?: 'validator', validatorDescriptions: Array<{ __typename?: 'validator_description', details?: string | null, website?: string | null }>, validatorStatuses: Array<{ __typename?: 'validator_status', status: number, jailed: boolean, height: any }>, validatorSigningInfos: Array<{ __typename?: 'validator_signing_info', tombstoned: boolean, missedBlocksCounter: any }>, validatorInfo?: { __typename?: 'validator_info', operatorAddress: string, selfDelegateAddress?: string | null, maxRate: string } | null, validatorCommissions: Array<{ __typename?: 'validator_commission', commission: any }>, validatorVotingPowers: Array<{ __typename?: 'validator_voting_power', height: any, votingPower: any }> }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }> }; export type ValidatorDelegationsQueryVariables = Exact<{ validatorAddress: Scalars['String']; @@ -12151,12 +9450,7 @@ export type ValidatorUndelegationsQuery = { undelegations?: { __typename?: 'Acti export type ValidatorsQueryVariables = Exact<{ [key: string]: never; }>; -export type ValidatorsQuery = { stakingPool: Array<{ __typename?: 'staking_pool', bondedTokens: any }>, validator: Array<{ __typename?: 'validator', validatorStatuses: Array<{ __typename?: 'validator_status', status: number, jailed: boolean, height: any }>, validatorSigningInfos: Array<{ __typename?: 'validator_signing_info', tombstoned: boolean, missedBlocksCounter: any }>, validatorInfo?: { __typename?: 'validator_info', operatorAddress: string, selfDelegateAddress?: string | null } | null, validatorVotingPowers: Array<{ __typename?: 'validator_voting_power', votingPower: any }>, validatorCommissions: Array<{ __typename?: 'validator_commission', commission: any }> }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }> }; - -export type ValidatorsAddressListQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ValidatorsAddressListQuery = { validator: Array<{ __typename?: 'validator', validatorInfo?: { __typename?: 'validator_info', operatorAddress: string, selfDelegateAddress?: string | null, consensusAddress: string } | null, validatorDescriptions: Array<{ __typename?: 'validator_description', moniker?: string | null, identity?: string | null, avatarUrl?: string | null }> }> }; +export type ValidatorsQuery = { stakingPool: Array<{ __typename?: 'staking_pool', bondedTokens: string }>, validator: Array<{ __typename?: 'validator', validatorStatuses: Array<{ __typename?: 'validator_status', status: number, jailed: boolean, height: any }>, validatorSigningInfos: Array<{ __typename?: 'validator_signing_info', tombstoned: boolean, missedBlocksCounter: any }>, validatorInfo?: { __typename?: 'validator_info', operatorAddress: string, selfDelegateAddress?: string | null } | null, validatorVotingPowers: Array<{ __typename?: 'validator_voting_power', votingPower: any }>, validatorCommissions: Array<{ __typename?: 'validator_commission', commission: any }> }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }> }; export type ValidatorAddressesQueryVariables = Exact<{ [key: string]: never; }>; @@ -12899,6 +10193,42 @@ export function useMarketDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions export type MarketDataQueryHookResult = ReturnType; export type MarketDataLazyQueryHookResult = ReturnType; export type MarketDataQueryResult = Apollo.QueryResult; +export const MessageTypesDocument = gql` + query MessageTypes { + msgTypes: message_type { + type + module + label + } +} + `; + +/** + * __useMessageTypesQuery__ + * + * To run a query within a React component, call `useMessageTypesQuery` and pass it any options that fit your needs. + * When your component renders, `useMessageTypesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useMessageTypesQuery({ + * variables: { + * }, + * }); + */ +export function useMessageTypesQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(MessageTypesDocument, options); + } +export function useMessageTypesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(MessageTypesDocument, options); + } +export type MessageTypesQueryHookResult = ReturnType; +export type MessageTypesLazyQueryHookResult = ReturnType; +export type MessageTypesQueryResult = Apollo.QueryResult; export const GetMessagesByAddressDocument = gql` query GetMessagesByAddress($address: _text, $limit: bigint = 50, $offset: bigint = 0, $types: _text = "{}") { messagesByAddress: messages_by_address( @@ -13015,9 +10345,7 @@ export const ParamsDocument = gql` params } govParams: gov_params(limit: 1, order_by: {height: desc}) { - depositParams: deposit_params - tallyParams: tally_params - votingParams: voting_params + params } } `; @@ -13058,7 +10386,6 @@ export const ProposalDetailsDocument = gql` content proposalId: id submitTime: submit_time - proposalType: proposal_type depositEndTime: deposit_end_time votingStartTime: voting_start_time votingEndTime: voting_end_time @@ -13109,7 +10436,7 @@ export const ProposalDetailsTallyDocument = gql` bondedTokens: bonded_tokens } quorum: gov_params(limit: 1, order_by: {height: desc}) { - tallyParams: tally_params + params } } `; @@ -13278,7 +10605,6 @@ export type ProposalsQueryResult = Apollo.QueryResult; }; +/** aggregated selection of "profile" */ +export type Profile_Aggregate = { + __typename?: 'profile_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "profile" */ +export type Profile_Aggregate_Fields = { + __typename?: 'profile_aggregate_fields'; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; +}; + + +/** aggregate fields of "profile" */ +export type Profile_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + /** Boolean expression to filter rows from the table "profile". All fields are combined with a logical 'AND'. */ export type Profile_Bool_Exp = { _and?: InputMaybe>; @@ -674,6 +696,30 @@ export type Profile_Bool_Exp = { profile_pic?: InputMaybe; }; +/** aggregate max on columns */ +export type Profile_Max_Fields = { + __typename?: 'profile_max_fields'; + address?: Maybe; + bio?: Maybe; + cover_pic?: Maybe; + creation_time?: Maybe; + dtag?: Maybe; + nickname?: Maybe; + profile_pic?: Maybe; +}; + +/** aggregate min on columns */ +export type Profile_Min_Fields = { + __typename?: 'profile_min_fields'; + address?: Maybe; + bio?: Maybe; + cover_pic?: Maybe; + creation_time?: Maybe; + dtag?: Maybe; + nickname?: Maybe; + profile_pic?: Maybe; +}; + /** Ordering options when selecting data from "profile". */ export type Profile_Order_By = { address?: InputMaybe; @@ -756,6 +802,8 @@ export type Query_Root = { dtag_transfer_requests: Array; /** fetch data from the table: "profile" */ profile: Array; + /** fetch aggregated fields from the table: "profile" */ + profile_aggregate: Profile_Aggregate; /** fetch data from the table: "profile" using primary key columns */ profile_by_pk?: Maybe; /** fetch data from the table: "profiles_params" */ @@ -764,6 +812,8 @@ export type Query_Root = { user_block: Array; /** fetch data from the table: "user_relationship" */ user_relationship: Array; + /** fetch aggregated fields from the table: "user_relationship" */ + user_relationship_aggregate: User_Relationship_Aggregate; }; @@ -839,6 +889,15 @@ export type Query_RootProfileArgs = { }; +export type Query_RootProfile_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + export type Query_RootProfile_By_PkArgs = { address: Scalars['String']; }; @@ -870,6 +929,15 @@ export type Query_RootUser_RelationshipArgs = { where?: InputMaybe; }; + +export type Query_RootUser_Relationship_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + export type Subscription_Root = { __typename?: 'subscription_root'; /** fetch data from the table: "application_link" */ @@ -888,6 +956,8 @@ export type Subscription_Root = { dtag_transfer_requests: Array; /** fetch data from the table: "profile" */ profile: Array; + /** fetch aggregated fields from the table: "profile" */ + profile_aggregate: Profile_Aggregate; /** fetch data from the table: "profile" using primary key columns */ profile_by_pk?: Maybe; /** fetch data from the table: "profiles_params" */ @@ -896,6 +966,8 @@ export type Subscription_Root = { user_block: Array; /** fetch data from the table: "user_relationship" */ user_relationship: Array; + /** fetch aggregated fields from the table: "user_relationship" */ + user_relationship_aggregate: User_Relationship_Aggregate; }; @@ -971,6 +1043,15 @@ export type Subscription_RootProfileArgs = { }; +export type Subscription_RootProfile_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + export type Subscription_RootProfile_By_PkArgs = { address: Scalars['String']; }; @@ -1002,6 +1083,15 @@ export type Subscription_RootUser_RelationshipArgs = { where?: InputMaybe; }; + +export type Subscription_RootUser_Relationship_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ export type Timestamp_Comparison_Exp = { _eq?: InputMaybe; @@ -1075,6 +1165,42 @@ export type User_Relationship = { subspace_id: Scalars['bigint']; }; +/** aggregated selection of "user_relationship" */ +export type User_Relationship_Aggregate = { + __typename?: 'user_relationship_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "user_relationship" */ +export type User_Relationship_Aggregate_Fields = { + __typename?: 'user_relationship_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "user_relationship" */ +export type User_Relationship_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type User_Relationship_Avg_Fields = { + __typename?: 'user_relationship_avg_fields'; + subspace_id?: Maybe; +}; + /** Boolean expression to filter rows from the table "user_relationship". All fields are combined with a logical 'AND'. */ export type User_Relationship_Bool_Exp = { _and?: InputMaybe>; @@ -1087,6 +1213,22 @@ export type User_Relationship_Bool_Exp = { subspace_id?: InputMaybe; }; +/** aggregate max on columns */ +export type User_Relationship_Max_Fields = { + __typename?: 'user_relationship_max_fields'; + counterparty_address?: Maybe; + creator_address?: Maybe; + subspace_id?: Maybe; +}; + +/** aggregate min on columns */ +export type User_Relationship_Min_Fields = { + __typename?: 'user_relationship_min_fields'; + counterparty_address?: Maybe; + creator_address?: Maybe; + subspace_id?: Maybe; +}; + /** Ordering options when selecting data from "user_relationship". */ export type User_Relationship_Order_By = { counterparty?: InputMaybe; @@ -1106,6 +1248,48 @@ export enum User_Relationship_Select_Column { SubspaceId = 'subspace_id' } +/** aggregate stddev on columns */ +export type User_Relationship_Stddev_Fields = { + __typename?: 'user_relationship_stddev_fields'; + subspace_id?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type User_Relationship_Stddev_Pop_Fields = { + __typename?: 'user_relationship_stddev_pop_fields'; + subspace_id?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type User_Relationship_Stddev_Samp_Fields = { + __typename?: 'user_relationship_stddev_samp_fields'; + subspace_id?: Maybe; +}; + +/** aggregate sum on columns */ +export type User_Relationship_Sum_Fields = { + __typename?: 'user_relationship_sum_fields'; + subspace_id?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type User_Relationship_Var_Pop_Fields = { + __typename?: 'user_relationship_var_pop_fields'; + subspace_id?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type User_Relationship_Var_Samp_Fields = { + __typename?: 'user_relationship_var_samp_fields'; + subspace_id?: Maybe; +}; + +/** aggregate variance on columns */ +export type User_Relationship_Variance_Fields = { + __typename?: 'user_relationship_variance_fields'; + subspace_id?: Maybe; +}; + export type DesmosProfileQueryVariables = Exact<{ addresses?: InputMaybe | Scalars['String']>; }>; From 25d132645e106474d1a35df0d38006ccde75c7ff Mon Sep 17 00:00:00 2001 From: Magic Cat Date: Fri, 19 Jan 2024 15:30:15 +0700 Subject: [PATCH 07/72] add useMessageTypesQuery and update form to display types from db --- .../src/graphql/general/message_types.graphql | 7 + .../graphql/general/proposal_details.graphql | 1 - .../src/graphql/types/general_types.ts | 6261 ++++------------- .../hooks.ts | 14 +- .../index.tsx | 51 +- .../styles.ts | 3 +- 6 files changed, 1431 insertions(+), 4906 deletions(-) create mode 100644 apps/web-osmosis/src/graphql/general/message_types.graphql diff --git a/apps/web-osmosis/src/graphql/general/message_types.graphql b/apps/web-osmosis/src/graphql/general/message_types.graphql new file mode 100644 index 0000000000..c2fd3ba720 --- /dev/null +++ b/apps/web-osmosis/src/graphql/general/message_types.graphql @@ -0,0 +1,7 @@ +query MessageTypes{ + msgTypes: message_type{ + type + module + label + } +} \ No newline at end of file diff --git a/apps/web-osmosis/src/graphql/general/proposal_details.graphql b/apps/web-osmosis/src/graphql/general/proposal_details.graphql index 231f3fdfee..346c6cc288 100644 --- a/apps/web-osmosis/src/graphql/general/proposal_details.graphql +++ b/apps/web-osmosis/src/graphql/general/proposal_details.graphql @@ -8,7 +8,6 @@ query ProposalDetails($proposalId: Int) { proposalId: id submitTime: submit_time metadata - summary depositEndTime: deposit_end_time votingStartTime: voting_start_time votingEndTime: voting_end_time diff --git a/apps/web-osmosis/src/graphql/types/general_types.ts b/apps/web-osmosis/src/graphql/types/general_types.ts index aca260939f..911c13372a 100644 --- a/apps/web-osmosis/src/graphql/types/general_types.ts +++ b/apps/web-osmosis/src/graphql/types/general_types.ts @@ -21,14 +21,13 @@ export type Scalars = { _coin: any; _dec_coin: any; _text: any; - access_config: any; + access_config_scalar: any; bigint: any; bytea: any; jsonb: any; numeric: any; smallint: any; timestamp: any; - timestamptz: any; }; export type ActionAddress = { @@ -176,17 +175,17 @@ export type _Text_Comparison_Exp = { _nin?: InputMaybe>; }; -/** Boolean expression to compare columns of type "access_config". All fields are combined with logical 'AND'. */ -export type Access_Config_Comparison_Exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; +/** Boolean expression to compare columns of type "access_config_scalar". All fields are combined with logical 'AND'. */ +export type Access_Config_Scalar_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; /** columns and relationships of "account" */ @@ -194,79 +193,19 @@ export type Account = { __typename?: 'account'; address: Scalars['String']; /** An array relationship */ - feeGrantAllowancesByGranterAddress: Array; - /** An aggregate relationship */ - feeGrantAllowancesByGranterAddress_aggregate: Fee_Grant_Allowance_Aggregate; - /** An array relationship */ - fee_grant_allowances: Array; - /** An aggregate relationship */ - fee_grant_allowances_aggregate: Fee_Grant_Allowance_Aggregate; - /** An array relationship */ proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; /** An array relationship */ proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; /** An array relationship */ proposals: Array; /** An aggregate relationship */ proposals_aggregate: Proposal_Aggregate; /** An array relationship */ validator_infos: Array; - /** An aggregate relationship */ - validator_infos_aggregate: Validator_Info_Aggregate; /** An object relationship */ vesting_account?: Maybe; /** An array relationship */ vesting_accounts: Array; - /** An aggregate relationship */ - vesting_accounts_aggregate: Vesting_Account_Aggregate; - /** An array relationship */ - wasm_contracts: Array; - /** An aggregate relationship */ - wasm_contracts_aggregate: Wasm_Contract_Aggregate; -}; - - -/** columns and relationships of "account" */ -export type AccountFeeGrantAllowancesByGranterAddressArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "account" */ -export type AccountFeeGrantAllowancesByGranterAddress_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "account" */ -export type AccountFee_Grant_AllowancesArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "account" */ -export type AccountFee_Grant_Allowances_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; }; @@ -280,16 +219,6 @@ export type AccountProposal_DepositsArgs = { }; -/** columns and relationships of "account" */ -export type AccountProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountProposal_VotesArgs = { distinct_on?: InputMaybe>; @@ -300,16 +229,6 @@ export type AccountProposal_VotesArgs = { }; -/** columns and relationships of "account" */ -export type AccountProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountProposalsArgs = { distinct_on?: InputMaybe>; @@ -340,16 +259,6 @@ export type AccountValidator_InfosArgs = { }; -/** columns and relationships of "account" */ -export type AccountValidator_Infos_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountVesting_AccountsArgs = { distinct_on?: InputMaybe>; @@ -359,99 +268,30 @@ export type AccountVesting_AccountsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "account" */ -export type AccountVesting_Accounts_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "account" */ -export type AccountWasm_ContractsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "account" */ -export type AccountWasm_Contracts_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "account" */ -export type Account_Aggregate = { - __typename?: 'account_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "account" */ -export type Account_Aggregate_Fields = { - __typename?: 'account_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "account" */ -export type Account_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "account". All fields are combined with a logical 'AND'. */ export type Account_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; address?: InputMaybe; - feeGrantAllowancesByGranterAddress?: InputMaybe; - fee_grant_allowances?: InputMaybe; proposal_deposits?: InputMaybe; proposal_votes?: InputMaybe; proposals?: InputMaybe; + proposals_aggregate?: InputMaybe; validator_infos?: InputMaybe; vesting_account?: InputMaybe; vesting_accounts?: InputMaybe; - wasm_contracts?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Account_Max_Fields = { - __typename?: 'account_max_fields'; - address?: Maybe; -}; - -/** aggregate min on columns */ -export type Account_Min_Fields = { - __typename?: 'account_min_fields'; - address?: Maybe; }; /** Ordering options when selecting data from "account". */ export type Account_Order_By = { address?: InputMaybe; - feeGrantAllowancesByGranterAddress_aggregate?: InputMaybe; - fee_grant_allowances_aggregate?: InputMaybe; proposal_deposits_aggregate?: InputMaybe; proposal_votes_aggregate?: InputMaybe; proposals_aggregate?: InputMaybe; validator_infos_aggregate?: InputMaybe; vesting_account?: InputMaybe; vesting_accounts_aggregate?: InputMaybe; - wasm_contracts_aggregate?: InputMaybe; }; /** select columns of table "account" */ @@ -460,6 +300,19 @@ export enum Account_Select_Column { Address = 'address' } +/** Streaming cursor of the table "account" */ +export type Account_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Account_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Account_Stream_Cursor_Value_Input = { + address?: InputMaybe; +}; + /** columns and relationships of "average_block_time_from_genesis" */ export type Average_Block_Time_From_Genesis = { __typename?: 'average_block_time_from_genesis'; @@ -467,43 +320,6 @@ export type Average_Block_Time_From_Genesis = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_from_genesis" */ -export type Average_Block_Time_From_Genesis_Aggregate = { - __typename?: 'average_block_time_from_genesis_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_from_genesis" */ -export type Average_Block_Time_From_Genesis_Aggregate_Fields = { - __typename?: 'average_block_time_from_genesis_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_from_genesis" */ -export type Average_Block_Time_From_Genesis_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_From_Genesis_Avg_Fields = { - __typename?: 'average_block_time_from_genesis_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_from_genesis". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_From_Genesis_Bool_Exp = { _and?: InputMaybe>; @@ -513,20 +329,6 @@ export type Average_Block_Time_From_Genesis_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_From_Genesis_Max_Fields = { - __typename?: 'average_block_time_from_genesis_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_From_Genesis_Min_Fields = { - __typename?: 'average_block_time_from_genesis_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_from_genesis". */ export type Average_Block_Time_From_Genesis_Order_By = { average_time?: InputMaybe; @@ -541,53 +343,18 @@ export enum Average_Block_Time_From_Genesis_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_From_Genesis_Stddev_Fields = { - __typename?: 'average_block_time_from_genesis_stddev_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_from_genesis" */ +export type Average_Block_Time_From_Genesis_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_From_Genesis_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_From_Genesis_Stddev_Pop_Fields = { - __typename?: 'average_block_time_from_genesis_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_From_Genesis_Stddev_Samp_Fields = { - __typename?: 'average_block_time_from_genesis_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_From_Genesis_Sum_Fields = { - __typename?: 'average_block_time_from_genesis_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_From_Genesis_Var_Pop_Fields = { - __typename?: 'average_block_time_from_genesis_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_From_Genesis_Var_Samp_Fields = { - __typename?: 'average_block_time_from_genesis_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Average_Block_Time_From_Genesis_Variance_Fields = { - __typename?: 'average_block_time_from_genesis_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_From_Genesis_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "average_block_time_per_day" */ @@ -597,43 +364,6 @@ export type Average_Block_Time_Per_Day = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_per_day" */ -export type Average_Block_Time_Per_Day_Aggregate = { - __typename?: 'average_block_time_per_day_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_per_day" */ -export type Average_Block_Time_Per_Day_Aggregate_Fields = { - __typename?: 'average_block_time_per_day_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_per_day" */ -export type Average_Block_Time_Per_Day_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_Per_Day_Avg_Fields = { - __typename?: 'average_block_time_per_day_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_per_day". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_Per_Day_Bool_Exp = { _and?: InputMaybe>; @@ -643,20 +373,6 @@ export type Average_Block_Time_Per_Day_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_Per_Day_Max_Fields = { - __typename?: 'average_block_time_per_day_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_Per_Day_Min_Fields = { - __typename?: 'average_block_time_per_day_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_per_day". */ export type Average_Block_Time_Per_Day_Order_By = { average_time?: InputMaybe; @@ -671,53 +387,18 @@ export enum Average_Block_Time_Per_Day_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_Per_Day_Stddev_Fields = { - __typename?: 'average_block_time_per_day_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_Per_Day_Stddev_Pop_Fields = { - __typename?: 'average_block_time_per_day_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_Per_Day_Stddev_Samp_Fields = { - __typename?: 'average_block_time_per_day_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_Per_Day_Sum_Fields = { - __typename?: 'average_block_time_per_day_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_Per_Day_Var_Pop_Fields = { - __typename?: 'average_block_time_per_day_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_Per_Day_Var_Samp_Fields = { - __typename?: 'average_block_time_per_day_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_per_day" */ +export type Average_Block_Time_Per_Day_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_Per_Day_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Average_Block_Time_Per_Day_Variance_Fields = { - __typename?: 'average_block_time_per_day_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_Per_Day_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "average_block_time_per_hour" */ @@ -727,43 +408,6 @@ export type Average_Block_Time_Per_Hour = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_per_hour" */ -export type Average_Block_Time_Per_Hour_Aggregate = { - __typename?: 'average_block_time_per_hour_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_per_hour" */ -export type Average_Block_Time_Per_Hour_Aggregate_Fields = { - __typename?: 'average_block_time_per_hour_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_per_hour" */ -export type Average_Block_Time_Per_Hour_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_Per_Hour_Avg_Fields = { - __typename?: 'average_block_time_per_hour_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_per_hour". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_Per_Hour_Bool_Exp = { _and?: InputMaybe>; @@ -773,20 +417,6 @@ export type Average_Block_Time_Per_Hour_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_Per_Hour_Max_Fields = { - __typename?: 'average_block_time_per_hour_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_Per_Hour_Min_Fields = { - __typename?: 'average_block_time_per_hour_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_per_hour". */ export type Average_Block_Time_Per_Hour_Order_By = { average_time?: InputMaybe; @@ -801,53 +431,18 @@ export enum Average_Block_Time_Per_Hour_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_Per_Hour_Stddev_Fields = { - __typename?: 'average_block_time_per_hour_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_Per_Hour_Stddev_Pop_Fields = { - __typename?: 'average_block_time_per_hour_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_Per_Hour_Stddev_Samp_Fields = { - __typename?: 'average_block_time_per_hour_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_Per_Hour_Sum_Fields = { - __typename?: 'average_block_time_per_hour_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_Per_Hour_Var_Pop_Fields = { - __typename?: 'average_block_time_per_hour_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_per_hour" */ +export type Average_Block_Time_Per_Hour_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_Per_Hour_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Average_Block_Time_Per_Hour_Var_Samp_Fields = { - __typename?: 'average_block_time_per_hour_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Average_Block_Time_Per_Hour_Variance_Fields = { - __typename?: 'average_block_time_per_hour_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_Per_Hour_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "average_block_time_per_minute" */ @@ -857,43 +452,6 @@ export type Average_Block_Time_Per_Minute = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_per_minute" */ -export type Average_Block_Time_Per_Minute_Aggregate = { - __typename?: 'average_block_time_per_minute_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_per_minute" */ -export type Average_Block_Time_Per_Minute_Aggregate_Fields = { - __typename?: 'average_block_time_per_minute_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_per_minute" */ -export type Average_Block_Time_Per_Minute_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_Per_Minute_Avg_Fields = { - __typename?: 'average_block_time_per_minute_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_per_minute". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_Per_Minute_Bool_Exp = { _and?: InputMaybe>; @@ -903,20 +461,6 @@ export type Average_Block_Time_Per_Minute_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_Per_Minute_Max_Fields = { - __typename?: 'average_block_time_per_minute_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_Per_Minute_Min_Fields = { - __typename?: 'average_block_time_per_minute_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_per_minute". */ export type Average_Block_Time_Per_Minute_Order_By = { average_time?: InputMaybe; @@ -931,53 +475,18 @@ export enum Average_Block_Time_Per_Minute_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_Per_Minute_Stddev_Fields = { - __typename?: 'average_block_time_per_minute_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_Per_Minute_Stddev_Pop_Fields = { - __typename?: 'average_block_time_per_minute_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_per_minute" */ +export type Average_Block_Time_Per_Minute_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_Per_Minute_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_Per_Minute_Stddev_Samp_Fields = { - __typename?: 'average_block_time_per_minute_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_Per_Minute_Sum_Fields = { - __typename?: 'average_block_time_per_minute_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_Per_Minute_Var_Pop_Fields = { - __typename?: 'average_block_time_per_minute_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_Per_Minute_Var_Samp_Fields = { - __typename?: 'average_block_time_per_minute_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Average_Block_Time_Per_Minute_Variance_Fields = { - __typename?: 'average_block_time_per_minute_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_Per_Minute_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ @@ -1005,19 +514,13 @@ export type Block = { pre_commits_aggregate: Pre_Commit_Aggregate; /** An array relationship */ proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; /** An array relationship */ proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; proposer_address?: Maybe; timestamp: Scalars['timestamp']; total_gas?: Maybe; /** An array relationship */ transactions: Array; - /** An aggregate relationship */ - transactions_aggregate: Transaction_Aggregate; /** An object relationship */ validator?: Maybe; /** An array relationship */ @@ -1057,16 +560,6 @@ export type BlockProposal_DepositsArgs = { }; -/** columns and relationships of "block" */ -export type BlockProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "block" */ export type BlockProposal_VotesArgs = { distinct_on?: InputMaybe>; @@ -1077,16 +570,6 @@ export type BlockProposal_VotesArgs = { }; -/** columns and relationships of "block" */ -export type BlockProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "block" */ export type BlockTransactionsArgs = { distinct_on?: InputMaybe>; @@ -1097,16 +580,6 @@ export type BlockTransactionsArgs = { }; -/** columns and relationships of "block" */ -export type BlockTransactions_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "block" */ export type BlockValidator_Voting_PowersArgs = { distinct_on?: InputMaybe>; @@ -1126,36 +599,6 @@ export type BlockValidator_Voting_Powers_AggregateArgs = { where?: InputMaybe; }; -/** aggregated selection of "block" */ -export type Block_Aggregate = { - __typename?: 'block_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "block" */ -export type Block_Aggregate_Fields = { - __typename?: 'block_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "block" */ -export type Block_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "block" */ export type Block_Aggregate_Order_By = { avg?: InputMaybe; @@ -1171,14 +614,6 @@ export type Block_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Block_Avg_Fields = { - __typename?: 'block_avg_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by avg() on columns of table "block" */ export type Block_Avg_Order_By = { height?: InputMaybe; @@ -1195,6 +630,7 @@ export type Block_Bool_Exp = { height?: InputMaybe; num_txs?: InputMaybe; pre_commits?: InputMaybe; + pre_commits_aggregate?: InputMaybe; proposal_deposits?: InputMaybe; proposal_votes?: InputMaybe; proposer_address?: InputMaybe; @@ -1203,17 +639,7 @@ export type Block_Bool_Exp = { transactions?: InputMaybe; validator?: InputMaybe; validator_voting_powers?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Block_Max_Fields = { - __typename?: 'block_max_fields'; - hash?: Maybe; - height?: Maybe; - num_txs?: Maybe; - proposer_address?: Maybe; - timestamp?: Maybe; - total_gas?: Maybe; + validator_voting_powers_aggregate?: InputMaybe; }; /** order by max() on columns of table "block" */ @@ -1226,17 +652,6 @@ export type Block_Max_Order_By = { total_gas?: InputMaybe; }; -/** aggregate min on columns */ -export type Block_Min_Fields = { - __typename?: 'block_min_fields'; - hash?: Maybe; - height?: Maybe; - num_txs?: Maybe; - proposer_address?: Maybe; - timestamp?: Maybe; - total_gas?: Maybe; -}; - /** order by min() on columns of table "block" */ export type Block_Min_Order_By = { hash?: InputMaybe; @@ -1279,14 +694,6 @@ export enum Block_Select_Column { TotalGas = 'total_gas' } -/** aggregate stddev on columns */ -export type Block_Stddev_Fields = { - __typename?: 'block_stddev_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by stddev() on columns of table "block" */ export type Block_Stddev_Order_By = { height?: InputMaybe; @@ -1294,14 +701,6 @@ export type Block_Stddev_Order_By = { total_gas?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Block_Stddev_Pop_Fields = { - __typename?: 'block_stddev_pop_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by stddev_pop() on columns of table "block" */ export type Block_Stddev_Pop_Order_By = { height?: InputMaybe; @@ -1309,14 +708,6 @@ export type Block_Stddev_Pop_Order_By = { total_gas?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Block_Stddev_Samp_Fields = { - __typename?: 'block_stddev_samp_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by stddev_samp() on columns of table "block" */ export type Block_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -1324,12 +715,22 @@ export type Block_Stddev_Samp_Order_By = { total_gas?: InputMaybe; }; -/** aggregate sum on columns */ -export type Block_Sum_Fields = { - __typename?: 'block_sum_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; +/** Streaming cursor of the table "block" */ +export type Block_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Block_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Block_Stream_Cursor_Value_Input = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; }; /** order by sum() on columns of table "block" */ @@ -1339,14 +740,6 @@ export type Block_Sum_Order_By = { total_gas?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Block_Var_Pop_Fields = { - __typename?: 'block_var_pop_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by var_pop() on columns of table "block" */ export type Block_Var_Pop_Order_By = { height?: InputMaybe; @@ -1354,14 +747,6 @@ export type Block_Var_Pop_Order_By = { total_gas?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Block_Var_Samp_Fields = { - __typename?: 'block_var_samp_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by var_samp() on columns of table "block" */ export type Block_Var_Samp_Order_By = { height?: InputMaybe; @@ -1369,14 +754,6 @@ export type Block_Var_Samp_Order_By = { total_gas?: InputMaybe; }; -/** aggregate variance on columns */ -export type Block_Variance_Fields = { - __typename?: 'block_variance_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by variance() on columns of table "block" */ export type Block_Variance_Order_By = { height?: InputMaybe; @@ -1404,42 +781,6 @@ export type Community_Pool = { height: Scalars['bigint']; }; -/** aggregated selection of "community_pool" */ -export type Community_Pool_Aggregate = { - __typename?: 'community_pool_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "community_pool" */ -export type Community_Pool_Aggregate_Fields = { - __typename?: 'community_pool_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "community_pool" */ -export type Community_Pool_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Community_Pool_Avg_Fields = { - __typename?: 'community_pool_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "community_pool". All fields are combined with a logical 'AND'. */ export type Community_Pool_Bool_Exp = { _and?: InputMaybe>; @@ -1449,18 +790,6 @@ export type Community_Pool_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Community_Pool_Max_Fields = { - __typename?: 'community_pool_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Community_Pool_Min_Fields = { - __typename?: 'community_pool_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "community_pool". */ export type Community_Pool_Order_By = { coins?: InputMaybe; @@ -1475,47 +804,27 @@ export enum Community_Pool_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Community_Pool_Stddev_Fields = { - __typename?: 'community_pool_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Community_Pool_Stddev_Pop_Fields = { - __typename?: 'community_pool_stddev_pop_fields'; - height?: Maybe; +/** Streaming cursor of the table "community_pool" */ +export type Community_Pool_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Community_Pool_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Community_Pool_Stddev_Samp_Fields = { - __typename?: 'community_pool_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Community_Pool_Sum_Fields = { - __typename?: 'community_pool_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Community_Pool_Var_Pop_Fields = { - __typename?: 'community_pool_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Community_Pool_Var_Samp_Fields = { - __typename?: 'community_pool_var_samp_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Community_Pool_Stream_Cursor_Value_Input = { + coins?: InputMaybe; + height?: InputMaybe; }; -/** aggregate variance on columns */ -export type Community_Pool_Variance_Fields = { - __typename?: 'community_pool_variance_fields'; - height?: Maybe; -}; +/** ordering argument of a cursor */ +export enum Cursor_Ordering { + /** ascending ordering of the cursor */ + Asc = 'ASC', + /** descending ordering of the cursor */ + Desc = 'DESC' +} /** columns and relationships of "distribution_params" */ export type Distribution_Params = { @@ -1530,61 +839,13 @@ export type Distribution_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "distribution_params" */ -export type Distribution_Params_Aggregate = { - __typename?: 'distribution_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "distribution_params" */ -export type Distribution_Params_Aggregate_Fields = { - __typename?: 'distribution_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "distribution_params" */ -export type Distribution_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Distribution_Params_Avg_Fields = { - __typename?: 'distribution_params_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "distribution_params". All fields are combined with a logical 'AND'. */ export type Distribution_Params_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; - _or?: InputMaybe>; - height?: InputMaybe; - params?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Distribution_Params_Max_Fields = { - __typename?: 'distribution_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Distribution_Params_Min_Fields = { - __typename?: 'distribution_params_min_fields'; - height?: Maybe; + _or?: InputMaybe>; + height?: InputMaybe; + params?: InputMaybe; }; /** Ordering options when selecting data from "distribution_params". */ @@ -1601,46 +862,18 @@ export enum Distribution_Params_Select_Column { Params = 'params' } -/** aggregate stddev on columns */ -export type Distribution_Params_Stddev_Fields = { - __typename?: 'distribution_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Distribution_Params_Stddev_Pop_Fields = { - __typename?: 'distribution_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Distribution_Params_Stddev_Samp_Fields = { - __typename?: 'distribution_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Distribution_Params_Sum_Fields = { - __typename?: 'distribution_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Distribution_Params_Var_Pop_Fields = { - __typename?: 'distribution_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Distribution_Params_Var_Samp_Fields = { - __typename?: 'distribution_params_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "distribution_params" */ +export type Distribution_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Distribution_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Distribution_Params_Variance_Fields = { - __typename?: 'distribution_params_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Distribution_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; /** columns and relationships of "double_sign_evidence" */ @@ -1655,36 +888,6 @@ export type Double_Sign_Evidence = { vote_b_id: Scalars['bigint']; }; -/** aggregated selection of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate = { - __typename?: 'double_sign_evidence_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate_Fields = { - __typename?: 'double_sign_evidence_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "double_sign_evidence" */ export type Double_Sign_Evidence_Aggregate_Order_By = { avg?: InputMaybe; @@ -1700,14 +903,6 @@ export type Double_Sign_Evidence_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Double_Sign_Evidence_Avg_Fields = { - __typename?: 'double_sign_evidence_avg_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by avg() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Avg_Order_By = { height?: InputMaybe; @@ -1727,14 +922,6 @@ export type Double_Sign_Evidence_Bool_Exp = { vote_b_id?: InputMaybe; }; -/** aggregate max on columns */ -export type Double_Sign_Evidence_Max_Fields = { - __typename?: 'double_sign_evidence_max_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by max() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Max_Order_By = { height?: InputMaybe; @@ -1742,14 +929,6 @@ export type Double_Sign_Evidence_Max_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate min on columns */ -export type Double_Sign_Evidence_Min_Fields = { - __typename?: 'double_sign_evidence_min_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by min() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Min_Order_By = { height?: InputMaybe; @@ -1776,14 +955,6 @@ export enum Double_Sign_Evidence_Select_Column { VoteBId = 'vote_b_id' } -/** aggregate stddev on columns */ -export type Double_Sign_Evidence_Stddev_Fields = { - __typename?: 'double_sign_evidence_stddev_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by stddev() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Stddev_Order_By = { height?: InputMaybe; @@ -1791,14 +962,6 @@ export type Double_Sign_Evidence_Stddev_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Double_Sign_Evidence_Stddev_Pop_Fields = { - __typename?: 'double_sign_evidence_stddev_pop_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Stddev_Pop_Order_By = { height?: InputMaybe; @@ -1806,14 +969,6 @@ export type Double_Sign_Evidence_Stddev_Pop_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Double_Sign_Evidence_Stddev_Samp_Fields = { - __typename?: 'double_sign_evidence_stddev_samp_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by stddev_samp() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -1821,12 +976,19 @@ export type Double_Sign_Evidence_Stddev_Samp_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Double_Sign_Evidence_Sum_Fields = { - __typename?: 'double_sign_evidence_sum_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; +/** Streaming cursor of the table "double_sign_evidence" */ +export type Double_Sign_Evidence_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Double_Sign_Evidence_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Double_Sign_Evidence_Stream_Cursor_Value_Input = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; }; /** order by sum() on columns of table "double_sign_evidence" */ @@ -1836,14 +998,6 @@ export type Double_Sign_Evidence_Sum_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Double_Sign_Evidence_Var_Pop_Fields = { - __typename?: 'double_sign_evidence_var_pop_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by var_pop() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Var_Pop_Order_By = { height?: InputMaybe; @@ -1851,14 +1005,6 @@ export type Double_Sign_Evidence_Var_Pop_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Double_Sign_Evidence_Var_Samp_Fields = { - __typename?: 'double_sign_evidence_var_samp_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by var_samp() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Var_Samp_Order_By = { height?: InputMaybe; @@ -1866,14 +1012,6 @@ export type Double_Sign_Evidence_Var_Samp_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Double_Sign_Evidence_Variance_Fields = { - __typename?: 'double_sign_evidence_variance_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; - /** order by variance() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Variance_Order_By = { height?: InputMaybe; @@ -1887,12 +1025,8 @@ export type Double_Sign_Vote = { block_id: Scalars['String']; /** An array relationship */ doubleSignEvidencesByVoteBId: Array; - /** An aggregate relationship */ - doubleSignEvidencesByVoteBId_aggregate: Double_Sign_Evidence_Aggregate; /** An array relationship */ double_sign_evidences: Array; - /** An aggregate relationship */ - double_sign_evidences_aggregate: Double_Sign_Evidence_Aggregate; height: Scalars['bigint']; round: Scalars['Int']; signature: Scalars['String']; @@ -1914,16 +1048,6 @@ export type Double_Sign_VoteDoubleSignEvidencesByVoteBIdArgs = { }; -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDoubleSignEvidencesByVoteBId_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "double_sign_vote" */ export type Double_Sign_VoteDouble_Sign_EvidencesArgs = { distinct_on?: InputMaybe>; @@ -1933,46 +1057,6 @@ export type Double_Sign_VoteDouble_Sign_EvidencesArgs = { where?: InputMaybe; }; - -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDouble_Sign_Evidences_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate = { - __typename?: 'double_sign_vote_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate_Fields = { - __typename?: 'double_sign_vote_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "double_sign_vote" */ export type Double_Sign_Vote_Aggregate_Order_By = { avg?: InputMaybe; @@ -1988,15 +1072,6 @@ export type Double_Sign_Vote_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Double_Sign_Vote_Avg_Fields = { - __typename?: 'double_sign_vote_avg_fields'; - height?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by avg() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Avg_Order_By = { height?: InputMaybe; @@ -2022,18 +1097,6 @@ export type Double_Sign_Vote_Bool_Exp = { validator_index?: InputMaybe; }; -/** aggregate max on columns */ -export type Double_Sign_Vote_Max_Fields = { - __typename?: 'double_sign_vote_max_fields'; - block_id?: Maybe; - height?: Maybe; - round?: Maybe; - signature?: Maybe; - type?: Maybe; - validator_address?: Maybe; - validator_index?: Maybe; -}; - /** order by max() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Max_Order_By = { block_id?: InputMaybe; @@ -2045,18 +1108,6 @@ export type Double_Sign_Vote_Max_Order_By = { validator_index?: InputMaybe; }; -/** aggregate min on columns */ -export type Double_Sign_Vote_Min_Fields = { - __typename?: 'double_sign_vote_min_fields'; - block_id?: Maybe; - height?: Maybe; - round?: Maybe; - signature?: Maybe; - type?: Maybe; - validator_address?: Maybe; - validator_index?: Maybe; -}; - /** order by min() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Min_Order_By = { block_id?: InputMaybe; @@ -2100,15 +1151,6 @@ export enum Double_Sign_Vote_Select_Column { ValidatorIndex = 'validator_index' } -/** aggregate stddev on columns */ -export type Double_Sign_Vote_Stddev_Fields = { - __typename?: 'double_sign_vote_stddev_fields'; - height?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by stddev() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Stddev_Order_By = { height?: InputMaybe; @@ -2117,15 +1159,6 @@ export type Double_Sign_Vote_Stddev_Order_By = { validator_index?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Double_Sign_Vote_Stddev_Pop_Fields = { - __typename?: 'double_sign_vote_stddev_pop_fields'; - height?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by stddev_pop() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Stddev_Pop_Order_By = { height?: InputMaybe; @@ -2134,15 +1167,6 @@ export type Double_Sign_Vote_Stddev_Pop_Order_By = { validator_index?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Double_Sign_Vote_Stddev_Samp_Fields = { - __typename?: 'double_sign_vote_stddev_samp_fields'; - height?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by stddev_samp() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -2151,13 +1175,23 @@ export type Double_Sign_Vote_Stddev_Samp_Order_By = { validator_index?: InputMaybe; }; -/** aggregate sum on columns */ -export type Double_Sign_Vote_Sum_Fields = { - __typename?: 'double_sign_vote_sum_fields'; - height?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; +/** Streaming cursor of the table "double_sign_vote" */ +export type Double_Sign_Vote_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Double_Sign_Vote_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Double_Sign_Vote_Stream_Cursor_Value_Input = { + block_id?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; }; /** order by sum() on columns of table "double_sign_vote" */ @@ -2168,15 +1202,6 @@ export type Double_Sign_Vote_Sum_Order_By = { validator_index?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Double_Sign_Vote_Var_Pop_Fields = { - __typename?: 'double_sign_vote_var_pop_fields'; - height?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by var_pop() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Var_Pop_Order_By = { height?: InputMaybe; @@ -2185,15 +1210,6 @@ export type Double_Sign_Vote_Var_Pop_Order_By = { validator_index?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Double_Sign_Vote_Var_Samp_Fields = { - __typename?: 'double_sign_vote_var_samp_fields'; - height?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by var_samp() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Var_Samp_Order_By = { height?: InputMaybe; @@ -2202,15 +1218,6 @@ export type Double_Sign_Vote_Var_Samp_Order_By = { validator_index?: InputMaybe; }; -/** aggregate variance on columns */ -export type Double_Sign_Vote_Variance_Fields = { - __typename?: 'double_sign_vote_variance_fields'; - height?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; -}; - /** order by variance() on columns of table "double_sign_vote" */ export type Double_Sign_Vote_Variance_Order_By = { height?: InputMaybe; @@ -2238,62 +1245,6 @@ export type Fee_Grant_AllowanceAllowanceArgs = { path?: InputMaybe; }; -/** aggregated selection of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate = { - __typename?: 'fee_grant_allowance_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate_Fields = { - __typename?: 'fee_grant_allowance_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Fee_Grant_Allowance_Avg_Fields = { - __typename?: 'fee_grant_allowance_avg_fields'; - height?: Maybe; -}; - -/** order by avg() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Avg_Order_By = { - height?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "fee_grant_allowance". All fields are combined with a logical 'AND'. */ export type Fee_Grant_Allowance_Bool_Exp = { _and?: InputMaybe>; @@ -2307,36 +1258,6 @@ export type Fee_Grant_Allowance_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Fee_Grant_Allowance_Max_Fields = { - __typename?: 'fee_grant_allowance_max_fields'; - grantee_address?: Maybe; - granter_address?: Maybe; - height?: Maybe; -}; - -/** order by max() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Max_Order_By = { - grantee_address?: InputMaybe; - granter_address?: InputMaybe; - height?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Fee_Grant_Allowance_Min_Fields = { - __typename?: 'fee_grant_allowance_min_fields'; - grantee_address?: Maybe; - granter_address?: Maybe; - height?: Maybe; -}; - -/** order by min() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Min_Order_By = { - grantee_address?: InputMaybe; - granter_address?: InputMaybe; - height?: InputMaybe; -}; - /** Ordering options when selecting data from "fee_grant_allowance". */ export type Fee_Grant_Allowance_Order_By = { allowance?: InputMaybe; @@ -2359,81 +1280,20 @@ export enum Fee_Grant_Allowance_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Fee_Grant_Allowance_Stddev_Fields = { - __typename?: 'fee_grant_allowance_stddev_fields'; - height?: Maybe; -}; - -/** order by stddev() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Stddev_Order_By = { - height?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Fee_Grant_Allowance_Stddev_Pop_Fields = { - __typename?: 'fee_grant_allowance_stddev_pop_fields'; - height?: Maybe; -}; - -/** order by stddev_pop() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Stddev_Pop_Order_By = { - height?: InputMaybe; -}; - -/** aggregate stddev_samp on columns */ -export type Fee_Grant_Allowance_Stddev_Samp_Fields = { - __typename?: 'fee_grant_allowance_stddev_samp_fields'; - height?: Maybe; -}; - -/** order by stddev_samp() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Stddev_Samp_Order_By = { - height?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type Fee_Grant_Allowance_Sum_Fields = { - __typename?: 'fee_grant_allowance_sum_fields'; - height?: Maybe; -}; - -/** order by sum() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Sum_Order_By = { - height?: InputMaybe; -}; - -/** aggregate var_pop on columns */ -export type Fee_Grant_Allowance_Var_Pop_Fields = { - __typename?: 'fee_grant_allowance_var_pop_fields'; - height?: Maybe; -}; - -/** order by var_pop() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Var_Pop_Order_By = { - height?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Fee_Grant_Allowance_Var_Samp_Fields = { - __typename?: 'fee_grant_allowance_var_samp_fields'; - height?: Maybe; -}; - -/** order by var_samp() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Var_Samp_Order_By = { - height?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type Fee_Grant_Allowance_Variance_Fields = { - __typename?: 'fee_grant_allowance_variance_fields'; - height?: Maybe; +/** Streaming cursor of the table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Fee_Grant_Allowance_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** order by variance() on columns of table "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Variance_Order_By = { - height?: InputMaybe; +/** Initial value of the column from where the streaming should start */ +export type Fee_Grant_Allowance_Stream_Cursor_Value_Input = { + allowance?: InputMaybe; + grantee_address?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "genesis" */ @@ -2444,66 +1304,14 @@ export type Genesis = { time: Scalars['timestamp']; }; -/** aggregated selection of "genesis" */ -export type Genesis_Aggregate = { - __typename?: 'genesis_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "genesis" */ -export type Genesis_Aggregate_Fields = { - __typename?: 'genesis_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "genesis" */ -export type Genesis_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Genesis_Avg_Fields = { - __typename?: 'genesis_avg_fields'; - initial_height?: Maybe; -}; - /** Boolean expression to filter rows from the table "genesis". All fields are combined with a logical 'AND'. */ export type Genesis_Bool_Exp = { _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - chain_id?: InputMaybe; - initial_height?: InputMaybe; - time?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Genesis_Max_Fields = { - __typename?: 'genesis_max_fields'; - chain_id?: Maybe; - initial_height?: Maybe; - time?: Maybe; -}; - -/** aggregate min on columns */ -export type Genesis_Min_Fields = { - __typename?: 'genesis_min_fields'; - chain_id?: Maybe; - initial_height?: Maybe; - time?: Maybe; + _not?: InputMaybe; + _or?: InputMaybe>; + chain_id?: InputMaybe; + initial_height?: InputMaybe; + time?: InputMaybe; }; /** Ordering options when selecting data from "genesis". */ @@ -2523,46 +1331,19 @@ export enum Genesis_Select_Column { Time = 'time' } -/** aggregate stddev on columns */ -export type Genesis_Stddev_Fields = { - __typename?: 'genesis_stddev_fields'; - initial_height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Genesis_Stddev_Pop_Fields = { - __typename?: 'genesis_stddev_pop_fields'; - initial_height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Genesis_Stddev_Samp_Fields = { - __typename?: 'genesis_stddev_samp_fields'; - initial_height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Genesis_Sum_Fields = { - __typename?: 'genesis_sum_fields'; - initial_height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Genesis_Var_Pop_Fields = { - __typename?: 'genesis_var_pop_fields'; - initial_height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Genesis_Var_Samp_Fields = { - __typename?: 'genesis_var_samp_fields'; - initial_height?: Maybe; +/** Streaming cursor of the table "genesis" */ +export type Genesis_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Genesis_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Genesis_Variance_Fields = { - __typename?: 'genesis_variance_fields'; - initial_height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Genesis_Stream_Cursor_Value_Input = { + chain_id?: InputMaybe; + initial_height?: InputMaybe; + time?: InputMaybe; }; /** columns and relationships of "gov_params" */ @@ -2578,42 +1359,6 @@ export type Gov_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "gov_params" */ -export type Gov_Params_Aggregate = { - __typename?: 'gov_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "gov_params" */ -export type Gov_Params_Aggregate_Fields = { - __typename?: 'gov_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "gov_params" */ -export type Gov_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Gov_Params_Avg_Fields = { - __typename?: 'gov_params_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "gov_params". All fields are combined with a logical 'AND'. */ export type Gov_Params_Bool_Exp = { _and?: InputMaybe>; @@ -2623,18 +1368,6 @@ export type Gov_Params_Bool_Exp = { params?: InputMaybe; }; -/** aggregate max on columns */ -export type Gov_Params_Max_Fields = { - __typename?: 'gov_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Gov_Params_Min_Fields = { - __typename?: 'gov_params_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "gov_params". */ export type Gov_Params_Order_By = { height?: InputMaybe; @@ -2649,46 +1382,18 @@ export enum Gov_Params_Select_Column { Params = 'params' } -/** aggregate stddev on columns */ -export type Gov_Params_Stddev_Fields = { - __typename?: 'gov_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Gov_Params_Stddev_Pop_Fields = { - __typename?: 'gov_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Gov_Params_Stddev_Samp_Fields = { - __typename?: 'gov_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Gov_Params_Sum_Fields = { - __typename?: 'gov_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Gov_Params_Var_Pop_Fields = { - __typename?: 'gov_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Gov_Params_Var_Samp_Fields = { - __typename?: 'gov_params_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "gov_params" */ +export type Gov_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Gov_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Gov_Params_Variance_Fields = { - __typename?: 'gov_params_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Gov_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; /** columns and relationships of "inflation" */ @@ -2698,42 +1403,6 @@ export type Inflation = { value: Scalars['String']; }; -/** aggregated selection of "inflation" */ -export type Inflation_Aggregate = { - __typename?: 'inflation_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "inflation" */ -export type Inflation_Aggregate_Fields = { - __typename?: 'inflation_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "inflation" */ -export type Inflation_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Inflation_Avg_Fields = { - __typename?: 'inflation_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "inflation". All fields are combined with a logical 'AND'. */ export type Inflation_Bool_Exp = { _and?: InputMaybe>; @@ -2743,20 +1412,6 @@ export type Inflation_Bool_Exp = { value?: InputMaybe; }; -/** aggregate max on columns */ -export type Inflation_Max_Fields = { - __typename?: 'inflation_max_fields'; - height?: Maybe; - value?: Maybe; -}; - -/** aggregate min on columns */ -export type Inflation_Min_Fields = { - __typename?: 'inflation_min_fields'; - height?: Maybe; - value?: Maybe; -}; - /** Ordering options when selecting data from "inflation". */ export type Inflation_Order_By = { height?: InputMaybe; @@ -2771,50 +1426,27 @@ export enum Inflation_Select_Column { Value = 'value' } -/** aggregate stddev on columns */ -export type Inflation_Stddev_Fields = { - __typename?: 'inflation_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Inflation_Stddev_Pop_Fields = { - __typename?: 'inflation_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Inflation_Stddev_Samp_Fields = { - __typename?: 'inflation_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Inflation_Sum_Fields = { - __typename?: 'inflation_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Inflation_Var_Pop_Fields = { - __typename?: 'inflation_var_pop_fields'; - height?: Maybe; +/** Streaming cursor of the table "inflation" */ +export type Inflation_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Inflation_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Inflation_Var_Samp_Fields = { - __typename?: 'inflation_var_samp_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Inflation_Stream_Cursor_Value_Input = { + height?: InputMaybe; + value?: InputMaybe; }; -/** aggregate variance on columns */ -export type Inflation_Variance_Fields = { - __typename?: 'inflation_variance_fields'; - height?: Maybe; +export type Jsonb_Cast_Exp = { + String?: InputMaybe; }; /** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ export type Jsonb_Comparison_Exp = { + _cast?: InputMaybe; /** is the column contained in the given json value */ _contained_in?: InputMaybe; /** does the column contain the given json value at the top level */ @@ -2844,8 +1476,6 @@ export type Message = { involved_accounts_addresses: Scalars['_text']; /** An object relationship */ transaction?: Maybe; - /** An object relationship */ - transactionByPartitionIdTransactionHash?: Maybe; transaction_hash: Scalars['String']; type: Scalars['String']; value: Scalars['jsonb']; @@ -2857,64 +1487,6 @@ export type MessageValueArgs = { path?: InputMaybe; }; -/** aggregated selection of "message" */ -export type Message_Aggregate = { - __typename?: 'message_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "message" */ -export type Message_Aggregate_Fields = { - __typename?: 'message_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "message" */ -export type Message_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "message" */ -export type Message_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Message_Avg_Fields = { - __typename?: 'message_avg_fields'; - height?: Maybe; - index?: Maybe; -}; - -/** order by avg() on columns of table "message" */ -export type Message_Avg_Order_By = { - height?: InputMaybe; - index?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "message". All fields are combined with a logical 'AND'. */ export type Message_Bool_Exp = { _and?: InputMaybe>; @@ -2924,53 +1496,17 @@ export type Message_Bool_Exp = { index?: InputMaybe; involved_accounts_addresses?: InputMaybe<_Text_Comparison_Exp>; transaction?: InputMaybe; - transactionByPartitionIdTransactionHash?: InputMaybe; transaction_hash?: InputMaybe; type?: InputMaybe; value?: InputMaybe; }; -/** aggregate max on columns */ -export type Message_Max_Fields = { - __typename?: 'message_max_fields'; - height?: Maybe; - index?: Maybe; - transaction_hash?: Maybe; - type?: Maybe; -}; - -/** order by max() on columns of table "message" */ -export type Message_Max_Order_By = { - height?: InputMaybe; - index?: InputMaybe; - transaction_hash?: InputMaybe; - type?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Message_Min_Fields = { - __typename?: 'message_min_fields'; - height?: Maybe; - index?: Maybe; - transaction_hash?: Maybe; - type?: Maybe; -}; - -/** order by min() on columns of table "message" */ -export type Message_Min_Order_By = { - height?: InputMaybe; - index?: InputMaybe; - transaction_hash?: InputMaybe; - type?: InputMaybe; -}; - /** Ordering options when selecting data from "message". */ export type Message_Order_By = { height?: InputMaybe; index?: InputMaybe; involved_accounts_addresses?: InputMaybe; transaction?: InputMaybe; - transactionByPartitionIdTransactionHash?: InputMaybe; transaction_hash?: InputMaybe; type?: InputMaybe; value?: InputMaybe; @@ -2992,95 +1528,174 @@ export enum Message_Select_Column { Value = 'value' } -/** aggregate stddev on columns */ -export type Message_Stddev_Fields = { - __typename?: 'message_stddev_fields'; - height?: Maybe; - index?: Maybe; +/** Streaming cursor of the table "message" */ +export type Message_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Message_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** order by stddev() on columns of table "message" */ -export type Message_Stddev_Order_By = { - height?: InputMaybe; - index?: InputMaybe; +/** Initial value of the column from where the streaming should start */ +export type Message_Stream_Cursor_Value_Input = { + height?: InputMaybe; + index?: InputMaybe; + involved_accounts_addresses?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Message_Stddev_Pop_Fields = { - __typename?: 'message_stddev_pop_fields'; - height?: Maybe; - index?: Maybe; +/** columns and relationships of "message_type" */ +export type Message_Type = { + __typename?: 'message_type'; + height: Scalars['bigint']; + label: Scalars['String']; + module: Scalars['String']; + type: Scalars['String']; }; -/** order by stddev_pop() on columns of table "message" */ -export type Message_Stddev_Pop_Order_By = { - height?: InputMaybe; - index?: InputMaybe; +/** aggregated selection of "message_type" */ +export type Message_Type_Aggregate = { + __typename?: 'message_type_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate stddev_samp on columns */ -export type Message_Stddev_Samp_Fields = { - __typename?: 'message_stddev_samp_fields'; +/** aggregate fields of "message_type" */ +export type Message_Type_Aggregate_Fields = { + __typename?: 'message_type_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "message_type" */ +export type Message_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Message_Type_Avg_Fields = { + __typename?: 'message_type_avg_fields'; height?: Maybe; - index?: Maybe; }; -/** order by stddev_samp() on columns of table "message" */ -export type Message_Stddev_Samp_Order_By = { - height?: InputMaybe; - index?: InputMaybe; +/** Boolean expression to filter rows from the table "message_type". All fields are combined with a logical 'AND'. */ +export type Message_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + label?: InputMaybe; + module?: InputMaybe; + type?: InputMaybe; }; -/** aggregate sum on columns */ -export type Message_Sum_Fields = { - __typename?: 'message_sum_fields'; +/** aggregate max on columns */ +export type Message_Type_Max_Fields = { + __typename?: 'message_type_max_fields'; + height?: Maybe; + label?: Maybe; + module?: Maybe; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Message_Type_Min_Fields = { + __typename?: 'message_type_min_fields'; height?: Maybe; - index?: Maybe; + label?: Maybe; + module?: Maybe; + type?: Maybe; }; -/** order by sum() on columns of table "message" */ -export type Message_Sum_Order_By = { +/** Ordering options when selecting data from "message_type". */ +export type Message_Type_Order_By = { height?: InputMaybe; - index?: InputMaybe; + label?: InputMaybe; + module?: InputMaybe; + type?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Message_Var_Pop_Fields = { - __typename?: 'message_var_pop_fields'; +/** select columns of table "message_type" */ +export enum Message_Type_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Label = 'label', + /** column name */ + Module = 'module', + /** column name */ + Type = 'type' +} + +/** aggregate stddev on columns */ +export type Message_Type_Stddev_Fields = { + __typename?: 'message_type_stddev_fields'; height?: Maybe; - index?: Maybe; }; -/** order by var_pop() on columns of table "message" */ -export type Message_Var_Pop_Order_By = { - height?: InputMaybe; - index?: InputMaybe; +/** aggregate stddev_pop on columns */ +export type Message_Type_Stddev_Pop_Fields = { + __typename?: 'message_type_stddev_pop_fields'; + height?: Maybe; }; -/** aggregate var_samp on columns */ -export type Message_Var_Samp_Fields = { - __typename?: 'message_var_samp_fields'; +/** aggregate stddev_samp on columns */ +export type Message_Type_Stddev_Samp_Fields = { + __typename?: 'message_type_stddev_samp_fields'; height?: Maybe; - index?: Maybe; }; -/** order by var_samp() on columns of table "message" */ -export type Message_Var_Samp_Order_By = { - height?: InputMaybe; - index?: InputMaybe; +/** Streaming cursor of the table "message_type" */ +export type Message_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Message_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Message_Variance_Fields = { - __typename?: 'message_variance_fields'; +/** Initial value of the column from where the streaming should start */ +export type Message_Type_Stream_Cursor_Value_Input = { + height?: InputMaybe; + label?: InputMaybe; + module?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Message_Type_Sum_Fields = { + __typename?: 'message_type_sum_fields'; + height?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Message_Type_Var_Pop_Fields = { + __typename?: 'message_type_var_pop_fields'; height?: Maybe; - index?: Maybe; }; -/** order by variance() on columns of table "message" */ -export type Message_Variance_Order_By = { - height?: InputMaybe; - index?: InputMaybe; +/** aggregate var_samp on columns */ +export type Message_Type_Var_Samp_Fields = { + __typename?: 'message_type_var_samp_fields'; + height?: Maybe; +}; + +/** aggregate variance on columns */ +export type Message_Type_Variance_Fields = { + __typename?: 'message_type_variance_fields'; + height?: Maybe; }; export type Messages_By_Address_Args = { @@ -3090,14 +1705,6 @@ export type Messages_By_Address_Args = { types?: InputMaybe; }; -export type Messages_By_Single_Address_Args = { - address?: InputMaybe; - apikey?: InputMaybe; - limit?: InputMaybe; - offset?: InputMaybe; - types?: InputMaybe; -}; - /** columns and relationships of "mint_params" */ export type Mint_Params = { __typename?: 'mint_params'; @@ -3111,42 +1718,6 @@ export type Mint_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "mint_params" */ -export type Mint_Params_Aggregate = { - __typename?: 'mint_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "mint_params" */ -export type Mint_Params_Aggregate_Fields = { - __typename?: 'mint_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "mint_params" */ -export type Mint_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Mint_Params_Avg_Fields = { - __typename?: 'mint_params_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "mint_params". All fields are combined with a logical 'AND'. */ export type Mint_Params_Bool_Exp = { _and?: InputMaybe>; @@ -3156,18 +1727,6 @@ export type Mint_Params_Bool_Exp = { params?: InputMaybe; }; -/** aggregate max on columns */ -export type Mint_Params_Max_Fields = { - __typename?: 'mint_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Mint_Params_Min_Fields = { - __typename?: 'mint_params_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "mint_params". */ export type Mint_Params_Order_By = { height?: InputMaybe; @@ -3182,46 +1741,18 @@ export enum Mint_Params_Select_Column { Params = 'params' } -/** aggregate stddev on columns */ -export type Mint_Params_Stddev_Fields = { - __typename?: 'mint_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Mint_Params_Stddev_Pop_Fields = { - __typename?: 'mint_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Mint_Params_Stddev_Samp_Fields = { - __typename?: 'mint_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Mint_Params_Sum_Fields = { - __typename?: 'mint_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Mint_Params_Var_Pop_Fields = { - __typename?: 'mint_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Mint_Params_Var_Samp_Fields = { - __typename?: 'mint_params_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "mint_params" */ +export type Mint_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Mint_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Mint_Params_Variance_Fields = { - __typename?: 'mint_params_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Mint_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; /** columns and relationships of "modules" */ @@ -3249,6 +1780,19 @@ export enum Modules_Select_Column { ModuleName = 'module_name' } +/** Streaming cursor of the table "modules" */ +export type Modules_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Modules_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Modules_Stream_Cursor_Value_Input = { + module_name?: InputMaybe; +}; + /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ export type Numeric_Comparison_Exp = { _eq?: InputMaybe; @@ -3297,6 +1841,17 @@ export type Pre_Commit_Aggregate = { nodes: Array; }; +export type Pre_Commit_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Pre_Commit_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "pre_commit" */ export type Pre_Commit_Aggregate_Fields = { __typename?: 'pre_commit_aggregate_fields'; @@ -3470,6 +2025,23 @@ export type Pre_Commit_Stddev_Samp_Order_By = { voting_power?: InputMaybe; }; +/** Streaming cursor of the table "pre_commit" */ +export type Pre_Commit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Pre_Commit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Pre_Commit_Stream_Cursor_Value_Input = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + /** aggregate sum on columns */ export type Pre_Commit_Sum_Fields = { __typename?: 'pre_commit_sum_fields'; @@ -3537,21 +2109,15 @@ export type Proposal = { deposit_end_time?: Maybe; description: Scalars['String']; id: Scalars['Int']; - metadata?: Maybe; + metadata: Scalars['String']; /** An array relationship */ proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; /** An object relationship */ proposal_tally_result?: Maybe; /** An array relationship */ proposal_tally_results: Array; - /** An aggregate relationship */ - proposal_tally_results_aggregate: Proposal_Tally_Result_Aggregate; /** An array relationship */ proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; /** An object relationship */ proposer: Account; proposer_address: Scalars['String']; @@ -3559,12 +2125,9 @@ export type Proposal = { staking_pool_snapshot?: Maybe; status?: Maybe; submit_time: Scalars['timestamp']; - summary?: Maybe; title: Scalars['String']; /** An array relationship */ validator_status_snapshots: Array; - /** An aggregate relationship */ - validator_status_snapshots_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; voting_end_time?: Maybe; voting_start_time?: Maybe; }; @@ -3586,16 +2149,6 @@ export type ProposalProposal_DepositsArgs = { }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "proposal" */ export type ProposalProposal_Tally_ResultsArgs = { distinct_on?: InputMaybe>; @@ -3606,16 +2159,6 @@ export type ProposalProposal_Tally_ResultsArgs = { }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Tally_Results_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "proposal" */ export type ProposalProposal_VotesArgs = { distinct_on?: InputMaybe>; @@ -3626,16 +2169,6 @@ export type ProposalProposal_VotesArgs = { }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "proposal" */ export type ProposalValidator_Status_SnapshotsArgs = { distinct_on?: InputMaybe>; @@ -3645,16 +2178,6 @@ export type ProposalValidator_Status_SnapshotsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "proposal" */ -export type ProposalValidator_Status_Snapshots_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - /** aggregated selection of "proposal" */ export type Proposal_Aggregate = { __typename?: 'proposal_aggregate'; @@ -3662,6 +2185,17 @@ export type Proposal_Aggregate = { nodes: Array; }; +export type Proposal_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Proposal_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "proposal" */ export type Proposal_Aggregate_Fields = { __typename?: 'proposal_aggregate_fields'; @@ -3730,7 +2264,6 @@ export type Proposal_Bool_Exp = { staking_pool_snapshot?: InputMaybe; status?: InputMaybe; submit_time?: InputMaybe; - summary?: InputMaybe; title?: InputMaybe; validator_status_snapshots?: InputMaybe; voting_end_time?: InputMaybe; @@ -3750,38 +2283,7 @@ export type Proposal_Deposit = { /** An object relationship */ proposal: Proposal; proposal_id: Scalars['Int']; - timestamp?: Maybe; - transaction_hash: Scalars['String']; -}; - -/** aggregated selection of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate = { - __typename?: 'proposal_deposit_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate_Fields = { - __typename?: 'proposal_deposit_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; + timestamp?: Maybe; }; /** order by aggregate values of table "proposal_deposit" */ @@ -3799,13 +2301,6 @@ export type Proposal_Deposit_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Deposit_Avg_Fields = { - __typename?: 'proposal_deposit_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by avg() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Avg_Order_By = { height?: InputMaybe; @@ -3824,18 +2319,7 @@ export type Proposal_Deposit_Bool_Exp = { height?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; - timestamp?: InputMaybe; - transaction_hash?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Proposal_Deposit_Max_Fields = { - __typename?: 'proposal_deposit_max_fields'; - depositor_address?: Maybe; - height?: Maybe; - proposal_id?: Maybe; - timestamp?: Maybe; - transaction_hash?: Maybe; + timestamp?: InputMaybe; }; /** order by max() on columns of table "proposal_deposit" */ @@ -3844,17 +2328,6 @@ export type Proposal_Deposit_Max_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; timestamp?: InputMaybe; - transaction_hash?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Proposal_Deposit_Min_Fields = { - __typename?: 'proposal_deposit_min_fields'; - depositor_address?: Maybe; - height?: Maybe; - proposal_id?: Maybe; - timestamp?: Maybe; - transaction_hash?: Maybe; }; /** order by min() on columns of table "proposal_deposit" */ @@ -3863,7 +2336,6 @@ export type Proposal_Deposit_Min_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; timestamp?: InputMaybe; - transaction_hash?: InputMaybe; }; /** Ordering options when selecting data from "proposal_deposit". */ @@ -3876,7 +2348,6 @@ export type Proposal_Deposit_Order_By = { proposal?: InputMaybe; proposal_id?: InputMaybe; timestamp?: InputMaybe; - transaction_hash?: InputMaybe; }; /** select columns of table "proposal_deposit" */ @@ -3890,55 +2361,42 @@ export enum Proposal_Deposit_Select_Column { /** column name */ ProposalId = 'proposal_id', /** column name */ - Timestamp = 'timestamp', - /** column name */ - TransactionHash = 'transaction_hash' + Timestamp = 'timestamp' } -/** aggregate stddev on columns */ -export type Proposal_Deposit_Stddev_Fields = { - __typename?: 'proposal_deposit_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Stddev_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Deposit_Stddev_Pop_Fields = { - __typename?: 'proposal_deposit_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Stddev_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Deposit_Stddev_Samp_Fields = { - __typename?: 'proposal_deposit_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_samp() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Stddev_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Deposit_Sum_Fields = { - __typename?: 'proposal_deposit_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "proposal_deposit" */ +export type Proposal_Deposit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Deposit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Deposit_Stream_Cursor_Value_Input = { + amount?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; }; /** order by sum() on columns of table "proposal_deposit" */ @@ -3947,39 +2405,18 @@ export type Proposal_Deposit_Sum_Order_By = { proposal_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Deposit_Var_Pop_Fields = { - __typename?: 'proposal_deposit_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Var_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Deposit_Var_Samp_Fields = { - __typename?: 'proposal_deposit_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_samp() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Var_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Deposit_Variance_Fields = { - __typename?: 'proposal_deposit_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by variance() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Variance_Order_By = { height?: InputMaybe; @@ -3996,7 +2433,6 @@ export type Proposal_Max_Fields = { proposer_address?: Maybe; status?: Maybe; submit_time?: Maybe; - summary?: Maybe; title?: Maybe; voting_end_time?: Maybe; voting_start_time?: Maybe; @@ -4011,7 +2447,6 @@ export type Proposal_Max_Order_By = { proposer_address?: InputMaybe; status?: InputMaybe; submit_time?: InputMaybe; - summary?: InputMaybe; title?: InputMaybe; voting_end_time?: InputMaybe; voting_start_time?: InputMaybe; @@ -4027,7 +2462,6 @@ export type Proposal_Min_Fields = { proposer_address?: Maybe; status?: Maybe; submit_time?: Maybe; - summary?: Maybe; title?: Maybe; voting_end_time?: Maybe; voting_start_time?: Maybe; @@ -4042,7 +2476,6 @@ export type Proposal_Min_Order_By = { proposer_address?: InputMaybe; status?: InputMaybe; submit_time?: InputMaybe; - summary?: InputMaybe; title?: InputMaybe; voting_end_time?: InputMaybe; voting_start_time?: InputMaybe; @@ -4064,7 +2497,6 @@ export type Proposal_Order_By = { staking_pool_snapshot?: InputMaybe; status?: InputMaybe; submit_time?: InputMaybe; - summary?: InputMaybe; title?: InputMaybe; validator_status_snapshots_aggregate?: InputMaybe; voting_end_time?: InputMaybe; @@ -4090,8 +2522,6 @@ export enum Proposal_Select_Column { /** column name */ SubmitTime = 'submit_time', /** column name */ - Summary = 'summary', - /** column name */ Title = 'title', /** column name */ VotingEndTime = 'voting_end_time', @@ -4110,43 +2540,6 @@ export type Proposal_Staking_Pool_Snapshot = { proposal_id: Scalars['Int']; }; -/** aggregated selection of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate = { - __typename?: 'proposal_staking_pool_snapshot_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate_Fields = { - __typename?: 'proposal_staking_pool_snapshot_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Proposal_Staking_Pool_Snapshot_Avg_Fields = { - __typename?: 'proposal_staking_pool_snapshot_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** Boolean expression to filter rows from the table "proposal_staking_pool_snapshot". All fields are combined with a logical 'AND'. */ export type Proposal_Staking_Pool_Snapshot_Bool_Exp = { _and?: InputMaybe>; @@ -4159,24 +2552,6 @@ export type Proposal_Staking_Pool_Snapshot_Bool_Exp = { proposal_id?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Staking_Pool_Snapshot_Max_Fields = { - __typename?: 'proposal_staking_pool_snapshot_max_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate min on columns */ -export type Proposal_Staking_Pool_Snapshot_Min_Fields = { - __typename?: 'proposal_staking_pool_snapshot_min_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; -}; - /** Ordering options when selecting data from "proposal_staking_pool_snapshot". */ export type Proposal_Staking_Pool_Snapshot_Order_By = { bonded_tokens?: InputMaybe; @@ -4198,53 +2573,20 @@ export enum Proposal_Staking_Pool_Snapshot_Select_Column { ProposalId = 'proposal_id' } -/** aggregate stddev on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Pop_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Samp_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate sum on columns */ -export type Proposal_Staking_Pool_Snapshot_Sum_Fields = { - __typename?: 'proposal_staking_pool_snapshot_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Proposal_Staking_Pool_Snapshot_Var_Pop_Fields = { - __typename?: 'proposal_staking_pool_snapshot_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Proposal_Staking_Pool_Snapshot_Var_Samp_Fields = { - __typename?: 'proposal_staking_pool_snapshot_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "proposal_staking_pool_snapshot" */ +export type Proposal_Staking_Pool_Snapshot_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Staking_Pool_Snapshot_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Staking_Pool_Snapshot_Variance_Fields = { - __typename?: 'proposal_staking_pool_snapshot_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Proposal_Staking_Pool_Snapshot_Stream_Cursor_Value_Input = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal_id?: InputMaybe; }; /** aggregate stddev on columns */ @@ -4280,6 +2622,29 @@ export type Proposal_Stddev_Samp_Order_By = { id?: InputMaybe; }; +/** Streaming cursor of the table "proposal" */ +export type Proposal_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Stream_Cursor_Value_Input = { + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + metadata?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + /** aggregate sum on columns */ export type Proposal_Sum_Fields = { __typename?: 'proposal_sum_fields'; @@ -4304,36 +2669,6 @@ export type Proposal_Tally_Result = { yes: Scalars['String']; }; -/** aggregated selection of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate = { - __typename?: 'proposal_tally_result_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate_Fields = { - __typename?: 'proposal_tally_result_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "proposal_tally_result" */ export type Proposal_Tally_Result_Aggregate_Order_By = { avg?: InputMaybe; @@ -4349,13 +2684,6 @@ export type Proposal_Tally_Result_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Tally_Result_Avg_Fields = { - __typename?: 'proposal_tally_result_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by avg() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Avg_Order_By = { height?: InputMaybe; @@ -4376,17 +2704,6 @@ export type Proposal_Tally_Result_Bool_Exp = { yes?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Tally_Result_Max_Fields = { - __typename?: 'proposal_tally_result_max_fields'; - abstain?: Maybe; - height?: Maybe; - no?: Maybe; - no_with_veto?: Maybe; - proposal_id?: Maybe; - yes?: Maybe; -}; - /** order by max() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Max_Order_By = { abstain?: InputMaybe; @@ -4397,17 +2714,6 @@ export type Proposal_Tally_Result_Max_Order_By = { yes?: InputMaybe; }; -/** aggregate min on columns */ -export type Proposal_Tally_Result_Min_Fields = { - __typename?: 'proposal_tally_result_min_fields'; - abstain?: Maybe; - height?: Maybe; - no?: Maybe; - no_with_veto?: Maybe; - proposal_id?: Maybe; - yes?: Maybe; -}; - /** order by min() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Min_Order_By = { abstain?: InputMaybe; @@ -4445,50 +2751,40 @@ export enum Proposal_Tally_Result_Select_Column { Yes = 'yes' } -/** aggregate stddev on columns */ -export type Proposal_Tally_Result_Stddev_Fields = { - __typename?: 'proposal_tally_result_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Stddev_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Tally_Result_Stddev_Pop_Fields = { - __typename?: 'proposal_tally_result_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Stddev_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Tally_Result_Stddev_Samp_Fields = { - __typename?: 'proposal_tally_result_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_samp() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Stddev_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Tally_Result_Sum_Fields = { - __typename?: 'proposal_tally_result_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "proposal_tally_result" */ +export type Proposal_Tally_Result_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Tally_Result_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Tally_Result_Stream_Cursor_Value_Input = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; }; /** order by sum() on columns of table "proposal_tally_result" */ @@ -4497,39 +2793,18 @@ export type Proposal_Tally_Result_Sum_Order_By = { proposal_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Tally_Result_Var_Pop_Fields = { - __typename?: 'proposal_tally_result_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Var_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Tally_Result_Var_Samp_Fields = { - __typename?: 'proposal_tally_result_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_samp() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Var_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Tally_Result_Variance_Fields = { - __typename?: 'proposal_tally_result_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by variance() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Variance_Order_By = { height?: InputMaybe; @@ -4551,36 +2826,6 @@ export type Proposal_Validator_Status_Snapshot = { voting_power: Scalars['bigint']; }; -/** aggregated selection of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate = { - __typename?: 'proposal_validator_status_snapshot_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate_Fields = { - __typename?: 'proposal_validator_status_snapshot_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Aggregate_Order_By = { avg?: InputMaybe; @@ -4596,15 +2841,6 @@ export type Proposal_Validator_Status_Snapshot_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Validator_Status_Snapshot_Avg_Fields = { - __typename?: 'proposal_validator_status_snapshot_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by avg() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Avg_Order_By = { height?: InputMaybe; @@ -4628,16 +2864,6 @@ export type Proposal_Validator_Status_Snapshot_Bool_Exp = { voting_power?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Validator_Status_Snapshot_Max_Fields = { - __typename?: 'proposal_validator_status_snapshot_max_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - validator_address?: Maybe; - voting_power?: Maybe; -}; - /** order by max() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Max_Order_By = { height?: InputMaybe; @@ -4647,16 +2873,6 @@ export type Proposal_Validator_Status_Snapshot_Max_Order_By = { voting_power?: InputMaybe; }; -/** aggregate min on columns */ -export type Proposal_Validator_Status_Snapshot_Min_Fields = { - __typename?: 'proposal_validator_status_snapshot_min_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - validator_address?: Maybe; - voting_power?: Maybe; -}; - /** order by min() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Min_Order_By = { height?: InputMaybe; @@ -4694,15 +2910,6 @@ export enum Proposal_Validator_Status_Snapshot_Select_Column { VotingPower = 'voting_power' } -/** aggregate stddev on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Fields = { - __typename?: 'proposal_validator_status_snapshot_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by stddev() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Stddev_Order_By = { height?: InputMaybe; @@ -4711,15 +2918,6 @@ export type Proposal_Validator_Status_Snapshot_Stddev_Order_By = { voting_power?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Pop_Fields = { - __typename?: 'proposal_validator_status_snapshot_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Stddev_Pop_Order_By = { height?: InputMaybe; @@ -4728,15 +2926,6 @@ export type Proposal_Validator_Status_Snapshot_Stddev_Pop_Order_By = { voting_power?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Samp_Fields = { - __typename?: 'proposal_validator_status_snapshot_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by stddev_samp() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -4745,13 +2934,22 @@ export type Proposal_Validator_Status_Snapshot_Stddev_Samp_Order_By = { voting_power?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Validator_Status_Snapshot_Sum_Fields = { - __typename?: 'proposal_validator_status_snapshot_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; +/** Streaming cursor of the table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Validator_Status_Snapshot_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Validator_Status_Snapshot_Stream_Cursor_Value_Input = { + height?: InputMaybe; + jailed?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; }; /** order by sum() on columns of table "proposal_validator_status_snapshot" */ @@ -4762,15 +2960,6 @@ export type Proposal_Validator_Status_Snapshot_Sum_Order_By = { voting_power?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Validator_Status_Snapshot_Var_Pop_Fields = { - __typename?: 'proposal_validator_status_snapshot_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Var_Pop_Order_By = { height?: InputMaybe; @@ -4779,15 +2968,6 @@ export type Proposal_Validator_Status_Snapshot_Var_Pop_Order_By = { voting_power?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Validator_Status_Snapshot_Var_Samp_Fields = { - __typename?: 'proposal_validator_status_snapshot_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by var_samp() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Var_Samp_Order_By = { height?: InputMaybe; @@ -4796,15 +2976,6 @@ export type Proposal_Validator_Status_Snapshot_Var_Samp_Order_By = { voting_power?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Validator_Status_Snapshot_Variance_Fields = { - __typename?: 'proposal_validator_status_snapshot_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; - status?: Maybe; - voting_power?: Maybe; -}; - /** order by variance() on columns of table "proposal_validator_status_snapshot" */ export type Proposal_Validator_Status_Snapshot_Variance_Order_By = { height?: InputMaybe; @@ -4858,38 +3029,9 @@ export type Proposal_Vote = { /** An object relationship */ proposal: Proposal; proposal_id: Scalars['Int']; - timestamp?: Maybe; + timestamp?: Maybe; voter_address: Scalars['String']; -}; - -/** aggregated selection of "proposal_vote" */ -export type Proposal_Vote_Aggregate = { - __typename?: 'proposal_vote_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_vote" */ -export type Proposal_Vote_Aggregate_Fields = { - __typename?: 'proposal_vote_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_vote" */ -export type Proposal_Vote_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; + weight: Scalars['String']; }; /** order by aggregate values of table "proposal_vote" */ @@ -4907,13 +3049,6 @@ export type Proposal_Vote_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Vote_Avg_Fields = { - __typename?: 'proposal_vote_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by avg() on columns of table "proposal_vote" */ export type Proposal_Vote_Avg_Order_By = { height?: InputMaybe; @@ -4931,18 +3066,9 @@ export type Proposal_Vote_Bool_Exp = { option?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; - timestamp?: InputMaybe; + timestamp?: InputMaybe; voter_address?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Proposal_Vote_Max_Fields = { - __typename?: 'proposal_vote_max_fields'; - height?: Maybe; - option?: Maybe; - proposal_id?: Maybe; - timestamp?: Maybe; - voter_address?: Maybe; + weight?: InputMaybe; }; /** order by max() on columns of table "proposal_vote" */ @@ -4952,16 +3078,7 @@ export type Proposal_Vote_Max_Order_By = { proposal_id?: InputMaybe; timestamp?: InputMaybe; voter_address?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Proposal_Vote_Min_Fields = { - __typename?: 'proposal_vote_min_fields'; - height?: Maybe; - option?: Maybe; - proposal_id?: Maybe; - timestamp?: Maybe; - voter_address?: Maybe; + weight?: InputMaybe; }; /** order by min() on columns of table "proposal_vote" */ @@ -4971,6 +3088,7 @@ export type Proposal_Vote_Min_Order_By = { proposal_id?: InputMaybe; timestamp?: InputMaybe; voter_address?: InputMaybe; + weight?: InputMaybe; }; /** Ordering options when selecting data from "proposal_vote". */ @@ -4983,6 +3101,7 @@ export type Proposal_Vote_Order_By = { proposal_id?: InputMaybe; timestamp?: InputMaybe; voter_address?: InputMaybe; + weight?: InputMaybe; }; /** select columns of table "proposal_vote" */ @@ -4996,53 +3115,45 @@ export enum Proposal_Vote_Select_Column { /** column name */ Timestamp = 'timestamp', /** column name */ - VoterAddress = 'voter_address' + VoterAddress = 'voter_address', + /** column name */ + Weight = 'weight' } -/** aggregate stddev on columns */ -export type Proposal_Vote_Stddev_Fields = { - __typename?: 'proposal_vote_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev() on columns of table "proposal_vote" */ export type Proposal_Vote_Stddev_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Vote_Stddev_Pop_Fields = { - __typename?: 'proposal_vote_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_vote" */ export type Proposal_Vote_Stddev_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Vote_Stddev_Samp_Fields = { - __typename?: 'proposal_vote_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_samp() on columns of table "proposal_vote" */ export type Proposal_Vote_Stddev_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Vote_Sum_Fields = { - __typename?: 'proposal_vote_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "proposal_vote" */ +export type Proposal_Vote_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Vote_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Vote_Stream_Cursor_Value_Input = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; + weight?: InputMaybe; }; /** order by sum() on columns of table "proposal_vote" */ @@ -5051,39 +3162,18 @@ export type Proposal_Vote_Sum_Order_By = { proposal_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Vote_Var_Pop_Fields = { - __typename?: 'proposal_vote_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_vote" */ export type Proposal_Vote_Var_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Vote_Var_Samp_Fields = { - __typename?: 'proposal_vote_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_samp() on columns of table "proposal_vote" */ export type Proposal_Vote_Var_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Vote_Variance_Fields = { - __typename?: 'proposal_vote_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by variance() on columns of table "proposal_vote" */ export type Proposal_Vote_Variance_Order_By = { height?: InputMaybe; @@ -5094,8 +3184,6 @@ export type Query_Root = { __typename?: 'query_root'; /** fetch data from the table: "account" */ account: Array; - /** fetch aggregated fields from the table: "account" */ - account_aggregate: Account_Aggregate; /** fetch data from the table: "account" using primary key columns */ account_by_pk?: Maybe; action_account_balance?: Maybe; @@ -5114,74 +3202,42 @@ export type Query_Root = { action_validator_unbonding_delegations?: Maybe; /** fetch data from the table: "average_block_time_from_genesis" */ average_block_time_from_genesis: Array; - /** fetch aggregated fields from the table: "average_block_time_from_genesis" */ - average_block_time_from_genesis_aggregate: Average_Block_Time_From_Genesis_Aggregate; /** fetch data from the table: "average_block_time_per_day" */ average_block_time_per_day: Array; - /** fetch aggregated fields from the table: "average_block_time_per_day" */ - average_block_time_per_day_aggregate: Average_Block_Time_Per_Day_Aggregate; /** fetch data from the table: "average_block_time_per_hour" */ average_block_time_per_hour: Array; - /** fetch aggregated fields from the table: "average_block_time_per_hour" */ - average_block_time_per_hour_aggregate: Average_Block_Time_Per_Hour_Aggregate; /** fetch data from the table: "average_block_time_per_minute" */ average_block_time_per_minute: Array; - /** fetch aggregated fields from the table: "average_block_time_per_minute" */ - average_block_time_per_minute_aggregate: Average_Block_Time_Per_Minute_Aggregate; /** fetch data from the table: "block" */ block: Array; - /** fetch aggregated fields from the table: "block" */ - block_aggregate: Block_Aggregate; /** fetch data from the table: "block" using primary key columns */ block_by_pk?: Maybe; /** fetch data from the table: "community_pool" */ community_pool: Array; - /** fetch aggregated fields from the table: "community_pool" */ - community_pool_aggregate: Community_Pool_Aggregate; /** fetch data from the table: "distribution_params" */ distribution_params: Array; - /** fetch aggregated fields from the table: "distribution_params" */ - distribution_params_aggregate: Distribution_Params_Aggregate; /** fetch data from the table: "double_sign_evidence" */ double_sign_evidence: Array; - /** fetch aggregated fields from the table: "double_sign_evidence" */ - double_sign_evidence_aggregate: Double_Sign_Evidence_Aggregate; /** fetch data from the table: "double_sign_vote" */ double_sign_vote: Array; - /** fetch aggregated fields from the table: "double_sign_vote" */ - double_sign_vote_aggregate: Double_Sign_Vote_Aggregate; /** fetch data from the table: "fee_grant_allowance" */ fee_grant_allowance: Array; - /** fetch aggregated fields from the table: "fee_grant_allowance" */ - fee_grant_allowance_aggregate: Fee_Grant_Allowance_Aggregate; /** fetch data from the table: "genesis" */ genesis: Array; - /** fetch aggregated fields from the table: "genesis" */ - genesis_aggregate: Genesis_Aggregate; /** fetch data from the table: "gov_params" */ gov_params: Array; - /** fetch aggregated fields from the table: "gov_params" */ - gov_params_aggregate: Gov_Params_Aggregate; /** fetch data from the table: "inflation" */ inflation: Array; - /** fetch aggregated fields from the table: "inflation" */ - inflation_aggregate: Inflation_Aggregate; /** fetch data from the table: "message" */ message: Array; - /** fetch aggregated fields from the table: "message" */ - message_aggregate: Message_Aggregate; + /** fetch data from the table: "message_type" */ + message_type: Array; + /** fetch aggregated fields from the table: "message_type" */ + message_type_aggregate: Message_Type_Aggregate; /** execute function "messages_by_address" which returns "message" */ messages_by_address: Array; - /** execute function "messages_by_address" and query aggregates on result of table type "message" */ - messages_by_address_aggregate: Message_Aggregate; - /** execute function "messages_by_single_address" which returns "message" */ - messages_by_single_address: Array; - /** execute function "messages_by_single_address" and query aggregates on result of table type "message" */ - messages_by_single_address_aggregate: Message_Aggregate; /** fetch data from the table: "mint_params" */ mint_params: Array; - /** fetch aggregated fields from the table: "mint_params" */ - mint_params_aggregate: Mint_Params_Aggregate; /** fetch data from the table: "modules" */ modules: Array; /** fetch data from the table: "modules" using primary key columns */ @@ -5198,97 +3254,58 @@ export type Query_Root = { proposal_by_pk?: Maybe; /** fetch data from the table: "proposal_deposit" */ proposal_deposit: Array; - /** fetch aggregated fields from the table: "proposal_deposit" */ - proposal_deposit_aggregate: Proposal_Deposit_Aggregate; /** fetch data from the table: "proposal_staking_pool_snapshot" */ proposal_staking_pool_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_staking_pool_snapshot" */ - proposal_staking_pool_snapshot_aggregate: Proposal_Staking_Pool_Snapshot_Aggregate; /** fetch data from the table: "proposal_staking_pool_snapshot" using primary key columns */ proposal_staking_pool_snapshot_by_pk?: Maybe; /** fetch data from the table: "proposal_tally_result" */ proposal_tally_result: Array; - /** fetch aggregated fields from the table: "proposal_tally_result" */ - proposal_tally_result_aggregate: Proposal_Tally_Result_Aggregate; /** fetch data from the table: "proposal_tally_result" using primary key columns */ proposal_tally_result_by_pk?: Maybe; /** fetch data from the table: "proposal_validator_status_snapshot" */ proposal_validator_status_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_validator_status_snapshot" */ - proposal_validator_status_snapshot_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; /** fetch data from the table: "proposal_vote" */ proposal_vote: Array; - /** fetch aggregated fields from the table: "proposal_vote" */ - proposal_vote_aggregate: Proposal_Vote_Aggregate; /** fetch data from the table: "slashing_params" */ slashing_params: Array; - /** fetch aggregated fields from the table: "slashing_params" */ - slashing_params_aggregate: Slashing_Params_Aggregate; /** fetch data from the table: "software_upgrade_plan" */ software_upgrade_plan: Array; /** fetch aggregated fields from the table: "software_upgrade_plan" */ software_upgrade_plan_aggregate: Software_Upgrade_Plan_Aggregate; /** fetch data from the table: "staking_params" */ staking_params: Array; - /** fetch aggregated fields from the table: "staking_params" */ - staking_params_aggregate: Staking_Params_Aggregate; /** fetch data from the table: "staking_pool" */ staking_pool: Array; - /** fetch aggregated fields from the table: "staking_pool" */ - staking_pool_aggregate: Staking_Pool_Aggregate; /** fetch data from the table: "supply" */ supply: Array; - /** fetch aggregated fields from the table: "supply" */ - supply_aggregate: Supply_Aggregate; - test_action_account_balance?: Maybe; /** fetch data from the table: "token" */ token: Array; - /** fetch aggregated fields from the table: "token" */ - token_aggregate: Token_Aggregate; /** fetch data from the table: "token_price" */ token_price: Array; - /** fetch aggregated fields from the table: "token_price" */ - token_price_aggregate: Token_Price_Aggregate; /** fetch data from the table: "token_price_history" */ token_price_history: Array; - /** fetch aggregated fields from the table: "token_price_history" */ - token_price_history_aggregate: Token_Price_History_Aggregate; /** fetch data from the table: "token_unit" */ token_unit: Array; - /** fetch aggregated fields from the table: "token_unit" */ - token_unit_aggregate: Token_Unit_Aggregate; /** fetch data from the table: "transaction" */ transaction: Array; - /** fetch aggregated fields from the table: "transaction" */ - transaction_aggregate: Transaction_Aggregate; /** fetch data from the table: "validator" */ validator: Array; - /** fetch aggregated fields from the table: "validator" */ - validator_aggregate: Validator_Aggregate; /** fetch data from the table: "validator" using primary key columns */ validator_by_pk?: Maybe; /** fetch data from the table: "validator_commission" */ validator_commission: Array; - /** fetch aggregated fields from the table: "validator_commission" */ - validator_commission_aggregate: Validator_Commission_Aggregate; /** fetch data from the table: "validator_commission" using primary key columns */ validator_commission_by_pk?: Maybe; /** fetch data from the table: "validator_description" */ validator_description: Array; - /** fetch aggregated fields from the table: "validator_description" */ - validator_description_aggregate: Validator_Description_Aggregate; /** fetch data from the table: "validator_description" using primary key columns */ validator_description_by_pk?: Maybe; /** fetch data from the table: "validator_info" */ validator_info: Array; - /** fetch aggregated fields from the table: "validator_info" */ - validator_info_aggregate: Validator_Info_Aggregate; /** fetch data from the table: "validator_info" using primary key columns */ validator_info_by_pk?: Maybe; /** fetch data from the table: "validator_signing_info" */ validator_signing_info: Array; - /** fetch aggregated fields from the table: "validator_signing_info" */ - validator_signing_info_aggregate: Validator_Signing_Info_Aggregate; /** fetch data from the table: "validator_signing_info" using primary key columns */ validator_signing_info_by_pk?: Maybe; /** fetch data from the table: "validator_status" */ @@ -5305,12 +3322,8 @@ export type Query_Root = { validator_voting_power_by_pk?: Maybe; /** fetch data from the table: "vesting_account" */ vesting_account: Array; - /** fetch aggregated fields from the table: "vesting_account" */ - vesting_account_aggregate: Vesting_Account_Aggregate; /** fetch data from the table: "vesting_period" */ vesting_period: Array; - /** fetch aggregated fields from the table: "vesting_period" */ - vesting_period_aggregate: Vesting_Period_Aggregate; /** fetch data from the table: "wasm_code" */ wasm_code: Array; /** fetch aggregated fields from the table: "wasm_code" */ @@ -5341,15 +3354,6 @@ export type Query_RootAccountArgs = { }; -export type Query_RootAccount_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAccount_By_PkArgs = { address: Scalars['String']; }; @@ -5462,15 +3466,6 @@ export type Query_RootAverage_Block_Time_From_GenesisArgs = { }; -export type Query_RootAverage_Block_Time_From_Genesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAverage_Block_Time_Per_DayArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5480,15 +3475,6 @@ export type Query_RootAverage_Block_Time_Per_DayArgs = { }; -export type Query_RootAverage_Block_Time_Per_Day_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAverage_Block_Time_Per_HourArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5498,15 +3484,6 @@ export type Query_RootAverage_Block_Time_Per_HourArgs = { }; -export type Query_RootAverage_Block_Time_Per_Hour_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAverage_Block_Time_Per_MinuteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5516,15 +3493,6 @@ export type Query_RootAverage_Block_Time_Per_MinuteArgs = { }; -export type Query_RootAverage_Block_Time_Per_Minute_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootBlockArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5534,15 +3502,6 @@ export type Query_RootBlockArgs = { }; -export type Query_RootBlock_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootBlock_By_PkArgs = { height: Scalars['bigint']; }; @@ -5557,15 +3516,6 @@ export type Query_RootCommunity_PoolArgs = { }; -export type Query_RootCommunity_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootDistribution_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5575,15 +3525,6 @@ export type Query_RootDistribution_ParamsArgs = { }; -export type Query_RootDistribution_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootDouble_Sign_EvidenceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5593,43 +3534,16 @@ export type Query_RootDouble_Sign_EvidenceArgs = { }; -export type Query_RootDouble_Sign_Evidence_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootDouble_Sign_VoteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootDouble_Sign_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootFee_Grant_AllowanceArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + where?: InputMaybe; }; -export type Query_RootFee_Grant_Allowance_AggregateArgs = { +export type Query_RootFee_Grant_AllowanceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -5647,15 +3561,6 @@ export type Query_RootGenesisArgs = { }; -export type Query_RootGenesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootGov_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5665,15 +3570,6 @@ export type Query_RootGov_ParamsArgs = { }; -export type Query_RootGov_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootInflationArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5683,15 +3579,6 @@ export type Query_RootInflationArgs = { }; -export type Query_RootInflation_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootMessageArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5701,26 +3588,25 @@ export type Query_RootMessageArgs = { }; -export type Query_RootMessage_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootMessage_TypeArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootMessages_By_AddressArgs = { - args: Messages_By_Address_Args; - distinct_on?: InputMaybe>; +export type Query_RootMessage_Type_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootMessages_By_Address_AggregateArgs = { +export type Query_RootMessages_By_AddressArgs = { args: Messages_By_Address_Args; distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5730,26 +3616,6 @@ export type Query_RootMessages_By_Address_AggregateArgs = { }; -export type Query_RootMessages_By_Single_AddressArgs = { - args: Messages_By_Single_Address_Args; - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootMessages_By_Single_Address_AggregateArgs = { - args: Messages_By_Single_Address_Args; - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootMint_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5759,15 +3625,6 @@ export type Query_RootMint_ParamsArgs = { }; -export type Query_RootMint_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootModulesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5832,15 +3689,6 @@ export type Query_RootProposal_DepositArgs = { }; -export type Query_RootProposal_Deposit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_Staking_Pool_SnapshotArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5850,15 +3698,6 @@ export type Query_RootProposal_Staking_Pool_SnapshotArgs = { }; -export type Query_RootProposal_Staking_Pool_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { proposal_id: Scalars['Int']; }; @@ -5873,15 +3712,6 @@ export type Query_RootProposal_Tally_ResultArgs = { }; -export type Query_RootProposal_Tally_Result_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_Tally_Result_By_PkArgs = { proposal_id: Scalars['Int']; }; @@ -5896,15 +3726,6 @@ export type Query_RootProposal_Validator_Status_SnapshotArgs = { }; -export type Query_RootProposal_Validator_Status_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_VoteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5914,15 +3735,6 @@ export type Query_RootProposal_VoteArgs = { }; -export type Query_RootProposal_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootSlashing_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5932,15 +3744,6 @@ export type Query_RootSlashing_ParamsArgs = { }; -export type Query_RootSlashing_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootSoftware_Upgrade_PlanArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5968,15 +3771,6 @@ export type Query_RootStaking_ParamsArgs = { }; -export type Query_RootStaking_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootStaking_PoolArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5986,15 +3780,6 @@ export type Query_RootStaking_PoolArgs = { }; -export type Query_RootStaking_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootSupplyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6004,22 +3789,6 @@ export type Query_RootSupplyArgs = { }; -export type Query_RootSupply_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootTest_Action_Account_BalanceArgs = { - address: Scalars['String']; - apikey?: InputMaybe; - height?: InputMaybe; -}; - - export type Query_RootTokenArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6029,15 +3798,6 @@ export type Query_RootTokenArgs = { }; -export type Query_RootToken_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootToken_PriceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6047,15 +3807,6 @@ export type Query_RootToken_PriceArgs = { }; -export type Query_RootToken_Price_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootToken_Price_HistoryArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6065,15 +3816,6 @@ export type Query_RootToken_Price_HistoryArgs = { }; -export type Query_RootToken_Price_History_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootToken_UnitArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6083,15 +3825,6 @@ export type Query_RootToken_UnitArgs = { }; -export type Query_RootToken_Unit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootTransactionArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6101,15 +3834,6 @@ export type Query_RootTransactionArgs = { }; -export type Query_RootTransaction_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidatorArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6119,15 +3843,6 @@ export type Query_RootValidatorArgs = { }; -export type Query_RootValidator_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -6142,15 +3857,6 @@ export type Query_RootValidator_CommissionArgs = { }; -export type Query_RootValidator_Commission_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Commission_By_PkArgs = { validator_address: Scalars['String']; }; @@ -6165,15 +3871,6 @@ export type Query_RootValidator_DescriptionArgs = { }; -export type Query_RootValidator_Description_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Description_By_PkArgs = { validator_address: Scalars['String']; }; @@ -6188,15 +3885,6 @@ export type Query_RootValidator_InfoArgs = { }; -export type Query_RootValidator_Info_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Info_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -6211,15 +3899,6 @@ export type Query_RootValidator_Signing_InfoArgs = { }; -export type Query_RootValidator_Signing_Info_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Signing_Info_By_PkArgs = { validator_address: Scalars['String']; }; @@ -6280,15 +3959,6 @@ export type Query_RootVesting_AccountArgs = { }; -export type Query_RootVesting_Account_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootVesting_PeriodArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6298,15 +3968,6 @@ export type Query_RootVesting_PeriodArgs = { }; -export type Query_RootVesting_Period_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootWasm_CodeArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6396,61 +4057,13 @@ export type Slashing_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "slashing_params" */ -export type Slashing_Params_Aggregate = { - __typename?: 'slashing_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "slashing_params" */ -export type Slashing_Params_Aggregate_Fields = { - __typename?: 'slashing_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "slashing_params" */ -export type Slashing_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Slashing_Params_Avg_Fields = { - __typename?: 'slashing_params_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "slashing_params". All fields are combined with a logical 'AND'. */ export type Slashing_Params_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; - _or?: InputMaybe>; - height?: InputMaybe; - params?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Slashing_Params_Max_Fields = { - __typename?: 'slashing_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Slashing_Params_Min_Fields = { - __typename?: 'slashing_params_min_fields'; - height?: Maybe; + _or?: InputMaybe>; + height?: InputMaybe; + params?: InputMaybe; }; /** Ordering options when selecting data from "slashing_params". */ @@ -6467,46 +4080,18 @@ export enum Slashing_Params_Select_Column { Params = 'params' } -/** aggregate stddev on columns */ -export type Slashing_Params_Stddev_Fields = { - __typename?: 'slashing_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Slashing_Params_Stddev_Pop_Fields = { - __typename?: 'slashing_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Slashing_Params_Stddev_Samp_Fields = { - __typename?: 'slashing_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Slashing_Params_Sum_Fields = { - __typename?: 'slashing_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Slashing_Params_Var_Pop_Fields = { - __typename?: 'slashing_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Slashing_Params_Var_Samp_Fields = { - __typename?: 'slashing_params_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "slashing_params" */ +export type Slashing_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Slashing_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Slashing_Params_Variance_Fields = { - __typename?: 'slashing_params_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Slashing_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */ @@ -6653,6 +4238,23 @@ export type Software_Upgrade_Plan_Stddev_Samp_Fields = { upgrade_height?: Maybe; }; +/** Streaming cursor of the table "software_upgrade_plan" */ +export type Software_Upgrade_Plan_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Software_Upgrade_Plan_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Software_Upgrade_Plan_Stream_Cursor_Value_Input = { + height?: InputMaybe; + info?: InputMaybe; + plan_name?: InputMaybe; + proposal_id?: InputMaybe; + upgrade_height?: InputMaybe; +}; + /** aggregate sum on columns */ export type Software_Upgrade_Plan_Sum_Fields = { __typename?: 'software_upgrade_plan_sum_fields'; @@ -6698,42 +4300,6 @@ export type Staking_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "staking_params" */ -export type Staking_Params_Aggregate = { - __typename?: 'staking_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "staking_params" */ -export type Staking_Params_Aggregate_Fields = { - __typename?: 'staking_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "staking_params" */ -export type Staking_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Staking_Params_Avg_Fields = { - __typename?: 'staking_params_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "staking_params". All fields are combined with a logical 'AND'. */ export type Staking_Params_Bool_Exp = { _and?: InputMaybe>; @@ -6743,18 +4309,6 @@ export type Staking_Params_Bool_Exp = { params?: InputMaybe; }; -/** aggregate max on columns */ -export type Staking_Params_Max_Fields = { - __typename?: 'staking_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Staking_Params_Min_Fields = { - __typename?: 'staking_params_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "staking_params". */ export type Staking_Params_Order_By = { height?: InputMaybe; @@ -6769,46 +4323,18 @@ export enum Staking_Params_Select_Column { Params = 'params' } -/** aggregate stddev on columns */ -export type Staking_Params_Stddev_Fields = { - __typename?: 'staking_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Staking_Params_Stddev_Pop_Fields = { - __typename?: 'staking_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Staking_Params_Stddev_Samp_Fields = { - __typename?: 'staking_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Staking_Params_Sum_Fields = { - __typename?: 'staking_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Staking_Params_Var_Pop_Fields = { - __typename?: 'staking_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Staking_Params_Var_Samp_Fields = { - __typename?: 'staking_params_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "staking_params" */ +export type Staking_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Staking_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Staking_Params_Variance_Fields = { - __typename?: 'staking_params_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Staking_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; /** columns and relationships of "staking_pool" */ @@ -6817,44 +4343,8 @@ export type Staking_Pool = { bonded_tokens: Scalars['String']; height: Scalars['bigint']; not_bonded_tokens: Scalars['String']; - staked_not_bonded_tokens?: Maybe; - unbonding_tokens?: Maybe; -}; - -/** aggregated selection of "staking_pool" */ -export type Staking_Pool_Aggregate = { - __typename?: 'staking_pool_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "staking_pool" */ -export type Staking_Pool_Aggregate_Fields = { - __typename?: 'staking_pool_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "staking_pool" */ -export type Staking_Pool_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Staking_Pool_Avg_Fields = { - __typename?: 'staking_pool_avg_fields'; - height?: Maybe; + staked_not_bonded_tokens: Scalars['String']; + unbonding_tokens: Scalars['String']; }; /** Boolean expression to filter rows from the table "staking_pool". All fields are combined with a logical 'AND'. */ @@ -6869,26 +4359,6 @@ export type Staking_Pool_Bool_Exp = { unbonding_tokens?: InputMaybe; }; -/** aggregate max on columns */ -export type Staking_Pool_Max_Fields = { - __typename?: 'staking_pool_max_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - staked_not_bonded_tokens?: Maybe; - unbonding_tokens?: Maybe; -}; - -/** aggregate min on columns */ -export type Staking_Pool_Min_Fields = { - __typename?: 'staking_pool_min_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - staked_not_bonded_tokens?: Maybe; - unbonding_tokens?: Maybe; -}; - /** Ordering options when selecting data from "staking_pool". */ export type Staking_Pool_Order_By = { bonded_tokens?: InputMaybe; @@ -6912,134 +4382,113 @@ export enum Staking_Pool_Select_Column { UnbondingTokens = 'unbonding_tokens' } -/** aggregate stddev on columns */ -export type Staking_Pool_Stddev_Fields = { - __typename?: 'staking_pool_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Staking_Pool_Stddev_Pop_Fields = { - __typename?: 'staking_pool_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Staking_Pool_Stddev_Samp_Fields = { - __typename?: 'staking_pool_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Staking_Pool_Sum_Fields = { - __typename?: 'staking_pool_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Staking_Pool_Var_Pop_Fields = { - __typename?: 'staking_pool_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Staking_Pool_Var_Samp_Fields = { - __typename?: 'staking_pool_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "staking_pool" */ +export type Staking_Pool_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Staking_Pool_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Staking_Pool_Variance_Fields = { - __typename?: 'staking_pool_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Staking_Pool_Stream_Cursor_Value_Input = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + staked_not_bonded_tokens?: InputMaybe; + unbonding_tokens?: InputMaybe; }; export type Subscription_Root = { __typename?: 'subscription_root'; /** fetch data from the table: "account" */ account: Array; - /** fetch aggregated fields from the table: "account" */ - account_aggregate: Account_Aggregate; /** fetch data from the table: "account" using primary key columns */ account_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "account" */ + account_stream: Array; /** fetch data from the table: "average_block_time_from_genesis" */ average_block_time_from_genesis: Array; - /** fetch aggregated fields from the table: "average_block_time_from_genesis" */ - average_block_time_from_genesis_aggregate: Average_Block_Time_From_Genesis_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_from_genesis" */ + average_block_time_from_genesis_stream: Array; /** fetch data from the table: "average_block_time_per_day" */ average_block_time_per_day: Array; - /** fetch aggregated fields from the table: "average_block_time_per_day" */ - average_block_time_per_day_aggregate: Average_Block_Time_Per_Day_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_per_day" */ + average_block_time_per_day_stream: Array; /** fetch data from the table: "average_block_time_per_hour" */ average_block_time_per_hour: Array; - /** fetch aggregated fields from the table: "average_block_time_per_hour" */ - average_block_time_per_hour_aggregate: Average_Block_Time_Per_Hour_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_per_hour" */ + average_block_time_per_hour_stream: Array; /** fetch data from the table: "average_block_time_per_minute" */ average_block_time_per_minute: Array; - /** fetch aggregated fields from the table: "average_block_time_per_minute" */ - average_block_time_per_minute_aggregate: Average_Block_Time_Per_Minute_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_per_minute" */ + average_block_time_per_minute_stream: Array; /** fetch data from the table: "block" */ block: Array; - /** fetch aggregated fields from the table: "block" */ - block_aggregate: Block_Aggregate; /** fetch data from the table: "block" using primary key columns */ block_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "block" */ + block_stream: Array; /** fetch data from the table: "community_pool" */ community_pool: Array; - /** fetch aggregated fields from the table: "community_pool" */ - community_pool_aggregate: Community_Pool_Aggregate; + /** fetch data from the table in a streaming manner: "community_pool" */ + community_pool_stream: Array; /** fetch data from the table: "distribution_params" */ distribution_params: Array; - /** fetch aggregated fields from the table: "distribution_params" */ - distribution_params_aggregate: Distribution_Params_Aggregate; + /** fetch data from the table in a streaming manner: "distribution_params" */ + distribution_params_stream: Array; /** fetch data from the table: "double_sign_evidence" */ double_sign_evidence: Array; - /** fetch aggregated fields from the table: "double_sign_evidence" */ - double_sign_evidence_aggregate: Double_Sign_Evidence_Aggregate; + /** fetch data from the table in a streaming manner: "double_sign_evidence" */ + double_sign_evidence_stream: Array; /** fetch data from the table: "double_sign_vote" */ double_sign_vote: Array; - /** fetch aggregated fields from the table: "double_sign_vote" */ - double_sign_vote_aggregate: Double_Sign_Vote_Aggregate; + /** fetch data from the table in a streaming manner: "double_sign_vote" */ + double_sign_vote_stream: Array; /** fetch data from the table: "fee_grant_allowance" */ fee_grant_allowance: Array; - /** fetch aggregated fields from the table: "fee_grant_allowance" */ - fee_grant_allowance_aggregate: Fee_Grant_Allowance_Aggregate; + /** fetch data from the table in a streaming manner: "fee_grant_allowance" */ + fee_grant_allowance_stream: Array; /** fetch data from the table: "genesis" */ genesis: Array; - /** fetch aggregated fields from the table: "genesis" */ - genesis_aggregate: Genesis_Aggregate; + /** fetch data from the table in a streaming manner: "genesis" */ + genesis_stream: Array; /** fetch data from the table: "gov_params" */ gov_params: Array; - /** fetch aggregated fields from the table: "gov_params" */ - gov_params_aggregate: Gov_Params_Aggregate; + /** fetch data from the table in a streaming manner: "gov_params" */ + gov_params_stream: Array; /** fetch data from the table: "inflation" */ inflation: Array; - /** fetch aggregated fields from the table: "inflation" */ - inflation_aggregate: Inflation_Aggregate; + /** fetch data from the table in a streaming manner: "inflation" */ + inflation_stream: Array; /** fetch data from the table: "message" */ message: Array; - /** fetch aggregated fields from the table: "message" */ - message_aggregate: Message_Aggregate; + /** fetch data from the table in a streaming manner: "message" */ + message_stream: Array; + /** fetch data from the table: "message_type" */ + message_type: Array; + /** fetch aggregated fields from the table: "message_type" */ + message_type_aggregate: Message_Type_Aggregate; + /** fetch data from the table in a streaming manner: "message_type" */ + message_type_stream: Array; /** execute function "messages_by_address" which returns "message" */ messages_by_address: Array; - /** execute function "messages_by_address" and query aggregates on result of table type "message" */ - messages_by_address_aggregate: Message_Aggregate; - /** execute function "messages_by_single_address" which returns "message" */ - messages_by_single_address: Array; - /** execute function "messages_by_single_address" and query aggregates on result of table type "message" */ - messages_by_single_address_aggregate: Message_Aggregate; /** fetch data from the table: "mint_params" */ mint_params: Array; - /** fetch aggregated fields from the table: "mint_params" */ - mint_params_aggregate: Mint_Params_Aggregate; + /** fetch data from the table in a streaming manner: "mint_params" */ + mint_params_stream: Array; /** fetch data from the table: "modules" */ modules: Array; /** fetch data from the table: "modules" using primary key columns */ modules_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "modules" */ + modules_stream: Array; /** fetch data from the table: "pre_commit" */ pre_commit: Array; /** fetch aggregated fields from the table: "pre_commit" */ pre_commit_aggregate: Pre_Commit_Aggregate; + /** fetch data from the table in a streaming manner: "pre_commit" */ + pre_commit_stream: Array; /** fetch data from the table: "proposal" */ proposal: Array; /** fetch aggregated fields from the table: "proposal" */ @@ -7048,136 +4497,152 @@ export type Subscription_Root = { proposal_by_pk?: Maybe; /** fetch data from the table: "proposal_deposit" */ proposal_deposit: Array; - /** fetch aggregated fields from the table: "proposal_deposit" */ - proposal_deposit_aggregate: Proposal_Deposit_Aggregate; + /** fetch data from the table in a streaming manner: "proposal_deposit" */ + proposal_deposit_stream: Array; /** fetch data from the table: "proposal_staking_pool_snapshot" */ proposal_staking_pool_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_staking_pool_snapshot" */ - proposal_staking_pool_snapshot_aggregate: Proposal_Staking_Pool_Snapshot_Aggregate; /** fetch data from the table: "proposal_staking_pool_snapshot" using primary key columns */ proposal_staking_pool_snapshot_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_staking_pool_snapshot" */ + proposal_staking_pool_snapshot_stream: Array; + /** fetch data from the table in a streaming manner: "proposal" */ + proposal_stream: Array; /** fetch data from the table: "proposal_tally_result" */ proposal_tally_result: Array; - /** fetch aggregated fields from the table: "proposal_tally_result" */ - proposal_tally_result_aggregate: Proposal_Tally_Result_Aggregate; /** fetch data from the table: "proposal_tally_result" using primary key columns */ proposal_tally_result_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_tally_result" */ + proposal_tally_result_stream: Array; /** fetch data from the table: "proposal_validator_status_snapshot" */ proposal_validator_status_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_validator_status_snapshot" */ - proposal_validator_status_snapshot_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; + /** fetch data from the table in a streaming manner: "proposal_validator_status_snapshot" */ + proposal_validator_status_snapshot_stream: Array; /** fetch data from the table: "proposal_vote" */ proposal_vote: Array; - /** fetch aggregated fields from the table: "proposal_vote" */ - proposal_vote_aggregate: Proposal_Vote_Aggregate; + /** fetch data from the table in a streaming manner: "proposal_vote" */ + proposal_vote_stream: Array; /** fetch data from the table: "slashing_params" */ slashing_params: Array; - /** fetch aggregated fields from the table: "slashing_params" */ - slashing_params_aggregate: Slashing_Params_Aggregate; + /** fetch data from the table in a streaming manner: "slashing_params" */ + slashing_params_stream: Array; /** fetch data from the table: "software_upgrade_plan" */ software_upgrade_plan: Array; /** fetch aggregated fields from the table: "software_upgrade_plan" */ software_upgrade_plan_aggregate: Software_Upgrade_Plan_Aggregate; + /** fetch data from the table in a streaming manner: "software_upgrade_plan" */ + software_upgrade_plan_stream: Array; /** fetch data from the table: "staking_params" */ staking_params: Array; - /** fetch aggregated fields from the table: "staking_params" */ - staking_params_aggregate: Staking_Params_Aggregate; + /** fetch data from the table in a streaming manner: "staking_params" */ + staking_params_stream: Array; /** fetch data from the table: "staking_pool" */ staking_pool: Array; - /** fetch aggregated fields from the table: "staking_pool" */ - staking_pool_aggregate: Staking_Pool_Aggregate; + /** fetch data from the table in a streaming manner: "staking_pool" */ + staking_pool_stream: Array; /** fetch data from the table: "supply" */ supply: Array; - /** fetch aggregated fields from the table: "supply" */ - supply_aggregate: Supply_Aggregate; + /** fetch data from the table in a streaming manner: "supply" */ + supply_stream: Array; /** fetch data from the table: "token" */ token: Array; - /** fetch aggregated fields from the table: "token" */ - token_aggregate: Token_Aggregate; /** fetch data from the table: "token_price" */ token_price: Array; - /** fetch aggregated fields from the table: "token_price" */ - token_price_aggregate: Token_Price_Aggregate; /** fetch data from the table: "token_price_history" */ token_price_history: Array; - /** fetch aggregated fields from the table: "token_price_history" */ - token_price_history_aggregate: Token_Price_History_Aggregate; + /** fetch data from the table in a streaming manner: "token_price_history" */ + token_price_history_stream: Array; + /** fetch data from the table in a streaming manner: "token_price" */ + token_price_stream: Array; + /** fetch data from the table in a streaming manner: "token" */ + token_stream: Array; /** fetch data from the table: "token_unit" */ token_unit: Array; - /** fetch aggregated fields from the table: "token_unit" */ - token_unit_aggregate: Token_Unit_Aggregate; + /** fetch data from the table in a streaming manner: "token_unit" */ + token_unit_stream: Array; /** fetch data from the table: "transaction" */ transaction: Array; - /** fetch aggregated fields from the table: "transaction" */ - transaction_aggregate: Transaction_Aggregate; + /** fetch data from the table in a streaming manner: "transaction" */ + transaction_stream: Array; /** fetch data from the table: "validator" */ validator: Array; - /** fetch aggregated fields from the table: "validator" */ - validator_aggregate: Validator_Aggregate; /** fetch data from the table: "validator" using primary key columns */ validator_by_pk?: Maybe; /** fetch data from the table: "validator_commission" */ validator_commission: Array; - /** fetch aggregated fields from the table: "validator_commission" */ - validator_commission_aggregate: Validator_Commission_Aggregate; /** fetch data from the table: "validator_commission" using primary key columns */ validator_commission_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_commission" */ + validator_commission_stream: Array; /** fetch data from the table: "validator_description" */ validator_description: Array; - /** fetch aggregated fields from the table: "validator_description" */ - validator_description_aggregate: Validator_Description_Aggregate; /** fetch data from the table: "validator_description" using primary key columns */ validator_description_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_description" */ + validator_description_stream: Array; /** fetch data from the table: "validator_info" */ validator_info: Array; - /** fetch aggregated fields from the table: "validator_info" */ - validator_info_aggregate: Validator_Info_Aggregate; /** fetch data from the table: "validator_info" using primary key columns */ validator_info_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_info" */ + validator_info_stream: Array; /** fetch data from the table: "validator_signing_info" */ validator_signing_info: Array; - /** fetch aggregated fields from the table: "validator_signing_info" */ - validator_signing_info_aggregate: Validator_Signing_Info_Aggregate; /** fetch data from the table: "validator_signing_info" using primary key columns */ validator_signing_info_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_signing_info" */ + validator_signing_info_stream: Array; /** fetch data from the table: "validator_status" */ validator_status: Array; /** fetch aggregated fields from the table: "validator_status" */ validator_status_aggregate: Validator_Status_Aggregate; /** fetch data from the table: "validator_status" using primary key columns */ validator_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_status" */ + validator_status_stream: Array; + /** fetch data from the table in a streaming manner: "validator" */ + validator_stream: Array; /** fetch data from the table: "validator_voting_power" */ validator_voting_power: Array; /** fetch aggregated fields from the table: "validator_voting_power" */ validator_voting_power_aggregate: Validator_Voting_Power_Aggregate; /** fetch data from the table: "validator_voting_power" using primary key columns */ validator_voting_power_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_voting_power" */ + validator_voting_power_stream: Array; /** fetch data from the table: "vesting_account" */ vesting_account: Array; - /** fetch aggregated fields from the table: "vesting_account" */ - vesting_account_aggregate: Vesting_Account_Aggregate; + /** fetch data from the table in a streaming manner: "vesting_account" */ + vesting_account_stream: Array; /** fetch data from the table: "vesting_period" */ vesting_period: Array; - /** fetch aggregated fields from the table: "vesting_period" */ - vesting_period_aggregate: Vesting_Period_Aggregate; + /** fetch data from the table in a streaming manner: "vesting_period" */ + vesting_period_stream: Array; /** fetch data from the table: "wasm_code" */ wasm_code: Array; /** fetch aggregated fields from the table: "wasm_code" */ wasm_code_aggregate: Wasm_Code_Aggregate; + /** fetch data from the table in a streaming manner: "wasm_code" */ + wasm_code_stream: Array; /** fetch data from the table: "wasm_contract" */ wasm_contract: Array; /** fetch aggregated fields from the table: "wasm_contract" */ wasm_contract_aggregate: Wasm_Contract_Aggregate; + /** fetch data from the table in a streaming manner: "wasm_contract" */ + wasm_contract_stream: Array; /** fetch data from the table: "wasm_execute_contract" */ wasm_execute_contract: Array; /** fetch aggregated fields from the table: "wasm_execute_contract" */ wasm_execute_contract_aggregate: Wasm_Execute_Contract_Aggregate; + /** fetch data from the table in a streaming manner: "wasm_execute_contract" */ + wasm_execute_contract_stream: Array; /** fetch data from the table: "wasm_params" */ wasm_params: Array; /** fetch aggregated fields from the table: "wasm_params" */ wasm_params_aggregate: Wasm_Params_Aggregate; /** fetch data from the table: "wasm_params" using primary key columns */ wasm_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "wasm_params" */ + wasm_params_stream: Array; }; @@ -7190,17 +4655,15 @@ export type Subscription_RootAccountArgs = { }; -export type Subscription_RootAccount_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootAccount_By_PkArgs = { + address: Scalars['String']; }; -export type Subscription_RootAccount_By_PkArgs = { - address: Scalars['String']; +export type Subscription_RootAccount_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7213,11 +4676,9 @@ export type Subscription_RootAverage_Block_Time_From_GenesisArgs = { }; -export type Subscription_RootAverage_Block_Time_From_Genesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_From_Genesis_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7231,11 +4692,9 @@ export type Subscription_RootAverage_Block_Time_Per_DayArgs = { }; -export type Subscription_RootAverage_Block_Time_Per_Day_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_Per_Day_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7249,11 +4708,9 @@ export type Subscription_RootAverage_Block_Time_Per_HourArgs = { }; -export type Subscription_RootAverage_Block_Time_Per_Hour_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_Per_Hour_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7267,11 +4724,9 @@ export type Subscription_RootAverage_Block_Time_Per_MinuteArgs = { }; -export type Subscription_RootAverage_Block_Time_Per_Minute_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_Per_Minute_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7285,17 +4740,15 @@ export type Subscription_RootBlockArgs = { }; -export type Subscription_RootBlock_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootBlock_By_PkArgs = { + height: Scalars['bigint']; }; -export type Subscription_RootBlock_By_PkArgs = { - height: Scalars['bigint']; +export type Subscription_RootBlock_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7308,11 +4761,9 @@ export type Subscription_RootCommunity_PoolArgs = { }; -export type Subscription_RootCommunity_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootCommunity_Pool_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7326,11 +4777,9 @@ export type Subscription_RootDistribution_ParamsArgs = { }; -export type Subscription_RootDistribution_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootDistribution_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7344,11 +4793,9 @@ export type Subscription_RootDouble_Sign_EvidenceArgs = { }; -export type Subscription_RootDouble_Sign_Evidence_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootDouble_Sign_Evidence_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7362,11 +4809,9 @@ export type Subscription_RootDouble_Sign_VoteArgs = { }; -export type Subscription_RootDouble_Sign_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootDouble_Sign_Vote_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7380,11 +4825,9 @@ export type Subscription_RootFee_Grant_AllowanceArgs = { }; -export type Subscription_RootFee_Grant_Allowance_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootFee_Grant_Allowance_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7398,11 +4841,9 @@ export type Subscription_RootGenesisArgs = { }; -export type Subscription_RootGenesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootGenesis_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7416,11 +4857,9 @@ export type Subscription_RootGov_ParamsArgs = { }; -export type Subscription_RootGov_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootGov_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7434,11 +4873,9 @@ export type Subscription_RootInflationArgs = { }; -export type Subscription_RootInflation_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootInflation_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7452,47 +4889,40 @@ export type Subscription_RootMessageArgs = { }; -export type Subscription_RootMessage_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootMessage_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootMessages_By_AddressArgs = { - args: Messages_By_Address_Args; - distinct_on?: InputMaybe>; +export type Subscription_RootMessage_TypeArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootMessages_By_Address_AggregateArgs = { - args: Messages_By_Address_Args; - distinct_on?: InputMaybe>; +export type Subscription_RootMessage_Type_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootMessages_By_Single_AddressArgs = { - args: Messages_By_Single_Address_Args; - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootMessage_Type_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootMessages_By_Single_Address_AggregateArgs = { - args: Messages_By_Single_Address_Args; +export type Subscription_RootMessages_By_AddressArgs = { + args: Messages_By_Address_Args; distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7510,11 +4940,9 @@ export type Subscription_RootMint_ParamsArgs = { }; -export type Subscription_RootMint_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootMint_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7533,6 +4961,13 @@ export type Subscription_RootModules_By_PkArgs = { }; +export type Subscription_RootModules_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootPre_CommitArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7551,6 +4986,13 @@ export type Subscription_RootPre_Commit_AggregateArgs = { }; +export type Subscription_RootPre_Commit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootProposalArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7583,11 +5025,9 @@ export type Subscription_RootProposal_DepositArgs = { }; -export type Subscription_RootProposal_Deposit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootProposal_Deposit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7601,30 +5041,26 @@ export type Subscription_RootProposal_Staking_Pool_SnapshotArgs = { }; -export type Subscription_RootProposal_Staking_Pool_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { + proposal_id: Scalars['Int']; }; -export type Subscription_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { - proposal_id: Scalars['Int']; +export type Subscription_RootProposal_Staking_Pool_Snapshot_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootProposal_Tally_ResultArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootProposal_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootProposal_Tally_Result_AggregateArgs = { +export type Subscription_RootProposal_Tally_ResultArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7638,16 +5074,14 @@ export type Subscription_RootProposal_Tally_Result_By_PkArgs = { }; -export type Subscription_RootProposal_Validator_Status_SnapshotArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootProposal_Tally_Result_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootProposal_Validator_Status_Snapshot_AggregateArgs = { +export type Subscription_RootProposal_Validator_Status_SnapshotArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7656,6 +5090,13 @@ export type Subscription_RootProposal_Validator_Status_Snapshot_AggregateArgs = }; +export type Subscription_RootProposal_Validator_Status_Snapshot_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootProposal_VoteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7665,11 +5106,9 @@ export type Subscription_RootProposal_VoteArgs = { }; -export type Subscription_RootProposal_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootProposal_Vote_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7683,11 +5122,9 @@ export type Subscription_RootSlashing_ParamsArgs = { }; -export type Subscription_RootSlashing_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootSlashing_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7710,6 +5147,13 @@ export type Subscription_RootSoftware_Upgrade_Plan_AggregateArgs = { }; +export type Subscription_RootSoftware_Upgrade_Plan_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootStaking_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7719,11 +5163,9 @@ export type Subscription_RootStaking_ParamsArgs = { }; -export type Subscription_RootStaking_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootStaking_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7737,11 +5179,9 @@ export type Subscription_RootStaking_PoolArgs = { }; -export type Subscription_RootStaking_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootStaking_Pool_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7755,11 +5195,9 @@ export type Subscription_RootSupplyArgs = { }; -export type Subscription_RootSupply_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootSupply_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7773,15 +5211,6 @@ export type Subscription_RootTokenArgs = { }; -export type Subscription_RootToken_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootToken_PriceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7791,15 +5220,6 @@ export type Subscription_RootToken_PriceArgs = { }; -export type Subscription_RootToken_Price_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootToken_Price_HistoryArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7809,15 +5229,27 @@ export type Subscription_RootToken_Price_HistoryArgs = { }; -export type Subscription_RootToken_Price_History_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootToken_Price_History_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; +export type Subscription_RootToken_Price_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootToken_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootToken_UnitArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7827,11 +5259,9 @@ export type Subscription_RootToken_UnitArgs = { }; -export type Subscription_RootToken_Unit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootToken_Unit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7845,11 +5275,9 @@ export type Subscription_RootTransactionArgs = { }; -export type Subscription_RootTransaction_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootTransaction_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7863,15 +5291,6 @@ export type Subscription_RootValidatorArgs = { }; -export type Subscription_RootValidator_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootValidator_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -7886,30 +5305,19 @@ export type Subscription_RootValidator_CommissionArgs = { }; -export type Subscription_RootValidator_Commission_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootValidator_Commission_By_PkArgs = { validator_address: Scalars['String']; }; -export type Subscription_RootValidator_DescriptionArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Commission_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootValidator_Description_AggregateArgs = { +export type Subscription_RootValidator_DescriptionArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7923,16 +5331,14 @@ export type Subscription_RootValidator_Description_By_PkArgs = { }; -export type Subscription_RootValidator_InfoArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Description_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootValidator_Info_AggregateArgs = { +export type Subscription_RootValidator_InfoArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7946,16 +5352,14 @@ export type Subscription_RootValidator_Info_By_PkArgs = { }; -export type Subscription_RootValidator_Signing_InfoArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Info_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootValidator_Signing_Info_AggregateArgs = { +export type Subscription_RootValidator_Signing_InfoArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7969,6 +5373,13 @@ export type Subscription_RootValidator_Signing_Info_By_PkArgs = { }; +export type Subscription_RootValidator_Signing_Info_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootValidator_StatusArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7992,6 +5403,20 @@ export type Subscription_RootValidator_Status_By_PkArgs = { }; +export type Subscription_RootValidator_Status_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootValidator_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootValidator_Voting_PowerArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8015,6 +5440,13 @@ export type Subscription_RootValidator_Voting_Power_By_PkArgs = { }; +export type Subscription_RootValidator_Voting_Power_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootVesting_AccountArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8024,11 +5456,9 @@ export type Subscription_RootVesting_AccountArgs = { }; -export type Subscription_RootVesting_Account_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootVesting_Account_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -8042,11 +5472,9 @@ export type Subscription_RootVesting_PeriodArgs = { }; -export type Subscription_RootVesting_Period_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootVesting_Period_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -8069,6 +5497,13 @@ export type Subscription_RootWasm_Code_AggregateArgs = { }; +export type Subscription_RootWasm_Code_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootWasm_ContractArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8087,6 +5522,13 @@ export type Subscription_RootWasm_Contract_AggregateArgs = { }; +export type Subscription_RootWasm_Contract_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootWasm_Execute_ContractArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8105,6 +5547,13 @@ export type Subscription_RootWasm_Execute_Contract_AggregateArgs = { }; +export type Subscription_RootWasm_Execute_Contract_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootWasm_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8127,6 +5576,13 @@ export type Subscription_RootWasm_Params_By_PkArgs = { one_row_id: Scalars['Boolean']; }; + +export type Subscription_RootWasm_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + /** columns and relationships of "supply" */ export type Supply = { __typename?: 'supply'; @@ -8134,42 +5590,6 @@ export type Supply = { height: Scalars['bigint']; }; -/** aggregated selection of "supply" */ -export type Supply_Aggregate = { - __typename?: 'supply_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "supply" */ -export type Supply_Aggregate_Fields = { - __typename?: 'supply_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "supply" */ -export type Supply_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Supply_Avg_Fields = { - __typename?: 'supply_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "supply". All fields are combined with a logical 'AND'. */ export type Supply_Bool_Exp = { _and?: InputMaybe>; @@ -8179,18 +5599,6 @@ export type Supply_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Supply_Max_Fields = { - __typename?: 'supply_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Supply_Min_Fields = { - __typename?: 'supply_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "supply". */ export type Supply_Order_By = { coins?: InputMaybe; @@ -8205,46 +5613,18 @@ export enum Supply_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Supply_Stddev_Fields = { - __typename?: 'supply_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Supply_Stddev_Pop_Fields = { - __typename?: 'supply_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Supply_Stddev_Samp_Fields = { - __typename?: 'supply_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Supply_Sum_Fields = { - __typename?: 'supply_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Supply_Var_Pop_Fields = { - __typename?: 'supply_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Supply_Var_Samp_Fields = { - __typename?: 'supply_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "supply" */ +export type Supply_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Supply_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Supply_Variance_Fields = { - __typename?: 'supply_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Supply_Stream_Cursor_Value_Input = { + coins?: InputMaybe; + height?: InputMaybe; }; /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ @@ -8260,27 +5640,12 @@ export type Timestamp_Comparison_Exp = { _nin?: InputMaybe>; }; -/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ -export type Timestamptz_Comparison_Exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - /** columns and relationships of "token" */ export type Token = { __typename?: 'token'; name: Scalars['String']; /** An array relationship */ token_units: Array; - /** An aggregate relationship */ - token_units_aggregate: Token_Unit_Aggregate; }; @@ -8293,38 +5658,6 @@ export type TokenToken_UnitsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "token" */ -export type TokenToken_Units_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "token" */ -export type Token_Aggregate = { - __typename?: 'token_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token" */ -export type Token_Aggregate_Fields = { - __typename?: 'token_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "token" */ -export type Token_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "token". All fields are combined with a logical 'AND'. */ export type Token_Bool_Exp = { _and?: InputMaybe>; @@ -8334,18 +5667,6 @@ export type Token_Bool_Exp = { token_units?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Max_Fields = { - __typename?: 'token_max_fields'; - name?: Maybe; -}; - -/** aggregate min on columns */ -export type Token_Min_Fields = { - __typename?: 'token_min_fields'; - name?: Maybe; -}; - /** Ordering options when selecting data from "token". */ export type Token_Order_By = { name?: InputMaybe; @@ -8363,36 +5684,6 @@ export type Token_Price = { unit_name: Scalars['String']; }; -/** aggregated selection of "token_price" */ -export type Token_Price_Aggregate = { - __typename?: 'token_price_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token_price" */ -export type Token_Price_Aggregate_Fields = { - __typename?: 'token_price_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "token_price" */ -export type Token_Price_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "token_price" */ export type Token_Price_Aggregate_Order_By = { avg?: InputMaybe; @@ -8408,13 +5699,6 @@ export type Token_Price_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Token_Price_Avg_Fields = { - __typename?: 'token_price_avg_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by avg() on columns of table "token_price" */ export type Token_Price_Avg_Order_By = { market_cap?: InputMaybe; @@ -8444,36 +5728,6 @@ export type Token_Price_History = { unit_name: Scalars['String']; }; -/** aggregated selection of "token_price_history" */ -export type Token_Price_History_Aggregate = { - __typename?: 'token_price_history_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token_price_history" */ -export type Token_Price_History_Aggregate_Fields = { - __typename?: 'token_price_history_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "token_price_history" */ -export type Token_Price_History_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "token_price_history" */ export type Token_Price_History_Aggregate_Order_By = { avg?: InputMaybe; @@ -8489,13 +5743,6 @@ export type Token_Price_History_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Token_Price_History_Avg_Fields = { - __typename?: 'token_price_history_avg_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by avg() on columns of table "token_price_history" */ export type Token_Price_History_Avg_Order_By = { market_cap?: InputMaybe; @@ -8514,15 +5761,6 @@ export type Token_Price_History_Bool_Exp = { unit_name?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Price_History_Max_Fields = { - __typename?: 'token_price_history_max_fields'; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by max() on columns of table "token_price_history" */ export type Token_Price_History_Max_Order_By = { market_cap?: InputMaybe; @@ -8531,15 +5769,6 @@ export type Token_Price_History_Max_Order_By = { unit_name?: InputMaybe; }; -/** aggregate min on columns */ -export type Token_Price_History_Min_Fields = { - __typename?: 'token_price_history_min_fields'; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by min() on columns of table "token_price_history" */ export type Token_Price_History_Min_Order_By = { market_cap?: InputMaybe; @@ -8569,24 +5798,10 @@ export enum Token_Price_History_Select_Column { UnitName = 'unit_name' } -/** aggregate stddev on columns */ -export type Token_Price_History_Stddev_Fields = { - __typename?: 'token_price_history_stddev_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev() on columns of table "token_price_history" */ export type Token_Price_History_Stddev_Order_By = { market_cap?: InputMaybe; - price?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Token_Price_History_Stddev_Pop_Fields = { - __typename?: 'token_price_history_stddev_pop_fields'; - market_cap?: Maybe; - price?: Maybe; + price?: InputMaybe; }; /** order by stddev_pop() on columns of table "token_price_history" */ @@ -8595,24 +5810,26 @@ export type Token_Price_History_Stddev_Pop_Order_By = { price?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Token_Price_History_Stddev_Samp_Fields = { - __typename?: 'token_price_history_stddev_samp_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_samp() on columns of table "token_price_history" */ export type Token_Price_History_Stddev_Samp_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate sum on columns */ -export type Token_Price_History_Sum_Fields = { - __typename?: 'token_price_history_sum_fields'; - market_cap?: Maybe; - price?: Maybe; +/** Streaming cursor of the table "token_price_history" */ +export type Token_Price_History_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Price_History_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Price_History_Stream_Cursor_Value_Input = { + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; }; /** order by sum() on columns of table "token_price_history" */ @@ -8621,54 +5838,24 @@ export type Token_Price_History_Sum_Order_By = { price?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Token_Price_History_Var_Pop_Fields = { - __typename?: 'token_price_history_var_pop_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_pop() on columns of table "token_price_history" */ export type Token_Price_History_Var_Pop_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Token_Price_History_Var_Samp_Fields = { - __typename?: 'token_price_history_var_samp_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_samp() on columns of table "token_price_history" */ export type Token_Price_History_Var_Samp_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate variance on columns */ -export type Token_Price_History_Variance_Fields = { - __typename?: 'token_price_history_variance_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by variance() on columns of table "token_price_history" */ export type Token_Price_History_Variance_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Price_Max_Fields = { - __typename?: 'token_price_max_fields'; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by max() on columns of table "token_price" */ export type Token_Price_Max_Order_By = { market_cap?: InputMaybe; @@ -8677,15 +5864,6 @@ export type Token_Price_Max_Order_By = { unit_name?: InputMaybe; }; -/** aggregate min on columns */ -export type Token_Price_Min_Fields = { - __typename?: 'token_price_min_fields'; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by min() on columns of table "token_price" */ export type Token_Price_Min_Order_By = { market_cap?: InputMaybe; @@ -8715,50 +5893,38 @@ export enum Token_Price_Select_Column { UnitName = 'unit_name' } -/** aggregate stddev on columns */ -export type Token_Price_Stddev_Fields = { - __typename?: 'token_price_stddev_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev() on columns of table "token_price" */ export type Token_Price_Stddev_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Token_Price_Stddev_Pop_Fields = { - __typename?: 'token_price_stddev_pop_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_pop() on columns of table "token_price" */ export type Token_Price_Stddev_Pop_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Token_Price_Stddev_Samp_Fields = { - __typename?: 'token_price_stddev_samp_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_samp() on columns of table "token_price" */ export type Token_Price_Stddev_Samp_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate sum on columns */ -export type Token_Price_Sum_Fields = { - __typename?: 'token_price_sum_fields'; - market_cap?: Maybe; - price?: Maybe; +/** Streaming cursor of the table "token_price" */ +export type Token_Price_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Price_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Price_Stream_Cursor_Value_Input = { + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; }; /** order by sum() on columns of table "token_price" */ @@ -8767,39 +5933,18 @@ export type Token_Price_Sum_Order_By = { price?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Token_Price_Var_Pop_Fields = { - __typename?: 'token_price_var_pop_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_pop() on columns of table "token_price" */ export type Token_Price_Var_Pop_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Token_Price_Var_Samp_Fields = { - __typename?: 'token_price_var_samp_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_samp() on columns of table "token_price" */ export type Token_Price_Var_Samp_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate variance on columns */ -export type Token_Price_Variance_Fields = { - __typename?: 'token_price_variance_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by variance() on columns of table "token_price" */ export type Token_Price_Variance_Order_By = { market_cap?: InputMaybe; @@ -8812,6 +5957,19 @@ export enum Token_Select_Column { Name = 'name' } +/** Streaming cursor of the table "token" */ +export type Token_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Stream_Cursor_Value_Input = { + name?: InputMaybe; +}; + /** columns and relationships of "token_unit" */ export type Token_Unit = { __typename?: 'token_unit'; @@ -8826,12 +5984,8 @@ export type Token_Unit = { token_price?: Maybe; /** An array relationship */ token_price_histories: Array; - /** An aggregate relationship */ - token_price_histories_aggregate: Token_Price_History_Aggregate; /** An array relationship */ token_prices: Array; - /** An aggregate relationship */ - token_prices_aggregate: Token_Price_Aggregate; }; @@ -8845,16 +5999,6 @@ export type Token_UnitToken_Price_HistoriesArgs = { }; -/** columns and relationships of "token_unit" */ -export type Token_UnitToken_Price_Histories_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "token_unit" */ export type Token_UnitToken_PricesArgs = { distinct_on?: InputMaybe>; @@ -8864,46 +6008,6 @@ export type Token_UnitToken_PricesArgs = { where?: InputMaybe; }; - -/** columns and relationships of "token_unit" */ -export type Token_UnitToken_Prices_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "token_unit" */ -export type Token_Unit_Aggregate = { - __typename?: 'token_unit_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token_unit" */ -export type Token_Unit_Aggregate_Fields = { - __typename?: 'token_unit_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "token_unit" */ -export type Token_Unit_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "token_unit" */ export type Token_Unit_Aggregate_Order_By = { avg?: InputMaybe; @@ -8919,12 +6023,6 @@ export type Token_Unit_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Token_Unit_Avg_Fields = { - __typename?: 'token_unit_avg_fields'; - exponent?: Maybe; -}; - /** order by avg() on columns of table "token_unit" */ export type Token_Unit_Avg_Order_By = { exponent?: InputMaybe; @@ -8946,15 +6044,6 @@ export type Token_Unit_Bool_Exp = { token_prices?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Unit_Max_Fields = { - __typename?: 'token_unit_max_fields'; - denom?: Maybe; - exponent?: Maybe; - price_id?: Maybe; - token_name?: Maybe; -}; - /** order by max() on columns of table "token_unit" */ export type Token_Unit_Max_Order_By = { denom?: InputMaybe; @@ -8963,15 +6052,6 @@ export type Token_Unit_Max_Order_By = { token_name?: InputMaybe; }; -/** aggregate min on columns */ -export type Token_Unit_Min_Fields = { - __typename?: 'token_unit_min_fields'; - denom?: Maybe; - exponent?: Maybe; - price_id?: Maybe; - token_name?: Maybe; -}; - /** order by min() on columns of table "token_unit" */ export type Token_Unit_Min_Order_By = { denom?: InputMaybe; @@ -9007,43 +6087,36 @@ export enum Token_Unit_Select_Column { TokenName = 'token_name' } -/** aggregate stddev on columns */ -export type Token_Unit_Stddev_Fields = { - __typename?: 'token_unit_stddev_fields'; - exponent?: Maybe; -}; - /** order by stddev() on columns of table "token_unit" */ export type Token_Unit_Stddev_Order_By = { exponent?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Token_Unit_Stddev_Pop_Fields = { - __typename?: 'token_unit_stddev_pop_fields'; - exponent?: Maybe; -}; - /** order by stddev_pop() on columns of table "token_unit" */ export type Token_Unit_Stddev_Pop_Order_By = { exponent?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Token_Unit_Stddev_Samp_Fields = { - __typename?: 'token_unit_stddev_samp_fields'; - exponent?: Maybe; -}; - /** order by stddev_samp() on columns of table "token_unit" */ export type Token_Unit_Stddev_Samp_Order_By = { exponent?: InputMaybe; }; -/** aggregate sum on columns */ -export type Token_Unit_Sum_Fields = { - __typename?: 'token_unit_sum_fields'; - exponent?: Maybe; +/** Streaming cursor of the table "token_unit" */ +export type Token_Unit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Unit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Unit_Stream_Cursor_Value_Input = { + aliases?: InputMaybe; + denom?: InputMaybe; + exponent?: InputMaybe; + price_id?: InputMaybe; + token_name?: InputMaybe; }; /** order by sum() on columns of table "token_unit" */ @@ -9051,34 +6124,16 @@ export type Token_Unit_Sum_Order_By = { exponent?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Token_Unit_Var_Pop_Fields = { - __typename?: 'token_unit_var_pop_fields'; - exponent?: Maybe; -}; - /** order by var_pop() on columns of table "token_unit" */ export type Token_Unit_Var_Pop_Order_By = { exponent?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Token_Unit_Var_Samp_Fields = { - __typename?: 'token_unit_var_samp_fields'; - exponent?: Maybe; -}; - /** order by var_samp() on columns of table "token_unit" */ export type Token_Unit_Var_Samp_Order_By = { exponent?: InputMaybe; }; -/** aggregate variance on columns */ -export type Token_Unit_Variance_Fields = { - __typename?: 'token_unit_variance_fields'; - exponent?: Maybe; -}; - /** order by variance() on columns of table "token_unit" */ export type Token_Unit_Variance_Order_By = { exponent?: InputMaybe; @@ -9097,10 +6152,6 @@ export type Transaction = { logs?: Maybe; memo?: Maybe; messages: Scalars['jsonb']; - /** An array relationship */ - messagesByTransactionHashPartitionId: Array; - /** An aggregate relationship */ - messagesByTransactionHashPartitionId_aggregate: Message_Aggregate; raw_log?: Maybe; signatures: Scalars['_text']; signer_infos: Scalars['jsonb']; @@ -9126,61 +6177,11 @@ export type TransactionMessagesArgs = { }; -/** columns and relationships of "transaction" */ -export type TransactionMessagesByTransactionHashPartitionIdArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "transaction" */ -export type TransactionMessagesByTransactionHashPartitionId_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "transaction" */ export type TransactionSigner_InfosArgs = { path?: InputMaybe; }; -/** aggregated selection of "transaction" */ -export type Transaction_Aggregate = { - __typename?: 'transaction_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "transaction" */ -export type Transaction_Aggregate_Fields = { - __typename?: 'transaction_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "transaction" */ -export type Transaction_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "transaction" */ export type Transaction_Aggregate_Order_By = { avg?: InputMaybe; @@ -9196,14 +6197,6 @@ export type Transaction_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Transaction_Avg_Fields = { - __typename?: 'transaction_avg_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; -}; - /** order by avg() on columns of table "transaction" */ export type Transaction_Avg_Order_By = { gas_used?: InputMaybe; @@ -9225,24 +6218,12 @@ export type Transaction_Bool_Exp = { logs?: InputMaybe; memo?: InputMaybe; messages?: InputMaybe; - messagesByTransactionHashPartitionId?: InputMaybe; raw_log?: InputMaybe; signatures?: InputMaybe<_Text_Comparison_Exp>; signer_infos?: InputMaybe; success?: InputMaybe; }; -/** aggregate max on columns */ -export type Transaction_Max_Fields = { - __typename?: 'transaction_max_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - hash?: Maybe; - height?: Maybe; - memo?: Maybe; - raw_log?: Maybe; -}; - /** order by max() on columns of table "transaction" */ export type Transaction_Max_Order_By = { gas_used?: InputMaybe; @@ -9253,17 +6234,6 @@ export type Transaction_Max_Order_By = { raw_log?: InputMaybe; }; -/** aggregate min on columns */ -export type Transaction_Min_Fields = { - __typename?: 'transaction_min_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - hash?: Maybe; - height?: Maybe; - memo?: Maybe; - raw_log?: Maybe; -}; - /** order by min() on columns of table "transaction" */ export type Transaction_Min_Order_By = { gas_used?: InputMaybe; @@ -9285,7 +6255,6 @@ export type Transaction_Order_By = { logs?: InputMaybe; memo?: InputMaybe; messages?: InputMaybe; - messagesByTransactionHashPartitionId_aggregate?: InputMaybe; raw_log?: InputMaybe; signatures?: InputMaybe; signer_infos?: InputMaybe; @@ -9320,14 +6289,6 @@ export enum Transaction_Select_Column { Success = 'success' } -/** aggregate stddev on columns */ -export type Transaction_Stddev_Fields = { - __typename?: 'transaction_stddev_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; -}; - /** order by stddev() on columns of table "transaction" */ export type Transaction_Stddev_Order_By = { gas_used?: InputMaybe; @@ -9335,14 +6296,6 @@ export type Transaction_Stddev_Order_By = { height?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Transaction_Stddev_Pop_Fields = { - __typename?: 'transaction_stddev_pop_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; -}; - /** order by stddev_pop() on columns of table "transaction" */ export type Transaction_Stddev_Pop_Order_By = { gas_used?: InputMaybe; @@ -9350,14 +6303,6 @@ export type Transaction_Stddev_Pop_Order_By = { height?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Transaction_Stddev_Samp_Fields = { - __typename?: 'transaction_stddev_samp_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; -}; - /** order by stddev_samp() on columns of table "transaction" */ export type Transaction_Stddev_Samp_Order_By = { gas_used?: InputMaybe; @@ -9365,12 +6310,28 @@ export type Transaction_Stddev_Samp_Order_By = { height?: InputMaybe; }; -/** aggregate sum on columns */ -export type Transaction_Sum_Fields = { - __typename?: 'transaction_sum_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "transaction" */ +export type Transaction_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Transaction_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Transaction_Stream_Cursor_Value_Input = { + fee?: InputMaybe; + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + logs?: InputMaybe; + memo?: InputMaybe; + messages?: InputMaybe; + raw_log?: InputMaybe; + signatures?: InputMaybe; + signer_infos?: InputMaybe; + success?: InputMaybe; }; /** order by sum() on columns of table "transaction" */ @@ -9380,14 +6341,6 @@ export type Transaction_Sum_Order_By = { height?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Transaction_Var_Pop_Fields = { - __typename?: 'transaction_var_pop_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; -}; - /** order by var_pop() on columns of table "transaction" */ export type Transaction_Var_Pop_Order_By = { gas_used?: InputMaybe; @@ -9395,14 +6348,6 @@ export type Transaction_Var_Pop_Order_By = { height?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Transaction_Var_Samp_Fields = { - __typename?: 'transaction_var_samp_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; -}; - /** order by var_samp() on columns of table "transaction" */ export type Transaction_Var_Samp_Order_By = { gas_used?: InputMaybe; @@ -9410,14 +6355,6 @@ export type Transaction_Var_Samp_Order_By = { height?: InputMaybe; }; -/** aggregate variance on columns */ -export type Transaction_Variance_Fields = { - __typename?: 'transaction_variance_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; -}; - /** order by variance() on columns of table "transaction" */ export type Transaction_Variance_Order_By = { gas_used?: InputMaybe; @@ -9430,14 +6367,10 @@ export type Validator = { __typename?: 'validator'; /** An array relationship */ blocks: Array; - /** An aggregate relationship */ - blocks_aggregate: Block_Aggregate; consensus_address: Scalars['String']; consensus_pubkey: Scalars['String']; /** An array relationship */ double_sign_votes: Array; - /** An aggregate relationship */ - double_sign_votes_aggregate: Double_Sign_Vote_Aggregate; /** An array relationship */ pre_commits: Array; /** An aggregate relationship */ @@ -9446,26 +6379,16 @@ export type Validator = { proposal_validator_status_snapshot?: Maybe; /** An array relationship */ proposal_validator_status_snapshots: Array; - /** An aggregate relationship */ - proposal_validator_status_snapshots_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; /** An array relationship */ validator_commissions: Array; - /** An aggregate relationship */ - validator_commissions_aggregate: Validator_Commission_Aggregate; /** An array relationship */ validator_descriptions: Array; - /** An aggregate relationship */ - validator_descriptions_aggregate: Validator_Description_Aggregate; /** An object relationship */ validator_info?: Maybe; /** An array relationship */ validator_infos: Array; - /** An aggregate relationship */ - validator_infos_aggregate: Validator_Info_Aggregate; /** An array relationship */ validator_signing_infos: Array; - /** An aggregate relationship */ - validator_signing_infos_aggregate: Validator_Signing_Info_Aggregate; /** An array relationship */ validator_statuses: Array; /** An aggregate relationship */ @@ -9487,16 +6410,6 @@ export type ValidatorBlocksArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorBlocks_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorDouble_Sign_VotesArgs = { distinct_on?: InputMaybe>; @@ -9507,16 +6420,6 @@ export type ValidatorDouble_Sign_VotesArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorDouble_Sign_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorPre_CommitsArgs = { distinct_on?: InputMaybe>; @@ -9543,72 +6446,32 @@ export type ValidatorProposal_Validator_Status_SnapshotsArgs = { limit?: InputMaybe; offset?: InputMaybe; order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "validator" */ -export type ValidatorProposal_Validator_Status_Snapshots_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "validator" */ -export type ValidatorValidator_CommissionsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "validator" */ -export type ValidatorValidator_Commissions_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "validator" */ -export type ValidatorValidator_DescriptionsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + where?: InputMaybe; }; /** columns and relationships of "validator" */ -export type ValidatorValidator_Descriptions_AggregateArgs = { - distinct_on?: InputMaybe>; +export type ValidatorValidator_CommissionsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** columns and relationships of "validator" */ -export type ValidatorValidator_InfosArgs = { - distinct_on?: InputMaybe>; +export type ValidatorValidator_DescriptionsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** columns and relationships of "validator" */ -export type ValidatorValidator_Infos_AggregateArgs = { +export type ValidatorValidator_InfosArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -9627,16 +6490,6 @@ export type ValidatorValidator_Signing_InfosArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorValidator_Signing_Infos_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_StatusesArgs = { distinct_on?: InputMaybe>; @@ -9676,28 +6529,6 @@ export type ValidatorValidator_Voting_Powers_AggregateArgs = { where?: InputMaybe; }; -/** aggregated selection of "validator" */ -export type Validator_Aggregate = { - __typename?: 'validator_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator" */ -export type Validator_Aggregate_Fields = { - __typename?: 'validator_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "validator" */ -export type Validator_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "validator". All fields are combined with a logical 'AND'. */ export type Validator_Bool_Exp = { _and?: InputMaybe>; @@ -9708,6 +6539,7 @@ export type Validator_Bool_Exp = { consensus_pubkey?: InputMaybe; double_sign_votes?: InputMaybe; pre_commits?: InputMaybe; + pre_commits_aggregate?: InputMaybe; proposal_validator_status_snapshot?: InputMaybe; proposal_validator_status_snapshots?: InputMaybe; validator_commissions?: InputMaybe; @@ -9716,7 +6548,9 @@ export type Validator_Bool_Exp = { validator_infos?: InputMaybe; validator_signing_infos?: InputMaybe; validator_statuses?: InputMaybe; + validator_statuses_aggregate?: InputMaybe; validator_voting_powers?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; }; /** columns and relationships of "validator_commission" */ @@ -9730,36 +6564,6 @@ export type Validator_Commission = { validator_address: Scalars['String']; }; -/** aggregated selection of "validator_commission" */ -export type Validator_Commission_Aggregate = { - __typename?: 'validator_commission_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_commission" */ -export type Validator_Commission_Aggregate_Fields = { - __typename?: 'validator_commission_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_commission" */ -export type Validator_Commission_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_commission" */ export type Validator_Commission_Aggregate_Order_By = { avg?: InputMaybe; @@ -9775,14 +6579,6 @@ export type Validator_Commission_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Validator_Commission_Avg_Fields = { - __typename?: 'validator_commission_avg_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by avg() on columns of table "validator_commission" */ export type Validator_Commission_Avg_Order_By = { commission?: InputMaybe; @@ -9802,15 +6598,6 @@ export type Validator_Commission_Bool_Exp = { validator_address?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Commission_Max_Fields = { - __typename?: 'validator_commission_max_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; - validator_address?: Maybe; -}; - /** order by max() on columns of table "validator_commission" */ export type Validator_Commission_Max_Order_By = { commission?: InputMaybe; @@ -9819,15 +6606,6 @@ export type Validator_Commission_Max_Order_By = { validator_address?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Commission_Min_Fields = { - __typename?: 'validator_commission_min_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; - validator_address?: Maybe; -}; - /** order by min() on columns of table "validator_commission" */ export type Validator_Commission_Min_Order_By = { commission?: InputMaybe; @@ -9857,14 +6635,6 @@ export enum Validator_Commission_Select_Column { ValidatorAddress = 'validator_address' } -/** aggregate stddev on columns */ -export type Validator_Commission_Stddev_Fields = { - __typename?: 'validator_commission_stddev_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by stddev() on columns of table "validator_commission" */ export type Validator_Commission_Stddev_Order_By = { commission?: InputMaybe; @@ -9872,14 +6642,6 @@ export type Validator_Commission_Stddev_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Validator_Commission_Stddev_Pop_Fields = { - __typename?: 'validator_commission_stddev_pop_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by stddev_pop() on columns of table "validator_commission" */ export type Validator_Commission_Stddev_Pop_Order_By = { commission?: InputMaybe; @@ -9887,14 +6649,6 @@ export type Validator_Commission_Stddev_Pop_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Validator_Commission_Stddev_Samp_Fields = { - __typename?: 'validator_commission_stddev_samp_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by stddev_samp() on columns of table "validator_commission" */ export type Validator_Commission_Stddev_Samp_Order_By = { commission?: InputMaybe; @@ -9902,12 +6656,20 @@ export type Validator_Commission_Stddev_Samp_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate sum on columns */ -export type Validator_Commission_Sum_Fields = { - __typename?: 'validator_commission_sum_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; +/** Streaming cursor of the table "validator_commission" */ +export type Validator_Commission_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Commission_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Commission_Stream_Cursor_Value_Input = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator_address?: InputMaybe; }; /** order by sum() on columns of table "validator_commission" */ @@ -9917,14 +6679,6 @@ export type Validator_Commission_Sum_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Validator_Commission_Var_Pop_Fields = { - __typename?: 'validator_commission_var_pop_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by var_pop() on columns of table "validator_commission" */ export type Validator_Commission_Var_Pop_Order_By = { commission?: InputMaybe; @@ -9932,14 +6686,6 @@ export type Validator_Commission_Var_Pop_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Validator_Commission_Var_Samp_Fields = { - __typename?: 'validator_commission_var_samp_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by var_samp() on columns of table "validator_commission" */ export type Validator_Commission_Var_Samp_Order_By = { commission?: InputMaybe; @@ -9947,14 +6693,6 @@ export type Validator_Commission_Var_Samp_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Commission_Variance_Fields = { - __typename?: 'validator_commission_variance_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by variance() on columns of table "validator_commission" */ export type Validator_Commission_Variance_Order_By = { commission?: InputMaybe; @@ -9977,36 +6715,6 @@ export type Validator_Description = { website?: Maybe; }; -/** aggregated selection of "validator_description" */ -export type Validator_Description_Aggregate = { - __typename?: 'validator_description_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_description" */ -export type Validator_Description_Aggregate_Fields = { - __typename?: 'validator_description_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_description" */ -export type Validator_Description_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_description" */ export type Validator_Description_Aggregate_Order_By = { avg?: InputMaybe; @@ -10022,12 +6730,6 @@ export type Validator_Description_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Validator_Description_Avg_Fields = { - __typename?: 'validator_description_avg_fields'; - height?: Maybe; -}; - /** order by avg() on columns of table "validator_description" */ export type Validator_Description_Avg_Order_By = { height?: InputMaybe; @@ -10049,19 +6751,6 @@ export type Validator_Description_Bool_Exp = { website?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Description_Max_Fields = { - __typename?: 'validator_description_max_fields'; - avatar_url?: Maybe; - details?: Maybe; - height?: Maybe; - identity?: Maybe; - moniker?: Maybe; - security_contact?: Maybe; - validator_address?: Maybe; - website?: Maybe; -}; - /** order by max() on columns of table "validator_description" */ export type Validator_Description_Max_Order_By = { avatar_url?: InputMaybe; @@ -10074,19 +6763,6 @@ export type Validator_Description_Max_Order_By = { website?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Description_Min_Fields = { - __typename?: 'validator_description_min_fields'; - avatar_url?: Maybe; - details?: Maybe; - height?: Maybe; - identity?: Maybe; - moniker?: Maybe; - security_contact?: Maybe; - validator_address?: Maybe; - website?: Maybe; -}; - /** order by min() on columns of table "validator_description" */ export type Validator_Description_Min_Order_By = { avatar_url?: InputMaybe; @@ -10132,43 +6808,39 @@ export enum Validator_Description_Select_Column { Website = 'website' } -/** aggregate stddev on columns */ -export type Validator_Description_Stddev_Fields = { - __typename?: 'validator_description_stddev_fields'; - height?: Maybe; -}; - /** order by stddev() on columns of table "validator_description" */ export type Validator_Description_Stddev_Order_By = { height?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Validator_Description_Stddev_Pop_Fields = { - __typename?: 'validator_description_stddev_pop_fields'; - height?: Maybe; -}; - /** order by stddev_pop() on columns of table "validator_description" */ export type Validator_Description_Stddev_Pop_Order_By = { height?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Validator_Description_Stddev_Samp_Fields = { - __typename?: 'validator_description_stddev_samp_fields'; - height?: Maybe; -}; - /** order by stddev_samp() on columns of table "validator_description" */ export type Validator_Description_Stddev_Samp_Order_By = { height?: InputMaybe; }; -/** aggregate sum on columns */ -export type Validator_Description_Sum_Fields = { - __typename?: 'validator_description_sum_fields'; - height?: Maybe; +/** Streaming cursor of the table "validator_description" */ +export type Validator_Description_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Description_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Description_Stream_Cursor_Value_Input = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; }; /** order by sum() on columns of table "validator_description" */ @@ -10176,34 +6848,16 @@ export type Validator_Description_Sum_Order_By = { height?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Validator_Description_Var_Pop_Fields = { - __typename?: 'validator_description_var_pop_fields'; - height?: Maybe; -}; - /** order by var_pop() on columns of table "validator_description" */ export type Validator_Description_Var_Pop_Order_By = { height?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Validator_Description_Var_Samp_Fields = { - __typename?: 'validator_description_var_samp_fields'; - height?: Maybe; -}; - /** order by var_samp() on columns of table "validator_description" */ export type Validator_Description_Var_Samp_Order_By = { height?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Description_Variance_Fields = { - __typename?: 'validator_description_variance_fields'; - height?: Maybe; -}; - /** order by variance() on columns of table "validator_description" */ export type Validator_Description_Variance_Order_By = { height?: InputMaybe; @@ -10215,7 +6869,6 @@ export type Validator_Info = { /** An object relationship */ account?: Maybe; consensus_address: Scalars['String']; - height: Scalars['bigint']; max_change_rate: Scalars['String']; max_rate: Scalars['String']; operator_address: Scalars['String']; @@ -10224,60 +6877,11 @@ export type Validator_Info = { validator: Validator; }; -/** aggregated selection of "validator_info" */ -export type Validator_Info_Aggregate = { - __typename?: 'validator_info_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_info" */ -export type Validator_Info_Aggregate_Fields = { - __typename?: 'validator_info_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_info" */ -export type Validator_Info_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_info" */ export type Validator_Info_Aggregate_Order_By = { - avg?: InputMaybe; count?: InputMaybe; max?: InputMaybe; min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Validator_Info_Avg_Fields = { - __typename?: 'validator_info_avg_fields'; - height?: Maybe; -}; - -/** order by avg() on columns of table "validator_info" */ -export type Validator_Info_Avg_Order_By = { - height?: InputMaybe; }; /** Boolean expression to filter rows from the table "validator_info". All fields are combined with a logical 'AND'. */ @@ -10287,7 +6891,6 @@ export type Validator_Info_Bool_Exp = { _or?: InputMaybe>; account?: InputMaybe; consensus_address?: InputMaybe; - height?: InputMaybe; max_change_rate?: InputMaybe; max_rate?: InputMaybe; operator_address?: InputMaybe; @@ -10295,165 +6898,64 @@ export type Validator_Info_Bool_Exp = { validator?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Info_Max_Fields = { - __typename?: 'validator_info_max_fields'; - consensus_address?: Maybe; - height?: Maybe; - max_change_rate?: Maybe; - max_rate?: Maybe; - operator_address?: Maybe; - self_delegate_address?: Maybe; -}; - /** order by max() on columns of table "validator_info" */ export type Validator_Info_Max_Order_By = { consensus_address?: InputMaybe; - height?: InputMaybe; max_change_rate?: InputMaybe; max_rate?: InputMaybe; operator_address?: InputMaybe; self_delegate_address?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Info_Min_Fields = { - __typename?: 'validator_info_min_fields'; - consensus_address?: Maybe; - height?: Maybe; - max_change_rate?: Maybe; - max_rate?: Maybe; - operator_address?: Maybe; - self_delegate_address?: Maybe; -}; - /** order by min() on columns of table "validator_info" */ export type Validator_Info_Min_Order_By = { - consensus_address?: InputMaybe; - height?: InputMaybe; - max_change_rate?: InputMaybe; - max_rate?: InputMaybe; - operator_address?: InputMaybe; - self_delegate_address?: InputMaybe; -}; - -/** Ordering options when selecting data from "validator_info". */ -export type Validator_Info_Order_By = { - account?: InputMaybe; - consensus_address?: InputMaybe; - height?: InputMaybe; - max_change_rate?: InputMaybe; - max_rate?: InputMaybe; - operator_address?: InputMaybe; - self_delegate_address?: InputMaybe; - validator?: InputMaybe; -}; - -/** select columns of table "validator_info" */ -export enum Validator_Info_Select_Column { - /** column name */ - ConsensusAddress = 'consensus_address', - /** column name */ - Height = 'height', - /** column name */ - MaxChangeRate = 'max_change_rate', - /** column name */ - MaxRate = 'max_rate', - /** column name */ - OperatorAddress = 'operator_address', - /** column name */ - SelfDelegateAddress = 'self_delegate_address' -} - -/** aggregate stddev on columns */ -export type Validator_Info_Stddev_Fields = { - __typename?: 'validator_info_stddev_fields'; - height?: Maybe; -}; - -/** order by stddev() on columns of table "validator_info" */ -export type Validator_Info_Stddev_Order_By = { - height?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Validator_Info_Stddev_Pop_Fields = { - __typename?: 'validator_info_stddev_pop_fields'; - height?: Maybe; -}; - -/** order by stddev_pop() on columns of table "validator_info" */ -export type Validator_Info_Stddev_Pop_Order_By = { - height?: InputMaybe; -}; - -/** aggregate stddev_samp on columns */ -export type Validator_Info_Stddev_Samp_Fields = { - __typename?: 'validator_info_stddev_samp_fields'; - height?: Maybe; -}; - -/** order by stddev_samp() on columns of table "validator_info" */ -export type Validator_Info_Stddev_Samp_Order_By = { - height?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type Validator_Info_Sum_Fields = { - __typename?: 'validator_info_sum_fields'; - height?: Maybe; -}; - -/** order by sum() on columns of table "validator_info" */ -export type Validator_Info_Sum_Order_By = { - height?: InputMaybe; -}; - -/** aggregate var_pop on columns */ -export type Validator_Info_Var_Pop_Fields = { - __typename?: 'validator_info_var_pop_fields'; - height?: Maybe; -}; - -/** order by var_pop() on columns of table "validator_info" */ -export type Validator_Info_Var_Pop_Order_By = { - height?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Validator_Info_Var_Samp_Fields = { - __typename?: 'validator_info_var_samp_fields'; - height?: Maybe; -}; - -/** order by var_samp() on columns of table "validator_info" */ -export type Validator_Info_Var_Samp_Order_By = { - height?: InputMaybe; + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Info_Variance_Fields = { - __typename?: 'validator_info_variance_fields'; - height?: Maybe; +/** Ordering options when selecting data from "validator_info". */ +export type Validator_Info_Order_By = { + account?: InputMaybe; + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; + validator?: InputMaybe; }; -/** order by variance() on columns of table "validator_info" */ -export type Validator_Info_Variance_Order_By = { - height?: InputMaybe; -}; +/** select columns of table "validator_info" */ +export enum Validator_Info_Select_Column { + /** column name */ + ConsensusAddress = 'consensus_address', + /** column name */ + MaxChangeRate = 'max_change_rate', + /** column name */ + MaxRate = 'max_rate', + /** column name */ + OperatorAddress = 'operator_address', + /** column name */ + SelfDelegateAddress = 'self_delegate_address' +} -/** aggregate max on columns */ -export type Validator_Max_Fields = { - __typename?: 'validator_max_fields'; - consensus_address?: Maybe; - consensus_pubkey?: Maybe; +/** Streaming cursor of the table "validator_info" */ +export type Validator_Info_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Info_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Min_Fields = { - __typename?: 'validator_min_fields'; - consensus_address?: Maybe; - consensus_pubkey?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Validator_Info_Stream_Cursor_Value_Input = { + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; }; /** Ordering options when selecting data from "validator". */ @@ -10494,36 +6996,6 @@ export type Validator_Signing_Info = { validator_address: Scalars['String']; }; -/** aggregated selection of "validator_signing_info" */ -export type Validator_Signing_Info_Aggregate = { - __typename?: 'validator_signing_info_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_signing_info" */ -export type Validator_Signing_Info_Aggregate_Fields = { - __typename?: 'validator_signing_info_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_signing_info" */ -export type Validator_Signing_Info_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_signing_info" */ export type Validator_Signing_Info_Aggregate_Order_By = { avg?: InputMaybe; @@ -10539,15 +7011,6 @@ export type Validator_Signing_Info_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Validator_Signing_Info_Avg_Fields = { - __typename?: 'validator_signing_info_avg_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by avg() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Avg_Order_By = { height?: InputMaybe; @@ -10570,17 +7033,6 @@ export type Validator_Signing_Info_Bool_Exp = { validator_address?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Signing_Info_Max_Fields = { - __typename?: 'validator_signing_info_max_fields'; - height?: Maybe; - index_offset?: Maybe; - jailed_until?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; - validator_address?: Maybe; -}; - /** order by max() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Max_Order_By = { height?: InputMaybe; @@ -10591,17 +7043,6 @@ export type Validator_Signing_Info_Max_Order_By = { validator_address?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Signing_Info_Min_Fields = { - __typename?: 'validator_signing_info_min_fields'; - height?: Maybe; - index_offset?: Maybe; - jailed_until?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; - validator_address?: Maybe; -}; - /** order by min() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Min_Order_By = { height?: InputMaybe; @@ -10641,15 +7082,6 @@ export enum Validator_Signing_Info_Select_Column { ValidatorAddress = 'validator_address' } -/** aggregate stddev on columns */ -export type Validator_Signing_Info_Stddev_Fields = { - __typename?: 'validator_signing_info_stddev_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by stddev() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Stddev_Order_By = { height?: InputMaybe; @@ -10658,15 +7090,6 @@ export type Validator_Signing_Info_Stddev_Order_By = { start_height?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Validator_Signing_Info_Stddev_Pop_Fields = { - __typename?: 'validator_signing_info_stddev_pop_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by stddev_pop() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Stddev_Pop_Order_By = { height?: InputMaybe; @@ -10675,15 +7098,6 @@ export type Validator_Signing_Info_Stddev_Pop_Order_By = { start_height?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Validator_Signing_Info_Stddev_Samp_Fields = { - __typename?: 'validator_signing_info_stddev_samp_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by stddev_samp() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -10692,13 +7106,23 @@ export type Validator_Signing_Info_Stddev_Samp_Order_By = { start_height?: InputMaybe; }; -/** aggregate sum on columns */ -export type Validator_Signing_Info_Sum_Fields = { - __typename?: 'validator_signing_info_sum_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; +/** Streaming cursor of the table "validator_signing_info" */ +export type Validator_Signing_Info_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Signing_Info_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Signing_Info_Stream_Cursor_Value_Input = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + tombstoned?: InputMaybe; + validator_address?: InputMaybe; }; /** order by sum() on columns of table "validator_signing_info" */ @@ -10709,15 +7133,6 @@ export type Validator_Signing_Info_Sum_Order_By = { start_height?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Validator_Signing_Info_Var_Pop_Fields = { - __typename?: 'validator_signing_info_var_pop_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by var_pop() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Var_Pop_Order_By = { height?: InputMaybe; @@ -10726,15 +7141,6 @@ export type Validator_Signing_Info_Var_Pop_Order_By = { start_height?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Validator_Signing_Info_Var_Samp_Fields = { - __typename?: 'validator_signing_info_var_samp_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by var_samp() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Var_Samp_Order_By = { height?: InputMaybe; @@ -10743,15 +7149,6 @@ export type Validator_Signing_Info_Var_Samp_Order_By = { start_height?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Signing_Info_Variance_Fields = { - __typename?: 'validator_signing_info_variance_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by variance() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Variance_Order_By = { height?: InputMaybe; @@ -10766,7 +7163,6 @@ export type Validator_Status = { height: Scalars['bigint']; jailed: Scalars['Boolean']; status: Scalars['Int']; - tombstoned: Scalars['Boolean']; /** An object relationship */ validator: Validator; validator_address: Scalars['String']; @@ -10779,6 +7175,33 @@ export type Validator_Status_Aggregate = { nodes: Array; }; +export type Validator_Status_Aggregate_Bool_Exp = { + bool_and?: InputMaybe; + bool_or?: InputMaybe; + count?: InputMaybe; +}; + +export type Validator_Status_Aggregate_Bool_Exp_Bool_And = { + arguments: Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_And_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Validator_Status_Aggregate_Bool_Exp_Bool_Or = { + arguments: Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Validator_Status_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "validator_status" */ export type Validator_Status_Aggregate_Fields = { __typename?: 'validator_status_aggregate_fields'; @@ -10838,7 +7261,6 @@ export type Validator_Status_Bool_Exp = { height?: InputMaybe; jailed?: InputMaybe; status?: InputMaybe; - tombstoned?: InputMaybe; validator?: InputMaybe; validator_address?: InputMaybe; }; @@ -10878,7 +7300,6 @@ export type Validator_Status_Order_By = { height?: InputMaybe; jailed?: InputMaybe; status?: InputMaybe; - tombstoned?: InputMaybe; validator?: InputMaybe; validator_address?: InputMaybe; }; @@ -10892,11 +7313,21 @@ export enum Validator_Status_Select_Column { /** column name */ Status = 'status', /** column name */ - Tombstoned = 'tombstoned', - /** column name */ ValidatorAddress = 'validator_address' } +/** select "validator_status_aggregate_bool_exp_bool_and_arguments_columns" columns of table "validator_status" */ +export enum Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_And_Arguments_Columns { + /** column name */ + Jailed = 'jailed' +} + +/** select "validator_status_aggregate_bool_exp_bool_or_arguments_columns" columns of table "validator_status" */ +export enum Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns { + /** column name */ + Jailed = 'jailed' +} + /** aggregate stddev on columns */ export type Validator_Status_Stddev_Fields = { __typename?: 'validator_status_stddev_fields'; @@ -10936,6 +7367,22 @@ export type Validator_Status_Stddev_Samp_Order_By = { status?: InputMaybe; }; +/** Streaming cursor of the table "validator_status" */ +export type Validator_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Status_Stream_Cursor_Value_Input = { + height?: InputMaybe; + jailed?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; +}; + /** aggregate sum on columns */ export type Validator_Status_Sum_Fields = { __typename?: 'validator_status_sum_fields'; @@ -10988,6 +7435,20 @@ export type Validator_Status_Variance_Order_By = { status?: InputMaybe; }; +/** Streaming cursor of the table "validator" */ +export type Validator_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Stream_Cursor_Value_Input = { + consensus_address?: InputMaybe; + consensus_pubkey?: InputMaybe; +}; + /** columns and relationships of "validator_voting_power" */ export type Validator_Voting_Power = { __typename?: 'validator_voting_power'; @@ -11007,6 +7468,17 @@ export type Validator_Voting_Power_Aggregate = { nodes: Array; }; +export type Validator_Voting_Power_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Validator_Voting_Power_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "validator_voting_power" */ export type Validator_Voting_Power_Aggregate_Fields = { __typename?: 'validator_voting_power_aggregate_fields'; @@ -11158,6 +7630,21 @@ export type Validator_Voting_Power_Stddev_Samp_Order_By = { voting_power?: InputMaybe; }; +/** Streaming cursor of the table "validator_voting_power" */ +export type Validator_Voting_Power_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Voting_Power_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Voting_Power_Stream_Cursor_Value_Input = { + height?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + /** aggregate sum on columns */ export type Validator_Voting_Power_Sum_Fields = { __typename?: 'validator_voting_power_sum_fields'; @@ -11222,8 +7709,6 @@ export type Vesting_Account = { type: Scalars['String']; /** An array relationship */ vesting_periods: Array; - /** An aggregate relationship */ - vesting_periods_aggregate: Vesting_Period_Aggregate; }; @@ -11236,38 +7721,6 @@ export type Vesting_AccountVesting_PeriodsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "vesting_account" */ -export type Vesting_AccountVesting_Periods_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "vesting_account" */ -export type Vesting_Account_Aggregate = { - __typename?: 'vesting_account_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "vesting_account" */ -export type Vesting_Account_Aggregate_Fields = { - __typename?: 'vesting_account_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "vesting_account" */ -export type Vesting_Account_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "vesting_account" */ export type Vesting_Account_Aggregate_Order_By = { count?: InputMaybe; @@ -11289,15 +7742,6 @@ export type Vesting_Account_Bool_Exp = { vesting_periods?: InputMaybe; }; -/** aggregate max on columns */ -export type Vesting_Account_Max_Fields = { - __typename?: 'vesting_account_max_fields'; - address?: Maybe; - end_time?: Maybe; - start_time?: Maybe; - type?: Maybe; -}; - /** order by max() on columns of table "vesting_account" */ export type Vesting_Account_Max_Order_By = { address?: InputMaybe; @@ -11306,15 +7750,6 @@ export type Vesting_Account_Max_Order_By = { type?: InputMaybe; }; -/** aggregate min on columns */ -export type Vesting_Account_Min_Fields = { - __typename?: 'vesting_account_min_fields'; - address?: Maybe; - end_time?: Maybe; - start_time?: Maybe; - type?: Maybe; -}; - /** order by min() on columns of table "vesting_account" */ export type Vesting_Account_Min_Order_By = { address?: InputMaybe; @@ -11348,6 +7783,23 @@ export enum Vesting_Account_Select_Column { Type = 'type' } +/** Streaming cursor of the table "vesting_account" */ +export type Vesting_Account_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Vesting_Account_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Vesting_Account_Stream_Cursor_Value_Input = { + address?: InputMaybe; + end_time?: InputMaybe; + original_vesting?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; +}; + /** columns and relationships of "vesting_period" */ export type Vesting_Period = { __typename?: 'vesting_period'; @@ -11356,37 +7808,6 @@ export type Vesting_Period = { period_order: Scalars['bigint']; /** An object relationship */ vesting_account: Vesting_Account; - vesting_account_id: Scalars['bigint']; -}; - -/** aggregated selection of "vesting_period" */ -export type Vesting_Period_Aggregate = { - __typename?: 'vesting_period_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "vesting_period" */ -export type Vesting_Period_Aggregate_Fields = { - __typename?: 'vesting_period_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "vesting_period" */ -export type Vesting_Period_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; }; /** order by aggregate values of table "vesting_period" */ @@ -11404,19 +7825,10 @@ export type Vesting_Period_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Vesting_Period_Avg_Fields = { - __typename?: 'vesting_period_avg_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - /** order by avg() on columns of table "vesting_period" */ export type Vesting_Period_Avg_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; }; /** Boolean expression to filter rows from the table "vesting_period". All fields are combined with a logical 'AND'. */ @@ -11428,37 +7840,18 @@ export type Vesting_Period_Bool_Exp = { length?: InputMaybe; period_order?: InputMaybe; vesting_account?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Vesting_Period_Max_Fields = { - __typename?: 'vesting_period_max_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by max() on columns of table "vesting_period" */ export type Vesting_Period_Max_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Vesting_Period_Min_Fields = { - __typename?: 'vesting_period_min_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by min() on columns of table "vesting_period" */ export type Vesting_Period_Min_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; }; /** Ordering options when selecting data from "vesting_period". */ @@ -11467,7 +7860,6 @@ export type Vesting_Period_Order_By = { length?: InputMaybe; period_order?: InputMaybe; vesting_account?: InputMaybe; - vesting_account_id?: InputMaybe; }; /** select columns of table "vesting_period" */ @@ -11477,114 +7869,64 @@ export enum Vesting_Period_Select_Column { /** column name */ Length = 'length', /** column name */ - PeriodOrder = 'period_order', - /** column name */ - VestingAccountId = 'vesting_account_id' + PeriodOrder = 'period_order' } -/** aggregate stddev on columns */ -export type Vesting_Period_Stddev_Fields = { - __typename?: 'vesting_period_stddev_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - /** order by stddev() on columns of table "vesting_period" */ export type Vesting_Period_Stddev_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Vesting_Period_Stddev_Pop_Fields = { - __typename?: 'vesting_period_stddev_pop_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by stddev_pop() on columns of table "vesting_period" */ export type Vesting_Period_Stddev_Pop_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate stddev_samp on columns */ -export type Vesting_Period_Stddev_Samp_Fields = { - __typename?: 'vesting_period_stddev_samp_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by stddev_samp() on columns of table "vesting_period" */ export type Vesting_Period_Stddev_Samp_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Vesting_Period_Sum_Fields = { - __typename?: 'vesting_period_sum_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; +/** Streaming cursor of the table "vesting_period" */ +export type Vesting_Period_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Vesting_Period_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Vesting_Period_Stream_Cursor_Value_Input = { + amount?: InputMaybe; + length?: InputMaybe; + period_order?: InputMaybe; }; /** order by sum() on columns of table "vesting_period" */ export type Vesting_Period_Sum_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate var_pop on columns */ -export type Vesting_Period_Var_Pop_Fields = { - __typename?: 'vesting_period_var_pop_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by var_pop() on columns of table "vesting_period" */ export type Vesting_Period_Var_Pop_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Vesting_Period_Var_Samp_Fields = { - __typename?: 'vesting_period_var_samp_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by var_samp() on columns of table "vesting_period" */ export type Vesting_Period_Var_Samp_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type Vesting_Period_Variance_Fields = { - __typename?: 'vesting_period_variance_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by variance() on columns of table "vesting_period" */ export type Vesting_Period_Variance_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; }; /** columns and relationships of "wasm_code" */ @@ -11593,7 +7935,7 @@ export type Wasm_Code = { byte_code: Scalars['bytea']; code_id: Scalars['bigint']; height: Scalars['bigint']; - instantiate_permission?: Maybe; + instantiate_permission?: Maybe; sender?: Maybe; /** An array relationship */ wasm_contracts: Array; @@ -11666,9 +8008,10 @@ export type Wasm_Code_Bool_Exp = { byte_code?: InputMaybe; code_id?: InputMaybe; height?: InputMaybe; - instantiate_permission?: InputMaybe; + instantiate_permission?: InputMaybe; sender?: InputMaybe; wasm_contracts?: InputMaybe; + wasm_contracts_aggregate?: InputMaybe; }; /** aggregate max on columns */ @@ -11676,6 +8019,7 @@ export type Wasm_Code_Max_Fields = { __typename?: 'wasm_code_max_fields'; code_id?: Maybe; height?: Maybe; + instantiate_permission?: Maybe; sender?: Maybe; }; @@ -11684,6 +8028,7 @@ export type Wasm_Code_Min_Fields = { __typename?: 'wasm_code_min_fields'; code_id?: Maybe; height?: Maybe; + instantiate_permission?: Maybe; sender?: Maybe; }; @@ -11732,6 +8077,23 @@ export type Wasm_Code_Stddev_Samp_Fields = { height?: Maybe; }; +/** Streaming cursor of the table "wasm_code" */ +export type Wasm_Code_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Wasm_Code_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Wasm_Code_Stream_Cursor_Value_Input = { + byte_code?: InputMaybe; + code_id?: InputMaybe; + height?: InputMaybe; + instantiate_permission?: InputMaybe; + sender?: InputMaybe; +}; + /** aggregate sum on columns */ export type Wasm_Code_Sum_Fields = { __typename?: 'wasm_code_sum_fields'; @@ -11763,8 +8125,6 @@ export type Wasm_Code_Variance_Fields = { /** columns and relationships of "wasm_contract" */ export type Wasm_Contract = { __typename?: 'wasm_contract'; - /** An object relationship */ - account: Account; admin?: Maybe; code_id: Scalars['bigint']; contract_address: Scalars['String']; @@ -11825,6 +8185,17 @@ export type Wasm_Contract_Aggregate = { nodes: Array; }; +export type Wasm_Contract_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Wasm_Contract_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "wasm_contract" */ export type Wasm_Contract_Aggregate_Fields = { __typename?: 'wasm_contract_aggregate_fields'; @@ -11881,7 +8252,6 @@ export type Wasm_Contract_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; - account?: InputMaybe; admin?: InputMaybe; code_id?: InputMaybe; contract_address?: InputMaybe; @@ -11897,6 +8267,7 @@ export type Wasm_Contract_Bool_Exp = { sender?: InputMaybe; wasm_code?: InputMaybe; wasm_execute_contracts?: InputMaybe; + wasm_execute_contracts_aggregate?: InputMaybe; }; /** aggregate max on columns */ @@ -11959,7 +8330,6 @@ export type Wasm_Contract_Min_Order_By = { /** Ordering options when selecting data from "wasm_contract". */ export type Wasm_Contract_Order_By = { - account?: InputMaybe; admin?: InputMaybe; code_id?: InputMaybe; contract_address?: InputMaybe; @@ -12046,6 +8416,31 @@ export type Wasm_Contract_Stddev_Samp_Order_By = { height?: InputMaybe; }; +/** Streaming cursor of the table "wasm_contract" */ +export type Wasm_Contract_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Wasm_Contract_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Wasm_Contract_Stream_Cursor_Value_Input = { + admin?: InputMaybe; + code_id?: InputMaybe; + contract_address?: InputMaybe; + contract_info_extension?: InputMaybe; + contract_states?: InputMaybe; + creator?: InputMaybe; + data?: InputMaybe; + funds?: InputMaybe; + height?: InputMaybe; + instantiated_at?: InputMaybe; + label?: InputMaybe; + raw_contract_message?: InputMaybe; + sender?: InputMaybe; +}; + /** aggregate sum on columns */ export type Wasm_Contract_Sum_Fields = { __typename?: 'wasm_contract_sum_fields'; @@ -12125,6 +8520,17 @@ export type Wasm_Execute_Contract_Aggregate = { nodes: Array; }; +export type Wasm_Execute_Contract_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Wasm_Execute_Contract_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "wasm_execute_contract" */ export type Wasm_Execute_Contract_Aggregate_Fields = { __typename?: 'wasm_execute_contract_aggregate_fields'; @@ -12290,6 +8696,25 @@ export type Wasm_Execute_Contract_Stddev_Samp_Order_By = { height?: InputMaybe; }; +/** Streaming cursor of the table "wasm_execute_contract" */ +export type Wasm_Execute_Contract_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Wasm_Execute_Contract_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Wasm_Execute_Contract_Stream_Cursor_Value_Input = { + contract_address?: InputMaybe; + data?: InputMaybe; + executed_at?: InputMaybe; + funds?: InputMaybe; + height?: InputMaybe; + raw_contract_message?: InputMaybe; + sender?: InputMaybe; +}; + /** aggregate sum on columns */ export type Wasm_Execute_Contract_Sum_Fields = { __typename?: 'wasm_execute_contract_sum_fields'; @@ -12337,7 +8762,7 @@ export type Wasm_Execute_Contract_Variance_Order_By = { /** columns and relationships of "wasm_params" */ export type Wasm_Params = { __typename?: 'wasm_params'; - code_upload_access: Scalars['access_config']; + code_upload_access: Scalars['access_config_scalar']; height: Scalars['bigint']; instantiate_default_permission: Scalars['Int']; one_row_id: Scalars['Boolean']; @@ -12385,7 +8810,7 @@ export type Wasm_Params_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; - code_upload_access?: InputMaybe; + code_upload_access?: InputMaybe; height?: InputMaybe; instantiate_default_permission?: InputMaybe; one_row_id?: InputMaybe; @@ -12394,6 +8819,7 @@ export type Wasm_Params_Bool_Exp = { /** aggregate max on columns */ export type Wasm_Params_Max_Fields = { __typename?: 'wasm_params_max_fields'; + code_upload_access?: Maybe; height?: Maybe; instantiate_default_permission?: Maybe; }; @@ -12401,6 +8827,7 @@ export type Wasm_Params_Max_Fields = { /** aggregate min on columns */ export type Wasm_Params_Min_Fields = { __typename?: 'wasm_params_min_fields'; + code_upload_access?: Maybe; height?: Maybe; instantiate_default_permission?: Maybe; }; @@ -12446,6 +8873,22 @@ export type Wasm_Params_Stddev_Samp_Fields = { instantiate_default_permission?: Maybe; }; +/** Streaming cursor of the table "wasm_params" */ +export type Wasm_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Wasm_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Wasm_Params_Stream_Cursor_Value_Input = { + code_upload_access?: InputMaybe; + height?: InputMaybe; + instantiate_default_permission?: InputMaybe; + one_row_id?: InputMaybe; +}; + /** aggregate sum on columns */ export type Wasm_Params_Sum_Fields = { __typename?: 'wasm_params_sum_fields'; @@ -12606,6 +9049,11 @@ export type MarketDataQueryVariables = Exact<{ export type MarketDataQuery = { communityPool: Array<{ __typename?: 'community_pool', coins: any }>, inflation: Array<{ __typename?: 'inflation', value: string }>, tokenPrice: Array<{ __typename?: 'token_price', price: any, marketCap: any }>, supply: Array<{ __typename?: 'supply', coins: any }>, bondedTokens: Array<{ __typename?: 'staking_pool', bonded_tokens: string }>, distributionParams: Array<{ __typename?: 'distribution_params', params: any }>, mintParams: Array<{ __typename?: 'mint_params', params: any }> }; +export type MessageTypesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type MessageTypesQuery = { msgTypes: Array<{ __typename?: 'message_type', type: string, module: string, label: string }> }; + export type GetMessagesByAddressQueryVariables = Exact<{ address?: InputMaybe; limit?: InputMaybe; @@ -12631,7 +9079,7 @@ export type ProposalDetailsQueryVariables = Exact<{ }>; -export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, metadata?: string | null, summary?: string | null, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> }; +export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, metadata: string, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> }; export type ProposalDetailsTallyQueryVariables = Exact<{ proposalId?: InputMaybe; @@ -13505,6 +9953,42 @@ export function useMarketDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions export type MarketDataQueryHookResult = ReturnType; export type MarketDataLazyQueryHookResult = ReturnType; export type MarketDataQueryResult = Apollo.QueryResult; +export const MessageTypesDocument = gql` + query MessageTypes { + msgTypes: message_type { + type + module + label + } +} + `; + +/** + * __useMessageTypesQuery__ + * + * To run a query within a React component, call `useMessageTypesQuery` and pass it any options that fit your needs. + * When your component renders, `useMessageTypesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useMessageTypesQuery({ + * variables: { + * }, + * }); + */ +export function useMessageTypesQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(MessageTypesDocument, options); + } +export function useMessageTypesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(MessageTypesDocument, options); + } +export type MessageTypesQueryHookResult = ReturnType; +export type MessageTypesLazyQueryHookResult = ReturnType; +export type MessageTypesQueryResult = Apollo.QueryResult; export const GetMessagesByAddressDocument = gql` query GetMessagesByAddress($address: _text, $limit: bigint = 50, $offset: bigint = 0, $types: _text = "{}") { messagesByAddress: messages_by_address( @@ -13664,7 +10148,6 @@ export const ProposalDetailsDocument = gql` proposalId: id submitTime: submit_time metadata - summary depositEndTime: deposit_end_time votingStartTime: voting_start_time votingEndTime: voting_end_time diff --git a/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts b/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts index b833876359..5c13975f7d 100644 --- a/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts +++ b/packages/ui/src/components/transaction_message_filter_detailed/hooks.ts @@ -1,7 +1,16 @@ -import { useState } from 'react'; +import { useEffect, useMemo, useState } from 'react'; +import { useMessageTypesQuery } from '@/graphql/types/general_types'; export const useMsgFilter = () => { const [open, setOpen] = useState(false); + const { data, error, loading, refetch } = useMessageTypesQuery(); + + /* If there is an error, refetch the data. */ + useEffect(() => { + if (error) refetch(); + }, [error, refetch]); + + const exists = useMemo(() => loading || !!data?.length, [loading, data]); const handleOpen = () => { setOpen(true); @@ -19,5 +28,8 @@ export const useMsgFilter = () => { open, handleOpen, handleCancel, + data, + loading, + exists, }; }; diff --git a/packages/ui/src/components/transaction_message_filter_detailed/index.tsx b/packages/ui/src/components/transaction_message_filter_detailed/index.tsx index 37f6ea3b69..6401b3fb1b 100644 --- a/packages/ui/src/components/transaction_message_filter_detailed/index.tsx +++ b/packages/ui/src/components/transaction_message_filter_detailed/index.tsx @@ -8,16 +8,15 @@ import FilterTxsIcon from 'shared-utils/assets/icon-filter-transactions.svg'; import Search from '@/components/search'; import { useMsgFilter } from '@/components/transaction_message_filter_detailed/hooks'; import { SetterOrUpdater, useRecoilState } from 'recoil'; -import { writeMsgTypes } from '@/recoil/settings'; +import { writeFilterMsgTypes } from '@/recoil/settings'; import useStyles from './styles'; -import { MsgTypeList } from './utils'; -const FilterTxsByType: FC = props => { +const FilterTxsByType: FC = (props) => { const { classes, cx } = useStyles(); const { t } = useAppTranslation('common'); - const { open, handleOpen, handleCancel } = useMsgFilter(); + const { data, open, handleOpen, handleCancel } = useMsgFilter(); const [queryMsgTypeList, setQueryMsgTypeList] = useState([] as string[]); - const [msgTypes, setMsgTypes] = useRecoilState(writeMsgTypes) as [ + const [msgTypes, setMsgTypes] = useRecoilState(writeFilterMsgTypes) as [ string, SetterOrUpdater ]; @@ -28,13 +27,23 @@ const FilterTxsByType: FC = props => { msgList.push(event.target.value); setQueryMsgTypeList(msgList); } else { - msgList = msgList.filter(v => v !== event.target.value); + msgList = msgList.filter((v) => v !== event.target.value); setQueryMsgTypeList(msgList); } setMsgTypes(() => event.target.value); console.log(msgTypes); }; + const formatMsgTypes = (msgTypes) => { + const categories = [...new Set(msgTypes.map((msgType) => msgType.module))]; + return categories.reduce((acc, module) => { + const msgs = msgTypes.filter((msgType) => msgType.module === module); + return [...acc, { module, msgTypes: msgs }]; + }, []); + }; + + const formattedMsgData = formatMsgTypes(data.msgTypes); + return ( <>
= props => {
- {Object.entries(MsgTypeList).map(msgType => ( + {formattedMsgData.map((msgData) => (
- {msgType[0]} + {msgData.module.includes('ibc') ? ( + + {msgData.module.charAt(0).toUpperCase() + + msgData.module.charAt(1).toUpperCase() + + msgData.module.charAt(2).toUpperCase() + + msgData.module.slice(3)} + + ) : ( + {msgData.module} + )}
- {Object.values(msgType[1]).map((tp, ind) => ( + {msgData.msgTypes.map((msg) => (
handleMsgTypeSelection(e)} + onClick={(e) => handleMsgTypeSelection(e)} />
))} diff --git a/packages/ui/src/components/transaction_message_filter_detailed/styles.ts b/packages/ui/src/components/transaction_message_filter_detailed/styles.ts index 68a068bd78..be01c42088 100644 --- a/packages/ui/src/components/transaction_message_filter_detailed/styles.ts +++ b/packages/ui/src/components/transaction_message_filter_detailed/styles.ts @@ -1,6 +1,6 @@ import { makeStyles } from 'tss-react/mui'; -const useStyles = makeStyles()(theme => ({ +const useStyles = makeStyles()((theme) => ({ icon: { display: 'inline-flex', position: 'absolute', @@ -43,6 +43,7 @@ const useStyles = makeStyles()(theme => ({ fontWeight: 590, lineHeight: '20px', letterSpacing: '-0.544px', + textTransform: 'capitalize', }, msgOption: { color: theme.palette.custom.fonts.fontFour, From 3c29a98266e03aa8f02688cf697bbb81aef00daa Mon Sep 17 00:00:00 2001 From: Magic Cat Date: Fri, 19 Jan 2024 17:54:13 +0700 Subject: [PATCH 08/72] updated recoil filterMsgTypes to string[] --- .../index.tsx | 20 +++++++++++++++---- packages/ui/src/recoil/settings/atom.ts | 2 +- packages/ui/src/recoil/settings/selectors.ts | 4 ++-- packages/ui/src/recoil/settings/types.ts | 2 +- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/packages/ui/src/components/transaction_message_filter_detailed/index.tsx b/packages/ui/src/components/transaction_message_filter_detailed/index.tsx index 6401b3fb1b..3491c1f829 100644 --- a/packages/ui/src/components/transaction_message_filter_detailed/index.tsx +++ b/packages/ui/src/components/transaction_message_filter_detailed/index.tsx @@ -9,6 +9,8 @@ import Search from '@/components/search'; import { useMsgFilter } from '@/components/transaction_message_filter_detailed/hooks'; import { SetterOrUpdater, useRecoilState } from 'recoil'; import { writeFilterMsgTypes } from '@/recoil/settings'; +import DialogActions from '@mui/material/DialogActions'; +import Button from '@mui/material/Button'; import useStyles from './styles'; const FilterTxsByType: FC = (props) => { @@ -30,19 +32,23 @@ const FilterTxsByType: FC = (props) => { msgList = msgList.filter((v) => v !== event.target.value); setQueryMsgTypeList(msgList); } - setMsgTypes(() => event.target.value); - console.log(msgTypes); }; const formatMsgTypes = (msgTypes) => { - const categories = [...new Set(msgTypes.map((msgType) => msgType.module))]; + const categories = [...new Set(msgTypes?.map((msgType) => msgType.module))]; return categories.reduce((acc, module) => { const msgs = msgTypes.filter((msgType) => msgType.module === module); return [...acc, { module, msgTypes: msgs }]; }, []); }; - const formattedMsgData = formatMsgTypes(data.msgTypes); + const formattedMsgData = formatMsgTypes(data?.msgTypes); + + const handleFormSubmit = () => { + const str = queryMsgTypeList.join(','); + const query = `{${str}}`; + setMsgTypes(() => query); + }; return ( <> @@ -94,6 +100,7 @@ const FilterTxsByType: FC = (props) => { value={msg.type} className={classes.checkbox} onClick={(e) => handleMsgTypeSelection(e)} + key={`msg_type_${msg.label}`} />