@zentity/fhevm-contracts 0.3.0 → 0.4.1
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/abi/ComplianceRules.json +25 -16
- package/abi/CompliantERC20.json +30 -16
- package/abi/IdentityRegistry.json +496 -119
- package/contracts/compliance/ComplianceRules.sol +40 -189
- package/contracts/core/IdentityRegistry.sol +280 -232
- package/contracts/interfaces/IComplianceRules.sol +30 -0
- package/contracts/interfaces/IIdentityRegistry.sol +133 -159
- package/contracts/proxy/ERC1967Proxy.sol +6 -0
- package/contracts/test/MockFacilitator.sol +40 -0
- package/contracts/tokens/CompliantERC20.sol +28 -242
- package/deployments/hardhat/addresses.json +3 -8
- package/deployments/sepolia/ComplianceRules.json +91 -207
- package/deployments/sepolia/CompliantERC20.json +114 -293
- package/deployments/sepolia/IdentityRegistry.json +498 -742
- package/deployments/sepolia/IdentityRegistry_Implementation.json +1698 -0
- package/deployments/sepolia/IdentityRegistry_Proxy.json +192 -0
- package/deployments/sepolia/addresses.json +5 -6
- package/dist/index.d.ts +175 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +44 -1
- package/package.json +1 -1
- package/typechain-types/@openzeppelin/contracts/access/Ownable.ts +153 -0
- package/typechain-types/@openzeppelin/contracts/access/Ownable2Step.ts +217 -0
- package/typechain-types/@openzeppelin/contracts/access/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts/index.ts +11 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.ts +168 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/IERC5267.ts +151 -0
- package/typechain-types/{contracts/tokens/CompliantERC20.sol/IComplianceChecker.ts → @openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts} +12 -17
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/index.ts +7 -0
- package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +105 -0
- package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts/proxy/Proxy.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +90 -0
- package/typechain-types/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/proxy/index.ts +8 -0
- package/typechain-types/@openzeppelin/contracts/utils/Address.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/Errors.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/Strings.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/cryptography/ECDSA.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/cryptography/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/utils/index.ts +10 -0
- package/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/math/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.ts +251 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +186 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/index.ts +9 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +105 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts +196 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +105 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.ts +184 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.ts +6 -0
- package/typechain-types/@openzeppelin/index.ts +7 -0
- package/typechain-types/contracts/compliance/ComplianceRules.ts +18 -7
- package/typechain-types/contracts/core/IdentityRegistry.ts +493 -233
- package/typechain-types/contracts/index.ts +2 -0
- package/typechain-types/contracts/interfaces/IComplianceRules.ts +290 -0
- package/typechain-types/contracts/interfaces/IIdentityRegistry.ts +269 -341
- package/typechain-types/contracts/interfaces/index.ts +1 -0
- package/typechain-types/contracts/test/MockFacilitator.ts +187 -0
- package/typechain-types/contracts/test/index.ts +4 -0
- package/typechain-types/contracts/tokens/{CompliantERC20.sol/CompliantERC20.ts → CompliantERC20.ts} +19 -8
- package/typechain-types/contracts/tokens/index.ts +1 -2
- package/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.ts +138 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +96 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/index.ts +7 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts +67 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC5267__factory.ts +71 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +38 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/index.ts +6 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +144 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts +105 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +26 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +35 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts +6 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.ts +75 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.ts +101 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts +90 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.ts +91 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/index.ts +8 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts +118 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/math/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable__factory.ts +165 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +122 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.ts +6 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +48 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts +153 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +48 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable__factory.ts +97 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/index.ts +5 -0
- package/typechain-types/factories/contracts/compliance/ComplianceRules__factory.ts +26 -17
- package/typechain-types/factories/contracts/core/IdentityRegistry__factory.ts +493 -116
- package/typechain-types/factories/contracts/index.ts +1 -0
- package/typechain-types/factories/contracts/interfaces/IComplianceRules__factory.ts +193 -0
- package/typechain-types/factories/contracts/interfaces/IIdentityRegistry__factory.ts +236 -186
- package/typechain-types/factories/contracts/interfaces/index.ts +1 -0
- package/typechain-types/factories/contracts/test/MockFacilitator__factory.ts +194 -0
- package/typechain-types/factories/contracts/test/index.ts +4 -0
- package/typechain-types/factories/contracts/tokens/CompliantERC20__factory.ts +595 -0
- package/typechain-types/factories/contracts/tokens/index.ts +1 -1
- package/typechain-types/factories/index.ts +1 -0
- package/typechain-types/hardhat.d.ts +394 -16
- package/typechain-types/index.ts +48 -4
- package/deployments/hardhat/.chainId +0 -1
- package/typechain-types/contracts/tokens/CompliantERC20.sol/index.ts +0 -5
- package/typechain-types/factories/contracts/tokens/CompliantERC20.sol/CompliantERC20__factory.ts +0 -581
- package/typechain-types/factories/contracts/tokens/CompliantERC20.sol/IComplianceChecker__factory.ts +0 -44
- package/typechain-types/factories/contracts/tokens/CompliantERC20.sol/index.ts +0 -5
package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.ts
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Contract,
|
|
6
|
+
ContractFactory,
|
|
7
|
+
ContractTransactionResponse,
|
|
8
|
+
Interface,
|
|
9
|
+
} from "ethers";
|
|
10
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
11
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
|
12
|
+
import type {
|
|
13
|
+
ECDSA,
|
|
14
|
+
ECDSAInterface,
|
|
15
|
+
} from "../../../../../@openzeppelin/contracts/utils/cryptography/ECDSA";
|
|
16
|
+
|
|
17
|
+
const _abi = [
|
|
18
|
+
{
|
|
19
|
+
inputs: [],
|
|
20
|
+
name: "ECDSAInvalidSignature",
|
|
21
|
+
type: "error",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
internalType: "uint256",
|
|
27
|
+
name: "length",
|
|
28
|
+
type: "uint256",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "ECDSAInvalidSignatureLength",
|
|
32
|
+
type: "error",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
inputs: [
|
|
36
|
+
{
|
|
37
|
+
internalType: "bytes32",
|
|
38
|
+
name: "s",
|
|
39
|
+
type: "bytes32",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "ECDSAInvalidSignatureS",
|
|
43
|
+
type: "error",
|
|
44
|
+
},
|
|
45
|
+
] as const;
|
|
46
|
+
|
|
47
|
+
const _bytecode =
|
|
48
|
+
"0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea26469706673582212208119cdaf1820a0e234deb979494e5ae103e1d0f1f214d5959d92573682a39ba364736f6c634300081b0033";
|
|
49
|
+
|
|
50
|
+
type ECDSAConstructorParams =
|
|
51
|
+
| [signer?: Signer]
|
|
52
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
53
|
+
|
|
54
|
+
const isSuperArgs = (
|
|
55
|
+
xs: ECDSAConstructorParams
|
|
56
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
57
|
+
|
|
58
|
+
export class ECDSA__factory extends ContractFactory {
|
|
59
|
+
constructor(...args: ECDSAConstructorParams) {
|
|
60
|
+
if (isSuperArgs(args)) {
|
|
61
|
+
super(...args);
|
|
62
|
+
} else {
|
|
63
|
+
super(_abi, _bytecode, args[0]);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
override getDeployTransaction(
|
|
68
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
69
|
+
): Promise<ContractDeployTransaction> {
|
|
70
|
+
return super.getDeployTransaction(overrides || {});
|
|
71
|
+
}
|
|
72
|
+
override deploy(overrides?: NonPayableOverrides & { from?: string }) {
|
|
73
|
+
return super.deploy(overrides || {}) as Promise<
|
|
74
|
+
ECDSA & {
|
|
75
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
76
|
+
}
|
|
77
|
+
>;
|
|
78
|
+
}
|
|
79
|
+
override connect(runner: ContractRunner | null): ECDSA__factory {
|
|
80
|
+
return super.connect(runner) as ECDSA__factory;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static readonly bytecode = _bytecode;
|
|
84
|
+
static readonly abi = _abi;
|
|
85
|
+
static createInterface(): ECDSAInterface {
|
|
86
|
+
return new Interface(_abi) as ECDSAInterface;
|
|
87
|
+
}
|
|
88
|
+
static connect(address: string, runner?: ContractRunner | null): ECDSA {
|
|
89
|
+
return new Contract(address, _abi, runner) as unknown as ECDSA;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
export * as cryptography from "./cryptography";
|
|
5
|
+
export * as math from "./math";
|
|
6
|
+
export { Address__factory } from "./Address__factory";
|
|
7
|
+
export { Errors__factory } from "./Errors__factory";
|
|
8
|
+
export { Strings__factory } from "./Strings__factory";
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Contract,
|
|
6
|
+
ContractFactory,
|
|
7
|
+
ContractTransactionResponse,
|
|
8
|
+
Interface,
|
|
9
|
+
} from "ethers";
|
|
10
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
11
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
|
12
|
+
import type {
|
|
13
|
+
SafeCast,
|
|
14
|
+
SafeCastInterface,
|
|
15
|
+
} from "../../../../../@openzeppelin/contracts/utils/math/SafeCast";
|
|
16
|
+
|
|
17
|
+
const _abi = [
|
|
18
|
+
{
|
|
19
|
+
inputs: [
|
|
20
|
+
{
|
|
21
|
+
internalType: "uint8",
|
|
22
|
+
name: "bits",
|
|
23
|
+
type: "uint8",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "int256",
|
|
27
|
+
name: "value",
|
|
28
|
+
type: "int256",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "SafeCastOverflowedIntDowncast",
|
|
32
|
+
type: "error",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
inputs: [
|
|
36
|
+
{
|
|
37
|
+
internalType: "int256",
|
|
38
|
+
name: "value",
|
|
39
|
+
type: "int256",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "SafeCastOverflowedIntToUint",
|
|
43
|
+
type: "error",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
internalType: "uint8",
|
|
49
|
+
name: "bits",
|
|
50
|
+
type: "uint8",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "value",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
name: "SafeCastOverflowedUintDowncast",
|
|
59
|
+
type: "error",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [
|
|
63
|
+
{
|
|
64
|
+
internalType: "uint256",
|
|
65
|
+
name: "value",
|
|
66
|
+
type: "uint256",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "SafeCastOverflowedUintToInt",
|
|
70
|
+
type: "error",
|
|
71
|
+
},
|
|
72
|
+
] as const;
|
|
73
|
+
|
|
74
|
+
const _bytecode =
|
|
75
|
+
"0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea26469706673582212205e99460a3508a752ac45f9dab3b9477f441828afab9bcf0b4c674e6175d3b0a464736f6c634300081b0033";
|
|
76
|
+
|
|
77
|
+
type SafeCastConstructorParams =
|
|
78
|
+
| [signer?: Signer]
|
|
79
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
80
|
+
|
|
81
|
+
const isSuperArgs = (
|
|
82
|
+
xs: SafeCastConstructorParams
|
|
83
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
84
|
+
|
|
85
|
+
export class SafeCast__factory extends ContractFactory {
|
|
86
|
+
constructor(...args: SafeCastConstructorParams) {
|
|
87
|
+
if (isSuperArgs(args)) {
|
|
88
|
+
super(...args);
|
|
89
|
+
} else {
|
|
90
|
+
super(_abi, _bytecode, args[0]);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
override getDeployTransaction(
|
|
95
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
96
|
+
): Promise<ContractDeployTransaction> {
|
|
97
|
+
return super.getDeployTransaction(overrides || {});
|
|
98
|
+
}
|
|
99
|
+
override deploy(overrides?: NonPayableOverrides & { from?: string }) {
|
|
100
|
+
return super.deploy(overrides || {}) as Promise<
|
|
101
|
+
SafeCast & {
|
|
102
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
103
|
+
}
|
|
104
|
+
>;
|
|
105
|
+
}
|
|
106
|
+
override connect(runner: ContractRunner | null): SafeCast__factory {
|
|
107
|
+
return super.connect(runner) as SafeCast__factory;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
static readonly bytecode = _bytecode;
|
|
111
|
+
static readonly abi = _abi;
|
|
112
|
+
static createInterface(): SafeCastInterface {
|
|
113
|
+
return new Interface(_abi) as SafeCastInterface;
|
|
114
|
+
}
|
|
115
|
+
static connect(address: string, runner?: ContractRunner | null): SafeCast {
|
|
116
|
+
return new Contract(address, _abi, runner) as unknown as SafeCast;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Interface, type ContractRunner } from "ethers";
|
|
6
|
+
import type {
|
|
7
|
+
Ownable2StepUpgradeable,
|
|
8
|
+
Ownable2StepUpgradeableInterface,
|
|
9
|
+
} from "../../../../@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: "InvalidInitialization",
|
|
15
|
+
type: "error",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "NotInitializing",
|
|
20
|
+
type: "error",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
inputs: [
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "owner",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
name: "OwnableInvalidOwner",
|
|
31
|
+
type: "error",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
internalType: "address",
|
|
37
|
+
name: "account",
|
|
38
|
+
type: "address",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
name: "OwnableUnauthorizedAccount",
|
|
42
|
+
type: "error",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
anonymous: false,
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
indexed: false,
|
|
49
|
+
internalType: "uint64",
|
|
50
|
+
name: "version",
|
|
51
|
+
type: "uint64",
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
name: "Initialized",
|
|
55
|
+
type: "event",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
anonymous: false,
|
|
59
|
+
inputs: [
|
|
60
|
+
{
|
|
61
|
+
indexed: true,
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "previousOwner",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
indexed: true,
|
|
68
|
+
internalType: "address",
|
|
69
|
+
name: "newOwner",
|
|
70
|
+
type: "address",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "OwnershipTransferStarted",
|
|
74
|
+
type: "event",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
anonymous: false,
|
|
78
|
+
inputs: [
|
|
79
|
+
{
|
|
80
|
+
indexed: true,
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "previousOwner",
|
|
83
|
+
type: "address",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
indexed: true,
|
|
87
|
+
internalType: "address",
|
|
88
|
+
name: "newOwner",
|
|
89
|
+
type: "address",
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
name: "OwnershipTransferred",
|
|
93
|
+
type: "event",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
inputs: [],
|
|
97
|
+
name: "acceptOwnership",
|
|
98
|
+
outputs: [],
|
|
99
|
+
stateMutability: "nonpayable",
|
|
100
|
+
type: "function",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
inputs: [],
|
|
104
|
+
name: "owner",
|
|
105
|
+
outputs: [
|
|
106
|
+
{
|
|
107
|
+
internalType: "address",
|
|
108
|
+
name: "",
|
|
109
|
+
type: "address",
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
stateMutability: "view",
|
|
113
|
+
type: "function",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
inputs: [],
|
|
117
|
+
name: "pendingOwner",
|
|
118
|
+
outputs: [
|
|
119
|
+
{
|
|
120
|
+
internalType: "address",
|
|
121
|
+
name: "",
|
|
122
|
+
type: "address",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
stateMutability: "view",
|
|
126
|
+
type: "function",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
inputs: [],
|
|
130
|
+
name: "renounceOwnership",
|
|
131
|
+
outputs: [],
|
|
132
|
+
stateMutability: "nonpayable",
|
|
133
|
+
type: "function",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
inputs: [
|
|
137
|
+
{
|
|
138
|
+
internalType: "address",
|
|
139
|
+
name: "newOwner",
|
|
140
|
+
type: "address",
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
name: "transferOwnership",
|
|
144
|
+
outputs: [],
|
|
145
|
+
stateMutability: "nonpayable",
|
|
146
|
+
type: "function",
|
|
147
|
+
},
|
|
148
|
+
] as const;
|
|
149
|
+
|
|
150
|
+
export class Ownable2StepUpgradeable__factory {
|
|
151
|
+
static readonly abi = _abi;
|
|
152
|
+
static createInterface(): Ownable2StepUpgradeableInterface {
|
|
153
|
+
return new Interface(_abi) as Ownable2StepUpgradeableInterface;
|
|
154
|
+
}
|
|
155
|
+
static connect(
|
|
156
|
+
address: string,
|
|
157
|
+
runner?: ContractRunner | null
|
|
158
|
+
): Ownable2StepUpgradeable {
|
|
159
|
+
return new Contract(
|
|
160
|
+
address,
|
|
161
|
+
_abi,
|
|
162
|
+
runner
|
|
163
|
+
) as unknown as Ownable2StepUpgradeable;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Interface, type ContractRunner } from "ethers";
|
|
6
|
+
import type {
|
|
7
|
+
OwnableUpgradeable,
|
|
8
|
+
OwnableUpgradeableInterface,
|
|
9
|
+
} from "../../../../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: "InvalidInitialization",
|
|
15
|
+
type: "error",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "NotInitializing",
|
|
20
|
+
type: "error",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
inputs: [
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "owner",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
name: "OwnableInvalidOwner",
|
|
31
|
+
type: "error",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
internalType: "address",
|
|
37
|
+
name: "account",
|
|
38
|
+
type: "address",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
name: "OwnableUnauthorizedAccount",
|
|
42
|
+
type: "error",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
anonymous: false,
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
indexed: false,
|
|
49
|
+
internalType: "uint64",
|
|
50
|
+
name: "version",
|
|
51
|
+
type: "uint64",
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
name: "Initialized",
|
|
55
|
+
type: "event",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
anonymous: false,
|
|
59
|
+
inputs: [
|
|
60
|
+
{
|
|
61
|
+
indexed: true,
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "previousOwner",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
indexed: true,
|
|
68
|
+
internalType: "address",
|
|
69
|
+
name: "newOwner",
|
|
70
|
+
type: "address",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "OwnershipTransferred",
|
|
74
|
+
type: "event",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [],
|
|
78
|
+
name: "owner",
|
|
79
|
+
outputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "",
|
|
83
|
+
type: "address",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
stateMutability: "view",
|
|
87
|
+
type: "function",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
inputs: [],
|
|
91
|
+
name: "renounceOwnership",
|
|
92
|
+
outputs: [],
|
|
93
|
+
stateMutability: "nonpayable",
|
|
94
|
+
type: "function",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
inputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "newOwner",
|
|
101
|
+
type: "address",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
name: "transferOwnership",
|
|
105
|
+
outputs: [],
|
|
106
|
+
stateMutability: "nonpayable",
|
|
107
|
+
type: "function",
|
|
108
|
+
},
|
|
109
|
+
] as const;
|
|
110
|
+
|
|
111
|
+
export class OwnableUpgradeable__factory {
|
|
112
|
+
static readonly abi = _abi;
|
|
113
|
+
static createInterface(): OwnableUpgradeableInterface {
|
|
114
|
+
return new Interface(_abi) as OwnableUpgradeableInterface;
|
|
115
|
+
}
|
|
116
|
+
static connect(
|
|
117
|
+
address: string,
|
|
118
|
+
runner?: ContractRunner | null
|
|
119
|
+
): OwnableUpgradeable {
|
|
120
|
+
return new Contract(address, _abi, runner) as unknown as OwnableUpgradeable;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Interface, type ContractRunner } from "ethers";
|
|
6
|
+
import type {
|
|
7
|
+
Initializable,
|
|
8
|
+
InitializableInterface,
|
|
9
|
+
} from "../../../../../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: "InvalidInitialization",
|
|
15
|
+
type: "error",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "NotInitializing",
|
|
20
|
+
type: "error",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
anonymous: false,
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
indexed: false,
|
|
27
|
+
internalType: "uint64",
|
|
28
|
+
name: "version",
|
|
29
|
+
type: "uint64",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "Initialized",
|
|
33
|
+
type: "event",
|
|
34
|
+
},
|
|
35
|
+
] as const;
|
|
36
|
+
|
|
37
|
+
export class Initializable__factory {
|
|
38
|
+
static readonly abi = _abi;
|
|
39
|
+
static createInterface(): InitializableInterface {
|
|
40
|
+
return new Interface(_abi) as InitializableInterface;
|
|
41
|
+
}
|
|
42
|
+
static connect(
|
|
43
|
+
address: string,
|
|
44
|
+
runner?: ContractRunner | null
|
|
45
|
+
): Initializable {
|
|
46
|
+
return new Contract(address, _abi, runner) as unknown as Initializable;
|
|
47
|
+
}
|
|
48
|
+
}
|