zklighter-perps 1.0.354 → 1.0.355
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/models/WithdrawHistoryItem.ts +27 -0
- package/openapi.json +16 -1
- package/package.json +1 -1
|
@@ -61,6 +61,24 @@ export interface WithdrawHistoryItem {
|
|
|
61
61
|
* @memberof WithdrawHistoryItem
|
|
62
62
|
*/
|
|
63
63
|
l1_tx_hash: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof WithdrawHistoryItem
|
|
68
|
+
*/
|
|
69
|
+
l2_tx_hash: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof WithdrawHistoryItem
|
|
74
|
+
*/
|
|
75
|
+
l1_claim_tx_hash: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof WithdrawHistoryItem
|
|
80
|
+
*/
|
|
81
|
+
l1_claim_amount: string;
|
|
64
82
|
}
|
|
65
83
|
|
|
66
84
|
|
|
@@ -97,6 +115,9 @@ export function instanceOfWithdrawHistoryItem(value: object): value is WithdrawH
|
|
|
97
115
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
98
116
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
99
117
|
if (!('l1_tx_hash' in value) || value['l1_tx_hash'] === undefined) return false;
|
|
118
|
+
if (!('l2_tx_hash' in value) || value['l2_tx_hash'] === undefined) return false;
|
|
119
|
+
if (!('l1_claim_tx_hash' in value) || value['l1_claim_tx_hash'] === undefined) return false;
|
|
120
|
+
if (!('l1_claim_amount' in value) || value['l1_claim_amount'] === undefined) return false;
|
|
100
121
|
return true;
|
|
101
122
|
}
|
|
102
123
|
|
|
@@ -117,6 +138,9 @@ export function WithdrawHistoryItemFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
117
138
|
'status': json['status'],
|
|
118
139
|
'type': json['type'],
|
|
119
140
|
'l1_tx_hash': json['l1_tx_hash'],
|
|
141
|
+
'l2_tx_hash': json['l2_tx_hash'],
|
|
142
|
+
'l1_claim_tx_hash': json['l1_claim_tx_hash'],
|
|
143
|
+
'l1_claim_amount': json['l1_claim_amount'],
|
|
120
144
|
};
|
|
121
145
|
}
|
|
122
146
|
|
|
@@ -133,6 +157,9 @@ export function WithdrawHistoryItemToJSON(value?: WithdrawHistoryItem | null): a
|
|
|
133
157
|
'status': value['status'],
|
|
134
158
|
'type': value['type'],
|
|
135
159
|
'l1_tx_hash': value['l1_tx_hash'],
|
|
160
|
+
'l2_tx_hash': value['l2_tx_hash'],
|
|
161
|
+
'l1_claim_tx_hash': value['l1_claim_tx_hash'],
|
|
162
|
+
'l1_claim_amount': value['l1_claim_amount'],
|
|
136
163
|
};
|
|
137
164
|
}
|
|
138
165
|
|
package/openapi.json
CHANGED
|
@@ -25758,6 +25758,18 @@
|
|
|
25758
25758
|
"l1_tx_hash": {
|
|
25759
25759
|
"type": "string",
|
|
25760
25760
|
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
25761
|
+
},
|
|
25762
|
+
"l2_tx_hash": {
|
|
25763
|
+
"type": "string",
|
|
25764
|
+
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
25765
|
+
},
|
|
25766
|
+
"l1_claim_tx_hash": {
|
|
25767
|
+
"type": "string",
|
|
25768
|
+
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
25769
|
+
},
|
|
25770
|
+
"l1_claim_amount": {
|
|
25771
|
+
"type": "string",
|
|
25772
|
+
"example": "0.1"
|
|
25761
25773
|
}
|
|
25762
25774
|
},
|
|
25763
25775
|
"title": "WithdrawHistoryItem",
|
|
@@ -25768,7 +25780,10 @@
|
|
|
25768
25780
|
"timestamp",
|
|
25769
25781
|
"status",
|
|
25770
25782
|
"type",
|
|
25771
|
-
"l1_tx_hash"
|
|
25783
|
+
"l1_tx_hash",
|
|
25784
|
+
"l2_tx_hash",
|
|
25785
|
+
"l1_claim_tx_hash",
|
|
25786
|
+
"l1_claim_amount"
|
|
25772
25787
|
]
|
|
25773
25788
|
},
|
|
25774
25789
|
"ZkLighterInfo": {
|