@etherisc/gif-next 0.0.2-de0a1d3-009 → 0.0.2-e1e92ab-754

Sign up to get free protection for your applications and to get access to all the features.
Files changed (263) hide show
  1. package/README.md +51 -25
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +166 -39
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +212 -60
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +119 -39
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -163
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +6 -185
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -163
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +257 -119
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +220 -50
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  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 +1 -1
  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/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  35. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +247 -355
  37. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  38. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.json +369 -507
  40. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +144 -50
  42. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/IService.sol/IService.json +120 -40
  48. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +147 -66
  50. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  53. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +140 -59
  55. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
  63. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -13
  68. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -13
  70. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -9
  73. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -8
  75. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
  79. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +138 -11
  82. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  84. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +138 -11
  86. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +288 -79
  88. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +188 -65
  90. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +122 -61
  92. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +120 -40
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +120 -40
  96. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +120 -40
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +190 -67
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +220 -97
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  104. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +190 -51
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +872 -0
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  111. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  112. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/Registry.sol/Registry.json +380 -139
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1245 -0
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +490 -0
  118. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  119. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  120. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  122. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  126. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
  128. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  130. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  132. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  133. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  134. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  135. package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
  136. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +4 -27
  138. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
  139. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +212 -60
  140. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  141. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  142. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  143. package/artifacts/contracts/test/TestPool.sol/TestPool.json +257 -119
  144. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  145. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +225 -56
  146. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  147. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  148. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  150. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestService.sol/TestService.json +187 -69
  152. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  154. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  156. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +15 -38
  158. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  159. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  160. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  161. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  163. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  165. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  166. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  173. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  177. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  178. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  179. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  181. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  183. package/contracts/components/BaseComponent.sol +11 -26
  184. package/contracts/components/Distribution.sol +29 -6
  185. package/contracts/components/IBaseComponent.sol +1 -1
  186. package/contracts/components/IDistributionComponent.sol +1 -2
  187. package/contracts/components/IPoolComponent.sol +3 -10
  188. package/contracts/components/IProductComponent.sol +2 -3
  189. package/contracts/components/Pool.sol +84 -73
  190. package/contracts/components/Product.sol +85 -13
  191. package/contracts/instance/IInstance.sol +6 -7
  192. package/contracts/instance/Instance.sol +18 -9
  193. package/contracts/instance/base/ComponentServiceBase.sol +13 -6
  194. package/contracts/instance/base/IInstanceBase.sol +3 -2
  195. package/contracts/instance/base/InstanceBase.sol +6 -8
  196. package/contracts/instance/base/ServiceBase.sol +20 -13
  197. package/contracts/instance/module/component/ComponentModule.sol +4 -3
  198. package/contracts/instance/module/component/IComponent.sol +1 -1
  199. package/contracts/instance/module/policy/IPolicy.sol +1 -1
  200. package/contracts/instance/module/pool/IPoolModule.sol +4 -3
  201. package/contracts/instance/module/pool/PoolModule.sol +12 -7
  202. package/contracts/instance/module/treasury/ITreasury.sol +6 -4
  203. package/contracts/instance/module/treasury/TokenHandler.sol +1 -1
  204. package/contracts/instance/module/treasury/TreasuryModule.sol +23 -30
  205. package/contracts/instance/service/ComponentOwnerService.sol +224 -66
  206. package/contracts/instance/service/DistributionService.sol +6 -11
  207. package/contracts/instance/service/IComponentOwnerService.sol +0 -2
  208. package/contracts/instance/service/PoolService.sol +19 -19
  209. package/contracts/instance/service/ProductService.sol +27 -26
  210. package/contracts/registry/ChainNft.sol +42 -14
  211. package/contracts/registry/IChainNft.sol +2 -1
  212. package/contracts/registry/IRegistry.sol +27 -27
  213. package/contracts/registry/IRegistryService.sol +35 -0
  214. package/contracts/registry/ITransferInterceptor.sol +6 -0
  215. package/contracts/registry/Registry.sol +312 -267
  216. package/contracts/registry/RegistryService.sol +441 -0
  217. package/contracts/registry/RegistryServiceManager.sol +63 -0
  218. package/contracts/shared/ContractDeployerLib.sol +72 -0
  219. package/contracts/shared/INftOwnable.sol +22 -0
  220. package/contracts/shared/IRegisterable.sol +8 -15
  221. package/contracts/shared/IVersionable.sol +40 -9
  222. package/contracts/shared/NftOwnable.sol +136 -0
  223. package/contracts/shared/ProxyManager.sol +94 -0
  224. package/contracts/shared/Registerable.sol +62 -59
  225. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  226. package/contracts/shared/Versionable.sol +109 -61
  227. package/contracts/test/TestDistribution.sol +3 -2
  228. package/contracts/test/TestFee.sol +2 -2
  229. package/contracts/test/TestPool.sol +4 -2
  230. package/contracts/test/TestProduct.sol +4 -2
  231. package/contracts/test/TestRegisterable.sol +5 -6
  232. package/contracts/test/TestService.sol +5 -11
  233. package/contracts/types/Fee.sol +3 -3
  234. package/contracts/types/RoleId.sol +7 -0
  235. package/contracts/types/UFixed.sol +128 -12
  236. package/contracts/types/Version.sol +1 -0
  237. package/package.json +4 -3
  238. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  239. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  240. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  241. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  242. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  243. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  244. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  245. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  246. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
  247. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -724
  248. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  249. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  250. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
  251. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
  252. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  253. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
  254. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -228
  255. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  256. package/contracts/experiment/statemachine/README.md +0 -112
  257. package/contracts/instance/module/access/Access.sol +0 -149
  258. package/contracts/instance/module/access/IAccess.sol +0 -53
  259. package/contracts/registry/IRegistryLinked.sol +0 -8
  260. package/contracts/registry/RegistryUpgradeable.sol +0 -473
  261. package/contracts/shared/IOwnable.sol +0 -6
  262. package/contracts/shared/Proxy.sol +0 -94
  263. package/contracts/shared/VersionableUpgradeable.sol +0 -133
@@ -51,19 +51,6 @@
51
51
  "stateMutability": "view",
52
52
  "type": "function"
53
53
  },
54
- {
55
- "inputs": [],
56
- "name": "getData",
57
- "outputs": [
58
- {
59
- "internalType": "bytes",
60
- "name": "data",
61
- "type": "bytes"
62
- }
63
- ],
64
- "stateMutability": "view",
65
- "type": "function"
66
- },
67
54
  {
68
55
  "inputs": [],
69
56
  "name": "getDistributionFee",
@@ -89,110 +76,6 @@
89
76
  "stateMutability": "view",
90
77
  "type": "function"
91
78
  },
92
- {
93
- "inputs": [],
94
- "name": "getInstance",
95
- "outputs": [
96
- {
97
- "internalType": "contract IInstance",
98
- "name": "instance",
99
- "type": "address"
100
- }
101
- ],
102
- "stateMutability": "view",
103
- "type": "function"
104
- },
105
- {
106
- "inputs": [],
107
- "name": "getNftId",
108
- "outputs": [
109
- {
110
- "internalType": "NftId",
111
- "name": "nftId",
112
- "type": "uint96"
113
- }
114
- ],
115
- "stateMutability": "view",
116
- "type": "function"
117
- },
118
- {
119
- "inputs": [],
120
- "name": "getOwner",
121
- "outputs": [
122
- {
123
- "internalType": "address",
124
- "name": "owner",
125
- "type": "address"
126
- }
127
- ],
128
- "stateMutability": "view",
129
- "type": "function"
130
- },
131
- {
132
- "inputs": [],
133
- "name": "getParentNftId",
134
- "outputs": [
135
- {
136
- "internalType": "NftId",
137
- "name": "nftId",
138
- "type": "uint96"
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
- "name": "getToken",
160
- "outputs": [
161
- {
162
- "internalType": "contract IERC20Metadata",
163
- "name": "token",
164
- "type": "address"
165
- }
166
- ],
167
- "stateMutability": "view",
168
- "type": "function"
169
- },
170
- {
171
- "inputs": [],
172
- "name": "getType",
173
- "outputs": [
174
- {
175
- "internalType": "ObjectType",
176
- "name": "objectType",
177
- "type": "uint8"
178
- }
179
- ],
180
- "stateMutability": "pure",
181
- "type": "function"
182
- },
183
- {
184
- "inputs": [],
185
- "name": "getWallet",
186
- "outputs": [
187
- {
188
- "internalType": "address",
189
- "name": "walletAddress",
190
- "type": "address"
191
- }
192
- ],
193
- "stateMutability": "view",
194
- "type": "function"
195
- },
196
79
  {
197
80
  "inputs": [],
198
81
  "name": "isVerifying",
@@ -206,13 +89,6 @@
206
89
  "stateMutability": "view",
207
90
  "type": "function"
208
91
  },
209
- {
210
- "inputs": [],
211
- "name": "lock",
212
- "outputs": [],
213
- "stateMutability": "nonpayable",
214
- "type": "function"
215
- },
216
92
  {
217
93
  "inputs": [
218
94
  {
@@ -268,19 +144,6 @@
268
144
  "stateMutability": "view",
269
145
  "type": "function"
270
146
  },
271
- {
272
- "inputs": [],
273
- "name": "register",
274
- "outputs": [
275
- {
276
- "internalType": "NftId",
277
- "name": "nftId",
278
- "type": "uint96"
279
- }
280
- ],
281
- "stateMutability": "nonpayable",
282
- "type": "function"
283
- },
284
147
  {
285
148
  "inputs": [
286
149
  {
@@ -305,32 +168,6 @@
305
168
  "outputs": [],
306
169
  "stateMutability": "nonpayable",
307
170
  "type": "function"
308
- },
309
- {
310
- "inputs": [
311
- {
312
- "internalType": "bytes4",
313
- "name": "interfaceId",
314
- "type": "bytes4"
315
- }
316
- ],
317
- "name": "supportsInterface",
318
- "outputs": [
319
- {
320
- "internalType": "bool",
321
- "name": "",
322
- "type": "bool"
323
- }
324
- ],
325
- "stateMutability": "view",
326
- "type": "function"
327
- },
328
- {
329
- "inputs": [],
330
- "name": "unlock",
331
- "outputs": [],
332
- "stateMutability": "nonpayable",
333
- "type": "function"
334
171
  }
335
172
  ],
336
173
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../build-info/b012f4ed156d977fd771c60cd60f52df.json"
4
4
  }
@@ -89,72 +89,7 @@
89
89
  },
90
90
  {
91
91
  "inputs": [],
92
- "name": "getData",
93
- "outputs": [
94
- {
95
- "internalType": "bytes",
96
- "name": "data",
97
- "type": "bytes"
98
- }
99
- ],
100
- "stateMutability": "view",
101
- "type": "function"
102
- },
103
- {
104
- "inputs": [],
105
- "name": "getInstance",
106
- "outputs": [
107
- {
108
- "internalType": "contract IInstance",
109
- "name": "instance",
110
- "type": "address"
111
- }
112
- ],
113
- "stateMutability": "view",
114
- "type": "function"
115
- },
116
- {
117
- "inputs": [],
118
- "name": "getNftId",
119
- "outputs": [
120
- {
121
- "internalType": "NftId",
122
- "name": "nftId",
123
- "type": "uint96"
124
- }
125
- ],
126
- "stateMutability": "view",
127
- "type": "function"
128
- },
129
- {
130
- "inputs": [],
131
- "name": "getOwner",
132
- "outputs": [
133
- {
134
- "internalType": "address",
135
- "name": "owner",
136
- "type": "address"
137
- }
138
- ],
139
- "stateMutability": "view",
140
- "type": "function"
141
- },
142
- {
143
- "inputs": [],
144
- "name": "getParentNftId",
145
- "outputs": [
146
- {
147
- "internalType": "NftId",
148
- "name": "nftId",
149
- "type": "uint96"
150
- }
151
- ],
152
- "stateMutability": "view",
153
- "type": "function"
154
- },
155
- {
156
- "inputs": [],
157
- "name": "getPerformanceFee",
92
+ "name": "getFees",
158
93
  "outputs": [
159
94
  {
160
95
  "components": [
@@ -170,17 +105,9 @@
170
105
  }
171
106
  ],
172
107
  "internalType": "struct Fee",
173
- "name": "performanceFee",
108
+ "name": "poolFee",
174
109
  "type": "tuple"
175
- }
176
- ],
177
- "stateMutability": "view",
178
- "type": "function"
179
- },
180
- {
181
- "inputs": [],
182
- "name": "getPoolFee",
183
- "outputs": [
110
+ },
184
111
  {
185
112
  "components": [
186
113
  {
@@ -195,30 +122,9 @@
195
122
  }
196
123
  ],
197
124
  "internalType": "struct Fee",
198
- "name": "poolFee",
125
+ "name": "stakingFee",
199
126
  "type": "tuple"
200
- }
201
- ],
202
- "stateMutability": "view",
203
- "type": "function"
204
- },
205
- {
206
- "inputs": [],
207
- "name": "getRegistry",
208
- "outputs": [
209
- {
210
- "internalType": "contract IRegistry",
211
- "name": "registry",
212
- "type": "address"
213
- }
214
- ],
215
- "stateMutability": "view",
216
- "type": "function"
217
- },
218
- {
219
- "inputs": [],
220
- "name": "getStakingFee",
221
- "outputs": [
127
+ },
222
128
  {
223
129
  "components": [
224
130
  {
@@ -233,52 +139,13 @@
233
139
  }
234
140
  ],
235
141
  "internalType": "struct Fee",
236
- "name": "stakingFee",
142
+ "name": "performanceFee",
237
143
  "type": "tuple"
238
144
  }
239
145
  ],
240
146
  "stateMutability": "view",
241
147
  "type": "function"
242
148
  },
243
- {
244
- "inputs": [],
245
- "name": "getToken",
246
- "outputs": [
247
- {
248
- "internalType": "contract IERC20Metadata",
249
- "name": "token",
250
- "type": "address"
251
- }
252
- ],
253
- "stateMutability": "view",
254
- "type": "function"
255
- },
256
- {
257
- "inputs": [],
258
- "name": "getType",
259
- "outputs": [
260
- {
261
- "internalType": "ObjectType",
262
- "name": "objectType",
263
- "type": "uint8"
264
- }
265
- ],
266
- "stateMutability": "pure",
267
- "type": "function"
268
- },
269
- {
270
- "inputs": [],
271
- "name": "getWallet",
272
- "outputs": [
273
- {
274
- "internalType": "address",
275
- "name": "walletAddress",
276
- "type": "address"
277
- }
278
- ],
279
- "stateMutability": "view",
280
- "type": "function"
281
- },
282
149
  {
283
150
  "inputs": [],
284
151
  "name": "isVerifying",
@@ -292,13 +159,6 @@
292
159
  "stateMutability": "view",
293
160
  "type": "function"
294
161
  },
295
- {
296
- "inputs": [],
297
- "name": "lock",
298
- "outputs": [],
299
- "stateMutability": "nonpayable",
300
- "type": "function"
301
- },
302
162
  {
303
163
  "inputs": [
304
164
  {
@@ -323,19 +183,6 @@
323
183
  "stateMutability": "view",
324
184
  "type": "function"
325
185
  },
326
- {
327
- "inputs": [],
328
- "name": "register",
329
- "outputs": [
330
- {
331
- "internalType": "NftId",
332
- "name": "nftId",
333
- "type": "uint96"
334
- }
335
- ],
336
- "stateMutability": "nonpayable",
337
- "type": "function"
338
- },
339
186
  {
340
187
  "inputs": [
341
188
  {
@@ -425,25 +272,6 @@
425
272
  "stateMutability": "nonpayable",
426
273
  "type": "function"
427
274
  },
428
- {
429
- "inputs": [
430
- {
431
- "internalType": "bytes4",
432
- "name": "interfaceId",
433
- "type": "bytes4"
434
- }
435
- ],
436
- "name": "supportsInterface",
437
- "outputs": [
438
- {
439
- "internalType": "bool",
440
- "name": "",
441
- "type": "bool"
442
- }
443
- ],
444
- "stateMutability": "view",
445
- "type": "function"
446
- },
447
275
  {
448
276
  "inputs": [
449
277
  {
@@ -471,13 +299,6 @@
471
299
  "outputs": [],
472
300
  "stateMutability": "nonpayable",
473
301
  "type": "function"
474
- },
475
- {
476
- "inputs": [],
477
- "name": "unlock",
478
- "outputs": [],
479
- "stateMutability": "nonpayable",
480
- "type": "function"
481
302
  }
482
303
  ],
483
304
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../build-info/b012f4ed156d977fd771c60cd60f52df.json"
4
4
  }
@@ -81,19 +81,6 @@
81
81
  "stateMutability": "view",
82
82
  "type": "function"
83
83
  },
84
- {
85
- "inputs": [],
86
- "name": "getData",
87
- "outputs": [
88
- {
89
- "internalType": "bytes",
90
- "name": "data",
91
- "type": "bytes"
92
- }
93
- ],
94
- "stateMutability": "view",
95
- "type": "function"
96
- },
97
84
  {
98
85
  "inputs": [],
99
86
  "name": "getDistributionNftId",
@@ -107,58 +94,6 @@
107
94
  "stateMutability": "view",
108
95
  "type": "function"
109
96
  },
110
- {
111
- "inputs": [],
112
- "name": "getInstance",
113
- "outputs": [
114
- {
115
- "internalType": "contract IInstance",
116
- "name": "instance",
117
- "type": "address"
118
- }
119
- ],
120
- "stateMutability": "view",
121
- "type": "function"
122
- },
123
- {
124
- "inputs": [],
125
- "name": "getNftId",
126
- "outputs": [
127
- {
128
- "internalType": "NftId",
129
- "name": "nftId",
130
- "type": "uint96"
131
- }
132
- ],
133
- "stateMutability": "view",
134
- "type": "function"
135
- },
136
- {
137
- "inputs": [],
138
- "name": "getOwner",
139
- "outputs": [
140
- {
141
- "internalType": "address",
142
- "name": "owner",
143
- "type": "address"
144
- }
145
- ],
146
- "stateMutability": "view",
147
- "type": "function"
148
- },
149
- {
150
- "inputs": [],
151
- "name": "getParentNftId",
152
- "outputs": [
153
- {
154
- "internalType": "NftId",
155
- "name": "nftId",
156
- "type": "uint96"
157
- }
158
- ],
159
- "stateMutability": "view",
160
- "type": "function"
161
- },
162
97
  {
163
98
  "inputs": [],
164
99
  "name": "getPoolNftId",
@@ -222,78 +157,6 @@
222
157
  "stateMutability": "view",
223
158
  "type": "function"
224
159
  },
225
- {
226
- "inputs": [],
227
- "name": "getRegistry",
228
- "outputs": [
229
- {
230
- "internalType": "contract IRegistry",
231
- "name": "registry",
232
- "type": "address"
233
- }
234
- ],
235
- "stateMutability": "view",
236
- "type": "function"
237
- },
238
- {
239
- "inputs": [],
240
- "name": "getToken",
241
- "outputs": [
242
- {
243
- "internalType": "contract IERC20Metadata",
244
- "name": "token",
245
- "type": "address"
246
- }
247
- ],
248
- "stateMutability": "view",
249
- "type": "function"
250
- },
251
- {
252
- "inputs": [],
253
- "name": "getType",
254
- "outputs": [
255
- {
256
- "internalType": "ObjectType",
257
- "name": "objectType",
258
- "type": "uint8"
259
- }
260
- ],
261
- "stateMutability": "pure",
262
- "type": "function"
263
- },
264
- {
265
- "inputs": [],
266
- "name": "getWallet",
267
- "outputs": [
268
- {
269
- "internalType": "address",
270
- "name": "walletAddress",
271
- "type": "address"
272
- }
273
- ],
274
- "stateMutability": "view",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [],
279
- "name": "lock",
280
- "outputs": [],
281
- "stateMutability": "nonpayable",
282
- "type": "function"
283
- },
284
- {
285
- "inputs": [],
286
- "name": "register",
287
- "outputs": [
288
- {
289
- "internalType": "NftId",
290
- "name": "nftId",
291
- "type": "uint96"
292
- }
293
- ],
294
- "stateMutability": "nonpayable",
295
- "type": "function"
296
- },
297
160
  {
298
161
  "inputs": [
299
162
  {
@@ -335,32 +198,6 @@
335
198
  "outputs": [],
336
199
  "stateMutability": "nonpayable",
337
200
  "type": "function"
338
- },
339
- {
340
- "inputs": [
341
- {
342
- "internalType": "bytes4",
343
- "name": "interfaceId",
344
- "type": "bytes4"
345
- }
346
- ],
347
- "name": "supportsInterface",
348
- "outputs": [
349
- {
350
- "internalType": "bool",
351
- "name": "",
352
- "type": "bool"
353
- }
354
- ],
355
- "stateMutability": "view",
356
- "type": "function"
357
- },
358
- {
359
- "inputs": [],
360
- "name": "unlock",
361
- "outputs": [],
362
- "stateMutability": "nonpayable",
363
- "type": "function"
364
201
  }
365
202
  ],
366
203
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../build-info/b012f4ed156d977fd771c60cd60f52df.json"
4
4
  }