@etherisc/gif-next 0.0.2-dc7e4cb-141 → 0.0.2-de220d6-949

Sign up to get free protection for your applications and to get access to all the features.
Files changed (194) hide show
  1. package/README.md +5 -14
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  4. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  5. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  7. package/artifacts/contracts/components/Pool.sol/Pool.json +2 -2
  8. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  9. package/artifacts/contracts/components/Product.sol/Product.json +2 -2
  10. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.dbg.json +4 -0
  11. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.json +27 -0
  12. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.dbg.json +4 -0
  13. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.json +83 -0
  14. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.dbg.json +4 -0
  16. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.json +75 -0
  17. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +34 -2
  19. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  29. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  33. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  35. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  37. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +54 -195
  39. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  40. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  41. package/artifacts/contracts/instance/Instance.sol/Instance.json +202 -269
  42. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{service → base}/ComponentServiceBase.sol/ComponentServiceBase.json +1 -1
  44. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{IServiceLinked.sol/IServiceLinked.json → base/IInstanceBase.sol/IInstanceBase.json} +15 -2
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +511 -0
  48. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  49. package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  50. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/{service → base}/IService.sol/IService.json +1 -1
  52. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  53. package/artifacts/contracts/instance/{InstanceBase.sol → base/InstanceBase.sol}/InstanceBase.json +14 -1
  54. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +692 -0
  56. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  58. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  59. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
  60. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{service → base}/ServiceBase.sol/ServiceBase.json +1 -1
  62. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +50 -30
  67. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +50 -30
  70. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +1 -1
  75. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +12 -2
  80. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +12 -2
  82. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  88. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  91. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  92. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +34 -2
  95. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +2 -2
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +4 -4
  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/Registerable.sol/Registerable.dbg.json +1 -1
  113. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  114. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  115. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  116. package/artifacts/contracts/test/TestPool.sol/TestPool.json +2 -2
  117. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  118. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +2 -2
  119. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  120. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
  121. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  122. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +38 -4
  123. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  124. package/artifacts/contracts/test/TestService.sol/TestService.json +2 -2
  125. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  126. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  127. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  128. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  129. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  130. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  131. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  132. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  133. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  134. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  135. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  136. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  137. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  138. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  139. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  140. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  141. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
  142. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  143. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  144. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  145. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  146. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  147. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  148. package/contracts/components/BaseComponent.sol +0 -1
  149. package/contracts/experiment/errors/IncrementRevert.sol +43 -0
  150. package/contracts/experiment/errors/Revert.sol +13 -4
  151. package/contracts/instance/IInstance.sol +9 -10
  152. package/contracts/instance/Instance.sol +9 -7
  153. package/contracts/instance/{service → base}/ComponentServiceBase.sol +1 -0
  154. package/contracts/instance/base/IInstanceBase.sol +14 -0
  155. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  156. package/contracts/instance/base/ILifecycle.sol +30 -0
  157. package/contracts/instance/{InstanceBase.sol → base/InstanceBase.sol} +20 -11
  158. package/contracts/instance/base/KeyValueStore.sol +156 -0
  159. package/contracts/instance/{module/lifecycle/LifecycleModule.sol → base/Lifecycle.sol} +36 -30
  160. package/contracts/instance/base/ModuleBase.sol +52 -0
  161. package/contracts/instance/{service → base}/ServiceBase.sol +0 -2
  162. package/contracts/instance/module/access/Access.sol +3 -3
  163. package/contracts/instance/module/bundle/BundleModule.sol +24 -116
  164. package/contracts/instance/module/bundle/IBundle.sol +8 -3
  165. package/contracts/instance/module/component/ComponentModule.sol +10 -18
  166. package/contracts/instance/module/policy/IPolicy.sol +2 -1
  167. package/contracts/instance/module/policy/PolicyModule.sol +4 -11
  168. package/contracts/instance/service/ComponentOwnerService.sol +1 -2
  169. package/contracts/instance/service/IComponentOwnerService.sol +1 -1
  170. package/contracts/instance/service/IPoolService.sol +1 -1
  171. package/contracts/instance/service/IProductService.sol +1 -1
  172. package/contracts/instance/service/PoolService.sol +1 -1
  173. package/contracts/instance/service/ProductService.sol +2 -3
  174. package/contracts/registry/Registry.sol +1 -1
  175. package/contracts/test/TestRoleId.sol +2 -2
  176. package/contracts/test/TestService.sol +1 -1
  177. package/contracts/types/Key32.sol +45 -0
  178. package/contracts/types/NftId.sol +16 -1
  179. package/contracts/types/RoleId.sol +11 -9
  180. package/contracts/types/StateId.sol +7 -1
  181. package/package.json +1 -1
  182. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  183. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  184. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  185. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  186. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  187. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  188. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  189. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  190. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  191. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  192. package/contracts/instance/IServiceLinked.sol +0 -12
  193. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  194. /package/contracts/instance/{service → base}/IService.sol +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
3
  "contractName": "IService",
4
- "sourceName": "contracts/instance/service/IService.sol",
4
+ "sourceName": "contracts/instance/base/IService.sol",
5
5
  "abi": [
6
6
  {
7
7
  "anonymous": false,
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/13c4329f81ddc934c5d7a5db64b32ef7.json"
4
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
3
  "contractName": "InstanceBase",
4
- "sourceName": "contracts/instance/InstanceBase.sol",
4
+ "sourceName": "contracts/instance/base/InstanceBase.sol",
5
5
  "abi": [
6
6
  {
7
7
  "anonymous": false,
@@ -72,6 +72,19 @@
72
72
  "stateMutability": "view",
73
73
  "type": "function"
74
74
  },
75
+ {
76
+ "inputs": [],
77
+ "name": "getKeyValueStore",
78
+ "outputs": [
79
+ {
80
+ "internalType": "contract IKeyValueStore",
81
+ "name": "keyValueStore",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "stateMutability": "view",
86
+ "type": "function"
87
+ },
75
88
  {
76
89
  "inputs": [],
77
90
  "name": "getNftId",
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/13c4329f81ddc934c5d7a5db64b32ef7.json"
4
+ }