@etherisc/gif-next 0.0.2-ebbe63d → 0.0.2-f824182-503

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. package/README.md +120 -1
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +205 -0
  4. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +4 -0
  5. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +35 -0
  6. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +255 -0
  8. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +74 -0
  10. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  11. package/artifacts/contracts/components/Pool.sol/Pool.json +328 -0
  12. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  13. package/artifacts/contracts/components/Product.sol/Product.json +346 -0
  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/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  38. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  39. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  40. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  41. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  42. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  43. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  44. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +4 -0
  45. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +10 -0
  46. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +4 -0
  47. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +10 -0
  48. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +4 -0
  49. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1479 -0
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +4 -0
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +1725 -0
  52. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +4 -0
  53. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +400 -0
  54. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +4 -0
  55. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.json +10 -0
  56. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +4 -0
  57. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +35 -0
  58. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +4 -0
  59. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +50 -0
  60. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +4 -0
  61. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +336 -0
  62. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
  63. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +299 -0
  64. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +202 -0
  66. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +4 -0
  67. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.json +10 -0
  68. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +4 -0
  69. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +205 -0
  70. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +4 -0
  71. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +217 -0
  72. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +141 -0
  74. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +4 -0
  75. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +24 -0
  76. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  77. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +134 -0
  78. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.json +182 -0
  80. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +4 -0
  81. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +221 -0
  82. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
  83. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.json +10 -0
  84. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
  85. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +254 -0
  86. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
  87. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +254 -0
  88. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +4 -0
  89. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.json +10 -0
  90. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
  91. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +129 -0
  92. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
  93. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +155 -0
  94. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +4 -0
  95. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +75 -0
  96. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +127 -0
  98. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +4 -0
  99. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +75 -0
  100. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +196 -0
  102. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
  103. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.json +10 -0
  104. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
  105. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +490 -0
  106. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  107. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +45 -0
  108. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
  109. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +490 -0
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +534 -0
  112. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +4 -0
  113. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +452 -0
  114. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +4 -0
  115. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +24 -0
  116. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +4 -0
  117. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +166 -0
  118. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +4 -0
  119. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +188 -0
  120. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +4 -0
  121. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +49 -0
  122. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +4 -0
  123. package/artifacts/contracts/registry/Registry.sol/Registerable.json +166 -0
  124. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +4 -0
  125. package/artifacts/contracts/registry/Registry.sol/Registry.json +256 -0
  126. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +4 -0
  127. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +60 -0
  128. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  129. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  130. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
  131. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
  132. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
  133. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +92 -0
  134. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  135. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  136. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  137. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  138. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  139. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +174 -0
  140. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
  141. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +453 -0
  142. package/contracts/components/Component.sol +77 -0
  143. package/contracts/components/IPool.sol +15 -0
  144. package/contracts/components/IProduct.sol +16 -0
  145. package/contracts/components/Pool.sol +52 -0
  146. package/contracts/components/Product.sol +89 -0
  147. package/contracts/experiment/errors/Require.sol +38 -0
  148. package/contracts/experiment/errors/Revert.sol +44 -0
  149. package/contracts/experiment/inheritance/A.sol +53 -0
  150. package/contracts/experiment/inheritance/B.sol +28 -0
  151. package/contracts/experiment/inheritance/C.sol +34 -0
  152. package/contracts/experiment/inheritance/IA.sol +13 -0
  153. package/contracts/experiment/inheritance/IB.sol +10 -0
  154. package/contracts/experiment/inheritance/IC.sol +12 -0
  155. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  156. package/contracts/experiment/statemachine/ISM.sol +25 -0
  157. package/contracts/experiment/statemachine/README.md +112 -0
  158. package/contracts/experiment/statemachine/SM.sol +57 -0
  159. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  160. package/contracts/experiment/types/TypeA.sol +47 -0
  161. package/contracts/experiment/types/TypeB.sol +29 -0
  162. package/contracts/instance/IInstance.sol +25 -0
  163. package/contracts/instance/Instance.sol +72 -0
  164. package/contracts/instance/access/Access.sol +165 -0
  165. package/contracts/instance/access/IAccess.sol +63 -0
  166. package/contracts/instance/component/ComponentModule.sol +274 -0
  167. package/contracts/instance/component/IComponent.sol +74 -0
  168. package/contracts/instance/lifecycle/ILifecycle.sol +47 -0
  169. package/contracts/instance/lifecycle/LifecycleModule.sol +88 -0
  170. package/contracts/instance/policy/IPolicy.sol +50 -0
  171. package/contracts/instance/policy/PolicyModule.sol +114 -0
  172. package/contracts/instance/pool/IPoolModule.sol +23 -0
  173. package/contracts/instance/pool/PoolModule.sol +81 -0
  174. package/contracts/instance/product/IProductService.sol +36 -0
  175. package/contracts/instance/product/ProductService.sol +136 -0
  176. package/contracts/instance/treasury/ITreasury.sol +91 -0
  177. package/contracts/instance/treasury/TokenHandler.sol +24 -0
  178. package/contracts/instance/treasury/TreasuryModule.sol +168 -0
  179. package/contracts/registry/ChainNft.sol +135 -0
  180. package/contracts/registry/IChainNft.sol +21 -0
  181. package/contracts/registry/IRegistry.sol +67 -0
  182. package/contracts/registry/Registry.sol +182 -0
  183. package/contracts/types/Blocknumber.sol +118 -0
  184. package/contracts/types/ChainId.sol +38 -0
  185. package/contracts/types/Fee.sol +32 -0
  186. package/contracts/types/NftId.sol +51 -0
  187. package/contracts/types/ObjectType.sol +107 -0
  188. package/contracts/types/StateId.sol +91 -0
  189. package/contracts/types/Timestamp.sol +102 -0
  190. package/contracts/types/UFixed.sol +206 -0
  191. package/package.json +15 -8
  192. package/artifacts/contracts/Dip.sol/DIP.dbg.json +0 -4
  193. package/artifacts/contracts/Dip.sol/DIP.json +0 -338
  194. package/artifacts/contracts/Lock.sol/Lock.dbg.json +0 -4
  195. package/artifacts/contracts/Lock.sol/Lock.json +0 -74
  196. package/contracts/Dip.sol +0 -26
  197. package/contracts/Lock.sol +0 -34
@@ -0,0 +1,217 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IComponentModule",
4
+ "sourceName": "contracts/instance/component/IComponent.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": false,
11
+ "internalType": "uint256",
12
+ "name": "idx",
13
+ "type": "uint256"
14
+ },
15
+ {
16
+ "indexed": false,
17
+ "internalType": "address",
18
+ "name": "module",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "string",
24
+ "name": "comment",
25
+ "type": "string"
26
+ }
27
+ ],
28
+ "name": "LogDebug",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "inputs": [],
33
+ "name": "components",
34
+ "outputs": [
35
+ {
36
+ "internalType": "uint256",
37
+ "name": "numberOfCompnents",
38
+ "type": "uint256"
39
+ }
40
+ ],
41
+ "stateMutability": "view",
42
+ "type": "function"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "componentAddress",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "getComponentId",
53
+ "outputs": [
54
+ {
55
+ "internalType": "NftId",
56
+ "name": "nftId",
57
+ "type": "uint96"
58
+ }
59
+ ],
60
+ "stateMutability": "view",
61
+ "type": "function"
62
+ },
63
+ {
64
+ "inputs": [
65
+ {
66
+ "internalType": "uint256",
67
+ "name": "idx",
68
+ "type": "uint256"
69
+ }
70
+ ],
71
+ "name": "getComponentId",
72
+ "outputs": [
73
+ {
74
+ "internalType": "NftId",
75
+ "name": "nftId",
76
+ "type": "uint96"
77
+ }
78
+ ],
79
+ "stateMutability": "view",
80
+ "type": "function"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "nftId",
87
+ "type": "uint96"
88
+ }
89
+ ],
90
+ "name": "getComponentInfo",
91
+ "outputs": [
92
+ {
93
+ "components": [
94
+ {
95
+ "internalType": "NftId",
96
+ "name": "nftId",
97
+ "type": "uint96"
98
+ },
99
+ {
100
+ "internalType": "StateId",
101
+ "name": "state",
102
+ "type": "uint8"
103
+ },
104
+ {
105
+ "internalType": "contract IERC20Metadata",
106
+ "name": "token",
107
+ "type": "address"
108
+ }
109
+ ],
110
+ "internalType": "struct IComponent.ComponentInfo",
111
+ "name": "info",
112
+ "type": "tuple"
113
+ }
114
+ ],
115
+ "stateMutability": "view",
116
+ "type": "function"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "getComponentOwnerService",
121
+ "outputs": [
122
+ {
123
+ "internalType": "contract IComponentOwnerService",
124
+ "name": "",
125
+ "type": "address"
126
+ }
127
+ ],
128
+ "stateMutability": "view",
129
+ "type": "function"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "getOwner",
134
+ "outputs": [
135
+ {
136
+ "internalType": "address",
137
+ "name": "owner",
138
+ "type": "address"
139
+ }
140
+ ],
141
+ "stateMutability": "view",
142
+ "type": "function"
143
+ },
144
+ {
145
+ "inputs": [],
146
+ "name": "getRegistry",
147
+ "outputs": [
148
+ {
149
+ "internalType": "contract IRegistry",
150
+ "name": "registry",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "stateMutability": "view",
155
+ "type": "function"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "contract IComponentContract",
161
+ "name": "component",
162
+ "type": "address"
163
+ }
164
+ ],
165
+ "name": "registerComponent",
166
+ "outputs": [
167
+ {
168
+ "internalType": "NftId",
169
+ "name": "nftId",
170
+ "type": "uint96"
171
+ }
172
+ ],
173
+ "stateMutability": "nonpayable",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "components": [
180
+ {
181
+ "internalType": "NftId",
182
+ "name": "nftId",
183
+ "type": "uint96"
184
+ },
185
+ {
186
+ "internalType": "StateId",
187
+ "name": "state",
188
+ "type": "uint8"
189
+ },
190
+ {
191
+ "internalType": "contract IERC20Metadata",
192
+ "name": "token",
193
+ "type": "address"
194
+ }
195
+ ],
196
+ "internalType": "struct IComponent.ComponentInfo",
197
+ "name": "info",
198
+ "type": "tuple"
199
+ }
200
+ ],
201
+ "name": "setComponentInfo",
202
+ "outputs": [
203
+ {
204
+ "internalType": "NftId",
205
+ "name": "componentNftId",
206
+ "type": "uint96"
207
+ }
208
+ ],
209
+ "stateMutability": "nonpayable",
210
+ "type": "function"
211
+ }
212
+ ],
213
+ "bytecode": "0x",
214
+ "deployedBytecode": "0x",
215
+ "linkReferences": {},
216
+ "deployedLinkReferences": {}
217
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/ddbd31d07c8880f0f0a18b3f2b9bcc56.json"
4
+ }
@@ -0,0 +1,141 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IComponentOwnerService",
4
+ "sourceName": "contracts/instance/component/IComponent.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": false,
11
+ "internalType": "uint256",
12
+ "name": "idx",
13
+ "type": "uint256"
14
+ },
15
+ {
16
+ "indexed": false,
17
+ "internalType": "address",
18
+ "name": "module",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "string",
24
+ "name": "comment",
25
+ "type": "string"
26
+ }
27
+ ],
28
+ "name": "LogDebug",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "inputs": [],
33
+ "name": "getRegistry",
34
+ "outputs": [
35
+ {
36
+ "internalType": "contract IRegistry",
37
+ "name": "registry",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "stateMutability": "view",
42
+ "type": "function"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "contract IComponentContract",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "lock",
53
+ "outputs": [],
54
+ "stateMutability": "nonpayable",
55
+ "type": "function"
56
+ },
57
+ {
58
+ "inputs": [
59
+ {
60
+ "internalType": "contract IComponentContract",
61
+ "name": "component",
62
+ "type": "address"
63
+ }
64
+ ],
65
+ "name": "register",
66
+ "outputs": [
67
+ {
68
+ "internalType": "NftId",
69
+ "name": "nftId",
70
+ "type": "uint96"
71
+ }
72
+ ],
73
+ "stateMutability": "nonpayable",
74
+ "type": "function"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "contract IComponentContract",
80
+ "name": "product",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "components": [
85
+ {
86
+ "internalType": "UFixed",
87
+ "name": "fractionalFee",
88
+ "type": "uint256"
89
+ },
90
+ {
91
+ "internalType": "uint256",
92
+ "name": "fixedFee",
93
+ "type": "uint256"
94
+ }
95
+ ],
96
+ "internalType": "struct Fee",
97
+ "name": "policyFee",
98
+ "type": "tuple"
99
+ },
100
+ {
101
+ "components": [
102
+ {
103
+ "internalType": "UFixed",
104
+ "name": "fractionalFee",
105
+ "type": "uint256"
106
+ },
107
+ {
108
+ "internalType": "uint256",
109
+ "name": "fixedFee",
110
+ "type": "uint256"
111
+ }
112
+ ],
113
+ "internalType": "struct Fee",
114
+ "name": "processingFee",
115
+ "type": "tuple"
116
+ }
117
+ ],
118
+ "name": "setProductFees",
119
+ "outputs": [],
120
+ "stateMutability": "nonpayable",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "contract IComponentContract",
127
+ "name": "component",
128
+ "type": "address"
129
+ }
130
+ ],
131
+ "name": "unlock",
132
+ "outputs": [],
133
+ "stateMutability": "nonpayable",
134
+ "type": "function"
135
+ }
136
+ ],
137
+ "bytecode": "0x",
138
+ "deployedBytecode": "0x",
139
+ "linkReferences": {},
140
+ "deployedLinkReferences": {}
141
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/ddbd31d07c8880f0f0a18b3f2b9bcc56.json"
4
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IInstanceLinked",
4
+ "sourceName": "contracts/instance/component/IComponent.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "getInstance",
9
+ "outputs": [
10
+ {
11
+ "internalType": "contract IInstance",
12
+ "name": "instance",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ }
19
+ ],
20
+ "bytecode": "0x",
21
+ "deployedBytecode": "0x",
22
+ "linkReferences": {},
23
+ "deployedLinkReferences": {}
24
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/ddbd31d07c8880f0f0a18b3f2b9bcc56.json"
4
+ }
@@ -0,0 +1,134 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ILifecycle",
4
+ "sourceName": "contracts/instance/lifecycle/ILifecycle.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "NftId",
10
+ "name": "nftId",
11
+ "type": "uint96"
12
+ },
13
+ {
14
+ "internalType": "ObjectType",
15
+ "name": "objectType",
16
+ "type": "uint8"
17
+ },
18
+ {
19
+ "internalType": "StateId",
20
+ "name": "fromStateId",
21
+ "type": "uint8"
22
+ },
23
+ {
24
+ "internalType": "StateId",
25
+ "name": "toStateId",
26
+ "type": "uint8"
27
+ }
28
+ ],
29
+ "name": "ErrorInvalidStateTransition",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "NftId",
36
+ "name": "nftId",
37
+ "type": "uint96"
38
+ },
39
+ {
40
+ "internalType": "ObjectType",
41
+ "name": "objectType",
42
+ "type": "uint8"
43
+ }
44
+ ],
45
+ "name": "ErrorNoLifecycle",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "anonymous": false,
50
+ "inputs": [
51
+ {
52
+ "indexed": false,
53
+ "internalType": "NftId",
54
+ "name": "nftId",
55
+ "type": "uint96"
56
+ },
57
+ {
58
+ "indexed": false,
59
+ "internalType": "StateId",
60
+ "name": "fromStateId",
61
+ "type": "uint8"
62
+ },
63
+ {
64
+ "indexed": false,
65
+ "internalType": "StateId",
66
+ "name": "toStateId",
67
+ "type": "uint8"
68
+ }
69
+ ],
70
+ "name": "LogBundleStateChanged",
71
+ "type": "event"
72
+ },
73
+ {
74
+ "anonymous": false,
75
+ "inputs": [
76
+ {
77
+ "indexed": false,
78
+ "internalType": "NftId",
79
+ "name": "nftId",
80
+ "type": "uint96"
81
+ },
82
+ {
83
+ "indexed": false,
84
+ "internalType": "ObjectType",
85
+ "name": "objectType",
86
+ "type": "uint8"
87
+ },
88
+ {
89
+ "indexed": false,
90
+ "internalType": "StateId",
91
+ "name": "fromStateId",
92
+ "type": "uint8"
93
+ },
94
+ {
95
+ "indexed": false,
96
+ "internalType": "StateId",
97
+ "name": "toStateId",
98
+ "type": "uint8"
99
+ }
100
+ ],
101
+ "name": "LogComponentStateChanged",
102
+ "type": "event"
103
+ },
104
+ {
105
+ "anonymous": false,
106
+ "inputs": [
107
+ {
108
+ "indexed": false,
109
+ "internalType": "NftId",
110
+ "name": "nftId",
111
+ "type": "uint96"
112
+ },
113
+ {
114
+ "indexed": false,
115
+ "internalType": "StateId",
116
+ "name": "fromStateId",
117
+ "type": "uint8"
118
+ },
119
+ {
120
+ "indexed": false,
121
+ "internalType": "StateId",
122
+ "name": "toStateId",
123
+ "type": "uint8"
124
+ }
125
+ ],
126
+ "name": "LogPolicyStateChanged",
127
+ "type": "event"
128
+ }
129
+ ],
130
+ "bytecode": "0x",
131
+ "deployedBytecode": "0x",
132
+ "linkReferences": {},
133
+ "deployedLinkReferences": {}
134
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/ddbd31d07c8880f0f0a18b3f2b9bcc56.json"
4
+ }