diff --git a/bun.lockb b/bun.lockb index b952b8c..a6adfba 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 069ad93..ad68186 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "devwallet", - "version": "0.1.0", + "version": "0.2.0", "private": true, "extension": { "name": "DW: DevWallet", @@ -42,7 +42,7 @@ "@radix-ui/react-form": "^0.0.3", "@radix-ui/react-polymorphic": "^0.0.14", "@radix-ui/react-popover": "^1.1.15", - "@radix-ui/react-progress": "^1.1.7", + "@radix-ui/react-progress": "^1.1.8", "@radix-ui/react-tabs": "^1.1.13", "@radix-ui/react-tooltip": "^1.2.8", "@react-hook/resize-observer": "^1.2.6", @@ -67,14 +67,14 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "react-flatten-children": "^1.1.2", - "react-hook-form": "^7.65.0", + "react-hook-form": "^7.66.0", "react-intersection-observer": "^9.16.0", "react-router": "^6.30.1", "react-router-dom": "^6.30.1", "remeda": "^1.61.0", "sonner": "^0.7.4", "use-sync-external-store": "^1.6.0", - "viem": "^2.38.3", + "viem": "^2.38.6", "zustand": "^4.5.7" }, "devDependencies": { @@ -90,7 +90,7 @@ "@types/which-pm-runs": "^1.0.2", "@vanilla-extract/vite-plugin": "^4.0.20", "@vitejs/plugin-react": "^4.7.0", - "bun-types": "^1.3.0", + "bun-types": "^1.3.1", "cross-env": "^7.0.3", "globby": "^13.2.2", "patch-package": "^8.0.1", diff --git a/src/app.tsx b/src/app.tsx index fce28ee..71da54a 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -50,6 +50,7 @@ import OnboardingRun from './screens/onboarding/run' import OnboardingStart from './screens/onboarding/start' import Session from './screens/session' import Settings from './screens/settings' +import TokenTransfer from './screens/token-transfer' import TransactionDetails from './screens/transaction-details' export function init({ type = 'standalone' }: { type?: AppMeta['type'] } = {}) { @@ -73,6 +74,10 @@ export function init({ type = 'standalone' }: { type?: AppMeta['type'] } = {}) { path: 'account/:address', element: , }, + { + path: 'transfer/:accountAddress/:tokenAddress?', + element: , + }, { path: 'block-config', element: , diff --git a/src/components/Header.tsx b/src/components/Header.tsx index ef6afd4..5b6a0b5 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -431,10 +431,9 @@ function BaseFee() { ) if (!block) return null return ( - + - {intl.format(Number(formatGwei(block.baseFeePerGas!)))}{' '} - gwei + {intl.format(Number(formatGwei(block.baseFeePerGas!)))} ) diff --git a/src/components/abi/AbiFunctionsAccordion.tsx b/src/components/abi/AbiFunctionsAccordion.tsx index ffa8a28..412d40c 100644 --- a/src/components/abi/AbiFunctionsAccordion.tsx +++ b/src/components/abi/AbiFunctionsAccordion.tsx @@ -213,7 +213,7 @@ export function AbiFunctionContent({ + } + /> + + + + {/* Action Buttons */} + + + + + + + + + ) +} diff --git a/yarn.lock b/yarn.lock index 75097d8..e71e7c1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1,6 +1,6 @@ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 -# bun ./bun.lockb --hash: D872C131C96E2063-5bbb92c690dd0960-585D1794AC5EA5D3-013902884911978e +# bun ./bun.lockb --hash: 471FFBB55E23723E-8f31cff949a5132d-73DE31F80BF753DC-7b6106664aa34b10 "@aashutoshrathi/word-wrap@^1.2.3": @@ -1319,6 +1319,11 @@ resolved "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz" integrity sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA== +"@radix-ui/react-context@1.1.3": + version "1.1.3" + resolved "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.3.tgz" + integrity sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw== + "@radix-ui/react-dialog@^1.1.15": version "1.1.15" resolved "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz" @@ -1478,13 +1483,20 @@ dependencies: "@radix-ui/react-slot" "1.2.3" -"@radix-ui/react-progress@^1.1.7": - version "1.1.7" - resolved "https://registry.npmjs.org/@radix-ui/react-progress/-/react-progress-1.1.7.tgz" - integrity sha512-vPdg/tF6YC/ynuBIJlk1mm7Le0VgW6ub6J2UWnTQ7/D23KXcPI1qy+0vBkgKgd38RCMJavBXpB83HPNFMTb0Fg== +"@radix-ui/react-primitive@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz" + integrity sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg== dependencies: - "@radix-ui/react-context" "1.1.2" - "@radix-ui/react-primitive" "2.1.3" + "@radix-ui/react-slot" "1.2.4" + +"@radix-ui/react-progress@^1.1.8": + version "1.1.8" + resolved "https://registry.npmjs.org/@radix-ui/react-progress/-/react-progress-1.1.8.tgz" + integrity sha512-+gISHcSPUJ7ktBy9RnTqbdKW78bcGke3t6taawyZ71pio1JewwGSJizycs7rLhGTvMJYCQB1DBK4KQsxs7U8dA== + dependencies: + "@radix-ui/react-context" "1.1.3" + "@radix-ui/react-primitive" "2.1.4" "@radix-ui/react-roving-focus@1.1.11": version "1.1.11" @@ -1516,6 +1528,13 @@ dependencies: "@radix-ui/react-compose-refs" "1.1.2" +"@radix-ui/react-slot@1.2.4": + version "1.2.4" + resolved "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz" + integrity sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA== + dependencies: + "@radix-ui/react-compose-refs" "1.1.2" + "@radix-ui/react-tabs@^1.1.13": version "1.1.13" resolved "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.13.tgz" @@ -2603,10 +2622,10 @@ bufferutil@^4.0.1: dependencies: node-gyp-build "^4.3.0" -bun-types@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/bun-types/-/bun-types-1.3.0.tgz" - integrity sha512-u8X0thhx+yJ0KmkxuEo9HAtdfgCBaM/aI9K90VQcQioAmkVp3SG3FkwWGibUFz3WdXAdcsqOcbU40lK7tbHdkQ== +bun-types@^1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/bun-types/-/bun-types-1.3.1.tgz" + integrity sha512-NMrcy7smratanWJ2mMXdpatalovtxVggkj11bScuWuiOoXTiKIu2eVS1/7qbyI/4yHedtsn175n4Sm4JcdHLXw== dependencies: "@types/node" "*" @@ -5338,10 +5357,10 @@ react-flatten-children@^1.1.2: resolved "https://registry.npmjs.org/react-flatten-children/-/react-flatten-children-1.1.2.tgz" integrity sha512-9pnG/uw2Wa0n97s+yBZg/WgfMPE8RC4qNcr6iYbyb19sacCk3gRJCmCzAhTuANSWesFsK9v/yTKW42pkenaAfw== -react-hook-form@^7.65.0: - version "7.65.0" - resolved "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.65.0.tgz" - integrity sha512-xtOzDz063WcXvGWaHgLNrNzlsdFgtUWcb32E6WFaGTd7kPZG3EeDusjdZfUsPwKCKVXy1ZlntifaHZ4l8pAsmw== +react-hook-form@^7.66.0: + version "7.66.0" + resolved "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.66.0.tgz" + integrity sha512-xXBqsWGKrY46ZqaHDo+ZUYiMUgi8suYu5kdrS20EG8KiL7VRQitEbNjm+UcrDYrNi1YLyfpmAeGjCZYXLT9YBw== react-intersection-observer@^9.16.0: version "9.16.0" @@ -6261,10 +6280,10 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -viem@^2.38.3: - version "2.38.3" - resolved "https://registry.npmjs.org/viem/-/viem-2.38.3.tgz" - integrity sha512-By2TutLv07iNHHtWqHHzjGipevYsfGqT7KQbGEmqLco1qTJxKnvBbSviqiu6/v/9REV6Q/FpmIxf2Z7/l5AbcQ== +viem@^2.38.6: + version "2.38.6" + resolved "https://registry.npmjs.org/viem/-/viem-2.38.6.tgz" + integrity sha512-aqO6P52LPXRjdnP6rl5Buab65sYa4cZ6Cpn+k4OLOzVJhGIK8onTVoKMFMT04YjDfyDICa/DZyV9HmvLDgcjkw== dependencies: "@noble/curves" "1.9.1" "@noble/hashes" "1.8.0"