tapimo 0.7.1 → 0.7.2
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/dist/ApiKeys.d.ts +24 -7
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +17 -5
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +12104 -7861
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +191 -128
- package/dist/App.js.map +1 -1
- package/dist/Assets.d.ts +10 -0
- package/dist/Assets.d.ts.map +1 -1
- package/dist/Assets.js +17 -4
- package/dist/Assets.js.map +1 -1
- package/dist/Scope.d.ts +19 -8
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +25 -9
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +1 -1
- package/dist/admin/App.d.ts +601 -20
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +12 -2
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +94 -11
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +141 -32
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +1069 -0
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -0
- package/dist/admin/apps/earn-vaults.js +409 -0
- package/dist/admin/apps/earn-vaults.js.map +1 -0
- package/dist/admin/apps/verified-tokens.d.ts +166 -166
- 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 +99 -43
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +2 -0
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +18 -2
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts +22 -1
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +59 -39
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/apps/Zones.d.ts +8335 -0
- package/dist/apps/Zones.d.ts.map +1 -0
- package/dist/apps/Zones.js +38 -0
- package/dist/apps/Zones.js.map +1 -0
- package/dist/apps/data/App.d.ts +12125 -7913
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +91 -19
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +1 -1
- package/dist/apps/data/FxOracle.d.ts.map +1 -1
- package/dist/apps/data/index.d.ts +0 -1
- package/dist/apps/data/index.d.ts.map +1 -1
- package/dist/apps/data/index.js +0 -1
- package/dist/apps/data/index.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +32 -32
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +130 -65
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +312 -312
- package/dist/apps/data/routes/balances.d.ts +18 -18
- package/dist/apps/data/routes/balances.js +5 -5
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +176 -176
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +62 -35
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/earn.d.ts +2144 -0
- package/dist/apps/data/routes/earn.d.ts.map +1 -0
- package/dist/apps/data/routes/earn.js +947 -0
- package/dist/apps/data/routes/earn.js.map +1 -0
- package/dist/apps/data/routes/exchanges.d.ts +1625 -718
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +656 -193
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +108 -108
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +59 -8
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/funding.d.ts +4092 -387
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +1403 -256
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +30 -30
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +19 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +263 -263
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +11 -11
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +5 -5
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +211 -22
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +36 -36
- package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
- package/dist/apps/data/routes/tokenlist.js +39 -8
- package/dist/apps/data/routes/tokenlist.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +114 -86
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +194 -91
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +53 -53
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +78 -39
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +76 -27
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +165 -67
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +42 -42
- package/dist/apps/data/routes/valuation.js +2 -2
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +369 -367
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +161 -59
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +281 -0
- package/dist/apps/data/routes/zones.d.ts.map +1 -0
- package/dist/apps/data/routes/zones.js +252 -0
- package/dist/apps/data/routes/zones.js.map +1 -0
- package/dist/apps/docs/reference.js +6 -5
- package/dist/apps/docs/reference.js.map +1 -1
- package/dist/apps/index.d.ts +2 -1
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +2 -1
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/management/App.d.ts +670 -670
- package/dist/apps/management/Billing.d.ts +8 -0
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +12 -0
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/Error.d.ts +12 -0
- package/dist/apps/management/Error.d.ts.map +1 -0
- package/dist/apps/management/Error.js +10 -0
- package/dist/apps/management/Error.js.map +1 -0
- package/dist/apps/management/routes/api-keys.d.ts +5 -5
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +2 -8
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +119 -119
- package/dist/apps/management/routes/faucet.d.ts +2 -2
- package/dist/apps/management/routes/invitations.d.ts +62 -62
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +4 -10
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/invite-links.d.ts +30 -30
- package/dist/apps/management/routes/me.d.ts +6 -6
- package/dist/apps/management/routes/members.d.ts +2 -2
- package/dist/apps/management/routes/orgs.d.ts +48 -48
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +2 -8
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +9 -9
- package/dist/apps/management/routes/scopes.js +2 -2
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.d.ts +36 -36
- package/dist/apps/management/routes/webhooks.d.ts +50 -50
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +15 -3
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +55 -56
- package/dist/apps/mpp/App.d.ts.map +1 -1
- package/dist/apps/mpp/App.js +192 -27
- package/dist/apps/mpp/App.js.map +1 -1
- package/dist/apps/mpp/Mpp.d.ts +0 -20
- package/dist/apps/mpp/Mpp.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.js +0 -24
- package/dist/apps/mpp/Mpp.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts +40 -0
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Adapter.js +66 -0
- package/dist/apps/mpp/internal/Adapter.js.map +1 -0
- package/dist/apps/mpp/internal/Error.d.ts +4 -0
- package/dist/apps/mpp/internal/Error.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Error.js +41 -0
- package/dist/apps/mpp/internal/Error.js.map +1 -0
- package/dist/apps/mpp/internal/Idempotency.d.ts +33 -0
- package/dist/apps/mpp/internal/Idempotency.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Idempotency.js +28 -0
- package/dist/apps/mpp/internal/Idempotency.js.map +1 -0
- package/dist/apps/mpp/internal/Policy.d.ts +46 -0
- package/dist/apps/mpp/internal/Policy.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Policy.js +57 -0
- package/dist/apps/mpp/internal/Policy.js.map +1 -0
- package/dist/apps/mpp/internal/ScreenManager.d.ts +27 -0
- package/dist/apps/mpp/internal/ScreenManager.d.ts.map +1 -0
- package/dist/apps/mpp/internal/ScreenManager.js +18 -0
- package/dist/apps/mpp/internal/ScreenManager.js.map +1 -0
- package/dist/apps/mpp/internal/Screening.d.ts +35 -0
- package/dist/apps/mpp/internal/Screening.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Screening.js +20 -0
- package/dist/apps/mpp/internal/Screening.js.map +1 -0
- package/dist/apps/mpp/internal/Sponsorship.d.ts +36 -0
- package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Sponsorship.js +103 -0
- package/dist/apps/mpp/internal/Sponsorship.js.map +1 -0
- package/dist/apps/mpp/internal/Utils.d.ts +7 -0
- package/dist/apps/mpp/internal/Utils.d.ts.map +1 -0
- package/dist/apps/mpp/internal/Utils.js +24 -0
- package/dist/apps/mpp/internal/Utils.js.map +1 -0
- package/dist/apps/relay/App.js +183 -23
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts +4 -0
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +15 -6
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/db/Db.d.ts +20 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +342 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +921 -1
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +269 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/earnVaults.d.ts +68 -0
- package/dist/db/tables/earnVaults.d.ts.map +1 -0
- package/dist/db/tables/earnVaults.js +72 -0
- package/dist/db/tables/earnVaults.js.map +1 -0
- package/dist/db/tables/fundingCatalog.d.ts +56 -0
- package/dist/db/tables/fundingCatalog.d.ts.map +1 -0
- package/dist/db/tables/fundingCatalog.js +85 -0
- package/dist/db/tables/fundingCatalog.js.map +1 -0
- package/dist/db/tables/fundingDepositAddresses.d.ts +159 -0
- package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -0
- package/dist/db/tables/fundingDepositAddresses.js +206 -0
- package/dist/db/tables/fundingDepositAddresses.js.map +1 -0
- package/dist/db/tables/fundingDeposits.d.ts +115 -0
- package/dist/db/tables/fundingDeposits.d.ts.map +1 -0
- package/dist/db/tables/fundingDeposits.js +100 -0
- package/dist/db/tables/fundingDeposits.js.map +1 -0
- package/dist/db/tables/fundingIdempotency.d.ts +91 -0
- package/dist/db/tables/fundingIdempotency.d.ts.map +1 -0
- package/dist/db/tables/fundingIdempotency.js +103 -0
- package/dist/db/tables/fundingIdempotency.js.map +1 -0
- package/dist/db/tables/fundingTransferEvents.d.ts +12 -0
- package/dist/db/tables/fundingTransferEvents.d.ts.map +1 -0
- package/dist/db/tables/fundingTransferEvents.js +18 -0
- package/dist/db/tables/fundingTransferEvents.js.map +1 -0
- package/dist/db/tables/fundingTransferTransactions.d.ts +15 -0
- package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -0
- package/dist/db/tables/fundingTransferTransactions.js +27 -0
- package/dist/db/tables/fundingTransferTransactions.js.map +1 -0
- package/dist/db/tables/fundingTransfers.d.ts +82 -0
- package/dist/db/tables/fundingTransfers.d.ts.map +1 -0
- package/dist/db/tables/fundingTransfers.js +89 -0
- package/dist/db/tables/fundingTransfers.js.map +1 -0
- package/dist/db/tables/organizations.d.ts +8 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +16 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +8 -0
- package/dist/db/tables/projects.d.ts.map +1 -1
- package/dist/db/tables/projects.js +16 -0
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +13 -0
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js +16 -0
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -2
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +1 -1
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/users.d.ts +8 -0
- package/dist/db/tables/users.d.ts.map +1 -1
- package/dist/db/tables/users.js +16 -0
- package/dist/db/tables/users.js.map +1 -1
- package/dist/db/tables/verifiedTokens.d.ts +14 -7
- package/dist/db/tables/verifiedTokens.d.ts.map +1 -1
- package/dist/db/tables/verifiedTokens.js +9 -7
- package/dist/db/tables/verifiedTokens.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +31 -1
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +24 -3
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/handlers/relay.js +108 -108
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +26 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +35 -2
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +16 -10
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/Cursor.js +1 -1
- package/dist/internal/Cursor.js.map +1 -1
- package/dist/internal/EarnRates.d.ts +89 -0
- package/dist/internal/EarnRates.d.ts.map +1 -0
- package/dist/internal/EarnRates.js +266 -0
- package/dist/internal/EarnRates.js.map +1 -0
- package/dist/internal/EarnVaults.d.ts +171 -0
- package/dist/internal/EarnVaults.d.ts.map +1 -0
- package/dist/internal/EarnVaults.js +547 -0
- package/dist/internal/EarnVaults.js.map +1 -0
- package/dist/internal/EdgeCache.d.ts +8 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +33 -7
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/Id.d.ts +11 -0
- package/dist/internal/Id.d.ts.map +1 -1
- package/dist/internal/Id.js +13 -0
- package/dist/internal/Id.js.map +1 -1
- package/dist/internal/Idempotency.d.ts +83 -0
- package/dist/internal/Idempotency.d.ts.map +1 -0
- package/dist/internal/Idempotency.js +113 -0
- package/dist/internal/Idempotency.js.map +1 -0
- package/dist/internal/Log.d.ts +64 -9
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +29 -7
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +47 -1
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +1 -1
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +3 -0
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Provider.d.ts +14 -0
- package/dist/internal/Provider.d.ts.map +1 -0
- package/dist/internal/Provider.js +5 -0
- package/dist/internal/Provider.js.map +1 -0
- package/dist/internal/Schema.d.ts +6 -1
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +20 -11
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Store.d.ts +6 -0
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +35 -0
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Tidx.d.ts +43 -24
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +79 -11
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +82 -65
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +83 -12
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/WebhookDestination.d.ts.map +1 -1
- package/dist/internal/WebhookDestination.js +34 -28
- package/dist/internal/WebhookDestination.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +9 -0
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +15 -10
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/exchange/Provider.d.ts +219 -0
- package/dist/internal/exchange/Provider.d.ts.map +1 -0
- package/dist/internal/exchange/Provider.js +117 -0
- package/dist/internal/exchange/Provider.js.map +1 -0
- package/dist/internal/exchange/index.d.ts +2 -0
- package/dist/internal/exchange/index.d.ts.map +1 -0
- package/dist/internal/exchange/index.js +2 -0
- package/dist/internal/exchange/index.js.map +1 -0
- package/dist/internal/exchange/providers/uniswap.d.ts +57 -0
- package/dist/internal/exchange/providers/uniswap.d.ts.map +1 -0
- package/dist/internal/exchange/providers/uniswap.js +553 -0
- package/dist/internal/exchange/providers/uniswap.js.map +1 -0
- package/dist/internal/funding/Action.d.ts +55 -0
- package/dist/internal/funding/Action.d.ts.map +1 -0
- package/dist/internal/funding/Action.js +74 -0
- package/dist/internal/funding/Action.js.map +1 -0
- package/dist/internal/funding/Catalog.d.ts +107 -0
- package/dist/internal/funding/Catalog.d.ts.map +1 -0
- package/dist/internal/funding/Catalog.js +270 -0
- package/dist/internal/funding/Catalog.js.map +1 -0
- package/dist/internal/funding/Chain.d.ts +76 -0
- package/dist/internal/funding/Chain.d.ts.map +1 -0
- package/dist/internal/funding/Chain.js +38 -0
- package/dist/internal/funding/Chain.js.map +1 -0
- package/dist/internal/funding/Deposit.d.ts +366 -0
- package/dist/internal/funding/Deposit.d.ts.map +1 -0
- package/dist/internal/funding/Deposit.js +286 -0
- package/dist/internal/funding/Deposit.js.map +1 -0
- package/dist/internal/funding/DepositAddress.d.ts +345 -0
- package/dist/internal/funding/DepositAddress.d.ts.map +1 -0
- package/dist/internal/funding/DepositAddress.js +189 -0
- package/dist/internal/funding/DepositAddress.js.map +1 -0
- package/dist/internal/funding/Evidence.d.ts +52 -0
- package/dist/internal/funding/Evidence.d.ts.map +1 -0
- package/dist/internal/funding/Evidence.js +314 -0
- package/dist/internal/funding/Evidence.js.map +1 -0
- package/dist/internal/funding/Provider.d.ts +1186 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -0
- package/dist/internal/funding/Provider.js +1081 -0
- package/dist/internal/funding/Provider.js.map +1 -0
- package/dist/internal/funding/Reconciliation.d.ts +113 -0
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -0
- package/dist/internal/funding/Reconciliation.js +676 -0
- package/dist/internal/funding/Reconciliation.js.map +1 -0
- package/dist/internal/funding/Route.d.ts +21 -0
- package/dist/internal/funding/Route.d.ts.map +1 -0
- package/dist/internal/funding/Route.js +5 -0
- package/dist/internal/funding/Route.js.map +1 -0
- package/dist/internal/funding/Subsidy.d.ts +113 -0
- package/dist/internal/funding/Subsidy.d.ts.map +1 -0
- package/dist/internal/funding/Subsidy.js +138 -0
- package/dist/internal/funding/Subsidy.js.map +1 -0
- package/dist/internal/funding/Token.d.ts +41 -0
- package/dist/internal/funding/Token.d.ts.map +1 -0
- package/dist/internal/funding/Token.js +22 -0
- package/dist/internal/funding/Token.js.map +1 -0
- package/dist/internal/funding/Transfer.d.ts +643 -0
- package/dist/internal/funding/Transfer.d.ts.map +1 -0
- package/dist/internal/funding/Transfer.js +332 -0
- package/dist/internal/funding/Transfer.js.map +1 -0
- package/dist/internal/funding/index.d.ts +13 -0
- package/dist/internal/funding/index.d.ts.map +1 -0
- package/dist/internal/funding/index.js +13 -0
- package/dist/internal/funding/index.js.map +1 -0
- package/dist/internal/funding/providers/across.d.ts +21 -0
- package/dist/internal/funding/providers/across.d.ts.map +1 -0
- package/dist/internal/funding/providers/across.js +117 -0
- package/dist/internal/funding/providers/across.js.map +1 -0
- package/dist/internal/funding/providers/relay.d.ts +46 -0
- package/dist/internal/funding/providers/relay.d.ts.map +1 -0
- package/dist/internal/funding/providers/relay.js +464 -0
- package/dist/internal/funding/providers/relay.js.map +1 -0
- package/dist/internal/funding/providers/rhino.d.ts +15 -0
- package/dist/internal/funding/providers/rhino.d.ts.map +1 -0
- package/dist/internal/funding/providers/rhino.js +116 -0
- package/dist/internal/funding/providers/rhino.js.map +1 -0
- package/dist/internal/funding/providers/squid.d.ts +19 -0
- package/dist/internal/funding/providers/squid.d.ts.map +1 -0
- package/dist/internal/funding/providers/squid.js +120 -0
- package/dist/internal/funding/providers/squid.js.map +1 -0
- package/dist/internal/funding/providers/symbiosis.d.ts +20 -0
- package/dist/internal/funding/providers/symbiosis.d.ts.map +1 -0
- package/dist/internal/funding/providers/symbiosis.js +176 -0
- package/dist/internal/funding/providers/symbiosis.js.map +1 -0
- package/dist/internal/index.d.ts +5 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +5 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/webhookDestinations/url.js +61 -57
- package/dist/internal/webhookDestinations/url.js.map +1 -1
- package/dist/providers/index.d.ts +43 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +19 -0
- package/dist/providers/index.js.map +1 -0
- package/package.json +9 -4
- package/src/ApiKeys.test.ts +11 -7
- package/src/ApiKeys.ts +37 -9
- package/src/App.test.ts +85 -10
- package/src/App.ts +224 -137
- package/src/Assets.ts +29 -4
- package/src/Client.test-d.ts +650 -30
- package/src/Scope.test.ts +19 -0
- package/src/Scope.ts +28 -11
- package/src/Webhooks.test.ts +25 -0
- package/src/Webhooks.ts +1 -1
- package/src/admin/App.test.ts +9 -2
- package/src/admin/App.ts +32 -9
- package/src/admin/apps/api-keys.test.ts +167 -23
- package/src/admin/apps/api-keys.ts +166 -28
- package/src/admin/apps/earn-vaults.test.ts +338 -0
- package/src/admin/apps/earn-vaults.ts +572 -0
- package/src/admin/apps/scopes.test.ts +16 -1
- package/src/admin/ui/plugin.ts +2 -2
- package/src/admin/ui/src/components/EarnVaultForm.tsx +137 -0
- package/src/admin/ui/src/components/MobileProfile.tsx +2 -2
- package/src/admin/ui/src/components/Page.tsx +1 -1
- package/src/admin/ui/src/components/ThemeToggle.tsx +1 -1
- package/src/admin/ui/src/lib/api-keys.ts +37 -7
- package/src/admin/ui/src/lib/client.ts +1 -1
- package/src/admin/ui/src/lib/config.ts +1 -1
- package/src/admin/ui/src/lib/early-access.ts +8 -9
- package/src/admin/ui/src/lib/earn-vaults.ts +207 -0
- package/src/admin/ui/src/lib/format.ts +13 -0
- package/src/admin/ui/src/lib/organizations.test.ts +14 -4
- package/src/admin/ui/src/lib/organizations.ts +7 -1
- package/src/admin/ui/src/lib/response.ts +22 -0
- package/src/admin/ui/src/lib/scopes.test.ts +19 -11
- package/src/admin/ui/src/lib/scopes.ts +28 -7
- package/src/admin/ui/src/lib/verified-tokens.ts +10 -9
- package/src/admin/ui/src/routeTree.gen.ts +70 -7
- package/src/admin/ui/src/router.tsx +2 -2
- package/src/admin/ui/src/routes/__root.tsx +9 -8
- package/src/admin/ui/src/routes/api-keys.tsx +475 -64
- package/src/admin/ui/src/routes/early-access.tsx +5 -12
- package/src/admin/ui/src/routes/earn.vaults.tsx +348 -0
- package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +154 -0
- package/src/admin/ui/src/routes/earn.vaults_.new.tsx +190 -0
- package/src/admin/ui/src/routes/organizations.tsx +4 -7
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +56 -54
- package/src/admin/ui/src/routes/verified-tokens.tsx +4 -4
- package/src/admin/ui/vite.config.ts +4 -1
- package/src/admin/ui.generated.ts +113 -43
- package/src/analytics/Analytics.test.ts +69 -10
- package/src/analytics/Analytics.ts +20 -1
- package/src/analytics/tables/requestEvents.ts +79 -37
- package/src/apps/Zones.test.ts +33 -0
- package/src/apps/Zones.ts +40 -0
- package/src/apps/composition.test.ts +84 -1
- package/src/apps/data/App.test.ts +28 -11
- package/src/apps/data/App.ts +96 -33
- package/src/apps/data/FxOracle.ts +1 -1
- package/src/apps/data/index.ts +0 -1
- package/src/apps/data/routes/activities.test.ts +82 -6
- package/src/apps/data/routes/activities.ts +131 -71
- package/src/apps/data/routes/balances.test.ts +50 -37
- package/src/apps/data/routes/balances.ts +5 -5
- package/src/apps/data/routes/blocks.test.ts +2 -0
- package/src/apps/data/routes/coingecko.test.ts +22 -0
- package/src/apps/data/routes/coingecko.ts +84 -48
- package/src/apps/data/routes/earn.test.ts +1108 -0
- package/src/apps/data/routes/earn.ts +1391 -0
- package/src/apps/data/routes/exchanges.test.ts +82 -33
- package/src/apps/data/routes/exchanges.ts +842 -227
- package/src/apps/data/routes/fee-amm.test.ts +4 -6
- package/src/apps/data/routes/fee-amm.ts +69 -12
- package/src/apps/data/routes/funding.test.ts +2712 -221
- package/src/apps/data/routes/funding.ts +1604 -387
- package/src/apps/data/routes/indexer.test.ts +43 -34
- package/src/apps/data/routes/indexer.ts +19 -2
- package/src/apps/data/routes/receipts.test.ts +5 -3
- package/src/apps/data/routes/receipts.ts +13 -11
- package/src/apps/data/routes/rpc.test.ts +446 -28
- package/src/apps/data/routes/rpc.ts +243 -25
- package/src/apps/data/routes/tokenlist.ts +72 -19
- package/src/apps/data/routes/tokens.ts +258 -86
- package/src/apps/data/routes/transactions.test.ts +2 -0
- package/src/apps/data/routes/transactions.ts +77 -42
- package/src/apps/data/routes/transfers.test.ts +166 -4
- package/src/apps/data/routes/transfers.ts +216 -78
- package/src/apps/data/routes/valuation.test.ts +62 -9
- package/src/apps/data/routes/valuation.ts +2 -2
- package/src/apps/data/routes/webhooks.test.ts +386 -43
- package/src/apps/data/routes/webhooks.ts +172 -71
- package/src/apps/data/routes/zones.test.ts +473 -0
- package/src/apps/data/routes/zones.ts +338 -0
- package/src/apps/docs/reference.ts +8 -6
- package/src/apps/index.ts +2 -1
- package/src/apps/management/Billing.test.ts +29 -0
- package/src/apps/management/Billing.ts +23 -0
- package/src/apps/management/Error.ts +12 -0
- package/src/apps/management/routes/api-keys.test.ts +5 -3
- package/src/apps/management/routes/api-keys.ts +2 -9
- package/src/apps/management/routes/invitations.ts +4 -11
- package/src/apps/management/routes/orgs.ts +2 -9
- package/src/apps/management/routes/scopes.test.ts +7 -2
- package/src/apps/management/routes/scopes.ts +2 -2
- package/src/apps/management/routes/webhooks.test.ts +6 -1
- package/src/apps/management/routes/webhooks.ts +15 -3
- package/src/apps/mpp/App.ts +276 -29
- package/src/apps/mpp/Mpp.test.ts +631 -26
- package/src/apps/mpp/Mpp.ts +0 -42
- package/src/apps/mpp/internal/Adapter.ts +108 -3
- package/src/apps/mpp/internal/Error.test.ts +33 -0
- package/src/apps/mpp/internal/Error.ts +44 -6
- package/src/apps/mpp/internal/Idempotency.test.ts +213 -0
- package/src/apps/mpp/internal/Idempotency.ts +59 -5
- package/src/apps/mpp/internal/Policy.test.ts +122 -0
- package/src/apps/mpp/internal/Policy.ts +98 -0
- package/src/apps/mpp/internal/ScreenManager.test.ts +68 -0
- package/src/apps/mpp/internal/ScreenManager.ts +41 -0
- package/src/apps/mpp/internal/Screening.ts +40 -3
- package/src/apps/mpp/internal/Sponsorship.ts +144 -0
- package/src/apps/mpp/internal/Utils.ts +30 -0
- package/src/apps/relay/App.test.ts +493 -62
- package/src/apps/relay/App.ts +233 -23
- package/src/apps/relay/Sponsorships.test.ts +49 -0
- package/src/apps/relay/Sponsorships.ts +18 -6
- package/src/db/Db.ts +439 -0
- package/src/db/Schema.ts +325 -2
- package/src/db/tables/earnVaults.test.ts +185 -0
- package/src/db/tables/earnVaults.ts +151 -0
- package/src/db/tables/fundingCatalog.test.ts +108 -0
- package/src/db/tables/fundingCatalog.ts +157 -0
- package/src/db/tables/fundingDepositAddresses.test.ts +580 -0
- package/src/db/tables/fundingDepositAddresses.ts +376 -0
- package/src/db/tables/fundingDeposits.test.ts +261 -0
- package/src/db/tables/fundingDeposits.ts +229 -0
- package/src/db/tables/fundingIdempotency.test.ts +182 -0
- package/src/db/tables/fundingIdempotency.ts +180 -0
- package/src/db/tables/fundingTransferEvents.ts +28 -0
- package/src/db/tables/fundingTransferTransactions.test.ts +69 -0
- package/src/db/tables/fundingTransferTransactions.ts +37 -0
- package/src/db/tables/fundingTransfers.test.ts +89 -0
- package/src/db/tables/fundingTransfers.ts +153 -0
- package/src/db/tables/organizations.ts +16 -0
- package/src/db/tables/projects.ts +16 -0
- package/src/db/tables/requestUsage.ts +23 -0
- package/src/db/tables/sponsoredTransactions.test.ts +11 -0
- package/src/db/tables/sponsoredTransactions.ts +3 -3
- package/src/db/tables/users.ts +16 -0
- package/src/db/tables/verifiedTokens.ts +19 -14
- package/src/db/tables/webhookSubscriptions.ts +58 -3
- package/src/handlers/relay.test.ts +2 -0
- package/src/handlers/relay.ts +95 -99
- package/src/internal/Auth.test.ts +48 -0
- package/src/internal/Auth.ts +61 -2
- package/src/internal/Cache.ts +13 -9
- package/src/internal/Cursor.test.ts +2 -2
- package/src/internal/Cursor.ts +1 -1
- package/src/internal/EarnRates.test.ts +125 -0
- package/src/internal/EarnRates.ts +409 -0
- package/src/internal/EarnVaults.test.ts +195 -0
- package/src/internal/EarnVaults.ts +876 -0
- package/src/internal/EdgeCache.test.ts +19 -0
- package/src/internal/EdgeCache.ts +35 -5
- package/src/internal/Id.ts +14 -0
- package/src/internal/Idempotency.test.ts +109 -0
- package/src/internal/Idempotency.ts +237 -0
- package/src/internal/Log.test-d.ts +41 -8
- package/src/internal/Log.test.ts +189 -8
- package/src/internal/Log.ts +124 -17
- package/src/internal/MetricSink.test.ts +244 -4
- package/src/internal/MetricSink.ts +51 -1
- package/src/internal/OpenApi.ts +3 -0
- package/src/internal/Provider.test.ts +17 -0
- package/src/internal/Provider.ts +17 -0
- package/src/internal/Schema.ts +27 -17
- package/src/internal/Store.test.ts +25 -0
- package/src/internal/Store.ts +46 -0
- package/src/internal/Tidx.local.test.ts +78 -3
- package/src/internal/Tidx.test.ts +212 -18
- package/src/internal/Tidx.ts +112 -32
- package/src/internal/VerifiedTokens.test.ts +15 -0
- package/src/internal/Viem.test.ts +170 -17
- package/src/internal/Viem.ts +111 -28
- package/src/internal/WebhookDestination.ts +25 -23
- package/src/internal/Webhooks.test.ts +59 -0
- package/src/internal/Webhooks.ts +34 -10
- package/src/internal/exchange/Provider.test.ts +216 -0
- package/src/internal/exchange/Provider.ts +326 -0
- package/src/internal/exchange/index.test.ts +6 -0
- package/src/internal/exchange/index.ts +1 -0
- package/src/internal/exchange/providers/uniswap.test.ts +122 -0
- package/src/internal/exchange/providers/uniswap.ts +682 -0
- package/src/internal/funding/Action.test.ts +138 -0
- package/src/internal/funding/Action.ts +117 -0
- package/src/internal/funding/Catalog.test.ts +311 -0
- package/src/internal/funding/Catalog.ts +347 -0
- package/src/internal/funding/Chain.test.ts +79 -0
- package/src/internal/funding/Chain.ts +120 -0
- package/src/internal/funding/Deposit.test.ts +26 -0
- package/src/internal/funding/Deposit.ts +453 -0
- package/src/internal/funding/DepositAddress.test.ts +18 -0
- package/src/internal/funding/DepositAddress.ts +312 -0
- package/src/internal/funding/Evidence.test.ts +297 -0
- package/src/internal/funding/Evidence.ts +430 -0
- package/src/internal/funding/Provider.test.ts +1328 -0
- package/src/internal/funding/Provider.ts +1796 -0
- package/src/internal/funding/Reconciliation.local.test.ts +504 -0
- package/src/internal/funding/Reconciliation.test.ts +2020 -0
- package/src/internal/funding/Reconciliation.ts +930 -0
- package/src/internal/funding/Route.test.ts +66 -0
- package/src/internal/funding/Route.ts +29 -0
- package/src/internal/funding/Subsidy.local.test.ts +152 -0
- package/src/internal/funding/Subsidy.test.ts +75 -0
- package/src/internal/funding/Subsidy.ts +260 -0
- package/src/internal/funding/Token.test.ts +47 -0
- package/src/internal/funding/Token.ts +59 -0
- package/src/internal/funding/Transfer.test.ts +369 -0
- package/src/internal/funding/Transfer.ts +522 -0
- package/src/internal/funding/index.test.ts +20 -0
- package/src/internal/funding/index.ts +12 -0
- package/src/internal/funding/providers/across.ts +149 -0
- package/src/{apps/data/FundingQuoteProviders.test.ts → internal/funding/providers/index.test.ts} +178 -157
- package/src/internal/funding/providers/relay.test.ts +474 -0
- package/src/internal/funding/providers/relay.ts +559 -0
- package/src/internal/funding/providers/rhino.ts +139 -0
- package/src/internal/funding/providers/squid.ts +151 -0
- package/src/internal/funding/providers/symbiosis.ts +221 -0
- package/src/internal/index.test.ts +5 -1
- package/src/internal/index.ts +5 -1
- package/src/internal/webhookDestinations/url.ts +49 -45
- package/src/providers/index.test.ts +14 -0
- package/src/providers/index.ts +54 -0
- package/dist/apps/data/FundingQuoteProviders.d.ts +0 -174
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +0 -1
- package/dist/apps/data/FundingQuoteProviders.js +0 -775
- package/dist/apps/data/FundingQuoteProviders.js.map +0 -1
- package/dist/internal/FundingQuotes.d.ts +0 -864
- package/dist/internal/FundingQuotes.d.ts.map +0 -1
- package/dist/internal/FundingQuotes.js +0 -672
- package/dist/internal/FundingQuotes.js.map +0 -1
- package/src/apps/data/FundingQuoteProviders.ts +0 -1043
- package/src/internal/FundingQuotes.test.ts +0 -456
- package/src/internal/FundingQuotes.ts +0 -944
package/dist/internal/Viem.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Client as core_Client, HttpTransport, PublicActions } from 'viem';
|
|
1
|
+
import type { Chain as core_Chain, Client as core_Client, HttpTransport, PublicActions } from 'viem';
|
|
2
2
|
import type { TempoActions } from 'viem/tempo';
|
|
3
3
|
import { tempoMainnet } from 'viem/tempo/chains';
|
|
4
4
|
import type * as z from 'zod/mini';
|
|
5
|
-
import
|
|
5
|
+
import * as Auth from './Auth.js';
|
|
6
6
|
import type * as Schema from './Schema.js';
|
|
7
7
|
/** Known Tempo chains keyed by id, for metadata lookups. */
|
|
8
8
|
export declare const chains: ({
|
|
@@ -38,6 +38,7 @@ export declare const chains: ({
|
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
sourceId?: number | undefined | undefined;
|
|
41
|
+
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
41
42
|
testnet: true;
|
|
42
43
|
custom?: Record<string, unknown> | undefined;
|
|
43
44
|
extendSchema: {
|
|
@@ -76,9 +77,9 @@ export declare const chains: ({
|
|
|
76
77
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
77
78
|
signature?: undefined;
|
|
78
79
|
calls?: undefined;
|
|
80
|
+
feePayerSignature?: undefined;
|
|
79
81
|
nonceKey?: undefined;
|
|
80
82
|
keyAuthorization?: undefined;
|
|
81
|
-
feePayerSignature?: undefined;
|
|
82
83
|
feeToken?: undefined;
|
|
83
84
|
validAfter?: undefined;
|
|
84
85
|
validBefore?: undefined;
|
|
@@ -110,9 +111,9 @@ export declare const chains: ({
|
|
|
110
111
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
111
112
|
signature?: undefined;
|
|
112
113
|
calls?: undefined;
|
|
114
|
+
feePayerSignature?: undefined;
|
|
113
115
|
nonceKey?: undefined;
|
|
114
116
|
keyAuthorization?: undefined;
|
|
115
|
-
feePayerSignature?: undefined;
|
|
116
117
|
feeToken?: undefined;
|
|
117
118
|
validAfter?: undefined;
|
|
118
119
|
validBefore?: undefined;
|
|
@@ -144,9 +145,9 @@ export declare const chains: ({
|
|
|
144
145
|
maxPriorityFeePerGas: bigint;
|
|
145
146
|
signature?: undefined;
|
|
146
147
|
calls?: undefined;
|
|
148
|
+
feePayerSignature?: undefined;
|
|
147
149
|
nonceKey?: undefined;
|
|
148
150
|
keyAuthorization?: undefined;
|
|
149
|
-
feePayerSignature?: undefined;
|
|
150
151
|
feeToken?: undefined;
|
|
151
152
|
validAfter?: undefined;
|
|
152
153
|
validBefore?: undefined;
|
|
@@ -178,9 +179,9 @@ export declare const chains: ({
|
|
|
178
179
|
maxPriorityFeePerGas: bigint;
|
|
179
180
|
signature?: undefined;
|
|
180
181
|
calls?: undefined;
|
|
182
|
+
feePayerSignature?: undefined;
|
|
181
183
|
nonceKey?: undefined;
|
|
182
184
|
keyAuthorization?: undefined;
|
|
183
|
-
feePayerSignature?: undefined;
|
|
184
185
|
feeToken?: undefined;
|
|
185
186
|
validAfter?: undefined;
|
|
186
187
|
validBefore?: undefined;
|
|
@@ -212,9 +213,9 @@ export declare const chains: ({
|
|
|
212
213
|
maxPriorityFeePerGas: bigint;
|
|
213
214
|
signature?: undefined;
|
|
214
215
|
calls?: undefined;
|
|
216
|
+
feePayerSignature?: undefined;
|
|
215
217
|
nonceKey?: undefined;
|
|
216
218
|
keyAuthorization?: undefined;
|
|
217
|
-
feePayerSignature?: undefined;
|
|
218
219
|
feeToken?: undefined;
|
|
219
220
|
validAfter?: undefined;
|
|
220
221
|
validBefore?: undefined;
|
|
@@ -308,13 +309,13 @@ export declare const chains: ({
|
|
|
308
309
|
authorizationList?: undefined;
|
|
309
310
|
calls?: undefined;
|
|
310
311
|
capabilities?: undefined;
|
|
312
|
+
feePayer?: undefined;
|
|
311
313
|
nonceKey?: undefined;
|
|
312
314
|
keyAuthorization?: undefined;
|
|
313
315
|
feeToken?: undefined;
|
|
314
316
|
validAfter?: undefined;
|
|
315
317
|
signatures?: undefined;
|
|
316
318
|
validBefore?: undefined;
|
|
317
|
-
feePayer?: undefined;
|
|
318
319
|
multisig?: undefined;
|
|
319
320
|
multisigInit?: undefined;
|
|
320
321
|
multisigSignatureCount?: undefined;
|
|
@@ -338,13 +339,13 @@ export declare const chains: ({
|
|
|
338
339
|
authorizationList?: undefined;
|
|
339
340
|
calls?: undefined;
|
|
340
341
|
capabilities?: undefined;
|
|
342
|
+
feePayer?: undefined;
|
|
341
343
|
nonceKey?: undefined;
|
|
342
344
|
keyAuthorization?: undefined;
|
|
343
345
|
feeToken?: undefined;
|
|
344
346
|
validAfter?: undefined;
|
|
345
347
|
signatures?: undefined;
|
|
346
348
|
validBefore?: undefined;
|
|
347
|
-
feePayer?: undefined;
|
|
348
349
|
multisig?: undefined;
|
|
349
350
|
multisigInit?: undefined;
|
|
350
351
|
multisigSignatureCount?: undefined;
|
|
@@ -368,13 +369,13 @@ export declare const chains: ({
|
|
|
368
369
|
authorizationList?: undefined;
|
|
369
370
|
calls?: undefined;
|
|
370
371
|
capabilities?: undefined;
|
|
372
|
+
feePayer?: undefined;
|
|
371
373
|
nonceKey?: undefined;
|
|
372
374
|
keyAuthorization?: undefined;
|
|
373
375
|
feeToken?: undefined;
|
|
374
376
|
validAfter?: undefined;
|
|
375
377
|
signatures?: undefined;
|
|
376
378
|
validBefore?: undefined;
|
|
377
|
-
feePayer?: undefined;
|
|
378
379
|
multisig?: undefined;
|
|
379
380
|
multisigInit?: undefined;
|
|
380
381
|
multisigSignatureCount?: undefined;
|
|
@@ -398,13 +399,13 @@ export declare const chains: ({
|
|
|
398
399
|
authorizationList?: undefined;
|
|
399
400
|
calls?: undefined;
|
|
400
401
|
capabilities?: undefined;
|
|
402
|
+
feePayer?: undefined;
|
|
401
403
|
nonceKey?: undefined;
|
|
402
404
|
keyAuthorization?: undefined;
|
|
403
405
|
feeToken?: undefined;
|
|
404
406
|
validAfter?: undefined;
|
|
405
407
|
signatures?: undefined;
|
|
406
408
|
validBefore?: undefined;
|
|
407
|
-
feePayer?: undefined;
|
|
408
409
|
multisig?: undefined;
|
|
409
410
|
multisigInit?: undefined;
|
|
410
411
|
multisigSignatureCount?: undefined;
|
|
@@ -428,13 +429,13 @@ export declare const chains: ({
|
|
|
428
429
|
authorizationList?: undefined;
|
|
429
430
|
calls?: undefined;
|
|
430
431
|
capabilities?: undefined;
|
|
432
|
+
feePayer?: undefined;
|
|
431
433
|
nonceKey?: undefined;
|
|
432
434
|
keyAuthorization?: undefined;
|
|
433
435
|
feeToken?: undefined;
|
|
434
436
|
validAfter?: undefined;
|
|
435
437
|
signatures?: undefined;
|
|
436
438
|
validBefore?: undefined;
|
|
437
|
-
feePayer?: undefined;
|
|
438
439
|
multisig?: undefined;
|
|
439
440
|
multisigInit?: undefined;
|
|
440
441
|
multisigSignatureCount?: undefined;
|
|
@@ -458,13 +459,13 @@ export declare const chains: ({
|
|
|
458
459
|
sidecars?: undefined;
|
|
459
460
|
calls?: undefined;
|
|
460
461
|
capabilities?: undefined;
|
|
462
|
+
feePayer?: undefined;
|
|
461
463
|
nonceKey?: undefined;
|
|
462
464
|
keyAuthorization?: undefined;
|
|
463
465
|
feeToken?: undefined;
|
|
464
466
|
validAfter?: undefined;
|
|
465
467
|
signatures?: undefined;
|
|
466
468
|
validBefore?: undefined;
|
|
467
|
-
feePayer?: undefined;
|
|
468
469
|
multisig?: undefined;
|
|
469
470
|
multisigInit?: undefined;
|
|
470
471
|
multisigSignatureCount?: undefined;
|
|
@@ -529,7 +530,7 @@ export declare const chains: ({
|
|
|
529
530
|
extend: <const extended_1 extends {
|
|
530
531
|
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
531
532
|
hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
|
|
532
|
-
}>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
|
|
533
|
+
}>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem/chains").Chain<undefined>, {
|
|
533
534
|
readonly id: 42431;
|
|
534
535
|
readonly hardfork: "t5";
|
|
535
536
|
readonly blockExplorers: {
|
|
@@ -587,9 +588,9 @@ export declare const chains: ({
|
|
|
587
588
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
588
589
|
signature?: undefined;
|
|
589
590
|
calls?: undefined;
|
|
591
|
+
feePayerSignature?: undefined;
|
|
590
592
|
nonceKey?: undefined;
|
|
591
593
|
keyAuthorization?: undefined;
|
|
592
|
-
feePayerSignature?: undefined;
|
|
593
594
|
feeToken?: undefined;
|
|
594
595
|
validAfter?: undefined;
|
|
595
596
|
validBefore?: undefined;
|
|
@@ -621,9 +622,9 @@ export declare const chains: ({
|
|
|
621
622
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
622
623
|
signature?: undefined;
|
|
623
624
|
calls?: undefined;
|
|
625
|
+
feePayerSignature?: undefined;
|
|
624
626
|
nonceKey?: undefined;
|
|
625
627
|
keyAuthorization?: undefined;
|
|
626
|
-
feePayerSignature?: undefined;
|
|
627
628
|
feeToken?: undefined;
|
|
628
629
|
validAfter?: undefined;
|
|
629
630
|
validBefore?: undefined;
|
|
@@ -655,9 +656,9 @@ export declare const chains: ({
|
|
|
655
656
|
maxPriorityFeePerGas: bigint;
|
|
656
657
|
signature?: undefined;
|
|
657
658
|
calls?: undefined;
|
|
659
|
+
feePayerSignature?: undefined;
|
|
658
660
|
nonceKey?: undefined;
|
|
659
661
|
keyAuthorization?: undefined;
|
|
660
|
-
feePayerSignature?: undefined;
|
|
661
662
|
feeToken?: undefined;
|
|
662
663
|
validAfter?: undefined;
|
|
663
664
|
validBefore?: undefined;
|
|
@@ -689,9 +690,9 @@ export declare const chains: ({
|
|
|
689
690
|
maxPriorityFeePerGas: bigint;
|
|
690
691
|
signature?: undefined;
|
|
691
692
|
calls?: undefined;
|
|
693
|
+
feePayerSignature?: undefined;
|
|
692
694
|
nonceKey?: undefined;
|
|
693
695
|
keyAuthorization?: undefined;
|
|
694
|
-
feePayerSignature?: undefined;
|
|
695
696
|
feeToken?: undefined;
|
|
696
697
|
validAfter?: undefined;
|
|
697
698
|
validBefore?: undefined;
|
|
@@ -723,9 +724,9 @@ export declare const chains: ({
|
|
|
723
724
|
maxPriorityFeePerGas: bigint;
|
|
724
725
|
signature?: undefined;
|
|
725
726
|
calls?: undefined;
|
|
727
|
+
feePayerSignature?: undefined;
|
|
726
728
|
nonceKey?: undefined;
|
|
727
729
|
keyAuthorization?: undefined;
|
|
728
|
-
feePayerSignature?: undefined;
|
|
729
730
|
feeToken?: undefined;
|
|
730
731
|
validAfter?: undefined;
|
|
731
732
|
validBefore?: undefined;
|
|
@@ -819,13 +820,13 @@ export declare const chains: ({
|
|
|
819
820
|
authorizationList?: undefined;
|
|
820
821
|
calls?: undefined;
|
|
821
822
|
capabilities?: undefined;
|
|
823
|
+
feePayer?: undefined;
|
|
822
824
|
nonceKey?: undefined;
|
|
823
825
|
keyAuthorization?: undefined;
|
|
824
826
|
feeToken?: undefined;
|
|
825
827
|
validAfter?: undefined;
|
|
826
828
|
signatures?: undefined;
|
|
827
829
|
validBefore?: undefined;
|
|
828
|
-
feePayer?: undefined;
|
|
829
830
|
multisig?: undefined;
|
|
830
831
|
multisigInit?: undefined;
|
|
831
832
|
multisigSignatureCount?: undefined;
|
|
@@ -849,13 +850,13 @@ export declare const chains: ({
|
|
|
849
850
|
authorizationList?: undefined;
|
|
850
851
|
calls?: undefined;
|
|
851
852
|
capabilities?: undefined;
|
|
853
|
+
feePayer?: undefined;
|
|
852
854
|
nonceKey?: undefined;
|
|
853
855
|
keyAuthorization?: undefined;
|
|
854
856
|
feeToken?: undefined;
|
|
855
857
|
validAfter?: undefined;
|
|
856
858
|
signatures?: undefined;
|
|
857
859
|
validBefore?: undefined;
|
|
858
|
-
feePayer?: undefined;
|
|
859
860
|
multisig?: undefined;
|
|
860
861
|
multisigInit?: undefined;
|
|
861
862
|
multisigSignatureCount?: undefined;
|
|
@@ -879,13 +880,13 @@ export declare const chains: ({
|
|
|
879
880
|
authorizationList?: undefined;
|
|
880
881
|
calls?: undefined;
|
|
881
882
|
capabilities?: undefined;
|
|
883
|
+
feePayer?: undefined;
|
|
882
884
|
nonceKey?: undefined;
|
|
883
885
|
keyAuthorization?: undefined;
|
|
884
886
|
feeToken?: undefined;
|
|
885
887
|
validAfter?: undefined;
|
|
886
888
|
signatures?: undefined;
|
|
887
889
|
validBefore?: undefined;
|
|
888
|
-
feePayer?: undefined;
|
|
889
890
|
multisig?: undefined;
|
|
890
891
|
multisigInit?: undefined;
|
|
891
892
|
multisigSignatureCount?: undefined;
|
|
@@ -909,13 +910,13 @@ export declare const chains: ({
|
|
|
909
910
|
authorizationList?: undefined;
|
|
910
911
|
calls?: undefined;
|
|
911
912
|
capabilities?: undefined;
|
|
913
|
+
feePayer?: undefined;
|
|
912
914
|
nonceKey?: undefined;
|
|
913
915
|
keyAuthorization?: undefined;
|
|
914
916
|
feeToken?: undefined;
|
|
915
917
|
validAfter?: undefined;
|
|
916
918
|
signatures?: undefined;
|
|
917
919
|
validBefore?: undefined;
|
|
918
|
-
feePayer?: undefined;
|
|
919
920
|
multisig?: undefined;
|
|
920
921
|
multisigInit?: undefined;
|
|
921
922
|
multisigSignatureCount?: undefined;
|
|
@@ -939,13 +940,13 @@ export declare const chains: ({
|
|
|
939
940
|
authorizationList?: undefined;
|
|
940
941
|
calls?: undefined;
|
|
941
942
|
capabilities?: undefined;
|
|
943
|
+
feePayer?: undefined;
|
|
942
944
|
nonceKey?: undefined;
|
|
943
945
|
keyAuthorization?: undefined;
|
|
944
946
|
feeToken?: undefined;
|
|
945
947
|
validAfter?: undefined;
|
|
946
948
|
signatures?: undefined;
|
|
947
949
|
validBefore?: undefined;
|
|
948
|
-
feePayer?: undefined;
|
|
949
950
|
multisig?: undefined;
|
|
950
951
|
multisigInit?: undefined;
|
|
951
952
|
multisigSignatureCount?: undefined;
|
|
@@ -969,13 +970,13 @@ export declare const chains: ({
|
|
|
969
970
|
sidecars?: undefined;
|
|
970
971
|
calls?: undefined;
|
|
971
972
|
capabilities?: undefined;
|
|
973
|
+
feePayer?: undefined;
|
|
972
974
|
nonceKey?: undefined;
|
|
973
975
|
keyAuthorization?: undefined;
|
|
974
976
|
feeToken?: undefined;
|
|
975
977
|
validAfter?: undefined;
|
|
976
978
|
signatures?: undefined;
|
|
977
979
|
validBefore?: undefined;
|
|
978
|
-
feePayer?: undefined;
|
|
979
980
|
multisig?: undefined;
|
|
980
981
|
multisigInit?: undefined;
|
|
981
982
|
multisigSignatureCount?: undefined;
|
|
@@ -1029,7 +1030,7 @@ export declare const chains: ({
|
|
|
1029
1030
|
readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
1030
1031
|
client: import("viem").Client;
|
|
1031
1032
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1032
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters
|
|
1033
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
1033
1034
|
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
1034
1035
|
}];
|
|
1035
1036
|
readonly serializers: {
|
|
@@ -1070,6 +1071,7 @@ export declare const chains: ({
|
|
|
1070
1071
|
};
|
|
1071
1072
|
};
|
|
1072
1073
|
sourceId?: number | undefined | undefined;
|
|
1074
|
+
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
1073
1075
|
testnet?: boolean | undefined | undefined;
|
|
1074
1076
|
custom?: Record<string, unknown> | undefined;
|
|
1075
1077
|
extendSchema: {
|
|
@@ -1108,9 +1110,9 @@ export declare const chains: ({
|
|
|
1108
1110
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
1109
1111
|
signature?: undefined;
|
|
1110
1112
|
calls?: undefined;
|
|
1113
|
+
feePayerSignature?: undefined;
|
|
1111
1114
|
nonceKey?: undefined;
|
|
1112
1115
|
keyAuthorization?: undefined;
|
|
1113
|
-
feePayerSignature?: undefined;
|
|
1114
1116
|
feeToken?: undefined;
|
|
1115
1117
|
validAfter?: undefined;
|
|
1116
1118
|
validBefore?: undefined;
|
|
@@ -1142,9 +1144,9 @@ export declare const chains: ({
|
|
|
1142
1144
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
1143
1145
|
signature?: undefined;
|
|
1144
1146
|
calls?: undefined;
|
|
1147
|
+
feePayerSignature?: undefined;
|
|
1145
1148
|
nonceKey?: undefined;
|
|
1146
1149
|
keyAuthorization?: undefined;
|
|
1147
|
-
feePayerSignature?: undefined;
|
|
1148
1150
|
feeToken?: undefined;
|
|
1149
1151
|
validAfter?: undefined;
|
|
1150
1152
|
validBefore?: undefined;
|
|
@@ -1176,9 +1178,9 @@ export declare const chains: ({
|
|
|
1176
1178
|
maxPriorityFeePerGas: bigint;
|
|
1177
1179
|
signature?: undefined;
|
|
1178
1180
|
calls?: undefined;
|
|
1181
|
+
feePayerSignature?: undefined;
|
|
1179
1182
|
nonceKey?: undefined;
|
|
1180
1183
|
keyAuthorization?: undefined;
|
|
1181
|
-
feePayerSignature?: undefined;
|
|
1182
1184
|
feeToken?: undefined;
|
|
1183
1185
|
validAfter?: undefined;
|
|
1184
1186
|
validBefore?: undefined;
|
|
@@ -1210,9 +1212,9 @@ export declare const chains: ({
|
|
|
1210
1212
|
maxPriorityFeePerGas: bigint;
|
|
1211
1213
|
signature?: undefined;
|
|
1212
1214
|
calls?: undefined;
|
|
1215
|
+
feePayerSignature?: undefined;
|
|
1213
1216
|
nonceKey?: undefined;
|
|
1214
1217
|
keyAuthorization?: undefined;
|
|
1215
|
-
feePayerSignature?: undefined;
|
|
1216
1218
|
feeToken?: undefined;
|
|
1217
1219
|
validAfter?: undefined;
|
|
1218
1220
|
validBefore?: undefined;
|
|
@@ -1244,9 +1246,9 @@ export declare const chains: ({
|
|
|
1244
1246
|
maxPriorityFeePerGas: bigint;
|
|
1245
1247
|
signature?: undefined;
|
|
1246
1248
|
calls?: undefined;
|
|
1249
|
+
feePayerSignature?: undefined;
|
|
1247
1250
|
nonceKey?: undefined;
|
|
1248
1251
|
keyAuthorization?: undefined;
|
|
1249
|
-
feePayerSignature?: undefined;
|
|
1250
1252
|
feeToken?: undefined;
|
|
1251
1253
|
validAfter?: undefined;
|
|
1252
1254
|
validBefore?: undefined;
|
|
@@ -1340,13 +1342,13 @@ export declare const chains: ({
|
|
|
1340
1342
|
authorizationList?: undefined;
|
|
1341
1343
|
calls?: undefined;
|
|
1342
1344
|
capabilities?: undefined;
|
|
1345
|
+
feePayer?: undefined;
|
|
1343
1346
|
nonceKey?: undefined;
|
|
1344
1347
|
keyAuthorization?: undefined;
|
|
1345
1348
|
feeToken?: undefined;
|
|
1346
1349
|
validAfter?: undefined;
|
|
1347
1350
|
signatures?: undefined;
|
|
1348
1351
|
validBefore?: undefined;
|
|
1349
|
-
feePayer?: undefined;
|
|
1350
1352
|
multisig?: undefined;
|
|
1351
1353
|
multisigInit?: undefined;
|
|
1352
1354
|
multisigSignatureCount?: undefined;
|
|
@@ -1370,13 +1372,13 @@ export declare const chains: ({
|
|
|
1370
1372
|
authorizationList?: undefined;
|
|
1371
1373
|
calls?: undefined;
|
|
1372
1374
|
capabilities?: undefined;
|
|
1375
|
+
feePayer?: undefined;
|
|
1373
1376
|
nonceKey?: undefined;
|
|
1374
1377
|
keyAuthorization?: undefined;
|
|
1375
1378
|
feeToken?: undefined;
|
|
1376
1379
|
validAfter?: undefined;
|
|
1377
1380
|
signatures?: undefined;
|
|
1378
1381
|
validBefore?: undefined;
|
|
1379
|
-
feePayer?: undefined;
|
|
1380
1382
|
multisig?: undefined;
|
|
1381
1383
|
multisigInit?: undefined;
|
|
1382
1384
|
multisigSignatureCount?: undefined;
|
|
@@ -1400,13 +1402,13 @@ export declare const chains: ({
|
|
|
1400
1402
|
authorizationList?: undefined;
|
|
1401
1403
|
calls?: undefined;
|
|
1402
1404
|
capabilities?: undefined;
|
|
1405
|
+
feePayer?: undefined;
|
|
1403
1406
|
nonceKey?: undefined;
|
|
1404
1407
|
keyAuthorization?: undefined;
|
|
1405
1408
|
feeToken?: undefined;
|
|
1406
1409
|
validAfter?: undefined;
|
|
1407
1410
|
signatures?: undefined;
|
|
1408
1411
|
validBefore?: undefined;
|
|
1409
|
-
feePayer?: undefined;
|
|
1410
1412
|
multisig?: undefined;
|
|
1411
1413
|
multisigInit?: undefined;
|
|
1412
1414
|
multisigSignatureCount?: undefined;
|
|
@@ -1430,13 +1432,13 @@ export declare const chains: ({
|
|
|
1430
1432
|
authorizationList?: undefined;
|
|
1431
1433
|
calls?: undefined;
|
|
1432
1434
|
capabilities?: undefined;
|
|
1435
|
+
feePayer?: undefined;
|
|
1433
1436
|
nonceKey?: undefined;
|
|
1434
1437
|
keyAuthorization?: undefined;
|
|
1435
1438
|
feeToken?: undefined;
|
|
1436
1439
|
validAfter?: undefined;
|
|
1437
1440
|
signatures?: undefined;
|
|
1438
1441
|
validBefore?: undefined;
|
|
1439
|
-
feePayer?: undefined;
|
|
1440
1442
|
multisig?: undefined;
|
|
1441
1443
|
multisigInit?: undefined;
|
|
1442
1444
|
multisigSignatureCount?: undefined;
|
|
@@ -1460,13 +1462,13 @@ export declare const chains: ({
|
|
|
1460
1462
|
authorizationList?: undefined;
|
|
1461
1463
|
calls?: undefined;
|
|
1462
1464
|
capabilities?: undefined;
|
|
1465
|
+
feePayer?: undefined;
|
|
1463
1466
|
nonceKey?: undefined;
|
|
1464
1467
|
keyAuthorization?: undefined;
|
|
1465
1468
|
feeToken?: undefined;
|
|
1466
1469
|
validAfter?: undefined;
|
|
1467
1470
|
signatures?: undefined;
|
|
1468
1471
|
validBefore?: undefined;
|
|
1469
|
-
feePayer?: undefined;
|
|
1470
1472
|
multisig?: undefined;
|
|
1471
1473
|
multisigInit?: undefined;
|
|
1472
1474
|
multisigSignatureCount?: undefined;
|
|
@@ -1490,13 +1492,13 @@ export declare const chains: ({
|
|
|
1490
1492
|
sidecars?: undefined;
|
|
1491
1493
|
calls?: undefined;
|
|
1492
1494
|
capabilities?: undefined;
|
|
1495
|
+
feePayer?: undefined;
|
|
1493
1496
|
nonceKey?: undefined;
|
|
1494
1497
|
keyAuthorization?: undefined;
|
|
1495
1498
|
feeToken?: undefined;
|
|
1496
1499
|
validAfter?: undefined;
|
|
1497
1500
|
signatures?: undefined;
|
|
1498
1501
|
validBefore?: undefined;
|
|
1499
|
-
feePayer?: undefined;
|
|
1500
1502
|
multisig?: undefined;
|
|
1501
1503
|
multisigInit?: undefined;
|
|
1502
1504
|
multisigSignatureCount?: undefined;
|
|
@@ -1560,7 +1562,7 @@ export declare const chains: ({
|
|
|
1560
1562
|
extend: <const extended_1 extends {
|
|
1561
1563
|
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1562
1564
|
hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
|
|
1563
|
-
}>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
|
|
1565
|
+
}>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem/chains").Chain<undefined>, {
|
|
1564
1566
|
readonly id: 4217;
|
|
1565
1567
|
readonly blockExplorers: {
|
|
1566
1568
|
readonly default: {
|
|
@@ -1616,9 +1618,9 @@ export declare const chains: ({
|
|
|
1616
1618
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
1617
1619
|
signature?: undefined;
|
|
1618
1620
|
calls?: undefined;
|
|
1621
|
+
feePayerSignature?: undefined;
|
|
1619
1622
|
nonceKey?: undefined;
|
|
1620
1623
|
keyAuthorization?: undefined;
|
|
1621
|
-
feePayerSignature?: undefined;
|
|
1622
1624
|
feeToken?: undefined;
|
|
1623
1625
|
validAfter?: undefined;
|
|
1624
1626
|
validBefore?: undefined;
|
|
@@ -1650,9 +1652,9 @@ export declare const chains: ({
|
|
|
1650
1652
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
1651
1653
|
signature?: undefined;
|
|
1652
1654
|
calls?: undefined;
|
|
1655
|
+
feePayerSignature?: undefined;
|
|
1653
1656
|
nonceKey?: undefined;
|
|
1654
1657
|
keyAuthorization?: undefined;
|
|
1655
|
-
feePayerSignature?: undefined;
|
|
1656
1658
|
feeToken?: undefined;
|
|
1657
1659
|
validAfter?: undefined;
|
|
1658
1660
|
validBefore?: undefined;
|
|
@@ -1684,9 +1686,9 @@ export declare const chains: ({
|
|
|
1684
1686
|
maxPriorityFeePerGas: bigint;
|
|
1685
1687
|
signature?: undefined;
|
|
1686
1688
|
calls?: undefined;
|
|
1689
|
+
feePayerSignature?: undefined;
|
|
1687
1690
|
nonceKey?: undefined;
|
|
1688
1691
|
keyAuthorization?: undefined;
|
|
1689
|
-
feePayerSignature?: undefined;
|
|
1690
1692
|
feeToken?: undefined;
|
|
1691
1693
|
validAfter?: undefined;
|
|
1692
1694
|
validBefore?: undefined;
|
|
@@ -1718,9 +1720,9 @@ export declare const chains: ({
|
|
|
1718
1720
|
maxPriorityFeePerGas: bigint;
|
|
1719
1721
|
signature?: undefined;
|
|
1720
1722
|
calls?: undefined;
|
|
1723
|
+
feePayerSignature?: undefined;
|
|
1721
1724
|
nonceKey?: undefined;
|
|
1722
1725
|
keyAuthorization?: undefined;
|
|
1723
|
-
feePayerSignature?: undefined;
|
|
1724
1726
|
feeToken?: undefined;
|
|
1725
1727
|
validAfter?: undefined;
|
|
1726
1728
|
validBefore?: undefined;
|
|
@@ -1752,9 +1754,9 @@ export declare const chains: ({
|
|
|
1752
1754
|
maxPriorityFeePerGas: bigint;
|
|
1753
1755
|
signature?: undefined;
|
|
1754
1756
|
calls?: undefined;
|
|
1757
|
+
feePayerSignature?: undefined;
|
|
1755
1758
|
nonceKey?: undefined;
|
|
1756
1759
|
keyAuthorization?: undefined;
|
|
1757
|
-
feePayerSignature?: undefined;
|
|
1758
1760
|
feeToken?: undefined;
|
|
1759
1761
|
validAfter?: undefined;
|
|
1760
1762
|
validBefore?: undefined;
|
|
@@ -1848,13 +1850,13 @@ export declare const chains: ({
|
|
|
1848
1850
|
authorizationList?: undefined;
|
|
1849
1851
|
calls?: undefined;
|
|
1850
1852
|
capabilities?: undefined;
|
|
1853
|
+
feePayer?: undefined;
|
|
1851
1854
|
nonceKey?: undefined;
|
|
1852
1855
|
keyAuthorization?: undefined;
|
|
1853
1856
|
feeToken?: undefined;
|
|
1854
1857
|
validAfter?: undefined;
|
|
1855
1858
|
signatures?: undefined;
|
|
1856
1859
|
validBefore?: undefined;
|
|
1857
|
-
feePayer?: undefined;
|
|
1858
1860
|
multisig?: undefined;
|
|
1859
1861
|
multisigInit?: undefined;
|
|
1860
1862
|
multisigSignatureCount?: undefined;
|
|
@@ -1878,13 +1880,13 @@ export declare const chains: ({
|
|
|
1878
1880
|
authorizationList?: undefined;
|
|
1879
1881
|
calls?: undefined;
|
|
1880
1882
|
capabilities?: undefined;
|
|
1883
|
+
feePayer?: undefined;
|
|
1881
1884
|
nonceKey?: undefined;
|
|
1882
1885
|
keyAuthorization?: undefined;
|
|
1883
1886
|
feeToken?: undefined;
|
|
1884
1887
|
validAfter?: undefined;
|
|
1885
1888
|
signatures?: undefined;
|
|
1886
1889
|
validBefore?: undefined;
|
|
1887
|
-
feePayer?: undefined;
|
|
1888
1890
|
multisig?: undefined;
|
|
1889
1891
|
multisigInit?: undefined;
|
|
1890
1892
|
multisigSignatureCount?: undefined;
|
|
@@ -1908,13 +1910,13 @@ export declare const chains: ({
|
|
|
1908
1910
|
authorizationList?: undefined;
|
|
1909
1911
|
calls?: undefined;
|
|
1910
1912
|
capabilities?: undefined;
|
|
1913
|
+
feePayer?: undefined;
|
|
1911
1914
|
nonceKey?: undefined;
|
|
1912
1915
|
keyAuthorization?: undefined;
|
|
1913
1916
|
feeToken?: undefined;
|
|
1914
1917
|
validAfter?: undefined;
|
|
1915
1918
|
signatures?: undefined;
|
|
1916
1919
|
validBefore?: undefined;
|
|
1917
|
-
feePayer?: undefined;
|
|
1918
1920
|
multisig?: undefined;
|
|
1919
1921
|
multisigInit?: undefined;
|
|
1920
1922
|
multisigSignatureCount?: undefined;
|
|
@@ -1938,13 +1940,13 @@ export declare const chains: ({
|
|
|
1938
1940
|
authorizationList?: undefined;
|
|
1939
1941
|
calls?: undefined;
|
|
1940
1942
|
capabilities?: undefined;
|
|
1943
|
+
feePayer?: undefined;
|
|
1941
1944
|
nonceKey?: undefined;
|
|
1942
1945
|
keyAuthorization?: undefined;
|
|
1943
1946
|
feeToken?: undefined;
|
|
1944
1947
|
validAfter?: undefined;
|
|
1945
1948
|
signatures?: undefined;
|
|
1946
1949
|
validBefore?: undefined;
|
|
1947
|
-
feePayer?: undefined;
|
|
1948
1950
|
multisig?: undefined;
|
|
1949
1951
|
multisigInit?: undefined;
|
|
1950
1952
|
multisigSignatureCount?: undefined;
|
|
@@ -1968,13 +1970,13 @@ export declare const chains: ({
|
|
|
1968
1970
|
authorizationList?: undefined;
|
|
1969
1971
|
calls?: undefined;
|
|
1970
1972
|
capabilities?: undefined;
|
|
1973
|
+
feePayer?: undefined;
|
|
1971
1974
|
nonceKey?: undefined;
|
|
1972
1975
|
keyAuthorization?: undefined;
|
|
1973
1976
|
feeToken?: undefined;
|
|
1974
1977
|
validAfter?: undefined;
|
|
1975
1978
|
signatures?: undefined;
|
|
1976
1979
|
validBefore?: undefined;
|
|
1977
|
-
feePayer?: undefined;
|
|
1978
1980
|
multisig?: undefined;
|
|
1979
1981
|
multisigInit?: undefined;
|
|
1980
1982
|
multisigSignatureCount?: undefined;
|
|
@@ -1998,13 +2000,13 @@ export declare const chains: ({
|
|
|
1998
2000
|
sidecars?: undefined;
|
|
1999
2001
|
calls?: undefined;
|
|
2000
2002
|
capabilities?: undefined;
|
|
2003
|
+
feePayer?: undefined;
|
|
2001
2004
|
nonceKey?: undefined;
|
|
2002
2005
|
keyAuthorization?: undefined;
|
|
2003
2006
|
feeToken?: undefined;
|
|
2004
2007
|
validAfter?: undefined;
|
|
2005
2008
|
signatures?: undefined;
|
|
2006
2009
|
validBefore?: undefined;
|
|
2007
|
-
feePayer?: undefined;
|
|
2008
2010
|
multisig?: undefined;
|
|
2009
2011
|
multisigInit?: undefined;
|
|
2010
2012
|
multisigSignatureCount?: undefined;
|
|
@@ -2058,7 +2060,7 @@ export declare const chains: ({
|
|
|
2058
2060
|
readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
2059
2061
|
client: import("viem").Client;
|
|
2060
2062
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
2061
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters
|
|
2063
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
2062
2064
|
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
2063
2065
|
}];
|
|
2064
2066
|
readonly serializers: {
|
|
@@ -2086,21 +2088,20 @@ export type Chain = Omit<typeof tempoMainnet, 'id'> & {
|
|
|
2086
2088
|
};
|
|
2087
2089
|
/** Gets a Tempo viem client for a chain id. */
|
|
2088
2090
|
export type GetClient = (chainId?: ChainId) => getClient.ReturnType;
|
|
2089
|
-
/**
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
export type UrlResolver = (chainId: ChainId) => string | undefined;
|
|
2091
|
+
/** Shared, per-chain, or dynamically resolved RPC URLs. */
|
|
2092
|
+
export type UrlResolver = string | Record<number, string> | ((chainId: ChainId) => string | undefined);
|
|
2093
|
+
/** Returns chain ids declared by a static chain-id-to-URL map. */
|
|
2094
|
+
export declare function configuredChainIds(value: UrlResolver | undefined): number[];
|
|
2094
2095
|
/**
|
|
2095
2096
|
* Resolves the effective RPC config for a single request.
|
|
2096
2097
|
*
|
|
2097
2098
|
* Accepts either a static config object or a per-request resolver function. The
|
|
2098
|
-
* resolver receives a {@link
|
|
2099
|
+
* resolver receives a {@link resolveRpc.Context} (`chainId` plus the request
|
|
2099
2100
|
* `principal`), so callers can route traffic per caller — e.g. send anonymous
|
|
2100
2101
|
* (`principal.type === 'public'`) traffic to a separate, no-auth upstream. A
|
|
2101
2102
|
* `null` principal denotes a trusted, non-request caller (the scheduled
|
|
2102
2103
|
* webhook poller). A missing `url` falls back to the built-in public host map
|
|
2103
|
-
* ({@link url});
|
|
2104
|
+
* ({@link url}); missing `auth` means no Authorization header is sent.
|
|
2104
2105
|
*
|
|
2105
2106
|
* Memoization is keyed on the resolved output (see {@link createGetClient} and
|
|
2106
2107
|
* {@link Tidx.createGetClient}), not the context, so a resolver may branch on
|
|
@@ -2108,8 +2109,8 @@ export type UrlResolver = (chainId: ChainId) => string | undefined;
|
|
|
2108
2109
|
* resolve to the same upstream share a client. Pass the result to
|
|
2109
2110
|
* {@link getClient} (or let `getClient` resolve for you) to build a client.
|
|
2110
2111
|
*/
|
|
2111
|
-
export declare function
|
|
2112
|
-
export declare namespace
|
|
2112
|
+
export declare function resolveRpc(rpc: getClient.Rpc | undefined, context: resolveRpc.Context): resolveRpc.Resolved;
|
|
2113
|
+
export declare namespace resolveRpc {
|
|
2113
2114
|
/** RPC resolution context. */
|
|
2114
2115
|
type Context = {
|
|
2115
2116
|
/** Tempo chain id. */
|
|
@@ -2120,11 +2121,17 @@ export declare namespace resolve {
|
|
|
2120
2121
|
* `type: 'public'` principal; authenticated requests a `type: 'api_key'` one.
|
|
2121
2122
|
*/
|
|
2122
2123
|
principal: Auth.Principal | null;
|
|
2124
|
+
/** Zone chain selected for this request, when applicable. */
|
|
2125
|
+
zone?: core_Chain | undefined;
|
|
2123
2126
|
};
|
|
2124
2127
|
/** Resolved RPC config for a single request. */
|
|
2125
2128
|
type Resolved = {
|
|
2126
2129
|
/** Basic auth credentials, or undefined to send no Basic auth. */
|
|
2127
2130
|
basicAuth?: string | undefined;
|
|
2131
|
+
/** Bearer auth credential, or undefined to send no Bearer auth. */
|
|
2132
|
+
bearerAuth?: string | undefined;
|
|
2133
|
+
/** Public Zone RPC URL that accepts a caller-provided authorization token. */
|
|
2134
|
+
publicZoneUrl?: string | undefined;
|
|
2128
2135
|
/**
|
|
2129
2136
|
* Resolved RPC URL, or `undefined` when neither a configured `rpc` nor the
|
|
2130
2137
|
* built-in {@link url} map covers the chain (e.g. an unconfigured localnet).
|
|
@@ -2143,6 +2150,8 @@ export declare namespace createGetClient {
|
|
|
2143
2150
|
defaultChainId?: ChainId | undefined;
|
|
2144
2151
|
/** Tempo RPC options applied to every constructed client. */
|
|
2145
2152
|
rpc?: getClient.Rpc | undefined;
|
|
2153
|
+
/** Zone chains whose internal RPC URLs serve as per-chain defaults. */
|
|
2154
|
+
zones?: readonly core_Chain[] | undefined;
|
|
2146
2155
|
};
|
|
2147
2156
|
/** Memoized Tempo client resolver. */
|
|
2148
2157
|
type ReturnType = (chainId?: ChainId, principal?: Auth.Principal | null) => getClient.ReturnType;
|
|
@@ -2158,24 +2167,32 @@ export declare namespace getClient {
|
|
|
2158
2167
|
principal?: Auth.Principal | null | undefined;
|
|
2159
2168
|
/** Tempo RPC options. */
|
|
2160
2169
|
rpc?: Rpc | undefined;
|
|
2170
|
+
/** Zone chain metadata used for RPC URL resolution. */
|
|
2171
|
+
zone?: core_Chain | undefined;
|
|
2161
2172
|
/** Zone authorization token forwarded to the RPC node. */
|
|
2162
2173
|
zoneToken?: string | undefined;
|
|
2163
2174
|
};
|
|
2164
2175
|
/**
|
|
2165
2176
|
* Tempo RPC options: either a static config, or a per-request resolver
|
|
2166
|
-
* function that receives a {@link
|
|
2177
|
+
* function that receives a {@link resolveRpc.Context} and returns the config to
|
|
2167
2178
|
* use (e.g. routing anonymous callers to a public, no-auth RPC).
|
|
2168
2179
|
*/
|
|
2169
2180
|
type Rpc = {
|
|
2170
|
-
/** Basic auth
|
|
2171
|
-
|
|
2181
|
+
/** Shared or per-chain RPC credentials. Values containing `:` use Basic auth; others use Bearer auth. */
|
|
2182
|
+
auth?: Auth.ChainCredential | undefined;
|
|
2183
|
+
/** Resolves the public Zone RPC URL used with caller-provided authorization. */
|
|
2184
|
+
publicZoneUrl?: UrlResolver | undefined;
|
|
2172
2185
|
/** Resolves the RPC URL for a Tempo chain id. */
|
|
2173
2186
|
url?: UrlResolver | undefined;
|
|
2174
|
-
} | ((context:
|
|
2175
|
-
/**
|
|
2176
|
-
|
|
2187
|
+
} | ((context: resolveRpc.Context) => {
|
|
2188
|
+
/** Shared or per-chain RPC credentials, or undefined for none. */
|
|
2189
|
+
auth?: Auth.ChainCredential | undefined;
|
|
2190
|
+
/** Public Zone RPC URL used with caller-provided authorization. */
|
|
2191
|
+
publicZoneUrl?: string | undefined;
|
|
2177
2192
|
/** RPC URL to use; falls back to the built-in public host when omitted. */
|
|
2178
2193
|
url?: string | undefined;
|
|
2179
2194
|
});
|
|
2180
2195
|
}
|
|
2196
|
+
/** Resolves a shared or per-chain URL for one chain id. */
|
|
2197
|
+
export declare function resolveUrl(value: UrlResolver | undefined, chainId: ChainId): string | undefined;
|
|
2181
2198
|
//# sourceMappingURL=Viem.d.ts.map
|