viem 2.52.0 → 2.53.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/CHANGELOG.md +44 -0
- package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js +2 -0
- package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/chains/definitions/citrate.js +17 -0
- package/_cjs/chains/definitions/citrate.js.map +1 -0
- package/_cjs/chains/definitions/grav.js +24 -0
- package/_cjs/chains/definitions/grav.js.map +1 -0
- package/_cjs/chains/definitions/ladyChain.js +22 -0
- package/_cjs/chains/definitions/ladyChain.js.map +1 -0
- package/_cjs/chains/definitions/monad.js +5 -5
- package/_cjs/chains/definitions/monad.js.map +1 -1
- package/_cjs/chains/definitions/tempoModerato.js +1 -0
- package/_cjs/chains/definitions/tempoModerato.js.map +1 -1
- package/_cjs/chains/definitions/valygoNft.js +37 -0
- package/_cjs/chains/definitions/valygoNft.js.map +1 -0
- package/_cjs/chains/definitions/valygoSmartchain.js +37 -0
- package/_cjs/chains/definitions/valygoSmartchain.js.map +1 -0
- package/_cjs/chains/definitions/whitechainSepolia.js +31 -0
- package/_cjs/chains/definitions/whitechainSepolia.js.map +1 -0
- package/_cjs/chains/index.js +25 -13
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/tempo/Abis.js +1866 -1866
- package/_cjs/tempo/Abis.js.map +1 -1
- package/_cjs/tempo/Account.js +35 -3
- package/_cjs/tempo/Account.js.map +1 -1
- package/_cjs/tempo/Client.js +27 -0
- package/_cjs/tempo/Client.js.map +1 -0
- package/_cjs/tempo/Formatters.js +2 -1
- package/_cjs/tempo/Formatters.js.map +1 -1
- package/_cjs/tempo/Scopes.js +39 -0
- package/_cjs/tempo/Scopes.js.map +1 -0
- package/_cjs/tempo/Selectors.js +226 -0
- package/_cjs/tempo/Selectors.js.map +1 -0
- package/_cjs/tempo/Transaction.js +22 -0
- package/_cjs/tempo/Transaction.js.map +1 -1
- package/_cjs/tempo/chainConfig.js +10 -0
- package/_cjs/tempo/chainConfig.js.map +1 -1
- package/_cjs/tempo/index.js +14 -1
- package/_cjs/tempo/index.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js +2 -0
- package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/chains/definitions/citrate.js +14 -0
- package/_esm/chains/definitions/citrate.js.map +1 -0
- package/_esm/chains/definitions/grav.js +21 -0
- package/_esm/chains/definitions/grav.js.map +1 -0
- package/_esm/chains/definitions/ladyChain.js +19 -0
- package/_esm/chains/definitions/ladyChain.js.map +1 -0
- package/_esm/chains/definitions/monad.js +5 -5
- package/_esm/chains/definitions/monad.js.map +1 -1
- package/_esm/chains/definitions/tempoModerato.js +1 -0
- package/_esm/chains/definitions/tempoModerato.js.map +1 -1
- package/_esm/chains/definitions/valygoNft.js +34 -0
- package/_esm/chains/definitions/valygoNft.js.map +1 -0
- package/_esm/chains/definitions/valygoSmartchain.js +34 -0
- package/_esm/chains/definitions/valygoSmartchain.js.map +1 -0
- package/_esm/chains/definitions/whitechainSepolia.js +28 -0
- package/_esm/chains/definitions/whitechainSepolia.js.map +1 -0
- package/_esm/chains/index.js +6 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/tempo/Abis.js +1865 -1865
- package/_esm/tempo/Abis.js.map +1 -1
- package/_esm/tempo/Account.js +81 -4
- package/_esm/tempo/Account.js.map +1 -1
- package/_esm/tempo/Client.js +66 -0
- package/_esm/tempo/Client.js.map +1 -0
- package/_esm/tempo/Formatters.js +5 -1
- package/_esm/tempo/Formatters.js.map +1 -1
- package/_esm/tempo/Scopes.js +49 -0
- package/_esm/tempo/Scopes.js.map +1 -0
- package/_esm/tempo/Selectors.js +224 -0
- package/_esm/tempo/Selectors.js.map +1 -0
- package/_esm/tempo/Transaction.js +34 -0
- package/_esm/tempo/Transaction.js.map +1 -1
- package/_esm/tempo/chainConfig.js +24 -1
- package/_esm/tempo/chainConfig.js.map +1 -1
- package/_esm/tempo/index.js +10 -1
- package/_esm/tempo/index.js.map +1 -1
- package/_types/account-abstraction/actions/bundler/estimateUserOperationGas.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +12 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/chains/definitions/citrate.d.ts +57 -0
- package/_types/chains/definitions/citrate.d.ts.map +1 -0
- package/_types/chains/definitions/grav.d.ts +43 -0
- package/_types/chains/definitions/grav.d.ts.map +1 -0
- package/_types/chains/definitions/ladyChain.d.ts +50 -0
- package/_types/chains/definitions/ladyChain.d.ts.map +1 -0
- package/_types/chains/definitions/monad.d.ts +5 -5
- package/_types/chains/definitions/tempo.d.ts +36 -0
- package/_types/chains/definitions/tempo.d.ts.map +1 -1
- package/_types/chains/definitions/tempoDevnet.d.ts +36 -0
- package/_types/chains/definitions/tempoDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/tempoLocalnet.d.ts +36 -0
- package/_types/chains/definitions/tempoLocalnet.d.ts.map +1 -1
- package/_types/chains/definitions/tempoModerato.d.ts +38 -0
- package/_types/chains/definitions/tempoModerato.d.ts.map +1 -1
- package/_types/chains/definitions/valygoNft.d.ts +48 -0
- package/_types/chains/definitions/valygoNft.d.ts.map +1 -0
- package/_types/chains/definitions/valygoSmartchain.d.ts +48 -0
- package/_types/chains/definitions/valygoSmartchain.d.ts.map +1 -0
- package/_types/chains/definitions/whitechainSepolia.d.ts +46 -0
- package/_types/chains/definitions/whitechainSepolia.d.ts.map +1 -0
- package/_types/chains/index.d.ts +6 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/tempo/Abis.d.ts +5816 -5816
- package/_types/tempo/Abis.d.ts.map +1 -1
- package/_types/tempo/Account.d.ts +48 -1
- package/_types/tempo/Account.d.ts.map +1 -1
- package/_types/tempo/Client.d.ts +98 -0
- package/_types/tempo/Client.d.ts.map +1 -0
- package/_types/tempo/Formatters.d.ts.map +1 -1
- package/_types/tempo/Scopes.d.ts +48 -0
- package/_types/tempo/Scopes.d.ts.map +1 -0
- package/_types/tempo/Selectors.d.ts +223 -0
- package/_types/tempo/Selectors.d.ts.map +1 -0
- package/_types/tempo/Transaction.d.ts +5 -1
- package/_types/tempo/Transaction.d.ts.map +1 -1
- package/_types/tempo/chainConfig.d.ts +34 -15
- package/_types/tempo/chainConfig.d.ts.map +1 -1
- package/_types/tempo/index.d.ts +10 -1
- package/_types/tempo/index.d.ts.map +1 -1
- package/_types/tempo/zones/zone.d.ts +108 -0
- package/_types/tempo/zones/zone.d.ts.map +1 -1
- package/account-abstraction/actions/bundler/estimateUserOperationGas.ts +2 -0
- package/actions/wallet/prepareTransactionRequest.ts +40 -5
- package/chains/definitions/citrate.ts +14 -0
- package/chains/definitions/grav.ts +21 -0
- package/chains/definitions/ladyChain.ts +19 -0
- package/chains/definitions/monad.ts +5 -5
- package/chains/definitions/tempoModerato.ts +1 -0
- package/chains/definitions/valygoNft.ts +34 -0
- package/chains/definitions/valygoSmartchain.ts +34 -0
- package/chains/definitions/whitechainSepolia.ts +28 -0
- package/chains/index.ts +6 -0
- package/errors/version.ts +1 -1
- package/package.json +3 -4
- package/tempo/Abis.ts +1869 -1869
- package/tempo/Account.ts +97 -4
- package/tempo/Client.ts +172 -0
- package/tempo/Formatters.ts +12 -1
- package/tempo/Scopes.ts +124 -0
- package/tempo/Selectors.ts +260 -0
- package/tempo/Transaction.ts +42 -0
- package/tempo/chainConfig.ts +32 -3
- package/tempo/index.ts +35 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
2
|
+
|
|
3
|
+
export const valygoNft = defineChain({
|
|
4
|
+
id: 7_773_777,
|
|
5
|
+
name: 'VALYGO NFT',
|
|
6
|
+
nativeCurrency: {
|
|
7
|
+
decimals: 18,
|
|
8
|
+
name: 'VYO',
|
|
9
|
+
symbol: 'VYO',
|
|
10
|
+
},
|
|
11
|
+
rpcUrls: {
|
|
12
|
+
default: {
|
|
13
|
+
http: [
|
|
14
|
+
'https://rpc-gw-1.vyoscan.com/ext/bc/2RyzsmGypNQZPby1miwMMV8spTvhgd9qd2peNRzU1mErUQqSSw/rpc',
|
|
15
|
+
'https://rpc-gw-2.vyoscan.com/ext/bc/2RyzsmGypNQZPby1miwMMV8spTvhgd9qd2peNRzU1mErUQqSSw/rpc',
|
|
16
|
+
],
|
|
17
|
+
webSocket: [
|
|
18
|
+
'wss://ws.vyoscan.com/ext/bc/2RyzsmGypNQZPby1miwMMV8spTvhgd9qd2peNRzU1mErUQqSSw/ws',
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
blockExplorers: {
|
|
23
|
+
default: {
|
|
24
|
+
name: 'VYOScan NFT',
|
|
25
|
+
url: 'https://nft.vyoscan.com',
|
|
26
|
+
apiUrl: 'https://nft.vyoscan.com/api',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
contracts: {
|
|
30
|
+
multicall3: {
|
|
31
|
+
address: '0x4469693a04BAE365795329a89b24F4Eb1303Ea08',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
})
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
2
|
+
|
|
3
|
+
export const valygoSmartchain = defineChain({
|
|
4
|
+
id: 7_771_777,
|
|
5
|
+
name: 'VALYGO Smartchain',
|
|
6
|
+
nativeCurrency: {
|
|
7
|
+
decimals: 18,
|
|
8
|
+
name: 'VYO',
|
|
9
|
+
symbol: 'VYO',
|
|
10
|
+
},
|
|
11
|
+
rpcUrls: {
|
|
12
|
+
default: {
|
|
13
|
+
http: [
|
|
14
|
+
'https://rpc-gw-1.vyoscan.com/ext/bc/2t51dXsuxUvd9teY9TKEJmgxmxMk3CRF88UYTA4HQgjeYZqzSX/rpc',
|
|
15
|
+
'https://rpc-gw-2.vyoscan.com/ext/bc/2t51dXsuxUvd9teY9TKEJmgxmxMk3CRF88UYTA4HQgjeYZqzSX/rpc',
|
|
16
|
+
],
|
|
17
|
+
webSocket: [
|
|
18
|
+
'wss://ws.vyoscan.com/ext/bc/2t51dXsuxUvd9teY9TKEJmgxmxMk3CRF88UYTA4HQgjeYZqzSX/ws',
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
blockExplorers: {
|
|
23
|
+
default: {
|
|
24
|
+
name: 'VYOScan',
|
|
25
|
+
url: 'https://vyoscan.com',
|
|
26
|
+
apiUrl: 'https://vyoscan.com/api',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
contracts: {
|
|
30
|
+
multicall3: {
|
|
31
|
+
address: '0xeFa3c632BD275750597cE9ca2346A5becAA0F344',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
2
|
+
|
|
3
|
+
export const whitechainSepolia = /*#__PURE__*/ defineChain({
|
|
4
|
+
testnet: true,
|
|
5
|
+
id: 1874,
|
|
6
|
+
name: 'Whitechain Sepolia',
|
|
7
|
+
nativeCurrency: {
|
|
8
|
+
decimals: 18,
|
|
9
|
+
name: 'WBT',
|
|
10
|
+
symbol: 'WBT',
|
|
11
|
+
},
|
|
12
|
+
rpcUrls: {
|
|
13
|
+
default: {
|
|
14
|
+
http: ['https://rpc.testnet.whitechain.io'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
blockExplorers: {
|
|
18
|
+
default: {
|
|
19
|
+
name: 'Whitechain Testnet Explorer',
|
|
20
|
+
url: 'https://explorer.testnet.whitechain.io',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
contracts: {
|
|
24
|
+
multicall3: {
|
|
25
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
})
|
package/chains/index.ts
CHANGED
|
@@ -114,6 +114,7 @@ export { celoSepolia } from './definitions/celoSepolia.js'
|
|
|
114
114
|
export { chang } from './definitions/chang.js'
|
|
115
115
|
export { chiliz } from './definitions/chiliz.js'
|
|
116
116
|
export { chips } from './definitions/chips.js'
|
|
117
|
+
export { citrate } from './definitions/citrate.js'
|
|
117
118
|
export { citrea } from './definitions/citrea.js'
|
|
118
119
|
export { citreaTestnet } from './definitions/citreaTestnet.js'
|
|
119
120
|
export { classic } from './definitions/classic.js'
|
|
@@ -251,6 +252,7 @@ export { godwoken } from './definitions/godwoken.js'
|
|
|
251
252
|
export { goerli } from './definitions/goerli.js'
|
|
252
253
|
export { graphite } from './definitions/graphite.js'
|
|
253
254
|
export { graphiteTestnet } from './definitions/graphiteTestnet.js'
|
|
255
|
+
export { grav } from './definitions/grav.js'
|
|
254
256
|
export { gravity } from './definitions/gravity.js'
|
|
255
257
|
export { gunz } from './definitions/gunz.js'
|
|
256
258
|
export { guruNetwork } from './definitions/guruNetwork.js'
|
|
@@ -350,6 +352,7 @@ export { kromaSepolia } from './definitions/kromaSepolia.js'
|
|
|
350
352
|
export { krown } from './definitions/krown.js'
|
|
351
353
|
export { l3x } from './definitions/l3x.js'
|
|
352
354
|
export { l3xTestnet } from './definitions/l3xTestnet.js'
|
|
355
|
+
export { ladyChain } from './definitions/ladyChain.js'
|
|
353
356
|
export { lavita } from './definitions/lavita.js'
|
|
354
357
|
export { lens } from './definitions/lens.js'
|
|
355
358
|
export { lensTestnet } from './definitions/lensTestnet.js'
|
|
@@ -675,6 +678,8 @@ export { unique } from './definitions/unique.js'
|
|
|
675
678
|
export { uniqueOpal } from './definitions/uniqueOpal.js'
|
|
676
679
|
export { uniqueQuartz } from './definitions/uniqueQuartz.js'
|
|
677
680
|
export { unreal } from './definitions/unreal.js'
|
|
681
|
+
export { valygoNft } from './definitions/valygoNft.js'
|
|
682
|
+
export { valygoSmartchain } from './definitions/valygoSmartchain.js'
|
|
678
683
|
export { vana } from './definitions/vana.js'
|
|
679
684
|
export { vanaMoksha } from './definitions/vanaMoksha.js'
|
|
680
685
|
export { vanar } from './definitions/vanar.js'
|
|
@@ -692,6 +697,7 @@ export { wemix } from './definitions/wemix.js'
|
|
|
692
697
|
export { wemixTestnet } from './definitions/wemixTestnet.js'
|
|
693
698
|
export { westendAssetHub } from './definitions/westendAssetHub.js'
|
|
694
699
|
export { whitechain } from './definitions/whitechain.js'
|
|
700
|
+
export { whitechainSepolia } from './definitions/whitechainSepolia.js'
|
|
695
701
|
export { whitechainTestnet } from './definitions/whitechainTestnet.js'
|
|
696
702
|
export { wmcTestnet } from './definitions/wmcTestnet.js'
|
|
697
703
|
export { worldchain } from './definitions/worldchain.js'
|
package/errors/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '2.
|
|
1
|
+
export const version = '2.53.1'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viem",
|
|
3
3
|
"description": "TypeScript Interface for Ethereum",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.53.1",
|
|
5
5
|
"main": "./_cjs/index.js",
|
|
6
6
|
"module": "./_esm/index.js",
|
|
7
7
|
"types": "./_types/index.d.ts",
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"!**/*.test.ts.snap",
|
|
16
16
|
"!**/*.test-d.ts",
|
|
17
17
|
"!**/*.tsbuildinfo",
|
|
18
|
-
"!tsconfig.build.json"
|
|
19
|
-
"!jsr.json"
|
|
18
|
+
"!tsconfig.build.json"
|
|
20
19
|
],
|
|
21
20
|
"exports": {
|
|
22
21
|
".": {
|
|
@@ -230,7 +229,7 @@
|
|
|
230
229
|
"@scure/bip39": "1.6.0",
|
|
231
230
|
"abitype": "1.2.3",
|
|
232
231
|
"isows": "1.0.7",
|
|
233
|
-
"ox": "0.14.
|
|
232
|
+
"ox": "0.14.29",
|
|
234
233
|
"ws": "8.20.1"
|
|
235
234
|
},
|
|
236
235
|
"license": "MIT",
|