@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,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "IKAP721Receiver",
|
|
4
|
+
"sourceName": "contracts/token/KAP-721/interfaces/IKAP721Receiver.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "operator",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "from",
|
|
16
|
+
"type": "address"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "uint256",
|
|
20
|
+
"name": "tokenId",
|
|
21
|
+
"type": "uint256"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "bytes",
|
|
25
|
+
"name": "data",
|
|
26
|
+
"type": "bytes"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "onKAP721Received",
|
|
30
|
+
"outputs": [
|
|
31
|
+
{
|
|
32
|
+
"internalType": "bytes4",
|
|
33
|
+
"name": "",
|
|
34
|
+
"type": "bytes4"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"stateMutability": "nonpayable",
|
|
38
|
+
"type": "function"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"bytecode": "0x",
|
|
42
|
+
"deployedBytecode": "0x",
|
|
43
|
+
"linkReferences": {},
|
|
44
|
+
"deployedLinkReferences": {},
|
|
45
|
+
"immutableReferences": {},
|
|
46
|
+
"inputSourceName": "project/contracts/token/KAP-721/interfaces/IKAP721Receiver.sol",
|
|
47
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
48
|
+
}
|
|
@@ -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 IKAP721Receiver$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "IKAP721Receiver";
|
|
10
|
+
readonly sourceName: "contracts/token/KAP-721/interfaces/IKAP721Receiver.sol";
|
|
11
|
+
readonly abi: [{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onKAP721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"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/token/KAP-721/interfaces/IKAP721Receiver.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
|
+
["IKAP721Receiver"]: IKAP721Receiver$Type;
|
|
25
|
+
["contracts/token/KAP-721/interfaces/IKAP721Receiver.sol:IKAP721Receiver"]: IKAP721Receiver$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "IKAP721V2",
|
|
4
|
+
"sourceName": "contracts/token/KAP-721/interfaces/IKAP721V2.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "to",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "uint256",
|
|
15
|
+
"name": "tokenId",
|
|
16
|
+
"type": "uint256"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "adminApprove",
|
|
20
|
+
"outputs": [],
|
|
21
|
+
"stateMutability": "nonpayable",
|
|
22
|
+
"type": "function"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"inputs": [
|
|
26
|
+
{
|
|
27
|
+
"internalType": "address",
|
|
28
|
+
"name": "owner",
|
|
29
|
+
"type": "address"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"internalType": "address",
|
|
33
|
+
"name": "operator",
|
|
34
|
+
"type": "address"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"internalType": "bool",
|
|
38
|
+
"name": "approved",
|
|
39
|
+
"type": "bool"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"name": "adminSetApprovalForAll",
|
|
43
|
+
"outputs": [],
|
|
44
|
+
"stateMutability": "nonpayable",
|
|
45
|
+
"type": "function"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"internalType": "address",
|
|
51
|
+
"name": "owner",
|
|
52
|
+
"type": "address"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"name": "tokenOfOwnerAll",
|
|
56
|
+
"outputs": [
|
|
57
|
+
{
|
|
58
|
+
"internalType": "uint256[]",
|
|
59
|
+
"name": "",
|
|
60
|
+
"type": "uint256[]"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"stateMutability": "view",
|
|
64
|
+
"type": "function"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"inputs": [
|
|
68
|
+
{
|
|
69
|
+
"internalType": "address",
|
|
70
|
+
"name": "owner",
|
|
71
|
+
"type": "address"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"internalType": "uint256",
|
|
75
|
+
"name": "page",
|
|
76
|
+
"type": "uint256"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"internalType": "uint256",
|
|
80
|
+
"name": "limit",
|
|
81
|
+
"type": "uint256"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"name": "tokenOfOwnerByPage",
|
|
85
|
+
"outputs": [
|
|
86
|
+
{
|
|
87
|
+
"internalType": "uint256[]",
|
|
88
|
+
"name": "",
|
|
89
|
+
"type": "uint256[]"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"stateMutability": "view",
|
|
93
|
+
"type": "function"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"bytecode": "0x",
|
|
97
|
+
"deployedBytecode": "0x",
|
|
98
|
+
"linkReferences": {},
|
|
99
|
+
"deployedLinkReferences": {},
|
|
100
|
+
"immutableReferences": {},
|
|
101
|
+
"inputSourceName": "project/contracts/token/KAP-721/interfaces/IKAP721V2.sol",
|
|
102
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
103
|
+
}
|
|
@@ -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 IKAP721V2$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "IKAP721V2";
|
|
10
|
+
readonly sourceName: "contracts/token/KAP-721/interfaces/IKAP721V2.sol";
|
|
11
|
+
readonly abi: [{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"adminApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"adminSetApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokenOfOwnerAll","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"page","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"tokenOfOwnerByPage","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/token/KAP-721/interfaces/IKAP721V2.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
|
+
["IKAP721V2"]: IKAP721V2$Type;
|
|
25
|
+
["contracts/token/KAP-721/interfaces/IKAP721V2.sol:IKAP721V2"]: IKAP721V2$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "Context",
|
|
4
|
+
"sourceName": "contracts/utils/Context.sol",
|
|
5
|
+
"abi": [],
|
|
6
|
+
"bytecode": "0x",
|
|
7
|
+
"deployedBytecode": "0x",
|
|
8
|
+
"linkReferences": {},
|
|
9
|
+
"deployedLinkReferences": {},
|
|
10
|
+
"immutableReferences": {},
|
|
11
|
+
"inputSourceName": "project/contracts/utils/Context.sol",
|
|
12
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
13
|
+
}
|
|
@@ -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 Context$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "Context";
|
|
10
|
+
readonly sourceName: "contracts/utils/Context.sol";
|
|
11
|
+
readonly abi: [];
|
|
12
|
+
readonly bytecode: "0x";
|
|
13
|
+
readonly deployedBytecode: "0x";
|
|
14
|
+
readonly linkReferences: {};
|
|
15
|
+
readonly deployedLinkReferences: {};
|
|
16
|
+
readonly immutableReferences: {};
|
|
17
|
+
readonly inputSourceName: "project/contracts/utils/Context.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
|
+
["Context"]: Context$Type;
|
|
25
|
+
["contracts/utils/Context.sol:Context"]: Context$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "Pausable",
|
|
4
|
+
"sourceName": "contracts/utils/Pausable.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"anonymous": false,
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"indexed": false,
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "account",
|
|
13
|
+
"type": "address"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"name": "Paused",
|
|
17
|
+
"type": "event"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"anonymous": false,
|
|
21
|
+
"inputs": [
|
|
22
|
+
{
|
|
23
|
+
"indexed": false,
|
|
24
|
+
"internalType": "address",
|
|
25
|
+
"name": "account",
|
|
26
|
+
"type": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "Unpaused",
|
|
30
|
+
"type": "event"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "paused",
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "bool",
|
|
38
|
+
"name": "",
|
|
39
|
+
"type": "bool"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"stateMutability": "view",
|
|
43
|
+
"type": "function"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"bytecode": "0x",
|
|
47
|
+
"deployedBytecode": "0x",
|
|
48
|
+
"linkReferences": {},
|
|
49
|
+
"deployedLinkReferences": {},
|
|
50
|
+
"immutableReferences": {},
|
|
51
|
+
"inputSourceName": "project/contracts/utils/Pausable.sol",
|
|
52
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
53
|
+
}
|
|
@@ -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 Pausable$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "Pausable";
|
|
10
|
+
readonly sourceName: "contracts/utils/Pausable.sol";
|
|
11
|
+
readonly abi: [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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/utils/Pausable.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
|
+
["Pausable"]: Pausable$Type;
|
|
25
|
+
["contracts/utils/Pausable.sol:Pausable"]: Pausable$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "IKAP165",
|
|
4
|
+
"sourceName": "contracts/utils/introspections/IKAP165.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes4",
|
|
10
|
+
"name": "interfaceId",
|
|
11
|
+
"type": "bytes4"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "supportsInterface",
|
|
15
|
+
"outputs": [
|
|
16
|
+
{
|
|
17
|
+
"internalType": "bool",
|
|
18
|
+
"name": "",
|
|
19
|
+
"type": "bool"
|
|
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/utils/introspections/IKAP165.sol",
|
|
32
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
33
|
+
}
|
|
@@ -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 IKAP165$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "IKAP165";
|
|
10
|
+
readonly sourceName: "contracts/utils/introspections/IKAP165.sol";
|
|
11
|
+
readonly abi: [{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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/utils/introspections/IKAP165.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
|
+
["IKAP165"]: IKAP165$Type;
|
|
25
|
+
["contracts/utils/introspections/IKAP165.sol:IKAP165"]: IKAP165$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "KAP165",
|
|
4
|
+
"sourceName": "contracts/utils/introspections/KAP165.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes4",
|
|
10
|
+
"name": "interfaceId",
|
|
11
|
+
"type": "bytes4"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "supportsInterface",
|
|
15
|
+
"outputs": [
|
|
16
|
+
{
|
|
17
|
+
"internalType": "bool",
|
|
18
|
+
"name": "",
|
|
19
|
+
"type": "bool"
|
|
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/utils/introspections/KAP165.sol",
|
|
32
|
+
"buildInfoId": "solc-0_8_0-6a85256c4b5d4aa15483f6a88c678f03511b2a6e"
|
|
33
|
+
}
|
|
@@ -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 KAP165$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "KAP165";
|
|
10
|
+
readonly sourceName: "contracts/utils/introspections/KAP165.sol";
|
|
11
|
+
readonly abi: [{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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/utils/introspections/KAP165.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
|
+
["KAP165"]: KAP165$Type;
|
|
25
|
+
["contracts/utils/introspections/KAP165.sol:KAP165"]: KAP165$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pru.pinya/contracts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "KubChain smart contract library — KAP20, KAP721, KAP1155",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"contracts/**/*.sol",
|
|
9
|
-
"
|
|
9
|
+
"artifacts/contracts/**/*.json",
|
|
10
|
+
"artifacts/contracts/**/*.d.ts",
|
|
11
|
+
"!artifacts/contracts/**/*.dbg.json"
|
|
10
12
|
],
|
|
11
13
|
"scripts": {
|
|
12
14
|
"build": "npx hardhat compile",
|
|
@@ -23,12 +25,18 @@
|
|
|
23
25
|
"author": "pru.pinya",
|
|
24
26
|
"license": "MIT",
|
|
25
27
|
"devDependencies": {
|
|
28
|
+
"@nomicfoundation/hardhat-ethers": "^4.0.14",
|
|
26
29
|
"@types/node": "^22.20.0",
|
|
30
|
+
"ethers": "^6.17.0",
|
|
27
31
|
"hardhat": "^3.9.1",
|
|
28
32
|
"typescript": "~6.0.3"
|
|
29
33
|
},
|
|
30
34
|
"repository": {
|
|
31
35
|
"url": "git+https://github.com/kub-chain/kub-contracts.git"
|
|
32
36
|
},
|
|
33
|
-
"homepage": "https://www.kubchain.com/"
|
|
37
|
+
"homepage": "https://www.kubchain.com/",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@pru.pinya/contracts": "^1.0.4",
|
|
40
|
+
"dotenv": "^17.4.2"
|
|
41
|
+
}
|
|
34
42
|
}
|