@pru.pinya/contracts 1.0.3 → 1.0.5
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/artifacts/contracts/access/AccessController.sol/AccessController.json +304 -0
- package/artifacts/contracts/access/AccessController.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/access/AccessControllerKAP.sol/AccessControllerKAP.json +352 -0
- package/artifacts/contracts/access/AccessControllerKAP.sol/IKYCBitkubChain.json +33 -0
- package/artifacts/contracts/access/AccessControllerKAP.sol/KYCHandler.json +116 -0
- package/artifacts/contracts/access/AccessControllerKAP.sol/artifacts.d.ts +59 -0
- package/artifacts/contracts/access/Authorization.sol/Authorization.json +78 -0
- package/artifacts/contracts/access/Authorization.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/access/AuthorizationKAP.sol/AuthorizationKAP.json +155 -0
- package/artifacts/contracts/access/AuthorizationKAP.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/access/Committee.sol/Committee.json +65 -0
- package/artifacts/contracts/access/Committee.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/access/Ownable.sol/Ownable.json +66 -0
- package/artifacts/contracts/access/Ownable.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/interfaces/IAdminProjectRouter.sol/IAdminProjectRouter.json +62 -0
- package/artifacts/contracts/interfaces/IAdminProjectRouter.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/interfaces/IKYCBitkubChain.sol/IKYCBitkubChain.json +51 -0
- package/artifacts/contracts/interfaces/IKYCBitkubChain.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/kyc/KYCHandler.sol/KYCHandler.json +53 -0
- package/artifacts/contracts/kyc/KYCHandler.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/libs/Address.sol/Address.json +13 -0
- package/artifacts/contracts/libs/Address.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/libs/EnumerableSetAddress.sol/EnumerableSetAddress.json +13 -0
- package/artifacts/contracts/libs/EnumerableSetAddress.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/libs/EnumerableSetUint.sol/EnumerableSetUint.json +13 -0
- package/artifacts/contracts/libs/EnumerableSetUint.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/libs/EnumerateMap.sol/EnumerableMap.json +13 -0
- package/artifacts/contracts/libs/EnumerateMap.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/libs/String.sol/Strings.json +13 -0
- package/artifacts/contracts/libs/String.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-1155/KAP1155.sol/KAP1155.json +810 -0
- package/artifacts/contracts/token/KAP-1155/KAP1155.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-1155/interfaces/IKAP1155.sol/IKAP1155.json +403 -0
- package/artifacts/contracts/token/KAP-1155/interfaces/IKAP1155.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-1155/interfaces/IKAP1155Enumerable.sol/IKAP1155Enumerable.json +27 -0
- package/artifacts/contracts/token/KAP-1155/interfaces/IKAP1155Enumerable.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-1155/interfaces/IKAP1155Metadata.sol/IKAP1155Metadata.json +78 -0
- package/artifacts/contracts/token/KAP-1155/interfaces/IKAP1155Metadata.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-1155/interfaces/IKAP1155Receiver.sol/IKAP1155Receiver.json +92 -0
- package/artifacts/contracts/token/KAP-1155/interfaces/IKAP1155Receiver.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-20/KAP20.sol/KAP20.json +729 -0
- package/artifacts/contracts/token/KAP-20/KAP20.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-20/interfaces/IKAP20.sol/IKAP20.json +294 -0
- package/artifacts/contracts/token/KAP-20/interfaces/IKAP20.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-20/interfaces/IKToken.sol/IKToken.json +72 -0
- package/artifacts/contracts/token/KAP-20/interfaces/IKToken.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-22/KAP22.sol/KAP22.json +1022 -0
- package/artifacts/contracts/token/KAP-22/KAP22.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-22/interfaces/IKAP22.sol/IKAP22.json +176 -0
- package/artifacts/contracts/token/KAP-22/interfaces/IKAP22.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-22/utils/TransferRouter.sol/TransferRouter.json +52 -0
- package/artifacts/contracts/token/KAP-22/utils/TransferRouter.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-22/utils/WhitelistAddress.sol/WhitelistAddress.json +115 -0
- package/artifacts/contracts/token/KAP-22/utils/WhitelistAddress.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-721/KAP721.sol/KAP721.json +912 -0
- package/artifacts/contracts/token/KAP-721/KAP721.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721.sol/IKAP721.json +380 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721Enumerable.sol/IKAP721Enumerable.json +70 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721Enumerable.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721Metadata.sol/IKAP721Metadata.json +59 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721Metadata.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721Receiver.sol/IKAP721Receiver.json +48 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721Receiver.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721V2.sol/IKAP721V2.json +103 -0
- package/artifacts/contracts/token/KAP-721/interfaces/IKAP721V2.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/utils/Context.sol/Context.json +13 -0
- package/artifacts/contracts/utils/Context.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/utils/Pausable.sol/Pausable.json +53 -0
- package/artifacts/contracts/utils/Pausable.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/utils/introspections/IKAP165.sol/IKAP165.json +33 -0
- package/artifacts/contracts/utils/introspections/IKAP165.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/utils/introspections/KAP165.sol/KAP165.json +33 -0
- package/artifacts/contracts/utils/introspections/KAP165.sol/artifacts.d.ts +27 -0
- package/package.json +11 -3
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "IKYCBitkubChain",
|
|
4
|
+
"sourceName": "contracts/access/AccessControllerKAP.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_addr",
|
|
11
|
+
"type": "address"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "kycsLevel",
|
|
15
|
+
"outputs": [
|
|
16
|
+
{
|
|
17
|
+
"internalType": "uint256",
|
|
18
|
+
"name": "",
|
|
19
|
+
"type": "uint256"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"stateMutability": "view",
|
|
23
|
+
"type": "function"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"bytecode": "0x",
|
|
27
|
+
"deployedBytecode": "0x",
|
|
28
|
+
"linkReferences": {},
|
|
29
|
+
"deployedLinkReferences": {},
|
|
30
|
+
"immutableReferences": {},
|
|
31
|
+
"inputSourceName": "project/contracts/access/AccessControllerKAP.sol",
|
|
32
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
33
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "KYCHandler",
|
|
4
|
+
"sourceName": "contracts/access/AccessControllerKAP.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"anonymous": false,
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"indexed": true,
|
|
11
|
+
"internalType": "uint256",
|
|
12
|
+
"name": "oldAcceptedKYCLevelSet",
|
|
13
|
+
"type": "uint256"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"indexed": true,
|
|
17
|
+
"internalType": "uint256",
|
|
18
|
+
"name": "newAcceptedKYCLevelSet",
|
|
19
|
+
"type": "uint256"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"indexed": true,
|
|
23
|
+
"internalType": "address",
|
|
24
|
+
"name": "caller",
|
|
25
|
+
"type": "address"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"name": "AcceptedKYCLevelSet",
|
|
29
|
+
"type": "event"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"inputs": [
|
|
34
|
+
{
|
|
35
|
+
"indexed": true,
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "oldKYC",
|
|
38
|
+
"type": "address"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"indexed": true,
|
|
42
|
+
"internalType": "address",
|
|
43
|
+
"name": "newKYC",
|
|
44
|
+
"type": "address"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"indexed": true,
|
|
48
|
+
"internalType": "address",
|
|
49
|
+
"name": "caller",
|
|
50
|
+
"type": "address"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"name": "KYCSet",
|
|
54
|
+
"type": "event"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"anonymous": false,
|
|
58
|
+
"inputs": [
|
|
59
|
+
{
|
|
60
|
+
"indexed": true,
|
|
61
|
+
"internalType": "address",
|
|
62
|
+
"name": "caller",
|
|
63
|
+
"type": "address"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"name": "OnlyKYCAddressActivated",
|
|
67
|
+
"type": "event"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"inputs": [],
|
|
71
|
+
"name": "acceptedKycLevel",
|
|
72
|
+
"outputs": [
|
|
73
|
+
{
|
|
74
|
+
"internalType": "uint256",
|
|
75
|
+
"name": "",
|
|
76
|
+
"type": "uint256"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"stateMutability": "view",
|
|
80
|
+
"type": "function"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"inputs": [],
|
|
84
|
+
"name": "isActivatedOnlyKycAddress",
|
|
85
|
+
"outputs": [
|
|
86
|
+
{
|
|
87
|
+
"internalType": "bool",
|
|
88
|
+
"name": "",
|
|
89
|
+
"type": "bool"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"stateMutability": "view",
|
|
93
|
+
"type": "function"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"inputs": [],
|
|
97
|
+
"name": "kyc",
|
|
98
|
+
"outputs": [
|
|
99
|
+
{
|
|
100
|
+
"internalType": "contract IKYCBitkubChain",
|
|
101
|
+
"name": "",
|
|
102
|
+
"type": "address"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"stateMutability": "view",
|
|
106
|
+
"type": "function"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"bytecode": "0x",
|
|
110
|
+
"deployedBytecode": "0x",
|
|
111
|
+
"linkReferences": {},
|
|
112
|
+
"deployedLinkReferences": {},
|
|
113
|
+
"immutableReferences": {},
|
|
114
|
+
"inputSourceName": "project/contracts/access/AccessControllerKAP.sol",
|
|
115
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
116
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// This file was autogenerated by Hardhat, do not edit it.
|
|
2
|
+
// prettier-ignore
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// eslint-disable
|
|
5
|
+
// biome-ignore format: see above
|
|
6
|
+
|
|
7
|
+
export interface AccessControllerKAP$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "AccessControllerKAP";
|
|
10
|
+
readonly sourceName: "contracts/access/AccessControllerKAP.sol";
|
|
11
|
+
readonly abi: [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldAcceptedKYCLevelSet","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newAcceptedKYCLevelSet","type":"uint256"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"AcceptedKYCLevelSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldKYC","type":"address"},{"indexed":true,"internalType":"address","name":"newKYC","type":"address"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"KYCSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"OnlyKYCAddressActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"OwnerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldTransferRouter","type":"address"},{"indexed":true,"internalType":"address","name":"newTransferRouter","type":"address"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"TransferRouterSet","type":"event"},{"inputs":[],"name":"acceptedKycLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activateOnlyKycAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isActivatedOnlyKycAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"isWhitelistAddr","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kyc","outputs":[{"internalType":"contract IKYCBitkubChain","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"revokeWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_kycLevel","type":"uint256"}],"name":"setAcceptedKycLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IKYCBitkubChain","name":"_kyc","type":"address"}],"name":"setKyc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_transferRouter","type":"address"}],"name":"setTransferRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"whitelistAddrByIndex","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_page","type":"uint256"},{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"whitelistAddrByPage","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistAddrLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}];
|
|
12
|
+
readonly bytecode: "0x";
|
|
13
|
+
readonly deployedBytecode: "0x";
|
|
14
|
+
readonly linkReferences: {};
|
|
15
|
+
readonly deployedLinkReferences: {};
|
|
16
|
+
readonly immutableReferences: {};
|
|
17
|
+
readonly inputSourceName: "project/contracts/access/AccessControllerKAP.sol";
|
|
18
|
+
readonly buildInfoId: "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e";
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export interface IKYCBitkubChain$Type {
|
|
22
|
+
readonly _format: "hh3-artifact-1";
|
|
23
|
+
readonly contractName: "IKYCBitkubChain";
|
|
24
|
+
readonly sourceName: "contracts/access/AccessControllerKAP.sol";
|
|
25
|
+
readonly abi: [{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"kycsLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}];
|
|
26
|
+
readonly bytecode: "0x";
|
|
27
|
+
readonly deployedBytecode: "0x";
|
|
28
|
+
readonly linkReferences: {};
|
|
29
|
+
readonly deployedLinkReferences: {};
|
|
30
|
+
readonly immutableReferences: {};
|
|
31
|
+
readonly inputSourceName: "project/contracts/access/AccessControllerKAP.sol";
|
|
32
|
+
readonly buildInfoId: "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e";
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export interface KYCHandler$Type {
|
|
36
|
+
readonly _format: "hh3-artifact-1";
|
|
37
|
+
readonly contractName: "KYCHandler";
|
|
38
|
+
readonly sourceName: "contracts/access/AccessControllerKAP.sol";
|
|
39
|
+
readonly abi: [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldAcceptedKYCLevelSet","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newAcceptedKYCLevelSet","type":"uint256"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"AcceptedKYCLevelSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldKYC","type":"address"},{"indexed":true,"internalType":"address","name":"newKYC","type":"address"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"KYCSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"OnlyKYCAddressActivated","type":"event"},{"inputs":[],"name":"acceptedKycLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActivatedOnlyKycAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kyc","outputs":[{"internalType":"contract IKYCBitkubChain","name":"","type":"address"}],"stateMutability":"view","type":"function"}];
|
|
40
|
+
readonly bytecode: "0x";
|
|
41
|
+
readonly deployedBytecode: "0x";
|
|
42
|
+
readonly linkReferences: {};
|
|
43
|
+
readonly deployedLinkReferences: {};
|
|
44
|
+
readonly immutableReferences: {};
|
|
45
|
+
readonly inputSourceName: "project/contracts/access/AccessControllerKAP.sol";
|
|
46
|
+
readonly buildInfoId: "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e";
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
import "hardhat/types/artifacts";
|
|
50
|
+
declare module "hardhat/types/artifacts" {
|
|
51
|
+
interface ArtifactMap {
|
|
52
|
+
["AccessControllerKAP"]: AccessControllerKAP$Type
|
|
53
|
+
["IKYCBitkubChain"]: IKYCBitkubChain$Type
|
|
54
|
+
["KYCHandler"]: KYCHandler$Type;
|
|
55
|
+
["contracts/access/AccessControllerKAP.sol:AccessControllerKAP"]: AccessControllerKAP$Type
|
|
56
|
+
["contracts/access/AccessControllerKAP.sol:IKYCBitkubChain"]: IKYCBitkubChain$Type
|
|
57
|
+
["contracts/access/AccessControllerKAP.sol:KYCHandler"]: KYCHandler$Type;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "Authorization",
|
|
4
|
+
"sourceName": "contracts/access/Authorization.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"anonymous": false,
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"indexed": true,
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "oldAdmin",
|
|
13
|
+
"type": "address"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"indexed": true,
|
|
17
|
+
"internalType": "address",
|
|
18
|
+
"name": "newAdmin",
|
|
19
|
+
"type": "address"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"indexed": true,
|
|
23
|
+
"internalType": "address",
|
|
24
|
+
"name": "caller",
|
|
25
|
+
"type": "address"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"name": "AdminProjectRouterSet",
|
|
29
|
+
"type": "event"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"inputs": [],
|
|
33
|
+
"name": "PROJECT",
|
|
34
|
+
"outputs": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "string",
|
|
37
|
+
"name": "",
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"stateMutability": "view",
|
|
42
|
+
"type": "function"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"inputs": [],
|
|
46
|
+
"name": "adminProjectRouter",
|
|
47
|
+
"outputs": [
|
|
48
|
+
{
|
|
49
|
+
"internalType": "contract IAdminProjectRouter",
|
|
50
|
+
"name": "",
|
|
51
|
+
"type": "address"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"stateMutability": "view",
|
|
55
|
+
"type": "function"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"inputs": [
|
|
59
|
+
{
|
|
60
|
+
"internalType": "address",
|
|
61
|
+
"name": "_adminProjectRouter",
|
|
62
|
+
"type": "address"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"name": "setAdminProjectRouter",
|
|
66
|
+
"outputs": [],
|
|
67
|
+
"stateMutability": "nonpayable",
|
|
68
|
+
"type": "function"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"bytecode": "0x",
|
|
72
|
+
"deployedBytecode": "0x",
|
|
73
|
+
"linkReferences": {},
|
|
74
|
+
"deployedLinkReferences": {},
|
|
75
|
+
"immutableReferences": {},
|
|
76
|
+
"inputSourceName": "project/contracts/access/Authorization.sol",
|
|
77
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
78
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file was autogenerated by Hardhat, do not edit it.
|
|
2
|
+
// prettier-ignore
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// eslint-disable
|
|
5
|
+
// biome-ignore format: see above
|
|
6
|
+
|
|
7
|
+
export interface Authorization$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "Authorization";
|
|
10
|
+
readonly sourceName: "contracts/access/Authorization.sol";
|
|
11
|
+
readonly abi: [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"AdminProjectRouterSet","type":"event"},{"inputs":[],"name":"PROJECT","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminProjectRouter","outputs":[{"internalType":"contract IAdminProjectRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_adminProjectRouter","type":"address"}],"name":"setAdminProjectRouter","outputs":[],"stateMutability":"nonpayable","type":"function"}];
|
|
12
|
+
readonly bytecode: "0x";
|
|
13
|
+
readonly deployedBytecode: "0x";
|
|
14
|
+
readonly linkReferences: {};
|
|
15
|
+
readonly deployedLinkReferences: {};
|
|
16
|
+
readonly immutableReferences: {};
|
|
17
|
+
readonly inputSourceName: "project/contracts/access/Authorization.sol";
|
|
18
|
+
readonly buildInfoId: "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e";
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
import "hardhat/types/artifacts";
|
|
22
|
+
declare module "hardhat/types/artifacts" {
|
|
23
|
+
interface ArtifactMap {
|
|
24
|
+
["Authorization"]: Authorization$Type;
|
|
25
|
+
["contracts/access/Authorization.sol:Authorization"]: Authorization$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "AuthorizationKAP",
|
|
4
|
+
"sourceName": "contracts/access/AuthorizationKAP.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"anonymous": false,
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"indexed": true,
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "oldAdmin",
|
|
13
|
+
"type": "address"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"indexed": true,
|
|
17
|
+
"internalType": "address",
|
|
18
|
+
"name": "newAdmin",
|
|
19
|
+
"type": "address"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"indexed": true,
|
|
23
|
+
"internalType": "address",
|
|
24
|
+
"name": "caller",
|
|
25
|
+
"type": "address"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"name": "SetAdmin",
|
|
29
|
+
"type": "event"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"inputs": [
|
|
34
|
+
{
|
|
35
|
+
"indexed": true,
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "oldCommittee",
|
|
38
|
+
"type": "address"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"indexed": true,
|
|
42
|
+
"internalType": "address",
|
|
43
|
+
"name": "newCommittee",
|
|
44
|
+
"type": "address"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"indexed": true,
|
|
48
|
+
"internalType": "address",
|
|
49
|
+
"name": "caller",
|
|
50
|
+
"type": "address"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"name": "SetCommittee",
|
|
54
|
+
"type": "event"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"inputs": [],
|
|
58
|
+
"name": "PROJECT",
|
|
59
|
+
"outputs": [
|
|
60
|
+
{
|
|
61
|
+
"internalType": "string",
|
|
62
|
+
"name": "",
|
|
63
|
+
"type": "string"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"stateMutability": "view",
|
|
67
|
+
"type": "function"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"inputs": [],
|
|
71
|
+
"name": "adminRouter",
|
|
72
|
+
"outputs": [
|
|
73
|
+
{
|
|
74
|
+
"internalType": "contract IAdminProjectRouter",
|
|
75
|
+
"name": "",
|
|
76
|
+
"type": "address"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"stateMutability": "view",
|
|
80
|
+
"type": "function"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"inputs": [],
|
|
84
|
+
"name": "committee",
|
|
85
|
+
"outputs": [
|
|
86
|
+
{
|
|
87
|
+
"internalType": "address",
|
|
88
|
+
"name": "",
|
|
89
|
+
"type": "address"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"stateMutability": "view",
|
|
93
|
+
"type": "function"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"inputs": [
|
|
97
|
+
{
|
|
98
|
+
"internalType": "address",
|
|
99
|
+
"name": "_adminRouter",
|
|
100
|
+
"type": "address"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"name": "setAdmin",
|
|
104
|
+
"outputs": [],
|
|
105
|
+
"stateMutability": "nonpayable",
|
|
106
|
+
"type": "function"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"inputs": [
|
|
110
|
+
{
|
|
111
|
+
"internalType": "address",
|
|
112
|
+
"name": "_committee",
|
|
113
|
+
"type": "address"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"name": "setCommittee",
|
|
117
|
+
"outputs": [],
|
|
118
|
+
"stateMutability": "nonpayable",
|
|
119
|
+
"type": "function"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"inputs": [
|
|
123
|
+
{
|
|
124
|
+
"internalType": "address",
|
|
125
|
+
"name": "_transferRouter",
|
|
126
|
+
"type": "address"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"name": "setTransferRouter",
|
|
130
|
+
"outputs": [],
|
|
131
|
+
"stateMutability": "nonpayable",
|
|
132
|
+
"type": "function"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"inputs": [],
|
|
136
|
+
"name": "transferRouter",
|
|
137
|
+
"outputs": [
|
|
138
|
+
{
|
|
139
|
+
"internalType": "address",
|
|
140
|
+
"name": "",
|
|
141
|
+
"type": "address"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"stateMutability": "view",
|
|
145
|
+
"type": "function"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"bytecode": "0x",
|
|
149
|
+
"deployedBytecode": "0x",
|
|
150
|
+
"linkReferences": {},
|
|
151
|
+
"deployedLinkReferences": {},
|
|
152
|
+
"immutableReferences": {},
|
|
153
|
+
"inputSourceName": "project/contracts/access/AuthorizationKAP.sol",
|
|
154
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
155
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file was autogenerated by Hardhat, do not edit it.
|
|
2
|
+
// prettier-ignore
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// eslint-disable
|
|
5
|
+
// biome-ignore format: see above
|
|
6
|
+
|
|
7
|
+
export interface AuthorizationKAP$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "AuthorizationKAP";
|
|
10
|
+
readonly sourceName: "contracts/access/AuthorizationKAP.sol";
|
|
11
|
+
readonly abi: [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"SetAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldCommittee","type":"address"},{"indexed":true,"internalType":"address","name":"newCommittee","type":"address"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"SetCommittee","type":"event"},{"inputs":[],"name":"PROJECT","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminRouter","outputs":[{"internalType":"contract IAdminProjectRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"committee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_adminRouter","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_committee","type":"address"}],"name":"setCommittee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_transferRouter","type":"address"}],"name":"setTransferRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}];
|
|
12
|
+
readonly bytecode: "0x";
|
|
13
|
+
readonly deployedBytecode: "0x";
|
|
14
|
+
readonly linkReferences: {};
|
|
15
|
+
readonly deployedLinkReferences: {};
|
|
16
|
+
readonly immutableReferences: {};
|
|
17
|
+
readonly inputSourceName: "project/contracts/access/AuthorizationKAP.sol";
|
|
18
|
+
readonly buildInfoId: "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e";
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
import "hardhat/types/artifacts";
|
|
22
|
+
declare module "hardhat/types/artifacts" {
|
|
23
|
+
interface ArtifactMap {
|
|
24
|
+
["AuthorizationKAP"]: AuthorizationKAP$Type;
|
|
25
|
+
["contracts/access/AuthorizationKAP.sol:AuthorizationKAP"]: AuthorizationKAP$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "Committee",
|
|
4
|
+
"sourceName": "contracts/access/Committee.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"anonymous": false,
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"indexed": true,
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "oldCommittee",
|
|
13
|
+
"type": "address"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"indexed": true,
|
|
17
|
+
"internalType": "address",
|
|
18
|
+
"name": "newCommittee",
|
|
19
|
+
"type": "address"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"indexed": true,
|
|
23
|
+
"internalType": "address",
|
|
24
|
+
"name": "caller",
|
|
25
|
+
"type": "address"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"name": "CommitteeSet",
|
|
29
|
+
"type": "event"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"inputs": [],
|
|
33
|
+
"name": "committee",
|
|
34
|
+
"outputs": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "",
|
|
38
|
+
"type": "address"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"stateMutability": "view",
|
|
42
|
+
"type": "function"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"internalType": "address",
|
|
48
|
+
"name": "_committee",
|
|
49
|
+
"type": "address"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"name": "setCommittee",
|
|
53
|
+
"outputs": [],
|
|
54
|
+
"stateMutability": "nonpayable",
|
|
55
|
+
"type": "function"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"bytecode": "0x",
|
|
59
|
+
"deployedBytecode": "0x",
|
|
60
|
+
"linkReferences": {},
|
|
61
|
+
"deployedLinkReferences": {},
|
|
62
|
+
"immutableReferences": {},
|
|
63
|
+
"inputSourceName": "project/contracts/access/Committee.sol",
|
|
64
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
65
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file was autogenerated by Hardhat, do not edit it.
|
|
2
|
+
// prettier-ignore
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// eslint-disable
|
|
5
|
+
// biome-ignore format: see above
|
|
6
|
+
|
|
7
|
+
export interface Committee$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "Committee";
|
|
10
|
+
readonly sourceName: "contracts/access/Committee.sol";
|
|
11
|
+
readonly abi: [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldCommittee","type":"address"},{"indexed":true,"internalType":"address","name":"newCommittee","type":"address"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"CommitteeSet","type":"event"},{"inputs":[],"name":"committee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_committee","type":"address"}],"name":"setCommittee","outputs":[],"stateMutability":"nonpayable","type":"function"}];
|
|
12
|
+
readonly bytecode: "0x";
|
|
13
|
+
readonly deployedBytecode: "0x";
|
|
14
|
+
readonly linkReferences: {};
|
|
15
|
+
readonly deployedLinkReferences: {};
|
|
16
|
+
readonly immutableReferences: {};
|
|
17
|
+
readonly inputSourceName: "project/contracts/access/Committee.sol";
|
|
18
|
+
readonly buildInfoId: "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e";
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
import "hardhat/types/artifacts";
|
|
22
|
+
declare module "hardhat/types/artifacts" {
|
|
23
|
+
interface ArtifactMap {
|
|
24
|
+
["Committee"]: Committee$Type;
|
|
25
|
+
["contracts/access/Committee.sol:Committee"]: Committee$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|