@zentity/fhevm-contracts 0.2.1 → 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.
- 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/addresses.json +18 -0
- package/dist/index.d.ts +178 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +71 -16
- package/package.json +3 -2
- 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
|
@@ -0,0 +1,105 @@
|
|
|
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 ERC1967ProxyInterface extends Interface {
|
|
23
|
+
getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export namespace UpgradedEvent {
|
|
27
|
+
export type InputTuple = [implementation: AddressLike];
|
|
28
|
+
export type OutputTuple = [implementation: string];
|
|
29
|
+
export interface OutputObject {
|
|
30
|
+
implementation: string;
|
|
31
|
+
}
|
|
32
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
33
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
34
|
+
export type Log = TypedEventLog<Event>;
|
|
35
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface ERC1967Proxy extends BaseContract {
|
|
39
|
+
connect(runner?: ContractRunner | null): ERC1967Proxy;
|
|
40
|
+
waitForDeployment(): Promise<this>;
|
|
41
|
+
|
|
42
|
+
interface: ERC1967ProxyInterface;
|
|
43
|
+
|
|
44
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
45
|
+
event: TCEvent,
|
|
46
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
47
|
+
toBlock?: string | number | undefined
|
|
48
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
49
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
50
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
51
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
52
|
+
toBlock?: string | number | undefined
|
|
53
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
54
|
+
|
|
55
|
+
on<TCEvent extends TypedContractEvent>(
|
|
56
|
+
event: TCEvent,
|
|
57
|
+
listener: TypedListener<TCEvent>
|
|
58
|
+
): Promise<this>;
|
|
59
|
+
on<TCEvent extends TypedContractEvent>(
|
|
60
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
61
|
+
listener: TypedListener<TCEvent>
|
|
62
|
+
): Promise<this>;
|
|
63
|
+
|
|
64
|
+
once<TCEvent extends TypedContractEvent>(
|
|
65
|
+
event: TCEvent,
|
|
66
|
+
listener: TypedListener<TCEvent>
|
|
67
|
+
): Promise<this>;
|
|
68
|
+
once<TCEvent extends TypedContractEvent>(
|
|
69
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
70
|
+
listener: TypedListener<TCEvent>
|
|
71
|
+
): Promise<this>;
|
|
72
|
+
|
|
73
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
74
|
+
event: TCEvent
|
|
75
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
76
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
77
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
78
|
+
event?: TCEvent
|
|
79
|
+
): Promise<this>;
|
|
80
|
+
|
|
81
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
82
|
+
key: string | FunctionFragment
|
|
83
|
+
): T;
|
|
84
|
+
|
|
85
|
+
getEvent(
|
|
86
|
+
key: "Upgraded"
|
|
87
|
+
): TypedContractEvent<
|
|
88
|
+
UpgradedEvent.InputTuple,
|
|
89
|
+
UpgradedEvent.OutputTuple,
|
|
90
|
+
UpgradedEvent.OutputObject
|
|
91
|
+
>;
|
|
92
|
+
|
|
93
|
+
filters: {
|
|
94
|
+
"Upgraded(address)": TypedContractEvent<
|
|
95
|
+
UpgradedEvent.InputTuple,
|
|
96
|
+
UpgradedEvent.OutputTuple,
|
|
97
|
+
UpgradedEvent.OutputObject
|
|
98
|
+
>;
|
|
99
|
+
Upgraded: TypedContractEvent<
|
|
100
|
+
UpgradedEvent.InputTuple,
|
|
101
|
+
UpgradedEvent.OutputTuple,
|
|
102
|
+
UpgradedEvent.OutputObject
|
|
103
|
+
>;
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
FunctionFragment,
|
|
7
|
+
Interface,
|
|
8
|
+
ContractRunner,
|
|
9
|
+
ContractMethod,
|
|
10
|
+
Listener,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import type {
|
|
13
|
+
TypedContractEvent,
|
|
14
|
+
TypedDeferredTopicFilter,
|
|
15
|
+
TypedEventLog,
|
|
16
|
+
TypedListener,
|
|
17
|
+
} from "../../../../common";
|
|
18
|
+
|
|
19
|
+
export interface ERC1967UtilsInterface extends Interface {}
|
|
20
|
+
|
|
21
|
+
export interface ERC1967Utils extends BaseContract {
|
|
22
|
+
connect(runner?: ContractRunner | null): ERC1967Utils;
|
|
23
|
+
waitForDeployment(): Promise<this>;
|
|
24
|
+
|
|
25
|
+
interface: ERC1967UtilsInterface;
|
|
26
|
+
|
|
27
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
28
|
+
event: TCEvent,
|
|
29
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
30
|
+
toBlock?: string | number | undefined
|
|
31
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
32
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
33
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
34
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
35
|
+
toBlock?: string | number | undefined
|
|
36
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
37
|
+
|
|
38
|
+
on<TCEvent extends TypedContractEvent>(
|
|
39
|
+
event: TCEvent,
|
|
40
|
+
listener: TypedListener<TCEvent>
|
|
41
|
+
): Promise<this>;
|
|
42
|
+
on<TCEvent extends TypedContractEvent>(
|
|
43
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
44
|
+
listener: TypedListener<TCEvent>
|
|
45
|
+
): Promise<this>;
|
|
46
|
+
|
|
47
|
+
once<TCEvent extends TypedContractEvent>(
|
|
48
|
+
event: TCEvent,
|
|
49
|
+
listener: TypedListener<TCEvent>
|
|
50
|
+
): Promise<this>;
|
|
51
|
+
once<TCEvent extends TypedContractEvent>(
|
|
52
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
53
|
+
listener: TypedListener<TCEvent>
|
|
54
|
+
): Promise<this>;
|
|
55
|
+
|
|
56
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
57
|
+
event: TCEvent
|
|
58
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
59
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
60
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
61
|
+
event?: TCEvent
|
|
62
|
+
): Promise<this>;
|
|
63
|
+
|
|
64
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
65
|
+
key: string | FunctionFragment
|
|
66
|
+
): T;
|
|
67
|
+
|
|
68
|
+
filters: {};
|
|
69
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
FunctionFragment,
|
|
7
|
+
Interface,
|
|
8
|
+
ContractRunner,
|
|
9
|
+
ContractMethod,
|
|
10
|
+
Listener,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import type {
|
|
13
|
+
TypedContractEvent,
|
|
14
|
+
TypedDeferredTopicFilter,
|
|
15
|
+
TypedEventLog,
|
|
16
|
+
TypedListener,
|
|
17
|
+
} from "../../../common";
|
|
18
|
+
|
|
19
|
+
export interface ProxyInterface extends Interface {}
|
|
20
|
+
|
|
21
|
+
export interface Proxy extends BaseContract {
|
|
22
|
+
connect(runner?: ContractRunner | null): Proxy;
|
|
23
|
+
waitForDeployment(): Promise<this>;
|
|
24
|
+
|
|
25
|
+
interface: ProxyInterface;
|
|
26
|
+
|
|
27
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
28
|
+
event: TCEvent,
|
|
29
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
30
|
+
toBlock?: string | number | undefined
|
|
31
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
32
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
33
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
34
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
35
|
+
toBlock?: string | number | undefined
|
|
36
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
37
|
+
|
|
38
|
+
on<TCEvent extends TypedContractEvent>(
|
|
39
|
+
event: TCEvent,
|
|
40
|
+
listener: TypedListener<TCEvent>
|
|
41
|
+
): Promise<this>;
|
|
42
|
+
on<TCEvent extends TypedContractEvent>(
|
|
43
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
44
|
+
listener: TypedListener<TCEvent>
|
|
45
|
+
): Promise<this>;
|
|
46
|
+
|
|
47
|
+
once<TCEvent extends TypedContractEvent>(
|
|
48
|
+
event: TCEvent,
|
|
49
|
+
listener: TypedListener<TCEvent>
|
|
50
|
+
): Promise<this>;
|
|
51
|
+
once<TCEvent extends TypedContractEvent>(
|
|
52
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
53
|
+
listener: TypedListener<TCEvent>
|
|
54
|
+
): Promise<this>;
|
|
55
|
+
|
|
56
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
57
|
+
event: TCEvent
|
|
58
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
59
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
60
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
61
|
+
event?: TCEvent
|
|
62
|
+
): Promise<this>;
|
|
63
|
+
|
|
64
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
65
|
+
key: string | FunctionFragment
|
|
66
|
+
): T;
|
|
67
|
+
|
|
68
|
+
filters: {};
|
|
69
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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
|
+
ContractRunner,
|
|
11
|
+
ContractMethod,
|
|
12
|
+
Listener,
|
|
13
|
+
} from "ethers";
|
|
14
|
+
import type {
|
|
15
|
+
TypedContractEvent,
|
|
16
|
+
TypedDeferredTopicFilter,
|
|
17
|
+
TypedEventLog,
|
|
18
|
+
TypedListener,
|
|
19
|
+
TypedContractMethod,
|
|
20
|
+
} from "../../../../common";
|
|
21
|
+
|
|
22
|
+
export interface IBeaconInterface extends Interface {
|
|
23
|
+
getFunction(nameOrSignature: "implementation"): FunctionFragment;
|
|
24
|
+
|
|
25
|
+
encodeFunctionData(
|
|
26
|
+
functionFragment: "implementation",
|
|
27
|
+
values?: undefined
|
|
28
|
+
): string;
|
|
29
|
+
|
|
30
|
+
decodeFunctionResult(
|
|
31
|
+
functionFragment: "implementation",
|
|
32
|
+
data: BytesLike
|
|
33
|
+
): Result;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface IBeacon extends BaseContract {
|
|
37
|
+
connect(runner?: ContractRunner | null): IBeacon;
|
|
38
|
+
waitForDeployment(): Promise<this>;
|
|
39
|
+
|
|
40
|
+
interface: IBeaconInterface;
|
|
41
|
+
|
|
42
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
43
|
+
event: TCEvent,
|
|
44
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
45
|
+
toBlock?: string | number | undefined
|
|
46
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
47
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
48
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
49
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
50
|
+
toBlock?: string | number | undefined
|
|
51
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
52
|
+
|
|
53
|
+
on<TCEvent extends TypedContractEvent>(
|
|
54
|
+
event: TCEvent,
|
|
55
|
+
listener: TypedListener<TCEvent>
|
|
56
|
+
): Promise<this>;
|
|
57
|
+
on<TCEvent extends TypedContractEvent>(
|
|
58
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
59
|
+
listener: TypedListener<TCEvent>
|
|
60
|
+
): Promise<this>;
|
|
61
|
+
|
|
62
|
+
once<TCEvent extends TypedContractEvent>(
|
|
63
|
+
event: TCEvent,
|
|
64
|
+
listener: TypedListener<TCEvent>
|
|
65
|
+
): Promise<this>;
|
|
66
|
+
once<TCEvent extends TypedContractEvent>(
|
|
67
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
68
|
+
listener: TypedListener<TCEvent>
|
|
69
|
+
): Promise<this>;
|
|
70
|
+
|
|
71
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
72
|
+
event: TCEvent
|
|
73
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
74
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
75
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
76
|
+
event?: TCEvent
|
|
77
|
+
): Promise<this>;
|
|
78
|
+
|
|
79
|
+
implementation: TypedContractMethod<[], [string], "view">;
|
|
80
|
+
|
|
81
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
82
|
+
key: string | FunctionFragment
|
|
83
|
+
): T;
|
|
84
|
+
|
|
85
|
+
getFunction(
|
|
86
|
+
nameOrSignature: "implementation"
|
|
87
|
+
): TypedContractMethod<[], [string], "view">;
|
|
88
|
+
|
|
89
|
+
filters: {};
|
|
90
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type * as erc1967 from "./ERC1967";
|
|
5
|
+
export type { erc1967 };
|
|
6
|
+
import type * as beacon from "./beacon";
|
|
7
|
+
export type { beacon };
|
|
8
|
+
export type { Proxy } from "./Proxy";
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
FunctionFragment,
|
|
7
|
+
Interface,
|
|
8
|
+
ContractRunner,
|
|
9
|
+
ContractMethod,
|
|
10
|
+
Listener,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import type {
|
|
13
|
+
TypedContractEvent,
|
|
14
|
+
TypedDeferredTopicFilter,
|
|
15
|
+
TypedEventLog,
|
|
16
|
+
TypedListener,
|
|
17
|
+
} from "../../../common";
|
|
18
|
+
|
|
19
|
+
export interface AddressInterface extends Interface {}
|
|
20
|
+
|
|
21
|
+
export interface Address extends BaseContract {
|
|
22
|
+
connect(runner?: ContractRunner | null): Address;
|
|
23
|
+
waitForDeployment(): Promise<this>;
|
|
24
|
+
|
|
25
|
+
interface: AddressInterface;
|
|
26
|
+
|
|
27
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
28
|
+
event: TCEvent,
|
|
29
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
30
|
+
toBlock?: string | number | undefined
|
|
31
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
32
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
33
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
34
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
35
|
+
toBlock?: string | number | undefined
|
|
36
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
37
|
+
|
|
38
|
+
on<TCEvent extends TypedContractEvent>(
|
|
39
|
+
event: TCEvent,
|
|
40
|
+
listener: TypedListener<TCEvent>
|
|
41
|
+
): Promise<this>;
|
|
42
|
+
on<TCEvent extends TypedContractEvent>(
|
|
43
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
44
|
+
listener: TypedListener<TCEvent>
|
|
45
|
+
): Promise<this>;
|
|
46
|
+
|
|
47
|
+
once<TCEvent extends TypedContractEvent>(
|
|
48
|
+
event: TCEvent,
|
|
49
|
+
listener: TypedListener<TCEvent>
|
|
50
|
+
): Promise<this>;
|
|
51
|
+
once<TCEvent extends TypedContractEvent>(
|
|
52
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
53
|
+
listener: TypedListener<TCEvent>
|
|
54
|
+
): Promise<this>;
|
|
55
|
+
|
|
56
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
57
|
+
event: TCEvent
|
|
58
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
59
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
60
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
61
|
+
event?: TCEvent
|
|
62
|
+
): Promise<this>;
|
|
63
|
+
|
|
64
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
65
|
+
key: string | FunctionFragment
|
|
66
|
+
): T;
|
|
67
|
+
|
|
68
|
+
filters: {};
|
|
69
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
FunctionFragment,
|
|
7
|
+
Interface,
|
|
8
|
+
ContractRunner,
|
|
9
|
+
ContractMethod,
|
|
10
|
+
Listener,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import type {
|
|
13
|
+
TypedContractEvent,
|
|
14
|
+
TypedDeferredTopicFilter,
|
|
15
|
+
TypedEventLog,
|
|
16
|
+
TypedListener,
|
|
17
|
+
} from "../../../common";
|
|
18
|
+
|
|
19
|
+
export interface ErrorsInterface extends Interface {}
|
|
20
|
+
|
|
21
|
+
export interface Errors extends BaseContract {
|
|
22
|
+
connect(runner?: ContractRunner | null): Errors;
|
|
23
|
+
waitForDeployment(): Promise<this>;
|
|
24
|
+
|
|
25
|
+
interface: ErrorsInterface;
|
|
26
|
+
|
|
27
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
28
|
+
event: TCEvent,
|
|
29
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
30
|
+
toBlock?: string | number | undefined
|
|
31
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
32
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
33
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
34
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
35
|
+
toBlock?: string | number | undefined
|
|
36
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
37
|
+
|
|
38
|
+
on<TCEvent extends TypedContractEvent>(
|
|
39
|
+
event: TCEvent,
|
|
40
|
+
listener: TypedListener<TCEvent>
|
|
41
|
+
): Promise<this>;
|
|
42
|
+
on<TCEvent extends TypedContractEvent>(
|
|
43
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
44
|
+
listener: TypedListener<TCEvent>
|
|
45
|
+
): Promise<this>;
|
|
46
|
+
|
|
47
|
+
once<TCEvent extends TypedContractEvent>(
|
|
48
|
+
event: TCEvent,
|
|
49
|
+
listener: TypedListener<TCEvent>
|
|
50
|
+
): Promise<this>;
|
|
51
|
+
once<TCEvent extends TypedContractEvent>(
|
|
52
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
53
|
+
listener: TypedListener<TCEvent>
|
|
54
|
+
): Promise<this>;
|
|
55
|
+
|
|
56
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
57
|
+
event: TCEvent
|
|
58
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
59
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
60
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
61
|
+
event?: TCEvent
|
|
62
|
+
): Promise<this>;
|
|
63
|
+
|
|
64
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
65
|
+
key: string | FunctionFragment
|
|
66
|
+
): T;
|
|
67
|
+
|
|
68
|
+
filters: {};
|
|
69
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
FunctionFragment,
|
|
7
|
+
Interface,
|
|
8
|
+
ContractRunner,
|
|
9
|
+
ContractMethod,
|
|
10
|
+
Listener,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import type {
|
|
13
|
+
TypedContractEvent,
|
|
14
|
+
TypedDeferredTopicFilter,
|
|
15
|
+
TypedEventLog,
|
|
16
|
+
TypedListener,
|
|
17
|
+
} from "../../../common";
|
|
18
|
+
|
|
19
|
+
export interface StringsInterface extends Interface {}
|
|
20
|
+
|
|
21
|
+
export interface Strings extends BaseContract {
|
|
22
|
+
connect(runner?: ContractRunner | null): Strings;
|
|
23
|
+
waitForDeployment(): Promise<this>;
|
|
24
|
+
|
|
25
|
+
interface: StringsInterface;
|
|
26
|
+
|
|
27
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
28
|
+
event: TCEvent,
|
|
29
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
30
|
+
toBlock?: string | number | undefined
|
|
31
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
32
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
33
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
34
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
35
|
+
toBlock?: string | number | undefined
|
|
36
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
37
|
+
|
|
38
|
+
on<TCEvent extends TypedContractEvent>(
|
|
39
|
+
event: TCEvent,
|
|
40
|
+
listener: TypedListener<TCEvent>
|
|
41
|
+
): Promise<this>;
|
|
42
|
+
on<TCEvent extends TypedContractEvent>(
|
|
43
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
44
|
+
listener: TypedListener<TCEvent>
|
|
45
|
+
): Promise<this>;
|
|
46
|
+
|
|
47
|
+
once<TCEvent extends TypedContractEvent>(
|
|
48
|
+
event: TCEvent,
|
|
49
|
+
listener: TypedListener<TCEvent>
|
|
50
|
+
): Promise<this>;
|
|
51
|
+
once<TCEvent extends TypedContractEvent>(
|
|
52
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
53
|
+
listener: TypedListener<TCEvent>
|
|
54
|
+
): Promise<this>;
|
|
55
|
+
|
|
56
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
57
|
+
event: TCEvent
|
|
58
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
59
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
60
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
61
|
+
event?: TCEvent
|
|
62
|
+
): Promise<this>;
|
|
63
|
+
|
|
64
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
65
|
+
key: string | FunctionFragment
|
|
66
|
+
): T;
|
|
67
|
+
|
|
68
|
+
filters: {};
|
|
69
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
FunctionFragment,
|
|
7
|
+
Interface,
|
|
8
|
+
ContractRunner,
|
|
9
|
+
ContractMethod,
|
|
10
|
+
Listener,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import type {
|
|
13
|
+
TypedContractEvent,
|
|
14
|
+
TypedDeferredTopicFilter,
|
|
15
|
+
TypedEventLog,
|
|
16
|
+
TypedListener,
|
|
17
|
+
} from "../../../../common";
|
|
18
|
+
|
|
19
|
+
export interface ECDSAInterface extends Interface {}
|
|
20
|
+
|
|
21
|
+
export interface ECDSA extends BaseContract {
|
|
22
|
+
connect(runner?: ContractRunner | null): ECDSA;
|
|
23
|
+
waitForDeployment(): Promise<this>;
|
|
24
|
+
|
|
25
|
+
interface: ECDSAInterface;
|
|
26
|
+
|
|
27
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
28
|
+
event: TCEvent,
|
|
29
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
30
|
+
toBlock?: string | number | undefined
|
|
31
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
32
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
33
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
34
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
35
|
+
toBlock?: string | number | undefined
|
|
36
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
37
|
+
|
|
38
|
+
on<TCEvent extends TypedContractEvent>(
|
|
39
|
+
event: TCEvent,
|
|
40
|
+
listener: TypedListener<TCEvent>
|
|
41
|
+
): Promise<this>;
|
|
42
|
+
on<TCEvent extends TypedContractEvent>(
|
|
43
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
44
|
+
listener: TypedListener<TCEvent>
|
|
45
|
+
): Promise<this>;
|
|
46
|
+
|
|
47
|
+
once<TCEvent extends TypedContractEvent>(
|
|
48
|
+
event: TCEvent,
|
|
49
|
+
listener: TypedListener<TCEvent>
|
|
50
|
+
): Promise<this>;
|
|
51
|
+
once<TCEvent extends TypedContractEvent>(
|
|
52
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
53
|
+
listener: TypedListener<TCEvent>
|
|
54
|
+
): Promise<this>;
|
|
55
|
+
|
|
56
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
57
|
+
event: TCEvent
|
|
58
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
59
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
60
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
61
|
+
event?: TCEvent
|
|
62
|
+
): Promise<this>;
|
|
63
|
+
|
|
64
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
65
|
+
key: string | FunctionFragment
|
|
66
|
+
): T;
|
|
67
|
+
|
|
68
|
+
filters: {};
|
|
69
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type * as cryptography from "./cryptography";
|
|
5
|
+
export type { cryptography };
|
|
6
|
+
import type * as math from "./math";
|
|
7
|
+
export type { math };
|
|
8
|
+
export type { Address } from "./Address";
|
|
9
|
+
export type { Errors } from "./Errors";
|
|
10
|
+
export type { Strings } from "./Strings";
|