@polyester/sdk 0.32.1 → 0.32.2-devnet-20261102211233

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.
Files changed (125) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/client.d.ts +2 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +2 -0
  5. package/dist/client.js.map +1 -1
  6. package/dist/gen/auth/v1/address_book_pb.js +1 -1
  7. package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
  8. package/dist/gen/auth/v1/api_keys_pb.js +1 -1
  9. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  10. package/dist/gen/auth/v1/auth_pb.js +1 -1
  11. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  12. package/dist/gen/auth/v1/mfa_pb.js +1 -1
  13. package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
  14. package/dist/gen/auth/v1/policies_pb.js +1 -1
  15. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  16. package/dist/gen/auth/v1/profile_pb.js +1 -1
  17. package/dist/gen/auth/v1/profile_pb.js.map +1 -1
  18. package/dist/gen/auth/v1/resolve_pb.js +1 -1
  19. package/dist/gen/auth/v1/resolve_pb.js.map +1 -1
  20. package/dist/gen/auth/v1/social_verification_pb.js +1 -1
  21. package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
  22. package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
  23. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  24. package/dist/gen/chain/analytics/v1/analytics_read_pb.js +1 -1
  25. package/dist/gen/chain/analytics/v1/analytics_read_pb.js.map +1 -1
  26. package/dist/gen/chain/deposit/v1/deposit_pb.js +1 -1
  27. package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
  28. package/dist/gen/chain/guard/v1/guard_signer_pb.js +1 -1
  29. package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
  30. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
  31. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
  32. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +1 -1
  33. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
  34. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +1 -1
  35. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  36. package/dist/gen/chain/zipper/v1/zipper_pb.js +1 -1
  37. package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
  38. package/dist/gen/changelog/v1/changelog_pb.d.ts +643 -0
  39. package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -0
  40. package/dist/gen/changelog/v1/changelog_pb.js +272 -0
  41. package/dist/gen/changelog/v1/changelog_pb.js.map +1 -0
  42. package/dist/gen/checkpoints/v1/checkpoints_pb.js +1 -1
  43. package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -1
  44. package/dist/gen/claims/v1/claims_pb.js +1 -1
  45. package/dist/gen/claims/v1/claims_pb.js.map +1 -1
  46. package/dist/gen/fees/v1/fees_pb.js +1 -1
  47. package/dist/gen/fees/v1/fees_pb.js.map +1 -1
  48. package/dist/gen/index.d.ts +2 -1
  49. package/dist/gen/index.js +2 -1
  50. package/dist/gen/ledger/read/v1/ledger_read_pb.js +1 -1
  51. package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
  52. package/dist/gen/marketdata/v1/heatmap_pb.js +1 -1
  53. package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
  54. package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
  55. package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
  56. package/dist/gen/marketoverview/v1/marketoverview_pb.js +1 -1
  57. package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
  58. package/dist/gen/orderbook/v1/orderbook_pb.js +1 -1
  59. package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
  60. package/dist/gen/orders/v1/orders_pb.js +1 -1
  61. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  62. package/dist/gen/orders/v1/orders_read_pb.d.ts +9 -1
  63. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  64. package/dist/gen/orders/v1/orders_read_pb.js +9 -1
  65. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  66. package/dist/gen/polyester/api/options_pb.d.ts +11 -4
  67. package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
  68. package/dist/gen/polyester/api/options_pb.js +11 -3
  69. package/dist/gen/polyester/api/options_pb.js.map +1 -1
  70. package/dist/gen/ratelimit/v1/ratelimit_pb.js +1 -1
  71. package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
  72. package/dist/gen/rewards/v1/rewards_pb.js +1 -1
  73. package/dist/gen/rewards/v1/rewards_pb.js.map +1 -1
  74. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +1 -1
  75. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  76. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +1 -1
  77. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  78. package/dist/gen/swap/v1/swap_pb.js +1 -1
  79. package/dist/gen/swap/v1/swap_pb.js.map +1 -1
  80. package/dist/gen/transfer/v1/internal_transfer_pb.js +1 -1
  81. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  82. package/dist/gen/triggers/v1/triggers_pb.d.ts +9 -0
  83. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  84. package/dist/gen/triggers/v1/triggers_pb.js +10 -1
  85. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  86. package/dist/gen/vip/v1/vip_pb.js +1 -1
  87. package/dist/gen/vip/v1/vip_pb.js.map +1 -1
  88. package/dist/index.d.ts +4 -1
  89. package/dist/services/balances/balances.schemas.d.ts +3 -3
  90. package/dist/services/changelog/changelog.codecs.d.ts +13 -0
  91. package/dist/services/changelog/changelog.codecs.d.ts.map +1 -0
  92. package/dist/services/changelog/changelog.codecs.js +83 -0
  93. package/dist/services/changelog/changelog.codecs.js.map +1 -0
  94. package/dist/services/changelog/changelog.d.ts +36 -0
  95. package/dist/services/changelog/changelog.d.ts.map +1 -0
  96. package/dist/services/changelog/changelog.js +53 -0
  97. package/dist/services/changelog/changelog.js.map +1 -0
  98. package/dist/services/changelog/changelog.schemas.d.ts +358 -0
  99. package/dist/services/changelog/changelog.schemas.d.ts.map +1 -0
  100. package/dist/services/changelog/changelog.schemas.js +101 -0
  101. package/dist/services/changelog/changelog.schemas.js.map +1 -0
  102. package/dist/services/changelog/changelog.types.d.ts +3 -0
  103. package/dist/services/changelog/service.d.ts +8 -0
  104. package/dist/services/changelog/service.d.ts.map +1 -0
  105. package/dist/services/changelog/service.js +9 -0
  106. package/dist/services/changelog/service.js.map +1 -0
  107. package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
  108. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  109. package/dist/services/lifecycle/lifecycle.schemas.d.ts +54 -54
  110. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  111. package/dist/services/orders/orders-batch.schemas.d.ts +5 -5
  112. package/dist/services/orders/orders-output.schemas.d.ts +13 -13
  113. package/dist/services/orders/orders.codecs.js +1 -0
  114. package/dist/services/orders/orders.codecs.js.map +1 -1
  115. package/dist/services/subaccounts/subaccounts.schemas.d.ts +3 -3
  116. package/dist/services/trades/trades.schemas.d.ts +2 -2
  117. package/dist/services/transfers/transfers.schemas.d.ts +1 -1
  118. package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
  119. package/dist/services/triggers/triggers-output.schemas.d.ts +19 -19
  120. package/dist/services/triggers/triggers.codecs.js +1 -0
  121. package/dist/services/triggers/triggers.codecs.js.map +1 -1
  122. package/dist/wired-services.d.ts.map +1 -1
  123. package/dist/wired-services.js +2 -0
  124. package/dist/wired-services.js.map +1 -1
  125. package/package.json +1 -1
@@ -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(\"CiVjaGFpbi93aXRoZHJhdy92MS9hdXRvX3dpdGhkcmF3LnByb3RvEhFjaGFpbi53aXRoZHJhdy52MSLuAQoUQXV0b1dpdGhkcmF3U2NoZWR1bGUSOQoHY2FkZW5jZRgBIAEoDjImLmNoYWluLndpdGhkcmF3LnYxLkF1dG9XaXRoZHJhd0NhZGVuY2VCABI5Cgd3ZWVrZGF5GAIgASgOMiYuY2hhaW4ud2l0aGRyYXcudjEuQXV0b1dpdGhkcmF3V2Vla2RheUIAEhcKDW1pbnV0ZV9vZl9kYXkYAyABKA1CABIYCg5taW51dGVfb2ZfaG91chgEIAEoDUIAEhYKDGRheV9vZl9tb250aBgFIAEoDUIAEhUKC2FuY2hvcl9kYXRlGAYgASgJQgAi0gEKF0F1dG9Xa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oYWluLndpdGhkcmF3LnYxLkxpc3RBdXRvV2l0aGRyYXdSdW5zUmVxdWVzdBovLmNoYWluLndpdGhkcmF3LnYxLkxpc3RBdXRvV2l0aGRyYXdSdW5zUmVzcG9uc2VCT1pNZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9jaGFpbi93aXRoZHJhdy92MTtjaGFpbndpdGhkcmF3djFiBnByb3RvMw==\", [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":";;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA,KAAA;;;;;;CAOA,oBAAA,oBAAA,eAAA,KAAA;;;;;;CAOA,oBAAA,oBAAA,cAAA,KAAA;;;;;;CAOA,oBAAA,oBAAA,YAAA,KAAA;;;;;;CAOA,oBAAA,oBAAA,cAAA,KAAA;;;;;;CAOA,oBAAA,oBAAA,YAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,4BACX,uBAAS,sCAAsC,CAAC;;;;;;AAOlD,IAAY,uBAAL,yBAAA,sBAAA;;;;;;CAML,qBAAA,qBAAA,2BAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,iBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,gBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,mBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,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;;;;;;;;;;;;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(\"CiVjaGFpbi93aXRoZHJhdy92MS9hdXRvX3dpdGhkcmF3LnByb3RvEhFjaGFpbi53aXRoZHJhdy52MSLuAQoUQXV0b1dpdGhkcmF3U2NoZWR1bGUSOQoHY2FkZW5jZRgBIAEoDjImLmNoYWluLndpdGhkcmF3LnYxLkF1dG9XaXRoZHJhd0NhZGVuY2VCABI5Cgd3ZWVrZGF5GAIgASgOMiYuY2hhaW4ud2l0aGRyYXcudjEuQXV0b1dpdGhkcmF3V2Vla2RheUIAEhcKDW1pbnV0ZV9vZl9kYXkYAyABKA1CABIYCg5taW51dGVfb2ZfaG91chgEIAEoDUIAEhYKDGRheV9vZl9tb250aBgFIAEoDUIAEhUKC2FuY2hvcl9kYXRlGAYgASgJQgAi0gEKF0F1dG9XaXRoZHJhd0Rlc3RpbmF0aW9uEhIKCGFzc2V0X2lkGAEgASgNQgASHgoUZGVzdGluYXRpb25fY2hhaW5faWQYAiABKARCABIdChNkZXN0aW5hdGlvbl9hZGRyZXNzGAMgASgJQgASMQoObWluX2Ftb3VudF9lMTgYBCABKAsyFy5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vbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [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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AA,YAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,4BACX,uBAAS,sCAAsC,CAAC;;;;;;AAOlD,IAAY,uBAAL,yBAAA,sBAAA;;;;;;CAML,qBAAA,qBAAA,2BAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,iBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,gBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,mBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,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;;;;;;;;;;;;AAalD,MAAa,sBA8CX,0BAAY,sCAAsC,CAAC"}
@@ -24,7 +24,7 @@ var withdraw_pb_exports = /* @__PURE__ */ __exportAll({
24
24
  /**
25
25
  * Describes the file chain/withdraw/v1/withdraw.proto.
26
26
  */
27
- const file_chain_withdraw_v1_withdraw = /*@__PURE__*/ fileDesc("CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjg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Jhd1Jlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z", [file_polyester_api_options, file_polyester_type_v1_u128]);
28
28
  /**
29
29
  * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.
30
30
  * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/withdraw.proto (package chain.withdraw.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/withdraw/v1/withdraw.proto.\n */\nexport const file_chain_withdraw_v1_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSI5CgtFcnJvckRldGFpbBIqCgRjb2RlGAEgASgOMhwuY2hhaW4ud2l0aGRyYXcudjEuRX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VHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABKOAQobQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3EjUuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgBCT1pNZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9jaGFpbi93aXRoZHJhdy92MTtjaGFpbndpdGhkcmF3djFiBnByb3RvMw==\", [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 *\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 CreateWalletTradingWithd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sBAAA,sBAAA,gBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,iCAAiC,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"}
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(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud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XF1ZXN0GjYuY2hhaW4ud2l0aGRyYXcudjEuVmFsaWRhdGVXaXRoZHJhd0Rlc3RpbmF0aW9uUmVzcG9uc2UiABJ8ChVDcmVhdGVUcmFkaW5nV2l0aGRyYXcSLy5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjAuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABKOAQobQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3EjUuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [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 *\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,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA0ChD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA4BhD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA0ChD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;;;AAQhD,IAAY,YAAL,yBAAA,WAAA;;;;;;CAML,UAAA,UAAA,iBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,wBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,qBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,qBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,uBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,yBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,yBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,oBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,2BAAA,KAAA;;;;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CAOA,UAAA,UAAA,cAAA,MAAA;;;;;;;CAQA,UAAA,UAAA,oCAAA,MAAA;;;;;;;;;CAUA,UAAA,UAAA,oCAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,kBACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,IAAY,wBAAL,yBAAA,uBAAA;;;;CAIL,sBAAA,sBAAA,wBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,gBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,iCAAiC,CAAC;;;;;;;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"}
@@ -17,7 +17,7 @@ var zipper_pb_exports = /* @__PURE__ */ __exportAll({
17
17
  /**
18
18
  * Describes the file chain/zipper/v1/zipper.proto.
19
19
  */
20
- const file_chain_zipper_v1_zipper = /*@__PURE__*/ fileDesc("ChxjaGFpbi96aXBwZXIvdjEvemlwcGVyLnByb3RvEg9jaGFpbi56aXBwZXIudjEirgIKC0NoYWluQ29uZmlnEhAKCGNoYWluX2lkGAEgASgNEgwKBGNvZGUYAiABKAkSDAoEbmFtZRgDIAEoCRIXCg9uYXRpdmVfY2hhaW5faWQYBCABKAkSHgoWbmF0aXZlX2N1cnJlbmN5X3N5bWJvbBg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3NldENoYWluVmFyaWFudBISCgp1X2Fzc2V0X2lkGAggASgJImgKE0NoYWluQ29udHJhY3RDb25maWcSDAoEbmFtZRgBIAEoCRIPCgdhZGRyZXNzGAIgASgJEgwKBHR5cGUYAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSDwoHdmVyc2lvbhgFIAEoDSIhCh9HZXREZXBvc2l0V2l0aGRyYXdDb25maWdSZXF1ZXN0IscBCiBHZXREZXBvc2l0V2l0aGRyYXdDb25maWdSZXNwb25zZRIsCgZjaGFpbnMYASADKAsyHC5jaGFpbi56aXBwZXIudjEuQ2hhaW5Db25maWcSLAoGYXNzZXRzGAIgAygLMhwuY2hhaW4uemlwcGVyLnYxLkFzc2V0Q29uZmlnEg4KBnRzX3NlYxgDIAEoBBI3Cgljb250cmFjdHMYBSADKAsyJC5jaGFpbi56aXBwZXIudjEuQ2hhaW5Db250cmFjdENvbmZpZzKTAQoNWmlwcGVyU2VydmljZRKBAQoYR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnEjAuY2hhaW4uemlwcGVyLnYxLkdldERlcG9zaXRXaXRoZHJhd0NvbmZpZ1JlcXVlc3QaMS5jaGFpbi56aXBwZXIudjEuR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnUmVzcG9uc2UiAEJLWklnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3ppcHBlci92MTtjaGFpbnppcHBlcnYxYgZwcm90bzM=", [file_polyester_api_options]);
20
+ const file_chain_zipper_v1_zipper = /*@__PURE__*/ fileDesc("ChxjaGFpbi96aXBwZXIvdjEvemlwcGVyLnByb3RvEg9jaGFpbi56aXBwZXIudjEirgIKC0NoYWluQ29uZmlnEhAKCGNoYWluX2lkGAEgASgNEgwKBGNvZGUYAiABKAkSDAoEbmFtZRgDIAEoCRIXCg9uYXRpdmVfY2hhaW5faWQYBCABKAkSHgoWbmF0aXZlX2N1cnJlbmN5X3N5bWJvbBg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3NldENoYWluVmFyaWFudBISCgp1X2Fzc2V0X2lkGAggASgJImgKE0NoYWluQ29udHJhY3RDb25maWcSDAoEbmFtZRgBIAEoCRIPCgdhZGRyZXNzGAIgASgJEgwKBHR5cGUYAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSDwoHdmVyc2lvbhgFIAEoDSIhCh9HZXREZXBvc2l0V2l0aGRyYXdDb25maWdSZXF1ZXN0IscBCiBHZXREZXBvc2l0V2l0aGRyYXdDb25maWdSZXNwb25zZRIsCgZjaGFpbnMYASADKAsyHC5jaGFpbi56aXBwZXIudjEuQ2hhaW5Db25maWcSLAoGYXNzZXRzGAIgAygLMhwuY2hhaW4uemlwcGVyLnYxLkFzc2V0Q29uZmlnEg4KBnRzX3NlYxgDIAEoBBI3Cgljb250cmFjdHMYBSADKAsyJC5jaGFpbi56aXBwZXIudjEuQ2hhaW5Db250cmFjdENvbmZpZzKVAQoNWmlwcGVyU2VydmljZRKBAQoYR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnEjAuY2hhaW4uemlwcGVyLnYxLkdldERlcG9zaXRXaXRoZHJhd0NvbmZpZ1JlcXVlc3QaMS5jaGFpbi56aXBwZXIudjEuR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnUmVzcG9uc2UiABoAQktaSWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vemlwcGVyL3YxO2NoYWluemlwcGVydjFiBnByb3RvMw==", [file_polyester_api_options]);
21
21
  /**
22
22
  * Describes the message chain.zipper.v1.ChainConfig.
23
23
  * Use `create(ChainConfigSchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"zipper_pb.js","names":[],"sources":["../../../../../src/gen/chain/zipper/v1/zipper_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/zipper/v1/zipper.proto (package chain.zipper.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/zipper/v1/zipper.proto.\n */\nexport const file_chain_zipper_v1_zipper: GenFile = /*@__PURE__*/\n fileDesc(\"ChxjaGFpbi96aXBwZXIvdjEvemlwcGVyLnByb3RvEg9jaGFpbi56aXBwZXIudjEirgIKC0NoYWluQ29uZmlnEhAKCGNoYWluX2lkGAEgASgNEgwKBGNvZGUYAiABKAkSDAoEbmFtZRgDIAEoCRIXCg9uYXRpdmVfY2hhaW5faWQYBCABKAkSHgoWbmF0aXZlX2N1cnJlbmN5X3N5bWJvbBgFIAEoCRIUCgxleHBsb3Jlcl91cmwYBiABKAkSDAoEaWNvbhgHIAEoCRIeChZyZXF1aXJlZF9jb25maXJtYXRpb25zGAggASgNEiEKGWNvbmZpcm1hdGlvbl90aW1lX3NlY29uZHMYCSABKA0SGQoRaXNfY2FzZV9zZW5zaXRpdmUYCiABKAgSGgoSbWluX2FkZHJlc3NfbGVuZ3RoGAsgASgNEhoKEm1heF9hZGRyZXNzX2xlbmd0aBgMIAEoDSKZAgoRQXNzZXRDaGFpblZhcmlhbnQSFwoPemlwcGVkX2Fzc2V0X2lkGAEgASgNEhAKCGNoYWluX2lkGAIgASgNEhcKD2lzX25hdGl2ZV9hc3NldBgDIAEoCBITCgtuZXR3b3JrX2ZlZRgEIAEoCRIWCg56dG9rZW5fYWRkcmVzcxgGIAEoCRIWCg5zb3VyY2VfYWRkcmVzcxgHIAEoCRIXCg9zb3VyY2VfZGVjaW1hbHMYCCABKA0SFwoPenRva2VuX2RlY2ltYWxzGAkgASgNEhoKEmRlcG9zaXRfbWluX2Ftb3VudBgKIAEoCRIbChN3aXRoZHJhd19taW5fYW1vdW50GAsgASgJEhAKCHN1cHB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lc3QaMS5jaGFpbi56aXBwZXIudjEuR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnUmVzcG9uc2UiAEJLWklnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3ppcHBlci92MTtjaGFpbnppcHBlcnYxYgZwcm90bzM=\", [file_polyester_api_options]);\n\n/**\n * ChainConfig describes one supported external chain for deposit and withdraw.\n *\n * @generated from message chain.zipper.v1.ChainConfig\n */\nexport type ChainConfig = Message<\"chain.zipper.v1.ChainConfig\"> & {\n /**\n * PolyChain-registered chain id used across Zipper and lifecycle events.\n *\n * @generated from field: uint32 chain_id = 1;\n */\n chainId: number;\n\n /**\n * Stable machine-friendly chain key (for example: \"ethereum\", \"solana\").\n *\n * @generated from field: string code = 2;\n */\n code: string;\n\n /**\n * Human-friendly display name.\n *\n * @generated from field: string name = 3;\n */\n name: string;\n\n /**\n * Native source-chain network identifier when useful for wallet or explorer\n * integrations. For EVM chains this is the EIP-155 chain id; non-EVM chains\n * may omit this and should be identified by `chain_id` and `code`.\n *\n * @generated from field: string native_chain_id = 4;\n */\n nativeChainId: string;\n\n /**\n * Native gas token symbol for this chain (for example: ETH, BTC, SOL).\n *\n * @generated from field: string native_currency_symbol = 5;\n */\n nativeCurrencySymbol: string;\n\n /**\n * Optional block explorer base URL for links.\n *\n * @generated from field: string explorer_url = 6;\n */\n explorerUrl: string;\n\n /**\n * Optional icon reference for UI display.\n *\n * @generated from field: string icon = 7;\n */\n icon: string;\n\n /**\n * Default required source-chain confirmations when known.\n *\n * @generated from field: uint32 required_confirmations = 8;\n */\n requiredConfirmations: number;\n\n /**\n * Estimated average confirmation time in seconds when known.\n *\n * @generated from field: uint32 confirmation_time_seconds = 9;\n */\n confirmationTimeSeconds: number;\n\n /**\n * True when source-chain addresses must preserve letter case.\n *\n * @generated from field: bool is_case_sensitive = 10;\n */\n isCaseSensitive: boolean;\n\n /**\n * Inclusive minimum source-chain address length for validation.\n *\n * @generated from field: uint32 min_address_length = 11;\n */\n minAddressLength: number;\n\n /**\n * Inclusive maximum source-chain address length for validation.\n *\n * @generated from field: uint32 max_address_length = 12;\n */\n maxAddressLength: number;\n};\n\n/**\n * Describes the message chain.zipper.v1.ChainConfig.\n * Use `create(ChainConfigSchema)` to create a new message.\n */\nexport const ChainConfigSchema: GenMessage<ChainConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 0);\n\n/**\n * AssetChainVariant describes one chain route that can be used to deposit into\n * or withdraw from a unified Polyester asset.\n *\n * @generated from message chain.zipper.v1.AssetChainVariant\n */\nexport type AssetChainVariant = Message<\"chain.zipper.v1.AssetChainVariant\"> & {\n /**\n * Canonical zipped asset route id.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Chain that this asset belongs to.\n *\n * @generated from field: uint32 chain_id = 2;\n */\n chainId: number;\n\n /**\n * True when the asset is the native gas/token of the source chain.\n *\n * @generated from field: bool is_native_asset = 3;\n */\n isNativeAsset: boolean;\n\n /**\n * Latest known network fee for this chain asset variant as a human-readable\n * string in zToken units, with insignificant trailing zeroes trimmed.\n *\n * @generated from field: string network_fee = 4;\n */\n networkFee: string;\n\n /**\n * Polyester zToken contract address for this chain asset variant.\n *\n * @generated from field: string ztoken_address = 6;\n */\n ztokenAddress: string;\n\n /**\n * Source-chain token contract, mint, or native sentinel address.\n *\n * @generated from field: string source_address = 7;\n */\n sourceAddress: string;\n\n /**\n * Source-chain token decimals.\n *\n * @generated from field: uint32 source_decimals = 8;\n */\n sourceDecimals: number;\n\n /**\n * zToken decimals on Polyester chain.\n *\n * @generated from field: uint32 ztoken_decimals = 9;\n */\n ztokenDecimals: number;\n\n /**\n * Minimum deposit amount for this variant as a human-readable string in zToken units.\n *\n * @generated from field: string deposit_min_amount = 10;\n */\n depositMinAmount: string;\n\n /**\n * Minimum withdraw amount for this variant as a human-readable string in zToken units.\n *\n * @generated from field: string withdraw_min_amount = 11;\n */\n withdrawMinAmount: string;\n\n /**\n * Latest zToken supply for this chain asset variant, scaled by the parent\n * unified asset's quantity_scale. Decode: supply_q / 10^quantity_scale.\n *\n * @generated from field: uint64 supply_q = 12;\n */\n supplyQ: bigint;\n};\n\n/**\n * Describes the message chain.zipper.v1.AssetChainVariant.\n * Use `create(AssetChainVariantSchema)` to create a new message.\n */\nexport const AssetChainVariantSchema: GenMessage<AssetChainVariant> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 1);\n\n/**\n * ZippedAssetSupplyUpdate carries the latest route liquidity for one zipped\n * asset. It is published on the Protobuf WebSocket channel.\n *\n * @generated from message chain.zipper.v1.ZippedAssetSupplyUpdate\n */\nexport type ZippedAssetSupplyUpdate = Message<\"chain.zipper.v1.ZippedAssetSupplyUpdate\"> & {\n /**\n * Canonical zipped asset route ID.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Latest zToken supply for this route, scaled by the parent asset's\n * quantity_scale. Decode: supply_q / 10^quantity_scale.\n *\n * @generated from field: uint64 supply_q = 2;\n */\n supplyQ: bigint;\n};\n\n/**\n * Describes the message chain.zipper.v1.ZippedAssetSupplyUpdate.\n * Use `create(ZippedAssetSupplyUpdateSchema)` to create a new message.\n */\nexport const ZippedAssetSupplyUpdateSchema: GenMessage<ZippedAssetSupplyUpdate> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 2);\n\n/**\n * ZippedAssetSupplyBatch batches public zipped-asset supply updates.\n *\n * @generated from message chain.zipper.v1.ZippedAssetSupplyBatch\n */\nexport type ZippedAssetSupplyBatch = Message<\"chain.zipper.v1.ZippedAssetSupplyBatch\"> & {\n /**\n * Supply updates included in this batch.\n *\n * @generated from field: repeated chain.zipper.v1.ZippedAssetSupplyUpdate updates = 1;\n */\n updates: ZippedAssetSupplyUpdate[];\n};\n\n/**\n * Describes the message chain.zipper.v1.ZippedAssetSupplyBatch.\n * Use `create(ZippedAssetSupplyBatchSchema)` to create a new message.\n */\nexport const ZippedAssetSupplyBatchSchema: GenMessage<ZippedAssetSupplyBatch> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 3);\n\n/**\n * AssetConfig describes one unified Polyester asset and all compatible\n * chain-specific variants supported by Zipper.\n *\n * @generated from message chain.zipper.v1.AssetConfig\n */\nexport type AssetConfig = Message<\"chain.zipper.v1.AssetConfig\"> & {\n /**\n * Unified Polyester asset code used inside Funding/Trading (for example: \"USDT\").\n *\n * @generated from field: string asset = 1;\n */\n asset: string;\n\n /**\n * Public unified asset id.\n *\n * @generated from field: uint32 ledger_id = 2;\n */\n ledgerId: number;\n\n /**\n * Human-friendly unified asset display name.\n *\n * @generated from field: string name = 3;\n */\n name: string;\n\n /**\n * Optional icon reference for the unified asset.\n *\n * @generated from field: string icon = 4;\n */\n icon: string;\n\n /**\n * Integer scale for unified-asset quantities (0..18). A scale of 8 means one\n * whole asset is represented as 100000000 in supply_q and other\n * quantity_scale-based fields.\n *\n * @generated from field: uint32 quantity_scale = 5;\n */\n quantityScale: number;\n\n /**\n * UI display precision for the unified asset.\n *\n * @generated from field: uint32 quantity_display_decimals = 6;\n */\n quantityDisplayDecimals: number;\n\n /**\n * Supported chain-specific deposit/withdraw variants for this unified asset.\n *\n * @generated from field: repeated chain.zipper.v1.AssetChainVariant variants = 7;\n */\n variants: AssetChainVariant[];\n\n /**\n * On-chain uAsset id for the unified asset.\n *\n * @generated from field: string u_asset_id = 8;\n */\n uAssetId: string;\n};\n\n/**\n * Describes the message chain.zipper.v1.AssetConfig.\n * Use `create(AssetConfigSchema)` to create a new message.\n */\nexport const AssetConfigSchema: GenMessage<AssetConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 4);\n\n/**\n * ChainContractConfig describes an active Polyester-chain contract address\n * clients may need for supported deposit and withdraw flows.\n *\n * @generated from message chain.zipper.v1.ChainContractConfig\n */\nexport type ChainContractConfig = Message<\"chain.zipper.v1.ChainContractConfig\"> & {\n /**\n * Stable contract key for client lookups.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * EVM contract address on Polyester chain.\n *\n * @generated from field: string address = 2;\n */\n address: string;\n\n /**\n * Optional product-facing contract category, when known.\n *\n * @generated from field: string type = 3;\n */\n type: string;\n\n /**\n * Optional human-readable description.\n *\n * @generated from field: string description = 4;\n */\n description: string;\n\n /**\n * Active contract version for this name. Versions increase when the address\n * changes, allowing clients to identify the exact contract revision in use.\n *\n * @generated from field: uint32 version = 5;\n */\n version: number;\n};\n\n/**\n * Describes the message chain.zipper.v1.ChainContractConfig.\n * Use `create(ChainContractConfigSchema)` to create a new message.\n */\nexport const ChainContractConfigSchema: GenMessage<ChainContractConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 5);\n\n/**\n * @generated from message chain.zipper.v1.GetDepositWithdrawConfigRequest\n */\nexport type GetDepositWithdrawConfigRequest = Message<\"chain.zipper.v1.GetDepositWithdrawConfigRequest\"> & {\n};\n\n/**\n * Describes the message chain.zipper.v1.GetDepositWithdrawConfigRequest.\n * Use `create(GetDepositWithdrawConfigRequestSchema)` to create a new message.\n */\nexport const GetDepositWithdrawConfigRequestSchema: GenMessage<GetDepositWithdrawConfigRequest> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 6);\n\n/**\n * @generated from message chain.zipper.v1.GetDepositWithdrawConfigResponse\n */\nexport type GetDepositWithdrawConfigResponse = Message<\"chain.zipper.v1.GetDepositWithdrawConfigResponse\"> & {\n /**\n * Supported chains ordered by chain code.\n *\n * @generated from field: repeated chain.zipper.v1.ChainConfig chains = 1;\n */\n chains: ChainConfig[];\n\n /**\n * Supported unified assets ordered by asset code, each with compatible chain routes.\n *\n * @generated from field: repeated chain.zipper.v1.AssetConfig assets = 2;\n */\n assets: AssetConfig[];\n\n /**\n * Snapshot generation timestamp (seconds since epoch, UTC).\n *\n * @generated from field: uint64 ts_sec = 3;\n */\n tsSec: bigint;\n\n /**\n * Active Polyester-chain contracts ordered by contract name.\n *\n * @generated from field: repeated chain.zipper.v1.ChainContractConfig contracts = 5;\n */\n contracts: ChainContractConfig[];\n};\n\n/**\n * Describes the message chain.zipper.v1.GetDepositWithdrawConfigResponse.\n * Use `create(GetDepositWithdrawConfigResponseSchema)` to create a new message.\n */\nexport const GetDepositWithdrawConfigResponseSchema: GenMessage<GetDepositWithdrawConfigResponse> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 7);\n\n/**\n * ZipperService exposes deposit and withdraw chain configuration.\n *\n * @generated from service chain.zipper.v1.ZipperService\n */\nexport const ZipperService: GenService<{\n /**\n * Retrieve the supported chains and unified assets used by deposit/withdraw UI flows.\n *\n * @generated from rpc chain.zipper.v1.ZipperService.GetDepositWithdrawConfig\n */\n getDepositWithdrawConfig: {\n methodKind: \"unary\";\n input: typeof GetDepositWithdrawConfigRequestSchema;\n output: typeof GetDepositWithdrawConfigResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_zipper_v1_zipper, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAYA,MAAa,8BACX,uBAAS,gkEAAgkE,CAAC,0BAA0B,CAAC;;;;;AAmGvmE,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AA6F5C,MAAa,0BACX,0BAAY,6BAA6B,CAAC;;;;;AA6B5C,MAAa,gCACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,+BACX,0BAAY,6BAA6B,CAAC;;;;;AAwE5C,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AAkD5C,MAAa,4BACX,0BAAY,6BAA6B,CAAC;;;;;AAY5C,MAAa,wCACX,0BAAY,6BAA6B,CAAC;;;;;AAuC5C,MAAa,yCACX,0BAAY,6BAA6B,CAAC;;;;;;AAO5C,MAAa,gBAYX,0BAAY,6BAA6B,CAAC"}
1
+ {"version":3,"file":"zipper_pb.js","names":[],"sources":["../../../../../src/gen/chain/zipper/v1/zipper_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/zipper/v1/zipper.proto (package chain.zipper.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/zipper/v1/zipper.proto.\n */\nexport const file_chain_zipper_v1_zipper: GenFile = /*@__PURE__*/\n fileDesc(\"ChxjaGFpbi96aXBwZXIvdjEvemlwcGVyLnByb3RvEg9jaGFpbi56aXBwZXIudjEirgIKC0NoYWluQ29uZmlnEhAKCGNoYWluX2lkGAEgASgNEgwKBGNvZGUYAiABKAkSDAoEbmFtZRgDIAEoCRIXCg9uYXRpdmVfY2hhaW5faWQYBCABKAkSHgoWbmF0aXZlX2N1cnJlbmN5X3N5bWJvbBgFIAEoCRIUCgxleHBsb3Jlcl91cmwYBiABKAkSDAoEaWNvbhgHIAEoCRIeChZyZXF1aXJlZF9jb25maXJtYXRpb25zGAggASgNEiEKGWNvbmZpcm1hdGlvbl90aW1lX3NlY29uZHMYCSABKA0SGQoRaXNfY2FzZV9zZW5zaXRpdmUYCiABKAgSGgoSbWluX2FkZHJlc3NfbGVuZ3RoGAsgASgNEhoKEm1heF9hZGRyZXNzX2xlbmd0aBgMIAEoDSKZAgoRQXNzZXRDaGFpblZhcmlhbnQSFwoPemlwcGVkX2Fzc2V0X2lkGAEgASgNEhAKCGNoYWluX2lkGAIgASgNEhcKD2lzX25hdGl2ZV9hc3NldBgDIAEoCBITCgtuZXR3b3JrX2ZlZRgEIAEoCRIWCg56dG9rZW5fYWRkcmVzcxgGIAEoCRIWCg5zb3VyY2VfYWRkcmVzcxgHIAEoCRIXCg9zb3VyY2VfZGVjaW1hbHMYCCABKA0SFwoPenRva2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ljZRKBAQoYR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnEjAuY2hhaW4uemlwcGVyLnYxLkdldERlcG9zaXRXaXRoZHJhd0NvbmZpZ1JlcXVlc3QaMS5jaGFpbi56aXBwZXIudjEuR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnUmVzcG9uc2UiABoAQktaSWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vemlwcGVyL3YxO2NoYWluemlwcGVydjFiBnByb3RvMw==\", [file_polyester_api_options]);\n\n/**\n * ChainConfig describes one supported external chain for deposit and withdraw.\n *\n * @generated from message chain.zipper.v1.ChainConfig\n */\nexport type ChainConfig = Message<\"chain.zipper.v1.ChainConfig\"> & {\n /**\n * PolyChain-registered chain id used across Zipper and lifecycle events.\n *\n * @generated from field: uint32 chain_id = 1;\n */\n chainId: number;\n\n /**\n * Stable machine-friendly chain key (for example: \"ethereum\", \"solana\").\n *\n * @generated from field: string code = 2;\n */\n code: string;\n\n /**\n * Human-friendly display name.\n *\n * @generated from field: string name = 3;\n */\n name: string;\n\n /**\n * Native source-chain network identifier when useful for wallet or explorer\n * integrations. For EVM chains this is the EIP-155 chain id; non-EVM chains\n * may omit this and should be identified by `chain_id` and `code`.\n *\n * @generated from field: string native_chain_id = 4;\n */\n nativeChainId: string;\n\n /**\n * Native gas token symbol for this chain (for example: ETH, BTC, SOL).\n *\n * @generated from field: string native_currency_symbol = 5;\n */\n nativeCurrencySymbol: string;\n\n /**\n * Optional block explorer base URL for links.\n *\n * @generated from field: string explorer_url = 6;\n */\n explorerUrl: string;\n\n /**\n * Optional icon reference for UI display.\n *\n * @generated from field: string icon = 7;\n */\n icon: string;\n\n /**\n * Default required source-chain confirmations when known.\n *\n * @generated from field: uint32 required_confirmations = 8;\n */\n requiredConfirmations: number;\n\n /**\n * Estimated average confirmation time in seconds when known.\n *\n * @generated from field: uint32 confirmation_time_seconds = 9;\n */\n confirmationTimeSeconds: number;\n\n /**\n * True when source-chain addresses must preserve letter case.\n *\n * @generated from field: bool is_case_sensitive = 10;\n */\n isCaseSensitive: boolean;\n\n /**\n * Inclusive minimum source-chain address length for validation.\n *\n * @generated from field: uint32 min_address_length = 11;\n */\n minAddressLength: number;\n\n /**\n * Inclusive maximum source-chain address length for validation.\n *\n * @generated from field: uint32 max_address_length = 12;\n */\n maxAddressLength: number;\n};\n\n/**\n * Describes the message chain.zipper.v1.ChainConfig.\n * Use `create(ChainConfigSchema)` to create a new message.\n */\nexport const ChainConfigSchema: GenMessage<ChainConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 0);\n\n/**\n * AssetChainVariant describes one chain route that can be used to deposit into\n * or withdraw from a unified Polyester asset.\n *\n * @generated from message chain.zipper.v1.AssetChainVariant\n */\nexport type AssetChainVariant = Message<\"chain.zipper.v1.AssetChainVariant\"> & {\n /**\n * Canonical zipped asset route id.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Chain that this asset belongs to.\n *\n * @generated from field: uint32 chain_id = 2;\n */\n chainId: number;\n\n /**\n * True when the asset is the native gas/token of the source chain.\n *\n * @generated from field: bool is_native_asset = 3;\n */\n isNativeAsset: boolean;\n\n /**\n * Latest known network fee for this chain asset variant as a human-readable\n * string in zToken units, with insignificant trailing zeroes trimmed.\n *\n * @generated from field: string network_fee = 4;\n */\n networkFee: string;\n\n /**\n * Polyester zToken contract address for this chain asset variant.\n *\n * @generated from field: string ztoken_address = 6;\n */\n ztokenAddress: string;\n\n /**\n * Source-chain token contract, mint, or native sentinel address.\n *\n * @generated from field: string source_address = 7;\n */\n sourceAddress: string;\n\n /**\n * Source-chain token decimals.\n *\n * @generated from field: uint32 source_decimals = 8;\n */\n sourceDecimals: number;\n\n /**\n * zToken decimals on Polyester chain.\n *\n * @generated from field: uint32 ztoken_decimals = 9;\n */\n ztokenDecimals: number;\n\n /**\n * Minimum deposit amount for this variant as a human-readable string in zToken units.\n *\n * @generated from field: string deposit_min_amount = 10;\n */\n depositMinAmount: string;\n\n /**\n * Minimum withdraw amount for this variant as a human-readable string in zToken units.\n *\n * @generated from field: string withdraw_min_amount = 11;\n */\n withdrawMinAmount: string;\n\n /**\n * Latest zToken supply for this chain asset variant, scaled by the parent\n * unified asset's quantity_scale. Decode: supply_q / 10^quantity_scale.\n *\n * @generated from field: uint64 supply_q = 12;\n */\n supplyQ: bigint;\n};\n\n/**\n * Describes the message chain.zipper.v1.AssetChainVariant.\n * Use `create(AssetChainVariantSchema)` to create a new message.\n */\nexport const AssetChainVariantSchema: GenMessage<AssetChainVariant> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 1);\n\n/**\n * ZippedAssetSupplyUpdate carries the latest route liquidity for one zipped\n * asset. It is published on the Protobuf WebSocket channel.\n *\n * @generated from message chain.zipper.v1.ZippedAssetSupplyUpdate\n */\nexport type ZippedAssetSupplyUpdate = Message<\"chain.zipper.v1.ZippedAssetSupplyUpdate\"> & {\n /**\n * Canonical zipped asset route ID.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Latest zToken supply for this route, scaled by the parent asset's\n * quantity_scale. Decode: supply_q / 10^quantity_scale.\n *\n * @generated from field: uint64 supply_q = 2;\n */\n supplyQ: bigint;\n};\n\n/**\n * Describes the message chain.zipper.v1.ZippedAssetSupplyUpdate.\n * Use `create(ZippedAssetSupplyUpdateSchema)` to create a new message.\n */\nexport const ZippedAssetSupplyUpdateSchema: GenMessage<ZippedAssetSupplyUpdate> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 2);\n\n/**\n * ZippedAssetSupplyBatch batches public zipped-asset supply updates.\n *\n * @generated from message chain.zipper.v1.ZippedAssetSupplyBatch\n */\nexport type ZippedAssetSupplyBatch = Message<\"chain.zipper.v1.ZippedAssetSupplyBatch\"> & {\n /**\n * Supply updates included in this batch.\n *\n * @generated from field: repeated chain.zipper.v1.ZippedAssetSupplyUpdate updates = 1;\n */\n updates: ZippedAssetSupplyUpdate[];\n};\n\n/**\n * Describes the message chain.zipper.v1.ZippedAssetSupplyBatch.\n * Use `create(ZippedAssetSupplyBatchSchema)` to create a new message.\n */\nexport const ZippedAssetSupplyBatchSchema: GenMessage<ZippedAssetSupplyBatch> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 3);\n\n/**\n * AssetConfig describes one unified Polyester asset and all compatible\n * chain-specific variants supported by Zipper.\n *\n * @generated from message chain.zipper.v1.AssetConfig\n */\nexport type AssetConfig = Message<\"chain.zipper.v1.AssetConfig\"> & {\n /**\n * Unified Polyester asset code used inside Funding/Trading (for example: \"USDT\").\n *\n * @generated from field: string asset = 1;\n */\n asset: string;\n\n /**\n * Public unified asset id.\n *\n * @generated from field: uint32 ledger_id = 2;\n */\n ledgerId: number;\n\n /**\n * Human-friendly unified asset display name.\n *\n * @generated from field: string name = 3;\n */\n name: string;\n\n /**\n * Optional icon reference for the unified asset.\n *\n * @generated from field: string icon = 4;\n */\n icon: string;\n\n /**\n * Integer scale for unified-asset quantities (0..18). A scale of 8 means one\n * whole asset is represented as 100000000 in supply_q and other\n * quantity_scale-based fields.\n *\n * @generated from field: uint32 quantity_scale = 5;\n */\n quantityScale: number;\n\n /**\n * UI display precision for the unified asset.\n *\n * @generated from field: uint32 quantity_display_decimals = 6;\n */\n quantityDisplayDecimals: number;\n\n /**\n * Supported chain-specific deposit/withdraw variants for this unified asset.\n *\n * @generated from field: repeated chain.zipper.v1.AssetChainVariant variants = 7;\n */\n variants: AssetChainVariant[];\n\n /**\n * On-chain uAsset id for the unified asset.\n *\n * @generated from field: string u_asset_id = 8;\n */\n uAssetId: string;\n};\n\n/**\n * Describes the message chain.zipper.v1.AssetConfig.\n * Use `create(AssetConfigSchema)` to create a new message.\n */\nexport const AssetConfigSchema: GenMessage<AssetConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 4);\n\n/**\n * ChainContractConfig describes an active Polyester-chain contract address\n * clients may need for supported deposit and withdraw flows.\n *\n * @generated from message chain.zipper.v1.ChainContractConfig\n */\nexport type ChainContractConfig = Message<\"chain.zipper.v1.ChainContractConfig\"> & {\n /**\n * Stable contract key for client lookups.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * EVM contract address on Polyester chain.\n *\n * @generated from field: string address = 2;\n */\n address: string;\n\n /**\n * Optional product-facing contract category, when known.\n *\n * @generated from field: string type = 3;\n */\n type: string;\n\n /**\n * Optional human-readable description.\n *\n * @generated from field: string description = 4;\n */\n description: string;\n\n /**\n * Active contract version for this name. Versions increase when the address\n * changes, allowing clients to identify the exact contract revision in use.\n *\n * @generated from field: uint32 version = 5;\n */\n version: number;\n};\n\n/**\n * Describes the message chain.zipper.v1.ChainContractConfig.\n * Use `create(ChainContractConfigSchema)` to create a new message.\n */\nexport const ChainContractConfigSchema: GenMessage<ChainContractConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 5);\n\n/**\n * @generated from message chain.zipper.v1.GetDepositWithdrawConfigRequest\n */\nexport type GetDepositWithdrawConfigRequest = Message<\"chain.zipper.v1.GetDepositWithdrawConfigRequest\"> & {\n};\n\n/**\n * Describes the message chain.zipper.v1.GetDepositWithdrawConfigRequest.\n * Use `create(GetDepositWithdrawConfigRequestSchema)` to create a new message.\n */\nexport const GetDepositWithdrawConfigRequestSchema: GenMessage<GetDepositWithdrawConfigRequest> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 6);\n\n/**\n * @generated from message chain.zipper.v1.GetDepositWithdrawConfigResponse\n */\nexport type GetDepositWithdrawConfigResponse = Message<\"chain.zipper.v1.GetDepositWithdrawConfigResponse\"> & {\n /**\n * Supported chains ordered by chain code.\n *\n * @generated from field: repeated chain.zipper.v1.ChainConfig chains = 1;\n */\n chains: ChainConfig[];\n\n /**\n * Supported unified assets ordered by asset code, each with compatible chain routes.\n *\n * @generated from field: repeated chain.zipper.v1.AssetConfig assets = 2;\n */\n assets: AssetConfig[];\n\n /**\n * Snapshot generation timestamp (seconds since epoch, UTC).\n *\n * @generated from field: uint64 ts_sec = 3;\n */\n tsSec: bigint;\n\n /**\n * Active Polyester-chain contracts ordered by contract name.\n *\n * @generated from field: repeated chain.zipper.v1.ChainContractConfig contracts = 5;\n */\n contracts: ChainContractConfig[];\n};\n\n/**\n * Describes the message chain.zipper.v1.GetDepositWithdrawConfigResponse.\n * Use `create(GetDepositWithdrawConfigResponseSchema)` to create a new message.\n */\nexport const GetDepositWithdrawConfigResponseSchema: GenMessage<GetDepositWithdrawConfigResponse> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 7);\n\n/**\n * ZipperService exposes deposit and withdraw chain configuration.\n *\n * @generated from service chain.zipper.v1.ZipperService\n */\nexport const ZipperService: GenService<{\n /**\n * Retrieve the supported chains and unified assets used by deposit/withdraw UI flows.\n *\n * @generated from rpc chain.zipper.v1.ZipperService.GetDepositWithdrawConfig\n */\n getDepositWithdrawConfig: {\n methodKind: \"unary\";\n input: typeof GetDepositWithdrawConfigRequestSchema;\n output: typeof GetDepositWithdrawConfigResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_zipper_v1_zipper, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAYA,MAAa,8BACX,uBAAS,okEAAokE,CAAC,0BAA0B,CAAC;;;;;AAmG3mE,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AA6F5C,MAAa,0BACX,0BAAY,6BAA6B,CAAC;;;;;AA6B5C,MAAa,gCACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,+BACX,0BAAY,6BAA6B,CAAC;;;;;AAwE5C,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AAkD5C,MAAa,4BACX,0BAAY,6BAA6B,CAAC;;;;;AAY5C,MAAa,wCACX,0BAAY,6BAA6B,CAAC;;;;;AAuC5C,MAAa,yCACX,0BAAY,6BAA6B,CAAC;;;;;;AAO5C,MAAa,gBAYX,0BAAY,6BAA6B,CAAC"}