@etherisc/gif-next 0.0.2-e37834a-021 → 0.0.2-e38b7e6-931

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 (402) hide show
  1. package/README.md +171 -2
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +282 -2
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +313 -72
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +234 -3
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -25
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +24 -57
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +5 -55
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +378 -127
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +391 -107
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  46. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  47. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +788 -0
  48. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  49. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  50. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +813 -1184
  52. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  53. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
  54. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{base/IService.sol/IService.json → IInstanceService.sol/IInstanceService.json} +244 -18
  56. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/Instance.sol/Instance.json +1762 -1332
  58. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1047 -0
  60. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
  62. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
  64. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +963 -0
  66. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +460 -0
  68. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +285 -0
  70. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +240 -11
  72. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -13
  74. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  76. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  79. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  83. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  84. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  85. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  87. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  89. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  90. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  91. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  92. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  93. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  94. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  95. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1121 -0
  97. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +436 -0
  99. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +304 -39
  101. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +424 -0
  103. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +720 -0
  105. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +93 -16
  107. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
  109. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  110. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +95 -80
  111. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  112. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +89 -227
  113. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  114. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1246 -0
  115. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +492 -0
  117. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +287 -111
  119. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +424 -0
  121. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  122. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +258 -347
  123. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +424 -0
  125. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  126. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  127. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  128. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +157 -71
  129. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  130. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +339 -31
  131. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  132. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  133. package/artifacts/contracts/registry/Registry.sol/Registry.json +131 -212
  134. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  135. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  136. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  137. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +382 -72
  138. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  139. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +68 -77
  140. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  141. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +530 -0
  142. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  143. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +397 -0
  144. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  145. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  146. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  147. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  148. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +67 -57
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +80 -3
  151. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  152. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +90 -58
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  155. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +32 -6
  156. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  157. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +21 -16
  158. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +120 -6
  160. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  161. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +92 -30
  162. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +100 -88
  164. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  165. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  166. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  167. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  168. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  171. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +120 -6
  173. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  175. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestService.sol/TestService.json +155 -27
  177. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  178. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  179. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  181. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
  183. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  184. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  185. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  186. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  190. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  192. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  194. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  196. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  197. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  198. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  200. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  202. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  204. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  206. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  220. package/contracts/components/BaseComponent.sol +107 -18
  221. package/contracts/components/Distribution.sol +24 -25
  222. package/contracts/components/IBaseComponent.sol +20 -4
  223. package/contracts/components/IDistributionComponent.sol +2 -4
  224. package/contracts/components/IPoolComponent.sol +5 -3
  225. package/contracts/components/IProductComponent.sol +4 -6
  226. package/contracts/components/Pool.sol +58 -46
  227. package/contracts/components/Product.sol +71 -75
  228. package/contracts/experiment/cloning/Cloner.sol +47 -0
  229. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  230. package/contracts/instance/BundleManager.sol +129 -0
  231. package/contracts/instance/Cloneable.sol +46 -0
  232. package/contracts/instance/IInstance.sol +54 -48
  233. package/contracts/instance/IInstanceBase.sol +25 -0
  234. package/contracts/instance/IInstanceService.sol +40 -0
  235. package/contracts/instance/Instance.sol +245 -68
  236. package/contracts/instance/InstanceAccessManager.sol +303 -0
  237. package/contracts/instance/InstanceBase.sol +39 -0
  238. package/contracts/instance/InstanceReader.sol +315 -0
  239. package/contracts/instance/InstanceService.sol +345 -0
  240. package/contracts/instance/InstanceServiceManager.sol +54 -0
  241. package/contracts/instance/ObjectManager.sol +101 -0
  242. package/contracts/instance/base/ComponentServiceBase.sol +109 -20
  243. package/contracts/instance/base/IInstanceBase.sol +0 -2
  244. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  245. package/contracts/instance/base/ILifecycle.sol +3 -3
  246. package/contracts/instance/base/KeyValueStore.sol +49 -38
  247. package/contracts/instance/base/Lifecycle.sol +1 -1
  248. package/contracts/instance/module/IAccess.sol +48 -0
  249. package/contracts/instance/module/IBundle.sol +20 -0
  250. package/contracts/instance/module/IDistribution.sol +39 -0
  251. package/contracts/instance/module/IPolicy.sol +45 -0
  252. package/contracts/instance/module/IRisk.sol +11 -0
  253. package/contracts/instance/module/ISetup.sol +46 -0
  254. package/contracts/instance/module/ITreasury.sol +23 -0
  255. package/contracts/instance/service/BundleService.sol +294 -0
  256. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  257. package/contracts/instance/service/DistributionService.sol +79 -18
  258. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  259. package/contracts/instance/service/IBundleService.sol +44 -0
  260. package/contracts/instance/service/IDistributionService.sol +1 -1
  261. package/contracts/instance/service/IPolicyService.sol +94 -0
  262. package/contracts/instance/service/IPoolService.sol +7 -24
  263. package/contracts/instance/service/IProductService.sol +9 -76
  264. package/contracts/instance/service/PolicyService.sol +539 -0
  265. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  266. package/contracts/instance/service/PoolService.sol +101 -108
  267. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  268. package/contracts/instance/service/ProductService.sol +130 -431
  269. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  270. package/contracts/registry/ChainNft.sol +41 -26
  271. package/contracts/registry/IRegistry.sol +48 -30
  272. package/contracts/registry/IRegistryService.sol +53 -24
  273. package/contracts/registry/Registry.sol +212 -306
  274. package/contracts/registry/RegistryAccessManager.sol +210 -0
  275. package/contracts/registry/RegistryService.sol +151 -206
  276. package/contracts/registry/RegistryServiceManager.sol +26 -16
  277. package/contracts/registry/ReleaseManager.sol +342 -0
  278. package/contracts/registry/TokenRegistry.sol +110 -0
  279. package/contracts/shared/ERC165.sol +7 -3
  280. package/contracts/shared/INftOwnable.sol +22 -0
  281. package/contracts/shared/IRegisterable.sol +3 -10
  282. package/contracts/shared/IService.sol +16 -0
  283. package/contracts/shared/NftOwnable.sol +85 -38
  284. package/contracts/shared/ProxyManager.sol +4 -13
  285. package/contracts/shared/Registerable.sol +15 -42
  286. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  287. package/contracts/shared/Service.sol +58 -0
  288. package/contracts/shared/TokenHandler.sol +27 -0
  289. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  290. package/contracts/shared/Versionable.sol +3 -3
  291. package/contracts/test/TestFee.sol +2 -2
  292. package/contracts/test/TestRoleId.sol +1 -1
  293. package/contracts/test/TestService.sol +6 -7
  294. package/contracts/types/DistributorType.sol +55 -0
  295. package/contracts/types/Fee.sol +3 -3
  296. package/contracts/types/Key32.sol +8 -3
  297. package/contracts/types/NftIdSet.sol +26 -24
  298. package/contracts/types/NumberId.sol +52 -0
  299. package/contracts/types/ObjectType.sol +35 -14
  300. package/contracts/types/Referral.sol +85 -0
  301. package/contracts/types/RoleId.sol +61 -9
  302. package/contracts/types/StateId.sol +5 -1
  303. package/contracts/types/Timestamp.sol +7 -3
  304. package/contracts/types/UFixed.sol +128 -12
  305. package/contracts/types/Version.sol +4 -1
  306. package/package.json +4 -3
  307. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  308. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  309. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  310. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  311. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  312. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  313. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  314. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  315. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  317. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  318. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  319. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  320. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  321. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  322. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  323. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  324. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  325. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  326. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  327. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  328. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  329. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  330. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  331. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  332. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  333. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  334. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  337. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  338. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  339. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  340. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  341. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  343. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  345. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  348. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  350. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  352. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  353. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  354. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  355. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  357. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  358. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -690
  359. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  360. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  361. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  362. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  363. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  364. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  365. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
  366. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  367. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -602
  368. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  369. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
  370. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  371. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  372. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  373. package/contracts/instance/IInstanceLinked.sol +0 -8
  374. package/contracts/instance/base/IService.sol +0 -15
  375. package/contracts/instance/base/InstanceBase.sol +0 -89
  376. package/contracts/instance/base/ModuleBase.sol +0 -57
  377. package/contracts/instance/base/ServiceBase.sol +0 -43
  378. package/contracts/instance/module/access/Access.sol +0 -149
  379. package/contracts/instance/module/access/IAccess.sol +0 -53
  380. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  381. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  382. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  383. package/contracts/instance/module/component/IComponent.sol +0 -28
  384. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  385. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  386. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  387. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  388. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  389. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  390. package/contracts/instance/module/risk/IRisk.sol +0 -26
  391. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  392. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  393. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  394. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  395. package/contracts/instance/service/ComponentOwnerService.sol +0 -272
  396. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  397. package/contracts/registry/IChainNft.sol +0 -22
  398. package/contracts/shared/IOwnable.sol +0 -6
  399. package/contracts/test/TestDistribution.sol +0 -22
  400. package/contracts/test/TestPool.sol +0 -27
  401. package/contracts/test/TestProduct.sol +0 -74
  402. package/contracts/types/ReferralId.sol +0 -48
@@ -3,6 +3,28 @@
3
3
  "contractName": "Pool",
4
4
  "sourceName": "contracts/components/Pool.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "target",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AddressEmptyCode",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "account",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "name": "AddressInsufficientBalance",
26
+ "type": "error"
27
+ },
6
28
  {
7
29
  "inputs": [
8
30
  {
@@ -12,88 +34,146 @@
12
34
  },
13
35
  {
14
36
  "internalType": "NftId",
15
- "name": "instanceNftId",
37
+ "name": "nftId",
16
38
  "type": "uint96"
17
- },
39
+ }
40
+ ],
41
+ "name": "ErrorAlreadyLinked",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
18
46
  {
19
47
  "internalType": "address",
20
- "name": "token",
48
+ "name": "caller",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorBaseComponentNotProductService",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "caller",
21
60
  "type": "address"
22
61
  },
23
62
  {
24
- "internalType": "bool",
25
- "name": "isInterceptor",
26
- "type": "bool"
63
+ "internalType": "uint64",
64
+ "name": "requiredRoleIdNum",
65
+ "type": "uint64"
66
+ }
67
+ ],
68
+ "name": "ErrorBaseComponentUnauthorized",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "newWallet",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorBaseComponentWalletAddressIsSameAsCurrent",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "oldWallet",
87
+ "type": "address"
27
88
  },
28
89
  {
29
- "internalType": "bool",
30
- "name": "verifying",
31
- "type": "bool"
90
+ "internalType": "address",
91
+ "name": "newWallet",
92
+ "type": "address"
32
93
  },
33
94
  {
34
- "internalType": "UFixed",
35
- "name": "collateralizationLevel",
95
+ "internalType": "uint256",
96
+ "name": "allowance",
36
97
  "type": "uint256"
37
98
  },
38
99
  {
39
- "components": [
40
- {
41
- "internalType": "UFixed",
42
- "name": "fractionalFee",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "uint256",
47
- "name": "fixedFee",
48
- "type": "uint256"
49
- }
50
- ],
51
- "internalType": "struct Fee",
52
- "name": "poolFee",
53
- "type": "tuple"
54
- },
100
+ "internalType": "uint256",
101
+ "name": "balance",
102
+ "type": "uint256"
103
+ }
104
+ ],
105
+ "name": "ErrorBaseComponentWalletAllowanceTooSmall",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
55
110
  {
56
- "components": [
57
- {
58
- "internalType": "UFixed",
59
- "name": "fractionalFee",
60
- "type": "uint256"
61
- },
62
- {
63
- "internalType": "uint256",
64
- "name": "fixedFee",
65
- "type": "uint256"
66
- }
67
- ],
68
- "internalType": "struct Fee",
69
- "name": "stakingFee",
70
- "type": "tuple"
71
- },
111
+ "internalType": "address",
112
+ "name": "contractAddress",
113
+ "type": "address"
114
+ }
115
+ ],
116
+ "name": "ErrorContractNotRegistered",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
72
121
  {
73
- "components": [
74
- {
75
- "internalType": "UFixed",
76
- "name": "fractionalFee",
77
- "type": "uint256"
78
- },
79
- {
80
- "internalType": "uint256",
81
- "name": "fixedFee",
82
- "type": "uint256"
83
- }
84
- ],
85
- "internalType": "struct Fee",
86
- "name": "performanceFee",
87
- "type": "tuple"
88
- },
122
+ "internalType": "address",
123
+ "name": "account",
124
+ "type": "address"
125
+ }
126
+ ],
127
+ "name": "ErrorNotOwner",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
89
132
  {
90
133
  "internalType": "address",
91
- "name": "initialOwner",
134
+ "name": "registryAddress",
92
135
  "type": "address"
93
136
  }
94
137
  ],
95
- "stateMutability": "nonpayable",
96
- "type": "constructor"
138
+ "name": "ErrorNotRegistry",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "address",
145
+ "name": "registryAddress",
146
+ "type": "address"
147
+ }
148
+ ],
149
+ "name": "ErrorRegisterableNotRegistry",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "ErrorRegistryAddressZero",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "address",
161
+ "name": "registry",
162
+ "type": "address"
163
+ }
164
+ ],
165
+ "name": "ErrorRegistryAlreadyInitialized",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "inputs": [],
170
+ "name": "ErrorRegistryNotInitialized",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [],
175
+ "name": "FailedInnerCall",
176
+ "type": "error"
97
177
  },
98
178
  {
99
179
  "inputs": [],
@@ -105,6 +185,17 @@
105
185
  "name": "NotInitializing",
106
186
  "type": "error"
107
187
  },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "address",
192
+ "name": "token",
193
+ "type": "address"
194
+ }
195
+ ],
196
+ "name": "SafeERC20FailedOperation",
197
+ "type": "error"
198
+ },
108
199
  {
109
200
  "anonymous": false,
110
201
  "inputs": [
@@ -118,6 +209,44 @@
118
209
  "name": "Initialized",
119
210
  "type": "event"
120
211
  },
212
+ {
213
+ "anonymous": false,
214
+ "inputs": [
215
+ {
216
+ "indexed": false,
217
+ "internalType": "address",
218
+ "name": "newWallet",
219
+ "type": "address"
220
+ }
221
+ ],
222
+ "name": "LogBaseComponentWalletAddressChanged",
223
+ "type": "event"
224
+ },
225
+ {
226
+ "anonymous": false,
227
+ "inputs": [
228
+ {
229
+ "indexed": false,
230
+ "internalType": "address",
231
+ "name": "from",
232
+ "type": "address"
233
+ },
234
+ {
235
+ "indexed": false,
236
+ "internalType": "address",
237
+ "name": "to",
238
+ "type": "address"
239
+ },
240
+ {
241
+ "indexed": false,
242
+ "internalType": "uint256",
243
+ "name": "amount",
244
+ "type": "uint256"
245
+ }
246
+ ],
247
+ "name": "LogBaseComponentWalletTokensTransferred",
248
+ "type": "event"
249
+ },
121
250
  {
122
251
  "anonymous": false,
123
252
  "inputs": [
@@ -215,65 +344,6 @@
215
344
  "stateMutability": "view",
216
345
  "type": "function"
217
346
  },
218
- {
219
- "inputs": [],
220
- "name": "getFees",
221
- "outputs": [
222
- {
223
- "components": [
224
- {
225
- "internalType": "UFixed",
226
- "name": "fractionalFee",
227
- "type": "uint256"
228
- },
229
- {
230
- "internalType": "uint256",
231
- "name": "fixedFee",
232
- "type": "uint256"
233
- }
234
- ],
235
- "internalType": "struct Fee",
236
- "name": "",
237
- "type": "tuple"
238
- },
239
- {
240
- "components": [
241
- {
242
- "internalType": "UFixed",
243
- "name": "fractionalFee",
244
- "type": "uint256"
245
- },
246
- {
247
- "internalType": "uint256",
248
- "name": "fixedFee",
249
- "type": "uint256"
250
- }
251
- ],
252
- "internalType": "struct Fee",
253
- "name": "",
254
- "type": "tuple"
255
- },
256
- {
257
- "components": [
258
- {
259
- "internalType": "UFixed",
260
- "name": "fractionalFee",
261
- "type": "uint256"
262
- },
263
- {
264
- "internalType": "uint256",
265
- "name": "fixedFee",
266
- "type": "uint256"
267
- }
268
- ],
269
- "internalType": "struct Fee",
270
- "name": "",
271
- "type": "tuple"
272
- }
273
- ],
274
- "stateMutability": "view",
275
- "type": "function"
276
- },
277
347
  {
278
348
  "inputs": [],
279
349
  "name": "getInitialInfo",
@@ -342,13 +412,26 @@
342
412
  "stateMutability": "view",
343
413
  "type": "function"
344
414
  },
415
+ {
416
+ "inputs": [],
417
+ "name": "getName",
418
+ "outputs": [
419
+ {
420
+ "internalType": "string",
421
+ "name": "name",
422
+ "type": "string"
423
+ }
424
+ ],
425
+ "stateMutability": "pure",
426
+ "type": "function"
427
+ },
345
428
  {
346
429
  "inputs": [],
347
430
  "name": "getNftId",
348
431
  "outputs": [
349
432
  {
350
433
  "internalType": "NftId",
351
- "name": "nftId",
434
+ "name": "",
352
435
  "type": "uint96"
353
436
  }
354
437
  ],
@@ -368,19 +451,128 @@
368
451
  "stateMutability": "view",
369
452
  "type": "function"
370
453
  },
454
+ {
455
+ "inputs": [],
456
+ "name": "getProductNftId",
457
+ "outputs": [
458
+ {
459
+ "internalType": "NftId",
460
+ "name": "productNftId",
461
+ "type": "uint96"
462
+ }
463
+ ],
464
+ "stateMutability": "view",
465
+ "type": "function"
466
+ },
371
467
  {
372
468
  "inputs": [],
373
469
  "name": "getRegistry",
374
470
  "outputs": [
375
471
  {
376
472
  "internalType": "contract IRegistry",
377
- "name": "registry",
473
+ "name": "",
378
474
  "type": "address"
379
475
  }
380
476
  ],
381
477
  "stateMutability": "view",
382
478
  "type": "function"
383
479
  },
480
+ {
481
+ "inputs": [],
482
+ "name": "getSetupInfo",
483
+ "outputs": [
484
+ {
485
+ "components": [
486
+ {
487
+ "internalType": "NftId",
488
+ "name": "productNftId",
489
+ "type": "uint96"
490
+ },
491
+ {
492
+ "internalType": "contract TokenHandler",
493
+ "name": "tokenHandler",
494
+ "type": "address"
495
+ },
496
+ {
497
+ "internalType": "UFixed",
498
+ "name": "collateralizationLevel",
499
+ "type": "uint256"
500
+ },
501
+ {
502
+ "components": [
503
+ {
504
+ "internalType": "UFixed",
505
+ "name": "fractionalFee",
506
+ "type": "uint256"
507
+ },
508
+ {
509
+ "internalType": "uint256",
510
+ "name": "fixedFee",
511
+ "type": "uint256"
512
+ }
513
+ ],
514
+ "internalType": "struct Fee",
515
+ "name": "poolFee",
516
+ "type": "tuple"
517
+ },
518
+ {
519
+ "components": [
520
+ {
521
+ "internalType": "UFixed",
522
+ "name": "fractionalFee",
523
+ "type": "uint256"
524
+ },
525
+ {
526
+ "internalType": "uint256",
527
+ "name": "fixedFee",
528
+ "type": "uint256"
529
+ }
530
+ ],
531
+ "internalType": "struct Fee",
532
+ "name": "stakingFee",
533
+ "type": "tuple"
534
+ },
535
+ {
536
+ "components": [
537
+ {
538
+ "internalType": "UFixed",
539
+ "name": "fractionalFee",
540
+ "type": "uint256"
541
+ },
542
+ {
543
+ "internalType": "uint256",
544
+ "name": "fixedFee",
545
+ "type": "uint256"
546
+ }
547
+ ],
548
+ "internalType": "struct Fee",
549
+ "name": "performanceFee",
550
+ "type": "tuple"
551
+ },
552
+ {
553
+ "internalType": "bool",
554
+ "name": "isIntercepting",
555
+ "type": "bool"
556
+ },
557
+ {
558
+ "internalType": "bool",
559
+ "name": "isConfirmingApplication",
560
+ "type": "bool"
561
+ },
562
+ {
563
+ "internalType": "address",
564
+ "name": "wallet",
565
+ "type": "address"
566
+ }
567
+ ],
568
+ "internalType": "struct ISetup.PoolSetupInfo",
569
+ "name": "setupInfo",
570
+ "type": "tuple"
571
+ }
572
+ ],
573
+ "stateMutability": "view",
574
+ "type": "function"
575
+ },
384
576
  {
385
577
  "inputs": [],
386
578
  "name": "getToken",
@@ -409,17 +601,24 @@
409
601
  },
410
602
  {
411
603
  "inputs": [],
412
- "name": "isVerifying",
604
+ "name": "isConfirmingApplication",
413
605
  "outputs": [
414
606
  {
415
607
  "internalType": "bool",
416
- "name": "verifying",
608
+ "name": "isConfirmingApplication",
417
609
  "type": "bool"
418
610
  }
419
611
  ],
420
612
  "stateMutability": "view",
421
613
  "type": "function"
422
614
  },
615
+ {
616
+ "inputs": [],
617
+ "name": "linkToRegisteredNftId",
618
+ "outputs": [],
619
+ "stateMutability": "nonpayable",
620
+ "type": "function"
621
+ },
423
622
  {
424
623
  "inputs": [],
425
624
  "name": "lock",
@@ -427,6 +626,19 @@
427
626
  "stateMutability": "nonpayable",
428
627
  "type": "function"
429
628
  },
629
+ {
630
+ "inputs": [
631
+ {
632
+ "internalType": "NftId",
633
+ "name": "bundleNftId",
634
+ "type": "uint96"
635
+ }
636
+ ],
637
+ "name": "lockBundle",
638
+ "outputs": [],
639
+ "stateMutability": "nonpayable",
640
+ "type": "function"
641
+ },
430
642
  {
431
643
  "inputs": [
432
644
  {
@@ -540,6 +752,32 @@
540
752
  "stateMutability": "nonpayable",
541
753
  "type": "function"
542
754
  },
755
+ {
756
+ "inputs": [
757
+ {
758
+ "internalType": "NftId",
759
+ "name": "productNftId",
760
+ "type": "uint96"
761
+ }
762
+ ],
763
+ "name": "setProductNftId",
764
+ "outputs": [],
765
+ "stateMutability": "nonpayable",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
770
+ {
771
+ "internalType": "address",
772
+ "name": "newWallet",
773
+ "type": "address"
774
+ }
775
+ ],
776
+ "name": "setWallet",
777
+ "outputs": [],
778
+ "stateMutability": "nonpayable",
779
+ "type": "function"
780
+ },
543
781
  {
544
782
  "inputs": [
545
783
  {
@@ -593,10 +831,23 @@
593
831
  "outputs": [],
594
832
  "stateMutability": "nonpayable",
595
833
  "type": "function"
834
+ },
835
+ {
836
+ "inputs": [
837
+ {
838
+ "internalType": "NftId",
839
+ "name": "bundleNftId",
840
+ "type": "uint96"
841
+ }
842
+ ],
843
+ "name": "unlockBundle",
844
+ "outputs": [],
845
+ "stateMutability": "nonpayable",
846
+ "type": "function"
596
847
  }
597
848
  ],
598
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001df038038062001df08339810160408190526200003491620007ed565b898989608c6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558a8560408051602081019091526000815262000096878786868686620004a2565b6000620000ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200011a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200014491908101906200095e565b6080810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d2919062000a44565b620001fe5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000252573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000278919062000a69565b600180546001600160a01b03199081166001600160a01b0393841617825560038054309083161790556004805490911692891692909217909155631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191690911790555050600580548d1515600160a01b0260ff60a01b198216811790925560068d90558b516007556020808d01516008558b516009558b810151600a558a51600b558a810151600c5560408051636b9bf08b60e01b815290516001600160a01b0394851694909316939093179850636b9bf08b9750600480840197509095509093509083900301905081865afa1580156200038b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003b1919062000a69565b600d80546001600160a01b0319166001600160a01b0392831617905560055460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa15801562000410573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000436919062000a69565b600e80546001600160a01b0319166001600160a01b0392909216919091179055638165cf9760e01b60009081526020527fdbb0e9856bd1e431ccdf71c70f456d2f44178629ace27e773b679a35c573f774805460ff191660011790555050505050505050505062000be4565b6001600160a01b038616620004fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f00000000006044820152606401620001f5565b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000548573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200056e919062000a44565b620005bc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620001f5565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026200068c848262000b18565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b6001600160a01b0381168114620006e957600080fd5b50565b8051620006f981620006d3565b919050565b80516001600160601b0381168114620006f957600080fd5b80518015158114620006f957600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000762576200076262000727565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000793576200079362000727565b604052919050565b600060408284031215620007ae57600080fd5b604080519081016001600160401b0381118282101715620007d357620007d362000727565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d0312156200080e57600080fd5b8a516200081b81620006d3565b99506200082b60208c01620006fe565b985060408b01516200083d81620006d3565b97506200084d60608c0162000716565b96506200085d60808c0162000716565b955060a08b01519450620008758c60c08d016200079b565b9350620008878c6101008d016200079b565b9250620008998c6101408d016200079b565b91506101808b0151620008ac81620006d3565b809150509295989b9194979a5092959850565b805160ff81168114620006f957600080fd5b600082601f830112620008e357600080fd5b81516001600160401b03811115620008ff57620008ff62000727565b602062000915601f8301601f1916820162000768565b82815285828487010111156200092a57600080fd5b60005b838110156200094a5785810183015182820184015282016200092d565b506000928101909101919091529392505050565b6000602082840312156200097157600080fd5b81516001600160401b03808211156200098957600080fd5b9083019060e082860312156200099e57600080fd5b620009a86200073d565b620009b383620006fe565b8152620009c360208401620006fe565b6020820152620009d660408401620008bf565b6040820152620009e96060840162000716565b6060820152620009fc60808401620006ec565b608082015262000a0f60a08401620006ec565b60a082015260c08301518281111562000a2757600080fd5b62000a3587828601620008d1565b60c08301525095945050505050565b60006020828403121562000a5757600080fd5b62000a628262000716565b9392505050565b60006020828403121562000a7c57600080fd5b815162000a6281620006d3565b600181811c9082168062000a9e57607f821691505b60208210810362000abf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b1357600081815260208120601f850160051c8101602086101562000aee5750805b601f850160051c820191505b8181101562000b0f5782815560010162000afa565b5050505b505050565b81516001600160401b0381111562000b345762000b3462000727565b62000b4c8162000b45845462000a89565b8462000ac5565b602080601f83116001811462000b84576000841562000b6b5750858301515b600019600386901b1c1916600185901b17855562000b0f565b600085815260208120601f198616915b8281101562000bb55788860151825594840194600190910190840162000b94565b508582101562000bd45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6111fc8062000bf46000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461027a578063dab123251461028d578063db8d55f1146102a3578063de7b5d14146102e9578063f83d08ba146102fa57600080fd5b806365effc1a14610232578063826787661461024557806387ef9ba014610258578063893d20e81461026a578063a69df4b51461027257600080fd5b806321df0da7116100f457806321df0da7146101c657806354afef63146101d75780635ab1bd53146101df578063636450f5146101fd578063644c45e01461021257600080fd5b806301ffc9a7146101265780630fec111c14610168578063132996041461017e5780631eff4b22146101a3575b600080fd5b610153610134366004610aed565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610302565b60405161015f929190610b64565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101b86000805160206111a783398151915281565b60405190815260200161015f565b6004546001600160a01b031661018b565b6006546101b8565b6000805160206111a7833981519152546001600160a01b031661018b565b61021061020b366004610cb6565b6103b8565b005b61021a610420565b6040516001600160601b03909116815260200161015f565b610210610240366004610d79565b6104a0565b610210610253366004610df7565b61051b565b600554600160a01b900460ff16610153565b61018b6105e0565b61021061065b565b61021a610288366004610e3d565b6106ed565b61015361029b366004610e9f565b600192915050565b6102ab610777565b60405161015f93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6005546001600160a01b031661018b565b6102106108d0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610346610938565b604080518082018252600554600160a01b900460ff16151581526006546020808301919091526003546004549351959750939550869461039f9492936001600160a01b03938416931691600791600991600b9101610f03565b6040516020818303038152906040529350935050509091565b600d5460405163636450f560e01b81526001600160a01b039091169063636450f5906103ea9085908590600401610f70565b600060405180830381600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050505050565b60006000805160206111a783398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610fa7565b905090565b600e546001600160a01b031633146105095760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084015b60405180910390fd5b61051584848484610a9f565b50505050565b6105236105e0565b6001600160a01b0316336001600160a01b0316146105535760405162461bcd60e51b815260040161050090610fc4565b600d54604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156105c357600080fd5b505af11580156105d7573d6000803e3d6000fd5b50505050505050565b60006000805160206111a783398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190611010565b6106636105e0565b6001600160a01b0316336001600160a01b0316146106935760405162461bcd60e51b815260040161050090610fc4565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156106d957600080fd5b505af1158015610515573d6000803e3d6000fd5b600d5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d539061072a9084908a908a908a908a9060040161102d565b6020604051808303816000875af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610fa7565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff56107cf610420565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190610fa7565b60055460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b391906110ad565b60a081015160c082015160e0909201519097919650945092505050565b6108d86105e0565b6001600160a01b0316336001600160a01b0316146109085760405162461bcd60e51b815260040161050090610fc4565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016106bf565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206111a783398151915290506040518060e0016040528061099b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610a059061116c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a319061116c565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610aff57600080fd5b81356001600160e01b031981168114610b1757600080fd5b9392505050565b6000815180845260005b81811015610b4457602081850181015186830182015201610b28565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610ba860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610bee610120840182610b1e565b90508281036020840152610c028185610b1e565b95945050505050565b6001600160601b0381168114610c2057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b60405290565b604051610120810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b600060408284031215610c9857600080fd5b610ca0610c39565b9050813581526020820135602082015292915050565b60008060608385031215610cc957600080fd5b8235610cd481610c0b565b9150610ce38460208501610c86565b90509250929050565b600082601f830112610cfd57600080fd5b813567ffffffffffffffff80821115610d1857610d18610c23565b604051601f8301601f19908116603f01168101908282118183101715610d4057610d40610c23565b81604052838152866020858801011115610d5957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610d8f57600080fd5b8435610d9a81610c0b565b9350602085013567ffffffffffffffff80821115610db757600080fd5b610dc388838901610cec565b94506040870135915080821115610dd957600080fd5b50610de687828801610cec565b949793965093946060013593505050565b600080600060c08486031215610e0c57600080fd5b610e168585610c86565b9250610e258560408601610c86565b9150610e348560808601610c86565b90509250925092565b60008060008060a08587031215610e5357600080fd5b610e5d8686610c86565b93506040850135925060608501359150608085013567ffffffffffffffff811115610e8757600080fd5b610e9387828801610cec565b91505092959194509250565b60008060408385031215610eb257600080fd5b823567ffffffffffffffff80821115610eca57600080fd5b610ed686838701610cec565b93506020850135915080821115610eec57600080fd5b50610ef985828601610cec565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b6001600160601b038316815260608101610b17602083018480518252602090810151910152565b8051610fa281610c0b565b919050565b600060208284031215610fb957600080fd5b8151610b1781610c0b565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6001600160a01b0381168114610c2057600080fd5b60006020828403121561102257600080fd5b8151610b1781610ffb565b6001600160a01b0386168152611050602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000610f6560c0830184610b1e565b8051610fa281610ffb565b60006040828403121561108f57600080fd5b611097610c39565b9050815181526020820151602082015292915050565b60006101e082840312156110c057600080fd5b6110c8610c62565b6110d183610f97565b81526110df60208401610f97565b60208201526110f060408401611072565b6040820152611102846060850161107d565b60608201526111148460a0850161107d565b60808201526111268460e0850161107d565b60a082015261113984610120850161107d565b60c082015261114c84610160850161107d565b60e082015261115f846101a0850161107d565b6101008201529392505050565b600181811c9082168061118057607f821691505b6020821081036111a057634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220267ed565f8f4a0d49ce2e88bd4c9d9a0df025cd3dd6f3f9335600c755a51441e64736f6c63430008140033",
599
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461027a578063dab123251461028d578063db8d55f1146102a3578063de7b5d14146102e9578063f83d08ba146102fa57600080fd5b806365effc1a14610232578063826787661461024557806387ef9ba014610258578063893d20e81461026a578063a69df4b51461027257600080fd5b806321df0da7116100f457806321df0da7146101c657806354afef63146101d75780635ab1bd53146101df578063636450f5146101fd578063644c45e01461021257600080fd5b806301ffc9a7146101265780630fec111c14610168578063132996041461017e5780631eff4b22146101a3575b600080fd5b610153610134366004610aed565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610302565b60405161015f929190610b64565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101b86000805160206111a783398151915281565b60405190815260200161015f565b6004546001600160a01b031661018b565b6006546101b8565b6000805160206111a7833981519152546001600160a01b031661018b565b61021061020b366004610cb6565b6103b8565b005b61021a610420565b6040516001600160601b03909116815260200161015f565b610210610240366004610d79565b6104a0565b610210610253366004610df7565b61051b565b600554600160a01b900460ff16610153565b61018b6105e0565b61021061065b565b61021a610288366004610e3d565b6106ed565b61015361029b366004610e9f565b600192915050565b6102ab610777565b60405161015f93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6005546001600160a01b031661018b565b6102106108d0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610346610938565b604080518082018252600554600160a01b900460ff16151581526006546020808301919091526003546004549351959750939550869461039f9492936001600160a01b03938416931691600791600991600b9101610f03565b6040516020818303038152906040529350935050509091565b600d5460405163636450f560e01b81526001600160a01b039091169063636450f5906103ea9085908590600401610f70565b600060405180830381600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050505050565b60006000805160206111a783398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610fa7565b905090565b600e546001600160a01b031633146105095760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084015b60405180910390fd5b61051584848484610a9f565b50505050565b6105236105e0565b6001600160a01b0316336001600160a01b0316146105535760405162461bcd60e51b815260040161050090610fc4565b600d54604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156105c357600080fd5b505af11580156105d7573d6000803e3d6000fd5b50505050505050565b60006000805160206111a783398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190611010565b6106636105e0565b6001600160a01b0316336001600160a01b0316146106935760405162461bcd60e51b815260040161050090610fc4565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156106d957600080fd5b505af1158015610515573d6000803e3d6000fd5b600d5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d539061072a9084908a908a908a908a9060040161102d565b6020604051808303816000875af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610fa7565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff56107cf610420565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190610fa7565b60055460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b391906110ad565b60a081015160c082015160e0909201519097919650945092505050565b6108d86105e0565b6001600160a01b0316336001600160a01b0316146109085760405162461bcd60e51b815260040161050090610fc4565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016106bf565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206111a783398151915290506040518060e0016040528061099b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610a059061116c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a319061116c565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610aff57600080fd5b81356001600160e01b031981168114610b1757600080fd5b9392505050565b6000815180845260005b81811015610b4457602081850181015186830182015201610b28565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610ba860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610bee610120840182610b1e565b90508281036020840152610c028185610b1e565b95945050505050565b6001600160601b0381168114610c2057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b60405290565b604051610120810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b600060408284031215610c9857600080fd5b610ca0610c39565b9050813581526020820135602082015292915050565b60008060608385031215610cc957600080fd5b8235610cd481610c0b565b9150610ce38460208501610c86565b90509250929050565b600082601f830112610cfd57600080fd5b813567ffffffffffffffff80821115610d1857610d18610c23565b604051601f8301601f19908116603f01168101908282118183101715610d4057610d40610c23565b81604052838152866020858801011115610d5957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610d8f57600080fd5b8435610d9a81610c0b565b9350602085013567ffffffffffffffff80821115610db757600080fd5b610dc388838901610cec565b94506040870135915080821115610dd957600080fd5b50610de687828801610cec565b949793965093946060013593505050565b600080600060c08486031215610e0c57600080fd5b610e168585610c86565b9250610e258560408601610c86565b9150610e348560808601610c86565b90509250925092565b60008060008060a08587031215610e5357600080fd5b610e5d8686610c86565b93506040850135925060608501359150608085013567ffffffffffffffff811115610e8757600080fd5b610e9387828801610cec565b91505092959194509250565b60008060408385031215610eb257600080fd5b823567ffffffffffffffff80821115610eca57600080fd5b610ed686838701610cec565b93506020850135915080821115610eec57600080fd5b50610ef985828601610cec565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b6001600160601b038316815260608101610b17602083018480518252602090810151910152565b8051610fa281610c0b565b919050565b600060208284031215610fb957600080fd5b8151610b1781610c0b565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6001600160a01b0381168114610c2057600080fd5b60006020828403121561102257600080fd5b8151610b1781610ffb565b6001600160a01b0386168152611050602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000610f6560c0830184610b1e565b8051610fa281610ffb565b60006040828403121561108f57600080fd5b611097610c39565b9050815181526020820151602082015292915050565b60006101e082840312156110c057600080fd5b6110c8610c62565b6110d183610f97565b81526110df60208401610f97565b60208201526110f060408401611072565b6040820152611102846060850161107d565b60608201526111148460a0850161107d565b60808201526111268460e0850161107d565b60a082015261113984610120850161107d565b60c082015261114c84610160850161107d565b60e082015261115f846101a0850161107d565b6101008201529392505050565b600181811c9082168061118057607f821691505b6020821081036111a057634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220267ed565f8f4a0d49ce2e88bd4c9d9a0df025cd3dd6f3f9335600c755a51441e64736f6c63430008140033",
849
+ "bytecode": "0x",
850
+ "deployedBytecode": "0x",
600
851
  "linkReferences": {},
601
852
  "deployedLinkReferences": {}
602
853
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
3
+ "buildInfo": "../../../build-info/2d0d5ac9f3af33498ef492a7caeac063.json"
4
4
  }