@aztec-foundation/protocol-contracts-artifacts 0.0.1-commit.b66364b
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/README.md +15 -0
- package/artifacts/contract_class_registry_contract-ContractClassRegistry.json +4206 -0
- package/artifacts/contract_instance_registry_contract-ContractInstanceRegistry.json +5544 -0
- package/artifacts/fee_juice_contract-FeeJuice.json +7356 -0
- package/package.json +11 -0
- package/protocol_contracts.json +5 -0
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# @aztec-foundation/protocol-contracts-artifacts
|
|
2
|
+
|
|
3
|
+
Compiled artifacts for the protocol contracts, published so consumers can generate TypeScript bindings
|
|
4
|
+
without a Noir toolchain.
|
|
5
|
+
|
|
6
|
+
`artifacts/` holds the compiled contracts, one JSON file per contract, and the contracts included are
|
|
7
|
+
the ones named in `protocol_contracts.json`. It is build output, assembled by the release, and is not
|
|
8
|
+
edited by hand.
|
|
9
|
+
|
|
10
|
+
That manifest is published too, since a consumer derives both each artifact's filename and its
|
|
11
|
+
TypeScript name from the `<package>-<Contract>` entries in it.
|
|
12
|
+
|
|
13
|
+
Each contract's class id, and so its address, is derived from the compiled artifact. The version the
|
|
14
|
+
release stamps into each file is not an input to that derivation, so a newer package version carrying
|
|
15
|
+
an unchanged compilation leaves every derived address unchanged.
|