@stake-dao/reader 0.4.25 → 0.4.26

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 (78) hide show
  1. package/dist/esm/bytecodes/index.js +3 -3
  2. package/dist/esm/bytecodes/index.js.map +1 -1
  3. package/dist/esm/bytecodes/tokenData.js +6 -18
  4. package/dist/esm/bytecodes/tokenData.js.map +1 -1
  5. package/dist/esm/bytecodes/votemarket/batchCampaigns.js +59 -0
  6. package/dist/esm/bytecodes/votemarket/batchCampaigns.js.map +1 -0
  7. package/dist/esm/bytecodes/votemarket/curve/batchCurveGauges.js.map +1 -0
  8. package/dist/esm/bytecodes/votemarket/curve/batchCurveGaugesMetadata.js.map +1 -0
  9. package/dist/esm/bytecodes/votemarket/curve/batchCurveOldLps.js.map +1 -0
  10. package/dist/esm/bytecodes/votemarket/curve/batchCurveUserVotes.js.map +1 -0
  11. package/dist/esm/index.js +2 -0
  12. package/dist/esm/index.js.map +1 -1
  13. package/dist/esm/strategies/curve/build.js +3 -5
  14. package/dist/esm/strategies/curve/build.js.map +1 -1
  15. package/dist/esm/strategies/yearn/build.js +3 -5
  16. package/dist/esm/strategies/yearn/build.js.map +1 -1
  17. package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
  18. package/dist/esm/utils.js +1 -0
  19. package/dist/esm/utils.js.map +1 -1
  20. package/dist/esm/votemarket/curve/fetchCurveUserVotes.js +1 -1
  21. package/dist/esm/votemarket/curve/fetchCurveUserVotes.js.map +1 -1
  22. package/dist/esm/votemarket/fetchCampaigns.js +83 -0
  23. package/dist/esm/votemarket/fetchCampaigns.js.map +1 -0
  24. package/dist/types/bytecodes/index.d.ts +3 -3
  25. package/dist/types/bytecodes/index.d.ts.map +1 -1
  26. package/dist/types/bytecodes/tokenData.d.ts +2 -2
  27. package/dist/types/bytecodes/tokenData.d.ts.map +1 -1
  28. package/dist/types/bytecodes/types.d.ts +6 -0
  29. package/dist/types/bytecodes/types.d.ts.map +1 -1
  30. package/dist/types/bytecodes/votemarket/batchCampaigns.d.ts +4 -0
  31. package/dist/types/bytecodes/votemarket/batchCampaigns.d.ts.map +1 -0
  32. package/dist/types/bytecodes/votemarket/curve/batchCurveGauges.d.ts +4 -0
  33. package/dist/types/bytecodes/votemarket/curve/batchCurveGauges.d.ts.map +1 -0
  34. package/dist/types/bytecodes/votemarket/curve/batchCurveGaugesMetadata.d.ts +4 -0
  35. package/dist/types/bytecodes/votemarket/curve/batchCurveGaugesMetadata.d.ts.map +1 -0
  36. package/dist/types/bytecodes/votemarket/curve/batchCurveOldLps.d.ts +4 -0
  37. package/dist/types/bytecodes/votemarket/curve/batchCurveOldLps.d.ts.map +1 -0
  38. package/dist/types/bytecodes/votemarket/curve/batchCurveUserVotes.d.ts +4 -0
  39. package/dist/types/bytecodes/votemarket/curve/batchCurveUserVotes.d.ts.map +1 -0
  40. package/dist/types/index.d.ts +1 -0
  41. package/dist/types/index.d.ts.map +1 -1
  42. package/dist/types/strategies/curve/build.d.ts.map +1 -1
  43. package/dist/types/strategies/yearn/build.d.ts.map +1 -1
  44. package/dist/types/utils.d.ts +1 -0
  45. package/dist/types/utils.d.ts.map +1 -1
  46. package/dist/types/votemarket/fetchCampaigns.d.ts +19 -0
  47. package/dist/types/votemarket/fetchCampaigns.d.ts.map +1 -0
  48. package/package.json +2 -2
  49. package/src/bytecodes/index.ts +3 -3
  50. package/src/bytecodes/tokenData.ts +9 -22
  51. package/src/bytecodes/types.ts +7 -0
  52. package/src/bytecodes/votemarket/batchCampaigns.ts +61 -0
  53. package/src/bytecodes/votemarket/{batchCurveGauges.ts → curve/batchCurveGauges.ts} +1 -1
  54. package/src/bytecodes/votemarket/{batchCurveGaugesMetadata.ts → curve/batchCurveGaugesMetadata.ts} +1 -1
  55. package/src/bytecodes/votemarket/{batchCurveOldLps.ts → curve/batchCurveOldLps.ts} +1 -1
  56. package/src/bytecodes/votemarket/{batchCurveUserVotes.ts → curve/batchCurveUserVotes.ts} +1 -1
  57. package/src/index.ts +3 -0
  58. package/src/strategies/curve/build.ts +3 -8
  59. package/src/strategies/yearn/build.ts +3 -8
  60. package/src/utils.ts +2 -0
  61. package/src/votemarket/curve/fetchCurveUserVotes.ts +1 -1
  62. package/src/votemarket/fetchCampaigns.ts +115 -0
  63. package/dist/esm/bytecodes/votemarket/batchCurveGauges.js.map +0 -1
  64. package/dist/esm/bytecodes/votemarket/batchCurveGaugesMetadata.js.map +0 -1
  65. package/dist/esm/bytecodes/votemarket/batchCurveOldLps.js.map +0 -1
  66. package/dist/esm/bytecodes/votemarket/batchCurveUserVotes.js.map +0 -1
  67. package/dist/types/bytecodes/votemarket/batchCurveGauges.d.ts +0 -4
  68. package/dist/types/bytecodes/votemarket/batchCurveGauges.d.ts.map +0 -1
  69. package/dist/types/bytecodes/votemarket/batchCurveGaugesMetadata.d.ts +0 -4
  70. package/dist/types/bytecodes/votemarket/batchCurveGaugesMetadata.d.ts.map +0 -1
  71. package/dist/types/bytecodes/votemarket/batchCurveOldLps.d.ts +0 -4
  72. package/dist/types/bytecodes/votemarket/batchCurveOldLps.d.ts.map +0 -1
  73. package/dist/types/bytecodes/votemarket/batchCurveUserVotes.d.ts +0 -4
  74. package/dist/types/bytecodes/votemarket/batchCurveUserVotes.d.ts.map +0 -1
  75. /package/dist/esm/bytecodes/votemarket/{batchCurveGauges.js → curve/batchCurveGauges.js} +0 -0
  76. /package/dist/esm/bytecodes/votemarket/{batchCurveGaugesMetadata.js → curve/batchCurveGaugesMetadata.js} +0 -0
  77. /package/dist/esm/bytecodes/votemarket/{batchCurveOldLps.js → curve/batchCurveOldLps.js} +0 -0
  78. /package/dist/esm/bytecodes/votemarket/{batchCurveUserVotes.js → curve/batchCurveUserVotes.js} +0 -0
@@ -84,17 +84,12 @@ export const buildCurveStrategies = async (
84
84
  )
85
85
  const decodedPromise = await Promise.allSettled(
86
86
  inputArgsChunks.map(async (inputArgs) => {
87
- const inputData = encodeAbiParameters(parseAbiParameters(batchTokenData.inputType[chainId] || []) as any, [
88
- inputArgs,
89
- ])
90
- const contractCreationCode = concatBytecode(batchTokenData.bytecode[chainId]!, inputData)
87
+ const inputData = encodeAbiParameters(parseAbiParameters(batchTokenData.inputType || []) as any, [inputArgs])
88
+ const contractCreationCode = concatBytecode(batchTokenData.bytecode, inputData)
91
89
  const returnedData = await provider.call({
92
90
  data: contractCreationCode,
93
91
  })
94
- return decodeAbiParameters(
95
- parseAbiParameters(batchTokenData.outputTypeHr[chainId] || []) as any,
96
- returnedData.data,
97
- )
92
+ return decodeAbiParameters(parseAbiParameters(batchTokenData.outputTypeHr || []) as any, returnedData.data)
98
93
  }),
99
94
  )
100
95
 
@@ -73,17 +73,12 @@ export const buildYearnStrategies = async (
73
73
  )
74
74
  const decodedPromise = await Promise.allSettled(
75
75
  tokensInputArgsChunks.map(async (inputArgs) => {
76
- const inputData = encodeAbiParameters(parseAbiParameters(batchTokenData.inputType[chainId] || []) as any, [
77
- inputArgs,
78
- ])
79
- const contractCreationCode = concatBytecode(batchTokenData.bytecode[chainId]!, inputData)
76
+ const inputData = encodeAbiParameters(parseAbiParameters(batchTokenData.inputType || []) as any, [inputArgs])
77
+ const contractCreationCode = concatBytecode(batchTokenData.bytecode, inputData)
80
78
  const returnedData = await provider.call({
81
79
  data: contractCreationCode,
82
80
  })
83
- return decodeAbiParameters(
84
- parseAbiParameters(batchTokenData.outputTypeHr[chainId] || []) as any,
85
- returnedData.data,
86
- )
81
+ return decodeAbiParameters(parseAbiParameters(batchTokenData.outputTypeHr || []) as any, returnedData.data)
87
82
  }),
88
83
  )
89
84
 
package/src/utils.ts CHANGED
@@ -212,3 +212,5 @@ export const multichainMulticall = async (calls: MultiChainCall[], abi: readonly
212
212
  chains.forEach((chainId, index) => (res[chainId] = promisesValues[index]))
213
213
  return res
214
214
  }
215
+
216
+ export const concatBytecode = (contract: string, args: string): string => contract.concat(args.slice(2))
@@ -1,6 +1,6 @@
1
1
  import { encodeAbiParameters, formatUnits, parseAbiParameters, zeroAddress } from 'viem'
2
2
  import { mainnet } from 'viem/chains'
3
- import batchCurveUserVotes from '../../bytecodes/votemarket/batchCurveUserVotes.js'
3
+ import batchCurveUserVotes from '../../bytecodes/votemarket/curve/batchCurveUserVotes.js'
4
4
  import { concatBytecode } from '../../index.js'
5
5
  import { batchJsonRpc, equalTlc } from '../../utils.js'
6
6
 
@@ -0,0 +1,115 @@
1
+ import { tokenWithAddress, tokens } from '@stake-dao/constants'
2
+ import { chunk, range, remove, uniq } from 'lodash-es'
3
+ import { decodeAbiParameters, encodeAbiParameters, formatUnits, parseAbiParameters } from 'viem'
4
+ import { batchTokenData } from '../bytecodes/index.js'
5
+ import batchCampaigns from '../bytecodes/votemarket/batchCampaigns.js'
6
+ import { batchJsonRpc, concatBytecode, equalTlc, rpcCall } from '../utils.js'
7
+
8
+ export const CAMPAIGNS_CHUNK_SIZE = 10
9
+
10
+ interface FetchCampaignsProps {
11
+ platform: string
12
+ chainId: number
13
+ rpc: string
14
+ }
15
+
16
+ export type Gauge = {
17
+ gauge: string
18
+ inflationRate: string
19
+ relativeWeight: string
20
+ futureRelativeWeight: string
21
+ }
22
+
23
+ export type GaugesData = { totalGaugesWeight: string; gauges: Gauge[] }
24
+
25
+ export const fetchCampaigns = async ({ platform, chainId, rpc }: FetchCampaignsProps): Promise<any> => {
26
+ const nCampaignsRequest = await rpcCall(rpc, [{ to: platform, data: '0x7274e30d' }]) // campaignCount
27
+ const nCampaigns = Number(
28
+ decodeAbiParameters([{ type: 'uint256', name: 'campaignCount' }], nCampaignsRequest[0].result),
29
+ )
30
+
31
+ const calls = range(0, nCampaigns, CAMPAIGNS_CHUNK_SIZE).map((skip) => {
32
+ const inputParams = [
33
+ platform,
34
+ skip,
35
+ skip + CAMPAIGNS_CHUNK_SIZE > nCampaigns ? nCampaigns : skip + CAMPAIGNS_CHUNK_SIZE,
36
+ ]
37
+
38
+ const inputData = encodeAbiParameters(parseAbiParameters(batchCampaigns.inputType[1]!) as any, inputParams)
39
+ return concatBytecode(batchCampaigns.bytecode[1]!, inputData)
40
+ })
41
+
42
+ const rawCampaigns = await batchJsonRpc({
43
+ rpc,
44
+ calls,
45
+ outputTypeAbi: batchCampaigns.outputType![1]!,
46
+ parse: false,
47
+ callsKey: `votemarket/fetchCampaigns.ts: rawCampaigns - chainId ${chainId} - rpc ${rpc}`,
48
+ })
49
+
50
+ const tokensToFetch: string[] = remove(
51
+ uniq(rawCampaigns.map((rc) => rc.campaign.rewardToken)),
52
+ (t) => !tokenWithAddress(t, chainId),
53
+ )
54
+
55
+ let rawTokensData: any[] = []
56
+ if (tokensToFetch.length > 0) {
57
+ const tokensChunks = chunk(tokensToFetch, 40)
58
+
59
+ const tokensCalls = tokensChunks.map((chunk) => {
60
+ const inputData = encodeAbiParameters(parseAbiParameters(batchTokenData.inputType) as any, [chunk])
61
+ return concatBytecode(batchTokenData.bytecode, inputData)
62
+ })
63
+
64
+ rawTokensData = await batchJsonRpc({
65
+ rpc,
66
+ calls: tokensCalls,
67
+ outputTypeAbi: batchTokenData.outputTypeHr,
68
+ callsKey: `votemarket/fetchCampaigns.ts: rawTokensData - chainId ${chainId} - rpc ${rpc}`,
69
+ })
70
+ }
71
+
72
+ const fetchedTokens = [
73
+ ...tokens,
74
+ ...rawTokensData.map((t) => ({
75
+ name: t.name,
76
+ symbol: t.symbol,
77
+ address: t.tokenAddress,
78
+ decimals: Number(t.decimals),
79
+ chainId,
80
+ })),
81
+ ]
82
+
83
+ const campaigns = rawCampaigns.map((rc) => {
84
+ const rewardToken = fetchedTokens.find((t) => equalTlc(t.address, rc.campaign.rewardToken) && t.chainId === chainId)
85
+ const decimals = rewardToken ? rewardToken.decimals : 18
86
+
87
+ return {
88
+ id: Number(rc.id),
89
+ chainId: Number(rc.campaign.chainId),
90
+ gauge: rc.campaign.gauge,
91
+ manager: rc.campaign.manager,
92
+ rewardToken,
93
+ numberOfPeriods: Number(rc.campaign.numberOfPeriods),
94
+ maxRewardPerVote: formatUnits(rc.campaign.maxRewardPerVote, decimals),
95
+ totalRewardAmount: formatUnits(rc.campaign.totalRewardAmount, decimals),
96
+ totalDistributed: formatUnits(rc.campaign.totalDistributed, decimals),
97
+ startTimestamp: Number(rc.campaign.startTimestamp),
98
+ endTimestamp: Number(rc.campaign.endTimestamp),
99
+ hook: rc.campaign.hook,
100
+ isKilled: rc.isKilled,
101
+ addresses: rc.addresses,
102
+ isWhitelist: rc.isWhitelistOnly,
103
+ isBlacklist: !rc.isWhitelistOnly && rc.addresses.length > 0,
104
+ currentPeriod: {
105
+ rewardPerPeriod: formatUnits(rc.currentPeriod.rewardPerPeriod, decimals),
106
+ rewardPerVote: formatUnits(rc.currentPeriod.rewardPerVote, decimals),
107
+ leftover: formatUnits(rc.currentPeriod.leftover, decimals),
108
+ updated: rc.currentPeriod.updated,
109
+ },
110
+ periodLeft: Number(rc.periodLeft),
111
+ }
112
+ })
113
+
114
+ return campaigns
115
+ }
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchCurveGauges.js","sourceRoot":"","sources":["../../../../src/bytecodes/votemarket/batchCurveGauges.ts"],"names":[],"mappings":"AAEA,MAAM,gBAAgB,GAAkB;IACtC,QAAQ,EAAE;QACR,CAAC,EAAE,krKAAkrK;KACtrK;IACD,SAAS,EAAE;QACT,CAAC,EAAE,CAAC,4BAA4B,CAAC;KAClC;IACD,YAAY,EAAE;QACZ,CAAC,EAAE;YACD,gCAAgC;YAChC,4IAA4I;SAC7I;KACF;IACD,UAAU,EAAE;QACV,CAAC,EAAE;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,YAAY;gBAClB,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;oBAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACnC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE;oBAC3C,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,sBAAsB,EAAE;oBACjD,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE;oBAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;iBACrC;aACF;SACF;KACF;CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchCurveGaugesMetadata.js","sourceRoot":"","sources":["../../../../src/bytecodes/votemarket/batchCurveGaugesMetadata.ts"],"names":[],"mappings":"AAEA,MAAM,cAAc,GAClB,shTAAshT,CAAA;AAExhT,MAAM,eAAe,GACnB,4jUAA4jU,CAAA;AAE9jU,MAAM,eAAe,GAAG,CAAC,kBAAkB,CAAC,CAAA;AAE5C,MAAM,kBAAkB,GAAG;IACzB,yBAAyB;IACzB,8DAA8D;IAC9D,kFAAkF;CACnF,CAAA;AAED,MAAM,gBAAgB,GAAG;IACvB;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;YAClC;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,IAAI;gBACV,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE;oBACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;oBAChC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE;iBACtC;aACF;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;gBACb,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE;oBACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;oBAChC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE;iBACtC;aACF;SACF;KACF;CACF,CAAA;AAED,0BAA0B;AAC1B,iCAAiC;AACjC,MAAM,wBAAwB,GAAkB;IAC9C,QAAQ,EAAE;QACR,CAAC,EAAE,cAAc;QACjB,GAAG,EAAE,eAAe;QACpB,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE,eAAe;KACvB;IACD,SAAS,EAAE;QACT,CAAC,EAAE,eAAe;KACnB;IACD,YAAY,EAAE;QACZ,CAAC,EAAE,kBAAkB;KACtB;IACD,UAAU,EAAE;QACV,CAAC,EAAE,gBAAgB;KACpB;CACF,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchCurveOldLps.js","sourceRoot":"","sources":["../../../../src/bytecodes/votemarket/batchCurveOldLps.ts"],"names":[],"mappings":"AAEA,MAAM,cAAc,GAClB,kxPAAkxP,CAAA;AAEpxP,MAAM,eAAe,GAAG,CAAC,iDAAiD,CAAC,CAAA;AAE3E,MAAM,kBAAkB,GAAG;IACzB,yBAAyB;IACzB,sEAAsE;IACtE,kFAAkF;CACnF,CAAA;AAED,MAAM,gBAAgB,GAAG;IACvB;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE;YACtC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;YAChC;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;gBACb,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE;oBACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;oBAChC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE;iBACtC;aACF;SACF;KACF;CACF,CAAA;AAED,0BAA0B;AAC1B,iCAAiC;AACjC,MAAM,gBAAgB,GAAkB;IACtC,QAAQ,EAAE;QACR,CAAC,EAAE,cAAc;KAClB;IACD,SAAS,EAAE;QACT,CAAC,EAAE,eAAe;KACnB;IACD,YAAY,EAAE;QACZ,CAAC,EAAE,kBAAkB;KACtB;IACD,UAAU,EAAE;QACV,CAAC,EAAE,gBAAgB;KACpB;CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchCurveUserVotes.js","sourceRoot":"","sources":["../../../../src/bytecodes/votemarket/batchCurveUserVotes.ts"],"names":[],"mappings":"AAEA,MAAM,mBAAmB,GAAkB;IACzC,QAAQ,EAAE;QACR,CAAC,EAAE,8yJAA8yJ;KAClzJ;IACD,SAAS,EAAE;QACT,CAAC,EAAE,CAAC,cAAc,CAAC;KACpB;IACD,YAAY,EAAE;QACZ,CAAC,EAAE;YACD,8BAA8B;YAC9B,wDAAwD;YACxD,0FAA0F;SAC3F;KACF;IACD,UAAU,EAAE;QACV,CAAC,EAAE;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,YAAY;gBAClB,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE;oBACtC;wBACE,IAAI,EAAE,SAAS;wBACf,IAAI,EAAE,OAAO;wBACb,UAAU,EAAE;4BACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;4BAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;4BAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;4BAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;4BAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE;yBACjC;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { BatchMetaData } from '../types.js';
2
- declare const batchCurveGauges: BatchMetaData;
3
- export default batchCurveGauges;
4
- //# sourceMappingURL=batchCurveGauges.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchCurveGauges.d.ts","sourceRoot":"","sources":["../../../../src/bytecodes/votemarket/batchCurveGauges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,QAAA,MAAM,gBAAgB,EAAE,aA6BvB,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { BatchMetaData } from '../types.js';
2
- declare const batchCurveGaugesMetadata: BatchMetaData;
3
- export default batchCurveGaugesMetadata;
4
- //# sourceMappingURL=batchCurveGaugesMetadata.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchCurveGaugesMetadata.d.ts","sourceRoot":"","sources":["../../../../src/bytecodes/votemarket/batchCurveGaugesMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAgDhD,QAAA,MAAM,wBAAwB,EAAE,aAgB/B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { BatchMetaData } from '../types.js';
2
- declare const batchCurveOldLps: BatchMetaData;
3
- export default batchCurveOldLps;
4
- //# sourceMappingURL=batchCurveOldLps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchCurveOldLps.d.ts","sourceRoot":"","sources":["../../../../src/bytecodes/votemarket/batchCurveOldLps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAoChD,QAAA,MAAM,gBAAgB,EAAE,aAavB,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { BatchMetaData } from '../types.js';
2
- declare const batchCurveUserVotes: BatchMetaData;
3
- export default batchCurveUserVotes;
4
- //# sourceMappingURL=batchCurveUserVotes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchCurveUserVotes.d.ts","sourceRoot":"","sources":["../../../../src/bytecodes/votemarket/batchCurveUserVotes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,QAAA,MAAM,mBAAmB,EAAE,aAoC1B,CAAA;AAED,eAAe,mBAAmB,CAAA"}