@chainflip/rpc 1.6.0 → 1.6.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.
- package/dist/common.d.cts +678 -0
- package/dist/common.d.ts +678 -0
- package/dist/constants.cjs +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/parsers.cjs +11 -1
- package/dist/parsers.d.cts +1356 -0
- package/dist/parsers.d.ts +1356 -0
- package/dist/parsers.mjs +11 -1
- package/package.json +1 -1
package/dist/constants.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/constants.ts
|
|
2
2
|
var PUBLIC_RPC_ENDPOINTS = {
|
|
3
|
-
mainnet: "https://mainnet
|
|
3
|
+
mainnet: "https://rpc.mainnet.chainflip.io",
|
|
4
4
|
perseverance: "https://archive.perseverance.chainflip.io",
|
|
5
5
|
sisyphos: "https://archive.sisyphos.chainflip.io",
|
|
6
6
|
backspin: "https://backspin-rpc.staging"
|
package/dist/constants.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/constants.ts
|
|
2
2
|
var PUBLIC_RPC_ENDPOINTS = {
|
|
3
|
-
mainnet: "https://mainnet
|
|
3
|
+
mainnet: "https://rpc.mainnet.chainflip.io",
|
|
4
4
|
perseverance: "https://archive.perseverance.chainflip.io",
|
|
5
5
|
sisyphos: "https://archive.sisyphos.chainflip.io",
|
|
6
6
|
backspin: "https://backspin-rpc.staging"
|
package/dist/parsers.cjs
CHANGED
|
@@ -147,12 +147,22 @@ var broker = _zod.z.object({
|
|
|
147
147
|
flip_balance: numberOrHex,
|
|
148
148
|
earned_fees: chainAssetMapFactory(numberOrHex, 0)
|
|
149
149
|
});
|
|
150
|
+
var boostBalances = _zod.z.array(
|
|
151
|
+
_zod.z.object({
|
|
152
|
+
fee_tier: _zod.z.number(),
|
|
153
|
+
total_balance: u256,
|
|
154
|
+
available_balance: u256,
|
|
155
|
+
in_use_balance: u256,
|
|
156
|
+
is_withdrawing: _zod.z.boolean()
|
|
157
|
+
})
|
|
158
|
+
);
|
|
150
159
|
var liquidityProvider = _zod.z.object({
|
|
151
160
|
role: _zod.z.literal("liquidity_provider"),
|
|
152
161
|
balances: chainAssetMapFactory(numberOrHex, "0x0"),
|
|
153
162
|
refund_addresses: chainMapFactory(_zod.z.string().nullable(), null),
|
|
154
163
|
flip_balance: numberOrHex,
|
|
155
|
-
earned_fees: chainAssetMapFactory(numberOrHex, 0)
|
|
164
|
+
earned_fees: chainAssetMapFactory(numberOrHex, 0),
|
|
165
|
+
boost_balances: chainAssetMapFactory(boostBalances, [])
|
|
156
166
|
});
|
|
157
167
|
var validator = _zod.z.object({
|
|
158
168
|
role: _zod.z.literal("validator"),
|