@polyester/sdk 0.32.2-devnet-20261103030350 → 0.32.2-devnet-20261103214026
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 +13 -1
- package/dist/core-client.d.ts +1 -1
- package/dist/gen/auth/v1/address_book_pb.d.ts +6 -3
- package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +48 -1
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +48 -1
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +21 -2
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +3 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +16 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +4 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +3 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +29 -3
- package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.js +22 -3
- package/dist/gen/changelog/v1/changelog_pb.js.map +1 -1
- package/dist/gen/index.js +3 -3
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +5 -0
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +75 -6
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +12 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +107 -8
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +45 -22
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +11 -9
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +71 -11
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +56 -10
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/balances/balances.schemas.d.ts +1 -1
- package/dist/services/changelog/changelog.codecs.d.ts +1 -1
- package/dist/services/changelog/changelog.codecs.d.ts.map +1 -1
- package/dist/services/changelog/changelog.codecs.js +12 -3
- package/dist/services/changelog/changelog.codecs.js.map +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +20 -15
- package/dist/services/changelog/changelog.schemas.d.ts.map +1 -1
- package/dist/services/changelog/changelog.schemas.js +2 -0
- package/dist/services/changelog/changelog.schemas.js.map +1 -1
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +40 -40
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +32 -32
- package/dist/services/orders/orders-input.schemas.d.ts +3 -3
- package/dist/services/orders/orders-output.schemas.d.ts +95 -19
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +15 -2
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders.codecs.js +1 -0
- package/dist/services/orders/orders.codecs.js.map +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +3 -3
- package/dist/services/subaccounts/index.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.d.ts +11 -3
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +14 -4
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +21 -16
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js +5 -1
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.types.d.ts +2 -2
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +1 -1
- package/dist/services/transfers/transfers.js +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +4 -4
- package/dist/services/triggers/triggers-output.schemas.d.ts +40 -32
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +5 -2
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.codecs.js +8 -3
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +1 -1
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/wired-services.js +1 -1
- package/package.json +1 -1
|
@@ -785,7 +785,10 @@ declare const AutoWithdrawStepStateSchema: GenEnum<AutoWithdrawStepState>;
|
|
|
785
785
|
* withdraw path, only to destinations on the account's external withdraw
|
|
786
786
|
* whitelist. Changing a
|
|
787
787
|
* rule requires a person with withdraw rights and a fresh single-use MFA
|
|
788
|
-
* step-up; API keys can read rules and runs but never change them.
|
|
788
|
+
* step-up; API keys can read rules and runs but never change them. An API
|
|
789
|
+
* key reads only when its policy grants READ_AUTO_WITHDRAW (or
|
|
790
|
+
* MANAGE_AUTO_WITHDRAW), and only its own account: a root-account key reads
|
|
791
|
+
* the root account, and a subaccount key reads its subaccount.
|
|
789
792
|
*
|
|
790
793
|
* @generated from service chain.withdraw.v1.AutoWithdrawService
|
|
791
794
|
*/
|
|
@@ -817,6 +820,12 @@ declare const AutoWithdrawService: GenService<{
|
|
|
817
820
|
/**
|
|
818
821
|
* Read the account's latest rule version.
|
|
819
822
|
*
|
|
823
|
+
* An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own
|
|
824
|
+
* account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks
|
|
825
|
+
* the action gets "api key policy does not allow READ_AUTO_WITHDRAW", and a
|
|
826
|
+
* key that names an account other than its own, such as a root-account key
|
|
827
|
+
* naming a subaccount, gets "api key target scope mismatch".
|
|
828
|
+
*
|
|
820
829
|
* @generated from rpc chain.withdraw.v1.AutoWithdrawService.GetAutoWithdrawRule
|
|
821
830
|
*/
|
|
822
831
|
getAutoWithdrawRule: {
|
|
@@ -827,6 +836,12 @@ declare const AutoWithdrawService: GenService<{
|
|
|
827
836
|
/**
|
|
828
837
|
* List the account's auto-withdraw runs with their payouts, newest first.
|
|
829
838
|
*
|
|
839
|
+
* An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own
|
|
840
|
+
* account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks
|
|
841
|
+
* the action gets "api key policy does not allow READ_AUTO_WITHDRAW", and a
|
|
842
|
+
* key that names an account other than its own, such as a root-account key
|
|
843
|
+
* naming a subaccount, gets "api key target scope mismatch".
|
|
844
|
+
*
|
|
830
845
|
* @generated from rpc chain.withdraw.v1.AutoWithdrawService.ListAutoWithdrawRuns
|
|
831
846
|
*/
|
|
832
847
|
listAutoWithdrawRuns: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto_withdraw_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/auto_withdraw_pb.ts"],"mappings":";;;;;;;;;;cAgBa,sCAAsC;;;;;;;KASvC,uBAAuB;;;;;;EAMjC,SAAS;;;;;;EAOT,SAAS;;;;;;;EAQT;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA;;;;;;cAOW,4BAA4B,WAAW;;;;;;;KASxC,0BAA0B;;;;;;EAMpC;;;;;;EAOA;;;;;;;;EASA;;;;;;;;;EAUA,eAAe;;;;;;;;EASf,eAAe;;;;;;cAOJ,+BAA+B,WAAW;;;;;;KAQ3C,oBAAoB;;;;;;EAM9B;;;;;;;;;;EAWA;;;;;;EAOA,WAAW;;;;;;cAOA,yBAAyB,WAAW;;;;;;;;;KAWrC,mBAAmB;;;;;;EAM7B;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,WAAW;;;;;;EAOX,cAAc;;;;;;EAOd,YAAY;;;;;;EAOZ,QAAQ;;;;;;;EAQR,iBAAiB;;;;;;cAON,wBAAwB,WAAW;;;;;;;KASpC,6BAA6B;;;;;;EAMvC;;;;;;;;EASA;;;;;;EAOA,WAAW;;;;;;EAOX,cAAc;;;;;;;;;;;EAYd,iBAAiB;;;;;;cAON,kCAAkC,WAAW;;;;;;KAQ9C,8BAA8B;;;;;;EAMxC,OAAO;;;;;;cAOI,mCAAmC,WAAW;;;;;;;KAS/C,iCAAiC;;;;;;EAM3C;;;;;;EAOA;;;;;;cAO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
|
@@ -340,7 +340,10 @@ const AutoWithdrawStepStateSchema = /*@__PURE__*/ enumDesc(file_chain_withdraw_v
|
|
|
340
340
|
* withdraw path, only to destinations on the account's external withdraw
|
|
341
341
|
* whitelist. Changing a
|
|
342
342
|
* rule requires a person with withdraw rights and a fresh single-use MFA
|
|
343
|
-
* step-up; API keys can read rules and runs but never change them.
|
|
343
|
+
* step-up; API keys can read rules and runs but never change them. An API
|
|
344
|
+
* key reads only when its policy grants READ_AUTO_WITHDRAW (or
|
|
345
|
+
* MANAGE_AUTO_WITHDRAW), and only its own account: a root-account key reads
|
|
346
|
+
* the root account, and a subaccount key reads its subaccount.
|
|
344
347
|
*
|
|
345
348
|
* @generated from service chain.withdraw.v1.AutoWithdrawService
|
|
346
349
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto_withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/auto_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/auto_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 type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\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/auto_withdraw.proto.\n */\nexport const file_chain_withdraw_v1_auto_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiVjaGFpbi93aXRoZHJhdy92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Jlc3BvbnNlIgASggEKF0Rpc2FibGVBdXRvV2l0aGRyYXdSdWxlEjEuY2hhaW4ud2l0aGRyYXcudjEuRGlzYWJsZUF1dG9XaXRoZHJhd1J1bGVSZXF1ZXN0GjIuY2hhaW4ud2l0aGRyYXcudjEuRGlzYWJsZUF1dG9XaXRoZHJhd1J1bGVSZXNwb25zZSIAEnQKE0dldEF1dG9XaXRoZHJhd1J1bGUSLS5jaGFpbi53aXRoZHJhdy52MS5HZXRBdXRvV2l0aGRyYXdSdWxlUmVxdWVzdBouLmNoYWluLndpdGhkcmF3LnYxLkdldEF1dG9XaXRoZHJhd1J1bGVSZXNwb25zZRJ3ChRMaXN0QXV0b1dpdGhkcmF3UnVucxIuLmNoYWluLndpdGhkcmF3LnYxLkxpc3RBdXRvV2l0aGRyYXdSdW5zUmVxdWVzdBovLmNoYWluLndpdGhkcmF3LnYxLkxpc3RBdXRvV2l0aGRyYXdSdW5zUmVzcG9uc2UaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * AutoWithdrawSchedule is a rule's UTC run slot. Only the fields of its\n * cadence may be set; the others must be zero or empty.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawSchedule\n */\nexport type AutoWithdrawSchedule = Message<\"chain.withdraw.v1.AutoWithdrawSchedule\"> & {\n /**\n * How often the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawCadence cadence = 1;\n */\n cadence: AutoWithdrawCadence;\n\n /**\n * Run day of a weekly or biweekly rule.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawWeekday weekday = 2;\n */\n weekday: AutoWithdrawWeekday;\n\n /**\n * Minute after 00:00 UTC the run starts, 0 to 1439, for every cadence but\n * HOURLY; must be 0 for an hourly rule.\n *\n * @generated from field: uint32 minute_of_day = 3;\n */\n minuteOfDay: number;\n\n /**\n * Minute past every hour an HOURLY rule is checked, 0 to 59.\n *\n * @generated from field: uint32 minute_of_hour = 4;\n */\n minuteOfHour: number;\n\n /**\n * Run day of a MONTHLY rule, 1 to 31; see MONTHLY for shorter months.\n *\n * @generated from field: uint32 day_of_month = 5;\n */\n dayOfMonth: number;\n\n /**\n * A UTC date (YYYY-MM-DD) in a week a BIWEEKLY rule runs; weeks start on\n * Monday. Responses return the Monday that starts that week.\n *\n * @generated from field: string anchor_date = 6;\n */\n anchorDate: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawSchedule.\n * Use `create(AutoWithdrawScheduleSchema)` to create a new message.\n */\nexport const AutoWithdrawScheduleSchema: GenMessage<AutoWithdrawSchedule> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n/**\n * AutoWithdrawDestination pays one asset, in kind, to one external-chain\n * address.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawDestination\n */\nexport type AutoWithdrawDestination = Message<\"chain.withdraw.v1.AutoWithdrawDestination\"> & {\n /**\n * Ledger asset paid. At most one destination per asset.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address on destination_chain_id. It must be on the\n * account's external withdraw whitelist when the rule is written and\n * whenever a run pays it. Responses carry its canonical form.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * A run pays this asset only when the payable amount reaches this\n * minimum, in 18-decimal asset units, and the rule's min_usd_value_e18;\n * otherwise the balance stays on the account for a later run. Must be at\n * least the route's withdrawal minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_amount_e18 = 4;\n */\n minAmountE18?: U128 | undefined;\n\n /**\n * The most one run pays this asset, in 18-decimal asset units; at least\n * min_amount_e18. A larger balance pays this ceiling and the rest stays on\n * the account.\n *\n * @generated from field: polyester.type.v1.U128 max_amount_e18 = 5;\n */\n maxAmountE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawDestination.\n * Use `create(AutoWithdrawDestinationSchema)` to create a new message.\n */\nexport const AutoWithdrawDestinationSchema: GenMessage<AutoWithdrawDestination> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 1);\n\n/**\n * AutoWithdrawPause reports why a rule stopped running on its own.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawPause\n */\nexport type AutoWithdrawPause = Message<\"chain.withdraw.v1.AutoWithdrawPause\"> & {\n /**\n * Asset whose payout paused the rule.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Machine-readable reason: destination_not_whitelisted when the\n * destination left the account's external withdraw whitelist,\n * destination_invalid when it is no longer a valid destination, or\n * authority_revoked when the person who set the rule may no longer change\n * it or withdraw from the account.\n *\n * @generated from field: string reason = 2;\n */\n reason: string;\n\n /**\n * When the rule was paused.\n *\n * @generated from field: google.protobuf.Timestamp paused_at = 3;\n */\n pausedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawPause.\n * Use `create(AutoWithdrawPauseSchema)` to create a new message.\n */\nexport const AutoWithdrawPauseSchema: GenMessage<AutoWithdrawPause> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 2);\n\n/**\n * AutoWithdrawRule is one version of an account's auto-withdraw rule. Each\n * change or disable creates the next version; only the latest version runs,\n * and a run in progress keeps the version it started with but pays nothing\n * further once that version is no longer the latest.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawRule\n */\nexport type AutoWithdrawRule = Message<\"chain.withdraw.v1.AutoWithdrawRule\"> & {\n /**\n * Public subaccount ID the rule belongs to; zero for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Rule version, starting at 1.\n *\n * @generated from field: uint32 version = 2;\n */\n version: number;\n\n /**\n * Whether the rule runs. A disabled version has no destinations.\n *\n * @generated from field: bool enabled = 3;\n */\n enabled: boolean;\n\n /**\n * When the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 4;\n */\n schedule?: AutoWithdrawSchedule | undefined;\n\n /**\n * One destination per paid asset, ordered by asset_id.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 5;\n */\n destinations: AutoWithdrawDestination[];\n\n /**\n * When this version was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 6;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Set when the rule paused itself; a new version resumes it.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawPause pause = 7;\n */\n pause?: AutoWithdrawPause | undefined;\n\n /**\n * Least USD value one payout of the rule pays, in 18-decimal USD units;\n * zero means no USD minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 8;\n */\n minUsdValueE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawRule.\n * Use `create(AutoWithdrawRuleSchema)` to create a new message.\n */\nexport const AutoWithdrawRuleSchema: GenMessage<AutoWithdrawRule> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 3);\n\n/**\n * SetAutoWithdrawRuleRequest creates or replaces the rule of the root\n * account or one subaccount.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleRequest\n */\nexport type SetAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * The version the change replaces: 0 when the account has no rule yet,\n * otherwise its latest version. A mismatch is rejected so concurrent\n * changes never overwrite each other.\n *\n * @generated from field: uint32 expected_version = 2;\n */\n expectedVersion: number;\n\n /**\n * When the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 3;\n */\n schedule?: AutoWithdrawSchedule | undefined;\n\n /**\n * Destinations, one per asset, 1 to 32.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 4;\n */\n destinations: AutoWithdrawDestination[];\n\n /**\n * Least USD value one payout pays, in 18-decimal USD units; unset or zero\n * for no USD minimum. Each run values each asset's payable amount at the\n * current index price. A smaller amount stays on the account for a later\n * run, and the asset is skipped with reason price_unavailable when no\n * current price is available. A payout never goes below its destination's\n * min_amount_e18 or the route's withdrawal minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 5;\n */\n minUsdValueE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleRequest.\n * Use `create(SetAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleRequestSchema: GenMessage<SetAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 4);\n\n/**\n * SetAutoWithdrawRuleResponse returns the new rule version.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleResponse\n */\nexport type SetAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleResponse\"> & {\n /**\n * The created version.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleResponse.\n * Use `create(SetAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleResponseSchema: GenMessage<SetAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 5);\n\n/**\n * DisableAutoWithdrawRuleRequest stops the rule of the root account or one\n * subaccount.\n *\n * @generated from message chain.withdraw.v1.DisableAutoWithdrawRuleRequest\n */\nexport type DisableAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.DisableAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * The account's latest rule version.\n *\n * @generated from field: uint32 expected_version = 2;\n */\n expectedVersion: number;\n};\n\n/**\n * Describes the message chain.withdraw.v1.DisableAutoWithdrawRuleRequest.\n * Use `create(DisableAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const DisableAutoWithdrawRuleRequestSchema: GenMessage<DisableAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 6);\n\n/**\n * DisableAutoWithdrawRuleResponse returns the disabled version.\n *\n * @generated from message chain.withdraw.v1.DisableAutoWithdrawRuleResponse\n */\nexport type DisableAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.DisableAutoWithdrawRuleResponse\"> & {\n /**\n * The created, disabled version.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.DisableAutoWithdrawRuleResponse.\n * Use `create(DisableAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const DisableAutoWithdrawRuleResponseSchema: GenMessage<DisableAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 7);\n\n/**\n * GetAutoWithdrawRuleRequest reads the latest rule version.\n *\n * @generated from message chain.withdraw.v1.GetAutoWithdrawRuleRequest\n */\nexport type GetAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.GetAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetAutoWithdrawRuleRequest.\n * Use `create(GetAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const GetAutoWithdrawRuleRequestSchema: GenMessage<GetAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 8);\n\n/**\n * GetAutoWithdrawRuleResponse returns the latest rule version.\n *\n * @generated from message chain.withdraw.v1.GetAutoWithdrawRuleResponse\n */\nexport type GetAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.GetAutoWithdrawRuleResponse\"> & {\n /**\n * The latest version; unset when the account never had a rule.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetAutoWithdrawRuleResponse.\n * Use `create(GetAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const GetAutoWithdrawRuleResponseSchema: GenMessage<GetAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 9);\n\n/**\n * AutoWithdrawStep is one asset's payout in a run.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawStep\n */\nexport type AutoWithdrawStep = Message<\"chain.withdraw.v1.AutoWithdrawStep\"> & {\n /**\n * Ledger asset paid.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Canonical destination address.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * The account's available balance of the asset when the run started, in\n * 18-decimal asset units.\n *\n * @generated from field: polyester.type.v1.U128 available_e18 = 4;\n */\n availableE18?: U128 | undefined;\n\n /**\n * What the step pays, in 18-decimal asset units: the available balance\n * up to the ceiling, rounded down to whole on-chain units. Zero when\n * skipped. The remainder stays on the account.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 5;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Where the payout stands.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawStepState state = 6;\n */\n state: AutoWithdrawStepState;\n\n /**\n * Machine-readable reason for a skipped or failed step, such as\n * below_minimum, price_unavailable (the rule has a USD minimum and no\n * current price valued the asset; the funds stay for a later run),\n * rule_superseded, destination_not_whitelisted, authority_revoked,\n * gateway_capacity_insufficient (the funds stay for a later run),\n * withdrawal_released or withdrawal_failed; empty otherwise.\n *\n * @generated from field: string reason = 7;\n */\n reason: string;\n\n /**\n * Withdraw intent identifier once the withdrawal is accepted; follows the\n * same lifecycle as a user withdrawal.\n *\n * @generated from field: string intent_id = 8;\n */\n intentId: string;\n\n /**\n * Destination-network transaction hash once the withdrawal completed.\n *\n * @generated from field: string tx_hash = 9;\n */\n txHash: string;\n\n /**\n * USD value of the payable amount when the run started, in 18-decimal USD\n * units, checked against the rule's min_usd_value_e18. Unset when the rule\n * has no USD minimum or no current price was available.\n *\n * @generated from field: polyester.type.v1.U128 value_usd_e18 = 10;\n */\n valueUsdE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawStep.\n * Use `create(AutoWithdrawStepSchema)` to create a new message.\n */\nexport const AutoWithdrawStepSchema: GenMessage<AutoWithdrawStep> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 10);\n\n/**\n * AutoWithdrawRun is one scheduled run of an account's rule.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawRun\n */\nexport type AutoWithdrawRun = Message<\"chain.withdraw.v1.AutoWithdrawRun\"> & {\n /**\n * The account's run number, increasing by one per run.\n *\n * @generated from field: uint64 run_seq = 1;\n */\n runSeq: bigint;\n\n /**\n * The rule version the run executes.\n *\n * @generated from field: uint32 rule_version = 2;\n */\n ruleVersion: number;\n\n /**\n * The scheduled slot the run belongs to.\n *\n * @generated from field: google.protobuf.Timestamp scheduled_for = 3;\n */\n scheduledFor?: Timestamp | undefined;\n\n /**\n * Where the run stands.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRunState state = 4;\n */\n state: AutoWithdrawRunState;\n\n /**\n * Machine-readable reason for a skipped run: nothing_to_pay,\n * price_unavailable (an asset was not paid because no current price valued\n * it) or rule_superseded; empty otherwise.\n *\n * @generated from field: string reason = 5;\n */\n reason: string;\n\n /**\n * One step per destination of the rule version, ordered by asset_id.\n * Empty while the run is planned.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawStep steps = 6;\n */\n steps: AutoWithdrawStep[];\n\n /**\n * When the run started.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 7;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the run ended; unset while it is in progress.\n *\n * @generated from field: google.protobuf.Timestamp finished_at = 8;\n */\n finishedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawRun.\n * Use `create(AutoWithdrawRunSchema)` to create a new message.\n */\nexport const AutoWithdrawRunSchema: GenMessage<AutoWithdrawRun> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 11);\n\n/**\n * ListAutoWithdrawRunsRequest pages through an account's runs, newest first.\n *\n * @generated from message chain.withdraw.v1.ListAutoWithdrawRunsRequest\n */\nexport type ListAutoWithdrawRunsRequest = Message<\"chain.withdraw.v1.ListAutoWithdrawRunsRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Maximum number of runs to return: 0 means 20, at most 100.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Opaque, exclusive, keyset-backed cursor from a previous response,\n * bound to the caller's account or subaccount and the newest-first\n * run_seq order. Empty for the first page.\n *\n * @generated from field: string page_token = 3;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ListAutoWithdrawRunsRequest.\n * Use `create(ListAutoWithdrawRunsRequestSchema)` to create a new message.\n */\nexport const ListAutoWithdrawRunsRequestSchema: GenMessage<ListAutoWithdrawRunsRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 12);\n\n/**\n * ListAutoWithdrawRunsResponse returns one page of runs, newest first.\n *\n * @generated from message chain.withdraw.v1.ListAutoWithdrawRunsResponse\n */\nexport type ListAutoWithdrawRunsResponse = Message<\"chain.withdraw.v1.ListAutoWithdrawRunsResponse\"> & {\n /**\n * Runs ordered by run_seq, newest first.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawRun runs = 1;\n */\n runs: AutoWithdrawRun[];\n\n /**\n * 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 chain.withdraw.v1.ListAutoWithdrawRunsResponse.\n * Use `create(ListAutoWithdrawRunsResponseSchema)` to create a new message.\n */\nexport const ListAutoWithdrawRunsResponseSchema: GenMessage<ListAutoWithdrawRunsResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 13);\n\n/**\n * AutoWithdrawCadence is how often an auto-withdraw rule runs. Every slot\n * is a UTC time, with no daylight-saving shift.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawCadence\n */\nexport enum AutoWithdrawCadence {\n /**\n * Not set; rejected.\n *\n * @generated from enum value: CADENCE_UNSPECIFIED = 0;\n */\n CADENCE_UNSPECIFIED = 0,\n\n /**\n * Once a day at minute_of_day UTC.\n *\n * @generated from enum value: DAILY = 1;\n */\n DAILY = 1,\n\n /**\n * Once a week on weekday at minute_of_day UTC.\n *\n * @generated from enum value: WEEKLY = 2;\n */\n WEEKLY = 2,\n\n /**\n * Checked every hour at minute_of_hour UTC; pays only an asset whose\n * payable amount has reached its minimums, so a payout follows within the\n * hour of the balance reaching them. An hour with nothing to pay records\n * no run.\n *\n * @generated from enum value: HOURLY = 3;\n */\n HOURLY = 3,\n\n /**\n * Every two weeks on weekday at minute_of_day UTC: in the week of\n * anchor_date and every second week before or after it.\n *\n * @generated from enum value: BIWEEKLY = 4;\n */\n BIWEEKLY = 4,\n\n /**\n * Once a month on day_of_month at minute_of_day UTC. A month without that\n * day runs on its last day: day 31 runs on April 30 and on February 28 or\n * 29, and days 29 and 30 run on the last day of February.\n *\n * @generated from enum value: MONTHLY = 5;\n */\n MONTHLY = 5,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawCadence.\n */\nexport const AutoWithdrawCadenceSchema: GenEnum<AutoWithdrawCadence> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n/**\n * AutoWithdrawWeekday is the run day of a weekly or biweekly rule.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawWeekday\n */\nexport enum AutoWithdrawWeekday {\n /**\n * Not set; required for a weekly or biweekly rule and must be unset for\n * any other cadence.\n *\n * @generated from enum value: WEEKDAY_UNSPECIFIED = 0;\n */\n WEEKDAY_UNSPECIFIED = 0,\n\n /**\n * Monday.\n *\n * @generated from enum value: MONDAY = 1;\n */\n MONDAY = 1,\n\n /**\n * Tuesday.\n *\n * @generated from enum value: TUESDAY = 2;\n */\n TUESDAY = 2,\n\n /**\n * Wednesday.\n *\n * @generated from enum value: WEDNESDAY = 3;\n */\n WEDNESDAY = 3,\n\n /**\n * Thursday.\n *\n * @generated from enum value: THURSDAY = 4;\n */\n THURSDAY = 4,\n\n /**\n * Friday.\n *\n * @generated from enum value: FRIDAY = 5;\n */\n FRIDAY = 5,\n\n /**\n * Saturday.\n *\n * @generated from enum value: SATURDAY = 6;\n */\n SATURDAY = 6,\n\n /**\n * Sunday.\n *\n * @generated from enum value: SUNDAY = 7;\n */\n SUNDAY = 7,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawWeekday.\n */\nexport const AutoWithdrawWeekdaySchema: GenEnum<AutoWithdrawWeekday> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 1);\n\n/**\n * AutoWithdrawRunState is where one auto-withdraw run stands.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawRunState\n */\nexport enum AutoWithdrawRunState {\n /**\n * Never returned.\n *\n * @generated from enum value: RUN_STATE_UNSPECIFIED = 0;\n */\n RUN_STATE_UNSPECIFIED = 0,\n\n /**\n * The run is reading the account's balances.\n *\n * @generated from enum value: RUN_PLANNED = 1;\n */\n RUN_PLANNED = 1,\n\n /**\n * The run's payouts are in progress.\n *\n * @generated from enum value: RUN_PAYING = 2;\n */\n RUN_PAYING = 2,\n\n /**\n * Every payout completed or was skipped, and at least one paid.\n *\n * @generated from enum value: RUN_COMPLETED = 3;\n */\n RUN_COMPLETED = 3,\n\n /**\n * Some payouts failed; their funds are back on the account.\n *\n * @generated from enum value: RUN_PARTIALLY_FAILED = 4;\n */\n RUN_PARTIALLY_FAILED = 4,\n\n /**\n * Every attempted payout failed; the funds are back on the account.\n *\n * @generated from enum value: RUN_FAILED = 5;\n */\n RUN_FAILED = 5,\n\n /**\n * Nothing was paid: every asset was below its minimum, no current price\n * valued it, or the rule was no longer current.\n *\n * @generated from enum value: RUN_SKIPPED = 6;\n */\n RUN_SKIPPED = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawRunState.\n */\nexport const AutoWithdrawRunStateSchema: GenEnum<AutoWithdrawRunState> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 2);\n\n/**\n * AutoWithdrawStepState is where one asset's payout of a run stands.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawStepState\n */\nexport enum AutoWithdrawStepState {\n /**\n * Never returned.\n *\n * @generated from enum value: STEP_STATE_UNSPECIFIED = 0;\n */\n STEP_STATE_UNSPECIFIED = 0,\n\n /**\n * Planned; not yet requested.\n *\n * @generated from enum value: STEP_PENDING = 1;\n */\n STEP_PENDING = 1,\n\n /**\n * Being requested.\n *\n * @generated from enum value: STEP_SUBMITTING = 2;\n */\n STEP_SUBMITTING = 2,\n\n /**\n * Withdrawal accepted; waiting for it to complete on chain.\n *\n * @generated from enum value: STEP_SUBMITTED = 3;\n */\n STEP_SUBMITTED = 3,\n\n /**\n * The withdrawal completed on chain.\n *\n * @generated from enum value: STEP_COMPLETED = 4;\n */\n STEP_COMPLETED = 4,\n\n /**\n * The withdrawal failed; its funds are back on the account.\n *\n * @generated from enum value: STEP_FAILED = 5;\n */\n STEP_FAILED = 5,\n\n /**\n * Nothing was paid for this asset in this run.\n *\n * @generated from enum value: STEP_SKIPPED = 6;\n */\n STEP_SKIPPED = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawStepState.\n */\nexport const AutoWithdrawStepStateSchema: GenEnum<AutoWithdrawStepState> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 3);\n\n/**\n * AutoWithdrawService manages scheduled in-kind auto-withdraw rules for a\n * root account or subaccount. A rule pays each asset's balance out on an\n * hourly, daily, weekly, biweekly or monthly UTC slot, through the normal\n * withdraw path, only to destinations on the account's external withdraw\n * whitelist. Changing a\n * rule requires a person with withdraw rights and a fresh single-use MFA\n * step-up; API keys can read rules and runs but never change them.\n *\n * @generated from service chain.withdraw.v1.AutoWithdrawService\n */\nexport const AutoWithdrawService: GenService<{\n /**\n * Create the account's rule, or replace its latest version with a new\n * one. Requires a session login with withdraw rights on the account and\n * a fresh single-use step-up; every destination must be on the account's\n * external withdraw whitelist.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.SetAutoWithdrawRule\n */\n setAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof SetAutoWithdrawRuleRequestSchema;\n output: typeof SetAutoWithdrawRuleResponseSchema;\n },\n /**\n * Disable the account's rule. Requires a session login with withdraw\n * rights on the account and a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.DisableAutoWithdrawRule\n */\n disableAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof DisableAutoWithdrawRuleRequestSchema;\n output: typeof DisableAutoWithdrawRuleResponseSchema;\n },\n /**\n * Read the account's latest rule version.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.GetAutoWithdrawRule\n */\n getAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof GetAutoWithdrawRuleRequestSchema;\n output: typeof GetAutoWithdrawRuleResponseSchema;\n },\n /**\n * List the account's auto-withdraw runs with their payouts, newest first.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.ListAutoWithdrawRuns\n */\n listAutoWithdrawRuns: {\n methodKind: \"unary\";\n input: typeof ListAutoWithdrawRunsRequestSchema;\n output: typeof ListAutoWithdrawRunsResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,uCACX,uBAAS,wzJAAwzJ;CAAC;CAAgC;CAA4B;AAA2B,CAAC;;;;;AA0D55J,MAAa,6BACX,0BAAY,sCAAsC,CAAC;;;;;AAwDrD,MAAa,gCACX,0BAAY,sCAAsC,CAAC;;;;;AAsCrD,MAAa,0BACX,0BAAY,sCAAsC,CAAC;;;;;AAyErD,MAAa,yBACX,0BAAY,sCAAsC,CAAC;;;;;AAwDrD,MAAa,mCACX,0BAAY,sCAAsC,CAAC;;;;;AAoBrD,MAAa,oCACX,0BAAY,sCAAsC,CAAC;;;;;AA4BrD,MAAa,uCACX,0BAAY,sCAAsC,CAAC;;;;;AAoBrD,MAAa,wCACX,0BAAY,sCAAsC,CAAC;;;;;AAoBrD,MAAa,mCACX,0BAAY,sCAAsC,CAAC;;;;;AAoBrD,MAAa,oCACX,0BAAY,sCAAsC,CAAC;;;;;AA8FrD,MAAa,yBACX,0BAAY,sCAAsC,EAAE;;;;;AAwEtD,MAAa,wBACX,0BAAY,sCAAsC,EAAE;;;;;AAoCtD,MAAa,oCACX,0BAAY,sCAAsC,EAAE;;;;;AA2BtD,MAAa,qCACX,0BAAY,sCAAsC,EAAE;;;;;;;AAQtD,IAAY,sBAAL,yBAAA,qBAAA;;;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CAOA,sBAAA,sBAAA,qBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,oBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,oBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,iBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,kBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,sCAAsC,CAAC;;;;;;;;;;;;AAalD,MAAa,sBA8CX,0BAAY,sCAAsC,CAAC"}
|
|
1
|
+
{"version":3,"file":"auto_withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/auto_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/auto_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 type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\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/auto_withdraw.proto.\n */\nexport const file_chain_withdraw_v1_auto_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiVjaGFpbi93aXRoZHJhdy92MS9hdXRvX3dpdGhkcmF3LnByb3RvEhFjaGFpbi53aXRoZHJhdy52MSLuAQoUQXV0b1dpdGhkcmF3U2NoZWR1bGUSOQoHY2FkZW5jZRgBIAEoDjImLmNoYWluLndpdGhkcmF3LnYxLkF1dG9XaXRoZHJhd0Nh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sZUF1dG9XaXRoZHJhd1J1bGVSZXNwb25zZSIAEnQKE0dldEF1dG9XaXRoZHJhd1J1bGUSLS5jaGFpbi53aXRoZHJhdy52MS5HZXRBdXRvV2l0aGRyYXdSdWxlUmVxdWVzdBouLmNoYWluLndpdGhkcmF3LnYxLkdldEF1dG9XaXRoZHJhd1J1bGVSZXNwb25zZRJ3ChRMaXN0QXV0b1dpdGhkcmF3UnVucxIuLmNoYWluLndpdGhkcmF3LnYxLkxpc3RBdXRvV2l0aGRyYXdSdW5zUmVxdWVzdBovLmNoYWluLndpdGhkcmF3LnYxLkxpc3RBdXRvV2l0aGRyYXdSdW5zUmVzcG9uc2UaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * AutoWithdrawSchedule is a rule's UTC run slot. Only the fields of its\n * cadence may be set; the others must be zero or empty.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawSchedule\n */\nexport type AutoWithdrawSchedule = Message<\"chain.withdraw.v1.AutoWithdrawSchedule\"> & {\n /**\n * How often the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawCadence cadence = 1;\n */\n cadence: AutoWithdrawCadence;\n\n /**\n * Run day of a weekly or biweekly rule.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawWeekday weekday = 2;\n */\n weekday: AutoWithdrawWeekday;\n\n /**\n * Minute after 00:00 UTC the run starts, 0 to 1439, for every cadence but\n * HOURLY; must be 0 for an hourly rule.\n *\n * @generated from field: uint32 minute_of_day = 3;\n */\n minuteOfDay: number;\n\n /**\n * Minute past every hour an HOURLY rule is checked, 0 to 59.\n *\n * @generated from field: uint32 minute_of_hour = 4;\n */\n minuteOfHour: number;\n\n /**\n * Run day of a MONTHLY rule, 1 to 31; see MONTHLY for shorter months.\n *\n * @generated from field: uint32 day_of_month = 5;\n */\n dayOfMonth: number;\n\n /**\n * A UTC date (YYYY-MM-DD) in a week a BIWEEKLY rule runs; weeks start on\n * Monday. Responses return the Monday that starts that week.\n *\n * @generated from field: string anchor_date = 6;\n */\n anchorDate: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawSchedule.\n * Use `create(AutoWithdrawScheduleSchema)` to create a new message.\n */\nexport const AutoWithdrawScheduleSchema: GenMessage<AutoWithdrawSchedule> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n/**\n * AutoWithdrawDestination pays one asset, in kind, to one external-chain\n * address.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawDestination\n */\nexport type AutoWithdrawDestination = Message<\"chain.withdraw.v1.AutoWithdrawDestination\"> & {\n /**\n * Ledger asset paid. At most one destination per asset.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address on destination_chain_id. It must be on the\n * account's external withdraw whitelist when the rule is written and\n * whenever a run pays it. Responses carry its canonical form.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * A run pays this asset only when the payable amount reaches this\n * minimum, in 18-decimal asset units, and the rule's min_usd_value_e18;\n * otherwise the balance stays on the account for a later run. Must be at\n * least the route's withdrawal minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_amount_e18 = 4;\n */\n minAmountE18?: U128 | undefined;\n\n /**\n * The most one run pays this asset, in 18-decimal asset units; at least\n * min_amount_e18. A larger balance pays this ceiling and the rest stays on\n * the account.\n *\n * @generated from field: polyester.type.v1.U128 max_amount_e18 = 5;\n */\n maxAmountE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawDestination.\n * Use `create(AutoWithdrawDestinationSchema)` to create a new message.\n */\nexport const AutoWithdrawDestinationSchema: GenMessage<AutoWithdrawDestination> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 1);\n\n/**\n * AutoWithdrawPause reports why a rule stopped running on its own.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawPause\n */\nexport type AutoWithdrawPause = Message<\"chain.withdraw.v1.AutoWithdrawPause\"> & {\n /**\n * Asset whose payout paused the rule.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Machine-readable reason: destination_not_whitelisted when the\n * destination left the account's external withdraw whitelist,\n * destination_invalid when it is no longer a valid destination, or\n * authority_revoked when the person who set the rule may no longer change\n * it or withdraw from the account.\n *\n * @generated from field: string reason = 2;\n */\n reason: string;\n\n /**\n * When the rule was paused.\n *\n * @generated from field: google.protobuf.Timestamp paused_at = 3;\n */\n pausedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawPause.\n * Use `create(AutoWithdrawPauseSchema)` to create a new message.\n */\nexport const AutoWithdrawPauseSchema: GenMessage<AutoWithdrawPause> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 2);\n\n/**\n * AutoWithdrawRule is one version of an account's auto-withdraw rule. Each\n * change or disable creates the next version; only the latest version runs,\n * and a run in progress keeps the version it started with but pays nothing\n * further once that version is no longer the latest.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawRule\n */\nexport type AutoWithdrawRule = Message<\"chain.withdraw.v1.AutoWithdrawRule\"> & {\n /**\n * Public subaccount ID the rule belongs to; zero for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Rule version, starting at 1.\n *\n * @generated from field: uint32 version = 2;\n */\n version: number;\n\n /**\n * Whether the rule runs. A disabled version has no destinations.\n *\n * @generated from field: bool enabled = 3;\n */\n enabled: boolean;\n\n /**\n * When the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 4;\n */\n schedule?: AutoWithdrawSchedule | undefined;\n\n /**\n * One destination per paid asset, ordered by asset_id.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 5;\n */\n destinations: AutoWithdrawDestination[];\n\n /**\n * When this version was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 6;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Set when the rule paused itself; a new version resumes it.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawPause pause = 7;\n */\n pause?: AutoWithdrawPause | undefined;\n\n /**\n * Least USD value one payout of the rule pays, in 18-decimal USD units;\n * zero means no USD minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 8;\n */\n minUsdValueE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawRule.\n * Use `create(AutoWithdrawRuleSchema)` to create a new message.\n */\nexport const AutoWithdrawRuleSchema: GenMessage<AutoWithdrawRule> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 3);\n\n/**\n * SetAutoWithdrawRuleRequest creates or replaces the rule of the root\n * account or one subaccount.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleRequest\n */\nexport type SetAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * The version the change replaces: 0 when the account has no rule yet,\n * otherwise its latest version. A mismatch is rejected so concurrent\n * changes never overwrite each other.\n *\n * @generated from field: uint32 expected_version = 2;\n */\n expectedVersion: number;\n\n /**\n * When the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 3;\n */\n schedule?: AutoWithdrawSchedule | undefined;\n\n /**\n * Destinations, one per asset, 1 to 32.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 4;\n */\n destinations: AutoWithdrawDestination[];\n\n /**\n * Least USD value one payout pays, in 18-decimal USD units; unset or zero\n * for no USD minimum. Each run values each asset's payable amount at the\n * current index price. A smaller amount stays on the account for a later\n * run, and the asset is skipped with reason price_unavailable when no\n * current price is available. A payout never goes below its destination's\n * min_amount_e18 or the route's withdrawal minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 5;\n */\n minUsdValueE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleRequest.\n * Use `create(SetAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleRequestSchema: GenMessage<SetAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 4);\n\n/**\n * SetAutoWithdrawRuleResponse returns the new rule version.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleResponse\n */\nexport type SetAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleResponse\"> & {\n /**\n * The created version.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleResponse.\n * Use `create(SetAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleResponseSchema: GenMessage<SetAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 5);\n\n/**\n * DisableAutoWithdrawRuleRequest stops the rule of the root account or one\n * subaccount.\n *\n * @generated from message chain.withdraw.v1.DisableAutoWithdrawRuleRequest\n */\nexport type DisableAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.DisableAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * The account's latest rule version.\n *\n * @generated from field: uint32 expected_version = 2;\n */\n expectedVersion: number;\n};\n\n/**\n * Describes the message chain.withdraw.v1.DisableAutoWithdrawRuleRequest.\n * Use `create(DisableAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const DisableAutoWithdrawRuleRequestSchema: GenMessage<DisableAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 6);\n\n/**\n * DisableAutoWithdrawRuleResponse returns the disabled version.\n *\n * @generated from message chain.withdraw.v1.DisableAutoWithdrawRuleResponse\n */\nexport type DisableAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.DisableAutoWithdrawRuleResponse\"> & {\n /**\n * The created, disabled version.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.DisableAutoWithdrawRuleResponse.\n * Use `create(DisableAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const DisableAutoWithdrawRuleResponseSchema: GenMessage<DisableAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 7);\n\n/**\n * GetAutoWithdrawRuleRequest reads the latest rule version.\n *\n * @generated from message chain.withdraw.v1.GetAutoWithdrawRuleRequest\n */\nexport type GetAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.GetAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetAutoWithdrawRuleRequest.\n * Use `create(GetAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const GetAutoWithdrawRuleRequestSchema: GenMessage<GetAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 8);\n\n/**\n * GetAutoWithdrawRuleResponse returns the latest rule version.\n *\n * @generated from message chain.withdraw.v1.GetAutoWithdrawRuleResponse\n */\nexport type GetAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.GetAutoWithdrawRuleResponse\"> & {\n /**\n * The latest version; unset when the account never had a rule.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetAutoWithdrawRuleResponse.\n * Use `create(GetAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const GetAutoWithdrawRuleResponseSchema: GenMessage<GetAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 9);\n\n/**\n * AutoWithdrawStep is one asset's payout in a run.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawStep\n */\nexport type AutoWithdrawStep = Message<\"chain.withdraw.v1.AutoWithdrawStep\"> & {\n /**\n * Ledger asset paid.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Canonical destination address.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * The account's available balance of the asset when the run started, in\n * 18-decimal asset units.\n *\n * @generated from field: polyester.type.v1.U128 available_e18 = 4;\n */\n availableE18?: U128 | undefined;\n\n /**\n * What the step pays, in 18-decimal asset units: the available balance\n * up to the ceiling, rounded down to whole on-chain units. Zero when\n * skipped. The remainder stays on the account.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 5;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Where the payout stands.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawStepState state = 6;\n */\n state: AutoWithdrawStepState;\n\n /**\n * Machine-readable reason for a skipped or failed step, such as\n * below_minimum, price_unavailable (the rule has a USD minimum and no\n * current price valued the asset; the funds stay for a later run),\n * rule_superseded, destination_not_whitelisted, authority_revoked,\n * gateway_capacity_insufficient (the funds stay for a later run),\n * withdrawal_released or withdrawal_failed; empty otherwise.\n *\n * @generated from field: string reason = 7;\n */\n reason: string;\n\n /**\n * Withdraw intent identifier once the withdrawal is accepted; follows the\n * same lifecycle as a user withdrawal.\n *\n * @generated from field: string intent_id = 8;\n */\n intentId: string;\n\n /**\n * Destination-network transaction hash once the withdrawal completed.\n *\n * @generated from field: string tx_hash = 9;\n */\n txHash: string;\n\n /**\n * USD value of the payable amount when the run started, in 18-decimal USD\n * units, checked against the rule's min_usd_value_e18. Unset when the rule\n * has no USD minimum or no current price was available.\n *\n * @generated from field: polyester.type.v1.U128 value_usd_e18 = 10;\n */\n valueUsdE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawStep.\n * Use `create(AutoWithdrawStepSchema)` to create a new message.\n */\nexport const AutoWithdrawStepSchema: GenMessage<AutoWithdrawStep> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 10);\n\n/**\n * AutoWithdrawRun is one scheduled run of an account's rule.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawRun\n */\nexport type AutoWithdrawRun = Message<\"chain.withdraw.v1.AutoWithdrawRun\"> & {\n /**\n * The account's run number, increasing by one per run.\n *\n * @generated from field: uint64 run_seq = 1;\n */\n runSeq: bigint;\n\n /**\n * The rule version the run executes.\n *\n * @generated from field: uint32 rule_version = 2;\n */\n ruleVersion: number;\n\n /**\n * The scheduled slot the run belongs to.\n *\n * @generated from field: google.protobuf.Timestamp scheduled_for = 3;\n */\n scheduledFor?: Timestamp | undefined;\n\n /**\n * Where the run stands.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRunState state = 4;\n */\n state: AutoWithdrawRunState;\n\n /**\n * Machine-readable reason for a skipped run: nothing_to_pay,\n * price_unavailable (an asset was not paid because no current price valued\n * it) or rule_superseded; empty otherwise.\n *\n * @generated from field: string reason = 5;\n */\n reason: string;\n\n /**\n * One step per destination of the rule version, ordered by asset_id.\n * Empty while the run is planned.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawStep steps = 6;\n */\n steps: AutoWithdrawStep[];\n\n /**\n * When the run started.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 7;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the run ended; unset while it is in progress.\n *\n * @generated from field: google.protobuf.Timestamp finished_at = 8;\n */\n finishedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawRun.\n * Use `create(AutoWithdrawRunSchema)` to create a new message.\n */\nexport const AutoWithdrawRunSchema: GenMessage<AutoWithdrawRun> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 11);\n\n/**\n * ListAutoWithdrawRunsRequest pages through an account's runs, newest first.\n *\n * @generated from message chain.withdraw.v1.ListAutoWithdrawRunsRequest\n */\nexport type ListAutoWithdrawRunsRequest = Message<\"chain.withdraw.v1.ListAutoWithdrawRunsRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Maximum number of runs to return: 0 means 20, at most 100.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Opaque, exclusive, keyset-backed cursor from a previous response,\n * bound to the caller's account or subaccount and the newest-first\n * run_seq order. Empty for the first page.\n *\n * @generated from field: string page_token = 3;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ListAutoWithdrawRunsRequest.\n * Use `create(ListAutoWithdrawRunsRequestSchema)` to create a new message.\n */\nexport const ListAutoWithdrawRunsRequestSchema: GenMessage<ListAutoWithdrawRunsRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 12);\n\n/**\n * ListAutoWithdrawRunsResponse returns one page of runs, newest first.\n *\n * @generated from message chain.withdraw.v1.ListAutoWithdrawRunsResponse\n */\nexport type ListAutoWithdrawRunsResponse = Message<\"chain.withdraw.v1.ListAutoWithdrawRunsResponse\"> & {\n /**\n * Runs ordered by run_seq, newest first.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawRun runs = 1;\n */\n runs: AutoWithdrawRun[];\n\n /**\n * 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 chain.withdraw.v1.ListAutoWithdrawRunsResponse.\n * Use `create(ListAutoWithdrawRunsResponseSchema)` to create a new message.\n */\nexport const ListAutoWithdrawRunsResponseSchema: GenMessage<ListAutoWithdrawRunsResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 13);\n\n/**\n * AutoWithdrawCadence is how often an auto-withdraw rule runs. Every slot\n * is a UTC time, with no daylight-saving shift.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawCadence\n */\nexport enum AutoWithdrawCadence {\n /**\n * Not set; rejected.\n *\n * @generated from enum value: CADENCE_UNSPECIFIED = 0;\n */\n CADENCE_UNSPECIFIED = 0,\n\n /**\n * Once a day at minute_of_day UTC.\n *\n * @generated from enum value: DAILY = 1;\n */\n DAILY = 1,\n\n /**\n * Once a week on weekday at minute_of_day UTC.\n *\n * @generated from enum value: WEEKLY = 2;\n */\n WEEKLY = 2,\n\n /**\n * Checked every hour at minute_of_hour UTC; pays only an asset whose\n * payable amount has reached its minimums, so a payout follows within the\n * hour of the balance reaching them. An hour with nothing to pay records\n * no run.\n *\n * @generated from enum value: HOURLY = 3;\n */\n HOURLY = 3,\n\n /**\n * Every two weeks on weekday at minute_of_day UTC: in the week of\n * anchor_date and every second week before or after it.\n *\n * @generated from enum value: BIWEEKLY = 4;\n */\n BIWEEKLY = 4,\n\n /**\n * Once a month on day_of_month at minute_of_day UTC. A month without that\n * day runs on its last day: day 31 runs on April 30 and on February 28 or\n * 29, and days 29 and 30 run on the last day of February.\n *\n * @generated from enum value: MONTHLY = 5;\n */\n MONTHLY = 5,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawCadence.\n */\nexport const AutoWithdrawCadenceSchema: GenEnum<AutoWithdrawCadence> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n/**\n * AutoWithdrawWeekday is the run day of a weekly or biweekly rule.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawWeekday\n */\nexport enum AutoWithdrawWeekday {\n /**\n * Not set; required for a weekly or biweekly rule and must be unset for\n * any other cadence.\n *\n * @generated from enum value: WEEKDAY_UNSPECIFIED = 0;\n */\n WEEKDAY_UNSPECIFIED = 0,\n\n /**\n * Monday.\n *\n * @generated from enum value: MONDAY = 1;\n */\n MONDAY = 1,\n\n /**\n * Tuesday.\n *\n * @generated from enum value: TUESDAY = 2;\n */\n TUESDAY = 2,\n\n /**\n * Wednesday.\n *\n * @generated from enum value: WEDNESDAY = 3;\n */\n WEDNESDAY = 3,\n\n /**\n * Thursday.\n *\n * @generated from enum value: THURSDAY = 4;\n */\n THURSDAY = 4,\n\n /**\n * Friday.\n *\n * @generated from enum value: FRIDAY = 5;\n */\n FRIDAY = 5,\n\n /**\n * Saturday.\n *\n * @generated from enum value: SATURDAY = 6;\n */\n SATURDAY = 6,\n\n /**\n * Sunday.\n *\n * @generated from enum value: SUNDAY = 7;\n */\n SUNDAY = 7,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawWeekday.\n */\nexport const AutoWithdrawWeekdaySchema: GenEnum<AutoWithdrawWeekday> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 1);\n\n/**\n * AutoWithdrawRunState is where one auto-withdraw run stands.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawRunState\n */\nexport enum AutoWithdrawRunState {\n /**\n * Never returned.\n *\n * @generated from enum value: RUN_STATE_UNSPECIFIED = 0;\n */\n RUN_STATE_UNSPECIFIED = 0,\n\n /**\n * The run is reading the account's balances.\n *\n * @generated from enum value: RUN_PLANNED = 1;\n */\n RUN_PLANNED = 1,\n\n /**\n * The run's payouts are in progress.\n *\n * @generated from enum value: RUN_PAYING = 2;\n */\n RUN_PAYING = 2,\n\n /**\n * Every payout completed or was skipped, and at least one paid.\n *\n * @generated from enum value: RUN_COMPLETED = 3;\n */\n RUN_COMPLETED = 3,\n\n /**\n * Some payouts failed; their funds are back on the account.\n *\n * @generated from enum value: RUN_PARTIALLY_FAILED = 4;\n */\n RUN_PARTIALLY_FAILED = 4,\n\n /**\n * Every attempted payout failed; the funds are back on the account.\n *\n * @generated from enum value: RUN_FAILED = 5;\n */\n RUN_FAILED = 5,\n\n /**\n * Nothing was paid: every asset was below its minimum, no current price\n * valued it, or the rule was no longer current.\n *\n * @generated from enum value: RUN_SKIPPED = 6;\n */\n RUN_SKIPPED = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawRunState.\n */\nexport const AutoWithdrawRunStateSchema: GenEnum<AutoWithdrawRunState> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 2);\n\n/**\n * AutoWithdrawStepState is where one asset's payout of a run stands.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawStepState\n */\nexport enum AutoWithdrawStepState {\n /**\n * Never returned.\n *\n * @generated from enum value: STEP_STATE_UNSPECIFIED = 0;\n */\n STEP_STATE_UNSPECIFIED = 0,\n\n /**\n * Planned; not yet requested.\n *\n * @generated from enum value: STEP_PENDING = 1;\n */\n STEP_PENDING = 1,\n\n /**\n * Being requested.\n *\n * @generated from enum value: STEP_SUBMITTING = 2;\n */\n STEP_SUBMITTING = 2,\n\n /**\n * Withdrawal accepted; waiting for it to complete on chain.\n *\n * @generated from enum value: STEP_SUBMITTED = 3;\n */\n STEP_SUBMITTED = 3,\n\n /**\n * The withdrawal completed on chain.\n *\n * @generated from enum value: STEP_COMPLETED = 4;\n */\n STEP_COMPLETED = 4,\n\n /**\n * The withdrawal failed; its funds are back on the account.\n *\n * @generated from enum value: STEP_FAILED = 5;\n */\n STEP_FAILED = 5,\n\n /**\n * Nothing was paid for this asset in this run.\n *\n * @generated from enum value: STEP_SKIPPED = 6;\n */\n STEP_SKIPPED = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawStepState.\n */\nexport const AutoWithdrawStepStateSchema: GenEnum<AutoWithdrawStepState> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 3);\n\n/**\n * AutoWithdrawService manages scheduled in-kind auto-withdraw rules for a\n * root account or subaccount. A rule pays each asset's balance out on an\n * hourly, daily, weekly, biweekly or monthly UTC slot, through the normal\n * withdraw path, only to destinations on the account's external withdraw\n * whitelist. Changing a\n * rule requires a person with withdraw rights and a fresh single-use MFA\n * step-up; API keys can read rules and runs but never change them. An API\n * key reads only when its policy grants READ_AUTO_WITHDRAW (or\n * MANAGE_AUTO_WITHDRAW), and only its own account: a root-account key reads\n * the root account, and a subaccount key reads its subaccount.\n *\n * @generated from service chain.withdraw.v1.AutoWithdrawService\n */\nexport const AutoWithdrawService: GenService<{\n /**\n * Create the account's rule, or replace its latest version with a new\n * one. Requires a session login with withdraw rights on the account and\n * a fresh single-use step-up; every destination must be on the account's\n * external withdraw whitelist.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.SetAutoWithdrawRule\n */\n setAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof SetAutoWithdrawRuleRequestSchema;\n output: typeof SetAutoWithdrawRuleResponseSchema;\n },\n /**\n * Disable the account's rule. Requires a session login with withdraw\n * rights on the account and a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.DisableAutoWithdrawRule\n */\n disableAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof DisableAutoWithdrawRuleRequestSchema;\n output: typeof DisableAutoWithdrawRuleResponseSchema;\n },\n /**\n * Read the account's latest rule version.\n *\n * An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own\n * account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks\n * the action gets \"api key policy does not allow READ_AUTO_WITHDRAW\", and a\n * key that names an account other than its own, such as a root-account key\n * naming a subaccount, gets \"api key target scope mismatch\".\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.GetAutoWithdrawRule\n */\n getAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof GetAutoWithdrawRuleRequestSchema;\n output: typeof GetAutoWithdrawRuleResponseSchema;\n },\n /**\n * List the account's auto-withdraw runs with their payouts, newest first.\n *\n * An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own\n * account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks\n * the action gets \"api key policy does not allow READ_AUTO_WITHDRAW\", and a\n * key that names an account other than its own, such as a root-account key\n * naming a subaccount, gets \"api key target scope mismatch\".\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.ListAutoWithdrawRuns\n */\n listAutoWithdrawRuns: {\n methodKind: \"unary\";\n input: typeof ListAutoWithdrawRunsRequestSchema;\n output: typeof ListAutoWithdrawRunsResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,uCACX,uBAAS,wzJAAwzJ;CAAC;CAAgC;CAA4B;AAA2B,CAAC;;;;;AA0D55J,MAAa,6BACX,0BAAY,sCAAsC,CAAC;;;;;AAwDrD,MAAa,gCACX,0BAAY,sCAAsC,CAAC;;;;;AAsCrD,MAAa,0BACX,0BAAY,sCAAsC,CAAC;;;;;AAyErD,MAAa,yBACX,0BAAY,sCAAsC,CAAC;;;;;AAwDrD,MAAa,mCACX,0BAAY,sCAAsC,CAAC;;;;;AAoBrD,MAAa,oCACX,0BAAY,sCAAsC,CAAC;;;;;AA4BrD,MAAa,uCACX,0BAAY,sCAAsC,CAAC;;;;;AAoBrD,MAAa,wCACX,0BAAY,sCAAsC,CAAC;;;;;AAoBrD,MAAa,mCACX,0BAAY,sCA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AA,0BAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,gBAAA,KAAA;;;;;;;CAQA,qBAAA,qBAAA,iBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,6BACX,uBAAS,sCAAsC,CAAC;;;;;;AAOlD,IAAY,wBAAL,yBAAA,uBAAA;;;;;;CAML,sBAAA,sBAAA,4BAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,kBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,qBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,oBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,oBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,iBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,kBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,sCAAsC,CAAC;;;;;;;;;;;;;;;AAgBlD,MAAa,sBA0DX,0BAAY,sCAAsC,CAAC"}
|
|
@@ -156,6 +156,7 @@ type CreateTradingWithdrawRequest = Message<"chain.withdraw.v1.CreateTradingWith
|
|
|
156
156
|
payload?: TradingWithdrawIntentPayload | undefined;
|
|
157
157
|
/**
|
|
158
158
|
* User/API signature over deterministic TradingWithdrawIntentPayload bytes.
|
|
159
|
+
* Must not be empty.
|
|
159
160
|
*
|
|
160
161
|
* @generated from field: bytes payload_signature = 2;
|
|
161
162
|
*/
|
|
@@ -192,7 +193,8 @@ type CreateWalletTradingWithdrawRequest = Message<"chain.withdraw.v1.CreateWalle
|
|
|
192
193
|
*/
|
|
193
194
|
signerWallet: string;
|
|
194
195
|
/**
|
|
195
|
-
* Wallet EIP-191 personal_sign signature over the canonical withdraw
|
|
196
|
+
* Wallet EIP-191 personal_sign signature over the canonical withdraw
|
|
197
|
+
* authorization message. Must not be empty.
|
|
196
198
|
*
|
|
197
199
|
* @generated from field: bytes payload_signature = 4;
|
|
198
200
|
*/
|
|
@@ -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;;;;;;KAQvD,cAAc;;;;;;EAMxB,MAAM;;;;;;cAOK,mBAAmB,WAAW;;;;;;;KAS/B,+BAA+B;;;;;;EAMzC,QAAQ;;;;;;;EAQR;;;;;;EAOA;;;;;;;;;;;EAYA,YAAY;;;;;;;;EASZ;;;;;;;EAQA,QAAQ;;;;;;;;;;EAWR;;;;;;;EAQA;;;;;;cAOW,oCAAoC,WAAW;;;;;;;KAShD,+BAA+B;;;;;;EAMzC,UAAU
|
|
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;;;;;;KAQvD,cAAc;;;;;;EAMxB,MAAM;;;;;;cAOK,mBAAmB,WAAW;;;;;;;KAS/B,+BAA+B;;;;;;EAMzC,QAAQ;;;;;;;EAQR;;;;;;EAOA;;;;;;;;;;;EAYA,YAAY;;;;;;;;EASZ;;;;;;;EAQA,QAAQ;;;;;;;;;;EAWR;;;;;;;EAQA;;;;;;cAOW,oCAAoC,WAAW;;;;;;;KAShD,+BAA+B;;;;;;EAMzC,UAAU;;;;;;;EAQV,kBAAkB;;;;;;cAOP,oCAAoC,WAAW;;;;;;;KAShD,qCAAqC;;;;;;EAM/C,UAAU;;;;;;EAOV;;;;;;EAOA;;;;;;;EAQA,kBAAkB;;;;;;cAOP,0CAA0C,WAAW;;;;;;;KAStD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.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(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSI5CgtFcnJvckRldGFpbBIqCgRjb2RlGAEgASgOMhwuY2hhaW4ud2l0aGRyYXcudjEuRXJyb3JDb2RlIrgCChxUcmFkaW5nV2l0aGRyYXdJbnRlbnRQYXlsb2FkEjoKBmFjdGlvbhgBIAEoDjIoLmNoYWluLndpdGhkcmF3LnYxLlRyYWRpbmdXaXRoZHJhd0FjdGlvbkIAEhIKCGFzc2V0X2lkGAIgASgNQgASHAoUZGVzdGluYXRpb25fY2hhaW5faWQYAyABKAQSLQoKYW1vdW50X2UxOBgEIAEoCzIXLnBvbHllc3Rlci50eXBlLnYxLlUxMjhCABIZCg9kZWFkbGluZV90c19zZWMYBSABKARCABIoCgVub25jZRgGIAEoCzIXLnBvbHllc3Rlci50eXBlLnYxLlUxMjhCABIbChNkZXN0aW5hd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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 * ErrorDetail is attached to ConnectRPC errors for structured error handling.\n *\n * @generated from message chain.withdraw.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"chain.withdraw.v1.ErrorDetail\"> & {\n /**\n * Stable error code matching the REST problem+json code field.\n *\n * @generated from field: chain.withdraw.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\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. For TO_EXTERNAL_CHAIN,\n * it must be a whole number of the destination network token's smallest\n * units: a multiple of 10^(18 - AssetChainVariant.source_decimals) when the\n * token has fewer than 18 decimals. A finer amount is refused with\n * ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION before any funds are reserved.\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, 3);\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, 4);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet personal_sign 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-191 personal_sign signature over the canonical withdraw authorization message.\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, 5);\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, 6);\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, 7);\n\n/**\n * ErrorCode identifies stable, machine-readable Withdraw API errors.\n * Values mirror the REST problem+json code field.\n *\n * @generated from enum chain.withdraw.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No domain error code was provided.\n *\n * @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * The source account does not have enough available Trading balance.\n *\n * @generated from enum value: ERROR_CODE_INSUFFICIENT_FUNDS = 1;\n */\n INSUFFICIENT_FUNDS = 1,\n\n /**\n * Request payload or one of its fields is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_REQUEST = 2;\n */\n INVALID_REQUEST = 2,\n\n /**\n * Caller is not authenticated.\n *\n * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 3;\n */\n UNAUTHENTICATED = 3,\n\n /**\n * Caller is not permitted to perform the withdraw operation.\n *\n * @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 4;\n */\n PERMISSION_DENIED = 4,\n\n /**\n * Request exceeded the applicable admission rate limit.\n *\n * @generated from enum value: ERROR_CODE_RATE_LIMIT_EXCEEDED = 5;\n */\n RATE_LIMIT_EXCEEDED = 5,\n\n /**\n * A required dependency is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_SERVICE_UNAVAILABLE = 6;\n */\n SERVICE_UNAVAILABLE = 6,\n\n /**\n * The request failed because of an unexpected server error.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_ERROR = 7;\n */\n INTERNAL_ERROR = 7,\n\n /**\n * The selected subaccount identifier is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_SUBACCOUNT_ID = 8;\n */\n INVALID_SUBACCOUNT_ID = 8,\n\n /**\n * The selected subaccount does not exist.\n *\n * @generated from enum value: ERROR_CODE_SUBACCOUNT_NOT_FOUND = 9;\n */\n SUBACCOUNT_NOT_FOUND = 9,\n\n /**\n * The requested withdraw action is invalid for this endpoint.\n *\n * @generated from enum value: ERROR_CODE_INVALID_ACTION = 10;\n */\n INVALID_ACTION = 10,\n\n /**\n * The requested ledger is not supported for withdrawals.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_LEDGER = 11;\n */\n UNSUPPORTED_LEDGER = 11,\n\n /**\n * The requested asset or withdraw route is not supported.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_ASSET = 12;\n */\n UNSUPPORTED_ASSET = 12,\n\n /**\n * The withdraw amount is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AMOUNT = 13;\n */\n INVALID_AMOUNT = 13,\n\n /**\n * The destination chain is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_CHAIN = 14;\n */\n INVALID_DESTINATION_CHAIN = 14,\n\n /**\n * The destination address is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_ADDRESS = 15;\n */\n INVALID_DESTINATION_ADDRESS = 15,\n\n /**\n * The external destination is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_NOT_WHITELISTED = 16;\n */\n EXTERNAL_DESTINATION_NOT_WHITELISTED = 16,\n\n /**\n * The internal funding recipient is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_RECIPIENT_NOT_WHITELISTED = 17;\n */\n INTERNAL_RECIPIENT_NOT_WHITELISTED = 17,\n\n /**\n * The withdraw amount is below the configured minimum including fees.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_BELOW_MINIMUM = 18;\n */\n AMOUNT_BELOW_MINIMUM = 18,\n\n /**\n * The withdraw amount exceeds the available zipped-asset supply.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_SUPPLY = 19;\n */\n AMOUNT_EXCEEDS_SUPPLY = 19,\n\n /**\n * The source smart-account address is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20;\n */\n SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20,\n\n /**\n * The required payload signature is missing.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_REQUIRED = 21;\n */\n SIGNATURE_REQUIRED = 21,\n\n /**\n * The requested signature scheme is unsupported.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_SCHEME_UNSUPPORTED = 22;\n */\n SIGNATURE_SCHEME_UNSUPPORTED = 22,\n\n /**\n * The wallet supplied as signer is invalid.\n *\n * @generated from enum value: ERROR_CODE_SIGNER_WALLET_INVALID = 23;\n */\n SIGNER_WALLET_INVALID = 23,\n\n /**\n * Wallet authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_INVALID = 24;\n */\n WALLET_BINDING_INVALID = 24,\n\n /**\n * Wallet authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SCOPE_MISMATCH = 25;\n */\n WALLET_BINDING_SCOPE_MISMATCH = 25,\n\n /**\n * Wallet authorization binding does not match the signer.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SIGNER_MISMATCH = 26;\n */\n WALLET_BINDING_SIGNER_MISMATCH = 26,\n\n /**\n * The API key could not be resolved.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_NOT_FOUND = 27;\n */\n API_KEY_NOT_FOUND = 27,\n\n /**\n * API-key authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_INVALID = 28;\n */\n API_KEY_BINDING_INVALID = 28,\n\n /**\n * API-key authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_SCOPE_MISMATCH = 29;\n */\n API_KEY_BINDING_SCOPE_MISMATCH = 29,\n\n /**\n * API-key authorization binding does not match the configured public key.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30;\n */\n API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30,\n\n /**\n * The idempotency key was reused with different request data.\n *\n * @generated from enum value: ERROR_CODE_IDEMPOTENCY_CONFLICT = 31;\n */\n IDEMPOTENCY_CONFLICT = 31,\n\n /**\n * The funds lock conflicts with an existing or finalized reservation.\n *\n * @generated from enum value: ERROR_CODE_FUNDS_LOCK_CONFLICT = 32;\n */\n FUNDS_LOCK_CONFLICT = 32,\n\n /**\n * The authoritative capital view is not ready or is stale.\n *\n * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 33;\n */\n CAPITAL_VIEW_UNAVAILABLE = 33,\n\n /**\n * Required chain or contract metadata is unavailable.\n *\n * @generated from enum value: ERROR_CODE_CHAIN_METADATA_UNAVAILABLE = 34;\n */\n CHAIN_METADATA_UNAVAILABLE = 34,\n\n /**\n * Required network fee data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_FEE_UNAVAILABLE = 35;\n */\n FEE_UNAVAILABLE = 35,\n\n /**\n * Required zipped-asset supply data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SUPPLY_UNAVAILABLE = 36;\n */\n SUPPLY_UNAVAILABLE = 36,\n\n /**\n * Fresh step-up verification is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_STEP_UP_UNAVAILABLE = 37;\n */\n STEP_UP_UNAVAILABLE = 37,\n\n /**\n * Destination validation is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_VALIDATION_UNAVAILABLE = 38;\n */\n DESTINATION_VALIDATION_UNAVAILABLE = 38,\n\n /**\n * The account shard cannot currently accept fund movement.\n *\n * @generated from enum value: ERROR_CODE_ACCOUNT_SHARD_UNAVAILABLE = 39;\n */\n ACCOUNT_SHARD_UNAVAILABLE = 39,\n\n /**\n * A required precondition was not satisfied.\n *\n * @generated from enum value: ERROR_CODE_FAILED_PRECONDITION = 40;\n */\n FAILED_PRECONDITION = 40,\n\n /**\n * The requested resource was not found.\n *\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 41;\n */\n NOT_FOUND = 41,\n\n /**\n * The request conflicts with existing state.\n *\n * @generated from enum value: ERROR_CODE_CONFLICT = 42;\n */\n CONFLICT = 42,\n\n /**\n * The auto-withdraw schedule is invalid: a field its cadence needs is\n * missing or out of range, or a field of another cadence is set.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AUTO_WITHDRAW_SCHEDULE = 43;\n */\n INVALID_AUTO_WITHDRAW_SCHEDULE = 43,\n\n /**\n * The withdraw amount has more decimal places than the destination\n * network's token supports (AssetChainVariant.source_decimals). Round\n * amount_e18 down to a whole number of that token's smallest units before\n * signing.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;\n */\n AMOUNT_EXCEEDS_ROUTE_PRECISION = 44,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\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, 1);\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, 2);\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 * Root-owner Trading to Funding and root-owner withdrawals to explicitly\n * whitelisted external destinations accept recent MFA. Other external,\n * cross-owner, 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,4zJAA4zJ,CAAC,4BAA4B,2BAA2B,CAAC;;;;;AAsBh4J,MAAa,sCACX,0BAAY,iCAAiC,CAAC;;;;;AAsBhD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAoBhD,MAAa,oBACX,0BAAY,iCAAiC,CAAC;;;;;AAoFhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA4BhD,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;;;CAOA,kCAAA,kCAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0CACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAoCX,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(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSI5CgtFcnJvckRldGFpbBIqCgRjb2RlGAEgASgOMhwuY2hhaW4ud2l0aGRyYXcudjEuRXJyb3JDb2RlIrgCChxUcmFkaW5nV2l0aGRyYXdJbnRlbnRQYXlsb2FkEjoKBmFjdGlvbhgBIAEoDjIoLmNoYWluLndpdGhkcmF3LnYxLlRyYWRpbmdXaXRoZHJhd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HJhZGluZ1dpdGhkcmF3UmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [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 * ErrorDetail is attached to ConnectRPC errors for structured error handling.\n *\n * @generated from message chain.withdraw.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"chain.withdraw.v1.ErrorDetail\"> & {\n /**\n * Stable error code matching the REST problem+json code field.\n *\n * @generated from field: chain.withdraw.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\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. For TO_EXTERNAL_CHAIN,\n * it must be a whole number of the destination network token's smallest\n * units: a multiple of 10^(18 - AssetChainVariant.source_decimals) when the\n * token has fewer than 18 decimals. A finer amount is refused with\n * ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION before any funds are reserved.\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, 3);\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 * Must not be empty.\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, 4);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet personal_sign 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-191 personal_sign signature over the canonical withdraw\n * authorization message. Must not be empty.\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, 5);\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, 6);\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, 7);\n\n/**\n * ErrorCode identifies stable, machine-readable Withdraw API errors.\n * Values mirror the REST problem+json code field.\n *\n * @generated from enum chain.withdraw.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No domain error code was provided.\n *\n * @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * The source account does not have enough available Trading balance.\n *\n * @generated from enum value: ERROR_CODE_INSUFFICIENT_FUNDS = 1;\n */\n INSUFFICIENT_FUNDS = 1,\n\n /**\n * Request payload or one of its fields is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_REQUEST = 2;\n */\n INVALID_REQUEST = 2,\n\n /**\n * Caller is not authenticated.\n *\n * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 3;\n */\n UNAUTHENTICATED = 3,\n\n /**\n * Caller is not permitted to perform the withdraw operation.\n *\n * @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 4;\n */\n PERMISSION_DENIED = 4,\n\n /**\n * Request exceeded the applicable admission rate limit.\n *\n * @generated from enum value: ERROR_CODE_RATE_LIMIT_EXCEEDED = 5;\n */\n RATE_LIMIT_EXCEEDED = 5,\n\n /**\n * A required dependency is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_SERVICE_UNAVAILABLE = 6;\n */\n SERVICE_UNAVAILABLE = 6,\n\n /**\n * The request failed because of an unexpected server error.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_ERROR = 7;\n */\n INTERNAL_ERROR = 7,\n\n /**\n * The selected subaccount identifier is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_SUBACCOUNT_ID = 8;\n */\n INVALID_SUBACCOUNT_ID = 8,\n\n /**\n * The selected subaccount does not exist.\n *\n * @generated from enum value: ERROR_CODE_SUBACCOUNT_NOT_FOUND = 9;\n */\n SUBACCOUNT_NOT_FOUND = 9,\n\n /**\n * The requested withdraw action is invalid for this endpoint.\n *\n * @generated from enum value: ERROR_CODE_INVALID_ACTION = 10;\n */\n INVALID_ACTION = 10,\n\n /**\n * The requested ledger is not supported for withdrawals.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_LEDGER = 11;\n */\n UNSUPPORTED_LEDGER = 11,\n\n /**\n * The requested asset or withdraw route is not supported.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_ASSET = 12;\n */\n UNSUPPORTED_ASSET = 12,\n\n /**\n * The withdraw amount is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AMOUNT = 13;\n */\n INVALID_AMOUNT = 13,\n\n /**\n * The destination chain is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_CHAIN = 14;\n */\n INVALID_DESTINATION_CHAIN = 14,\n\n /**\n * The destination address is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_ADDRESS = 15;\n */\n INVALID_DESTINATION_ADDRESS = 15,\n\n /**\n * The external destination is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_NOT_WHITELISTED = 16;\n */\n EXTERNAL_DESTINATION_NOT_WHITELISTED = 16,\n\n /**\n * The internal funding recipient is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_RECIPIENT_NOT_WHITELISTED = 17;\n */\n INTERNAL_RECIPIENT_NOT_WHITELISTED = 17,\n\n /**\n * The withdraw amount is below the configured minimum including fees.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_BELOW_MINIMUM = 18;\n */\n AMOUNT_BELOW_MINIMUM = 18,\n\n /**\n * The withdraw amount exceeds the available zipped-asset supply.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_SUPPLY = 19;\n */\n AMOUNT_EXCEEDS_SUPPLY = 19,\n\n /**\n * The source smart-account address is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20;\n */\n SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20,\n\n /**\n * The required payload signature is missing.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_REQUIRED = 21;\n */\n SIGNATURE_REQUIRED = 21,\n\n /**\n * The requested signature scheme is unsupported.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_SCHEME_UNSUPPORTED = 22;\n */\n SIGNATURE_SCHEME_UNSUPPORTED = 22,\n\n /**\n * The wallet supplied as signer is invalid.\n *\n * @generated from enum value: ERROR_CODE_SIGNER_WALLET_INVALID = 23;\n */\n SIGNER_WALLET_INVALID = 23,\n\n /**\n * Wallet authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_INVALID = 24;\n */\n WALLET_BINDING_INVALID = 24,\n\n /**\n * Wallet authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SCOPE_MISMATCH = 25;\n */\n WALLET_BINDING_SCOPE_MISMATCH = 25,\n\n /**\n * Wallet authorization binding does not match the signer.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SIGNER_MISMATCH = 26;\n */\n WALLET_BINDING_SIGNER_MISMATCH = 26,\n\n /**\n * The API key could not be resolved.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_NOT_FOUND = 27;\n */\n API_KEY_NOT_FOUND = 27,\n\n /**\n * API-key authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_INVALID = 28;\n */\n API_KEY_BINDING_INVALID = 28,\n\n /**\n * API-key authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_SCOPE_MISMATCH = 29;\n */\n API_KEY_BINDING_SCOPE_MISMATCH = 29,\n\n /**\n * API-key authorization binding does not match the configured public key.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30;\n */\n API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30,\n\n /**\n * The idempotency key was reused with different request data.\n *\n * @generated from enum value: ERROR_CODE_IDEMPOTENCY_CONFLICT = 31;\n */\n IDEMPOTENCY_CONFLICT = 31,\n\n /**\n * The funds lock conflicts with an existing or finalized reservation.\n *\n * @generated from enum value: ERROR_CODE_FUNDS_LOCK_CONFLICT = 32;\n */\n FUNDS_LOCK_CONFLICT = 32,\n\n /**\n * The authoritative capital view is not ready or is stale.\n *\n * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 33;\n */\n CAPITAL_VIEW_UNAVAILABLE = 33,\n\n /**\n * Required chain or contract metadata is unavailable.\n *\n * @generated from enum value: ERROR_CODE_CHAIN_METADATA_UNAVAILABLE = 34;\n */\n CHAIN_METADATA_UNAVAILABLE = 34,\n\n /**\n * Required network fee data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_FEE_UNAVAILABLE = 35;\n */\n FEE_UNAVAILABLE = 35,\n\n /**\n * Required zipped-asset supply data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SUPPLY_UNAVAILABLE = 36;\n */\n SUPPLY_UNAVAILABLE = 36,\n\n /**\n * Fresh step-up verification is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_STEP_UP_UNAVAILABLE = 37;\n */\n STEP_UP_UNAVAILABLE = 37,\n\n /**\n * Destination validation is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_VALIDATION_UNAVAILABLE = 38;\n */\n DESTINATION_VALIDATION_UNAVAILABLE = 38,\n\n /**\n * The account shard cannot currently accept fund movement.\n *\n * @generated from enum value: ERROR_CODE_ACCOUNT_SHARD_UNAVAILABLE = 39;\n */\n ACCOUNT_SHARD_UNAVAILABLE = 39,\n\n /**\n * A required precondition was not satisfied.\n *\n * @generated from enum value: ERROR_CODE_FAILED_PRECONDITION = 40;\n */\n FAILED_PRECONDITION = 40,\n\n /**\n * The requested resource was not found.\n *\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 41;\n */\n NOT_FOUND = 41,\n\n /**\n * The request conflicts with existing state.\n *\n * @generated from enum value: ERROR_CODE_CONFLICT = 42;\n */\n CONFLICT = 42,\n\n /**\n * The auto-withdraw schedule is invalid: a field its cadence needs is\n * missing or out of range, or a field of another cadence is set.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AUTO_WITHDRAW_SCHEDULE = 43;\n */\n INVALID_AUTO_WITHDRAW_SCHEDULE = 43,\n\n /**\n * The withdraw amount has more decimal places than the destination\n * network's token supports (AssetChainVariant.source_decimals). Round\n * amount_e18 down to a whole number of that token's smallest units before\n * signing.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;\n */\n AMOUNT_EXCEEDS_ROUTE_PRECISION = 44,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\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, 1);\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, 2);\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 * Root-owner Trading to Funding and root-owner withdrawals to explicitly\n * whitelisted external destinations accept recent MFA. Other external,\n * cross-owner, 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":";;;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CAAiC,CAAC;;;;;;;AAQ7C,IAAY,oCAAL,yBAAA,mCAAA;;;;;;CAML,kCAAA,kCAAA,wBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,WAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,qBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,uBAAA,KAAA;;;;;;;CAQA,kCAAA,kCAAA,6BAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,oBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0CACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAoCX,0BAAY,iCAAiC,CAAC"}
|
|
@@ -98,6 +98,13 @@ type Section = Message<"changelog.v1.Section"> & {
|
|
|
98
98
|
* @generated from field: repeated changelog.v1.Change changes = 3;
|
|
99
99
|
*/
|
|
100
100
|
changes: Change[];
|
|
101
|
+
/**
|
|
102
|
+
* Product area of the section. SURFACE_UNSPECIFIED for sections not tied to
|
|
103
|
+
* one area (for example changes that need your attention, or general).
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: changelog.v1.Surface surface = 4;
|
|
106
|
+
*/
|
|
107
|
+
surface: Surface;
|
|
101
108
|
};
|
|
102
109
|
/**
|
|
103
110
|
* Describes the message changelog.v1.Section.
|
|
@@ -517,13 +524,14 @@ declare const AudienceSchema: GenEnum<Audience>;
|
|
|
517
524
|
*/
|
|
518
525
|
declare enum Surface {
|
|
519
526
|
/**
|
|
520
|
-
* Not set. Never
|
|
527
|
+
* Not set. Never in Change.surfaces; Section.surface carries it for a section
|
|
528
|
+
* not tied to one area.
|
|
521
529
|
*
|
|
522
530
|
* @generated from enum value: SURFACE_UNSPECIFIED = 0;
|
|
523
531
|
*/
|
|
524
532
|
SURFACE_UNSPECIFIED = 0,
|
|
525
533
|
/**
|
|
526
|
-
*
|
|
534
|
+
* Orders, triggers and protective orders, and order outcomes.
|
|
527
535
|
*
|
|
528
536
|
* @generated from enum value: TRADING = 1;
|
|
529
537
|
*/
|
|
@@ -563,7 +571,25 @@ declare enum Surface {
|
|
|
563
571
|
*
|
|
564
572
|
* @generated from enum value: PLATFORM = 7;
|
|
565
573
|
*/
|
|
566
|
-
PLATFORM = 7
|
|
574
|
+
PLATFORM = 7,
|
|
575
|
+
/**
|
|
576
|
+
* Market data: prices, candles, order book, heatmaps and market overviews.
|
|
577
|
+
*
|
|
578
|
+
* @generated from enum value: MARKET_DATA = 8;
|
|
579
|
+
*/
|
|
580
|
+
MARKET_DATA = 8,
|
|
581
|
+
/**
|
|
582
|
+
* The QuickSwap swap app.
|
|
583
|
+
*
|
|
584
|
+
* @generated from enum value: QUICKSWAP = 9;
|
|
585
|
+
*/
|
|
586
|
+
QUICKSWAP = 9,
|
|
587
|
+
/**
|
|
588
|
+
* Rewards: daily claims, campaigns, VIP tiers and fee discounts.
|
|
589
|
+
*
|
|
590
|
+
* @generated from enum value: REWARDS = 10;
|
|
591
|
+
*/
|
|
592
|
+
REWARDS = 10
|
|
567
593
|
}
|
|
568
594
|
/**
|
|
569
595
|
* Describes the enum changelog.v1.Surface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog_pb.d.ts","names":[],"sources":["../../../../src/gen/changelog/v1/changelog_pb.ts"],"mappings":";;;;;;;;;cAca,6BAA6B;;;;;;KAQ9B,SAAS;;;;;;EAMnB;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,UAAU;;;;;;EAOV;;;;;;EAOA;;;;;;EAOA,WAAW;;;;;;EAOX,UAAU;;;;;;cAOC,cAAc,WAAW;;;;;;KAQ1B,UAAU;;;;;;EAMpB;;;;;;EAOA;;;;;;EAOA,SAAS;;;;;;cAOE,eAAe,WAAW;;;;;;KAQ3B,cAAc;;;;;;EAMxB;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,cAAc;;;;;;EAOd,iBAAiB;;;;;;EAOjB;;;;;;EAOA;;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;EAOA;;;;;;EAOA;;;;;cAMW,sBAAsB,QAAQ;;;;;;aAQ/B;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,gBAAgB,QAAQ;;;;;;aAQzB;;;;;;;EAOV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,eAAe,QAAQ;;;;;;aAQxB;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,qBAAqB,QAAQ;;;;;;;cAS7B,kBAAkB;;;;;;;EAO7B;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -29,7 +29,7 @@ var changelog_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
29
29
|
/**
|
|
30
30
|
* Describes the file changelog/v1/changelog.proto.
|
|
31
31
|
*/
|
|
32
|
-
const file_changelog_v1_changelog = /*@__PURE__*/ fileDesc("
|
|
32
|
+
const file_changelog_v1_changelog = /*@__PURE__*/ fileDesc("ChxjaGFuZ2Vsb2cvdjEvY2hhbmdlbG9nLnByb3RvEgxjaGFuZ2Vsb2cudjEiqwIKBkNoYW5nZRIKCgJpZBgBIAEoBhINCgV0aXRsZRgCIAEoCRIPCgdzdW1tYXJ5GAMgASgJEhQKB2RldGFpbHMYBCABKAlIAIgBARIuCghjYXRlZ29yeRgFIAEoDjIcLmNoYW5nZWxvZy52MS5DaGFuZ2VDYXRlZ29yeRIXCg9hY3Rpb25fcmVxdWlyZWQYBiABKAgSHwoSbWlncmF0aW9uX2d1aWRhbmNlGAcgASgJSAGIAQESKQoJYXVkaWVuY2VzGAggAygOMhYuY2hhbmdlbG9nLnYxLkF1ZGllbmNlEicKCHN1cmZhY2VzGAkgAygOMhUuY2hhb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hIPCgtJTVBST1ZFTUVOVBADEgsKB0JVR19GSVgQBCpjCghBdWRpZW5jZRIYChRBVURJRU5DRV9VTlNQRUNJRklFRBAAEg0KCUFMTF9VU0VSUxABEgsKB1RSQURFUlMQAhIRCg1NQVJLRVRfTUFLRVJTEAMSDgoKREVWRUxPUEVSUxAEKq8BCgdTdXJmYWNlEhcKE1NVUkZBQ0VfVU5TUEVDSUZJRUQQABILCgdUUkFESU5HEAESCwoHRlVORElORxACEgwKCEFDQ09VTlRTEAMSBwoDQVBJEAQSDAoIRVhQTE9SRVIQBRIRCg1ET0NVTUVOVEFUSU9OEAYSDAoIUExBVEZPUk0QBxIPCgtNQVJLRVRfREFUQRAIEg0KCVFVSUNLU1dBUBAJEgsKB1JFV0FSRFMQCipMCg1Tb3J0RGlyZWN0aW9uEh4KGlNPUlRfRElSRUNUSU9OX1VOU1BFQ0lGSUVEEAASDAoIU09SVF9BU0MQARINCglTT1JUX0RFU0MQAjKNAgoQQ2hhbmdlbG9nU2VydmljZRJRCglMaXN0UG9zdHMSHi5jaGFuZ2Vsb2cudjEuTGlzdFBvc3RzUmVxdWVzdBofLmNoYW5nZWxvZy52MS5MaXN0UG9zdHNSZXNwb25zZSIDkAIBEksKB0dldFBvc3QSHC5jaGFuZ2Vsb2cudjEuR2V0UG9zdFJlcXVlc3QaHS5jaGFuZ2Vsb2cudjEuR2V0UG9zdFJlc3BvbnNlIgOQAgESVwoLTGlzdENoYW5nZXMSIC5jaGFuZ2Vsb2cudjEuTGlzdENoYW5nZXNSZXF1ZXN0GiEuY2hhbmdlbG9nLnYxLkxpc3RDaGFuZ2VzUmVzcG9uc2UiA5ACARoAQkZaRGdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhbmdlbG9nL3YxO2NoYW5nZWxvZ3YxYgZwcm90bzM=", [file_google_protobuf_timestamp, file_polyester_api_options]);
|
|
33
33
|
/**
|
|
34
34
|
* Describes the message changelog.v1.Change.
|
|
35
35
|
* Use `create(ChangeSchema)` to create a new message.
|
|
@@ -176,13 +176,14 @@ const AudienceSchema = /*@__PURE__*/ enumDesc(file_changelog_v1_changelog, 1);
|
|
|
176
176
|
*/
|
|
177
177
|
let Surface = /* @__PURE__ */ function(Surface) {
|
|
178
178
|
/**
|
|
179
|
-
* Not set. Never
|
|
179
|
+
* Not set. Never in Change.surfaces; Section.surface carries it for a section
|
|
180
|
+
* not tied to one area.
|
|
180
181
|
*
|
|
181
182
|
* @generated from enum value: SURFACE_UNSPECIFIED = 0;
|
|
182
183
|
*/
|
|
183
184
|
Surface[Surface["SURFACE_UNSPECIFIED"] = 0] = "SURFACE_UNSPECIFIED";
|
|
184
185
|
/**
|
|
185
|
-
*
|
|
186
|
+
* Orders, triggers and protective orders, and order outcomes.
|
|
186
187
|
*
|
|
187
188
|
* @generated from enum value: TRADING = 1;
|
|
188
189
|
*/
|
|
@@ -223,6 +224,24 @@ let Surface = /* @__PURE__ */ function(Surface) {
|
|
|
223
224
|
* @generated from enum value: PLATFORM = 7;
|
|
224
225
|
*/
|
|
225
226
|
Surface[Surface["PLATFORM"] = 7] = "PLATFORM";
|
|
227
|
+
/**
|
|
228
|
+
* Market data: prices, candles, order book, heatmaps and market overviews.
|
|
229
|
+
*
|
|
230
|
+
* @generated from enum value: MARKET_DATA = 8;
|
|
231
|
+
*/
|
|
232
|
+
Surface[Surface["MARKET_DATA"] = 8] = "MARKET_DATA";
|
|
233
|
+
/**
|
|
234
|
+
* The QuickSwap swap app.
|
|
235
|
+
*
|
|
236
|
+
* @generated from enum value: QUICKSWAP = 9;
|
|
237
|
+
*/
|
|
238
|
+
Surface[Surface["QUICKSWAP"] = 9] = "QUICKSWAP";
|
|
239
|
+
/**
|
|
240
|
+
* Rewards: daily claims, campaigns, VIP tiers and fee discounts.
|
|
241
|
+
*
|
|
242
|
+
* @generated from enum value: REWARDS = 10;
|
|
243
|
+
*/
|
|
244
|
+
Surface[Surface["REWARDS"] = 10] = "REWARDS";
|
|
226
245
|
return Surface;
|
|
227
246
|
}({});
|
|
228
247
|
/**
|