@aztec/cli 0.77.0-testnet-ignition.24 → 0.77.0-testnet-ignition.27
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/package.json +20 -20
- package/dest/cmds/contracts/index.d.ts +0 -4
- package/dest/cmds/contracts/index.d.ts.map +0 -1
- package/dest/cmds/contracts/inspect_contract.d.ts +0 -3
- package/dest/cmds/contracts/inspect_contract.d.ts.map +0 -1
- package/dest/cmds/contracts/parse_parameter_struct.d.ts +0 -3
- package/dest/cmds/contracts/parse_parameter_struct.d.ts.map +0 -1
- package/dest/cmds/devnet/bootstrap_network.d.ts +0 -3
- package/dest/cmds/devnet/bootstrap_network.d.ts.map +0 -1
- package/dest/cmds/devnet/faucet.d.ts +0 -4
- package/dest/cmds/devnet/faucet.d.ts.map +0 -1
- package/dest/cmds/devnet/index.d.ts +0 -4
- package/dest/cmds/devnet/index.d.ts.map +0 -1
- package/dest/cmds/infrastructure/index.d.ts +0 -4
- package/dest/cmds/infrastructure/index.d.ts.map +0 -1
- package/dest/cmds/infrastructure/sequencers.d.ts +0 -13
- package/dest/cmds/infrastructure/sequencers.d.ts.map +0 -1
- package/dest/cmds/infrastructure/setup_l2_contract.d.ts +0 -3
- package/dest/cmds/infrastructure/setup_l2_contract.d.ts.map +0 -1
- package/dest/cmds/l1/advance_epoch.d.ts +0 -3
- package/dest/cmds/l1/advance_epoch.d.ts.map +0 -1
- package/dest/cmds/l1/assume_proven_through.d.ts +0 -3
- package/dest/cmds/l1/assume_proven_through.d.ts.map +0 -1
- package/dest/cmds/l1/bridge_erc20.d.ts +0 -4
- package/dest/cmds/l1/bridge_erc20.d.ts.map +0 -1
- package/dest/cmds/l1/create_l1_account.d.ts +0 -3
- package/dest/cmds/l1/create_l1_account.d.ts.map +0 -1
- package/dest/cmds/l1/deploy_l1_contracts.d.ts +0 -4
- package/dest/cmds/l1/deploy_l1_contracts.d.ts.map +0 -1
- package/dest/cmds/l1/deploy_l1_verifier.d.ts +0 -5
- package/dest/cmds/l1/deploy_l1_verifier.d.ts.map +0 -1
- package/dest/cmds/l1/deploy_new_rollup.d.ts +0 -4
- package/dest/cmds/l1/deploy_new_rollup.d.ts.map +0 -1
- package/dest/cmds/l1/get_l1_addresses.d.ts +0 -4
- package/dest/cmds/l1/get_l1_addresses.d.ts.map +0 -1
- package/dest/cmds/l1/get_l1_balance.d.ts +0 -4
- package/dest/cmds/l1/get_l1_balance.d.ts.map +0 -1
- package/dest/cmds/l1/governance_utils.d.ts +0 -50
- package/dest/cmds/l1/governance_utils.d.ts.map +0 -1
- package/dest/cmds/l1/index.d.ts +0 -4
- package/dest/cmds/l1/index.d.ts.map +0 -1
- package/dest/cmds/l1/prover_stats.d.ts +0 -14
- package/dest/cmds/l1/prover_stats.d.ts.map +0 -1
- package/dest/cmds/l1/update_l1_validators.d.ts +0 -30
- package/dest/cmds/l1/update_l1_validators.d.ts.map +0 -1
- package/dest/cmds/misc/compute_selector.d.ts +0 -3
- package/dest/cmds/misc/compute_selector.d.ts.map +0 -1
- package/dest/cmds/misc/example_contracts.d.ts +0 -3
- package/dest/cmds/misc/example_contracts.d.ts.map +0 -1
- package/dest/cmds/misc/generate_bootnode_enr.d.ts +0 -3
- package/dest/cmds/misc/generate_bootnode_enr.d.ts.map +0 -1
- package/dest/cmds/misc/generate_p2p_private_key.d.ts +0 -3
- package/dest/cmds/misc/generate_p2p_private_key.d.ts.map +0 -1
- package/dest/cmds/misc/generate_secret_and_hash.d.ts +0 -3
- package/dest/cmds/misc/generate_secret_and_hash.d.ts.map +0 -1
- package/dest/cmds/misc/generate_secret_key.d.ts +0 -5
- package/dest/cmds/misc/generate_secret_key.d.ts.map +0 -1
- package/dest/cmds/misc/index.d.ts +0 -4
- package/dest/cmds/misc/index.d.ts.map +0 -1
- package/dest/cmds/misc/setup_contracts.d.ts +0 -7
- package/dest/cmds/misc/setup_contracts.d.ts.map +0 -1
- package/dest/cmds/misc/update/common.d.ts +0 -17
- package/dest/cmds/misc/update/common.d.ts.map +0 -1
- package/dest/cmds/misc/update/github.d.ts +0 -4
- package/dest/cmds/misc/update/github.d.ts.map +0 -1
- package/dest/cmds/misc/update/noir.d.ts +0 -10
- package/dest/cmds/misc/update/noir.d.ts.map +0 -1
- package/dest/cmds/misc/update/npm.d.ts +0 -34
- package/dest/cmds/misc/update/npm.d.ts.map +0 -1
- package/dest/cmds/misc/update/utils.d.ts +0 -14
- package/dest/cmds/misc/update/utils.d.ts.map +0 -1
- package/dest/cmds/misc/update.d.ts +0 -3
- package/dest/cmds/misc/update.d.ts.map +0 -1
- package/dest/cmds/pxe/add_contract.d.ts +0 -5
- package/dest/cmds/pxe/add_contract.d.ts.map +0 -1
- package/dest/cmds/pxe/block_number.d.ts +0 -3
- package/dest/cmds/pxe/block_number.d.ts.map +0 -1
- package/dest/cmds/pxe/get_account.d.ts +0 -4
- package/dest/cmds/pxe/get_account.d.ts.map +0 -1
- package/dest/cmds/pxe/get_accounts.d.ts +0 -3
- package/dest/cmds/pxe/get_accounts.d.ts.map +0 -1
- package/dest/cmds/pxe/get_block.d.ts +0 -3
- package/dest/cmds/pxe/get_block.d.ts.map +0 -1
- package/dest/cmds/pxe/get_contract_data.d.ts +0 -4
- package/dest/cmds/pxe/get_contract_data.d.ts.map +0 -1
- package/dest/cmds/pxe/get_current_base_fee.d.ts +0 -3
- package/dest/cmds/pxe/get_current_base_fee.d.ts.map +0 -1
- package/dest/cmds/pxe/get_l1_to_l2_message_witness.d.ts +0 -4
- package/dest/cmds/pxe/get_l1_to_l2_message_witness.d.ts.map +0 -1
- package/dest/cmds/pxe/get_logs.d.ts +0 -4
- package/dest/cmds/pxe/get_logs.d.ts.map +0 -1
- package/dest/cmds/pxe/get_node_info.d.ts +0 -3
- package/dest/cmds/pxe/get_node_info.d.ts.map +0 -1
- package/dest/cmds/pxe/get_pxe_info.d.ts +0 -3
- package/dest/cmds/pxe/get_pxe_info.d.ts.map +0 -1
- package/dest/cmds/pxe/index.d.ts +0 -4
- package/dest/cmds/pxe/index.d.ts.map +0 -1
- package/dest/utils/aztec.d.ts +0 -68
- package/dest/utils/aztec.d.ts.map +0 -1
- package/dest/utils/commands.d.ts +0 -143
- package/dest/utils/commands.d.ts.map +0 -1
- package/dest/utils/encoding.d.ts +0 -15
- package/dest/utils/encoding.d.ts.map +0 -1
- package/dest/utils/github.d.ts +0 -4
- package/dest/utils/github.d.ts.map +0 -1
- package/dest/utils/index.d.ts +0 -5
- package/dest/utils/index.d.ts.map +0 -1
- package/dest/utils/inspect.d.ts +0 -17
- package/dest/utils/inspect.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/cli",
|
|
3
|
-
"version": "0.77.0-testnet-ignition.
|
|
3
|
+
"version": "0.77.0-testnet-ignition.27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./contracts": "./dest/cmds/contracts/index.js",
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@aztec/archiver": "0.77.0-testnet-ignition.
|
|
71
|
-
"@aztec/aztec.js": "0.77.0-testnet-ignition.
|
|
72
|
-
"@aztec/constants": "0.77.0-testnet-ignition.
|
|
73
|
-
"@aztec/foundation": "0.77.0-testnet-ignition.
|
|
74
|
-
"@aztec/l1-artifacts": "0.77.0-testnet-ignition.
|
|
75
|
-
"@aztec/p2p": "0.77.0-testnet-ignition.
|
|
76
|
-
"@aztec/stdlib": "0.77.0-testnet-ignition.
|
|
77
|
-
"@aztec/world-state": "0.77.0-testnet-ignition.
|
|
70
|
+
"@aztec/archiver": "0.77.0-testnet-ignition.27",
|
|
71
|
+
"@aztec/aztec.js": "0.77.0-testnet-ignition.27",
|
|
72
|
+
"@aztec/constants": "0.77.0-testnet-ignition.27",
|
|
73
|
+
"@aztec/foundation": "0.77.0-testnet-ignition.27",
|
|
74
|
+
"@aztec/l1-artifacts": "0.77.0-testnet-ignition.27",
|
|
75
|
+
"@aztec/p2p": "0.77.0-testnet-ignition.27",
|
|
76
|
+
"@aztec/stdlib": "0.77.0-testnet-ignition.27",
|
|
77
|
+
"@aztec/world-state": "0.77.0-testnet-ignition.27",
|
|
78
78
|
"@iarna/toml": "^2.2.5",
|
|
79
79
|
"@libp2p/peer-id-factory": "^3.0.4",
|
|
80
80
|
"commander": "^12.1.0",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"viem": "2.22.8"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@aztec/accounts": "0.77.0-testnet-ignition.
|
|
90
|
-
"@aztec/ethereum": "0.77.0-testnet-ignition.
|
|
91
|
-
"@aztec/protocol-contracts": "0.77.0-testnet-ignition.
|
|
89
|
+
"@aztec/accounts": "0.77.0-testnet-ignition.27",
|
|
90
|
+
"@aztec/ethereum": "0.77.0-testnet-ignition.27",
|
|
91
|
+
"@aztec/protocol-contracts": "0.77.0-testnet-ignition.27",
|
|
92
92
|
"@jest/globals": "^29.5.0",
|
|
93
93
|
"@types/jest": "^29.5.0",
|
|
94
94
|
"@types/lodash.chunk": "^4.2.9",
|
|
@@ -104,14 +104,14 @@
|
|
|
104
104
|
"typescript": "^5.0.4"
|
|
105
105
|
},
|
|
106
106
|
"peerDependencies": {
|
|
107
|
-
"@aztec/accounts": "0.77.0-testnet-ignition.
|
|
108
|
-
"@aztec/bb-prover": "0.77.0-testnet-ignition.
|
|
109
|
-
"@aztec/ethereum": "0.77.0-testnet-ignition.
|
|
110
|
-
"@aztec/l1-artifacts": "0.77.0-testnet-ignition.
|
|
111
|
-
"@aztec/noir-contracts.js": "0.77.0-testnet-ignition.
|
|
112
|
-
"@aztec/noir-protocol-circuits-types": "0.77.0-testnet-ignition.
|
|
113
|
-
"@aztec/protocol-contracts": "0.77.0-testnet-ignition.
|
|
114
|
-
"@aztec/stdlib": "0.77.0-testnet-ignition.
|
|
107
|
+
"@aztec/accounts": "0.77.0-testnet-ignition.27",
|
|
108
|
+
"@aztec/bb-prover": "0.77.0-testnet-ignition.27",
|
|
109
|
+
"@aztec/ethereum": "0.77.0-testnet-ignition.27",
|
|
110
|
+
"@aztec/l1-artifacts": "0.77.0-testnet-ignition.27",
|
|
111
|
+
"@aztec/noir-contracts.js": "0.77.0-testnet-ignition.27",
|
|
112
|
+
"@aztec/noir-protocol-circuits-types": "0.77.0-testnet-ignition.27",
|
|
113
|
+
"@aztec/protocol-contracts": "0.77.0-testnet-ignition.27",
|
|
114
|
+
"@aztec/stdlib": "0.77.0-testnet-ignition.27"
|
|
115
115
|
},
|
|
116
116
|
"files": [
|
|
117
117
|
"dest",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/contracts/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WA6B/E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inspect_contract.d.ts","sourceRoot":"","sources":["../../../src/cmds/contracts/inspect_contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAW3D,wBAAsB,eAAe,CAAC,oBAAoB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBA2BlG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse_parameter_struct.d.ts","sourceRoot":"","sources":["../../../src/cmds/contracts/parse_parameter_struct.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAMnD,wBAAsB,oBAAoB,CACxC,aAAa,EAAE,MAAM,EACrB,oBAAoB,EAAE,MAAM,EAC5B,aAAa,EAAE,MAAM,EACrB,GAAG,EAAE,KAAK,iBAeX"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
2
|
-
export declare function bootstrapNetwork(pxeUrl: string, l1Urls: string[], l1ChainId: string, l1PrivateKey: `0x${string}` | undefined, l1Mnemonic: string, addressIndex: number, json: boolean, log: LogFn, debugLog: Logger): Promise<void>;
|
|
3
|
-
//# sourceMappingURL=bootstrap_network.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap_network.d.ts","sourceRoot":"","sources":["../../../src/cmds/devnet/bootstrap_network.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAiB3D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EAAE,EAChB,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,KAAK,MAAM,EAAE,GAAG,SAAS,EACvC,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,OAAO,EACb,GAAG,EAAE,KAAK,EACV,QAAQ,EAAE,MAAM,iBA4EjB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { EthAddress } from '@aztec/foundation/eth-address';
|
|
2
|
-
import type { LogFn } from '@aztec/foundation/log';
|
|
3
|
-
export declare function dripFaucet(faucetUrl: string, asset: string, account: EthAddress, json: boolean, log: LogFn): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=faucet.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"faucet.d.ts","sourceRoot":"","sources":["../../../src/cmds/devnet/faucet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAInD,wBAAsB,UAAU,CAC9B,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,UAAU,EACnB,IAAI,EAAE,OAAO,EACb,GAAG,EAAE,KAAK,GACT,OAAO,CAAC,IAAI,CAAC,CAqBf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/devnet/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WAqD/E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/infrastructure/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WAgD/E"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
2
|
-
export declare function sequencers(opts: {
|
|
3
|
-
command: 'list' | 'add' | 'remove' | 'who-next';
|
|
4
|
-
who?: string;
|
|
5
|
-
mnemonic?: string;
|
|
6
|
-
rpcUrl: string;
|
|
7
|
-
l1RpcUrls: string[];
|
|
8
|
-
chainId: number;
|
|
9
|
-
blockNumber?: number;
|
|
10
|
-
log: LogFn;
|
|
11
|
-
debugLogger: Logger;
|
|
12
|
-
}): Promise<void>;
|
|
13
|
-
//# sourceMappingURL=sequencers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sequencers.d.ts","sourceRoot":"","sources":["../../../src/cmds/infrastructure/sequencers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAM3D,wBAAsB,UAAU,CAAC,IAAI,EAAE;IACrC,OAAO,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC;IAChD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,KAAK,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;CACrB,iBAoFA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup_l2_contract.d.ts","sourceRoot":"","sources":["../../../src/cmds/infrastructure/setup_l2_contract.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAKnD,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,OAAO,EACrB,IAAI,EAAE,OAAO,EACb,aAAa,EAAE,OAAO,EACtB,GAAG,EAAE,KAAK,iBAiCX"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"advance_epoch.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/advance_epoch.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,wBAAsB,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAQjF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assume_proven_through.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/assume_proven_through.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,wBAAsB,mBAAmB,CACvC,mBAAmB,EAAE,MAAM,GAAG,SAAS,EACvC,SAAS,EAAE,MAAM,EAAE,EACnB,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,KAAK,iBAWX"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type AztecAddress, type EthAddress } from '@aztec/aztec.js';
|
|
2
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
3
|
-
export declare function bridgeERC20(amount: bigint, recipient: AztecAddress, l1RpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, tokenAddress: EthAddress, portalAddress: EthAddress, privateTransfer: boolean, mint: boolean, json: boolean, log: LogFn, debugLogger: Logger): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=bridge_erc20.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bridge_erc20.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/bridge_erc20.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAqC,MAAM,iBAAiB,CAAC;AAExG,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAI3D,wBAAsB,WAAW,CAC/B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,YAAY,EACvB,SAAS,EAAE,MAAM,EAAE,EACnB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,UAAU,EACxB,aAAa,EAAE,UAAU,EACzB,eAAe,EAAE,OAAO,EACxB,IAAI,EAAE,OAAO,EACb,IAAI,EAAE,OAAO,EACb,GAAG,EAAE,KAAK,EACV,WAAW,EAAE,MAAM,iBAgCpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create_l1_account.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/create_l1_account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAMnD,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,QAUxD"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { EthAddress } from '@aztec/foundation/eth-address';
|
|
2
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
3
|
-
export declare function deployL1Contracts(rpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, mnemonicIndex: number, salt: number | undefined, testAccounts: boolean, json: boolean, initialValidators: EthAddress[], log: LogFn, debugLogger: Logger): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=deploy_l1_contracts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deploy_l1_contracts.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/deploy_l1_contracts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAK3D,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,YAAY,EAAE,OAAO,EACrB,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,UAAU,EAAE,EAC/B,GAAG,EAAE,KAAK,EACV,WAAW,EAAE,MAAM,iBA2CpB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
2
|
-
import { type Hex } from 'viem';
|
|
3
|
-
export declare function deployUltraHonkVerifier(rollupAddress: Hex | undefined, ethRpcUrls: string[], l1ChainId: string, privateKey: string | undefined, mnemonic: string, pxeRpcUrl: string, bbBinaryPath: string, bbWorkingDirectory: string, log: LogFn, debugLogger: Logger): Promise<void>;
|
|
4
|
-
export declare function deployMockVerifier(rollupAddress: Hex | undefined, ethRpcUrls: string[], l1ChainId: string, privateKey: string | undefined, mnemonic: string, pxeRpcUrl: string, log: LogFn, debugLogger: Logger): Promise<void>;
|
|
5
|
-
//# sourceMappingURL=deploy_l1_verifier.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deploy_l1_verifier.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/deploy_l1_verifier.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAI3D,OAAO,EAAE,KAAK,GAAG,EAAe,MAAM,MAAM,CAAC;AAE7C,wBAAsB,uBAAuB,CAC3C,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,UAAU,EAAE,MAAM,EAAE,EACpB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,EACpB,kBAAkB,EAAE,MAAM,EAC1B,GAAG,EAAE,KAAK,EACV,WAAW,EAAE,MAAM,iBAyCpB;AAED,wBAAsB,kBAAkB,CACtC,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,UAAU,EAAE,MAAM,EAAE,EACpB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,KAAK,EACV,WAAW,EAAE,MAAM,iBAmCpB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { EthAddress } from '@aztec/foundation/eth-address';
|
|
2
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
3
|
-
export declare function deployNewRollup(registryAddress: EthAddress, rpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, mnemonicIndex: number, salt: number | undefined, testAccounts: boolean, json: boolean, initialValidators: EthAddress[], log: LogFn, debugLogger: Logger): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=deploy_new_rollup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deploy_new_rollup.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/deploy_new_rollup.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAK3D,wBAAsB,eAAe,CACnC,eAAe,EAAE,UAAU,EAC3B,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,YAAY,EAAE,OAAO,EACrB,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,UAAU,EAAE,EAC/B,GAAG,EAAE,KAAK,EACV,WAAW,EAAE,MAAM,iBAqCpB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthAddress } from '@aztec/aztec.js';
|
|
2
|
-
import type { LogFn } from '@aztec/foundation/log';
|
|
3
|
-
export declare function getL1Addresses(registryAddress: EthAddress, rollupVersion: number | bigint | 'canonical', rpcUrls: string[], chainId: number, json: boolean, log: LogFn): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=get_l1_addresses.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_l1_addresses.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/get_l1_addresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAInD,wBAAsB,cAAc,CAClC,eAAe,EAAE,UAAU,EAC3B,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,WAAW,EAC5C,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,OAAO,EACb,GAAG,EAAE,KAAK,iBAiBX"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { EthAddress } from '@aztec/foundation/eth-address';
|
|
2
|
-
import type { LogFn } from '@aztec/foundation/log';
|
|
3
|
-
export declare function getL1Balance(who: EthAddress, token: EthAddress | undefined, l1RpcUrls: string[], chainId: number, json: boolean, log: LogFn): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=get_l1_balance.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_l1_balance.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/get_l1_balance.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAOnD,wBAAsB,YAAY,CAChC,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,UAAU,GAAG,SAAS,EAC7B,SAAS,EAAE,MAAM,EAAE,EACnB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,OAAO,EACb,GAAG,EAAE,KAAK,iBA4BX"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
2
|
-
export declare function depositGovernanceTokens({ registryAddress, rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, recipient, amount, debugLogger, mint, }: {
|
|
3
|
-
registryAddress: `0x${string}`;
|
|
4
|
-
rpcUrls: string[];
|
|
5
|
-
chainId: number;
|
|
6
|
-
privateKey: string | undefined;
|
|
7
|
-
mnemonic: string;
|
|
8
|
-
mnemonicIndex: number;
|
|
9
|
-
recipient: `0x${string}`;
|
|
10
|
-
amount: bigint;
|
|
11
|
-
debugLogger: Logger;
|
|
12
|
-
mint: boolean;
|
|
13
|
-
}): Promise<void>;
|
|
14
|
-
export declare function proposeWithLock({ payloadAddress, registryAddress, rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, json, debugLogger, log, }: {
|
|
15
|
-
payloadAddress: `0x${string}`;
|
|
16
|
-
registryAddress: `0x${string}`;
|
|
17
|
-
rpcUrls: string[];
|
|
18
|
-
chainId: number;
|
|
19
|
-
privateKey: string | undefined;
|
|
20
|
-
mnemonic: string;
|
|
21
|
-
mnemonicIndex: number;
|
|
22
|
-
debugLogger: Logger;
|
|
23
|
-
log: LogFn;
|
|
24
|
-
json: boolean;
|
|
25
|
-
}): Promise<void>;
|
|
26
|
-
export declare function voteOnGovernanceProposal({ proposalId, voteAmount, inFavor, waitTilActive, registryAddress, rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, debugLogger, }: {
|
|
27
|
-
proposalId: bigint;
|
|
28
|
-
voteAmount: bigint | undefined;
|
|
29
|
-
inFavor: boolean;
|
|
30
|
-
waitTilActive: boolean;
|
|
31
|
-
registryAddress: `0x${string}`;
|
|
32
|
-
rpcUrls: string[];
|
|
33
|
-
chainId: number;
|
|
34
|
-
privateKey: string | undefined;
|
|
35
|
-
mnemonic: string;
|
|
36
|
-
mnemonicIndex: number;
|
|
37
|
-
debugLogger: Logger;
|
|
38
|
-
}): Promise<void>;
|
|
39
|
-
export declare function executeGovernanceProposal({ proposalId, waitTilExecutable, registryAddress, rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, debugLogger, }: {
|
|
40
|
-
proposalId: bigint;
|
|
41
|
-
waitTilExecutable: boolean;
|
|
42
|
-
registryAddress: `0x${string}`;
|
|
43
|
-
rpcUrls: string[];
|
|
44
|
-
chainId: number;
|
|
45
|
-
privateKey: string | undefined;
|
|
46
|
-
mnemonic: string;
|
|
47
|
-
mnemonicIndex: number;
|
|
48
|
-
debugLogger: Logger;
|
|
49
|
-
}): Promise<void>;
|
|
50
|
-
//# sourceMappingURL=governance_utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"governance_utils.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/governance_utils.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,uBAAuB,CAAC,EAC5C,eAAe,EACf,OAAO,EACP,OAAO,EACP,UAAU,EACV,QAAQ,EACR,aAAa,EACb,SAAS,EACT,MAAM,EACN,WAAW,EACX,IAAI,GACL,EAAE;IACD,eAAe,EAAE,KAAK,MAAM,EAAE,CAAC;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,KAAK,MAAM,EAAE,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;CACf,iBA0BA;AAED,wBAAsB,eAAe,CAAC,EACpC,cAAc,EACd,eAAe,EACf,OAAO,EACP,OAAO,EACP,UAAU,EACV,QAAQ,EACR,aAAa,EACb,IAAI,EACJ,WAAW,EACX,GAAG,GACJ,EAAE;IACD,cAAc,EAAE,KAAK,MAAM,EAAE,CAAC;IAC9B,eAAe,EAAE,KAAK,MAAM,EAAE,CAAC;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,KAAK,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;CACf,iBAoBA;AAED,wBAAsB,wBAAwB,CAAC,EAC7C,UAAU,EACV,UAAU,EACV,OAAO,EACP,aAAa,EACb,eAAe,EACf,OAAO,EACP,OAAO,EACP,UAAU,EACV,QAAQ,EACR,aAAa,EACb,WAAW,GACZ,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,KAAK,MAAM,EAAE,CAAC;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,iBAmBA;AAED,wBAAsB,yBAAyB,CAAC,EAC9C,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,OAAO,EACP,OAAO,EACP,UAAU,EACV,QAAQ,EACR,aAAa,EACb,WAAW,GACZ,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,KAAK,MAAM,EAAE,CAAC;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,iBAiBA"}
|
package/dest/cmds/l1/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,KAAK,OAAO,EAAU,MAAM,WAAW,CAAC;AAsBjD,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WAkhB/E"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type LogFn } from '@aztec/foundation/log';
|
|
2
|
-
export declare function proverStats(opts: {
|
|
3
|
-
l1RpcUrls: string[];
|
|
4
|
-
chainId: number;
|
|
5
|
-
l1RollupAddress: string | undefined;
|
|
6
|
-
nodeUrl: string | undefined;
|
|
7
|
-
log: LogFn;
|
|
8
|
-
startBlock: bigint;
|
|
9
|
-
endBlock: bigint | undefined;
|
|
10
|
-
batchSize: bigint;
|
|
11
|
-
provingTimeout: bigint | undefined;
|
|
12
|
-
rawLogs: boolean;
|
|
13
|
-
}): Promise<void>;
|
|
14
|
-
//# sourceMappingURL=prover_stats.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prover_stats.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/prover_stats.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAA6B,MAAM,uBAAuB,CAAC;AAQ9E,wBAAsB,WAAW,CAAC,IAAI,EAAE;IACtC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,OAAO,EAAE,OAAO,CAAC;CAClB,iBAgIA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { EthAddress } from '@aztec/foundation/eth-address';
|
|
2
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
3
|
-
export interface RollupCommandArgs {
|
|
4
|
-
rpcUrls: string[];
|
|
5
|
-
chainId: number;
|
|
6
|
-
privateKey?: string;
|
|
7
|
-
mnemonic?: string;
|
|
8
|
-
rollupAddress: EthAddress;
|
|
9
|
-
withdrawerAddress?: EthAddress;
|
|
10
|
-
}
|
|
11
|
-
export interface LoggerArgs {
|
|
12
|
-
log: LogFn;
|
|
13
|
-
debugLogger: Logger;
|
|
14
|
-
}
|
|
15
|
-
export declare function generateL1Account(): {
|
|
16
|
-
privateKey: `0x${string}`;
|
|
17
|
-
address: `0x${string}`;
|
|
18
|
-
};
|
|
19
|
-
export declare function addL1Validator({ rpcUrls, chainId, privateKey, mnemonic, validatorAddress, rollupAddress, withdrawerAddress, log, debugLogger, }: RollupCommandArgs & LoggerArgs & {
|
|
20
|
-
validatorAddress: EthAddress;
|
|
21
|
-
}): Promise<void>;
|
|
22
|
-
export declare function removeL1Validator({ rpcUrls, chainId, privateKey, mnemonic, validatorAddress, rollupAddress, log, debugLogger, }: RollupCommandArgs & LoggerArgs & {
|
|
23
|
-
validatorAddress: EthAddress;
|
|
24
|
-
}): Promise<void>;
|
|
25
|
-
export declare function pruneRollup({ rpcUrls, chainId, privateKey, mnemonic, rollupAddress, log, debugLogger, }: RollupCommandArgs & LoggerArgs): Promise<void>;
|
|
26
|
-
export declare function fastForwardEpochs({ rpcUrls, chainId, rollupAddress, numEpochs, log, debugLogger, }: RollupCommandArgs & LoggerArgs & {
|
|
27
|
-
numEpochs: bigint;
|
|
28
|
-
}): Promise<void>;
|
|
29
|
-
export declare function debugRollup({ rpcUrls, chainId, rollupAddress, log }: RollupCommandArgs & LoggerArgs): Promise<void>;
|
|
30
|
-
//# sourceMappingURL=update_l1_validators.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update_l1_validators.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/update_l1_validators.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAM3D,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,UAAU,CAAC;IAC1B,iBAAiB,CAAC,EAAE,UAAU,CAAC;CAChC;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,KAAK,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,iBAAiB;;;EAQhC;AAED,wBAAsB,cAAc,CAAC,EACnC,OAAO,EACP,OAAO,EACP,UAAU,EACV,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,GAAG,EACH,WAAW,GACZ,EAAE,iBAAiB,GAAG,UAAU,GAAG;IAAE,gBAAgB,EAAE,UAAU,CAAA;CAAE,iBA+CnE;AAED,wBAAsB,iBAAiB,CAAC,EACtC,OAAO,EACP,OAAO,EACP,UAAU,EACV,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,GAAG,EACH,WAAW,GACZ,EAAE,iBAAiB,GAAG,UAAU,GAAG;IAAE,gBAAgB,EAAE,UAAU,CAAA;CAAE,iBAcnE;AAED,wBAAsB,WAAW,CAAC,EAChC,OAAO,EACP,OAAO,EACP,UAAU,EACV,QAAQ,EACR,aAAa,EACb,GAAG,EACH,WAAW,GACZ,EAAE,iBAAiB,GAAG,UAAU,iBAchC;AAED,wBAAsB,iBAAiB,CAAC,EACtC,OAAO,EACP,OAAO,EACP,aAAa,EACb,SAAS,EACT,GAAG,EACH,WAAW,GACZ,EAAE,iBAAiB,GAAG,UAAU,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,iBAyBxD;AAED,wBAAsB,WAAW,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,EAAE,iBAAiB,GAAG,UAAU,iBA4BzG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compute_selector.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/compute_selector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGnD,wBAAsB,eAAe,CAAC,iBAAiB,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAG1E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example_contracts.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/example_contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAInD,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,KAAK,iBAOhD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate_bootnode_enr.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/generate_bootnode_enr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGnD,wBAAsB,0BAA0B,CAC9C,UAAU,EAAE,MAAM,EAClB,kBAAkB,EAAE,MAAM,EAC1B,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,KAAK,iBAIX"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate_p2p_private_key.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/generate_p2p_private_key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAInD,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,KAAK,iBAKrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate_secret_and_hash.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/generate_secret_and_hash.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,KAAK,QAU/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate_secret_key.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/generate_secret_key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,wBAAgB,iBAAiB;;EAEhC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,WAoF1D"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type EthAddress, type Wallet } from '@aztec/aztec.js';
|
|
2
|
-
import type { LogFn } from '@aztec/foundation/log';
|
|
3
|
-
/**
|
|
4
|
-
* Deploys the contract to pay for gas on L2.
|
|
5
|
-
*/
|
|
6
|
-
export declare function setupCanonicalL2FeeJuice(deployer: Wallet, feeJuicePortalAddress: EthAddress, waitOpts: import("@aztec/aztec.js").WaitOpts | undefined, log: LogFn): Promise<void>;
|
|
7
|
-
//# sourceMappingURL=setup_contracts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup_contracts.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/setup_contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAyB,KAAK,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEvG,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAInD;;GAEG;AACH,wBAAsB,wBAAwB,CAC5C,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,UAAU,EACjC,QAAQ,gDAAkB,EAC1B,GAAG,EAAE,KAAK,iBA0BX"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tracks changes to dependencies
|
|
3
|
-
*/
|
|
4
|
-
export type DependencyChanges = {
|
|
5
|
-
/** Which file was changed */
|
|
6
|
-
file: string;
|
|
7
|
-
/** changes done to the file */
|
|
8
|
-
dependencies: Array<{
|
|
9
|
-
/** Name of the dependency being changed */
|
|
10
|
-
name: string;
|
|
11
|
-
/** Previous version of the dependency */
|
|
12
|
-
from: string;
|
|
13
|
-
/** New version of the dependency (after the update) */
|
|
14
|
-
to: string;
|
|
15
|
-
}>;
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/cmds/misc/update/common.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,+BAA+B;IAC/B,YAAY,EAAE,KAAK,CAAC;QAClB,2CAA2C;QAC3C,IAAI,EAAE,MAAM,CAAC;QACb,yCAAyC;QACzC,IAAI,EAAE,MAAM,CAAC;QACb,uDAAuD;QACvD,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC,CAAC;CACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../../src/cmds/misc/update/github.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,kBAAkB,CAAC;AAC5C,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,eAAO,MAAM,iBAAiB,mBAAmB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LogFn } from '@aztec/foundation/log';
|
|
2
|
-
import type { DependencyChanges } from './common.js';
|
|
3
|
-
/**
|
|
4
|
-
* Updates Aztec.nr dependencies
|
|
5
|
-
* @param contractPath - Path to the contract to be updated
|
|
6
|
-
* @param tag - The tag to update to
|
|
7
|
-
* @param log - Logging function
|
|
8
|
-
*/
|
|
9
|
-
export declare function updateAztecNr(contractPath: string, tag: string, log: LogFn): Promise<DependencyChanges>;
|
|
10
|
-
//# sourceMappingURL=noir.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"noir.d.ts","sourceRoot":"","sources":["../../../../src/cmds/misc/update/noir.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAOnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrD;;;;;GAKG;AACH,wBAAsB,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAwC7G"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { LogFn } from '@aztec/foundation/log';
|
|
2
|
-
import { type SemVer } from 'semver';
|
|
3
|
-
import type { DependencyChanges } from './common.js';
|
|
4
|
-
/**
|
|
5
|
-
* Looks up a package.json file and returns its contents
|
|
6
|
-
* @param projectPath - Path to Nodejs project
|
|
7
|
-
* @returns The parsed package.json
|
|
8
|
-
*/
|
|
9
|
-
export declare function readPackageJson(projectPath: string): Promise<{
|
|
10
|
-
/** dependencies */
|
|
11
|
-
dependencies?: Record<string, string>;
|
|
12
|
-
/** devDependencies */
|
|
13
|
-
devDependencies?: Record<string, string>;
|
|
14
|
-
}>;
|
|
15
|
-
/**
|
|
16
|
-
* Queries the npm registry for the latest version of a package
|
|
17
|
-
* @param packageName - The package to query
|
|
18
|
-
* @param distTag - The distribution tag
|
|
19
|
-
* @returns The latest version of the package on that distribution tag
|
|
20
|
-
*/
|
|
21
|
-
export declare function getNewestVersion(packageName: string, distTag?: string): Promise<SemVer>;
|
|
22
|
-
/**
|
|
23
|
-
* Updates a project's \@aztec/* dependencies to the specific version
|
|
24
|
-
* @param projectPath - Path to Nodejs project
|
|
25
|
-
* @param aztecVersion - The version to update to
|
|
26
|
-
* @returns True if the project was updated
|
|
27
|
-
*/
|
|
28
|
-
export declare function updateAztecDeps(projectPath: string, aztecVersion: SemVer, log: LogFn): Promise<DependencyChanges>;
|
|
29
|
-
/**
|
|
30
|
-
* Updates a project's yarn.lock or package-lock.json
|
|
31
|
-
* @param projectPath - Path to Nodejs project
|
|
32
|
-
*/
|
|
33
|
-
export declare function updateLockfile(projectPath: string, log: LogFn): void;
|
|
34
|
-
//# sourceMappingURL=npm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"npm.d.ts","sourceRoot":"","sources":["../../../../src/cmds/misc/update/npm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAMnD,OAAO,EAAE,KAAK,MAAM,EAAS,MAAM,QAAQ,CAAC;AAE5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAYrD;;;;GAIG;AACH,wBAAsB,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC;IAClE,mBAAmB;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,sBAAsB;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C,CAAC,CAKD;AAED;;;;;GAKG;AACH,wBAAsB,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,SAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAc/F;AAED;;;;;GAKG;AACH,wBAAsB,eAAe,CACnC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,KAAK,GACT,OAAO,CAAC,iBAAiB,CAAC,CAuD5B;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,GAAG,IAAI,CAuBpE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { NoirPackageConfig } from '@aztec/foundation/noir';
|
|
2
|
-
/**
|
|
3
|
-
* Updates a file in place atomically.
|
|
4
|
-
* @param filePath - Path to file
|
|
5
|
-
* @param contents - New contents to write
|
|
6
|
-
*/
|
|
7
|
-
export declare function atomicUpdateFile(filePath: string, contents: string): Promise<void>;
|
|
8
|
-
/**
|
|
9
|
-
* Pretty prints Nargo.toml contents to a string
|
|
10
|
-
* @param config - Nargo.toml contents
|
|
11
|
-
* @returns The Nargo.toml contents as a string
|
|
12
|
-
*/
|
|
13
|
-
export declare function prettyPrintNargoToml(config: NoirPackageConfig): string;
|
|
14
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/cmds/misc/update/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAMhE;;;;GAIG;AACH,wBAAsB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAqBxE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAUtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/update.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAanD,wBAAsB,aAAa,CACjC,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EAAE,EACnB,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,KAAK,GACT,OAAO,CAAC,IAAI,CAAC,CA+Cf"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AztecAddress, type Fr } from '@aztec/aztec.js';
|
|
2
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
3
|
-
import { PublicKeys } from '@aztec/stdlib/keys';
|
|
4
|
-
export declare function addContract(rpcUrl: string, contractArtifactPath: string, address: AztecAddress, initializationHash: Fr, salt: Fr, publicKeys: PublicKeys, deployer: AztecAddress | undefined, debugLogger: Logger, log: LogFn): Promise<void>;
|
|
5
|
-
//# sourceMappingURL=add_contract.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add_contract.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/add_contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAoC,KAAK,EAAE,EAAgC,MAAM,iBAAiB,CAAC;AAExH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD,wBAAsB,WAAW,CAC/B,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,MAAM,EAC5B,OAAO,EAAE,YAAY,EACrB,kBAAkB,EAAE,EAAE,EACtB,IAAI,EAAE,EAAE,EACR,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,YAAY,GAAG,SAAS,EAClC,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,KAAK,iBAuBX"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"block_number.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/block_number.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAKhF"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { AztecAddress } from '@aztec/aztec.js';
|
|
2
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
3
|
-
export declare function getAccount(aztecAddress: AztecAddress, rpcUrl: string, debugLogger: Logger, log: LogFn): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=get_account.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_account.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/get_account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,UAAU,CAAC,YAAY,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAW3G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_accounts.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/get_accounts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,WAAW,CAC/B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,OAAO,EACb,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,KAAK,EACV,OAAO,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,iBA0B/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_block.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/get_block.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAI3D,wBAAsB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAInH"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { AztecAddress } from '@aztec/aztec.js';
|
|
2
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
3
|
-
export declare function getContractData(rpcUrl: string, contractAddress: AztecAddress, includeBytecode: boolean, debugLogger: Logger, log: LogFn): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=get_contract_data.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_contract_data.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/get_contract_data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,eAAe,CACnC,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,YAAY,EAC7B,eAAe,EAAE,OAAO,EACxB,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,KAAK,iBAyCX"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_current_base_fee.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/get_current_base_fee.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAItF"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type AztecAddress, type Fr } from '@aztec/aztec.js';
|
|
2
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
3
|
-
export declare function getL1ToL2MessageWitness(rpcUrl: string, contractAddress: AztecAddress, messageHash: Fr, secret: Fr, debugLogger: Logger, log: LogFn): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=get_l1_to_l2_message_witness.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_l1_to_l2_message_witness.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/get_l1_to_l2_message_witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,EAAE,EAA0B,MAAM,iBAAiB,CAAC;AACrF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,YAAY,EAC7B,WAAW,EAAE,EAAE,EACf,MAAM,EAAE,EAAE,EACV,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,KAAK,iBAeX"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { AztecAddress, LogId, TxHash } from '@aztec/aztec.js';
|
|
2
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
3
|
-
export declare function getLogs(txHash: TxHash, fromBlock: number, toBlock: number, afterLog: LogId, contractAddress: AztecAddress, rpcUrl: string, follow: boolean, debugLogger: Logger, log: LogFn): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=get_logs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_logs.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/get_logs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAa,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE9E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAG3D,wBAAsB,OAAO,CAC3B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,KAAK,EACf,eAAe,EAAE,YAAY,EAC7B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,OAAO,EACf,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,KAAK,iBAmDX"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
2
|
-
export declare function getNodeInfo(rpcUrl: string, pxeRequest: boolean, debugLogger: Logger, json: boolean, log: LogFn, logJson: (output: any) => void): Promise<void>;
|
|
3
|
-
//# sourceMappingURL=get_node_info.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_node_info.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/get_node_info.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,WAAW,CAC/B,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,OAAO,EACnB,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,OAAO,EACb,GAAG,EAAE,KAAK,EACV,OAAO,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,iBA6D/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_pxe_info.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/get_pxe_info.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAS/E"}
|
package/dest/cmds/pxe/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/pxe/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBzC,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WAqJ/E"}
|
package/dest/utils/aztec.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { EthAddress, PXE } from '@aztec/aztec.js';
|
|
2
|
-
import { type ContractArtifact, type FunctionArtifact } from '@aztec/aztec.js/abi';
|
|
3
|
-
import type { DeployL1ContractsReturnType, L1ContractsConfig, RollupContract } from '@aztec/ethereum';
|
|
4
|
-
import type { Fr } from '@aztec/foundation/fields';
|
|
5
|
-
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
6
|
-
import type { NoirPackageConfig } from '@aztec/foundation/noir';
|
|
7
|
-
/**
|
|
8
|
-
* Helper to get an ABI function or throw error if it doesn't exist.
|
|
9
|
-
* @param artifact - Contract's build artifact in JSON format.
|
|
10
|
-
* @param fnName - Function name to be found.
|
|
11
|
-
* @returns The function's ABI.
|
|
12
|
-
*/
|
|
13
|
-
export declare function getFunctionArtifact(artifact: ContractArtifact, fnName: string): FunctionArtifact;
|
|
14
|
-
/**
|
|
15
|
-
* Function to execute the 'deployRollupContracts' command.
|
|
16
|
-
* @param rpcUrls - The RPC URL of the ethereum node.
|
|
17
|
-
* @param chainId - The chain ID of the L1 host.
|
|
18
|
-
* @param privateKey - The private key to be used in contract deployment.
|
|
19
|
-
* @param mnemonic - The mnemonic to be used in contract deployment.
|
|
20
|
-
*/
|
|
21
|
-
export declare function deployAztecContracts(rpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, mnemonicIndex: number, salt: number | undefined, initialValidators: EthAddress[], genesisArchiveRoot: Fr, genesisBlockHash: Fr, config: L1ContractsConfig, debugLogger: Logger): Promise<DeployL1ContractsReturnType>;
|
|
22
|
-
export declare function deployNewRollupContracts(registryAddress: EthAddress, rpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, mnemonicIndex: number, salt: number | undefined, initialValidators: EthAddress[], genesisArchiveRoot: Fr, genesisBlockHash: Fr, config: L1ContractsConfig, logger: Logger): Promise<{
|
|
23
|
-
payloadAddress: EthAddress;
|
|
24
|
-
rollup: RollupContract;
|
|
25
|
-
}>;
|
|
26
|
-
/**
|
|
27
|
-
* Gets all contracts available in \@aztec/noir-contracts.js.
|
|
28
|
-
* @returns The contract names.
|
|
29
|
-
*/
|
|
30
|
-
export declare function getExampleContractNames(): Promise<string[]>;
|
|
31
|
-
/**
|
|
32
|
-
* Reads a file and converts it to an Aztec Contract ABI.
|
|
33
|
-
* @param fileDir - The directory of the compiled contract ABI.
|
|
34
|
-
* @returns The parsed contract artifact.
|
|
35
|
-
*/
|
|
36
|
-
export declare function getContractArtifact(fileDir: string, log: LogFn): Promise<ContractArtifact>;
|
|
37
|
-
/**
|
|
38
|
-
* Performs necessary checks, conversions & operations to call a contract fn from the CLI.
|
|
39
|
-
* @param contractFile - Directory of the compiled contract ABI.
|
|
40
|
-
* @param functionName - Name of the function to be called.
|
|
41
|
-
* @param _functionArgs - Arguments to call the function with.
|
|
42
|
-
* @param log - Logger instance that will output to the CLI
|
|
43
|
-
* @returns Formatted contract address, function arguments and caller's aztec address.
|
|
44
|
-
*/
|
|
45
|
-
export declare function prepTx(contractFile: string, functionName: string, _functionArgs: string[], log: LogFn): Promise<{
|
|
46
|
-
functionArgs: any[];
|
|
47
|
-
contractArtifact: ContractArtifact;
|
|
48
|
-
isPrivate: boolean;
|
|
49
|
-
}>;
|
|
50
|
-
/**
|
|
51
|
-
* Removes the leading 0x from a hex string. If no leading 0x is found the string is returned unchanged.
|
|
52
|
-
* @param hex - A hex string
|
|
53
|
-
* @returns A new string with leading 0x removed
|
|
54
|
-
*/
|
|
55
|
-
export declare const stripLeadingHex: (hex: string) => string;
|
|
56
|
-
/**
|
|
57
|
-
* Pretty prints Nargo.toml contents to a string
|
|
58
|
-
* @param config - Nargo.toml contents
|
|
59
|
-
* @returns The Nargo.toml contents as a string
|
|
60
|
-
*/
|
|
61
|
-
export declare function prettyPrintNargoToml(config: NoirPackageConfig): string;
|
|
62
|
-
/**
|
|
63
|
-
* Checks that Private eXecution Environment (PXE) version matches the expected one by this CLI. Throws if not.
|
|
64
|
-
* @param pxe - PXE client.
|
|
65
|
-
* @param expectedVersionRange - Expected version by CLI.
|
|
66
|
-
*/
|
|
67
|
-
export declare function checkServerVersion(pxe: PXE, expectedVersionRange: string): Promise<void>;
|
|
68
|
-
//# sourceMappingURL=aztec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aztec.d.ts","sourceRoot":"","sources":["../../src/utils/aztec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAwB,MAAM,qBAAqB,CAAC;AACzG,OAAO,KAAK,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtG,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAUhE;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAG,gBAAgB,CAMhG;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,iBAAiB,EAAE,UAAU,EAAE,EAC/B,kBAAkB,EAAE,EAAE,EACtB,gBAAgB,EAAE,EAAE,EACpB,MAAM,EAAE,iBAAiB,EACzB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,2BAA2B,CAAC,CA4BtC;AAED,wBAAsB,wBAAwB,CAC5C,eAAe,EAAE,UAAU,EAC3B,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,iBAAiB,EAAE,UAAU,EAAE,EAC/B,kBAAkB,EAAE,EAAE,EACtB,gBAAgB,EAAE,EAAE,EACpB,MAAM,EAAE,iBAAiB,EACzB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC;IAAE,cAAc,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,cAAc,CAAA;CAAE,CAAC,CA6BjE;AAED;;;GAGG;AACH,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAKjE;AAED;;;;GAIG;AACH,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,6BA4BpE;AAED;;;;;;;GAOG;AACH,wBAAsB,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,KAAK;;;;GAO3G;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAS,MAAM,WAK1C,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAUtE;AAKD;;;;GAIG;AACH,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,iBAyB9E"}
|
package/dest/utils/commands.d.ts
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { FunctionSelector } from '@aztec/aztec.js/abi';
|
|
2
|
-
import { AztecAddress } from '@aztec/aztec.js/addresses';
|
|
3
|
-
import { EthAddress } from '@aztec/aztec.js/eth_address';
|
|
4
|
-
import { Fr } from '@aztec/aztec.js/fields';
|
|
5
|
-
import { LogId } from '@aztec/aztec.js/log_id';
|
|
6
|
-
import { TxHash } from '@aztec/aztec.js/tx_hash';
|
|
7
|
-
import type { LogFn } from '@aztec/foundation/log';
|
|
8
|
-
import type { PXE } from '@aztec/stdlib/interfaces/client';
|
|
9
|
-
import { PublicKeys } from '@aztec/stdlib/keys';
|
|
10
|
-
import { type Command, Option } from 'commander';
|
|
11
|
-
/**
|
|
12
|
-
* If we can successfully resolve 'host.docker.internal', then we are running in a container, and we should treat
|
|
13
|
-
* localhost as being host.docker.internal.
|
|
14
|
-
*/
|
|
15
|
-
export declare const getLocalhost: () => Promise<string>;
|
|
16
|
-
export declare const LOCALHOST: string;
|
|
17
|
-
export declare const ETHEREUM_HOSTS: string, PRIVATE_KEY: string | undefined, API_KEY: string | undefined, CLI_VERSION: string | undefined;
|
|
18
|
-
export declare function addOptions(program: Command, options: Option[]): Command;
|
|
19
|
-
export declare const makePxeOption: (mandatory: boolean) => Option;
|
|
20
|
-
export declare const pxeOption: Option;
|
|
21
|
-
export declare const l1ChainIdOption: Option;
|
|
22
|
-
export declare const createSecretKeyOption: (description: string, mandatory: boolean, argsParser?: (value: string, previous: Fr) => Fr) => Option;
|
|
23
|
-
export declare const logJson: (log: LogFn) => (obj: object) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Updates a file in place atomically.
|
|
26
|
-
* @param filePath - Path to file
|
|
27
|
-
* @param contents - New contents to write
|
|
28
|
-
*/
|
|
29
|
-
export declare function atomicUpdateFile(filePath: string, contents: string): Promise<void>;
|
|
30
|
-
/**
|
|
31
|
-
* Utility to select a TX sender either from user input
|
|
32
|
-
* or from the first account that is found in a PXE instance.
|
|
33
|
-
* @param pxe - The PXE instance that will be checked for an account.
|
|
34
|
-
* @param _from - The user input.
|
|
35
|
-
* @returns An Aztec address. Will throw if one can't be found in either options.
|
|
36
|
-
*/
|
|
37
|
-
export declare function getTxSender(pxe: PXE, _from?: string): Promise<AztecAddress>;
|
|
38
|
-
export declare function parseBigint(bigint: string): bigint | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Parses a hex encoded string to an Fr integer
|
|
41
|
-
* @param str - Hex encoded string
|
|
42
|
-
* @returns A integer
|
|
43
|
-
*/
|
|
44
|
-
export declare function parseFieldFromHexString(str: string): Fr;
|
|
45
|
-
/**
|
|
46
|
-
* Parses an AztecAddress from a string.
|
|
47
|
-
* @param address - A serialized Aztec address
|
|
48
|
-
* @returns An Aztec address
|
|
49
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
50
|
-
*/
|
|
51
|
-
export declare function parseAztecAddress(address: string): AztecAddress;
|
|
52
|
-
/**
|
|
53
|
-
* Parses an Ethereum address from a string.
|
|
54
|
-
* @param address - A serialized Ethereum address
|
|
55
|
-
* @returns An Ethereum address
|
|
56
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
57
|
-
*/
|
|
58
|
-
export declare function parseEthereumAddress(address: string): EthAddress;
|
|
59
|
-
/**
|
|
60
|
-
* Parses an AztecAddress from a string.
|
|
61
|
-
* @param address - A serialized Aztec address
|
|
62
|
-
* @returns An Aztec address
|
|
63
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
64
|
-
*/
|
|
65
|
-
export declare function parseOptionalAztecAddress(address: string): AztecAddress | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Parses an optional log ID string into a LogId object.
|
|
68
|
-
*
|
|
69
|
-
* @param logId - The log ID string to parse.
|
|
70
|
-
* @returns The parsed LogId object, or undefined if the log ID is missing or empty.
|
|
71
|
-
*/
|
|
72
|
-
export declare function parseOptionalLogId(logId: string): LogId | undefined;
|
|
73
|
-
/**
|
|
74
|
-
* Parses a selector from a string.
|
|
75
|
-
* @param selector - A serialized selector.
|
|
76
|
-
* @returns A selector.
|
|
77
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
78
|
-
*/
|
|
79
|
-
export declare function parseOptionalSelector(selector: string): FunctionSelector | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* Parses a string into an integer or returns undefined if the input is falsy.
|
|
82
|
-
*
|
|
83
|
-
* @param value - The string to parse into an integer.
|
|
84
|
-
* @returns The parsed integer, or undefined if the input string is falsy.
|
|
85
|
-
* @throws If the input is not a valid integer.
|
|
86
|
-
*/
|
|
87
|
-
export declare function parseOptionalInteger(value: string): number | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Parses a TxHash from a string.
|
|
90
|
-
* @param txHash - A transaction hash
|
|
91
|
-
* @returns A TxHash instance
|
|
92
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
93
|
-
*/
|
|
94
|
-
export declare function parseTxHash(txHash: string): TxHash;
|
|
95
|
-
/**
|
|
96
|
-
* Parses an optional TxHash from a string.
|
|
97
|
-
* Calls parseTxHash internally.
|
|
98
|
-
* @param txHash - A transaction hash
|
|
99
|
-
* @returns A TxHash instance, or undefined if the input string is falsy.
|
|
100
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
101
|
-
*/
|
|
102
|
-
export declare function parseOptionalTxHash(txHash: string): TxHash | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* Parses a public key from a string.
|
|
105
|
-
* @param publicKey - A public keys object serialised as a string
|
|
106
|
-
* @returns A PublicKeys instance
|
|
107
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
108
|
-
*/
|
|
109
|
-
export declare function parsePublicKey(publicKey: string): PublicKeys | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* Parses a partial address from a string.
|
|
112
|
-
* @param address - A partial address
|
|
113
|
-
* @returns A Fr instance
|
|
114
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
115
|
-
*/
|
|
116
|
-
export declare function parsePartialAddress(address: string): Fr;
|
|
117
|
-
/**
|
|
118
|
-
* Parses a secret key from a string.
|
|
119
|
-
* @param privateKey - A string
|
|
120
|
-
* @returns A secret key
|
|
121
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
122
|
-
*/
|
|
123
|
-
export declare function parseSecretKey(secretKey: string): Fr;
|
|
124
|
-
/**
|
|
125
|
-
* Parses a field from a string.
|
|
126
|
-
* @param field - A string representing the field.
|
|
127
|
-
* @returns A field.
|
|
128
|
-
* @throws InvalidArgumentError if the input string is not valid.
|
|
129
|
-
*/
|
|
130
|
-
export declare function parseField(field: string): Fr;
|
|
131
|
-
/**
|
|
132
|
-
* Parses an array of strings to Frs.
|
|
133
|
-
* @param fields - An array of strings representing the fields.
|
|
134
|
-
* @returns An array of Frs.
|
|
135
|
-
*/
|
|
136
|
-
export declare function parseFields(fields: string[]): Fr[];
|
|
137
|
-
/**
|
|
138
|
-
* Pretty prints an object as JSON
|
|
139
|
-
* @param data - The object to stringify
|
|
140
|
-
* @returns A JSON string
|
|
141
|
-
*/
|
|
142
|
-
export declare function prettyPrintJSON(data: Record<string, any>): string;
|
|
143
|
-
//# sourceMappingURL=commands.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/utils/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,EAAE,EAAE,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,KAAK,OAAO,EAAwC,MAAM,EAAE,MAAM,WAAW,CAAC;AAIvF;;;GAGG;AACH,eAAO,MAAM,YAAY,uBAGI,CAAC;AAE9B,eAAO,MAAM,SAAS,QAAuB,CAAC;AAC9C,eAAO,MAAQ,cAAc,UAA+B,WAAW,sBAAE,OAAO,sBAAE,WAAW,oBAAgB,CAAC;AAE9G,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,WAG7D;AAED,eAAO,MAAM,aAAa,cAAe,OAAO,WAKb,CAAC;AAEpC,eAAO,MAAM,SAAS,QAAsB,CAAC;AAE7C,eAAO,MAAM,eAAe,QASxB,CAAC;AAEL,eAAO,MAAM,qBAAqB,gBACnB,MAAM,aACR,OAAO,eACL,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,WAKf,CAAC;AAEpC,eAAO,MAAM,OAAO,QAAS,KAAK,WAAW,MAAM,SAAsC,CAAC;AAE1F;;;;GAIG;AACH,wBAAsB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAqBxE;AAED;;;;;;GAMG;AACH,wBAAsB,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,yBAgBzD;AAcD,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAE9D;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,EAAE,CAqBvD;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAM/D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,CAMhE;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAKnF;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAKnE;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CASpF;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAStE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAMlD;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CASxE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,EAAE,CAMvD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,EAAE,CAMpD;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,EAAE,CAyB5C;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,CAElD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAcjE"}
|
package/dest/utils/encoding.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ABIParameter, StructType } from '@aztec/stdlib/abi';
|
|
2
|
-
/**
|
|
3
|
-
* Parses a hex string into an ABI struct type.
|
|
4
|
-
* @param str - The encoded hex string.
|
|
5
|
-
* @param abiType - The ABI Struct type.
|
|
6
|
-
* @returns An object in the ABI struct type's format.
|
|
7
|
-
*/
|
|
8
|
-
export declare function parseStructString(str: string, abiType: StructType): any;
|
|
9
|
-
/**
|
|
10
|
-
* Tries to encode function args to their equivalent TS type.
|
|
11
|
-
* @param args - An array of function's / constructor's args.
|
|
12
|
-
* @returns The encoded array.
|
|
13
|
-
*/
|
|
14
|
-
export declare function encodeArgs(args: any[], params: ABIParameter[]): any[];
|
|
15
|
-
//# sourceMappingURL=encoding.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../src/utils/encoding.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE3E;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,OAcjE;AA4ED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,SAY7D"}
|
package/dest/utils/github.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../src/utils/github.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,kBAAkB,CAAC;AAC5C,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,eAAO,MAAM,iBAAiB,mBAAmB,CAAC"}
|
package/dest/utils/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
package/dest/utils/inspect.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ContractArtifact, Fr } from '@aztec/aztec.js';
|
|
2
|
-
import type { LogFn } from '@aztec/foundation/log';
|
|
3
|
-
import type { PXE } from '@aztec/stdlib/interfaces/client';
|
|
4
|
-
import type { TxHash } from '@aztec/stdlib/tx';
|
|
5
|
-
export declare function inspectBlock(pxe: PXE, blockNumber: number, log: LogFn, opts?: {
|
|
6
|
-
showTxs?: boolean;
|
|
7
|
-
}): Promise<void>;
|
|
8
|
-
export declare function inspectTx(pxe: PXE, txHash: TxHash, log: LogFn, opts?: {
|
|
9
|
-
includeBlockInfo?: boolean;
|
|
10
|
-
artifactMap?: ArtifactMap;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
type ArtifactMap = Record<string, ContractArtifactWithClassId>;
|
|
13
|
-
type ContractArtifactWithClassId = ContractArtifact & {
|
|
14
|
-
classId: Fr;
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=inspect.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inspect.d.ts","sourceRoot":"","sources":["../../src/utils/inspect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,gBAAgB,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAC;AAE3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,wBAAsB,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,iBA0B7G;AAED,wBAAsB,SAAS,CAC7B,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,KAAK,EACV,IAAI,GAAE;IAAE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,WAAW,CAAA;CAAO,iBAmGrE;AAyCD,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;AAC/D,KAAK,2BAA2B,GAAG,gBAAgB,GAAG;IAAE,OAAO,EAAE,EAAE,CAAA;CAAE,CAAC"}
|