@chainflip/rpc 1.11.0-beta.7 → 1.11.0-beta.8

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 CHANGED
@@ -1055,7 +1055,7 @@ declare const rpcResult: {
1055
1055
  }>;
1056
1056
  allowed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
1057
1057
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
1058
- active_delegation: z.ZodObject<{
1058
+ active_delegation: z.ZodOptional<z.ZodObject<{
1059
1059
  operator: z.ZodEffects<z.ZodString, `cF${string}`, string>;
1060
1060
  validators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1061
1061
  delegators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
@@ -1070,7 +1070,7 @@ declare const rpcResult: {
1070
1070
  delegators: Record<string, string | number>;
1071
1071
  validators: Record<string, string | number>;
1072
1072
  delegation_fee_bps: number;
1073
- }>;
1073
+ }>>;
1074
1074
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1075
1075
  asset_balances: z.ZodObject<{
1076
1076
  Bitcoin: z.ZodObject<{
@@ -1254,12 +1254,6 @@ declare const rpcResult: {
1254
1254
  };
1255
1255
  allowed: `cF${string}`[];
1256
1256
  blocked: `cF${string}`[];
1257
- active_delegation: {
1258
- operator: `cF${string}`;
1259
- delegators: Partial<Record<`cF${string}`, bigint>>;
1260
- validators: Partial<Record<`cF${string}`, bigint>>;
1261
- delegation_fee_bps: number;
1262
- };
1263
1257
  bound_redeem_address?: `0x${string}` | undefined;
1264
1258
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
1265
1259
  current_delegation_status?: {
@@ -1270,6 +1264,12 @@ declare const rpcResult: {
1270
1264
  operator: `cF${string}`;
1271
1265
  bid: bigint;
1272
1266
  } | undefined;
1267
+ active_delegation?: {
1268
+ operator: `cF${string}`;
1269
+ delegators: Partial<Record<`cF${string}`, bigint>>;
1270
+ validators: Partial<Record<`cF${string}`, bigint>>;
1271
+ delegation_fee_bps: number;
1272
+ } | undefined;
1273
1273
  }, {
1274
1274
  role: "operator";
1275
1275
  flip_balance: string | number;
@@ -1308,12 +1308,6 @@ declare const rpcResult: {
1308
1308
  fee_bps: number;
1309
1309
  delegation_acceptance: "Allow" | "Deny";
1310
1310
  };
1311
- active_delegation: {
1312
- operator: string;
1313
- delegators: Record<string, string | number>;
1314
- validators: Record<string, string | number>;
1315
- delegation_fee_bps: number;
1316
- };
1317
1311
  bound_redeem_address?: string | undefined;
1318
1312
  restricted_balances?: Record<string, string | number> | undefined;
1319
1313
  current_delegation_status?: {
@@ -1326,6 +1320,12 @@ declare const rpcResult: {
1326
1320
  } | undefined;
1327
1321
  allowed?: string[] | undefined;
1328
1322
  blocked?: string[] | undefined;
1323
+ active_delegation?: {
1324
+ operator: string;
1325
+ delegators: Record<string, string | number>;
1326
+ validators: Record<string, string | number>;
1327
+ delegation_fee_bps: number;
1328
+ } | undefined;
1329
1329
  }>, z.ZodObject<{
1330
1330
  refund_addresses: z.ZodObject<{
1331
1331
  Bitcoin: z.ZodNullable<z.ZodString>;
@@ -3103,12 +3103,6 @@ declare const rpcResult: {
3103
3103
  estimated_redeemable_balance: bigint;
3104
3104
  allowed: `cF${string}`[];
3105
3105
  blocked: `cF${string}`[];
3106
- active_delegation: {
3107
- operator: `cF${string}`;
3108
- delegators: Partial<Record<`cF${string}`, bigint>>;
3109
- validators: Partial<Record<`cF${string}`, bigint>>;
3110
- delegation_fee_bps: number;
3111
- };
3112
3106
  bound_redeem_address?: `0x${string}` | undefined;
3113
3107
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3114
3108
  current_delegation_status?: {
@@ -3119,6 +3113,12 @@ declare const rpcResult: {
3119
3113
  operator: `cF${string}`;
3120
3114
  bid: bigint;
3121
3115
  } | undefined;
3116
+ active_delegation?: {
3117
+ operator: `cF${string}`;
3118
+ delegators: Partial<Record<`cF${string}`, bigint>>;
3119
+ validators: Partial<Record<`cF${string}`, bigint>>;
3120
+ delegation_fee_bps: number;
3121
+ } | undefined;
3122
3122
  } | {
3123
3123
  balances: {
3124
3124
  Bitcoin: {
@@ -3483,12 +3483,6 @@ declare const rpcResult: {
3483
3483
  fee_bps: number;
3484
3484
  delegation_acceptance: "Allow" | "Deny";
3485
3485
  };
3486
- active_delegation: {
3487
- operator: string;
3488
- delegators: Record<string, string | number>;
3489
- validators: Record<string, string | number>;
3490
- delegation_fee_bps: number;
3491
- };
3492
3486
  bound_redeem_address?: string | undefined;
3493
3487
  restricted_balances?: Record<string, string | number> | undefined;
3494
3488
  current_delegation_status?: {
@@ -3501,6 +3495,12 @@ declare const rpcResult: {
3501
3495
  } | undefined;
3502
3496
  allowed?: string[] | undefined;
3503
3497
  blocked?: string[] | undefined;
3498
+ active_delegation?: {
3499
+ operator: string;
3500
+ delegators: Record<string, string | number>;
3501
+ validators: Record<string, string | number>;
3502
+ delegation_fee_bps: number;
3503
+ } | undefined;
3504
3504
  } | {
3505
3505
  role: "liquidity_provider";
3506
3506
  flip_balance: string | number;
package/dist/common.d.ts CHANGED
@@ -1055,7 +1055,7 @@ declare const rpcResult: {
1055
1055
  }>;
1056
1056
  allowed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
1057
1057
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
1058
- active_delegation: z.ZodObject<{
1058
+ active_delegation: z.ZodOptional<z.ZodObject<{
1059
1059
  operator: z.ZodEffects<z.ZodString, `cF${string}`, string>;
1060
1060
  validators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1061
1061
  delegators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
@@ -1070,7 +1070,7 @@ declare const rpcResult: {
1070
1070
  delegators: Record<string, string | number>;
1071
1071
  validators: Record<string, string | number>;
1072
1072
  delegation_fee_bps: number;
1073
- }>;
1073
+ }>>;
1074
1074
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1075
1075
  asset_balances: z.ZodObject<{
1076
1076
  Bitcoin: z.ZodObject<{
@@ -1254,12 +1254,6 @@ declare const rpcResult: {
1254
1254
  };
1255
1255
  allowed: `cF${string}`[];
1256
1256
  blocked: `cF${string}`[];
1257
- active_delegation: {
1258
- operator: `cF${string}`;
1259
- delegators: Partial<Record<`cF${string}`, bigint>>;
1260
- validators: Partial<Record<`cF${string}`, bigint>>;
1261
- delegation_fee_bps: number;
1262
- };
1263
1257
  bound_redeem_address?: `0x${string}` | undefined;
1264
1258
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
1265
1259
  current_delegation_status?: {
@@ -1270,6 +1264,12 @@ declare const rpcResult: {
1270
1264
  operator: `cF${string}`;
1271
1265
  bid: bigint;
1272
1266
  } | undefined;
1267
+ active_delegation?: {
1268
+ operator: `cF${string}`;
1269
+ delegators: Partial<Record<`cF${string}`, bigint>>;
1270
+ validators: Partial<Record<`cF${string}`, bigint>>;
1271
+ delegation_fee_bps: number;
1272
+ } | undefined;
1273
1273
  }, {
1274
1274
  role: "operator";
1275
1275
  flip_balance: string | number;
@@ -1308,12 +1308,6 @@ declare const rpcResult: {
1308
1308
  fee_bps: number;
1309
1309
  delegation_acceptance: "Allow" | "Deny";
1310
1310
  };
1311
- active_delegation: {
1312
- operator: string;
1313
- delegators: Record<string, string | number>;
1314
- validators: Record<string, string | number>;
1315
- delegation_fee_bps: number;
1316
- };
1317
1311
  bound_redeem_address?: string | undefined;
1318
1312
  restricted_balances?: Record<string, string | number> | undefined;
1319
1313
  current_delegation_status?: {
@@ -1326,6 +1320,12 @@ declare const rpcResult: {
1326
1320
  } | undefined;
1327
1321
  allowed?: string[] | undefined;
1328
1322
  blocked?: string[] | undefined;
1323
+ active_delegation?: {
1324
+ operator: string;
1325
+ delegators: Record<string, string | number>;
1326
+ validators: Record<string, string | number>;
1327
+ delegation_fee_bps: number;
1328
+ } | undefined;
1329
1329
  }>, z.ZodObject<{
1330
1330
  refund_addresses: z.ZodObject<{
1331
1331
  Bitcoin: z.ZodNullable<z.ZodString>;
@@ -3103,12 +3103,6 @@ declare const rpcResult: {
3103
3103
  estimated_redeemable_balance: bigint;
3104
3104
  allowed: `cF${string}`[];
3105
3105
  blocked: `cF${string}`[];
3106
- active_delegation: {
3107
- operator: `cF${string}`;
3108
- delegators: Partial<Record<`cF${string}`, bigint>>;
3109
- validators: Partial<Record<`cF${string}`, bigint>>;
3110
- delegation_fee_bps: number;
3111
- };
3112
3106
  bound_redeem_address?: `0x${string}` | undefined;
3113
3107
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3114
3108
  current_delegation_status?: {
@@ -3119,6 +3113,12 @@ declare const rpcResult: {
3119
3113
  operator: `cF${string}`;
3120
3114
  bid: bigint;
3121
3115
  } | undefined;
3116
+ active_delegation?: {
3117
+ operator: `cF${string}`;
3118
+ delegators: Partial<Record<`cF${string}`, bigint>>;
3119
+ validators: Partial<Record<`cF${string}`, bigint>>;
3120
+ delegation_fee_bps: number;
3121
+ } | undefined;
3122
3122
  } | {
3123
3123
  balances: {
3124
3124
  Bitcoin: {
@@ -3483,12 +3483,6 @@ declare const rpcResult: {
3483
3483
  fee_bps: number;
3484
3484
  delegation_acceptance: "Allow" | "Deny";
3485
3485
  };
3486
- active_delegation: {
3487
- operator: string;
3488
- delegators: Record<string, string | number>;
3489
- validators: Record<string, string | number>;
3490
- delegation_fee_bps: number;
3491
- };
3492
3486
  bound_redeem_address?: string | undefined;
3493
3487
  restricted_balances?: Record<string, string | number> | undefined;
3494
3488
  current_delegation_status?: {
@@ -3501,6 +3495,12 @@ declare const rpcResult: {
3501
3495
  } | undefined;
3502
3496
  allowed?: string[] | undefined;
3503
3497
  blocked?: string[] | undefined;
3498
+ active_delegation?: {
3499
+ operator: string;
3500
+ delegators: Record<string, string | number>;
3501
+ validators: Record<string, string | number>;
3502
+ delegation_fee_bps: number;
3503
+ } | undefined;
3504
3504
  } | {
3505
3505
  role: "liquidity_provider";
3506
3506
  flip_balance: string | number;
package/dist/parsers.cjs CHANGED
@@ -260,7 +260,7 @@ var operator = _zod.z.object({
260
260
  validators: _zod.z.record(accountId, numberOrHex),
261
261
  delegators: _zod.z.record(accountId, numberOrHex),
262
262
  delegation_fee_bps: _zod.z.number()
263
- })
263
+ }).optional()
264
264
  });
265
265
  var boostBalances = _zod.z.array(
266
266
  _zod.z.object({
@@ -18149,7 +18149,7 @@ declare const operator: z.ZodObject<{
18149
18149
  }>;
18150
18150
  allowed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
18151
18151
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
18152
- active_delegation: z.ZodObject<{
18152
+ active_delegation: z.ZodOptional<z.ZodObject<{
18153
18153
  operator: z.ZodEffects<z.ZodString, `cF${string}`, string>;
18154
18154
  validators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
18155
18155
  delegators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
@@ -18164,7 +18164,7 @@ declare const operator: z.ZodObject<{
18164
18164
  delegators: Record<string, string | number>;
18165
18165
  validators: Record<string, string | number>;
18166
18166
  delegation_fee_bps: number;
18167
- }>;
18167
+ }>>;
18168
18168
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
18169
18169
  asset_balances: z.ZodObject<{
18170
18170
  Bitcoin: z.ZodObject<{
@@ -18348,12 +18348,6 @@ declare const operator: z.ZodObject<{
18348
18348
  };
18349
18349
  allowed: `cF${string}`[];
18350
18350
  blocked: `cF${string}`[];
18351
- active_delegation: {
18352
- operator: `cF${string}`;
18353
- delegators: Partial<Record<`cF${string}`, bigint>>;
18354
- validators: Partial<Record<`cF${string}`, bigint>>;
18355
- delegation_fee_bps: number;
18356
- };
18357
18351
  bound_redeem_address?: `0x${string}` | undefined;
18358
18352
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
18359
18353
  current_delegation_status?: {
@@ -18364,6 +18358,12 @@ declare const operator: z.ZodObject<{
18364
18358
  operator: `cF${string}`;
18365
18359
  bid: bigint;
18366
18360
  } | undefined;
18361
+ active_delegation?: {
18362
+ operator: `cF${string}`;
18363
+ delegators: Partial<Record<`cF${string}`, bigint>>;
18364
+ validators: Partial<Record<`cF${string}`, bigint>>;
18365
+ delegation_fee_bps: number;
18366
+ } | undefined;
18367
18367
  }, {
18368
18368
  role: "operator";
18369
18369
  flip_balance: string | number;
@@ -18402,12 +18402,6 @@ declare const operator: z.ZodObject<{
18402
18402
  fee_bps: number;
18403
18403
  delegation_acceptance: "Allow" | "Deny";
18404
18404
  };
18405
- active_delegation: {
18406
- operator: string;
18407
- delegators: Record<string, string | number>;
18408
- validators: Record<string, string | number>;
18409
- delegation_fee_bps: number;
18410
- };
18411
18405
  bound_redeem_address?: string | undefined;
18412
18406
  restricted_balances?: Record<string, string | number> | undefined;
18413
18407
  current_delegation_status?: {
@@ -18420,6 +18414,12 @@ declare const operator: z.ZodObject<{
18420
18414
  } | undefined;
18421
18415
  allowed?: string[] | undefined;
18422
18416
  blocked?: string[] | undefined;
18417
+ active_delegation?: {
18418
+ operator: string;
18419
+ delegators: Record<string, string | number>;
18420
+ validators: Record<string, string | number>;
18421
+ delegation_fee_bps: number;
18422
+ } | undefined;
18423
18423
  }>;
18424
18424
  declare const oldLiquidityProvider: z.ZodObject<{
18425
18425
  role: z.ZodLiteral<"liquidity_provider">;
@@ -21974,7 +21974,7 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
21974
21974
  }>;
21975
21975
  allowed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
21976
21976
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
21977
- active_delegation: z.ZodObject<{
21977
+ active_delegation: z.ZodOptional<z.ZodObject<{
21978
21978
  operator: z.ZodEffects<z.ZodString, `cF${string}`, string>;
21979
21979
  validators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
21980
21980
  delegators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
@@ -21989,7 +21989,7 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
21989
21989
  delegators: Record<string, string | number>;
21990
21990
  validators: Record<string, string | number>;
21991
21991
  delegation_fee_bps: number;
21992
- }>;
21992
+ }>>;
21993
21993
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
21994
21994
  asset_balances: z.ZodObject<{
21995
21995
  Bitcoin: z.ZodObject<{
@@ -22173,12 +22173,6 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
22173
22173
  };
22174
22174
  allowed: `cF${string}`[];
22175
22175
  blocked: `cF${string}`[];
22176
- active_delegation: {
22177
- operator: `cF${string}`;
22178
- delegators: Partial<Record<`cF${string}`, bigint>>;
22179
- validators: Partial<Record<`cF${string}`, bigint>>;
22180
- delegation_fee_bps: number;
22181
- };
22182
22176
  bound_redeem_address?: `0x${string}` | undefined;
22183
22177
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
22184
22178
  current_delegation_status?: {
@@ -22189,6 +22183,12 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
22189
22183
  operator: `cF${string}`;
22190
22184
  bid: bigint;
22191
22185
  } | undefined;
22186
+ active_delegation?: {
22187
+ operator: `cF${string}`;
22188
+ delegators: Partial<Record<`cF${string}`, bigint>>;
22189
+ validators: Partial<Record<`cF${string}`, bigint>>;
22190
+ delegation_fee_bps: number;
22191
+ } | undefined;
22192
22192
  }, {
22193
22193
  role: "operator";
22194
22194
  flip_balance: string | number;
@@ -22227,12 +22227,6 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
22227
22227
  fee_bps: number;
22228
22228
  delegation_acceptance: "Allow" | "Deny";
22229
22229
  };
22230
- active_delegation: {
22231
- operator: string;
22232
- delegators: Record<string, string | number>;
22233
- validators: Record<string, string | number>;
22234
- delegation_fee_bps: number;
22235
- };
22236
22230
  bound_redeem_address?: string | undefined;
22237
22231
  restricted_balances?: Record<string, string | number> | undefined;
22238
22232
  current_delegation_status?: {
@@ -22245,6 +22239,12 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
22245
22239
  } | undefined;
22246
22240
  allowed?: string[] | undefined;
22247
22241
  blocked?: string[] | undefined;
22242
+ active_delegation?: {
22243
+ operator: string;
22244
+ delegators: Record<string, string | number>;
22245
+ validators: Record<string, string | number>;
22246
+ delegation_fee_bps: number;
22247
+ } | undefined;
22248
22248
  }>, z.ZodObject<{
22249
22249
  refund_addresses: z.ZodObject<{
22250
22250
  Bitcoin: z.ZodNullable<z.ZodString>;
@@ -24022,12 +24022,6 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
24022
24022
  estimated_redeemable_balance: bigint;
24023
24023
  allowed: `cF${string}`[];
24024
24024
  blocked: `cF${string}`[];
24025
- active_delegation: {
24026
- operator: `cF${string}`;
24027
- delegators: Partial<Record<`cF${string}`, bigint>>;
24028
- validators: Partial<Record<`cF${string}`, bigint>>;
24029
- delegation_fee_bps: number;
24030
- };
24031
24025
  bound_redeem_address?: `0x${string}` | undefined;
24032
24026
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
24033
24027
  current_delegation_status?: {
@@ -24038,6 +24032,12 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
24038
24032
  operator: `cF${string}`;
24039
24033
  bid: bigint;
24040
24034
  } | undefined;
24035
+ active_delegation?: {
24036
+ operator: `cF${string}`;
24037
+ delegators: Partial<Record<`cF${string}`, bigint>>;
24038
+ validators: Partial<Record<`cF${string}`, bigint>>;
24039
+ delegation_fee_bps: number;
24040
+ } | undefined;
24041
24041
  } | {
24042
24042
  balances: {
24043
24043
  Bitcoin: {
@@ -24402,12 +24402,6 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
24402
24402
  fee_bps: number;
24403
24403
  delegation_acceptance: "Allow" | "Deny";
24404
24404
  };
24405
- active_delegation: {
24406
- operator: string;
24407
- delegators: Record<string, string | number>;
24408
- validators: Record<string, string | number>;
24409
- delegation_fee_bps: number;
24410
- };
24411
24405
  bound_redeem_address?: string | undefined;
24412
24406
  restricted_balances?: Record<string, string | number> | undefined;
24413
24407
  current_delegation_status?: {
@@ -24420,6 +24414,12 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
24420
24414
  } | undefined;
24421
24415
  allowed?: string[] | undefined;
24422
24416
  blocked?: string[] | undefined;
24417
+ active_delegation?: {
24418
+ operator: string;
24419
+ delegators: Record<string, string | number>;
24420
+ validators: Record<string, string | number>;
24421
+ delegation_fee_bps: number;
24422
+ } | undefined;
24423
24423
  } | {
24424
24424
  role: "liquidity_provider";
24425
24425
  flip_balance: string | number;
@@ -27026,7 +27026,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27026
27026
  }>;
27027
27027
  allowed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
27028
27028
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
27029
- active_delegation: z.ZodObject<{
27029
+ active_delegation: z.ZodOptional<z.ZodObject<{
27030
27030
  operator: z.ZodEffects<z.ZodString, `cF${string}`, string>;
27031
27031
  validators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
27032
27032
  delegators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
@@ -27041,7 +27041,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27041
27041
  delegators: Record<string, string | number>;
27042
27042
  validators: Record<string, string | number>;
27043
27043
  delegation_fee_bps: number;
27044
- }>;
27044
+ }>>;
27045
27045
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
27046
27046
  asset_balances: z.ZodObject<{
27047
27047
  Bitcoin: z.ZodObject<{
@@ -27225,12 +27225,6 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27225
27225
  };
27226
27226
  allowed: `cF${string}`[];
27227
27227
  blocked: `cF${string}`[];
27228
- active_delegation: {
27229
- operator: `cF${string}`;
27230
- delegators: Partial<Record<`cF${string}`, bigint>>;
27231
- validators: Partial<Record<`cF${string}`, bigint>>;
27232
- delegation_fee_bps: number;
27233
- };
27234
27228
  bound_redeem_address?: `0x${string}` | undefined;
27235
27229
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
27236
27230
  current_delegation_status?: {
@@ -27241,6 +27235,12 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27241
27235
  operator: `cF${string}`;
27242
27236
  bid: bigint;
27243
27237
  } | undefined;
27238
+ active_delegation?: {
27239
+ operator: `cF${string}`;
27240
+ delegators: Partial<Record<`cF${string}`, bigint>>;
27241
+ validators: Partial<Record<`cF${string}`, bigint>>;
27242
+ delegation_fee_bps: number;
27243
+ } | undefined;
27244
27244
  }, {
27245
27245
  role: "operator";
27246
27246
  flip_balance: string | number;
@@ -27279,12 +27279,6 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27279
27279
  fee_bps: number;
27280
27280
  delegation_acceptance: "Allow" | "Deny";
27281
27281
  };
27282
- active_delegation: {
27283
- operator: string;
27284
- delegators: Record<string, string | number>;
27285
- validators: Record<string, string | number>;
27286
- delegation_fee_bps: number;
27287
- };
27288
27282
  bound_redeem_address?: string | undefined;
27289
27283
  restricted_balances?: Record<string, string | number> | undefined;
27290
27284
  current_delegation_status?: {
@@ -27297,6 +27291,12 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27297
27291
  } | undefined;
27298
27292
  allowed?: string[] | undefined;
27299
27293
  blocked?: string[] | undefined;
27294
+ active_delegation?: {
27295
+ operator: string;
27296
+ delegators: Record<string, string | number>;
27297
+ validators: Record<string, string | number>;
27298
+ delegation_fee_bps: number;
27299
+ } | undefined;
27300
27300
  }>, z.ZodObject<{
27301
27301
  refund_addresses: z.ZodObject<{
27302
27302
  Bitcoin: z.ZodNullable<z.ZodString>;
@@ -29074,12 +29074,6 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
29074
29074
  estimated_redeemable_balance: bigint;
29075
29075
  allowed: `cF${string}`[];
29076
29076
  blocked: `cF${string}`[];
29077
- active_delegation: {
29078
- operator: `cF${string}`;
29079
- delegators: Partial<Record<`cF${string}`, bigint>>;
29080
- validators: Partial<Record<`cF${string}`, bigint>>;
29081
- delegation_fee_bps: number;
29082
- };
29083
29077
  bound_redeem_address?: `0x${string}` | undefined;
29084
29078
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
29085
29079
  current_delegation_status?: {
@@ -29090,6 +29084,12 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
29090
29084
  operator: `cF${string}`;
29091
29085
  bid: bigint;
29092
29086
  } | undefined;
29087
+ active_delegation?: {
29088
+ operator: `cF${string}`;
29089
+ delegators: Partial<Record<`cF${string}`, bigint>>;
29090
+ validators: Partial<Record<`cF${string}`, bigint>>;
29091
+ delegation_fee_bps: number;
29092
+ } | undefined;
29093
29093
  } | {
29094
29094
  balances: {
29095
29095
  Bitcoin: {
@@ -29454,12 +29454,6 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
29454
29454
  fee_bps: number;
29455
29455
  delegation_acceptance: "Allow" | "Deny";
29456
29456
  };
29457
- active_delegation: {
29458
- operator: string;
29459
- delegators: Record<string, string | number>;
29460
- validators: Record<string, string | number>;
29461
- delegation_fee_bps: number;
29462
- };
29463
29457
  bound_redeem_address?: string | undefined;
29464
29458
  restricted_balances?: Record<string, string | number> | undefined;
29465
29459
  current_delegation_status?: {
@@ -29472,6 +29466,12 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
29472
29466
  } | undefined;
29473
29467
  allowed?: string[] | undefined;
29474
29468
  blocked?: string[] | undefined;
29469
+ active_delegation?: {
29470
+ operator: string;
29471
+ delegators: Record<string, string | number>;
29472
+ validators: Record<string, string | number>;
29473
+ delegation_fee_bps: number;
29474
+ } | undefined;
29475
29475
  } | {
29476
29476
  role: "liquidity_provider";
29477
29477
  flip_balance: string | number;
package/dist/parsers.d.ts CHANGED
@@ -18149,7 +18149,7 @@ declare const operator: z.ZodObject<{
18149
18149
  }>;
18150
18150
  allowed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
18151
18151
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
18152
- active_delegation: z.ZodObject<{
18152
+ active_delegation: z.ZodOptional<z.ZodObject<{
18153
18153
  operator: z.ZodEffects<z.ZodString, `cF${string}`, string>;
18154
18154
  validators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
18155
18155
  delegators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
@@ -18164,7 +18164,7 @@ declare const operator: z.ZodObject<{
18164
18164
  delegators: Record<string, string | number>;
18165
18165
  validators: Record<string, string | number>;
18166
18166
  delegation_fee_bps: number;
18167
- }>;
18167
+ }>>;
18168
18168
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
18169
18169
  asset_balances: z.ZodObject<{
18170
18170
  Bitcoin: z.ZodObject<{
@@ -18348,12 +18348,6 @@ declare const operator: z.ZodObject<{
18348
18348
  };
18349
18349
  allowed: `cF${string}`[];
18350
18350
  blocked: `cF${string}`[];
18351
- active_delegation: {
18352
- operator: `cF${string}`;
18353
- delegators: Partial<Record<`cF${string}`, bigint>>;
18354
- validators: Partial<Record<`cF${string}`, bigint>>;
18355
- delegation_fee_bps: number;
18356
- };
18357
18351
  bound_redeem_address?: `0x${string}` | undefined;
18358
18352
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
18359
18353
  current_delegation_status?: {
@@ -18364,6 +18358,12 @@ declare const operator: z.ZodObject<{
18364
18358
  operator: `cF${string}`;
18365
18359
  bid: bigint;
18366
18360
  } | undefined;
18361
+ active_delegation?: {
18362
+ operator: `cF${string}`;
18363
+ delegators: Partial<Record<`cF${string}`, bigint>>;
18364
+ validators: Partial<Record<`cF${string}`, bigint>>;
18365
+ delegation_fee_bps: number;
18366
+ } | undefined;
18367
18367
  }, {
18368
18368
  role: "operator";
18369
18369
  flip_balance: string | number;
@@ -18402,12 +18402,6 @@ declare const operator: z.ZodObject<{
18402
18402
  fee_bps: number;
18403
18403
  delegation_acceptance: "Allow" | "Deny";
18404
18404
  };
18405
- active_delegation: {
18406
- operator: string;
18407
- delegators: Record<string, string | number>;
18408
- validators: Record<string, string | number>;
18409
- delegation_fee_bps: number;
18410
- };
18411
18405
  bound_redeem_address?: string | undefined;
18412
18406
  restricted_balances?: Record<string, string | number> | undefined;
18413
18407
  current_delegation_status?: {
@@ -18420,6 +18414,12 @@ declare const operator: z.ZodObject<{
18420
18414
  } | undefined;
18421
18415
  allowed?: string[] | undefined;
18422
18416
  blocked?: string[] | undefined;
18417
+ active_delegation?: {
18418
+ operator: string;
18419
+ delegators: Record<string, string | number>;
18420
+ validators: Record<string, string | number>;
18421
+ delegation_fee_bps: number;
18422
+ } | undefined;
18423
18423
  }>;
18424
18424
  declare const oldLiquidityProvider: z.ZodObject<{
18425
18425
  role: z.ZodLiteral<"liquidity_provider">;
@@ -21974,7 +21974,7 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
21974
21974
  }>;
21975
21975
  allowed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
21976
21976
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
21977
- active_delegation: z.ZodObject<{
21977
+ active_delegation: z.ZodOptional<z.ZodObject<{
21978
21978
  operator: z.ZodEffects<z.ZodString, `cF${string}`, string>;
21979
21979
  validators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
21980
21980
  delegators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
@@ -21989,7 +21989,7 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
21989
21989
  delegators: Record<string, string | number>;
21990
21990
  validators: Record<string, string | number>;
21991
21991
  delegation_fee_bps: number;
21992
- }>;
21992
+ }>>;
21993
21993
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
21994
21994
  asset_balances: z.ZodObject<{
21995
21995
  Bitcoin: z.ZodObject<{
@@ -22173,12 +22173,6 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
22173
22173
  };
22174
22174
  allowed: `cF${string}`[];
22175
22175
  blocked: `cF${string}`[];
22176
- active_delegation: {
22177
- operator: `cF${string}`;
22178
- delegators: Partial<Record<`cF${string}`, bigint>>;
22179
- validators: Partial<Record<`cF${string}`, bigint>>;
22180
- delegation_fee_bps: number;
22181
- };
22182
22176
  bound_redeem_address?: `0x${string}` | undefined;
22183
22177
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
22184
22178
  current_delegation_status?: {
@@ -22189,6 +22183,12 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
22189
22183
  operator: `cF${string}`;
22190
22184
  bid: bigint;
22191
22185
  } | undefined;
22186
+ active_delegation?: {
22187
+ operator: `cF${string}`;
22188
+ delegators: Partial<Record<`cF${string}`, bigint>>;
22189
+ validators: Partial<Record<`cF${string}`, bigint>>;
22190
+ delegation_fee_bps: number;
22191
+ } | undefined;
22192
22192
  }, {
22193
22193
  role: "operator";
22194
22194
  flip_balance: string | number;
@@ -22227,12 +22227,6 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
22227
22227
  fee_bps: number;
22228
22228
  delegation_acceptance: "Allow" | "Deny";
22229
22229
  };
22230
- active_delegation: {
22231
- operator: string;
22232
- delegators: Record<string, string | number>;
22233
- validators: Record<string, string | number>;
22234
- delegation_fee_bps: number;
22235
- };
22236
22230
  bound_redeem_address?: string | undefined;
22237
22231
  restricted_balances?: Record<string, string | number> | undefined;
22238
22232
  current_delegation_status?: {
@@ -22245,6 +22239,12 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
22245
22239
  } | undefined;
22246
22240
  allowed?: string[] | undefined;
22247
22241
  blocked?: string[] | undefined;
22242
+ active_delegation?: {
22243
+ operator: string;
22244
+ delegators: Record<string, string | number>;
22245
+ validators: Record<string, string | number>;
22246
+ delegation_fee_bps: number;
22247
+ } | undefined;
22248
22248
  }>, z.ZodObject<{
22249
22249
  refund_addresses: z.ZodObject<{
22250
22250
  Bitcoin: z.ZodNullable<z.ZodString>;
@@ -24022,12 +24022,6 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
24022
24022
  estimated_redeemable_balance: bigint;
24023
24023
  allowed: `cF${string}`[];
24024
24024
  blocked: `cF${string}`[];
24025
- active_delegation: {
24026
- operator: `cF${string}`;
24027
- delegators: Partial<Record<`cF${string}`, bigint>>;
24028
- validators: Partial<Record<`cF${string}`, bigint>>;
24029
- delegation_fee_bps: number;
24030
- };
24031
24025
  bound_redeem_address?: `0x${string}` | undefined;
24032
24026
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
24033
24027
  current_delegation_status?: {
@@ -24038,6 +24032,12 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
24038
24032
  operator: `cF${string}`;
24039
24033
  bid: bigint;
24040
24034
  } | undefined;
24035
+ active_delegation?: {
24036
+ operator: `cF${string}`;
24037
+ delegators: Partial<Record<`cF${string}`, bigint>>;
24038
+ validators: Partial<Record<`cF${string}`, bigint>>;
24039
+ delegation_fee_bps: number;
24040
+ } | undefined;
24041
24041
  } | {
24042
24042
  balances: {
24043
24043
  Bitcoin: {
@@ -24402,12 +24402,6 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
24402
24402
  fee_bps: number;
24403
24403
  delegation_acceptance: "Allow" | "Deny";
24404
24404
  };
24405
- active_delegation: {
24406
- operator: string;
24407
- delegators: Record<string, string | number>;
24408
- validators: Record<string, string | number>;
24409
- delegation_fee_bps: number;
24410
- };
24411
24405
  bound_redeem_address?: string | undefined;
24412
24406
  restricted_balances?: Record<string, string | number> | undefined;
24413
24407
  current_delegation_status?: {
@@ -24420,6 +24414,12 @@ declare const newCfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.
24420
24414
  } | undefined;
24421
24415
  allowed?: string[] | undefined;
24422
24416
  blocked?: string[] | undefined;
24417
+ active_delegation?: {
24418
+ operator: string;
24419
+ delegators: Record<string, string | number>;
24420
+ validators: Record<string, string | number>;
24421
+ delegation_fee_bps: number;
24422
+ } | undefined;
24423
24423
  } | {
24424
24424
  role: "liquidity_provider";
24425
24425
  flip_balance: string | number;
@@ -27026,7 +27026,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27026
27026
  }>;
27027
27027
  allowed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
27028
27028
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `cF${string}`, string>, "many">>>;
27029
- active_delegation: z.ZodObject<{
27029
+ active_delegation: z.ZodOptional<z.ZodObject<{
27030
27030
  operator: z.ZodEffects<z.ZodString, `cF${string}`, string>;
27031
27031
  validators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
27032
27032
  delegators: z.ZodRecord<z.ZodEffects<z.ZodString, `cF${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
@@ -27041,7 +27041,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27041
27041
  delegators: Record<string, string | number>;
27042
27042
  validators: Record<string, string | number>;
27043
27043
  delegation_fee_bps: number;
27044
- }>;
27044
+ }>>;
27045
27045
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
27046
27046
  asset_balances: z.ZodObject<{
27047
27047
  Bitcoin: z.ZodObject<{
@@ -27225,12 +27225,6 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27225
27225
  };
27226
27226
  allowed: `cF${string}`[];
27227
27227
  blocked: `cF${string}`[];
27228
- active_delegation: {
27229
- operator: `cF${string}`;
27230
- delegators: Partial<Record<`cF${string}`, bigint>>;
27231
- validators: Partial<Record<`cF${string}`, bigint>>;
27232
- delegation_fee_bps: number;
27233
- };
27234
27228
  bound_redeem_address?: `0x${string}` | undefined;
27235
27229
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
27236
27230
  current_delegation_status?: {
@@ -27241,6 +27235,12 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27241
27235
  operator: `cF${string}`;
27242
27236
  bid: bigint;
27243
27237
  } | undefined;
27238
+ active_delegation?: {
27239
+ operator: `cF${string}`;
27240
+ delegators: Partial<Record<`cF${string}`, bigint>>;
27241
+ validators: Partial<Record<`cF${string}`, bigint>>;
27242
+ delegation_fee_bps: number;
27243
+ } | undefined;
27244
27244
  }, {
27245
27245
  role: "operator";
27246
27246
  flip_balance: string | number;
@@ -27279,12 +27279,6 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27279
27279
  fee_bps: number;
27280
27280
  delegation_acceptance: "Allow" | "Deny";
27281
27281
  };
27282
- active_delegation: {
27283
- operator: string;
27284
- delegators: Record<string, string | number>;
27285
- validators: Record<string, string | number>;
27286
- delegation_fee_bps: number;
27287
- };
27288
27282
  bound_redeem_address?: string | undefined;
27289
27283
  restricted_balances?: Record<string, string | number> | undefined;
27290
27284
  current_delegation_status?: {
@@ -27297,6 +27291,12 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
27297
27291
  } | undefined;
27298
27292
  allowed?: string[] | undefined;
27299
27293
  blocked?: string[] | undefined;
27294
+ active_delegation?: {
27295
+ operator: string;
27296
+ delegators: Record<string, string | number>;
27297
+ validators: Record<string, string | number>;
27298
+ delegation_fee_bps: number;
27299
+ } | undefined;
27300
27300
  }>, z.ZodObject<{
27301
27301
  refund_addresses: z.ZodObject<{
27302
27302
  Bitcoin: z.ZodNullable<z.ZodString>;
@@ -29074,12 +29074,6 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
29074
29074
  estimated_redeemable_balance: bigint;
29075
29075
  allowed: `cF${string}`[];
29076
29076
  blocked: `cF${string}`[];
29077
- active_delegation: {
29078
- operator: `cF${string}`;
29079
- delegators: Partial<Record<`cF${string}`, bigint>>;
29080
- validators: Partial<Record<`cF${string}`, bigint>>;
29081
- delegation_fee_bps: number;
29082
- };
29083
29077
  bound_redeem_address?: `0x${string}` | undefined;
29084
29078
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
29085
29079
  current_delegation_status?: {
@@ -29090,6 +29084,12 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
29090
29084
  operator: `cF${string}`;
29091
29085
  bid: bigint;
29092
29086
  } | undefined;
29087
+ active_delegation?: {
29088
+ operator: `cF${string}`;
29089
+ delegators: Partial<Record<`cF${string}`, bigint>>;
29090
+ validators: Partial<Record<`cF${string}`, bigint>>;
29091
+ delegation_fee_bps: number;
29092
+ } | undefined;
29093
29093
  } | {
29094
29094
  balances: {
29095
29095
  Bitcoin: {
@@ -29454,12 +29454,6 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
29454
29454
  fee_bps: number;
29455
29455
  delegation_acceptance: "Allow" | "Deny";
29456
29456
  };
29457
- active_delegation: {
29458
- operator: string;
29459
- delegators: Record<string, string | number>;
29460
- validators: Record<string, string | number>;
29461
- delegation_fee_bps: number;
29462
- };
29463
29457
  bound_redeem_address?: string | undefined;
29464
29458
  restricted_balances?: Record<string, string | number> | undefined;
29465
29459
  current_delegation_status?: {
@@ -29472,6 +29466,12 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"r
29472
29466
  } | undefined;
29473
29467
  allowed?: string[] | undefined;
29474
29468
  blocked?: string[] | undefined;
29469
+ active_delegation?: {
29470
+ operator: string;
29471
+ delegators: Record<string, string | number>;
29472
+ validators: Record<string, string | number>;
29473
+ delegation_fee_bps: number;
29474
+ } | undefined;
29475
29475
  } | {
29476
29476
  role: "liquidity_provider";
29477
29477
  flip_balance: string | number;
package/dist/parsers.mjs CHANGED
@@ -260,7 +260,7 @@ var operator = z.object({
260
260
  validators: z.record(accountId, numberOrHex),
261
261
  delegators: z.record(accountId, numberOrHex),
262
262
  delegation_fee_bps: z.number()
263
- })
263
+ }).optional()
264
264
  });
265
265
  var boostBalances = z.array(
266
266
  z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "1.11.0-beta.7",
3
+ "version": "1.11.0-beta.8",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "0.8.18",