@etherisc/gif-next 0.0.2-b9b3e89 → 0.0.2-c4efd5e

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. package/README.md +25 -0
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +7 -7
  4. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
  5. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +2 -2
  6. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +6 -6
  8. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +8 -8
  10. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  11. package/artifacts/contracts/components/Pool.sol/Pool.json +29 -11
  12. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  13. package/artifacts/contracts/components/Product.sol/Product.json +31 -13
  14. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +4 -0
  15. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +105 -0
  16. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +4 -0
  17. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +105 -0
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +128 -0
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +42 -0
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +76 -0
  24. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +4 -0
  25. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +89 -0
  26. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +4 -0
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +128 -0
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +4 -0
  29. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +37 -0
  30. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +4 -0
  31. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +50 -0
  32. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +4 -0
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +63 -0
  34. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +4 -0
  35. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +10 -0
  36. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +4 -0
  37. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +10 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +60 -60
  40. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  41. package/artifacts/contracts/instance/Instance.sol/Instance.json +122 -64
  42. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
  43. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
  45. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
  46. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  47. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  48. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +24 -24
  49. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
  50. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +48 -6
  51. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
  52. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
  53. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +6 -6
  54. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  55. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +26 -26
  56. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +3 -3
  58. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
  59. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  60. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +18 -18
  62. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  63. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +18 -18
  64. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  65. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  66. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +10 -10
  67. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  68. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +10 -10
  69. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
  70. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +8 -8
  72. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
  73. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +54 -12
  75. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
  76. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +534 -0
  77. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +4 -0
  78. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +452 -0
  79. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
  80. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
  81. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +6 -6
  82. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  83. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +41 -33
  84. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
  85. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
  86. package/artifacts/contracts/registry/Registry.sol/Registerable.json +7 -7
  87. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  88. package/artifacts/contracts/registry/Registry.sol/Registry.json +100 -42
  89. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
  90. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +2 -2
  91. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  92. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  93. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
  94. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
  95. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
  96. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +92 -0
  97. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  98. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +174 -0
  99. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
  100. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +453 -0
  101. package/contracts/components/Component.sol +17 -19
  102. package/contracts/components/IPool.sol +3 -3
  103. package/contracts/components/IProduct.sol +4 -6
  104. package/contracts/components/Pool.sol +6 -13
  105. package/contracts/components/Product.sol +12 -22
  106. package/contracts/experiment/errors/Require.sol +38 -0
  107. package/contracts/experiment/errors/Revert.sol +44 -0
  108. package/contracts/experiment/inheritance/A.sol +53 -0
  109. package/contracts/experiment/inheritance/B.sol +28 -0
  110. package/contracts/experiment/inheritance/C.sol +34 -0
  111. package/contracts/experiment/inheritance/IA.sol +13 -0
  112. package/contracts/experiment/inheritance/IB.sol +10 -0
  113. package/contracts/experiment/inheritance/IC.sol +12 -0
  114. package/contracts/experiment/types/TypeA.sol +47 -0
  115. package/contracts/experiment/types/TypeB.sol +29 -0
  116. package/contracts/instance/IInstance.sol +4 -6
  117. package/contracts/instance/Instance.sol +15 -14
  118. package/contracts/instance/access/Access.sol +63 -116
  119. package/contracts/instance/access/IAccess.sol +28 -48
  120. package/contracts/instance/component/ComponentModule.sol +84 -130
  121. package/contracts/instance/component/IComponent.sol +32 -53
  122. package/contracts/instance/policy/IPolicy.sol +12 -27
  123. package/contracts/instance/policy/PolicyModule.sol +25 -40
  124. package/contracts/instance/pool/IPoolModule.sol +10 -21
  125. package/contracts/instance/pool/PoolModule.sol +28 -38
  126. package/contracts/instance/product/IProductService.sol +9 -18
  127. package/contracts/instance/product/ProductService.sol +54 -47
  128. package/contracts/registry/ChainNft.sol +135 -0
  129. package/contracts/registry/IChainNft.sol +21 -0
  130. package/contracts/registry/IRegistry.sol +52 -38
  131. package/contracts/registry/Registry.sol +107 -95
  132. package/contracts/types/Blocknumber.sol +118 -0
  133. package/contracts/types/ChainId.sol +38 -0
  134. package/contracts/types/NftId.sol +51 -0
  135. package/contracts/types/Timestamp.sol +102 -0
  136. package/contracts/types/UFixed.sol +205 -0
  137. package/package.json +7 -3
@@ -0,0 +1,128 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IA",
4
+ "sourceName": "contracts/experiment/inheritance/IA.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "getA",
9
+ "outputs": [
10
+ {
11
+ "internalType": "uint256",
12
+ "name": "",
13
+ "type": "uint256"
14
+ }
15
+ ],
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "inputs": [],
21
+ "name": "getAfromB",
22
+ "outputs": [
23
+ {
24
+ "internalType": "uint256",
25
+ "name": "",
26
+ "type": "uint256"
27
+ }
28
+ ],
29
+ "stateMutability": "view",
30
+ "type": "function"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "getAfromC",
35
+ "outputs": [
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "",
39
+ "type": "uint256"
40
+ }
41
+ ],
42
+ "stateMutability": "view",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [],
47
+ "name": "getB",
48
+ "outputs": [
49
+ {
50
+ "internalType": "uint256",
51
+ "name": "",
52
+ "type": "uint256"
53
+ }
54
+ ],
55
+ "stateMutability": "view",
56
+ "type": "function"
57
+ },
58
+ {
59
+ "inputs": [],
60
+ "name": "getBfromC",
61
+ "outputs": [
62
+ {
63
+ "internalType": "uint256",
64
+ "name": "",
65
+ "type": "uint256"
66
+ }
67
+ ],
68
+ "stateMutability": "view",
69
+ "type": "function"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "getC",
74
+ "outputs": [
75
+ {
76
+ "internalType": "uint256",
77
+ "name": "",
78
+ "type": "uint256"
79
+ }
80
+ ],
81
+ "stateMutability": "view",
82
+ "type": "function"
83
+ },
84
+ {
85
+ "inputs": [
86
+ {
87
+ "internalType": "uint256",
88
+ "name": "newA",
89
+ "type": "uint256"
90
+ }
91
+ ],
92
+ "name": "setA",
93
+ "outputs": [],
94
+ "stateMutability": "nonpayable",
95
+ "type": "function"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "uint256",
101
+ "name": "newA",
102
+ "type": "uint256"
103
+ }
104
+ ],
105
+ "name": "setB",
106
+ "outputs": [],
107
+ "stateMutability": "nonpayable",
108
+ "type": "function"
109
+ },
110
+ {
111
+ "inputs": [
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "newA",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "setC",
119
+ "outputs": [],
120
+ "stateMutability": "nonpayable",
121
+ "type": "function"
122
+ }
123
+ ],
124
+ "bytecode": "0x",
125
+ "deployedBytecode": "0x",
126
+ "linkReferences": {},
127
+ "deployedLinkReferences": {}
128
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/9cea56ae12290975150a997d3d582379.json"
4
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ISharedA",
4
+ "sourceName": "contracts/experiment/inheritance/IA.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "getA",
9
+ "outputs": [
10
+ {
11
+ "internalType": "uint256",
12
+ "name": "",
13
+ "type": "uint256"
14
+ }
15
+ ],
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "inputs": [
21
+ {
22
+ "internalType": "uint256",
23
+ "name": "newA",
24
+ "type": "uint256"
25
+ }
26
+ ],
27
+ "name": "setA",
28
+ "outputs": [],
29
+ "stateMutability": "nonpayable",
30
+ "type": "function"
31
+ }
32
+ ],
33
+ "bytecode": "0x",
34
+ "deployedBytecode": "0x",
35
+ "linkReferences": {},
36
+ "deployedLinkReferences": {}
37
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/9cea56ae12290975150a997d3d582379.json"
4
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IB",
4
+ "sourceName": "contracts/experiment/inheritance/IB.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "getAfromB",
9
+ "outputs": [
10
+ {
11
+ "internalType": "uint256",
12
+ "name": "",
13
+ "type": "uint256"
14
+ }
15
+ ],
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "inputs": [],
21
+ "name": "getB",
22
+ "outputs": [
23
+ {
24
+ "internalType": "uint256",
25
+ "name": "",
26
+ "type": "uint256"
27
+ }
28
+ ],
29
+ "stateMutability": "view",
30
+ "type": "function"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "uint256",
36
+ "name": "newA",
37
+ "type": "uint256"
38
+ }
39
+ ],
40
+ "name": "setB",
41
+ "outputs": [],
42
+ "stateMutability": "nonpayable",
43
+ "type": "function"
44
+ }
45
+ ],
46
+ "bytecode": "0x",
47
+ "deployedBytecode": "0x",
48
+ "linkReferences": {},
49
+ "deployedLinkReferences": {}
50
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/9cea56ae12290975150a997d3d582379.json"
4
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IC",
4
+ "sourceName": "contracts/experiment/inheritance/IC.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "getAfromC",
9
+ "outputs": [
10
+ {
11
+ "internalType": "uint256",
12
+ "name": "",
13
+ "type": "uint256"
14
+ }
15
+ ],
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "inputs": [],
21
+ "name": "getBfromC",
22
+ "outputs": [
23
+ {
24
+ "internalType": "uint256",
25
+ "name": "",
26
+ "type": "uint256"
27
+ }
28
+ ],
29
+ "stateMutability": "view",
30
+ "type": "function"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "getC",
35
+ "outputs": [
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "",
39
+ "type": "uint256"
40
+ }
41
+ ],
42
+ "stateMutability": "view",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [
47
+ {
48
+ "internalType": "uint256",
49
+ "name": "newA",
50
+ "type": "uint256"
51
+ }
52
+ ],
53
+ "name": "setC",
54
+ "outputs": [],
55
+ "stateMutability": "nonpayable",
56
+ "type": "function"
57
+ }
58
+ ],
59
+ "bytecode": "0x",
60
+ "deployedBytecode": "0x",
61
+ "linkReferences": {},
62
+ "deployedLinkReferences": {}
63
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/9cea56ae12290975150a997d3d582379.json"
4
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "TypeALib",
4
+ "sourceName": "contracts/experiment/types/TypeA.sol",
5
+ "abi": [],
6
+ "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e60f90b8c8890867dbef26ecfb95e773bdddf9b68c37f40c6f51d3696eb6f8c264736f6c63430008140033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e60f90b8c8890867dbef26ecfb95e773bdddf9b68c37f40c6f51d3696eb6f8c264736f6c63430008140033",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/9cea56ae12290975150a997d3d582379.json"
4
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "TypeBLib",
4
+ "sourceName": "contracts/experiment/types/TypeB.sol",
5
+ "abi": [],
6
+ "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c84dc56622da8ce02f1f241200130d274df30a39ac76f4f345ac2dced9e6adac64736f6c63430008140033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c84dc56622da8ce02f1f241200130d274df30a39ac76f4f345ac2dced9e6adac64736f6c63430008140033",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c2b99ddc284901467151c1af2e33d9be.json"
3
+ "buildInfo": "../../../build-info/9cea56ae12290975150a997d3d582379.json"
4
4
  }
@@ -70,9 +70,9 @@
70
70
  {
71
71
  "inputs": [
72
72
  {
73
- "internalType": "uint256",
73
+ "internalType": "NftId",
74
74
  "name": "nftId",
75
- "type": "uint256"
75
+ "type": "uint96"
76
76
  }
77
77
  ],
78
78
  "name": "activate",
@@ -98,14 +98,14 @@
98
98
  {
99
99
  "components": [
100
100
  {
101
- "internalType": "uint256",
101
+ "internalType": "NftId",
102
102
  "name": "nftId",
103
- "type": "uint256"
103
+ "type": "uint96"
104
104
  },
105
105
  {
106
- "internalType": "uint256",
106
+ "internalType": "NftId",
107
107
  "name": "parentNftId",
108
- "type": "uint256"
108
+ "type": "uint96"
109
109
  },
110
110
  {
111
111
  "internalType": "uint256",
@@ -148,17 +148,17 @@
148
148
  "type": "uint256"
149
149
  },
150
150
  {
151
- "internalType": "uint256",
151
+ "internalType": "NftId",
152
152
  "name": "bundleNftId",
153
- "type": "uint256"
153
+ "type": "uint96"
154
154
  }
155
155
  ],
156
156
  "name": "createApplication",
157
157
  "outputs": [
158
158
  {
159
- "internalType": "uint256",
159
+ "internalType": "NftId",
160
160
  "name": "nftId",
161
- "type": "uint256"
161
+ "type": "uint96"
162
162
  }
163
163
  ],
164
164
  "stateMutability": "nonpayable",
@@ -167,9 +167,9 @@
167
167
  {
168
168
  "inputs": [
169
169
  {
170
- "internalType": "uint256",
170
+ "internalType": "NftId",
171
171
  "name": "nftId",
172
- "type": "uint256"
172
+ "type": "uint96"
173
173
  },
174
174
  {
175
175
  "internalType": "address",
@@ -235,17 +235,17 @@
235
235
  {
236
236
  "inputs": [
237
237
  {
238
- "internalType": "uint256",
238
+ "internalType": "NftId",
239
239
  "name": "nftId",
240
- "type": "uint256"
240
+ "type": "uint96"
241
241
  }
242
242
  ],
243
243
  "name": "getBundleNftForPolicy",
244
244
  "outputs": [
245
245
  {
246
- "internalType": "uint256",
246
+ "internalType": "NftId",
247
247
  "name": "bundleNft",
248
- "type": "uint256"
248
+ "type": "uint96"
249
249
  }
250
250
  ],
251
251
  "stateMutability": "view",
@@ -262,9 +262,9 @@
262
262
  "name": "getComponentId",
263
263
  "outputs": [
264
264
  {
265
- "internalType": "uint256",
266
- "name": "id",
267
- "type": "uint256"
265
+ "internalType": "NftId",
266
+ "name": "nftId",
267
+ "type": "uint96"
268
268
  }
269
269
  ],
270
270
  "stateMutability": "view",
@@ -281,9 +281,9 @@
281
281
  "name": "getComponentId",
282
282
  "outputs": [
283
283
  {
284
- "internalType": "uint256",
285
- "name": "id",
286
- "type": "uint256"
284
+ "internalType": "NftId",
285
+ "name": "nftId",
286
+ "type": "uint96"
287
287
  }
288
288
  ],
289
289
  "stateMutability": "view",
@@ -292,9 +292,9 @@
292
292
  {
293
293
  "inputs": [
294
294
  {
295
- "internalType": "uint256",
296
- "name": "id",
297
- "type": "uint256"
295
+ "internalType": "NftId",
296
+ "name": "nftId",
297
+ "type": "uint96"
298
298
  }
299
299
  ],
300
300
  "name": "getComponentInfo",
@@ -302,9 +302,9 @@
302
302
  {
303
303
  "components": [
304
304
  {
305
- "internalType": "uint256",
305
+ "internalType": "NftId",
306
306
  "name": "nftId",
307
- "type": "uint256"
307
+ "type": "uint96"
308
308
  },
309
309
  {
310
310
  "internalType": "enum IComponent.CState",
@@ -323,9 +323,9 @@
323
323
  {
324
324
  "inputs": [
325
325
  {
326
- "internalType": "uint256",
327
- "name": "id",
328
- "type": "uint256"
326
+ "internalType": "NftId",
327
+ "name": "nftId",
328
+ "type": "uint96"
329
329
  }
330
330
  ],
331
331
  "name": "getComponentOwner",
@@ -383,9 +383,9 @@
383
383
  "name": "getNftId",
384
384
  "outputs": [
385
385
  {
386
- "internalType": "uint256",
386
+ "internalType": "NftId",
387
387
  "name": "nftId",
388
- "type": "uint256"
388
+ "type": "uint96"
389
389
  }
390
390
  ],
391
391
  "stateMutability": "view",
@@ -409,9 +409,9 @@
409
409
  "name": "getParentNftId",
410
410
  "outputs": [
411
411
  {
412
- "internalType": "uint256",
412
+ "internalType": "NftId",
413
413
  "name": "parentNftId",
414
- "type": "uint256"
414
+ "type": "uint96"
415
415
  }
416
416
  ],
417
417
  "stateMutability": "view",
@@ -420,9 +420,9 @@
420
420
  {
421
421
  "inputs": [
422
422
  {
423
- "internalType": "uint256",
423
+ "internalType": "NftId",
424
424
  "name": "nftId",
425
- "type": "uint256"
425
+ "type": "uint96"
426
426
  }
427
427
  ],
428
428
  "name": "getPolicyInfo",
@@ -430,9 +430,9 @@
430
430
  {
431
431
  "components": [
432
432
  {
433
- "internalType": "uint256",
433
+ "internalType": "NftId",
434
434
  "name": "nftId",
435
- "type": "uint256"
435
+ "type": "uint96"
436
436
  },
437
437
  {
438
438
  "internalType": "enum IPolicy.PolicyState",
@@ -486,9 +486,9 @@
486
486
  {
487
487
  "inputs": [
488
488
  {
489
- "internalType": "uint256",
489
+ "internalType": "NftId",
490
490
  "name": "nftId",
491
- "type": "uint256"
491
+ "type": "uint96"
492
492
  }
493
493
  ],
494
494
  "name": "getPoolInfo",
@@ -496,9 +496,9 @@
496
496
  {
497
497
  "components": [
498
498
  {
499
- "internalType": "uint256",
499
+ "internalType": "NftId",
500
500
  "name": "nftId",
501
- "type": "uint256"
501
+ "type": "uint96"
502
502
  },
503
503
  {
504
504
  "internalType": "address",
@@ -532,17 +532,17 @@
532
532
  {
533
533
  "inputs": [
534
534
  {
535
- "internalType": "uint256",
535
+ "internalType": "NftId",
536
536
  "name": "productNftId",
537
- "type": "uint256"
537
+ "type": "uint96"
538
538
  }
539
539
  ],
540
540
  "name": "getPoolNftId",
541
541
  "outputs": [
542
542
  {
543
- "internalType": "uint256",
543
+ "internalType": "NftId",
544
544
  "name": "poolNftId",
545
- "type": "uint256"
545
+ "type": "uint96"
546
546
  }
547
547
  ],
548
548
  "stateMutability": "view",
@@ -790,9 +790,9 @@
790
790
  "name": "register",
791
791
  "outputs": [
792
792
  {
793
- "internalType": "uint256",
793
+ "internalType": "NftId",
794
794
  "name": "nftId",
795
- "type": "uint256"
795
+ "type": "uint96"
796
796
  }
797
797
  ],
798
798
  "stateMutability": "nonpayable",
@@ -809,9 +809,9 @@
809
809
  "name": "registerComponent",
810
810
  "outputs": [
811
811
  {
812
- "internalType": "uint256",
813
- "name": "nftInfo",
814
- "type": "uint256"
812
+ "internalType": "NftId",
813
+ "name": "nftId",
814
+ "type": "uint96"
815
815
  }
816
816
  ],
817
817
  "stateMutability": "nonpayable",
@@ -840,9 +840,9 @@
840
840
  {
841
841
  "components": [
842
842
  {
843
- "internalType": "uint256",
843
+ "internalType": "NftId",
844
844
  "name": "nftId",
845
- "type": "uint256"
845
+ "type": "uint96"
846
846
  },
847
847
  {
848
848
  "internalType": "enum IComponent.CState",
@@ -858,9 +858,9 @@
858
858
  "name": "setComponentInfo",
859
859
  "outputs": [
860
860
  {
861
- "internalType": "uint256",
862
- "name": "componentId",
863
- "type": "uint256"
861
+ "internalType": "NftId",
862
+ "name": "componentNftId",
863
+ "type": "uint96"
864
864
  }
865
865
  ],
866
866
  "stateMutability": "nonpayable",
@@ -869,14 +869,14 @@
869
869
  {
870
870
  "inputs": [
871
871
  {
872
- "internalType": "uint256",
872
+ "internalType": "NftId",
873
873
  "name": "poolNftId",
874
- "type": "uint256"
874
+ "type": "uint96"
875
875
  },
876
876
  {
877
- "internalType": "uint256",
877
+ "internalType": "NftId",
878
878
  "name": "policyNftId",
879
- "type": "uint256"
879
+ "type": "uint96"
880
880
  }
881
881
  ],
882
882
  "name": "underwrite",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c2b99ddc284901467151c1af2e33d9be.json"
3
+ "buildInfo": "../../../build-info/9cea56ae12290975150a997d3d582379.json"
4
4
  }