@zentity/fhevm-contracts 0.1.1 → 0.1.2
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/deployments/sepolia/ComplianceRules.json +20 -20
- package/deployments/sepolia/CompliantERC20.json +31 -31
- package/deployments/sepolia/IdentityRegistry.json +292 -47
- package/dist/index.d.ts +0 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -23
- package/package.json +3 -3
- package/deployments/localhost/.chainId +0 -1
- package/deployments/localhost/ComplianceRules.json +0 -659
- package/deployments/localhost/CompliantERC20.json +0 -884
- package/deployments/localhost/IdentityRegistry.json +0 -1093
- package/deployments/sepolia/.gitkeep +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -34,11 +34,6 @@ export declare const ADDRESSES: {
|
|
|
34
34
|
readonly ComplianceRules: string;
|
|
35
35
|
readonly CompliantERC20: string;
|
|
36
36
|
};
|
|
37
|
-
readonly localhost: {
|
|
38
|
-
readonly IdentityRegistry: string;
|
|
39
|
-
readonly ComplianceRules: string;
|
|
40
|
-
readonly CompliantERC20: string;
|
|
41
|
-
};
|
|
42
37
|
};
|
|
43
38
|
export declare const ABIS: {
|
|
44
39
|
readonly IdentityRegistry: ({
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,eAAO,MAAM,cAAc,oEAAqE,CAAC;AAEjG,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAqB,CAAC;AACrD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoB,CAAC;AAEnD,wBAAgB,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,kBAAkB,CAQtE;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAE3D;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAEjE;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,EAAE,CAI9D;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,CAOjF;AAED,wBAAgB,oBAAoB,CAClC,gBAAgB,EAAE,WAAW,GAAG,MAAM,EACtC,OAAO,CAAC,EAAE;IACR,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACxC,GACA,iBAAiB,CAcnB;AAED,wBAAgB,wBAAwB,CACtC,gBAAgB,EAAE,WAAW,GAAG,MAAM,EACtC,OAAO,CAAC,EAAE;IACR,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACxC,GACA,iBAAiB,CAmBnB"}
|
package/dist/index.js
CHANGED
|
@@ -21,9 +21,6 @@ const ComplianceRules_json_1 = __importDefault(require("../abi/ComplianceRules.j
|
|
|
21
21
|
const CompliantERC20_json_1 = __importDefault(require("../abi/CompliantERC20.json"));
|
|
22
22
|
const IdentityRegistry_json_1 = __importDefault(require("../abi/IdentityRegistry.json"));
|
|
23
23
|
const addresses_json_1 = __importDefault(require("../deployments/hardhat/addresses.json"));
|
|
24
|
-
const ComplianceRules_json_2 = __importDefault(require("../deployments/localhost/ComplianceRules.json"));
|
|
25
|
-
const CompliantERC20_json_2 = __importDefault(require("../deployments/localhost/CompliantERC20.json"));
|
|
26
|
-
const IdentityRegistry_json_2 = __importDefault(require("../deployments/localhost/IdentityRegistry.json"));
|
|
27
24
|
exports.CONTRACT_NAMES = ["IdentityRegistry", "ComplianceRules", "CompliantERC20"];
|
|
28
25
|
const hardhatAddresses = addresses_json_1.default;
|
|
29
26
|
exports.CHAIN_ID_BY_NETWORK = {
|
|
@@ -43,21 +40,6 @@ exports.DEPLOYMENTS = {
|
|
|
43
40
|
CompliantERC20: hardhatAddresses.contracts.CompliantERC20,
|
|
44
41
|
},
|
|
45
42
|
},
|
|
46
|
-
localhost: {
|
|
47
|
-
network: "localhost",
|
|
48
|
-
chainId: exports.CHAIN_ID_BY_NETWORK.localhost,
|
|
49
|
-
contracts: {
|
|
50
|
-
IdentityRegistry: {
|
|
51
|
-
address: IdentityRegistry_json_2.default.address,
|
|
52
|
-
},
|
|
53
|
-
ComplianceRules: {
|
|
54
|
-
address: ComplianceRules_json_2.default.address,
|
|
55
|
-
},
|
|
56
|
-
CompliantERC20: {
|
|
57
|
-
address: CompliantERC20_json_2.default.address,
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
43
|
};
|
|
62
44
|
exports.ADDRESSES = {
|
|
63
45
|
hardhat: {
|
|
@@ -65,11 +47,6 @@ exports.ADDRESSES = {
|
|
|
65
47
|
ComplianceRules: hardhatAddresses.contracts.ComplianceRules.address,
|
|
66
48
|
CompliantERC20: hardhatAddresses.contracts.CompliantERC20.address,
|
|
67
49
|
},
|
|
68
|
-
localhost: {
|
|
69
|
-
IdentityRegistry: IdentityRegistry_json_2.default.address,
|
|
70
|
-
ComplianceRules: ComplianceRules_json_2.default.address,
|
|
71
|
-
CompliantERC20: CompliantERC20_json_2.default.address,
|
|
72
|
-
},
|
|
73
50
|
};
|
|
74
51
|
exports.ABIS = {
|
|
75
52
|
IdentityRegistry: IdentityRegistry_json_1.default,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zentity/fhevm-contracts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "fhEVM smart contracts for Zentity privacy-preserving identity attestations",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"print:deployments": "bun scripts/print-deployments.ts",
|
|
54
54
|
"build": "bun run compile && bun run typechain && bun run export-abi && tsc -p tsconfig.build.json",
|
|
55
55
|
"prepublishOnly": "bun run build",
|
|
56
|
-
"ci:version": "changeset version
|
|
56
|
+
"ci:version": "changeset version",
|
|
57
57
|
"ci:publish": "changeset publish",
|
|
58
58
|
"clean": "hardhat clean && rm -rf dist typechain-types abi/*.json",
|
|
59
59
|
"prepare": "husky"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@changesets/cli": "^2.29.8",
|
|
68
68
|
"@commitlint/cli": "^20.2.0",
|
|
69
69
|
"@commitlint/config-conventional": "^20.2.0",
|
|
70
|
-
"@fhevm/hardhat-plugin": "
|
|
70
|
+
"@fhevm/hardhat-plugin": "0.3.0-3",
|
|
71
71
|
"@nomicfoundation/hardhat-chai-matchers": "^2.1.0",
|
|
72
72
|
"@nomicfoundation/hardhat-toolbox": "^6.1.0",
|
|
73
73
|
"@openzeppelin/contracts": "^5.4.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
31337
|