zklighter-perps 1.0.92 → 1.0.93

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.
@@ -49,6 +49,24 @@ export interface PublicPoolInfo {
49
49
  * @memberof PublicPoolInfo
50
50
  */
51
51
  operator_shares: number;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof PublicPoolInfo
56
+ */
57
+ share_price_1d: number;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof PublicPoolInfo
62
+ */
63
+ share_price_7d: number;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof PublicPoolInfo
68
+ */
69
+ share_price_30d: number;
52
70
  }
53
71
 
54
72
  /**
@@ -60,6 +78,9 @@ export function instanceOfPublicPoolInfo(value: object): value is PublicPoolInfo
60
78
  if (!('min_operator_share_rate' in value) || value['min_operator_share_rate'] === undefined) return false;
61
79
  if (!('total_shares' in value) || value['total_shares'] === undefined) return false;
62
80
  if (!('operator_shares' in value) || value['operator_shares'] === undefined) return false;
81
+ if (!('share_price_1d' in value) || value['share_price_1d'] === undefined) return false;
82
+ if (!('share_price_7d' in value) || value['share_price_7d'] === undefined) return false;
83
+ if (!('share_price_30d' in value) || value['share_price_30d'] === undefined) return false;
63
84
  return true;
64
85
  }
65
86
 
@@ -78,6 +99,9 @@ export function PublicPoolInfoFromJSONTyped(json: any, ignoreDiscriminator: bool
78
99
  'min_operator_share_rate': json['min_operator_share_rate'],
79
100
  'total_shares': json['total_shares'],
80
101
  'operator_shares': json['operator_shares'],
102
+ 'share_price_1d': json['share_price_1d'],
103
+ 'share_price_7d': json['share_price_7d'],
104
+ 'share_price_30d': json['share_price_30d'],
81
105
  };
82
106
  }
83
107
 
@@ -92,6 +116,9 @@ export function PublicPoolInfoToJSON(value?: PublicPoolInfo | null): any {
92
116
  'min_operator_share_rate': value['min_operator_share_rate'],
93
117
  'total_shares': value['total_shares'],
94
118
  'operator_shares': value['operator_shares'],
119
+ 'share_price_1d': value['share_price_1d'],
120
+ 'share_price_7d': value['share_price_7d'],
121
+ 'share_price_30d': value['share_price_30d'],
95
122
  };
96
123
  }
97
124
 
package/openapi.json CHANGED
@@ -4735,6 +4735,21 @@
4735
4735
  "type": "integer",
4736
4736
  "format": "int64",
4737
4737
  "example": "20000"
4738
+ },
4739
+ "share_price_1d": {
4740
+ "type": "number",
4741
+ "format": "double",
4742
+ "example": "0.0001"
4743
+ },
4744
+ "share_price_7d": {
4745
+ "type": "number",
4746
+ "format": "double",
4747
+ "example": "0.0001"
4748
+ },
4749
+ "share_price_30d": {
4750
+ "type": "number",
4751
+ "format": "double",
4752
+ "example": "0.0001"
4738
4753
  }
4739
4754
  },
4740
4755
  "title": "PublicPoolInfo",
@@ -4743,7 +4758,10 @@
4743
4758
  "operator_fee",
4744
4759
  "min_operator_share_rate",
4745
4760
  "total_shares",
4746
- "operator_shares"
4761
+ "operator_shares",
4762
+ "share_price_1d",
4763
+ "share_price_7d",
4764
+ "share_price_30d"
4747
4765
  ]
4748
4766
  },
4749
4767
  "PublicPoolShare": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {