@bulletxyz/bullet-sdk 0.26.0 → 0.26.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.
@@ -5,7 +5,7 @@ import { type Endpoints } from "./constants";
5
5
  import type { Orderbook } from "./orderbook";
6
6
  import type { Address, AssetName, MarketName, Network } from "./types";
7
7
  import type { OrderType, PlaceOrderArgs, Side } from "./types";
8
- import { type AccountAddresses, type AssetRegistry, type BorrowLendPools as BorrowLendPools, type GlobalParameters, type MarginConfig, type MarketRegistry, type OraclePrices, type Order, type OrderbookL2, type PerpMarket, type PerpPrices, type TpslOrderIdsToExecute, type UsdcInsuranceFund, type UsdcPnlPool, type UserAccount } from "./zod-types/rest";
8
+ import { type AccountAddresses, type AssetRegistry, type BorrowLendPools, type GlobalParameters, type MarginConfig, type MarketRegistry, type OraclePrices, type Order, type OrderbookL2, type PerpMarket, type PerpPrices, type TpslOrderIdsToExecute, type UsdcInsuranceFund, type UsdcPnlPool, type UserAccount } from "./zod-types/rest";
9
9
  export declare class ExchangeConnection extends BaseConnection {
10
10
  private wsManager?;
11
11
  private assetRegistry?;
@@ -1141,6 +1141,8 @@ export declare const Schemas: {
1141
1141
  cumulative_deposit_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
1142
1142
  cumulative_borrow_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
1143
1143
  accumulated_protocol_fees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
1144
+ unclaimed_protocol_fees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
1145
+ interest_fee_tenth_bps: z.ZodNumber;
1144
1146
  }, "strip", z.ZodTypeAny, {
1145
1147
  last_update_timestamp: bigint;
1146
1148
  asset_id: number;
@@ -1158,6 +1160,8 @@ export declare const Schemas: {
1158
1160
  cumulative_deposit_rate: import("decimal.js").Decimal;
1159
1161
  cumulative_borrow_rate: import("decimal.js").Decimal;
1160
1162
  accumulated_protocol_fees: import("decimal.js").Decimal;
1163
+ unclaimed_protocol_fees: import("decimal.js").Decimal;
1164
+ interest_fee_tenth_bps: number;
1161
1165
  }, {
1162
1166
  last_update_timestamp: bigint;
1163
1167
  asset_id: number;
@@ -1175,6 +1179,8 @@ export declare const Schemas: {
1175
1179
  cumulative_deposit_rate: string | number;
1176
1180
  cumulative_borrow_rate: string | number;
1177
1181
  accumulated_protocol_fees: string | number;
1182
+ unclaimed_protocol_fees: string | number;
1183
+ interest_fee_tenth_bps: number;
1178
1184
  }>>, Map<number, {
1179
1185
  last_update_timestamp: bigint;
1180
1186
  asset_id: number;
@@ -1192,6 +1198,8 @@ export declare const Schemas: {
1192
1198
  cumulative_deposit_rate: import("decimal.js").Decimal;
1193
1199
  cumulative_borrow_rate: import("decimal.js").Decimal;
1194
1200
  accumulated_protocol_fees: import("decimal.js").Decimal;
1201
+ unclaimed_protocol_fees: import("decimal.js").Decimal;
1202
+ interest_fee_tenth_bps: number;
1195
1203
  }>, Record<string, {
1196
1204
  last_update_timestamp: bigint;
1197
1205
  asset_id: number;
@@ -1209,6 +1217,8 @@ export declare const Schemas: {
1209
1217
  cumulative_deposit_rate: string | number;
1210
1218
  cumulative_borrow_rate: string | number;
1211
1219
  accumulated_protocol_fees: string | number;
1220
+ unclaimed_protocol_fees: string | number;
1221
+ interest_fee_tenth_bps: number;
1212
1222
  }>>>;
1213
1223
  readonly PerpPrices: z.ZodObject<{
1214
1224
  pricing_frequency_seconds: z.ZodNumber;
@@ -4424,6 +4434,8 @@ export declare const ResponseSchemas: {
4424
4434
  cumulative_deposit_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
4425
4435
  cumulative_borrow_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
4426
4436
  accumulated_protocol_fees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
4437
+ unclaimed_protocol_fees: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
4438
+ interest_fee_tenth_bps: z.ZodNumber;
4427
4439
  }, "strip", z.ZodTypeAny, {
4428
4440
  last_update_timestamp: bigint;
4429
4441
  asset_id: number;
@@ -4441,6 +4453,8 @@ export declare const ResponseSchemas: {
4441
4453
  cumulative_deposit_rate: import("decimal.js").Decimal;
4442
4454
  cumulative_borrow_rate: import("decimal.js").Decimal;
4443
4455
  accumulated_protocol_fees: import("decimal.js").Decimal;
4456
+ unclaimed_protocol_fees: import("decimal.js").Decimal;
4457
+ interest_fee_tenth_bps: number;
4444
4458
  }, {
4445
4459
  last_update_timestamp: bigint;
4446
4460
  asset_id: number;
@@ -4458,6 +4472,8 @@ export declare const ResponseSchemas: {
4458
4472
  cumulative_deposit_rate: string | number;
4459
4473
  cumulative_borrow_rate: string | number;
4460
4474
  accumulated_protocol_fees: string | number;
4475
+ unclaimed_protocol_fees: string | number;
4476
+ interest_fee_tenth_bps: number;
4461
4477
  }>>, Map<number, {
4462
4478
  last_update_timestamp: bigint;
4463
4479
  asset_id: number;
@@ -4475,6 +4491,8 @@ export declare const ResponseSchemas: {
4475
4491
  cumulative_deposit_rate: import("decimal.js").Decimal;
4476
4492
  cumulative_borrow_rate: import("decimal.js").Decimal;
4477
4493
  accumulated_protocol_fees: import("decimal.js").Decimal;
4494
+ unclaimed_protocol_fees: import("decimal.js").Decimal;
4495
+ interest_fee_tenth_bps: number;
4478
4496
  }>, Record<string, {
4479
4497
  last_update_timestamp: bigint;
4480
4498
  asset_id: number;
@@ -4492,6 +4510,8 @@ export declare const ResponseSchemas: {
4492
4510
  cumulative_deposit_rate: string | number;
4493
4511
  cumulative_borrow_rate: string | number;
4494
4512
  accumulated_protocol_fees: string | number;
4513
+ unclaimed_protocol_fees: string | number;
4514
+ interest_fee_tenth_bps: number;
4495
4515
  }>>>>;
4496
4516
  }, "strip", z.ZodTypeAny, {
4497
4517
  value: Map<number, {
@@ -4511,6 +4531,8 @@ export declare const ResponseSchemas: {
4511
4531
  cumulative_deposit_rate: import("decimal.js").Decimal;
4512
4532
  cumulative_borrow_rate: import("decimal.js").Decimal;
4513
4533
  accumulated_protocol_fees: import("decimal.js").Decimal;
4534
+ unclaimed_protocol_fees: import("decimal.js").Decimal;
4535
+ interest_fee_tenth_bps: number;
4514
4536
  }> | null;
4515
4537
  }, {
4516
4538
  value: Record<string, {
@@ -4530,6 +4552,8 @@ export declare const ResponseSchemas: {
4530
4552
  cumulative_deposit_rate: string | number;
4531
4553
  cumulative_borrow_rate: string | number;
4532
4554
  accumulated_protocol_fees: string | number;
4555
+ unclaimed_protocol_fees: string | number;
4556
+ interest_fee_tenth_bps: number;
4533
4557
  }> | null;
4534
4558
  }>;
4535
4559
  readonly PerpMarket: z.ZodObject<{
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/zetamarkets/bullet-sdk.git"
6
6
  },
7
- "version": "0.26.0",
7
+ "version": "0.26.1",
8
8
  "description": "Bullet SDK",
9
9
  "author": "@bulletxyz",
10
10
  "license": "Apache-2.0",