tapimo 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/dist/ApiKey.js +1 -1
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +95 -14
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +360 -49
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +12457 -10365
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +300 -22
- package/dist/App.js.map +1 -1
- package/dist/Assets.d.ts.map +1 -1
- package/dist/Assets.js +2 -1
- package/dist/Assets.js.map +1 -1
- package/dist/Handler.d.ts +0 -1
- package/dist/Handler.d.ts.map +1 -1
- package/dist/Handler.js +0 -1
- package/dist/Handler.js.map +1 -1
- package/dist/Scope.d.ts +13 -5
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +16 -5
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.js +1 -1
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +3057 -549
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +26 -5
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +159 -7
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +95 -43
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +1398 -0
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.js +463 -7
- package/dist/admin/apps/earn-vaults.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +267 -15
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/organizations.js +241 -25
- package/dist/admin/apps/organizations.js.map +1 -1
- package/dist/admin/apps/routes-support.d.ts +95 -0
- package/dist/admin/apps/routes-support.d.ts.map +1 -0
- package/dist/admin/apps/routes-support.js +151 -0
- package/dist/admin/apps/routes-support.js.map +1 -0
- package/dist/admin/apps/routes.d.ts +2764 -0
- package/dist/admin/apps/routes.d.ts.map +1 -0
- package/dist/admin/apps/routes.js +728 -0
- package/dist/admin/apps/routes.js.map +1 -0
- package/dist/admin/apps/subsidies.d.ts +501 -0
- package/dist/admin/apps/subsidies.d.ts.map +1 -0
- package/dist/admin/apps/subsidies.js +384 -0
- package/dist/admin/apps/subsidies.js.map +1 -0
- package/dist/admin/apps/verified-tokens.d.ts +88 -88
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +3 -3
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +129 -69
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +5 -2
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +31 -1
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts +2 -1
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +10 -1
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/analytics/tables/routesLifecycleIntervals.d.ts +72 -0
- package/dist/analytics/tables/routesLifecycleIntervals.d.ts.map +1 -0
- package/dist/analytics/tables/routesLifecycleIntervals.js +56 -0
- package/dist/analytics/tables/routesLifecycleIntervals.js.map +1 -0
- package/dist/apps/Zones.d.ts +21 -12526
- package/dist/apps/Zones.d.ts.map +1 -1
- package/dist/apps/Zones.js +37 -5
- package/dist/apps/Zones.js.map +1 -1
- package/dist/apps/data/App.d.ts +3971 -2595
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +76 -21
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +364 -34
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +495 -190
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +72 -0
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +37 -37
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +47 -21
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/earn.d.ts +1450 -337
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +1226 -144
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +5 -0
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +31 -19
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +125 -0
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +83 -27
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +507 -33
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +266 -156
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +47 -15
- package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
- package/dist/apps/data/routes/tokenlist.js +68 -11
- package/dist/apps/data/routes/tokenlist.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +2 -0
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +26 -14
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +28 -12
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +9 -7
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +30 -30
- package/dist/apps/data/routes/verified-tokens.d.ts +9 -9
- package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/verified-tokens.js +64 -20
- package/dist/apps/data/routes/verified-tokens.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +613 -176
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +291 -195
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts.map +1 -1
- package/dist/apps/data/routes/zones.js +20 -12
- package/dist/apps/data/routes/zones.js.map +1 -1
- package/dist/apps/docs/reference.js +2 -2
- package/dist/apps/docs/reference.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/management/App.d.ts +3763 -3385
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +5 -14
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/Billing.d.ts +48 -7
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +204 -25
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +106 -4
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +43 -15
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +290 -4
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +274 -49
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +6 -6
- package/dist/apps/management/routes/faucet.js +1 -1
- package/dist/apps/management/routes/faucet.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +77 -2
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +117 -13
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/invite-links.d.ts +4 -4
- package/dist/apps/management/routes/me.d.ts.map +1 -1
- package/dist/apps/management/routes/me.js +6 -2
- package/dist/apps/management/routes/me.js.map +1 -1
- package/dist/apps/management/routes/members.d.ts +30 -30
- package/dist/apps/management/routes/orgs.d.ts +18 -2
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +52 -12
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +4 -4
- package/dist/apps/management/routes/projects.d.ts.map +1 -1
- package/dist/apps/management/routes/projects.js +6 -1
- package/dist/apps/management/routes/projects.js.map +1 -1
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +4 -1
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +24 -24
- package/dist/apps/management/routes/usage.js +21 -4
- package/dist/apps/management/routes/usage.js.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.d.ts +2 -2
- package/dist/apps/management/routes/webhooks.d.ts +280 -214
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +58 -12
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/apps/mcp.d.ts +1 -1
- package/dist/apps/mcp.js +7 -7
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/mpp/App.d.ts.map +1 -1
- package/dist/apps/mpp/App.js +35 -7
- package/dist/apps/mpp/App.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts +2 -0
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Adapter.js +30 -1
- package/dist/apps/mpp/internal/Adapter.js.map +1 -1
- package/dist/apps/mpp/internal/Policy.d.ts +22 -4
- package/dist/apps/mpp/internal/Policy.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Policy.js +24 -6
- package/dist/apps/mpp/internal/Policy.js.map +1 -1
- package/dist/apps/mpp/internal/Sponsorship.d.ts +3 -0
- package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Sponsorship.js +6 -3
- package/dist/apps/mpp/internal/Sponsorship.js.map +1 -1
- package/dist/apps/relay/App.d.ts +2 -0
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +134 -75
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts +5 -3
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +209 -28
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/apps/{funding → routes}/Access.d.ts +4 -4
- package/dist/apps/routes/Access.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/Access.js +4 -4
- package/dist/apps/routes/Access.js.map +1 -0
- package/dist/apps/{funding → routes}/App.d.ts +418 -124
- package/dist/apps/{funding → routes}/App.d.ts.map +1 -1
- package/dist/apps/{funding → routes}/App.js +16 -16
- package/dist/apps/routes/App.js.map +1 -0
- package/dist/apps/routes/Inventory.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/Inventory.js +2 -2
- package/dist/apps/routes/Inventory.js.map +1 -0
- package/dist/apps/routes/index.d.ts +2 -0
- package/dist/apps/routes/index.d.ts.map +1 -0
- package/dist/apps/routes/index.js +2 -0
- package/dist/apps/routes/index.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/chains.d.ts +7 -7
- package/dist/apps/routes/routes/chains.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/routes/chains.js +25 -25
- package/dist/apps/routes/routes/chains.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/deposit-addresses.d.ts +107 -43
- package/dist/apps/routes/routes/deposit-addresses.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/routes/deposit-addresses.js +497 -222
- package/dist/apps/routes/routes/deposit-addresses.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/providers.d.ts +8 -8
- package/dist/apps/routes/routes/providers.d.ts.map +1 -0
- package/dist/apps/routes/routes/providers.js +57 -0
- package/dist/apps/routes/routes/providers.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/quotes.d.ts +19 -16
- package/dist/apps/routes/routes/quotes.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/routes/quotes.js +55 -38
- package/dist/apps/routes/routes/quotes.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/transfers.d.ts +379 -74
- package/dist/apps/routes/routes/transfers.d.ts.map +1 -0
- package/dist/apps/routes/routes/transfers.js +1140 -0
- package/dist/apps/routes/routes/transfers.js.map +1 -0
- package/dist/cli/Cli.d.ts +30 -0
- package/dist/cli/Cli.d.ts.map +1 -1
- package/dist/cli/commands/admin.d.ts +36 -0
- package/dist/cli/commands/admin.d.ts.map +1 -1
- package/dist/cli/commands/admin.js +273 -0
- package/dist/cli/commands/admin.js.map +1 -1
- package/dist/cloudflare.d.ts +16 -14
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +26 -21
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +63 -21
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +1030 -15
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +780 -133
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +575 -162
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/apiKeyAdmissionBootstraps.d.ts +4 -0
- package/dist/db/tables/apiKeyAdmissionBootstraps.d.ts.map +1 -0
- package/dist/db/tables/apiKeyAdmissionBootstraps.js +2 -0
- package/dist/db/tables/apiKeyAdmissionBootstraps.js.map +1 -0
- package/dist/db/tables/apiKeyAdmissions.d.ts +73 -0
- package/dist/db/tables/apiKeyAdmissions.d.ts.map +1 -0
- package/dist/db/tables/apiKeyAdmissions.js +142 -0
- package/dist/db/tables/apiKeyAdmissions.js.map +1 -0
- package/dist/db/tables/apiKeyOwnerAdmissions.d.ts +4 -0
- package/dist/db/tables/apiKeyOwnerAdmissions.d.ts.map +1 -0
- package/dist/db/tables/apiKeyOwnerAdmissions.js +2 -0
- package/dist/db/tables/apiKeyOwnerAdmissions.js.map +1 -0
- package/dist/db/tables/apiKeyOwnerTombstones.d.ts +20 -0
- package/dist/db/tables/apiKeyOwnerTombstones.d.ts.map +1 -0
- package/dist/db/tables/apiKeyOwnerTombstones.js +57 -0
- package/dist/db/tables/apiKeyOwnerTombstones.js.map +1 -0
- package/dist/db/tables/apiKeyRevocations.d.ts +21 -0
- package/dist/db/tables/apiKeyRevocations.d.ts.map +1 -0
- package/dist/db/tables/apiKeyRevocations.js +98 -0
- package/dist/db/tables/apiKeyRevocations.js.map +1 -0
- package/dist/db/tables/authAccounts.d.ts +47 -0
- package/dist/db/tables/authAccounts.d.ts.map +1 -0
- package/dist/db/tables/authAccounts.js +72 -0
- package/dist/db/tables/authAccounts.js.map +1 -0
- package/dist/db/tables/authSessions.d.ts +12 -0
- package/dist/db/tables/authSessions.d.ts.map +1 -0
- package/dist/db/tables/authSessions.js +2 -0
- package/dist/db/tables/authSessions.js.map +1 -0
- package/dist/db/tables/authVerifications.d.ts +12 -0
- package/dist/db/tables/authVerifications.d.ts.map +1 -0
- package/dist/db/tables/authVerifications.js +2 -0
- package/dist/db/tables/authVerifications.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +17 -1
- package/dist/db/tables/invitations.d.ts.map +1 -1
- package/dist/db/tables/invitations.js +123 -43
- package/dist/db/tables/invitations.js.map +1 -1
- package/dist/db/tables/memberships.d.ts +8 -0
- package/dist/db/tables/memberships.d.ts.map +1 -1
- package/dist/db/tables/memberships.js +51 -2
- package/dist/db/tables/memberships.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +32 -10
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +110 -49
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +2 -0
- package/dist/db/tables/projects.d.ts.map +1 -1
- package/dist/db/tables/projects.js +12 -3
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/rewardAccounts.d.ts +86 -0
- package/dist/db/tables/rewardAccounts.d.ts.map +1 -0
- package/dist/db/tables/rewardAccounts.js +88 -0
- package/dist/db/tables/rewardAccounts.js.map +1 -0
- package/dist/db/tables/rewardCampaignDistributors.d.ts +36 -0
- package/dist/db/tables/rewardCampaignDistributors.d.ts.map +1 -0
- package/dist/db/tables/rewardCampaignDistributors.js +30 -0
- package/dist/db/tables/rewardCampaignDistributors.js.map +1 -0
- package/dist/db/tables/rewardCampaigns.d.ts +171 -0
- package/dist/db/tables/rewardCampaigns.d.ts.map +1 -0
- package/dist/db/tables/rewardCampaigns.js +392 -0
- package/dist/db/tables/rewardCampaigns.js.map +1 -0
- package/dist/db/tables/rewardCredits.d.ts +53 -0
- package/dist/db/tables/rewardCredits.d.ts.map +1 -0
- package/dist/db/tables/rewardCredits.js +63 -0
- package/dist/db/tables/rewardCredits.js.map +1 -0
- package/dist/db/tables/rewardEligibilityAssociations.d.ts +61 -0
- package/dist/db/tables/rewardEligibilityAssociations.d.ts.map +1 -0
- package/dist/db/tables/rewardEligibilityAssociations.js +103 -0
- package/dist/db/tables/rewardEligibilityAssociations.js.map +1 -0
- package/dist/db/tables/rewardRuns.d.ts +188 -0
- package/dist/db/tables/rewardRuns.d.ts.map +1 -0
- package/dist/db/tables/rewardRuns.js +278 -0
- package/dist/db/tables/rewardRuns.js.map +1 -0
- package/dist/db/tables/rewardTransactionAttempts.d.ts +100 -0
- package/dist/db/tables/rewardTransactionAttempts.d.ts.map +1 -0
- package/dist/db/tables/rewardTransactionAttempts.js +163 -0
- package/dist/db/tables/rewardTransactionAttempts.js.map +1 -0
- package/dist/db/tables/routesCatalog.d.ts +58 -0
- package/dist/db/tables/routesCatalog.d.ts.map +1 -0
- package/dist/db/tables/{fundingCatalog.js → routesCatalog.js} +19 -19
- package/dist/db/tables/routesCatalog.js.map +1 -0
- package/dist/db/tables/routesDepositAddresses.d.ts +476 -0
- package/dist/db/tables/routesDepositAddresses.d.ts.map +1 -0
- package/dist/db/tables/routesDepositAddresses.js +587 -0
- package/dist/db/tables/routesDepositAddresses.js.map +1 -0
- package/dist/db/tables/{fundingDepositRequestObservations.d.ts → routesDepositRequestObservations.d.ts} +6 -6
- package/dist/db/tables/routesDepositRequestObservations.d.ts.map +1 -0
- package/dist/db/tables/{fundingDepositRequestObservations.js → routesDepositRequestObservations.js} +6 -6
- package/dist/db/tables/routesDepositRequestObservations.js.map +1 -0
- package/dist/db/tables/{fundingDeposits.d.ts → routesDeposits.d.ts} +210 -22
- package/dist/db/tables/routesDeposits.d.ts.map +1 -0
- package/dist/db/tables/routesDeposits.js +576 -0
- package/dist/db/tables/routesDeposits.js.map +1 -0
- package/dist/db/tables/routesIdempotency.d.ts +166 -0
- package/dist/db/tables/routesIdempotency.d.ts.map +1 -0
- package/dist/db/tables/routesIdempotency.js +330 -0
- package/dist/db/tables/routesIdempotency.js.map +1 -0
- package/dist/db/tables/routesSubsidies.d.ts +27 -0
- package/dist/db/tables/routesSubsidies.d.ts.map +1 -0
- package/dist/db/tables/routesSubsidies.js +45 -0
- package/dist/db/tables/routesSubsidies.js.map +1 -0
- package/dist/db/tables/{fundingTransferEvents.d.ts → routesTransferEvents.d.ts} +3 -3
- package/dist/db/tables/routesTransferEvents.d.ts.map +1 -0
- package/dist/db/tables/{fundingTransferEvents.js → routesTransferEvents.js} +3 -3
- package/dist/db/tables/routesTransferEvents.js.map +1 -0
- package/dist/db/tables/routesTransferSubsidies.d.ts +19 -0
- package/dist/db/tables/routesTransferSubsidies.d.ts.map +1 -0
- package/dist/db/tables/routesTransferSubsidies.js +17 -0
- package/dist/db/tables/routesTransferSubsidies.js.map +1 -0
- package/dist/db/tables/routesTransferSubsidyNonces.d.ts +51 -0
- package/dist/db/tables/routesTransferSubsidyNonces.d.ts.map +1 -0
- package/dist/db/tables/routesTransferSubsidyNonces.js +82 -0
- package/dist/db/tables/routesTransferSubsidyNonces.js.map +1 -0
- package/dist/db/tables/routesTransferTransactions.d.ts +77 -0
- package/dist/db/tables/routesTransferTransactions.d.ts.map +1 -0
- package/dist/db/tables/{fundingTransferTransactions.js → routesTransferTransactions.js} +31 -13
- package/dist/db/tables/routesTransferTransactions.js.map +1 -0
- package/dist/db/tables/routesTransfers.d.ts +319 -0
- package/dist/db/tables/routesTransfers.d.ts.map +1 -0
- package/dist/db/tables/routesTransfers.js +372 -0
- package/dist/db/tables/routesTransfers.js.map +1 -0
- package/dist/db/tables/sponsoredTransactions.d.ts +75 -20
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +124 -54
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/sponsorshipAttributions.d.ts +69 -0
- package/dist/db/tables/sponsorshipAttributions.d.ts.map +1 -0
- package/dist/db/tables/sponsorshipAttributions.js +77 -0
- package/dist/db/tables/sponsorshipAttributions.js.map +1 -0
- package/dist/db/tables/sponsorshipReconciliationCursors.d.ts +22 -0
- package/dist/db/tables/sponsorshipReconciliationCursors.d.ts.map +1 -0
- package/dist/db/tables/sponsorshipReconciliationCursors.js +45 -0
- package/dist/db/tables/sponsorshipReconciliationCursors.js.map +1 -0
- package/dist/db/tables/stripeCustomers.d.ts +11 -0
- package/dist/db/tables/stripeCustomers.d.ts.map +1 -1
- package/dist/db/tables/stripeCustomers.js +13 -0
- package/dist/db/tables/stripeCustomers.js.map +1 -1
- package/dist/db/tables/users.d.ts +17 -1
- package/dist/db/tables/users.d.ts.map +1 -1
- package/dist/db/tables/users.js +47 -2
- package/dist/db/tables/users.js.map +1 -1
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -1
- package/dist/db/tables/webhookQueueEvents.js +5 -1
- package/dist/db/tables/webhookQueueEvents.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +19 -11
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +45 -13
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/handlers/internal/executionError.d.ts +2 -2
- package/dist/handlers/internal/executionError.d.ts.map +1 -1
- package/dist/handlers/internal/executionError.js +1 -2
- package/dist/handlers/internal/executionError.js.map +1 -1
- package/dist/handlers/internal/multisig.d.ts +4 -232
- package/dist/handlers/internal/multisig.d.ts.map +1 -1
- package/dist/handlers/internal/multisig.js +11 -537
- package/dist/handlers/internal/multisig.js.map +1 -1
- package/dist/handlers/internal/sponsorship.d.ts +19 -8
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -1
- package/dist/handlers/internal/sponsorship.js +13 -9
- package/dist/handlers/internal/sponsorship.js.map +1 -1
- package/dist/handlers/relay.d.ts +9 -12
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +81 -85
- package/dist/handlers/relay.js.map +1 -1
- package/dist/index.d.ts +0 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -17
- package/dist/index.js.map +1 -1
- package/dist/internal/AssetResponse.d.ts +12 -0
- package/dist/internal/AssetResponse.d.ts.map +1 -0
- package/dist/internal/AssetResponse.js +21 -0
- package/dist/internal/AssetResponse.js.map +1 -0
- package/dist/internal/Auth.d.ts +48 -12
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +603 -175
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/BetterAuth.d.ts +1488 -0
- package/dist/internal/BetterAuth.d.ts.map +1 -0
- package/dist/internal/BetterAuth.js +253 -0
- package/dist/internal/BetterAuth.js.map +1 -0
- package/dist/internal/Cache.d.ts +2 -0
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +2 -0
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EarnRates.d.ts +26 -3
- package/dist/internal/EarnRates.d.ts.map +1 -1
- package/dist/internal/EarnRates.js +84 -19
- package/dist/internal/EarnRates.js.map +1 -1
- package/dist/internal/EarnSharePrices.d.ts +120 -0
- package/dist/internal/EarnSharePrices.d.ts.map +1 -0
- package/dist/internal/EarnSharePrices.js +179 -0
- package/dist/internal/EarnSharePrices.js.map +1 -0
- package/dist/internal/EarnVaults.d.ts +4 -0
- package/dist/internal/EarnVaults.d.ts.map +1 -1
- package/dist/internal/EarnVaults.js +27 -10
- package/dist/internal/EarnVaults.js.map +1 -1
- package/dist/internal/Email.d.ts +37 -0
- package/dist/internal/Email.d.ts.map +1 -0
- package/dist/internal/Email.js +16 -0
- package/dist/internal/Email.js.map +1 -0
- package/dist/internal/Log.d.ts +32 -28
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +18 -11
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +3 -0
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +67 -8
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Mpp.d.ts.map +1 -1
- package/dist/internal/Mpp.js +20 -25
- package/dist/internal/Mpp.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +26 -3
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +25 -10
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Provider.d.ts +1 -1
- package/dist/internal/Provider.d.ts.map +1 -1
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +13 -1
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Store.d.ts +16 -0
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +59 -8
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Tidx.d.ts +9 -2
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +78 -11
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Timing.d.ts +26 -0
- package/dist/internal/Timing.d.ts.map +1 -1
- package/dist/internal/Timing.js +63 -5
- package/dist/internal/Timing.js.map +1 -1
- package/dist/internal/VercelOidc.d.ts +94 -0
- package/dist/internal/VercelOidc.d.ts.map +1 -0
- package/dist/internal/VercelOidc.js +128 -0
- package/dist/internal/VercelOidc.js.map +1 -0
- package/dist/internal/VerifiedTokens.d.ts +2 -8
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +24 -24
- package/dist/internal/VerifiedTokens.js.map +1 -1
- package/dist/internal/Viem.d.ts +30 -2067
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +167 -17
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +12 -4
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +9 -3
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/ZoneRpc.d.ts +7 -0
- package/dist/internal/ZoneRpc.d.ts.map +1 -0
- package/dist/internal/ZoneRpc.js +49 -0
- package/dist/internal/ZoneRpc.js.map +1 -0
- package/dist/internal/index.d.ts +3 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +3 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/rewards/Audit.d.ts +88 -0
- package/dist/internal/rewards/Audit.d.ts.map +1 -0
- package/dist/internal/rewards/Audit.js +134 -0
- package/dist/internal/rewards/Audit.js.map +1 -0
- package/dist/internal/rewards/Campaigns.d.ts +572 -0
- package/dist/internal/rewards/Campaigns.d.ts.map +1 -0
- package/dist/internal/rewards/Campaigns.js +531 -0
- package/dist/internal/rewards/Campaigns.js.map +1 -0
- package/dist/internal/rewards/Credits.d.ts +76 -0
- package/dist/internal/rewards/Credits.d.ts.map +1 -0
- package/dist/internal/rewards/Credits.js +95 -0
- package/dist/internal/rewards/Credits.js.map +1 -0
- package/dist/internal/rewards/Events.d.ts +100 -0
- package/dist/internal/rewards/Events.d.ts.map +1 -0
- package/dist/internal/rewards/Events.js +340 -0
- package/dist/internal/rewards/Events.js.map +1 -0
- package/dist/internal/rewards/Projection.d.ts +237 -0
- package/dist/internal/rewards/Projection.d.ts.map +1 -0
- package/dist/internal/rewards/Projection.js +616 -0
- package/dist/internal/rewards/Projection.js.map +1 -0
- package/dist/internal/rewards/Rates.d.ts +44 -0
- package/dist/internal/rewards/Rates.d.ts.map +1 -0
- package/dist/internal/rewards/Rates.js +60 -0
- package/dist/internal/rewards/Rates.js.map +1 -0
- package/dist/internal/rewards/Read.d.ts +158 -0
- package/dist/internal/rewards/Read.d.ts.map +1 -0
- package/dist/internal/rewards/Read.js +292 -0
- package/dist/internal/rewards/Read.js.map +1 -0
- package/dist/internal/rewards/Runner.d.ts +164 -0
- package/dist/internal/rewards/Runner.d.ts.map +1 -0
- package/dist/internal/rewards/Runner.js +1778 -0
- package/dist/internal/rewards/Runner.js.map +1 -0
- package/dist/internal/rewards/Signer.d.ts +224 -0
- package/dist/internal/rewards/Signer.d.ts.map +1 -0
- package/dist/internal/rewards/Signer.js +135 -0
- package/dist/internal/rewards/Signer.js.map +1 -0
- package/dist/internal/rewards/index.d.ts +15 -0
- package/dist/internal/rewards/index.d.ts.map +1 -0
- package/dist/internal/rewards/index.js +15 -0
- package/dist/internal/rewards/index.js.map +1 -0
- package/dist/internal/{funding → routes}/Action.d.ts +12 -1
- package/dist/internal/routes/Action.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Action.js +17 -9
- package/dist/internal/routes/Action.js.map +1 -0
- package/dist/internal/{funding → routes}/Catalog.d.ts +20 -20
- package/dist/internal/routes/Catalog.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Catalog.js +29 -29
- package/dist/internal/routes/Catalog.js.map +1 -0
- package/dist/internal/{funding → routes}/Chain.d.ts +10 -10
- package/dist/internal/routes/Chain.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Chain.js +3 -3
- package/dist/internal/routes/Chain.js.map +1 -0
- package/dist/internal/{funding → routes}/Deposit.d.ts +45 -23
- package/dist/internal/routes/Deposit.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Deposit.js +60 -27
- package/dist/internal/routes/Deposit.js.map +1 -0
- package/dist/internal/{funding → routes}/DepositAddress.d.ts +56 -27
- package/dist/internal/routes/DepositAddress.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/DepositAddress.js +95 -33
- package/dist/internal/routes/DepositAddress.js.map +1 -0
- package/dist/internal/{funding → routes}/DepositWebhook.d.ts +4 -4
- package/dist/internal/routes/DepositWebhook.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/DepositWebhook.js +4 -4
- package/dist/internal/routes/DepositWebhook.js.map +1 -0
- package/dist/internal/routes/Economics.d.ts +25 -0
- package/dist/internal/routes/Economics.d.ts.map +1 -0
- package/dist/internal/routes/Economics.js +28 -0
- package/dist/internal/routes/Economics.js.map +1 -0
- package/dist/internal/{funding → routes}/Evidence.d.ts +3 -3
- package/dist/internal/routes/Evidence.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Evidence.js +7 -7
- package/dist/internal/routes/Evidence.js.map +1 -0
- package/dist/internal/routes/Observability.d.ts +154 -0
- package/dist/internal/routes/Observability.d.ts.map +1 -0
- package/dist/internal/routes/Observability.js +389 -0
- package/dist/internal/routes/Observability.js.map +1 -0
- package/dist/internal/{funding → routes}/Provider.d.ts +311 -105
- package/dist/internal/routes/Provider.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Provider.js +229 -98
- package/dist/internal/routes/Provider.js.map +1 -0
- package/dist/internal/{funding → routes}/Reconciliation.d.ts +11 -6
- package/dist/internal/routes/Reconciliation.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Reconciliation.js +408 -158
- package/dist/internal/routes/Reconciliation.js.map +1 -0
- package/dist/internal/routes/Route.d.ts +21 -0
- package/dist/internal/routes/Route.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Route.js +1 -1
- package/dist/internal/routes/Route.js.map +1 -0
- package/dist/internal/{funding → routes}/SourceObservation.d.ts +6 -6
- package/dist/internal/routes/SourceObservation.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/SourceObservation.js +8 -8
- package/dist/internal/routes/SourceObservation.js.map +1 -0
- package/dist/internal/{funding → routes}/Subsidy.d.ts +48 -3
- package/dist/internal/routes/Subsidy.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Subsidy.js +43 -3
- package/dist/internal/routes/Subsidy.js.map +1 -0
- package/dist/internal/{funding → routes}/Token.d.ts +4 -4
- package/dist/internal/routes/Token.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Token.js +3 -3
- package/dist/internal/routes/Token.js.map +1 -0
- package/dist/internal/{funding → routes}/Transfer.d.ts +241 -46
- package/dist/internal/routes/Transfer.d.ts.map +1 -0
- package/dist/internal/routes/Transfer.js +728 -0
- package/dist/internal/routes/Transfer.js.map +1 -0
- package/dist/internal/{funding → routes}/TransferReconciliation.d.ts +13 -10
- package/dist/internal/routes/TransferReconciliation.d.ts.map +1 -0
- package/dist/internal/routes/TransferReconciliation.js +422 -0
- package/dist/internal/routes/TransferReconciliation.js.map +1 -0
- package/dist/internal/routes/TransferSubsidy.d.ts +201 -0
- package/dist/internal/routes/TransferSubsidy.d.ts.map +1 -0
- package/dist/internal/routes/TransferSubsidy.js +256 -0
- package/dist/internal/routes/TransferSubsidy.js.map +1 -0
- package/dist/internal/{funding → routes}/TransferWebhook.d.ts +5 -5
- package/dist/internal/routes/TransferWebhook.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/TransferWebhook.js +3 -3
- package/dist/internal/routes/TransferWebhook.js.map +1 -0
- package/dist/internal/{funding → routes}/index.d.ts +2 -0
- package/dist/internal/routes/index.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/index.js +2 -0
- package/dist/internal/routes/index.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/across.d.ts +4 -4
- package/dist/internal/routes/providers/across.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/across.js +13 -13
- package/dist/internal/routes/providers/across.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/relay.d.ts +21 -12
- package/dist/internal/routes/providers/relay.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/relay.js +194 -110
- package/dist/internal/routes/providers/relay.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/rhino.d.ts +4 -4
- package/dist/internal/routes/providers/rhino.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/rhino.js +10 -10
- package/dist/internal/routes/providers/rhino.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/squid.d.ts +4 -4
- package/dist/internal/routes/providers/squid.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/squid.js +14 -14
- package/dist/internal/routes/providers/squid.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/stargate.d.ts +46 -18
- package/dist/internal/routes/providers/stargate.d.ts.map +1 -0
- package/dist/internal/routes/providers/stargate.js +898 -0
- package/dist/internal/routes/providers/stargate.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/symbiosis.d.ts +4 -4
- package/dist/internal/routes/providers/symbiosis.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/symbiosis.js +30 -20
- package/dist/internal/routes/providers/symbiosis.js.map +1 -0
- package/dist/internal/webhookDestinations/slack.js +12 -12
- package/dist/internal/webhookDestinations/slack.js.map +1 -1
- package/dist/providers/index.d.ts +12 -12
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +12 -12
- package/dist/providers/index.js.map +1 -1
- package/dist/server.d.ts +19 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +19 -0
- package/dist/server.js.map +1 -0
- package/package.json +15 -4
- package/src/ApiKey.ts +1 -1
- package/src/ApiKeys.test.ts +1033 -3
- package/src/ApiKeys.ts +489 -48
- package/src/App.test-d.ts +1 -1
- package/src/App.test.ts +216 -25
- package/src/App.ts +334 -31
- package/src/Assets.test.ts +2 -2
- package/src/Assets.ts +3 -1
- package/src/Auth.test-d.ts +1 -1
- package/src/Client.test-d.ts +539 -110
- package/src/Handler.ts +0 -1
- package/src/OpenApi.contract.test.ts +195 -0
- package/src/Scope.ts +17 -5
- package/src/Webhooks.ts +1 -1
- package/src/admin/App.test.ts +30 -2
- package/src/admin/App.ts +42 -6
- package/src/admin/apps/api-keys.test.ts +267 -5
- package/src/admin/apps/api-keys.ts +100 -50
- package/src/admin/apps/earn-vaults.test.ts +158 -0
- package/src/admin/apps/earn-vaults.ts +679 -6
- package/src/admin/apps/organizations.test.ts +306 -17
- package/src/admin/apps/organizations.ts +299 -24
- package/src/admin/apps/routes-support.test.ts +200 -0
- package/src/admin/apps/routes-support.ts +201 -0
- package/src/admin/apps/routes.test.ts +450 -0
- package/src/admin/apps/routes.ts +896 -0
- package/src/admin/apps/scopes.test.ts +15 -5
- package/src/admin/apps/subsidies.test.ts +306 -0
- package/src/admin/apps/subsidies.ts +457 -0
- package/src/admin/apps/verified-tokens.test.ts +8 -3
- package/src/admin/apps/verified-tokens.ts +3 -3
- package/src/admin/ui/plugin.ts +1 -2
- package/src/admin/ui/src/components/RewardCampaignForm.tsx +1009 -0
- package/src/admin/ui/src/lib/config.ts +11 -2
- package/src/admin/ui/src/lib/earn-vaults.ts +2 -2
- package/src/admin/ui/src/lib/organizations.test.ts +83 -50
- package/src/admin/ui/src/lib/organizations.ts +106 -25
- package/src/admin/ui/src/lib/query-client.ts +1 -1
- package/src/admin/ui/src/lib/reward-campaigns.ts +136 -0
- package/src/admin/ui/src/lib/routes.test.ts +88 -0
- package/src/admin/ui/src/lib/routes.ts +304 -0
- package/src/admin/ui/src/lib/subsidies.ts +75 -0
- package/src/admin/ui/src/routeTree.gen.ts +63 -0
- package/src/admin/ui/src/routes/__root.tsx +12 -1
- package/src/admin/ui/src/routes/api-keys.tsx +196 -84
- package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +105 -70
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +239 -23
- package/src/admin/ui/src/routes/routes.tsx +1615 -0
- package/src/admin/ui/src/routes/routes_.support.tsx +248 -0
- package/src/admin/ui/src/routes/subsidies.tsx +799 -0
- package/src/admin/ui.generated.ts +144 -69
- package/src/analytics/Analytics.test.ts +108 -18
- package/src/analytics/Analytics.ts +38 -6
- package/src/analytics/tables/requestEvents.test.ts +100 -0
- package/src/analytics/tables/requestEvents.ts +10 -1
- package/src/analytics/tables/routesLifecycleIntervals.ts +140 -0
- package/src/apps/Zones.test.ts +15 -0
- package/src/apps/Zones.ts +52 -5
- package/src/apps/composition.test.ts +68 -60
- package/src/apps/data/App.test.ts +154 -2
- package/src/apps/data/App.ts +88 -28
- package/src/apps/data/routes/activities.test.ts +419 -7
- package/src/apps/data/routes/activities.ts +683 -216
- package/src/apps/data/routes/balances.test.ts +2 -2
- package/src/apps/data/routes/blocks.test.ts +46 -1
- package/src/apps/data/routes/coingecko.test.ts +419 -1
- package/src/apps/data/routes/coingecko.ts +309 -253
- package/src/apps/data/routes/earn.discovery.test.ts +274 -0
- package/src/apps/data/routes/earn.test.ts +1294 -17
- package/src/apps/data/routes/earn.ts +1838 -321
- package/src/apps/data/routes/exchanges.test.ts +12 -15
- package/src/apps/data/routes/fee-amm.test.ts +224 -0
- package/src/apps/data/routes/fee-amm.ts +191 -160
- package/src/apps/data/routes/indexer.test.ts +389 -0
- package/src/apps/data/routes/indexer.ts +165 -69
- package/src/apps/data/routes/receipts.test.ts +1 -1
- package/src/apps/data/routes/rpc.test.ts +352 -8
- package/src/apps/data/routes/rpc.ts +407 -219
- package/src/apps/data/routes/rpc.zone.test.ts +340 -0
- package/src/apps/data/routes/tokenlist.test.ts +285 -0
- package/src/apps/data/routes/tokenlist.ts +173 -88
- package/src/apps/data/routes/tokens.test.ts +93 -3
- package/src/apps/data/routes/tokens.ts +39 -23
- package/src/apps/data/routes/transactions.test.ts +1 -1
- package/src/apps/data/routes/transfers.test.ts +56 -24
- package/src/apps/data/routes/transfers.ts +19 -8
- package/src/apps/data/routes/valuation.test.ts +1 -1
- package/src/apps/data/routes/verified-tokens.test.ts +345 -0
- package/src/apps/data/routes/verified-tokens.ts +99 -29
- package/src/apps/data/routes/webhooks.test.ts +645 -83
- package/src/apps/data/routes/webhooks.ts +1089 -857
- package/src/apps/data/routes/zones.test.ts +148 -71
- package/src/apps/data/routes/zones.ts +71 -55
- package/src/apps/docs/reference.ts +2 -2
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +9 -51
- package/src/apps/management/Billing.test.ts +375 -14
- package/src/apps/management/Billing.ts +265 -29
- package/src/apps/management/routes/api-keys.test.ts +269 -7
- package/src/apps/management/routes/api-keys.ts +61 -20
- package/src/apps/management/routes/billing.test.ts +477 -15
- package/src/apps/management/routes/billing.ts +377 -50
- package/src/apps/management/routes/faucet.test.ts +1 -1
- package/src/apps/management/routes/faucet.ts +1 -1
- package/src/apps/management/routes/invitations.test.ts +270 -3
- package/src/apps/management/routes/invitations.ts +185 -15
- package/src/apps/management/routes/invoicePreview.test.ts +549 -0
- package/src/apps/management/routes/me.test.ts +246 -5
- package/src/apps/management/routes/me.ts +7 -2
- package/src/apps/management/routes/members.test.ts +108 -0
- package/src/apps/management/routes/orgs.test.ts +191 -3
- package/src/apps/management/routes/orgs.ts +58 -11
- package/src/apps/management/routes/projects.test.ts +33 -3
- package/src/apps/management/routes/projects.ts +6 -1
- package/src/apps/management/routes/scopes.test.ts +30 -2
- package/src/apps/management/routes/scopes.ts +4 -1
- package/src/apps/management/routes/usage.test.ts +32 -0
- package/src/apps/management/routes/usage.ts +22 -4
- package/src/apps/management/routes/webhooks.test.ts +49 -26
- package/src/apps/management/routes/webhooks.ts +78 -22
- package/src/apps/mcp.test.ts +6 -6
- package/src/apps/mcp.ts +7 -7
- package/src/apps/mpp/App.ts +37 -7
- package/src/apps/mpp/Mpp.test.ts +49 -8
- package/src/apps/mpp/Mpp.zone.test.ts +219 -0
- package/src/apps/mpp/internal/Adapter.ts +34 -0
- package/src/apps/mpp/internal/Policy.test.ts +86 -31
- package/src/apps/mpp/internal/Policy.ts +49 -7
- package/src/apps/mpp/internal/Sponsorship.test.ts +207 -0
- package/src/apps/mpp/internal/Sponsorship.ts +9 -3
- package/src/apps/relay/App.test.ts +839 -64
- package/src/apps/relay/App.ts +148 -81
- package/src/apps/relay/App.zone-billing.test.ts +257 -0
- package/src/apps/relay/Sponsorships.test.ts +67 -4
- package/src/apps/relay/Sponsorships.ts +233 -32
- package/src/apps/relay/Sponsorships.zone.test.ts +102 -0
- package/src/apps/{funding → routes}/Access.ts +6 -6
- package/src/apps/routes/App.test.ts +165 -0
- package/src/apps/routes/App.ts +96 -0
- package/src/apps/{funding → routes}/Inventory.ts +2 -2
- package/src/apps/routes/index.ts +1 -0
- package/src/apps/{funding → routes}/routes/chains.test.ts +66 -66
- package/src/apps/{funding → routes}/routes/chains.ts +23 -23
- package/src/apps/{funding → routes}/routes/deposit-addresses.test.ts +1358 -458
- package/src/apps/{funding → routes}/routes/deposit-addresses.ts +566 -246
- package/src/apps/{funding → routes}/routes/providers.test.ts +27 -33
- package/src/apps/{funding → routes}/routes/providers.ts +23 -23
- package/src/apps/{funding → routes}/routes/quotes.test.ts +298 -41
- package/src/apps/{funding → routes}/routes/quotes.ts +57 -40
- package/src/apps/{funding → routes}/routes/transfers.test.ts +1100 -353
- package/src/apps/routes/routes/transfers.ts +1332 -0
- package/src/cli/Cli.test.ts +1 -1
- package/src/cli/commands/admin.test.ts +748 -1
- package/src/cli/commands/admin.ts +278 -0
- package/src/cloudflare.ts +52 -47
- package/src/db/Db.test.ts +245 -2
- package/src/db/Db.ts +1476 -34
- package/src/db/Schema.ts +729 -228
- package/src/db/tables/apiKeyAdmissionBootstraps.ts +4 -0
- package/src/db/tables/apiKeyAdmissions.ts +218 -0
- package/src/db/tables/apiKeyOwnerAdmissions.ts +4 -0
- package/src/db/tables/apiKeyOwnerTombstones.ts +81 -0
- package/src/db/tables/apiKeyRevocations.test.ts +74 -0
- package/src/db/tables/apiKeyRevocations.ts +121 -0
- package/src/db/tables/authAccounts.ts +105 -0
- package/src/db/tables/authSessions.ts +13 -0
- package/src/db/tables/authVerifications.ts +13 -0
- package/src/db/tables/invitations.ts +142 -45
- package/src/db/tables/memberships.ts +79 -3
- package/src/db/tables/organizations.test.ts +690 -13
- package/src/db/tables/organizations.ts +139 -55
- package/src/db/tables/projects.test.ts +16 -0
- package/src/db/tables/projects.ts +13 -3
- package/src/db/tables/requestUsage.ts +4 -1
- package/src/db/tables/rewardAccounts.ts +178 -0
- package/src/db/tables/rewardCampaignDistributors.ts +68 -0
- package/src/db/tables/rewardCampaigns.test.ts +1388 -0
- package/src/db/tables/rewardCampaigns.ts +647 -0
- package/src/db/tables/rewardCredits.ts +110 -0
- package/src/db/tables/rewardEligibilityAssociations.test.ts +271 -0
- package/src/db/tables/rewardEligibilityAssociations.ts +184 -0
- package/src/db/tables/rewardRuns.ts +514 -0
- package/src/db/tables/rewardTransactionAttempts.ts +272 -0
- package/src/db/tables/routesCatalog.test.ts +185 -0
- package/src/db/tables/routesCatalog.ts +163 -0
- package/src/db/tables/routesDepositAddresses.test.ts +1048 -0
- package/src/db/tables/routesDepositAddresses.ts +1008 -0
- package/src/db/tables/{fundingDepositRequestObservations.test.ts → routesDepositRequestObservations.test.ts} +13 -14
- package/src/db/tables/{fundingDepositRequestObservations.ts → routesDepositRequestObservations.ts} +10 -10
- package/src/db/tables/{fundingDeposits.test.ts → routesDeposits.test.ts} +316 -46
- package/src/db/tables/routesDeposits.ts +1062 -0
- package/src/db/tables/routesIdempotency.test.ts +796 -0
- package/src/db/tables/routesIdempotency.ts +496 -0
- package/src/db/tables/routesSubsidies.test.ts +120 -0
- package/src/db/tables/routesSubsidies.ts +71 -0
- package/src/db/tables/{fundingTransferEvents.ts → routesTransferEvents.ts} +4 -4
- package/src/db/tables/routesTransferSubsidies.ts +38 -0
- package/src/db/tables/routesTransferSubsidyNonces.ts +124 -0
- package/src/db/tables/routesTransferTransactions.test.ts +195 -0
- package/src/db/tables/{fundingTransferTransactions.ts → routesTransferTransactions.ts} +63 -18
- package/src/db/tables/routesTransfers.test.ts +338 -0
- package/src/db/tables/routesTransfers.ts +662 -0
- package/src/db/tables/sponsoredTransactions.test.ts +269 -45
- package/src/db/tables/sponsoredTransactions.ts +225 -65
- package/src/db/tables/sponsorshipAttributions.test.ts +160 -0
- package/src/db/tables/sponsorshipAttributions.ts +168 -0
- package/src/db/tables/sponsorshipReconciliationCursors.test.ts +115 -0
- package/src/db/tables/sponsorshipReconciliationCursors.ts +67 -0
- package/src/db/tables/stripeCustomers.test.ts +85 -0
- package/src/db/tables/stripeCustomers.ts +24 -0
- package/src/db/tables/users.test.ts +129 -0
- package/src/db/tables/users.ts +49 -3
- package/src/db/tables/webhookQueueEvents.ts +8 -1
- package/src/db/tables/webhookSubscriptions.ts +95 -20
- package/src/handlers/internal/executionError.ts +3 -4
- package/src/handlers/internal/multisig.ts +13 -816
- package/src/handlers/internal/sponsorship.ts +26 -10
- package/src/handlers/relay.test-d.ts +9 -1
- package/src/handlers/relay.test.ts +823 -3
- package/src/handlers/relay.ts +127 -107
- package/src/index.test-d.ts +7 -0
- package/src/index.ts +0 -17
- package/src/internal/AssetResponse.ts +26 -0
- package/src/internal/Auth.test.ts +1564 -9
- package/src/internal/Auth.ts +833 -239
- package/src/internal/BetterAuth.test.ts +242 -0
- package/src/internal/BetterAuth.ts +349 -0
- package/src/internal/Cache.ts +2 -0
- package/src/internal/EarnRates.test.ts +17 -0
- package/src/internal/EarnRates.ts +124 -31
- package/src/internal/EarnSharePrices.test.ts +182 -0
- package/src/internal/EarnSharePrices.ts +313 -0
- package/src/internal/EarnVaults.test.ts +21 -0
- package/src/internal/EarnVaults.ts +33 -11
- package/src/internal/Email.ts +54 -0
- package/src/internal/Idempotency.test.ts +2 -2
- package/src/internal/Log.test-d.ts +8 -7
- package/src/internal/Log.test.ts +114 -16
- package/src/internal/Log.ts +53 -40
- package/src/internal/MetricSink.test.ts +313 -26
- package/src/internal/MetricSink.ts +73 -8
- package/src/internal/Mpp.test.ts +31 -0
- package/src/internal/Mpp.ts +21 -24
- package/src/internal/OpenApi.ts +45 -12
- package/src/internal/Provider.test.ts +1 -1
- package/src/internal/Provider.ts +1 -1
- package/src/internal/RateLimit.test.ts +21 -3
- package/src/internal/RateLimit.ts +12 -1
- package/src/internal/Store.test-d.ts +1 -1
- package/src/internal/Store.test.ts +151 -8
- package/src/internal/Store.ts +76 -9
- package/src/internal/Tidx.test.ts +59 -8
- package/src/internal/Tidx.ts +86 -14
- package/src/internal/Timing.test.ts +77 -0
- package/src/internal/Timing.ts +83 -6
- package/src/internal/VercelOidc.test.ts +188 -0
- package/src/internal/VercelOidc.ts +193 -0
- package/src/internal/VerifiedTokens.test.ts +60 -6
- package/src/internal/VerifiedTokens.ts +21 -24
- package/src/internal/Viem.batch.test.ts +80 -0
- package/src/internal/Viem.test.ts +201 -2
- package/src/internal/Viem.ts +221 -25
- package/src/internal/Webhooks.test.ts +85 -6
- package/src/internal/Webhooks.ts +22 -4
- package/src/internal/ZoneRpc.ts +50 -0
- package/src/internal/exchange/Provider.test.ts +2 -2
- package/src/internal/index.test.ts +3 -1
- package/src/internal/index.ts +3 -1
- package/src/internal/rewards/Audit.ts +231 -0
- package/src/internal/rewards/Campaigns.test.ts +1234 -0
- package/src/internal/rewards/Campaigns.ts +1205 -0
- package/src/internal/rewards/Credits.ts +165 -0
- package/src/internal/rewards/Events.local.test.ts +113 -0
- package/src/internal/rewards/Events.test.ts +152 -0
- package/src/internal/rewards/Events.ts +468 -0
- package/src/internal/rewards/Projection.test.ts +681 -0
- package/src/internal/rewards/Projection.ts +987 -0
- package/src/internal/rewards/Rates.test.ts +171 -0
- package/src/internal/rewards/Rates.ts +110 -0
- package/src/internal/rewards/Read.test.ts +501 -0
- package/src/internal/rewards/Read.ts +476 -0
- package/src/internal/rewards/Runner.checkpoint.test.ts +80 -0
- package/src/internal/rewards/Runner.states.test.ts +188 -0
- package/src/internal/rewards/Runner.test.ts +90 -0
- package/src/internal/rewards/Runner.ts +2229 -0
- package/src/internal/rewards/Signer.test.ts +79 -0
- package/src/internal/rewards/Signer.ts +180 -0
- package/src/internal/rewards/index.ts +14 -0
- package/src/internal/{funding → routes}/Action.test.ts +63 -14
- package/src/internal/{funding → routes}/Action.ts +35 -8
- package/src/internal/{funding → routes}/Catalog.test.ts +3 -3
- package/src/internal/{funding → routes}/Catalog.ts +39 -39
- package/src/internal/{funding → routes}/Chain.test.ts +1 -1
- package/src/internal/{funding → routes}/Chain.ts +11 -11
- package/src/internal/{funding → routes}/Deposit.test.ts +1 -1
- package/src/internal/{funding → routes}/Deposit.ts +93 -45
- package/src/internal/{funding → routes}/DepositAddress.test.ts +11 -3
- package/src/internal/{funding → routes}/DepositAddress.ts +132 -53
- package/src/internal/{funding → routes}/DepositWebhook.test.ts +61 -18
- package/src/internal/{funding → routes}/DepositWebhook.ts +9 -9
- package/src/internal/routes/Economics.test.ts +42 -0
- package/src/internal/routes/Economics.ts +47 -0
- package/src/internal/{funding → routes}/Evidence.test.ts +6 -6
- package/src/internal/{funding → routes}/Evidence.ts +9 -9
- package/src/internal/routes/Observability.test.ts +636 -0
- package/src/internal/routes/Observability.ts +668 -0
- package/src/internal/{funding → routes}/Provider.test.ts +489 -153
- package/src/internal/{funding → routes}/Provider.ts +489 -186
- package/src/internal/{funding → routes}/Reconciliation.local.test.ts +84 -12
- package/src/internal/{funding → routes}/Reconciliation.test.ts +1213 -279
- package/src/internal/{funding → routes}/Reconciliation.ts +501 -203
- package/src/internal/routes/Reconciliation.unattributed.test.ts +250 -0
- package/src/internal/{funding → routes}/Route.ts +7 -7
- package/src/internal/{funding → routes}/SourceObservation.test.ts +13 -14
- package/src/internal/{funding → routes}/SourceObservation.ts +13 -13
- package/src/internal/{funding → routes}/Subsidy.local.test.ts +7 -7
- package/src/internal/routes/Subsidy.test.ts +169 -0
- package/src/internal/{funding → routes}/Subsidy.ts +86 -6
- package/src/internal/{funding → routes}/Token.test.ts +1 -1
- package/src/internal/{funding → routes}/Token.ts +5 -5
- package/src/internal/routes/Transfer.test.ts +1199 -0
- package/src/internal/routes/Transfer.ts +1206 -0
- package/src/internal/routes/TransferReconciliation.test.ts +731 -0
- package/src/internal/routes/TransferReconciliation.ts +527 -0
- package/src/internal/routes/TransferSubsidy.test.ts +172 -0
- package/src/internal/routes/TransferSubsidy.ts +447 -0
- package/src/internal/{funding → routes}/TransferWebhook.test.ts +13 -13
- package/src/internal/{funding → routes}/TransferWebhook.ts +7 -7
- package/src/internal/{funding → routes}/index.test.ts +5 -3
- package/src/internal/{funding → routes}/index.ts +2 -0
- package/src/internal/{funding → routes}/providers/across.ts +16 -16
- package/src/internal/{funding → routes}/providers/index.test.ts +157 -44
- package/src/internal/{funding → routes}/providers/relay.test.ts +165 -32
- package/src/internal/{funding → routes}/providers/relay.ts +228 -121
- package/src/internal/{funding → routes}/providers/rhino.ts +16 -16
- package/src/internal/{funding → routes}/providers/squid.ts +17 -17
- package/src/internal/routes/providers/stargate.test.ts +728 -0
- package/src/internal/routes/providers/stargate.ts +1276 -0
- package/src/internal/{funding → routes}/providers/symbiosis.ts +64 -24
- package/src/internal/webhookDestinations/slack.ts +10 -10
- package/src/providers/index.ts +13 -13
- package/src/server.ts +18 -0
- package/dist/apps/funding/Access.d.ts.map +0 -1
- package/dist/apps/funding/Access.js.map +0 -1
- package/dist/apps/funding/App.js.map +0 -1
- package/dist/apps/funding/Inventory.d.ts.map +0 -1
- package/dist/apps/funding/Inventory.js.map +0 -1
- package/dist/apps/funding/ProviderAttempts.d.ts +0 -5
- package/dist/apps/funding/ProviderAttempts.d.ts.map +0 -1
- package/dist/apps/funding/ProviderAttempts.js +0 -24
- package/dist/apps/funding/ProviderAttempts.js.map +0 -1
- package/dist/apps/funding/index.d.ts +0 -2
- package/dist/apps/funding/index.d.ts.map +0 -1
- package/dist/apps/funding/index.js +0 -2
- package/dist/apps/funding/index.js.map +0 -1
- package/dist/apps/funding/routes/chains.d.ts.map +0 -1
- package/dist/apps/funding/routes/chains.js.map +0 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +0 -1
- package/dist/apps/funding/routes/deposit-addresses.js.map +0 -1
- package/dist/apps/funding/routes/providers.d.ts.map +0 -1
- package/dist/apps/funding/routes/providers.js +0 -57
- package/dist/apps/funding/routes/providers.js.map +0 -1
- package/dist/apps/funding/routes/quotes.d.ts.map +0 -1
- package/dist/apps/funding/routes/quotes.js.map +0 -1
- package/dist/apps/funding/routes/transfers.d.ts.map +0 -1
- package/dist/apps/funding/routes/transfers.js +0 -828
- package/dist/apps/funding/routes/transfers.js.map +0 -1
- package/dist/db/tables/fundingCatalog.d.ts +0 -58
- package/dist/db/tables/fundingCatalog.d.ts.map +0 -1
- package/dist/db/tables/fundingCatalog.js.map +0 -1
- package/dist/db/tables/fundingDepositAddresses.d.ts +0 -192
- package/dist/db/tables/fundingDepositAddresses.d.ts.map +0 -1
- package/dist/db/tables/fundingDepositAddresses.js +0 -235
- package/dist/db/tables/fundingDepositAddresses.js.map +0 -1
- package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +0 -1
- package/dist/db/tables/fundingDepositRequestObservations.js.map +0 -1
- package/dist/db/tables/fundingDeposits.d.ts.map +0 -1
- package/dist/db/tables/fundingDeposits.js +0 -295
- package/dist/db/tables/fundingDeposits.js.map +0 -1
- package/dist/db/tables/fundingIdempotency.d.ts +0 -91
- package/dist/db/tables/fundingIdempotency.d.ts.map +0 -1
- package/dist/db/tables/fundingIdempotency.js +0 -103
- package/dist/db/tables/fundingIdempotency.js.map +0 -1
- package/dist/db/tables/fundingTransferEvents.d.ts.map +0 -1
- package/dist/db/tables/fundingTransferEvents.js.map +0 -1
- package/dist/db/tables/fundingTransferTransactions.d.ts +0 -53
- package/dist/db/tables/fundingTransferTransactions.d.ts.map +0 -1
- package/dist/db/tables/fundingTransferTransactions.js.map +0 -1
- package/dist/db/tables/fundingTransfers.d.ts +0 -99
- package/dist/db/tables/fundingTransfers.d.ts.map +0 -1
- package/dist/db/tables/fundingTransfers.js +0 -110
- package/dist/db/tables/fundingTransfers.js.map +0 -1
- package/dist/internal/funding/Action.d.ts.map +0 -1
- package/dist/internal/funding/Action.js.map +0 -1
- package/dist/internal/funding/Catalog.d.ts.map +0 -1
- package/dist/internal/funding/Catalog.js.map +0 -1
- package/dist/internal/funding/Chain.d.ts.map +0 -1
- package/dist/internal/funding/Chain.js.map +0 -1
- package/dist/internal/funding/Deposit.d.ts.map +0 -1
- package/dist/internal/funding/Deposit.js.map +0 -1
- package/dist/internal/funding/DepositAddress.d.ts.map +0 -1
- package/dist/internal/funding/DepositAddress.js.map +0 -1
- package/dist/internal/funding/DepositWebhook.d.ts.map +0 -1
- package/dist/internal/funding/DepositWebhook.js.map +0 -1
- package/dist/internal/funding/Evidence.d.ts.map +0 -1
- package/dist/internal/funding/Evidence.js.map +0 -1
- package/dist/internal/funding/Provider.d.ts.map +0 -1
- package/dist/internal/funding/Provider.js.map +0 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +0 -1
- package/dist/internal/funding/Reconciliation.js.map +0 -1
- package/dist/internal/funding/Route.d.ts +0 -21
- package/dist/internal/funding/Route.d.ts.map +0 -1
- package/dist/internal/funding/Route.js.map +0 -1
- package/dist/internal/funding/SourceObservation.d.ts.map +0 -1
- package/dist/internal/funding/SourceObservation.js.map +0 -1
- package/dist/internal/funding/Subsidy.d.ts.map +0 -1
- package/dist/internal/funding/Subsidy.js.map +0 -1
- package/dist/internal/funding/Token.d.ts.map +0 -1
- package/dist/internal/funding/Token.js.map +0 -1
- package/dist/internal/funding/Transfer.d.ts.map +0 -1
- package/dist/internal/funding/Transfer.js +0 -462
- package/dist/internal/funding/Transfer.js.map +0 -1
- package/dist/internal/funding/TransferReconciliation.d.ts.map +0 -1
- package/dist/internal/funding/TransferReconciliation.js +0 -192
- package/dist/internal/funding/TransferReconciliation.js.map +0 -1
- package/dist/internal/funding/TransferWebhook.d.ts.map +0 -1
- package/dist/internal/funding/TransferWebhook.js.map +0 -1
- package/dist/internal/funding/index.d.ts.map +0 -1
- package/dist/internal/funding/index.js.map +0 -1
- package/dist/internal/funding/providers/across.d.ts.map +0 -1
- package/dist/internal/funding/providers/across.js.map +0 -1
- package/dist/internal/funding/providers/relay.d.ts.map +0 -1
- package/dist/internal/funding/providers/relay.js.map +0 -1
- package/dist/internal/funding/providers/rhino.d.ts.map +0 -1
- package/dist/internal/funding/providers/rhino.js.map +0 -1
- package/dist/internal/funding/providers/squid.d.ts.map +0 -1
- package/dist/internal/funding/providers/squid.js.map +0 -1
- package/dist/internal/funding/providers/stargate.d.ts.map +0 -1
- package/dist/internal/funding/providers/stargate.js +0 -579
- package/dist/internal/funding/providers/stargate.js.map +0 -1
- package/dist/internal/funding/providers/symbiosis.d.ts.map +0 -1
- package/dist/internal/funding/providers/symbiosis.js.map +0 -1
- package/src/apps/funding/App.test.ts +0 -78
- package/src/apps/funding/App.ts +0 -88
- package/src/apps/funding/ProviderAttempts.ts +0 -26
- package/src/apps/funding/index.ts +0 -1
- package/src/apps/funding/routes/transfers.ts +0 -987
- package/src/db/tables/fundingCatalog.test.ts +0 -122
- package/src/db/tables/fundingCatalog.ts +0 -163
- package/src/db/tables/fundingDepositAddresses.test.ts +0 -608
- package/src/db/tables/fundingDepositAddresses.ts +0 -443
- package/src/db/tables/fundingDeposits.ts +0 -572
- package/src/db/tables/fundingIdempotency.test.ts +0 -182
- package/src/db/tables/fundingIdempotency.ts +0 -180
- package/src/db/tables/fundingTransferTransactions.test.ts +0 -112
- package/src/db/tables/fundingTransfers.test.ts +0 -115
- package/src/db/tables/fundingTransfers.ts +0 -189
- package/src/handlers/internal/multisig.test.ts +0 -818
- package/src/internal/funding/Subsidy.test.ts +0 -75
- package/src/internal/funding/Transfer.test.ts +0 -524
- package/src/internal/funding/Transfer.ts +0 -762
- package/src/internal/funding/TransferReconciliation.test.ts +0 -147
- package/src/internal/funding/TransferReconciliation.ts +0 -264
- package/src/internal/funding/providers/stargate.test.ts +0 -328
- package/src/internal/funding/providers/stargate.ts +0 -856
- /package/dist/apps/{funding → routes}/Inventory.d.ts +0 -0
- /package/src/internal/{funding → routes}/Route.test.ts +0 -0
|
@@ -14,9 +14,9 @@ export declare namespace schema {
|
|
|
14
14
|
}>>;
|
|
15
15
|
eventType: z.ZodMiniEnum<{
|
|
16
16
|
"block:created": "block:created";
|
|
17
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
18
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
19
17
|
"log:emitted": "log:emitted";
|
|
18
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
19
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
20
20
|
"token:transfer": "token:transfer";
|
|
21
21
|
"transaction:included": "transaction:included";
|
|
22
22
|
}>;
|
|
@@ -55,7 +55,7 @@ export declare namespace schema {
|
|
|
55
55
|
error: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
56
56
|
eventId: z.ZodMiniString<string>;
|
|
57
57
|
id: z.ZodMiniString<string>;
|
|
58
|
-
requestUrl: z.
|
|
58
|
+
requestUrl: z.ZodMiniURL;
|
|
59
59
|
responseMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
60
60
|
responseStatus: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
61
61
|
status: z.ZodMiniEnum<{
|
|
@@ -68,11 +68,7 @@ export declare namespace schema {
|
|
|
68
68
|
/** Schemas for creating an organization webhook. */
|
|
69
69
|
namespace createWebhook {
|
|
70
70
|
/** Organization webhook creation requires an explicit network. */
|
|
71
|
-
const Body: z.
|
|
72
|
-
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
73
|
-
mainnet: "mainnet";
|
|
74
|
-
testnet: "testnet";
|
|
75
|
-
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
71
|
+
const Body: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
76
72
|
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
77
73
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
78
74
|
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
@@ -96,11 +92,12 @@ export declare namespace schema {
|
|
|
96
92
|
sender: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
97
93
|
token: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
98
94
|
}, z.core.$strip>>;
|
|
95
|
+
chainId: z.ZodMiniNumber<number>;
|
|
96
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
97
|
+
production: "production";
|
|
98
|
+
sandbox: "sandbox";
|
|
99
|
+
}>>;
|
|
99
100
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
100
|
-
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
101
|
-
mainnet: "mainnet";
|
|
102
|
-
testnet: "testnet";
|
|
103
|
-
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
104
101
|
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
105
102
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
106
103
|
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
@@ -256,11 +253,12 @@ export declare namespace schema {
|
|
|
256
253
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
257
254
|
}, z.core.$strict>]>>;
|
|
258
255
|
}, z.core.$strict>>;
|
|
256
|
+
chainId: z.ZodMiniNumber<number>;
|
|
257
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
258
|
+
production: "production";
|
|
259
|
+
sandbox: "sandbox";
|
|
260
|
+
}>>;
|
|
259
261
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
260
|
-
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
261
|
-
mainnet: "mainnet";
|
|
262
|
-
testnet: "testnet";
|
|
263
|
-
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
264
262
|
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
265
263
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
266
264
|
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
@@ -324,11 +322,12 @@ export declare namespace schema {
|
|
|
324
322
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
325
323
|
}, z.core.$strict>]>>;
|
|
326
324
|
}, z.core.$strict>;
|
|
325
|
+
chainId: z.ZodMiniNumber<number>;
|
|
326
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
327
|
+
production: "production";
|
|
328
|
+
sandbox: "sandbox";
|
|
329
|
+
}>>;
|
|
327
330
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
328
|
-
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
329
|
-
mainnet: "mainnet";
|
|
330
|
-
testnet: "testnet";
|
|
331
|
-
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
332
331
|
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
333
332
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
334
333
|
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
@@ -390,11 +389,12 @@ export declare namespace schema {
|
|
|
390
389
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
391
390
|
}, z.core.$strict>]>>;
|
|
392
391
|
}, z.core.$strict>>;
|
|
392
|
+
chainId: z.ZodMiniNumber<number>;
|
|
393
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
394
|
+
production: "production";
|
|
395
|
+
sandbox: "sandbox";
|
|
396
|
+
}>>;
|
|
393
397
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
394
|
-
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
395
|
-
mainnet: "mainnet";
|
|
396
|
-
testnet: "testnet";
|
|
397
|
-
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
398
398
|
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
399
399
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
400
400
|
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
@@ -411,7 +411,7 @@ export declare namespace schema {
|
|
|
411
411
|
type: z.ZodMiniLiteral<"betterstack">;
|
|
412
412
|
url: z.ZodMiniURL;
|
|
413
413
|
}, z.core.$strip>], "type">;
|
|
414
|
-
eventType: z.ZodMiniLiteral<"
|
|
414
|
+
eventType: z.ZodMiniLiteral<"routes:deposit.updated">;
|
|
415
415
|
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
416
416
|
depositAddressId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
417
417
|
recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
@@ -425,11 +425,12 @@ export declare namespace schema {
|
|
|
425
425
|
settling: "settling";
|
|
426
426
|
}>>;
|
|
427
427
|
}, z.core.$strict>>;
|
|
428
|
+
chainId: z.ZodMiniNumber<number>;
|
|
429
|
+
environment: z.ZodMiniEnum<{
|
|
430
|
+
production: "production";
|
|
431
|
+
sandbox: "sandbox";
|
|
432
|
+
}>;
|
|
428
433
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
429
|
-
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
430
|
-
mainnet: "mainnet";
|
|
431
|
-
testnet: "testnet";
|
|
432
|
-
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
433
434
|
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
434
435
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
435
436
|
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
@@ -446,7 +447,7 @@ export declare namespace schema {
|
|
|
446
447
|
type: z.ZodMiniLiteral<"betterstack">;
|
|
447
448
|
url: z.ZodMiniURL;
|
|
448
449
|
}, z.core.$strip>], "type">;
|
|
449
|
-
eventType: z.ZodMiniLiteral<"
|
|
450
|
+
eventType: z.ZodMiniLiteral<"routes:transfer.updated">;
|
|
450
451
|
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
451
452
|
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
452
453
|
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
@@ -459,13 +460,12 @@ export declare namespace schema {
|
|
|
459
460
|
refunding: "refunding";
|
|
460
461
|
}>>;
|
|
461
462
|
}, z.core.$strict>>;
|
|
462
|
-
}, z.core.$strip>], "eventType">, z.ZodMiniObject<{
|
|
463
463
|
chainId: z.ZodMiniNumber<number>;
|
|
464
|
-
environment: z.
|
|
464
|
+
environment: z.ZodMiniEnum<{
|
|
465
465
|
production: "production";
|
|
466
466
|
sandbox: "sandbox";
|
|
467
|
-
}
|
|
468
|
-
}, z.core.$strip
|
|
467
|
+
}>;
|
|
468
|
+
}, z.core.$strip>], "eventType">;
|
|
469
469
|
/** Created webhook with transport credentials redacted. */
|
|
470
470
|
const Response: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
471
471
|
chainId: z.ZodMiniNumber<number>;
|
|
@@ -476,9 +476,9 @@ export declare namespace schema {
|
|
|
476
476
|
}>>;
|
|
477
477
|
eventType: z.ZodMiniEnum<{
|
|
478
478
|
"block:created": "block:created";
|
|
479
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
480
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
481
479
|
"log:emitted": "log:emitted";
|
|
480
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
481
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
482
482
|
"token:transfer": "token:transfer";
|
|
483
483
|
"transaction:included": "transaction:included";
|
|
484
484
|
}>;
|
|
@@ -512,9 +512,9 @@ export declare namespace schema {
|
|
|
512
512
|
}>>;
|
|
513
513
|
eventType: z.ZodMiniEnum<{
|
|
514
514
|
"block:created": "block:created";
|
|
515
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
516
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
517
515
|
"log:emitted": "log:emitted";
|
|
516
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
517
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
518
518
|
"token:transfer": "token:transfer";
|
|
519
519
|
"transaction:included": "transaction:included";
|
|
520
520
|
}>;
|
|
@@ -547,9 +547,9 @@ export declare namespace schema {
|
|
|
547
547
|
}>>;
|
|
548
548
|
eventType: z.ZodMiniEnum<{
|
|
549
549
|
"block:created": "block:created";
|
|
550
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
551
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
552
550
|
"log:emitted": "log:emitted";
|
|
551
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
552
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
553
553
|
"token:transfer": "token:transfer";
|
|
554
554
|
"transaction:included": "transaction:included";
|
|
555
555
|
}>;
|
|
@@ -606,7 +606,7 @@ export declare namespace schema {
|
|
|
606
606
|
error: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
607
607
|
eventId: z.ZodMiniString<string>;
|
|
608
608
|
id: z.ZodMiniString<string>;
|
|
609
|
-
requestUrl: z.
|
|
609
|
+
requestUrl: z.ZodMiniURL;
|
|
610
610
|
responseMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
611
611
|
responseStatus: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
612
612
|
status: z.ZodMiniEnum<{
|
|
@@ -636,7 +636,7 @@ export declare namespace schema {
|
|
|
636
636
|
error: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
637
637
|
eventId: z.ZodMiniString<string>;
|
|
638
638
|
id: z.ZodMiniString<string>;
|
|
639
|
-
requestUrl: z.
|
|
639
|
+
requestUrl: z.ZodMiniURL;
|
|
640
640
|
responseMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
641
641
|
responseStatus: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
642
642
|
status: z.ZodMiniEnum<{
|
|
@@ -951,10 +951,14 @@ export declare namespace schema {
|
|
|
951
951
|
}>;
|
|
952
952
|
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
953
953
|
code: z.ZodMiniEnum<{
|
|
954
|
+
billing_past_due: "billing_past_due";
|
|
955
|
+
billing_required: "billing_required";
|
|
954
956
|
delivery_failed: "delivery_failed";
|
|
955
957
|
delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
|
|
956
958
|
manual_recovery_required: "manual_recovery_required";
|
|
957
959
|
refund_failed: "refund_failed";
|
|
960
|
+
routes_subsidy_limit_exceeded: "routes_subsidy_limit_exceeded";
|
|
961
|
+
routes_subsidy_not_enabled: "routes_subsidy_not_enabled";
|
|
958
962
|
source_amount_not_supported: "source_amount_not_supported";
|
|
959
963
|
source_token_mismatch: "source_token_mismatch";
|
|
960
964
|
subsidy_balance_unavailable: "subsidy_balance_unavailable";
|
|
@@ -964,7 +968,7 @@ export declare namespace schema {
|
|
|
964
968
|
}, z.core.$strip>>;
|
|
965
969
|
updatedAt: z.ZodMiniISODateTime;
|
|
966
970
|
}, z.core.$strip>;
|
|
967
|
-
type: z.ZodMiniLiteral<"
|
|
971
|
+
type: z.ZodMiniLiteral<"routes:deposit.updated">;
|
|
968
972
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
969
973
|
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
970
974
|
mainnet: "mainnet";
|
|
@@ -992,6 +996,12 @@ export declare namespace schema {
|
|
|
992
996
|
decimals: z.ZodMiniNumber<number>;
|
|
993
997
|
formatted: z.ZodMiniString<string>;
|
|
994
998
|
}, z.core.$strip>>;
|
|
999
|
+
destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1000
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1001
|
+
currency: z.ZodMiniString<string>;
|
|
1002
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1003
|
+
formatted: z.ZodMiniString<string>;
|
|
1004
|
+
}, z.core.$strip>>;
|
|
995
1005
|
destinationChain: z.ZodMiniObject<{
|
|
996
1006
|
addressFormat: z.ZodMiniEnum<{
|
|
997
1007
|
base58: "base58";
|
|
@@ -1106,6 +1116,7 @@ export declare namespace schema {
|
|
|
1106
1116
|
verified: z.ZodMiniBoolean<boolean>;
|
|
1107
1117
|
}, z.core.$strip>;
|
|
1108
1118
|
sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1119
|
+
subsidize: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
1109
1120
|
status: z.ZodMiniEnum<{
|
|
1110
1121
|
"action-required": "action-required";
|
|
1111
1122
|
"awaiting-source": "awaiting-source";
|
|
@@ -1117,21 +1128,27 @@ export declare namespace schema {
|
|
|
1117
1128
|
}>;
|
|
1118
1129
|
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1119
1130
|
code: z.ZodMiniEnum<{
|
|
1131
|
+
billing_past_due: "billing_past_due";
|
|
1132
|
+
billing_required: "billing_required";
|
|
1120
1133
|
destination_amount_below_minimum: "destination_amount_below_minimum";
|
|
1121
1134
|
destination_recovered: "destination_recovered";
|
|
1122
1135
|
manual_recovery_required: "manual_recovery_required";
|
|
1123
1136
|
refund_failed: "refund_failed";
|
|
1137
|
+
routes_subsidy_limit_exceeded: "routes_subsidy_limit_exceeded";
|
|
1138
|
+
routes_subsidy_not_enabled: "routes_subsidy_not_enabled";
|
|
1124
1139
|
source_amount_above_maximum: "source_amount_above_maximum";
|
|
1125
1140
|
source_amount_below_minimum: "source_amount_below_minimum";
|
|
1126
1141
|
source_chain_mismatch: "source_chain_mismatch";
|
|
1127
1142
|
source_token_mismatch: "source_token_mismatch";
|
|
1143
|
+
subsidy_balance_unavailable: "subsidy_balance_unavailable";
|
|
1144
|
+
subsidy_failed: "subsidy_failed";
|
|
1128
1145
|
}>;
|
|
1129
1146
|
message: z.ZodMiniString<string>;
|
|
1130
1147
|
}, z.core.$strip>>;
|
|
1131
1148
|
updatedAt: z.ZodMiniISODateTime;
|
|
1132
1149
|
version: z.ZodMiniNumber<number>;
|
|
1133
1150
|
}, z.core.$strip>;
|
|
1134
|
-
type: z.ZodMiniLiteral<"
|
|
1151
|
+
type: z.ZodMiniLiteral<"routes:transfer.updated">;
|
|
1135
1152
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1136
1153
|
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1137
1154
|
mainnet: "mainnet";
|
|
@@ -1178,9 +1195,9 @@ export declare namespace schema {
|
|
|
1178
1195
|
}>>;
|
|
1179
1196
|
eventType: z.ZodMiniEnum<{
|
|
1180
1197
|
"block:created": "block:created";
|
|
1181
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
1182
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
1183
1198
|
"log:emitted": "log:emitted";
|
|
1199
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
1200
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
1184
1201
|
"token:transfer": "token:transfer";
|
|
1185
1202
|
"transaction:included": "transaction:included";
|
|
1186
1203
|
}>;
|
|
@@ -1245,8 +1262,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1245
1262
|
orgId: string;
|
|
1246
1263
|
};
|
|
1247
1264
|
} & {
|
|
1248
|
-
json:
|
|
1249
|
-
chainId?: unknown;
|
|
1265
|
+
json: {
|
|
1250
1266
|
context?: {
|
|
1251
1267
|
description?: string | undefined;
|
|
1252
1268
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1270,8 +1286,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1270
1286
|
sender?: `0x${string}` | undefined;
|
|
1271
1287
|
token?: `0x${string}` | undefined;
|
|
1272
1288
|
} | undefined;
|
|
1289
|
+
chainId: number;
|
|
1290
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1273
1291
|
} | {
|
|
1274
|
-
chainId?: unknown;
|
|
1275
1292
|
context?: {
|
|
1276
1293
|
description?: string | undefined;
|
|
1277
1294
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1427,8 +1444,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1427
1444
|
lte?: `0x${string}` | undefined;
|
|
1428
1445
|
} | `0x${string}` | undefined;
|
|
1429
1446
|
} | undefined;
|
|
1447
|
+
chainId: number;
|
|
1448
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1430
1449
|
} | {
|
|
1431
|
-
chainId?: unknown;
|
|
1432
1450
|
context?: {
|
|
1433
1451
|
description?: string | undefined;
|
|
1434
1452
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1492,8 +1510,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1492
1510
|
lte?: `0x${string}` | undefined;
|
|
1493
1511
|
} | `0x${string}` | undefined;
|
|
1494
1512
|
};
|
|
1513
|
+
chainId: number;
|
|
1514
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1495
1515
|
} | {
|
|
1496
|
-
chainId?: unknown;
|
|
1497
1516
|
context?: {
|
|
1498
1517
|
description?: string | undefined;
|
|
1499
1518
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1555,8 +1574,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1555
1574
|
lte?: `0x${string}` | undefined;
|
|
1556
1575
|
} | `0x${string}` | undefined;
|
|
1557
1576
|
} | undefined;
|
|
1577
|
+
chainId: number;
|
|
1578
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1558
1579
|
} | {
|
|
1559
|
-
chainId?: unknown;
|
|
1560
1580
|
context?: {
|
|
1561
1581
|
description?: string | undefined;
|
|
1562
1582
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1573,14 +1593,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1573
1593
|
type: "betterstack";
|
|
1574
1594
|
url: string;
|
|
1575
1595
|
};
|
|
1576
|
-
eventType: "
|
|
1596
|
+
eventType: "routes:deposit.updated";
|
|
1577
1597
|
filters?: {
|
|
1578
1598
|
depositAddressId?: string | undefined;
|
|
1579
1599
|
recipient?: `0x${string}` | undefined;
|
|
1580
1600
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
1581
1601
|
} | undefined;
|
|
1602
|
+
chainId: number;
|
|
1603
|
+
environment: "production" | "sandbox";
|
|
1582
1604
|
} | {
|
|
1583
|
-
chainId?: unknown;
|
|
1584
1605
|
context?: {
|
|
1585
1606
|
description?: string | undefined;
|
|
1586
1607
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1597,14 +1618,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1597
1618
|
type: "betterstack";
|
|
1598
1619
|
url: string;
|
|
1599
1620
|
};
|
|
1600
|
-
eventType: "
|
|
1621
|
+
eventType: "routes:transfer.updated";
|
|
1601
1622
|
filters?: {
|
|
1602
1623
|
id?: string | undefined;
|
|
1603
1624
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
1604
1625
|
} | undefined;
|
|
1605
|
-
}) & {
|
|
1606
1626
|
chainId: number;
|
|
1607
|
-
environment
|
|
1627
|
+
environment: "production" | "sandbox";
|
|
1608
1628
|
};
|
|
1609
1629
|
};
|
|
1610
1630
|
} | {
|
|
@@ -1623,8 +1643,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1623
1643
|
orgId: string;
|
|
1624
1644
|
};
|
|
1625
1645
|
} & {
|
|
1626
|
-
json:
|
|
1627
|
-
chainId?: unknown;
|
|
1646
|
+
json: {
|
|
1628
1647
|
context?: {
|
|
1629
1648
|
description?: string | undefined;
|
|
1630
1649
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1648,8 +1667,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1648
1667
|
sender?: `0x${string}` | undefined;
|
|
1649
1668
|
token?: `0x${string}` | undefined;
|
|
1650
1669
|
} | undefined;
|
|
1670
|
+
chainId: number;
|
|
1671
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1651
1672
|
} | {
|
|
1652
|
-
chainId?: unknown;
|
|
1653
1673
|
context?: {
|
|
1654
1674
|
description?: string | undefined;
|
|
1655
1675
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1805,8 +1825,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1805
1825
|
lte?: `0x${string}` | undefined;
|
|
1806
1826
|
} | `0x${string}` | undefined;
|
|
1807
1827
|
} | undefined;
|
|
1828
|
+
chainId: number;
|
|
1829
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1808
1830
|
} | {
|
|
1809
|
-
chainId?: unknown;
|
|
1810
1831
|
context?: {
|
|
1811
1832
|
description?: string | undefined;
|
|
1812
1833
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1870,8 +1891,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1870
1891
|
lte?: `0x${string}` | undefined;
|
|
1871
1892
|
} | `0x${string}` | undefined;
|
|
1872
1893
|
};
|
|
1894
|
+
chainId: number;
|
|
1895
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1873
1896
|
} | {
|
|
1874
|
-
chainId?: unknown;
|
|
1875
1897
|
context?: {
|
|
1876
1898
|
description?: string | undefined;
|
|
1877
1899
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1933,8 +1955,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1933
1955
|
lte?: `0x${string}` | undefined;
|
|
1934
1956
|
} | `0x${string}` | undefined;
|
|
1935
1957
|
} | undefined;
|
|
1958
|
+
chainId: number;
|
|
1959
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1936
1960
|
} | {
|
|
1937
|
-
chainId?: unknown;
|
|
1938
1961
|
context?: {
|
|
1939
1962
|
description?: string | undefined;
|
|
1940
1963
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1951,14 +1974,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1951
1974
|
type: "betterstack";
|
|
1952
1975
|
url: string;
|
|
1953
1976
|
};
|
|
1954
|
-
eventType: "
|
|
1977
|
+
eventType: "routes:deposit.updated";
|
|
1955
1978
|
filters?: {
|
|
1956
1979
|
depositAddressId?: string | undefined;
|
|
1957
1980
|
recipient?: `0x${string}` | undefined;
|
|
1958
1981
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
1959
1982
|
} | undefined;
|
|
1983
|
+
chainId: number;
|
|
1984
|
+
environment: "production" | "sandbox";
|
|
1960
1985
|
} | {
|
|
1961
|
-
chainId?: unknown;
|
|
1962
1986
|
context?: {
|
|
1963
1987
|
description?: string | undefined;
|
|
1964
1988
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1975,14 +1999,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1975
1999
|
type: "betterstack";
|
|
1976
2000
|
url: string;
|
|
1977
2001
|
};
|
|
1978
|
-
eventType: "
|
|
2002
|
+
eventType: "routes:transfer.updated";
|
|
1979
2003
|
filters?: {
|
|
1980
2004
|
id?: string | undefined;
|
|
1981
2005
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
1982
2006
|
} | undefined;
|
|
1983
|
-
}) & {
|
|
1984
2007
|
chainId: number;
|
|
1985
|
-
environment
|
|
2008
|
+
environment: "production" | "sandbox";
|
|
1986
2009
|
};
|
|
1987
2010
|
};
|
|
1988
2011
|
} | {
|
|
@@ -2001,8 +2024,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2001
2024
|
orgId: string;
|
|
2002
2025
|
};
|
|
2003
2026
|
} & {
|
|
2004
|
-
json:
|
|
2005
|
-
chainId?: unknown;
|
|
2027
|
+
json: {
|
|
2006
2028
|
context?: {
|
|
2007
2029
|
description?: string | undefined;
|
|
2008
2030
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2026,8 +2048,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2026
2048
|
sender?: `0x${string}` | undefined;
|
|
2027
2049
|
token?: `0x${string}` | undefined;
|
|
2028
2050
|
} | undefined;
|
|
2051
|
+
chainId: number;
|
|
2052
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2029
2053
|
} | {
|
|
2030
|
-
chainId?: unknown;
|
|
2031
2054
|
context?: {
|
|
2032
2055
|
description?: string | undefined;
|
|
2033
2056
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2183,8 +2206,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2183
2206
|
lte?: `0x${string}` | undefined;
|
|
2184
2207
|
} | `0x${string}` | undefined;
|
|
2185
2208
|
} | undefined;
|
|
2209
|
+
chainId: number;
|
|
2210
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2186
2211
|
} | {
|
|
2187
|
-
chainId?: unknown;
|
|
2188
2212
|
context?: {
|
|
2189
2213
|
description?: string | undefined;
|
|
2190
2214
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2248,8 +2272,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2248
2272
|
lte?: `0x${string}` | undefined;
|
|
2249
2273
|
} | `0x${string}` | undefined;
|
|
2250
2274
|
};
|
|
2275
|
+
chainId: number;
|
|
2276
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2251
2277
|
} | {
|
|
2252
|
-
chainId?: unknown;
|
|
2253
2278
|
context?: {
|
|
2254
2279
|
description?: string | undefined;
|
|
2255
2280
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2311,8 +2336,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2311
2336
|
lte?: `0x${string}` | undefined;
|
|
2312
2337
|
} | `0x${string}` | undefined;
|
|
2313
2338
|
} | undefined;
|
|
2339
|
+
chainId: number;
|
|
2340
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2314
2341
|
} | {
|
|
2315
|
-
chainId?: unknown;
|
|
2316
2342
|
context?: {
|
|
2317
2343
|
description?: string | undefined;
|
|
2318
2344
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2329,14 +2355,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2329
2355
|
type: "betterstack";
|
|
2330
2356
|
url: string;
|
|
2331
2357
|
};
|
|
2332
|
-
eventType: "
|
|
2358
|
+
eventType: "routes:deposit.updated";
|
|
2333
2359
|
filters?: {
|
|
2334
2360
|
depositAddressId?: string | undefined;
|
|
2335
2361
|
recipient?: `0x${string}` | undefined;
|
|
2336
2362
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2337
2363
|
} | undefined;
|
|
2364
|
+
chainId: number;
|
|
2365
|
+
environment: "production" | "sandbox";
|
|
2338
2366
|
} | {
|
|
2339
|
-
chainId?: unknown;
|
|
2340
2367
|
context?: {
|
|
2341
2368
|
description?: string | undefined;
|
|
2342
2369
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2353,20 +2380,19 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2353
2380
|
type: "betterstack";
|
|
2354
2381
|
url: string;
|
|
2355
2382
|
};
|
|
2356
|
-
eventType: "
|
|
2383
|
+
eventType: "routes:transfer.updated";
|
|
2357
2384
|
filters?: {
|
|
2358
2385
|
id?: string | undefined;
|
|
2359
2386
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
2360
2387
|
} | undefined;
|
|
2361
|
-
}) & {
|
|
2362
2388
|
chainId: number;
|
|
2363
|
-
environment
|
|
2389
|
+
environment: "production" | "sandbox";
|
|
2364
2390
|
};
|
|
2365
2391
|
};
|
|
2366
2392
|
} | {
|
|
2367
2393
|
output: {
|
|
2368
2394
|
error: {
|
|
2369
|
-
code: "
|
|
2395
|
+
code: "chain_id_unsupported";
|
|
2370
2396
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2371
2397
|
message: string;
|
|
2372
2398
|
};
|
|
@@ -2379,8 +2405,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2379
2405
|
orgId: string;
|
|
2380
2406
|
};
|
|
2381
2407
|
} & {
|
|
2382
|
-
json:
|
|
2383
|
-
chainId?: unknown;
|
|
2408
|
+
json: {
|
|
2384
2409
|
context?: {
|
|
2385
2410
|
description?: string | undefined;
|
|
2386
2411
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2404,8 +2429,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2404
2429
|
sender?: `0x${string}` | undefined;
|
|
2405
2430
|
token?: `0x${string}` | undefined;
|
|
2406
2431
|
} | undefined;
|
|
2432
|
+
chainId: number;
|
|
2433
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2407
2434
|
} | {
|
|
2408
|
-
chainId?: unknown;
|
|
2409
2435
|
context?: {
|
|
2410
2436
|
description?: string | undefined;
|
|
2411
2437
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2561,8 +2587,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2561
2587
|
lte?: `0x${string}` | undefined;
|
|
2562
2588
|
} | `0x${string}` | undefined;
|
|
2563
2589
|
} | undefined;
|
|
2590
|
+
chainId: number;
|
|
2591
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2564
2592
|
} | {
|
|
2565
|
-
chainId?: unknown;
|
|
2566
2593
|
context?: {
|
|
2567
2594
|
description?: string | undefined;
|
|
2568
2595
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2626,8 +2653,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2626
2653
|
lte?: `0x${string}` | undefined;
|
|
2627
2654
|
} | `0x${string}` | undefined;
|
|
2628
2655
|
};
|
|
2656
|
+
chainId: number;
|
|
2657
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2629
2658
|
} | {
|
|
2630
|
-
chainId?: unknown;
|
|
2631
2659
|
context?: {
|
|
2632
2660
|
description?: string | undefined;
|
|
2633
2661
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2689,8 +2717,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2689
2717
|
lte?: `0x${string}` | undefined;
|
|
2690
2718
|
} | `0x${string}` | undefined;
|
|
2691
2719
|
} | undefined;
|
|
2720
|
+
chainId: number;
|
|
2721
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2692
2722
|
} | {
|
|
2693
|
-
chainId?: unknown;
|
|
2694
2723
|
context?: {
|
|
2695
2724
|
description?: string | undefined;
|
|
2696
2725
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2707,14 +2736,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2707
2736
|
type: "betterstack";
|
|
2708
2737
|
url: string;
|
|
2709
2738
|
};
|
|
2710
|
-
eventType: "
|
|
2739
|
+
eventType: "routes:deposit.updated";
|
|
2711
2740
|
filters?: {
|
|
2712
2741
|
depositAddressId?: string | undefined;
|
|
2713
2742
|
recipient?: `0x${string}` | undefined;
|
|
2714
2743
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2715
2744
|
} | undefined;
|
|
2745
|
+
chainId: number;
|
|
2746
|
+
environment: "production" | "sandbox";
|
|
2716
2747
|
} | {
|
|
2717
|
-
chainId?: unknown;
|
|
2718
2748
|
context?: {
|
|
2719
2749
|
description?: string | undefined;
|
|
2720
2750
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2731,20 +2761,19 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2731
2761
|
type: "betterstack";
|
|
2732
2762
|
url: string;
|
|
2733
2763
|
};
|
|
2734
|
-
eventType: "
|
|
2764
|
+
eventType: "routes:transfer.updated";
|
|
2735
2765
|
filters?: {
|
|
2736
2766
|
id?: string | undefined;
|
|
2737
2767
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
2738
2768
|
} | undefined;
|
|
2739
|
-
}) & {
|
|
2740
2769
|
chainId: number;
|
|
2741
|
-
environment
|
|
2770
|
+
environment: "production" | "sandbox";
|
|
2742
2771
|
};
|
|
2743
2772
|
};
|
|
2744
2773
|
} | {
|
|
2745
2774
|
output: {
|
|
2746
2775
|
error: {
|
|
2747
|
-
code: "
|
|
2776
|
+
code: "param_invalid";
|
|
2748
2777
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2749
2778
|
message: string;
|
|
2750
2779
|
};
|
|
@@ -2757,8 +2786,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2757
2786
|
orgId: string;
|
|
2758
2787
|
};
|
|
2759
2788
|
} & {
|
|
2760
|
-
json:
|
|
2761
|
-
chainId?: unknown;
|
|
2789
|
+
json: {
|
|
2762
2790
|
context?: {
|
|
2763
2791
|
description?: string | undefined;
|
|
2764
2792
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2782,8 +2810,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2782
2810
|
sender?: `0x${string}` | undefined;
|
|
2783
2811
|
token?: `0x${string}` | undefined;
|
|
2784
2812
|
} | undefined;
|
|
2813
|
+
chainId: number;
|
|
2814
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2785
2815
|
} | {
|
|
2786
|
-
chainId?: unknown;
|
|
2787
2816
|
context?: {
|
|
2788
2817
|
description?: string | undefined;
|
|
2789
2818
|
metadata?: Record<string, string> | undefined;
|
|
@@ -2939,8 +2968,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2939
2968
|
lte?: `0x${string}` | undefined;
|
|
2940
2969
|
} | `0x${string}` | undefined;
|
|
2941
2970
|
} | undefined;
|
|
2971
|
+
chainId: number;
|
|
2972
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2942
2973
|
} | {
|
|
2943
|
-
chainId?: unknown;
|
|
2944
2974
|
context?: {
|
|
2945
2975
|
description?: string | undefined;
|
|
2946
2976
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3004,8 +3034,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3004
3034
|
lte?: `0x${string}` | undefined;
|
|
3005
3035
|
} | `0x${string}` | undefined;
|
|
3006
3036
|
};
|
|
3037
|
+
chainId: number;
|
|
3038
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3007
3039
|
} | {
|
|
3008
|
-
chainId?: unknown;
|
|
3009
3040
|
context?: {
|
|
3010
3041
|
description?: string | undefined;
|
|
3011
3042
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3067,8 +3098,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3067
3098
|
lte?: `0x${string}` | undefined;
|
|
3068
3099
|
} | `0x${string}` | undefined;
|
|
3069
3100
|
} | undefined;
|
|
3101
|
+
chainId: number;
|
|
3102
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3070
3103
|
} | {
|
|
3071
|
-
chainId?: unknown;
|
|
3072
3104
|
context?: {
|
|
3073
3105
|
description?: string | undefined;
|
|
3074
3106
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3085,14 +3117,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3085
3117
|
type: "betterstack";
|
|
3086
3118
|
url: string;
|
|
3087
3119
|
};
|
|
3088
|
-
eventType: "
|
|
3120
|
+
eventType: "routes:deposit.updated";
|
|
3089
3121
|
filters?: {
|
|
3090
3122
|
depositAddressId?: string | undefined;
|
|
3091
3123
|
recipient?: `0x${string}` | undefined;
|
|
3092
3124
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3093
3125
|
} | undefined;
|
|
3126
|
+
chainId: number;
|
|
3127
|
+
environment: "production" | "sandbox";
|
|
3094
3128
|
} | {
|
|
3095
|
-
chainId?: unknown;
|
|
3096
3129
|
context?: {
|
|
3097
3130
|
description?: string | undefined;
|
|
3098
3131
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3109,20 +3142,19 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3109
3142
|
type: "betterstack";
|
|
3110
3143
|
url: string;
|
|
3111
3144
|
};
|
|
3112
|
-
eventType: "
|
|
3145
|
+
eventType: "routes:transfer.updated";
|
|
3113
3146
|
filters?: {
|
|
3114
3147
|
id?: string | undefined;
|
|
3115
3148
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
3116
3149
|
} | undefined;
|
|
3117
|
-
}) & {
|
|
3118
3150
|
chainId: number;
|
|
3119
|
-
environment
|
|
3151
|
+
environment: "production" | "sandbox";
|
|
3120
3152
|
};
|
|
3121
3153
|
};
|
|
3122
3154
|
} | {
|
|
3123
3155
|
output: {
|
|
3124
3156
|
error: {
|
|
3125
|
-
code: "
|
|
3157
|
+
code: "body_invalid";
|
|
3126
3158
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3127
3159
|
message: string;
|
|
3128
3160
|
};
|
|
@@ -3135,8 +3167,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3135
3167
|
orgId: string;
|
|
3136
3168
|
};
|
|
3137
3169
|
} & {
|
|
3138
|
-
json:
|
|
3139
|
-
chainId?: unknown;
|
|
3170
|
+
json: {
|
|
3140
3171
|
context?: {
|
|
3141
3172
|
description?: string | undefined;
|
|
3142
3173
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3160,8 +3191,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3160
3191
|
sender?: `0x${string}` | undefined;
|
|
3161
3192
|
token?: `0x${string}` | undefined;
|
|
3162
3193
|
} | undefined;
|
|
3194
|
+
chainId: number;
|
|
3195
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3163
3196
|
} | {
|
|
3164
|
-
chainId?: unknown;
|
|
3165
3197
|
context?: {
|
|
3166
3198
|
description?: string | undefined;
|
|
3167
3199
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3317,8 +3349,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3317
3349
|
lte?: `0x${string}` | undefined;
|
|
3318
3350
|
} | `0x${string}` | undefined;
|
|
3319
3351
|
} | undefined;
|
|
3352
|
+
chainId: number;
|
|
3353
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3320
3354
|
} | {
|
|
3321
|
-
chainId?: unknown;
|
|
3322
3355
|
context?: {
|
|
3323
3356
|
description?: string | undefined;
|
|
3324
3357
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3382,8 +3415,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3382
3415
|
lte?: `0x${string}` | undefined;
|
|
3383
3416
|
} | `0x${string}` | undefined;
|
|
3384
3417
|
};
|
|
3418
|
+
chainId: number;
|
|
3419
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3385
3420
|
} | {
|
|
3386
|
-
chainId?: unknown;
|
|
3387
3421
|
context?: {
|
|
3388
3422
|
description?: string | undefined;
|
|
3389
3423
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3445,8 +3479,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3445
3479
|
lte?: `0x${string}` | undefined;
|
|
3446
3480
|
} | `0x${string}` | undefined;
|
|
3447
3481
|
} | undefined;
|
|
3482
|
+
chainId: number;
|
|
3483
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3448
3484
|
} | {
|
|
3449
|
-
chainId?: unknown;
|
|
3450
3485
|
context?: {
|
|
3451
3486
|
description?: string | undefined;
|
|
3452
3487
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3463,14 +3498,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3463
3498
|
type: "betterstack";
|
|
3464
3499
|
url: string;
|
|
3465
3500
|
};
|
|
3466
|
-
eventType: "
|
|
3501
|
+
eventType: "routes:deposit.updated";
|
|
3467
3502
|
filters?: {
|
|
3468
3503
|
depositAddressId?: string | undefined;
|
|
3469
3504
|
recipient?: `0x${string}` | undefined;
|
|
3470
3505
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3471
3506
|
} | undefined;
|
|
3507
|
+
chainId: number;
|
|
3508
|
+
environment: "production" | "sandbox";
|
|
3472
3509
|
} | {
|
|
3473
|
-
chainId?: unknown;
|
|
3474
3510
|
context?: {
|
|
3475
3511
|
description?: string | undefined;
|
|
3476
3512
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3487,14 +3523,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3487
3523
|
type: "betterstack";
|
|
3488
3524
|
url: string;
|
|
3489
3525
|
};
|
|
3490
|
-
eventType: "
|
|
3526
|
+
eventType: "routes:transfer.updated";
|
|
3491
3527
|
filters?: {
|
|
3492
3528
|
id?: string | undefined;
|
|
3493
3529
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
3494
3530
|
} | undefined;
|
|
3495
|
-
}) & {
|
|
3496
3531
|
chainId: number;
|
|
3497
|
-
environment
|
|
3532
|
+
environment: "production" | "sandbox";
|
|
3498
3533
|
};
|
|
3499
3534
|
};
|
|
3500
3535
|
} | {
|
|
@@ -3513,8 +3548,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3513
3548
|
orgId: string;
|
|
3514
3549
|
};
|
|
3515
3550
|
} & {
|
|
3516
|
-
json:
|
|
3517
|
-
chainId?: unknown;
|
|
3551
|
+
json: {
|
|
3518
3552
|
context?: {
|
|
3519
3553
|
description?: string | undefined;
|
|
3520
3554
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3538,8 +3572,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3538
3572
|
sender?: `0x${string}` | undefined;
|
|
3539
3573
|
token?: `0x${string}` | undefined;
|
|
3540
3574
|
} | undefined;
|
|
3575
|
+
chainId: number;
|
|
3576
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3541
3577
|
} | {
|
|
3542
|
-
chainId?: unknown;
|
|
3543
3578
|
context?: {
|
|
3544
3579
|
description?: string | undefined;
|
|
3545
3580
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3695,8 +3730,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3695
3730
|
lte?: `0x${string}` | undefined;
|
|
3696
3731
|
} | `0x${string}` | undefined;
|
|
3697
3732
|
} | undefined;
|
|
3733
|
+
chainId: number;
|
|
3734
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3698
3735
|
} | {
|
|
3699
|
-
chainId?: unknown;
|
|
3700
3736
|
context?: {
|
|
3701
3737
|
description?: string | undefined;
|
|
3702
3738
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3760,8 +3796,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3760
3796
|
lte?: `0x${string}` | undefined;
|
|
3761
3797
|
} | `0x${string}` | undefined;
|
|
3762
3798
|
};
|
|
3799
|
+
chainId: number;
|
|
3800
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3763
3801
|
} | {
|
|
3764
|
-
chainId?: unknown;
|
|
3765
3802
|
context?: {
|
|
3766
3803
|
description?: string | undefined;
|
|
3767
3804
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3823,8 +3860,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3823
3860
|
lte?: `0x${string}` | undefined;
|
|
3824
3861
|
} | `0x${string}` | undefined;
|
|
3825
3862
|
} | undefined;
|
|
3863
|
+
chainId: number;
|
|
3864
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3826
3865
|
} | {
|
|
3827
|
-
chainId?: unknown;
|
|
3828
3866
|
context?: {
|
|
3829
3867
|
description?: string | undefined;
|
|
3830
3868
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3841,14 +3879,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3841
3879
|
type: "betterstack";
|
|
3842
3880
|
url: string;
|
|
3843
3881
|
};
|
|
3844
|
-
eventType: "
|
|
3882
|
+
eventType: "routes:deposit.updated";
|
|
3845
3883
|
filters?: {
|
|
3846
3884
|
depositAddressId?: string | undefined;
|
|
3847
3885
|
recipient?: `0x${string}` | undefined;
|
|
3848
3886
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3849
3887
|
} | undefined;
|
|
3888
|
+
chainId: number;
|
|
3889
|
+
environment: "production" | "sandbox";
|
|
3850
3890
|
} | {
|
|
3851
|
-
chainId?: unknown;
|
|
3852
3891
|
context?: {
|
|
3853
3892
|
description?: string | undefined;
|
|
3854
3893
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3865,14 +3904,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3865
3904
|
type: "betterstack";
|
|
3866
3905
|
url: string;
|
|
3867
3906
|
};
|
|
3868
|
-
eventType: "
|
|
3907
|
+
eventType: "routes:transfer.updated";
|
|
3869
3908
|
filters?: {
|
|
3870
3909
|
id?: string | undefined;
|
|
3871
3910
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
3872
3911
|
} | undefined;
|
|
3873
|
-
}) & {
|
|
3874
3912
|
chainId: number;
|
|
3875
|
-
environment
|
|
3913
|
+
environment: "production" | "sandbox";
|
|
3876
3914
|
};
|
|
3877
3915
|
};
|
|
3878
3916
|
} | {
|
|
@@ -3891,8 +3929,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3891
3929
|
orgId: string;
|
|
3892
3930
|
};
|
|
3893
3931
|
} & {
|
|
3894
|
-
json:
|
|
3895
|
-
chainId?: unknown;
|
|
3932
|
+
json: {
|
|
3896
3933
|
context?: {
|
|
3897
3934
|
description?: string | undefined;
|
|
3898
3935
|
metadata?: Record<string, string> | undefined;
|
|
@@ -3916,8 +3953,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3916
3953
|
sender?: `0x${string}` | undefined;
|
|
3917
3954
|
token?: `0x${string}` | undefined;
|
|
3918
3955
|
} | undefined;
|
|
3956
|
+
chainId: number;
|
|
3957
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3919
3958
|
} | {
|
|
3920
|
-
chainId?: unknown;
|
|
3921
3959
|
context?: {
|
|
3922
3960
|
description?: string | undefined;
|
|
3923
3961
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4073,8 +4111,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4073
4111
|
lte?: `0x${string}` | undefined;
|
|
4074
4112
|
} | `0x${string}` | undefined;
|
|
4075
4113
|
} | undefined;
|
|
4114
|
+
chainId: number;
|
|
4115
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4076
4116
|
} | {
|
|
4077
|
-
chainId?: unknown;
|
|
4078
4117
|
context?: {
|
|
4079
4118
|
description?: string | undefined;
|
|
4080
4119
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4138,8 +4177,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4138
4177
|
lte?: `0x${string}` | undefined;
|
|
4139
4178
|
} | `0x${string}` | undefined;
|
|
4140
4179
|
};
|
|
4180
|
+
chainId: number;
|
|
4181
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4141
4182
|
} | {
|
|
4142
|
-
chainId?: unknown;
|
|
4143
4183
|
context?: {
|
|
4144
4184
|
description?: string | undefined;
|
|
4145
4185
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4201,8 +4241,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4201
4241
|
lte?: `0x${string}` | undefined;
|
|
4202
4242
|
} | `0x${string}` | undefined;
|
|
4203
4243
|
} | undefined;
|
|
4244
|
+
chainId: number;
|
|
4245
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4204
4246
|
} | {
|
|
4205
|
-
chainId?: unknown;
|
|
4206
4247
|
context?: {
|
|
4207
4248
|
description?: string | undefined;
|
|
4208
4249
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4219,14 +4260,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4219
4260
|
type: "betterstack";
|
|
4220
4261
|
url: string;
|
|
4221
4262
|
};
|
|
4222
|
-
eventType: "
|
|
4263
|
+
eventType: "routes:deposit.updated";
|
|
4223
4264
|
filters?: {
|
|
4224
4265
|
depositAddressId?: string | undefined;
|
|
4225
4266
|
recipient?: `0x${string}` | undefined;
|
|
4226
4267
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4227
4268
|
} | undefined;
|
|
4269
|
+
chainId: number;
|
|
4270
|
+
environment: "production" | "sandbox";
|
|
4228
4271
|
} | {
|
|
4229
|
-
chainId?: unknown;
|
|
4230
4272
|
context?: {
|
|
4231
4273
|
description?: string | undefined;
|
|
4232
4274
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4243,14 +4285,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4243
4285
|
type: "betterstack";
|
|
4244
4286
|
url: string;
|
|
4245
4287
|
};
|
|
4246
|
-
eventType: "
|
|
4288
|
+
eventType: "routes:transfer.updated";
|
|
4247
4289
|
filters?: {
|
|
4248
4290
|
id?: string | undefined;
|
|
4249
4291
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
4250
4292
|
} | undefined;
|
|
4251
|
-
}) & {
|
|
4252
4293
|
chainId: number;
|
|
4253
|
-
environment
|
|
4294
|
+
environment: "production" | "sandbox";
|
|
4254
4295
|
};
|
|
4255
4296
|
};
|
|
4256
4297
|
} | {
|
|
@@ -4269,8 +4310,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4269
4310
|
orgId: string;
|
|
4270
4311
|
};
|
|
4271
4312
|
} & {
|
|
4272
|
-
json:
|
|
4273
|
-
chainId?: unknown;
|
|
4313
|
+
json: {
|
|
4274
4314
|
context?: {
|
|
4275
4315
|
description?: string | undefined;
|
|
4276
4316
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4294,8 +4334,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4294
4334
|
sender?: `0x${string}` | undefined;
|
|
4295
4335
|
token?: `0x${string}` | undefined;
|
|
4296
4336
|
} | undefined;
|
|
4337
|
+
chainId: number;
|
|
4338
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4297
4339
|
} | {
|
|
4298
|
-
chainId?: unknown;
|
|
4299
4340
|
context?: {
|
|
4300
4341
|
description?: string | undefined;
|
|
4301
4342
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4451,8 +4492,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4451
4492
|
lte?: `0x${string}` | undefined;
|
|
4452
4493
|
} | `0x${string}` | undefined;
|
|
4453
4494
|
} | undefined;
|
|
4495
|
+
chainId: number;
|
|
4496
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4454
4497
|
} | {
|
|
4455
|
-
chainId?: unknown;
|
|
4456
4498
|
context?: {
|
|
4457
4499
|
description?: string | undefined;
|
|
4458
4500
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4516,8 +4558,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4516
4558
|
lte?: `0x${string}` | undefined;
|
|
4517
4559
|
} | `0x${string}` | undefined;
|
|
4518
4560
|
};
|
|
4561
|
+
chainId: number;
|
|
4562
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4519
4563
|
} | {
|
|
4520
|
-
chainId?: unknown;
|
|
4521
4564
|
context?: {
|
|
4522
4565
|
description?: string | undefined;
|
|
4523
4566
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4579,8 +4622,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4579
4622
|
lte?: `0x${string}` | undefined;
|
|
4580
4623
|
} | `0x${string}` | undefined;
|
|
4581
4624
|
} | undefined;
|
|
4625
|
+
chainId: number;
|
|
4626
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4582
4627
|
} | {
|
|
4583
|
-
chainId?: unknown;
|
|
4584
4628
|
context?: {
|
|
4585
4629
|
description?: string | undefined;
|
|
4586
4630
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4597,14 +4641,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4597
4641
|
type: "betterstack";
|
|
4598
4642
|
url: string;
|
|
4599
4643
|
};
|
|
4600
|
-
eventType: "
|
|
4644
|
+
eventType: "routes:deposit.updated";
|
|
4601
4645
|
filters?: {
|
|
4602
4646
|
depositAddressId?: string | undefined;
|
|
4603
4647
|
recipient?: `0x${string}` | undefined;
|
|
4604
4648
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4605
4649
|
} | undefined;
|
|
4650
|
+
chainId: number;
|
|
4651
|
+
environment: "production" | "sandbox";
|
|
4606
4652
|
} | {
|
|
4607
|
-
chainId?: unknown;
|
|
4608
4653
|
context?: {
|
|
4609
4654
|
description?: string | undefined;
|
|
4610
4655
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4621,14 +4666,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4621
4666
|
type: "betterstack";
|
|
4622
4667
|
url: string;
|
|
4623
4668
|
};
|
|
4624
|
-
eventType: "
|
|
4669
|
+
eventType: "routes:transfer.updated";
|
|
4625
4670
|
filters?: {
|
|
4626
4671
|
id?: string | undefined;
|
|
4627
4672
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
4628
4673
|
} | undefined;
|
|
4629
|
-
}) & {
|
|
4630
4674
|
chainId: number;
|
|
4631
|
-
environment
|
|
4675
|
+
environment: "production" | "sandbox";
|
|
4632
4676
|
};
|
|
4633
4677
|
};
|
|
4634
4678
|
} | {
|
|
@@ -4647,8 +4691,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4647
4691
|
orgId: string;
|
|
4648
4692
|
};
|
|
4649
4693
|
} & {
|
|
4650
|
-
json:
|
|
4651
|
-
chainId?: unknown;
|
|
4694
|
+
json: {
|
|
4652
4695
|
context?: {
|
|
4653
4696
|
description?: string | undefined;
|
|
4654
4697
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4672,8 +4715,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4672
4715
|
sender?: `0x${string}` | undefined;
|
|
4673
4716
|
token?: `0x${string}` | undefined;
|
|
4674
4717
|
} | undefined;
|
|
4718
|
+
chainId: number;
|
|
4719
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4675
4720
|
} | {
|
|
4676
|
-
chainId?: unknown;
|
|
4677
4721
|
context?: {
|
|
4678
4722
|
description?: string | undefined;
|
|
4679
4723
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4829,8 +4873,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4829
4873
|
lte?: `0x${string}` | undefined;
|
|
4830
4874
|
} | `0x${string}` | undefined;
|
|
4831
4875
|
} | undefined;
|
|
4876
|
+
chainId: number;
|
|
4877
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4832
4878
|
} | {
|
|
4833
|
-
chainId?: unknown;
|
|
4834
4879
|
context?: {
|
|
4835
4880
|
description?: string | undefined;
|
|
4836
4881
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4894,8 +4939,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4894
4939
|
lte?: `0x${string}` | undefined;
|
|
4895
4940
|
} | `0x${string}` | undefined;
|
|
4896
4941
|
};
|
|
4942
|
+
chainId: number;
|
|
4943
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4897
4944
|
} | {
|
|
4898
|
-
chainId?: unknown;
|
|
4899
4945
|
context?: {
|
|
4900
4946
|
description?: string | undefined;
|
|
4901
4947
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4957,8 +5003,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4957
5003
|
lte?: `0x${string}` | undefined;
|
|
4958
5004
|
} | `0x${string}` | undefined;
|
|
4959
5005
|
} | undefined;
|
|
5006
|
+
chainId: number;
|
|
5007
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4960
5008
|
} | {
|
|
4961
|
-
chainId?: unknown;
|
|
4962
5009
|
context?: {
|
|
4963
5010
|
description?: string | undefined;
|
|
4964
5011
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4975,14 +5022,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4975
5022
|
type: "betterstack";
|
|
4976
5023
|
url: string;
|
|
4977
5024
|
};
|
|
4978
|
-
eventType: "
|
|
5025
|
+
eventType: "routes:deposit.updated";
|
|
4979
5026
|
filters?: {
|
|
4980
5027
|
depositAddressId?: string | undefined;
|
|
4981
5028
|
recipient?: `0x${string}` | undefined;
|
|
4982
5029
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4983
5030
|
} | undefined;
|
|
5031
|
+
chainId: number;
|
|
5032
|
+
environment: "production" | "sandbox";
|
|
4984
5033
|
} | {
|
|
4985
|
-
chainId?: unknown;
|
|
4986
5034
|
context?: {
|
|
4987
5035
|
description?: string | undefined;
|
|
4988
5036
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4999,14 +5047,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4999
5047
|
type: "betterstack";
|
|
5000
5048
|
url: string;
|
|
5001
5049
|
};
|
|
5002
|
-
eventType: "
|
|
5050
|
+
eventType: "routes:transfer.updated";
|
|
5003
5051
|
filters?: {
|
|
5004
5052
|
id?: string | undefined;
|
|
5005
5053
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
5006
5054
|
} | undefined;
|
|
5007
|
-
}) & {
|
|
5008
5055
|
chainId: number;
|
|
5009
|
-
environment
|
|
5056
|
+
environment: "production" | "sandbox";
|
|
5010
5057
|
};
|
|
5011
5058
|
};
|
|
5012
5059
|
} | {
|
|
@@ -5025,8 +5072,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5025
5072
|
orgId: string;
|
|
5026
5073
|
};
|
|
5027
5074
|
} & {
|
|
5028
|
-
json:
|
|
5029
|
-
chainId?: unknown;
|
|
5075
|
+
json: {
|
|
5030
5076
|
context?: {
|
|
5031
5077
|
description?: string | undefined;
|
|
5032
5078
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5050,8 +5096,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5050
5096
|
sender?: `0x${string}` | undefined;
|
|
5051
5097
|
token?: `0x${string}` | undefined;
|
|
5052
5098
|
} | undefined;
|
|
5099
|
+
chainId: number;
|
|
5100
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5053
5101
|
} | {
|
|
5054
|
-
chainId?: unknown;
|
|
5055
5102
|
context?: {
|
|
5056
5103
|
description?: string | undefined;
|
|
5057
5104
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5207,8 +5254,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5207
5254
|
lte?: `0x${string}` | undefined;
|
|
5208
5255
|
} | `0x${string}` | undefined;
|
|
5209
5256
|
} | undefined;
|
|
5257
|
+
chainId: number;
|
|
5258
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5210
5259
|
} | {
|
|
5211
|
-
chainId?: unknown;
|
|
5212
5260
|
context?: {
|
|
5213
5261
|
description?: string | undefined;
|
|
5214
5262
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5272,8 +5320,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5272
5320
|
lte?: `0x${string}` | undefined;
|
|
5273
5321
|
} | `0x${string}` | undefined;
|
|
5274
5322
|
};
|
|
5323
|
+
chainId: number;
|
|
5324
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5275
5325
|
} | {
|
|
5276
|
-
chainId?: unknown;
|
|
5277
5326
|
context?: {
|
|
5278
5327
|
description?: string | undefined;
|
|
5279
5328
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5335,8 +5384,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5335
5384
|
lte?: `0x${string}` | undefined;
|
|
5336
5385
|
} | `0x${string}` | undefined;
|
|
5337
5386
|
} | undefined;
|
|
5387
|
+
chainId: number;
|
|
5388
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5338
5389
|
} | {
|
|
5339
|
-
chainId?: unknown;
|
|
5340
5390
|
context?: {
|
|
5341
5391
|
description?: string | undefined;
|
|
5342
5392
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5353,14 +5403,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5353
5403
|
type: "betterstack";
|
|
5354
5404
|
url: string;
|
|
5355
5405
|
};
|
|
5356
|
-
eventType: "
|
|
5406
|
+
eventType: "routes:deposit.updated";
|
|
5357
5407
|
filters?: {
|
|
5358
5408
|
depositAddressId?: string | undefined;
|
|
5359
5409
|
recipient?: `0x${string}` | undefined;
|
|
5360
5410
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5361
5411
|
} | undefined;
|
|
5412
|
+
chainId: number;
|
|
5413
|
+
environment: "production" | "sandbox";
|
|
5362
5414
|
} | {
|
|
5363
|
-
chainId?: unknown;
|
|
5364
5415
|
context?: {
|
|
5365
5416
|
description?: string | undefined;
|
|
5366
5417
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5377,14 +5428,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5377
5428
|
type: "betterstack";
|
|
5378
5429
|
url: string;
|
|
5379
5430
|
};
|
|
5380
|
-
eventType: "
|
|
5431
|
+
eventType: "routes:transfer.updated";
|
|
5381
5432
|
filters?: {
|
|
5382
5433
|
id?: string | undefined;
|
|
5383
5434
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
5384
5435
|
} | undefined;
|
|
5385
|
-
}) & {
|
|
5386
5436
|
chainId: number;
|
|
5387
|
-
environment
|
|
5437
|
+
environment: "production" | "sandbox";
|
|
5388
5438
|
};
|
|
5389
5439
|
};
|
|
5390
5440
|
} | {
|
|
@@ -5403,8 +5453,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5403
5453
|
orgId: string;
|
|
5404
5454
|
};
|
|
5405
5455
|
} & {
|
|
5406
|
-
json:
|
|
5407
|
-
chainId?: unknown;
|
|
5456
|
+
json: {
|
|
5408
5457
|
context?: {
|
|
5409
5458
|
description?: string | undefined;
|
|
5410
5459
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5428,8 +5477,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5428
5477
|
sender?: `0x${string}` | undefined;
|
|
5429
5478
|
token?: `0x${string}` | undefined;
|
|
5430
5479
|
} | undefined;
|
|
5480
|
+
chainId: number;
|
|
5481
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5431
5482
|
} | {
|
|
5432
|
-
chainId?: unknown;
|
|
5433
5483
|
context?: {
|
|
5434
5484
|
description?: string | undefined;
|
|
5435
5485
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5585,8 +5635,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5585
5635
|
lte?: `0x${string}` | undefined;
|
|
5586
5636
|
} | `0x${string}` | undefined;
|
|
5587
5637
|
} | undefined;
|
|
5638
|
+
chainId: number;
|
|
5639
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5588
5640
|
} | {
|
|
5589
|
-
chainId?: unknown;
|
|
5590
5641
|
context?: {
|
|
5591
5642
|
description?: string | undefined;
|
|
5592
5643
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5650,8 +5701,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5650
5701
|
lte?: `0x${string}` | undefined;
|
|
5651
5702
|
} | `0x${string}` | undefined;
|
|
5652
5703
|
};
|
|
5704
|
+
chainId: number;
|
|
5705
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5653
5706
|
} | {
|
|
5654
|
-
chainId?: unknown;
|
|
5655
5707
|
context?: {
|
|
5656
5708
|
description?: string | undefined;
|
|
5657
5709
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5713,8 +5765,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5713
5765
|
lte?: `0x${string}` | undefined;
|
|
5714
5766
|
} | `0x${string}` | undefined;
|
|
5715
5767
|
} | undefined;
|
|
5768
|
+
chainId: number;
|
|
5769
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5716
5770
|
} | {
|
|
5717
|
-
chainId?: unknown;
|
|
5718
5771
|
context?: {
|
|
5719
5772
|
description?: string | undefined;
|
|
5720
5773
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5731,14 +5784,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5731
5784
|
type: "betterstack";
|
|
5732
5785
|
url: string;
|
|
5733
5786
|
};
|
|
5734
|
-
eventType: "
|
|
5787
|
+
eventType: "routes:deposit.updated";
|
|
5735
5788
|
filters?: {
|
|
5736
5789
|
depositAddressId?: string | undefined;
|
|
5737
5790
|
recipient?: `0x${string}` | undefined;
|
|
5738
5791
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5739
5792
|
} | undefined;
|
|
5793
|
+
chainId: number;
|
|
5794
|
+
environment: "production" | "sandbox";
|
|
5740
5795
|
} | {
|
|
5741
|
-
chainId?: unknown;
|
|
5742
5796
|
context?: {
|
|
5743
5797
|
description?: string | undefined;
|
|
5744
5798
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5755,14 +5809,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5755
5809
|
type: "betterstack";
|
|
5756
5810
|
url: string;
|
|
5757
5811
|
};
|
|
5758
|
-
eventType: "
|
|
5812
|
+
eventType: "routes:transfer.updated";
|
|
5759
5813
|
filters?: {
|
|
5760
5814
|
id?: string | undefined;
|
|
5761
5815
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
5762
5816
|
} | undefined;
|
|
5763
|
-
}) & {
|
|
5764
5817
|
chainId: number;
|
|
5765
|
-
environment
|
|
5818
|
+
environment: "production" | "sandbox";
|
|
5766
5819
|
};
|
|
5767
5820
|
};
|
|
5768
5821
|
} | {
|
|
@@ -5781,8 +5834,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5781
5834
|
orgId: string;
|
|
5782
5835
|
};
|
|
5783
5836
|
} & {
|
|
5784
|
-
json:
|
|
5785
|
-
chainId?: unknown;
|
|
5837
|
+
json: {
|
|
5786
5838
|
context?: {
|
|
5787
5839
|
description?: string | undefined;
|
|
5788
5840
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5806,8 +5858,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5806
5858
|
sender?: `0x${string}` | undefined;
|
|
5807
5859
|
token?: `0x${string}` | undefined;
|
|
5808
5860
|
} | undefined;
|
|
5861
|
+
chainId: number;
|
|
5862
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5809
5863
|
} | {
|
|
5810
|
-
chainId?: unknown;
|
|
5811
5864
|
context?: {
|
|
5812
5865
|
description?: string | undefined;
|
|
5813
5866
|
metadata?: Record<string, string> | undefined;
|
|
@@ -5963,8 +6016,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5963
6016
|
lte?: `0x${string}` | undefined;
|
|
5964
6017
|
} | `0x${string}` | undefined;
|
|
5965
6018
|
} | undefined;
|
|
6019
|
+
chainId: number;
|
|
6020
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5966
6021
|
} | {
|
|
5967
|
-
chainId?: unknown;
|
|
5968
6022
|
context?: {
|
|
5969
6023
|
description?: string | undefined;
|
|
5970
6024
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6028,8 +6082,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6028
6082
|
lte?: `0x${string}` | undefined;
|
|
6029
6083
|
} | `0x${string}` | undefined;
|
|
6030
6084
|
};
|
|
6085
|
+
chainId: number;
|
|
6086
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6031
6087
|
} | {
|
|
6032
|
-
chainId?: unknown;
|
|
6033
6088
|
context?: {
|
|
6034
6089
|
description?: string | undefined;
|
|
6035
6090
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6091,8 +6146,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6091
6146
|
lte?: `0x${string}` | undefined;
|
|
6092
6147
|
} | `0x${string}` | undefined;
|
|
6093
6148
|
} | undefined;
|
|
6149
|
+
chainId: number;
|
|
6150
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6094
6151
|
} | {
|
|
6095
|
-
chainId?: unknown;
|
|
6096
6152
|
context?: {
|
|
6097
6153
|
description?: string | undefined;
|
|
6098
6154
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6109,14 +6165,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6109
6165
|
type: "betterstack";
|
|
6110
6166
|
url: string;
|
|
6111
6167
|
};
|
|
6112
|
-
eventType: "
|
|
6168
|
+
eventType: "routes:deposit.updated";
|
|
6113
6169
|
filters?: {
|
|
6114
6170
|
depositAddressId?: string | undefined;
|
|
6115
6171
|
recipient?: `0x${string}` | undefined;
|
|
6116
6172
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
6117
6173
|
} | undefined;
|
|
6174
|
+
chainId: number;
|
|
6175
|
+
environment: "production" | "sandbox";
|
|
6118
6176
|
} | {
|
|
6119
|
-
chainId?: unknown;
|
|
6120
6177
|
context?: {
|
|
6121
6178
|
description?: string | undefined;
|
|
6122
6179
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6133,14 +6190,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6133
6190
|
type: "betterstack";
|
|
6134
6191
|
url: string;
|
|
6135
6192
|
};
|
|
6136
|
-
eventType: "
|
|
6193
|
+
eventType: "routes:transfer.updated";
|
|
6137
6194
|
filters?: {
|
|
6138
6195
|
id?: string | undefined;
|
|
6139
6196
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
6140
6197
|
} | undefined;
|
|
6141
|
-
}) & {
|
|
6142
6198
|
chainId: number;
|
|
6143
|
-
environment
|
|
6199
|
+
environment: "production" | "sandbox";
|
|
6144
6200
|
};
|
|
6145
6201
|
};
|
|
6146
6202
|
} | {
|
|
@@ -6148,7 +6204,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6148
6204
|
chainId: number;
|
|
6149
6205
|
createdAt: string;
|
|
6150
6206
|
environment?: "production" | "sandbox" | undefined;
|
|
6151
|
-
eventType: "block:created" | "
|
|
6207
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6152
6208
|
expiresAt?: string | undefined;
|
|
6153
6209
|
failureCount: number;
|
|
6154
6210
|
filters: {
|
|
@@ -6174,7 +6230,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6174
6230
|
chainId: number;
|
|
6175
6231
|
createdAt: string;
|
|
6176
6232
|
environment?: "production" | "sandbox" | undefined;
|
|
6177
|
-
eventType: "block:created" | "
|
|
6233
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6178
6234
|
expiresAt?: string | undefined;
|
|
6179
6235
|
failureCount: number;
|
|
6180
6236
|
filters: {
|
|
@@ -6199,7 +6255,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6199
6255
|
chainId: number;
|
|
6200
6256
|
createdAt: string;
|
|
6201
6257
|
environment?: "production" | "sandbox" | undefined;
|
|
6202
|
-
eventType: "block:created" | "
|
|
6258
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6203
6259
|
expiresAt?: string | undefined;
|
|
6204
6260
|
failureCount: number;
|
|
6205
6261
|
filters: {
|
|
@@ -6229,8 +6285,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6229
6285
|
orgId: string;
|
|
6230
6286
|
};
|
|
6231
6287
|
} & {
|
|
6232
|
-
json:
|
|
6233
|
-
chainId?: unknown;
|
|
6288
|
+
json: {
|
|
6234
6289
|
context?: {
|
|
6235
6290
|
description?: string | undefined;
|
|
6236
6291
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6254,8 +6309,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6254
6309
|
sender?: `0x${string}` | undefined;
|
|
6255
6310
|
token?: `0x${string}` | undefined;
|
|
6256
6311
|
} | undefined;
|
|
6312
|
+
chainId: number;
|
|
6313
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6257
6314
|
} | {
|
|
6258
|
-
chainId?: unknown;
|
|
6259
6315
|
context?: {
|
|
6260
6316
|
description?: string | undefined;
|
|
6261
6317
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6411,8 +6467,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6411
6467
|
lte?: `0x${string}` | undefined;
|
|
6412
6468
|
} | `0x${string}` | undefined;
|
|
6413
6469
|
} | undefined;
|
|
6470
|
+
chainId: number;
|
|
6471
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6414
6472
|
} | {
|
|
6415
|
-
chainId?: unknown;
|
|
6416
6473
|
context?: {
|
|
6417
6474
|
description?: string | undefined;
|
|
6418
6475
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6476,8 +6533,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6476
6533
|
lte?: `0x${string}` | undefined;
|
|
6477
6534
|
} | `0x${string}` | undefined;
|
|
6478
6535
|
};
|
|
6536
|
+
chainId: number;
|
|
6537
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6479
6538
|
} | {
|
|
6480
|
-
chainId?: unknown;
|
|
6481
6539
|
context?: {
|
|
6482
6540
|
description?: string | undefined;
|
|
6483
6541
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6539,8 +6597,9 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6539
6597
|
lte?: `0x${string}` | undefined;
|
|
6540
6598
|
} | `0x${string}` | undefined;
|
|
6541
6599
|
} | undefined;
|
|
6600
|
+
chainId: number;
|
|
6601
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6542
6602
|
} | {
|
|
6543
|
-
chainId?: unknown;
|
|
6544
6603
|
context?: {
|
|
6545
6604
|
description?: string | undefined;
|
|
6546
6605
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6557,14 +6616,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6557
6616
|
type: "betterstack";
|
|
6558
6617
|
url: string;
|
|
6559
6618
|
};
|
|
6560
|
-
eventType: "
|
|
6619
|
+
eventType: "routes:deposit.updated";
|
|
6561
6620
|
filters?: {
|
|
6562
6621
|
depositAddressId?: string | undefined;
|
|
6563
6622
|
recipient?: `0x${string}` | undefined;
|
|
6564
6623
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
6565
6624
|
} | undefined;
|
|
6625
|
+
chainId: number;
|
|
6626
|
+
environment: "production" | "sandbox";
|
|
6566
6627
|
} | {
|
|
6567
|
-
chainId?: unknown;
|
|
6568
6628
|
context?: {
|
|
6569
6629
|
description?: string | undefined;
|
|
6570
6630
|
metadata?: Record<string, string> | undefined;
|
|
@@ -6581,14 +6641,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6581
6641
|
type: "betterstack";
|
|
6582
6642
|
url: string;
|
|
6583
6643
|
};
|
|
6584
|
-
eventType: "
|
|
6644
|
+
eventType: "routes:transfer.updated";
|
|
6585
6645
|
filters?: {
|
|
6586
6646
|
id?: string | undefined;
|
|
6587
6647
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
6588
6648
|
} | undefined;
|
|
6589
|
-
}) & {
|
|
6590
6649
|
chainId: number;
|
|
6591
|
-
environment
|
|
6650
|
+
environment: "production" | "sandbox";
|
|
6592
6651
|
};
|
|
6593
6652
|
};
|
|
6594
6653
|
};
|
|
@@ -6713,7 +6772,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6713
6772
|
chainId: number;
|
|
6714
6773
|
createdAt: string;
|
|
6715
6774
|
environment?: "production" | "sandbox" | undefined;
|
|
6716
|
-
eventType: "block:created" | "
|
|
6775
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6717
6776
|
expiresAt?: string | undefined;
|
|
6718
6777
|
failureCount: number;
|
|
6719
6778
|
filters: {
|
|
@@ -7459,12 +7518,12 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7459
7518
|
sourceTransferIndex?: number | undefined;
|
|
7460
7519
|
status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
|
|
7461
7520
|
statusReason?: {
|
|
7462
|
-
code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
7521
|
+
code: "billing_past_due" | "billing_required" | "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
7463
7522
|
message: string;
|
|
7464
7523
|
} | undefined;
|
|
7465
7524
|
updatedAt: string;
|
|
7466
7525
|
};
|
|
7467
|
-
type: "
|
|
7526
|
+
type: "routes:deposit.updated";
|
|
7468
7527
|
} | {
|
|
7469
7528
|
chainId: number;
|
|
7470
7529
|
context?: {
|
|
@@ -7491,6 +7550,12 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7491
7550
|
decimals: number;
|
|
7492
7551
|
formatted: string;
|
|
7493
7552
|
} | undefined;
|
|
7553
|
+
destinationAmountRequired?: {
|
|
7554
|
+
baseUnits: string;
|
|
7555
|
+
currency: string;
|
|
7556
|
+
decimals: number;
|
|
7557
|
+
formatted: string;
|
|
7558
|
+
} | undefined;
|
|
7494
7559
|
destinationChain: {
|
|
7495
7560
|
addressFormat: "base58" | "base58check" | "hex";
|
|
7496
7561
|
id: string;
|
|
@@ -7578,15 +7643,16 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7578
7643
|
verified: boolean;
|
|
7579
7644
|
};
|
|
7580
7645
|
sourceTransactionHashes?: string[] | undefined;
|
|
7646
|
+
subsidize: boolean;
|
|
7581
7647
|
status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
|
|
7582
7648
|
statusReason?: {
|
|
7583
|
-
code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch";
|
|
7649
|
+
code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
7584
7650
|
message: string;
|
|
7585
7651
|
} | undefined;
|
|
7586
7652
|
updatedAt: string;
|
|
7587
7653
|
version: number;
|
|
7588
7654
|
};
|
|
7589
|
-
type: "
|
|
7655
|
+
type: "routes:transfer.updated";
|
|
7590
7656
|
} | {
|
|
7591
7657
|
chainId: number;
|
|
7592
7658
|
context?: {
|
|
@@ -7867,7 +7933,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7867
7933
|
} | {
|
|
7868
7934
|
output: {
|
|
7869
7935
|
error: {
|
|
7870
|
-
code: "
|
|
7936
|
+
code: "param_invalid";
|
|
7871
7937
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7872
7938
|
message: string;
|
|
7873
7939
|
};
|
|
@@ -7888,7 +7954,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7888
7954
|
} | {
|
|
7889
7955
|
output: {
|
|
7890
7956
|
error: {
|
|
7891
|
-
code: "
|
|
7957
|
+
code: "body_invalid";
|
|
7892
7958
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7893
7959
|
message: string;
|
|
7894
7960
|
};
|
|
@@ -7995,7 +8061,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7995
8061
|
chainId: number;
|
|
7996
8062
|
createdAt: string;
|
|
7997
8063
|
environment?: "production" | "sandbox" | undefined;
|
|
7998
|
-
eventType: "block:created" | "
|
|
8064
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
7999
8065
|
expiresAt?: string | undefined;
|
|
8000
8066
|
failureCount: number;
|
|
8001
8067
|
filters: {
|