From 5c00b163726ba20f368df5cc2689cf21fdceb6f2 Mon Sep 17 00:00:00 2001 From: asiaznik Date: Thu, 16 Feb 2023 19:23:35 +0100 Subject: [PATCH] fix: build errors --- apps/trading-e2e/src/integration/home.cy.ts | 54 ++ .../proposals-data-provider/proposals.mock.ts | 743 ++++++++++++++++++ 2 files changed, 797 insertions(+) diff --git a/apps/trading-e2e/src/integration/home.cy.ts b/apps/trading-e2e/src/integration/home.cy.ts index 0429494ef..f9eeb4937 100644 --- a/apps/trading-e2e/src/integration/home.cy.ts +++ b/apps/trading-e2e/src/integration/home.cy.ts @@ -25,12 +25,38 @@ const generateProposal = (code: string): ProposalListFieldsFragment => ({ totalWeight: '', }, }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { __typename: 'ProposalTerms', closingDatetime: '', enactmentDatetime: undefined, change: { __typename: 'NewMarket', + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { __typename: 'InstrumentConfiguration', code: code, @@ -42,6 +68,34 @@ const generateProposal = (code: string): ProposalListFieldsFragment => ({ id: 'A', name: 'A', symbol: 'A', + decimals: 1, + quantum: '', + }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, }, }, }, diff --git a/libs/governance/src/lib/proposals-data-provider/proposals.mock.ts b/libs/governance/src/lib/proposals-data-provider/proposals.mock.ts index f08965645..01615b931 100644 --- a/libs/governance/src/lib/proposals-data-provider/proposals.mock.ts +++ b/libs/governance/src/lib/proposals-data-provider/proposals.mock.ts @@ -40,6 +40,21 @@ export const marketUpdateProposal: ProposalListFieldsFragment = { totalWeight: '1', }, }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { __typename: 'ProposalTerms', closingDatetime: '', @@ -50,7 +65,33 @@ export const marketUpdateProposal: ProposalListFieldsFragment = { instrument: { code: '', product: { + __typename: 'UpdateFutureProduct', quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, }, }, priceMonitoringParameters: { @@ -92,10 +133,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-15T12:44:34Z', enactmentDatetime: '2022-11-15T12:44:54Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'ETHUSD', name: 'ETHUSD', @@ -104,8 +171,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'b340c130096819428a62e5df407fd6abe66e444b89ad64f670beb98621c9c663', name: 'tDAI TEST', symbol: 'tDAI', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -136,10 +231,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-15T12:39:41Z', enactmentDatetime: '2022-11-15T12:39:51Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'ETHUSD', name: 'ETHUSD', @@ -148,8 +269,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'b340c130096819428a62e5df407fd6abe66e444b89ad64f670beb98621c9c663', name: 'tDAI TEST', symbol: 'tDAI', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -180,10 +329,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-14T16:24:24Z', enactmentDatetime: '2022-11-14T16:24:34Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'LINKUSD', name: 'LINKUSD', @@ -192,8 +367,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'eb30d55e90e1f9e5c4727d6fa2a5a8cd36ab9ae9738eb8f3faf53e2bee4861ee', name: 'mUSDT-II', symbol: 'mUSDT-II', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -224,10 +427,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-11T16:32:22Z', enactmentDatetime: '2022-11-11T16:32:32Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'LINKUSD', name: 'LINKUSD', @@ -236,8 +465,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'eb30d55e90e1f9e5c4727d6fa2a5a8cd36ab9ae9738eb8f3faf53e2bee4861ee', name: 'mUSDT-II', symbol: 'mUSDT-II', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -268,10 +525,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-14T09:40:57Z', enactmentDatetime: '2022-11-14T09:41:17Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'ETHUSD', name: 'ETHUSD', @@ -280,8 +563,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'b340c130096819428a62e5df407fd6abe66e444b89ad64f670beb98621c9c663', name: 'tDAI TEST', symbol: 'tDAI', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -312,10 +623,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-11T16:32:22Z', enactmentDatetime: '2022-11-11T16:32:32Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'LINKUSD', name: 'LINKUSD', @@ -324,8 +661,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'eb30d55e90e1f9e5c4727d6fa2a5a8cd36ab9ae9738eb8f3faf53e2bee4861ee', name: 'mUSDT-II', symbol: 'mUSDT-II', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -356,10 +721,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-11T16:28:25Z', enactmentDatetime: '2022-11-11T16:30:35Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'ETHDAI.MF21', name: 'ETHDAI Monthly (Dec 2022)', @@ -368,8 +759,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'b340c130096819428a62e5df407fd6abe66e444b89ad64f670beb98621c9c663', name: 'tDAI TEST', symbol: 'tDAI', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -400,10 +819,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-11T16:28:25Z', enactmentDatetime: '2022-11-11T16:30:35Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'AAPL.MF21', name: 'Apple Monthly (Dec 2022)', @@ -412,8 +857,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'c9fe6fc24fce121b2cc72680543a886055abb560043fda394ba5376203b7527d', name: 'tUSDC TEST', symbol: 'tUSDC', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -444,10 +917,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-11T16:28:25Z', enactmentDatetime: '2022-11-11T16:30:35Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'BTCUSD.MF21', name: 'BTCUSD Monthly (Dec 2022)', @@ -456,8 +955,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'b340c130096819428a62e5df407fd6abe66e444b89ad64f670beb98621c9c663', name: 'tDAI TEST', symbol: 'tDAI', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -488,10 +1015,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-11T16:28:25Z', enactmentDatetime: '2022-11-11T16:30:35Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'TSLA.QM21', name: 'Tesla Quarterly (Feb 2023)', @@ -500,8 +1053,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: '177e8f6c25a955bd18475084b99b2b1d37f28f3dec393fab7755a7e69c3d8c3b', name: 'tEURO TEST', symbol: 'tEURO', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -532,10 +1113,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-11T16:28:25Z', enactmentDatetime: '2022-11-11T16:30:35Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'AAVEDAI.MF21', name: 'AAVEDAI Monthly (Dec 2022)', @@ -544,8 +1151,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'b340c130096819428a62e5df407fd6abe66e444b89ad64f670beb98621c9c663', name: 'tDAI TEST', symbol: 'tDAI', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -576,10 +1211,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-11T16:28:25Z', enactmentDatetime: '2022-11-11T16:30:35Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'ETHBTC.QM21', name: 'ETHBTC Quarterly (Feb 2023)', @@ -588,8 +1249,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'cee709223217281d7893b650850ae8ee8a18b7539b5658f9b4cc24de95dd18ad', name: 'tBTC TEST', symbol: 'tBTC', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration', @@ -620,10 +1309,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ }, __typename: 'ProposalVotes', }, + requiredMajority: '', + party: { + __typename: 'Party', + id: '', + }, + rationale: { + __typename: 'ProposalRationale', + description: '', + title: '', + }, + requiredParticipation: '', + errorDetails: '', + rejectionReason: null, + requiredLpMajority: '', + requiredLpParticipation: '', terms: { closingDatetime: '2022-11-11T16:28:25Z', enactmentDatetime: '2022-11-11T16:30:35Z', change: { + decimalPlaces: 1, + lpPriceRange: '', + riskParameters: { + __typename: 'SimpleRiskModel', + params: { + __typename: 'SimpleRiskModelParams', + factorLong: 0, + factorShort: 1, + }, + }, + metadata: [], instrument: { code: 'UNIDAI.MF21', name: 'UNIDAI Monthly (Dec 2022)', @@ -632,8 +1347,36 @@ const proposalListFields: ProposalListFieldsFragment[] = [ id: 'b340c130096819428a62e5df407fd6abe66e444b89ad64f670beb98621c9c663', name: 'tDAI TEST', symbol: 'tDAI', + decimals: 1, + quantum: '1', __typename: 'Asset', }, + quoteName: '', + dataSourceSpecBinding: { + __typename: 'DataSourceSpecToFutureBinding', + settlementDataProperty: '', + tradingTerminationProperty: '', + }, + dataSourceSpecForSettlementData: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, + dataSourceSpecForTradingTermination: { + __typename: 'DataSourceDefinition', + sourceType: { + __typename: 'DataSourceDefinitionInternal', + sourceType: { + __typename: 'DataSourceSpecConfigurationTime', + conditions: [], + }, + }, + }, __typename: 'FutureProduct', }, __typename: 'InstrumentConfiguration',