tapimo 0.14.0 → 0.15.1
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 +12466 -10374
- 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 -546
- 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 +179 -27
- 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 +166 -160
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +27 -7
- 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 +201 -149
- 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 +629 -299
- 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 +116 -116
- 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 +113 -108
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +41 -21
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +142 -17
- 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/receipts.d.ts +235 -235
- 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 +309 -165
- 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 +93 -77
- 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 +32 -32
- package/dist/apps/data/routes/verified-tokens.d.ts +88 -88
- 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 +614 -177
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +308 -205
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- 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 +3780 -3402
- 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 +317 -215
- 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 +213 -138
- 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 +166 -166
- 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 +103 -87
- 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 +125 -125
- 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 +95 -95
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.js +7 -9
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
- package/dist/apps/management/routes/webhooks.d.ts +682 -616
- 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.d.ts.map +1 -1
- package/dist/apps/mcp.js +23 -10
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +44 -44
- 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 +32 -32
- 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 +106 -103
- 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 +733 -428
- 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 +1035 -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/verifiedTokenRequests.d.ts +21 -4
- package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.js +65 -44
- package/dist/db/tables/verifiedTokenRequests.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 +64 -12
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +631 -180
- 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 +40 -3
- package/src/admin/apps/verified-tokens.ts +33 -7
- 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/lib/verified-tokens.ts +24 -9
- package/src/admin/ui/src/routeTree.gen.ts +63 -0
- package/src/admin/ui/src/routes/__root.tsx +13 -2
- 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.tsx +34 -4
- 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/src/routes/verified-tokens.tsx +64 -20
- package/src/admin/ui.generated.ts +202 -188
- 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 +180 -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 +243 -0
- package/src/apps/data/routes/fee-amm.ts +201 -162
- 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 +384 -8
- package/src/apps/data/routes/rpc.ts +452 -227
- 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.scan.test.ts +29 -0
- package/src/apps/data/routes/webhooks.test.ts +651 -83
- package/src/apps/data/routes/webhooks.ts +1113 -868
- 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/verified-token-requests.test.ts +16 -2
- package/src/apps/management/routes/verified-token-requests.ts +7 -10
- 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 +113 -30
- package/src/apps/mcp.ts +22 -10
- 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 +1485 -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} +388 -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/verifiedTokenRequests.test.ts +39 -20
- package/src/db/tables/verifiedTokenRequests.ts +80 -44
- 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 +1656 -9
- package/src/internal/Auth.ts +880 -244
- 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 +224 -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
|
@@ -4816,6 +4816,74 @@ export declare namespace schema {
|
|
|
4816
4816
|
}, z.core.$strip>;
|
|
4817
4817
|
type: z.ZodMiniLiteral<"unknown">;
|
|
4818
4818
|
}, z.core.$strip>]>;
|
|
4819
|
+
/** Public activity types accepted by the address feed's `type` filter. */
|
|
4820
|
+
export const ActivityType: z.ZodMiniEnum<{
|
|
4821
|
+
"access-key-created": "access-key-created";
|
|
4822
|
+
"access-key-revoked": "access-key-revoked";
|
|
4823
|
+
approval: "approval";
|
|
4824
|
+
"assets-deposited": "assets-deposited";
|
|
4825
|
+
"assets-withdrawn": "assets-withdrawn";
|
|
4826
|
+
"blacklist-updated": "blacklist-updated";
|
|
4827
|
+
burn: "burn";
|
|
4828
|
+
"burn-blocked": "burn-blocked";
|
|
4829
|
+
"channel-close-cancelled": "channel-close-cancelled";
|
|
4830
|
+
"channel-closed": "channel-closed";
|
|
4831
|
+
"channel-funded": "channel-funded";
|
|
4832
|
+
"channel-opened": "channel-opened";
|
|
4833
|
+
"channel-settled": "channel-settled";
|
|
4834
|
+
"compound-policy-created": "compound-policy-created";
|
|
4835
|
+
"fee-rebalance-swap": "fee-rebalance-swap";
|
|
4836
|
+
"fee-user-token-set": "fee-user-token-set";
|
|
4837
|
+
"fee-validator-token-set": "fee-validator-token-set";
|
|
4838
|
+
"fees-distributed": "fees-distributed";
|
|
4839
|
+
initialized: "initialized";
|
|
4840
|
+
"key-authorization-witness": "key-authorization-witness";
|
|
4841
|
+
"key-authorization-witness-burned": "key-authorization-witness-burned";
|
|
4842
|
+
"master-registered": "master-registered";
|
|
4843
|
+
mint: "mint";
|
|
4844
|
+
"network-identity-rotation-epoch-set": "network-identity-rotation-epoch-set";
|
|
4845
|
+
"nonce-incremented": "nonce-incremented";
|
|
4846
|
+
"order-cancelled": "order-cancelled";
|
|
4847
|
+
"order-filled": "order-filled";
|
|
4848
|
+
"order-flipped": "order-flipped";
|
|
4849
|
+
"order-placed": "order-placed";
|
|
4850
|
+
"ownership-transferred": "ownership-transferred";
|
|
4851
|
+
"pair-created": "pair-created";
|
|
4852
|
+
"policy-admin-set": "policy-admin-set";
|
|
4853
|
+
"policy-created": "policy-created";
|
|
4854
|
+
"private-assets-deposited": "private-assets-deposited";
|
|
4855
|
+
"private-shares-redeemed": "private-shares-redeemed";
|
|
4856
|
+
"reward-distributed": "reward-distributed";
|
|
4857
|
+
"reward-recipient-set": "reward-recipient-set";
|
|
4858
|
+
"role-admin-set": "role-admin-set";
|
|
4859
|
+
"role-membership-set": "role-membership-set";
|
|
4860
|
+
"session-closed": "session-closed";
|
|
4861
|
+
"shares-deposited": "shares-deposited";
|
|
4862
|
+
"shares-redeemed": "shares-redeemed";
|
|
4863
|
+
"shares-redemption-cancelled": "shares-redemption-cancelled";
|
|
4864
|
+
"shares-redemption-finalized": "shares-redemption-finalized";
|
|
4865
|
+
"shares-redemption-requested": "shares-redemption-requested";
|
|
4866
|
+
"spending-limit-updated": "spending-limit-updated";
|
|
4867
|
+
swap: "swap";
|
|
4868
|
+
"token-created": "token-created";
|
|
4869
|
+
"token-logo-set": "token-logo-set";
|
|
4870
|
+
"token-next-quote-token-set": "token-next-quote-token-set";
|
|
4871
|
+
"token-pause-set": "token-pause-set";
|
|
4872
|
+
"token-quote-token-set": "token-quote-token-set";
|
|
4873
|
+
"token-supply-cap-set": "token-supply-cap-set";
|
|
4874
|
+
"token-transfer-policy-set": "token-transfer-policy-set";
|
|
4875
|
+
transfer: "transfer";
|
|
4876
|
+
unknown: "unknown";
|
|
4877
|
+
"validator-added": "validator-added";
|
|
4878
|
+
"validator-deactivated": "validator-deactivated";
|
|
4879
|
+
"validator-fee-recipient-set": "validator-fee-recipient-set";
|
|
4880
|
+
"validator-ip-set": "validator-ip-set";
|
|
4881
|
+
"validator-migrated": "validator-migrated";
|
|
4882
|
+
"validator-migration-skipped": "validator-migration-skipped";
|
|
4883
|
+
"validator-ownership-transferred": "validator-ownership-transferred";
|
|
4884
|
+
"validator-rotated": "validator-rotated";
|
|
4885
|
+
"whitelist-updated": "whitelist-updated";
|
|
4886
|
+
}>;
|
|
4819
4887
|
/** A folded access-key group: consecutive same-signer items on one UTC day. */
|
|
4820
4888
|
export const Group: z.ZodMiniObject<{
|
|
4821
4889
|
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
@@ -11964,6 +12032,74 @@ export declare namespace schema {
|
|
|
11964
12032
|
"token.verified": "token.verified";
|
|
11965
12033
|
zones: "zones";
|
|
11966
12034
|
}>>>;
|
|
12035
|
+
/** Parses comma-separated activity types with OR semantics. */
|
|
12036
|
+
export const typeQuery: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
|
|
12037
|
+
"access-key-created": "access-key-created";
|
|
12038
|
+
"access-key-revoked": "access-key-revoked";
|
|
12039
|
+
approval: "approval";
|
|
12040
|
+
"assets-deposited": "assets-deposited";
|
|
12041
|
+
"assets-withdrawn": "assets-withdrawn";
|
|
12042
|
+
"blacklist-updated": "blacklist-updated";
|
|
12043
|
+
burn: "burn";
|
|
12044
|
+
"burn-blocked": "burn-blocked";
|
|
12045
|
+
"channel-close-cancelled": "channel-close-cancelled";
|
|
12046
|
+
"channel-closed": "channel-closed";
|
|
12047
|
+
"channel-funded": "channel-funded";
|
|
12048
|
+
"channel-opened": "channel-opened";
|
|
12049
|
+
"channel-settled": "channel-settled";
|
|
12050
|
+
"compound-policy-created": "compound-policy-created";
|
|
12051
|
+
"fee-rebalance-swap": "fee-rebalance-swap";
|
|
12052
|
+
"fee-user-token-set": "fee-user-token-set";
|
|
12053
|
+
"fee-validator-token-set": "fee-validator-token-set";
|
|
12054
|
+
"fees-distributed": "fees-distributed";
|
|
12055
|
+
initialized: "initialized";
|
|
12056
|
+
"key-authorization-witness": "key-authorization-witness";
|
|
12057
|
+
"key-authorization-witness-burned": "key-authorization-witness-burned";
|
|
12058
|
+
"master-registered": "master-registered";
|
|
12059
|
+
mint: "mint";
|
|
12060
|
+
"network-identity-rotation-epoch-set": "network-identity-rotation-epoch-set";
|
|
12061
|
+
"nonce-incremented": "nonce-incremented";
|
|
12062
|
+
"order-cancelled": "order-cancelled";
|
|
12063
|
+
"order-filled": "order-filled";
|
|
12064
|
+
"order-flipped": "order-flipped";
|
|
12065
|
+
"order-placed": "order-placed";
|
|
12066
|
+
"ownership-transferred": "ownership-transferred";
|
|
12067
|
+
"pair-created": "pair-created";
|
|
12068
|
+
"policy-admin-set": "policy-admin-set";
|
|
12069
|
+
"policy-created": "policy-created";
|
|
12070
|
+
"private-assets-deposited": "private-assets-deposited";
|
|
12071
|
+
"private-shares-redeemed": "private-shares-redeemed";
|
|
12072
|
+
"reward-distributed": "reward-distributed";
|
|
12073
|
+
"reward-recipient-set": "reward-recipient-set";
|
|
12074
|
+
"role-admin-set": "role-admin-set";
|
|
12075
|
+
"role-membership-set": "role-membership-set";
|
|
12076
|
+
"session-closed": "session-closed";
|
|
12077
|
+
"shares-deposited": "shares-deposited";
|
|
12078
|
+
"shares-redeemed": "shares-redeemed";
|
|
12079
|
+
"shares-redemption-cancelled": "shares-redemption-cancelled";
|
|
12080
|
+
"shares-redemption-finalized": "shares-redemption-finalized";
|
|
12081
|
+
"shares-redemption-requested": "shares-redemption-requested";
|
|
12082
|
+
"spending-limit-updated": "spending-limit-updated";
|
|
12083
|
+
swap: "swap";
|
|
12084
|
+
"token-created": "token-created";
|
|
12085
|
+
"token-logo-set": "token-logo-set";
|
|
12086
|
+
"token-next-quote-token-set": "token-next-quote-token-set";
|
|
12087
|
+
"token-pause-set": "token-pause-set";
|
|
12088
|
+
"token-quote-token-set": "token-quote-token-set";
|
|
12089
|
+
"token-supply-cap-set": "token-supply-cap-set";
|
|
12090
|
+
"token-transfer-policy-set": "token-transfer-policy-set";
|
|
12091
|
+
transfer: "transfer";
|
|
12092
|
+
unknown: "unknown";
|
|
12093
|
+
"validator-added": "validator-added";
|
|
12094
|
+
"validator-deactivated": "validator-deactivated";
|
|
12095
|
+
"validator-fee-recipient-set": "validator-fee-recipient-set";
|
|
12096
|
+
"validator-ip-set": "validator-ip-set";
|
|
12097
|
+
"validator-migrated": "validator-migrated";
|
|
12098
|
+
"validator-migration-skipped": "validator-migration-skipped";
|
|
12099
|
+
"validator-ownership-transferred": "validator-ownership-transferred";
|
|
12100
|
+
"validator-rotated": "validator-rotated";
|
|
12101
|
+
"whitelist-updated": "whitelist-updated";
|
|
12102
|
+
}>>>;
|
|
11967
12103
|
/** Schemas for the getAddressActivities operation. */
|
|
11968
12104
|
export namespace getAddressActivities {
|
|
11969
12105
|
/** Path parameters for address activity requests. */
|
|
@@ -11972,6 +12108,8 @@ export declare namespace schema {
|
|
|
11972
12108
|
}, z.core.$strip>;
|
|
11973
12109
|
/** Query parameters for address activity requests. */
|
|
11974
12110
|
const Query: z.ZodMiniObject<{
|
|
12111
|
+
'amount.from': z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
12112
|
+
'amount.to': z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
11975
12113
|
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
11976
12114
|
mainnet: "mainnet";
|
|
11977
12115
|
testnet: "testnet";
|
|
@@ -11991,6 +12129,78 @@ export declare namespace schema {
|
|
|
11991
12129
|
false: "false";
|
|
11992
12130
|
true: "true";
|
|
11993
12131
|
}>, z.ZodMiniTransform<boolean, "false" | "true">>>;
|
|
12132
|
+
recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
12133
|
+
sender: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
12134
|
+
token: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
12135
|
+
type: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
|
|
12136
|
+
"access-key-created": "access-key-created";
|
|
12137
|
+
"access-key-revoked": "access-key-revoked";
|
|
12138
|
+
approval: "approval";
|
|
12139
|
+
"assets-deposited": "assets-deposited";
|
|
12140
|
+
"assets-withdrawn": "assets-withdrawn";
|
|
12141
|
+
"blacklist-updated": "blacklist-updated";
|
|
12142
|
+
burn: "burn";
|
|
12143
|
+
"burn-blocked": "burn-blocked";
|
|
12144
|
+
"channel-close-cancelled": "channel-close-cancelled";
|
|
12145
|
+
"channel-closed": "channel-closed";
|
|
12146
|
+
"channel-funded": "channel-funded";
|
|
12147
|
+
"channel-opened": "channel-opened";
|
|
12148
|
+
"channel-settled": "channel-settled";
|
|
12149
|
+
"compound-policy-created": "compound-policy-created";
|
|
12150
|
+
"fee-rebalance-swap": "fee-rebalance-swap";
|
|
12151
|
+
"fee-user-token-set": "fee-user-token-set";
|
|
12152
|
+
"fee-validator-token-set": "fee-validator-token-set";
|
|
12153
|
+
"fees-distributed": "fees-distributed";
|
|
12154
|
+
initialized: "initialized";
|
|
12155
|
+
"key-authorization-witness": "key-authorization-witness";
|
|
12156
|
+
"key-authorization-witness-burned": "key-authorization-witness-burned";
|
|
12157
|
+
"master-registered": "master-registered";
|
|
12158
|
+
mint: "mint";
|
|
12159
|
+
"network-identity-rotation-epoch-set": "network-identity-rotation-epoch-set";
|
|
12160
|
+
"nonce-incremented": "nonce-incremented";
|
|
12161
|
+
"order-cancelled": "order-cancelled";
|
|
12162
|
+
"order-filled": "order-filled";
|
|
12163
|
+
"order-flipped": "order-flipped";
|
|
12164
|
+
"order-placed": "order-placed";
|
|
12165
|
+
"ownership-transferred": "ownership-transferred";
|
|
12166
|
+
"pair-created": "pair-created";
|
|
12167
|
+
"policy-admin-set": "policy-admin-set";
|
|
12168
|
+
"policy-created": "policy-created";
|
|
12169
|
+
"private-assets-deposited": "private-assets-deposited";
|
|
12170
|
+
"private-shares-redeemed": "private-shares-redeemed";
|
|
12171
|
+
"reward-distributed": "reward-distributed";
|
|
12172
|
+
"reward-recipient-set": "reward-recipient-set";
|
|
12173
|
+
"role-admin-set": "role-admin-set";
|
|
12174
|
+
"role-membership-set": "role-membership-set";
|
|
12175
|
+
"session-closed": "session-closed";
|
|
12176
|
+
"shares-deposited": "shares-deposited";
|
|
12177
|
+
"shares-redeemed": "shares-redeemed";
|
|
12178
|
+
"shares-redemption-cancelled": "shares-redemption-cancelled";
|
|
12179
|
+
"shares-redemption-finalized": "shares-redemption-finalized";
|
|
12180
|
+
"shares-redemption-requested": "shares-redemption-requested";
|
|
12181
|
+
"spending-limit-updated": "spending-limit-updated";
|
|
12182
|
+
swap: "swap";
|
|
12183
|
+
"token-created": "token-created";
|
|
12184
|
+
"token-logo-set": "token-logo-set";
|
|
12185
|
+
"token-next-quote-token-set": "token-next-quote-token-set";
|
|
12186
|
+
"token-pause-set": "token-pause-set";
|
|
12187
|
+
"token-quote-token-set": "token-quote-token-set";
|
|
12188
|
+
"token-supply-cap-set": "token-supply-cap-set";
|
|
12189
|
+
"token-transfer-policy-set": "token-transfer-policy-set";
|
|
12190
|
+
transfer: "transfer";
|
|
12191
|
+
unknown: "unknown";
|
|
12192
|
+
"validator-added": "validator-added";
|
|
12193
|
+
"validator-deactivated": "validator-deactivated";
|
|
12194
|
+
"validator-fee-recipient-set": "validator-fee-recipient-set";
|
|
12195
|
+
"validator-ip-set": "validator-ip-set";
|
|
12196
|
+
"validator-migrated": "validator-migrated";
|
|
12197
|
+
"validator-migration-skipped": "validator-migration-skipped";
|
|
12198
|
+
"validator-ownership-transferred": "validator-ownership-transferred";
|
|
12199
|
+
"validator-rotated": "validator-rotated";
|
|
12200
|
+
"whitelist-updated": "whitelist-updated";
|
|
12201
|
+
}>>>;
|
|
12202
|
+
'valuation.amount.from': z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
12203
|
+
'valuation.amount.to': z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
11994
12204
|
'valuation.currency': z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string, string>>>;
|
|
11995
12205
|
}, z.core.$strict>;
|
|
11996
12206
|
/**
|
|
@@ -19189,7 +19399,7 @@ type UnenrichedData<data> = {
|
|
|
19189
19399
|
[key in keyof data as key extends AmountKey ? never : key]: key extends TokenKey ? UnenrichedToken | Extract<data[key], undefined> : data[key];
|
|
19190
19400
|
};
|
|
19191
19401
|
/** A classified item whose token stubs have not been enriched with structured amounts. */
|
|
19192
|
-
type UnenrichedItem = {
|
|
19402
|
+
export type UnenrichedItem = {
|
|
19193
19403
|
[type in Item['type']]: Omit<Extract<Item, {
|
|
19194
19404
|
type: type;
|
|
19195
19405
|
}>, 'data'> & {
|
|
@@ -19198,6 +19408,35 @@ type UnenrichedItem = {
|
|
|
19198
19408
|
}>['data']>;
|
|
19199
19409
|
};
|
|
19200
19410
|
}[Item['type']];
|
|
19411
|
+
/** Inclusive token amount bounds in raw base units. */
|
|
19412
|
+
export type RawAmountBounds = {
|
|
19413
|
+
/** Smallest matching amount. */
|
|
19414
|
+
from?: bigint | undefined;
|
|
19415
|
+
/** Largest matching amount. */
|
|
19416
|
+
to?: bigint | undefined;
|
|
19417
|
+
};
|
|
19418
|
+
/** Exact activity predicates evaluated against classified token movements. */
|
|
19419
|
+
export type ActivityFilter = {
|
|
19420
|
+
/** Inclusive raw base-unit range for one token leg. */
|
|
19421
|
+
amount?: RawAmountBounds | undefined;
|
|
19422
|
+
/** Required recipient on the classified activity. */
|
|
19423
|
+
recipient?: Address.Address | undefined;
|
|
19424
|
+
/** Required sender on the classified activity. */
|
|
19425
|
+
sender?: Address.Address | undefined;
|
|
19426
|
+
/** Required source, destination, or refund token on the same leg as the amount range. */
|
|
19427
|
+
token?: Address.Address | undefined;
|
|
19428
|
+
};
|
|
19429
|
+
/** Applies exact participant and same-leg token predicates after classification. */
|
|
19430
|
+
export declare function filterActivities<item extends UnenrichedItem>(options: filterActivities.Options<item>): item[];
|
|
19431
|
+
export declare namespace filterActivities {
|
|
19432
|
+
/** Inputs for exact classified activity refinement. */
|
|
19433
|
+
type Options<item extends UnenrichedItem> = {
|
|
19434
|
+
/** Exact participant and token-leg predicates. */
|
|
19435
|
+
filter: ActivityFilter;
|
|
19436
|
+
/** Classified activity items to refine. */
|
|
19437
|
+
items: readonly item[];
|
|
19438
|
+
};
|
|
19439
|
+
}
|
|
19201
19440
|
/**
|
|
19202
19441
|
* A normalized provider row. Mirrors the bounded receipt/log lookups
|
|
19203
19442
|
* (`source: 'q1'`, full log columns) and the decoded `Transfer` projection
|
|
@@ -19235,11 +19474,22 @@ export type Provider = {
|
|
|
19235
19474
|
fetchRows(options: {
|
|
19236
19475
|
address: Address.Address;
|
|
19237
19476
|
cursor?: string | undefined;
|
|
19477
|
+
/** Sound indexed predicates that may reduce the candidate set before classification. */
|
|
19478
|
+
filter?: CandidateFilter | undefined;
|
|
19238
19479
|
limit: number;
|
|
19239
19480
|
}): Promise<{
|
|
19240
19481
|
rows: Row[];
|
|
19241
19482
|
}>;
|
|
19242
19483
|
};
|
|
19484
|
+
/** A reusable two-stage filter: sound indexed candidate narrowing plus exact classified refinement. */
|
|
19485
|
+
type QueryFilter<item extends UnenrichedItem = UnenrichedItem> = {
|
|
19486
|
+
/** Predicates the provider can apply without excluding a possible classified match. */
|
|
19487
|
+
candidate?: CandidateFilter | undefined;
|
|
19488
|
+
/** Exact API semantics evaluated after transaction-level classification. */
|
|
19489
|
+
refine?: ((items: readonly item[]) => Promise<item[]> | item[]) | undefined;
|
|
19490
|
+
};
|
|
19491
|
+
/** Sound predicates an activity provider can apply before classification. */
|
|
19492
|
+
export type CandidateFilter = ActivityFilter;
|
|
19243
19493
|
/**
|
|
19244
19494
|
* Creates address-scoped activity handlers, mounted under the `/addresses`
|
|
19245
19495
|
* composer. Exposes `GET /:address/activities`.
|
|
@@ -19261,207 +19511,6 @@ export type Provider = {
|
|
|
19261
19511
|
export declare function addresses(options?: addresses.Options): import("hono/hono-base").HonoBase<App.Environment, {
|
|
19262
19512
|
"/v1/addresses/:address/activities": {
|
|
19263
19513
|
$get: {
|
|
19264
|
-
output: null;
|
|
19265
|
-
outputFormat: "body";
|
|
19266
|
-
status: 402;
|
|
19267
|
-
input: {
|
|
19268
|
-
param: {
|
|
19269
|
-
address: `0x${string}`;
|
|
19270
|
-
};
|
|
19271
|
-
} & {
|
|
19272
|
-
query?: {
|
|
19273
|
-
chainId?: string | string[];
|
|
19274
|
-
cursor?: string | string[];
|
|
19275
|
-
group?: string | string[];
|
|
19276
|
-
include?: string | string[];
|
|
19277
|
-
limit?: string | string[];
|
|
19278
|
-
logs?: string | string[];
|
|
19279
|
-
'valuation.currency'?: string | string[];
|
|
19280
|
-
} | undefined;
|
|
19281
|
-
};
|
|
19282
|
-
} | {
|
|
19283
|
-
output: {
|
|
19284
|
-
error: {
|
|
19285
|
-
code: "upstream_error";
|
|
19286
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
19287
|
-
message: string;
|
|
19288
|
-
};
|
|
19289
|
-
requestId: string;
|
|
19290
|
-
};
|
|
19291
|
-
outputFormat: "json";
|
|
19292
|
-
status: 502;
|
|
19293
|
-
input: {
|
|
19294
|
-
param: {
|
|
19295
|
-
address: `0x${string}`;
|
|
19296
|
-
};
|
|
19297
|
-
} & {
|
|
19298
|
-
query?: {
|
|
19299
|
-
chainId?: string | string[];
|
|
19300
|
-
cursor?: string | string[];
|
|
19301
|
-
group?: string | string[];
|
|
19302
|
-
include?: string | string[];
|
|
19303
|
-
limit?: string | string[];
|
|
19304
|
-
logs?: string | string[];
|
|
19305
|
-
'valuation.currency'?: string | string[];
|
|
19306
|
-
} | undefined;
|
|
19307
|
-
};
|
|
19308
|
-
} | {
|
|
19309
|
-
output: {
|
|
19310
|
-
error: {
|
|
19311
|
-
code: "query_invalid";
|
|
19312
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
19313
|
-
message: string;
|
|
19314
|
-
};
|
|
19315
|
-
requestId: string;
|
|
19316
|
-
};
|
|
19317
|
-
outputFormat: "json";
|
|
19318
|
-
status: 400;
|
|
19319
|
-
input: {
|
|
19320
|
-
param: {
|
|
19321
|
-
address: `0x${string}`;
|
|
19322
|
-
};
|
|
19323
|
-
} & {
|
|
19324
|
-
query?: {
|
|
19325
|
-
chainId?: string | string[];
|
|
19326
|
-
cursor?: string | string[];
|
|
19327
|
-
group?: string | string[];
|
|
19328
|
-
include?: string | string[];
|
|
19329
|
-
limit?: string | string[];
|
|
19330
|
-
logs?: string | string[];
|
|
19331
|
-
'valuation.currency'?: string | string[];
|
|
19332
|
-
} | undefined;
|
|
19333
|
-
};
|
|
19334
|
-
} | {
|
|
19335
|
-
output: {
|
|
19336
|
-
error: {
|
|
19337
|
-
code: "api_key_malformed";
|
|
19338
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
19339
|
-
message: string;
|
|
19340
|
-
};
|
|
19341
|
-
requestId: string;
|
|
19342
|
-
};
|
|
19343
|
-
outputFormat: "json";
|
|
19344
|
-
status: 400;
|
|
19345
|
-
input: {
|
|
19346
|
-
param: {
|
|
19347
|
-
address: `0x${string}`;
|
|
19348
|
-
};
|
|
19349
|
-
} & {
|
|
19350
|
-
query?: {
|
|
19351
|
-
chainId?: string | string[];
|
|
19352
|
-
cursor?: string | string[];
|
|
19353
|
-
group?: string | string[];
|
|
19354
|
-
include?: string | string[];
|
|
19355
|
-
limit?: string | string[];
|
|
19356
|
-
logs?: string | string[];
|
|
19357
|
-
'valuation.currency'?: string | string[];
|
|
19358
|
-
} | undefined;
|
|
19359
|
-
};
|
|
19360
|
-
} | {
|
|
19361
|
-
output: {
|
|
19362
|
-
error: {
|
|
19363
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
19364
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
19365
|
-
message: string;
|
|
19366
|
-
};
|
|
19367
|
-
requestId: string;
|
|
19368
|
-
};
|
|
19369
|
-
outputFormat: "json";
|
|
19370
|
-
status: 401;
|
|
19371
|
-
input: {
|
|
19372
|
-
param: {
|
|
19373
|
-
address: `0x${string}`;
|
|
19374
|
-
};
|
|
19375
|
-
} & {
|
|
19376
|
-
query?: {
|
|
19377
|
-
chainId?: string | string[];
|
|
19378
|
-
cursor?: string | string[];
|
|
19379
|
-
group?: string | string[];
|
|
19380
|
-
include?: string | string[];
|
|
19381
|
-
limit?: string | string[];
|
|
19382
|
-
logs?: string | string[];
|
|
19383
|
-
'valuation.currency'?: string | string[];
|
|
19384
|
-
} | undefined;
|
|
19385
|
-
};
|
|
19386
|
-
} | {
|
|
19387
|
-
output: {
|
|
19388
|
-
error: {
|
|
19389
|
-
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
19390
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
19391
|
-
message: string;
|
|
19392
|
-
};
|
|
19393
|
-
requestId: string;
|
|
19394
|
-
};
|
|
19395
|
-
outputFormat: "json";
|
|
19396
|
-
status: 403;
|
|
19397
|
-
input: {
|
|
19398
|
-
param: {
|
|
19399
|
-
address: `0x${string}`;
|
|
19400
|
-
};
|
|
19401
|
-
} & {
|
|
19402
|
-
query?: {
|
|
19403
|
-
chainId?: string | string[];
|
|
19404
|
-
cursor?: string | string[];
|
|
19405
|
-
group?: string | string[];
|
|
19406
|
-
include?: string | string[];
|
|
19407
|
-
limit?: string | string[];
|
|
19408
|
-
logs?: string | string[];
|
|
19409
|
-
'valuation.currency'?: string | string[];
|
|
19410
|
-
} | undefined;
|
|
19411
|
-
};
|
|
19412
|
-
} | {
|
|
19413
|
-
output: {
|
|
19414
|
-
error: {
|
|
19415
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
19416
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
19417
|
-
message: string;
|
|
19418
|
-
};
|
|
19419
|
-
requestId: string;
|
|
19420
|
-
};
|
|
19421
|
-
outputFormat: "json";
|
|
19422
|
-
status: 429;
|
|
19423
|
-
input: {
|
|
19424
|
-
param: {
|
|
19425
|
-
address: `0x${string}`;
|
|
19426
|
-
};
|
|
19427
|
-
} & {
|
|
19428
|
-
query?: {
|
|
19429
|
-
chainId?: string | string[];
|
|
19430
|
-
cursor?: string | string[];
|
|
19431
|
-
group?: string | string[];
|
|
19432
|
-
include?: string | string[];
|
|
19433
|
-
limit?: string | string[];
|
|
19434
|
-
logs?: string | string[];
|
|
19435
|
-
'valuation.currency'?: string | string[];
|
|
19436
|
-
} | undefined;
|
|
19437
|
-
};
|
|
19438
|
-
} | {
|
|
19439
|
-
output: {
|
|
19440
|
-
error: {
|
|
19441
|
-
code: "address_invalid";
|
|
19442
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
19443
|
-
message: string;
|
|
19444
|
-
};
|
|
19445
|
-
requestId: string;
|
|
19446
|
-
};
|
|
19447
|
-
outputFormat: "json";
|
|
19448
|
-
status: 400;
|
|
19449
|
-
input: {
|
|
19450
|
-
param: {
|
|
19451
|
-
address: `0x${string}`;
|
|
19452
|
-
};
|
|
19453
|
-
} & {
|
|
19454
|
-
query?: {
|
|
19455
|
-
chainId?: string | string[];
|
|
19456
|
-
cursor?: string | string[];
|
|
19457
|
-
group?: string | string[];
|
|
19458
|
-
include?: string | string[];
|
|
19459
|
-
limit?: string | string[];
|
|
19460
|
-
logs?: string | string[];
|
|
19461
|
-
'valuation.currency'?: string | string[];
|
|
19462
|
-
} | undefined;
|
|
19463
|
-
};
|
|
19464
|
-
} | {
|
|
19465
19514
|
output: {
|
|
19466
19515
|
data: ({
|
|
19467
19516
|
chainId?: number | undefined;
|
|
@@ -23686,80 +23735,61 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
23686
23735
|
};
|
|
23687
23736
|
} & {
|
|
23688
23737
|
query?: {
|
|
23738
|
+
'amount.from'?: string | string[];
|
|
23739
|
+
'amount.to'?: string | string[];
|
|
23689
23740
|
chainId?: string | string[];
|
|
23690
23741
|
cursor?: string | string[];
|
|
23691
23742
|
group?: string | string[];
|
|
23692
23743
|
include?: string | string[];
|
|
23693
23744
|
limit?: string | string[];
|
|
23694
23745
|
logs?: string | string[];
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23699
|
-
|
|
23700
|
-
|
|
23701
|
-
export declare namespace addresses {
|
|
23702
|
-
/** Options for the address-scoped activity handlers. */
|
|
23703
|
-
type Options = {
|
|
23704
|
-
/** FX configuration backing amount valuation. */
|
|
23705
|
-
fx?: Valuation.addresses.Fx | undefined;
|
|
23706
|
-
};
|
|
23707
|
-
}
|
|
23708
|
-
/**
|
|
23709
|
-
* Creates transaction-scoped activity handlers, mounted under the
|
|
23710
|
-
* `/transactions` composer. Exposes `GET /:transactionHash/activities`.
|
|
23711
|
-
*
|
|
23712
|
-
* Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
|
|
23713
|
-
* over a single transaction's logs, anchored on the transaction sender as the
|
|
23714
|
-
* viewer (a transaction-scoped feed has no subject account). Returns the
|
|
23715
|
-
* classified items (one per independent activity) with the full per-tx
|
|
23716
|
-
* event set available via `logs=true`.
|
|
23717
|
-
*/
|
|
23718
|
-
export declare function transactions(options?: transactions.Options): import("hono/hono-base").HonoBase<App.Environment, {
|
|
23719
|
-
"/v1/transactions/:transactionHash/activities": {
|
|
23720
|
-
$get: {
|
|
23721
|
-
output: null;
|
|
23722
|
-
outputFormat: "body";
|
|
23723
|
-
status: 402;
|
|
23724
|
-
input: {
|
|
23725
|
-
param: {
|
|
23726
|
-
transactionHash: `0x${string}`;
|
|
23727
|
-
};
|
|
23728
|
-
} & {
|
|
23729
|
-
query?: {
|
|
23730
|
-
chainId?: string | string[];
|
|
23731
|
-
include?: string | string[];
|
|
23732
|
-
logs?: string | string[];
|
|
23746
|
+
recipient?: string | string[];
|
|
23747
|
+
sender?: string | string[];
|
|
23748
|
+
token?: string | string[];
|
|
23749
|
+
type?: string | string[];
|
|
23750
|
+
'valuation.amount.from'?: string | string[];
|
|
23751
|
+
'valuation.amount.to'?: string | string[];
|
|
23733
23752
|
'valuation.currency'?: string | string[];
|
|
23734
23753
|
} | undefined;
|
|
23735
23754
|
};
|
|
23736
23755
|
} | {
|
|
23737
23756
|
output: {
|
|
23738
23757
|
error: {
|
|
23739
|
-
code: "
|
|
23758
|
+
code: "api_key_malformed";
|
|
23740
23759
|
details?: readonly Response.error.Detail[] | undefined;
|
|
23741
23760
|
message: string;
|
|
23742
23761
|
};
|
|
23743
23762
|
requestId: string;
|
|
23744
23763
|
};
|
|
23745
23764
|
outputFormat: "json";
|
|
23746
|
-
status:
|
|
23765
|
+
status: 400;
|
|
23747
23766
|
input: {
|
|
23748
23767
|
param: {
|
|
23749
|
-
|
|
23768
|
+
address: `0x${string}`;
|
|
23750
23769
|
};
|
|
23751
23770
|
} & {
|
|
23752
23771
|
query?: {
|
|
23772
|
+
'amount.from'?: string | string[];
|
|
23773
|
+
'amount.to'?: string | string[];
|
|
23753
23774
|
chainId?: string | string[];
|
|
23775
|
+
cursor?: string | string[];
|
|
23776
|
+
group?: string | string[];
|
|
23754
23777
|
include?: string | string[];
|
|
23778
|
+
limit?: string | string[];
|
|
23755
23779
|
logs?: string | string[];
|
|
23780
|
+
recipient?: string | string[];
|
|
23781
|
+
sender?: string | string[];
|
|
23782
|
+
token?: string | string[];
|
|
23783
|
+
type?: string | string[];
|
|
23784
|
+
'valuation.amount.from'?: string | string[];
|
|
23785
|
+
'valuation.amount.to'?: string | string[];
|
|
23756
23786
|
'valuation.currency'?: string | string[];
|
|
23757
23787
|
} | undefined;
|
|
23758
23788
|
};
|
|
23759
23789
|
} | {
|
|
23760
23790
|
output: {
|
|
23761
23791
|
error: {
|
|
23762
|
-
code: "
|
|
23792
|
+
code: "address_invalid";
|
|
23763
23793
|
details?: readonly Response.error.Detail[] | undefined;
|
|
23764
23794
|
message: string;
|
|
23765
23795
|
};
|
|
@@ -23769,20 +23799,31 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
23769
23799
|
status: 400;
|
|
23770
23800
|
input: {
|
|
23771
23801
|
param: {
|
|
23772
|
-
|
|
23802
|
+
address: `0x${string}`;
|
|
23773
23803
|
};
|
|
23774
23804
|
} & {
|
|
23775
23805
|
query?: {
|
|
23806
|
+
'amount.from'?: string | string[];
|
|
23807
|
+
'amount.to'?: string | string[];
|
|
23776
23808
|
chainId?: string | string[];
|
|
23809
|
+
cursor?: string | string[];
|
|
23810
|
+
group?: string | string[];
|
|
23777
23811
|
include?: string | string[];
|
|
23812
|
+
limit?: string | string[];
|
|
23778
23813
|
logs?: string | string[];
|
|
23814
|
+
recipient?: string | string[];
|
|
23815
|
+
sender?: string | string[];
|
|
23816
|
+
token?: string | string[];
|
|
23817
|
+
type?: string | string[];
|
|
23818
|
+
'valuation.amount.from'?: string | string[];
|
|
23819
|
+
'valuation.amount.to'?: string | string[];
|
|
23779
23820
|
'valuation.currency'?: string | string[];
|
|
23780
23821
|
} | undefined;
|
|
23781
23822
|
};
|
|
23782
23823
|
} | {
|
|
23783
23824
|
output: {
|
|
23784
23825
|
error: {
|
|
23785
|
-
code: "
|
|
23826
|
+
code: "query_invalid";
|
|
23786
23827
|
details?: readonly Response.error.Detail[] | undefined;
|
|
23787
23828
|
message: string;
|
|
23788
23829
|
};
|
|
@@ -23792,13 +23833,24 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
23792
23833
|
status: 400;
|
|
23793
23834
|
input: {
|
|
23794
23835
|
param: {
|
|
23795
|
-
|
|
23836
|
+
address: `0x${string}`;
|
|
23796
23837
|
};
|
|
23797
23838
|
} & {
|
|
23798
23839
|
query?: {
|
|
23840
|
+
'amount.from'?: string | string[];
|
|
23841
|
+
'amount.to'?: string | string[];
|
|
23799
23842
|
chainId?: string | string[];
|
|
23843
|
+
cursor?: string | string[];
|
|
23844
|
+
group?: string | string[];
|
|
23800
23845
|
include?: string | string[];
|
|
23846
|
+
limit?: string | string[];
|
|
23801
23847
|
logs?: string | string[];
|
|
23848
|
+
recipient?: string | string[];
|
|
23849
|
+
sender?: string | string[];
|
|
23850
|
+
token?: string | string[];
|
|
23851
|
+
type?: string | string[];
|
|
23852
|
+
'valuation.amount.from'?: string | string[];
|
|
23853
|
+
'valuation.amount.to'?: string | string[];
|
|
23802
23854
|
'valuation.currency'?: string | string[];
|
|
23803
23855
|
} | undefined;
|
|
23804
23856
|
};
|
|
@@ -23815,132 +23867,179 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
23815
23867
|
status: 401;
|
|
23816
23868
|
input: {
|
|
23817
23869
|
param: {
|
|
23818
|
-
|
|
23819
|
-
};
|
|
23820
|
-
} & {
|
|
23821
|
-
query?: {
|
|
23822
|
-
chainId?: string | string[];
|
|
23823
|
-
include?: string | string[];
|
|
23824
|
-
logs?: string | string[];
|
|
23825
|
-
'valuation.currency'?: string | string[];
|
|
23826
|
-
} | undefined;
|
|
23827
|
-
};
|
|
23828
|
-
} | {
|
|
23829
|
-
output: {
|
|
23830
|
-
error: {
|
|
23831
|
-
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
23832
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
23833
|
-
message: string;
|
|
23834
|
-
};
|
|
23835
|
-
requestId: string;
|
|
23836
|
-
};
|
|
23837
|
-
outputFormat: "json";
|
|
23838
|
-
status: 403;
|
|
23839
|
-
input: {
|
|
23840
|
-
param: {
|
|
23841
|
-
transactionHash: `0x${string}`;
|
|
23870
|
+
address: `0x${string}`;
|
|
23842
23871
|
};
|
|
23843
23872
|
} & {
|
|
23844
23873
|
query?: {
|
|
23874
|
+
'amount.from'?: string | string[];
|
|
23875
|
+
'amount.to'?: string | string[];
|
|
23845
23876
|
chainId?: string | string[];
|
|
23877
|
+
cursor?: string | string[];
|
|
23878
|
+
group?: string | string[];
|
|
23846
23879
|
include?: string | string[];
|
|
23880
|
+
limit?: string | string[];
|
|
23847
23881
|
logs?: string | string[];
|
|
23882
|
+
recipient?: string | string[];
|
|
23883
|
+
sender?: string | string[];
|
|
23884
|
+
token?: string | string[];
|
|
23885
|
+
type?: string | string[];
|
|
23886
|
+
'valuation.amount.from'?: string | string[];
|
|
23887
|
+
'valuation.amount.to'?: string | string[];
|
|
23848
23888
|
'valuation.currency'?: string | string[];
|
|
23849
23889
|
} | undefined;
|
|
23850
23890
|
};
|
|
23851
23891
|
} | {
|
|
23852
|
-
output:
|
|
23853
|
-
|
|
23854
|
-
|
|
23855
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
23856
|
-
message: string;
|
|
23857
|
-
};
|
|
23858
|
-
requestId: string;
|
|
23859
|
-
};
|
|
23860
|
-
outputFormat: "json";
|
|
23861
|
-
status: 429;
|
|
23892
|
+
output: null;
|
|
23893
|
+
outputFormat: "body";
|
|
23894
|
+
status: 402;
|
|
23862
23895
|
input: {
|
|
23863
23896
|
param: {
|
|
23864
|
-
|
|
23897
|
+
address: `0x${string}`;
|
|
23865
23898
|
};
|
|
23866
23899
|
} & {
|
|
23867
23900
|
query?: {
|
|
23901
|
+
'amount.from'?: string | string[];
|
|
23902
|
+
'amount.to'?: string | string[];
|
|
23868
23903
|
chainId?: string | string[];
|
|
23904
|
+
cursor?: string | string[];
|
|
23905
|
+
group?: string | string[];
|
|
23869
23906
|
include?: string | string[];
|
|
23907
|
+
limit?: string | string[];
|
|
23870
23908
|
logs?: string | string[];
|
|
23909
|
+
recipient?: string | string[];
|
|
23910
|
+
sender?: string | string[];
|
|
23911
|
+
token?: string | string[];
|
|
23912
|
+
type?: string | string[];
|
|
23913
|
+
'valuation.amount.from'?: string | string[];
|
|
23914
|
+
'valuation.amount.to'?: string | string[];
|
|
23871
23915
|
'valuation.currency'?: string | string[];
|
|
23872
23916
|
} | undefined;
|
|
23873
23917
|
};
|
|
23874
23918
|
} | {
|
|
23875
23919
|
output: {
|
|
23876
23920
|
error: {
|
|
23877
|
-
code: "
|
|
23921
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
23878
23922
|
details?: readonly Response.error.Detail[] | undefined;
|
|
23879
23923
|
message: string;
|
|
23880
23924
|
};
|
|
23881
23925
|
requestId: string;
|
|
23882
23926
|
};
|
|
23883
23927
|
outputFormat: "json";
|
|
23884
|
-
status:
|
|
23928
|
+
status: 403;
|
|
23885
23929
|
input: {
|
|
23886
23930
|
param: {
|
|
23887
|
-
|
|
23931
|
+
address: `0x${string}`;
|
|
23888
23932
|
};
|
|
23889
23933
|
} & {
|
|
23890
23934
|
query?: {
|
|
23935
|
+
'amount.from'?: string | string[];
|
|
23936
|
+
'amount.to'?: string | string[];
|
|
23891
23937
|
chainId?: string | string[];
|
|
23938
|
+
cursor?: string | string[];
|
|
23939
|
+
group?: string | string[];
|
|
23892
23940
|
include?: string | string[];
|
|
23941
|
+
limit?: string | string[];
|
|
23893
23942
|
logs?: string | string[];
|
|
23943
|
+
recipient?: string | string[];
|
|
23944
|
+
sender?: string | string[];
|
|
23945
|
+
token?: string | string[];
|
|
23946
|
+
type?: string | string[];
|
|
23947
|
+
'valuation.amount.from'?: string | string[];
|
|
23948
|
+
'valuation.amount.to'?: string | string[];
|
|
23894
23949
|
'valuation.currency'?: string | string[];
|
|
23895
23950
|
} | undefined;
|
|
23896
23951
|
};
|
|
23897
23952
|
} | {
|
|
23898
23953
|
output: {
|
|
23899
23954
|
error: {
|
|
23900
|
-
code: "
|
|
23955
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
23901
23956
|
details?: readonly Response.error.Detail[] | undefined;
|
|
23902
23957
|
message: string;
|
|
23903
23958
|
};
|
|
23904
23959
|
requestId: string;
|
|
23905
23960
|
};
|
|
23906
23961
|
outputFormat: "json";
|
|
23907
|
-
status:
|
|
23962
|
+
status: 429;
|
|
23908
23963
|
input: {
|
|
23909
23964
|
param: {
|
|
23910
|
-
|
|
23965
|
+
address: `0x${string}`;
|
|
23911
23966
|
};
|
|
23912
23967
|
} & {
|
|
23913
23968
|
query?: {
|
|
23969
|
+
'amount.from'?: string | string[];
|
|
23970
|
+
'amount.to'?: string | string[];
|
|
23914
23971
|
chainId?: string | string[];
|
|
23972
|
+
cursor?: string | string[];
|
|
23973
|
+
group?: string | string[];
|
|
23915
23974
|
include?: string | string[];
|
|
23975
|
+
limit?: string | string[];
|
|
23916
23976
|
logs?: string | string[];
|
|
23977
|
+
recipient?: string | string[];
|
|
23978
|
+
sender?: string | string[];
|
|
23979
|
+
token?: string | string[];
|
|
23980
|
+
type?: string | string[];
|
|
23981
|
+
'valuation.amount.from'?: string | string[];
|
|
23982
|
+
'valuation.amount.to'?: string | string[];
|
|
23917
23983
|
'valuation.currency'?: string | string[];
|
|
23918
23984
|
} | undefined;
|
|
23919
23985
|
};
|
|
23920
23986
|
} | {
|
|
23921
23987
|
output: {
|
|
23922
23988
|
error: {
|
|
23923
|
-
code: "
|
|
23989
|
+
code: "upstream_error";
|
|
23924
23990
|
details?: readonly Response.error.Detail[] | undefined;
|
|
23925
23991
|
message: string;
|
|
23926
23992
|
};
|
|
23927
23993
|
requestId: string;
|
|
23928
23994
|
};
|
|
23929
23995
|
outputFormat: "json";
|
|
23930
|
-
status:
|
|
23996
|
+
status: 502;
|
|
23931
23997
|
input: {
|
|
23932
23998
|
param: {
|
|
23933
|
-
|
|
23999
|
+
address: `0x${string}`;
|
|
23934
24000
|
};
|
|
23935
24001
|
} & {
|
|
23936
24002
|
query?: {
|
|
24003
|
+
'amount.from'?: string | string[];
|
|
24004
|
+
'amount.to'?: string | string[];
|
|
23937
24005
|
chainId?: string | string[];
|
|
24006
|
+
cursor?: string | string[];
|
|
24007
|
+
group?: string | string[];
|
|
23938
24008
|
include?: string | string[];
|
|
24009
|
+
limit?: string | string[];
|
|
23939
24010
|
logs?: string | string[];
|
|
24011
|
+
recipient?: string | string[];
|
|
24012
|
+
sender?: string | string[];
|
|
24013
|
+
token?: string | string[];
|
|
24014
|
+
type?: string | string[];
|
|
24015
|
+
'valuation.amount.from'?: string | string[];
|
|
24016
|
+
'valuation.amount.to'?: string | string[];
|
|
23940
24017
|
'valuation.currency'?: string | string[];
|
|
23941
24018
|
} | undefined;
|
|
23942
24019
|
};
|
|
23943
|
-
}
|
|
24020
|
+
};
|
|
24021
|
+
};
|
|
24022
|
+
}, "/", "/v1/addresses/:address/activities">;
|
|
24023
|
+
export declare namespace addresses {
|
|
24024
|
+
/** Options for the address-scoped activity handlers. */
|
|
24025
|
+
type Options = {
|
|
24026
|
+
/** FX configuration backing amount valuation. */
|
|
24027
|
+
fx?: Valuation.addresses.Fx | undefined;
|
|
24028
|
+
};
|
|
24029
|
+
}
|
|
24030
|
+
/**
|
|
24031
|
+
* Creates transaction-scoped activity handlers, mounted under the
|
|
24032
|
+
* `/transactions` composer. Exposes `GET /:transactionHash/activities`.
|
|
24033
|
+
*
|
|
24034
|
+
* Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
|
|
24035
|
+
* over a single transaction's logs, anchored on the transaction sender as the
|
|
24036
|
+
* viewer (a transaction-scoped feed has no subject account). Returns the
|
|
24037
|
+
* classified items (one per independent activity) with the full per-tx
|
|
24038
|
+
* event set available via `logs=true`.
|
|
24039
|
+
*/
|
|
24040
|
+
export declare function transactions(options?: transactions.Options): import("hono/hono-base").HonoBase<App.Environment, {
|
|
24041
|
+
"/v1/transactions/:transactionHash/activities": {
|
|
24042
|
+
$get: {
|
|
23944
24043
|
output: {
|
|
23945
24044
|
chainId: number;
|
|
23946
24045
|
data: ({
|
|
@@ -26063,6 +26162,229 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
26063
26162
|
'valuation.currency'?: string | string[];
|
|
26064
26163
|
} | undefined;
|
|
26065
26164
|
};
|
|
26165
|
+
} | {
|
|
26166
|
+
output: {
|
|
26167
|
+
error: {
|
|
26168
|
+
code: "api_key_malformed";
|
|
26169
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
26170
|
+
message: string;
|
|
26171
|
+
};
|
|
26172
|
+
requestId: string;
|
|
26173
|
+
};
|
|
26174
|
+
outputFormat: "json";
|
|
26175
|
+
status: 400;
|
|
26176
|
+
input: {
|
|
26177
|
+
param: {
|
|
26178
|
+
transactionHash: `0x${string}`;
|
|
26179
|
+
};
|
|
26180
|
+
} & {
|
|
26181
|
+
query?: {
|
|
26182
|
+
chainId?: string | string[];
|
|
26183
|
+
include?: string | string[];
|
|
26184
|
+
logs?: string | string[];
|
|
26185
|
+
'valuation.currency'?: string | string[];
|
|
26186
|
+
} | undefined;
|
|
26187
|
+
};
|
|
26188
|
+
} | {
|
|
26189
|
+
output: {
|
|
26190
|
+
error: {
|
|
26191
|
+
code: "query_invalid";
|
|
26192
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
26193
|
+
message: string;
|
|
26194
|
+
};
|
|
26195
|
+
requestId: string;
|
|
26196
|
+
};
|
|
26197
|
+
outputFormat: "json";
|
|
26198
|
+
status: 400;
|
|
26199
|
+
input: {
|
|
26200
|
+
param: {
|
|
26201
|
+
transactionHash: `0x${string}`;
|
|
26202
|
+
};
|
|
26203
|
+
} & {
|
|
26204
|
+
query?: {
|
|
26205
|
+
chainId?: string | string[];
|
|
26206
|
+
include?: string | string[];
|
|
26207
|
+
logs?: string | string[];
|
|
26208
|
+
'valuation.currency'?: string | string[];
|
|
26209
|
+
} | undefined;
|
|
26210
|
+
};
|
|
26211
|
+
} | {
|
|
26212
|
+
output: {
|
|
26213
|
+
error: {
|
|
26214
|
+
code: "transaction_invalid";
|
|
26215
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
26216
|
+
message: string;
|
|
26217
|
+
};
|
|
26218
|
+
requestId: string;
|
|
26219
|
+
};
|
|
26220
|
+
outputFormat: "json";
|
|
26221
|
+
status: 400;
|
|
26222
|
+
input: {
|
|
26223
|
+
param: {
|
|
26224
|
+
transactionHash: `0x${string}`;
|
|
26225
|
+
};
|
|
26226
|
+
} & {
|
|
26227
|
+
query?: {
|
|
26228
|
+
chainId?: string | string[];
|
|
26229
|
+
include?: string | string[];
|
|
26230
|
+
logs?: string | string[];
|
|
26231
|
+
'valuation.currency'?: string | string[];
|
|
26232
|
+
} | undefined;
|
|
26233
|
+
};
|
|
26234
|
+
} | {
|
|
26235
|
+
output: {
|
|
26236
|
+
error: {
|
|
26237
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
26238
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
26239
|
+
message: string;
|
|
26240
|
+
};
|
|
26241
|
+
requestId: string;
|
|
26242
|
+
};
|
|
26243
|
+
outputFormat: "json";
|
|
26244
|
+
status: 401;
|
|
26245
|
+
input: {
|
|
26246
|
+
param: {
|
|
26247
|
+
transactionHash: `0x${string}`;
|
|
26248
|
+
};
|
|
26249
|
+
} & {
|
|
26250
|
+
query?: {
|
|
26251
|
+
chainId?: string | string[];
|
|
26252
|
+
include?: string | string[];
|
|
26253
|
+
logs?: string | string[];
|
|
26254
|
+
'valuation.currency'?: string | string[];
|
|
26255
|
+
} | undefined;
|
|
26256
|
+
};
|
|
26257
|
+
} | {
|
|
26258
|
+
output: null;
|
|
26259
|
+
outputFormat: "body";
|
|
26260
|
+
status: 402;
|
|
26261
|
+
input: {
|
|
26262
|
+
param: {
|
|
26263
|
+
transactionHash: `0x${string}`;
|
|
26264
|
+
};
|
|
26265
|
+
} & {
|
|
26266
|
+
query?: {
|
|
26267
|
+
chainId?: string | string[];
|
|
26268
|
+
include?: string | string[];
|
|
26269
|
+
logs?: string | string[];
|
|
26270
|
+
'valuation.currency'?: string | string[];
|
|
26271
|
+
} | undefined;
|
|
26272
|
+
};
|
|
26273
|
+
} | {
|
|
26274
|
+
output: {
|
|
26275
|
+
error: {
|
|
26276
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
26277
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
26278
|
+
message: string;
|
|
26279
|
+
};
|
|
26280
|
+
requestId: string;
|
|
26281
|
+
};
|
|
26282
|
+
outputFormat: "json";
|
|
26283
|
+
status: 403;
|
|
26284
|
+
input: {
|
|
26285
|
+
param: {
|
|
26286
|
+
transactionHash: `0x${string}`;
|
|
26287
|
+
};
|
|
26288
|
+
} & {
|
|
26289
|
+
query?: {
|
|
26290
|
+
chainId?: string | string[];
|
|
26291
|
+
include?: string | string[];
|
|
26292
|
+
logs?: string | string[];
|
|
26293
|
+
'valuation.currency'?: string | string[];
|
|
26294
|
+
} | undefined;
|
|
26295
|
+
};
|
|
26296
|
+
} | {
|
|
26297
|
+
output: {
|
|
26298
|
+
error: {
|
|
26299
|
+
code: "transaction_not_found";
|
|
26300
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
26301
|
+
message: string;
|
|
26302
|
+
};
|
|
26303
|
+
requestId: string;
|
|
26304
|
+
};
|
|
26305
|
+
outputFormat: "json";
|
|
26306
|
+
status: 404;
|
|
26307
|
+
input: {
|
|
26308
|
+
param: {
|
|
26309
|
+
transactionHash: `0x${string}`;
|
|
26310
|
+
};
|
|
26311
|
+
} & {
|
|
26312
|
+
query?: {
|
|
26313
|
+
chainId?: string | string[];
|
|
26314
|
+
include?: string | string[];
|
|
26315
|
+
logs?: string | string[];
|
|
26316
|
+
'valuation.currency'?: string | string[];
|
|
26317
|
+
} | undefined;
|
|
26318
|
+
};
|
|
26319
|
+
} | {
|
|
26320
|
+
output: {
|
|
26321
|
+
error: {
|
|
26322
|
+
code: "transaction_ambiguous";
|
|
26323
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
26324
|
+
message: string;
|
|
26325
|
+
};
|
|
26326
|
+
requestId: string;
|
|
26327
|
+
};
|
|
26328
|
+
outputFormat: "json";
|
|
26329
|
+
status: 409;
|
|
26330
|
+
input: {
|
|
26331
|
+
param: {
|
|
26332
|
+
transactionHash: `0x${string}`;
|
|
26333
|
+
};
|
|
26334
|
+
} & {
|
|
26335
|
+
query?: {
|
|
26336
|
+
chainId?: string | string[];
|
|
26337
|
+
include?: string | string[];
|
|
26338
|
+
logs?: string | string[];
|
|
26339
|
+
'valuation.currency'?: string | string[];
|
|
26340
|
+
} | undefined;
|
|
26341
|
+
};
|
|
26342
|
+
} | {
|
|
26343
|
+
output: {
|
|
26344
|
+
error: {
|
|
26345
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
26346
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
26347
|
+
message: string;
|
|
26348
|
+
};
|
|
26349
|
+
requestId: string;
|
|
26350
|
+
};
|
|
26351
|
+
outputFormat: "json";
|
|
26352
|
+
status: 429;
|
|
26353
|
+
input: {
|
|
26354
|
+
param: {
|
|
26355
|
+
transactionHash: `0x${string}`;
|
|
26356
|
+
};
|
|
26357
|
+
} & {
|
|
26358
|
+
query?: {
|
|
26359
|
+
chainId?: string | string[];
|
|
26360
|
+
include?: string | string[];
|
|
26361
|
+
logs?: string | string[];
|
|
26362
|
+
'valuation.currency'?: string | string[];
|
|
26363
|
+
} | undefined;
|
|
26364
|
+
};
|
|
26365
|
+
} | {
|
|
26366
|
+
output: {
|
|
26367
|
+
error: {
|
|
26368
|
+
code: "upstream_error";
|
|
26369
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
26370
|
+
message: string;
|
|
26371
|
+
};
|
|
26372
|
+
requestId: string;
|
|
26373
|
+
};
|
|
26374
|
+
outputFormat: "json";
|
|
26375
|
+
status: 502;
|
|
26376
|
+
input: {
|
|
26377
|
+
param: {
|
|
26378
|
+
transactionHash: `0x${string}`;
|
|
26379
|
+
};
|
|
26380
|
+
} & {
|
|
26381
|
+
query?: {
|
|
26382
|
+
chainId?: string | string[];
|
|
26383
|
+
include?: string | string[];
|
|
26384
|
+
logs?: string | string[];
|
|
26385
|
+
'valuation.currency'?: string | string[];
|
|
26386
|
+
} | undefined;
|
|
26387
|
+
};
|
|
26066
26388
|
};
|
|
26067
26389
|
};
|
|
26068
26390
|
}, "/", "/v1/transactions/:transactionHash/activities">;
|
|
@@ -26099,6 +26421,8 @@ export declare namespace getTransactionActivities {
|
|
|
26099
26421
|
transactionHash: string;
|
|
26100
26422
|
};
|
|
26101
26423
|
}
|
|
26424
|
+
type AddressActivityTimingName = 'address_activity_classify' | 'address_activity_mpp' | 'address_activity_outbound' | 'address_activity_transfers';
|
|
26425
|
+
type AddressActivityTime = <value>(name: AddressActivityTimingName, fn: () => Promise<value> | value) => Promise<value>;
|
|
26102
26426
|
/**
|
|
26103
26427
|
* Lists classified activity for an address by running the shared pipeline
|
|
26104
26428
|
* (`groupByTx` → `classifyGroup` → `enrichItem`) over rows from a
|
|
@@ -26113,6 +26437,8 @@ export declare namespace list {
|
|
|
26113
26437
|
address: Address.Address;
|
|
26114
26438
|
/** Opaque cursor from a previous page; omit for the head page. */
|
|
26115
26439
|
cursor?: string | undefined;
|
|
26440
|
+
/** Indexed candidate narrowing and exact classified refinement. */
|
|
26441
|
+
filter?: QueryFilter | undefined;
|
|
26116
26442
|
/** Whether the caller will fold items into access-key groups (tunes the page-fill target). */
|
|
26117
26443
|
group?: boolean | undefined;
|
|
26118
26444
|
/** Attach each item's full transaction `events` capture (decoded + raw logs). */
|
|
@@ -26121,6 +26447,8 @@ export declare namespace list {
|
|
|
26121
26447
|
limit?: number | undefined;
|
|
26122
26448
|
/** Cache store for the MPP fingerprint-directory lookup. */
|
|
26123
26449
|
store: Store.Store;
|
|
26450
|
+
/** Request-scoped timing hook for address activity work. */
|
|
26451
|
+
time?: AddressActivityTime | undefined;
|
|
26124
26452
|
};
|
|
26125
26453
|
/** Result of {@link list}. */
|
|
26126
26454
|
type ReturnType = {
|
|
@@ -26152,6 +26480,8 @@ export declare namespace listChains {
|
|
|
26152
26480
|
address: Address.Address;
|
|
26153
26481
|
/** Opaque multi-chain cursor from a previous page. */
|
|
26154
26482
|
cursor?: string | undefined;
|
|
26483
|
+
/** Indexed candidate narrowing and exact classified refinement. */
|
|
26484
|
+
filter?: QueryFilter<Item> | undefined;
|
|
26155
26485
|
/** Whether the caller will fold access-key items. */
|
|
26156
26486
|
group?: boolean | undefined;
|
|
26157
26487
|
/** Target number of transaction groups per page. */
|
|
@@ -26162,6 +26492,8 @@ export declare namespace listChains {
|
|
|
26162
26492
|
providers: readonly ChainProvider[];
|
|
26163
26493
|
/** Cache store for the MPP fingerprint-directory lookup. */
|
|
26164
26494
|
store: Store.Store;
|
|
26495
|
+
/** Request-scoped timing hook for address activity work. */
|
|
26496
|
+
time?: AddressActivityTime | undefined;
|
|
26165
26497
|
};
|
|
26166
26498
|
/** Multi-chain classified page before token enrichment. */
|
|
26167
26499
|
type ReturnType = {
|
|
@@ -26172,13 +26504,9 @@ export declare namespace listChains {
|
|
|
26172
26504
|
};
|
|
26173
26505
|
}
|
|
26174
26506
|
/**
|
|
26175
|
-
* Creates a TIDX-backed {@link Provider} that runs
|
|
26176
|
-
*
|
|
26177
|
-
*
|
|
26178
|
-
* then fetch the selected transactions' logs with a bounded lookup.
|
|
26179
|
-
* - Q2 (inbound): decoded `Transfer` events to the address.
|
|
26180
|
-
* - Q3 (outbound transfers): decoded `Transfer` events from the address
|
|
26181
|
-
* (catches access-key-signed sends where `tx.from` differs from the address).
|
|
26507
|
+
* Creates a TIDX-backed {@link Provider} that runs two sub-queries in parallel:
|
|
26508
|
+
* one joins bounded outbound transactions to their logs, and one reads inbound
|
|
26509
|
+
* and outbound `Transfer` logs.
|
|
26182
26510
|
*/
|
|
26183
26511
|
export declare function tidx(deps: tidx.Deps): Provider;
|
|
26184
26512
|
export declare namespace tidx {
|
|
@@ -26190,6 +26518,8 @@ export declare namespace tidx {
|
|
|
26190
26518
|
signal?: AbortSignal | undefined;
|
|
26191
26519
|
/** TIDX query client. */
|
|
26192
26520
|
tidx: Tidx.Client;
|
|
26521
|
+
/** Request-scoped timing hook for the provider's logical queries. */
|
|
26522
|
+
time?: AddressActivityTime | undefined;
|
|
26193
26523
|
};
|
|
26194
26524
|
}
|
|
26195
26525
|
/**
|