@merkl/api 0.10.80 → 0.10.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/database/api/.generated/index.d.ts +8 -53
  2. package/dist/database/api/.generated/package.json +1 -1
  3. package/dist/database/api/.generated/schema.prisma +1 -2
  4. package/dist/src/cache/declaration.d.ts +5 -0
  5. package/dist/src/eden/index.d.ts +66 -316
  6. package/dist/src/index.d.ts +24 -120
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.d.ts +3 -0
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +16 -1
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +30 -0
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AssetProcessor.d.ts +35 -0
  11. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +61 -0
  12. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerGaugeProcessor.d.ts +49 -0
  13. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerPoolProcessor.d.ts +53 -0
  14. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BeefyProcessor.d.ts +48 -0
  15. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/CompoundProcessor.d.ts +44 -0
  16. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EnzymeProcessor.d.ts +40 -0
  17. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerBorrowProcessor.d.ts +37 -0
  18. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerLendProcessor.d.ts +37 -0
  19. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FluidProcessor.d.ts +39 -0
  20. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FraxProcessor.d.ts +33 -0
  21. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GearboxProcessor.d.ts +40 -0
  22. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +31 -0
  23. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +27 -0
  24. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/RadiantProcessor.d.ts +32 -0
  25. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +16 -0
  26. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SturdySiloProcessor.d.ts +39 -0
  27. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TorosProcessor.d.ts +29 -0
  28. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/curveProcessor.d.ts +47 -0
  29. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/genericProcessor.d.ts +61 -0
  30. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.d.ts +6 -0
  31. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/templateProcessor.d.ts +32 -0
  32. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/uniswapProcessor.d.ts +42 -0
  33. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPricesRefactoFinal.d.ts +4 -0
  34. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.d.ts +3 -0
  35. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2RefactoFinal.d.ts +3 -0
  36. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3RefactoFinal.d.ts +3 -0
  37. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4RefactoFinal.d.ts +4 -0
  38. package/dist/src/libs/campaigns/campaignsDynamicDataRefacto.d.ts +3 -0
  39. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +0 -3
  40. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -16
  41. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +0 -4
  42. package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -0
  43. package/dist/src/modules/v4/reward/reward.service.d.ts +126 -109
  44. package/dist/src/modules/v4/router.d.ts +24 -120
  45. package/dist/src/modules/v4/testdynamicData/dynamicData.controller.d.ts +50 -0
  46. package/dist/src/modules/v4/testdynamicData/dynamicData.model.d.ts +5 -0
  47. package/dist/src/modules/v4/testdynamicData/dynamicData.repository.d.ts +0 -0
  48. package/dist/src/modules/v4/testdynamicData/dynamicData.service.d.ts +12 -0
  49. package/dist/src/modules/v4/testdynamicData/index.d.ts +3 -0
  50. package/dist/src/modules/v4/token/token.repository.d.ts +1 -1
  51. package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
  52. package/dist/src/routes/v3/ERC20Campaigns.d.ts +24 -120
  53. package/dist/src/routes/v3/blacklist.d.ts +24 -120
  54. package/dist/src/routes/v3/campaigns.d.ts +24 -120
  55. package/dist/src/routes/v3/campaignsInfo.d.ts +24 -120
  56. package/dist/src/routes/v3/multiChainPositions.d.ts +24 -120
  57. package/dist/src/routes/v3/opportunity.d.ts +24 -120
  58. package/dist/src/routes/v3/positions.d.ts +24 -120
  59. package/dist/src/routes/v3/rewards.d.ts +24 -120
  60. package/dist/src/routes/v3/updates.d.ts +24 -120
  61. package/dist/src/routes/v3/userRewards.d.ts +24 -120
  62. package/dist/src/utils/decodeCalls.d.ts +2 -0
  63. package/dist/src/utils/encodeCalls.d.ts +3 -0
  64. package/dist/src/utils/generateCardName.d.ts +3 -0
  65. package/dist/src/utils/interfaces.d.ts +39 -0
  66. package/dist/tsconfig.package.tsbuildinfo +1 -1
  67. package/package.json +1 -1
@@ -9846,20 +9846,17 @@ export namespace Prisma {
9846
9846
 
9847
9847
  export type AprRecordAvgAggregateOutputType = {
9848
9848
  timestamp: number | null
9849
- cummulated: number | null
9850
9849
  cumulated: number | null
9851
9850
  }
9852
9851
 
9853
9852
  export type AprRecordSumAggregateOutputType = {
9854
9853
  timestamp: bigint | null
9855
- cummulated: number | null
9856
9854
  cumulated: number | null
9857
9855
  }
9858
9856
 
9859
9857
  export type AprRecordMinAggregateOutputType = {
9860
9858
  id: string | null
9861
9859
  timestamp: bigint | null
9862
- cummulated: number | null
9863
9860
  cumulated: number | null
9864
9861
  opportunityId: string | null
9865
9862
  }
@@ -9867,7 +9864,6 @@ export namespace Prisma {
9867
9864
  export type AprRecordMaxAggregateOutputType = {
9868
9865
  id: string | null
9869
9866
  timestamp: bigint | null
9870
- cummulated: number | null
9871
9867
  cumulated: number | null
9872
9868
  opportunityId: string | null
9873
9869
  }
@@ -9875,7 +9871,6 @@ export namespace Prisma {
9875
9871
  export type AprRecordCountAggregateOutputType = {
9876
9872
  id: number
9877
9873
  timestamp: number
9878
- cummulated: number
9879
9874
  cumulated: number
9880
9875
  opportunityId: number
9881
9876
  _all: number
@@ -9884,20 +9879,17 @@ export namespace Prisma {
9884
9879
 
9885
9880
  export type AprRecordAvgAggregateInputType = {
9886
9881
  timestamp?: true
9887
- cummulated?: true
9888
9882
  cumulated?: true
9889
9883
  }
9890
9884
 
9891
9885
  export type AprRecordSumAggregateInputType = {
9892
9886
  timestamp?: true
9893
- cummulated?: true
9894
9887
  cumulated?: true
9895
9888
  }
9896
9889
 
9897
9890
  export type AprRecordMinAggregateInputType = {
9898
9891
  id?: true
9899
9892
  timestamp?: true
9900
- cummulated?: true
9901
9893
  cumulated?: true
9902
9894
  opportunityId?: true
9903
9895
  }
@@ -9905,7 +9897,6 @@ export namespace Prisma {
9905
9897
  export type AprRecordMaxAggregateInputType = {
9906
9898
  id?: true
9907
9899
  timestamp?: true
9908
- cummulated?: true
9909
9900
  cumulated?: true
9910
9901
  opportunityId?: true
9911
9902
  }
@@ -9913,7 +9904,6 @@ export namespace Prisma {
9913
9904
  export type AprRecordCountAggregateInputType = {
9914
9905
  id?: true
9915
9906
  timestamp?: true
9916
- cummulated?: true
9917
9907
  cumulated?: true
9918
9908
  opportunityId?: true
9919
9909
  _all?: true
@@ -10008,7 +9998,6 @@ export namespace Prisma {
10008
9998
  export type AprRecordGroupByOutputType = {
10009
9999
  id: string
10010
10000
  timestamp: bigint
10011
- cummulated: number
10012
10001
  cumulated: number
10013
10002
  opportunityId: string
10014
10003
  _count: AprRecordCountAggregateOutputType | null
@@ -10035,7 +10024,6 @@ export namespace Prisma {
10035
10024
  export type AprRecordSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
10036
10025
  id?: boolean
10037
10026
  timestamp?: boolean
10038
- cummulated?: boolean
10039
10027
  cumulated?: boolean
10040
10028
  opportunityId?: boolean
10041
10029
  AprBreakdown?: boolean | AprRecord$AprBreakdownArgs<ExtArgs>
@@ -10046,7 +10034,6 @@ export namespace Prisma {
10046
10034
  export type AprRecordSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
10047
10035
  id?: boolean
10048
10036
  timestamp?: boolean
10049
- cummulated?: boolean
10050
10037
  cumulated?: boolean
10051
10038
  opportunityId?: boolean
10052
10039
  Opportunity?: boolean | OpportunityDefaultArgs<ExtArgs>
@@ -10055,7 +10042,6 @@ export namespace Prisma {
10055
10042
  export type AprRecordSelectScalar = {
10056
10043
  id?: boolean
10057
10044
  timestamp?: boolean
10058
- cummulated?: boolean
10059
10045
  cumulated?: boolean
10060
10046
  opportunityId?: boolean
10061
10047
  }
@@ -10078,7 +10064,6 @@ export namespace Prisma {
10078
10064
  scalars: $Extensions.GetPayloadResult<{
10079
10065
  id: string
10080
10066
  timestamp: bigint
10081
- cummulated: number
10082
10067
  cumulated: number
10083
10068
  opportunityId: string
10084
10069
  }, ExtArgs["result"]["aprRecord"]>
@@ -10478,7 +10463,6 @@ export namespace Prisma {
10478
10463
  interface AprRecordFieldRefs {
10479
10464
  readonly id: FieldRef<"AprRecord", 'String'>
10480
10465
  readonly timestamp: FieldRef<"AprRecord", 'BigInt'>
10481
- readonly cummulated: FieldRef<"AprRecord", 'Float'>
10482
10466
  readonly cumulated: FieldRef<"AprRecord", 'Float'>
10483
10467
  readonly opportunityId: FieldRef<"AprRecord", 'String'>
10484
10468
  }
@@ -23680,7 +23664,6 @@ export namespace Prisma {
23680
23664
  export const AprRecordScalarFieldEnum: {
23681
23665
  id: 'id',
23682
23666
  timestamp: 'timestamp',
23683
- cummulated: 'cummulated',
23684
23667
  cumulated: 'cumulated',
23685
23668
  opportunityId: 'opportunityId'
23686
23669
  };
@@ -24819,7 +24802,6 @@ export namespace Prisma {
24819
24802
  NOT?: AprRecordWhereInput | AprRecordWhereInput[]
24820
24803
  id?: StringFilter<"AprRecord"> | string
24821
24804
  timestamp?: BigIntFilter<"AprRecord"> | bigint | number
24822
- cummulated?: FloatFilter<"AprRecord"> | number
24823
24805
  cumulated?: FloatFilter<"AprRecord"> | number
24824
24806
  opportunityId?: StringFilter<"AprRecord"> | string
24825
24807
  AprBreakdown?: AprBreakdownListRelationFilter
@@ -24829,7 +24811,6 @@ export namespace Prisma {
24829
24811
  export type AprRecordOrderByWithRelationInput = {
24830
24812
  id?: SortOrder
24831
24813
  timestamp?: SortOrder
24832
- cummulated?: SortOrder
24833
24814
  cumulated?: SortOrder
24834
24815
  opportunityId?: SortOrder
24835
24816
  AprBreakdown?: AprBreakdownOrderByRelationAggregateInput
@@ -24844,7 +24825,6 @@ export namespace Prisma {
24844
24825
  OR?: AprRecordWhereInput[]
24845
24826
  NOT?: AprRecordWhereInput | AprRecordWhereInput[]
24846
24827
  timestamp?: BigIntFilter<"AprRecord"> | bigint | number
24847
- cummulated?: FloatFilter<"AprRecord"> | number
24848
24828
  cumulated?: FloatFilter<"AprRecord"> | number
24849
24829
  opportunityId?: StringFilter<"AprRecord"> | string
24850
24830
  AprBreakdown?: AprBreakdownListRelationFilter
@@ -24854,7 +24834,6 @@ export namespace Prisma {
24854
24834
  export type AprRecordOrderByWithAggregationInput = {
24855
24835
  id?: SortOrder
24856
24836
  timestamp?: SortOrder
24857
- cummulated?: SortOrder
24858
24837
  cumulated?: SortOrder
24859
24838
  opportunityId?: SortOrder
24860
24839
  _count?: AprRecordCountOrderByAggregateInput
@@ -24870,7 +24849,6 @@ export namespace Prisma {
24870
24849
  NOT?: AprRecordScalarWhereWithAggregatesInput | AprRecordScalarWhereWithAggregatesInput[]
24871
24850
  id?: StringWithAggregatesFilter<"AprRecord"> | string
24872
24851
  timestamp?: BigIntWithAggregatesFilter<"AprRecord"> | bigint | number
24873
- cummulated?: FloatWithAggregatesFilter<"AprRecord"> | number
24874
24852
  cumulated?: FloatWithAggregatesFilter<"AprRecord"> | number
24875
24853
  opportunityId?: StringWithAggregatesFilter<"AprRecord"> | string
24876
24854
  }
@@ -26246,8 +26224,7 @@ export namespace Prisma {
26246
26224
  export type AprRecordCreateInput = {
26247
26225
  id: string
26248
26226
  timestamp: bigint | number
26249
- cummulated: number
26250
- cumulated?: number
26227
+ cumulated: number
26251
26228
  AprBreakdown?: AprBreakdownCreateNestedManyWithoutAprRecordInput
26252
26229
  Opportunity: OpportunityCreateNestedOneWithoutAprRecordsInput
26253
26230
  }
@@ -26255,8 +26232,7 @@ export namespace Prisma {
26255
26232
  export type AprRecordUncheckedCreateInput = {
26256
26233
  id: string
26257
26234
  timestamp: bigint | number
26258
- cummulated: number
26259
- cumulated?: number
26235
+ cumulated: number
26260
26236
  opportunityId: string
26261
26237
  AprBreakdown?: AprBreakdownUncheckedCreateNestedManyWithoutAprRecordInput
26262
26238
  }
@@ -26264,7 +26240,6 @@ export namespace Prisma {
26264
26240
  export type AprRecordUpdateInput = {
26265
26241
  id?: StringFieldUpdateOperationsInput | string
26266
26242
  timestamp?: BigIntFieldUpdateOperationsInput | bigint | number
26267
- cummulated?: FloatFieldUpdateOperationsInput | number
26268
26243
  cumulated?: FloatFieldUpdateOperationsInput | number
26269
26244
  AprBreakdown?: AprBreakdownUpdateManyWithoutAprRecordNestedInput
26270
26245
  Opportunity?: OpportunityUpdateOneRequiredWithoutAprRecordsNestedInput
@@ -26273,7 +26248,6 @@ export namespace Prisma {
26273
26248
  export type AprRecordUncheckedUpdateInput = {
26274
26249
  id?: StringFieldUpdateOperationsInput | string
26275
26250
  timestamp?: BigIntFieldUpdateOperationsInput | bigint | number
26276
- cummulated?: FloatFieldUpdateOperationsInput | number
26277
26251
  cumulated?: FloatFieldUpdateOperationsInput | number
26278
26252
  opportunityId?: StringFieldUpdateOperationsInput | string
26279
26253
  AprBreakdown?: AprBreakdownUncheckedUpdateManyWithoutAprRecordNestedInput
@@ -26282,22 +26256,19 @@ export namespace Prisma {
26282
26256
  export type AprRecordCreateManyInput = {
26283
26257
  id: string
26284
26258
  timestamp: bigint | number
26285
- cummulated: number
26286
- cumulated?: number
26259
+ cumulated: number
26287
26260
  opportunityId: string
26288
26261
  }
26289
26262
 
26290
26263
  export type AprRecordUpdateManyMutationInput = {
26291
26264
  id?: StringFieldUpdateOperationsInput | string
26292
26265
  timestamp?: BigIntFieldUpdateOperationsInput | bigint | number
26293
- cummulated?: FloatFieldUpdateOperationsInput | number
26294
26266
  cumulated?: FloatFieldUpdateOperationsInput | number
26295
26267
  }
26296
26268
 
26297
26269
  export type AprRecordUncheckedUpdateManyInput = {
26298
26270
  id?: StringFieldUpdateOperationsInput | string
26299
26271
  timestamp?: BigIntFieldUpdateOperationsInput | bigint | number
26300
- cummulated?: FloatFieldUpdateOperationsInput | number
26301
26272
  cumulated?: FloatFieldUpdateOperationsInput | number
26302
26273
  opportunityId?: StringFieldUpdateOperationsInput | string
26303
26274
  }
@@ -27912,21 +27883,18 @@ export namespace Prisma {
27912
27883
  export type AprRecordCountOrderByAggregateInput = {
27913
27884
  id?: SortOrder
27914
27885
  timestamp?: SortOrder
27915
- cummulated?: SortOrder
27916
27886
  cumulated?: SortOrder
27917
27887
  opportunityId?: SortOrder
27918
27888
  }
27919
27889
 
27920
27890
  export type AprRecordAvgOrderByAggregateInput = {
27921
27891
  timestamp?: SortOrder
27922
- cummulated?: SortOrder
27923
27892
  cumulated?: SortOrder
27924
27893
  }
27925
27894
 
27926
27895
  export type AprRecordMaxOrderByAggregateInput = {
27927
27896
  id?: SortOrder
27928
27897
  timestamp?: SortOrder
27929
- cummulated?: SortOrder
27930
27898
  cumulated?: SortOrder
27931
27899
  opportunityId?: SortOrder
27932
27900
  }
@@ -27934,14 +27902,12 @@ export namespace Prisma {
27934
27902
  export type AprRecordMinOrderByAggregateInput = {
27935
27903
  id?: SortOrder
27936
27904
  timestamp?: SortOrder
27937
- cummulated?: SortOrder
27938
27905
  cumulated?: SortOrder
27939
27906
  opportunityId?: SortOrder
27940
27907
  }
27941
27908
 
27942
27909
  export type AprRecordSumOrderByAggregateInput = {
27943
27910
  timestamp?: SortOrder
27944
- cummulated?: SortOrder
27945
27911
  cumulated?: SortOrder
27946
27912
  }
27947
27913
 
@@ -32293,16 +32259,14 @@ export namespace Prisma {
32293
32259
  export type AprRecordCreateWithoutOpportunityInput = {
32294
32260
  id: string
32295
32261
  timestamp: bigint | number
32296
- cummulated: number
32297
- cumulated?: number
32262
+ cumulated: number
32298
32263
  AprBreakdown?: AprBreakdownCreateNestedManyWithoutAprRecordInput
32299
32264
  }
32300
32265
 
32301
32266
  export type AprRecordUncheckedCreateWithoutOpportunityInput = {
32302
32267
  id: string
32303
32268
  timestamp: bigint | number
32304
- cummulated: number
32305
- cumulated?: number
32269
+ cumulated: number
32306
32270
  AprBreakdown?: AprBreakdownUncheckedCreateNestedManyWithoutAprRecordInput
32307
32271
  }
32308
32272
 
@@ -32518,7 +32482,6 @@ export namespace Prisma {
32518
32482
  NOT?: AprRecordScalarWhereInput | AprRecordScalarWhereInput[]
32519
32483
  id?: StringFilter<"AprRecord"> | string
32520
32484
  timestamp?: BigIntFilter<"AprRecord"> | bigint | number
32521
- cummulated?: FloatFilter<"AprRecord"> | number
32522
32485
  cumulated?: FloatFilter<"AprRecord"> | number
32523
32486
  opportunityId?: StringFilter<"AprRecord"> | string
32524
32487
  }
@@ -33220,16 +33183,14 @@ export namespace Prisma {
33220
33183
  export type AprRecordCreateWithoutAprBreakdownInput = {
33221
33184
  id: string
33222
33185
  timestamp: bigint | number
33223
- cummulated: number
33224
- cumulated?: number
33186
+ cumulated: number
33225
33187
  Opportunity: OpportunityCreateNestedOneWithoutAprRecordsInput
33226
33188
  }
33227
33189
 
33228
33190
  export type AprRecordUncheckedCreateWithoutAprBreakdownInput = {
33229
33191
  id: string
33230
33192
  timestamp: bigint | number
33231
- cummulated: number
33232
- cumulated?: number
33193
+ cumulated: number
33233
33194
  opportunityId: string
33234
33195
  }
33235
33196
 
@@ -33252,7 +33213,6 @@ export namespace Prisma {
33252
33213
  export type AprRecordUpdateWithoutAprBreakdownInput = {
33253
33214
  id?: StringFieldUpdateOperationsInput | string
33254
33215
  timestamp?: BigIntFieldUpdateOperationsInput | bigint | number
33255
- cummulated?: FloatFieldUpdateOperationsInput | number
33256
33216
  cumulated?: FloatFieldUpdateOperationsInput | number
33257
33217
  Opportunity?: OpportunityUpdateOneRequiredWithoutAprRecordsNestedInput
33258
33218
  }
@@ -33260,7 +33220,6 @@ export namespace Prisma {
33260
33220
  export type AprRecordUncheckedUpdateWithoutAprBreakdownInput = {
33261
33221
  id?: StringFieldUpdateOperationsInput | string
33262
33222
  timestamp?: BigIntFieldUpdateOperationsInput | bigint | number
33263
- cummulated?: FloatFieldUpdateOperationsInput | number
33264
33223
  cumulated?: FloatFieldUpdateOperationsInput | number
33265
33224
  opportunityId?: StringFieldUpdateOperationsInput | string
33266
33225
  }
@@ -35350,8 +35309,7 @@ export namespace Prisma {
35350
35309
  export type AprRecordCreateManyOpportunityInput = {
35351
35310
  id: string
35352
35311
  timestamp: bigint | number
35353
- cummulated: number
35354
- cumulated?: number
35312
+ cumulated: number
35355
35313
  }
35356
35314
 
35357
35315
  export type DailyRewardsRecordCreateManyOpportunityInput = {
@@ -35512,7 +35470,6 @@ export namespace Prisma {
35512
35470
  export type AprRecordUpdateWithoutOpportunityInput = {
35513
35471
  id?: StringFieldUpdateOperationsInput | string
35514
35472
  timestamp?: BigIntFieldUpdateOperationsInput | bigint | number
35515
- cummulated?: FloatFieldUpdateOperationsInput | number
35516
35473
  cumulated?: FloatFieldUpdateOperationsInput | number
35517
35474
  AprBreakdown?: AprBreakdownUpdateManyWithoutAprRecordNestedInput
35518
35475
  }
@@ -35520,7 +35477,6 @@ export namespace Prisma {
35520
35477
  export type AprRecordUncheckedUpdateWithoutOpportunityInput = {
35521
35478
  id?: StringFieldUpdateOperationsInput | string
35522
35479
  timestamp?: BigIntFieldUpdateOperationsInput | bigint | number
35523
- cummulated?: FloatFieldUpdateOperationsInput | number
35524
35480
  cumulated?: FloatFieldUpdateOperationsInput | number
35525
35481
  AprBreakdown?: AprBreakdownUncheckedUpdateManyWithoutAprRecordNestedInput
35526
35482
  }
@@ -35528,7 +35484,6 @@ export namespace Prisma {
35528
35484
  export type AprRecordUncheckedUpdateManyWithoutOpportunityInput = {
35529
35485
  id?: StringFieldUpdateOperationsInput | string
35530
35486
  timestamp?: BigIntFieldUpdateOperationsInput | bigint | number
35531
- cummulated?: FloatFieldUpdateOperationsInput | number
35532
35487
  cumulated?: FloatFieldUpdateOperationsInput | number
35533
35488
  }
35534
35489
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-965afba2a21638c37deff7e80d13b253f9e3bfecec10a787c0d6baf69ba748b7",
2
+ "name": "prisma-client-8c14696c60b4d94170fb5fb8de219966f15a60fb9bc1ec0888f0d1b7fbf25af4",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -122,8 +122,7 @@ model Token {
122
122
  model AprRecord {
123
123
  id String @id
124
124
  timestamp BigInt
125
- cummulated Float
126
- cumulated Float @default(0)
125
+ cumulated Float
127
126
  AprBreakdown AprBreakdown[]
128
127
  Opportunity Opportunity @relation(fields: [opportunityId], references: [id])
129
128
  opportunityId String
@@ -150,4 +150,9 @@ export declare const CacheDeclaration: {
150
150
  redisTTL: TTLType.Hours3;
151
151
  localCache: true;
152
152
  };
153
+ RootsWithRewardOnChain: {
154
+ compressed: false;
155
+ redisTTL: TTLType.Minutes2;
156
+ localCache: true;
157
+ };
153
158
  };