@zentity/fhevm-contracts 0.1.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/README.md +160 -0
- package/abi/ComplianceRules.json +352 -0
- package/abi/CompliantERC20.json +493 -0
- package/abi/IdentityRegistry.json +712 -0
- package/abi/index.d.ts +3 -0
- package/abi/index.js +9 -0
- package/contracts/ARCHITECTURE.md +66 -0
- package/contracts/ARCHITECTURE_EXPLAINER.md +77 -0
- package/contracts/compliance/ComplianceRules.sol +255 -0
- package/contracts/core/IdentityRegistry.sol +352 -0
- package/contracts/interfaces/IIdentityRegistry.sol +226 -0
- package/contracts/mocks/.gitkeep +0 -0
- package/contracts/tokens/CompliantERC20.sol +379 -0
- package/deployments/hardhat/addresses.json +20 -0
- package/deployments/localhost/.chainId +1 -0
- package/deployments/localhost/ComplianceRules.json +662 -0
- package/deployments/localhost/CompliantERC20.json +888 -0
- package/deployments/localhost/IdentityRegistry.json +1093 -0
- package/deployments/localhost/solcInputs/e36969353329df673b4fae03d39e01c4.json +60 -0
- package/deployments/sepolia/.chainId +1 -0
- package/deployments/sepolia/.gitkeep +0 -0
- package/deployments/sepolia/ComplianceRules.json +662 -0
- package/deployments/sepolia/CompliantERC20.json +888 -0
- package/deployments/sepolia/IdentityRegistry.json +1093 -0
- package/deployments/sepolia/solcInputs/93d280ff0d4e798a18947a9ed6015031.json +60 -0
- package/dist/index.d.ts +459 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +135 -0
- package/package.json +110 -0
- package/typechain-types/@fhevm/index.ts +5 -0
- package/typechain-types/@fhevm/solidity/config/ZamaConfig.sol/ZamaConfig.ts +69 -0
- package/typechain-types/@fhevm/solidity/config/ZamaConfig.sol/ZamaEthereumConfig.ts +90 -0
- package/typechain-types/@fhevm/solidity/config/ZamaConfig.sol/index.ts +5 -0
- package/typechain-types/@fhevm/solidity/config/index.ts +5 -0
- package/typechain-types/@fhevm/solidity/index.ts +7 -0
- package/typechain-types/@fhevm/solidity/lib/FHE.sol/FHE.ts +112 -0
- package/typechain-types/@fhevm/solidity/lib/FHE.sol/IKMSVerifier.ts +108 -0
- package/typechain-types/@fhevm/solidity/lib/FHE.sol/index.ts +5 -0
- package/typechain-types/@fhevm/solidity/lib/Impl.sol/IACL.ts +190 -0
- package/typechain-types/@fhevm/solidity/lib/Impl.sol/IFHEVMExecutor.ts +623 -0
- package/typechain-types/@fhevm/solidity/lib/Impl.sol/IInputVerifier.ts +90 -0
- package/typechain-types/@fhevm/solidity/lib/Impl.sol/index.ts +6 -0
- package/typechain-types/@fhevm/solidity/lib/index.ts +7 -0
- package/typechain-types/common.ts +131 -0
- package/typechain-types/contracts/compliance/ComplianceRules.ts +479 -0
- package/typechain-types/contracts/compliance/index.ts +4 -0
- package/typechain-types/contracts/core/IdentityRegistry.ts +874 -0
- package/typechain-types/contracts/core/index.ts +4 -0
- package/typechain-types/contracts/index.ts +11 -0
- package/typechain-types/contracts/interfaces/IIdentityRegistry.ts +798 -0
- package/typechain-types/contracts/interfaces/index.ts +4 -0
- package/typechain-types/contracts/tokens/CompliantERC20.sol/CompliantERC20.ts +572 -0
- package/typechain-types/contracts/tokens/CompliantERC20.sol/IComplianceChecker.ts +95 -0
- package/typechain-types/contracts/tokens/CompliantERC20.sol/index.ts +5 -0
- package/typechain-types/contracts/tokens/index.ts +5 -0
- package/typechain-types/factories/@fhevm/index.ts +4 -0
- package/typechain-types/factories/@fhevm/solidity/config/ZamaConfig.sol/ZamaConfig__factory.ts +69 -0
- package/typechain-types/factories/@fhevm/solidity/config/ZamaConfig.sol/ZamaEthereumConfig__factory.ts +43 -0
- package/typechain-types/factories/@fhevm/solidity/config/ZamaConfig.sol/index.ts +5 -0
- package/typechain-types/factories/@fhevm/solidity/config/index.ts +4 -0
- package/typechain-types/factories/@fhevm/solidity/index.ts +5 -0
- package/typechain-types/factories/@fhevm/solidity/lib/FHE.sol/FHE__factory.ts +88 -0
- package/typechain-types/factories/@fhevm/solidity/lib/FHE.sol/IKMSVerifier__factory.ts +54 -0
- package/typechain-types/factories/@fhevm/solidity/lib/FHE.sol/index.ts +5 -0
- package/typechain-types/factories/@fhevm/solidity/lib/Impl.sol/IACL__factory.ts +121 -0
- package/typechain-types/factories/@fhevm/solidity/lib/Impl.sol/IFHEVMExecutor__factory.ts +810 -0
- package/typechain-types/factories/@fhevm/solidity/lib/Impl.sol/IInputVerifier__factory.ts +32 -0
- package/typechain-types/factories/@fhevm/solidity/lib/Impl.sol/index.ts +6 -0
- package/typechain-types/factories/@fhevm/solidity/lib/index.ts +5 -0
- package/typechain-types/factories/contracts/compliance/ComplianceRules__factory.ts +437 -0
- package/typechain-types/factories/contracts/compliance/index.ts +4 -0
- package/typechain-types/factories/contracts/core/IdentityRegistry__factory.ts +777 -0
- package/typechain-types/factories/contracts/core/index.ts +4 -0
- package/typechain-types/factories/contracts/index.ts +7 -0
- package/typechain-types/factories/contracts/interfaces/IIdentityRegistry__factory.ts +640 -0
- package/typechain-types/factories/contracts/interfaces/index.ts +4 -0
- package/typechain-types/factories/contracts/tokens/CompliantERC20.sol/CompliantERC20__factory.ts +581 -0
- package/typechain-types/factories/contracts/tokens/CompliantERC20.sol/IComplianceChecker__factory.ts +44 -0
- package/typechain-types/factories/contracts/tokens/CompliantERC20.sol/index.ts +5 -0
- package/typechain-types/factories/contracts/tokens/index.ts +4 -0
- package/typechain-types/factories/index.ts +5 -0
- package/typechain-types/hardhat.d.ts +261 -0
- package/typechain-types/index.ts +32 -0
package/typechain-types/factories/@fhevm/solidity/config/ZamaConfig.sol/ZamaConfig__factory.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
ZamaConfig,
|
|
14
|
+
ZamaConfigInterface,
|
|
15
|
+
} from "../../../../../@fhevm/solidity/config/ZamaConfig.sol/ZamaConfig";
|
|
16
|
+
|
|
17
|
+
const _abi = [
|
|
18
|
+
{
|
|
19
|
+
inputs: [],
|
|
20
|
+
name: "ZamaProtocolUnsupported",
|
|
21
|
+
type: "error",
|
|
22
|
+
},
|
|
23
|
+
] as const;
|
|
24
|
+
|
|
25
|
+
const _bytecode =
|
|
26
|
+
"0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220a28895d65d666fd2cabf0bb544d86daaf27862484fac2e561e7cb71921e5c6d564736f6c634300081b0033";
|
|
27
|
+
|
|
28
|
+
type ZamaConfigConstructorParams =
|
|
29
|
+
| [signer?: Signer]
|
|
30
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
31
|
+
|
|
32
|
+
const isSuperArgs = (
|
|
33
|
+
xs: ZamaConfigConstructorParams
|
|
34
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
35
|
+
|
|
36
|
+
export class ZamaConfig__factory extends ContractFactory {
|
|
37
|
+
constructor(...args: ZamaConfigConstructorParams) {
|
|
38
|
+
if (isSuperArgs(args)) {
|
|
39
|
+
super(...args);
|
|
40
|
+
} else {
|
|
41
|
+
super(_abi, _bytecode, args[0]);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
override getDeployTransaction(
|
|
46
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
47
|
+
): Promise<ContractDeployTransaction> {
|
|
48
|
+
return super.getDeployTransaction(overrides || {});
|
|
49
|
+
}
|
|
50
|
+
override deploy(overrides?: NonPayableOverrides & { from?: string }) {
|
|
51
|
+
return super.deploy(overrides || {}) as Promise<
|
|
52
|
+
ZamaConfig & {
|
|
53
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
54
|
+
}
|
|
55
|
+
>;
|
|
56
|
+
}
|
|
57
|
+
override connect(runner: ContractRunner | null): ZamaConfig__factory {
|
|
58
|
+
return super.connect(runner) as ZamaConfig__factory;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static readonly bytecode = _bytecode;
|
|
62
|
+
static readonly abi = _abi;
|
|
63
|
+
static createInterface(): ZamaConfigInterface {
|
|
64
|
+
return new Interface(_abi) as ZamaConfigInterface;
|
|
65
|
+
}
|
|
66
|
+
static connect(address: string, runner?: ContractRunner | null): ZamaConfig {
|
|
67
|
+
return new Contract(address, _abi, runner) as unknown as ZamaConfig;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
ZamaEthereumConfig,
|
|
8
|
+
ZamaEthereumConfigInterface,
|
|
9
|
+
} from "../../../../../@fhevm/solidity/config/ZamaConfig.sol/ZamaEthereumConfig";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: "ZamaProtocolUnsupported",
|
|
15
|
+
type: "error",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "confidentialProtocolId",
|
|
20
|
+
outputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint256",
|
|
23
|
+
name: "",
|
|
24
|
+
type: "uint256",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
stateMutability: "view",
|
|
28
|
+
type: "function",
|
|
29
|
+
},
|
|
30
|
+
] as const;
|
|
31
|
+
|
|
32
|
+
export class ZamaEthereumConfig__factory {
|
|
33
|
+
static readonly abi = _abi;
|
|
34
|
+
static createInterface(): ZamaEthereumConfigInterface {
|
|
35
|
+
return new Interface(_abi) as ZamaEthereumConfigInterface;
|
|
36
|
+
}
|
|
37
|
+
static connect(
|
|
38
|
+
address: string,
|
|
39
|
+
runner?: ContractRunner | null
|
|
40
|
+
): ZamaEthereumConfig {
|
|
41
|
+
return new Contract(address, _abi, runner) as unknown as ZamaEthereumConfig;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
FHE,
|
|
14
|
+
FHEInterface,
|
|
15
|
+
} from "../../../../../@fhevm/solidity/lib/FHE.sol/FHE";
|
|
16
|
+
|
|
17
|
+
const _abi = [
|
|
18
|
+
{
|
|
19
|
+
inputs: [],
|
|
20
|
+
name: "InvalidKMSSignatures",
|
|
21
|
+
type: "error",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
anonymous: false,
|
|
25
|
+
inputs: [
|
|
26
|
+
{
|
|
27
|
+
indexed: false,
|
|
28
|
+
internalType: "bytes32[]",
|
|
29
|
+
name: "handlesList",
|
|
30
|
+
type: "bytes32[]",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
indexed: false,
|
|
34
|
+
internalType: "bytes",
|
|
35
|
+
name: "abiEncodedCleartexts",
|
|
36
|
+
type: "bytes",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
name: "PublicDecryptionVerified",
|
|
40
|
+
type: "event",
|
|
41
|
+
},
|
|
42
|
+
] as const;
|
|
43
|
+
|
|
44
|
+
const _bytecode =
|
|
45
|
+
"0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea264697066735822122047c817a49a19c1b820a4cf1819aacf064966078cb9d634dcdf8f3913602992da64736f6c634300081b0033";
|
|
46
|
+
|
|
47
|
+
type FHEConstructorParams =
|
|
48
|
+
| [signer?: Signer]
|
|
49
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
50
|
+
|
|
51
|
+
const isSuperArgs = (
|
|
52
|
+
xs: FHEConstructorParams
|
|
53
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
54
|
+
|
|
55
|
+
export class FHE__factory extends ContractFactory {
|
|
56
|
+
constructor(...args: FHEConstructorParams) {
|
|
57
|
+
if (isSuperArgs(args)) {
|
|
58
|
+
super(...args);
|
|
59
|
+
} else {
|
|
60
|
+
super(_abi, _bytecode, args[0]);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
override getDeployTransaction(
|
|
65
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
66
|
+
): Promise<ContractDeployTransaction> {
|
|
67
|
+
return super.getDeployTransaction(overrides || {});
|
|
68
|
+
}
|
|
69
|
+
override deploy(overrides?: NonPayableOverrides & { from?: string }) {
|
|
70
|
+
return super.deploy(overrides || {}) as Promise<
|
|
71
|
+
FHE & {
|
|
72
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
73
|
+
}
|
|
74
|
+
>;
|
|
75
|
+
}
|
|
76
|
+
override connect(runner: ContractRunner | null): FHE__factory {
|
|
77
|
+
return super.connect(runner) as FHE__factory;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static readonly bytecode = _bytecode;
|
|
81
|
+
static readonly abi = _abi;
|
|
82
|
+
static createInterface(): FHEInterface {
|
|
83
|
+
return new Interface(_abi) as FHEInterface;
|
|
84
|
+
}
|
|
85
|
+
static connect(address: string, runner?: ContractRunner | null): FHE {
|
|
86
|
+
return new Contract(address, _abi, runner) as unknown as FHE;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
IKMSVerifier,
|
|
8
|
+
IKMSVerifierInterface,
|
|
9
|
+
} from "../../../../../@fhevm/solidity/lib/FHE.sol/IKMSVerifier";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "bytes32[]",
|
|
16
|
+
name: "handlesList",
|
|
17
|
+
type: "bytes32[]",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "bytes",
|
|
21
|
+
name: "decryptedResult",
|
|
22
|
+
type: "bytes",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "bytes",
|
|
26
|
+
name: "decryptionProof",
|
|
27
|
+
type: "bytes",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
name: "verifyDecryptionEIP712KMSSignatures",
|
|
31
|
+
outputs: [
|
|
32
|
+
{
|
|
33
|
+
internalType: "bool",
|
|
34
|
+
name: "",
|
|
35
|
+
type: "bool",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
stateMutability: "nonpayable",
|
|
39
|
+
type: "function",
|
|
40
|
+
},
|
|
41
|
+
] as const;
|
|
42
|
+
|
|
43
|
+
export class IKMSVerifier__factory {
|
|
44
|
+
static readonly abi = _abi;
|
|
45
|
+
static createInterface(): IKMSVerifierInterface {
|
|
46
|
+
return new Interface(_abi) as IKMSVerifierInterface;
|
|
47
|
+
}
|
|
48
|
+
static connect(
|
|
49
|
+
address: string,
|
|
50
|
+
runner?: ContractRunner | null
|
|
51
|
+
): IKMSVerifier {
|
|
52
|
+
return new Contract(address, _abi, runner) as unknown as IKMSVerifier;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
IACL,
|
|
8
|
+
IACLInterface,
|
|
9
|
+
} from "../../../../../@fhevm/solidity/lib/Impl.sol/IACL";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "bytes32",
|
|
16
|
+
name: "handle",
|
|
17
|
+
type: "bytes32",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "account",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
name: "allow",
|
|
26
|
+
outputs: [],
|
|
27
|
+
stateMutability: "nonpayable",
|
|
28
|
+
type: "function",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
inputs: [
|
|
32
|
+
{
|
|
33
|
+
internalType: "bytes32[]",
|
|
34
|
+
name: "handlesList",
|
|
35
|
+
type: "bytes32[]",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
name: "allowForDecryption",
|
|
39
|
+
outputs: [],
|
|
40
|
+
stateMutability: "nonpayable",
|
|
41
|
+
type: "function",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
inputs: [
|
|
45
|
+
{
|
|
46
|
+
internalType: "bytes32",
|
|
47
|
+
name: "ciphertext",
|
|
48
|
+
type: "bytes32",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
internalType: "address",
|
|
52
|
+
name: "account",
|
|
53
|
+
type: "address",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "allowTransient",
|
|
57
|
+
outputs: [],
|
|
58
|
+
stateMutability: "nonpayable",
|
|
59
|
+
type: "function",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [],
|
|
63
|
+
name: "cleanTransientStorage",
|
|
64
|
+
outputs: [],
|
|
65
|
+
stateMutability: "nonpayable",
|
|
66
|
+
type: "function",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
inputs: [
|
|
70
|
+
{
|
|
71
|
+
internalType: "bytes32",
|
|
72
|
+
name: "handle",
|
|
73
|
+
type: "bytes32",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
internalType: "address",
|
|
77
|
+
name: "account",
|
|
78
|
+
type: "address",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
name: "isAllowed",
|
|
82
|
+
outputs: [
|
|
83
|
+
{
|
|
84
|
+
internalType: "bool",
|
|
85
|
+
name: "",
|
|
86
|
+
type: "bool",
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
stateMutability: "view",
|
|
90
|
+
type: "function",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
inputs: [
|
|
94
|
+
{
|
|
95
|
+
internalType: "bytes32",
|
|
96
|
+
name: "handle",
|
|
97
|
+
type: "bytes32",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
name: "isAllowedForDecryption",
|
|
101
|
+
outputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "bool",
|
|
104
|
+
name: "",
|
|
105
|
+
type: "bool",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
stateMutability: "view",
|
|
109
|
+
type: "function",
|
|
110
|
+
},
|
|
111
|
+
] as const;
|
|
112
|
+
|
|
113
|
+
export class IACL__factory {
|
|
114
|
+
static readonly abi = _abi;
|
|
115
|
+
static createInterface(): IACLInterface {
|
|
116
|
+
return new Interface(_abi) as IACLInterface;
|
|
117
|
+
}
|
|
118
|
+
static connect(address: string, runner?: ContractRunner | null): IACL {
|
|
119
|
+
return new Contract(address, _abi, runner) as unknown as IACL;
|
|
120
|
+
}
|
|
121
|
+
}
|