@merkl/api 0.10.177 → 0.10.181

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. package/dist/database/api/.generated/edge.js +6 -6
  2. package/dist/database/api/.generated/index-browser.js +4 -4
  3. package/dist/database/api/.generated/index.d.ts +2 -2
  4. package/dist/database/api/.generated/index.js +6 -6
  5. package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  6. package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  7. package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  8. package/dist/database/api/.generated/package.json +1 -1
  9. package/dist/database/api/.generated/runtime/edge-esm.js +15 -15
  10. package/dist/database/api/.generated/runtime/edge.js +16 -16
  11. package/dist/database/api/.generated/runtime/library.d.ts +23 -34
  12. package/dist/database/api/.generated/runtime/library.js +56 -56
  13. package/dist/database/api/.generated/runtime/react-native.js +23 -23
  14. package/dist/database/api/.generated/runtime/wasm.js +15 -15
  15. package/dist/database/api/.generated/wasm.js +4 -4
  16. package/dist/database/engine/.generated/edge.js +6 -6
  17. package/dist/database/engine/.generated/index-browser.js +4 -4
  18. package/dist/database/engine/.generated/index.d.ts +2 -2
  19. package/dist/database/engine/.generated/index.js +6 -6
  20. package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  21. package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  22. package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  23. package/dist/database/engine/.generated/package.json +1 -1
  24. package/dist/database/engine/.generated/runtime/edge-esm.js +15 -15
  25. package/dist/database/engine/.generated/runtime/edge.js +16 -16
  26. package/dist/database/engine/.generated/runtime/library.d.ts +23 -34
  27. package/dist/database/engine/.generated/runtime/library.js +56 -56
  28. package/dist/database/engine/.generated/runtime/react-native.js +23 -23
  29. package/dist/database/engine/.generated/runtime/wasm.js +15 -15
  30. package/dist/database/engine/.generated/wasm.js +4 -4
  31. package/dist/src/eden/index.d.ts +348 -63
  32. package/dist/src/index.d.ts +140 -21
  33. package/dist/src/index.js +1 -1
  34. package/dist/src/libs/campaigns/campaignTypes/CLAMMDynamicData.js +2 -2
  35. package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.js +3 -3
  36. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +2 -1
  37. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +4 -0
  38. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +1 -0
  39. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.js +12 -3
  40. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +1 -1
  41. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.js +1 -3
  42. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/StakingProcessor.d.ts +39 -0
  43. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/StakingProcessor.js +45 -0
  44. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +2 -0
  45. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.d.ts +2 -1
  46. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +25 -1
  47. package/dist/src/modules/v4/bucket/bucket.service.d.ts +5 -0
  48. package/dist/src/modules/v4/bucket/bucket.service.js +11 -0
  49. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +11 -13
  50. package/dist/src/modules/v4/campaign/campaign.controller.js +3 -3
  51. package/dist/src/modules/v4/campaign/campaign.repository.js +1 -1
  52. package/dist/src/modules/v4/chain/chain.controller.d.ts +24 -0
  53. package/dist/src/modules/v4/chain/chain.controller.js +8 -2
  54. package/dist/src/modules/v4/chain/chain.model.d.ts +4 -0
  55. package/dist/src/modules/v4/chain/chain.model.js +4 -0
  56. package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -1
  57. package/dist/src/modules/v4/chain/chain.repository.js +3 -0
  58. package/dist/src/modules/v4/chain/chain.service.d.ts +6 -1
  59. package/dist/src/modules/v4/chain/chain.service.js +7 -0
  60. package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
  61. package/dist/src/modules/v4/interaction/interaction.controller.d.ts +1 -1
  62. package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.d.ts +1 -1
  63. package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.d.ts +1 -1
  64. package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.d.ts +1 -1
  65. package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.d.ts +1 -1
  66. package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.js +2 -2
  67. package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.d.ts +1 -1
  68. package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.d.ts +1 -1
  69. package/dist/src/modules/v4/liquidity/index.d.ts +2 -0
  70. package/dist/src/modules/v4/liquidity/index.js +2 -0
  71. package/dist/src/modules/v4/{position/position.controller.d.ts → liquidity/liquidity.controller.d.ts} +3 -3
  72. package/dist/src/modules/v4/{position/position.controller.js → liquidity/liquidity.controller.js} +4 -4
  73. package/dist/src/modules/v4/{position/position.repository.d.ts → liquidity/liquidity.repository.d.ts} +1 -1
  74. package/dist/src/modules/v4/{position/position.repository.js → liquidity/liquidity.repository.js} +1 -1
  75. package/dist/src/modules/v4/liquidity/liquidity.service.d.ts +5 -0
  76. package/dist/src/modules/v4/{position/position.service.js → liquidity/liquidity.service.js} +2 -2
  77. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +34 -0
  78. package/dist/src/modules/v4/opportunity/opportunity.controller.js +11 -2
  79. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +8 -0
  80. package/dist/src/modules/v4/opportunity/opportunity.model.js +5 -0
  81. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +29 -1
  82. package/dist/src/modules/v4/opportunity/opportunity.repository.js +6 -0
  83. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +15 -1
  84. package/dist/src/modules/v4/opportunity/opportunity.service.js +7 -6
  85. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +30 -1
  86. package/dist/src/modules/v4/protocol/protocol.controller.js +9 -2
  87. package/dist/src/modules/v4/protocol/protocol.model.d.ts +10 -1
  88. package/dist/src/modules/v4/protocol/protocol.model.js +9 -0
  89. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +9 -1
  90. package/dist/src/modules/v4/protocol/protocol.repository.js +4 -1
  91. package/dist/src/modules/v4/protocol/protocol.service.d.ts +11 -3
  92. package/dist/src/modules/v4/protocol/protocol.service.js +38 -32
  93. package/dist/src/modules/v4/reward/subservices/converter.js +2 -2
  94. package/dist/src/modules/v4/router.d.ts +140 -21
  95. package/dist/src/modules/v4/router.js +2 -2
  96. package/dist/src/modules/v4/token/token.controller.d.ts +38 -4
  97. package/dist/src/modules/v4/token/token.controller.js +11 -3
  98. package/dist/src/modules/v4/token/token.model.d.ts +9 -0
  99. package/dist/src/modules/v4/token/token.model.js +7 -0
  100. package/dist/src/modules/v4/token/token.repository.d.ts +14 -1
  101. package/dist/src/modules/v4/token/token.repository.js +3 -0
  102. package/dist/src/modules/v4/token/token.service.d.ts +18 -5
  103. package/dist/src/modules/v4/token/token.service.js +9 -2
  104. package/dist/src/routes/v3/blacklist.d.ts +140 -21
  105. package/dist/src/routes/v3/campaigns.d.ts +140 -21
  106. package/dist/src/routes/v3/campaignsInfo.d.ts +140 -21
  107. package/dist/src/routes/v3/multiChainPositions.d.ts +140 -21
  108. package/dist/src/routes/v3/opportunity.d.ts +140 -21
  109. package/dist/src/routes/v3/positions.d.ts +140 -21
  110. package/dist/src/routes/v3/rewards.d.ts +140 -21
  111. package/dist/src/routes/v3/updates.d.ts +140 -21
  112. package/dist/src/routes/v3/userRewards.d.ts +140 -21
  113. package/dist/src/utils/decodeCalls.js +5 -1
  114. package/dist/src/utils/encodeCalls.js +13 -1
  115. package/dist/src/utils/generateCardName.js +3 -1
  116. package/dist/src/utils/logger.d.ts +12 -6
  117. package/dist/tsconfig.package.tsbuildinfo +1 -1
  118. package/package.json +24 -24
  119. package/dist/src/modules/v4/position/index.d.ts +0 -2
  120. package/dist/src/modules/v4/position/index.js +0 -2
  121. package/dist/src/modules/v4/position/position.service.d.ts +0 -5
  122. /package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.js +0 -0
  123. /package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.js +0 -0
  124. /package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.js +0 -0
  125. /package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.js +0 -0
  126. /package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.js +0 -0
  127. /package/dist/src/modules/v4/{position/position.model.d.ts → liquidity/liquidity.model.d.ts} +0 -0
  128. /package/dist/src/modules/v4/{position/position.model.js → liquidity/liquidity.model.js} +0 -0
@@ -504,6 +504,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
504
504
  };
505
505
  };
506
506
  };
507
+ } & {
508
+ opportunities: {
509
+ ":id": {
510
+ patch: {
511
+ body: {
512
+ name?: string | undefined;
513
+ tags?: string[] | undefined;
514
+ };
515
+ params: {
516
+ id: string;
517
+ };
518
+ query: unknown;
519
+ headers: {
520
+ authorization: string;
521
+ };
522
+ response: {
523
+ 200: {
524
+ name: string;
525
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
526
+ id: string;
527
+ status: import("../../../database/api/.generated").$Enums.Status;
528
+ tags: string[];
529
+ identifier: string;
530
+ chainId: number;
531
+ action: import("../../../database/api/.generated").$Enums.OpportunityAction;
532
+ mainProtocolId: string | null;
533
+ tvl: number;
534
+ apr: number;
535
+ dailyRewards: number;
536
+ };
537
+ };
538
+ };
539
+ };
540
+ };
507
541
  };
508
542
  } & {
509
543
  v4: {
@@ -687,19 +721,17 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
687
721
  } & {
688
722
  "campaigns-to-process": {
689
723
  engine: {
690
- "": {
691
- post: {
692
- body: unknown;
693
- params: {};
694
- query: {
695
- chainId: number;
696
- };
697
- headers: {
698
- authorization: string;
699
- };
700
- response: {
701
- 200: string;
702
- };
724
+ post: {
725
+ body: unknown;
726
+ params: {};
727
+ query: {
728
+ chainId: number;
729
+ };
730
+ headers: {
731
+ authorization: string;
732
+ };
733
+ response: {
734
+ 200: string;
703
735
  };
704
736
  };
705
737
  };
@@ -752,7 +784,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
752
784
  id: string;
753
785
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
754
786
  icon: string;
755
- } & {})[] | null;
787
+ } & {})[];
756
788
  };
757
789
  };
758
790
  };
@@ -771,6 +803,35 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
771
803
  };
772
804
  };
773
805
  };
806
+ } & {
807
+ protocols: {
808
+ ":id": {
809
+ patch: {
810
+ body: {
811
+ url?: string | undefined;
812
+ description?: string | undefined;
813
+ icon?: string | undefined;
814
+ };
815
+ params: {
816
+ id: string;
817
+ };
818
+ query: unknown;
819
+ headers: {
820
+ authorization: string;
821
+ };
822
+ response: {
823
+ 200: {
824
+ name: string;
825
+ url: string;
826
+ description: string;
827
+ id: string;
828
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
829
+ icon: string;
830
+ };
831
+ };
832
+ };
833
+ };
834
+ };
774
835
  };
775
836
  } & {
776
837
  v4: {
@@ -849,7 +910,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
849
910
  };
850
911
  headers: unknown;
851
912
  response: {
852
- 200: {
913
+ 200: ({
853
914
  symbol: string;
854
915
  name: string | null;
855
916
  id: string;
@@ -857,11 +918,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
857
918
  address: string;
858
919
  icon: string;
859
920
  decimals: number;
860
- displaySymbol: string;
861
921
  verified: boolean;
862
922
  isTest: boolean;
863
- price: number | null;
864
- }[];
923
+ } & {
924
+ price?: number | null | undefined;
925
+ })[];
865
926
  };
866
927
  };
867
928
  };
@@ -887,6 +948,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
887
948
  };
888
949
  };
889
950
  };
951
+ } & {
952
+ tokens: {
953
+ ":id": {
954
+ patch: {
955
+ body: {
956
+ icon?: string | undefined;
957
+ displaySymbol?: string | undefined;
958
+ isTest?: boolean | undefined;
959
+ };
960
+ params: {
961
+ id: string;
962
+ };
963
+ query: unknown;
964
+ headers: {
965
+ authorization: string;
966
+ };
967
+ response: {
968
+ 200: {
969
+ symbol: string;
970
+ name: string | null;
971
+ id: string;
972
+ chainId: number;
973
+ address: string;
974
+ icon: string;
975
+ decimals: number;
976
+ displaySymbol: string;
977
+ verified: boolean;
978
+ isTest: boolean;
979
+ price: number | null;
980
+ };
981
+ };
982
+ };
983
+ };
984
+ };
890
985
  };
891
986
  } & {
892
987
  v4: {
@@ -1166,6 +1261,30 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1166
1261
  };
1167
1262
  };
1168
1263
  };
1264
+ } & {
1265
+ chains: {
1266
+ ":chainId": {
1267
+ patch: {
1268
+ body: {
1269
+ icon?: string | undefined;
1270
+ };
1271
+ params: {
1272
+ chainId: number;
1273
+ };
1274
+ query: unknown;
1275
+ headers: {
1276
+ authorization: string;
1277
+ };
1278
+ response: {
1279
+ 200: {
1280
+ name: string;
1281
+ id: number;
1282
+ icon: string;
1283
+ };
1284
+ };
1285
+ };
1286
+ };
1287
+ };
1169
1288
  };
1170
1289
  } & {
1171
1290
  v4: {
@@ -1866,7 +1985,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1866
1985
  id: string;
1867
1986
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1868
1987
  icon: string;
1869
- } & {})[] | null;
1988
+ } & {})[];
1870
1989
  };
1871
1990
  };
1872
1991
  };
@@ -2257,7 +2376,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2257
2376
  };
2258
2377
  } & {
2259
2378
  v4: {
2260
- positions: {
2379
+ liquidity: {
2261
2380
  index: {
2262
2381
  get: {
2263
2382
  body: unknown;
@@ -2268,7 +2387,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2268
2387
  };
2269
2388
  headers: unknown;
2270
2389
  response: {
2271
- 200: any[];
2390
+ 200: import("../../modules/v4/liquidity").PositionT[];
2272
2391
  };
2273
2392
  };
2274
2393
  };
@@ -1,4 +1,4 @@
1
- import { AaveInterface, AuraInterface, AuraOperatorInterface, BalancerGaugeInterface, BalancerPoolInterface, BalancerVaultInterface, BeefyInterface, CompoundInterface, CurveInterface, DefutureVaultInterface, ERC20Interface, EnzymeInterface, EulerInterface, FactoryInterface, FluidInterface, FraxlendInterface, GearboxVaultInterface, IonicInterface, LayerBankInterface, MaverickBPLensInterface, MetamorphoInterface, MoonwellInterface, OneInchStakingInterface, PendleInterface, PendleYTInterface, RadiantInterface, RfxInterface, RswEthStrategyInterface, SturdyInterface, SymetricAmbientStrategyInterface, TorosInterface, UniswapV2PoolInterface, ZFStableLPINterface, ZFStableSwapThreePoolInterface, } from "@sdk";
1
+ import { AaveInterface, AuraInterface, AuraOperatorInterface, BalancerGaugeInterface, BalancerPoolInterface, BalancerVaultInterface, BeefyInterface, CompoundInterface, CurveInterface, DefutureVaultInterface, ERC20Interface, EnzymeInterface, EulerInterface, FactoryInterface, FluidInterface, FraxlendInterface, GearboxVaultInterface, IonicInterface, LayerBankInterface, MaverickBPLensInterface, MetamorphoInterface, MoonwellInterface, OneInchStakingInterface, PendleInterface, PendleYTInterface, RadiantInterface, RfxInterface, RswEthStrategyInterface, SturdyInterface, SymetricAmbientStrategyInterface, TorosInterface, UniswapV2PoolInterface, VePufferInterface, ZFStableLPINterface, ZFStableSwapThreePoolInterface, } from "@sdk";
2
2
  import { tokenType } from "../libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType";
3
3
  export function decodeCall(calls, index, key, type) {
4
4
  const returnData = calls[index];
@@ -195,8 +195,12 @@ export function decodeCall(calls, index, key, type) {
195
195
  default:
196
196
  return SymetricAmbientStrategyInterface.decodeFunctionResult("getPositions", returnData);
197
197
  }
198
+ case "lockNFT":
199
+ return VePufferInterface.decodeFunctionResult("lockNFT", returnData)[0];
198
200
  case "tvl":
199
201
  return DefutureVaultInterface.decodeFunctionResult("tvl", returnData)[0];
202
+ case "eip712DomainName":
203
+ return MetamorphoInterface.decodeFunctionResult("eip712Domain", returnData)[1];
200
204
  default:
201
205
  throw new Error(`Key not recognized for ${key}`);
202
206
  }
@@ -1,5 +1,5 @@
1
1
  import { tokenType } from "../libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType";
2
- import { AaveInterface, AuraInterface, AuraOperatorInterface, BalancerGaugeInterface, BalancerPoolInterface, BalancerVaultInterface, BeefyInterface, CompoundInterface, CurveInterface, DefutureVaultInterface, ERC20Interface, EnzymeInterface, EulerInterface, FactoryInterface, FluidInterface, FraxlendInterface, GearboxVaultInterface, IonicInterface, LayerBankInterface, MaverickBPLensInterface, MetamorphoInterface, MoonwellInterface, OneInchStakingInterface, PendleInterface, PendleYTInterface, RadiantInterface, RfxDatastoreInterface, RswEthStrategyInterface, SturdyInterface, SymetricAmbientStrategyInterface, TorosInterface, UniswapV2PoolInterface, ZFStableLPINterface, ZFStableSwapThreePoolInterface, } from "@sdk";
2
+ import { AaveInterface, AuraInterface, AuraOperatorInterface, BalancerGaugeInterface, BalancerPoolInterface, BalancerVaultInterface, BeefyInterface, CompoundInterface, CurveInterface, DefutureVaultInterface, ERC20Interface, EnzymeInterface, EulerInterface, FactoryInterface, FluidInterface, FraxlendInterface, GearboxVaultInterface, IonicInterface, LayerBankInterface, MaverickBPLensInterface, MetamorphoInterface, MoonwellInterface, OneInchStakingInterface, PendleInterface, PendleYTInterface, RadiantInterface, RfxDatastoreInterface, RswEthStrategyInterface, SturdyInterface, SymetricAmbientStrategyInterface, TorosInterface, UniswapV2PoolInterface, VePufferInterface, ZFStableLPINterface, ZFStableSwapThreePoolInterface, } from "@sdk";
3
3
  import { fluidInterface } from "src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1";
4
4
  export function createCall(target, key, type, metaData) {
5
5
  switch (key) {
@@ -307,6 +307,18 @@ export function createCall(target, key, type, metaData) {
307
307
  callData: DefutureVaultInterface.encodeFunctionData("tvl"),
308
308
  target: target,
309
309
  };
310
+ case "lockNFT":
311
+ return {
312
+ allowFailure: true,
313
+ callData: VePufferInterface.encodeFunctionData("lockNFT"),
314
+ target: target,
315
+ };
316
+ case "eip712DomainName":
317
+ return {
318
+ allowFailure: true,
319
+ callData: MetamorphoInterface.encodeFunctionData("eip712Domain"),
320
+ target: target,
321
+ };
310
322
  default:
311
323
  throw new Error(`Unknown key ${key}`);
312
324
  }
@@ -16,7 +16,7 @@ export function generateCardName(type, typeInfo, campaign, symbols = [""]) {
16
16
  case tokenType.pancakeswap:
17
17
  return `${typeInfo.protocol} ${typeInfo.symbolToken0}/${typeInfo.symbolToken1}`;
18
18
  case tokenType.pendleYT:
19
- return `Hold YT of ${typeInfo.symbolUnderlyingToken} on ${typeInfo.protocol}`;
19
+ return `Hold ${typeInfo.protocol} ${typeInfo.name}`;
20
20
  case tokenType.pendle:
21
21
  return `Provide ${typeInfo.symbolUnderlyingToken} on ${typeInfo.protocol}`;
22
22
  case tokenType.balancerGauge:
@@ -96,6 +96,8 @@ export function generateCardName(type, typeInfo, campaign, symbols = [""]) {
96
96
  case tokenType.tempestStaking:
97
97
  case tokenType.holdstation:
98
98
  return `Hold vault token ${campaign.campaignParameters.symbolTargetToken} on ${typeInfo.protocol}`;
99
+ case tokenType.staking:
100
+ return `${typeInfo.lockNFT !== undefined ? "Lock" : "Stake"} ${campaign.campaignParameters.symbolTargetToken} on ${typeInfo.stakingSymbol}`;
99
101
  default:
100
102
  return `Hold ${typeInfo.name} (${campaign.campaignParameters.symbolTargetToken})`;
101
103
  }
@@ -1,12 +1,18 @@
1
- export declare const logger: import("@bogeychan/elysia-logger/types").ElysiaLogger<import("elysia").default<"", {
2
- request: {
3
- log: import("@bogeychan/elysia-logger/types").Logger;
4
- };
1
+ export declare const logger: import("@bogeychan/elysia-logger/types").ElysiaLogger<import("elysia").default<"", false, {
2
+ decorator: {};
5
3
  store: {};
4
+ derive: {};
5
+ resolve: {
6
+ readonly log: import("pino").default.Logger<never, boolean>;
7
+ };
6
8
  }, {
7
9
  type: {};
8
10
  error: {};
9
- }, {}, {}, false, {
11
+ }, {
12
+ schema: {};
13
+ macro: {};
14
+ macroFn: {};
15
+ }, {}, {
10
16
  derive: {};
11
17
  resolve: {};
12
18
  schema: {};
@@ -14,7 +20,7 @@ export declare const logger: import("@bogeychan/elysia-logger/types").ElysiaLogg
14
20
  derive: {};
15
21
  resolve: {};
16
22
  schema: {};
17
- }>>;
23
+ }> | import("@bogeychan/elysia-logger/types")._INTERNAL_ElysiaLoggerPlugin<import("@bogeychan/elysia-logger/types")._INTERNAL_Writeonly<import("@bogeychan/elysia-logger/types")._INTERNAL_ElysiaLoggerPluginAutoLoggingState>>>;
18
24
  export declare const log: {
19
25
  debug: (message: string) => void;
20
26
  error: (message: string, errorMessage: any, service?: string, url?: string) => void;