@etherisc/gif-next 0.0.2-81f8acb → 0.0.2-836a512-798

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.
Files changed (170) 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 +28 -2
  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 +78 -2
  8. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +32 -150
  10. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  11. package/artifacts/contracts/components/Pool.sol/Pool.json +121 -6
  12. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  13. package/artifacts/contracts/components/Product.sol/Product.json +121 -6
  14. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
  16. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  29. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  32. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  34. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  36. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  37. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  38. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  40. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  42. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +518 -47
  44. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  45. package/artifacts/contracts/instance/Instance.sol/Instance.json +584 -66
  46. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
  47. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
  48. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
  49. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
  50. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  51. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  52. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +14 -23
  53. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
  54. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +8 -8
  55. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
  56. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
  57. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +28 -2
  58. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  59. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +12 -21
  60. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
  62. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +134 -0
  64. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +4 -0
  65. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.json +182 -0
  66. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +4 -0
  67. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +221 -0
  68. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  69. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  70. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +26 -3
  71. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  72. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +26 -3
  73. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  74. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  75. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +15 -35
  76. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  77. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +22 -29
  78. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
  79. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +13 -0
  81. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
  82. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +41 -12
  84. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
  85. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.json +10 -0
  86. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
  87. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +355 -0
  88. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  89. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +45 -0
  90. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
  91. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +355 -0
  92. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  93. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  94. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  95. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
  96. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
  97. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +2 -2
  98. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  99. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +4 -95
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
  101. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
  102. package/artifacts/contracts/registry/Registry.sol/Registerable.json +2 -2
  103. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/Registry.sol/Registry.json +14 -105
  105. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
  106. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +2 -2
  107. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  108. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  109. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  110. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  111. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  112. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  113. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  114. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  115. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  116. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  117. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  118. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +2 -2
  119. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  120. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +2 -2
  121. package/contracts/components/Component.sol +35 -20
  122. package/contracts/components/IPool.sol +5 -3
  123. package/contracts/components/IProduct.sol +6 -7
  124. package/contracts/components/Pool.sol +28 -12
  125. package/contracts/components/Product.sol +37 -22
  126. package/contracts/experiment/errors/Require.sol +10 -5
  127. package/contracts/experiment/errors/Revert.sol +13 -8
  128. package/contracts/experiment/inheritance/A.sol +8 -11
  129. package/contracts/experiment/inheritance/B.sol +10 -5
  130. package/contracts/experiment/inheritance/C.sol +11 -5
  131. package/contracts/experiment/inheritance/IA.sol +2 -7
  132. package/contracts/experiment/inheritance/IB.sol +3 -2
  133. package/contracts/experiment/inheritance/IC.sol +4 -3
  134. package/contracts/experiment/statemachine/Dummy.sol +33 -0
  135. package/contracts/experiment/statemachine/ISM.sol +20 -0
  136. package/contracts/experiment/statemachine/README.md +112 -0
  137. package/contracts/experiment/statemachine/SM.sol +54 -0
  138. package/contracts/experiment/statemachine/SimpleStateMachine.sol +24 -0
  139. package/contracts/experiment/types/TypeA.sol +14 -9
  140. package/contracts/experiment/types/TypeB.sol +14 -9
  141. package/contracts/instance/IInstance.sol +6 -4
  142. package/contracts/instance/Instance.sol +17 -12
  143. package/contracts/instance/access/Access.sol +63 -116
  144. package/contracts/instance/access/IAccess.sol +28 -48
  145. package/contracts/instance/component/ComponentModule.sol +117 -111
  146. package/contracts/instance/component/IComponent.sol +36 -55
  147. package/contracts/instance/lifecycle/ILifecycle.sol +32 -0
  148. package/contracts/instance/lifecycle/LifecycleModule.sol +91 -0
  149. package/contracts/instance/policy/IPolicy.sol +16 -30
  150. package/contracts/instance/policy/PolicyModule.sol +35 -35
  151. package/contracts/instance/pool/IPoolModule.sol +6 -25
  152. package/contracts/instance/pool/PoolModule.sol +34 -38
  153. package/contracts/instance/product/IProductService.sol +6 -16
  154. package/contracts/instance/product/ProductService.sol +51 -41
  155. package/contracts/instance/treasury/ITreasury.sol +73 -0
  156. package/contracts/instance/treasury/TokenHandler.sol +27 -0
  157. package/contracts/instance/treasury/TreasuryModule.sol +131 -0
  158. package/contracts/registry/ChainNft.sol +23 -61
  159. package/contracts/registry/IChainNft.sol +10 -7
  160. package/contracts/registry/IRegistry.sol +36 -37
  161. package/contracts/registry/Registry.sol +50 -55
  162. package/contracts/types/Blocknumber.sol +76 -18
  163. package/contracts/types/ChainId.sol +18 -10
  164. package/contracts/types/Fee.sol +30 -0
  165. package/contracts/types/NftId.sol +29 -13
  166. package/contracts/types/ObjectType.sol +50 -0
  167. package/contracts/types/StateId.sol +46 -0
  168. package/contracts/types/Timestamp.sol +63 -16
  169. package/contracts/types/UFixed.sol +59 -64
  170. package/package.json +10 -4
@@ -0,0 +1,355 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ITreasuryModule",
4
+ "sourceName": "contracts/instance/treasury/ITreasury.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
+ {
34
+ "internalType": "NftId",
35
+ "name": "poolNftId",
36
+ "type": "uint96"
37
+ }
38
+ ],
39
+ "name": "getPoolSetup",
40
+ "outputs": [
41
+ {
42
+ "components": [
43
+ {
44
+ "internalType": "NftId",
45
+ "name": "poolNftId",
46
+ "type": "uint96"
47
+ },
48
+ {
49
+ "internalType": "address",
50
+ "name": "wallet",
51
+ "type": "address"
52
+ },
53
+ {
54
+ "components": [
55
+ {
56
+ "internalType": "UFixed",
57
+ "name": "fractionalFee",
58
+ "type": "uint256"
59
+ },
60
+ {
61
+ "internalType": "uint256",
62
+ "name": "fixedFee",
63
+ "type": "uint256"
64
+ }
65
+ ],
66
+ "internalType": "struct Fee",
67
+ "name": "stakingFee",
68
+ "type": "tuple"
69
+ },
70
+ {
71
+ "components": [
72
+ {
73
+ "internalType": "UFixed",
74
+ "name": "fractionalFee",
75
+ "type": "uint256"
76
+ },
77
+ {
78
+ "internalType": "uint256",
79
+ "name": "fixedFee",
80
+ "type": "uint256"
81
+ }
82
+ ],
83
+ "internalType": "struct Fee",
84
+ "name": "performanceFee",
85
+ "type": "tuple"
86
+ }
87
+ ],
88
+ "internalType": "struct ITreasuryModule.PoolSetup",
89
+ "name": "setup",
90
+ "type": "tuple"
91
+ }
92
+ ],
93
+ "stateMutability": "view",
94
+ "type": "function"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "NftId",
100
+ "name": "productNftId",
101
+ "type": "uint96"
102
+ }
103
+ ],
104
+ "name": "getProductSetup",
105
+ "outputs": [
106
+ {
107
+ "components": [
108
+ {
109
+ "internalType": "NftId",
110
+ "name": "productNftId",
111
+ "type": "uint96"
112
+ },
113
+ {
114
+ "internalType": "NftId",
115
+ "name": "distributorNftId",
116
+ "type": "uint96"
117
+ },
118
+ {
119
+ "internalType": "NftId",
120
+ "name": "poolNftId",
121
+ "type": "uint96"
122
+ },
123
+ {
124
+ "internalType": "contract IERC20",
125
+ "name": "token",
126
+ "type": "address"
127
+ },
128
+ {
129
+ "internalType": "contract TokenHandler",
130
+ "name": "tokenHandler",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "internalType": "address",
135
+ "name": "wallet",
136
+ "type": "address"
137
+ },
138
+ {
139
+ "components": [
140
+ {
141
+ "internalType": "UFixed",
142
+ "name": "fractionalFee",
143
+ "type": "uint256"
144
+ },
145
+ {
146
+ "internalType": "uint256",
147
+ "name": "fixedFee",
148
+ "type": "uint256"
149
+ }
150
+ ],
151
+ "internalType": "struct Fee",
152
+ "name": "policyFee",
153
+ "type": "tuple"
154
+ },
155
+ {
156
+ "components": [
157
+ {
158
+ "internalType": "UFixed",
159
+ "name": "fractionalFee",
160
+ "type": "uint256"
161
+ },
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "fixedFee",
165
+ "type": "uint256"
166
+ }
167
+ ],
168
+ "internalType": "struct Fee",
169
+ "name": "processingFee",
170
+ "type": "tuple"
171
+ }
172
+ ],
173
+ "internalType": "struct ITreasuryModule.ProductSetup",
174
+ "name": "setup",
175
+ "type": "tuple"
176
+ }
177
+ ],
178
+ "stateMutability": "view",
179
+ "type": "function"
180
+ },
181
+ {
182
+ "inputs": [],
183
+ "name": "getRegistry",
184
+ "outputs": [
185
+ {
186
+ "internalType": "contract IRegistry",
187
+ "name": "registry",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "stateMutability": "view",
192
+ "type": "function"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "NftId",
198
+ "name": "productNftId",
199
+ "type": "uint96"
200
+ }
201
+ ],
202
+ "name": "getTokenHandler",
203
+ "outputs": [
204
+ {
205
+ "internalType": "contract TokenHandler",
206
+ "name": "tokenHandler",
207
+ "type": "address"
208
+ }
209
+ ],
210
+ "stateMutability": "view",
211
+ "type": "function"
212
+ },
213
+ {
214
+ "inputs": [
215
+ {
216
+ "internalType": "NftId",
217
+ "name": "policyNftId",
218
+ "type": "uint96"
219
+ },
220
+ {
221
+ "internalType": "NftId",
222
+ "name": "productNftId",
223
+ "type": "uint96"
224
+ }
225
+ ],
226
+ "name": "processPremium",
227
+ "outputs": [],
228
+ "stateMutability": "nonpayable",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "inputs": [
233
+ {
234
+ "internalType": "NftId",
235
+ "name": "poolNftId",
236
+ "type": "uint96"
237
+ },
238
+ {
239
+ "internalType": "address",
240
+ "name": "wallet",
241
+ "type": "address"
242
+ },
243
+ {
244
+ "components": [
245
+ {
246
+ "internalType": "UFixed",
247
+ "name": "fractionalFee",
248
+ "type": "uint256"
249
+ },
250
+ {
251
+ "internalType": "uint256",
252
+ "name": "fixedFee",
253
+ "type": "uint256"
254
+ }
255
+ ],
256
+ "internalType": "struct Fee",
257
+ "name": "stakingFee",
258
+ "type": "tuple"
259
+ },
260
+ {
261
+ "components": [
262
+ {
263
+ "internalType": "UFixed",
264
+ "name": "fractionalFee",
265
+ "type": "uint256"
266
+ },
267
+ {
268
+ "internalType": "uint256",
269
+ "name": "fixedFee",
270
+ "type": "uint256"
271
+ }
272
+ ],
273
+ "internalType": "struct Fee",
274
+ "name": "performanceFee",
275
+ "type": "tuple"
276
+ }
277
+ ],
278
+ "name": "registerPool",
279
+ "outputs": [],
280
+ "stateMutability": "nonpayable",
281
+ "type": "function"
282
+ },
283
+ {
284
+ "inputs": [
285
+ {
286
+ "internalType": "NftId",
287
+ "name": "productNftId",
288
+ "type": "uint96"
289
+ },
290
+ {
291
+ "internalType": "NftId",
292
+ "name": "distributorNftId",
293
+ "type": "uint96"
294
+ },
295
+ {
296
+ "internalType": "NftId",
297
+ "name": "poolNftId",
298
+ "type": "uint96"
299
+ },
300
+ {
301
+ "internalType": "contract IERC20",
302
+ "name": "token",
303
+ "type": "address"
304
+ },
305
+ {
306
+ "internalType": "address",
307
+ "name": "wallet",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "components": [
312
+ {
313
+ "internalType": "UFixed",
314
+ "name": "fractionalFee",
315
+ "type": "uint256"
316
+ },
317
+ {
318
+ "internalType": "uint256",
319
+ "name": "fixedFee",
320
+ "type": "uint256"
321
+ }
322
+ ],
323
+ "internalType": "struct Fee",
324
+ "name": "policyFee",
325
+ "type": "tuple"
326
+ },
327
+ {
328
+ "components": [
329
+ {
330
+ "internalType": "UFixed",
331
+ "name": "fractionalFee",
332
+ "type": "uint256"
333
+ },
334
+ {
335
+ "internalType": "uint256",
336
+ "name": "fixedFee",
337
+ "type": "uint256"
338
+ }
339
+ ],
340
+ "internalType": "struct Fee",
341
+ "name": "processingFee",
342
+ "type": "tuple"
343
+ }
344
+ ],
345
+ "name": "registerProduct",
346
+ "outputs": [],
347
+ "stateMutability": "nonpayable",
348
+ "type": "function"
349
+ }
350
+ ],
351
+ "bytecode": "0x",
352
+ "deployedBytecode": "0x",
353
+ "linkReferences": {},
354
+ "deployedLinkReferences": {}
355
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/cf2d2e1c79c39858c3089f23d02154a8.json"
4
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "TokenHandler",
4
+ "sourceName": "contracts/instance/treasury/TokenHandler.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "token",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "stateMutability": "nonpayable",
15
+ "type": "constructor"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "from",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "address",
26
+ "name": "to",
27
+ "type": "address"
28
+ },
29
+ {
30
+ "internalType": "uint256",
31
+ "name": "amount",
32
+ "type": "uint256"
33
+ }
34
+ ],
35
+ "name": "transfer",
36
+ "outputs": [],
37
+ "stateMutability": "nonpayable",
38
+ "type": "function"
39
+ }
40
+ ],
41
+ "bytecode": "0x608060405234801561001057600080fd5b506040516103e53803806103e5833981810160405281019061003291906100db565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610108565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100a88261007d565b9050919050565b6100b88161009d565b81146100c357600080fd5b50565b6000815190506100d5816100af565b92915050565b6000602082840312156100f1576100f0610078565b5b60006100ff848285016100c6565b91505092915050565b6102ce806101176000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063beabacc814610030575b600080fd5b61004a6004803603810190610045919061018b565b61004c565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8484846040518463ffffffff1660e01b81526004016100a9939291906101fc565b6020604051808303816000875af11580156100c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ec919061026b565b50505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610122826100f7565b9050919050565b61013281610117565b811461013d57600080fd5b50565b60008135905061014f81610129565b92915050565b6000819050919050565b61016881610155565b811461017357600080fd5b50565b6000813590506101858161015f565b92915050565b6000806000606084860312156101a4576101a36100f2565b5b60006101b286828701610140565b93505060206101c386828701610140565b92505060406101d486828701610176565b9150509250925092565b6101e781610117565b82525050565b6101f681610155565b82525050565b600060608201905061021160008301866101de565b61021e60208301856101de565b61022b60408301846101ed565b949350505050565b60008115159050919050565b61024881610233565b811461025357600080fd5b50565b6000815190506102658161023f565b92915050565b600060208284031215610281576102806100f2565b5b600061028f84828501610256565b9150509291505056fea2646970667358221220097f8389a9e42d8390ec3d5e146ef329b2d6c72f2979f3fde9c443342b14759b64736f6c63430008140033",
42
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063beabacc814610030575b600080fd5b61004a6004803603810190610045919061018b565b61004c565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8484846040518463ffffffff1660e01b81526004016100a9939291906101fc565b6020604051808303816000875af11580156100c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ec919061026b565b50505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610122826100f7565b9050919050565b61013281610117565b811461013d57600080fd5b50565b60008135905061014f81610129565b92915050565b6000819050919050565b61016881610155565b811461017357600080fd5b50565b6000813590506101858161015f565b92915050565b6000806000606084860312156101a4576101a36100f2565b5b60006101b286828701610140565b93505060206101c386828701610140565b92505060406101d486828701610176565b9150509250925092565b6101e781610117565b82525050565b6101f681610155565b82525050565b600060608201905061021160008301866101de565b61021e60208301856101de565b61022b60408301846101ed565b949350505050565b60008115159050919050565b61024881610233565b811461025357600080fd5b50565b6000815190506102658161023f565b92915050565b600060208284031215610281576102806100f2565b5b600061028f84828501610256565b9150509291505056fea2646970667358221220097f8389a9e42d8390ec3d5e146ef329b2d6c72f2979f3fde9c443342b14759b64736f6c63430008140033",
43
+ "linkReferences": {},
44
+ "deployedLinkReferences": {}
45
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/cf2d2e1c79c39858c3089f23d02154a8.json"
4
+ }