@aztec/stdlib 0.87.7 → 1.0.0-nightly.20250605
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/abi/abi.d.ts +3 -0
- package/dest/abi/abi.d.ts.map +1 -1
- package/dest/abi/abi.js +38 -0
- package/dest/avm/avm.d.ts +1318 -33
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +37 -14
- package/dest/avm/avm_accumulated_data.d.ts +77 -0
- package/dest/avm/avm_accumulated_data.d.ts.map +1 -1
- package/dest/avm/avm_accumulated_data.js +67 -0
- package/dest/avm/avm_circuit_public_inputs.d.ts +103 -10
- package/dest/avm/avm_circuit_public_inputs.d.ts.map +1 -1
- package/dest/avm/avm_circuit_public_inputs.js +25 -10
- package/dest/avm/avm_proving_request.d.ts +648 -0
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/avm/gas.d.ts +7 -0
- package/dest/avm/gas.d.ts.map +1 -0
- package/dest/avm/gas.js +13 -0
- package/dest/avm/index.d.ts +1 -0
- package/dest/avm/index.d.ts.map +1 -1
- package/dest/avm/index.js +1 -0
- package/dest/block/body.d.ts +1 -1
- package/dest/block/body.d.ts.map +1 -1
- package/dest/block/body.js +2 -2
- package/dest/block/index.d.ts +1 -0
- package/dest/block/index.d.ts.map +1 -1
- package/dest/block/index.js +1 -0
- package/dest/block/l2_block.d.ts +3 -2
- package/dest/block/l2_block.d.ts.map +1 -1
- package/dest/block/l2_block.js +10 -5
- package/dest/block/l2_block_source.d.ts +9 -4
- package/dest/block/l2_block_source.d.ts.map +1 -1
- package/dest/block/l2_block_source.js +1 -0
- package/dest/block/proposal/committee_attestation.d.ts +34 -0
- package/dest/block/proposal/committee_attestation.d.ts.map +1 -0
- package/dest/block/proposal/committee_attestation.js +59 -0
- package/dest/block/proposal/index.d.ts +2 -0
- package/dest/block/proposal/index.d.ts.map +1 -0
- package/dest/block/proposal/index.js +1 -0
- package/dest/block/published_l2_block.d.ts +99 -69
- package/dest/block/published_l2_block.d.ts.map +1 -1
- package/dest/block/published_l2_block.js +38 -12
- package/dest/block/test/l2_tips_store_test_suite.js +1 -1
- package/dest/fees/transaction_fee.d.ts +5 -0
- package/dest/fees/transaction_fee.d.ts.map +1 -1
- package/dest/fees/transaction_fee.js +10 -3
- package/dest/interfaces/archiver.js +2 -2
- package/dest/interfaces/aztec-node.d.ts +3 -8
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +3 -6
- package/dest/interfaces/block-builder.d.ts +41 -2
- package/dest/interfaces/block-builder.d.ts.map +1 -1
- package/dest/interfaces/block-builder.js +1 -1
- package/dest/interfaces/epoch-prover.d.ts +2 -2
- package/dest/interfaces/epoch-prover.d.ts.map +1 -1
- package/dest/interfaces/merkle_tree_operations.d.ts +14 -0
- package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
- package/dest/interfaces/p2p.d.ts +6 -3
- package/dest/interfaces/p2p.d.ts.map +1 -1
- package/dest/interfaces/p2p.js +1 -2
- package/dest/interfaces/proving-job.d.ts +652 -4
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/proving-job.js +2 -2
- package/dest/interfaces/server_circuit_prover.d.ts +3 -2
- package/dest/interfaces/server_circuit_prover.d.ts.map +1 -1
- package/dest/kernel/hints/find_private_kernel_reset_dimensions.js +1 -1
- package/dest/kernel/hints/key_validation_hint.d.ts +2 -6
- package/dest/kernel/hints/key_validation_hint.d.ts.map +1 -1
- package/dest/kernel/hints/key_validation_hint.js +5 -7
- package/dest/kernel/hints/private_kernel_reset_hints.d.ts +7 -7
- package/dest/kernel/hints/private_kernel_reset_hints.d.ts.map +1 -1
- package/dest/kernel/hints/private_kernel_reset_hints.js +8 -4
- package/dest/kernel/hints/read_request_hints.d.ts +8 -8
- package/dest/kernel/hints/read_request_hints.d.ts.map +1 -1
- package/dest/kernel/index.d.ts +1 -0
- package/dest/kernel/index.d.ts.map +1 -1
- package/dest/kernel/index.js +1 -0
- package/dest/kernel/padded_side_effects.d.ts +26 -0
- package/dest/kernel/padded_side_effects.d.ts.map +1 -0
- package/dest/kernel/padded_side_effects.js +51 -0
- package/dest/kernel/private_kernel_data.d.ts +6 -25
- package/dest/kernel/private_kernel_data.d.ts.map +1 -1
- package/dest/kernel/private_kernel_data.js +8 -19
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts +7 -4
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.js +10 -6
- package/dest/kernel/private_kernel_reset_dimensions.d.ts +10 -10
- package/dest/kernel/private_kernel_reset_dimensions.d.ts.map +1 -1
- package/dest/kernel/private_kernel_reset_dimensions.js +29 -29
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts +10 -1
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.js +8 -3
- package/dest/kernel/private_to_avm_accumulated_data.d.ts +1 -0
- package/dest/kernel/private_to_avm_accumulated_data.d.ts.map +1 -1
- package/dest/kernel/private_to_avm_accumulated_data.js +4 -0
- package/dest/kernel/public_call_request.d.ts +54 -0
- package/dest/kernel/public_call_request.d.ts.map +1 -1
- package/dest/kernel/public_call_request.js +58 -0
- package/dest/logs/contract_class_log.d.ts +0 -4
- package/dest/logs/contract_class_log.d.ts.map +1 -1
- package/dest/logs/contract_class_log.js +0 -33
- package/dest/logs/log_with_tx_data.d.ts +13 -3
- package/dest/logs/log_with_tx_data.d.ts.map +1 -1
- package/dest/logs/log_with_tx_data.js +26 -14
- package/dest/logs/private_log.d.ts +1 -0
- package/dest/logs/private_log.d.ts.map +1 -1
- package/dest/logs/private_log.js +3 -0
- package/dest/logs/public_log.d.ts +1 -0
- package/dest/logs/public_log.d.ts.map +1 -1
- package/dest/logs/public_log.js +3 -0
- package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
- package/dest/logs/tx_scoped_l2_log.js +1 -0
- package/dest/messaging/index.d.ts +1 -0
- package/dest/messaging/index.d.ts.map +1 -1
- package/dest/messaging/index.js +1 -0
- package/dest/messaging/l2_to_l1_membership.d.ts +11 -0
- package/dest/messaging/l2_to_l1_membership.d.ts.map +1 -0
- package/dest/messaging/l2_to_l1_membership.js +70 -0
- package/dest/p2p/consensus_payload.d.ts.map +1 -1
- package/dest/rollup/avm_proof_data.d.ts +7 -5
- package/dest/rollup/avm_proof_data.d.ts.map +1 -1
- package/dest/rollup/avm_proof_data.js +12 -4
- package/dest/rollup/base_rollup_hints.d.ts +4 -4
- package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
- package/dest/rollup/base_rollup_hints.js +8 -8
- package/dest/rollup/previous_rollup_block_data.d.ts +6 -15
- package/dest/rollup/previous_rollup_block_data.d.ts.map +1 -1
- package/dest/rollup/previous_rollup_block_data.js +8 -13
- package/dest/rollup/previous_rollup_data.d.ts +6 -15
- package/dest/rollup/previous_rollup_data.d.ts.map +1 -1
- package/dest/rollup/previous_rollup_data.js +8 -13
- package/dest/rollup/private_tube_data.d.ts +3 -3
- package/dest/rollup/private_tube_data.d.ts.map +1 -1
- package/dest/rollup/private_tube_data.js +3 -3
- package/dest/rollup/public_tube_data.d.ts +3 -3
- package/dest/rollup/public_tube_data.d.ts.map +1 -1
- package/dest/rollup/public_tube_data.js +3 -3
- package/dest/rollup/root_rollup.d.ts +9 -10
- package/dest/rollup/root_rollup.d.ts.map +1 -1
- package/dest/rollup/root_rollup.js +9 -20
- package/dest/tests/factories.d.ts +2 -1
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +53 -28
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +4 -3
- package/dest/tx/processed_tx.d.ts.map +1 -1
- package/dest/tx/processed_tx.js +2 -5
- package/dest/tx/tx.d.ts +10 -25
- package/dest/tx/tx.d.ts.map +1 -1
- package/dest/tx/tx.js +25 -50
- package/dest/tx/tx_effect.d.ts +1 -1
- package/dest/tx/tx_effect.d.ts.map +1 -1
- package/dest/tx/tx_effect.js +2 -2
- package/dest/tx/tx_hash.d.ts +1 -0
- package/dest/tx/tx_hash.d.ts.map +1 -1
- package/dest/tx/tx_hash.js +3 -0
- package/dest/validators/types.d.ts +4 -0
- package/dest/validators/types.d.ts.map +1 -1
- package/dest/vks/index.d.ts +1 -1
- package/dest/vks/index.d.ts.map +1 -1
- package/dest/vks/index.js +1 -1
- package/dest/vks/{vk_witness_data.d.ts → vk_data.d.ts} +8 -8
- package/dest/vks/vk_data.d.ts.map +1 -0
- package/dest/vks/{vk_witness_data.js → vk_data.js} +10 -10
- package/package.json +7 -7
- package/src/abi/abi.ts +37 -0
- package/src/avm/avm.ts +37 -4
- package/src/avm/avm_accumulated_data.ts +93 -0
- package/src/avm/avm_circuit_public_inputs.ts +33 -3
- package/src/avm/gas.ts +26 -0
- package/src/avm/index.ts +1 -0
- package/src/block/body.ts +7 -2
- package/src/block/index.ts +1 -0
- package/src/block/l2_block.ts +8 -3
- package/src/block/l2_block_source.ts +9 -3
- package/src/block/proposal/committee_attestation.ts +70 -0
- package/src/block/proposal/index.ts +1 -0
- package/src/block/published_l2_block.ts +38 -24
- package/src/block/test/l2_tips_store_test_suite.ts +1 -1
- package/src/fees/transaction_fee.ts +12 -3
- package/src/interfaces/archiver.ts +2 -2
- package/src/interfaces/aztec-node.ts +8 -16
- package/src/interfaces/block-builder.ts +49 -2
- package/src/interfaces/epoch-prover.ts +2 -2
- package/src/interfaces/merkle_tree_operations.ts +20 -0
- package/src/interfaces/p2p.ts +9 -4
- package/src/interfaces/proving-job.ts +3 -3
- package/src/interfaces/server_circuit_prover.ts +3 -2
- package/src/kernel/hints/find_private_kernel_reset_dimensions.ts +3 -3
- package/src/kernel/hints/key_validation_hint.ts +4 -6
- package/src/kernel/hints/private_kernel_reset_hints.ts +34 -43
- package/src/kernel/hints/read_request_hints.ts +27 -15
- package/src/kernel/index.ts +1 -0
- package/src/kernel/padded_side_effects.ts +73 -0
- package/src/kernel/private_kernel_data.ts +7 -29
- package/src/kernel/private_kernel_reset_circuit_private_inputs.ts +16 -13
- package/src/kernel/private_kernel_reset_dimensions.ts +27 -27
- package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +10 -2
- package/src/kernel/private_to_avm_accumulated_data.ts +9 -0
- package/src/kernel/public_call_request.ts +66 -0
- package/src/logs/contract_class_log.ts +0 -36
- package/src/logs/log_with_tx_data.ts +26 -12
- package/src/logs/private_log.ts +4 -0
- package/src/logs/public_log.ts +4 -0
- package/src/logs/tx_scoped_l2_log.ts +1 -0
- package/src/messaging/index.ts +1 -0
- package/src/messaging/l2_to_l1_membership.ts +113 -0
- package/src/p2p/consensus_payload.ts +3 -1
- package/src/rollup/avm_proof_data.ts +14 -7
- package/src/rollup/base_rollup_hints.ts +4 -4
- package/src/rollup/previous_rollup_block_data.ts +6 -12
- package/src/rollup/previous_rollup_data.ts +6 -12
- package/src/rollup/private_tube_data.ts +4 -4
- package/src/rollup/public_tube_data.ts +4 -4
- package/src/rollup/root_rollup.ts +6 -19
- package/src/tests/factories.ts +82 -43
- package/src/tests/mocks.ts +6 -3
- package/src/tx/processed_tx.ts +4 -5
- package/src/tx/tx.ts +28 -54
- package/src/tx/tx_effect.ts +23 -5
- package/src/tx/tx_hash.ts +4 -0
- package/src/validators/types.ts +2 -0
- package/src/vks/index.ts +1 -1
- package/src/vks/{vk_witness_data.ts → vk_data.ts} +6 -6
- package/dest/vks/vk_witness_data.d.ts.map +0 -1
package/dest/avm/avm.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { Fr } from '@aztec/foundation/fields';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { AztecAddress } from '../aztec-address/index.js';
|
|
4
|
+
import { Gas } from '../gas/gas.js';
|
|
5
|
+
import { GasFees } from '../gas/gas_fees.js';
|
|
6
|
+
import { GasSettings } from '../gas/gas_settings.js';
|
|
4
7
|
import { PublicKeys } from '../keys/public_keys.js';
|
|
8
|
+
import { ScopedL2ToL1Message } from '../messaging/l2_to_l1_message.js';
|
|
5
9
|
import { AppendOnlyTreeSnapshot } from '../trees/append_only_tree_snapshot.js';
|
|
6
10
|
import { MerkleTreeId } from '../trees/merkle_tree_id.js';
|
|
7
11
|
import { NullifierLeafPreimage } from '../trees/nullifier_leaf.js';
|
|
@@ -1746,24 +1750,31 @@ export declare class AvmEnqueuedCallHint {
|
|
|
1746
1750
|
export declare class AvmTxHint {
|
|
1747
1751
|
readonly hash: string;
|
|
1748
1752
|
readonly globalVariables: GlobalVariables;
|
|
1753
|
+
readonly gasSettings: GasSettings;
|
|
1754
|
+
readonly effectiveGasFees: GasFees;
|
|
1749
1755
|
readonly nonRevertibleAccumulatedData: {
|
|
1750
1756
|
noteHashes: Fr[];
|
|
1751
1757
|
nullifiers: Fr[];
|
|
1758
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
1752
1759
|
};
|
|
1753
1760
|
readonly revertibleAccumulatedData: {
|
|
1754
1761
|
noteHashes: Fr[];
|
|
1755
1762
|
nullifiers: Fr[];
|
|
1763
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
1756
1764
|
};
|
|
1757
1765
|
readonly setupEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
1758
1766
|
readonly appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
1759
1767
|
readonly teardownEnqueuedCall: AvmEnqueuedCallHint | null;
|
|
1760
|
-
|
|
1768
|
+
readonly gasUsedByPrivate: Gas;
|
|
1769
|
+
constructor(hash: string, globalVariables: GlobalVariables, gasSettings: GasSettings, effectiveGasFees: GasFees, nonRevertibleAccumulatedData: {
|
|
1761
1770
|
noteHashes: Fr[];
|
|
1762
1771
|
nullifiers: Fr[];
|
|
1772
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
1763
1773
|
}, revertibleAccumulatedData: {
|
|
1764
1774
|
noteHashes: Fr[];
|
|
1765
1775
|
nullifiers: Fr[];
|
|
1766
|
-
|
|
1776
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
1777
|
+
}, setupEnqueuedCalls: AvmEnqueuedCallHint[], appLogicEnqueuedCalls: AvmEnqueuedCallHint[], teardownEnqueuedCall: AvmEnqueuedCallHint | null, gasUsedByPrivate: Gas);
|
|
1767
1778
|
static fromTx(tx: Tx): Promise<AvmTxHint>;
|
|
1768
1779
|
static empty(): AvmTxHint;
|
|
1769
1780
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
@@ -1785,7 +1796,7 @@ export declare class AvmTxHint {
|
|
|
1785
1796
|
}, {
|
|
1786
1797
|
feePerDaGas: string;
|
|
1787
1798
|
feePerL2Gas: string;
|
|
1788
|
-
}>,
|
|
1799
|
+
}>, GasFees, {
|
|
1789
1800
|
feePerDaGas: string;
|
|
1790
1801
|
feePerL2Gas: string;
|
|
1791
1802
|
}>;
|
|
@@ -1797,7 +1808,7 @@ export declare class AvmTxHint {
|
|
|
1797
1808
|
timestamp: Fr;
|
|
1798
1809
|
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
1799
1810
|
feeRecipient: AztecAddress;
|
|
1800
|
-
gasFees:
|
|
1811
|
+
gasFees: GasFees;
|
|
1801
1812
|
}, {
|
|
1802
1813
|
gasFees: {
|
|
1803
1814
|
feePerDaGas: string;
|
|
@@ -1823,25 +1834,223 @@ export declare class AvmTxHint {
|
|
|
1823
1834
|
coinbase?: any;
|
|
1824
1835
|
feeRecipient?: any;
|
|
1825
1836
|
}>;
|
|
1837
|
+
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
1838
|
+
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
1839
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1840
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1841
|
+
}, "strip", z.ZodTypeAny, {
|
|
1842
|
+
daGas: number;
|
|
1843
|
+
l2Gas: number;
|
|
1844
|
+
}, {
|
|
1845
|
+
daGas: string | number | bigint;
|
|
1846
|
+
l2Gas: string | number | bigint;
|
|
1847
|
+
}>, Gas, {
|
|
1848
|
+
daGas: string | number | bigint;
|
|
1849
|
+
l2Gas: string | number | bigint;
|
|
1850
|
+
}>;
|
|
1851
|
+
teardownGasLimits: z.ZodEffects<z.ZodObject<{
|
|
1852
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1853
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1854
|
+
}, "strip", z.ZodTypeAny, {
|
|
1855
|
+
daGas: number;
|
|
1856
|
+
l2Gas: number;
|
|
1857
|
+
}, {
|
|
1858
|
+
daGas: string | number | bigint;
|
|
1859
|
+
l2Gas: string | number | bigint;
|
|
1860
|
+
}>, Gas, {
|
|
1861
|
+
daGas: string | number | bigint;
|
|
1862
|
+
l2Gas: string | number | bigint;
|
|
1863
|
+
}>;
|
|
1864
|
+
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
1865
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
1866
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
1867
|
+
}, "strip", z.ZodTypeAny, {
|
|
1868
|
+
feePerDaGas: Fr;
|
|
1869
|
+
feePerL2Gas: Fr;
|
|
1870
|
+
}, {
|
|
1871
|
+
feePerDaGas: string;
|
|
1872
|
+
feePerL2Gas: string;
|
|
1873
|
+
}>, GasFees, {
|
|
1874
|
+
feePerDaGas: string;
|
|
1875
|
+
feePerL2Gas: string;
|
|
1876
|
+
}>;
|
|
1877
|
+
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
1878
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
1879
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
1880
|
+
}, "strip", z.ZodTypeAny, {
|
|
1881
|
+
feePerDaGas: Fr;
|
|
1882
|
+
feePerL2Gas: Fr;
|
|
1883
|
+
}, {
|
|
1884
|
+
feePerDaGas: string;
|
|
1885
|
+
feePerL2Gas: string;
|
|
1886
|
+
}>, GasFees, {
|
|
1887
|
+
feePerDaGas: string;
|
|
1888
|
+
feePerL2Gas: string;
|
|
1889
|
+
}>;
|
|
1890
|
+
}, "strip", z.ZodTypeAny, {
|
|
1891
|
+
gasLimits: Gas;
|
|
1892
|
+
teardownGasLimits: Gas;
|
|
1893
|
+
maxFeesPerGas: GasFees;
|
|
1894
|
+
maxPriorityFeesPerGas: GasFees;
|
|
1895
|
+
}, {
|
|
1896
|
+
gasLimits: {
|
|
1897
|
+
daGas: string | number | bigint;
|
|
1898
|
+
l2Gas: string | number | bigint;
|
|
1899
|
+
};
|
|
1900
|
+
teardownGasLimits: {
|
|
1901
|
+
daGas: string | number | bigint;
|
|
1902
|
+
l2Gas: string | number | bigint;
|
|
1903
|
+
};
|
|
1904
|
+
maxFeesPerGas: {
|
|
1905
|
+
feePerDaGas: string;
|
|
1906
|
+
feePerL2Gas: string;
|
|
1907
|
+
};
|
|
1908
|
+
maxPriorityFeesPerGas: {
|
|
1909
|
+
feePerDaGas: string;
|
|
1910
|
+
feePerL2Gas: string;
|
|
1911
|
+
};
|
|
1912
|
+
}>, GasSettings, {
|
|
1913
|
+
gasLimits: {
|
|
1914
|
+
daGas: string | number | bigint;
|
|
1915
|
+
l2Gas: string | number | bigint;
|
|
1916
|
+
};
|
|
1917
|
+
teardownGasLimits: {
|
|
1918
|
+
daGas: string | number | bigint;
|
|
1919
|
+
l2Gas: string | number | bigint;
|
|
1920
|
+
};
|
|
1921
|
+
maxFeesPerGas: {
|
|
1922
|
+
feePerDaGas: string;
|
|
1923
|
+
feePerL2Gas: string;
|
|
1924
|
+
};
|
|
1925
|
+
maxPriorityFeesPerGas: {
|
|
1926
|
+
feePerDaGas: string;
|
|
1927
|
+
feePerL2Gas: string;
|
|
1928
|
+
};
|
|
1929
|
+
}>;
|
|
1930
|
+
effectiveGasFees: z.ZodEffects<z.ZodObject<{
|
|
1931
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
1932
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
1933
|
+
}, "strip", z.ZodTypeAny, {
|
|
1934
|
+
feePerDaGas: Fr;
|
|
1935
|
+
feePerL2Gas: Fr;
|
|
1936
|
+
}, {
|
|
1937
|
+
feePerDaGas: string;
|
|
1938
|
+
feePerL2Gas: string;
|
|
1939
|
+
}>, GasFees, {
|
|
1940
|
+
feePerDaGas: string;
|
|
1941
|
+
feePerL2Gas: string;
|
|
1942
|
+
}>;
|
|
1826
1943
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
1827
1944
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1828
1945
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1946
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1947
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
1948
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
1949
|
+
content: z.ZodType<Fr, any, string>;
|
|
1950
|
+
counter: z.ZodNumber;
|
|
1951
|
+
}, "strip", z.ZodTypeAny, {
|
|
1952
|
+
counter: number;
|
|
1953
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
1954
|
+
content: Fr;
|
|
1955
|
+
}, {
|
|
1956
|
+
counter: number;
|
|
1957
|
+
recipient: string;
|
|
1958
|
+
content: string;
|
|
1959
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
1960
|
+
counter: number;
|
|
1961
|
+
recipient: string;
|
|
1962
|
+
content: string;
|
|
1963
|
+
}>;
|
|
1964
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1965
|
+
}, "strip", z.ZodTypeAny, {
|
|
1966
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
1967
|
+
contractAddress: AztecAddress;
|
|
1968
|
+
}, {
|
|
1969
|
+
message: {
|
|
1970
|
+
counter: number;
|
|
1971
|
+
recipient: string;
|
|
1972
|
+
content: string;
|
|
1973
|
+
};
|
|
1974
|
+
contractAddress?: any;
|
|
1975
|
+
}>, ScopedL2ToL1Message, {
|
|
1976
|
+
message: {
|
|
1977
|
+
counter: number;
|
|
1978
|
+
recipient: string;
|
|
1979
|
+
content: string;
|
|
1980
|
+
};
|
|
1981
|
+
contractAddress?: any;
|
|
1982
|
+
}>, "many">;
|
|
1829
1983
|
}, "strip", z.ZodTypeAny, {
|
|
1830
1984
|
noteHashes: Fr[];
|
|
1831
1985
|
nullifiers: Fr[];
|
|
1986
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
1832
1987
|
}, {
|
|
1833
1988
|
noteHashes: string[];
|
|
1834
1989
|
nullifiers: string[];
|
|
1990
|
+
l2ToL1Messages: {
|
|
1991
|
+
message: {
|
|
1992
|
+
counter: number;
|
|
1993
|
+
recipient: string;
|
|
1994
|
+
content: string;
|
|
1995
|
+
};
|
|
1996
|
+
contractAddress?: any;
|
|
1997
|
+
}[];
|
|
1835
1998
|
}>;
|
|
1836
1999
|
revertibleAccumulatedData: z.ZodObject<{
|
|
1837
2000
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1838
2001
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2002
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2003
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
2004
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
2005
|
+
content: z.ZodType<Fr, any, string>;
|
|
2006
|
+
counter: z.ZodNumber;
|
|
2007
|
+
}, "strip", z.ZodTypeAny, {
|
|
2008
|
+
counter: number;
|
|
2009
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
2010
|
+
content: Fr;
|
|
2011
|
+
}, {
|
|
2012
|
+
counter: number;
|
|
2013
|
+
recipient: string;
|
|
2014
|
+
content: string;
|
|
2015
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
2016
|
+
counter: number;
|
|
2017
|
+
recipient: string;
|
|
2018
|
+
content: string;
|
|
2019
|
+
}>;
|
|
2020
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2021
|
+
}, "strip", z.ZodTypeAny, {
|
|
2022
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
2023
|
+
contractAddress: AztecAddress;
|
|
2024
|
+
}, {
|
|
2025
|
+
message: {
|
|
2026
|
+
counter: number;
|
|
2027
|
+
recipient: string;
|
|
2028
|
+
content: string;
|
|
2029
|
+
};
|
|
2030
|
+
contractAddress?: any;
|
|
2031
|
+
}>, ScopedL2ToL1Message, {
|
|
2032
|
+
message: {
|
|
2033
|
+
counter: number;
|
|
2034
|
+
recipient: string;
|
|
2035
|
+
content: string;
|
|
2036
|
+
};
|
|
2037
|
+
contractAddress?: any;
|
|
2038
|
+
}>, "many">;
|
|
1839
2039
|
}, "strip", z.ZodTypeAny, {
|
|
1840
2040
|
noteHashes: Fr[];
|
|
1841
2041
|
nullifiers: Fr[];
|
|
2042
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
1842
2043
|
}, {
|
|
1843
2044
|
noteHashes: string[];
|
|
1844
2045
|
nullifiers: string[];
|
|
2046
|
+
l2ToL1Messages: {
|
|
2047
|
+
message: {
|
|
2048
|
+
counter: number;
|
|
2049
|
+
recipient: string;
|
|
2050
|
+
content: string;
|
|
2051
|
+
};
|
|
2052
|
+
contractAddress?: any;
|
|
2053
|
+
}[];
|
|
1845
2054
|
}>;
|
|
1846
2055
|
setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1847
2056
|
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -1906,20 +2115,38 @@ export declare class AvmTxHint {
|
|
|
1906
2115
|
contractAddress?: any;
|
|
1907
2116
|
msgSender?: any;
|
|
1908
2117
|
}>>;
|
|
2118
|
+
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
2119
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2120
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2121
|
+
}, "strip", z.ZodTypeAny, {
|
|
2122
|
+
daGas: number;
|
|
2123
|
+
l2Gas: number;
|
|
2124
|
+
}, {
|
|
2125
|
+
daGas: string | number | bigint;
|
|
2126
|
+
l2Gas: string | number | bigint;
|
|
2127
|
+
}>, Gas, {
|
|
2128
|
+
daGas: string | number | bigint;
|
|
2129
|
+
l2Gas: string | number | bigint;
|
|
2130
|
+
}>;
|
|
1909
2131
|
}, "strip", z.ZodTypeAny, {
|
|
1910
2132
|
hash: string;
|
|
1911
2133
|
globalVariables: GlobalVariables;
|
|
2134
|
+
gasSettings: GasSettings;
|
|
1912
2135
|
nonRevertibleAccumulatedData: {
|
|
1913
2136
|
noteHashes: Fr[];
|
|
1914
2137
|
nullifiers: Fr[];
|
|
2138
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
1915
2139
|
};
|
|
1916
2140
|
revertibleAccumulatedData: {
|
|
1917
2141
|
noteHashes: Fr[];
|
|
1918
2142
|
nullifiers: Fr[];
|
|
2143
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
1919
2144
|
};
|
|
2145
|
+
effectiveGasFees: GasFees;
|
|
1920
2146
|
setupEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
1921
2147
|
appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
1922
2148
|
teardownEnqueuedCall: AvmEnqueuedCallHint | null;
|
|
2149
|
+
gasUsedByPrivate: Gas;
|
|
1923
2150
|
}, {
|
|
1924
2151
|
hash: string;
|
|
1925
2152
|
globalVariables: {
|
|
@@ -1935,13 +2162,51 @@ export declare class AvmTxHint {
|
|
|
1935
2162
|
coinbase?: any;
|
|
1936
2163
|
feeRecipient?: any;
|
|
1937
2164
|
};
|
|
2165
|
+
gasSettings: {
|
|
2166
|
+
gasLimits: {
|
|
2167
|
+
daGas: string | number | bigint;
|
|
2168
|
+
l2Gas: string | number | bigint;
|
|
2169
|
+
};
|
|
2170
|
+
teardownGasLimits: {
|
|
2171
|
+
daGas: string | number | bigint;
|
|
2172
|
+
l2Gas: string | number | bigint;
|
|
2173
|
+
};
|
|
2174
|
+
maxFeesPerGas: {
|
|
2175
|
+
feePerDaGas: string;
|
|
2176
|
+
feePerL2Gas: string;
|
|
2177
|
+
};
|
|
2178
|
+
maxPriorityFeesPerGas: {
|
|
2179
|
+
feePerDaGas: string;
|
|
2180
|
+
feePerL2Gas: string;
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
1938
2183
|
nonRevertibleAccumulatedData: {
|
|
1939
2184
|
noteHashes: string[];
|
|
1940
2185
|
nullifiers: string[];
|
|
2186
|
+
l2ToL1Messages: {
|
|
2187
|
+
message: {
|
|
2188
|
+
counter: number;
|
|
2189
|
+
recipient: string;
|
|
2190
|
+
content: string;
|
|
2191
|
+
};
|
|
2192
|
+
contractAddress?: any;
|
|
2193
|
+
}[];
|
|
1941
2194
|
};
|
|
1942
2195
|
revertibleAccumulatedData: {
|
|
1943
2196
|
noteHashes: string[];
|
|
1944
2197
|
nullifiers: string[];
|
|
2198
|
+
l2ToL1Messages: {
|
|
2199
|
+
message: {
|
|
2200
|
+
counter: number;
|
|
2201
|
+
recipient: string;
|
|
2202
|
+
content: string;
|
|
2203
|
+
};
|
|
2204
|
+
contractAddress?: any;
|
|
2205
|
+
}[];
|
|
2206
|
+
};
|
|
2207
|
+
effectiveGasFees: {
|
|
2208
|
+
feePerDaGas: string;
|
|
2209
|
+
feePerL2Gas: string;
|
|
1945
2210
|
};
|
|
1946
2211
|
setupEnqueuedCalls: {
|
|
1947
2212
|
isStaticCall: boolean;
|
|
@@ -1961,6 +2226,10 @@ export declare class AvmTxHint {
|
|
|
1961
2226
|
contractAddress?: any;
|
|
1962
2227
|
msgSender?: any;
|
|
1963
2228
|
} | null;
|
|
2229
|
+
gasUsedByPrivate: {
|
|
2230
|
+
daGas: string | number | bigint;
|
|
2231
|
+
l2Gas: string | number | bigint;
|
|
2232
|
+
};
|
|
1964
2233
|
}>, AvmTxHint, {
|
|
1965
2234
|
hash: string;
|
|
1966
2235
|
globalVariables: {
|
|
@@ -1976,13 +2245,51 @@ export declare class AvmTxHint {
|
|
|
1976
2245
|
coinbase?: any;
|
|
1977
2246
|
feeRecipient?: any;
|
|
1978
2247
|
};
|
|
2248
|
+
gasSettings: {
|
|
2249
|
+
gasLimits: {
|
|
2250
|
+
daGas: string | number | bigint;
|
|
2251
|
+
l2Gas: string | number | bigint;
|
|
2252
|
+
};
|
|
2253
|
+
teardownGasLimits: {
|
|
2254
|
+
daGas: string | number | bigint;
|
|
2255
|
+
l2Gas: string | number | bigint;
|
|
2256
|
+
};
|
|
2257
|
+
maxFeesPerGas: {
|
|
2258
|
+
feePerDaGas: string;
|
|
2259
|
+
feePerL2Gas: string;
|
|
2260
|
+
};
|
|
2261
|
+
maxPriorityFeesPerGas: {
|
|
2262
|
+
feePerDaGas: string;
|
|
2263
|
+
feePerL2Gas: string;
|
|
2264
|
+
};
|
|
2265
|
+
};
|
|
1979
2266
|
nonRevertibleAccumulatedData: {
|
|
1980
2267
|
noteHashes: string[];
|
|
1981
2268
|
nullifiers: string[];
|
|
2269
|
+
l2ToL1Messages: {
|
|
2270
|
+
message: {
|
|
2271
|
+
counter: number;
|
|
2272
|
+
recipient: string;
|
|
2273
|
+
content: string;
|
|
2274
|
+
};
|
|
2275
|
+
contractAddress?: any;
|
|
2276
|
+
}[];
|
|
1982
2277
|
};
|
|
1983
2278
|
revertibleAccumulatedData: {
|
|
1984
2279
|
noteHashes: string[];
|
|
1985
2280
|
nullifiers: string[];
|
|
2281
|
+
l2ToL1Messages: {
|
|
2282
|
+
message: {
|
|
2283
|
+
counter: number;
|
|
2284
|
+
recipient: string;
|
|
2285
|
+
content: string;
|
|
2286
|
+
};
|
|
2287
|
+
contractAddress?: any;
|
|
2288
|
+
}[];
|
|
2289
|
+
};
|
|
2290
|
+
effectiveGasFees: {
|
|
2291
|
+
feePerDaGas: string;
|
|
2292
|
+
feePerL2Gas: string;
|
|
1986
2293
|
};
|
|
1987
2294
|
setupEnqueuedCalls: {
|
|
1988
2295
|
isStaticCall: boolean;
|
|
@@ -2002,6 +2309,10 @@ export declare class AvmTxHint {
|
|
|
2002
2309
|
contractAddress?: any;
|
|
2003
2310
|
msgSender?: any;
|
|
2004
2311
|
} | null;
|
|
2312
|
+
gasUsedByPrivate: {
|
|
2313
|
+
daGas: string | number | bigint;
|
|
2314
|
+
l2Gas: string | number | bigint;
|
|
2315
|
+
};
|
|
2005
2316
|
}>;
|
|
2006
2317
|
}
|
|
2007
2318
|
export declare class AvmExecutionHints {
|
|
@@ -2043,7 +2354,7 @@ export declare class AvmExecutionHints {
|
|
|
2043
2354
|
}, {
|
|
2044
2355
|
feePerDaGas: string;
|
|
2045
2356
|
feePerL2Gas: string;
|
|
2046
|
-
}>,
|
|
2357
|
+
}>, GasFees, {
|
|
2047
2358
|
feePerDaGas: string;
|
|
2048
2359
|
feePerL2Gas: string;
|
|
2049
2360
|
}>;
|
|
@@ -2055,7 +2366,7 @@ export declare class AvmExecutionHints {
|
|
|
2055
2366
|
timestamp: Fr;
|
|
2056
2367
|
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
2057
2368
|
feeRecipient: AztecAddress;
|
|
2058
|
-
gasFees:
|
|
2369
|
+
gasFees: GasFees;
|
|
2059
2370
|
}, {
|
|
2060
2371
|
gasFees: {
|
|
2061
2372
|
feePerDaGas: string;
|
|
@@ -2081,25 +2392,223 @@ export declare class AvmExecutionHints {
|
|
|
2081
2392
|
coinbase?: any;
|
|
2082
2393
|
feeRecipient?: any;
|
|
2083
2394
|
}>;
|
|
2395
|
+
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
2396
|
+
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
2397
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2398
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2399
|
+
}, "strip", z.ZodTypeAny, {
|
|
2400
|
+
daGas: number;
|
|
2401
|
+
l2Gas: number;
|
|
2402
|
+
}, {
|
|
2403
|
+
daGas: string | number | bigint;
|
|
2404
|
+
l2Gas: string | number | bigint;
|
|
2405
|
+
}>, Gas, {
|
|
2406
|
+
daGas: string | number | bigint;
|
|
2407
|
+
l2Gas: string | number | bigint;
|
|
2408
|
+
}>;
|
|
2409
|
+
teardownGasLimits: z.ZodEffects<z.ZodObject<{
|
|
2410
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2411
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2412
|
+
}, "strip", z.ZodTypeAny, {
|
|
2413
|
+
daGas: number;
|
|
2414
|
+
l2Gas: number;
|
|
2415
|
+
}, {
|
|
2416
|
+
daGas: string | number | bigint;
|
|
2417
|
+
l2Gas: string | number | bigint;
|
|
2418
|
+
}>, Gas, {
|
|
2419
|
+
daGas: string | number | bigint;
|
|
2420
|
+
l2Gas: string | number | bigint;
|
|
2421
|
+
}>;
|
|
2422
|
+
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
2423
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
2424
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
2425
|
+
}, "strip", z.ZodTypeAny, {
|
|
2426
|
+
feePerDaGas: Fr;
|
|
2427
|
+
feePerL2Gas: Fr;
|
|
2428
|
+
}, {
|
|
2429
|
+
feePerDaGas: string;
|
|
2430
|
+
feePerL2Gas: string;
|
|
2431
|
+
}>, GasFees, {
|
|
2432
|
+
feePerDaGas: string;
|
|
2433
|
+
feePerL2Gas: string;
|
|
2434
|
+
}>;
|
|
2435
|
+
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
2436
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
2437
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
2438
|
+
}, "strip", z.ZodTypeAny, {
|
|
2439
|
+
feePerDaGas: Fr;
|
|
2440
|
+
feePerL2Gas: Fr;
|
|
2441
|
+
}, {
|
|
2442
|
+
feePerDaGas: string;
|
|
2443
|
+
feePerL2Gas: string;
|
|
2444
|
+
}>, GasFees, {
|
|
2445
|
+
feePerDaGas: string;
|
|
2446
|
+
feePerL2Gas: string;
|
|
2447
|
+
}>;
|
|
2448
|
+
}, "strip", z.ZodTypeAny, {
|
|
2449
|
+
gasLimits: Gas;
|
|
2450
|
+
teardownGasLimits: Gas;
|
|
2451
|
+
maxFeesPerGas: GasFees;
|
|
2452
|
+
maxPriorityFeesPerGas: GasFees;
|
|
2453
|
+
}, {
|
|
2454
|
+
gasLimits: {
|
|
2455
|
+
daGas: string | number | bigint;
|
|
2456
|
+
l2Gas: string | number | bigint;
|
|
2457
|
+
};
|
|
2458
|
+
teardownGasLimits: {
|
|
2459
|
+
daGas: string | number | bigint;
|
|
2460
|
+
l2Gas: string | number | bigint;
|
|
2461
|
+
};
|
|
2462
|
+
maxFeesPerGas: {
|
|
2463
|
+
feePerDaGas: string;
|
|
2464
|
+
feePerL2Gas: string;
|
|
2465
|
+
};
|
|
2466
|
+
maxPriorityFeesPerGas: {
|
|
2467
|
+
feePerDaGas: string;
|
|
2468
|
+
feePerL2Gas: string;
|
|
2469
|
+
};
|
|
2470
|
+
}>, GasSettings, {
|
|
2471
|
+
gasLimits: {
|
|
2472
|
+
daGas: string | number | bigint;
|
|
2473
|
+
l2Gas: string | number | bigint;
|
|
2474
|
+
};
|
|
2475
|
+
teardownGasLimits: {
|
|
2476
|
+
daGas: string | number | bigint;
|
|
2477
|
+
l2Gas: string | number | bigint;
|
|
2478
|
+
};
|
|
2479
|
+
maxFeesPerGas: {
|
|
2480
|
+
feePerDaGas: string;
|
|
2481
|
+
feePerL2Gas: string;
|
|
2482
|
+
};
|
|
2483
|
+
maxPriorityFeesPerGas: {
|
|
2484
|
+
feePerDaGas: string;
|
|
2485
|
+
feePerL2Gas: string;
|
|
2486
|
+
};
|
|
2487
|
+
}>;
|
|
2488
|
+
effectiveGasFees: z.ZodEffects<z.ZodObject<{
|
|
2489
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
2490
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
2491
|
+
}, "strip", z.ZodTypeAny, {
|
|
2492
|
+
feePerDaGas: Fr;
|
|
2493
|
+
feePerL2Gas: Fr;
|
|
2494
|
+
}, {
|
|
2495
|
+
feePerDaGas: string;
|
|
2496
|
+
feePerL2Gas: string;
|
|
2497
|
+
}>, GasFees, {
|
|
2498
|
+
feePerDaGas: string;
|
|
2499
|
+
feePerL2Gas: string;
|
|
2500
|
+
}>;
|
|
2084
2501
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
2085
2502
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2086
2503
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2504
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2505
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
2506
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
2507
|
+
content: z.ZodType<Fr, any, string>;
|
|
2508
|
+
counter: z.ZodNumber;
|
|
2509
|
+
}, "strip", z.ZodTypeAny, {
|
|
2510
|
+
counter: number;
|
|
2511
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
2512
|
+
content: Fr;
|
|
2513
|
+
}, {
|
|
2514
|
+
counter: number;
|
|
2515
|
+
recipient: string;
|
|
2516
|
+
content: string;
|
|
2517
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
2518
|
+
counter: number;
|
|
2519
|
+
recipient: string;
|
|
2520
|
+
content: string;
|
|
2521
|
+
}>;
|
|
2522
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2523
|
+
}, "strip", z.ZodTypeAny, {
|
|
2524
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
2525
|
+
contractAddress: AztecAddress;
|
|
2526
|
+
}, {
|
|
2527
|
+
message: {
|
|
2528
|
+
counter: number;
|
|
2529
|
+
recipient: string;
|
|
2530
|
+
content: string;
|
|
2531
|
+
};
|
|
2532
|
+
contractAddress?: any;
|
|
2533
|
+
}>, ScopedL2ToL1Message, {
|
|
2534
|
+
message: {
|
|
2535
|
+
counter: number;
|
|
2536
|
+
recipient: string;
|
|
2537
|
+
content: string;
|
|
2538
|
+
};
|
|
2539
|
+
contractAddress?: any;
|
|
2540
|
+
}>, "many">;
|
|
2087
2541
|
}, "strip", z.ZodTypeAny, {
|
|
2088
2542
|
noteHashes: Fr[];
|
|
2089
2543
|
nullifiers: Fr[];
|
|
2544
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
2090
2545
|
}, {
|
|
2091
2546
|
noteHashes: string[];
|
|
2092
2547
|
nullifiers: string[];
|
|
2548
|
+
l2ToL1Messages: {
|
|
2549
|
+
message: {
|
|
2550
|
+
counter: number;
|
|
2551
|
+
recipient: string;
|
|
2552
|
+
content: string;
|
|
2553
|
+
};
|
|
2554
|
+
contractAddress?: any;
|
|
2555
|
+
}[];
|
|
2093
2556
|
}>;
|
|
2094
2557
|
revertibleAccumulatedData: z.ZodObject<{
|
|
2095
2558
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2096
2559
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2560
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2561
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
2562
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
2563
|
+
content: z.ZodType<Fr, any, string>;
|
|
2564
|
+
counter: z.ZodNumber;
|
|
2565
|
+
}, "strip", z.ZodTypeAny, {
|
|
2566
|
+
counter: number;
|
|
2567
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
2568
|
+
content: Fr;
|
|
2569
|
+
}, {
|
|
2570
|
+
counter: number;
|
|
2571
|
+
recipient: string;
|
|
2572
|
+
content: string;
|
|
2573
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
2574
|
+
counter: number;
|
|
2575
|
+
recipient: string;
|
|
2576
|
+
content: string;
|
|
2577
|
+
}>;
|
|
2578
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2579
|
+
}, "strip", z.ZodTypeAny, {
|
|
2580
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
2581
|
+
contractAddress: AztecAddress;
|
|
2582
|
+
}, {
|
|
2583
|
+
message: {
|
|
2584
|
+
counter: number;
|
|
2585
|
+
recipient: string;
|
|
2586
|
+
content: string;
|
|
2587
|
+
};
|
|
2588
|
+
contractAddress?: any;
|
|
2589
|
+
}>, ScopedL2ToL1Message, {
|
|
2590
|
+
message: {
|
|
2591
|
+
counter: number;
|
|
2592
|
+
recipient: string;
|
|
2593
|
+
content: string;
|
|
2594
|
+
};
|
|
2595
|
+
contractAddress?: any;
|
|
2596
|
+
}>, "many">;
|
|
2097
2597
|
}, "strip", z.ZodTypeAny, {
|
|
2098
2598
|
noteHashes: Fr[];
|
|
2099
2599
|
nullifiers: Fr[];
|
|
2600
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
2100
2601
|
}, {
|
|
2101
2602
|
noteHashes: string[];
|
|
2102
2603
|
nullifiers: string[];
|
|
2604
|
+
l2ToL1Messages: {
|
|
2605
|
+
message: {
|
|
2606
|
+
counter: number;
|
|
2607
|
+
recipient: string;
|
|
2608
|
+
content: string;
|
|
2609
|
+
};
|
|
2610
|
+
contractAddress?: any;
|
|
2611
|
+
}[];
|
|
2103
2612
|
}>;
|
|
2104
2613
|
setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2105
2614
|
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -2164,20 +2673,38 @@ export declare class AvmExecutionHints {
|
|
|
2164
2673
|
contractAddress?: any;
|
|
2165
2674
|
msgSender?: any;
|
|
2166
2675
|
}>>;
|
|
2676
|
+
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
2677
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2678
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2679
|
+
}, "strip", z.ZodTypeAny, {
|
|
2680
|
+
daGas: number;
|
|
2681
|
+
l2Gas: number;
|
|
2682
|
+
}, {
|
|
2683
|
+
daGas: string | number | bigint;
|
|
2684
|
+
l2Gas: string | number | bigint;
|
|
2685
|
+
}>, Gas, {
|
|
2686
|
+
daGas: string | number | bigint;
|
|
2687
|
+
l2Gas: string | number | bigint;
|
|
2688
|
+
}>;
|
|
2167
2689
|
}, "strip", z.ZodTypeAny, {
|
|
2168
2690
|
hash: string;
|
|
2169
2691
|
globalVariables: GlobalVariables;
|
|
2692
|
+
gasSettings: GasSettings;
|
|
2170
2693
|
nonRevertibleAccumulatedData: {
|
|
2171
2694
|
noteHashes: Fr[];
|
|
2172
2695
|
nullifiers: Fr[];
|
|
2696
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
2173
2697
|
};
|
|
2174
2698
|
revertibleAccumulatedData: {
|
|
2175
2699
|
noteHashes: Fr[];
|
|
2176
2700
|
nullifiers: Fr[];
|
|
2701
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
2177
2702
|
};
|
|
2703
|
+
effectiveGasFees: GasFees;
|
|
2178
2704
|
setupEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
2179
2705
|
appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
2180
2706
|
teardownEnqueuedCall: AvmEnqueuedCallHint | null;
|
|
2707
|
+
gasUsedByPrivate: Gas;
|
|
2181
2708
|
}, {
|
|
2182
2709
|
hash: string;
|
|
2183
2710
|
globalVariables: {
|
|
@@ -2193,13 +2720,51 @@ export declare class AvmExecutionHints {
|
|
|
2193
2720
|
coinbase?: any;
|
|
2194
2721
|
feeRecipient?: any;
|
|
2195
2722
|
};
|
|
2723
|
+
gasSettings: {
|
|
2724
|
+
gasLimits: {
|
|
2725
|
+
daGas: string | number | bigint;
|
|
2726
|
+
l2Gas: string | number | bigint;
|
|
2727
|
+
};
|
|
2728
|
+
teardownGasLimits: {
|
|
2729
|
+
daGas: string | number | bigint;
|
|
2730
|
+
l2Gas: string | number | bigint;
|
|
2731
|
+
};
|
|
2732
|
+
maxFeesPerGas: {
|
|
2733
|
+
feePerDaGas: string;
|
|
2734
|
+
feePerL2Gas: string;
|
|
2735
|
+
};
|
|
2736
|
+
maxPriorityFeesPerGas: {
|
|
2737
|
+
feePerDaGas: string;
|
|
2738
|
+
feePerL2Gas: string;
|
|
2739
|
+
};
|
|
2740
|
+
};
|
|
2196
2741
|
nonRevertibleAccumulatedData: {
|
|
2197
2742
|
noteHashes: string[];
|
|
2198
2743
|
nullifiers: string[];
|
|
2744
|
+
l2ToL1Messages: {
|
|
2745
|
+
message: {
|
|
2746
|
+
counter: number;
|
|
2747
|
+
recipient: string;
|
|
2748
|
+
content: string;
|
|
2749
|
+
};
|
|
2750
|
+
contractAddress?: any;
|
|
2751
|
+
}[];
|
|
2199
2752
|
};
|
|
2200
2753
|
revertibleAccumulatedData: {
|
|
2201
2754
|
noteHashes: string[];
|
|
2202
2755
|
nullifiers: string[];
|
|
2756
|
+
l2ToL1Messages: {
|
|
2757
|
+
message: {
|
|
2758
|
+
counter: number;
|
|
2759
|
+
recipient: string;
|
|
2760
|
+
content: string;
|
|
2761
|
+
};
|
|
2762
|
+
contractAddress?: any;
|
|
2763
|
+
}[];
|
|
2764
|
+
};
|
|
2765
|
+
effectiveGasFees: {
|
|
2766
|
+
feePerDaGas: string;
|
|
2767
|
+
feePerL2Gas: string;
|
|
2203
2768
|
};
|
|
2204
2769
|
setupEnqueuedCalls: {
|
|
2205
2770
|
isStaticCall: boolean;
|
|
@@ -2219,6 +2784,10 @@ export declare class AvmExecutionHints {
|
|
|
2219
2784
|
contractAddress?: any;
|
|
2220
2785
|
msgSender?: any;
|
|
2221
2786
|
} | null;
|
|
2787
|
+
gasUsedByPrivate: {
|
|
2788
|
+
daGas: string | number | bigint;
|
|
2789
|
+
l2Gas: string | number | bigint;
|
|
2790
|
+
};
|
|
2222
2791
|
}>, AvmTxHint, {
|
|
2223
2792
|
hash: string;
|
|
2224
2793
|
globalVariables: {
|
|
@@ -2234,13 +2803,51 @@ export declare class AvmExecutionHints {
|
|
|
2234
2803
|
coinbase?: any;
|
|
2235
2804
|
feeRecipient?: any;
|
|
2236
2805
|
};
|
|
2806
|
+
gasSettings: {
|
|
2807
|
+
gasLimits: {
|
|
2808
|
+
daGas: string | number | bigint;
|
|
2809
|
+
l2Gas: string | number | bigint;
|
|
2810
|
+
};
|
|
2811
|
+
teardownGasLimits: {
|
|
2812
|
+
daGas: string | number | bigint;
|
|
2813
|
+
l2Gas: string | number | bigint;
|
|
2814
|
+
};
|
|
2815
|
+
maxFeesPerGas: {
|
|
2816
|
+
feePerDaGas: string;
|
|
2817
|
+
feePerL2Gas: string;
|
|
2818
|
+
};
|
|
2819
|
+
maxPriorityFeesPerGas: {
|
|
2820
|
+
feePerDaGas: string;
|
|
2821
|
+
feePerL2Gas: string;
|
|
2822
|
+
};
|
|
2823
|
+
};
|
|
2237
2824
|
nonRevertibleAccumulatedData: {
|
|
2238
2825
|
noteHashes: string[];
|
|
2239
2826
|
nullifiers: string[];
|
|
2827
|
+
l2ToL1Messages: {
|
|
2828
|
+
message: {
|
|
2829
|
+
counter: number;
|
|
2830
|
+
recipient: string;
|
|
2831
|
+
content: string;
|
|
2832
|
+
};
|
|
2833
|
+
contractAddress?: any;
|
|
2834
|
+
}[];
|
|
2240
2835
|
};
|
|
2241
2836
|
revertibleAccumulatedData: {
|
|
2242
2837
|
noteHashes: string[];
|
|
2243
2838
|
nullifiers: string[];
|
|
2839
|
+
l2ToL1Messages: {
|
|
2840
|
+
message: {
|
|
2841
|
+
counter: number;
|
|
2842
|
+
recipient: string;
|
|
2843
|
+
content: string;
|
|
2844
|
+
};
|
|
2845
|
+
contractAddress?: any;
|
|
2846
|
+
}[];
|
|
2847
|
+
};
|
|
2848
|
+
effectiveGasFees: {
|
|
2849
|
+
feePerDaGas: string;
|
|
2850
|
+
feePerL2Gas: string;
|
|
2244
2851
|
};
|
|
2245
2852
|
setupEnqueuedCalls: {
|
|
2246
2853
|
isStaticCall: boolean;
|
|
@@ -2260,6 +2867,10 @@ export declare class AvmExecutionHints {
|
|
|
2260
2867
|
contractAddress?: any;
|
|
2261
2868
|
msgSender?: any;
|
|
2262
2869
|
} | null;
|
|
2870
|
+
gasUsedByPrivate: {
|
|
2871
|
+
daGas: string | number | bigint;
|
|
2872
|
+
l2Gas: string | number | bigint;
|
|
2873
|
+
};
|
|
2263
2874
|
}>;
|
|
2264
2875
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2265
2876
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -4003,13 +4614,51 @@ export declare class AvmExecutionHints {
|
|
|
4003
4614
|
coinbase?: any;
|
|
4004
4615
|
feeRecipient?: any;
|
|
4005
4616
|
};
|
|
4617
|
+
gasSettings: {
|
|
4618
|
+
gasLimits: {
|
|
4619
|
+
daGas: string | number | bigint;
|
|
4620
|
+
l2Gas: string | number | bigint;
|
|
4621
|
+
};
|
|
4622
|
+
teardownGasLimits: {
|
|
4623
|
+
daGas: string | number | bigint;
|
|
4624
|
+
l2Gas: string | number | bigint;
|
|
4625
|
+
};
|
|
4626
|
+
maxFeesPerGas: {
|
|
4627
|
+
feePerDaGas: string;
|
|
4628
|
+
feePerL2Gas: string;
|
|
4629
|
+
};
|
|
4630
|
+
maxPriorityFeesPerGas: {
|
|
4631
|
+
feePerDaGas: string;
|
|
4632
|
+
feePerL2Gas: string;
|
|
4633
|
+
};
|
|
4634
|
+
};
|
|
4006
4635
|
nonRevertibleAccumulatedData: {
|
|
4007
4636
|
noteHashes: string[];
|
|
4008
4637
|
nullifiers: string[];
|
|
4638
|
+
l2ToL1Messages: {
|
|
4639
|
+
message: {
|
|
4640
|
+
counter: number;
|
|
4641
|
+
recipient: string;
|
|
4642
|
+
content: string;
|
|
4643
|
+
};
|
|
4644
|
+
contractAddress?: any;
|
|
4645
|
+
}[];
|
|
4009
4646
|
};
|
|
4010
4647
|
revertibleAccumulatedData: {
|
|
4011
4648
|
noteHashes: string[];
|
|
4012
4649
|
nullifiers: string[];
|
|
4650
|
+
l2ToL1Messages: {
|
|
4651
|
+
message: {
|
|
4652
|
+
counter: number;
|
|
4653
|
+
recipient: string;
|
|
4654
|
+
content: string;
|
|
4655
|
+
};
|
|
4656
|
+
contractAddress?: any;
|
|
4657
|
+
}[];
|
|
4658
|
+
};
|
|
4659
|
+
effectiveGasFees: {
|
|
4660
|
+
feePerDaGas: string;
|
|
4661
|
+
feePerL2Gas: string;
|
|
4013
4662
|
};
|
|
4014
4663
|
setupEnqueuedCalls: {
|
|
4015
4664
|
isStaticCall: boolean;
|
|
@@ -4029,6 +4678,10 @@ export declare class AvmExecutionHints {
|
|
|
4029
4678
|
contractAddress?: any;
|
|
4030
4679
|
msgSender?: any;
|
|
4031
4680
|
} | null;
|
|
4681
|
+
gasUsedByPrivate: {
|
|
4682
|
+
daGas: string | number | bigint;
|
|
4683
|
+
l2Gas: string | number | bigint;
|
|
4684
|
+
};
|
|
4032
4685
|
};
|
|
4033
4686
|
contractInstances: {
|
|
4034
4687
|
salt: string;
|
|
@@ -4330,13 +4983,51 @@ export declare class AvmExecutionHints {
|
|
|
4330
4983
|
coinbase?: any;
|
|
4331
4984
|
feeRecipient?: any;
|
|
4332
4985
|
};
|
|
4986
|
+
gasSettings: {
|
|
4987
|
+
gasLimits: {
|
|
4988
|
+
daGas: string | number | bigint;
|
|
4989
|
+
l2Gas: string | number | bigint;
|
|
4990
|
+
};
|
|
4991
|
+
teardownGasLimits: {
|
|
4992
|
+
daGas: string | number | bigint;
|
|
4993
|
+
l2Gas: string | number | bigint;
|
|
4994
|
+
};
|
|
4995
|
+
maxFeesPerGas: {
|
|
4996
|
+
feePerDaGas: string;
|
|
4997
|
+
feePerL2Gas: string;
|
|
4998
|
+
};
|
|
4999
|
+
maxPriorityFeesPerGas: {
|
|
5000
|
+
feePerDaGas: string;
|
|
5001
|
+
feePerL2Gas: string;
|
|
5002
|
+
};
|
|
5003
|
+
};
|
|
4333
5004
|
nonRevertibleAccumulatedData: {
|
|
4334
5005
|
noteHashes: string[];
|
|
4335
5006
|
nullifiers: string[];
|
|
5007
|
+
l2ToL1Messages: {
|
|
5008
|
+
message: {
|
|
5009
|
+
counter: number;
|
|
5010
|
+
recipient: string;
|
|
5011
|
+
content: string;
|
|
5012
|
+
};
|
|
5013
|
+
contractAddress?: any;
|
|
5014
|
+
}[];
|
|
5015
|
+
};
|
|
5016
|
+
revertibleAccumulatedData: {
|
|
5017
|
+
noteHashes: string[];
|
|
5018
|
+
nullifiers: string[];
|
|
5019
|
+
l2ToL1Messages: {
|
|
5020
|
+
message: {
|
|
5021
|
+
counter: number;
|
|
5022
|
+
recipient: string;
|
|
5023
|
+
content: string;
|
|
5024
|
+
};
|
|
5025
|
+
contractAddress?: any;
|
|
5026
|
+
}[];
|
|
4336
5027
|
};
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
5028
|
+
effectiveGasFees: {
|
|
5029
|
+
feePerDaGas: string;
|
|
5030
|
+
feePerL2Gas: string;
|
|
4340
5031
|
};
|
|
4341
5032
|
setupEnqueuedCalls: {
|
|
4342
5033
|
isStaticCall: boolean;
|
|
@@ -4356,6 +5047,10 @@ export declare class AvmExecutionHints {
|
|
|
4356
5047
|
contractAddress?: any;
|
|
4357
5048
|
msgSender?: any;
|
|
4358
5049
|
} | null;
|
|
5050
|
+
gasUsedByPrivate: {
|
|
5051
|
+
daGas: string | number | bigint;
|
|
5052
|
+
l2Gas: string | number | bigint;
|
|
5053
|
+
};
|
|
4359
5054
|
};
|
|
4360
5055
|
contractInstances: {
|
|
4361
5056
|
salt: string;
|
|
@@ -4669,7 +5364,7 @@ export declare class AvmCircuitInputs {
|
|
|
4669
5364
|
}, {
|
|
4670
5365
|
feePerDaGas: string;
|
|
4671
5366
|
feePerL2Gas: string;
|
|
4672
|
-
}>,
|
|
5367
|
+
}>, GasFees, {
|
|
4673
5368
|
feePerDaGas: string;
|
|
4674
5369
|
feePerL2Gas: string;
|
|
4675
5370
|
}>;
|
|
@@ -4681,7 +5376,7 @@ export declare class AvmCircuitInputs {
|
|
|
4681
5376
|
timestamp: Fr;
|
|
4682
5377
|
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
4683
5378
|
feeRecipient: AztecAddress;
|
|
4684
|
-
gasFees:
|
|
5379
|
+
gasFees: GasFees;
|
|
4685
5380
|
}, {
|
|
4686
5381
|
gasFees: {
|
|
4687
5382
|
feePerDaGas: string;
|
|
@@ -4707,25 +5402,223 @@ export declare class AvmCircuitInputs {
|
|
|
4707
5402
|
coinbase?: any;
|
|
4708
5403
|
feeRecipient?: any;
|
|
4709
5404
|
}>;
|
|
5405
|
+
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
5406
|
+
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
5407
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5408
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5409
|
+
}, "strip", z.ZodTypeAny, {
|
|
5410
|
+
daGas: number;
|
|
5411
|
+
l2Gas: number;
|
|
5412
|
+
}, {
|
|
5413
|
+
daGas: string | number | bigint;
|
|
5414
|
+
l2Gas: string | number | bigint;
|
|
5415
|
+
}>, Gas, {
|
|
5416
|
+
daGas: string | number | bigint;
|
|
5417
|
+
l2Gas: string | number | bigint;
|
|
5418
|
+
}>;
|
|
5419
|
+
teardownGasLimits: z.ZodEffects<z.ZodObject<{
|
|
5420
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5421
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5422
|
+
}, "strip", z.ZodTypeAny, {
|
|
5423
|
+
daGas: number;
|
|
5424
|
+
l2Gas: number;
|
|
5425
|
+
}, {
|
|
5426
|
+
daGas: string | number | bigint;
|
|
5427
|
+
l2Gas: string | number | bigint;
|
|
5428
|
+
}>, Gas, {
|
|
5429
|
+
daGas: string | number | bigint;
|
|
5430
|
+
l2Gas: string | number | bigint;
|
|
5431
|
+
}>;
|
|
5432
|
+
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
5433
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
5434
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
5435
|
+
}, "strip", z.ZodTypeAny, {
|
|
5436
|
+
feePerDaGas: Fr;
|
|
5437
|
+
feePerL2Gas: Fr;
|
|
5438
|
+
}, {
|
|
5439
|
+
feePerDaGas: string;
|
|
5440
|
+
feePerL2Gas: string;
|
|
5441
|
+
}>, GasFees, {
|
|
5442
|
+
feePerDaGas: string;
|
|
5443
|
+
feePerL2Gas: string;
|
|
5444
|
+
}>;
|
|
5445
|
+
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
5446
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
5447
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
5448
|
+
}, "strip", z.ZodTypeAny, {
|
|
5449
|
+
feePerDaGas: Fr;
|
|
5450
|
+
feePerL2Gas: Fr;
|
|
5451
|
+
}, {
|
|
5452
|
+
feePerDaGas: string;
|
|
5453
|
+
feePerL2Gas: string;
|
|
5454
|
+
}>, GasFees, {
|
|
5455
|
+
feePerDaGas: string;
|
|
5456
|
+
feePerL2Gas: string;
|
|
5457
|
+
}>;
|
|
5458
|
+
}, "strip", z.ZodTypeAny, {
|
|
5459
|
+
gasLimits: Gas;
|
|
5460
|
+
teardownGasLimits: Gas;
|
|
5461
|
+
maxFeesPerGas: GasFees;
|
|
5462
|
+
maxPriorityFeesPerGas: GasFees;
|
|
5463
|
+
}, {
|
|
5464
|
+
gasLimits: {
|
|
5465
|
+
daGas: string | number | bigint;
|
|
5466
|
+
l2Gas: string | number | bigint;
|
|
5467
|
+
};
|
|
5468
|
+
teardownGasLimits: {
|
|
5469
|
+
daGas: string | number | bigint;
|
|
5470
|
+
l2Gas: string | number | bigint;
|
|
5471
|
+
};
|
|
5472
|
+
maxFeesPerGas: {
|
|
5473
|
+
feePerDaGas: string;
|
|
5474
|
+
feePerL2Gas: string;
|
|
5475
|
+
};
|
|
5476
|
+
maxPriorityFeesPerGas: {
|
|
5477
|
+
feePerDaGas: string;
|
|
5478
|
+
feePerL2Gas: string;
|
|
5479
|
+
};
|
|
5480
|
+
}>, GasSettings, {
|
|
5481
|
+
gasLimits: {
|
|
5482
|
+
daGas: string | number | bigint;
|
|
5483
|
+
l2Gas: string | number | bigint;
|
|
5484
|
+
};
|
|
5485
|
+
teardownGasLimits: {
|
|
5486
|
+
daGas: string | number | bigint;
|
|
5487
|
+
l2Gas: string | number | bigint;
|
|
5488
|
+
};
|
|
5489
|
+
maxFeesPerGas: {
|
|
5490
|
+
feePerDaGas: string;
|
|
5491
|
+
feePerL2Gas: string;
|
|
5492
|
+
};
|
|
5493
|
+
maxPriorityFeesPerGas: {
|
|
5494
|
+
feePerDaGas: string;
|
|
5495
|
+
feePerL2Gas: string;
|
|
5496
|
+
};
|
|
5497
|
+
}>;
|
|
5498
|
+
effectiveGasFees: z.ZodEffects<z.ZodObject<{
|
|
5499
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
5500
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
5501
|
+
}, "strip", z.ZodTypeAny, {
|
|
5502
|
+
feePerDaGas: Fr;
|
|
5503
|
+
feePerL2Gas: Fr;
|
|
5504
|
+
}, {
|
|
5505
|
+
feePerDaGas: string;
|
|
5506
|
+
feePerL2Gas: string;
|
|
5507
|
+
}>, GasFees, {
|
|
5508
|
+
feePerDaGas: string;
|
|
5509
|
+
feePerL2Gas: string;
|
|
5510
|
+
}>;
|
|
4710
5511
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
4711
5512
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
4712
5513
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
5514
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5515
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
5516
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
5517
|
+
content: z.ZodType<Fr, any, string>;
|
|
5518
|
+
counter: z.ZodNumber;
|
|
5519
|
+
}, "strip", z.ZodTypeAny, {
|
|
5520
|
+
counter: number;
|
|
5521
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
5522
|
+
content: Fr;
|
|
5523
|
+
}, {
|
|
5524
|
+
counter: number;
|
|
5525
|
+
recipient: string;
|
|
5526
|
+
content: string;
|
|
5527
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
5528
|
+
counter: number;
|
|
5529
|
+
recipient: string;
|
|
5530
|
+
content: string;
|
|
5531
|
+
}>;
|
|
5532
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
5533
|
+
}, "strip", z.ZodTypeAny, {
|
|
5534
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
5535
|
+
contractAddress: AztecAddress;
|
|
5536
|
+
}, {
|
|
5537
|
+
message: {
|
|
5538
|
+
counter: number;
|
|
5539
|
+
recipient: string;
|
|
5540
|
+
content: string;
|
|
5541
|
+
};
|
|
5542
|
+
contractAddress?: any;
|
|
5543
|
+
}>, ScopedL2ToL1Message, {
|
|
5544
|
+
message: {
|
|
5545
|
+
counter: number;
|
|
5546
|
+
recipient: string;
|
|
5547
|
+
content: string;
|
|
5548
|
+
};
|
|
5549
|
+
contractAddress?: any;
|
|
5550
|
+
}>, "many">;
|
|
4713
5551
|
}, "strip", z.ZodTypeAny, {
|
|
4714
5552
|
noteHashes: Fr[];
|
|
4715
5553
|
nullifiers: Fr[];
|
|
5554
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
4716
5555
|
}, {
|
|
4717
5556
|
noteHashes: string[];
|
|
4718
5557
|
nullifiers: string[];
|
|
5558
|
+
l2ToL1Messages: {
|
|
5559
|
+
message: {
|
|
5560
|
+
counter: number;
|
|
5561
|
+
recipient: string;
|
|
5562
|
+
content: string;
|
|
5563
|
+
};
|
|
5564
|
+
contractAddress?: any;
|
|
5565
|
+
}[];
|
|
4719
5566
|
}>;
|
|
4720
5567
|
revertibleAccumulatedData: z.ZodObject<{
|
|
4721
5568
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
4722
5569
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
5570
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5571
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
5572
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
5573
|
+
content: z.ZodType<Fr, any, string>;
|
|
5574
|
+
counter: z.ZodNumber;
|
|
5575
|
+
}, "strip", z.ZodTypeAny, {
|
|
5576
|
+
counter: number;
|
|
5577
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
5578
|
+
content: Fr;
|
|
5579
|
+
}, {
|
|
5580
|
+
counter: number;
|
|
5581
|
+
recipient: string;
|
|
5582
|
+
content: string;
|
|
5583
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
5584
|
+
counter: number;
|
|
5585
|
+
recipient: string;
|
|
5586
|
+
content: string;
|
|
5587
|
+
}>;
|
|
5588
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
5589
|
+
}, "strip", z.ZodTypeAny, {
|
|
5590
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
5591
|
+
contractAddress: AztecAddress;
|
|
5592
|
+
}, {
|
|
5593
|
+
message: {
|
|
5594
|
+
counter: number;
|
|
5595
|
+
recipient: string;
|
|
5596
|
+
content: string;
|
|
5597
|
+
};
|
|
5598
|
+
contractAddress?: any;
|
|
5599
|
+
}>, ScopedL2ToL1Message, {
|
|
5600
|
+
message: {
|
|
5601
|
+
counter: number;
|
|
5602
|
+
recipient: string;
|
|
5603
|
+
content: string;
|
|
5604
|
+
};
|
|
5605
|
+
contractAddress?: any;
|
|
5606
|
+
}>, "many">;
|
|
4723
5607
|
}, "strip", z.ZodTypeAny, {
|
|
4724
5608
|
noteHashes: Fr[];
|
|
4725
5609
|
nullifiers: Fr[];
|
|
5610
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
4726
5611
|
}, {
|
|
4727
5612
|
noteHashes: string[];
|
|
4728
5613
|
nullifiers: string[];
|
|
5614
|
+
l2ToL1Messages: {
|
|
5615
|
+
message: {
|
|
5616
|
+
counter: number;
|
|
5617
|
+
recipient: string;
|
|
5618
|
+
content: string;
|
|
5619
|
+
};
|
|
5620
|
+
contractAddress?: any;
|
|
5621
|
+
}[];
|
|
4729
5622
|
}>;
|
|
4730
5623
|
setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4731
5624
|
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -4790,20 +5683,38 @@ export declare class AvmCircuitInputs {
|
|
|
4790
5683
|
contractAddress?: any;
|
|
4791
5684
|
msgSender?: any;
|
|
4792
5685
|
}>>;
|
|
5686
|
+
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
5687
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5688
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5689
|
+
}, "strip", z.ZodTypeAny, {
|
|
5690
|
+
daGas: number;
|
|
5691
|
+
l2Gas: number;
|
|
5692
|
+
}, {
|
|
5693
|
+
daGas: string | number | bigint;
|
|
5694
|
+
l2Gas: string | number | bigint;
|
|
5695
|
+
}>, Gas, {
|
|
5696
|
+
daGas: string | number | bigint;
|
|
5697
|
+
l2Gas: string | number | bigint;
|
|
5698
|
+
}>;
|
|
4793
5699
|
}, "strip", z.ZodTypeAny, {
|
|
4794
5700
|
hash: string;
|
|
4795
5701
|
globalVariables: GlobalVariables;
|
|
5702
|
+
gasSettings: GasSettings;
|
|
4796
5703
|
nonRevertibleAccumulatedData: {
|
|
4797
5704
|
noteHashes: Fr[];
|
|
4798
5705
|
nullifiers: Fr[];
|
|
5706
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
4799
5707
|
};
|
|
4800
5708
|
revertibleAccumulatedData: {
|
|
4801
5709
|
noteHashes: Fr[];
|
|
4802
5710
|
nullifiers: Fr[];
|
|
5711
|
+
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
4803
5712
|
};
|
|
5713
|
+
effectiveGasFees: GasFees;
|
|
4804
5714
|
setupEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
4805
5715
|
appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
4806
5716
|
teardownEnqueuedCall: AvmEnqueuedCallHint | null;
|
|
5717
|
+
gasUsedByPrivate: Gas;
|
|
4807
5718
|
}, {
|
|
4808
5719
|
hash: string;
|
|
4809
5720
|
globalVariables: {
|
|
@@ -4819,13 +5730,51 @@ export declare class AvmCircuitInputs {
|
|
|
4819
5730
|
coinbase?: any;
|
|
4820
5731
|
feeRecipient?: any;
|
|
4821
5732
|
};
|
|
5733
|
+
gasSettings: {
|
|
5734
|
+
gasLimits: {
|
|
5735
|
+
daGas: string | number | bigint;
|
|
5736
|
+
l2Gas: string | number | bigint;
|
|
5737
|
+
};
|
|
5738
|
+
teardownGasLimits: {
|
|
5739
|
+
daGas: string | number | bigint;
|
|
5740
|
+
l2Gas: string | number | bigint;
|
|
5741
|
+
};
|
|
5742
|
+
maxFeesPerGas: {
|
|
5743
|
+
feePerDaGas: string;
|
|
5744
|
+
feePerL2Gas: string;
|
|
5745
|
+
};
|
|
5746
|
+
maxPriorityFeesPerGas: {
|
|
5747
|
+
feePerDaGas: string;
|
|
5748
|
+
feePerL2Gas: string;
|
|
5749
|
+
};
|
|
5750
|
+
};
|
|
4822
5751
|
nonRevertibleAccumulatedData: {
|
|
4823
5752
|
noteHashes: string[];
|
|
4824
5753
|
nullifiers: string[];
|
|
5754
|
+
l2ToL1Messages: {
|
|
5755
|
+
message: {
|
|
5756
|
+
counter: number;
|
|
5757
|
+
recipient: string;
|
|
5758
|
+
content: string;
|
|
5759
|
+
};
|
|
5760
|
+
contractAddress?: any;
|
|
5761
|
+
}[];
|
|
4825
5762
|
};
|
|
4826
5763
|
revertibleAccumulatedData: {
|
|
4827
5764
|
noteHashes: string[];
|
|
4828
5765
|
nullifiers: string[];
|
|
5766
|
+
l2ToL1Messages: {
|
|
5767
|
+
message: {
|
|
5768
|
+
counter: number;
|
|
5769
|
+
recipient: string;
|
|
5770
|
+
content: string;
|
|
5771
|
+
};
|
|
5772
|
+
contractAddress?: any;
|
|
5773
|
+
}[];
|
|
5774
|
+
};
|
|
5775
|
+
effectiveGasFees: {
|
|
5776
|
+
feePerDaGas: string;
|
|
5777
|
+
feePerL2Gas: string;
|
|
4829
5778
|
};
|
|
4830
5779
|
setupEnqueuedCalls: {
|
|
4831
5780
|
isStaticCall: boolean;
|
|
@@ -4845,6 +5794,10 @@ export declare class AvmCircuitInputs {
|
|
|
4845
5794
|
contractAddress?: any;
|
|
4846
5795
|
msgSender?: any;
|
|
4847
5796
|
} | null;
|
|
5797
|
+
gasUsedByPrivate: {
|
|
5798
|
+
daGas: string | number | bigint;
|
|
5799
|
+
l2Gas: string | number | bigint;
|
|
5800
|
+
};
|
|
4848
5801
|
}>, AvmTxHint, {
|
|
4849
5802
|
hash: string;
|
|
4850
5803
|
globalVariables: {
|
|
@@ -4860,13 +5813,51 @@ export declare class AvmCircuitInputs {
|
|
|
4860
5813
|
coinbase?: any;
|
|
4861
5814
|
feeRecipient?: any;
|
|
4862
5815
|
};
|
|
5816
|
+
gasSettings: {
|
|
5817
|
+
gasLimits: {
|
|
5818
|
+
daGas: string | number | bigint;
|
|
5819
|
+
l2Gas: string | number | bigint;
|
|
5820
|
+
};
|
|
5821
|
+
teardownGasLimits: {
|
|
5822
|
+
daGas: string | number | bigint;
|
|
5823
|
+
l2Gas: string | number | bigint;
|
|
5824
|
+
};
|
|
5825
|
+
maxFeesPerGas: {
|
|
5826
|
+
feePerDaGas: string;
|
|
5827
|
+
feePerL2Gas: string;
|
|
5828
|
+
};
|
|
5829
|
+
maxPriorityFeesPerGas: {
|
|
5830
|
+
feePerDaGas: string;
|
|
5831
|
+
feePerL2Gas: string;
|
|
5832
|
+
};
|
|
5833
|
+
};
|
|
4863
5834
|
nonRevertibleAccumulatedData: {
|
|
4864
5835
|
noteHashes: string[];
|
|
4865
5836
|
nullifiers: string[];
|
|
5837
|
+
l2ToL1Messages: {
|
|
5838
|
+
message: {
|
|
5839
|
+
counter: number;
|
|
5840
|
+
recipient: string;
|
|
5841
|
+
content: string;
|
|
5842
|
+
};
|
|
5843
|
+
contractAddress?: any;
|
|
5844
|
+
}[];
|
|
4866
5845
|
};
|
|
4867
5846
|
revertibleAccumulatedData: {
|
|
4868
5847
|
noteHashes: string[];
|
|
4869
5848
|
nullifiers: string[];
|
|
5849
|
+
l2ToL1Messages: {
|
|
5850
|
+
message: {
|
|
5851
|
+
counter: number;
|
|
5852
|
+
recipient: string;
|
|
5853
|
+
content: string;
|
|
5854
|
+
};
|
|
5855
|
+
contractAddress?: any;
|
|
5856
|
+
}[];
|
|
5857
|
+
};
|
|
5858
|
+
effectiveGasFees: {
|
|
5859
|
+
feePerDaGas: string;
|
|
5860
|
+
feePerL2Gas: string;
|
|
4870
5861
|
};
|
|
4871
5862
|
setupEnqueuedCalls: {
|
|
4872
5863
|
isStaticCall: boolean;
|
|
@@ -4886,6 +5877,10 @@ export declare class AvmCircuitInputs {
|
|
|
4886
5877
|
contractAddress?: any;
|
|
4887
5878
|
msgSender?: any;
|
|
4888
5879
|
} | null;
|
|
5880
|
+
gasUsedByPrivate: {
|
|
5881
|
+
daGas: string | number | bigint;
|
|
5882
|
+
l2Gas: string | number | bigint;
|
|
5883
|
+
};
|
|
4889
5884
|
}>;
|
|
4890
5885
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4891
5886
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -6629,13 +7624,51 @@ export declare class AvmCircuitInputs {
|
|
|
6629
7624
|
coinbase?: any;
|
|
6630
7625
|
feeRecipient?: any;
|
|
6631
7626
|
};
|
|
7627
|
+
gasSettings: {
|
|
7628
|
+
gasLimits: {
|
|
7629
|
+
daGas: string | number | bigint;
|
|
7630
|
+
l2Gas: string | number | bigint;
|
|
7631
|
+
};
|
|
7632
|
+
teardownGasLimits: {
|
|
7633
|
+
daGas: string | number | bigint;
|
|
7634
|
+
l2Gas: string | number | bigint;
|
|
7635
|
+
};
|
|
7636
|
+
maxFeesPerGas: {
|
|
7637
|
+
feePerDaGas: string;
|
|
7638
|
+
feePerL2Gas: string;
|
|
7639
|
+
};
|
|
7640
|
+
maxPriorityFeesPerGas: {
|
|
7641
|
+
feePerDaGas: string;
|
|
7642
|
+
feePerL2Gas: string;
|
|
7643
|
+
};
|
|
7644
|
+
};
|
|
6632
7645
|
nonRevertibleAccumulatedData: {
|
|
6633
7646
|
noteHashes: string[];
|
|
6634
7647
|
nullifiers: string[];
|
|
7648
|
+
l2ToL1Messages: {
|
|
7649
|
+
message: {
|
|
7650
|
+
counter: number;
|
|
7651
|
+
recipient: string;
|
|
7652
|
+
content: string;
|
|
7653
|
+
};
|
|
7654
|
+
contractAddress?: any;
|
|
7655
|
+
}[];
|
|
6635
7656
|
};
|
|
6636
7657
|
revertibleAccumulatedData: {
|
|
6637
7658
|
noteHashes: string[];
|
|
6638
7659
|
nullifiers: string[];
|
|
7660
|
+
l2ToL1Messages: {
|
|
7661
|
+
message: {
|
|
7662
|
+
counter: number;
|
|
7663
|
+
recipient: string;
|
|
7664
|
+
content: string;
|
|
7665
|
+
};
|
|
7666
|
+
contractAddress?: any;
|
|
7667
|
+
}[];
|
|
7668
|
+
};
|
|
7669
|
+
effectiveGasFees: {
|
|
7670
|
+
feePerDaGas: string;
|
|
7671
|
+
feePerL2Gas: string;
|
|
6639
7672
|
};
|
|
6640
7673
|
setupEnqueuedCalls: {
|
|
6641
7674
|
isStaticCall: boolean;
|
|
@@ -6655,6 +7688,10 @@ export declare class AvmCircuitInputs {
|
|
|
6655
7688
|
contractAddress?: any;
|
|
6656
7689
|
msgSender?: any;
|
|
6657
7690
|
} | null;
|
|
7691
|
+
gasUsedByPrivate: {
|
|
7692
|
+
daGas: string | number | bigint;
|
|
7693
|
+
l2Gas: string | number | bigint;
|
|
7694
|
+
};
|
|
6658
7695
|
};
|
|
6659
7696
|
contractInstances: {
|
|
6660
7697
|
salt: string;
|
|
@@ -6956,13 +7993,51 @@ export declare class AvmCircuitInputs {
|
|
|
6956
7993
|
coinbase?: any;
|
|
6957
7994
|
feeRecipient?: any;
|
|
6958
7995
|
};
|
|
7996
|
+
gasSettings: {
|
|
7997
|
+
gasLimits: {
|
|
7998
|
+
daGas: string | number | bigint;
|
|
7999
|
+
l2Gas: string | number | bigint;
|
|
8000
|
+
};
|
|
8001
|
+
teardownGasLimits: {
|
|
8002
|
+
daGas: string | number | bigint;
|
|
8003
|
+
l2Gas: string | number | bigint;
|
|
8004
|
+
};
|
|
8005
|
+
maxFeesPerGas: {
|
|
8006
|
+
feePerDaGas: string;
|
|
8007
|
+
feePerL2Gas: string;
|
|
8008
|
+
};
|
|
8009
|
+
maxPriorityFeesPerGas: {
|
|
8010
|
+
feePerDaGas: string;
|
|
8011
|
+
feePerL2Gas: string;
|
|
8012
|
+
};
|
|
8013
|
+
};
|
|
6959
8014
|
nonRevertibleAccumulatedData: {
|
|
6960
8015
|
noteHashes: string[];
|
|
6961
8016
|
nullifiers: string[];
|
|
8017
|
+
l2ToL1Messages: {
|
|
8018
|
+
message: {
|
|
8019
|
+
counter: number;
|
|
8020
|
+
recipient: string;
|
|
8021
|
+
content: string;
|
|
8022
|
+
};
|
|
8023
|
+
contractAddress?: any;
|
|
8024
|
+
}[];
|
|
6962
8025
|
};
|
|
6963
8026
|
revertibleAccumulatedData: {
|
|
6964
8027
|
noteHashes: string[];
|
|
6965
8028
|
nullifiers: string[];
|
|
8029
|
+
l2ToL1Messages: {
|
|
8030
|
+
message: {
|
|
8031
|
+
counter: number;
|
|
8032
|
+
recipient: string;
|
|
8033
|
+
content: string;
|
|
8034
|
+
};
|
|
8035
|
+
contractAddress?: any;
|
|
8036
|
+
}[];
|
|
8037
|
+
};
|
|
8038
|
+
effectiveGasFees: {
|
|
8039
|
+
feePerDaGas: string;
|
|
8040
|
+
feePerL2Gas: string;
|
|
6966
8041
|
};
|
|
6967
8042
|
setupEnqueuedCalls: {
|
|
6968
8043
|
isStaticCall: boolean;
|
|
@@ -6982,6 +8057,10 @@ export declare class AvmCircuitInputs {
|
|
|
6982
8057
|
contractAddress?: any;
|
|
6983
8058
|
msgSender?: any;
|
|
6984
8059
|
} | null;
|
|
8060
|
+
gasUsedByPrivate: {
|
|
8061
|
+
daGas: string | number | bigint;
|
|
8062
|
+
l2Gas: string | number | bigint;
|
|
8063
|
+
};
|
|
6985
8064
|
};
|
|
6986
8065
|
contractInstances: {
|
|
6987
8066
|
salt: string;
|
|
@@ -7286,7 +8365,7 @@ export declare class AvmCircuitInputs {
|
|
|
7286
8365
|
}, {
|
|
7287
8366
|
feePerDaGas: string;
|
|
7288
8367
|
feePerL2Gas: string;
|
|
7289
|
-
}>,
|
|
8368
|
+
}>, GasFees, {
|
|
7290
8369
|
feePerDaGas: string;
|
|
7291
8370
|
feePerL2Gas: string;
|
|
7292
8371
|
}>;
|
|
@@ -7298,7 +8377,7 @@ export declare class AvmCircuitInputs {
|
|
|
7298
8377
|
timestamp: Fr;
|
|
7299
8378
|
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
7300
8379
|
feeRecipient: AztecAddress;
|
|
7301
|
-
gasFees:
|
|
8380
|
+
gasFees: GasFees;
|
|
7302
8381
|
}, {
|
|
7303
8382
|
gasFees: {
|
|
7304
8383
|
feePerDaGas: string;
|
|
@@ -7426,7 +8505,7 @@ export declare class AvmCircuitInputs {
|
|
|
7426
8505
|
}, {
|
|
7427
8506
|
daGas: string | number | bigint;
|
|
7428
8507
|
l2Gas: string | number | bigint;
|
|
7429
|
-
}>,
|
|
8508
|
+
}>, Gas, {
|
|
7430
8509
|
daGas: string | number | bigint;
|
|
7431
8510
|
l2Gas: string | number | bigint;
|
|
7432
8511
|
}>;
|
|
@@ -7440,7 +8519,7 @@ export declare class AvmCircuitInputs {
|
|
|
7440
8519
|
}, {
|
|
7441
8520
|
daGas: string | number | bigint;
|
|
7442
8521
|
l2Gas: string | number | bigint;
|
|
7443
|
-
}>,
|
|
8522
|
+
}>, Gas, {
|
|
7444
8523
|
daGas: string | number | bigint;
|
|
7445
8524
|
l2Gas: string | number | bigint;
|
|
7446
8525
|
}>;
|
|
@@ -7453,7 +8532,7 @@ export declare class AvmCircuitInputs {
|
|
|
7453
8532
|
}, {
|
|
7454
8533
|
daGas: string | number | bigint;
|
|
7455
8534
|
l2Gas: string | number | bigint;
|
|
7456
|
-
}>,
|
|
8535
|
+
}>, Gas, {
|
|
7457
8536
|
daGas: string | number | bigint;
|
|
7458
8537
|
l2Gas: string | number | bigint;
|
|
7459
8538
|
}>;
|
|
@@ -7466,7 +8545,7 @@ export declare class AvmCircuitInputs {
|
|
|
7466
8545
|
}, {
|
|
7467
8546
|
feePerDaGas: string;
|
|
7468
8547
|
feePerL2Gas: string;
|
|
7469
|
-
}>,
|
|
8548
|
+
}>, GasFees, {
|
|
7470
8549
|
feePerDaGas: string;
|
|
7471
8550
|
feePerL2Gas: string;
|
|
7472
8551
|
}>;
|
|
@@ -7479,15 +8558,15 @@ export declare class AvmCircuitInputs {
|
|
|
7479
8558
|
}, {
|
|
7480
8559
|
feePerDaGas: string;
|
|
7481
8560
|
feePerL2Gas: string;
|
|
7482
|
-
}>,
|
|
8561
|
+
}>, GasFees, {
|
|
7483
8562
|
feePerDaGas: string;
|
|
7484
8563
|
feePerL2Gas: string;
|
|
7485
8564
|
}>;
|
|
7486
8565
|
}, "strip", z.ZodTypeAny, {
|
|
7487
|
-
gasLimits:
|
|
7488
|
-
teardownGasLimits:
|
|
7489
|
-
maxFeesPerGas:
|
|
7490
|
-
maxPriorityFeesPerGas:
|
|
8566
|
+
gasLimits: Gas;
|
|
8567
|
+
teardownGasLimits: Gas;
|
|
8568
|
+
maxFeesPerGas: GasFees;
|
|
8569
|
+
maxPriorityFeesPerGas: GasFees;
|
|
7491
8570
|
}, {
|
|
7492
8571
|
gasLimits: {
|
|
7493
8572
|
daGas: string | number | bigint;
|
|
@@ -7505,7 +8584,7 @@ export declare class AvmCircuitInputs {
|
|
|
7505
8584
|
feePerDaGas: string;
|
|
7506
8585
|
feePerL2Gas: string;
|
|
7507
8586
|
};
|
|
7508
|
-
}>,
|
|
8587
|
+
}>, GasSettings, {
|
|
7509
8588
|
gasLimits: {
|
|
7510
8589
|
daGas: string | number | bigint;
|
|
7511
8590
|
l2Gas: string | number | bigint;
|
|
@@ -7523,7 +8602,37 @@ export declare class AvmCircuitInputs {
|
|
|
7523
8602
|
feePerL2Gas: string;
|
|
7524
8603
|
};
|
|
7525
8604
|
}>;
|
|
8605
|
+
effectiveGasFees: z.ZodEffects<z.ZodObject<{
|
|
8606
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
8607
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
8608
|
+
}, "strip", z.ZodTypeAny, {
|
|
8609
|
+
feePerDaGas: Fr;
|
|
8610
|
+
feePerL2Gas: Fr;
|
|
8611
|
+
}, {
|
|
8612
|
+
feePerDaGas: string;
|
|
8613
|
+
feePerL2Gas: string;
|
|
8614
|
+
}>, GasFees, {
|
|
8615
|
+
feePerDaGas: string;
|
|
8616
|
+
feePerL2Gas: string;
|
|
8617
|
+
}>;
|
|
7526
8618
|
feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
8619
|
+
publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
8620
|
+
setupCalls: z.ZodNumber;
|
|
8621
|
+
appLogicCalls: z.ZodNumber;
|
|
8622
|
+
teardownCall: z.ZodBoolean;
|
|
8623
|
+
}, "strip", z.ZodTypeAny, {
|
|
8624
|
+
setupCalls: number;
|
|
8625
|
+
appLogicCalls: number;
|
|
8626
|
+
teardownCall: boolean;
|
|
8627
|
+
}, {
|
|
8628
|
+
setupCalls: number;
|
|
8629
|
+
appLogicCalls: number;
|
|
8630
|
+
teardownCall: boolean;
|
|
8631
|
+
}>, import("../kernel/public_call_request.js").PublicCallRequestArrayLengths, {
|
|
8632
|
+
setupCalls: number;
|
|
8633
|
+
appLogicCalls: number;
|
|
8634
|
+
teardownCall: boolean;
|
|
8635
|
+
}>;
|
|
7527
8636
|
publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7528
8637
|
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
7529
8638
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -7653,7 +8762,7 @@ export declare class AvmCircuitInputs {
|
|
|
7653
8762
|
content: string;
|
|
7654
8763
|
};
|
|
7655
8764
|
contractAddress?: any;
|
|
7656
|
-
}>,
|
|
8765
|
+
}>, ScopedL2ToL1Message, {
|
|
7657
8766
|
message: {
|
|
7658
8767
|
counter: number;
|
|
7659
8768
|
recipient: string;
|
|
@@ -7664,7 +8773,7 @@ export declare class AvmCircuitInputs {
|
|
|
7664
8773
|
}, "strip", z.ZodTypeAny, {
|
|
7665
8774
|
noteHashes: Fr[];
|
|
7666
8775
|
nullifiers: Fr[];
|
|
7667
|
-
l2ToL1Msgs:
|
|
8776
|
+
l2ToL1Msgs: ScopedL2ToL1Message[];
|
|
7668
8777
|
}, {
|
|
7669
8778
|
noteHashes: string[];
|
|
7670
8779
|
nullifiers: string[];
|
|
@@ -7720,7 +8829,7 @@ export declare class AvmCircuitInputs {
|
|
|
7720
8829
|
content: string;
|
|
7721
8830
|
};
|
|
7722
8831
|
contractAddress?: any;
|
|
7723
|
-
}>,
|
|
8832
|
+
}>, ScopedL2ToL1Message, {
|
|
7724
8833
|
message: {
|
|
7725
8834
|
counter: number;
|
|
7726
8835
|
recipient: string;
|
|
@@ -7731,7 +8840,7 @@ export declare class AvmCircuitInputs {
|
|
|
7731
8840
|
}, "strip", z.ZodTypeAny, {
|
|
7732
8841
|
noteHashes: Fr[];
|
|
7733
8842
|
nullifiers: Fr[];
|
|
7734
|
-
l2ToL1Msgs:
|
|
8843
|
+
l2ToL1Msgs: ScopedL2ToL1Message[];
|
|
7735
8844
|
}, {
|
|
7736
8845
|
noteHashes: string[];
|
|
7737
8846
|
nullifiers: string[];
|
|
@@ -7857,10 +8966,35 @@ export declare class AvmCircuitInputs {
|
|
|
7857
8966
|
}, {
|
|
7858
8967
|
daGas: string | number | bigint;
|
|
7859
8968
|
l2Gas: string | number | bigint;
|
|
7860
|
-
}>,
|
|
8969
|
+
}>, Gas, {
|
|
7861
8970
|
daGas: string | number | bigint;
|
|
7862
8971
|
l2Gas: string | number | bigint;
|
|
7863
8972
|
}>;
|
|
8973
|
+
accumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
8974
|
+
noteHashes: z.ZodNumber;
|
|
8975
|
+
nullifiers: z.ZodNumber;
|
|
8976
|
+
l2ToL1Msgs: z.ZodNumber;
|
|
8977
|
+
publicLogs: z.ZodNumber;
|
|
8978
|
+
publicDataWrites: z.ZodNumber;
|
|
8979
|
+
}, "strip", z.ZodTypeAny, {
|
|
8980
|
+
noteHashes: number;
|
|
8981
|
+
nullifiers: number;
|
|
8982
|
+
l2ToL1Msgs: number;
|
|
8983
|
+
publicLogs: number;
|
|
8984
|
+
publicDataWrites: number;
|
|
8985
|
+
}, {
|
|
8986
|
+
noteHashes: number;
|
|
8987
|
+
nullifiers: number;
|
|
8988
|
+
l2ToL1Msgs: number;
|
|
8989
|
+
publicLogs: number;
|
|
8990
|
+
publicDataWrites: number;
|
|
8991
|
+
}>, import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths, {
|
|
8992
|
+
noteHashes: number;
|
|
8993
|
+
nullifiers: number;
|
|
8994
|
+
l2ToL1Msgs: number;
|
|
8995
|
+
publicLogs: number;
|
|
8996
|
+
publicDataWrites: number;
|
|
8997
|
+
}>;
|
|
7864
8998
|
accumulatedData: z.ZodEffects<z.ZodObject<{
|
|
7865
8999
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
7866
9000
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
@@ -7893,7 +9027,7 @@ export declare class AvmCircuitInputs {
|
|
|
7893
9027
|
content: string;
|
|
7894
9028
|
};
|
|
7895
9029
|
contractAddress?: any;
|
|
7896
|
-
}>,
|
|
9030
|
+
}>, ScopedL2ToL1Message, {
|
|
7897
9031
|
message: {
|
|
7898
9032
|
counter: number;
|
|
7899
9033
|
recipient: string;
|
|
@@ -7918,7 +9052,7 @@ export declare class AvmCircuitInputs {
|
|
|
7918
9052
|
}, "strip", z.ZodTypeAny, {
|
|
7919
9053
|
noteHashes: Fr[];
|
|
7920
9054
|
nullifiers: Fr[];
|
|
7921
|
-
l2ToL1Msgs:
|
|
9055
|
+
l2ToL1Msgs: ScopedL2ToL1Message[];
|
|
7922
9056
|
publicLogs: import("../logs/public_log.js").PublicLog[];
|
|
7923
9057
|
publicDataWrites: import("./public_data_write.js").PublicDataWrite[];
|
|
7924
9058
|
}, {
|
|
@@ -7958,12 +9092,14 @@ export declare class AvmCircuitInputs {
|
|
|
7958
9092
|
reverted: z.ZodBoolean;
|
|
7959
9093
|
}, "strip", z.ZodTypeAny, {
|
|
7960
9094
|
globalVariables: GlobalVariables;
|
|
7961
|
-
gasSettings:
|
|
9095
|
+
gasSettings: GasSettings;
|
|
7962
9096
|
publicTeardownCallRequest: import("../kernel/public_call_request.js").PublicCallRequest;
|
|
7963
9097
|
transactionFee: Fr;
|
|
7964
9098
|
feePayer: AztecAddress;
|
|
9099
|
+
effectiveGasFees: GasFees;
|
|
7965
9100
|
startTreeSnapshots: TreeSnapshots;
|
|
7966
|
-
startGasUsed:
|
|
9101
|
+
startGasUsed: Gas;
|
|
9102
|
+
publicCallRequestArrayLengths: import("../kernel/public_call_request.js").PublicCallRequestArrayLengths;
|
|
7967
9103
|
publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
|
|
7968
9104
|
publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
|
|
7969
9105
|
previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
|
|
@@ -7971,7 +9107,8 @@ export declare class AvmCircuitInputs {
|
|
|
7971
9107
|
previousNonRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
|
|
7972
9108
|
previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
|
|
7973
9109
|
endTreeSnapshots: TreeSnapshots;
|
|
7974
|
-
endGasUsed:
|
|
9110
|
+
endGasUsed: Gas;
|
|
9111
|
+
accumulatedDataArrayLengths: import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths;
|
|
7975
9112
|
accumulatedData: import("./avm_accumulated_data.js").AvmAccumulatedData;
|
|
7976
9113
|
reverted: boolean;
|
|
7977
9114
|
}, {
|
|
@@ -8013,6 +9150,10 @@ export declare class AvmCircuitInputs {
|
|
|
8013
9150
|
msgSender?: any;
|
|
8014
9151
|
};
|
|
8015
9152
|
transactionFee: string;
|
|
9153
|
+
effectiveGasFees: {
|
|
9154
|
+
feePerDaGas: string;
|
|
9155
|
+
feePerL2Gas: string;
|
|
9156
|
+
};
|
|
8016
9157
|
startTreeSnapshots: {
|
|
8017
9158
|
noteHashTree: {
|
|
8018
9159
|
root: string;
|
|
@@ -8035,6 +9176,11 @@ export declare class AvmCircuitInputs {
|
|
|
8035
9176
|
daGas: string | number | bigint;
|
|
8036
9177
|
l2Gas: string | number | bigint;
|
|
8037
9178
|
};
|
|
9179
|
+
publicCallRequestArrayLengths: {
|
|
9180
|
+
setupCalls: number;
|
|
9181
|
+
appLogicCalls: number;
|
|
9182
|
+
teardownCall: boolean;
|
|
9183
|
+
};
|
|
8038
9184
|
publicSetupCallRequests: {
|
|
8039
9185
|
isStaticCall: boolean;
|
|
8040
9186
|
calldataHash: string;
|
|
@@ -8103,6 +9249,13 @@ export declare class AvmCircuitInputs {
|
|
|
8103
9249
|
daGas: string | number | bigint;
|
|
8104
9250
|
l2Gas: string | number | bigint;
|
|
8105
9251
|
};
|
|
9252
|
+
accumulatedDataArrayLengths: {
|
|
9253
|
+
noteHashes: number;
|
|
9254
|
+
nullifiers: number;
|
|
9255
|
+
l2ToL1Msgs: number;
|
|
9256
|
+
publicLogs: number;
|
|
9257
|
+
publicDataWrites: number;
|
|
9258
|
+
};
|
|
8106
9259
|
accumulatedData: {
|
|
8107
9260
|
noteHashes: string[];
|
|
8108
9261
|
nullifiers: string[];
|
|
@@ -8161,6 +9314,10 @@ export declare class AvmCircuitInputs {
|
|
|
8161
9314
|
msgSender?: any;
|
|
8162
9315
|
};
|
|
8163
9316
|
transactionFee: string;
|
|
9317
|
+
effectiveGasFees: {
|
|
9318
|
+
feePerDaGas: string;
|
|
9319
|
+
feePerL2Gas: string;
|
|
9320
|
+
};
|
|
8164
9321
|
startTreeSnapshots: {
|
|
8165
9322
|
noteHashTree: {
|
|
8166
9323
|
root: string;
|
|
@@ -8183,6 +9340,11 @@ export declare class AvmCircuitInputs {
|
|
|
8183
9340
|
daGas: string | number | bigint;
|
|
8184
9341
|
l2Gas: string | number | bigint;
|
|
8185
9342
|
};
|
|
9343
|
+
publicCallRequestArrayLengths: {
|
|
9344
|
+
setupCalls: number;
|
|
9345
|
+
appLogicCalls: number;
|
|
9346
|
+
teardownCall: boolean;
|
|
9347
|
+
};
|
|
8186
9348
|
publicSetupCallRequests: {
|
|
8187
9349
|
isStaticCall: boolean;
|
|
8188
9350
|
calldataHash: string;
|
|
@@ -8251,6 +9413,13 @@ export declare class AvmCircuitInputs {
|
|
|
8251
9413
|
daGas: string | number | bigint;
|
|
8252
9414
|
l2Gas: string | number | bigint;
|
|
8253
9415
|
};
|
|
9416
|
+
accumulatedDataArrayLengths: {
|
|
9417
|
+
noteHashes: number;
|
|
9418
|
+
nullifiers: number;
|
|
9419
|
+
l2ToL1Msgs: number;
|
|
9420
|
+
publicLogs: number;
|
|
9421
|
+
publicDataWrites: number;
|
|
9422
|
+
};
|
|
8254
9423
|
accumulatedData: {
|
|
8255
9424
|
noteHashes: string[];
|
|
8256
9425
|
nullifiers: string[];
|
|
@@ -8314,6 +9483,10 @@ export declare class AvmCircuitInputs {
|
|
|
8314
9483
|
msgSender?: any;
|
|
8315
9484
|
};
|
|
8316
9485
|
transactionFee: string;
|
|
9486
|
+
effectiveGasFees: {
|
|
9487
|
+
feePerDaGas: string;
|
|
9488
|
+
feePerL2Gas: string;
|
|
9489
|
+
};
|
|
8317
9490
|
startTreeSnapshots: {
|
|
8318
9491
|
noteHashTree: {
|
|
8319
9492
|
root: string;
|
|
@@ -8336,6 +9509,11 @@ export declare class AvmCircuitInputs {
|
|
|
8336
9509
|
daGas: string | number | bigint;
|
|
8337
9510
|
l2Gas: string | number | bigint;
|
|
8338
9511
|
};
|
|
9512
|
+
publicCallRequestArrayLengths: {
|
|
9513
|
+
setupCalls: number;
|
|
9514
|
+
appLogicCalls: number;
|
|
9515
|
+
teardownCall: boolean;
|
|
9516
|
+
};
|
|
8339
9517
|
publicSetupCallRequests: {
|
|
8340
9518
|
isStaticCall: boolean;
|
|
8341
9519
|
calldataHash: string;
|
|
@@ -8404,6 +9582,13 @@ export declare class AvmCircuitInputs {
|
|
|
8404
9582
|
daGas: string | number | bigint;
|
|
8405
9583
|
l2Gas: string | number | bigint;
|
|
8406
9584
|
};
|
|
9585
|
+
accumulatedDataArrayLengths: {
|
|
9586
|
+
noteHashes: number;
|
|
9587
|
+
nullifiers: number;
|
|
9588
|
+
l2ToL1Msgs: number;
|
|
9589
|
+
publicLogs: number;
|
|
9590
|
+
publicDataWrites: number;
|
|
9591
|
+
};
|
|
8407
9592
|
accumulatedData: {
|
|
8408
9593
|
noteHashes: string[];
|
|
8409
9594
|
nullifiers: string[];
|
|
@@ -8440,13 +9625,51 @@ export declare class AvmCircuitInputs {
|
|
|
8440
9625
|
coinbase?: any;
|
|
8441
9626
|
feeRecipient?: any;
|
|
8442
9627
|
};
|
|
9628
|
+
gasSettings: {
|
|
9629
|
+
gasLimits: {
|
|
9630
|
+
daGas: string | number | bigint;
|
|
9631
|
+
l2Gas: string | number | bigint;
|
|
9632
|
+
};
|
|
9633
|
+
teardownGasLimits: {
|
|
9634
|
+
daGas: string | number | bigint;
|
|
9635
|
+
l2Gas: string | number | bigint;
|
|
9636
|
+
};
|
|
9637
|
+
maxFeesPerGas: {
|
|
9638
|
+
feePerDaGas: string;
|
|
9639
|
+
feePerL2Gas: string;
|
|
9640
|
+
};
|
|
9641
|
+
maxPriorityFeesPerGas: {
|
|
9642
|
+
feePerDaGas: string;
|
|
9643
|
+
feePerL2Gas: string;
|
|
9644
|
+
};
|
|
9645
|
+
};
|
|
8443
9646
|
nonRevertibleAccumulatedData: {
|
|
8444
9647
|
noteHashes: string[];
|
|
8445
9648
|
nullifiers: string[];
|
|
9649
|
+
l2ToL1Messages: {
|
|
9650
|
+
message: {
|
|
9651
|
+
counter: number;
|
|
9652
|
+
recipient: string;
|
|
9653
|
+
content: string;
|
|
9654
|
+
};
|
|
9655
|
+
contractAddress?: any;
|
|
9656
|
+
}[];
|
|
8446
9657
|
};
|
|
8447
9658
|
revertibleAccumulatedData: {
|
|
8448
9659
|
noteHashes: string[];
|
|
8449
9660
|
nullifiers: string[];
|
|
9661
|
+
l2ToL1Messages: {
|
|
9662
|
+
message: {
|
|
9663
|
+
counter: number;
|
|
9664
|
+
recipient: string;
|
|
9665
|
+
content: string;
|
|
9666
|
+
};
|
|
9667
|
+
contractAddress?: any;
|
|
9668
|
+
}[];
|
|
9669
|
+
};
|
|
9670
|
+
effectiveGasFees: {
|
|
9671
|
+
feePerDaGas: string;
|
|
9672
|
+
feePerL2Gas: string;
|
|
8450
9673
|
};
|
|
8451
9674
|
setupEnqueuedCalls: {
|
|
8452
9675
|
isStaticCall: boolean;
|
|
@@ -8466,6 +9689,10 @@ export declare class AvmCircuitInputs {
|
|
|
8466
9689
|
contractAddress?: any;
|
|
8467
9690
|
msgSender?: any;
|
|
8468
9691
|
} | null;
|
|
9692
|
+
gasUsedByPrivate: {
|
|
9693
|
+
daGas: string | number | bigint;
|
|
9694
|
+
l2Gas: string | number | bigint;
|
|
9695
|
+
};
|
|
8469
9696
|
};
|
|
8470
9697
|
contractInstances: {
|
|
8471
9698
|
salt: string;
|
|
@@ -8792,6 +10019,10 @@ export declare class AvmCircuitInputs {
|
|
|
8792
10019
|
msgSender?: any;
|
|
8793
10020
|
};
|
|
8794
10021
|
transactionFee: string;
|
|
10022
|
+
effectiveGasFees: {
|
|
10023
|
+
feePerDaGas: string;
|
|
10024
|
+
feePerL2Gas: string;
|
|
10025
|
+
};
|
|
8795
10026
|
startTreeSnapshots: {
|
|
8796
10027
|
noteHashTree: {
|
|
8797
10028
|
root: string;
|
|
@@ -8814,6 +10045,11 @@ export declare class AvmCircuitInputs {
|
|
|
8814
10045
|
daGas: string | number | bigint;
|
|
8815
10046
|
l2Gas: string | number | bigint;
|
|
8816
10047
|
};
|
|
10048
|
+
publicCallRequestArrayLengths: {
|
|
10049
|
+
setupCalls: number;
|
|
10050
|
+
appLogicCalls: number;
|
|
10051
|
+
teardownCall: boolean;
|
|
10052
|
+
};
|
|
8817
10053
|
publicSetupCallRequests: {
|
|
8818
10054
|
isStaticCall: boolean;
|
|
8819
10055
|
calldataHash: string;
|
|
@@ -8882,6 +10118,13 @@ export declare class AvmCircuitInputs {
|
|
|
8882
10118
|
daGas: string | number | bigint;
|
|
8883
10119
|
l2Gas: string | number | bigint;
|
|
8884
10120
|
};
|
|
10121
|
+
accumulatedDataArrayLengths: {
|
|
10122
|
+
noteHashes: number;
|
|
10123
|
+
nullifiers: number;
|
|
10124
|
+
l2ToL1Msgs: number;
|
|
10125
|
+
publicLogs: number;
|
|
10126
|
+
publicDataWrites: number;
|
|
10127
|
+
};
|
|
8885
10128
|
accumulatedData: {
|
|
8886
10129
|
noteHashes: string[];
|
|
8887
10130
|
nullifiers: string[];
|
|
@@ -8918,13 +10161,51 @@ export declare class AvmCircuitInputs {
|
|
|
8918
10161
|
coinbase?: any;
|
|
8919
10162
|
feeRecipient?: any;
|
|
8920
10163
|
};
|
|
10164
|
+
gasSettings: {
|
|
10165
|
+
gasLimits: {
|
|
10166
|
+
daGas: string | number | bigint;
|
|
10167
|
+
l2Gas: string | number | bigint;
|
|
10168
|
+
};
|
|
10169
|
+
teardownGasLimits: {
|
|
10170
|
+
daGas: string | number | bigint;
|
|
10171
|
+
l2Gas: string | number | bigint;
|
|
10172
|
+
};
|
|
10173
|
+
maxFeesPerGas: {
|
|
10174
|
+
feePerDaGas: string;
|
|
10175
|
+
feePerL2Gas: string;
|
|
10176
|
+
};
|
|
10177
|
+
maxPriorityFeesPerGas: {
|
|
10178
|
+
feePerDaGas: string;
|
|
10179
|
+
feePerL2Gas: string;
|
|
10180
|
+
};
|
|
10181
|
+
};
|
|
8921
10182
|
nonRevertibleAccumulatedData: {
|
|
8922
10183
|
noteHashes: string[];
|
|
8923
10184
|
nullifiers: string[];
|
|
10185
|
+
l2ToL1Messages: {
|
|
10186
|
+
message: {
|
|
10187
|
+
counter: number;
|
|
10188
|
+
recipient: string;
|
|
10189
|
+
content: string;
|
|
10190
|
+
};
|
|
10191
|
+
contractAddress?: any;
|
|
10192
|
+
}[];
|
|
8924
10193
|
};
|
|
8925
10194
|
revertibleAccumulatedData: {
|
|
8926
10195
|
noteHashes: string[];
|
|
8927
10196
|
nullifiers: string[];
|
|
10197
|
+
l2ToL1Messages: {
|
|
10198
|
+
message: {
|
|
10199
|
+
counter: number;
|
|
10200
|
+
recipient: string;
|
|
10201
|
+
content: string;
|
|
10202
|
+
};
|
|
10203
|
+
contractAddress?: any;
|
|
10204
|
+
}[];
|
|
10205
|
+
};
|
|
10206
|
+
effectiveGasFees: {
|
|
10207
|
+
feePerDaGas: string;
|
|
10208
|
+
feePerL2Gas: string;
|
|
8928
10209
|
};
|
|
8929
10210
|
setupEnqueuedCalls: {
|
|
8930
10211
|
isStaticCall: boolean;
|
|
@@ -8944,6 +10225,10 @@ export declare class AvmCircuitInputs {
|
|
|
8944
10225
|
contractAddress?: any;
|
|
8945
10226
|
msgSender?: any;
|
|
8946
10227
|
} | null;
|
|
10228
|
+
gasUsedByPrivate: {
|
|
10229
|
+
daGas: string | number | bigint;
|
|
10230
|
+
l2Gas: string | number | bigint;
|
|
10231
|
+
};
|
|
8947
10232
|
};
|
|
8948
10233
|
contractInstances: {
|
|
8949
10234
|
salt: string;
|