@aztec/stdlib 1.0.0-nightly.20250715 → 1.0.0-nightly.20250717
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/avm/avm.d.ts +191 -325
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +10 -10
- package/dest/avm/avm_proving_request.d.ts +120 -146
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/delayed_public_mutable/delayed_public_mutable_values.d.ts +20 -0
- package/dest/delayed_public_mutable/delayed_public_mutable_values.d.ts.map +1 -0
- package/dest/{shared_mutable/shared_mutable_values.js → delayed_public_mutable/delayed_public_mutable_values.js} +9 -9
- package/dest/{shared_mutable/shared_mutable_values_with_hash.d.ts → delayed_public_mutable/delayed_public_mutable_values_with_hash.d.ts} +6 -6
- package/dest/delayed_public_mutable/delayed_public_mutable_values_with_hash.d.ts.map +1 -0
- package/dest/delayed_public_mutable/delayed_public_mutable_values_with_hash.js +30 -0
- package/dest/delayed_public_mutable/index.d.ts +5 -0
- package/dest/delayed_public_mutable/index.d.ts.map +1 -0
- package/dest/delayed_public_mutable/index.js +4 -0
- package/dest/delayed_public_mutable/scheduled_delay_change.d.ts.map +1 -0
- package/dest/delayed_public_mutable/scheduled_value_change.d.ts.map +1 -0
- package/dest/interfaces/proving-job.d.ts +120 -146
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/kernel/private_call_data.d.ts +4 -4
- package/dest/kernel/private_call_data.d.ts.map +1 -1
- package/dest/kernel/private_call_data.js +2 -2
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +3 -2
- package/dest/tx/tx_execution_request.js +2 -2
- package/dest/tx/tx_request.d.ts +5 -5
- package/dest/tx/tx_request.d.ts.map +1 -1
- package/dest/tx/tx_request.js +7 -7
- package/package.json +8 -8
- package/src/avm/avm.ts +5 -7
- package/src/{shared_mutable/shared_mutable_values.ts → delayed_public_mutable/delayed_public_mutable_values.ts} +10 -10
- package/src/delayed_public_mutable/delayed_public_mutable_values_with_hash.ts +38 -0
- package/src/delayed_public_mutable/index.ts +4 -0
- package/src/kernel/private_call_data.ts +3 -3
- package/src/tests/factories.ts +2 -1
- package/src/tx/tx_execution_request.ts +2 -2
- package/src/tx/tx_request.ts +7 -6
- package/dest/shared_mutable/index.d.ts +0 -5
- package/dest/shared_mutable/index.d.ts.map +0 -1
- package/dest/shared_mutable/index.js +0 -4
- package/dest/shared_mutable/scheduled_delay_change.d.ts.map +0 -1
- package/dest/shared_mutable/scheduled_value_change.d.ts.map +0 -1
- package/dest/shared_mutable/shared_mutable_values.d.ts +0 -20
- package/dest/shared_mutable/shared_mutable_values.d.ts.map +0 -1
- package/dest/shared_mutable/shared_mutable_values_with_hash.d.ts.map +0 -1
- package/dest/shared_mutable/shared_mutable_values_with_hash.js +0 -30
- package/src/shared_mutable/index.ts +0 -4
- package/src/shared_mutable/shared_mutable_values_with_hash.ts +0 -38
- /package/dest/{shared_mutable → delayed_public_mutable}/scheduled_delay_change.d.ts +0 -0
- /package/dest/{shared_mutable → delayed_public_mutable}/scheduled_delay_change.js +0 -0
- /package/dest/{shared_mutable → delayed_public_mutable}/scheduled_value_change.d.ts +0 -0
- /package/dest/{shared_mutable → delayed_public_mutable}/scheduled_value_change.js +0 -0
- /package/src/{shared_mutable → delayed_public_mutable}/scheduled_delay_change.ts +0 -0
- /package/src/{shared_mutable → delayed_public_mutable}/scheduled_value_change.ts +0 -0
package/dest/avm/avm.d.ts
CHANGED
|
@@ -1721,7 +1721,6 @@ export declare class AvmRevertCheckpointHint {
|
|
|
1721
1721
|
}
|
|
1722
1722
|
export declare class AvmTxHint {
|
|
1723
1723
|
readonly hash: string;
|
|
1724
|
-
readonly globalVariables: GlobalVariables;
|
|
1725
1724
|
readonly gasSettings: GasSettings;
|
|
1726
1725
|
readonly effectiveGasFees: GasFees;
|
|
1727
1726
|
readonly nonRevertibleAccumulatedData: {
|
|
@@ -1739,7 +1738,7 @@ export declare class AvmTxHint {
|
|
|
1739
1738
|
readonly teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
|
|
1740
1739
|
readonly gasUsedByPrivate: Gas;
|
|
1741
1740
|
readonly feePayer: AztecAddress;
|
|
1742
|
-
constructor(hash: string,
|
|
1741
|
+
constructor(hash: string, gasSettings: GasSettings, effectiveGasFees: GasFees, nonRevertibleAccumulatedData: {
|
|
1743
1742
|
noteHashes: Fr[];
|
|
1744
1743
|
nullifiers: Fr[];
|
|
1745
1744
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
@@ -1752,61 +1751,6 @@ export declare class AvmTxHint {
|
|
|
1752
1751
|
static empty(): AvmTxHint;
|
|
1753
1752
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
1754
1753
|
hash: z.ZodString;
|
|
1755
|
-
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
1756
|
-
chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
1757
|
-
version: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
1758
|
-
blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1759
|
-
slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
1760
|
-
timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1761
|
-
coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
1762
|
-
feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
1763
|
-
gasFees: z.ZodEffects<z.ZodObject<{
|
|
1764
|
-
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1765
|
-
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1766
|
-
}, "strip", z.ZodTypeAny, {
|
|
1767
|
-
feePerDaGas: bigint;
|
|
1768
|
-
feePerL2Gas: bigint;
|
|
1769
|
-
}, {
|
|
1770
|
-
feePerDaGas: string | number | bigint;
|
|
1771
|
-
feePerL2Gas: string | number | bigint;
|
|
1772
|
-
}>, GasFees, {
|
|
1773
|
-
feePerDaGas: string | number | bigint;
|
|
1774
|
-
feePerL2Gas: string | number | bigint;
|
|
1775
|
-
}>;
|
|
1776
|
-
}, "strip", z.ZodTypeAny, {
|
|
1777
|
-
chainId: Fr;
|
|
1778
|
-
version: Fr;
|
|
1779
|
-
blockNumber: number;
|
|
1780
|
-
slotNumber: Fr;
|
|
1781
|
-
timestamp: bigint;
|
|
1782
|
-
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
1783
|
-
feeRecipient: AztecAddress;
|
|
1784
|
-
gasFees: GasFees;
|
|
1785
|
-
}, {
|
|
1786
|
-
blockNumber: string | number | bigint;
|
|
1787
|
-
timestamp: string | number | bigint;
|
|
1788
|
-
gasFees: {
|
|
1789
|
-
feePerDaGas: string | number | bigint;
|
|
1790
|
-
feePerL2Gas: string | number | bigint;
|
|
1791
|
-
};
|
|
1792
|
-
chainId?: any;
|
|
1793
|
-
version?: any;
|
|
1794
|
-
slotNumber?: any;
|
|
1795
|
-
coinbase?: any;
|
|
1796
|
-
feeRecipient?: any;
|
|
1797
|
-
}>, GlobalVariables, {
|
|
1798
|
-
blockNumber: string | number | bigint;
|
|
1799
|
-
timestamp: string | number | bigint;
|
|
1800
|
-
gasFees: {
|
|
1801
|
-
feePerDaGas: string | number | bigint;
|
|
1802
|
-
feePerL2Gas: string | number | bigint;
|
|
1803
|
-
};
|
|
1804
|
-
chainId?: any;
|
|
1805
|
-
version?: any;
|
|
1806
|
-
slotNumber?: any;
|
|
1807
|
-
coinbase?: any;
|
|
1808
|
-
feeRecipient?: any;
|
|
1809
|
-
}>;
|
|
1810
1754
|
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
1811
1755
|
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
1812
1756
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -2030,7 +1974,6 @@ export declare class AvmTxHint {
|
|
|
2030
1974
|
feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2031
1975
|
}, "strip", z.ZodTypeAny, {
|
|
2032
1976
|
hash: string;
|
|
2033
|
-
globalVariables: GlobalVariables;
|
|
2034
1977
|
gasSettings: GasSettings;
|
|
2035
1978
|
feePayer: AztecAddress;
|
|
2036
1979
|
nonRevertibleAccumulatedData: {
|
|
@@ -2050,19 +1993,6 @@ export declare class AvmTxHint {
|
|
|
2050
1993
|
gasUsedByPrivate: Gas;
|
|
2051
1994
|
}, {
|
|
2052
1995
|
hash: string;
|
|
2053
|
-
globalVariables: {
|
|
2054
|
-
blockNumber: string | number | bigint;
|
|
2055
|
-
timestamp: string | number | bigint;
|
|
2056
|
-
gasFees: {
|
|
2057
|
-
feePerDaGas: string | number | bigint;
|
|
2058
|
-
feePerL2Gas: string | number | bigint;
|
|
2059
|
-
};
|
|
2060
|
-
chainId?: any;
|
|
2061
|
-
version?: any;
|
|
2062
|
-
slotNumber?: any;
|
|
2063
|
-
coinbase?: any;
|
|
2064
|
-
feeRecipient?: any;
|
|
2065
|
-
};
|
|
2066
1996
|
gasSettings: {
|
|
2067
1997
|
gasLimits: {
|
|
2068
1998
|
daGas: string | number | bigint;
|
|
@@ -2117,19 +2047,6 @@ export declare class AvmTxHint {
|
|
|
2117
2047
|
teardownEnqueuedCall?: any;
|
|
2118
2048
|
}>, AvmTxHint, {
|
|
2119
2049
|
hash: string;
|
|
2120
|
-
globalVariables: {
|
|
2121
|
-
blockNumber: string | number | bigint;
|
|
2122
|
-
timestamp: string | number | bigint;
|
|
2123
|
-
gasFees: {
|
|
2124
|
-
feePerDaGas: string | number | bigint;
|
|
2125
|
-
feePerL2Gas: string | number | bigint;
|
|
2126
|
-
};
|
|
2127
|
-
chainId?: any;
|
|
2128
|
-
version?: any;
|
|
2129
|
-
slotNumber?: any;
|
|
2130
|
-
coinbase?: any;
|
|
2131
|
-
feeRecipient?: any;
|
|
2132
|
-
};
|
|
2133
2050
|
gasSettings: {
|
|
2134
2051
|
gasLimits: {
|
|
2135
2052
|
daGas: string | number | bigint;
|
|
@@ -2185,6 +2102,7 @@ export declare class AvmTxHint {
|
|
|
2185
2102
|
}>;
|
|
2186
2103
|
}
|
|
2187
2104
|
export declare class AvmExecutionHints {
|
|
2105
|
+
readonly globalVariables: GlobalVariables;
|
|
2188
2106
|
tx: AvmTxHint;
|
|
2189
2107
|
readonly contractInstances: AvmContractInstanceHint[];
|
|
2190
2108
|
readonly contractClasses: AvmContractClassHint[];
|
|
@@ -2201,66 +2119,66 @@ export declare class AvmExecutionHints {
|
|
|
2201
2119
|
readonly createCheckpointHints: AvmCreateCheckpointHint[];
|
|
2202
2120
|
readonly commitCheckpointHints: AvmCommitCheckpointHint[];
|
|
2203
2121
|
readonly revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
2204
|
-
constructor(tx: AvmTxHint, contractInstances?: AvmContractInstanceHint[], contractClasses?: AvmContractClassHint[], bytecodeCommitments?: AvmBytecodeCommitmentHint[], startingTreeRoots?: TreeSnapshots, getSiblingPathHints?: AvmGetSiblingPathHint[], getPreviousValueIndexHints?: AvmGetPreviousValueIndexHint[], getLeafPreimageHintsPublicDataTree?: AvmGetLeafPreimageHintPublicDataTree[], getLeafPreimageHintsNullifierTree?: AvmGetLeafPreimageHintNullifierTree[], getLeafValueHints?: AvmGetLeafValueHint[], sequentialInsertHintsPublicDataTree?: AvmSequentialInsertHintPublicDataTree[], sequentialInsertHintsNullifierTree?: AvmSequentialInsertHintNullifierTree[], appendLeavesHints?: AvmAppendLeavesHint[], createCheckpointHints?: AvmCreateCheckpointHint[], commitCheckpointHints?: AvmCommitCheckpointHint[], revertCheckpointHints?: AvmRevertCheckpointHint[]);
|
|
2122
|
+
constructor(globalVariables: GlobalVariables, tx: AvmTxHint, contractInstances?: AvmContractInstanceHint[], contractClasses?: AvmContractClassHint[], bytecodeCommitments?: AvmBytecodeCommitmentHint[], startingTreeRoots?: TreeSnapshots, getSiblingPathHints?: AvmGetSiblingPathHint[], getPreviousValueIndexHints?: AvmGetPreviousValueIndexHint[], getLeafPreimageHintsPublicDataTree?: AvmGetLeafPreimageHintPublicDataTree[], getLeafPreimageHintsNullifierTree?: AvmGetLeafPreimageHintNullifierTree[], getLeafValueHints?: AvmGetLeafValueHint[], sequentialInsertHintsPublicDataTree?: AvmSequentialInsertHintPublicDataTree[], sequentialInsertHintsNullifierTree?: AvmSequentialInsertHintNullifierTree[], appendLeavesHints?: AvmAppendLeavesHint[], createCheckpointHints?: AvmCreateCheckpointHint[], commitCheckpointHints?: AvmCommitCheckpointHint[], revertCheckpointHints?: AvmRevertCheckpointHint[]);
|
|
2205
2123
|
static empty(): AvmExecutionHints;
|
|
2206
2124
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2219
|
-
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2220
|
-
}, "strip", z.ZodTypeAny, {
|
|
2221
|
-
feePerDaGas: bigint;
|
|
2222
|
-
feePerL2Gas: bigint;
|
|
2223
|
-
}, {
|
|
2224
|
-
feePerDaGas: string | number | bigint;
|
|
2225
|
-
feePerL2Gas: string | number | bigint;
|
|
2226
|
-
}>, GasFees, {
|
|
2227
|
-
feePerDaGas: string | number | bigint;
|
|
2228
|
-
feePerL2Gas: string | number | bigint;
|
|
2229
|
-
}>;
|
|
2125
|
+
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
2126
|
+
chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
2127
|
+
version: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
2128
|
+
blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2129
|
+
slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
2130
|
+
timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2131
|
+
coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
2132
|
+
feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2133
|
+
gasFees: z.ZodEffects<z.ZodObject<{
|
|
2134
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2135
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2230
2136
|
}, "strip", z.ZodTypeAny, {
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
blockNumber: number;
|
|
2234
|
-
slotNumber: Fr;
|
|
2235
|
-
timestamp: bigint;
|
|
2236
|
-
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
2237
|
-
feeRecipient: AztecAddress;
|
|
2238
|
-
gasFees: GasFees;
|
|
2137
|
+
feePerDaGas: bigint;
|
|
2138
|
+
feePerL2Gas: bigint;
|
|
2239
2139
|
}, {
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
};
|
|
2246
|
-
chainId?: any;
|
|
2247
|
-
version?: any;
|
|
2248
|
-
slotNumber?: any;
|
|
2249
|
-
coinbase?: any;
|
|
2250
|
-
feeRecipient?: any;
|
|
2251
|
-
}>, GlobalVariables, {
|
|
2252
|
-
blockNumber: string | number | bigint;
|
|
2253
|
-
timestamp: string | number | bigint;
|
|
2254
|
-
gasFees: {
|
|
2255
|
-
feePerDaGas: string | number | bigint;
|
|
2256
|
-
feePerL2Gas: string | number | bigint;
|
|
2257
|
-
};
|
|
2258
|
-
chainId?: any;
|
|
2259
|
-
version?: any;
|
|
2260
|
-
slotNumber?: any;
|
|
2261
|
-
coinbase?: any;
|
|
2262
|
-
feeRecipient?: any;
|
|
2140
|
+
feePerDaGas: string | number | bigint;
|
|
2141
|
+
feePerL2Gas: string | number | bigint;
|
|
2142
|
+
}>, GasFees, {
|
|
2143
|
+
feePerDaGas: string | number | bigint;
|
|
2144
|
+
feePerL2Gas: string | number | bigint;
|
|
2263
2145
|
}>;
|
|
2146
|
+
}, "strip", z.ZodTypeAny, {
|
|
2147
|
+
chainId: Fr;
|
|
2148
|
+
version: Fr;
|
|
2149
|
+
blockNumber: number;
|
|
2150
|
+
slotNumber: Fr;
|
|
2151
|
+
timestamp: bigint;
|
|
2152
|
+
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
2153
|
+
feeRecipient: AztecAddress;
|
|
2154
|
+
gasFees: GasFees;
|
|
2155
|
+
}, {
|
|
2156
|
+
blockNumber: string | number | bigint;
|
|
2157
|
+
timestamp: string | number | bigint;
|
|
2158
|
+
gasFees: {
|
|
2159
|
+
feePerDaGas: string | number | bigint;
|
|
2160
|
+
feePerL2Gas: string | number | bigint;
|
|
2161
|
+
};
|
|
2162
|
+
chainId?: any;
|
|
2163
|
+
version?: any;
|
|
2164
|
+
slotNumber?: any;
|
|
2165
|
+
coinbase?: any;
|
|
2166
|
+
feeRecipient?: any;
|
|
2167
|
+
}>, GlobalVariables, {
|
|
2168
|
+
blockNumber: string | number | bigint;
|
|
2169
|
+
timestamp: string | number | bigint;
|
|
2170
|
+
gasFees: {
|
|
2171
|
+
feePerDaGas: string | number | bigint;
|
|
2172
|
+
feePerL2Gas: string | number | bigint;
|
|
2173
|
+
};
|
|
2174
|
+
chainId?: any;
|
|
2175
|
+
version?: any;
|
|
2176
|
+
slotNumber?: any;
|
|
2177
|
+
coinbase?: any;
|
|
2178
|
+
feeRecipient?: any;
|
|
2179
|
+
}>;
|
|
2180
|
+
tx: z.ZodEffects<z.ZodObject<{
|
|
2181
|
+
hash: z.ZodString;
|
|
2264
2182
|
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
2265
2183
|
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
2266
2184
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -2484,7 +2402,6 @@ export declare class AvmExecutionHints {
|
|
|
2484
2402
|
feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
2485
2403
|
}, "strip", z.ZodTypeAny, {
|
|
2486
2404
|
hash: string;
|
|
2487
|
-
globalVariables: GlobalVariables;
|
|
2488
2405
|
gasSettings: GasSettings;
|
|
2489
2406
|
feePayer: AztecAddress;
|
|
2490
2407
|
nonRevertibleAccumulatedData: {
|
|
@@ -2504,19 +2421,6 @@ export declare class AvmExecutionHints {
|
|
|
2504
2421
|
gasUsedByPrivate: Gas;
|
|
2505
2422
|
}, {
|
|
2506
2423
|
hash: string;
|
|
2507
|
-
globalVariables: {
|
|
2508
|
-
blockNumber: string | number | bigint;
|
|
2509
|
-
timestamp: string | number | bigint;
|
|
2510
|
-
gasFees: {
|
|
2511
|
-
feePerDaGas: string | number | bigint;
|
|
2512
|
-
feePerL2Gas: string | number | bigint;
|
|
2513
|
-
};
|
|
2514
|
-
chainId?: any;
|
|
2515
|
-
version?: any;
|
|
2516
|
-
slotNumber?: any;
|
|
2517
|
-
coinbase?: any;
|
|
2518
|
-
feeRecipient?: any;
|
|
2519
|
-
};
|
|
2520
2424
|
gasSettings: {
|
|
2521
2425
|
gasLimits: {
|
|
2522
2426
|
daGas: string | number | bigint;
|
|
@@ -2571,19 +2475,6 @@ export declare class AvmExecutionHints {
|
|
|
2571
2475
|
teardownEnqueuedCall?: any;
|
|
2572
2476
|
}>, AvmTxHint, {
|
|
2573
2477
|
hash: string;
|
|
2574
|
-
globalVariables: {
|
|
2575
|
-
blockNumber: string | number | bigint;
|
|
2576
|
-
timestamp: string | number | bigint;
|
|
2577
|
-
gasFees: {
|
|
2578
|
-
feePerDaGas: string | number | bigint;
|
|
2579
|
-
feePerL2Gas: string | number | bigint;
|
|
2580
|
-
};
|
|
2581
|
-
chainId?: any;
|
|
2582
|
-
version?: any;
|
|
2583
|
-
slotNumber?: any;
|
|
2584
|
-
coinbase?: any;
|
|
2585
|
-
feeRecipient?: any;
|
|
2586
|
-
};
|
|
2587
2478
|
gasSettings: {
|
|
2588
2479
|
gasLimits: {
|
|
2589
2480
|
daGas: string | number | bigint;
|
|
@@ -4309,6 +4200,7 @@ export declare class AvmExecutionHints {
|
|
|
4309
4200
|
};
|
|
4310
4201
|
}>, "many">;
|
|
4311
4202
|
}, "strip", z.ZodTypeAny, {
|
|
4203
|
+
globalVariables: GlobalVariables;
|
|
4312
4204
|
tx: AvmTxHint;
|
|
4313
4205
|
contractInstances: AvmContractInstanceHint[];
|
|
4314
4206
|
contractClasses: AvmContractClassHint[];
|
|
@@ -4364,21 +4256,21 @@ export declare class AvmExecutionHints {
|
|
|
4364
4256
|
commitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
4365
4257
|
revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
4366
4258
|
}, {
|
|
4259
|
+
globalVariables: {
|
|
4260
|
+
blockNumber: string | number | bigint;
|
|
4261
|
+
timestamp: string | number | bigint;
|
|
4262
|
+
gasFees: {
|
|
4263
|
+
feePerDaGas: string | number | bigint;
|
|
4264
|
+
feePerL2Gas: string | number | bigint;
|
|
4265
|
+
};
|
|
4266
|
+
chainId?: any;
|
|
4267
|
+
version?: any;
|
|
4268
|
+
slotNumber?: any;
|
|
4269
|
+
coinbase?: any;
|
|
4270
|
+
feeRecipient?: any;
|
|
4271
|
+
};
|
|
4367
4272
|
tx: {
|
|
4368
4273
|
hash: string;
|
|
4369
|
-
globalVariables: {
|
|
4370
|
-
blockNumber: string | number | bigint;
|
|
4371
|
-
timestamp: string | number | bigint;
|
|
4372
|
-
gasFees: {
|
|
4373
|
-
feePerDaGas: string | number | bigint;
|
|
4374
|
-
feePerL2Gas: string | number | bigint;
|
|
4375
|
-
};
|
|
4376
|
-
chainId?: any;
|
|
4377
|
-
version?: any;
|
|
4378
|
-
slotNumber?: any;
|
|
4379
|
-
coinbase?: any;
|
|
4380
|
-
feeRecipient?: any;
|
|
4381
|
-
};
|
|
4382
4274
|
gasSettings: {
|
|
4383
4275
|
gasLimits: {
|
|
4384
4276
|
daGas: string | number | bigint;
|
|
@@ -4717,21 +4609,21 @@ export declare class AvmExecutionHints {
|
|
|
4717
4609
|
};
|
|
4718
4610
|
}[];
|
|
4719
4611
|
}>, AvmExecutionHints, {
|
|
4612
|
+
globalVariables: {
|
|
4613
|
+
blockNumber: string | number | bigint;
|
|
4614
|
+
timestamp: string | number | bigint;
|
|
4615
|
+
gasFees: {
|
|
4616
|
+
feePerDaGas: string | number | bigint;
|
|
4617
|
+
feePerL2Gas: string | number | bigint;
|
|
4618
|
+
};
|
|
4619
|
+
chainId?: any;
|
|
4620
|
+
version?: any;
|
|
4621
|
+
slotNumber?: any;
|
|
4622
|
+
coinbase?: any;
|
|
4623
|
+
feeRecipient?: any;
|
|
4624
|
+
};
|
|
4720
4625
|
tx: {
|
|
4721
4626
|
hash: string;
|
|
4722
|
-
globalVariables: {
|
|
4723
|
-
blockNumber: string | number | bigint;
|
|
4724
|
-
timestamp: string | number | bigint;
|
|
4725
|
-
gasFees: {
|
|
4726
|
-
feePerDaGas: string | number | bigint;
|
|
4727
|
-
feePerL2Gas: string | number | bigint;
|
|
4728
|
-
};
|
|
4729
|
-
chainId?: any;
|
|
4730
|
-
version?: any;
|
|
4731
|
-
slotNumber?: any;
|
|
4732
|
-
coinbase?: any;
|
|
4733
|
-
feeRecipient?: any;
|
|
4734
|
-
};
|
|
4735
4627
|
gasSettings: {
|
|
4736
4628
|
gasLimits: {
|
|
4737
4629
|
daGas: string | number | bigint;
|
|
@@ -5078,63 +4970,63 @@ export declare class AvmCircuitInputs {
|
|
|
5078
4970
|
static empty(): AvmCircuitInputs;
|
|
5079
4971
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
5080
4972
|
hints: z.ZodEffects<z.ZodObject<{
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
5093
|
-
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
5094
|
-
}, "strip", z.ZodTypeAny, {
|
|
5095
|
-
feePerDaGas: bigint;
|
|
5096
|
-
feePerL2Gas: bigint;
|
|
5097
|
-
}, {
|
|
5098
|
-
feePerDaGas: string | number | bigint;
|
|
5099
|
-
feePerL2Gas: string | number | bigint;
|
|
5100
|
-
}>, GasFees, {
|
|
5101
|
-
feePerDaGas: string | number | bigint;
|
|
5102
|
-
feePerL2Gas: string | number | bigint;
|
|
5103
|
-
}>;
|
|
4973
|
+
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
4974
|
+
chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
4975
|
+
version: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
4976
|
+
blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
4977
|
+
slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
4978
|
+
timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4979
|
+
coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
4980
|
+
feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
4981
|
+
gasFees: z.ZodEffects<z.ZodObject<{
|
|
4982
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4983
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
5104
4984
|
}, "strip", z.ZodTypeAny, {
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
blockNumber: number;
|
|
5108
|
-
slotNumber: Fr;
|
|
5109
|
-
timestamp: bigint;
|
|
5110
|
-
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
5111
|
-
feeRecipient: AztecAddress;
|
|
5112
|
-
gasFees: GasFees;
|
|
4985
|
+
feePerDaGas: bigint;
|
|
4986
|
+
feePerL2Gas: bigint;
|
|
5113
4987
|
}, {
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
};
|
|
5120
|
-
chainId?: any;
|
|
5121
|
-
version?: any;
|
|
5122
|
-
slotNumber?: any;
|
|
5123
|
-
coinbase?: any;
|
|
5124
|
-
feeRecipient?: any;
|
|
5125
|
-
}>, GlobalVariables, {
|
|
5126
|
-
blockNumber: string | number | bigint;
|
|
5127
|
-
timestamp: string | number | bigint;
|
|
5128
|
-
gasFees: {
|
|
5129
|
-
feePerDaGas: string | number | bigint;
|
|
5130
|
-
feePerL2Gas: string | number | bigint;
|
|
5131
|
-
};
|
|
5132
|
-
chainId?: any;
|
|
5133
|
-
version?: any;
|
|
5134
|
-
slotNumber?: any;
|
|
5135
|
-
coinbase?: any;
|
|
5136
|
-
feeRecipient?: any;
|
|
4988
|
+
feePerDaGas: string | number | bigint;
|
|
4989
|
+
feePerL2Gas: string | number | bigint;
|
|
4990
|
+
}>, GasFees, {
|
|
4991
|
+
feePerDaGas: string | number | bigint;
|
|
4992
|
+
feePerL2Gas: string | number | bigint;
|
|
5137
4993
|
}>;
|
|
4994
|
+
}, "strip", z.ZodTypeAny, {
|
|
4995
|
+
chainId: Fr;
|
|
4996
|
+
version: Fr;
|
|
4997
|
+
blockNumber: number;
|
|
4998
|
+
slotNumber: Fr;
|
|
4999
|
+
timestamp: bigint;
|
|
5000
|
+
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
5001
|
+
feeRecipient: AztecAddress;
|
|
5002
|
+
gasFees: GasFees;
|
|
5003
|
+
}, {
|
|
5004
|
+
blockNumber: string | number | bigint;
|
|
5005
|
+
timestamp: string | number | bigint;
|
|
5006
|
+
gasFees: {
|
|
5007
|
+
feePerDaGas: string | number | bigint;
|
|
5008
|
+
feePerL2Gas: string | number | bigint;
|
|
5009
|
+
};
|
|
5010
|
+
chainId?: any;
|
|
5011
|
+
version?: any;
|
|
5012
|
+
slotNumber?: any;
|
|
5013
|
+
coinbase?: any;
|
|
5014
|
+
feeRecipient?: any;
|
|
5015
|
+
}>, GlobalVariables, {
|
|
5016
|
+
blockNumber: string | number | bigint;
|
|
5017
|
+
timestamp: string | number | bigint;
|
|
5018
|
+
gasFees: {
|
|
5019
|
+
feePerDaGas: string | number | bigint;
|
|
5020
|
+
feePerL2Gas: string | number | bigint;
|
|
5021
|
+
};
|
|
5022
|
+
chainId?: any;
|
|
5023
|
+
version?: any;
|
|
5024
|
+
slotNumber?: any;
|
|
5025
|
+
coinbase?: any;
|
|
5026
|
+
feeRecipient?: any;
|
|
5027
|
+
}>;
|
|
5028
|
+
tx: z.ZodEffects<z.ZodObject<{
|
|
5029
|
+
hash: z.ZodString;
|
|
5138
5030
|
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
5139
5031
|
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
5140
5032
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -5358,7 +5250,6 @@ export declare class AvmCircuitInputs {
|
|
|
5358
5250
|
feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
5359
5251
|
}, "strip", z.ZodTypeAny, {
|
|
5360
5252
|
hash: string;
|
|
5361
|
-
globalVariables: GlobalVariables;
|
|
5362
5253
|
gasSettings: GasSettings;
|
|
5363
5254
|
feePayer: AztecAddress;
|
|
5364
5255
|
nonRevertibleAccumulatedData: {
|
|
@@ -5378,19 +5269,6 @@ export declare class AvmCircuitInputs {
|
|
|
5378
5269
|
gasUsedByPrivate: Gas;
|
|
5379
5270
|
}, {
|
|
5380
5271
|
hash: string;
|
|
5381
|
-
globalVariables: {
|
|
5382
|
-
blockNumber: string | number | bigint;
|
|
5383
|
-
timestamp: string | number | bigint;
|
|
5384
|
-
gasFees: {
|
|
5385
|
-
feePerDaGas: string | number | bigint;
|
|
5386
|
-
feePerL2Gas: string | number | bigint;
|
|
5387
|
-
};
|
|
5388
|
-
chainId?: any;
|
|
5389
|
-
version?: any;
|
|
5390
|
-
slotNumber?: any;
|
|
5391
|
-
coinbase?: any;
|
|
5392
|
-
feeRecipient?: any;
|
|
5393
|
-
};
|
|
5394
5272
|
gasSettings: {
|
|
5395
5273
|
gasLimits: {
|
|
5396
5274
|
daGas: string | number | bigint;
|
|
@@ -5445,19 +5323,6 @@ export declare class AvmCircuitInputs {
|
|
|
5445
5323
|
teardownEnqueuedCall?: any;
|
|
5446
5324
|
}>, AvmTxHint, {
|
|
5447
5325
|
hash: string;
|
|
5448
|
-
globalVariables: {
|
|
5449
|
-
blockNumber: string | number | bigint;
|
|
5450
|
-
timestamp: string | number | bigint;
|
|
5451
|
-
gasFees: {
|
|
5452
|
-
feePerDaGas: string | number | bigint;
|
|
5453
|
-
feePerL2Gas: string | number | bigint;
|
|
5454
|
-
};
|
|
5455
|
-
chainId?: any;
|
|
5456
|
-
version?: any;
|
|
5457
|
-
slotNumber?: any;
|
|
5458
|
-
coinbase?: any;
|
|
5459
|
-
feeRecipient?: any;
|
|
5460
|
-
};
|
|
5461
5326
|
gasSettings: {
|
|
5462
5327
|
gasLimits: {
|
|
5463
5328
|
daGas: string | number | bigint;
|
|
@@ -7183,6 +7048,7 @@ export declare class AvmCircuitInputs {
|
|
|
7183
7048
|
};
|
|
7184
7049
|
}>, "many">;
|
|
7185
7050
|
}, "strip", z.ZodTypeAny, {
|
|
7051
|
+
globalVariables: GlobalVariables;
|
|
7186
7052
|
tx: AvmTxHint;
|
|
7187
7053
|
contractInstances: AvmContractInstanceHint[];
|
|
7188
7054
|
contractClasses: AvmContractClassHint[];
|
|
@@ -7238,21 +7104,21 @@ export declare class AvmCircuitInputs {
|
|
|
7238
7104
|
commitCheckpointHints: AvmCheckpointActionNoStateChangeHint[];
|
|
7239
7105
|
revertCheckpointHints: AvmRevertCheckpointHint[];
|
|
7240
7106
|
}, {
|
|
7107
|
+
globalVariables: {
|
|
7108
|
+
blockNumber: string | number | bigint;
|
|
7109
|
+
timestamp: string | number | bigint;
|
|
7110
|
+
gasFees: {
|
|
7111
|
+
feePerDaGas: string | number | bigint;
|
|
7112
|
+
feePerL2Gas: string | number | bigint;
|
|
7113
|
+
};
|
|
7114
|
+
chainId?: any;
|
|
7115
|
+
version?: any;
|
|
7116
|
+
slotNumber?: any;
|
|
7117
|
+
coinbase?: any;
|
|
7118
|
+
feeRecipient?: any;
|
|
7119
|
+
};
|
|
7241
7120
|
tx: {
|
|
7242
7121
|
hash: string;
|
|
7243
|
-
globalVariables: {
|
|
7244
|
-
blockNumber: string | number | bigint;
|
|
7245
|
-
timestamp: string | number | bigint;
|
|
7246
|
-
gasFees: {
|
|
7247
|
-
feePerDaGas: string | number | bigint;
|
|
7248
|
-
feePerL2Gas: string | number | bigint;
|
|
7249
|
-
};
|
|
7250
|
-
chainId?: any;
|
|
7251
|
-
version?: any;
|
|
7252
|
-
slotNumber?: any;
|
|
7253
|
-
coinbase?: any;
|
|
7254
|
-
feeRecipient?: any;
|
|
7255
|
-
};
|
|
7256
7122
|
gasSettings: {
|
|
7257
7123
|
gasLimits: {
|
|
7258
7124
|
daGas: string | number | bigint;
|
|
@@ -7591,21 +7457,21 @@ export declare class AvmCircuitInputs {
|
|
|
7591
7457
|
};
|
|
7592
7458
|
}[];
|
|
7593
7459
|
}>, AvmExecutionHints, {
|
|
7460
|
+
globalVariables: {
|
|
7461
|
+
blockNumber: string | number | bigint;
|
|
7462
|
+
timestamp: string | number | bigint;
|
|
7463
|
+
gasFees: {
|
|
7464
|
+
feePerDaGas: string | number | bigint;
|
|
7465
|
+
feePerL2Gas: string | number | bigint;
|
|
7466
|
+
};
|
|
7467
|
+
chainId?: any;
|
|
7468
|
+
version?: any;
|
|
7469
|
+
slotNumber?: any;
|
|
7470
|
+
coinbase?: any;
|
|
7471
|
+
feeRecipient?: any;
|
|
7472
|
+
};
|
|
7594
7473
|
tx: {
|
|
7595
7474
|
hash: string;
|
|
7596
|
-
globalVariables: {
|
|
7597
|
-
blockNumber: string | number | bigint;
|
|
7598
|
-
timestamp: string | number | bigint;
|
|
7599
|
-
gasFees: {
|
|
7600
|
-
feePerDaGas: string | number | bigint;
|
|
7601
|
-
feePerL2Gas: string | number | bigint;
|
|
7602
|
-
};
|
|
7603
|
-
chainId?: any;
|
|
7604
|
-
version?: any;
|
|
7605
|
-
slotNumber?: any;
|
|
7606
|
-
coinbase?: any;
|
|
7607
|
-
feeRecipient?: any;
|
|
7608
|
-
};
|
|
7609
7475
|
gasSettings: {
|
|
7610
7476
|
gasLimits: {
|
|
7611
7477
|
daGas: string | number | bigint;
|
|
@@ -9174,21 +9040,21 @@ export declare class AvmCircuitInputs {
|
|
|
9174
9040
|
feePayer?: any;
|
|
9175
9041
|
};
|
|
9176
9042
|
hints: {
|
|
9043
|
+
globalVariables: {
|
|
9044
|
+
blockNumber: string | number | bigint;
|
|
9045
|
+
timestamp: string | number | bigint;
|
|
9046
|
+
gasFees: {
|
|
9047
|
+
feePerDaGas: string | number | bigint;
|
|
9048
|
+
feePerL2Gas: string | number | bigint;
|
|
9049
|
+
};
|
|
9050
|
+
chainId?: any;
|
|
9051
|
+
version?: any;
|
|
9052
|
+
slotNumber?: any;
|
|
9053
|
+
coinbase?: any;
|
|
9054
|
+
feeRecipient?: any;
|
|
9055
|
+
};
|
|
9177
9056
|
tx: {
|
|
9178
9057
|
hash: string;
|
|
9179
|
-
globalVariables: {
|
|
9180
|
-
blockNumber: string | number | bigint;
|
|
9181
|
-
timestamp: string | number | bigint;
|
|
9182
|
-
gasFees: {
|
|
9183
|
-
feePerDaGas: string | number | bigint;
|
|
9184
|
-
feePerL2Gas: string | number | bigint;
|
|
9185
|
-
};
|
|
9186
|
-
chainId?: any;
|
|
9187
|
-
version?: any;
|
|
9188
|
-
slotNumber?: any;
|
|
9189
|
-
coinbase?: any;
|
|
9190
|
-
feeRecipient?: any;
|
|
9191
|
-
};
|
|
9192
9058
|
gasSettings: {
|
|
9193
9059
|
gasLimits: {
|
|
9194
9060
|
daGas: string | number | bigint;
|
|
@@ -9691,21 +9557,21 @@ export declare class AvmCircuitInputs {
|
|
|
9691
9557
|
feePayer?: any;
|
|
9692
9558
|
};
|
|
9693
9559
|
hints: {
|
|
9560
|
+
globalVariables: {
|
|
9561
|
+
blockNumber: string | number | bigint;
|
|
9562
|
+
timestamp: string | number | bigint;
|
|
9563
|
+
gasFees: {
|
|
9564
|
+
feePerDaGas: string | number | bigint;
|
|
9565
|
+
feePerL2Gas: string | number | bigint;
|
|
9566
|
+
};
|
|
9567
|
+
chainId?: any;
|
|
9568
|
+
version?: any;
|
|
9569
|
+
slotNumber?: any;
|
|
9570
|
+
coinbase?: any;
|
|
9571
|
+
feeRecipient?: any;
|
|
9572
|
+
};
|
|
9694
9573
|
tx: {
|
|
9695
9574
|
hash: string;
|
|
9696
|
-
globalVariables: {
|
|
9697
|
-
blockNumber: string | number | bigint;
|
|
9698
|
-
timestamp: string | number | bigint;
|
|
9699
|
-
gasFees: {
|
|
9700
|
-
feePerDaGas: string | number | bigint;
|
|
9701
|
-
feePerL2Gas: string | number | bigint;
|
|
9702
|
-
};
|
|
9703
|
-
chainId?: any;
|
|
9704
|
-
version?: any;
|
|
9705
|
-
slotNumber?: any;
|
|
9706
|
-
coinbase?: any;
|
|
9707
|
-
feeRecipient?: any;
|
|
9708
|
-
};
|
|
9709
9575
|
gasSettings: {
|
|
9710
9576
|
gasLimits: {
|
|
9711
9577
|
daGas: string | number | bigint;
|