@etherisc/gif-next 0.0.2-efdb520-159 → 0.0.2-f08d150-296

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  2. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  4. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  5. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  6. package/artifacts/contracts/components/Pool.sol/Pool.json +2 -2
  7. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  8. package/artifacts/contracts/components/Product.sol/Product.json +2 -2
  9. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  10. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  11. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  12. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  13. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  14. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  21. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  25. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  27. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  29. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  30. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +48 -204
  31. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  32. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  33. package/artifacts/contracts/instance/Instance.sol/Instance.json +211 -303
  34. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{service → base}/ComponentServiceBase.sol/ComponentServiceBase.json +6 -6
  36. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  37. package/artifacts/contracts/instance/{IServiceLinked.sol/IServiceLinked.json → base/IInstanceBase.sol/IInstanceBase.json} +15 -2
  38. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +511 -0
  40. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  41. package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  42. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{service → base}/IService.sol/IService.json +6 -6
  44. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{InstanceBase.sol → base/InstanceBase.sol}/InstanceBase.json +19 -6
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +692 -0
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  50. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  51. package/artifacts/contracts/instance/{module/product/ProductModule.sol/ProductModule.json → base/ModuleBase.sol/ModuleBase.json} +2 -2
  52. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  53. package/artifacts/contracts/instance/{service → base}/ServiceBase.sol/ServiceBase.json +6 -6
  54. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +50 -30
  59. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +50 -30
  62. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +4 -0
  63. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +10 -0
  64. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +4 -0
  65. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +10 -0
  66. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +4 -0
  67. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +10 -0
  68. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{product/IProductModule.sol/IProductModule.json → risk/IRisk.sol/IRisk.json} +2 -2
  79. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +10 -0
  81. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +10 -0
  83. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +1 -6
  86. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  88. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +1 -6
  90. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +48 -44
  92. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +5 -5
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +5 -5
  96. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +5 -5
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +18 -46
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +47 -59
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  106. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
  108. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  109. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
  110. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  111. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  112. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +5 -5
  113. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  114. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  115. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +5 -5
  116. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  117. package/artifacts/contracts/test/TestFee.sol/TestFee.json +28 -4
  118. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  119. package/artifacts/contracts/test/TestPool.sol/TestPool.json +2 -2
  120. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  121. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +2 -2
  122. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  123. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
  124. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  125. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +38 -4
  126. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  127. package/artifacts/contracts/test/TestService.sol/TestService.json +15 -43
  128. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  129. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  130. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +14 -18
  131. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  132. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +15 -39
  133. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  134. package/artifacts/contracts/test/Usdc.sol/USDC.json +338 -0
  135. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  136. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  137. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  138. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  139. package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -0
  140. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  141. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  142. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  143. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  144. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  145. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  146. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  147. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  148. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
  149. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  150. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  151. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  152. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  153. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +34 -8
  154. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  155. package/artifacts/contracts/types/Version.sol/VersionLib.json +63 -2
  156. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  157. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  158. package/contracts/components/BaseComponent.sol +0 -1
  159. package/contracts/instance/IInstance.sol +13 -11
  160. package/contracts/instance/Instance.sol +13 -7
  161. package/contracts/instance/{service → base}/ComponentServiceBase.sol +1 -0
  162. package/contracts/instance/base/IInstanceBase.sol +14 -0
  163. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  164. package/contracts/instance/base/ILifecycle.sol +30 -0
  165. package/contracts/instance/{InstanceBase.sol → base/InstanceBase.sol} +21 -15
  166. package/contracts/instance/base/KeyValueStore.sol +156 -0
  167. package/contracts/instance/{module/lifecycle/LifecycleModule.sol → base/Lifecycle.sol} +36 -30
  168. package/contracts/instance/base/ModuleBase.sol +52 -0
  169. package/contracts/instance/{service → base}/ServiceBase.sol +1 -3
  170. package/contracts/instance/module/access/Access.sol +3 -3
  171. package/contracts/instance/module/bundle/BundleModule.sol +24 -116
  172. package/contracts/instance/module/bundle/IBundle.sol +8 -3
  173. package/contracts/instance/module/compensation/CompensationModule.sol +8 -0
  174. package/contracts/instance/module/compensation/ICompensation.sol +10 -0
  175. package/contracts/instance/module/component/ComponentModule.sol +10 -19
  176. package/contracts/instance/module/policy/PolicyModule.sol +2 -10
  177. package/contracts/instance/module/{product/IProductModule.sol → risk/IRisk.sol} +6 -2
  178. package/contracts/instance/module/risk/RiskModule.sol +8 -0
  179. package/contracts/instance/module/treasury/ITreasury.sol +2 -3
  180. package/contracts/instance/module/treasury/TreasuryModule.sol +15 -11
  181. package/contracts/instance/service/ComponentOwnerService.sol +4 -8
  182. package/contracts/instance/service/IComponentOwnerService.sol +1 -1
  183. package/contracts/instance/service/IPoolService.sol +1 -1
  184. package/contracts/instance/service/IProductService.sol +1 -1
  185. package/contracts/instance/service/PoolService.sol +36 -11
  186. package/contracts/instance/service/ProductService.sol +6 -10
  187. package/contracts/registry/Registry.sol +1 -1
  188. package/contracts/shared/IVersionable.sol +2 -2
  189. package/contracts/shared/Versionable.sol +3 -6
  190. package/contracts/test/TestFee.sol +3 -3
  191. package/contracts/test/TestPool.sol +1 -1
  192. package/contracts/test/TestProduct.sol +1 -1
  193. package/contracts/test/TestRoleId.sol +2 -2
  194. package/contracts/test/TestService.sol +3 -6
  195. package/contracts/test/TestVersion.sol +4 -7
  196. package/contracts/test/TestVersionable.sol +2 -5
  197. package/contracts/test/Usdc.sol +26 -0
  198. package/contracts/types/Fee.sol +39 -20
  199. package/contracts/types/Key32.sol +45 -0
  200. package/contracts/types/NftId.sol +16 -1
  201. package/contracts/types/RoleId.sol +11 -9
  202. package/contracts/types/StateId.sol +7 -1
  203. package/contracts/types/UFixed.sol +19 -16
  204. package/contracts/types/Version.sol +29 -25
  205. package/package.json +1 -1
  206. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  207. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  208. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  209. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  210. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  211. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  212. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  213. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.dbg.json +0 -4
  214. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.dbg.json +0 -4
  215. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  216. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  217. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  218. package/contracts/instance/IServiceLinked.sol +0 -12
  219. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  220. package/contracts/instance/module/product/ProductModule.sol +0 -8
  221. /package/contracts/instance/{service → base}/IService.sol +0 -0
@@ -3,48 +3,6 @@
3
3
  "contractName": "IInstance",
4
4
  "sourceName": "contracts/instance/IInstance.sol",
5
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
6
  {
49
7
  "anonymous": false,
50
8
  "inputs": [
@@ -108,87 +66,6 @@
108
66
  "name": "LogAccessRoleStateSet",
109
67
  "type": "event"
110
68
  },
111
- {
112
- "anonymous": false,
113
- "inputs": [
114
- {
115
- "indexed": false,
116
- "internalType": "NftId",
117
- "name": "nftId",
118
- "type": "uint96"
119
- },
120
- {
121
- "indexed": false,
122
- "internalType": "StateId",
123
- "name": "fromStateId",
124
- "type": "uint8"
125
- },
126
- {
127
- "indexed": false,
128
- "internalType": "StateId",
129
- "name": "toStateId",
130
- "type": "uint8"
131
- }
132
- ],
133
- "name": "LogBundleStateChanged",
134
- "type": "event"
135
- },
136
- {
137
- "anonymous": false,
138
- "inputs": [
139
- {
140
- "indexed": false,
141
- "internalType": "NftId",
142
- "name": "nftId",
143
- "type": "uint96"
144
- },
145
- {
146
- "indexed": false,
147
- "internalType": "ObjectType",
148
- "name": "objectType",
149
- "type": "uint8"
150
- },
151
- {
152
- "indexed": false,
153
- "internalType": "StateId",
154
- "name": "fromStateId",
155
- "type": "uint8"
156
- },
157
- {
158
- "indexed": false,
159
- "internalType": "StateId",
160
- "name": "toStateId",
161
- "type": "uint8"
162
- }
163
- ],
164
- "name": "LogComponentStateChanged",
165
- "type": "event"
166
- },
167
- {
168
- "anonymous": false,
169
- "inputs": [
170
- {
171
- "indexed": false,
172
- "internalType": "NftId",
173
- "name": "nftId",
174
- "type": "uint96"
175
- },
176
- {
177
- "indexed": false,
178
- "internalType": "StateId",
179
- "name": "fromStateId",
180
- "type": "uint8"
181
- },
182
- {
183
- "indexed": false,
184
- "internalType": "StateId",
185
- "name": "toStateId",
186
- "type": "uint8"
187
- }
188
- ],
189
- "name": "LogPolicyStateChanged",
190
- "type": "event"
191
- },
192
69
  {
193
70
  "anonymous": false,
194
71
  "inputs": [
@@ -450,11 +327,6 @@
450
327
  "name": "poolNftId",
451
328
  "type": "uint96"
452
329
  },
453
- {
454
- "internalType": "StateId",
455
- "name": "state",
456
- "type": "uint8"
457
- },
458
330
  {
459
331
  "internalType": "bytes",
460
332
  "name": "filter",
@@ -475,11 +347,6 @@
475
347
  "name": "balanceAmount",
476
348
  "type": "uint256"
477
349
  },
478
- {
479
- "internalType": "Timestamp",
480
- "name": "createdAt",
481
- "type": "uint40"
482
- },
483
350
  {
484
351
  "internalType": "Timestamp",
485
352
  "name": "expiredAt",
@@ -489,11 +356,6 @@
489
356
  "internalType": "Timestamp",
490
357
  "name": "closedAt",
491
358
  "type": "uint40"
492
- },
493
- {
494
- "internalType": "Blocknumber",
495
- "name": "updatedIn",
496
- "type": "uint32"
497
359
  }
498
360
  ],
499
361
  "internalType": "struct IBundle.BundleInfo",
@@ -659,19 +521,13 @@
659
521
  "type": "function"
660
522
  },
661
523
  {
662
- "inputs": [
663
- {
664
- "internalType": "ObjectType",
665
- "name": "objectType",
666
- "type": "uint8"
667
- }
668
- ],
669
- "name": "getInitialState",
524
+ "inputs": [],
525
+ "name": "getKeyValueStore",
670
526
  "outputs": [
671
527
  {
672
- "internalType": "StateId",
673
- "name": "",
674
- "type": "uint8"
528
+ "internalType": "contract IKeyValueStore",
529
+ "name": "keyValueStore",
530
+ "type": "address"
675
531
  }
676
532
  ],
677
533
  "stateMutability": "view",
@@ -971,11 +827,6 @@
971
827
  "name": "token",
972
828
  "type": "address"
973
829
  },
974
- {
975
- "internalType": "contract TokenHandler",
976
- "name": "tokenHandler",
977
- "type": "address"
978
- },
979
830
  {
980
831
  "internalType": "address",
981
832
  "name": "wallet",
@@ -1171,7 +1022,7 @@
1171
1022
  "inputs": [
1172
1023
  {
1173
1024
  "internalType": "NftId",
1174
- "name": "productNftId",
1025
+ "name": "componentNftId",
1175
1026
  "type": "uint96"
1176
1027
  }
1177
1028
  ],
@@ -1314,15 +1165,15 @@
1314
1165
  "name": "activatedBy",
1315
1166
  "type": "address"
1316
1167
  },
1317
- {
1318
- "internalType": "Blocknumber",
1319
- "name": "activatedIn",
1320
- "type": "uint32"
1321
- },
1322
1168
  {
1323
1169
  "internalType": "Timestamp",
1324
1170
  "name": "activatedAt",
1325
1171
  "type": "uint40"
1172
+ },
1173
+ {
1174
+ "internalType": "Blocknumber",
1175
+ "name": "activatedIn",
1176
+ "type": "uint32"
1326
1177
  }
1327
1178
  ],
1328
1179
  "internalType": "struct IVersionable.VersionInfo",
@@ -1419,35 +1270,6 @@
1419
1270
  "stateMutability": "view",
1420
1271
  "type": "function"
1421
1272
  },
1422
- {
1423
- "inputs": [
1424
- {
1425
- "internalType": "ObjectType",
1426
- "name": "objectType",
1427
- "type": "uint8"
1428
- },
1429
- {
1430
- "internalType": "StateId",
1431
- "name": "fromId",
1432
- "type": "uint8"
1433
- },
1434
- {
1435
- "internalType": "StateId",
1436
- "name": "toId",
1437
- "type": "uint8"
1438
- }
1439
- ],
1440
- "name": "isValidTransition",
1441
- "outputs": [
1442
- {
1443
- "internalType": "bool",
1444
- "name": "",
1445
- "type": "bool"
1446
- }
1447
- ],
1448
- "stateMutability": "view",
1449
- "type": "function"
1450
- },
1451
1273
  {
1452
1274
  "inputs": [],
1453
1275
  "name": "register",
@@ -1701,11 +1523,6 @@
1701
1523
  "name": "poolNftId",
1702
1524
  "type": "uint96"
1703
1525
  },
1704
- {
1705
- "internalType": "StateId",
1706
- "name": "state",
1707
- "type": "uint8"
1708
- },
1709
1526
  {
1710
1527
  "internalType": "bytes",
1711
1528
  "name": "filter",
@@ -1726,11 +1543,6 @@
1726
1543
  "name": "balanceAmount",
1727
1544
  "type": "uint256"
1728
1545
  },
1729
- {
1730
- "internalType": "Timestamp",
1731
- "name": "createdAt",
1732
- "type": "uint40"
1733
- },
1734
1546
  {
1735
1547
  "internalType": "Timestamp",
1736
1548
  "name": "expiredAt",
@@ -1740,11 +1552,6 @@
1740
1552
  "internalType": "Timestamp",
1741
1553
  "name": "closedAt",
1742
1554
  "type": "uint40"
1743
- },
1744
- {
1745
- "internalType": "Blocknumber",
1746
- "name": "updatedIn",
1747
- "type": "uint32"
1748
1555
  }
1749
1556
  ],
1750
1557
  "internalType": "struct IBundle.BundleInfo",
@@ -2013,6 +1820,43 @@
2013
1820
  ],
2014
1821
  "stateMutability": "view",
2015
1822
  "type": "function"
1823
+ },
1824
+ {
1825
+ "inputs": [
1826
+ {
1827
+ "internalType": "NftId",
1828
+ "name": "bundleNftId",
1829
+ "type": "uint96"
1830
+ }
1831
+ ],
1832
+ "name": "toBundleKey32",
1833
+ "outputs": [
1834
+ {
1835
+ "internalType": "Key32",
1836
+ "name": "key32",
1837
+ "type": "bytes32"
1838
+ }
1839
+ ],
1840
+ "stateMutability": "view",
1841
+ "type": "function"
1842
+ },
1843
+ {
1844
+ "inputs": [
1845
+ {
1846
+ "internalType": "NftId",
1847
+ "name": "bundleNftId",
1848
+ "type": "uint96"
1849
+ },
1850
+ {
1851
+ "internalType": "StateId",
1852
+ "name": "state",
1853
+ "type": "uint8"
1854
+ }
1855
+ ],
1856
+ "name": "updateBundleState",
1857
+ "outputs": [],
1858
+ "stateMutability": "nonpayable",
1859
+ "type": "function"
2016
1860
  }
2017
1861
  ],
2018
1862
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/73036ef8d3587a4d497b53a8e5f6bc33.json"
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/73036ef8d3587a4d497b53a8e5f6bc33.json"
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
4
  }