@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fbe22f0-239

Sign up to get free protection for your applications and to get access to all the features.
Files changed (419) hide show
  1. package/README.md +314 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +858 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1114 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +281 -226
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +695 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +601 -76
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -61
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1099 -159
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1030 -84
  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/BundleManager.sol/BundleManager.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  46. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  47. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  48. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1150 -1021
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +591 -0
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +2047 -1067
  54. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1386 -0
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1164 -0
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +584 -0
  62. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  64. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +728 -0
  66. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  68. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  71. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  73. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  75. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  76. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  77. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  79. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  83. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  84. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  85. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  87. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1091 -0
  89. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
  91. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
  93. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +897 -0
  95. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +548 -0
  97. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +625 -0
  99. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
  101. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  102. package/artifacts/contracts/instance/{base/InstanceBase.sol/InstanceBase.json → service/IDistributionService.sol/IDistributionService.json} +205 -85
  103. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
  105. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +203 -80
  107. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +209 -150
  109. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
  111. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
  113. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +546 -86
  115. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +548 -0
  117. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +521 -213
  119. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
  121. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  122. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  123. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  124. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
  125. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  126. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +986 -0
  127. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  128. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  129. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  130. package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
  131. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  133. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  134. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1325 -0
  135. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +575 -0
  137. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  138. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  139. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  140. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +505 -0
  141. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  142. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  143. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  144. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  146. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +56 -79
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +116 -36
  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} +174 -117
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  155. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  156. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +277 -0
  157. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  158. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
  159. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  160. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +473 -0
  161. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +293 -25
  163. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  164. package/artifacts/contracts/shared/Service.sol/Service.json +601 -0
  165. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  166. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  167. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  168. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  169. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  170. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  171. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  173. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +309 -26
  175. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  177. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  178. package/artifacts/contracts/test/TestService.sol/TestService.json +412 -58
  179. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  181. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  183. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  184. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  185. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  186. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  187. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  188. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  192. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  194. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  195. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  196. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  198. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  199. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  200. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  202. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  204. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  206. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  208. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  210. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  212. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  214. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  216. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  218. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  220. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  222. package/contracts/components/Component.sol +230 -0
  223. package/contracts/components/Distribution.sol +156 -0
  224. package/contracts/components/IComponent.sol +50 -0
  225. package/contracts/components/IDistributionComponent.sol +47 -0
  226. package/contracts/components/IPoolComponent.sol +65 -35
  227. package/contracts/components/IProductComponent.sol +29 -9
  228. package/contracts/components/Pool.sol +180 -100
  229. package/contracts/components/Product.sol +203 -42
  230. package/contracts/experiment/cloning/Cloner.sol +47 -0
  231. package/contracts/instance/BundleManager.sol +125 -0
  232. package/contracts/instance/Cloneable.sol +46 -0
  233. package/contracts/instance/IInstance.sol +65 -45
  234. package/contracts/instance/IInstanceService.sol +41 -0
  235. package/contracts/instance/Instance.sol +253 -53
  236. package/contracts/instance/InstanceAccessManager.sol +297 -0
  237. package/contracts/instance/InstanceReader.sol +293 -0
  238. package/contracts/instance/InstanceService.sol +434 -0
  239. package/contracts/instance/InstanceServiceManager.sol +54 -0
  240. package/contracts/instance/ObjectManager.sol +84 -0
  241. package/contracts/instance/base/ComponentService.sol +134 -0
  242. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  243. package/contracts/instance/base/ILifecycle.sol +3 -3
  244. package/contracts/instance/base/KeyValueStore.sol +53 -37
  245. package/contracts/instance/base/Lifecycle.sol +16 -11
  246. package/contracts/instance/module/IAccess.sol +47 -0
  247. package/contracts/instance/module/IBundle.sol +20 -0
  248. package/contracts/instance/module/IDistribution.sol +39 -0
  249. package/contracts/instance/module/IPolicy.sol +45 -0
  250. package/contracts/instance/module/IRisk.sol +11 -0
  251. package/contracts/instance/module/ISetup.sol +47 -0
  252. package/contracts/instance/module/ITreasury.sol +23 -0
  253. package/contracts/instance/service/ApplicationService.sol +268 -0
  254. package/contracts/instance/service/BundleService.sol +298 -0
  255. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  256. package/contracts/instance/service/DistributionService.sol +105 -0
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IApplicationService.sol +82 -0
  259. package/contracts/instance/service/IBundleService.sol +54 -0
  260. package/contracts/instance/service/IDistributionService.sol +12 -0
  261. package/contracts/instance/service/IPolicyService.sol +88 -0
  262. package/contracts/instance/service/IPoolService.sol +8 -18
  263. package/contracts/instance/service/IProductService.sol +21 -39
  264. package/contracts/instance/service/PolicyService.sol +524 -0
  265. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  266. package/contracts/instance/service/PoolService.sol +78 -92
  267. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  268. package/contracts/instance/service/ProductService.sol +168 -289
  269. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  270. package/contracts/registry/ChainNft.sol +79 -36
  271. package/contracts/registry/IRegistry.sol +66 -24
  272. package/contracts/registry/IRegistryService.sol +65 -0
  273. package/contracts/registry/ITransferInterceptor.sol +6 -0
  274. package/contracts/registry/Registry.sol +364 -283
  275. package/contracts/registry/RegistryAccessManager.sol +216 -0
  276. package/contracts/registry/RegistryService.sol +261 -0
  277. package/contracts/registry/RegistryServiceManager.sol +62 -0
  278. package/contracts/registry/ReleaseManager.sol +332 -0
  279. package/contracts/registry/TokenRegistry.sol +113 -0
  280. package/contracts/shared/ContractDeployerLib.sol +72 -0
  281. package/contracts/shared/ERC165.sol +13 -8
  282. package/contracts/shared/INftOwnable.sol +27 -0
  283. package/contracts/shared/IPolicyHolder.sol +26 -0
  284. package/contracts/shared/IRegisterable.sol +10 -19
  285. package/contracts/shared/IService.sol +16 -0
  286. package/contracts/shared/IVersionable.sol +55 -11
  287. package/contracts/shared/NftOwnable.sol +187 -0
  288. package/contracts/shared/PolicyHolder.sol +52 -0
  289. package/contracts/shared/ProxyManager.sol +95 -0
  290. package/contracts/shared/Registerable.sol +58 -63
  291. package/contracts/shared/Service.sol +60 -0
  292. package/contracts/shared/TokenHandler.sol +27 -0
  293. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  294. package/contracts/shared/Versionable.sol +113 -54
  295. package/contracts/test/TestFee.sol +2 -2
  296. package/contracts/test/TestRegisterable.sol +5 -6
  297. package/contracts/test/TestRoleId.sol +1 -1
  298. package/contracts/test/TestService.sol +7 -14
  299. package/contracts/types/DistributorType.sol +55 -0
  300. package/contracts/types/Fee.sol +10 -5
  301. package/contracts/types/Key32.sol +8 -3
  302. package/contracts/types/NftIdSet.sol +26 -24
  303. package/contracts/types/NumberId.sol +52 -0
  304. package/contracts/types/ObjectType.sol +55 -14
  305. package/contracts/types/Referral.sol +85 -0
  306. package/contracts/types/RiskId.sol +43 -0
  307. package/contracts/types/RoleId.sol +62 -10
  308. package/contracts/types/StateId.sol +5 -1
  309. package/contracts/types/Timestamp.sol +7 -3
  310. package/contracts/types/UFixed.sol +128 -12
  311. package/contracts/types/Version.sol +13 -1
  312. package/package.json +6 -5
  313. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  314. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  315. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  316. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  317. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  318. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  319. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  320. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  321. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  322. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  323. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  324. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  325. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  326. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  327. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  328. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  330. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  332. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  333. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  334. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  335. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  338. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  340. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  341. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  342. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  344. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  345. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  346. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  348. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  350. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  352. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  353. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  354. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  355. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  357. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  358. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  359. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  361. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  364. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  366. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  369. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  371. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  373. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  374. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  375. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  376. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  377. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  378. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  379. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  380. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  381. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  382. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  383. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  384. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  385. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  386. package/contracts/components/BaseComponent.sol +0 -88
  387. package/contracts/components/IBaseComponent.sol +0 -19
  388. package/contracts/experiment/statemachine/README.md +0 -112
  389. package/contracts/instance/IInstanceLinked.sol +0 -8
  390. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  391. package/contracts/instance/base/IInstanceBase.sol +0 -14
  392. package/contracts/instance/base/IService.sol +0 -15
  393. package/contracts/instance/base/InstanceBase.sol +0 -80
  394. package/contracts/instance/base/ModuleBase.sol +0 -52
  395. package/contracts/instance/base/ServiceBase.sol +0 -37
  396. package/contracts/instance/module/access/Access.sol +0 -149
  397. package/contracts/instance/module/access/IAccess.sol +0 -53
  398. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  399. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  400. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  401. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  402. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  403. package/contracts/instance/module/component/IComponent.sol +0 -53
  404. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  405. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  406. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  407. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  408. package/contracts/instance/module/risk/IRisk.sol +0 -10
  409. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  410. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  411. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  412. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  413. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  414. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  415. package/contracts/registry/IChainNft.sol +0 -21
  416. package/contracts/registry/IRegistryLinked.sol +0 -8
  417. package/contracts/shared/IOwnable.sol +0 -6
  418. package/contracts/test/TestPool.sol +0 -22
  419. package/contracts/test/TestProduct.sol +0 -44
@@ -3,6 +3,788 @@
3
3
  "contractName": "Pool",
4
4
  "sourceName": "contracts/components/Pool.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "target",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "AddressEmptyCode",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "account",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "AddressInsufficientBalance",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "registry",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "NftId",
75
+ "name": "nftId",
76
+ "type": "uint96"
77
+ }
78
+ ],
79
+ "name": "ErrorAlreadyLinked",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "caller",
87
+ "type": "address"
88
+ }
89
+ ],
90
+ "name": "ErrorComponentNotChainNft",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "NftId",
97
+ "name": "instanceNftId",
98
+ "type": "uint96"
99
+ },
100
+ {
101
+ "internalType": "address",
102
+ "name": "instance",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorComponentNotInstance",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "caller",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "ErrorComponentNotProductService",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "ErrorComponentProductNftAlreadySet",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "address",
129
+ "name": "caller",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "internalType": "uint64",
134
+ "name": "requiredRoleIdNum",
135
+ "type": "uint64"
136
+ }
137
+ ],
138
+ "name": "ErrorComponentUnauthorized",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "address",
145
+ "name": "newWallet",
146
+ "type": "address"
147
+ }
148
+ ],
149
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "ErrorComponentWalletAddressZero",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "address",
161
+ "name": "oldWallet",
162
+ "type": "address"
163
+ },
164
+ {
165
+ "internalType": "address",
166
+ "name": "newWallet",
167
+ "type": "address"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "allowance",
172
+ "type": "uint256"
173
+ },
174
+ {
175
+ "internalType": "uint256",
176
+ "name": "balance",
177
+ "type": "uint256"
178
+ }
179
+ ],
180
+ "name": "ErrorComponentWalletAllowanceTooSmall",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "contractAddress",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorContractNotRegistered",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "ErrorInitialOwnerZero",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "address",
203
+ "name": "account",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "name": "ErrorNotOwner",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "registryAddress",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "name": "ErrorNotRegistry",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "address",
225
+ "name": "service",
226
+ "type": "address"
227
+ }
228
+ ],
229
+ "name": "ErrorPoolNotPoolService",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [
234
+ {
235
+ "internalType": "address",
236
+ "name": "registryAddress",
237
+ "type": "address"
238
+ }
239
+ ],
240
+ "name": "ErrorRegisterableNotRegistry",
241
+ "type": "error"
242
+ },
243
+ {
244
+ "inputs": [],
245
+ "name": "ErrorRegistryAddressZero",
246
+ "type": "error"
247
+ },
248
+ {
249
+ "inputs": [
250
+ {
251
+ "internalType": "address",
252
+ "name": "registry",
253
+ "type": "address"
254
+ }
255
+ ],
256
+ "name": "ErrorRegistryAlreadyInitialized",
257
+ "type": "error"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "ErrorRegistryNotInitialized",
262
+ "type": "error"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "FailedInnerCall",
267
+ "type": "error"
268
+ },
269
+ {
270
+ "inputs": [],
271
+ "name": "InvalidInitialization",
272
+ "type": "error"
273
+ },
274
+ {
275
+ "inputs": [],
276
+ "name": "NotInitializing",
277
+ "type": "error"
278
+ },
279
+ {
280
+ "inputs": [
281
+ {
282
+ "internalType": "address",
283
+ "name": "token",
284
+ "type": "address"
285
+ }
286
+ ],
287
+ "name": "SafeERC20FailedOperation",
288
+ "type": "error"
289
+ },
290
+ {
291
+ "anonymous": false,
292
+ "inputs": [
293
+ {
294
+ "indexed": false,
295
+ "internalType": "address",
296
+ "name": "authority",
297
+ "type": "address"
298
+ }
299
+ ],
300
+ "name": "AuthorityUpdated",
301
+ "type": "event"
302
+ },
303
+ {
304
+ "anonymous": false,
305
+ "inputs": [
306
+ {
307
+ "indexed": false,
308
+ "internalType": "uint64",
309
+ "name": "version",
310
+ "type": "uint64"
311
+ }
312
+ ],
313
+ "name": "Initialized",
314
+ "type": "event"
315
+ },
316
+ {
317
+ "anonymous": false,
318
+ "inputs": [
319
+ {
320
+ "indexed": false,
321
+ "internalType": "address",
322
+ "name": "newWallet",
323
+ "type": "address"
324
+ }
325
+ ],
326
+ "name": "LogComponentWalletAddressChanged",
327
+ "type": "event"
328
+ },
329
+ {
330
+ "anonymous": false,
331
+ "inputs": [
332
+ {
333
+ "indexed": false,
334
+ "internalType": "address",
335
+ "name": "from",
336
+ "type": "address"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "address",
341
+ "name": "to",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "uint256",
347
+ "name": "amount",
348
+ "type": "uint256"
349
+ }
350
+ ],
351
+ "name": "LogComponentWalletTokensTransferred",
352
+ "type": "event"
353
+ },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "NftId",
360
+ "name": "policyNftId",
361
+ "type": "uint96"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "uint256",
366
+ "name": "collateralizationAmount",
367
+ "type": "uint256"
368
+ },
369
+ {
370
+ "indexed": false,
371
+ "internalType": "address",
372
+ "name": "pool",
373
+ "type": "address"
374
+ }
375
+ ],
376
+ "name": "LogUnderwrittenByPool",
377
+ "type": "event"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "CONTRACT_LOCATION_V1",
382
+ "outputs": [
383
+ {
384
+ "internalType": "bytes32",
385
+ "name": "",
386
+ "type": "bytes32"
387
+ }
388
+ ],
389
+ "stateMutability": "view",
390
+ "type": "function"
391
+ },
392
+ {
393
+ "inputs": [],
394
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
395
+ "outputs": [
396
+ {
397
+ "internalType": "bytes32",
398
+ "name": "",
399
+ "type": "bytes32"
400
+ }
401
+ ],
402
+ "stateMutability": "view",
403
+ "type": "function"
404
+ },
405
+ {
406
+ "inputs": [],
407
+ "name": "POOL_STORAGE_LOCATION_V1",
408
+ "outputs": [
409
+ {
410
+ "internalType": "bytes32",
411
+ "name": "",
412
+ "type": "bytes32"
413
+ }
414
+ ],
415
+ "stateMutability": "view",
416
+ "type": "function"
417
+ },
418
+ {
419
+ "inputs": [],
420
+ "name": "REGISTERABLE_LOCATION_V1",
421
+ "outputs": [
422
+ {
423
+ "internalType": "bytes32",
424
+ "name": "",
425
+ "type": "bytes32"
426
+ }
427
+ ],
428
+ "stateMutability": "view",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [],
433
+ "name": "authority",
434
+ "outputs": [
435
+ {
436
+ "internalType": "address",
437
+ "name": "",
438
+ "type": "address"
439
+ }
440
+ ],
441
+ "stateMutability": "view",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [],
446
+ "name": "getCollateralizationLevel",
447
+ "outputs": [
448
+ {
449
+ "internalType": "UFixed",
450
+ "name": "collateralizationLevel",
451
+ "type": "uint256"
452
+ }
453
+ ],
454
+ "stateMutability": "view",
455
+ "type": "function"
456
+ },
457
+ {
458
+ "inputs": [
459
+ {
460
+ "internalType": "bytes",
461
+ "name": "name",
462
+ "type": "bytes"
463
+ }
464
+ ],
465
+ "name": "getContractLocation",
466
+ "outputs": [
467
+ {
468
+ "internalType": "bytes32",
469
+ "name": "hash",
470
+ "type": "bytes32"
471
+ }
472
+ ],
473
+ "stateMutability": "pure",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [],
478
+ "name": "getInitialInfo",
479
+ "outputs": [
480
+ {
481
+ "components": [
482
+ {
483
+ "internalType": "NftId",
484
+ "name": "nftId",
485
+ "type": "uint96"
486
+ },
487
+ {
488
+ "internalType": "NftId",
489
+ "name": "parentNftId",
490
+ "type": "uint96"
491
+ },
492
+ {
493
+ "internalType": "ObjectType",
494
+ "name": "objectType",
495
+ "type": "uint8"
496
+ },
497
+ {
498
+ "internalType": "bool",
499
+ "name": "isInterceptor",
500
+ "type": "bool"
501
+ },
502
+ {
503
+ "internalType": "address",
504
+ "name": "objectAddress",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "internalType": "address",
509
+ "name": "initialOwner",
510
+ "type": "address"
511
+ },
512
+ {
513
+ "internalType": "bytes",
514
+ "name": "data",
515
+ "type": "bytes"
516
+ }
517
+ ],
518
+ "internalType": "struct IRegistry.ObjectInfo",
519
+ "name": "info",
520
+ "type": "tuple"
521
+ }
522
+ ],
523
+ "stateMutability": "view",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [],
528
+ "name": "getInitialOwner",
529
+ "outputs": [
530
+ {
531
+ "internalType": "address",
532
+ "name": "",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "stateMutability": "view",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [],
541
+ "name": "getInstance",
542
+ "outputs": [
543
+ {
544
+ "internalType": "contract IInstance",
545
+ "name": "instance",
546
+ "type": "address"
547
+ }
548
+ ],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [],
554
+ "name": "getInstanceService",
555
+ "outputs": [
556
+ {
557
+ "internalType": "contract IInstanceService",
558
+ "name": "",
559
+ "type": "address"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [],
567
+ "name": "getName",
568
+ "outputs": [
569
+ {
570
+ "internalType": "string",
571
+ "name": "name",
572
+ "type": "string"
573
+ }
574
+ ],
575
+ "stateMutability": "view",
576
+ "type": "function"
577
+ },
578
+ {
579
+ "inputs": [],
580
+ "name": "getNftId",
581
+ "outputs": [
582
+ {
583
+ "internalType": "NftId",
584
+ "name": "",
585
+ "type": "uint96"
586
+ }
587
+ ],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [],
593
+ "name": "getOwner",
594
+ "outputs": [
595
+ {
596
+ "internalType": "address",
597
+ "name": "",
598
+ "type": "address"
599
+ }
600
+ ],
601
+ "stateMutability": "view",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [],
606
+ "name": "getProductNftId",
607
+ "outputs": [
608
+ {
609
+ "internalType": "NftId",
610
+ "name": "productNftId",
611
+ "type": "uint96"
612
+ }
613
+ ],
614
+ "stateMutability": "view",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [],
619
+ "name": "getProductService",
620
+ "outputs": [
621
+ {
622
+ "internalType": "contract IProductService",
623
+ "name": "",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [],
632
+ "name": "getRegistry",
633
+ "outputs": [
634
+ {
635
+ "internalType": "contract IRegistry",
636
+ "name": "",
637
+ "type": "address"
638
+ }
639
+ ],
640
+ "stateMutability": "view",
641
+ "type": "function"
642
+ },
643
+ {
644
+ "inputs": [],
645
+ "name": "getRetentionLevel",
646
+ "outputs": [
647
+ {
648
+ "internalType": "UFixed",
649
+ "name": "retentionLevel",
650
+ "type": "uint256"
651
+ }
652
+ ],
653
+ "stateMutability": "view",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [],
658
+ "name": "getSetupInfo",
659
+ "outputs": [
660
+ {
661
+ "components": [
662
+ {
663
+ "internalType": "NftId",
664
+ "name": "productNftId",
665
+ "type": "uint96"
666
+ },
667
+ {
668
+ "internalType": "contract TokenHandler",
669
+ "name": "tokenHandler",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "internalType": "bool",
674
+ "name": "isInterceptingBundleTransfers",
675
+ "type": "bool"
676
+ },
677
+ {
678
+ "internalType": "bool",
679
+ "name": "isExternallyManaged",
680
+ "type": "bool"
681
+ },
682
+ {
683
+ "internalType": "bool",
684
+ "name": "isVerifyingApplications",
685
+ "type": "bool"
686
+ },
687
+ {
688
+ "internalType": "UFixed",
689
+ "name": "collateralizationLevel",
690
+ "type": "uint256"
691
+ },
692
+ {
693
+ "internalType": "UFixed",
694
+ "name": "retentionLevel",
695
+ "type": "uint256"
696
+ },
697
+ {
698
+ "components": [
699
+ {
700
+ "internalType": "UFixed",
701
+ "name": "fractionalFee",
702
+ "type": "uint256"
703
+ },
704
+ {
705
+ "internalType": "uint256",
706
+ "name": "fixedFee",
707
+ "type": "uint256"
708
+ }
709
+ ],
710
+ "internalType": "struct Fee",
711
+ "name": "poolFee",
712
+ "type": "tuple"
713
+ },
714
+ {
715
+ "components": [
716
+ {
717
+ "internalType": "UFixed",
718
+ "name": "fractionalFee",
719
+ "type": "uint256"
720
+ },
721
+ {
722
+ "internalType": "uint256",
723
+ "name": "fixedFee",
724
+ "type": "uint256"
725
+ }
726
+ ],
727
+ "internalType": "struct Fee",
728
+ "name": "stakingFee",
729
+ "type": "tuple"
730
+ },
731
+ {
732
+ "components": [
733
+ {
734
+ "internalType": "UFixed",
735
+ "name": "fractionalFee",
736
+ "type": "uint256"
737
+ },
738
+ {
739
+ "internalType": "uint256",
740
+ "name": "fixedFee",
741
+ "type": "uint256"
742
+ }
743
+ ],
744
+ "internalType": "struct Fee",
745
+ "name": "performanceFee",
746
+ "type": "tuple"
747
+ },
748
+ {
749
+ "internalType": "address",
750
+ "name": "wallet",
751
+ "type": "address"
752
+ }
753
+ ],
754
+ "internalType": "struct ISetup.PoolSetupInfo",
755
+ "name": "setupInfo",
756
+ "type": "tuple"
757
+ }
758
+ ],
759
+ "stateMutability": "view",
760
+ "type": "function"
761
+ },
762
+ {
763
+ "inputs": [],
764
+ "name": "getToken",
765
+ "outputs": [
766
+ {
767
+ "internalType": "contract IERC20Metadata",
768
+ "name": "token",
769
+ "type": "address"
770
+ }
771
+ ],
772
+ "stateMutability": "view",
773
+ "type": "function"
774
+ },
775
+ {
776
+ "inputs": [],
777
+ "name": "getWallet",
778
+ "outputs": [
779
+ {
780
+ "internalType": "address",
781
+ "name": "walletAddress",
782
+ "type": "address"
783
+ }
784
+ ],
785
+ "stateMutability": "view",
786
+ "type": "function"
787
+ },
6
788
  {
7
789
  "inputs": [
8
790
  {
@@ -15,87 +797,215 @@
15
797
  "name": "instanceNftId",
16
798
  "type": "uint96"
17
799
  },
800
+ {
801
+ "internalType": "string",
802
+ "name": "name",
803
+ "type": "string"
804
+ },
18
805
  {
19
806
  "internalType": "address",
20
807
  "name": "token",
21
808
  "type": "address"
22
809
  },
810
+ {
811
+ "internalType": "ObjectType",
812
+ "name": "componentType",
813
+ "type": "uint8"
814
+ },
23
815
  {
24
816
  "internalType": "bool",
25
- "name": "verifying",
817
+ "name": "isInterceptor",
26
818
  "type": "bool"
27
819
  },
28
820
  {
29
- "internalType": "UFixed",
30
- "name": "collateralizationLevel",
31
- "type": "uint256"
821
+ "internalType": "address",
822
+ "name": "initialOwner",
823
+ "type": "address"
824
+ },
825
+ {
826
+ "internalType": "bytes",
827
+ "name": "data",
828
+ "type": "bytes"
32
829
  }
33
830
  ],
831
+ "name": "initializeComponent",
832
+ "outputs": [],
34
833
  "stateMutability": "nonpayable",
35
- "type": "constructor"
834
+ "type": "function"
835
+ },
836
+ {
837
+ "inputs": [],
838
+ "name": "initializeERC165",
839
+ "outputs": [],
840
+ "stateMutability": "nonpayable",
841
+ "type": "function"
36
842
  },
37
843
  {
38
- "anonymous": false,
39
844
  "inputs": [
40
845
  {
41
- "indexed": false,
846
+ "internalType": "address",
847
+ "name": "initialOwner",
848
+ "type": "address"
849
+ },
850
+ {
851
+ "internalType": "address",
852
+ "name": "registryAddress",
853
+ "type": "address"
854
+ }
855
+ ],
856
+ "name": "initializeNftOwnable",
857
+ "outputs": [],
858
+ "stateMutability": "nonpayable",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [
863
+ {
864
+ "internalType": "address",
865
+ "name": "initialOwner",
866
+ "type": "address"
867
+ }
868
+ ],
869
+ "name": "initializeOwner",
870
+ "outputs": [],
871
+ "stateMutability": "nonpayable",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "address",
878
+ "name": "registry",
879
+ "type": "address"
880
+ },
881
+ {
42
882
  "internalType": "NftId",
43
- "name": "policyNftId",
883
+ "name": "instanceNftId",
44
884
  "type": "uint96"
45
885
  },
46
886
  {
47
- "indexed": false,
48
- "internalType": "uint256",
49
- "name": "collateralizationAmount",
887
+ "internalType": "string",
888
+ "name": "name",
889
+ "type": "string"
890
+ },
891
+ {
892
+ "internalType": "address",
893
+ "name": "token",
894
+ "type": "address"
895
+ },
896
+ {
897
+ "internalType": "bool",
898
+ "name": "isInterceptingNftTransfers",
899
+ "type": "bool"
900
+ },
901
+ {
902
+ "internalType": "bool",
903
+ "name": "isExternallyManaging",
904
+ "type": "bool"
905
+ },
906
+ {
907
+ "internalType": "bool",
908
+ "name": "isVerifying",
909
+ "type": "bool"
910
+ },
911
+ {
912
+ "internalType": "UFixed",
913
+ "name": "collateralizationLevel",
914
+ "type": "uint256"
915
+ },
916
+ {
917
+ "internalType": "UFixed",
918
+ "name": "retentionLevel",
50
919
  "type": "uint256"
51
920
  },
52
921
  {
53
- "indexed": false,
54
922
  "internalType": "address",
55
- "name": "pool",
923
+ "name": "initialOwner",
56
924
  "type": "address"
925
+ },
926
+ {
927
+ "internalType": "bytes",
928
+ "name": "data",
929
+ "type": "bytes"
57
930
  }
58
931
  ],
59
- "name": "LogUnderwrittenByPool",
60
- "type": "event"
932
+ "name": "initializePool",
933
+ "outputs": [],
934
+ "stateMutability": "nonpayable",
935
+ "type": "function"
61
936
  },
62
937
  {
63
938
  "inputs": [
64
939
  {
65
- "internalType": "uint256",
66
- "name": "initialAmount",
67
- "type": "uint256"
940
+ "internalType": "address",
941
+ "name": "registryAddress",
942
+ "type": "address"
68
943
  },
69
944
  {
70
- "internalType": "uint256",
71
- "name": "lifetime",
72
- "type": "uint256"
945
+ "internalType": "NftId",
946
+ "name": "parentNftId",
947
+ "type": "uint96"
948
+ },
949
+ {
950
+ "internalType": "ObjectType",
951
+ "name": "objectType",
952
+ "type": "uint8"
953
+ },
954
+ {
955
+ "internalType": "bool",
956
+ "name": "isInterceptor",
957
+ "type": "bool"
958
+ },
959
+ {
960
+ "internalType": "address",
961
+ "name": "initialOwner",
962
+ "type": "address"
73
963
  },
74
964
  {
75
965
  "internalType": "bytes",
76
- "name": "filter",
966
+ "name": "data",
77
967
  "type": "bytes"
78
968
  }
79
969
  ],
80
- "name": "createBundle",
970
+ "name": "initializeRegisterable",
971
+ "outputs": [],
972
+ "stateMutability": "nonpayable",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "inputs": [],
977
+ "name": "isConsumingScheduledOp",
978
+ "outputs": [
979
+ {
980
+ "internalType": "bytes4",
981
+ "name": "",
982
+ "type": "bytes4"
983
+ }
984
+ ],
985
+ "stateMutability": "view",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [],
990
+ "name": "isExternallyManaged",
81
991
  "outputs": [
82
992
  {
83
- "internalType": "NftId",
84
- "name": "bundleNftId",
85
- "type": "uint96"
993
+ "internalType": "bool",
994
+ "name": "",
995
+ "type": "bool"
86
996
  }
87
997
  ],
88
- "stateMutability": "nonpayable",
998
+ "stateMutability": "view",
89
999
  "type": "function"
90
1000
  },
91
1001
  {
92
1002
  "inputs": [],
93
- "name": "getCollateralizationLevel",
1003
+ "name": "isInterceptingBundleTransfers",
94
1004
  "outputs": [
95
1005
  {
96
- "internalType": "UFixed",
97
- "name": "collateralizationLevel",
98
- "type": "uint256"
1006
+ "internalType": "bool",
1007
+ "name": "",
1008
+ "type": "bool"
99
1009
  }
100
1010
  ],
101
1011
  "stateMutability": "view",
@@ -103,12 +1013,12 @@
103
1013
  },
104
1014
  {
105
1015
  "inputs": [],
106
- "name": "getData",
1016
+ "name": "isNftInterceptor",
107
1017
  "outputs": [
108
1018
  {
109
- "internalType": "bytes",
110
- "name": "data",
111
- "type": "bytes"
1019
+ "internalType": "bool",
1020
+ "name": "isInterceptor",
1021
+ "type": "bool"
112
1022
  }
113
1023
  ],
114
1024
  "stateMutability": "view",
@@ -116,12 +1026,12 @@
116
1026
  },
117
1027
  {
118
1028
  "inputs": [],
119
- "name": "getInstance",
1029
+ "name": "isVerifyingApplications",
120
1030
  "outputs": [
121
1031
  {
122
- "internalType": "contract IInstance",
123
- "name": "instance",
124
- "type": "address"
1032
+ "internalType": "bool",
1033
+ "name": "isConfirmingApplication",
1034
+ "type": "bool"
125
1035
  }
126
1036
  ],
127
1037
  "stateMutability": "view",
@@ -129,47 +1039,111 @@
129
1039
  },
130
1040
  {
131
1041
  "inputs": [],
132
- "name": "getNftId",
133
- "outputs": [
1042
+ "name": "linkToRegisteredNftId",
1043
+ "outputs": [],
1044
+ "stateMutability": "nonpayable",
1045
+ "type": "function"
1046
+ },
1047
+ {
1048
+ "inputs": [],
1049
+ "name": "lock",
1050
+ "outputs": [],
1051
+ "stateMutability": "nonpayable",
1052
+ "type": "function"
1053
+ },
1054
+ {
1055
+ "inputs": [
134
1056
  {
135
1057
  "internalType": "NftId",
136
- "name": "nftId",
1058
+ "name": "bundleNftId",
137
1059
  "type": "uint96"
138
1060
  }
139
1061
  ],
140
- "stateMutability": "view",
1062
+ "name": "lockBundle",
1063
+ "outputs": [],
1064
+ "stateMutability": "nonpayable",
141
1065
  "type": "function"
142
1066
  },
143
1067
  {
144
- "inputs": [],
145
- "name": "getOwner",
146
- "outputs": [
1068
+ "inputs": [
1069
+ {
1070
+ "internalType": "address",
1071
+ "name": "from",
1072
+ "type": "address"
1073
+ },
147
1074
  {
148
1075
  "internalType": "address",
149
- "name": "owner",
1076
+ "name": "to",
150
1077
  "type": "address"
1078
+ },
1079
+ {
1080
+ "internalType": "uint256",
1081
+ "name": "tokenId",
1082
+ "type": "uint256"
151
1083
  }
152
1084
  ],
153
- "stateMutability": "view",
1085
+ "name": "nftTransferFrom",
1086
+ "outputs": [],
1087
+ "stateMutability": "nonpayable",
154
1088
  "type": "function"
155
1089
  },
156
1090
  {
157
- "inputs": [],
158
- "name": "getParentNftId",
1091
+ "inputs": [
1092
+ {
1093
+ "internalType": "bytes",
1094
+ "name": "",
1095
+ "type": "bytes"
1096
+ },
1097
+ {
1098
+ "internalType": "bytes",
1099
+ "name": "",
1100
+ "type": "bytes"
1101
+ }
1102
+ ],
1103
+ "name": "policyMatchesBundle",
159
1104
  "outputs": [
160
1105
  {
161
- "internalType": "NftId",
162
- "name": "nftId",
163
- "type": "uint96"
1106
+ "internalType": "bool",
1107
+ "name": "isMatching",
1108
+ "type": "bool"
164
1109
  }
165
1110
  ],
166
- "stateMutability": "view",
1111
+ "stateMutability": "pure",
167
1112
  "type": "function"
168
1113
  },
169
1114
  {
170
- "inputs": [],
171
- "name": "getPerformanceFee",
172
- "outputs": [
1115
+ "inputs": [
1116
+ {
1117
+ "internalType": "bytes4",
1118
+ "name": "interfaceId",
1119
+ "type": "bytes4"
1120
+ }
1121
+ ],
1122
+ "name": "registerInterface",
1123
+ "outputs": [],
1124
+ "stateMutability": "nonpayable",
1125
+ "type": "function"
1126
+ },
1127
+ {
1128
+ "inputs": [
1129
+ {
1130
+ "internalType": "address",
1131
+ "name": "newAuthority",
1132
+ "type": "address"
1133
+ }
1134
+ ],
1135
+ "name": "setAuthority",
1136
+ "outputs": [],
1137
+ "stateMutability": "nonpayable",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "NftId",
1144
+ "name": "bundleNftId",
1145
+ "type": "uint96"
1146
+ },
173
1147
  {
174
1148
  "components": [
175
1149
  {
@@ -184,30 +1158,34 @@
184
1158
  }
185
1159
  ],
186
1160
  "internalType": "struct Fee",
187
- "name": "performanceFee",
1161
+ "name": "fee",
188
1162
  "type": "tuple"
189
1163
  }
190
1164
  ],
191
- "stateMutability": "view",
1165
+ "name": "setBundleFee",
1166
+ "outputs": [],
1167
+ "stateMutability": "nonpayable",
192
1168
  "type": "function"
193
1169
  },
194
1170
  {
195
- "inputs": [],
196
- "name": "getRegistry",
197
- "outputs": [
1171
+ "inputs": [
198
1172
  {
199
- "internalType": "contract IRegistry",
200
- "name": "registry",
201
- "type": "address"
202
- }
203
- ],
204
- "stateMutability": "view",
205
- "type": "function"
206
- },
207
- {
208
- "inputs": [],
209
- "name": "getStakingFee",
210
- "outputs": [
1173
+ "components": [
1174
+ {
1175
+ "internalType": "UFixed",
1176
+ "name": "fractionalFee",
1177
+ "type": "uint256"
1178
+ },
1179
+ {
1180
+ "internalType": "uint256",
1181
+ "name": "fixedFee",
1182
+ "type": "uint256"
1183
+ }
1184
+ ],
1185
+ "internalType": "struct Fee",
1186
+ "name": "poolFee",
1187
+ "type": "tuple"
1188
+ },
211
1189
  {
212
1190
  "components": [
213
1191
  {
@@ -224,66 +1202,52 @@
224
1202
  "internalType": "struct Fee",
225
1203
  "name": "stakingFee",
226
1204
  "type": "tuple"
227
- }
228
- ],
229
- "stateMutability": "view",
230
- "type": "function"
231
- },
232
- {
233
- "inputs": [],
234
- "name": "getToken",
235
- "outputs": [
1205
+ },
236
1206
  {
237
- "internalType": "contract IERC20Metadata",
238
- "name": "token",
239
- "type": "address"
1207
+ "components": [
1208
+ {
1209
+ "internalType": "UFixed",
1210
+ "name": "fractionalFee",
1211
+ "type": "uint256"
1212
+ },
1213
+ {
1214
+ "internalType": "uint256",
1215
+ "name": "fixedFee",
1216
+ "type": "uint256"
1217
+ }
1218
+ ],
1219
+ "internalType": "struct Fee",
1220
+ "name": "performanceFee",
1221
+ "type": "tuple"
240
1222
  }
241
1223
  ],
242
- "stateMutability": "view",
1224
+ "name": "setFees",
1225
+ "outputs": [],
1226
+ "stateMutability": "nonpayable",
243
1227
  "type": "function"
244
1228
  },
245
1229
  {
246
- "inputs": [],
247
- "name": "getType",
248
- "outputs": [
1230
+ "inputs": [
249
1231
  {
250
- "internalType": "ObjectType",
251
- "name": "",
252
- "type": "uint8"
1232
+ "internalType": "NftId",
1233
+ "name": "productNftId",
1234
+ "type": "uint96"
253
1235
  }
254
1236
  ],
255
- "stateMutability": "pure",
1237
+ "name": "setProductNftId",
1238
+ "outputs": [],
1239
+ "stateMutability": "nonpayable",
256
1240
  "type": "function"
257
1241
  },
258
1242
  {
259
- "inputs": [],
260
- "name": "getWallet",
261
- "outputs": [
1243
+ "inputs": [
262
1244
  {
263
1245
  "internalType": "address",
264
- "name": "walletAddress",
1246
+ "name": "newWallet",
265
1247
  "type": "address"
266
1248
  }
267
1249
  ],
268
- "stateMutability": "view",
269
- "type": "function"
270
- },
271
- {
272
- "inputs": [],
273
- "name": "isVerifying",
274
- "outputs": [
275
- {
276
- "internalType": "bool",
277
- "name": "verifying",
278
- "type": "bool"
279
- }
280
- ],
281
- "stateMutability": "view",
282
- "type": "function"
283
- },
284
- {
285
- "inputs": [],
286
- "name": "lock",
1250
+ "name": "setWallet",
287
1251
  "outputs": [],
288
1252
  "stateMutability": "nonpayable",
289
1253
  "type": "function"
@@ -291,21 +1255,16 @@
291
1255
  {
292
1256
  "inputs": [
293
1257
  {
294
- "internalType": "bytes",
295
- "name": "",
296
- "type": "bytes"
297
- },
298
- {
299
- "internalType": "bytes",
300
- "name": "",
301
- "type": "bytes"
1258
+ "internalType": "bytes4",
1259
+ "name": "interfaceId",
1260
+ "type": "bytes4"
302
1261
  }
303
1262
  ],
304
- "name": "policyMatchesBundle",
1263
+ "name": "supportsInterface",
305
1264
  "outputs": [
306
1265
  {
307
1266
  "internalType": "bool",
308
- "name": "isMatching",
1267
+ "name": "",
309
1268
  "type": "bool"
310
1269
  }
311
1270
  ],
@@ -314,46 +1273,34 @@
314
1273
  },
315
1274
  {
316
1275
  "inputs": [],
317
- "name": "register",
318
- "outputs": [
319
- {
320
- "internalType": "NftId",
321
- "name": "componentId",
322
- "type": "uint96"
323
- }
324
- ],
1276
+ "name": "unlock",
1277
+ "outputs": [],
325
1278
  "stateMutability": "nonpayable",
326
1279
  "type": "function"
327
1280
  },
328
1281
  {
329
1282
  "inputs": [
330
1283
  {
331
- "internalType": "bytes4",
332
- "name": "interfaceId",
333
- "type": "bytes4"
334
- }
335
- ],
336
- "name": "supportsInterface",
337
- "outputs": [
338
- {
339
- "internalType": "bool",
340
- "name": "",
341
- "type": "bool"
1284
+ "internalType": "NftId",
1285
+ "name": "bundleNftId",
1286
+ "type": "uint96"
342
1287
  }
343
1288
  ],
344
- "stateMutability": "view",
1289
+ "name": "unlockBundle",
1290
+ "outputs": [],
1291
+ "stateMutability": "nonpayable",
345
1292
  "type": "function"
346
1293
  },
347
1294
  {
348
1295
  "inputs": [
349
1296
  {
350
1297
  "internalType": "NftId",
351
- "name": "policyNftId",
1298
+ "name": "applicationNftId",
352
1299
  "type": "uint96"
353
1300
  },
354
1301
  {
355
1302
  "internalType": "bytes",
356
- "name": "policyData",
1303
+ "name": "applicationData",
357
1304
  "type": "bytes"
358
1305
  },
359
1306
  {
@@ -367,21 +1314,14 @@
367
1314
  "type": "uint256"
368
1315
  }
369
1316
  ],
370
- "name": "underwrite",
371
- "outputs": [],
372
- "stateMutability": "nonpayable",
373
- "type": "function"
374
- },
375
- {
376
- "inputs": [],
377
- "name": "unlock",
1317
+ "name": "verifyApplication",
378
1318
  "outputs": [],
379
1319
  "stateMutability": "nonpayable",
380
1320
  "type": "function"
381
1321
  }
382
1322
  ],
383
- "bytecode": "0x60e06040523480156200001157600080fd5b50604051620017d6380380620017d6833981016040819052620000349162000625565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905584848482826001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000121573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000147919062000690565b620001955760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c8565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000213919062000690565b6200026d5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c8565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000302573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200032c9190810190620007b6565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152638de54b9b60e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000394573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003ba919062000690565b620003e25760405162461bcd60e51b81526020600482015260006024820152604401620000c8565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000436573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045c919062000890565b600180546001600160a01b039283166001600160a01b03199182161790915560038054821630179055600480549483169490911693909317835560058054881515600160a01b0260ff60a01b1982168117909255600688905560408051636b9bf08b60e01b8152905192841691909316179550636b9bf08b9450818401936020935090918290030181865afa158015620004fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000520919062000890565b600780546001600160a01b0319166001600160a01b0392831617905560055460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa1580156200057f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a5919062000890565b600880546001600160a01b0319166001600160a01b039290921691909117905550620008b09350505050565b6001600160a01b0381168114620005e757600080fd5b50565b8051620005f781620005d1565b919050565b80516001600160601b0381168114620005f757600080fd5b80518015158114620005f757600080fd5b600080600080600060a086880312156200063e57600080fd5b85516200064b81620005d1565b94506200065b60208701620005fc565b935060408601516200066d81620005d1565b92506200067d6060870162000614565b9150608086015190509295509295909350565b600060208284031215620006a357600080fd5b620006ae8262000614565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715620006f057620006f0620006b5565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007215762000721620006b5565b604052919050565b600082601f8301126200073b57600080fd5b81516001600160401b03811115620007575762000757620006b5565b60206200076d601f8301601f19168201620006f6565b82815285828487010111156200078257600080fd5b60005b83811015620007a257858101830151828201840152820162000785565b506000928101909101919091529392505050565b600060208284031215620007c957600080fd5b81516001600160401b0380821115620007e157600080fd5b9083019060c08286031215620007f657600080fd5b62000800620006cb565b6200080b83620005fc565b81526200081b60208401620005fc565b6020820152604083015160ff811681146200083557600080fd5b60408201526200084860608401620005ea565b60608201526200085b60808401620005ea565b608082015260a0830151828111156200087357600080fd5b620008818782860162000729565b60a08301525095945050505050565b600060208284031215620008a357600080fd5b8151620006ae81620005d1565b60805160a05160c051610ed36200090360003960006107ca015260006101fd0152600081816102560152818161034b015281816103e1015281816106660152818161074d015261080d0152610ed36000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80635ab1bd53116100ad578063a69df4b511610071578063a69df4b5146102b1578063b487aa7d146102b9578063dab12325146102cc578063de7b5d14146102e2578063f83d08ba146102f357600080fd5b80635ab1bd5314610254578063644c45e01461027a57806365effc1a1461028257806387ef9ba014610297578063893d20e8146102a957600080fd5b8063235c3603116100f4578063235c3603146101d857806331b62a3b146101fb5780633bc5de30146102215780634b270a461461023b57806354afef631461024357600080fd5b806301ffc9a714610131578063132996041461017357806315dae03e146101985780631aa3a008146101a757806321df0da7146101c7575b600080fd5b61015e61013f366004610aa9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b6040516082815260200161016a565b6101af610300565b6040516001600160601b03909116815260200161016a565b6004546001600160a01b0316610180565b6101e0610512565b6040805182518152602092830151928101929092520161016a565b7f00000000000000000000000000000000000000000000000000000000000000006101af565b6040805160208101825260008152905161016a9190610b20565b6101e06105b0565b60065460405190815260200161016a565b7f0000000000000000000000000000000000000000000000000000000000000000610180565b6101af61064e565b610295610290366004610bee565b6106b5565b005b600554600160a01b900460ff1661015e565b61018061072b565b610295610886565b6101af6102c7366004610c6c565b610942565b61015e6102da366004610cbc565b600192915050565b6005546001600160a01b0316610180565b6102956109c9565b905090565b600061030a61072b565b6001600160a01b0316336001600160a01b0316146103495760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103bf5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f00000000006044820152606401610340565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa15801561042a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044e9190610d20565b6104a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b6064820152608401610340565b600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af11580156104ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fb9190610d42565b60408051808201909152600080825260208201526005546001600160a01b0316633300a8a861053f61064e565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610583573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a79190610dca565b60600151905090565b60408051808201909152600080825260208201526005546001600160a01b0316633300a8a86105dd61064e565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610621573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190610dca565b60400151905090565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104ee573d6000803e3d6000fd5b6008546001600160a01b031633146107195760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610340565b61072584848484610a5b565b50505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b89190610d42565b90506001600160601b0381166107ef577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561085c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108809190610e4b565b91505090565b61088e61072b565b6001600160a01b0316336001600160a01b0316146108e85760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610340565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561092e57600080fd5b505af1158015610725573d6000803e3d6000fd5b6007546040516360458fc560e11b815260009133916001600160a01b039091169063c08b1f8a9061097d908490899089908990600401610e66565b6020604051808303816000875af115801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c09190610d42565b95945050505050565b6109d161072b565b6001600160a01b0316336001600160a01b031614610a2b5760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610340565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610914565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610abb57600080fd5b81356001600160e01b031981168114610ad357600080fd5b9392505050565b6000815180845260005b81811015610b0057602081850181015186830182015201610ae4565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ad36020830184610ada565b6001600160601b0381168114610b4857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610b7257600080fd5b813567ffffffffffffffff80821115610b8d57610b8d610b4b565b604051601f8301601f19908116603f01168101908282118183101715610bb557610bb5610b4b565b81604052838152866020858801011115610bce57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610c0457600080fd5b8435610c0f81610b33565b9350602085013567ffffffffffffffff80821115610c2c57600080fd5b610c3888838901610b61565b94506040870135915080821115610c4e57600080fd5b50610c5b87828801610b61565b949793965093946060013593505050565b600080600060608486031215610c8157600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610ca657600080fd5b610cb286828701610b61565b9150509250925092565b60008060408385031215610ccf57600080fd5b823567ffffffffffffffff80821115610ce757600080fd5b610cf386838701610b61565b93506020850135915080821115610d0957600080fd5b50610d1685828601610b61565b9150509250929050565b600060208284031215610d3257600080fd5b81518015158114610ad357600080fd5b600060208284031215610d5457600080fd5b8151610ad381610b33565b80516001600160a01b0381168114610d7657600080fd5b919050565b600060408284031215610d8d57600080fd5b6040516040810181811067ffffffffffffffff82111715610db057610db0610b4b565b604052825181526020928301519281019290925250919050565b600060c08284031215610ddc57600080fd5b6040516080810181811067ffffffffffffffff82111715610dff57610dff610b4b565b6040528251610e0d81610b33565b8152610e1b60208401610d5f565b6020820152610e2d8460408501610d7b565b6040820152610e3f8460808501610d7b565b60608201529392505050565b600060208284031215610e5d57600080fd5b610ad382610d5f565b60018060a01b0385168152836020820152826040820152608060608201526000610e936080830184610ada565b969550505050505056fea2646970667358221220dd362c668025033fedf48f7dbb065353e0ca1f54b8a49aeec1860a87e7ebbc1164736f6c63430008140033",
384
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80635ab1bd53116100ad578063a69df4b511610071578063a69df4b5146102b1578063b487aa7d146102b9578063dab12325146102cc578063de7b5d14146102e2578063f83d08ba146102f357600080fd5b80635ab1bd5314610254578063644c45e01461027a57806365effc1a1461028257806387ef9ba014610297578063893d20e8146102a957600080fd5b8063235c3603116100f4578063235c3603146101d857806331b62a3b146101fb5780633bc5de30146102215780634b270a461461023b57806354afef631461024357600080fd5b806301ffc9a714610131578063132996041461017357806315dae03e146101985780631aa3a008146101a757806321df0da7146101c7575b600080fd5b61015e61013f366004610aa9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b6040516082815260200161016a565b6101af610300565b6040516001600160601b03909116815260200161016a565b6004546001600160a01b0316610180565b6101e0610512565b6040805182518152602092830151928101929092520161016a565b7f00000000000000000000000000000000000000000000000000000000000000006101af565b6040805160208101825260008152905161016a9190610b20565b6101e06105b0565b60065460405190815260200161016a565b7f0000000000000000000000000000000000000000000000000000000000000000610180565b6101af61064e565b610295610290366004610bee565b6106b5565b005b600554600160a01b900460ff1661015e565b61018061072b565b610295610886565b6101af6102c7366004610c6c565b610942565b61015e6102da366004610cbc565b600192915050565b6005546001600160a01b0316610180565b6102956109c9565b905090565b600061030a61072b565b6001600160a01b0316336001600160a01b0316146103495760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103bf5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f00000000006044820152606401610340565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa15801561042a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044e9190610d20565b6104a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b6064820152608401610340565b600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af11580156104ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fb9190610d42565b60408051808201909152600080825260208201526005546001600160a01b0316633300a8a861053f61064e565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610583573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a79190610dca565b60600151905090565b60408051808201909152600080825260208201526005546001600160a01b0316633300a8a86105dd61064e565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610621573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190610dca565b60400151905090565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104ee573d6000803e3d6000fd5b6008546001600160a01b031633146107195760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610340565b61072584848484610a5b565b50505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b89190610d42565b90506001600160601b0381166107ef577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561085c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108809190610e4b565b91505090565b61088e61072b565b6001600160a01b0316336001600160a01b0316146108e85760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610340565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561092e57600080fd5b505af1158015610725573d6000803e3d6000fd5b6007546040516360458fc560e11b815260009133916001600160a01b039091169063c08b1f8a9061097d908490899089908990600401610e66565b6020604051808303816000875af115801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c09190610d42565b95945050505050565b6109d161072b565b6001600160a01b0316336001600160a01b031614610a2b5760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610340565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610914565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610abb57600080fd5b81356001600160e01b031981168114610ad357600080fd5b9392505050565b6000815180845260005b81811015610b0057602081850181015186830182015201610ae4565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ad36020830184610ada565b6001600160601b0381168114610b4857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610b7257600080fd5b813567ffffffffffffffff80821115610b8d57610b8d610b4b565b604051601f8301601f19908116603f01168101908282118183101715610bb557610bb5610b4b565b81604052838152866020858801011115610bce57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610c0457600080fd5b8435610c0f81610b33565b9350602085013567ffffffffffffffff80821115610c2c57600080fd5b610c3888838901610b61565b94506040870135915080821115610c4e57600080fd5b50610c5b87828801610b61565b949793965093946060013593505050565b600080600060608486031215610c8157600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610ca657600080fd5b610cb286828701610b61565b9150509250925092565b60008060408385031215610ccf57600080fd5b823567ffffffffffffffff80821115610ce757600080fd5b610cf386838701610b61565b93506020850135915080821115610d0957600080fd5b50610d1685828601610b61565b9150509250929050565b600060208284031215610d3257600080fd5b81518015158114610ad357600080fd5b600060208284031215610d5457600080fd5b8151610ad381610b33565b80516001600160a01b0381168114610d7657600080fd5b919050565b600060408284031215610d8d57600080fd5b6040516040810181811067ffffffffffffffff82111715610db057610db0610b4b565b604052825181526020928301519281019290925250919050565b600060c08284031215610ddc57600080fd5b6040516080810181811067ffffffffffffffff82111715610dff57610dff610b4b565b6040528251610e0d81610b33565b8152610e1b60208401610d5f565b6020820152610e2d8460408501610d7b565b6040820152610e3f8460808501610d7b565b60608201529392505050565b600060208284031215610e5d57600080fd5b610ad382610d5f565b60018060a01b0385168152836020820152826040820152608060608201526000610e936080830184610ada565b969550505050505056fea2646970667358221220dd362c668025033fedf48f7dbb065353e0ca1f54b8a49aeec1860a87e7ebbc1164736f6c63430008140033",
1323
+ "bytecode": "0x",
1324
+ "deployedBytecode": "0x",
385
1325
  "linkReferences": {},
386
1326
  "deployedLinkReferences": {}
387
1327
  }