@aztec/aztec.js 3.0.0-nightly.20251111 → 3.0.0-nightly.20251112
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.
|
@@ -2,7 +2,7 @@ import type { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
|
2
2
|
import type { AztecNode } from '@aztec/stdlib/interfaces/client';
|
|
3
3
|
/**
|
|
4
4
|
* Returns the owner's fee juice balance.
|
|
5
|
-
* Note: This is used only
|
|
5
|
+
* Note: This is used only e2e_local_network_example test. TODO: Consider nuking.
|
|
6
6
|
*/
|
|
7
7
|
export declare function getFeeJuiceBalance(owner: AztecAddress, node: AztecNode): Promise<bigint>;
|
|
8
8
|
//# sourceMappingURL=fee_juice.d.ts.map
|
package/dest/utils/fee_juice.js
CHANGED
|
@@ -3,7 +3,7 @@ import { ProtocolContractAddress } from '@aztec/protocol-contracts';
|
|
|
3
3
|
import { deriveStorageSlotInMap } from '@aztec/stdlib/hash';
|
|
4
4
|
/**
|
|
5
5
|
* Returns the owner's fee juice balance.
|
|
6
|
-
* Note: This is used only
|
|
6
|
+
* Note: This is used only e2e_local_network_example test. TODO: Consider nuking.
|
|
7
7
|
*/ export async function getFeeJuiceBalance(owner, node) {
|
|
8
8
|
const slot = await deriveStorageSlotInMap(new Fr(1), owner);
|
|
9
9
|
return (await node.getPublicStorageAt('latest', ProtocolContractAddress.FeeJuice, slot)).toBigInt();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/aztec.js",
|
|
3
3
|
"homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/aztec.js",
|
|
4
|
-
"version": "3.0.0-nightly.
|
|
4
|
+
"version": "3.0.0-nightly.20251112",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./abi": "./dest/api/abi.js",
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@aztec/constants": "3.0.0-nightly.
|
|
88
|
-
"@aztec/entrypoints": "3.0.0-nightly.
|
|
89
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
90
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
91
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
92
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
93
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
87
|
+
"@aztec/constants": "3.0.0-nightly.20251112",
|
|
88
|
+
"@aztec/entrypoints": "3.0.0-nightly.20251112",
|
|
89
|
+
"@aztec/ethereum": "3.0.0-nightly.20251112",
|
|
90
|
+
"@aztec/foundation": "3.0.0-nightly.20251112",
|
|
91
|
+
"@aztec/l1-artifacts": "3.0.0-nightly.20251112",
|
|
92
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20251112",
|
|
93
|
+
"@aztec/stdlib": "3.0.0-nightly.20251112",
|
|
94
94
|
"axios": "^1.12.0",
|
|
95
95
|
"tslib": "^2.4.0",
|
|
96
96
|
"viem": "npm:@spalladino/viem@2.38.2-eip7594.0",
|
package/src/utils/fee_juice.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { AztecNode } from '@aztec/stdlib/interfaces/client';
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Returns the owner's fee juice balance.
|
|
9
|
-
* Note: This is used only
|
|
9
|
+
* Note: This is used only e2e_local_network_example test. TODO: Consider nuking.
|
|
10
10
|
*/
|
|
11
11
|
export async function getFeeJuiceBalance(owner: AztecAddress, node: AztecNode): Promise<bigint> {
|
|
12
12
|
const slot = await deriveStorageSlotInMap(new Fr(1), owner);
|