@aztec/builder 3.0.0-canary.a9708bd → 3.0.0-devnet.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/contract-interface-gen/typescript.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,gBAAgB,EAWtB,MAAM,mBAAmB,CAAC;AAwQ3B;;;;;GAKG;AACH,wBAAsB,mCAAmC,CAAC,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/contract-interface-gen/typescript.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,gBAAgB,EAWtB,MAAM,mBAAmB,CAAC;AAwQ3B;;;;;GAKG;AACH,wBAAsB,mCAAmC,CAAC,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,CAAC,EAAE,MAAM,mBAkD7G"}
|
|
@@ -245,36 +245,13 @@ async function generateEvents(events) {
|
|
|
245
245
|
/* Autogenerated file, do not edit! */
|
|
246
246
|
|
|
247
247
|
/* eslint-disable */
|
|
248
|
-
import {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
ContractBase,
|
|
256
|
-
ContractFunctionInteraction,
|
|
257
|
-
type ContractInstanceWithAddress,
|
|
258
|
-
type ContractMethod,
|
|
259
|
-
type ContractStorageLayout,
|
|
260
|
-
decodeFromAbi,
|
|
261
|
-
DeployMethod,
|
|
262
|
-
EthAddress,
|
|
263
|
-
type EthAddressLike,
|
|
264
|
-
EventSelector,
|
|
265
|
-
type FieldLike,
|
|
266
|
-
Fr,
|
|
267
|
-
type FunctionSelectorLike,
|
|
268
|
-
loadContractArtifact,
|
|
269
|
-
loadContractArtifactForPublic,
|
|
270
|
-
type NoirCompiledContract,
|
|
271
|
-
Point,
|
|
272
|
-
type PublicKey,
|
|
273
|
-
PublicKeys,
|
|
274
|
-
type Wallet,
|
|
275
|
-
type U128Like,
|
|
276
|
-
type WrappedFieldLike,
|
|
277
|
-
} from '@aztec/aztec.js';
|
|
248
|
+
import { AztecAddress, CompleteAddress } from '@aztec/aztec.js/addresses';
|
|
249
|
+
import { type AbiType, type AztecAddressLike, type ContractArtifact, EventSelector, decodeFromAbi, type EthAddressLike, type FieldLike, type FunctionSelectorLike, loadContractArtifact, loadContractArtifactForPublic, type NoirCompiledContract, type U128Like, type WrappedFieldLike } from '@aztec/aztec.js/abi';
|
|
250
|
+
import { Contract, ContractBase, ContractFunctionInteraction, type ContractInstanceWithAddress, type ContractMethod, type ContractStorageLayout, DeployMethod } from '@aztec/aztec.js/contracts';
|
|
251
|
+
import { EthAddress } from '@aztec/aztec.js/addresses';
|
|
252
|
+
import { Fr, Point } from '@aztec/aztec.js/fields';
|
|
253
|
+
import { type PublicKey, PublicKeys } from '@aztec/aztec.js/keys';
|
|
254
|
+
import type { Wallet } from '@aztec/aztec.js/wallet';
|
|
278
255
|
${artifactStatement}
|
|
279
256
|
|
|
280
257
|
${eventDefs}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/builder",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-devnet.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@aztec/foundation": "3.0.0-
|
|
73
|
-
"@aztec/stdlib": "3.0.0-
|
|
72
|
+
"@aztec/foundation": "3.0.0-devnet.3",
|
|
73
|
+
"@aztec/stdlib": "3.0.0-devnet.3",
|
|
74
74
|
"commander": "^12.1.0"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
@@ -299,36 +299,13 @@ export async function generateTypescriptContractInterface(input: ContractArtifac
|
|
|
299
299
|
/* Autogenerated file, do not edit! */
|
|
300
300
|
|
|
301
301
|
/* eslint-disable */
|
|
302
|
-
import {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
ContractBase,
|
|
310
|
-
ContractFunctionInteraction,
|
|
311
|
-
type ContractInstanceWithAddress,
|
|
312
|
-
type ContractMethod,
|
|
313
|
-
type ContractStorageLayout,
|
|
314
|
-
decodeFromAbi,
|
|
315
|
-
DeployMethod,
|
|
316
|
-
EthAddress,
|
|
317
|
-
type EthAddressLike,
|
|
318
|
-
EventSelector,
|
|
319
|
-
type FieldLike,
|
|
320
|
-
Fr,
|
|
321
|
-
type FunctionSelectorLike,
|
|
322
|
-
loadContractArtifact,
|
|
323
|
-
loadContractArtifactForPublic,
|
|
324
|
-
type NoirCompiledContract,
|
|
325
|
-
Point,
|
|
326
|
-
type PublicKey,
|
|
327
|
-
PublicKeys,
|
|
328
|
-
type Wallet,
|
|
329
|
-
type U128Like,
|
|
330
|
-
type WrappedFieldLike,
|
|
331
|
-
} from '@aztec/aztec.js';
|
|
302
|
+
import { AztecAddress, CompleteAddress } from '@aztec/aztec.js/addresses';
|
|
303
|
+
import { type AbiType, type AztecAddressLike, type ContractArtifact, EventSelector, decodeFromAbi, type EthAddressLike, type FieldLike, type FunctionSelectorLike, loadContractArtifact, loadContractArtifactForPublic, type NoirCompiledContract, type U128Like, type WrappedFieldLike } from '@aztec/aztec.js/abi';
|
|
304
|
+
import { Contract, ContractBase, ContractFunctionInteraction, type ContractInstanceWithAddress, type ContractMethod, type ContractStorageLayout, DeployMethod } from '@aztec/aztec.js/contracts';
|
|
305
|
+
import { EthAddress } from '@aztec/aztec.js/addresses';
|
|
306
|
+
import { Fr, Point } from '@aztec/aztec.js/fields';
|
|
307
|
+
import { type PublicKey, PublicKeys } from '@aztec/aztec.js/keys';
|
|
308
|
+
import type { Wallet } from '@aztec/aztec.js/wallet';
|
|
332
309
|
${artifactStatement}
|
|
333
310
|
|
|
334
311
|
${eventDefs}
|