Skip to content

Commit e73a7e6

Browse files
committed
added sonic update sonic testnet
1 parent 33e3417 commit e73a7e6

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@real-wagmi/permit2-sdk",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",
66
"module": "dist/index.mjs",
@@ -41,7 +41,7 @@
4141
"ethereum"
4242
],
4343
"dependencies": {
44-
"@real-wagmi/sdk": "^1.4.0",
44+
"@real-wagmi/sdk": "^1.4.1",
4545
"tiny-invariant": "^1.3.1",
4646
"viem": "^2.7.20",
4747
"vitest": "^1.3.1"

src/constants.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ChainId } from '@real-wagmi/sdk';
22
import { Address } from 'viem';
33

44
// @fixme convert to ChainId after all chains are updated
5-
const PERMIT2_ADDRESSES: Record<ChainId, Address> = {
5+
const PERMIT2_ADDRESSES = {
66
[ChainId.ETHEREUM]: '0x4b5d9db7910448e2F236509D9eE242673AFa28aA',
77
[ChainId.BASE]: '0x16b413526d062142eb9eDA9d75312cA9f2e418FD',
88
[ChainId.ZKSYNC]: '0x87C0878B54c174199f438470FD74B3F7e1Def295',
@@ -16,8 +16,9 @@ const PERMIT2_ADDRESSES: Record<ChainId, Address> = {
1616
[ChainId.AVALANCHE]: '0x037F7b8de425Afc8A544920Bfb0786c1Fd74E473',
1717
[ChainId.POLYGON]: '0x5c811Ce03C3C56790C1cF2f3068713b80AB59495',
1818
[ChainId.BSC]: '0x678F6b93FB0670Be8a6610795cA4896Dc217a650',
19-
[ChainId.SONIC_TESTNET]: '0x1Ac569879EF7EacB17CC373EF801cDcE4acCdeD5',
20-
};
19+
[ChainId.SONIC_TESTNET]: '0x8B741B0D79BE80E135C880F7583d427B4D41F015',
20+
[ChainId.SONIC]: '0x7Ac9E324c2a211a389fac64b773433A17dB22948'
21+
} satisfies Record<ChainId, Address>;
2122

2223
export const getPermit2Address = (chainId: ChainId): Address => {
2324
const address = PERMIT2_ADDRESSES[chainId];

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,10 +1440,10 @@
14401440
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
14411441
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
14421442

1443-
"@real-wagmi/sdk@^1.4.0":
1444-
version "1.4.0"
1445-
resolved "https://registry.yarnpkg.com/@real-wagmi/sdk/-/sdk-1.4.0.tgz#c1af6b3d5048aabc25f24e0cc4d69d2f6be904e2"
1446-
integrity sha512-i2GZbqzvz5SK8MII2uqnwfFgYejIKfjGRctxDecIyO1N9JADjhf7oP/MSvUVcdXFcBeneKkurTFkZvy4mp4IPw==
1443+
"@real-wagmi/sdk@^1.4.1":
1444+
version "1.4.1"
1445+
resolved "https://registry.yarnpkg.com/@real-wagmi/sdk/-/sdk-1.4.1.tgz#60d07adbdb56bd01599ca5ce9caf3867ca95b12b"
1446+
integrity sha512-RxGxnZCazmVgUmdthIfKSXmaGME3p5xNqOPALMjGe/MFdw3lE3irrV2kOv+JwYIWLAtzwpx84yBdG7i6l3Wc0A==
14471447
dependencies:
14481448
"@uniswap/token-lists" "1.0.0-beta.33"
14491449
big.js "^6.2.1"

0 commit comments

Comments
 (0)