mirror of
https://github.com/hanzoai/viem.git
synced 2026-10-30 19:36:39 +00:00
* feat(tokens): add viem/tokens entrypoint with ERC-20 + USDC abstractions Adds a composable viem/tokens entrypoint: - Generic Actions.erc20.* actions (read/write/sync/watch) with .call + extractEvent - Decorators.defineErc20 factory + usdc() client decorator (client.usdc.*) - Per-chain USDC address map (Addresses.usdc) - String amounts parsed via decimals; address resolvable from client chain, an explicit address, or a chain override - Docs (site/pages/tokens.mdx) wired into core + Tokens sidebars Checkpoint before refactor to chain-config tokens + tokenActions() proxy. Amp-Thread-ID: https://ampcode.com/threads/T-019f00b4-7aca-73df-8be4-4e0aa526a460 * feat(tokens): add token actions * docs: add tokens entrypoint changeset * docs: update token overview wording * docs: add token page descriptions * docs: revise token page descriptions * docs: restore concise token descriptions * fix(tokens): repair ci failures * test(tokens): update client token snapshots * Update bright-tempo-amounts.md * fix(chains): inline token configs * fix(types): mark token name helpers internal * test(actions): update token export snapshot * test(types): bump wallet client baseline * ci: skip wagmi verification * ci: document wagmi verification skip * test(types): update token bench baselines * feat: resolve token selectors from client tokens * feat: use token arrays on clients * feat: add token metadata * test: move client token types * refactor: rename client token type * test: cover token chain mappings * refactor(scripts): use Actions.token.getMetadata for tokenlist currency Amp-Thread-ID: https://ampcode.com/threads/T-019f154e-c2d9-759c-a0e2-54d158f5687a * Delete .changeset/fresh-token-metadata.md * test(tempo): declare client tokens for fee token resolution Amp-Thread-ID: https://ampcode.com/threads/T-019f154e-c2d9-759c-a0e2-54d158f5687a * test(clients): add tokens to client snapshots; typecheck scripts against src Amp-Thread-ID: https://ampcode.com/threads/T-019f154e-c2d9-759c-a0e2-54d158f5687a * fix(tempo): resolve tokens from client tokens instead of chain Amp-Thread-ID: https://ampcode.com/threads/T-019f154e-c2d9-759c-a0e2-54d158f5687a * refactor: remove chain tokens; resolve tokens from client tokens Amp-Thread-ID: https://ampcode.com/threads/T-019f154e-c2d9-759c-a0e2-54d158f5687a * ci: drop TypeScript 5.8.2 from verify matrix Amp-Thread-ID: https://ampcode.com/threads/T-019f154e-c2d9-759c-a0e2-54d158f5687a * test: remove stale chain tokens snapshots Amp-Thread-ID: https://ampcode.com/threads/T-019f162d-c5f7-77fa-a5f5-f2571de82ccd * test(tempo): use token address selectors after removing chain tokens Amp-Thread-ID: https://ampcode.com/threads/T-019f154e-c2d9-759c-a0e2-54d158f5687a * test(tempo): update genesis token name snapshots to PathUSD Amp-Thread-ID: https://ampcode.com/threads/T-019f154e-c2d9-759c-a0e2-54d158f5687a * test(tempo): make tokenlessClient truly tokenless; align genesis token snapshots Amp-Thread-ID: https://ampcode.com/threads/T-019f154e-c2d9-759c-a0e2-54d158f5687a
16 lines
311 B
JSON
16 lines
311 B
JSON
{
|
|
"extends": "../tsconfig.base.json",
|
|
"include": [".", "../src"],
|
|
"exclude": [
|
|
"../src/**/*.test.ts",
|
|
"../src/**/*.test-d.ts",
|
|
"../src/**/*.bench.ts",
|
|
"../src/**/*.bench-d.ts"
|
|
],
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"noEmit": true,
|
|
"types": ["@types/bun", "node"]
|
|
}
|
|
}
|