@xyo-network/xl1-rpc 1.15.23 → 1.15.25
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.
- package/dist/neutral/index.mjs +21 -0
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts +2 -2
- package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
- package/dist/neutral/types/NetworkStakeViewerRpc.d.ts +7 -0
- package/dist/neutral/types/NetworkStakeViewerRpc.d.ts.map +1 -0
- package/dist/neutral/types/StepViewerRpc.d.ts +7 -0
- package/dist/neutral/types/StepViewerRpc.d.ts.map +1 -0
- package/dist/neutral/types/index.d.ts +1 -0
- package/dist/neutral/types/index.d.ts.map +1 -1
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts +4 -4
- package/dist/neutral/types/schema/NetworkStakeViewerRpcSchemas.d.ts +20 -0
- package/dist/neutral/types/schema/NetworkStakeViewerRpcSchemas.d.ts.map +1 -0
- package/dist/neutral/types/schema/StepViewerRpcSchemas.d.ts +254 -0
- package/dist/neutral/types/schema/StepViewerRpcSchemas.d.ts.map +1 -0
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts +4 -4
- package/dist/neutral/types/schema/common/Stake.d.ts +2 -1
- package/dist/neutral/types/schema/common/Stake.d.ts.map +1 -1
- package/dist/neutral/types/schema/index.d.ts +1 -0
- package/dist/neutral/types/schema/index.d.ts.map +1 -1
- package/dist/node/index-node.mjs +21 -0
- package/dist/node/index-node.mjs.map +1 -1
- package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts +2 -2
- package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
- package/dist/node/types/NetworkStakeViewerRpc.d.ts +7 -0
- package/dist/node/types/NetworkStakeViewerRpc.d.ts.map +1 -0
- package/dist/node/types/StepViewerRpc.d.ts +7 -0
- package/dist/node/types/StepViewerRpc.d.ts.map +1 -0
- package/dist/node/types/index.d.ts +1 -0
- package/dist/node/types/index.d.ts.map +1 -1
- package/dist/node/types/schema/AllRpcSchemas.d.ts +4 -4
- package/dist/node/types/schema/NetworkStakeViewerRpcSchemas.d.ts +20 -0
- package/dist/node/types/schema/NetworkStakeViewerRpcSchemas.d.ts.map +1 -0
- package/dist/node/types/schema/StepViewerRpcSchemas.d.ts +254 -0
- package/dist/node/types/schema/StepViewerRpcSchemas.d.ts.map +1 -0
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts +4 -4
- package/dist/node/types/schema/common/Stake.d.ts +2 -1
- package/dist/node/types/schema/common/Stake.d.ts.map +1 -1
- package/dist/node/types/schema/index.d.ts +1 -0
- package/dist/node/types/schema/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/provider/gateway/spec/MemoryXyoGateway.spec.ts +12 -3
- package/src/provider/viewer/JsonRpcXyoViewer.ts +2 -2
- package/src/types/NetworkStakeViewerRpc.ts +12 -0
- package/src/types/StepViewerRpc.ts +12 -0
- package/src/types/index.ts +1 -0
- package/src/types/schema/NetworkStakeViewerRpcSchemas.ts +19 -0
- package/src/types/schema/StepViewerRpcSchemas.ts +83 -0
- package/src/types/schema/common/Stake.ts +2 -1
- package/src/types/schema/index.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
import type { AttoXL1, ChainId, ForkHistory, HydratedBlock, SignedHydratedTransaction, Stake, StepIdentity, StepIdentityString, Transfer, TransferBalanceHistoryItem, TransferPair, XyoViewer } from '@xyo-network/xl1-protocol';
|
|
2
|
+
import type { AttoXL1, ChainId, ForkHistory, HydratedBlock, Position, SignedHydratedTransaction, Stake, StepIdentity, StepIdentityString, Transfer, TransferBalanceHistoryItem, TransferPair, XyoViewer } from '@xyo-network/xl1-protocol';
|
|
3
3
|
import type { RpcTransport } from '../../transport/index.ts';
|
|
4
4
|
import type { XyoViewerRpcSchemas } from '../../types/index.ts';
|
|
5
5
|
export declare class JsonRpcXyoViewer implements XyoViewer {
|
|
@@ -34,7 +34,7 @@ export declare class JsonRpcXyoViewer implements XyoViewer {
|
|
|
34
34
|
networkStakeStepRewardsForPosition(position: number, range: [number, number]): Promise<Record<StepIdentityString, [bigint, bigint]>>;
|
|
35
35
|
networkStakeStepRewardsForRange(range: [number, number]): Promise<bigint>;
|
|
36
36
|
networkStakeStepRewardsForStepLevel(stepLevel: number, range: [number, number]): Promise<bigint>;
|
|
37
|
-
stakeById(id: number): Promise<
|
|
37
|
+
stakeById(id: number): Promise<Position>;
|
|
38
38
|
stakeByStaker(staker: Address, slot: number): Promise<Stake>;
|
|
39
39
|
stakedByStaker(staker: Address): Promise<Address[]>;
|
|
40
40
|
stakesByStaked(staked: Address): Promise<Stake[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonRpcXyoViewer.d.ts","sourceRoot":"","sources":["../../../../src/provider/viewer/JsonRpcXyoViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,WAAW,EACX,aAAa,EAAE,yBAAyB,
|
|
1
|
+
{"version":3,"file":"JsonRpcXyoViewer.d.ts","sourceRoot":"","sources":["../../../../src/provider/viewer/JsonRpcXyoViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,WAAW,EACX,aAAa,EAAE,QAAQ,EAAE,yBAAyB,EAClD,KAAK,EACL,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EACR,0BAA0B,EAC1B,YAAY,EACZ,SAAS,EACV,MAAM,2BAA2B,CAAA;AAGlC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,mBAAmB,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GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC;CAG5F"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NetworkStakeViewerMethods } from '@xyo-network/xl1-protocol';
|
|
2
|
+
export type NetworkStakeViewerMethodName = keyof NetworkStakeViewerMethods;
|
|
3
|
+
export type NetworkStakeViewerRpcMethodName = `networkStakeViewer_${NetworkStakeViewerMethodName}`;
|
|
4
|
+
export type NetworkStakeViewerRpcMethodHandlers = {
|
|
5
|
+
[K in NetworkStakeViewerMethodName as `networkStakeViewer_${K}`]: (params: Parameters<NetworkStakeViewerMethods[K]>) => ReturnType<NetworkStakeViewerMethods[K]>;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=NetworkStakeViewerRpc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkStakeViewerRpc.d.ts","sourceRoot":"","sources":["../../../src/types/NetworkStakeViewerRpc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAA;AAE1E,MAAM,MAAM,4BAA4B,GAAG,MAAM,yBAAyB,CAAA;AAE1E,MAAM,MAAM,+BAA+B,GAAG,sBAAsB,4BAA4B,EAAE,CAAA;AAGlG,MAAM,MAAM,mCAAmC,GAAG;KAC/C,CAAC,IAAI,4BAA4B,IAAI,sBAAsB,CAAC,EAAE,GAAG,CAChE,MAAM,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,KAC7C,UAAU,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC;CAC9C,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { StepViewerMethods } from '@xyo-network/xl1-protocol';
|
|
2
|
+
export type StepViewerMethodName = keyof StepViewerMethods;
|
|
3
|
+
export type StepViewerRpcMethodName = `stepViewer_${StepViewerMethodName}`;
|
|
4
|
+
export type StepViewerRpcMethodHandlers = {
|
|
5
|
+
[K in StepViewerMethodName as `stepViewer_${K}`]: (params: Parameters<StepViewerMethods[K]>) => ReturnType<StepViewerMethods[K]>;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=StepViewerRpc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepViewerRpc.d.ts","sourceRoot":"","sources":["../../../src/types/StepViewerRpc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAElE,MAAM,MAAM,oBAAoB,GAAG,MAAM,iBAAiB,CAAA;AAE1D,MAAM,MAAM,uBAAuB,GAAG,cAAc,oBAAoB,EAAE,CAAA;AAG1E,MAAM,MAAM,2BAA2B,GAAG;KACvC,CAAC,IAAI,oBAAoB,IAAI,cAAc,CAAC,EAAE,GAAG,CAChD,MAAM,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,KACrC,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;CACtC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
|
@@ -1751,7 +1751,7 @@ export declare const AllRpcSchemas: {
|
|
|
1751
1751
|
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
1752
1752
|
addBlock: number;
|
|
1753
1753
|
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
1754
|
-
id:
|
|
1754
|
+
id: import("@xyo-network/xl1-protocol").PositionId;
|
|
1755
1755
|
removeBlock: number;
|
|
1756
1756
|
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
1757
1757
|
readonly __hex: true;
|
|
@@ -1865,7 +1865,7 @@ export declare const AllRpcSchemas: {
|
|
|
1865
1865
|
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
1866
1866
|
addBlock: number;
|
|
1867
1867
|
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
1868
|
-
id:
|
|
1868
|
+
id: import("@xyo-network/xl1-protocol").PositionId;
|
|
1869
1869
|
removeBlock: number;
|
|
1870
1870
|
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
1871
1871
|
readonly __hex: true;
|
|
@@ -2013,7 +2013,7 @@ export declare const AllRpcSchemas: {
|
|
|
2013
2013
|
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
2014
2014
|
addBlock: number;
|
|
2015
2015
|
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
2016
|
-
id:
|
|
2016
|
+
id: import("@xyo-network/xl1-protocol").PositionId;
|
|
2017
2017
|
removeBlock: number;
|
|
2018
2018
|
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
2019
2019
|
readonly __hex: true;
|
|
@@ -2135,7 +2135,7 @@ export declare const AllRpcSchemas: {
|
|
|
2135
2135
|
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
2136
2136
|
addBlock: number;
|
|
2137
2137
|
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
2138
|
-
id:
|
|
2138
|
+
id: import("@xyo-network/xl1-protocol").PositionId;
|
|
2139
2139
|
removeBlock: number;
|
|
2140
2140
|
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
2141
2141
|
readonly __hex: true;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
export declare const NetworkStakeViewerRpcSchemas: {
|
|
3
|
+
stake: {
|
|
4
|
+
params: {
|
|
5
|
+
from: z.ZodTuple<[z.ZodOptional<z.ZodNumber>], null>;
|
|
6
|
+
to: z.ZodTuple<[z.ZodOptional<z.ZodNumber>], null>;
|
|
7
|
+
};
|
|
8
|
+
result: {
|
|
9
|
+
from: z.ZodPipe<z.ZodBigInt, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
10
|
+
readonly __hex: true;
|
|
11
|
+
}>, bigint>>;
|
|
12
|
+
to: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
13
|
+
readonly __hex: true;
|
|
14
|
+
}>, string>>, z.ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
15
|
+
readonly __hex: true;
|
|
16
|
+
}>>>;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=NetworkStakeViewerRpcSchemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkStakeViewerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/NetworkStakeViewerRpcSchemas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAMxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;CAWa,CAAA"}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const StepViewerRpcSchemas: {
|
|
3
|
+
randomizer: {
|
|
4
|
+
params: {
|
|
5
|
+
from: z.ZodTuple<[z.ZodObject<{
|
|
6
|
+
block: z.ZodNumber;
|
|
7
|
+
step: z.ZodNumber;
|
|
8
|
+
}, z.z.core.$strip>], null>;
|
|
9
|
+
to: z.ZodTuple<[z.ZodObject<{
|
|
10
|
+
block: z.ZodNumber;
|
|
11
|
+
step: z.ZodNumber;
|
|
12
|
+
}, z.z.core.$strip>], null>;
|
|
13
|
+
};
|
|
14
|
+
result: {
|
|
15
|
+
from: z.ZodPipe<z.ZodBigInt, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
16
|
+
readonly __hex: true;
|
|
17
|
+
}>, bigint>>;
|
|
18
|
+
to: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
19
|
+
readonly __hex: true;
|
|
20
|
+
}>, string>>, z.ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
21
|
+
readonly __hex: true;
|
|
22
|
+
}>>>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
stake: {
|
|
26
|
+
params: {
|
|
27
|
+
from: z.ZodTuple<[z.ZodObject<{
|
|
28
|
+
block: z.ZodNumber;
|
|
29
|
+
step: z.ZodNumber;
|
|
30
|
+
}, z.z.core.$strip>], null>;
|
|
31
|
+
to: z.ZodTuple<[z.ZodObject<{
|
|
32
|
+
block: z.ZodNumber;
|
|
33
|
+
step: z.ZodNumber;
|
|
34
|
+
}, z.z.core.$strip>], null>;
|
|
35
|
+
};
|
|
36
|
+
result: {
|
|
37
|
+
from: z.ZodPipe<z.ZodBigInt, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
38
|
+
readonly __hex: true;
|
|
39
|
+
}>, bigint>>;
|
|
40
|
+
to: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
41
|
+
readonly __hex: true;
|
|
42
|
+
}>, string>>, z.ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
43
|
+
readonly __hex: true;
|
|
44
|
+
}>>>;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
stakers: {
|
|
48
|
+
params: {
|
|
49
|
+
from: z.ZodTuple<[z.ZodObject<{
|
|
50
|
+
block: z.ZodNumber;
|
|
51
|
+
step: z.ZodNumber;
|
|
52
|
+
}, z.z.core.$strip>], null>;
|
|
53
|
+
to: z.ZodTuple<[z.ZodObject<{
|
|
54
|
+
block: z.ZodNumber;
|
|
55
|
+
step: z.ZodNumber;
|
|
56
|
+
}, z.z.core.$strip>], null>;
|
|
57
|
+
};
|
|
58
|
+
result: {
|
|
59
|
+
from: z.ZodArray<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
60
|
+
readonly __hex: true;
|
|
61
|
+
}>, {
|
|
62
|
+
readonly __address: true;
|
|
63
|
+
}>, unknown, z.z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
64
|
+
readonly __hex: true;
|
|
65
|
+
}>, {
|
|
66
|
+
readonly __address: true;
|
|
67
|
+
}>, unknown>>>;
|
|
68
|
+
to: z.ZodArray<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
69
|
+
readonly __hex: true;
|
|
70
|
+
}>, {
|
|
71
|
+
readonly __address: true;
|
|
72
|
+
}>, unknown, z.z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
73
|
+
readonly __hex: true;
|
|
74
|
+
}>, {
|
|
75
|
+
readonly __address: true;
|
|
76
|
+
}>, unknown>>>;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
weight: {
|
|
80
|
+
params: {
|
|
81
|
+
from: z.ZodTuple<[z.ZodObject<{
|
|
82
|
+
block: z.ZodNumber;
|
|
83
|
+
step: z.ZodNumber;
|
|
84
|
+
}, z.z.core.$strip>], null>;
|
|
85
|
+
to: z.ZodTuple<[z.ZodObject<{
|
|
86
|
+
block: z.ZodNumber;
|
|
87
|
+
step: z.ZodNumber;
|
|
88
|
+
}, z.z.core.$strip>], null>;
|
|
89
|
+
};
|
|
90
|
+
result: {
|
|
91
|
+
from: z.ZodPipe<z.ZodBigInt, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
92
|
+
readonly __hex: true;
|
|
93
|
+
}>, bigint>>;
|
|
94
|
+
to: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
95
|
+
readonly __hex: true;
|
|
96
|
+
}>, string>>, z.ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
97
|
+
readonly __hex: true;
|
|
98
|
+
}>>>;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
positionCount: {
|
|
102
|
+
params: {
|
|
103
|
+
from: z.ZodTuple<[z.ZodObject<{
|
|
104
|
+
block: z.ZodNumber;
|
|
105
|
+
step: z.ZodNumber;
|
|
106
|
+
}, z.z.core.$strip>], null>;
|
|
107
|
+
to: z.ZodTuple<[z.ZodObject<{
|
|
108
|
+
block: z.ZodNumber;
|
|
109
|
+
step: z.ZodNumber;
|
|
110
|
+
}, z.z.core.$strip>], null>;
|
|
111
|
+
};
|
|
112
|
+
result: {
|
|
113
|
+
from: z.ZodNumber;
|
|
114
|
+
to: z.ZodNumber;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
positions: {
|
|
118
|
+
params: {
|
|
119
|
+
from: z.ZodTuple<[z.ZodObject<{
|
|
120
|
+
block: z.ZodNumber;
|
|
121
|
+
step: z.ZodNumber;
|
|
122
|
+
}, z.z.core.$strip>], null>;
|
|
123
|
+
to: z.ZodTuple<[z.ZodObject<{
|
|
124
|
+
block: z.ZodNumber;
|
|
125
|
+
step: z.ZodNumber;
|
|
126
|
+
}, z.z.core.$strip>], null>;
|
|
127
|
+
};
|
|
128
|
+
result: {
|
|
129
|
+
from: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
130
|
+
amount: z.ZodBigInt;
|
|
131
|
+
addBlock: z.ZodNumber;
|
|
132
|
+
id: z.ZodNumber;
|
|
133
|
+
removeBlock: z.ZodNumber;
|
|
134
|
+
staked: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
135
|
+
readonly __hex: true;
|
|
136
|
+
}>, {
|
|
137
|
+
readonly __address: true;
|
|
138
|
+
}>, string>>;
|
|
139
|
+
staker: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
140
|
+
readonly __hex: true;
|
|
141
|
+
}>, {
|
|
142
|
+
readonly __address: true;
|
|
143
|
+
}>, string>>;
|
|
144
|
+
withdrawBlock: z.ZodNumber;
|
|
145
|
+
}, z.z.core.$strip>, z.ZodTransform<{
|
|
146
|
+
addBlock: number;
|
|
147
|
+
amount: import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
148
|
+
readonly __hex: true;
|
|
149
|
+
}>;
|
|
150
|
+
id: number;
|
|
151
|
+
removeBlock: number;
|
|
152
|
+
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
153
|
+
readonly __hex: true;
|
|
154
|
+
}>, {
|
|
155
|
+
readonly __address: true;
|
|
156
|
+
}>;
|
|
157
|
+
staker: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
158
|
+
readonly __hex: true;
|
|
159
|
+
}>, {
|
|
160
|
+
readonly __address: true;
|
|
161
|
+
}>;
|
|
162
|
+
withdrawBlock: number;
|
|
163
|
+
}, {
|
|
164
|
+
amount: bigint;
|
|
165
|
+
addBlock: number;
|
|
166
|
+
id: number;
|
|
167
|
+
removeBlock: number;
|
|
168
|
+
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
169
|
+
readonly __hex: true;
|
|
170
|
+
}>, {
|
|
171
|
+
readonly __address: true;
|
|
172
|
+
}>;
|
|
173
|
+
staker: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
174
|
+
readonly __hex: true;
|
|
175
|
+
}>, {
|
|
176
|
+
readonly __address: true;
|
|
177
|
+
}>;
|
|
178
|
+
withdrawBlock: number;
|
|
179
|
+
}>>>;
|
|
180
|
+
to: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
181
|
+
addBlock: z.ZodNumber;
|
|
182
|
+
id: z.ZodNumber;
|
|
183
|
+
removeBlock: z.ZodNumber;
|
|
184
|
+
staked: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
185
|
+
readonly __hex: true;
|
|
186
|
+
}>, {
|
|
187
|
+
readonly __address: true;
|
|
188
|
+
}>, string>>;
|
|
189
|
+
staker: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
190
|
+
readonly __hex: true;
|
|
191
|
+
}>, {
|
|
192
|
+
readonly __address: true;
|
|
193
|
+
}>, string>>;
|
|
194
|
+
withdrawBlock: z.ZodNumber;
|
|
195
|
+
amount: z.ZodType<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
196
|
+
readonly __hex: true;
|
|
197
|
+
}>, unknown, z.z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
198
|
+
readonly __hex: true;
|
|
199
|
+
}>, unknown>>;
|
|
200
|
+
}, z.z.core.$strip>, z.ZodTransform<{
|
|
201
|
+
addBlock: number;
|
|
202
|
+
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
203
|
+
id: import("@xyo-network/xl1-protocol").PositionId;
|
|
204
|
+
removeBlock: number;
|
|
205
|
+
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
206
|
+
readonly __hex: true;
|
|
207
|
+
}>, {
|
|
208
|
+
readonly __address: true;
|
|
209
|
+
}>;
|
|
210
|
+
staker: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
211
|
+
readonly __hex: true;
|
|
212
|
+
}>, {
|
|
213
|
+
readonly __address: true;
|
|
214
|
+
}>;
|
|
215
|
+
withdrawBlock: number;
|
|
216
|
+
}, {
|
|
217
|
+
addBlock: number;
|
|
218
|
+
id: number;
|
|
219
|
+
removeBlock: number;
|
|
220
|
+
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
221
|
+
readonly __hex: true;
|
|
222
|
+
}>, {
|
|
223
|
+
readonly __address: true;
|
|
224
|
+
}>;
|
|
225
|
+
staker: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
226
|
+
readonly __hex: true;
|
|
227
|
+
}>, {
|
|
228
|
+
readonly __address: true;
|
|
229
|
+
}>;
|
|
230
|
+
withdrawBlock: number;
|
|
231
|
+
amount: import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
232
|
+
readonly __hex: true;
|
|
233
|
+
}>;
|
|
234
|
+
}>>>;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
stakerCount: {
|
|
238
|
+
params: {
|
|
239
|
+
from: z.ZodTuple<[z.ZodObject<{
|
|
240
|
+
block: z.ZodNumber;
|
|
241
|
+
step: z.ZodNumber;
|
|
242
|
+
}, z.z.core.$strip>], null>;
|
|
243
|
+
to: z.ZodTuple<[z.ZodObject<{
|
|
244
|
+
block: z.ZodNumber;
|
|
245
|
+
step: z.ZodNumber;
|
|
246
|
+
}, z.z.core.$strip>], null>;
|
|
247
|
+
};
|
|
248
|
+
result: {
|
|
249
|
+
from: z.ZodNumber;
|
|
250
|
+
to: z.ZodNumber;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
//# sourceMappingURL=StepViewerRpcSchemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepViewerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/StepViewerRpcSchemas.ts"],"names":[],"mappings":"AAGA,OAAO,CAAC,MAAM,KAAK,CAAA;AAQnB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuEa,CAAA"}
|
|
@@ -1682,7 +1682,7 @@ export declare const XyoViewerRpcSchemas: {
|
|
|
1682
1682
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1683
1683
|
addBlock: number;
|
|
1684
1684
|
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
1685
|
-
id:
|
|
1685
|
+
id: import("@xyo-network/xl1-protocol").PositionId;
|
|
1686
1686
|
removeBlock: number;
|
|
1687
1687
|
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
1688
1688
|
readonly __hex: true;
|
|
@@ -1796,7 +1796,7 @@ export declare const XyoViewerRpcSchemas: {
|
|
|
1796
1796
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1797
1797
|
addBlock: number;
|
|
1798
1798
|
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
1799
|
-
id:
|
|
1799
|
+
id: import("@xyo-network/xl1-protocol").PositionId;
|
|
1800
1800
|
removeBlock: number;
|
|
1801
1801
|
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
1802
1802
|
readonly __hex: true;
|
|
@@ -1944,7 +1944,7 @@ export declare const XyoViewerRpcSchemas: {
|
|
|
1944
1944
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1945
1945
|
addBlock: number;
|
|
1946
1946
|
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
1947
|
-
id:
|
|
1947
|
+
id: import("@xyo-network/xl1-protocol").PositionId;
|
|
1948
1948
|
removeBlock: number;
|
|
1949
1949
|
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
1950
1950
|
readonly __hex: true;
|
|
@@ -2066,7 +2066,7 @@ export declare const XyoViewerRpcSchemas: {
|
|
|
2066
2066
|
}, z.core.$strip>, z.ZodTransform<{
|
|
2067
2067
|
addBlock: number;
|
|
2068
2068
|
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
2069
|
-
id:
|
|
2069
|
+
id: import("@xyo-network/xl1-protocol").PositionId;
|
|
2070
2070
|
removeBlock: number;
|
|
2071
2071
|
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
2072
2072
|
readonly __hex: true;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PositionId } from '@xyo-network/xl1-protocol';
|
|
1
2
|
import * as z from 'zod';
|
|
2
3
|
export declare const StakeZod: z.ZodObject<{
|
|
3
4
|
amount: z.ZodBigInt;
|
|
@@ -90,7 +91,7 @@ export declare const JsonToStakeZod: z.ZodPipe<z.ZodObject<{
|
|
|
90
91
|
}, z.core.$strip>, z.ZodTransform<{
|
|
91
92
|
addBlock: number;
|
|
92
93
|
amount: import("@xyo-network/xl1-protocol").AttoXL1;
|
|
93
|
-
id:
|
|
94
|
+
id: PositionId;
|
|
94
95
|
removeBlock: number;
|
|
95
96
|
staked: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
96
97
|
readonly __hex: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stake.d.ts","sourceRoot":"","sources":["../../../../../src/types/schema/common/Stake.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAOxB,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;iBAcnB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQxB,CAAA;AAEH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"Stake.d.ts","sourceRoot":"","sources":["../../../../../src/types/schema/common/Stake.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAOxB,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;iBAcnB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQxB,CAAA;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;QAGX,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKvB,CAAA"}
|
|
@@ -2,6 +2,7 @@ export * from './AllRpcSchemas.ts';
|
|
|
2
2
|
export * from './common/index.ts';
|
|
3
3
|
export * from './createRequestSchema.ts';
|
|
4
4
|
export * from './createResponseSchema.ts';
|
|
5
|
+
export * from './NetworkStakeViewerRpcSchemas.ts';
|
|
5
6
|
export * from './RpcSchemaMap.ts';
|
|
6
7
|
export * from './XyoPermissionsRpcSchemas.ts';
|
|
7
8
|
export * from './XyoProviderRpcSchemas.ts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mCAAmC,CAAA;AACjD,cAAc,mBAAmB,CAAA;AACjC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA"}
|
package/dist/node/index-node.mjs
CHANGED
|
@@ -1391,6 +1391,26 @@ var createResponseSchema = /* @__PURE__ */ __name((resultSchema = z23.undefined(
|
|
|
1391
1391
|
result: resultSchema
|
|
1392
1392
|
}), "createResponseSchema");
|
|
1393
1393
|
|
|
1394
|
+
// src/types/schema/NetworkStakeViewerRpcSchemas.ts
|
|
1395
|
+
import { BigIntToJsonZod as BigIntToJsonZod4, JsonToBigIntZod as JsonToBigIntZod3 } from "@xylabs/hex";
|
|
1396
|
+
import * as z24 from "zod";
|
|
1397
|
+
var NetworkStakeViewerRpcSchemas = {
|
|
1398
|
+
stake: {
|
|
1399
|
+
params: {
|
|
1400
|
+
from: z24.tuple([
|
|
1401
|
+
BlockNumberZod.optional()
|
|
1402
|
+
]),
|
|
1403
|
+
to: z24.tuple([
|
|
1404
|
+
BlockNumberZod.optional()
|
|
1405
|
+
])
|
|
1406
|
+
},
|
|
1407
|
+
result: {
|
|
1408
|
+
from: BigIntToJsonZod4,
|
|
1409
|
+
to: JsonToBigIntZod3
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1394
1414
|
// src/engine/rpcEngineFromConnection.ts
|
|
1395
1415
|
var rpcEngineFromConnection = /* @__PURE__ */ __name((connection) => {
|
|
1396
1416
|
const engine = new JsonRpcEngine();
|
|
@@ -2504,6 +2524,7 @@ export {
|
|
|
2504
2524
|
MemoryXyoPermissions,
|
|
2505
2525
|
MemoryXyoRunner,
|
|
2506
2526
|
MemoryXyoSigner,
|
|
2527
|
+
NetworkStakeViewerRpcSchemas,
|
|
2507
2528
|
NodeXyoRunner,
|
|
2508
2529
|
PayloadWithStorageMetaZod,
|
|
2509
2530
|
PayloadZod,
|