@reyaxyz/common 0.310.0 → 0.310.1
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.
|
@@ -4,11 +4,11 @@ export type VltzRoundInfo = {
|
|
|
4
4
|
deadlineMs: number;
|
|
5
5
|
mintedAmount: number;
|
|
6
6
|
totalAllocation: number;
|
|
7
|
-
|
|
7
|
+
totalRealizedPnl: number;
|
|
8
8
|
leaderboard: {
|
|
9
9
|
data: {
|
|
10
10
|
walletAddress: string;
|
|
11
|
-
|
|
11
|
+
realizedPnl: number;
|
|
12
12
|
}[];
|
|
13
13
|
meta: PaginatedQueryMeta;
|
|
14
14
|
};
|
|
@@ -19,7 +19,7 @@ export type VltzWalletInfo = {
|
|
|
19
19
|
allocationInfo: VltzAllocationInfo;
|
|
20
20
|
merkleRoot: string;
|
|
21
21
|
merkleProof: string[];
|
|
22
|
-
|
|
22
|
+
realizedPnl: number;
|
|
23
23
|
positionInLeaderboard: number | null;
|
|
24
24
|
};
|
|
25
25
|
export type VltzApiSource = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vltz-api-types.d.ts","sourceRoot":"/","sources":["vltz-api-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,WAAW,EACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,
|
|
1
|
+
{"version":3,"file":"vltz-api-types.d.ts","sourceRoot":"/","sources":["vltz-api-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,WAAW,EACZ,MAAM,aAAa,CAAC;AACrB,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|
1
|
-
{"version":3,"file":"vltz-api-types.js","sourceRoot":"/","sources":["vltz-api-types.ts"],"names":[],"mappings":"","sourcesContent":["import {\n AddressParam,\n ApiEndpoint,\n PaginatedQueryMeta,\n PaginatedQueryParams,\n Stringified,\n} from './api-types';\nimport { VltzAllocationInfo } from './utils';\n\nexport type VltzRoundInfo = {\n deadlineMs: number;\n mintedAmount: number;\n totalAllocation: number;\n
|
|
1
|
+
{"version":3,"file":"vltz-api-types.js","sourceRoot":"/","sources":["vltz-api-types.ts"],"names":[],"mappings":"","sourcesContent":["import {\n AddressParam,\n ApiEndpoint,\n PaginatedQueryMeta,\n PaginatedQueryParams,\n Stringified,\n} from './api-types';\nimport { VltzAllocationInfo } from './utils';\n\nexport type VltzRoundInfo = {\n deadlineMs: number;\n mintedAmount: number;\n totalAllocation: number;\n totalRealizedPnl: number;\n leaderboard: {\n data: {\n walletAddress: string;\n realizedPnl: number;\n }[];\n meta: PaginatedQueryMeta;\n };\n};\n\nexport type VltzWalletInfo = {\n minted: boolean;\n mintedAmountSoFar: number;\n allocationInfo: VltzAllocationInfo;\n merkleRoot: string;\n merkleProof: string[];\n realizedPnl: number;\n positionInLeaderboard: number | null;\n};\n\nexport type VltzApiSource = {\n 'vltz/round/:id': ApiEndpoint<\n VltzRoundInfo,\n {\n id: string;\n } & PaginatedQueryParams\n >;\n\n 'vltz/wallet/:address/:roundId': ApiEndpoint<\n VltzWalletInfo,\n AddressParam & { roundId: string }\n >;\n};\n\nexport type VltzApi = {\n [K in keyof VltzApiSource]: {\n params: VltzApiSource[K]['params'];\n query: VltzApiSource[K]['query'];\n response: Stringified<VltzApiSource[K]['response']>;\n };\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reyaxyz/common",
|
|
3
|
-
"version": "0.310.
|
|
3
|
+
"version": "0.310.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"generate:coverage-badges": "npx istanbul-badges-readme --silent"
|
|
45
45
|
},
|
|
46
46
|
"packageManager": "pnpm@8.3.1",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "74b7c533f4ae348ca80dbe792c6b5b305acf6e4f"
|
|
48
48
|
}
|
package/src/vltz-api-types.ts
CHANGED
|
@@ -11,11 +11,11 @@ export type VltzRoundInfo = {
|
|
|
11
11
|
deadlineMs: number;
|
|
12
12
|
mintedAmount: number;
|
|
13
13
|
totalAllocation: number;
|
|
14
|
-
|
|
14
|
+
totalRealizedPnl: number;
|
|
15
15
|
leaderboard: {
|
|
16
16
|
data: {
|
|
17
17
|
walletAddress: string;
|
|
18
|
-
|
|
18
|
+
realizedPnl: number;
|
|
19
19
|
}[];
|
|
20
20
|
meta: PaginatedQueryMeta;
|
|
21
21
|
};
|
|
@@ -27,7 +27,7 @@ export type VltzWalletInfo = {
|
|
|
27
27
|
allocationInfo: VltzAllocationInfo;
|
|
28
28
|
merkleRoot: string;
|
|
29
29
|
merkleProof: string[];
|
|
30
|
-
|
|
30
|
+
realizedPnl: number;
|
|
31
31
|
positionInLeaderboard: number | null;
|
|
32
32
|
};
|
|
33
33
|
|