@zentity/fhevm-contracts 0.3.0 → 0.4.0

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.
Files changed (117) hide show
  1. package/abi/ComplianceRules.json +25 -16
  2. package/abi/CompliantERC20.json +30 -16
  3. package/abi/IdentityRegistry.json +496 -119
  4. package/contracts/compliance/ComplianceRules.sol +40 -189
  5. package/contracts/core/IdentityRegistry.sol +280 -232
  6. package/contracts/interfaces/IComplianceRules.sol +30 -0
  7. package/contracts/interfaces/IIdentityRegistry.sol +133 -159
  8. package/contracts/proxy/ERC1967Proxy.sol +6 -0
  9. package/contracts/test/MockFacilitator.sol +40 -0
  10. package/contracts/tokens/CompliantERC20.sol +28 -242
  11. package/deployments/hardhat/addresses.json +3 -8
  12. package/dist/index.d.ts +175 -9
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +44 -1
  15. package/package.json +1 -1
  16. package/typechain-types/@openzeppelin/contracts/access/Ownable.ts +153 -0
  17. package/typechain-types/@openzeppelin/contracts/access/Ownable2Step.ts +217 -0
  18. package/typechain-types/@openzeppelin/contracts/access/index.ts +5 -0
  19. package/typechain-types/@openzeppelin/contracts/index.ts +11 -0
  20. package/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.ts +168 -0
  21. package/typechain-types/@openzeppelin/contracts/interfaces/IERC5267.ts +151 -0
  22. package/typechain-types/{contracts/tokens/CompliantERC20.sol/IComplianceChecker.ts → @openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts} +12 -17
  23. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
  24. package/typechain-types/@openzeppelin/contracts/interfaces/index.ts +7 -0
  25. package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +105 -0
  26. package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.ts +69 -0
  27. package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
  28. package/typechain-types/@openzeppelin/contracts/proxy/Proxy.ts +69 -0
  29. package/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +90 -0
  30. package/typechain-types/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
  31. package/typechain-types/@openzeppelin/contracts/proxy/index.ts +8 -0
  32. package/typechain-types/@openzeppelin/contracts/utils/Address.ts +69 -0
  33. package/typechain-types/@openzeppelin/contracts/utils/Errors.ts +69 -0
  34. package/typechain-types/@openzeppelin/contracts/utils/Strings.ts +69 -0
  35. package/typechain-types/@openzeppelin/contracts/utils/cryptography/ECDSA.ts +69 -0
  36. package/typechain-types/@openzeppelin/contracts/utils/cryptography/index.ts +4 -0
  37. package/typechain-types/@openzeppelin/contracts/utils/index.ts +10 -0
  38. package/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.ts +69 -0
  39. package/typechain-types/@openzeppelin/contracts/utils/math/index.ts +4 -0
  40. package/typechain-types/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.ts +251 -0
  41. package/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +186 -0
  42. package/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts +5 -0
  43. package/typechain-types/@openzeppelin/contracts-upgradeable/index.ts +9 -0
  44. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.ts +5 -0
  45. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +105 -0
  46. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts +196 -0
  47. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
  48. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +105 -0
  49. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.ts +184 -0
  50. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts +4 -0
  51. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.ts +6 -0
  52. package/typechain-types/@openzeppelin/index.ts +7 -0
  53. package/typechain-types/contracts/compliance/ComplianceRules.ts +18 -7
  54. package/typechain-types/contracts/core/IdentityRegistry.ts +493 -233
  55. package/typechain-types/contracts/index.ts +2 -0
  56. package/typechain-types/contracts/interfaces/IComplianceRules.ts +290 -0
  57. package/typechain-types/contracts/interfaces/IIdentityRegistry.ts +269 -341
  58. package/typechain-types/contracts/interfaces/index.ts +1 -0
  59. package/typechain-types/contracts/test/MockFacilitator.ts +187 -0
  60. package/typechain-types/contracts/test/index.ts +4 -0
  61. package/typechain-types/contracts/tokens/{CompliantERC20.sol/CompliantERC20.ts → CompliantERC20.ts} +19 -8
  62. package/typechain-types/contracts/tokens/index.ts +1 -2
  63. package/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.ts +138 -0
  64. package/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +96 -0
  65. package/typechain-types/factories/@openzeppelin/contracts/access/index.ts +5 -0
  66. package/typechain-types/factories/@openzeppelin/contracts/index.ts +7 -0
  67. package/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts +67 -0
  68. package/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC5267__factory.ts +71 -0
  69. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +38 -0
  70. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
  71. package/typechain-types/factories/@openzeppelin/contracts/interfaces/index.ts +6 -0
  72. package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +144 -0
  73. package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts +105 -0
  74. package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
  75. package/typechain-types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +26 -0
  76. package/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +35 -0
  77. package/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
  78. package/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts +6 -0
  79. package/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.ts +75 -0
  80. package/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.ts +101 -0
  81. package/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts +90 -0
  82. package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.ts +91 -0
  83. package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.ts +4 -0
  84. package/typechain-types/factories/@openzeppelin/contracts/utils/index.ts +8 -0
  85. package/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts +118 -0
  86. package/typechain-types/factories/@openzeppelin/contracts/utils/math/index.ts +4 -0
  87. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable__factory.ts +165 -0
  88. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +122 -0
  89. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +5 -0
  90. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.ts +6 -0
  91. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +4 -0
  92. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +48 -0
  93. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts +153 -0
  94. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
  95. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +48 -0
  96. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable__factory.ts +97 -0
  97. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts +4 -0
  98. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
  99. package/typechain-types/factories/@openzeppelin/index.ts +5 -0
  100. package/typechain-types/factories/contracts/compliance/ComplianceRules__factory.ts +26 -17
  101. package/typechain-types/factories/contracts/core/IdentityRegistry__factory.ts +493 -116
  102. package/typechain-types/factories/contracts/index.ts +1 -0
  103. package/typechain-types/factories/contracts/interfaces/IComplianceRules__factory.ts +193 -0
  104. package/typechain-types/factories/contracts/interfaces/IIdentityRegistry__factory.ts +236 -186
  105. package/typechain-types/factories/contracts/interfaces/index.ts +1 -0
  106. package/typechain-types/factories/contracts/test/MockFacilitator__factory.ts +194 -0
  107. package/typechain-types/factories/contracts/test/index.ts +4 -0
  108. package/typechain-types/factories/contracts/tokens/CompliantERC20__factory.ts +595 -0
  109. package/typechain-types/factories/contracts/tokens/index.ts +1 -1
  110. package/typechain-types/factories/index.ts +1 -0
  111. package/typechain-types/hardhat.d.ts +394 -16
  112. package/typechain-types/index.ts +48 -4
  113. package/deployments/hardhat/.chainId +0 -1
  114. package/typechain-types/contracts/tokens/CompliantERC20.sol/index.ts +0 -5
  115. package/typechain-types/factories/contracts/tokens/CompliantERC20.sol/CompliantERC20__factory.ts +0 -581
  116. package/typechain-types/factories/contracts/tokens/CompliantERC20.sol/IComplianceChecker__factory.ts +0 -44
  117. package/typechain-types/factories/contracts/tokens/CompliantERC20.sol/index.ts +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,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;IACz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AAM;;;;;EAO7E;AAED,gFAAgF;AAChF,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAID,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
@@ -8,7 +8,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.CompliantERC20ABI = exports.ComplianceRulesABI = exports.IdentityRegistryABI = exports.ABIS = exports.ADDRESSES = exports.DEPLOYMENTS = exports.CHAIN_ID_BY_NETWORK = exports.CONTRACT_NAMES = void 0;
11
+ exports.ATTEST_PERMIT_TYPES = exports.Purpose = exports.ATTR = exports.CompliantERC20ABI = exports.ComplianceRulesABI = exports.IdentityRegistryABI = exports.ABIS = exports.ADDRESSES = exports.DEPLOYMENTS = exports.CHAIN_ID_BY_NETWORK = exports.CONTRACT_NAMES = void 0;
12
12
  exports.getAbi = getAbi;
13
13
  exports.getDeployment = getDeployment;
14
14
  exports.hasDeployment = hasDeployment;
@@ -16,6 +16,7 @@ exports.isNetworkName = isNetworkName;
16
16
  exports.getNetworkNames = getNetworkNames;
17
17
  exports.getNetworkName = getNetworkName;
18
18
  exports.getContractAddresses = getContractAddresses;
19
+ exports.getAttestPermitDomain = getAttestPermitDomain;
19
20
  exports.resolveContractAddresses = resolveContractAddresses;
20
21
  const ComplianceRules_json_1 = __importDefault(require("../abi/ComplianceRules.json"));
21
22
  const CompliantERC20_json_1 = __importDefault(require("../abi/CompliantERC20.json"));
@@ -108,6 +109,48 @@ function getContractAddresses(networkOrChainId, options) {
108
109
  };
109
110
  return { ...base, ...(options?.overrides ?? {}) };
110
111
  }
112
+ // ============ v2: EIP-712 Permit Types ============
113
+ /** Attribute bitmask constants for grantAttributeAccess */
114
+ exports.ATTR = {
115
+ BIRTH_YEAR: 0x01,
116
+ COUNTRY: 0x02,
117
+ COMPLIANCE: 0x04,
118
+ BLACKLIST: 0x08,
119
+ ALL: 0x0f,
120
+ };
121
+ /** Purpose enum matching the Solidity `IIdentityRegistry.Purpose` */
122
+ var Purpose;
123
+ (function (Purpose) {
124
+ Purpose[Purpose["COMPLIANCE_CHECK"] = 0] = "COMPLIANCE_CHECK";
125
+ Purpose[Purpose["AGE_VERIFICATION"] = 1] = "AGE_VERIFICATION";
126
+ Purpose[Purpose["NATIONALITY_CHECK"] = 2] = "NATIONALITY_CHECK";
127
+ Purpose[Purpose["TRANSFER_GATING"] = 3] = "TRANSFER_GATING";
128
+ Purpose[Purpose["AUDIT"] = 4] = "AUDIT";
129
+ })(Purpose || (exports.Purpose = Purpose = {}));
130
+ /** EIP-712 type definition for the attestation permit (compatible with ethers/viem signTypedData) */
131
+ exports.ATTEST_PERMIT_TYPES = {
132
+ AttestPermit: [
133
+ { name: "user", type: "address" },
134
+ { name: "birthYearOffset", type: "uint8" },
135
+ { name: "countryCode", type: "uint16" },
136
+ { name: "complianceLevel", type: "uint8" },
137
+ { name: "isBlacklisted", type: "bool" },
138
+ { name: "proofSetHash", type: "bytes32" },
139
+ { name: "policyVersion", type: "uint32" },
140
+ { name: "nonce", type: "uint256" },
141
+ { name: "deadline", type: "uint256" },
142
+ ],
143
+ };
144
+ /** Build the EIP-712 domain for attestation permit signing */
145
+ function getAttestPermitDomain(chainId, registryAddress) {
146
+ return {
147
+ name: "ZentityIdentityRegistry",
148
+ version: "2",
149
+ chainId,
150
+ verifyingContract: registryAddress,
151
+ };
152
+ }
153
+ // ============ Address Resolution ============
111
154
  function resolveContractAddresses(networkOrChainId, options) {
112
155
  const network = typeof networkOrChainId === "number"
113
156
  ? getNetworkName(networkOrChainId, options?.prefer)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zentity/fhevm-contracts",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
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",
@@ -0,0 +1,153 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ BytesLike,
7
+ FunctionFragment,
8
+ Result,
9
+ Interface,
10
+ EventFragment,
11
+ AddressLike,
12
+ ContractRunner,
13
+ ContractMethod,
14
+ Listener,
15
+ } from "ethers";
16
+ import type {
17
+ TypedContractEvent,
18
+ TypedDeferredTopicFilter,
19
+ TypedEventLog,
20
+ TypedLogDescription,
21
+ TypedListener,
22
+ TypedContractMethod,
23
+ } from "../../../common";
24
+
25
+ export interface OwnableInterface extends Interface {
26
+ getFunction(
27
+ nameOrSignature: "owner" | "renounceOwnership" | "transferOwnership"
28
+ ): FunctionFragment;
29
+
30
+ getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
31
+
32
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
33
+ encodeFunctionData(
34
+ functionFragment: "renounceOwnership",
35
+ values?: undefined
36
+ ): string;
37
+ encodeFunctionData(
38
+ functionFragment: "transferOwnership",
39
+ values: [AddressLike]
40
+ ): string;
41
+
42
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
43
+ decodeFunctionResult(
44
+ functionFragment: "renounceOwnership",
45
+ data: BytesLike
46
+ ): Result;
47
+ decodeFunctionResult(
48
+ functionFragment: "transferOwnership",
49
+ data: BytesLike
50
+ ): Result;
51
+ }
52
+
53
+ export namespace OwnershipTransferredEvent {
54
+ export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
55
+ export type OutputTuple = [previousOwner: string, newOwner: string];
56
+ export interface OutputObject {
57
+ previousOwner: string;
58
+ newOwner: string;
59
+ }
60
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
61
+ export type Filter = TypedDeferredTopicFilter<Event>;
62
+ export type Log = TypedEventLog<Event>;
63
+ export type LogDescription = TypedLogDescription<Event>;
64
+ }
65
+
66
+ export interface Ownable extends BaseContract {
67
+ connect(runner?: ContractRunner | null): Ownable;
68
+ waitForDeployment(): Promise<this>;
69
+
70
+ interface: OwnableInterface;
71
+
72
+ queryFilter<TCEvent extends TypedContractEvent>(
73
+ event: TCEvent,
74
+ fromBlockOrBlockhash?: string | number | undefined,
75
+ toBlock?: string | number | undefined
76
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
77
+ queryFilter<TCEvent extends TypedContractEvent>(
78
+ filter: TypedDeferredTopicFilter<TCEvent>,
79
+ fromBlockOrBlockhash?: string | number | undefined,
80
+ toBlock?: string | number | undefined
81
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
82
+
83
+ on<TCEvent extends TypedContractEvent>(
84
+ event: TCEvent,
85
+ listener: TypedListener<TCEvent>
86
+ ): Promise<this>;
87
+ on<TCEvent extends TypedContractEvent>(
88
+ filter: TypedDeferredTopicFilter<TCEvent>,
89
+ listener: TypedListener<TCEvent>
90
+ ): Promise<this>;
91
+
92
+ once<TCEvent extends TypedContractEvent>(
93
+ event: TCEvent,
94
+ listener: TypedListener<TCEvent>
95
+ ): Promise<this>;
96
+ once<TCEvent extends TypedContractEvent>(
97
+ filter: TypedDeferredTopicFilter<TCEvent>,
98
+ listener: TypedListener<TCEvent>
99
+ ): Promise<this>;
100
+
101
+ listeners<TCEvent extends TypedContractEvent>(
102
+ event: TCEvent
103
+ ): Promise<Array<TypedListener<TCEvent>>>;
104
+ listeners(eventName?: string): Promise<Array<Listener>>;
105
+ removeAllListeners<TCEvent extends TypedContractEvent>(
106
+ event?: TCEvent
107
+ ): Promise<this>;
108
+
109
+ owner: TypedContractMethod<[], [string], "view">;
110
+
111
+ renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
112
+
113
+ transferOwnership: TypedContractMethod<
114
+ [newOwner: AddressLike],
115
+ [void],
116
+ "nonpayable"
117
+ >;
118
+
119
+ getFunction<T extends ContractMethod = ContractMethod>(
120
+ key: string | FunctionFragment
121
+ ): T;
122
+
123
+ getFunction(
124
+ nameOrSignature: "owner"
125
+ ): TypedContractMethod<[], [string], "view">;
126
+ getFunction(
127
+ nameOrSignature: "renounceOwnership"
128
+ ): TypedContractMethod<[], [void], "nonpayable">;
129
+ getFunction(
130
+ nameOrSignature: "transferOwnership"
131
+ ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
132
+
133
+ getEvent(
134
+ key: "OwnershipTransferred"
135
+ ): TypedContractEvent<
136
+ OwnershipTransferredEvent.InputTuple,
137
+ OwnershipTransferredEvent.OutputTuple,
138
+ OwnershipTransferredEvent.OutputObject
139
+ >;
140
+
141
+ filters: {
142
+ "OwnershipTransferred(address,address)": TypedContractEvent<
143
+ OwnershipTransferredEvent.InputTuple,
144
+ OwnershipTransferredEvent.OutputTuple,
145
+ OwnershipTransferredEvent.OutputObject
146
+ >;
147
+ OwnershipTransferred: TypedContractEvent<
148
+ OwnershipTransferredEvent.InputTuple,
149
+ OwnershipTransferredEvent.OutputTuple,
150
+ OwnershipTransferredEvent.OutputObject
151
+ >;
152
+ };
153
+ }
@@ -0,0 +1,217 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ BytesLike,
7
+ FunctionFragment,
8
+ Result,
9
+ Interface,
10
+ EventFragment,
11
+ AddressLike,
12
+ ContractRunner,
13
+ ContractMethod,
14
+ Listener,
15
+ } from "ethers";
16
+ import type {
17
+ TypedContractEvent,
18
+ TypedDeferredTopicFilter,
19
+ TypedEventLog,
20
+ TypedLogDescription,
21
+ TypedListener,
22
+ TypedContractMethod,
23
+ } from "../../../common";
24
+
25
+ export interface Ownable2StepInterface extends Interface {
26
+ getFunction(
27
+ nameOrSignature:
28
+ | "acceptOwnership"
29
+ | "owner"
30
+ | "pendingOwner"
31
+ | "renounceOwnership"
32
+ | "transferOwnership"
33
+ ): FunctionFragment;
34
+
35
+ getEvent(
36
+ nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred"
37
+ ): EventFragment;
38
+
39
+ encodeFunctionData(
40
+ functionFragment: "acceptOwnership",
41
+ values?: undefined
42
+ ): string;
43
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
44
+ encodeFunctionData(
45
+ functionFragment: "pendingOwner",
46
+ values?: undefined
47
+ ): string;
48
+ encodeFunctionData(
49
+ functionFragment: "renounceOwnership",
50
+ values?: undefined
51
+ ): string;
52
+ encodeFunctionData(
53
+ functionFragment: "transferOwnership",
54
+ values: [AddressLike]
55
+ ): string;
56
+
57
+ decodeFunctionResult(
58
+ functionFragment: "acceptOwnership",
59
+ data: BytesLike
60
+ ): Result;
61
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
62
+ decodeFunctionResult(
63
+ functionFragment: "pendingOwner",
64
+ data: BytesLike
65
+ ): Result;
66
+ decodeFunctionResult(
67
+ functionFragment: "renounceOwnership",
68
+ data: BytesLike
69
+ ): Result;
70
+ decodeFunctionResult(
71
+ functionFragment: "transferOwnership",
72
+ data: BytesLike
73
+ ): Result;
74
+ }
75
+
76
+ export namespace OwnershipTransferStartedEvent {
77
+ export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
78
+ export type OutputTuple = [previousOwner: string, newOwner: string];
79
+ export interface OutputObject {
80
+ previousOwner: string;
81
+ newOwner: string;
82
+ }
83
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
84
+ export type Filter = TypedDeferredTopicFilter<Event>;
85
+ export type Log = TypedEventLog<Event>;
86
+ export type LogDescription = TypedLogDescription<Event>;
87
+ }
88
+
89
+ export namespace OwnershipTransferredEvent {
90
+ export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
91
+ export type OutputTuple = [previousOwner: string, newOwner: string];
92
+ export interface OutputObject {
93
+ previousOwner: string;
94
+ newOwner: string;
95
+ }
96
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
97
+ export type Filter = TypedDeferredTopicFilter<Event>;
98
+ export type Log = TypedEventLog<Event>;
99
+ export type LogDescription = TypedLogDescription<Event>;
100
+ }
101
+
102
+ export interface Ownable2Step extends BaseContract {
103
+ connect(runner?: ContractRunner | null): Ownable2Step;
104
+ waitForDeployment(): Promise<this>;
105
+
106
+ interface: Ownable2StepInterface;
107
+
108
+ queryFilter<TCEvent extends TypedContractEvent>(
109
+ event: TCEvent,
110
+ fromBlockOrBlockhash?: string | number | undefined,
111
+ toBlock?: string | number | undefined
112
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
113
+ queryFilter<TCEvent extends TypedContractEvent>(
114
+ filter: TypedDeferredTopicFilter<TCEvent>,
115
+ fromBlockOrBlockhash?: string | number | undefined,
116
+ toBlock?: string | number | undefined
117
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
118
+
119
+ on<TCEvent extends TypedContractEvent>(
120
+ event: TCEvent,
121
+ listener: TypedListener<TCEvent>
122
+ ): Promise<this>;
123
+ on<TCEvent extends TypedContractEvent>(
124
+ filter: TypedDeferredTopicFilter<TCEvent>,
125
+ listener: TypedListener<TCEvent>
126
+ ): Promise<this>;
127
+
128
+ once<TCEvent extends TypedContractEvent>(
129
+ event: TCEvent,
130
+ listener: TypedListener<TCEvent>
131
+ ): Promise<this>;
132
+ once<TCEvent extends TypedContractEvent>(
133
+ filter: TypedDeferredTopicFilter<TCEvent>,
134
+ listener: TypedListener<TCEvent>
135
+ ): Promise<this>;
136
+
137
+ listeners<TCEvent extends TypedContractEvent>(
138
+ event: TCEvent
139
+ ): Promise<Array<TypedListener<TCEvent>>>;
140
+ listeners(eventName?: string): Promise<Array<Listener>>;
141
+ removeAllListeners<TCEvent extends TypedContractEvent>(
142
+ event?: TCEvent
143
+ ): Promise<this>;
144
+
145
+ acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
146
+
147
+ owner: TypedContractMethod<[], [string], "view">;
148
+
149
+ pendingOwner: TypedContractMethod<[], [string], "view">;
150
+
151
+ renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
152
+
153
+ transferOwnership: TypedContractMethod<
154
+ [newOwner: AddressLike],
155
+ [void],
156
+ "nonpayable"
157
+ >;
158
+
159
+ getFunction<T extends ContractMethod = ContractMethod>(
160
+ key: string | FunctionFragment
161
+ ): T;
162
+
163
+ getFunction(
164
+ nameOrSignature: "acceptOwnership"
165
+ ): TypedContractMethod<[], [void], "nonpayable">;
166
+ getFunction(
167
+ nameOrSignature: "owner"
168
+ ): TypedContractMethod<[], [string], "view">;
169
+ getFunction(
170
+ nameOrSignature: "pendingOwner"
171
+ ): TypedContractMethod<[], [string], "view">;
172
+ getFunction(
173
+ nameOrSignature: "renounceOwnership"
174
+ ): TypedContractMethod<[], [void], "nonpayable">;
175
+ getFunction(
176
+ nameOrSignature: "transferOwnership"
177
+ ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
178
+
179
+ getEvent(
180
+ key: "OwnershipTransferStarted"
181
+ ): TypedContractEvent<
182
+ OwnershipTransferStartedEvent.InputTuple,
183
+ OwnershipTransferStartedEvent.OutputTuple,
184
+ OwnershipTransferStartedEvent.OutputObject
185
+ >;
186
+ getEvent(
187
+ key: "OwnershipTransferred"
188
+ ): TypedContractEvent<
189
+ OwnershipTransferredEvent.InputTuple,
190
+ OwnershipTransferredEvent.OutputTuple,
191
+ OwnershipTransferredEvent.OutputObject
192
+ >;
193
+
194
+ filters: {
195
+ "OwnershipTransferStarted(address,address)": TypedContractEvent<
196
+ OwnershipTransferStartedEvent.InputTuple,
197
+ OwnershipTransferStartedEvent.OutputTuple,
198
+ OwnershipTransferStartedEvent.OutputObject
199
+ >;
200
+ OwnershipTransferStarted: TypedContractEvent<
201
+ OwnershipTransferStartedEvent.InputTuple,
202
+ OwnershipTransferStartedEvent.OutputTuple,
203
+ OwnershipTransferStartedEvent.OutputObject
204
+ >;
205
+
206
+ "OwnershipTransferred(address,address)": TypedContractEvent<
207
+ OwnershipTransferredEvent.InputTuple,
208
+ OwnershipTransferredEvent.OutputTuple,
209
+ OwnershipTransferredEvent.OutputObject
210
+ >;
211
+ OwnershipTransferred: TypedContractEvent<
212
+ OwnershipTransferredEvent.InputTuple,
213
+ OwnershipTransferredEvent.OutputTuple,
214
+ OwnershipTransferredEvent.OutputObject
215
+ >;
216
+ };
217
+ }
@@ -0,0 +1,5 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export type { Ownable } from "./Ownable";
5
+ export type { Ownable2Step } from "./Ownable2Step";
@@ -0,0 +1,11 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type * as access from "./access";
5
+ export type { access };
6
+ import type * as interfaces from "./interfaces";
7
+ export type { interfaces };
8
+ import type * as proxy from "./proxy";
9
+ export type { proxy };
10
+ import type * as utils from "./utils";
11
+ export type { utils };
@@ -0,0 +1,168 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ FunctionFragment,
7
+ Interface,
8
+ EventFragment,
9
+ AddressLike,
10
+ ContractRunner,
11
+ ContractMethod,
12
+ Listener,
13
+ } from "ethers";
14
+ import type {
15
+ TypedContractEvent,
16
+ TypedDeferredTopicFilter,
17
+ TypedEventLog,
18
+ TypedLogDescription,
19
+ TypedListener,
20
+ } from "../../../common";
21
+
22
+ export interface IERC1967Interface extends Interface {
23
+ getEvent(
24
+ nameOrSignatureOrTopic: "AdminChanged" | "BeaconUpgraded" | "Upgraded"
25
+ ): EventFragment;
26
+ }
27
+
28
+ export namespace AdminChangedEvent {
29
+ export type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike];
30
+ export type OutputTuple = [previousAdmin: string, newAdmin: string];
31
+ export interface OutputObject {
32
+ previousAdmin: string;
33
+ newAdmin: string;
34
+ }
35
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
36
+ export type Filter = TypedDeferredTopicFilter<Event>;
37
+ export type Log = TypedEventLog<Event>;
38
+ export type LogDescription = TypedLogDescription<Event>;
39
+ }
40
+
41
+ export namespace BeaconUpgradedEvent {
42
+ export type InputTuple = [beacon: AddressLike];
43
+ export type OutputTuple = [beacon: string];
44
+ export interface OutputObject {
45
+ beacon: string;
46
+ }
47
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
48
+ export type Filter = TypedDeferredTopicFilter<Event>;
49
+ export type Log = TypedEventLog<Event>;
50
+ export type LogDescription = TypedLogDescription<Event>;
51
+ }
52
+
53
+ export namespace UpgradedEvent {
54
+ export type InputTuple = [implementation: AddressLike];
55
+ export type OutputTuple = [implementation: string];
56
+ export interface OutputObject {
57
+ implementation: string;
58
+ }
59
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
60
+ export type Filter = TypedDeferredTopicFilter<Event>;
61
+ export type Log = TypedEventLog<Event>;
62
+ export type LogDescription = TypedLogDescription<Event>;
63
+ }
64
+
65
+ export interface IERC1967 extends BaseContract {
66
+ connect(runner?: ContractRunner | null): IERC1967;
67
+ waitForDeployment(): Promise<this>;
68
+
69
+ interface: IERC1967Interface;
70
+
71
+ queryFilter<TCEvent extends TypedContractEvent>(
72
+ event: TCEvent,
73
+ fromBlockOrBlockhash?: string | number | undefined,
74
+ toBlock?: string | number | undefined
75
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
76
+ queryFilter<TCEvent extends TypedContractEvent>(
77
+ filter: TypedDeferredTopicFilter<TCEvent>,
78
+ fromBlockOrBlockhash?: string | number | undefined,
79
+ toBlock?: string | number | undefined
80
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
81
+
82
+ on<TCEvent extends TypedContractEvent>(
83
+ event: TCEvent,
84
+ listener: TypedListener<TCEvent>
85
+ ): Promise<this>;
86
+ on<TCEvent extends TypedContractEvent>(
87
+ filter: TypedDeferredTopicFilter<TCEvent>,
88
+ listener: TypedListener<TCEvent>
89
+ ): Promise<this>;
90
+
91
+ once<TCEvent extends TypedContractEvent>(
92
+ event: TCEvent,
93
+ listener: TypedListener<TCEvent>
94
+ ): Promise<this>;
95
+ once<TCEvent extends TypedContractEvent>(
96
+ filter: TypedDeferredTopicFilter<TCEvent>,
97
+ listener: TypedListener<TCEvent>
98
+ ): Promise<this>;
99
+
100
+ listeners<TCEvent extends TypedContractEvent>(
101
+ event: TCEvent
102
+ ): Promise<Array<TypedListener<TCEvent>>>;
103
+ listeners(eventName?: string): Promise<Array<Listener>>;
104
+ removeAllListeners<TCEvent extends TypedContractEvent>(
105
+ event?: TCEvent
106
+ ): Promise<this>;
107
+
108
+ getFunction<T extends ContractMethod = ContractMethod>(
109
+ key: string | FunctionFragment
110
+ ): T;
111
+
112
+ getEvent(
113
+ key: "AdminChanged"
114
+ ): TypedContractEvent<
115
+ AdminChangedEvent.InputTuple,
116
+ AdminChangedEvent.OutputTuple,
117
+ AdminChangedEvent.OutputObject
118
+ >;
119
+ getEvent(
120
+ key: "BeaconUpgraded"
121
+ ): TypedContractEvent<
122
+ BeaconUpgradedEvent.InputTuple,
123
+ BeaconUpgradedEvent.OutputTuple,
124
+ BeaconUpgradedEvent.OutputObject
125
+ >;
126
+ getEvent(
127
+ key: "Upgraded"
128
+ ): TypedContractEvent<
129
+ UpgradedEvent.InputTuple,
130
+ UpgradedEvent.OutputTuple,
131
+ UpgradedEvent.OutputObject
132
+ >;
133
+
134
+ filters: {
135
+ "AdminChanged(address,address)": TypedContractEvent<
136
+ AdminChangedEvent.InputTuple,
137
+ AdminChangedEvent.OutputTuple,
138
+ AdminChangedEvent.OutputObject
139
+ >;
140
+ AdminChanged: TypedContractEvent<
141
+ AdminChangedEvent.InputTuple,
142
+ AdminChangedEvent.OutputTuple,
143
+ AdminChangedEvent.OutputObject
144
+ >;
145
+
146
+ "BeaconUpgraded(address)": TypedContractEvent<
147
+ BeaconUpgradedEvent.InputTuple,
148
+ BeaconUpgradedEvent.OutputTuple,
149
+ BeaconUpgradedEvent.OutputObject
150
+ >;
151
+ BeaconUpgraded: TypedContractEvent<
152
+ BeaconUpgradedEvent.InputTuple,
153
+ BeaconUpgradedEvent.OutputTuple,
154
+ BeaconUpgradedEvent.OutputObject
155
+ >;
156
+
157
+ "Upgraded(address)": TypedContractEvent<
158
+ UpgradedEvent.InputTuple,
159
+ UpgradedEvent.OutputTuple,
160
+ UpgradedEvent.OutputObject
161
+ >;
162
+ Upgraded: TypedContractEvent<
163
+ UpgradedEvent.InputTuple,
164
+ UpgradedEvent.OutputTuple,
165
+ UpgradedEvent.OutputObject
166
+ >;
167
+ };
168
+ }