From 44cf5f972244335c394084b1fc5b1c5ba837af99 Mon Sep 17 00:00:00 2001 From: toniocodo Date: Sat, 15 Jun 2024 02:45:26 +0200 Subject: [PATCH 1/4] feat: add OGN allowance buffer --- libs/defi/ogn/src/staking/components/StakeRewardModal.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx b/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx index 98ffef0c0..3969e079f 100644 --- a/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx +++ b/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx @@ -57,7 +57,7 @@ import { } from '@tanstack/react-table'; import { addMonths, formatDuration } from 'date-fns'; import { useIntl } from 'react-intl'; -import { formatUnits } from 'viem'; +import { formatUnits, parseUnits } from 'viem'; import { useAccount } from 'wagmi'; import { useStartLockupPolling } from '../hooks'; @@ -96,7 +96,10 @@ export const StakeRewardModal = (props: DialogProps) => { label: approvalLabel, } = useApprovalButton({ token: tokens.mainnet.OGN, - amount: amount + (info?.xOgnRewards ?? 0n), + amount: + amount + + (info?.xOgnRewards ?? 0n) + + parseUnits('2', tokens.mainnet.OGN.decimals), spender: tokens.mainnet.xOGN.address, enableAllowance: true, }); From d0d9e0c2af085cbb92d5f2c8b818174742093fd5 Mon Sep 17 00:00:00 2001 From: toniocodo Date: Sat, 15 Jun 2024 15:23:53 +0200 Subject: [PATCH 2/4] feat: move buffer to 10 OGN --- libs/defi/ogn/src/staking/components/StakeRewardModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx b/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx index 3969e079f..6b3901602 100644 --- a/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx +++ b/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx @@ -99,7 +99,7 @@ export const StakeRewardModal = (props: DialogProps) => { amount: amount + (info?.xOgnRewards ?? 0n) + - parseUnits('2', tokens.mainnet.OGN.decimals), + parseUnits('10', tokens.mainnet.OGN.decimals), spender: tokens.mainnet.xOGN.address, enableAllowance: true, }); From a50cbc183dfe82b4eca56cb8cafa8d93f1e5ded3 Mon Sep 17 00:00:00 2001 From: toniocodo Date: Sat, 15 Jun 2024 15:24:17 +0200 Subject: [PATCH 3/4] chore: grapqhl gen --- libs/defi/shared/src/generated/graphql.ts | 463 ++++++++++++++++++ .../shared/src/queries/snapshot.generated.ts | 4 + .../proposals/src/snapshot.generated.ts | 4 + .../shared/src/generated/graphql.ts | 463 ++++++++++++++++++ libs/oeth/shared/src/generated/graphql.ts | 463 ++++++++++++++++++ libs/ousd/shared/src/generated/graphql.ts | 463 ++++++++++++++++++ 6 files changed, 1860 insertions(+) diff --git a/libs/defi/shared/src/generated/graphql.ts b/libs/defi/shared/src/generated/graphql.ts index 924b26783..6f8ee53ca 100644 --- a/libs/defi/shared/src/generated/graphql.ts +++ b/libs/defi/shared/src/generated/graphql.ts @@ -563,6 +563,407 @@ export type BalancerPoolsConnection = { totalCount: Scalars['Int']['output']; }; +export type BeaconDepositEvent = { + __typename?: 'BeaconDepositEvent'; + address: Scalars['String']['output']; + amount: Scalars['String']['output']; + blockNumber: Scalars['Int']['output']; + caller: Scalars['String']['output']; + chainId: Scalars['Int']['output']; + id: Scalars['String']['output']; + index: Scalars['String']['output']; + pubkey: BeaconDepositPubkey; + signature: Scalars['String']['output']; + timestamp: Scalars['DateTime']['output']; + txHash: Scalars['String']['output']; + withdrawalCredentials: Scalars['String']['output']; +}; + +export type BeaconDepositEventEdge = { + __typename?: 'BeaconDepositEventEdge'; + cursor: Scalars['String']['output']; + node: BeaconDepositEvent; +}; + +export enum BeaconDepositEventOrderByInput { + AddressAsc = 'address_ASC', + AddressAscNullsFirst = 'address_ASC_NULLS_FIRST', + AddressAscNullsLast = 'address_ASC_NULLS_LAST', + AddressDesc = 'address_DESC', + AddressDescNullsFirst = 'address_DESC_NULLS_FIRST', + AddressDescNullsLast = 'address_DESC_NULLS_LAST', + AmountAsc = 'amount_ASC', + AmountAscNullsFirst = 'amount_ASC_NULLS_FIRST', + AmountAscNullsLast = 'amount_ASC_NULLS_LAST', + AmountDesc = 'amount_DESC', + AmountDescNullsFirst = 'amount_DESC_NULLS_FIRST', + AmountDescNullsLast = 'amount_DESC_NULLS_LAST', + BlockNumberAsc = 'blockNumber_ASC', + BlockNumberAscNullsFirst = 'blockNumber_ASC_NULLS_FIRST', + BlockNumberAscNullsLast = 'blockNumber_ASC_NULLS_LAST', + BlockNumberDesc = 'blockNumber_DESC', + BlockNumberDescNullsFirst = 'blockNumber_DESC_NULLS_FIRST', + BlockNumberDescNullsLast = 'blockNumber_DESC_NULLS_LAST', + CallerAsc = 'caller_ASC', + CallerAscNullsFirst = 'caller_ASC_NULLS_FIRST', + CallerAscNullsLast = 'caller_ASC_NULLS_LAST', + CallerDesc = 'caller_DESC', + CallerDescNullsFirst = 'caller_DESC_NULLS_FIRST', + CallerDescNullsLast = 'caller_DESC_NULLS_LAST', + ChainIdAsc = 'chainId_ASC', + ChainIdAscNullsFirst = 'chainId_ASC_NULLS_FIRST', + ChainIdAscNullsLast = 'chainId_ASC_NULLS_LAST', + ChainIdDesc = 'chainId_DESC', + ChainIdDescNullsFirst = 'chainId_DESC_NULLS_FIRST', + ChainIdDescNullsLast = 'chainId_DESC_NULLS_LAST', + IdAsc = 'id_ASC', + IdAscNullsFirst = 'id_ASC_NULLS_FIRST', + IdAscNullsLast = 'id_ASC_NULLS_LAST', + IdDesc = 'id_DESC', + IdDescNullsFirst = 'id_DESC_NULLS_FIRST', + IdDescNullsLast = 'id_DESC_NULLS_LAST', + IndexAsc = 'index_ASC', + IndexAscNullsFirst = 'index_ASC_NULLS_FIRST', + IndexAscNullsLast = 'index_ASC_NULLS_LAST', + IndexDesc = 'index_DESC', + IndexDescNullsFirst = 'index_DESC_NULLS_FIRST', + IndexDescNullsLast = 'index_DESC_NULLS_LAST', + PubkeyCountAsc = 'pubkey_count_ASC', + PubkeyCountAscNullsFirst = 'pubkey_count_ASC_NULLS_FIRST', + PubkeyCountAscNullsLast = 'pubkey_count_ASC_NULLS_LAST', + PubkeyCountDesc = 'pubkey_count_DESC', + PubkeyCountDescNullsFirst = 'pubkey_count_DESC_NULLS_FIRST', + PubkeyCountDescNullsLast = 'pubkey_count_DESC_NULLS_LAST', + PubkeyCreateDateAsc = 'pubkey_createDate_ASC', + PubkeyCreateDateAscNullsFirst = 'pubkey_createDate_ASC_NULLS_FIRST', + PubkeyCreateDateAscNullsLast = 'pubkey_createDate_ASC_NULLS_LAST', + PubkeyCreateDateDesc = 'pubkey_createDate_DESC', + PubkeyCreateDateDescNullsFirst = 'pubkey_createDate_DESC_NULLS_FIRST', + PubkeyCreateDateDescNullsLast = 'pubkey_createDate_DESC_NULLS_LAST', + PubkeyIdAsc = 'pubkey_id_ASC', + PubkeyIdAscNullsFirst = 'pubkey_id_ASC_NULLS_FIRST', + PubkeyIdAscNullsLast = 'pubkey_id_ASC_NULLS_LAST', + PubkeyIdDesc = 'pubkey_id_DESC', + PubkeyIdDescNullsFirst = 'pubkey_id_DESC_NULLS_FIRST', + PubkeyIdDescNullsLast = 'pubkey_id_DESC_NULLS_LAST', + PubkeyLastUpdatedAsc = 'pubkey_lastUpdated_ASC', + PubkeyLastUpdatedAscNullsFirst = 'pubkey_lastUpdated_ASC_NULLS_FIRST', + PubkeyLastUpdatedAscNullsLast = 'pubkey_lastUpdated_ASC_NULLS_LAST', + PubkeyLastUpdatedDesc = 'pubkey_lastUpdated_DESC', + PubkeyLastUpdatedDescNullsFirst = 'pubkey_lastUpdated_DESC_NULLS_FIRST', + PubkeyLastUpdatedDescNullsLast = 'pubkey_lastUpdated_DESC_NULLS_LAST', + SignatureAsc = 'signature_ASC', + SignatureAscNullsFirst = 'signature_ASC_NULLS_FIRST', + SignatureAscNullsLast = 'signature_ASC_NULLS_LAST', + SignatureDesc = 'signature_DESC', + SignatureDescNullsFirst = 'signature_DESC_NULLS_FIRST', + SignatureDescNullsLast = 'signature_DESC_NULLS_LAST', + TimestampAsc = 'timestamp_ASC', + TimestampAscNullsFirst = 'timestamp_ASC_NULLS_FIRST', + TimestampAscNullsLast = 'timestamp_ASC_NULLS_LAST', + TimestampDesc = 'timestamp_DESC', + TimestampDescNullsFirst = 'timestamp_DESC_NULLS_FIRST', + TimestampDescNullsLast = 'timestamp_DESC_NULLS_LAST', + TxHashAsc = 'txHash_ASC', + TxHashAscNullsFirst = 'txHash_ASC_NULLS_FIRST', + TxHashAscNullsLast = 'txHash_ASC_NULLS_LAST', + TxHashDesc = 'txHash_DESC', + TxHashDescNullsFirst = 'txHash_DESC_NULLS_FIRST', + TxHashDescNullsLast = 'txHash_DESC_NULLS_LAST', + WithdrawalCredentialsAsc = 'withdrawalCredentials_ASC', + WithdrawalCredentialsAscNullsFirst = 'withdrawalCredentials_ASC_NULLS_FIRST', + WithdrawalCredentialsAscNullsLast = 'withdrawalCredentials_ASC_NULLS_LAST', + WithdrawalCredentialsDesc = 'withdrawalCredentials_DESC', + WithdrawalCredentialsDescNullsFirst = 'withdrawalCredentials_DESC_NULLS_FIRST', + WithdrawalCredentialsDescNullsLast = 'withdrawalCredentials_DESC_NULLS_LAST' +} + +export type BeaconDepositEventWhereInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + address_contains?: InputMaybe; + address_containsInsensitive?: InputMaybe; + address_endsWith?: InputMaybe; + address_eq?: InputMaybe; + address_gt?: InputMaybe; + address_gte?: InputMaybe; + address_in?: InputMaybe>; + address_isNull?: InputMaybe; + address_lt?: InputMaybe; + address_lte?: InputMaybe; + address_not_contains?: InputMaybe; + address_not_containsInsensitive?: InputMaybe; + address_not_endsWith?: InputMaybe; + address_not_eq?: InputMaybe; + address_not_in?: InputMaybe>; + address_not_startsWith?: InputMaybe; + address_startsWith?: InputMaybe; + amount_contains?: InputMaybe; + amount_containsInsensitive?: InputMaybe; + amount_endsWith?: InputMaybe; + amount_eq?: InputMaybe; + amount_gt?: InputMaybe; + amount_gte?: InputMaybe; + amount_in?: InputMaybe>; + amount_isNull?: InputMaybe; + amount_lt?: InputMaybe; + amount_lte?: InputMaybe; + amount_not_contains?: InputMaybe; + amount_not_containsInsensitive?: InputMaybe; + amount_not_endsWith?: InputMaybe; + amount_not_eq?: InputMaybe; + amount_not_in?: InputMaybe>; + amount_not_startsWith?: InputMaybe; + amount_startsWith?: InputMaybe; + blockNumber_eq?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_isNull?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_not_eq?: InputMaybe; + blockNumber_not_in?: InputMaybe>; + caller_contains?: InputMaybe; + caller_containsInsensitive?: InputMaybe; + caller_endsWith?: InputMaybe; + caller_eq?: InputMaybe; + caller_gt?: InputMaybe; + caller_gte?: InputMaybe; + caller_in?: InputMaybe>; + caller_isNull?: InputMaybe; + caller_lt?: InputMaybe; + caller_lte?: InputMaybe; + caller_not_contains?: InputMaybe; + caller_not_containsInsensitive?: InputMaybe; + caller_not_endsWith?: InputMaybe; + caller_not_eq?: InputMaybe; + caller_not_in?: InputMaybe>; + caller_not_startsWith?: InputMaybe; + caller_startsWith?: InputMaybe; + chainId_eq?: InputMaybe; + chainId_gt?: InputMaybe; + chainId_gte?: InputMaybe; + chainId_in?: InputMaybe>; + chainId_isNull?: InputMaybe; + chainId_lt?: InputMaybe; + chainId_lte?: InputMaybe; + chainId_not_eq?: InputMaybe; + chainId_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_containsInsensitive?: InputMaybe; + id_endsWith?: InputMaybe; + id_eq?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_isNull?: InputMaybe; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_containsInsensitive?: InputMaybe; + id_not_endsWith?: InputMaybe; + id_not_eq?: InputMaybe; + id_not_in?: InputMaybe>; + id_not_startsWith?: InputMaybe; + id_startsWith?: InputMaybe; + index_contains?: InputMaybe; + index_containsInsensitive?: InputMaybe; + index_endsWith?: InputMaybe; + index_eq?: InputMaybe; + index_gt?: InputMaybe; + index_gte?: InputMaybe; + index_in?: InputMaybe>; + index_isNull?: InputMaybe; + index_lt?: InputMaybe; + index_lte?: InputMaybe; + index_not_contains?: InputMaybe; + index_not_containsInsensitive?: InputMaybe; + index_not_endsWith?: InputMaybe; + index_not_eq?: InputMaybe; + index_not_in?: InputMaybe>; + index_not_startsWith?: InputMaybe; + index_startsWith?: InputMaybe; + pubkey?: InputMaybe; + pubkey_isNull?: InputMaybe; + signature_contains?: InputMaybe; + signature_containsInsensitive?: InputMaybe; + signature_endsWith?: InputMaybe; + signature_eq?: InputMaybe; + signature_gt?: InputMaybe; + signature_gte?: InputMaybe; + signature_in?: InputMaybe>; + signature_isNull?: InputMaybe; + signature_lt?: InputMaybe; + signature_lte?: InputMaybe; + signature_not_contains?: InputMaybe; + signature_not_containsInsensitive?: InputMaybe; + signature_not_endsWith?: InputMaybe; + signature_not_eq?: InputMaybe; + signature_not_in?: InputMaybe>; + signature_not_startsWith?: InputMaybe; + signature_startsWith?: InputMaybe; + timestamp_eq?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_isNull?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_not_eq?: InputMaybe; + timestamp_not_in?: InputMaybe>; + txHash_contains?: InputMaybe; + txHash_containsInsensitive?: InputMaybe; + txHash_endsWith?: InputMaybe; + txHash_eq?: InputMaybe; + txHash_gt?: InputMaybe; + txHash_gte?: InputMaybe; + txHash_in?: InputMaybe>; + txHash_isNull?: InputMaybe; + txHash_lt?: InputMaybe; + txHash_lte?: InputMaybe; + txHash_not_contains?: InputMaybe; + txHash_not_containsInsensitive?: InputMaybe; + txHash_not_endsWith?: InputMaybe; + txHash_not_eq?: InputMaybe; + txHash_not_in?: InputMaybe>; + txHash_not_startsWith?: InputMaybe; + txHash_startsWith?: InputMaybe; + withdrawalCredentials_contains?: InputMaybe; + withdrawalCredentials_containsInsensitive?: InputMaybe; + withdrawalCredentials_endsWith?: InputMaybe; + withdrawalCredentials_eq?: InputMaybe; + withdrawalCredentials_gt?: InputMaybe; + withdrawalCredentials_gte?: InputMaybe; + withdrawalCredentials_in?: InputMaybe>; + withdrawalCredentials_isNull?: InputMaybe; + withdrawalCredentials_lt?: InputMaybe; + withdrawalCredentials_lte?: InputMaybe; + withdrawalCredentials_not_contains?: InputMaybe; + withdrawalCredentials_not_containsInsensitive?: InputMaybe; + withdrawalCredentials_not_endsWith?: InputMaybe; + withdrawalCredentials_not_eq?: InputMaybe; + withdrawalCredentials_not_in?: InputMaybe>; + withdrawalCredentials_not_startsWith?: InputMaybe; + withdrawalCredentials_startsWith?: InputMaybe; +}; + +export type BeaconDepositEventsConnection = { + __typename?: 'BeaconDepositEventsConnection'; + edges: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']['output']; +}; + +export type BeaconDepositPubkey = { + __typename?: 'BeaconDepositPubkey'; + count: Scalars['Int']['output']; + createDate: Scalars['DateTime']['output']; + deposits: Array; + id: Scalars['String']['output']; + lastUpdated: Scalars['DateTime']['output']; +}; + + +export type BeaconDepositPubkeyDepositsArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + +export type BeaconDepositPubkeyEdge = { + __typename?: 'BeaconDepositPubkeyEdge'; + cursor: Scalars['String']['output']; + node: BeaconDepositPubkey; +}; + +export enum BeaconDepositPubkeyOrderByInput { + CountAsc = 'count_ASC', + CountAscNullsFirst = 'count_ASC_NULLS_FIRST', + CountAscNullsLast = 'count_ASC_NULLS_LAST', + CountDesc = 'count_DESC', + CountDescNullsFirst = 'count_DESC_NULLS_FIRST', + CountDescNullsLast = 'count_DESC_NULLS_LAST', + CreateDateAsc = 'createDate_ASC', + CreateDateAscNullsFirst = 'createDate_ASC_NULLS_FIRST', + CreateDateAscNullsLast = 'createDate_ASC_NULLS_LAST', + CreateDateDesc = 'createDate_DESC', + CreateDateDescNullsFirst = 'createDate_DESC_NULLS_FIRST', + CreateDateDescNullsLast = 'createDate_DESC_NULLS_LAST', + IdAsc = 'id_ASC', + IdAscNullsFirst = 'id_ASC_NULLS_FIRST', + IdAscNullsLast = 'id_ASC_NULLS_LAST', + IdDesc = 'id_DESC', + IdDescNullsFirst = 'id_DESC_NULLS_FIRST', + IdDescNullsLast = 'id_DESC_NULLS_LAST', + LastUpdatedAsc = 'lastUpdated_ASC', + LastUpdatedAscNullsFirst = 'lastUpdated_ASC_NULLS_FIRST', + LastUpdatedAscNullsLast = 'lastUpdated_ASC_NULLS_LAST', + LastUpdatedDesc = 'lastUpdated_DESC', + LastUpdatedDescNullsFirst = 'lastUpdated_DESC_NULLS_FIRST', + LastUpdatedDescNullsLast = 'lastUpdated_DESC_NULLS_LAST' +} + +export type BeaconDepositPubkeyWhereInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + count_eq?: InputMaybe; + count_gt?: InputMaybe; + count_gte?: InputMaybe; + count_in?: InputMaybe>; + count_isNull?: InputMaybe; + count_lt?: InputMaybe; + count_lte?: InputMaybe; + count_not_eq?: InputMaybe; + count_not_in?: InputMaybe>; + createDate_eq?: InputMaybe; + createDate_gt?: InputMaybe; + createDate_gte?: InputMaybe; + createDate_in?: InputMaybe>; + createDate_isNull?: InputMaybe; + createDate_lt?: InputMaybe; + createDate_lte?: InputMaybe; + createDate_not_eq?: InputMaybe; + createDate_not_in?: InputMaybe>; + deposits_every?: InputMaybe; + deposits_none?: InputMaybe; + deposits_some?: InputMaybe; + id_contains?: InputMaybe; + id_containsInsensitive?: InputMaybe; + id_endsWith?: InputMaybe; + id_eq?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_isNull?: InputMaybe; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_containsInsensitive?: InputMaybe; + id_not_endsWith?: InputMaybe; + id_not_eq?: InputMaybe; + id_not_in?: InputMaybe>; + id_not_startsWith?: InputMaybe; + id_startsWith?: InputMaybe; + lastUpdated_eq?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_isNull?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_not_eq?: InputMaybe; + lastUpdated_not_in?: InputMaybe>; +}; + +export type BeaconDepositPubkeysConnection = { + __typename?: 'BeaconDepositPubkeysConnection'; + edges: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']['output']; +}; + export type BridgeTransfer = { __typename?: 'BridgeTransfer'; amountIn: Scalars['BigInt']['output']; @@ -17000,6 +17401,16 @@ export type Query = { balancerPoolRatesConnection: BalancerPoolRatesConnection; balancerPools: Array; balancerPoolsConnection: BalancerPoolsConnection; + beaconDepositEventById?: Maybe; + /** @deprecated Use beaconDepositEventById */ + beaconDepositEventByUniqueInput?: Maybe; + beaconDepositEvents: Array; + beaconDepositEventsConnection: BeaconDepositEventsConnection; + beaconDepositPubkeyById?: Maybe; + /** @deprecated Use beaconDepositPubkeyById */ + beaconDepositPubkeyByUniqueInput?: Maybe; + beaconDepositPubkeys: Array; + beaconDepositPubkeysConnection: BeaconDepositPubkeysConnection; bridgeTransferById?: Maybe; /** @deprecated Use bridgeTransferById */ bridgeTransferByUniqueInput?: Maybe; @@ -17523,6 +17934,58 @@ export type QueryBalancerPoolsConnectionArgs = { }; +export type QueryBeaconDepositEventByIdArgs = { + id: Scalars['String']['input']; +}; + + +export type QueryBeaconDepositEventByUniqueInputArgs = { + where: WhereIdInput; +}; + + +export type QueryBeaconDepositEventsArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositEventsConnectionArgs = { + after?: InputMaybe; + first?: InputMaybe; + orderBy: Array; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositPubkeyByIdArgs = { + id: Scalars['String']['input']; +}; + + +export type QueryBeaconDepositPubkeyByUniqueInputArgs = { + where: WhereIdInput; +}; + + +export type QueryBeaconDepositPubkeysArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositPubkeysConnectionArgs = { + after?: InputMaybe; + first?: InputMaybe; + orderBy: Array; + where?: InputMaybe; +}; + + export type QueryBridgeTransferByIdArgs = { id: Scalars['String']['input']; }; diff --git a/libs/defi/shared/src/queries/snapshot.generated.ts b/libs/defi/shared/src/queries/snapshot.generated.ts index 7162c96f2..f9af7bd38 100644 --- a/libs/defi/shared/src/queries/snapshot.generated.ts +++ b/libs/defi/shared/src/queries/snapshot.generated.ts @@ -480,6 +480,7 @@ export type SpaceVoting = { }; export type SpaceWhere = { + controller?: InputMaybe; created?: InputMaybe; created_gt?: InputMaybe; created_gte?: InputMaybe; @@ -576,10 +577,13 @@ export type User = { __typename?: 'User'; about?: Maybe; avatar?: Maybe; + cover?: Maybe; created: Scalars['Int']['output']; + github?: Maybe; id: Scalars['String']['output']; ipfs?: Maybe; name?: Maybe; + twitter?: Maybe; }; export type UsersWhere = { diff --git a/libs/governance/proposals/src/snapshot.generated.ts b/libs/governance/proposals/src/snapshot.generated.ts index c10e7d9fc..faf305cf0 100644 --- a/libs/governance/proposals/src/snapshot.generated.ts +++ b/libs/governance/proposals/src/snapshot.generated.ts @@ -480,6 +480,7 @@ export type SpaceVoting = { }; export type SpaceWhere = { + controller?: InputMaybe; created?: InputMaybe; created_gt?: InputMaybe; created_gte?: InputMaybe; @@ -576,10 +577,13 @@ export type User = { __typename?: 'User'; about?: Maybe; avatar?: Maybe; + cover?: Maybe; created: Scalars['Int']['output']; + github?: Maybe; id: Scalars['String']['output']; ipfs?: Maybe; name?: Maybe; + twitter?: Maybe; }; export type UsersWhere = { diff --git a/libs/governance/shared/src/generated/graphql.ts b/libs/governance/shared/src/generated/graphql.ts index 924b26783..6f8ee53ca 100644 --- a/libs/governance/shared/src/generated/graphql.ts +++ b/libs/governance/shared/src/generated/graphql.ts @@ -563,6 +563,407 @@ export type BalancerPoolsConnection = { totalCount: Scalars['Int']['output']; }; +export type BeaconDepositEvent = { + __typename?: 'BeaconDepositEvent'; + address: Scalars['String']['output']; + amount: Scalars['String']['output']; + blockNumber: Scalars['Int']['output']; + caller: Scalars['String']['output']; + chainId: Scalars['Int']['output']; + id: Scalars['String']['output']; + index: Scalars['String']['output']; + pubkey: BeaconDepositPubkey; + signature: Scalars['String']['output']; + timestamp: Scalars['DateTime']['output']; + txHash: Scalars['String']['output']; + withdrawalCredentials: Scalars['String']['output']; +}; + +export type BeaconDepositEventEdge = { + __typename?: 'BeaconDepositEventEdge'; + cursor: Scalars['String']['output']; + node: BeaconDepositEvent; +}; + +export enum BeaconDepositEventOrderByInput { + AddressAsc = 'address_ASC', + AddressAscNullsFirst = 'address_ASC_NULLS_FIRST', + AddressAscNullsLast = 'address_ASC_NULLS_LAST', + AddressDesc = 'address_DESC', + AddressDescNullsFirst = 'address_DESC_NULLS_FIRST', + AddressDescNullsLast = 'address_DESC_NULLS_LAST', + AmountAsc = 'amount_ASC', + AmountAscNullsFirst = 'amount_ASC_NULLS_FIRST', + AmountAscNullsLast = 'amount_ASC_NULLS_LAST', + AmountDesc = 'amount_DESC', + AmountDescNullsFirst = 'amount_DESC_NULLS_FIRST', + AmountDescNullsLast = 'amount_DESC_NULLS_LAST', + BlockNumberAsc = 'blockNumber_ASC', + BlockNumberAscNullsFirst = 'blockNumber_ASC_NULLS_FIRST', + BlockNumberAscNullsLast = 'blockNumber_ASC_NULLS_LAST', + BlockNumberDesc = 'blockNumber_DESC', + BlockNumberDescNullsFirst = 'blockNumber_DESC_NULLS_FIRST', + BlockNumberDescNullsLast = 'blockNumber_DESC_NULLS_LAST', + CallerAsc = 'caller_ASC', + CallerAscNullsFirst = 'caller_ASC_NULLS_FIRST', + CallerAscNullsLast = 'caller_ASC_NULLS_LAST', + CallerDesc = 'caller_DESC', + CallerDescNullsFirst = 'caller_DESC_NULLS_FIRST', + CallerDescNullsLast = 'caller_DESC_NULLS_LAST', + ChainIdAsc = 'chainId_ASC', + ChainIdAscNullsFirst = 'chainId_ASC_NULLS_FIRST', + ChainIdAscNullsLast = 'chainId_ASC_NULLS_LAST', + ChainIdDesc = 'chainId_DESC', + ChainIdDescNullsFirst = 'chainId_DESC_NULLS_FIRST', + ChainIdDescNullsLast = 'chainId_DESC_NULLS_LAST', + IdAsc = 'id_ASC', + IdAscNullsFirst = 'id_ASC_NULLS_FIRST', + IdAscNullsLast = 'id_ASC_NULLS_LAST', + IdDesc = 'id_DESC', + IdDescNullsFirst = 'id_DESC_NULLS_FIRST', + IdDescNullsLast = 'id_DESC_NULLS_LAST', + IndexAsc = 'index_ASC', + IndexAscNullsFirst = 'index_ASC_NULLS_FIRST', + IndexAscNullsLast = 'index_ASC_NULLS_LAST', + IndexDesc = 'index_DESC', + IndexDescNullsFirst = 'index_DESC_NULLS_FIRST', + IndexDescNullsLast = 'index_DESC_NULLS_LAST', + PubkeyCountAsc = 'pubkey_count_ASC', + PubkeyCountAscNullsFirst = 'pubkey_count_ASC_NULLS_FIRST', + PubkeyCountAscNullsLast = 'pubkey_count_ASC_NULLS_LAST', + PubkeyCountDesc = 'pubkey_count_DESC', + PubkeyCountDescNullsFirst = 'pubkey_count_DESC_NULLS_FIRST', + PubkeyCountDescNullsLast = 'pubkey_count_DESC_NULLS_LAST', + PubkeyCreateDateAsc = 'pubkey_createDate_ASC', + PubkeyCreateDateAscNullsFirst = 'pubkey_createDate_ASC_NULLS_FIRST', + PubkeyCreateDateAscNullsLast = 'pubkey_createDate_ASC_NULLS_LAST', + PubkeyCreateDateDesc = 'pubkey_createDate_DESC', + PubkeyCreateDateDescNullsFirst = 'pubkey_createDate_DESC_NULLS_FIRST', + PubkeyCreateDateDescNullsLast = 'pubkey_createDate_DESC_NULLS_LAST', + PubkeyIdAsc = 'pubkey_id_ASC', + PubkeyIdAscNullsFirst = 'pubkey_id_ASC_NULLS_FIRST', + PubkeyIdAscNullsLast = 'pubkey_id_ASC_NULLS_LAST', + PubkeyIdDesc = 'pubkey_id_DESC', + PubkeyIdDescNullsFirst = 'pubkey_id_DESC_NULLS_FIRST', + PubkeyIdDescNullsLast = 'pubkey_id_DESC_NULLS_LAST', + PubkeyLastUpdatedAsc = 'pubkey_lastUpdated_ASC', + PubkeyLastUpdatedAscNullsFirst = 'pubkey_lastUpdated_ASC_NULLS_FIRST', + PubkeyLastUpdatedAscNullsLast = 'pubkey_lastUpdated_ASC_NULLS_LAST', + PubkeyLastUpdatedDesc = 'pubkey_lastUpdated_DESC', + PubkeyLastUpdatedDescNullsFirst = 'pubkey_lastUpdated_DESC_NULLS_FIRST', + PubkeyLastUpdatedDescNullsLast = 'pubkey_lastUpdated_DESC_NULLS_LAST', + SignatureAsc = 'signature_ASC', + SignatureAscNullsFirst = 'signature_ASC_NULLS_FIRST', + SignatureAscNullsLast = 'signature_ASC_NULLS_LAST', + SignatureDesc = 'signature_DESC', + SignatureDescNullsFirst = 'signature_DESC_NULLS_FIRST', + SignatureDescNullsLast = 'signature_DESC_NULLS_LAST', + TimestampAsc = 'timestamp_ASC', + TimestampAscNullsFirst = 'timestamp_ASC_NULLS_FIRST', + TimestampAscNullsLast = 'timestamp_ASC_NULLS_LAST', + TimestampDesc = 'timestamp_DESC', + TimestampDescNullsFirst = 'timestamp_DESC_NULLS_FIRST', + TimestampDescNullsLast = 'timestamp_DESC_NULLS_LAST', + TxHashAsc = 'txHash_ASC', + TxHashAscNullsFirst = 'txHash_ASC_NULLS_FIRST', + TxHashAscNullsLast = 'txHash_ASC_NULLS_LAST', + TxHashDesc = 'txHash_DESC', + TxHashDescNullsFirst = 'txHash_DESC_NULLS_FIRST', + TxHashDescNullsLast = 'txHash_DESC_NULLS_LAST', + WithdrawalCredentialsAsc = 'withdrawalCredentials_ASC', + WithdrawalCredentialsAscNullsFirst = 'withdrawalCredentials_ASC_NULLS_FIRST', + WithdrawalCredentialsAscNullsLast = 'withdrawalCredentials_ASC_NULLS_LAST', + WithdrawalCredentialsDesc = 'withdrawalCredentials_DESC', + WithdrawalCredentialsDescNullsFirst = 'withdrawalCredentials_DESC_NULLS_FIRST', + WithdrawalCredentialsDescNullsLast = 'withdrawalCredentials_DESC_NULLS_LAST' +} + +export type BeaconDepositEventWhereInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + address_contains?: InputMaybe; + address_containsInsensitive?: InputMaybe; + address_endsWith?: InputMaybe; + address_eq?: InputMaybe; + address_gt?: InputMaybe; + address_gte?: InputMaybe; + address_in?: InputMaybe>; + address_isNull?: InputMaybe; + address_lt?: InputMaybe; + address_lte?: InputMaybe; + address_not_contains?: InputMaybe; + address_not_containsInsensitive?: InputMaybe; + address_not_endsWith?: InputMaybe; + address_not_eq?: InputMaybe; + address_not_in?: InputMaybe>; + address_not_startsWith?: InputMaybe; + address_startsWith?: InputMaybe; + amount_contains?: InputMaybe; + amount_containsInsensitive?: InputMaybe; + amount_endsWith?: InputMaybe; + amount_eq?: InputMaybe; + amount_gt?: InputMaybe; + amount_gte?: InputMaybe; + amount_in?: InputMaybe>; + amount_isNull?: InputMaybe; + amount_lt?: InputMaybe; + amount_lte?: InputMaybe; + amount_not_contains?: InputMaybe; + amount_not_containsInsensitive?: InputMaybe; + amount_not_endsWith?: InputMaybe; + amount_not_eq?: InputMaybe; + amount_not_in?: InputMaybe>; + amount_not_startsWith?: InputMaybe; + amount_startsWith?: InputMaybe; + blockNumber_eq?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_isNull?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_not_eq?: InputMaybe; + blockNumber_not_in?: InputMaybe>; + caller_contains?: InputMaybe; + caller_containsInsensitive?: InputMaybe; + caller_endsWith?: InputMaybe; + caller_eq?: InputMaybe; + caller_gt?: InputMaybe; + caller_gte?: InputMaybe; + caller_in?: InputMaybe>; + caller_isNull?: InputMaybe; + caller_lt?: InputMaybe; + caller_lte?: InputMaybe; + caller_not_contains?: InputMaybe; + caller_not_containsInsensitive?: InputMaybe; + caller_not_endsWith?: InputMaybe; + caller_not_eq?: InputMaybe; + caller_not_in?: InputMaybe>; + caller_not_startsWith?: InputMaybe; + caller_startsWith?: InputMaybe; + chainId_eq?: InputMaybe; + chainId_gt?: InputMaybe; + chainId_gte?: InputMaybe; + chainId_in?: InputMaybe>; + chainId_isNull?: InputMaybe; + chainId_lt?: InputMaybe; + chainId_lte?: InputMaybe; + chainId_not_eq?: InputMaybe; + chainId_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_containsInsensitive?: InputMaybe; + id_endsWith?: InputMaybe; + id_eq?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_isNull?: InputMaybe; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_containsInsensitive?: InputMaybe; + id_not_endsWith?: InputMaybe; + id_not_eq?: InputMaybe; + id_not_in?: InputMaybe>; + id_not_startsWith?: InputMaybe; + id_startsWith?: InputMaybe; + index_contains?: InputMaybe; + index_containsInsensitive?: InputMaybe; + index_endsWith?: InputMaybe; + index_eq?: InputMaybe; + index_gt?: InputMaybe; + index_gte?: InputMaybe; + index_in?: InputMaybe>; + index_isNull?: InputMaybe; + index_lt?: InputMaybe; + index_lte?: InputMaybe; + index_not_contains?: InputMaybe; + index_not_containsInsensitive?: InputMaybe; + index_not_endsWith?: InputMaybe; + index_not_eq?: InputMaybe; + index_not_in?: InputMaybe>; + index_not_startsWith?: InputMaybe; + index_startsWith?: InputMaybe; + pubkey?: InputMaybe; + pubkey_isNull?: InputMaybe; + signature_contains?: InputMaybe; + signature_containsInsensitive?: InputMaybe; + signature_endsWith?: InputMaybe; + signature_eq?: InputMaybe; + signature_gt?: InputMaybe; + signature_gte?: InputMaybe; + signature_in?: InputMaybe>; + signature_isNull?: InputMaybe; + signature_lt?: InputMaybe; + signature_lte?: InputMaybe; + signature_not_contains?: InputMaybe; + signature_not_containsInsensitive?: InputMaybe; + signature_not_endsWith?: InputMaybe; + signature_not_eq?: InputMaybe; + signature_not_in?: InputMaybe>; + signature_not_startsWith?: InputMaybe; + signature_startsWith?: InputMaybe; + timestamp_eq?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_isNull?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_not_eq?: InputMaybe; + timestamp_not_in?: InputMaybe>; + txHash_contains?: InputMaybe; + txHash_containsInsensitive?: InputMaybe; + txHash_endsWith?: InputMaybe; + txHash_eq?: InputMaybe; + txHash_gt?: InputMaybe; + txHash_gte?: InputMaybe; + txHash_in?: InputMaybe>; + txHash_isNull?: InputMaybe; + txHash_lt?: InputMaybe; + txHash_lte?: InputMaybe; + txHash_not_contains?: InputMaybe; + txHash_not_containsInsensitive?: InputMaybe; + txHash_not_endsWith?: InputMaybe; + txHash_not_eq?: InputMaybe; + txHash_not_in?: InputMaybe>; + txHash_not_startsWith?: InputMaybe; + txHash_startsWith?: InputMaybe; + withdrawalCredentials_contains?: InputMaybe; + withdrawalCredentials_containsInsensitive?: InputMaybe; + withdrawalCredentials_endsWith?: InputMaybe; + withdrawalCredentials_eq?: InputMaybe; + withdrawalCredentials_gt?: InputMaybe; + withdrawalCredentials_gte?: InputMaybe; + withdrawalCredentials_in?: InputMaybe>; + withdrawalCredentials_isNull?: InputMaybe; + withdrawalCredentials_lt?: InputMaybe; + withdrawalCredentials_lte?: InputMaybe; + withdrawalCredentials_not_contains?: InputMaybe; + withdrawalCredentials_not_containsInsensitive?: InputMaybe; + withdrawalCredentials_not_endsWith?: InputMaybe; + withdrawalCredentials_not_eq?: InputMaybe; + withdrawalCredentials_not_in?: InputMaybe>; + withdrawalCredentials_not_startsWith?: InputMaybe; + withdrawalCredentials_startsWith?: InputMaybe; +}; + +export type BeaconDepositEventsConnection = { + __typename?: 'BeaconDepositEventsConnection'; + edges: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']['output']; +}; + +export type BeaconDepositPubkey = { + __typename?: 'BeaconDepositPubkey'; + count: Scalars['Int']['output']; + createDate: Scalars['DateTime']['output']; + deposits: Array; + id: Scalars['String']['output']; + lastUpdated: Scalars['DateTime']['output']; +}; + + +export type BeaconDepositPubkeyDepositsArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + +export type BeaconDepositPubkeyEdge = { + __typename?: 'BeaconDepositPubkeyEdge'; + cursor: Scalars['String']['output']; + node: BeaconDepositPubkey; +}; + +export enum BeaconDepositPubkeyOrderByInput { + CountAsc = 'count_ASC', + CountAscNullsFirst = 'count_ASC_NULLS_FIRST', + CountAscNullsLast = 'count_ASC_NULLS_LAST', + CountDesc = 'count_DESC', + CountDescNullsFirst = 'count_DESC_NULLS_FIRST', + CountDescNullsLast = 'count_DESC_NULLS_LAST', + CreateDateAsc = 'createDate_ASC', + CreateDateAscNullsFirst = 'createDate_ASC_NULLS_FIRST', + CreateDateAscNullsLast = 'createDate_ASC_NULLS_LAST', + CreateDateDesc = 'createDate_DESC', + CreateDateDescNullsFirst = 'createDate_DESC_NULLS_FIRST', + CreateDateDescNullsLast = 'createDate_DESC_NULLS_LAST', + IdAsc = 'id_ASC', + IdAscNullsFirst = 'id_ASC_NULLS_FIRST', + IdAscNullsLast = 'id_ASC_NULLS_LAST', + IdDesc = 'id_DESC', + IdDescNullsFirst = 'id_DESC_NULLS_FIRST', + IdDescNullsLast = 'id_DESC_NULLS_LAST', + LastUpdatedAsc = 'lastUpdated_ASC', + LastUpdatedAscNullsFirst = 'lastUpdated_ASC_NULLS_FIRST', + LastUpdatedAscNullsLast = 'lastUpdated_ASC_NULLS_LAST', + LastUpdatedDesc = 'lastUpdated_DESC', + LastUpdatedDescNullsFirst = 'lastUpdated_DESC_NULLS_FIRST', + LastUpdatedDescNullsLast = 'lastUpdated_DESC_NULLS_LAST' +} + +export type BeaconDepositPubkeyWhereInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + count_eq?: InputMaybe; + count_gt?: InputMaybe; + count_gte?: InputMaybe; + count_in?: InputMaybe>; + count_isNull?: InputMaybe; + count_lt?: InputMaybe; + count_lte?: InputMaybe; + count_not_eq?: InputMaybe; + count_not_in?: InputMaybe>; + createDate_eq?: InputMaybe; + createDate_gt?: InputMaybe; + createDate_gte?: InputMaybe; + createDate_in?: InputMaybe>; + createDate_isNull?: InputMaybe; + createDate_lt?: InputMaybe; + createDate_lte?: InputMaybe; + createDate_not_eq?: InputMaybe; + createDate_not_in?: InputMaybe>; + deposits_every?: InputMaybe; + deposits_none?: InputMaybe; + deposits_some?: InputMaybe; + id_contains?: InputMaybe; + id_containsInsensitive?: InputMaybe; + id_endsWith?: InputMaybe; + id_eq?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_isNull?: InputMaybe; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_containsInsensitive?: InputMaybe; + id_not_endsWith?: InputMaybe; + id_not_eq?: InputMaybe; + id_not_in?: InputMaybe>; + id_not_startsWith?: InputMaybe; + id_startsWith?: InputMaybe; + lastUpdated_eq?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_isNull?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_not_eq?: InputMaybe; + lastUpdated_not_in?: InputMaybe>; +}; + +export type BeaconDepositPubkeysConnection = { + __typename?: 'BeaconDepositPubkeysConnection'; + edges: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']['output']; +}; + export type BridgeTransfer = { __typename?: 'BridgeTransfer'; amountIn: Scalars['BigInt']['output']; @@ -17000,6 +17401,16 @@ export type Query = { balancerPoolRatesConnection: BalancerPoolRatesConnection; balancerPools: Array; balancerPoolsConnection: BalancerPoolsConnection; + beaconDepositEventById?: Maybe; + /** @deprecated Use beaconDepositEventById */ + beaconDepositEventByUniqueInput?: Maybe; + beaconDepositEvents: Array; + beaconDepositEventsConnection: BeaconDepositEventsConnection; + beaconDepositPubkeyById?: Maybe; + /** @deprecated Use beaconDepositPubkeyById */ + beaconDepositPubkeyByUniqueInput?: Maybe; + beaconDepositPubkeys: Array; + beaconDepositPubkeysConnection: BeaconDepositPubkeysConnection; bridgeTransferById?: Maybe; /** @deprecated Use bridgeTransferById */ bridgeTransferByUniqueInput?: Maybe; @@ -17523,6 +17934,58 @@ export type QueryBalancerPoolsConnectionArgs = { }; +export type QueryBeaconDepositEventByIdArgs = { + id: Scalars['String']['input']; +}; + + +export type QueryBeaconDepositEventByUniqueInputArgs = { + where: WhereIdInput; +}; + + +export type QueryBeaconDepositEventsArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositEventsConnectionArgs = { + after?: InputMaybe; + first?: InputMaybe; + orderBy: Array; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositPubkeyByIdArgs = { + id: Scalars['String']['input']; +}; + + +export type QueryBeaconDepositPubkeyByUniqueInputArgs = { + where: WhereIdInput; +}; + + +export type QueryBeaconDepositPubkeysArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositPubkeysConnectionArgs = { + after?: InputMaybe; + first?: InputMaybe; + orderBy: Array; + where?: InputMaybe; +}; + + export type QueryBridgeTransferByIdArgs = { id: Scalars['String']['input']; }; diff --git a/libs/oeth/shared/src/generated/graphql.ts b/libs/oeth/shared/src/generated/graphql.ts index 924b26783..6f8ee53ca 100644 --- a/libs/oeth/shared/src/generated/graphql.ts +++ b/libs/oeth/shared/src/generated/graphql.ts @@ -563,6 +563,407 @@ export type BalancerPoolsConnection = { totalCount: Scalars['Int']['output']; }; +export type BeaconDepositEvent = { + __typename?: 'BeaconDepositEvent'; + address: Scalars['String']['output']; + amount: Scalars['String']['output']; + blockNumber: Scalars['Int']['output']; + caller: Scalars['String']['output']; + chainId: Scalars['Int']['output']; + id: Scalars['String']['output']; + index: Scalars['String']['output']; + pubkey: BeaconDepositPubkey; + signature: Scalars['String']['output']; + timestamp: Scalars['DateTime']['output']; + txHash: Scalars['String']['output']; + withdrawalCredentials: Scalars['String']['output']; +}; + +export type BeaconDepositEventEdge = { + __typename?: 'BeaconDepositEventEdge'; + cursor: Scalars['String']['output']; + node: BeaconDepositEvent; +}; + +export enum BeaconDepositEventOrderByInput { + AddressAsc = 'address_ASC', + AddressAscNullsFirst = 'address_ASC_NULLS_FIRST', + AddressAscNullsLast = 'address_ASC_NULLS_LAST', + AddressDesc = 'address_DESC', + AddressDescNullsFirst = 'address_DESC_NULLS_FIRST', + AddressDescNullsLast = 'address_DESC_NULLS_LAST', + AmountAsc = 'amount_ASC', + AmountAscNullsFirst = 'amount_ASC_NULLS_FIRST', + AmountAscNullsLast = 'amount_ASC_NULLS_LAST', + AmountDesc = 'amount_DESC', + AmountDescNullsFirst = 'amount_DESC_NULLS_FIRST', + AmountDescNullsLast = 'amount_DESC_NULLS_LAST', + BlockNumberAsc = 'blockNumber_ASC', + BlockNumberAscNullsFirst = 'blockNumber_ASC_NULLS_FIRST', + BlockNumberAscNullsLast = 'blockNumber_ASC_NULLS_LAST', + BlockNumberDesc = 'blockNumber_DESC', + BlockNumberDescNullsFirst = 'blockNumber_DESC_NULLS_FIRST', + BlockNumberDescNullsLast = 'blockNumber_DESC_NULLS_LAST', + CallerAsc = 'caller_ASC', + CallerAscNullsFirst = 'caller_ASC_NULLS_FIRST', + CallerAscNullsLast = 'caller_ASC_NULLS_LAST', + CallerDesc = 'caller_DESC', + CallerDescNullsFirst = 'caller_DESC_NULLS_FIRST', + CallerDescNullsLast = 'caller_DESC_NULLS_LAST', + ChainIdAsc = 'chainId_ASC', + ChainIdAscNullsFirst = 'chainId_ASC_NULLS_FIRST', + ChainIdAscNullsLast = 'chainId_ASC_NULLS_LAST', + ChainIdDesc = 'chainId_DESC', + ChainIdDescNullsFirst = 'chainId_DESC_NULLS_FIRST', + ChainIdDescNullsLast = 'chainId_DESC_NULLS_LAST', + IdAsc = 'id_ASC', + IdAscNullsFirst = 'id_ASC_NULLS_FIRST', + IdAscNullsLast = 'id_ASC_NULLS_LAST', + IdDesc = 'id_DESC', + IdDescNullsFirst = 'id_DESC_NULLS_FIRST', + IdDescNullsLast = 'id_DESC_NULLS_LAST', + IndexAsc = 'index_ASC', + IndexAscNullsFirst = 'index_ASC_NULLS_FIRST', + IndexAscNullsLast = 'index_ASC_NULLS_LAST', + IndexDesc = 'index_DESC', + IndexDescNullsFirst = 'index_DESC_NULLS_FIRST', + IndexDescNullsLast = 'index_DESC_NULLS_LAST', + PubkeyCountAsc = 'pubkey_count_ASC', + PubkeyCountAscNullsFirst = 'pubkey_count_ASC_NULLS_FIRST', + PubkeyCountAscNullsLast = 'pubkey_count_ASC_NULLS_LAST', + PubkeyCountDesc = 'pubkey_count_DESC', + PubkeyCountDescNullsFirst = 'pubkey_count_DESC_NULLS_FIRST', + PubkeyCountDescNullsLast = 'pubkey_count_DESC_NULLS_LAST', + PubkeyCreateDateAsc = 'pubkey_createDate_ASC', + PubkeyCreateDateAscNullsFirst = 'pubkey_createDate_ASC_NULLS_FIRST', + PubkeyCreateDateAscNullsLast = 'pubkey_createDate_ASC_NULLS_LAST', + PubkeyCreateDateDesc = 'pubkey_createDate_DESC', + PubkeyCreateDateDescNullsFirst = 'pubkey_createDate_DESC_NULLS_FIRST', + PubkeyCreateDateDescNullsLast = 'pubkey_createDate_DESC_NULLS_LAST', + PubkeyIdAsc = 'pubkey_id_ASC', + PubkeyIdAscNullsFirst = 'pubkey_id_ASC_NULLS_FIRST', + PubkeyIdAscNullsLast = 'pubkey_id_ASC_NULLS_LAST', + PubkeyIdDesc = 'pubkey_id_DESC', + PubkeyIdDescNullsFirst = 'pubkey_id_DESC_NULLS_FIRST', + PubkeyIdDescNullsLast = 'pubkey_id_DESC_NULLS_LAST', + PubkeyLastUpdatedAsc = 'pubkey_lastUpdated_ASC', + PubkeyLastUpdatedAscNullsFirst = 'pubkey_lastUpdated_ASC_NULLS_FIRST', + PubkeyLastUpdatedAscNullsLast = 'pubkey_lastUpdated_ASC_NULLS_LAST', + PubkeyLastUpdatedDesc = 'pubkey_lastUpdated_DESC', + PubkeyLastUpdatedDescNullsFirst = 'pubkey_lastUpdated_DESC_NULLS_FIRST', + PubkeyLastUpdatedDescNullsLast = 'pubkey_lastUpdated_DESC_NULLS_LAST', + SignatureAsc = 'signature_ASC', + SignatureAscNullsFirst = 'signature_ASC_NULLS_FIRST', + SignatureAscNullsLast = 'signature_ASC_NULLS_LAST', + SignatureDesc = 'signature_DESC', + SignatureDescNullsFirst = 'signature_DESC_NULLS_FIRST', + SignatureDescNullsLast = 'signature_DESC_NULLS_LAST', + TimestampAsc = 'timestamp_ASC', + TimestampAscNullsFirst = 'timestamp_ASC_NULLS_FIRST', + TimestampAscNullsLast = 'timestamp_ASC_NULLS_LAST', + TimestampDesc = 'timestamp_DESC', + TimestampDescNullsFirst = 'timestamp_DESC_NULLS_FIRST', + TimestampDescNullsLast = 'timestamp_DESC_NULLS_LAST', + TxHashAsc = 'txHash_ASC', + TxHashAscNullsFirst = 'txHash_ASC_NULLS_FIRST', + TxHashAscNullsLast = 'txHash_ASC_NULLS_LAST', + TxHashDesc = 'txHash_DESC', + TxHashDescNullsFirst = 'txHash_DESC_NULLS_FIRST', + TxHashDescNullsLast = 'txHash_DESC_NULLS_LAST', + WithdrawalCredentialsAsc = 'withdrawalCredentials_ASC', + WithdrawalCredentialsAscNullsFirst = 'withdrawalCredentials_ASC_NULLS_FIRST', + WithdrawalCredentialsAscNullsLast = 'withdrawalCredentials_ASC_NULLS_LAST', + WithdrawalCredentialsDesc = 'withdrawalCredentials_DESC', + WithdrawalCredentialsDescNullsFirst = 'withdrawalCredentials_DESC_NULLS_FIRST', + WithdrawalCredentialsDescNullsLast = 'withdrawalCredentials_DESC_NULLS_LAST' +} + +export type BeaconDepositEventWhereInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + address_contains?: InputMaybe; + address_containsInsensitive?: InputMaybe; + address_endsWith?: InputMaybe; + address_eq?: InputMaybe; + address_gt?: InputMaybe; + address_gte?: InputMaybe; + address_in?: InputMaybe>; + address_isNull?: InputMaybe; + address_lt?: InputMaybe; + address_lte?: InputMaybe; + address_not_contains?: InputMaybe; + address_not_containsInsensitive?: InputMaybe; + address_not_endsWith?: InputMaybe; + address_not_eq?: InputMaybe; + address_not_in?: InputMaybe>; + address_not_startsWith?: InputMaybe; + address_startsWith?: InputMaybe; + amount_contains?: InputMaybe; + amount_containsInsensitive?: InputMaybe; + amount_endsWith?: InputMaybe; + amount_eq?: InputMaybe; + amount_gt?: InputMaybe; + amount_gte?: InputMaybe; + amount_in?: InputMaybe>; + amount_isNull?: InputMaybe; + amount_lt?: InputMaybe; + amount_lte?: InputMaybe; + amount_not_contains?: InputMaybe; + amount_not_containsInsensitive?: InputMaybe; + amount_not_endsWith?: InputMaybe; + amount_not_eq?: InputMaybe; + amount_not_in?: InputMaybe>; + amount_not_startsWith?: InputMaybe; + amount_startsWith?: InputMaybe; + blockNumber_eq?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_isNull?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_not_eq?: InputMaybe; + blockNumber_not_in?: InputMaybe>; + caller_contains?: InputMaybe; + caller_containsInsensitive?: InputMaybe; + caller_endsWith?: InputMaybe; + caller_eq?: InputMaybe; + caller_gt?: InputMaybe; + caller_gte?: InputMaybe; + caller_in?: InputMaybe>; + caller_isNull?: InputMaybe; + caller_lt?: InputMaybe; + caller_lte?: InputMaybe; + caller_not_contains?: InputMaybe; + caller_not_containsInsensitive?: InputMaybe; + caller_not_endsWith?: InputMaybe; + caller_not_eq?: InputMaybe; + caller_not_in?: InputMaybe>; + caller_not_startsWith?: InputMaybe; + caller_startsWith?: InputMaybe; + chainId_eq?: InputMaybe; + chainId_gt?: InputMaybe; + chainId_gte?: InputMaybe; + chainId_in?: InputMaybe>; + chainId_isNull?: InputMaybe; + chainId_lt?: InputMaybe; + chainId_lte?: InputMaybe; + chainId_not_eq?: InputMaybe; + chainId_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_containsInsensitive?: InputMaybe; + id_endsWith?: InputMaybe; + id_eq?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_isNull?: InputMaybe; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_containsInsensitive?: InputMaybe; + id_not_endsWith?: InputMaybe; + id_not_eq?: InputMaybe; + id_not_in?: InputMaybe>; + id_not_startsWith?: InputMaybe; + id_startsWith?: InputMaybe; + index_contains?: InputMaybe; + index_containsInsensitive?: InputMaybe; + index_endsWith?: InputMaybe; + index_eq?: InputMaybe; + index_gt?: InputMaybe; + index_gte?: InputMaybe; + index_in?: InputMaybe>; + index_isNull?: InputMaybe; + index_lt?: InputMaybe; + index_lte?: InputMaybe; + index_not_contains?: InputMaybe; + index_not_containsInsensitive?: InputMaybe; + index_not_endsWith?: InputMaybe; + index_not_eq?: InputMaybe; + index_not_in?: InputMaybe>; + index_not_startsWith?: InputMaybe; + index_startsWith?: InputMaybe; + pubkey?: InputMaybe; + pubkey_isNull?: InputMaybe; + signature_contains?: InputMaybe; + signature_containsInsensitive?: InputMaybe; + signature_endsWith?: InputMaybe; + signature_eq?: InputMaybe; + signature_gt?: InputMaybe; + signature_gte?: InputMaybe; + signature_in?: InputMaybe>; + signature_isNull?: InputMaybe; + signature_lt?: InputMaybe; + signature_lte?: InputMaybe; + signature_not_contains?: InputMaybe; + signature_not_containsInsensitive?: InputMaybe; + signature_not_endsWith?: InputMaybe; + signature_not_eq?: InputMaybe; + signature_not_in?: InputMaybe>; + signature_not_startsWith?: InputMaybe; + signature_startsWith?: InputMaybe; + timestamp_eq?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_isNull?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_not_eq?: InputMaybe; + timestamp_not_in?: InputMaybe>; + txHash_contains?: InputMaybe; + txHash_containsInsensitive?: InputMaybe; + txHash_endsWith?: InputMaybe; + txHash_eq?: InputMaybe; + txHash_gt?: InputMaybe; + txHash_gte?: InputMaybe; + txHash_in?: InputMaybe>; + txHash_isNull?: InputMaybe; + txHash_lt?: InputMaybe; + txHash_lte?: InputMaybe; + txHash_not_contains?: InputMaybe; + txHash_not_containsInsensitive?: InputMaybe; + txHash_not_endsWith?: InputMaybe; + txHash_not_eq?: InputMaybe; + txHash_not_in?: InputMaybe>; + txHash_not_startsWith?: InputMaybe; + txHash_startsWith?: InputMaybe; + withdrawalCredentials_contains?: InputMaybe; + withdrawalCredentials_containsInsensitive?: InputMaybe; + withdrawalCredentials_endsWith?: InputMaybe; + withdrawalCredentials_eq?: InputMaybe; + withdrawalCredentials_gt?: InputMaybe; + withdrawalCredentials_gte?: InputMaybe; + withdrawalCredentials_in?: InputMaybe>; + withdrawalCredentials_isNull?: InputMaybe; + withdrawalCredentials_lt?: InputMaybe; + withdrawalCredentials_lte?: InputMaybe; + withdrawalCredentials_not_contains?: InputMaybe; + withdrawalCredentials_not_containsInsensitive?: InputMaybe; + withdrawalCredentials_not_endsWith?: InputMaybe; + withdrawalCredentials_not_eq?: InputMaybe; + withdrawalCredentials_not_in?: InputMaybe>; + withdrawalCredentials_not_startsWith?: InputMaybe; + withdrawalCredentials_startsWith?: InputMaybe; +}; + +export type BeaconDepositEventsConnection = { + __typename?: 'BeaconDepositEventsConnection'; + edges: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']['output']; +}; + +export type BeaconDepositPubkey = { + __typename?: 'BeaconDepositPubkey'; + count: Scalars['Int']['output']; + createDate: Scalars['DateTime']['output']; + deposits: Array; + id: Scalars['String']['output']; + lastUpdated: Scalars['DateTime']['output']; +}; + + +export type BeaconDepositPubkeyDepositsArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + +export type BeaconDepositPubkeyEdge = { + __typename?: 'BeaconDepositPubkeyEdge'; + cursor: Scalars['String']['output']; + node: BeaconDepositPubkey; +}; + +export enum BeaconDepositPubkeyOrderByInput { + CountAsc = 'count_ASC', + CountAscNullsFirst = 'count_ASC_NULLS_FIRST', + CountAscNullsLast = 'count_ASC_NULLS_LAST', + CountDesc = 'count_DESC', + CountDescNullsFirst = 'count_DESC_NULLS_FIRST', + CountDescNullsLast = 'count_DESC_NULLS_LAST', + CreateDateAsc = 'createDate_ASC', + CreateDateAscNullsFirst = 'createDate_ASC_NULLS_FIRST', + CreateDateAscNullsLast = 'createDate_ASC_NULLS_LAST', + CreateDateDesc = 'createDate_DESC', + CreateDateDescNullsFirst = 'createDate_DESC_NULLS_FIRST', + CreateDateDescNullsLast = 'createDate_DESC_NULLS_LAST', + IdAsc = 'id_ASC', + IdAscNullsFirst = 'id_ASC_NULLS_FIRST', + IdAscNullsLast = 'id_ASC_NULLS_LAST', + IdDesc = 'id_DESC', + IdDescNullsFirst = 'id_DESC_NULLS_FIRST', + IdDescNullsLast = 'id_DESC_NULLS_LAST', + LastUpdatedAsc = 'lastUpdated_ASC', + LastUpdatedAscNullsFirst = 'lastUpdated_ASC_NULLS_FIRST', + LastUpdatedAscNullsLast = 'lastUpdated_ASC_NULLS_LAST', + LastUpdatedDesc = 'lastUpdated_DESC', + LastUpdatedDescNullsFirst = 'lastUpdated_DESC_NULLS_FIRST', + LastUpdatedDescNullsLast = 'lastUpdated_DESC_NULLS_LAST' +} + +export type BeaconDepositPubkeyWhereInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + count_eq?: InputMaybe; + count_gt?: InputMaybe; + count_gte?: InputMaybe; + count_in?: InputMaybe>; + count_isNull?: InputMaybe; + count_lt?: InputMaybe; + count_lte?: InputMaybe; + count_not_eq?: InputMaybe; + count_not_in?: InputMaybe>; + createDate_eq?: InputMaybe; + createDate_gt?: InputMaybe; + createDate_gte?: InputMaybe; + createDate_in?: InputMaybe>; + createDate_isNull?: InputMaybe; + createDate_lt?: InputMaybe; + createDate_lte?: InputMaybe; + createDate_not_eq?: InputMaybe; + createDate_not_in?: InputMaybe>; + deposits_every?: InputMaybe; + deposits_none?: InputMaybe; + deposits_some?: InputMaybe; + id_contains?: InputMaybe; + id_containsInsensitive?: InputMaybe; + id_endsWith?: InputMaybe; + id_eq?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_isNull?: InputMaybe; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_containsInsensitive?: InputMaybe; + id_not_endsWith?: InputMaybe; + id_not_eq?: InputMaybe; + id_not_in?: InputMaybe>; + id_not_startsWith?: InputMaybe; + id_startsWith?: InputMaybe; + lastUpdated_eq?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_isNull?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_not_eq?: InputMaybe; + lastUpdated_not_in?: InputMaybe>; +}; + +export type BeaconDepositPubkeysConnection = { + __typename?: 'BeaconDepositPubkeysConnection'; + edges: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']['output']; +}; + export type BridgeTransfer = { __typename?: 'BridgeTransfer'; amountIn: Scalars['BigInt']['output']; @@ -17000,6 +17401,16 @@ export type Query = { balancerPoolRatesConnection: BalancerPoolRatesConnection; balancerPools: Array; balancerPoolsConnection: BalancerPoolsConnection; + beaconDepositEventById?: Maybe; + /** @deprecated Use beaconDepositEventById */ + beaconDepositEventByUniqueInput?: Maybe; + beaconDepositEvents: Array; + beaconDepositEventsConnection: BeaconDepositEventsConnection; + beaconDepositPubkeyById?: Maybe; + /** @deprecated Use beaconDepositPubkeyById */ + beaconDepositPubkeyByUniqueInput?: Maybe; + beaconDepositPubkeys: Array; + beaconDepositPubkeysConnection: BeaconDepositPubkeysConnection; bridgeTransferById?: Maybe; /** @deprecated Use bridgeTransferById */ bridgeTransferByUniqueInput?: Maybe; @@ -17523,6 +17934,58 @@ export type QueryBalancerPoolsConnectionArgs = { }; +export type QueryBeaconDepositEventByIdArgs = { + id: Scalars['String']['input']; +}; + + +export type QueryBeaconDepositEventByUniqueInputArgs = { + where: WhereIdInput; +}; + + +export type QueryBeaconDepositEventsArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositEventsConnectionArgs = { + after?: InputMaybe; + first?: InputMaybe; + orderBy: Array; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositPubkeyByIdArgs = { + id: Scalars['String']['input']; +}; + + +export type QueryBeaconDepositPubkeyByUniqueInputArgs = { + where: WhereIdInput; +}; + + +export type QueryBeaconDepositPubkeysArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositPubkeysConnectionArgs = { + after?: InputMaybe; + first?: InputMaybe; + orderBy: Array; + where?: InputMaybe; +}; + + export type QueryBridgeTransferByIdArgs = { id: Scalars['String']['input']; }; diff --git a/libs/ousd/shared/src/generated/graphql.ts b/libs/ousd/shared/src/generated/graphql.ts index 924b26783..6f8ee53ca 100644 --- a/libs/ousd/shared/src/generated/graphql.ts +++ b/libs/ousd/shared/src/generated/graphql.ts @@ -563,6 +563,407 @@ export type BalancerPoolsConnection = { totalCount: Scalars['Int']['output']; }; +export type BeaconDepositEvent = { + __typename?: 'BeaconDepositEvent'; + address: Scalars['String']['output']; + amount: Scalars['String']['output']; + blockNumber: Scalars['Int']['output']; + caller: Scalars['String']['output']; + chainId: Scalars['Int']['output']; + id: Scalars['String']['output']; + index: Scalars['String']['output']; + pubkey: BeaconDepositPubkey; + signature: Scalars['String']['output']; + timestamp: Scalars['DateTime']['output']; + txHash: Scalars['String']['output']; + withdrawalCredentials: Scalars['String']['output']; +}; + +export type BeaconDepositEventEdge = { + __typename?: 'BeaconDepositEventEdge'; + cursor: Scalars['String']['output']; + node: BeaconDepositEvent; +}; + +export enum BeaconDepositEventOrderByInput { + AddressAsc = 'address_ASC', + AddressAscNullsFirst = 'address_ASC_NULLS_FIRST', + AddressAscNullsLast = 'address_ASC_NULLS_LAST', + AddressDesc = 'address_DESC', + AddressDescNullsFirst = 'address_DESC_NULLS_FIRST', + AddressDescNullsLast = 'address_DESC_NULLS_LAST', + AmountAsc = 'amount_ASC', + AmountAscNullsFirst = 'amount_ASC_NULLS_FIRST', + AmountAscNullsLast = 'amount_ASC_NULLS_LAST', + AmountDesc = 'amount_DESC', + AmountDescNullsFirst = 'amount_DESC_NULLS_FIRST', + AmountDescNullsLast = 'amount_DESC_NULLS_LAST', + BlockNumberAsc = 'blockNumber_ASC', + BlockNumberAscNullsFirst = 'blockNumber_ASC_NULLS_FIRST', + BlockNumberAscNullsLast = 'blockNumber_ASC_NULLS_LAST', + BlockNumberDesc = 'blockNumber_DESC', + BlockNumberDescNullsFirst = 'blockNumber_DESC_NULLS_FIRST', + BlockNumberDescNullsLast = 'blockNumber_DESC_NULLS_LAST', + CallerAsc = 'caller_ASC', + CallerAscNullsFirst = 'caller_ASC_NULLS_FIRST', + CallerAscNullsLast = 'caller_ASC_NULLS_LAST', + CallerDesc = 'caller_DESC', + CallerDescNullsFirst = 'caller_DESC_NULLS_FIRST', + CallerDescNullsLast = 'caller_DESC_NULLS_LAST', + ChainIdAsc = 'chainId_ASC', + ChainIdAscNullsFirst = 'chainId_ASC_NULLS_FIRST', + ChainIdAscNullsLast = 'chainId_ASC_NULLS_LAST', + ChainIdDesc = 'chainId_DESC', + ChainIdDescNullsFirst = 'chainId_DESC_NULLS_FIRST', + ChainIdDescNullsLast = 'chainId_DESC_NULLS_LAST', + IdAsc = 'id_ASC', + IdAscNullsFirst = 'id_ASC_NULLS_FIRST', + IdAscNullsLast = 'id_ASC_NULLS_LAST', + IdDesc = 'id_DESC', + IdDescNullsFirst = 'id_DESC_NULLS_FIRST', + IdDescNullsLast = 'id_DESC_NULLS_LAST', + IndexAsc = 'index_ASC', + IndexAscNullsFirst = 'index_ASC_NULLS_FIRST', + IndexAscNullsLast = 'index_ASC_NULLS_LAST', + IndexDesc = 'index_DESC', + IndexDescNullsFirst = 'index_DESC_NULLS_FIRST', + IndexDescNullsLast = 'index_DESC_NULLS_LAST', + PubkeyCountAsc = 'pubkey_count_ASC', + PubkeyCountAscNullsFirst = 'pubkey_count_ASC_NULLS_FIRST', + PubkeyCountAscNullsLast = 'pubkey_count_ASC_NULLS_LAST', + PubkeyCountDesc = 'pubkey_count_DESC', + PubkeyCountDescNullsFirst = 'pubkey_count_DESC_NULLS_FIRST', + PubkeyCountDescNullsLast = 'pubkey_count_DESC_NULLS_LAST', + PubkeyCreateDateAsc = 'pubkey_createDate_ASC', + PubkeyCreateDateAscNullsFirst = 'pubkey_createDate_ASC_NULLS_FIRST', + PubkeyCreateDateAscNullsLast = 'pubkey_createDate_ASC_NULLS_LAST', + PubkeyCreateDateDesc = 'pubkey_createDate_DESC', + PubkeyCreateDateDescNullsFirst = 'pubkey_createDate_DESC_NULLS_FIRST', + PubkeyCreateDateDescNullsLast = 'pubkey_createDate_DESC_NULLS_LAST', + PubkeyIdAsc = 'pubkey_id_ASC', + PubkeyIdAscNullsFirst = 'pubkey_id_ASC_NULLS_FIRST', + PubkeyIdAscNullsLast = 'pubkey_id_ASC_NULLS_LAST', + PubkeyIdDesc = 'pubkey_id_DESC', + PubkeyIdDescNullsFirst = 'pubkey_id_DESC_NULLS_FIRST', + PubkeyIdDescNullsLast = 'pubkey_id_DESC_NULLS_LAST', + PubkeyLastUpdatedAsc = 'pubkey_lastUpdated_ASC', + PubkeyLastUpdatedAscNullsFirst = 'pubkey_lastUpdated_ASC_NULLS_FIRST', + PubkeyLastUpdatedAscNullsLast = 'pubkey_lastUpdated_ASC_NULLS_LAST', + PubkeyLastUpdatedDesc = 'pubkey_lastUpdated_DESC', + PubkeyLastUpdatedDescNullsFirst = 'pubkey_lastUpdated_DESC_NULLS_FIRST', + PubkeyLastUpdatedDescNullsLast = 'pubkey_lastUpdated_DESC_NULLS_LAST', + SignatureAsc = 'signature_ASC', + SignatureAscNullsFirst = 'signature_ASC_NULLS_FIRST', + SignatureAscNullsLast = 'signature_ASC_NULLS_LAST', + SignatureDesc = 'signature_DESC', + SignatureDescNullsFirst = 'signature_DESC_NULLS_FIRST', + SignatureDescNullsLast = 'signature_DESC_NULLS_LAST', + TimestampAsc = 'timestamp_ASC', + TimestampAscNullsFirst = 'timestamp_ASC_NULLS_FIRST', + TimestampAscNullsLast = 'timestamp_ASC_NULLS_LAST', + TimestampDesc = 'timestamp_DESC', + TimestampDescNullsFirst = 'timestamp_DESC_NULLS_FIRST', + TimestampDescNullsLast = 'timestamp_DESC_NULLS_LAST', + TxHashAsc = 'txHash_ASC', + TxHashAscNullsFirst = 'txHash_ASC_NULLS_FIRST', + TxHashAscNullsLast = 'txHash_ASC_NULLS_LAST', + TxHashDesc = 'txHash_DESC', + TxHashDescNullsFirst = 'txHash_DESC_NULLS_FIRST', + TxHashDescNullsLast = 'txHash_DESC_NULLS_LAST', + WithdrawalCredentialsAsc = 'withdrawalCredentials_ASC', + WithdrawalCredentialsAscNullsFirst = 'withdrawalCredentials_ASC_NULLS_FIRST', + WithdrawalCredentialsAscNullsLast = 'withdrawalCredentials_ASC_NULLS_LAST', + WithdrawalCredentialsDesc = 'withdrawalCredentials_DESC', + WithdrawalCredentialsDescNullsFirst = 'withdrawalCredentials_DESC_NULLS_FIRST', + WithdrawalCredentialsDescNullsLast = 'withdrawalCredentials_DESC_NULLS_LAST' +} + +export type BeaconDepositEventWhereInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + address_contains?: InputMaybe; + address_containsInsensitive?: InputMaybe; + address_endsWith?: InputMaybe; + address_eq?: InputMaybe; + address_gt?: InputMaybe; + address_gte?: InputMaybe; + address_in?: InputMaybe>; + address_isNull?: InputMaybe; + address_lt?: InputMaybe; + address_lte?: InputMaybe; + address_not_contains?: InputMaybe; + address_not_containsInsensitive?: InputMaybe; + address_not_endsWith?: InputMaybe; + address_not_eq?: InputMaybe; + address_not_in?: InputMaybe>; + address_not_startsWith?: InputMaybe; + address_startsWith?: InputMaybe; + amount_contains?: InputMaybe; + amount_containsInsensitive?: InputMaybe; + amount_endsWith?: InputMaybe; + amount_eq?: InputMaybe; + amount_gt?: InputMaybe; + amount_gte?: InputMaybe; + amount_in?: InputMaybe>; + amount_isNull?: InputMaybe; + amount_lt?: InputMaybe; + amount_lte?: InputMaybe; + amount_not_contains?: InputMaybe; + amount_not_containsInsensitive?: InputMaybe; + amount_not_endsWith?: InputMaybe; + amount_not_eq?: InputMaybe; + amount_not_in?: InputMaybe>; + amount_not_startsWith?: InputMaybe; + amount_startsWith?: InputMaybe; + blockNumber_eq?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_isNull?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_not_eq?: InputMaybe; + blockNumber_not_in?: InputMaybe>; + caller_contains?: InputMaybe; + caller_containsInsensitive?: InputMaybe; + caller_endsWith?: InputMaybe; + caller_eq?: InputMaybe; + caller_gt?: InputMaybe; + caller_gte?: InputMaybe; + caller_in?: InputMaybe>; + caller_isNull?: InputMaybe; + caller_lt?: InputMaybe; + caller_lte?: InputMaybe; + caller_not_contains?: InputMaybe; + caller_not_containsInsensitive?: InputMaybe; + caller_not_endsWith?: InputMaybe; + caller_not_eq?: InputMaybe; + caller_not_in?: InputMaybe>; + caller_not_startsWith?: InputMaybe; + caller_startsWith?: InputMaybe; + chainId_eq?: InputMaybe; + chainId_gt?: InputMaybe; + chainId_gte?: InputMaybe; + chainId_in?: InputMaybe>; + chainId_isNull?: InputMaybe; + chainId_lt?: InputMaybe; + chainId_lte?: InputMaybe; + chainId_not_eq?: InputMaybe; + chainId_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_containsInsensitive?: InputMaybe; + id_endsWith?: InputMaybe; + id_eq?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_isNull?: InputMaybe; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_containsInsensitive?: InputMaybe; + id_not_endsWith?: InputMaybe; + id_not_eq?: InputMaybe; + id_not_in?: InputMaybe>; + id_not_startsWith?: InputMaybe; + id_startsWith?: InputMaybe; + index_contains?: InputMaybe; + index_containsInsensitive?: InputMaybe; + index_endsWith?: InputMaybe; + index_eq?: InputMaybe; + index_gt?: InputMaybe; + index_gte?: InputMaybe; + index_in?: InputMaybe>; + index_isNull?: InputMaybe; + index_lt?: InputMaybe; + index_lte?: InputMaybe; + index_not_contains?: InputMaybe; + index_not_containsInsensitive?: InputMaybe; + index_not_endsWith?: InputMaybe; + index_not_eq?: InputMaybe; + index_not_in?: InputMaybe>; + index_not_startsWith?: InputMaybe; + index_startsWith?: InputMaybe; + pubkey?: InputMaybe; + pubkey_isNull?: InputMaybe; + signature_contains?: InputMaybe; + signature_containsInsensitive?: InputMaybe; + signature_endsWith?: InputMaybe; + signature_eq?: InputMaybe; + signature_gt?: InputMaybe; + signature_gte?: InputMaybe; + signature_in?: InputMaybe>; + signature_isNull?: InputMaybe; + signature_lt?: InputMaybe; + signature_lte?: InputMaybe; + signature_not_contains?: InputMaybe; + signature_not_containsInsensitive?: InputMaybe; + signature_not_endsWith?: InputMaybe; + signature_not_eq?: InputMaybe; + signature_not_in?: InputMaybe>; + signature_not_startsWith?: InputMaybe; + signature_startsWith?: InputMaybe; + timestamp_eq?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_isNull?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_not_eq?: InputMaybe; + timestamp_not_in?: InputMaybe>; + txHash_contains?: InputMaybe; + txHash_containsInsensitive?: InputMaybe; + txHash_endsWith?: InputMaybe; + txHash_eq?: InputMaybe; + txHash_gt?: InputMaybe; + txHash_gte?: InputMaybe; + txHash_in?: InputMaybe>; + txHash_isNull?: InputMaybe; + txHash_lt?: InputMaybe; + txHash_lte?: InputMaybe; + txHash_not_contains?: InputMaybe; + txHash_not_containsInsensitive?: InputMaybe; + txHash_not_endsWith?: InputMaybe; + txHash_not_eq?: InputMaybe; + txHash_not_in?: InputMaybe>; + txHash_not_startsWith?: InputMaybe; + txHash_startsWith?: InputMaybe; + withdrawalCredentials_contains?: InputMaybe; + withdrawalCredentials_containsInsensitive?: InputMaybe; + withdrawalCredentials_endsWith?: InputMaybe; + withdrawalCredentials_eq?: InputMaybe; + withdrawalCredentials_gt?: InputMaybe; + withdrawalCredentials_gte?: InputMaybe; + withdrawalCredentials_in?: InputMaybe>; + withdrawalCredentials_isNull?: InputMaybe; + withdrawalCredentials_lt?: InputMaybe; + withdrawalCredentials_lte?: InputMaybe; + withdrawalCredentials_not_contains?: InputMaybe; + withdrawalCredentials_not_containsInsensitive?: InputMaybe; + withdrawalCredentials_not_endsWith?: InputMaybe; + withdrawalCredentials_not_eq?: InputMaybe; + withdrawalCredentials_not_in?: InputMaybe>; + withdrawalCredentials_not_startsWith?: InputMaybe; + withdrawalCredentials_startsWith?: InputMaybe; +}; + +export type BeaconDepositEventsConnection = { + __typename?: 'BeaconDepositEventsConnection'; + edges: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']['output']; +}; + +export type BeaconDepositPubkey = { + __typename?: 'BeaconDepositPubkey'; + count: Scalars['Int']['output']; + createDate: Scalars['DateTime']['output']; + deposits: Array; + id: Scalars['String']['output']; + lastUpdated: Scalars['DateTime']['output']; +}; + + +export type BeaconDepositPubkeyDepositsArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + +export type BeaconDepositPubkeyEdge = { + __typename?: 'BeaconDepositPubkeyEdge'; + cursor: Scalars['String']['output']; + node: BeaconDepositPubkey; +}; + +export enum BeaconDepositPubkeyOrderByInput { + CountAsc = 'count_ASC', + CountAscNullsFirst = 'count_ASC_NULLS_FIRST', + CountAscNullsLast = 'count_ASC_NULLS_LAST', + CountDesc = 'count_DESC', + CountDescNullsFirst = 'count_DESC_NULLS_FIRST', + CountDescNullsLast = 'count_DESC_NULLS_LAST', + CreateDateAsc = 'createDate_ASC', + CreateDateAscNullsFirst = 'createDate_ASC_NULLS_FIRST', + CreateDateAscNullsLast = 'createDate_ASC_NULLS_LAST', + CreateDateDesc = 'createDate_DESC', + CreateDateDescNullsFirst = 'createDate_DESC_NULLS_FIRST', + CreateDateDescNullsLast = 'createDate_DESC_NULLS_LAST', + IdAsc = 'id_ASC', + IdAscNullsFirst = 'id_ASC_NULLS_FIRST', + IdAscNullsLast = 'id_ASC_NULLS_LAST', + IdDesc = 'id_DESC', + IdDescNullsFirst = 'id_DESC_NULLS_FIRST', + IdDescNullsLast = 'id_DESC_NULLS_LAST', + LastUpdatedAsc = 'lastUpdated_ASC', + LastUpdatedAscNullsFirst = 'lastUpdated_ASC_NULLS_FIRST', + LastUpdatedAscNullsLast = 'lastUpdated_ASC_NULLS_LAST', + LastUpdatedDesc = 'lastUpdated_DESC', + LastUpdatedDescNullsFirst = 'lastUpdated_DESC_NULLS_FIRST', + LastUpdatedDescNullsLast = 'lastUpdated_DESC_NULLS_LAST' +} + +export type BeaconDepositPubkeyWhereInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + count_eq?: InputMaybe; + count_gt?: InputMaybe; + count_gte?: InputMaybe; + count_in?: InputMaybe>; + count_isNull?: InputMaybe; + count_lt?: InputMaybe; + count_lte?: InputMaybe; + count_not_eq?: InputMaybe; + count_not_in?: InputMaybe>; + createDate_eq?: InputMaybe; + createDate_gt?: InputMaybe; + createDate_gte?: InputMaybe; + createDate_in?: InputMaybe>; + createDate_isNull?: InputMaybe; + createDate_lt?: InputMaybe; + createDate_lte?: InputMaybe; + createDate_not_eq?: InputMaybe; + createDate_not_in?: InputMaybe>; + deposits_every?: InputMaybe; + deposits_none?: InputMaybe; + deposits_some?: InputMaybe; + id_contains?: InputMaybe; + id_containsInsensitive?: InputMaybe; + id_endsWith?: InputMaybe; + id_eq?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_isNull?: InputMaybe; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_containsInsensitive?: InputMaybe; + id_not_endsWith?: InputMaybe; + id_not_eq?: InputMaybe; + id_not_in?: InputMaybe>; + id_not_startsWith?: InputMaybe; + id_startsWith?: InputMaybe; + lastUpdated_eq?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_isNull?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_not_eq?: InputMaybe; + lastUpdated_not_in?: InputMaybe>; +}; + +export type BeaconDepositPubkeysConnection = { + __typename?: 'BeaconDepositPubkeysConnection'; + edges: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']['output']; +}; + export type BridgeTransfer = { __typename?: 'BridgeTransfer'; amountIn: Scalars['BigInt']['output']; @@ -17000,6 +17401,16 @@ export type Query = { balancerPoolRatesConnection: BalancerPoolRatesConnection; balancerPools: Array; balancerPoolsConnection: BalancerPoolsConnection; + beaconDepositEventById?: Maybe; + /** @deprecated Use beaconDepositEventById */ + beaconDepositEventByUniqueInput?: Maybe; + beaconDepositEvents: Array; + beaconDepositEventsConnection: BeaconDepositEventsConnection; + beaconDepositPubkeyById?: Maybe; + /** @deprecated Use beaconDepositPubkeyById */ + beaconDepositPubkeyByUniqueInput?: Maybe; + beaconDepositPubkeys: Array; + beaconDepositPubkeysConnection: BeaconDepositPubkeysConnection; bridgeTransferById?: Maybe; /** @deprecated Use bridgeTransferById */ bridgeTransferByUniqueInput?: Maybe; @@ -17523,6 +17934,58 @@ export type QueryBalancerPoolsConnectionArgs = { }; +export type QueryBeaconDepositEventByIdArgs = { + id: Scalars['String']['input']; +}; + + +export type QueryBeaconDepositEventByUniqueInputArgs = { + where: WhereIdInput; +}; + + +export type QueryBeaconDepositEventsArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositEventsConnectionArgs = { + after?: InputMaybe; + first?: InputMaybe; + orderBy: Array; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositPubkeyByIdArgs = { + id: Scalars['String']['input']; +}; + + +export type QueryBeaconDepositPubkeyByUniqueInputArgs = { + where: WhereIdInput; +}; + + +export type QueryBeaconDepositPubkeysArgs = { + limit?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryBeaconDepositPubkeysConnectionArgs = { + after?: InputMaybe; + first?: InputMaybe; + orderBy: Array; + where?: InputMaybe; +}; + + export type QueryBridgeTransferByIdArgs = { id: Scalars['String']['input']; }; From afbfc2dc836adf1512bc309199cb81bae6283779 Mon Sep 17 00:00:00 2001 From: toniocodo Date: Sat, 15 Jun 2024 15:45:03 +0200 Subject: [PATCH 4/4] fix: ogn staking buffer to 1 --- libs/defi/ogn/src/staking/components/StakeRewardModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx b/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx index 6b3901602..5d67d1c8c 100644 --- a/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx +++ b/libs/defi/ogn/src/staking/components/StakeRewardModal.tsx @@ -99,7 +99,7 @@ export const StakeRewardModal = (props: DialogProps) => { amount: amount + (info?.xOgnRewards ?? 0n) + - parseUnits('10', tokens.mainnet.OGN.decimals), + parseUnits('1', tokens.mainnet.OGN.decimals), spender: tokens.mainnet.xOGN.address, enableAllowance: true, });