@aztec/ethereum 0.32.0 → 0.32.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/dest/constants.d.ts +1 -1
- package/dest/constants.d.ts.map +1 -1
- package/dest/deploy_l1_contracts.d.ts +4 -4
- package/dest/deploy_l1_contracts.d.ts.map +1 -1
- package/dest/ethereum_chain.d.ts +1 -1
- package/dest/ethereum_chain.d.ts.map +1 -1
- package/dest/index.d.ts +1 -1
- package/dest/index.d.ts.map +1 -1
- package/dest/l1_contract_addresses.d.ts +1 -1
- package/dest/l1_contract_addresses.d.ts.map +1 -1
- package/dest/testnet.d.ts +1 -1
- package/dest/testnet.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/constants.ts +1 -1
- package/src/deploy_l1_contracts.ts +9 -9
- package/src/ethereum_chain.ts +1 -1
- package/src/index.ts +1 -1
- package/src/l1_contract_addresses.ts +1 -1
- package/src/testnet.ts +2 -2
package/dest/constants.d.ts
CHANGED
package/dest/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,MAAM,CAAC;AAEhC,eAAO,MAAM,QAAQ,EAAE,GAA+E,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EthAddress } from '@aztec/foundation/eth-address';
|
|
2
|
-
import { DebugLogger } from '@aztec/foundation/log';
|
|
2
|
+
import { type DebugLogger } from '@aztec/foundation/log';
|
|
3
3
|
import type { Abi, Narrow } from 'abitype';
|
|
4
|
-
import { Account, Chain, Hex, HttpTransport, PublicClient, WalletClient } from 'viem';
|
|
5
|
-
import { HDAccount, PrivateKeyAccount } from 'viem/accounts';
|
|
6
|
-
import { L1ContractAddresses } from './l1_contract_addresses.js';
|
|
4
|
+
import { type Account, type Chain, type Hex, type HttpTransport, type PublicClient, type WalletClient } from 'viem';
|
|
5
|
+
import { type HDAccount, type PrivateKeyAccount } from 'viem/accounts';
|
|
6
|
+
import { type L1ContractAddresses } from './l1_contract_addresses.js';
|
|
7
7
|
/**
|
|
8
8
|
* Return type of the deployL1Contract function.
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy_l1_contracts.d.ts","sourceRoot":"","sources":["../src/deploy_l1_contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"deploy_l1_contracts.d.ts","sourceRoot":"","sources":["../src/deploy_l1_contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,GAAG,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,YAAY,EAMlB,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1D;;OAEG;IACH,YAAY,EAAE,YAA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["../src/ethereum_chain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ethereum_chain.d.ts","sourceRoot":"","sources":["../src/ethereum_chain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,MAAM,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
package/dest/index.d.ts
CHANGED
package/dest/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAE/B;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,iBAWlE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EthAddress } from '@aztec/foundation/eth-address';
|
|
1
|
+
import { type EthAddress } from '@aztec/foundation/eth-address';
|
|
2
2
|
export declare const l1ContractsNames: readonly ["availabilityOracleAddress", "rollupAddress", "registryAddress", "inboxAddress", "outboxAddress", "gasTokenAddress", "gasPortalAddress"];
|
|
3
3
|
/**
|
|
4
4
|
* Provides the directory of current L1 contract addresses
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"l1_contract_addresses.d.ts","sourceRoot":"","sources":["../src/l1_contract_addresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"l1_contract_addresses.d.ts","sourceRoot":"","sources":["../src/l1_contract_addresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE,eAAO,MAAM,gBAAgB,oJAQnB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;KAC/B,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,GAAG,UAAU;CACrD,CAAC"}
|
package/dest/testnet.d.ts
CHANGED
package/dest/testnet.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testnet.d.ts","sourceRoot":"","sources":["../src/testnet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"testnet.d.ts","sourceRoot":"","sources":["../src/testnet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,eAAO,MAAM,kBAAkB,WAAY,MAAM,kBAuBhD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/ethereum",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": "./dest/index.js",
|
|
6
6
|
"typedocOptions": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"../package.common.json"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aztec/foundation": "0.32.
|
|
27
|
+
"@aztec/foundation": "0.32.1",
|
|
28
28
|
"dotenv": "^16.0.3",
|
|
29
29
|
"tslib": "^2.4.0",
|
|
30
30
|
"viem": "^2.7.15"
|
package/src/constants.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { EthAddress } from '@aztec/foundation/eth-address';
|
|
2
|
-
import { DebugLogger } from '@aztec/foundation/log';
|
|
2
|
+
import { type DebugLogger } from '@aztec/foundation/log';
|
|
3
3
|
|
|
4
4
|
import type { Abi, Narrow } from 'abitype';
|
|
5
5
|
import {
|
|
6
|
-
Account,
|
|
7
|
-
Chain,
|
|
8
|
-
Hex,
|
|
9
|
-
HttpTransport,
|
|
10
|
-
PublicClient,
|
|
11
|
-
WalletClient,
|
|
6
|
+
type Account,
|
|
7
|
+
type Chain,
|
|
8
|
+
type Hex,
|
|
9
|
+
type HttpTransport,
|
|
10
|
+
type PublicClient,
|
|
11
|
+
type WalletClient,
|
|
12
12
|
createPublicClient,
|
|
13
13
|
createWalletClient,
|
|
14
14
|
getAddress,
|
|
15
15
|
getContract,
|
|
16
16
|
http,
|
|
17
17
|
} from 'viem';
|
|
18
|
-
import { HDAccount, PrivateKeyAccount } from 'viem/accounts';
|
|
18
|
+
import { type HDAccount, type PrivateKeyAccount } from 'viem/accounts';
|
|
19
19
|
|
|
20
|
-
import { L1ContractAddresses } from './l1_contract_addresses.js';
|
|
20
|
+
import { type L1ContractAddresses } from './l1_contract_addresses.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Return type of the deployL1Contract function.
|
package/src/ethereum_chain.ts
CHANGED
package/src/index.ts
CHANGED
package/src/testnet.ts
CHANGED