@polyester/sdk 0.1.1 → 0.2.0
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/CHANGELOG.md +10 -0
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +130 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +72 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts +7 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.js +7 -1
- package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +42 -42
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +2 -2
- package/dist/services/trading-withdraws/index.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.codecs.js +10 -1
- package/dist/services/trading-withdraws/trading-withdraws.codecs.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +6 -2
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +9 -1
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +45 -2
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +37 -2
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +2 -2
- package/dist/services/transfers/transfers.schemas.d.ts +4 -4
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +13 -13
- package/dist/shared/ledger-codes.d.ts +1 -1
- package/dist/shared/ledger-codes.d.ts.map +1 -1
- package/dist/shared/ledger-codes.js +6 -3
- package/dist/shared/ledger-codes.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @polyester/sdk
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#43](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/43) [`0896e61`](https://github.com/Fabric-Labs/polyester-sdk-typescript/commit/0896e61b83df934b090e7a31903fe3ba001c3a05) Thanks [@aiiven](https://github.com/aiiven)! - feat(ledger): add trading withdrawal request-fee codes to transfer filters and decoded records.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#43](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/43) [`0896e61`](https://github.com/Fabric-Labs/polyester-sdk-typescript/commit/0896e61b83df934b090e7a31903fe3ba001c3a05) Thanks [@aiiven](https://github.com/aiiven)! - feat(withdraw): add a destination validation method to support preflight checks before external-chain withdrawals.
|
|
12
|
+
|
|
3
13
|
## 0.1.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -2,7 +2,7 @@ import { U128 } from "../../../polyester/type/v1/u128_pb.js";
|
|
|
2
2
|
import { Message } from "@bufbuild/protobuf";
|
|
3
3
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
declare namespace withdraw_pb_d_exports {
|
|
5
|
-
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, WithdrawService, file_chain_withdraw_v1_withdraw };
|
|
5
|
+
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw };
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file chain/withdraw/v1/withdraw.proto.
|
|
@@ -181,6 +181,68 @@ type CreateWalletTradingWithdrawRequest = Message<"chain.withdraw.v1.CreateWalle
|
|
|
181
181
|
* Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.
|
|
182
182
|
*/
|
|
183
183
|
declare const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest>;
|
|
184
|
+
/**
|
|
185
|
+
* ValidateWithdrawDestinationRequest checks one external-chain
|
|
186
|
+
* destination for an authenticated caller without creating a withdraw.
|
|
187
|
+
*
|
|
188
|
+
* @generated from message chain.withdraw.v1.ValidateWithdrawDestinationRequest
|
|
189
|
+
*/
|
|
190
|
+
type ValidateWithdrawDestinationRequest = Message<"chain.withdraw.v1.ValidateWithdrawDestinationRequest"> & {
|
|
191
|
+
/**
|
|
192
|
+
* External destination chain identifier.
|
|
193
|
+
*
|
|
194
|
+
* @generated from field: uint64 destination_chain_id = 1;
|
|
195
|
+
*/
|
|
196
|
+
destinationChainId: bigint;
|
|
197
|
+
/**
|
|
198
|
+
* Destination address to validate for destination_chain_id.
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: string destination_address = 2;
|
|
201
|
+
*/
|
|
202
|
+
destinationAddress: string;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message chain.withdraw.v1.ValidateWithdrawDestinationRequest.
|
|
206
|
+
* Use `create(ValidateWithdrawDestinationRequestSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
declare const ValidateWithdrawDestinationRequestSchema: GenMessage<ValidateWithdrawDestinationRequest>;
|
|
209
|
+
/**
|
|
210
|
+
* ValidateWithdrawDestinationResponse returns a user-safe validation
|
|
211
|
+
* result without exposing internal denylist details.
|
|
212
|
+
*
|
|
213
|
+
* @generated from message chain.withdraw.v1.ValidateWithdrawDestinationResponse
|
|
214
|
+
*/
|
|
215
|
+
type ValidateWithdrawDestinationResponse = Message<"chain.withdraw.v1.ValidateWithdrawDestinationResponse"> & {
|
|
216
|
+
/**
|
|
217
|
+
* Whether the destination may be used for a withdraw.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: bool valid = 1;
|
|
220
|
+
*/
|
|
221
|
+
valid: boolean;
|
|
222
|
+
/**
|
|
223
|
+
* Public validation outcome code.
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: chain.withdraw.v1.WithdrawDestinationValidationCode code = 2;
|
|
226
|
+
*/
|
|
227
|
+
code: WithdrawDestinationValidationCode;
|
|
228
|
+
/**
|
|
229
|
+
* User-safe explanation of the validation outcome.
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: string message = 3;
|
|
232
|
+
*/
|
|
233
|
+
message: string;
|
|
234
|
+
/**
|
|
235
|
+
* Canonical destination address when valid. Empty when valid is false.
|
|
236
|
+
*
|
|
237
|
+
* @generated from field: string canonical_destination_address = 4;
|
|
238
|
+
*/
|
|
239
|
+
canonicalDestinationAddress: string;
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* Describes the message chain.withdraw.v1.ValidateWithdrawDestinationResponse.
|
|
243
|
+
* Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.
|
|
244
|
+
*/
|
|
245
|
+
declare const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse>;
|
|
184
246
|
/**
|
|
185
247
|
* TradingWithdrawAction identifies where funds should move from Trading.
|
|
186
248
|
*
|
|
@@ -204,12 +266,78 @@ declare enum TradingWithdrawAction {
|
|
|
204
266
|
* Describes the enum chain.withdraw.v1.TradingWithdrawAction.
|
|
205
267
|
*/
|
|
206
268
|
declare const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction>;
|
|
269
|
+
/**
|
|
270
|
+
* WithdrawDestinationValidationCode identifies the public outcome of an
|
|
271
|
+
* external-chain destination validation.
|
|
272
|
+
*
|
|
273
|
+
* @generated from enum chain.withdraw.v1.WithdrawDestinationValidationCode
|
|
274
|
+
*/
|
|
275
|
+
declare enum WithdrawDestinationValidationCode {
|
|
276
|
+
/**
|
|
277
|
+
* No validation outcome was produced.
|
|
278
|
+
*
|
|
279
|
+
* @generated from enum value: RESULT_UNSPECIFIED = 0;
|
|
280
|
+
*/
|
|
281
|
+
RESULT_UNSPECIFIED = 0,
|
|
282
|
+
/**
|
|
283
|
+
* The destination is valid and may be used for a withdraw.
|
|
284
|
+
*
|
|
285
|
+
* @generated from enum value: VALID = 1;
|
|
286
|
+
*/
|
|
287
|
+
VALID = 1,
|
|
288
|
+
/**
|
|
289
|
+
* The address is not valid for the selected destination chain.
|
|
290
|
+
*
|
|
291
|
+
* @generated from enum value: INVALID_ADDRESS = 2;
|
|
292
|
+
*/
|
|
293
|
+
INVALID_ADDRESS = 2,
|
|
294
|
+
/**
|
|
295
|
+
* The selected destination chain is not supported for withdraws.
|
|
296
|
+
*
|
|
297
|
+
* @generated from enum value: UNSUPPORTED_CHAIN = 3;
|
|
298
|
+
*/
|
|
299
|
+
UNSUPPORTED_CHAIN = 3,
|
|
300
|
+
/**
|
|
301
|
+
* The destination is a Polyester smart account and cannot be used for an
|
|
302
|
+
* external-chain withdraw.
|
|
303
|
+
*
|
|
304
|
+
* @generated from enum value: POLYESTER_SMART_ACCOUNT = 4;
|
|
305
|
+
*/
|
|
306
|
+
POLYESTER_SMART_ACCOUNT = 4,
|
|
307
|
+
/**
|
|
308
|
+
* The destination is a token contract and cannot receive withdrawals.
|
|
309
|
+
*
|
|
310
|
+
* @generated from enum value: TOKEN_CONTRACT = 5;
|
|
311
|
+
*/
|
|
312
|
+
TOKEN_CONTRACT = 5,
|
|
313
|
+
/**
|
|
314
|
+
* The destination is blocked by Polyester's user-safety denylist.
|
|
315
|
+
*
|
|
316
|
+
* @generated from enum value: DENYLISTED_ADDRESS = 6;
|
|
317
|
+
*/
|
|
318
|
+
DENYLISTED_ADDRESS = 6
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Describes the enum chain.withdraw.v1.WithdrawDestinationValidationCode.
|
|
322
|
+
*/
|
|
323
|
+
declare const WithdrawDestinationValidationCodeSchema: GenEnum<WithdrawDestinationValidationCode>;
|
|
207
324
|
/**
|
|
208
325
|
* WithdrawService manages authenticated chain-facing withdraw request intake.
|
|
209
326
|
*
|
|
210
327
|
* @generated from service chain.withdraw.v1.WithdrawService
|
|
211
328
|
*/
|
|
212
329
|
declare const WithdrawService: GenService<{
|
|
330
|
+
/**
|
|
331
|
+
* Validate an external-chain withdraw destination for an authenticated
|
|
332
|
+
* caller without creating, signing, or reserving a withdraw.
|
|
333
|
+
*
|
|
334
|
+
* @generated from rpc chain.withdraw.v1.WithdrawService.ValidateWithdrawDestination
|
|
335
|
+
*/
|
|
336
|
+
validateWithdrawDestination: {
|
|
337
|
+
methodKind: "unary";
|
|
338
|
+
input: typeof ValidateWithdrawDestinationRequestSchema;
|
|
339
|
+
output: typeof ValidateWithdrawDestinationResponseSchema;
|
|
340
|
+
};
|
|
213
341
|
/**
|
|
214
342
|
* Create or return one durable withdraw from Trading.
|
|
215
343
|
*
|
|
@@ -234,5 +362,5 @@ declare const WithdrawService: GenService<{
|
|
|
234
362
|
};
|
|
235
363
|
}>;
|
|
236
364
|
//#endregion
|
|
237
|
-
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_d_exports };
|
|
365
|
+
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_d_exports };
|
|
238
366
|
//# sourceMappingURL=withdraw_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"mappings":";;;;;;;;;cAca,iCAAiC;;;;;;;KASlC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,sCAAsC;;;;;;;EAOhD;;;;;;cAOW,2CAA2C,WAAW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cAMW,6BAA6B,QAAQ;;;;;;;aAStC;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,yCAAyC,QAAQ;;;;;;cAQjD,iBAAiB;;;;;;;EAO5B;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -11,13 +11,17 @@ var withdraw_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
11
11
|
TradingWithdrawAction: () => TradingWithdrawAction,
|
|
12
12
|
TradingWithdrawActionSchema: () => TradingWithdrawActionSchema,
|
|
13
13
|
TradingWithdrawIntentPayloadSchema: () => TradingWithdrawIntentPayloadSchema,
|
|
14
|
+
ValidateWithdrawDestinationRequestSchema: () => ValidateWithdrawDestinationRequestSchema,
|
|
15
|
+
ValidateWithdrawDestinationResponseSchema: () => ValidateWithdrawDestinationResponseSchema,
|
|
16
|
+
WithdrawDestinationValidationCode: () => WithdrawDestinationValidationCode,
|
|
17
|
+
WithdrawDestinationValidationCodeSchema: () => WithdrawDestinationValidationCodeSchema,
|
|
14
18
|
WithdrawService: () => WithdrawService,
|
|
15
19
|
file_chain_withdraw_v1_withdraw: () => file_chain_withdraw_v1_withdraw
|
|
16
20
|
});
|
|
17
21
|
/**
|
|
18
22
|
* Describes the file chain/withdraw/v1/withdraw.proto.
|
|
19
23
|
*/
|
|
20
|
-
const file_chain_withdraw_v1_withdraw = /*@__PURE__*/ fileDesc("CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAE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ISFQoRVU5TVVBQT1JURURfQ0hBSU4QAxIbChdQT0xZRVNURVJfU01BUlRfQUNDT1VOVBAEEhIKDlRPS0VOX0NPTlRSQUNUEAUSFgoSREVOWUxJU1RFRF9BRERSRVNTEAYysQMKD1dpdGhkcmF3U2VydmljZRKOAQobVmFsaWRhdGVXaXRoZHJhd0Rlc3RpbmF0aW9uEjUuY2hhaW4ud2l0aGRyYXcudjEuVmFsaWRhdGVXaXRoZHJhd0Rlc3RpbmF0aW9uUmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLlZhbGlkYXRlV2l0aGRyYXdEZXN0aW5hdGlvblJlc3BvbnNlIgASfAoVQ3JlYXRlVHJhZGluZ1dpdGhkcmF3Ei8uY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVxdWVzdBowLmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgASjgEKG0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhdxI1LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1JlcXVlc3QaNi5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXdSZXNwb25zZSIAQk9aTWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vd2l0aGRyYXcvdjE7Y2hhaW53aXRoZHJhd3YxYgZwcm90bzM=", [file_polyester_api_options, file_polyester_type_v1_u128]);
|
|
21
25
|
/**
|
|
22
26
|
* Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.
|
|
23
27
|
* Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.
|
|
@@ -44,6 +48,16 @@ const CreateTradingWithdrawRequestSchema = /*@__PURE__*/ messageDesc(file_chain_
|
|
|
44
48
|
*/
|
|
45
49
|
const CreateWalletTradingWithdrawRequestSchema = /*@__PURE__*/ messageDesc(file_chain_withdraw_v1_withdraw, 4);
|
|
46
50
|
/**
|
|
51
|
+
* Describes the message chain.withdraw.v1.ValidateWithdrawDestinationRequest.
|
|
52
|
+
* Use `create(ValidateWithdrawDestinationRequestSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
const ValidateWithdrawDestinationRequestSchema = /*@__PURE__*/ messageDesc(file_chain_withdraw_v1_withdraw, 5);
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message chain.withdraw.v1.ValidateWithdrawDestinationResponse.
|
|
57
|
+
* Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
const ValidateWithdrawDestinationResponseSchema = /*@__PURE__*/ messageDesc(file_chain_withdraw_v1_withdraw, 6);
|
|
60
|
+
/**
|
|
47
61
|
* TradingWithdrawAction identifies where funds should move from Trading.
|
|
48
62
|
*
|
|
49
63
|
* @generated from enum chain.withdraw.v1.TradingWithdrawAction
|
|
@@ -68,12 +82,68 @@ let TradingWithdrawAction = /* @__PURE__ */ function(TradingWithdrawAction) {
|
|
|
68
82
|
*/
|
|
69
83
|
const TradingWithdrawActionSchema = /*@__PURE__*/ enumDesc(file_chain_withdraw_v1_withdraw, 0);
|
|
70
84
|
/**
|
|
85
|
+
* WithdrawDestinationValidationCode identifies the public outcome of an
|
|
86
|
+
* external-chain destination validation.
|
|
87
|
+
*
|
|
88
|
+
* @generated from enum chain.withdraw.v1.WithdrawDestinationValidationCode
|
|
89
|
+
*/
|
|
90
|
+
let WithdrawDestinationValidationCode = /* @__PURE__ */ function(WithdrawDestinationValidationCode) {
|
|
91
|
+
/**
|
|
92
|
+
* No validation outcome was produced.
|
|
93
|
+
*
|
|
94
|
+
* @generated from enum value: RESULT_UNSPECIFIED = 0;
|
|
95
|
+
*/
|
|
96
|
+
WithdrawDestinationValidationCode[WithdrawDestinationValidationCode["RESULT_UNSPECIFIED"] = 0] = "RESULT_UNSPECIFIED";
|
|
97
|
+
/**
|
|
98
|
+
* The destination is valid and may be used for a withdraw.
|
|
99
|
+
*
|
|
100
|
+
* @generated from enum value: VALID = 1;
|
|
101
|
+
*/
|
|
102
|
+
WithdrawDestinationValidationCode[WithdrawDestinationValidationCode["VALID"] = 1] = "VALID";
|
|
103
|
+
/**
|
|
104
|
+
* The address is not valid for the selected destination chain.
|
|
105
|
+
*
|
|
106
|
+
* @generated from enum value: INVALID_ADDRESS = 2;
|
|
107
|
+
*/
|
|
108
|
+
WithdrawDestinationValidationCode[WithdrawDestinationValidationCode["INVALID_ADDRESS"] = 2] = "INVALID_ADDRESS";
|
|
109
|
+
/**
|
|
110
|
+
* The selected destination chain is not supported for withdraws.
|
|
111
|
+
*
|
|
112
|
+
* @generated from enum value: UNSUPPORTED_CHAIN = 3;
|
|
113
|
+
*/
|
|
114
|
+
WithdrawDestinationValidationCode[WithdrawDestinationValidationCode["UNSUPPORTED_CHAIN"] = 3] = "UNSUPPORTED_CHAIN";
|
|
115
|
+
/**
|
|
116
|
+
* The destination is a Polyester smart account and cannot be used for an
|
|
117
|
+
* external-chain withdraw.
|
|
118
|
+
*
|
|
119
|
+
* @generated from enum value: POLYESTER_SMART_ACCOUNT = 4;
|
|
120
|
+
*/
|
|
121
|
+
WithdrawDestinationValidationCode[WithdrawDestinationValidationCode["POLYESTER_SMART_ACCOUNT"] = 4] = "POLYESTER_SMART_ACCOUNT";
|
|
122
|
+
/**
|
|
123
|
+
* The destination is a token contract and cannot receive withdrawals.
|
|
124
|
+
*
|
|
125
|
+
* @generated from enum value: TOKEN_CONTRACT = 5;
|
|
126
|
+
*/
|
|
127
|
+
WithdrawDestinationValidationCode[WithdrawDestinationValidationCode["TOKEN_CONTRACT"] = 5] = "TOKEN_CONTRACT";
|
|
128
|
+
/**
|
|
129
|
+
* The destination is blocked by Polyester's user-safety denylist.
|
|
130
|
+
*
|
|
131
|
+
* @generated from enum value: DENYLISTED_ADDRESS = 6;
|
|
132
|
+
*/
|
|
133
|
+
WithdrawDestinationValidationCode[WithdrawDestinationValidationCode["DENYLISTED_ADDRESS"] = 6] = "DENYLISTED_ADDRESS";
|
|
134
|
+
return WithdrawDestinationValidationCode;
|
|
135
|
+
}({});
|
|
136
|
+
/**
|
|
137
|
+
* Describes the enum chain.withdraw.v1.WithdrawDestinationValidationCode.
|
|
138
|
+
*/
|
|
139
|
+
const WithdrawDestinationValidationCodeSchema = /*@__PURE__*/ enumDesc(file_chain_withdraw_v1_withdraw, 1);
|
|
140
|
+
/**
|
|
71
141
|
* WithdrawService manages authenticated chain-facing withdraw request intake.
|
|
72
142
|
*
|
|
73
143
|
* @generated from service chain.withdraw.v1.WithdrawService
|
|
74
144
|
*/
|
|
75
145
|
const WithdrawService = /*@__PURE__*/ serviceDesc(file_chain_withdraw_v1_withdraw, 0);
|
|
76
146
|
//#endregion
|
|
77
|
-
export { CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayloadSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_exports };
|
|
147
|
+
export { CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_exports };
|
|
78
148
|
|
|
79
149
|
//# sourceMappingURL=withdraw_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/withdraw.proto (package chain.withdraw.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/withdraw/v1/withdraw.proto.\n */\nexport const file_chain_withdraw_v1_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSK4AgocVHJhZGluZ1dpdGhkcmF3SW50ZW50UGF5bG9hZBI6CgZhY3Rpb24YASABKA4yKC5jaGFpbi53aXRoZHJhdy52MS5UcmFkaW5nV2l0aGRyYXdBY3Rpb25CABISCghhc3NldF9pZBgCIAEoDUIAEhwKFGRlc3RpbmF0aW9uX2NoYWluX2lkGAMgASgEEi0KCmFtb3VudF9lMTgYBCABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4QgASGQoPZGVhZGxpbmVfdHNfc2VjGAUgASgEQgASKAoFbm9uY2UYBiABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4QgASGwoTZGVzdGluYXRpb25fYWRkcmVzcxgHIAEoCRIZCg9pZGVtcG90ZW5jeV9rZXkYCCABKAlCACJ/ChxDcmVhdGVUcmFkaW5nV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radingWithdrawResponse returns the accepted durable intent identifier\n * for the withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawResponse\n */\nexport type CreateTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.\n * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawResponseSchema: GenMessage<CreateTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * CreateWalletTradingWithdrawResponse returns the accepted durable intent\n * identifier for a wallet-authorized withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawResponse\n */\nexport type CreateWalletTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawResponse.\n * Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * External network id for TO_EXTERNAL_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet EIP-712 signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-712 signature over the typed withdraw payload.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n * Own-account Trading to Funding accepts recent MFA; external, cross-owner,\n * and delegated movements require a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAcA,MAAa,kCACX,uBAAS,opDAAopD,CAAC,4BAA4B,2BAA2B,CAAC;;;;;AAsBxtD,MAAa,sCACX,0BAAY,iCAAiC,CAAC;;;;;AAsBhD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAgFhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA4BhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA0ChD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;;AAOhD,IAAY,wBAAL,yBAAA,uBAAA;;;;CAIL,sBAAA,sBAAA,wBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,gBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAwBX,0BAAY,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/withdraw.proto (package chain.withdraw.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/withdraw/v1/withdraw.proto.\n */\nexport const file_chain_withdraw_v1_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFR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hd1JlcXVlc3QaNi5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXdSZXNwb25zZSIAQk9aTWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vd2l0aGRyYXcvdjE7Y2hhaW53aXRoZHJhd3YxYgZwcm90bzM=\", [file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * CreateTradingWithdrawResponse returns the accepted durable intent identifier\n * for the withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawResponse\n */\nexport type CreateTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.\n * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawResponseSchema: GenMessage<CreateTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * CreateWalletTradingWithdrawResponse returns the accepted durable intent\n * identifier for a wallet-authorized withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawResponse\n */\nexport type CreateWalletTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawResponse.\n * Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * External network id for TO_EXTERNAL_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet EIP-712 signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-712 signature over the typed withdraw payload.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * ValidateWithdrawDestinationRequest checks one external-chain\n * destination for an authenticated caller without creating a withdraw.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationRequest\n */\nexport type ValidateWithdrawDestinationRequest = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationRequest\"> & {\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 1;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address to validate for destination_chain_id.\n *\n * @generated from field: string destination_address = 2;\n */\n destinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationRequest.\n * Use `create(ValidateWithdrawDestinationRequestSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationRequestSchema: GenMessage<ValidateWithdrawDestinationRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 5);\n\n/**\n * ValidateWithdrawDestinationResponse returns a user-safe validation\n * result without exposing internal denylist details.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationResponse\n */\nexport type ValidateWithdrawDestinationResponse = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationResponse\"> & {\n /**\n * Whether the destination may be used for a withdraw.\n *\n * @generated from field: bool valid = 1;\n */\n valid: boolean;\n\n /**\n * Public validation outcome code.\n *\n * @generated from field: chain.withdraw.v1.WithdrawDestinationValidationCode code = 2;\n */\n code: WithdrawDestinationValidationCode;\n\n /**\n * User-safe explanation of the validation outcome.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n\n /**\n * Canonical destination address when valid. Empty when valid is false.\n *\n * @generated from field: string canonical_destination_address = 4;\n */\n canonicalDestinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationResponse.\n * Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 6);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * WithdrawDestinationValidationCode identifies the public outcome of an\n * external-chain destination validation.\n *\n * @generated from enum chain.withdraw.v1.WithdrawDestinationValidationCode\n */\nexport enum WithdrawDestinationValidationCode {\n /**\n * No validation outcome was produced.\n *\n * @generated from enum value: RESULT_UNSPECIFIED = 0;\n */\n RESULT_UNSPECIFIED = 0,\n\n /**\n * The destination is valid and may be used for a withdraw.\n *\n * @generated from enum value: VALID = 1;\n */\n VALID = 1,\n\n /**\n * The address is not valid for the selected destination chain.\n *\n * @generated from enum value: INVALID_ADDRESS = 2;\n */\n INVALID_ADDRESS = 2,\n\n /**\n * The selected destination chain is not supported for withdraws.\n *\n * @generated from enum value: UNSUPPORTED_CHAIN = 3;\n */\n UNSUPPORTED_CHAIN = 3,\n\n /**\n * The destination is a Polyester smart account and cannot be used for an\n * external-chain withdraw.\n *\n * @generated from enum value: POLYESTER_SMART_ACCOUNT = 4;\n */\n POLYESTER_SMART_ACCOUNT = 4,\n\n /**\n * The destination is a token contract and cannot receive withdrawals.\n *\n * @generated from enum value: TOKEN_CONTRACT = 5;\n */\n TOKEN_CONTRACT = 5,\n\n /**\n * The destination is blocked by Polyester's user-safety denylist.\n *\n * @generated from enum value: DENYLISTED_ADDRESS = 6;\n */\n DENYLISTED_ADDRESS = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.WithdrawDestinationValidationCode.\n */\nexport const WithdrawDestinationValidationCodeSchema: GenEnum<WithdrawDestinationValidationCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Validate an external-chain withdraw destination for an authenticated\n * caller without creating, signing, or reserving a withdraw.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.ValidateWithdrawDestination\n */\n validateWithdrawDestination: {\n methodKind: \"unary\";\n input: typeof ValidateWithdrawDestinationRequestSchema;\n output: typeof ValidateWithdrawDestinationResponseSchema;\n },\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n * Own-account Trading to Funding accepts recent MFA; external, cross-owner,\n * and delegated movements require a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawRes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
|
/**
|
|
38
38
|
* Describes the file ledger/read/v1/ledger_read.proto.
|
|
39
39
|
*/
|
|
40
|
-
const file_ledger_read_v1_ledger_read = /*@__PURE__*/ fileDesc("CiBsZWRnZXIvcmVhZC92MS9sZWRnZXJfcmVhZC5wcm90bxIObGVkZ2VyLnJlYWQudjEiQgoSR2V0QmFsYW5jZXNSZXF1ZXN0EhoKDXN1YmFjY291bnRfaWQYASABKAZIAIgBAUIQCg5fc3ViYWNjb3VudF9pZCL/
|
|
40
|
+
const file_ledger_read_v1_ledger_read = /*@__PURE__*/ fileDesc("CiBsZWRnZXIvcmVhZC92MS9sZWRnZXJfcmVhZC5wcm90bxIObGVkZ2VyLnJlYWQudjEiQgoSR2V0QmFsYW5jZXNSZXF1ZXN0EhoKDXN1YmFjY291bnRfaWQYASABKAZIAIgBAUIQCg5fc3ViYWNjb3VudF9pZCL/AQoMQXNzZXRCYWxhbmNlEhAKCGFzc2V0X2lkGAEgASgNEigKB3RyYWRpbmcYAiABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EigKB2Z1bmRpbmcYAyABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EikKCHJlc2VydmVkGAQgASgLMhcucG9seWVzdGVyLnR5cGUudjEuVTEyOBIqCglhdmFpbGFibGUYBSABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EhgKEHRyYWRpbmdfcmV2aXNpb24YBiABKAQSGAoQZnVuZGluZ19yZXZpc2lvbhgHIAEoBCJFChNHZXRCYWxhbmNlc1Jlc3BvbnNlEi4KCGJhbGFuY2VzGAEgAygLMhwubGVkZ2VyLnJlYWQudjEuQXNzZXRCYWxhbmNlIrYBChhHZXRCYWxhbmNlSGlzdG9yeVJlcXVlc3QSGgoNc3ViYWNjb3VudF9pZBgBIAEoBkgAiAEBEi0KBXJhbmdlGAIgASgOMhwubGVkZ2VyLnJlYWQudjEuQmFsYW5jZVJhbmdlQgASDgoGbGVkZ2VyGAMgASgN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EVxdWl0eUhpc3RvcnlTZXJpZXNSZXF1ZXN0Gi4ubGVkZ2VyLnJlYWQudjEuR2V0RXF1aXR5SGlzdG9yeVNlcmllc1Jlc3BvbnNlIgASXgoNTGlzdFRyYW5zZmVycxIkLmxlZGdlci5yZWFkLnYxLkxpc3RUcmFuc2ZlcnNSZXF1ZXN0GiUubGVkZ2VyLnJlYWQudjEuTGlzdFRyYW5zZmVyc1Jlc3BvbnNlIgASUgoJTGlzdEhvbGRzEiAubGVkZ2VyLnJlYWQudjEuTGlzdEhvbGRzUmVxdWVzdBohLmxlZGdlci5yZWFkLnYxLkxpc3RIb2xkc1Jlc3BvbnNlIgASWAoLR2V0QmFsYW5jZXMSIi5sZWRnZXIucmVhZC52MS5HZXRCYWxhbmNlc1JlcXVlc3QaIy5sZWRnZXIucmVhZC52MS5HZXRCYWxhbmNlc1Jlc3BvbnNlIgBCR1pFZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9sZWRnZXIvcmVhZC92MTtsZWRnZXJyZHYxYgZwcm90bzM=", [file_ledger_v1_catalog, file_polyester_type_v1_u128]);
|
|
41
41
|
/**
|
|
42
42
|
* Describes the message ledger.read.v1.GetBalancesRequest.
|
|
43
43
|
* Use `create(GetBalancesRequestSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ledger_read_pb.js","names":[],"sources":["../../../../../src/gen/ledger/read/v1/ledger_read_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file ledger/read/v1/ledger_read.proto (package ledger.read.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { AccountCode, TransferCode } from \"../../v1/catalog_pb.js\";\nimport { file_ledger_v1_catalog } from \"../../v1/catalog_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file ledger/read/v1/ledger_read.proto.\n */\nexport const file_ledger_read_v1_ledger_read: GenFile = /*@__PURE__*/\n fileDesc(\"CiBsZWRnZXIvcmVhZC92MS9sZWRnZXJfcmVhZC5wcm90bxIObGVkZ2VyLnJlYWQudjEiQgoSR2V0QmFsYW5jZXNSZXF1ZXN0EhoKDXN1YmFjY291bnRfaWQYASABKAZIAIgBAUIQCg5fc3ViYWNjb3VudF9pZCL/AQoMQXNzZXRCYWxhbmNlEhAKCGFzc2V0X2lkGAEgASgNEigKB3RyYWRpbmcYAiABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EigKB2Z1bmRpbmcYAyABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EikKCHJlc2VydmVkGAQgASgLMhcucG9seWVzdGVyLnR5cGUudjEuVTEyOBIqCglhdmFpbGFibGUYBSABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EhgKEHRyYWRpbmdfcmV2aXNpb24YBiABKAQSGAoQZnVuZGluZ19yZXZpc2lvbhgHIAEoBCJFChNHZXRCYWxhbmNlc1Jlc3BvbnNlEi4KCGJhbGFuY2VzGAEgAygLMhwubGVkZ2VyLnJlYWQudjEuQXNzZXRCYWxhbmNlIrYBChhHZXRCYWxhbmNlSGlzdG9yeVJlcXVlc3QSGgoNc3ViYWNjb3VudF9pZBgBIAEoBkgAiAEBEi0KBXJhbmdlGAIgASgOMhwubGVkZ2VyLnJlYWQudjEuQmFsYW5jZVJhbmdlQgASDgoGbGVkZ2VyGAMgASgNEi0KDWFjY291bnRfY29kZXMYBCADKA4yFi5sZWRnZXIudjEuQWNjb3VudENvZGVCEAoOX3N1YmFjY291bnRfaWQiYgoNQmFsYW5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SZXNwb25zZSIAEl4KDUxpc3RUcmFuc2ZlcnMSJC5sZWRnZXIucmVhZC52MS5MaXN0VHJhbnNmZXJzUmVxdWVzdBolLmxlZGdlci5yZWFkLnYxLkxpc3RUcmFuc2ZlcnNSZXNwb25zZSIAElIKCUxpc3RIb2xkcxIgLmxlZGdlci5yZWFkLnYxLkxpc3RIb2xkc1JlcXVlc3QaIS5sZWRnZXIucmVhZC52MS5MaXN0SG9sZHNSZXNwb25zZSIAElgKC0dldEJhbGFuY2VzEiIubGVkZ2VyLnJlYWQudjEuR2V0QmFsYW5jZXNSZXF1ZXN0GiMubGVkZ2VyLnJlYWQudjEuR2V0QmFsYW5jZXNSZXNwb25zZSIAQkdaRWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vbGVkZ2VyL3JlYWQvdjE7bGVkZ2VycmR2MWIGcHJvdG8z\", [file_ledger_v1_catalog, file_polyester_type_v1_u128]);\n\n/**\n * @generated from message ledger.read.v1.GetBalancesRequest\n */\nexport type GetBalancesRequest = Message<\"ledger.read.v1.GetBalancesRequest\"> & {\n /**\n * Optional sub-account to scope balances to. If omitted, balances are\n * returned for the authenticated root account derived from the JWT or API\n * key. The logical account id itself is always derived from the caller's JWT\n * or API key, not from this payload.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message ledger.read.v1.GetBalancesRequest.\n * Use `create(GetBalancesRequestSchema)` to create a new message.\n */\nexport const GetBalancesRequestSchema: GenMessage<GetBalancesRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 0);\n\n/**\n * Fixed-size representation for balances (for Protobuf/WS clients).\n * Uses common U128 messages for amounts to keep schema tidy and consistent.\n *\n * @generated from message ledger.read.v1.AssetBalance\n */\nexport type AssetBalance = Message<\"ledger.read.v1.AssetBalance\"> & {\n /**\n * Public unified asset id. Resolve symbol from SpotConfig; U128 amounts in\n * this message always use fixed 18-decimal ledger scale.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Trading balance at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 trading = 2;\n */\n trading?: U128 | undefined;\n\n /**\n * Funding balance at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 funding = 3;\n */\n funding?: U128 | undefined;\n\n /**\n * Reserved amount in the trading bucket at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 reserved = 4;\n */\n reserved?: U128 | undefined;\n\n /**\n * Amount currently available for new trading activity at fixed 18-decimal\n * ledger scale. This value already accounts for active reservations.\n *\n * @generated from field: polyester.type.v1.U128 available = 5;\n */\n available?: U128 | undefined;\n\n /**\n * Opaque monotonic revision for the atomic trading, reserved, and available\n * values. Higher means newer; zero means no trading state has been observed.\n *\n * @generated from field: uint64 trading_revision = 6;\n */\n tradingRevision: bigint;\n\n /**\n * Opaque monotonic revision for the funding value. Higher means newer; zero\n * means no funding state has been observed.\n *\n * @generated from field: uint64 funding_revision = 7;\n */\n fundingRevision: bigint;\n};\n\n/**\n * Describes the message ledger.read.v1.AssetBalance.\n * Use `create(AssetBalanceSchema)` to create a new message.\n */\nexport const AssetBalanceSchema: GenMessage<AssetBalance> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 1);\n\n/**\n * @generated from message ledger.read.v1.GetBalancesResponse\n */\nexport type GetBalancesResponse = Message<\"ledger.read.v1.GetBalancesResponse\"> & {\n /**\n * One entry for every supported unified asset, including assets with zero\n * balances. Sorted by available trading amount (highest first), then by\n * asset symbol alphabetically.\n *\n * @generated from field: repeated ledger.read.v1.AssetBalance balances = 1;\n */\n balances: AssetBalance[];\n};\n\n/**\n * Describes the message ledger.read.v1.GetBalancesResponse.\n * Use `create(GetBalancesResponseSchema)` to create a new message.\n */\nexport const GetBalancesResponseSchema: GenMessage<GetBalancesResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 2);\n\n/**\n * @generated from message ledger.read.v1.GetBalanceHistoryRequest\n */\nexport type GetBalanceHistoryRequest = Message<\"ledger.read.v1.GetBalanceHistoryRequest\"> & {\n /**\n * Optional sub-account to scope balances to. If omitted, balances are\n * returned for the authenticated root account derived from the JWT or API\n * key. The logical account id itself is always derived from the caller's JWT\n * or API key, not from this payload.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * History window to return. When unset/UNSPECIFIED, defaults to 1D.\n *\n * @generated from field: ledger.read.v1.BalanceRange range = 2;\n */\n range: BalanceRange;\n\n /**\n * Optional public asset filter. When unset/0, returns all assets.\n *\n * @generated from field: uint32 ledger = 3;\n */\n ledger: number;\n\n /**\n * Optional subset of account buckets to return. When empty, returns all\n * account buckets.\n *\n * @generated from field: repeated ledger.v1.AccountCode account_codes = 4;\n */\n accountCodes: AccountCode[];\n};\n\n/**\n * Describes the message ledger.read.v1.GetBalanceHistoryRequest.\n * Use `create(GetBalanceHistoryRequestSchema)` to create a new message.\n */\nexport const GetBalanceHistoryRequestSchema: GenMessage<GetBalanceHistoryRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 3);\n\n/**\n * Columnar balance series payload (scaled integers).\n * REST renders decimal strings from these values.\n *\n * @generated from message ledger.read.v1.BalanceSeries\n */\nexport type BalanceSeries = Message<\"ledger.read.v1.BalanceSeries\"> & {\n /**\n * public unified asset id\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * account bucket\n *\n * @generated from field: ledger.v1.AccountCode account_code = 2;\n */\n accountCode: AccountCode;\n\n /**\n * Chart balance in asset units scaled by 1e7 (7 decimals).\n * Values are downscaled from 18-decimal ledger balances for compact charting\n * and align 1:1 with implicit timestamps.\n *\n * @generated from field: repeated uint64 balance_q = 3;\n */\n balanceQ: bigint[];\n};\n\n/**\n * Describes the message ledger.read.v1.BalanceSeries.\n * Use `create(BalanceSeriesSchema)` to create a new message.\n */\nexport const BalanceSeriesSchema: GenMessage<BalanceSeries> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 4);\n\n/**\n * GetBalanceHistoryResponse returns aligned balance chart series.\n *\n * @generated from message ledger.read.v1.GetBalanceHistoryResponse\n */\nexport type GetBalanceHistoryResponse = Message<\"ledger.read.v1.GetBalanceHistoryResponse\"> & {\n /**\n * Resolved history window.\n *\n * @generated from field: ledger.read.v1.BalanceRange range = 1;\n */\n range: BalanceRange;\n\n /**\n * Sampling interval between points, such as \"5m\" or \"1h\".\n *\n * @generated from field: string bucket = 2;\n */\n bucket: string;\n\n /**\n * First point timestamp in seconds since epoch (UTC).\n *\n * @generated from field: fixed32 start_ts_sec = 3;\n */\n startTsSec: number;\n\n /**\n * Last point timestamp in seconds since epoch (UTC).\n *\n * @generated from field: fixed32 end_ts_sec = 4;\n */\n endTsSec: number;\n\n /**\n * Number of aligned points in each returned series.\n *\n * @generated from field: uint32 points = 5;\n */\n points: number;\n\n /**\n * Balance series ordered by asset ID, then account bucket.\n *\n * @generated from field: repeated ledger.read.v1.BalanceSeries series = 6;\n */\n series: BalanceSeries[];\n};\n\n/**\n * Describes the message ledger.read.v1.GetBalanceHistoryResponse.\n * Use `create(GetBalanceHistoryResponseSchema)` to create a new message.\n */\nexport const GetBalanceHistoryResponseSchema: GenMessage<GetBalanceHistoryResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 5);\n\n/**\n * Account grouping metadata (used when group_by = ACCOUNT).\n *\n * @generated from message ledger.read.v1.AccountGrouping\n */\nexport type AccountGrouping = Message<\"ledger.read.v1.AccountGrouping\"> & {\n /**\n * account bucket code\n *\n * @generated from field: uint32 account_code = 1;\n */\n accountCode: number;\n\n /**\n * human-readable name (\"funding\", \"trading\")\n *\n * @generated from field: string name = 2;\n */\n name: string;\n};\n\n/**\n * Describes the message ledger.read.v1.AccountGrouping.\n * Use `create(AccountGroupingSchema)` to create a new message.\n */\nexport const AccountGroupingSchema: GenMessage<AccountGrouping> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 6);\n\n/**\n * Asset grouping metadata (used when group_by = ASSET).\n *\n * @generated from message ledger.read.v1.AssetGrouping\n */\nexport type AssetGrouping = Message<\"ledger.read.v1.AssetGrouping\"> & {\n /**\n * public asset id (0 for \"OTHER\" bucket)\n *\n * @generated from field: uint32 id = 1;\n */\n id: number;\n\n /**\n * asset symbol (\"BTC\", \"ETH\", \"OTHER\")\n *\n * @generated from field: string symbol = 2;\n */\n symbol: string;\n};\n\n/**\n * Describes the message ledger.read.v1.AssetGrouping.\n * Use `create(AssetGroupingSchema)` to create a new message.\n */\nexport const AssetGroupingSchema: GenMessage<AssetGrouping> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 7);\n\n/**\n * Equity history in USDT (or BTC via client-side conversion using btc_prices).\n * Values are derived from per-asset balances and market prices (close ticks).\n *\n * @generated from message ledger.read.v1.GetEquityHistorySeriesRequest\n */\nexport type GetEquityHistorySeriesRequest = Message<\"ledger.read.v1.GetEquityHistorySeriesRequest\"> & {\n /**\n * Optional sub-account to scope equity to. If omitted, equity is returned for\n * the authenticated root account derived from the JWT or API key.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * History window to return. When unset/UNSPECIFIED, defaults to 1D.\n *\n * @generated from field: ledger.read.v1.BalanceRange range = 2;\n */\n range: BalanceRange;\n\n /**\n * Optional subset of account buckets.\n * When empty, server returns both funding and trading.\n * Only used when group_by = ACCOUNT.\n *\n * @generated from field: repeated ledger.v1.AccountCode account_codes = 4;\n */\n accountCodes: AccountCode[];\n\n /**\n * How to group the equity series. Defaults to ACCOUNT if unspecified.\n *\n * @generated from field: ledger.read.v1.EquityGroupBy group_by = 5;\n */\n groupBy: EquityGroupBy;\n};\n\n/**\n * Describes the message ledger.read.v1.GetEquityHistorySeriesRequest.\n * Use `create(GetEquityHistorySeriesRequestSchema)` to create a new message.\n */\nexport const GetEquityHistorySeriesRequestSchema: GenMessage<GetEquityHistorySeriesRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 8);\n\n/**\n * Columnar equity series payload (scaled integers).\n * REST renders decimal strings from these values.\n *\n * @generated from message ledger.read.v1.EquitySeries\n */\nexport type EquitySeries = Message<\"ledger.read.v1.EquitySeries\"> & {\n /**\n * Grouping identifier: either account or asset, depending on request group_by.\n *\n * @generated from oneof ledger.read.v1.EquitySeries.grouping\n */\n grouping: {\n /**\n * set when group_by = ACCOUNT\n *\n * @generated from field: ledger.read.v1.AccountGrouping account = 1;\n */\n value: AccountGrouping;\n case: \"account\";\n } | {\n /**\n * set when group_by = ASSET\n *\n * @generated from field: ledger.read.v1.AssetGrouping asset = 3;\n */\n value: AssetGrouping;\n case: \"asset\";\n } | { case: undefined; value?: undefined };\n\n /**\n * Equity in quote currency (USDT) scaled by 1e4 (4 decimals).\n * Values align 1:1 with timestamps.\n *\n * @generated from field: repeated sint64 equity_q = 2;\n */\n equityQ: bigint[];\n};\n\n/**\n * Describes the message ledger.read.v1.EquitySeries.\n * Use `create(EquitySeriesSchema)` to create a new message.\n */\nexport const EquitySeriesSchema: GenMessage<EquitySeries> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 9);\n\n/**\n * GetEquityHistorySeriesResponse returns aligned equity chart series.\n *\n * @generated from message ledger.read.v1.GetEquityHistorySeriesResponse\n */\nexport type GetEquityHistorySeriesResponse = Message<\"ledger.read.v1.GetEquityHistorySeriesResponse\"> & {\n /**\n * Resolved history window.\n *\n * @generated from field: ledger.read.v1.BalanceRange range = 1;\n */\n range: BalanceRange;\n\n /**\n * Sampling interval between points, such as \"5m\" or \"1h\".\n *\n * @generated from field: string bucket = 2;\n */\n bucket: string;\n\n /**\n * First point timestamp in seconds since epoch (UTC).\n *\n * @generated from field: fixed32 start_ts_sec = 3;\n */\n startTsSec: number;\n\n /**\n * Last point timestamp in seconds since epoch (UTC).\n *\n * @generated from field: fixed32 end_ts_sec = 4;\n */\n endTsSec: number;\n\n /**\n * Human-readable quote asset symbol (always \"USDT\").\n *\n * @generated from field: string quote_asset = 6;\n */\n quoteAsset: string;\n\n /**\n * Number of aligned points in each returned series.\n *\n * @generated from field: uint32 points = 7;\n */\n points: number;\n\n /**\n * Equity series ordered by grouping identifier ascending.\n *\n * @generated from field: repeated ledger.read.v1.EquitySeries series = 8;\n */\n series: EquitySeries[];\n\n /**\n * BTC-USDT close price at each timestamp, scaled by 1e6 (same as price_ticks).\n * Enables client-side conversion to BTC denomination without refetch.\n *\n * @generated from field: repeated int64 btc_prices_q = 10;\n */\n btcPricesQ: bigint[];\n};\n\n/**\n * Describes the message ledger.read.v1.GetEquityHistorySeriesResponse.\n * Use `create(GetEquityHistorySeriesResponseSchema)` to create a new message.\n */\nexport const GetEquityHistorySeriesResponseSchema: GenMessage<GetEquityHistorySeriesResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 10);\n\n/**\n * @generated from message ledger.read.v1.ListTransfersRequest\n */\nexport type ListTransfersRequest = Message<\"ledger.read.v1.ListTransfersRequest\"> & {\n /**\n * Optional sub-account to scope transfers to. If omitted, transfers are\n * listed for the authenticated root account derived from the JWT or API key.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Maximum number of transfer rows to return. Defaults to 100 when omitted;\n * maximum is 1000.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Sort direction. When true, rows are returned newest first; when false,\n * rows are returned oldest first.\n *\n * @generated from field: bool reversed = 3;\n */\n reversed: boolean;\n\n /**\n * Optional lower transfer timestamp bound in microseconds since epoch (UTC),\n * inclusive.\n *\n * @generated from field: uint64 ts_min_us = 4;\n */\n tsMinUs: bigint;\n\n /**\n * Optional upper transfer timestamp bound in microseconds since epoch (UTC),\n * inclusive.\n *\n * @generated from field: uint64 ts_max_us = 5;\n */\n tsMaxUs: bigint;\n\n /**\n * Optional filter by transfer reason.\n *\n * @generated from field: ledger.v1.TransferCode transfer_code = 6;\n */\n transferCode: TransferCode;\n\n /**\n * Optional filter by asset ledger.\n *\n * @generated from field: uint32 ledger = 7;\n */\n ledger: number;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to the authenticated account, sub-account scope, filters, timestamp\n * bounds, and sort direction.\n *\n * @generated from field: string page_token = 9;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message ledger.read.v1.ListTransfersRequest.\n * Use `create(ListTransfersRequestSchema)` to create a new message.\n */\nexport const ListTransfersRequestSchema: GenMessage<ListTransfersRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 11);\n\n/**\n * TransferSide describes one side of a ledger transfer for display.\n *\n * @generated from message ledger.read.v1.TransferSide\n */\nexport type TransferSide = Message<\"ledger.read.v1.TransferSide\"> & {\n /**\n * Display classification for this transfer side.\n *\n * @generated from field: ledger.read.v1.TransferSideKind kind = 1;\n */\n kind: TransferSideKind;\n\n /**\n * Public root account or subaccount ID when this side is safe to identify. Never\n * populated for private counterparties or non-user ledger accounts.\n *\n * @generated from field: optional fixed64 account_id = 2;\n */\n accountId?: bigint | undefined;\n\n /**\n * Address for this side when known. For EXTERNAL_ADDRESS this is an\n * external-chain wallet address from lifecycle correlation; for identifiable\n * Polyester accounts this is a Polyester smart-account address.\n * May be empty until the corresponding lifecycle details are available.\n *\n * @generated from field: string address = 3;\n */\n address: string;\n};\n\n/**\n * Describes the message ledger.read.v1.TransferSide.\n * Use `create(TransferSideSchema)` to create a new message.\n */\nexport const TransferSideSchema: GenMessage<TransferSide> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 12);\n\n/**\n * TransferRow describes one debit or credit leg of a ledger transfer.\n *\n * @generated from message ledger.read.v1.TransferRow\n */\nexport type TransferRow = Message<\"ledger.read.v1.TransferRow\"> & {\n /**\n * Public unified asset ID. Resolve its symbol through the spot configuration\n * API. U128 amounts in this row always use a fixed 18-decimal ledger scale.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Transfer amount at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 2;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Product reason for this transfer.\n *\n * @generated from field: ledger.v1.TransferCode transfer_code = 3;\n */\n transferCode: TransferCode;\n\n /**\n * Account bucket affected by this transfer.\n *\n * @generated from field: ledger.v1.AccountCode account_code = 4;\n */\n accountCode: AccountCode;\n\n /**\n * Transfer timestamp in microseconds since epoch (UTC).\n *\n * @generated from field: uint64 ts_us = 5;\n */\n tsUs: bigint;\n\n /**\n * Post-transfer balance at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 balance_after_e18 = 9;\n */\n balanceAfterE18?: U128 | undefined;\n\n /**\n * True when this row is the debit leg; false when it is the credit leg.\n *\n * @generated from field: bool is_debit = 10;\n */\n isDebit: boolean;\n\n /**\n * Correlation ID used to group related transfer legs. Zero when unavailable.\n *\n * @generated from field: uint64 link_id = 11;\n */\n linkId: bigint;\n\n /**\n * Public lifecycle flow ID when this transfer belongs to a chain lifecycle flow.\n *\n * @generated from field: string flow_id = 12;\n */\n flowId: string;\n\n /**\n * Debit side of the transfer. This relationship is debit-to-credit rather\n * than row-relative; use is_debit to determine whether this row is the debit leg.\n *\n * @generated from field: ledger.read.v1.TransferSide source = 13;\n */\n source?: TransferSide | undefined;\n\n /**\n * Credit side of the transfer. This relationship is debit-to-credit rather\n * than row-relative; use is_debit to determine whether this row is the credit leg.\n *\n * @generated from field: ledger.read.v1.TransferSide destination = 14;\n */\n destination?: TransferSide | undefined;\n};\n\n/**\n * Describes the message ledger.read.v1.TransferRow.\n * Use `create(TransferRowSchema)` to create a new message.\n */\nexport const TransferRowSchema: GenMessage<TransferRow> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 13);\n\n/**\n * ListTransfersResponse contains transfer rows and an optional continuation cursor.\n *\n * @generated from message ledger.read.v1.ListTransfersResponse\n */\nexport type ListTransfersResponse = Message<\"ledger.read.v1.ListTransfersResponse\"> & {\n /**\n * Transfer rows in requested order.\n *\n * @generated from field: repeated ledger.read.v1.TransferRow transfers = 1;\n */\n transfers: TransferRow[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 3;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message ledger.read.v1.ListTransfersResponse.\n * Use `create(ListTransfersResponseSchema)` to create a new message.\n */\nexport const ListTransfersResponseSchema: GenMessage<ListTransfersResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 14);\n\n/**\n * @generated from message ledger.read.v1.ListHoldsRequest\n */\nexport type ListHoldsRequest = Message<\"ledger.read.v1.ListHoldsRequest\"> & {\n /**\n * Optional sub-account to scope holds to. If omitted, holds are listed for\n * the authenticated root account derived from the JWT or API key.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Maximum number of holds to return. Defaults to 100 when omitted; maximum is\n * 1000.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * true=newest first; false=oldest first.\n *\n * @generated from field: bool reversed = 3;\n */\n reversed: boolean;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to account, sub-account scope, and sort direction.\n *\n * @generated from field: string page_token = 4;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message ledger.read.v1.ListHoldsRequest.\n * Use `create(ListHoldsRequestSchema)` to create a new message.\n */\nexport const ListHoldsRequestSchema: GenMessage<ListHoldsRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 15);\n\n/**\n * Hold row with compact integers and client-side resolution.\n *\n * @generated from message ledger.read.v1.HoldRow\n */\nexport type HoldRow = Message<\"ledger.read.v1.HoldRow\"> & {\n /**\n * pending transfer id (numeric)\n *\n * @generated from field: fixed64 hold_id = 1;\n */\n holdId: bigint;\n\n /**\n * Reserved amount at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 amount_reserved_e18 = 2;\n */\n amountReservedE18?: U128 | undefined;\n\n /**\n * Public unified asset id.\n *\n * @generated from field: uint32 asset_id = 3;\n */\n assetId: number;\n\n /**\n * Expiration time in nanoseconds since epoch (UTC).\n *\n * @generated from field: uint64 expires_at_ns = 4;\n */\n expiresAtNs: bigint;\n};\n\n/**\n * Describes the message ledger.read.v1.HoldRow.\n * Use `create(HoldRowSchema)` to create a new message.\n */\nexport const HoldRowSchema: GenMessage<HoldRow> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 16);\n\n/**\n * @generated from message ledger.read.v1.ListHoldsResponse\n */\nexport type ListHoldsResponse = Message<\"ledger.read.v1.ListHoldsResponse\"> & {\n /**\n * Hold rows in the sort direction requested by the caller.\n *\n * @generated from field: repeated ledger.read.v1.HoldRow holds = 1;\n */\n holds: HoldRow[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message ledger.read.v1.ListHoldsResponse.\n * Use `create(ListHoldsResponseSchema)` to create a new message.\n */\nexport const ListHoldsResponseSchema: GenMessage<ListHoldsResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 17);\n\n/**\n * ErrorDetail is attached to ConnectRPC errors for structured error handling.\n * Clients can inspect this to get a stable machine-readable error code.\n *\n * @generated from message ledger.read.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"ledger.read.v1.ErrorDetail\"> & {\n /**\n * Stable error code matching the REST problem+json \"code\" field.\n *\n * @generated from field: ledger.read.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n};\n\n/**\n * Describes the message ledger.read.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 18);\n\n/**\n * Supported history windows for balance charts.\n *\n * @generated from enum ledger.read.v1.BalanceRange\n */\nexport enum BalanceRange {\n /**\n * @generated from enum value: RANGE_UNSPECIFIED = 0;\n */\n RANGE_UNSPECIFIED = 0,\n\n /**\n * 1 day\n *\n * @generated from enum value: DAY_1 = 1;\n */\n DAY_1 = 1,\n\n /**\n * 7 days\n *\n * @generated from enum value: DAY_7 = 2;\n */\n DAY_7 = 2,\n\n /**\n * 30 days\n *\n * @generated from enum value: DAY_30 = 3;\n */\n DAY_30 = 3,\n\n /**\n * 90 days\n *\n * @generated from enum value: DAY_90 = 4;\n */\n DAY_90 = 4,\n\n /**\n * 180 days\n *\n * @generated from enum value: DAY_180 = 5;\n */\n DAY_180 = 5,\n\n /**\n * 365 days\n *\n * @generated from enum value: DAY_365 = 6;\n */\n DAY_365 = 6,\n}\n\n/**\n * Describes the enum ledger.read.v1.BalanceRange.\n */\nexport const BalanceRangeSchema: GenEnum<BalanceRange> = /*@__PURE__*/\n enumDesc(file_ledger_read_v1_ledger_read, 0);\n\n/**\n * How to group equity series data.\n *\n * @generated from enum ledger.read.v1.EquityGroupBy\n */\nexport enum EquityGroupBy {\n /**\n * defaults to ACCOUNT\n *\n * @generated from enum value: GROUP_BY_UNSPECIFIED = 0;\n */\n GROUP_BY_UNSPECIFIED = 0,\n\n /**\n * group by account bucket\n *\n * @generated from enum value: GROUP_BY_ACCOUNT = 1;\n */\n GROUP_BY_ACCOUNT = 1,\n\n /**\n * group by asset (BTC, ETH, etc.)\n *\n * @generated from enum value: GROUP_BY_ASSET = 2;\n */\n GROUP_BY_ASSET = 2,\n}\n\n/**\n * Describes the enum ledger.read.v1.EquityGroupBy.\n */\nexport const EquityGroupBySchema: GenEnum<EquityGroupBy> = /*@__PURE__*/\n enumDesc(file_ledger_read_v1_ledger_read, 1);\n\n/**\n * TransferSideKind identifies the display class for one side of a transfer.\n *\n * @generated from enum ledger.read.v1.TransferSideKind\n */\nexport enum TransferSideKind {\n /**\n * Transfer side type was not specified.\n *\n * @generated from enum value: TRANSFER_SIDE_KIND_UNSPECIFIED = 0;\n */\n TRANSFER_SIDE_KIND_UNSPECIFIED = 0,\n\n /**\n * Polyester funding account.\n *\n * @generated from enum value: FUNDING_ACCOUNT = 1;\n */\n FUNDING_ACCOUNT = 1,\n\n /**\n * Polyester trading account.\n *\n * @generated from enum value: TRADING_ACCOUNT = 2;\n */\n TRADING_ACCOUNT = 2,\n\n /**\n * External wallet or chain address. The address is lifecycle-derived and may\n * be empty until ledger-to-lifecycle correlation is projected.\n *\n * @generated from enum value: EXTERNAL_ADDRESS = 3;\n */\n EXTERNAL_ADDRESS = 3,\n\n /**\n * Private off-chain counterparty that must not be identified to the caller.\n * account_id and address are intentionally omitted.\n *\n * @generated from enum value: PRIVATE_COUNTERPARTY = 4;\n */\n PRIVATE_COUNTERPARTY = 4,\n\n /**\n * Fee ledger side, for example spot or perp trading fees.\n *\n * @generated from enum value: FEE_ACCOUNT = 5;\n */\n FEE_ACCOUNT = 5,\n\n /**\n * System, operator, clearing, or other non-user side.\n *\n * @generated from enum value: SYSTEM_ACCOUNT = 6;\n */\n SYSTEM_ACCOUNT = 6,\n}\n\n/**\n * Describes the enum ledger.read.v1.TransferSideKind.\n */\nexport const TransferSideKindSchema: GenEnum<TransferSideKind> = /*@__PURE__*/\n enumDesc(file_ledger_read_v1_ledger_read, 2);\n\n/**\n * ErrorCode enumerates stable machine-readable error codes for the Ledger Read\n * API. These mirror the REST problem+json \"code\" field for parity between REST\n * and ConnectRPC clients.\n *\n * @generated from enum ledger.read.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: ERROR_CODE_BAD_REQUEST = 1;\n */\n BAD_REQUEST = 1,\n\n /**\n * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 2;\n */\n UNAUTHENTICATED = 2,\n\n /**\n * @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 3;\n */\n PERMISSION_DENIED = 3,\n\n /**\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 4;\n */\n NOT_FOUND = 4,\n\n /**\n * Missing or invalid account identifier (legacy; used by older endpoints).\n *\n * @generated from enum value: ERROR_CODE_MISSING_ACCOUNT_ID = 5;\n */\n MISSING_ACCOUNT_ID = 5,\n\n /**\n * @generated from enum value: ERROR_CODE_INVALID_ACCOUNT_ID = 6;\n */\n INVALID_ACCOUNT_ID = 6,\n\n /**\n * Wallet-specific errors for balance lookups by wallet.\n *\n * @generated from enum value: ERROR_CODE_MISSING_WALLET = 7;\n */\n MISSING_WALLET = 7,\n\n /**\n * @generated from enum value: ERROR_CODE_WALLET_RESOLUTION_UNAVAILABLE = 8;\n */\n WALLET_RESOLUTION_UNAVAILABLE = 8,\n\n /**\n * @generated from enum value: ERROR_CODE_WALLET_NOT_FOUND = 9;\n */\n WALLET_NOT_FOUND = 9,\n\n /**\n * Upstream dependency error (e.g., transfers store, wallet resolver).\n *\n * @generated from enum value: ERROR_CODE_UPSTREAM_ERROR = 10;\n */\n UPSTREAM_ERROR = 10,\n}\n\n/**\n * Describes the enum ledger.read.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_ledger_read_v1_ledger_read, 3);\n\n/**\n * LedgerReadService exposes read-only ledger endpoints (balances, history, transfers, holds).\n *\n * @generated from service ledger.read.v1.LedgerReadService\n */\nexport const LedgerReadService: GenService<{\n /**\n * Retrieve balance history buckets for an account.\n * Supports optional subaccount, range, asset, and account-code filters.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.GetBalanceHistory\n */\n getBalanceHistory: {\n methodKind: \"unary\";\n input: typeof GetBalanceHistoryRequestSchema;\n output: typeof GetBalanceHistoryResponseSchema;\n },\n /**\n * Retrieve equity history as columnar series data.\n * Supports optional subaccount, range, account-code filtering, and grouping by account or asset.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.GetEquityHistorySeries\n */\n getEquityHistorySeries: {\n methodKind: \"unary\";\n input: typeof GetEquityHistorySeriesRequestSchema;\n output: typeof GetEquityHistorySeriesResponseSchema;\n },\n /**\n * List finalized transfer history for an account.\n * Supports optional subaccount, asset, ordering, and cursor filters.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.ListTransfers\n */\n listTransfers: {\n methodKind: \"unary\";\n input: typeof ListTransfersRequestSchema;\n output: typeof ListTransfersResponseSchema;\n },\n /**\n * ListHolds returns pending holds with integer amounts (u128) and asset ids.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.ListHolds\n */\n listHolds: {\n methodKind: \"unary\";\n input: typeof ListHoldsRequestSchema;\n output: typeof ListHoldsResponseSchema;\n },\n /**\n * Retrieve the latest balances for an account.\n * Supports optional subaccount scoping and returns asset symbols with decimal amounts on REST.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.GetBalances\n */\n getBalances: {\n methodKind: \"unary\";\n input: typeof GetBalancesRequestSchema;\n output: typeof GetBalancesResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_ledger_read_v1_ledger_read, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,MAAa,kCACX,uBAAS,4gLAA4gL,CAAC,wBAAwB,2BAA2B,CAAC;;;;;AAqB5kL,MAAa,2BACX,0BAAY,iCAAiC,CAAC;;;;;AAmEhD,MAAa,qBACX,0BAAY,iCAAiC,CAAC;;;;;AAoBhD,MAAa,4BACX,0BAAY,iCAAiC,CAAC;;;;;AA2ChD,MAAa,iCACX,0BAAY,iCAAiC,CAAC;;;;;AAqChD,MAAa,sBACX,0BAAY,iCAAiC,CAAC;;;;;AAuDhD,MAAa,kCACX,0BAAY,iCAAiC,CAAC;;;;;AA2BhD,MAAa,wBACX,0BAAY,iCAAiC,CAAC;;;;;AA2BhD,MAAa,sBACX,0BAA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;CAOA,iBAAA,iBAAA,qBAAA,KAAA;;;;;;;CAQA,iBAAA,iBAAA,sBAAA,KAAA;;;;;;;CAQA,iBAAA,iBAAA,0BAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,iBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,oBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,yBACX,uBAAS,iCAAiC,CAAC;;;;;;;;AAS7C,IAAY,YAAL,yBAAA,WAAA;;;;CAIL,UAAA,UAAA,iBAAA,KAAA;;;;CAKA,UAAA,UAAA,iBAAA,KAAA;;;;CAKA,UAAA,UAAA,qBAAA,KAAA;;;;CAKA,UAAA,UAAA,uBAAA,KAAA;;;;CAKA,UAAA,UAAA,eAAA,KAAA;;;;;;CAOA,UAAA,UAAA,wBAAA,KAAA;;;;CAKA,UAAA,UAAA,wBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,oBAAA,KAAA;;;;CAKA,UAAA,UAAA,mCAAA,KAAA;;;;CAKA,UAAA,UAAA,sBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,oBAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,kBACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,oBAwDX,0BAAY,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ledger_read_pb.js","names":[],"sources":["../../../../../src/gen/ledger/read/v1/ledger_read_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file ledger/read/v1/ledger_read.proto (package ledger.read.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { AccountCode, TransferCode } from \"../../v1/catalog_pb.js\";\nimport { file_ledger_v1_catalog } from \"../../v1/catalog_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file ledger/read/v1/ledger_read.proto.\n */\nexport const file_ledger_read_v1_ledger_read: GenFile = /*@__PURE__*/\n fileDesc(\"CiBsZWRnZXIvcmVhZC92MS9sZWRnZXJfcmVhZC5wcm90bxIObGVkZ2VyLnJlYWQudjEiQgoSR2V0QmFsYW5jZXNSZXF1ZXN0EhoKDXN1YmFjY291bnRfaWQYASABKAZIAIgBAUIQCg5fc3ViYWNjb3VudF9pZCL/AQoMQXNzZXRCYWxhbmNlEhAKCGFzc2V0X2lkGAEgASgNEigKB3RyYWRpbmcYAiABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EigKB2Z1bmRpbmcYAyABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EikKCHJlc2VydmVkGAQgASgLMhcucG9seWVzdGVyLnR5cGUudjEuVTEyOBIqCglhdmFpbGFibGUYBSABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EhgKEHRyYWRpbmdfcmV2aXNpb24YBiABKAQSGAoQZnVuZGluZ19yZXZpc2lvbhgHIAEoBCJFChNHZXRCYWxhbmNlc1Jlc3BvbnNlEi4KCGJhbGFuY2VzGAEgAygLMhwubGVkZ2VyLnJlYWQudjEuQXNzZXRCYWxhbmNlIrYBChhHZXRCYWxhbmNlSGlzdG9yeVJlcXVlc3QSGgoNc3ViYWNjb3VudF9pZBgBIAEoBkgAiAEBEi0KBXJhbmdlGAIgASgOMhwubGVkZ2VyLnJlYWQudjEuQmFsYW5jZVJhbmdlQgASDgoGbGVkZ2VyGAMgASgNEi0KDWFjY291bnRfY29kZXMYBCADKA4yFi5sZWRnZXIudjEuQWNjb3VudENvZGVCEAoOX3N1YmFjY291bnRfaWQiYgoNQmFsYW5jZVNlcmllcxIQCghhc3NldF9p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dFRyYW5zZmVycxIkLmxlZGdlci5yZWFkLnYxLkxpc3RUcmFuc2ZlcnNSZXF1ZXN0GiUubGVkZ2VyLnJlYWQudjEuTGlzdFRyYW5zZmVyc1Jlc3BvbnNlIgASUgoJTGlzdEhvbGRzEiAubGVkZ2VyLnJlYWQudjEuTGlzdEhvbGRzUmVxdWVzdBohLmxlZGdlci5yZWFkLnYxLkxpc3RIb2xkc1Jlc3BvbnNlIgASWAoLR2V0QmFsYW5jZXMSIi5sZWRnZXIucmVhZC52MS5HZXRCYWxhbmNlc1JlcXVlc3QaIy5sZWRnZXIucmVhZC52MS5HZXRCYWxhbmNlc1Jlc3BvbnNlIgBCR1pFZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9sZWRnZXIvcmVhZC92MTtsZWRnZXJyZHYxYgZwcm90bzM=\", [file_ledger_v1_catalog, file_polyester_type_v1_u128]);\n\n/**\n * @generated from message ledger.read.v1.GetBalancesRequest\n */\nexport type GetBalancesRequest = Message<\"ledger.read.v1.GetBalancesRequest\"> & {\n /**\n * Optional sub-account to scope balances to. If omitted, balances are\n * returned for the authenticated root account derived from the JWT or API\n * key. The logical account id itself is always derived from the caller's JWT\n * or API key, not from this payload.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message ledger.read.v1.GetBalancesRequest.\n * Use `create(GetBalancesRequestSchema)` to create a new message.\n */\nexport const GetBalancesRequestSchema: GenMessage<GetBalancesRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 0);\n\n/**\n * Fixed-size representation for balances (for Protobuf/WS clients).\n * Uses common U128 messages for amounts to keep schema tidy and consistent.\n *\n * @generated from message ledger.read.v1.AssetBalance\n */\nexport type AssetBalance = Message<\"ledger.read.v1.AssetBalance\"> & {\n /**\n * Public unified asset id. Resolve symbol from SpotConfig; U128 amounts in\n * this message always use fixed 18-decimal ledger scale.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Trading balance at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 trading = 2;\n */\n trading?: U128 | undefined;\n\n /**\n * Funding balance at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 funding = 3;\n */\n funding?: U128 | undefined;\n\n /**\n * Reserved amount in the trading bucket at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 reserved = 4;\n */\n reserved?: U128 | undefined;\n\n /**\n * Amount currently available for new trading activity at fixed 18-decimal\n * ledger scale. This value already accounts for active reservations.\n *\n * @generated from field: polyester.type.v1.U128 available = 5;\n */\n available?: U128 | undefined;\n\n /**\n * Opaque monotonic revision for the atomic trading, reserved, and available\n * values. Higher means newer; zero means no trading state has been observed.\n *\n * @generated from field: uint64 trading_revision = 6;\n */\n tradingRevision: bigint;\n\n /**\n * Opaque monotonic revision for the funding value. Higher means newer; zero\n * means no funding state has been observed.\n *\n * @generated from field: uint64 funding_revision = 7;\n */\n fundingRevision: bigint;\n};\n\n/**\n * Describes the message ledger.read.v1.AssetBalance.\n * Use `create(AssetBalanceSchema)` to create a new message.\n */\nexport const AssetBalanceSchema: GenMessage<AssetBalance> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 1);\n\n/**\n * @generated from message ledger.read.v1.GetBalancesResponse\n */\nexport type GetBalancesResponse = Message<\"ledger.read.v1.GetBalancesResponse\"> & {\n /**\n * One entry for every supported unified asset, including assets with zero\n * balances. Sorted by available trading amount (highest first), then by\n * asset symbol alphabetically.\n *\n * @generated from field: repeated ledger.read.v1.AssetBalance balances = 1;\n */\n balances: AssetBalance[];\n};\n\n/**\n * Describes the message ledger.read.v1.GetBalancesResponse.\n * Use `create(GetBalancesResponseSchema)` to create a new message.\n */\nexport const GetBalancesResponseSchema: GenMessage<GetBalancesResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 2);\n\n/**\n * @generated from message ledger.read.v1.GetBalanceHistoryRequest\n */\nexport type GetBalanceHistoryRequest = Message<\"ledger.read.v1.GetBalanceHistoryRequest\"> & {\n /**\n * Optional sub-account to scope balances to. If omitted, balances are\n * returned for the authenticated root account derived from the JWT or API\n * key. The logical account id itself is always derived from the caller's JWT\n * or API key, not from this payload.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * History window to return. When unset/UNSPECIFIED, defaults to 1D.\n *\n * @generated from field: ledger.read.v1.BalanceRange range = 2;\n */\n range: BalanceRange;\n\n /**\n * Optional public asset filter. When unset/0, returns all assets.\n *\n * @generated from field: uint32 ledger = 3;\n */\n ledger: number;\n\n /**\n * Optional subset of account buckets to return. When empty, returns all\n * account buckets.\n *\n * @generated from field: repeated ledger.v1.AccountCode account_codes = 4;\n */\n accountCodes: AccountCode[];\n};\n\n/**\n * Describes the message ledger.read.v1.GetBalanceHistoryRequest.\n * Use `create(GetBalanceHistoryRequestSchema)` to create a new message.\n */\nexport const GetBalanceHistoryRequestSchema: GenMessage<GetBalanceHistoryRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 3);\n\n/**\n * Columnar balance series payload (scaled integers).\n * REST renders decimal strings from these values.\n *\n * @generated from message ledger.read.v1.BalanceSeries\n */\nexport type BalanceSeries = Message<\"ledger.read.v1.BalanceSeries\"> & {\n /**\n * public unified asset id\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * account bucket\n *\n * @generated from field: ledger.v1.AccountCode account_code = 2;\n */\n accountCode: AccountCode;\n\n /**\n * Chart balance in asset units scaled by 1e7 (7 decimals).\n * Values are downscaled from 18-decimal ledger balances for compact charting\n * and align 1:1 with implicit timestamps.\n *\n * @generated from field: repeated uint64 balance_q = 3;\n */\n balanceQ: bigint[];\n};\n\n/**\n * Describes the message ledger.read.v1.BalanceSeries.\n * Use `create(BalanceSeriesSchema)` to create a new message.\n */\nexport const BalanceSeriesSchema: GenMessage<BalanceSeries> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 4);\n\n/**\n * GetBalanceHistoryResponse returns aligned balance chart series.\n *\n * @generated from message ledger.read.v1.GetBalanceHistoryResponse\n */\nexport type GetBalanceHistoryResponse = Message<\"ledger.read.v1.GetBalanceHistoryResponse\"> & {\n /**\n * Resolved history window.\n *\n * @generated from field: ledger.read.v1.BalanceRange range = 1;\n */\n range: BalanceRange;\n\n /**\n * Sampling interval between points, such as \"5m\" or \"1h\".\n *\n * @generated from field: string bucket = 2;\n */\n bucket: string;\n\n /**\n * First point timestamp in seconds since epoch (UTC).\n *\n * @generated from field: fixed32 start_ts_sec = 3;\n */\n startTsSec: number;\n\n /**\n * Last point timestamp in seconds since epoch (UTC).\n *\n * @generated from field: fixed32 end_ts_sec = 4;\n */\n endTsSec: number;\n\n /**\n * Number of aligned points in each returned series.\n *\n * @generated from field: uint32 points = 5;\n */\n points: number;\n\n /**\n * Balance series ordered by asset ID, then account bucket.\n *\n * @generated from field: repeated ledger.read.v1.BalanceSeries series = 6;\n */\n series: BalanceSeries[];\n};\n\n/**\n * Describes the message ledger.read.v1.GetBalanceHistoryResponse.\n * Use `create(GetBalanceHistoryResponseSchema)` to create a new message.\n */\nexport const GetBalanceHistoryResponseSchema: GenMessage<GetBalanceHistoryResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 5);\n\n/**\n * Account grouping metadata (used when group_by = ACCOUNT).\n *\n * @generated from message ledger.read.v1.AccountGrouping\n */\nexport type AccountGrouping = Message<\"ledger.read.v1.AccountGrouping\"> & {\n /**\n * account bucket code\n *\n * @generated from field: uint32 account_code = 1;\n */\n accountCode: number;\n\n /**\n * human-readable name (\"funding\", \"trading\")\n *\n * @generated from field: string name = 2;\n */\n name: string;\n};\n\n/**\n * Describes the message ledger.read.v1.AccountGrouping.\n * Use `create(AccountGroupingSchema)` to create a new message.\n */\nexport const AccountGroupingSchema: GenMessage<AccountGrouping> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 6);\n\n/**\n * Asset grouping metadata (used when group_by = ASSET).\n *\n * @generated from message ledger.read.v1.AssetGrouping\n */\nexport type AssetGrouping = Message<\"ledger.read.v1.AssetGrouping\"> & {\n /**\n * public asset id (0 for \"OTHER\" bucket)\n *\n * @generated from field: uint32 id = 1;\n */\n id: number;\n\n /**\n * asset symbol (\"BTC\", \"ETH\", \"OTHER\")\n *\n * @generated from field: string symbol = 2;\n */\n symbol: string;\n};\n\n/**\n * Describes the message ledger.read.v1.AssetGrouping.\n * Use `create(AssetGroupingSchema)` to create a new message.\n */\nexport const AssetGroupingSchema: GenMessage<AssetGrouping> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 7);\n\n/**\n * Equity history in USDT (or BTC via client-side conversion using btc_prices).\n * Values are derived from per-asset balances and market prices (close ticks).\n *\n * @generated from message ledger.read.v1.GetEquityHistorySeriesRequest\n */\nexport type GetEquityHistorySeriesRequest = Message<\"ledger.read.v1.GetEquityHistorySeriesRequest\"> & {\n /**\n * Optional sub-account to scope equity to. If omitted, equity is returned for\n * the authenticated root account derived from the JWT or API key.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * History window to return. When unset/UNSPECIFIED, defaults to 1D.\n *\n * @generated from field: ledger.read.v1.BalanceRange range = 2;\n */\n range: BalanceRange;\n\n /**\n * Optional subset of account buckets.\n * When empty, server returns both funding and trading.\n * Only used when group_by = ACCOUNT.\n *\n * @generated from field: repeated ledger.v1.AccountCode account_codes = 4;\n */\n accountCodes: AccountCode[];\n\n /**\n * How to group the equity series. Defaults to ACCOUNT if unspecified.\n *\n * @generated from field: ledger.read.v1.EquityGroupBy group_by = 5;\n */\n groupBy: EquityGroupBy;\n};\n\n/**\n * Describes the message ledger.read.v1.GetEquityHistorySeriesRequest.\n * Use `create(GetEquityHistorySeriesRequestSchema)` to create a new message.\n */\nexport const GetEquityHistorySeriesRequestSchema: GenMessage<GetEquityHistorySeriesRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 8);\n\n/**\n * Columnar equity series payload (scaled integers).\n * REST renders decimal strings from these values.\n *\n * @generated from message ledger.read.v1.EquitySeries\n */\nexport type EquitySeries = Message<\"ledger.read.v1.EquitySeries\"> & {\n /**\n * Grouping identifier: either account or asset, depending on request group_by.\n *\n * @generated from oneof ledger.read.v1.EquitySeries.grouping\n */\n grouping: {\n /**\n * set when group_by = ACCOUNT\n *\n * @generated from field: ledger.read.v1.AccountGrouping account = 1;\n */\n value: AccountGrouping;\n case: \"account\";\n } | {\n /**\n * set when group_by = ASSET\n *\n * @generated from field: ledger.read.v1.AssetGrouping asset = 3;\n */\n value: AssetGrouping;\n case: \"asset\";\n } | { case: undefined; value?: undefined };\n\n /**\n * Equity in quote currency (USDT) scaled by 1e4 (4 decimals).\n * Values align 1:1 with timestamps.\n *\n * @generated from field: repeated sint64 equity_q = 2;\n */\n equityQ: bigint[];\n};\n\n/**\n * Describes the message ledger.read.v1.EquitySeries.\n * Use `create(EquitySeriesSchema)` to create a new message.\n */\nexport const EquitySeriesSchema: GenMessage<EquitySeries> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 9);\n\n/**\n * GetEquityHistorySeriesResponse returns aligned equity chart series.\n *\n * @generated from message ledger.read.v1.GetEquityHistorySeriesResponse\n */\nexport type GetEquityHistorySeriesResponse = Message<\"ledger.read.v1.GetEquityHistorySeriesResponse\"> & {\n /**\n * Resolved history window.\n *\n * @generated from field: ledger.read.v1.BalanceRange range = 1;\n */\n range: BalanceRange;\n\n /**\n * Sampling interval between points, such as \"5m\" or \"1h\".\n *\n * @generated from field: string bucket = 2;\n */\n bucket: string;\n\n /**\n * First point timestamp in seconds since epoch (UTC).\n *\n * @generated from field: fixed32 start_ts_sec = 3;\n */\n startTsSec: number;\n\n /**\n * Last point timestamp in seconds since epoch (UTC).\n *\n * @generated from field: fixed32 end_ts_sec = 4;\n */\n endTsSec: number;\n\n /**\n * Human-readable quote asset symbol (always \"USDT\").\n *\n * @generated from field: string quote_asset = 6;\n */\n quoteAsset: string;\n\n /**\n * Number of aligned points in each returned series.\n *\n * @generated from field: uint32 points = 7;\n */\n points: number;\n\n /**\n * Equity series ordered by grouping identifier ascending.\n *\n * @generated from field: repeated ledger.read.v1.EquitySeries series = 8;\n */\n series: EquitySeries[];\n\n /**\n * BTC-USDT close price at each timestamp, scaled by 1e6 (same as price_ticks).\n * Enables client-side conversion to BTC denomination without refetch.\n *\n * @generated from field: repeated int64 btc_prices_q = 10;\n */\n btcPricesQ: bigint[];\n};\n\n/**\n * Describes the message ledger.read.v1.GetEquityHistorySeriesResponse.\n * Use `create(GetEquityHistorySeriesResponseSchema)` to create a new message.\n */\nexport const GetEquityHistorySeriesResponseSchema: GenMessage<GetEquityHistorySeriesResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 10);\n\n/**\n * @generated from message ledger.read.v1.ListTransfersRequest\n */\nexport type ListTransfersRequest = Message<\"ledger.read.v1.ListTransfersRequest\"> & {\n /**\n * Optional sub-account to scope transfers to. If omitted, transfers are\n * listed for the authenticated root account derived from the JWT or API key.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Maximum number of transfer rows to return. Defaults to 100 when omitted;\n * maximum is 1000.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Sort direction. When true, rows are returned newest first; when false,\n * rows are returned oldest first.\n *\n * @generated from field: bool reversed = 3;\n */\n reversed: boolean;\n\n /**\n * Optional lower transfer timestamp bound in microseconds since epoch (UTC),\n * inclusive.\n *\n * @generated from field: uint64 ts_min_us = 4;\n */\n tsMinUs: bigint;\n\n /**\n * Optional upper transfer timestamp bound in microseconds since epoch (UTC),\n * inclusive.\n *\n * @generated from field: uint64 ts_max_us = 5;\n */\n tsMaxUs: bigint;\n\n /**\n * Optional filter by transfer reason.\n *\n * @generated from field: ledger.v1.TransferCode transfer_code = 6;\n */\n transferCode: TransferCode;\n\n /**\n * Optional filter by asset ledger.\n *\n * @generated from field: uint32 ledger = 7;\n */\n ledger: number;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to the authenticated account, sub-account scope, filters, timestamp\n * bounds, and sort direction.\n *\n * @generated from field: string page_token = 9;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message ledger.read.v1.ListTransfersRequest.\n * Use `create(ListTransfersRequestSchema)` to create a new message.\n */\nexport const ListTransfersRequestSchema: GenMessage<ListTransfersRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 11);\n\n/**\n * TransferSide describes one side of a ledger transfer for display.\n *\n * @generated from message ledger.read.v1.TransferSide\n */\nexport type TransferSide = Message<\"ledger.read.v1.TransferSide\"> & {\n /**\n * Display classification for this transfer side.\n *\n * @generated from field: ledger.read.v1.TransferSideKind kind = 1;\n */\n kind: TransferSideKind;\n\n /**\n * Public root account or subaccount ID when this side is safe to identify. Never\n * populated for private counterparties or non-user ledger accounts.\n *\n * @generated from field: optional fixed64 account_id = 2;\n */\n accountId?: bigint | undefined;\n\n /**\n * Address for this side when known. For EXTERNAL_ADDRESS this is an\n * external-chain wallet address from lifecycle correlation; for identifiable\n * Polyester accounts this is a Polyester smart-account address.\n * May be empty until the corresponding lifecycle details are available.\n *\n * @generated from field: string address = 3;\n */\n address: string;\n};\n\n/**\n * Describes the message ledger.read.v1.TransferSide.\n * Use `create(TransferSideSchema)` to create a new message.\n */\nexport const TransferSideSchema: GenMessage<TransferSide> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 12);\n\n/**\n * TransferRow describes one debit or credit leg of a ledger transfer.\n *\n * @generated from message ledger.read.v1.TransferRow\n */\nexport type TransferRow = Message<\"ledger.read.v1.TransferRow\"> & {\n /**\n * Public unified asset ID. Resolve its symbol through the spot configuration\n * API. U128 amounts in this row always use a fixed 18-decimal ledger scale.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Transfer amount at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 2;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Product reason for this transfer.\n *\n * @generated from field: ledger.v1.TransferCode transfer_code = 3;\n */\n transferCode: TransferCode;\n\n /**\n * Account bucket affected by this transfer.\n *\n * @generated from field: ledger.v1.AccountCode account_code = 4;\n */\n accountCode: AccountCode;\n\n /**\n * Transfer timestamp in microseconds since epoch (UTC).\n *\n * @generated from field: uint64 ts_us = 5;\n */\n tsUs: bigint;\n\n /**\n * Post-transfer balance at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 balance_after_e18 = 9;\n */\n balanceAfterE18?: U128 | undefined;\n\n /**\n * True when this row is the debit leg; false when it is the credit leg.\n *\n * @generated from field: bool is_debit = 10;\n */\n isDebit: boolean;\n\n /**\n * Correlation ID used to group related transfer legs. Zero when unavailable.\n *\n * @generated from field: uint64 link_id = 11;\n */\n linkId: bigint;\n\n /**\n * Public lifecycle flow ID when this transfer belongs to a chain lifecycle flow.\n *\n * @generated from field: string flow_id = 12;\n */\n flowId: string;\n\n /**\n * Debit side of the transfer. This relationship is debit-to-credit rather\n * than row-relative; use is_debit to determine whether this row is the debit leg.\n *\n * @generated from field: ledger.read.v1.TransferSide source = 13;\n */\n source?: TransferSide | undefined;\n\n /**\n * Credit side of the transfer. This relationship is debit-to-credit rather\n * than row-relative; use is_debit to determine whether this row is the credit leg.\n *\n * @generated from field: ledger.read.v1.TransferSide destination = 14;\n */\n destination?: TransferSide | undefined;\n};\n\n/**\n * Describes the message ledger.read.v1.TransferRow.\n * Use `create(TransferRowSchema)` to create a new message.\n */\nexport const TransferRowSchema: GenMessage<TransferRow> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 13);\n\n/**\n * ListTransfersResponse contains transfer rows and an optional continuation cursor.\n *\n * @generated from message ledger.read.v1.ListTransfersResponse\n */\nexport type ListTransfersResponse = Message<\"ledger.read.v1.ListTransfersResponse\"> & {\n /**\n * Transfer rows in requested order.\n *\n * @generated from field: repeated ledger.read.v1.TransferRow transfers = 1;\n */\n transfers: TransferRow[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 3;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message ledger.read.v1.ListTransfersResponse.\n * Use `create(ListTransfersResponseSchema)` to create a new message.\n */\nexport const ListTransfersResponseSchema: GenMessage<ListTransfersResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 14);\n\n/**\n * @generated from message ledger.read.v1.ListHoldsRequest\n */\nexport type ListHoldsRequest = Message<\"ledger.read.v1.ListHoldsRequest\"> & {\n /**\n * Optional sub-account to scope holds to. If omitted, holds are listed for\n * the authenticated root account derived from the JWT or API key.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Maximum number of holds to return. Defaults to 100 when omitted; maximum is\n * 1000.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * true=newest first; false=oldest first.\n *\n * @generated from field: bool reversed = 3;\n */\n reversed: boolean;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to account, sub-account scope, and sort direction.\n *\n * @generated from field: string page_token = 4;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message ledger.read.v1.ListHoldsRequest.\n * Use `create(ListHoldsRequestSchema)` to create a new message.\n */\nexport const ListHoldsRequestSchema: GenMessage<ListHoldsRequest> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 15);\n\n/**\n * Hold row with compact integers and client-side resolution.\n *\n * @generated from message ledger.read.v1.HoldRow\n */\nexport type HoldRow = Message<\"ledger.read.v1.HoldRow\"> & {\n /**\n * pending transfer id (numeric)\n *\n * @generated from field: fixed64 hold_id = 1;\n */\n holdId: bigint;\n\n /**\n * Reserved amount at fixed 18-decimal ledger scale.\n *\n * @generated from field: polyester.type.v1.U128 amount_reserved_e18 = 2;\n */\n amountReservedE18?: U128 | undefined;\n\n /**\n * Public unified asset id.\n *\n * @generated from field: uint32 asset_id = 3;\n */\n assetId: number;\n\n /**\n * Expiration time in nanoseconds since epoch (UTC).\n *\n * @generated from field: uint64 expires_at_ns = 4;\n */\n expiresAtNs: bigint;\n};\n\n/**\n * Describes the message ledger.read.v1.HoldRow.\n * Use `create(HoldRowSchema)` to create a new message.\n */\nexport const HoldRowSchema: GenMessage<HoldRow> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 16);\n\n/**\n * @generated from message ledger.read.v1.ListHoldsResponse\n */\nexport type ListHoldsResponse = Message<\"ledger.read.v1.ListHoldsResponse\"> & {\n /**\n * Hold rows in the sort direction requested by the caller.\n *\n * @generated from field: repeated ledger.read.v1.HoldRow holds = 1;\n */\n holds: HoldRow[];\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message ledger.read.v1.ListHoldsResponse.\n * Use `create(ListHoldsResponseSchema)` to create a new message.\n */\nexport const ListHoldsResponseSchema: GenMessage<ListHoldsResponse> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 17);\n\n/**\n * ErrorDetail is attached to ConnectRPC errors for structured error handling.\n * Clients can inspect this to get a stable machine-readable error code.\n *\n * @generated from message ledger.read.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"ledger.read.v1.ErrorDetail\"> & {\n /**\n * Stable error code matching the REST problem+json \"code\" field.\n *\n * @generated from field: ledger.read.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n};\n\n/**\n * Describes the message ledger.read.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_ledger_read_v1_ledger_read, 18);\n\n/**\n * Supported history windows for balance charts.\n *\n * @generated from enum ledger.read.v1.BalanceRange\n */\nexport enum BalanceRange {\n /**\n * @generated from enum value: RANGE_UNSPECIFIED = 0;\n */\n RANGE_UNSPECIFIED = 0,\n\n /**\n * 1 day\n *\n * @generated from enum value: DAY_1 = 1;\n */\n DAY_1 = 1,\n\n /**\n * 7 days\n *\n * @generated from enum value: DAY_7 = 2;\n */\n DAY_7 = 2,\n\n /**\n * 30 days\n *\n * @generated from enum value: DAY_30 = 3;\n */\n DAY_30 = 3,\n\n /**\n * 90 days\n *\n * @generated from enum value: DAY_90 = 4;\n */\n DAY_90 = 4,\n\n /**\n * 180 days\n *\n * @generated from enum value: DAY_180 = 5;\n */\n DAY_180 = 5,\n\n /**\n * 365 days\n *\n * @generated from enum value: DAY_365 = 6;\n */\n DAY_365 = 6,\n}\n\n/**\n * Describes the enum ledger.read.v1.BalanceRange.\n */\nexport const BalanceRangeSchema: GenEnum<BalanceRange> = /*@__PURE__*/\n enumDesc(file_ledger_read_v1_ledger_read, 0);\n\n/**\n * How to group equity series data.\n *\n * @generated from enum ledger.read.v1.EquityGroupBy\n */\nexport enum EquityGroupBy {\n /**\n * defaults to ACCOUNT\n *\n * @generated from enum value: GROUP_BY_UNSPECIFIED = 0;\n */\n GROUP_BY_UNSPECIFIED = 0,\n\n /**\n * group by account bucket\n *\n * @generated from enum value: GROUP_BY_ACCOUNT = 1;\n */\n GROUP_BY_ACCOUNT = 1,\n\n /**\n * group by asset (BTC, ETH, etc.)\n *\n * @generated from enum value: GROUP_BY_ASSET = 2;\n */\n GROUP_BY_ASSET = 2,\n}\n\n/**\n * Describes the enum ledger.read.v1.EquityGroupBy.\n */\nexport const EquityGroupBySchema: GenEnum<EquityGroupBy> = /*@__PURE__*/\n enumDesc(file_ledger_read_v1_ledger_read, 1);\n\n/**\n * TransferSideKind identifies the display class for one side of a transfer.\n *\n * @generated from enum ledger.read.v1.TransferSideKind\n */\nexport enum TransferSideKind {\n /**\n * Transfer side type was not specified.\n *\n * @generated from enum value: TRANSFER_SIDE_KIND_UNSPECIFIED = 0;\n */\n TRANSFER_SIDE_KIND_UNSPECIFIED = 0,\n\n /**\n * Polyester funding account.\n *\n * @generated from enum value: FUNDING_ACCOUNT = 1;\n */\n FUNDING_ACCOUNT = 1,\n\n /**\n * Polyester trading account.\n *\n * @generated from enum value: TRADING_ACCOUNT = 2;\n */\n TRADING_ACCOUNT = 2,\n\n /**\n * External wallet or chain address. The address is lifecycle-derived and may\n * be empty until ledger-to-lifecycle correlation is projected.\n *\n * @generated from enum value: EXTERNAL_ADDRESS = 3;\n */\n EXTERNAL_ADDRESS = 3,\n\n /**\n * Private off-chain counterparty that must not be identified to the caller.\n * account_id and address are intentionally omitted.\n *\n * @generated from enum value: PRIVATE_COUNTERPARTY = 4;\n */\n PRIVATE_COUNTERPARTY = 4,\n\n /**\n * Fee ledger side, for example spot or perp trading fees.\n *\n * @generated from enum value: FEE_ACCOUNT = 5;\n */\n FEE_ACCOUNT = 5,\n\n /**\n * System, operator, clearing, or other non-user side.\n *\n * @generated from enum value: SYSTEM_ACCOUNT = 6;\n */\n SYSTEM_ACCOUNT = 6,\n}\n\n/**\n * Describes the enum ledger.read.v1.TransferSideKind.\n */\nexport const TransferSideKindSchema: GenEnum<TransferSideKind> = /*@__PURE__*/\n enumDesc(file_ledger_read_v1_ledger_read, 2);\n\n/**\n * ErrorCode enumerates stable machine-readable error codes for the Ledger Read\n * API. These mirror the REST problem+json \"code\" field for parity between REST\n * and ConnectRPC clients.\n *\n * @generated from enum ledger.read.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: ERROR_CODE_BAD_REQUEST = 1;\n */\n BAD_REQUEST = 1,\n\n /**\n * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 2;\n */\n UNAUTHENTICATED = 2,\n\n /**\n * @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 3;\n */\n PERMISSION_DENIED = 3,\n\n /**\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 4;\n */\n NOT_FOUND = 4,\n\n /**\n * Missing or invalid account identifier (legacy; used by older endpoints).\n *\n * @generated from enum value: ERROR_CODE_MISSING_ACCOUNT_ID = 5;\n */\n MISSING_ACCOUNT_ID = 5,\n\n /**\n * @generated from enum value: ERROR_CODE_INVALID_ACCOUNT_ID = 6;\n */\n INVALID_ACCOUNT_ID = 6,\n\n /**\n * Wallet-specific errors for balance lookups by wallet.\n *\n * @generated from enum value: ERROR_CODE_MISSING_WALLET = 7;\n */\n MISSING_WALLET = 7,\n\n /**\n * @generated from enum value: ERROR_CODE_WALLET_RESOLUTION_UNAVAILABLE = 8;\n */\n WALLET_RESOLUTION_UNAVAILABLE = 8,\n\n /**\n * @generated from enum value: ERROR_CODE_WALLET_NOT_FOUND = 9;\n */\n WALLET_NOT_FOUND = 9,\n\n /**\n * Upstream dependency error (e.g., transfers store, wallet resolver).\n *\n * @generated from enum value: ERROR_CODE_UPSTREAM_ERROR = 10;\n */\n UPSTREAM_ERROR = 10,\n}\n\n/**\n * Describes the enum ledger.read.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_ledger_read_v1_ledger_read, 3);\n\n/**\n * LedgerReadService exposes read-only ledger endpoints (balances, history, transfers, holds).\n *\n * @generated from service ledger.read.v1.LedgerReadService\n */\nexport const LedgerReadService: GenService<{\n /**\n * Retrieve balance history buckets for an account.\n * Supports optional subaccount, range, asset, and account-code filters.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.GetBalanceHistory\n */\n getBalanceHistory: {\n methodKind: \"unary\";\n input: typeof GetBalanceHistoryRequestSchema;\n output: typeof GetBalanceHistoryResponseSchema;\n },\n /**\n * Retrieve equity history as columnar series data.\n * Supports optional subaccount, range, account-code filtering, and grouping by account or asset.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.GetEquityHistorySeries\n */\n getEquityHistorySeries: {\n methodKind: \"unary\";\n input: typeof GetEquityHistorySeriesRequestSchema;\n output: typeof GetEquityHistorySeriesResponseSchema;\n },\n /**\n * List finalized transfer history for an account.\n * Supports optional subaccount, asset, ordering, and cursor filters.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.ListTransfers\n */\n listTransfers: {\n methodKind: \"unary\";\n input: typeof ListTransfersRequestSchema;\n output: typeof ListTransfersResponseSchema;\n },\n /**\n * ListHolds returns pending holds with integer amounts (u128) and asset ids.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.ListHolds\n */\n listHolds: {\n methodKind: \"unary\";\n input: typeof ListHoldsRequestSchema;\n output: typeof ListHoldsResponseSchema;\n },\n /**\n * Retrieve the latest balances for an account.\n * Supports optional subaccount scoping and returns asset symbols with decimal amounts on REST.\n *\n * @generated from rpc ledger.read.v1.LedgerReadService.GetBalances\n */\n getBalances: {\n methodKind: \"unary\";\n input: typeof GetBalancesRequestSchema;\n output: typeof GetBalancesResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_ledger_read_v1_ledger_read, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,MAAa,kCACX,uBAAS,ghLAAghL,CAAC,wBAAwB,2BAA2B,CAAC;;;;;AAqBhlL,MAAa,2BACX,0BAAY,iCAAiC,CAAC;;;;;AAmEhD,MAAa,qBACX,0BAAY,iCAAiC,CAAC;;;;;AAoBhD,MAAa,4BACX,0BAAY,iCAAiC,CAAC;;;;;AA2ChD,MAAa,iCACX,0BAAY,iCAAiC,CAAC;;;;;AAqChD,MAAa,sBACX,0BAAY,iCAAiC,CAAC;;;;;AAuDhD,MAAa,kCACX,0BAAY,iCAAiC,CAAC;;;;;AA2BhD,MAAa,wBACX,0BAAY,iCAAiC,CAAC;;;;;AA2BhD,MAAa,sBACX,0BAAY,iCAAiC,CAAC;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