@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-da06f3b-803

Sign up to get free protection for your applications and to get access to all the features.
Files changed (418) hide show
  1. package/README.md +255 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +656 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +849 -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} +244 -241
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +648 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +429 -72
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +533 -64
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +603 -76
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +711 -67
  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/Require.sol/Require.json +2 -2
  26. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  28. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  30. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  32. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  42. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  44. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  45. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  46. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  47. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  48. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  49. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  50. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  51. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  52. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  53. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1137 -1023
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +592 -0
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +2001 -1098
  60. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1081 -0
  62. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1381 -0
  64. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1050 -0
  66. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +473 -0
  68. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  70. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +603 -0
  72. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  74. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  77. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +6 -6
  79. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +228 -0
  81. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  83. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  84. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  85. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  87. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  89. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  90. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  91. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  92. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  93. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1102 -0
  95. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +449 -0
  97. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +772 -0
  99. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +437 -0
  101. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +715 -0
  103. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IDistributionService.sol/IDistributionService.json} +202 -61
  105. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +766 -0
  107. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +198 -80
  109. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  110. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +204 -150
  111. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1227 -0
  113. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  114. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +505 -0
  115. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  116. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +423 -88
  117. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +437 -0
  119. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  120. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +398 -215
  121. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +437 -0
  123. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  124. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  125. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  126. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +474 -36
  127. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  128. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +981 -0
  129. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  130. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  131. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  132. package/artifacts/contracts/registry/Registry.sol/Registry.json +481 -108
  133. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  134. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  135. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  136. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1200 -0
  137. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  138. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +464 -0
  139. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  140. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  141. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  142. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +394 -0
  143. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  144. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  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/shared/INftOwnable.sol/INftOwnable.json +127 -0
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +112 -37
  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} +169 -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 +171 -0
  157. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  158. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +362 -0
  159. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  160. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +193 -32
  161. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  162. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +221 -71
  163. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  164. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  165. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  166. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  167. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  168. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  169. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestFee.sol/TestFee.json +10 -10
  171. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +207 -31
  173. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
  175. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestService.sol/TestService.json +292 -63
  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 +12 -12
  181. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  183. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  184. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  185. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  186. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +2 -2
  187. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  189. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  191. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  193. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  195. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  196. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  197. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +4 -4
  199. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  200. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  201. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  203. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  205. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  206. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  207. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  209. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  210. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  211. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  213. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  214. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  215. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  216. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  217. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  218. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  219. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  220. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  221. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  222. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  223. package/contracts/components/Component.sol +216 -0
  224. package/contracts/components/Distribution.sol +153 -0
  225. package/contracts/components/IComponent.sol +43 -0
  226. package/contracts/components/IDistributionComponent.sol +47 -0
  227. package/contracts/components/IPoolComponent.sol +13 -19
  228. package/contracts/components/IProductComponent.sol +29 -9
  229. package/contracts/components/Pool.sol +105 -71
  230. package/contracts/components/Product.sol +189 -40
  231. package/contracts/experiment/cloning/Cloner.sol +47 -0
  232. package/contracts/instance/BundleManager.sol +125 -0
  233. package/contracts/instance/Cloneable.sol +46 -0
  234. package/contracts/instance/IInstance.sol +65 -45
  235. package/contracts/instance/IInstanceService.sol +42 -0
  236. package/contracts/instance/Instance.sol +254 -53
  237. package/contracts/instance/InstanceAccessManager.sol +414 -0
  238. package/contracts/instance/InstanceReader.sol +293 -0
  239. package/contracts/instance/InstanceService.sol +473 -0
  240. package/contracts/instance/InstanceServiceManager.sol +54 -0
  241. package/contracts/instance/ObjectManager.sol +84 -0
  242. package/contracts/instance/base/ComponentService.sol +134 -0
  243. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  244. package/contracts/instance/base/ILifecycle.sol +3 -3
  245. package/contracts/instance/base/KeyValueStore.sol +61 -36
  246. package/contracts/instance/base/Lifecycle.sol +16 -11
  247. package/contracts/instance/module/IAccess.sol +48 -0
  248. package/contracts/instance/module/IBundle.sol +20 -0
  249. package/contracts/instance/module/IDistribution.sol +39 -0
  250. package/contracts/instance/module/IPolicy.sol +45 -0
  251. package/contracts/instance/module/IRisk.sol +11 -0
  252. package/contracts/instance/module/ISetup.sol +46 -0
  253. package/contracts/instance/module/ITreasury.sol +23 -0
  254. package/contracts/instance/service/BundleService.sol +293 -0
  255. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  256. package/contracts/instance/service/DistributionService.sol +106 -0
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IBundleService.sol +44 -0
  259. package/contracts/instance/service/IDistributionService.sol +12 -0
  260. package/contracts/instance/service/IPolicyService.sol +94 -0
  261. package/contracts/instance/service/IPoolService.sol +8 -18
  262. package/contracts/instance/service/IProductService.sol +21 -39
  263. package/contracts/instance/service/PolicyService.sol +538 -0
  264. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  265. package/contracts/instance/service/PoolService.sol +78 -91
  266. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  267. package/contracts/instance/service/ProductService.sol +168 -289
  268. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  269. package/contracts/registry/ChainNft.sol +79 -36
  270. package/contracts/registry/IRegistry.sol +67 -24
  271. package/contracts/registry/IRegistryService.sol +65 -0
  272. package/contracts/registry/ITransferInterceptor.sol +6 -0
  273. package/contracts/registry/Registry.sol +363 -287
  274. package/contracts/registry/RegistryAccessManager.sol +216 -0
  275. package/contracts/registry/RegistryService.sol +262 -0
  276. package/contracts/registry/RegistryServiceManager.sol +62 -0
  277. package/contracts/registry/ReleaseManager.sol +332 -0
  278. package/contracts/registry/TokenRegistry.sol +112 -0
  279. package/contracts/shared/ContractDeployerLib.sol +72 -0
  280. package/contracts/shared/ERC165.sol +6 -2
  281. package/contracts/shared/INftOwnable.sol +22 -0
  282. package/contracts/shared/IRegisterable.sol +8 -17
  283. package/contracts/shared/IService.sol +16 -0
  284. package/contracts/shared/IVersionable.sol +55 -11
  285. package/contracts/shared/NftOwnable.sol +139 -0
  286. package/contracts/shared/ProxyManager.sol +94 -0
  287. package/contracts/shared/Registerable.sol +59 -59
  288. package/contracts/shared/Service.sol +60 -0
  289. package/contracts/shared/TokenHandler.sol +27 -0
  290. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  291. package/contracts/shared/Versionable.sol +113 -55
  292. package/contracts/test/TestFee.sol +2 -2
  293. package/contracts/test/TestRegisterable.sol +5 -6
  294. package/contracts/test/TestRoleId.sol +2 -2
  295. package/contracts/test/TestService.sol +7 -14
  296. package/contracts/test/Usdc.sol +26 -0
  297. package/contracts/types/DistributorType.sol +55 -0
  298. package/contracts/types/Fee.sol +10 -5
  299. package/contracts/types/Key32.sol +8 -3
  300. package/contracts/types/NftIdSet.sol +26 -24
  301. package/contracts/types/NumberId.sol +52 -0
  302. package/contracts/types/ObjectType.sol +51 -14
  303. package/contracts/types/Referral.sol +85 -0
  304. package/contracts/types/RiskId.sol +43 -0
  305. package/contracts/types/RoleId.sol +68 -11
  306. package/contracts/types/StateId.sol +5 -1
  307. package/contracts/types/Timestamp.sol +7 -3
  308. package/contracts/types/UFixed.sol +144 -25
  309. package/contracts/types/Version.sol +13 -1
  310. package/package.json +9 -5
  311. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  312. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  313. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  314. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -174
  315. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  316. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  317. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  318. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  319. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  320. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  321. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  322. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  323. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  324. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  325. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  326. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  328. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  330. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  331. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  332. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  333. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  334. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  336. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  338. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  340. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  341. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  342. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  344. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  345. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  346. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  348. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  350. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  351. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  352. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  353. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  354. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  355. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  357. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  358. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  359. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  361. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  362. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  364. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  367. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  369. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  371. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  372. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  373. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  374. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  375. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  376. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  377. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  378. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  379. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  380. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  381. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  382. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  383. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  384. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  385. package/contracts/components/BaseComponent.sol +0 -88
  386. package/contracts/components/IBaseComponent.sol +0 -19
  387. package/contracts/experiment/statemachine/README.md +0 -112
  388. package/contracts/instance/IInstanceLinked.sol +0 -8
  389. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  390. package/contracts/instance/base/IInstanceBase.sol +0 -14
  391. package/contracts/instance/base/IService.sol +0 -15
  392. package/contracts/instance/base/InstanceBase.sol +0 -80
  393. package/contracts/instance/base/ModuleBase.sol +0 -52
  394. package/contracts/instance/base/ServiceBase.sol +0 -37
  395. package/contracts/instance/module/access/Access.sol +0 -149
  396. package/contracts/instance/module/access/IAccess.sol +0 -53
  397. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  398. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  399. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  400. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  401. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  402. package/contracts/instance/module/component/IComponent.sol +0 -53
  403. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  404. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  405. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  406. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  407. package/contracts/instance/module/risk/IRisk.sol +0 -10
  408. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  409. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  410. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  411. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  412. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  413. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  414. package/contracts/registry/IChainNft.sol +0 -21
  415. package/contracts/registry/IRegistryLinked.sol +0 -8
  416. package/contracts/shared/IOwnable.sol +0 -6
  417. package/contracts/test/TestPool.sol +0 -22
  418. package/contracts/test/TestProduct.sol +0 -44
@@ -3,6 +3,66 @@
3
3
  "contractName": "Product",
4
4
  "sourceName": "contracts/components/Product.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
+ },
6
66
  {
7
67
  "inputs": [
8
68
  {
@@ -12,31 +72,266 @@
12
72
  },
13
73
  {
14
74
  "internalType": "NftId",
15
- "name": "instanceNftid",
75
+ "name": "nftId",
76
+ "type": "uint96"
77
+ }
78
+ ],
79
+ "name": "ErrorAlreadyLinked",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "instanceNftId",
16
87
  "type": "uint96"
17
88
  },
89
+ {
90
+ "internalType": "address",
91
+ "name": "instance",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorComponentNotInstance",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "caller",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorComponentNotProductService",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorComponentProductNftAlreadySet",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "caller",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "internalType": "uint64",
123
+ "name": "requiredRoleIdNum",
124
+ "type": "uint64"
125
+ }
126
+ ],
127
+ "name": "ErrorComponentUnauthorized",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "address",
134
+ "name": "newWallet",
135
+ "type": "address"
136
+ }
137
+ ],
138
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [],
143
+ "name": "ErrorComponentWalletAddressZero",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "address",
150
+ "name": "oldWallet",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "internalType": "address",
155
+ "name": "newWallet",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "allowance",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "balance",
166
+ "type": "uint256"
167
+ }
168
+ ],
169
+ "name": "ErrorComponentWalletAllowanceTooSmall",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "contractAddress",
177
+ "type": "address"
178
+ }
179
+ ],
180
+ "name": "ErrorContractNotRegistered",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "account",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorNotOwner",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "address",
198
+ "name": "registryAddress",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "ErrorNotRegistry",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [
207
+ {
208
+ "internalType": "address",
209
+ "name": "registryAddress",
210
+ "type": "address"
211
+ }
212
+ ],
213
+ "name": "ErrorRegisterableNotRegistry",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "ErrorRegistryAddressZero",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "address",
225
+ "name": "registry",
226
+ "type": "address"
227
+ }
228
+ ],
229
+ "name": "ErrorRegistryAlreadyInitialized",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [],
234
+ "name": "ErrorRegistryNotInitialized",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [],
239
+ "name": "FailedInnerCall",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [],
244
+ "name": "InvalidInitialization",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [],
249
+ "name": "NotInitializing",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [
18
254
  {
19
255
  "internalType": "address",
20
256
  "name": "token",
21
257
  "type": "address"
258
+ }
259
+ ],
260
+ "name": "SafeERC20FailedOperation",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": false,
268
+ "internalType": "address",
269
+ "name": "authority",
270
+ "type": "address"
271
+ }
272
+ ],
273
+ "name": "AuthorityUpdated",
274
+ "type": "event"
275
+ },
276
+ {
277
+ "anonymous": false,
278
+ "inputs": [
279
+ {
280
+ "indexed": false,
281
+ "internalType": "uint64",
282
+ "name": "version",
283
+ "type": "uint64"
284
+ }
285
+ ],
286
+ "name": "Initialized",
287
+ "type": "event"
288
+ },
289
+ {
290
+ "anonymous": false,
291
+ "inputs": [
292
+ {
293
+ "indexed": false,
294
+ "internalType": "address",
295
+ "name": "newWallet",
296
+ "type": "address"
297
+ }
298
+ ],
299
+ "name": "LogComponentWalletAddressChanged",
300
+ "type": "event"
301
+ },
302
+ {
303
+ "anonymous": false,
304
+ "inputs": [
305
+ {
306
+ "indexed": false,
307
+ "internalType": "address",
308
+ "name": "from",
309
+ "type": "address"
22
310
  },
23
311
  {
312
+ "indexed": false,
24
313
  "internalType": "address",
25
- "name": "pool",
314
+ "name": "to",
26
315
  "type": "address"
316
+ },
317
+ {
318
+ "indexed": false,
319
+ "internalType": "uint256",
320
+ "name": "amount",
321
+ "type": "uint256"
27
322
  }
28
323
  ],
29
- "stateMutability": "nonpayable",
30
- "type": "constructor"
324
+ "name": "LogComponentWalletTokensTransferred",
325
+ "type": "event"
31
326
  },
32
327
  {
33
328
  "inputs": [],
34
- "name": "getData",
329
+ "name": "CONTRACT_LOCATION_V1",
35
330
  "outputs": [
36
331
  {
37
- "internalType": "bytes",
38
- "name": "data",
39
- "type": "bytes"
332
+ "internalType": "bytes32",
333
+ "name": "",
334
+ "type": "bytes32"
40
335
  }
41
336
  ],
42
337
  "stateMutability": "view",
@@ -44,12 +339,12 @@
44
339
  },
45
340
  {
46
341
  "inputs": [],
47
- "name": "getInstance",
342
+ "name": "REGISTERABLE_LOCATION_V1",
48
343
  "outputs": [
49
344
  {
50
- "internalType": "contract IInstance",
51
- "name": "instance",
52
- "type": "address"
345
+ "internalType": "bytes32",
346
+ "name": "",
347
+ "type": "bytes32"
53
348
  }
54
349
  ],
55
350
  "stateMutability": "view",
@@ -57,25 +352,90 @@
57
352
  },
58
353
  {
59
354
  "inputs": [],
60
- "name": "getNftId",
355
+ "name": "authority",
61
356
  "outputs": [
62
357
  {
63
- "internalType": "NftId",
64
- "name": "nftId",
65
- "type": "uint96"
358
+ "internalType": "address",
359
+ "name": "",
360
+ "type": "address"
66
361
  }
67
362
  ],
68
363
  "stateMutability": "view",
69
364
  "type": "function"
70
365
  },
71
366
  {
72
- "inputs": [],
73
- "name": "getOwner",
367
+ "inputs": [
368
+ {
369
+ "internalType": "uint256",
370
+ "name": "sumInsuredAmount",
371
+ "type": "uint256"
372
+ },
373
+ {
374
+ "internalType": "RiskId",
375
+ "name": "riskId",
376
+ "type": "bytes8"
377
+ },
378
+ {
379
+ "internalType": "uint256",
380
+ "name": "lifetime",
381
+ "type": "uint256"
382
+ },
383
+ {
384
+ "internalType": "bytes",
385
+ "name": "applicationData",
386
+ "type": "bytes"
387
+ }
388
+ ],
389
+ "name": "calculateNetPremium",
74
390
  "outputs": [
75
391
  {
76
- "internalType": "address",
77
- "name": "owner",
78
- "type": "address"
392
+ "internalType": "uint256",
393
+ "name": "netPremiumAmount",
394
+ "type": "uint256"
395
+ }
396
+ ],
397
+ "stateMutability": "view",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "inputs": [
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "sumInsuredAmount",
405
+ "type": "uint256"
406
+ },
407
+ {
408
+ "internalType": "RiskId",
409
+ "name": "riskId",
410
+ "type": "bytes8"
411
+ },
412
+ {
413
+ "internalType": "uint256",
414
+ "name": "lifetime",
415
+ "type": "uint256"
416
+ },
417
+ {
418
+ "internalType": "bytes",
419
+ "name": "applicationData",
420
+ "type": "bytes"
421
+ },
422
+ {
423
+ "internalType": "NftId",
424
+ "name": "bundleNftId",
425
+ "type": "uint96"
426
+ },
427
+ {
428
+ "internalType": "ReferralId",
429
+ "name": "referralId",
430
+ "type": "bytes8"
431
+ }
432
+ ],
433
+ "name": "calculatePremium",
434
+ "outputs": [
435
+ {
436
+ "internalType": "uint256",
437
+ "name": "premiumAmount",
438
+ "type": "uint256"
79
439
  }
80
440
  ],
81
441
  "stateMutability": "view",
@@ -83,11 +443,11 @@
83
443
  },
84
444
  {
85
445
  "inputs": [],
86
- "name": "getParentNftId",
446
+ "name": "getDistributionNftId",
87
447
  "outputs": [
88
448
  {
89
449
  "internalType": "NftId",
90
- "name": "nftId",
450
+ "name": "distributionNftId",
91
451
  "type": "uint96"
92
452
  }
93
453
  ],
@@ -96,29 +456,132 @@
96
456
  },
97
457
  {
98
458
  "inputs": [],
99
- "name": "getPolicyFee",
459
+ "name": "getInitialInfo",
100
460
  "outputs": [
101
461
  {
102
462
  "components": [
103
463
  {
104
- "internalType": "UFixed",
105
- "name": "fractionalFee",
106
- "type": "uint256"
464
+ "internalType": "NftId",
465
+ "name": "nftId",
466
+ "type": "uint96"
107
467
  },
108
468
  {
109
- "internalType": "uint256",
110
- "name": "fixedFee",
111
- "type": "uint256"
469
+ "internalType": "NftId",
470
+ "name": "parentNftId",
471
+ "type": "uint96"
472
+ },
473
+ {
474
+ "internalType": "ObjectType",
475
+ "name": "objectType",
476
+ "type": "uint8"
477
+ },
478
+ {
479
+ "internalType": "bool",
480
+ "name": "isInterceptor",
481
+ "type": "bool"
482
+ },
483
+ {
484
+ "internalType": "address",
485
+ "name": "objectAddress",
486
+ "type": "address"
487
+ },
488
+ {
489
+ "internalType": "address",
490
+ "name": "initialOwner",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "internalType": "bytes",
495
+ "name": "data",
496
+ "type": "bytes"
112
497
  }
113
498
  ],
114
- "internalType": "struct Fee",
115
- "name": "policyFee",
499
+ "internalType": "struct IRegistry.ObjectInfo",
500
+ "name": "info",
116
501
  "type": "tuple"
117
502
  }
118
503
  ],
119
504
  "stateMutability": "view",
120
505
  "type": "function"
121
506
  },
507
+ {
508
+ "inputs": [],
509
+ "name": "getInitialOwner",
510
+ "outputs": [
511
+ {
512
+ "internalType": "address",
513
+ "name": "",
514
+ "type": "address"
515
+ }
516
+ ],
517
+ "stateMutability": "view",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "inputs": [],
522
+ "name": "getInstance",
523
+ "outputs": [
524
+ {
525
+ "internalType": "contract IInstance",
526
+ "name": "instance",
527
+ "type": "address"
528
+ }
529
+ ],
530
+ "stateMutability": "view",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [],
535
+ "name": "getInstanceService",
536
+ "outputs": [
537
+ {
538
+ "internalType": "contract IInstanceService",
539
+ "name": "",
540
+ "type": "address"
541
+ }
542
+ ],
543
+ "stateMutability": "view",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [],
548
+ "name": "getName",
549
+ "outputs": [
550
+ {
551
+ "internalType": "string",
552
+ "name": "name",
553
+ "type": "string"
554
+ }
555
+ ],
556
+ "stateMutability": "view",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [],
561
+ "name": "getNftId",
562
+ "outputs": [
563
+ {
564
+ "internalType": "NftId",
565
+ "name": "",
566
+ "type": "uint96"
567
+ }
568
+ ],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [],
574
+ "name": "getOwner",
575
+ "outputs": [
576
+ {
577
+ "internalType": "address",
578
+ "name": "",
579
+ "type": "address"
580
+ }
581
+ ],
582
+ "stateMutability": "view",
583
+ "type": "function"
584
+ },
122
585
  {
123
586
  "inputs": [],
124
587
  "name": "getPoolNftId",
@@ -134,24 +597,25 @@
134
597
  },
135
598
  {
136
599
  "inputs": [],
137
- "name": "getProcessingFee",
600
+ "name": "getProductNftId",
138
601
  "outputs": [
139
602
  {
140
- "components": [
141
- {
142
- "internalType": "UFixed",
143
- "name": "fractionalFee",
144
- "type": "uint256"
145
- },
146
- {
147
- "internalType": "uint256",
148
- "name": "fixedFee",
149
- "type": "uint256"
150
- }
151
- ],
152
- "internalType": "struct Fee",
153
- "name": "processingFee",
154
- "type": "tuple"
603
+ "internalType": "NftId",
604
+ "name": "productNftId",
605
+ "type": "uint96"
606
+ }
607
+ ],
608
+ "stateMutability": "view",
609
+ "type": "function"
610
+ },
611
+ {
612
+ "inputs": [],
613
+ "name": "getProductService",
614
+ "outputs": [
615
+ {
616
+ "internalType": "contract IProductService",
617
+ "name": "",
618
+ "type": "address"
155
619
  }
156
620
  ],
157
621
  "stateMutability": "view",
@@ -163,7 +627,7 @@
163
627
  "outputs": [
164
628
  {
165
629
  "internalType": "contract IRegistry",
166
- "name": "registry",
630
+ "name": "",
167
631
  "type": "address"
168
632
  }
169
633
  ],
@@ -172,12 +636,146 @@
172
636
  },
173
637
  {
174
638
  "inputs": [],
175
- "name": "getToken",
639
+ "name": "getSetupInfo",
176
640
  "outputs": [
177
641
  {
178
- "internalType": "contract IERC20Metadata",
179
- "name": "token",
180
- "type": "address"
642
+ "components": [
643
+ {
644
+ "internalType": "contract IERC20Metadata",
645
+ "name": "token",
646
+ "type": "address"
647
+ },
648
+ {
649
+ "internalType": "contract TokenHandler",
650
+ "name": "tokenHandler",
651
+ "type": "address"
652
+ },
653
+ {
654
+ "internalType": "NftId",
655
+ "name": "distributionNftId",
656
+ "type": "uint96"
657
+ },
658
+ {
659
+ "internalType": "NftId",
660
+ "name": "poolNftId",
661
+ "type": "uint96"
662
+ },
663
+ {
664
+ "components": [
665
+ {
666
+ "internalType": "UFixed",
667
+ "name": "fractionalFee",
668
+ "type": "uint256"
669
+ },
670
+ {
671
+ "internalType": "uint256",
672
+ "name": "fixedFee",
673
+ "type": "uint256"
674
+ }
675
+ ],
676
+ "internalType": "struct Fee",
677
+ "name": "distributionFee",
678
+ "type": "tuple"
679
+ },
680
+ {
681
+ "components": [
682
+ {
683
+ "internalType": "UFixed",
684
+ "name": "fractionalFee",
685
+ "type": "uint256"
686
+ },
687
+ {
688
+ "internalType": "uint256",
689
+ "name": "fixedFee",
690
+ "type": "uint256"
691
+ }
692
+ ],
693
+ "internalType": "struct Fee",
694
+ "name": "productFee",
695
+ "type": "tuple"
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": "processingFee",
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": "poolFee",
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": "stakingFee",
746
+ "type": "tuple"
747
+ },
748
+ {
749
+ "components": [
750
+ {
751
+ "internalType": "UFixed",
752
+ "name": "fractionalFee",
753
+ "type": "uint256"
754
+ },
755
+ {
756
+ "internalType": "uint256",
757
+ "name": "fixedFee",
758
+ "type": "uint256"
759
+ }
760
+ ],
761
+ "internalType": "struct Fee",
762
+ "name": "performanceFee",
763
+ "type": "tuple"
764
+ },
765
+ {
766
+ "internalType": "bool",
767
+ "name": "isIntercepting",
768
+ "type": "bool"
769
+ },
770
+ {
771
+ "internalType": "address",
772
+ "name": "wallet",
773
+ "type": "address"
774
+ }
775
+ ],
776
+ "internalType": "struct ISetup.ProductSetupInfo",
777
+ "name": "setupInfo",
778
+ "type": "tuple"
181
779
  }
182
780
  ],
183
781
  "stateMutability": "view",
@@ -185,15 +783,15 @@
185
783
  },
186
784
  {
187
785
  "inputs": [],
188
- "name": "getType",
786
+ "name": "getToken",
189
787
  "outputs": [
190
788
  {
191
- "internalType": "ObjectType",
192
- "name": "",
193
- "type": "uint8"
789
+ "internalType": "contract IERC20Metadata",
790
+ "name": "token",
791
+ "type": "address"
194
792
  }
195
793
  ],
196
- "stateMutability": "pure",
794
+ "stateMutability": "view",
197
795
  "type": "function"
198
796
  },
199
797
  {
@@ -211,21 +809,41 @@
211
809
  },
212
810
  {
213
811
  "inputs": [],
214
- "name": "lock",
812
+ "name": "isConsumingScheduledOp",
813
+ "outputs": [
814
+ {
815
+ "internalType": "bytes4",
816
+ "name": "",
817
+ "type": "bytes4"
818
+ }
819
+ ],
820
+ "stateMutability": "view",
821
+ "type": "function"
822
+ },
823
+ {
824
+ "inputs": [],
825
+ "name": "linkToRegisteredNftId",
215
826
  "outputs": [],
216
827
  "stateMutability": "nonpayable",
217
828
  "type": "function"
218
829
  },
219
830
  {
220
831
  "inputs": [],
221
- "name": "register",
222
- "outputs": [
832
+ "name": "lock",
833
+ "outputs": [],
834
+ "stateMutability": "nonpayable",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [
223
839
  {
224
- "internalType": "NftId",
225
- "name": "componentId",
226
- "type": "uint96"
840
+ "internalType": "address",
841
+ "name": "newAuthority",
842
+ "type": "address"
227
843
  }
228
844
  ],
845
+ "name": "setAuthority",
846
+ "outputs": [],
229
847
  "stateMutability": "nonpayable",
230
848
  "type": "function"
231
849
  },
@@ -245,7 +863,7 @@
245
863
  }
246
864
  ],
247
865
  "internalType": "struct Fee",
248
- "name": "policyFee",
866
+ "name": "productFee",
249
867
  "type": "tuple"
250
868
  },
251
869
  {
@@ -271,6 +889,32 @@
271
889
  "stateMutability": "nonpayable",
272
890
  "type": "function"
273
891
  },
892
+ {
893
+ "inputs": [
894
+ {
895
+ "internalType": "NftId",
896
+ "name": "productNftId",
897
+ "type": "uint96"
898
+ }
899
+ ],
900
+ "name": "setProductNftId",
901
+ "outputs": [],
902
+ "stateMutability": "nonpayable",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [
907
+ {
908
+ "internalType": "address",
909
+ "name": "newWallet",
910
+ "type": "address"
911
+ }
912
+ ],
913
+ "name": "setWallet",
914
+ "outputs": [],
915
+ "stateMutability": "nonpayable",
916
+ "type": "function"
917
+ },
274
918
  {
275
919
  "inputs": [
276
920
  {
@@ -298,8 +942,8 @@
298
942
  "type": "function"
299
943
  }
300
944
  ],
301
- "bytecode": "0x60e06040523480156200001157600080fd5b506040516200299d3803806200299d8339818101604052810190620000379190620008bf565b83838382826200006d7f01ffc9a7000000000000000000000000000000000000000000000000000000006200079160201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620000df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000d69062000992565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f06ecd8ef000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401620001709190620009f1565b602060405180830381865afa1580156200018e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b4919062000a4b565b620001f6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ed9062000acd565b60405180910390fd5b806bffffffffffffffffffffffff1660a0816bffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff1663e74d052f60a0516040518263ffffffff1660e01b815260040162000259919062000b32565b602060405180830381865afa15801562000277573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029d919062000a4b565b620002df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d69062000bc5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050620003447f3bf74c8e000000000000000000000000000000000000000000000000000000006200079160201b60201c565b5050600060805173ffffffffffffffffffffffffffffffffffffffff1663a48f42e0846040518263ffffffff1660e01b815260040162000385919062000b32565b600060405180830381865afa158015620003a3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190620003ce919062000e7e565b90508060600151600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f8de54b9b000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401620004929190620009f1565b602060405180830381865afa158015620004b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004d6919062000a4b565b62000518576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200050f9062000ef9565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000586573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005ac919062000f60565b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555030600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620006e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000706919062000fd7565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062001009565b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200083e8262000811565b9050919050565b620008508162000831565b81146200085c57600080fd5b50565b600081519050620008708162000845565b92915050565b60006bffffffffffffffffffffffff82169050919050565b620008998162000876565b8114620008a557600080fd5b50565b600081519050620008b9816200088e565b92915050565b60008060008060808587031215620008dc57620008db62000807565b5b6000620008ec878288016200085f565b9450506020620008ff87828801620008a8565b935050604062000912878288016200085f565b925050606062000925878288016200085f565b91505092959194509250565b600082825260208201905092915050565b7f4552524f523a5247422d3031303a52454749535452595f5a45524f0000000000600082015250565b60006200097a601b8362000931565b9150620009878262000942565b602082019050919050565b60006020820190508181036000830152620009ad816200096b565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620009eb81620009b4565b82525050565b600060208201905062000a086000830184620009e0565b92915050565b60008115159050919050565b62000a258162000a0e565b811462000a3157600080fd5b50565b60008151905062000a458162000a1a565b92915050565b60006020828403121562000a645762000a6362000807565b5b600062000a748482850162000a34565b91505092915050565b7f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000600082015250565b600062000ab5601a8362000931565b915062000ac28262000a7d565b602082019050919050565b6000602082019050818103600083015262000ae88162000aa6565b9050919050565b6000819050919050565b600062000b1a62000b1462000b0e8462000876565b62000aef565b62000876565b9050919050565b62000b2c8162000af9565b82525050565b600060208201905062000b49600083018462000b21565b92915050565b7f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560008201527f5245440000000000000000000000000000000000000000000000000000000000602082015250565b600062000bad60238362000931565b915062000bba8262000b4f565b604082019050919050565b6000602082019050818103600083015262000be08162000b9e565b9050919050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000c378262000bec565b810181811067ffffffffffffffff8211171562000c595762000c5862000bfd565b5b80604052505050565b600062000c6e620007fd565b905062000c7c828262000c2c565b919050565b600080fd5b600060ff82169050919050565b62000c9e8162000c86565b811462000caa57600080fd5b50565b60008151905062000cbe8162000c93565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff82111562000cec5762000ceb62000bfd565b5b62000cf78262000bec565b9050602081019050919050565b60005b8381101562000d2457808201518184015260208101905062000d07565b60008484015250505050565b600062000d4762000d418462000cce565b62000c62565b90508281526020810184848401111562000d665762000d6562000cc9565b5b62000d7384828562000d04565b509392505050565b600082601f83011262000d935762000d9262000cc4565b5b815162000da584826020860162000d30565b91505092915050565b600060c0828403121562000dc75762000dc662000be7565b5b62000dd360c062000c62565b9050600062000de584828501620008a8565b600083015250602062000dfb84828501620008a8565b602083015250604062000e118482850162000cad565b604083015250606062000e27848285016200085f565b606083015250608062000e3d848285016200085f565b60808301525060a082015167ffffffffffffffff81111562000e645762000e6362000c81565b5b62000e728482850162000d7b565b60a08301525092915050565b60006020828403121562000e975762000e9662000807565b5b600082015167ffffffffffffffff81111562000eb85762000eb76200080c565b5b62000ec68482850162000dae565b91505092915050565b50565b600062000ee160008362000931565b915062000eee8262000ecf565b600082019050919050565b6000602082019050818103600083015262000f148162000ed2565b9050919050565b600062000f288262000831565b9050919050565b62000f3a8162000f1b565b811462000f4657600080fd5b50565b60008151905062000f5a8162000f2f565b92915050565b60006020828403121562000f795762000f7862000807565b5b600062000f898482850162000f49565b91505092915050565b600062000f9f8262000831565b9050919050565b62000fb18162000f92565b811462000fbd57600080fd5b50565b60008151905062000fd18162000fa6565b92915050565b60006020828403121562000ff05762000fef62000807565b5b6000620010008482850162000fc0565b91505092915050565b60805160a05160c05161193a6200106360003960006108e60152600061072b0152600081816104270152818161049e0152818161063e0152818161076a0152818161079201528181610834015261090f015261193a6000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80635ab1bd53116100a2578063b6b412ba11610071578063b6b412ba14610276578063bc74aab014610292578063daafed40146102b0578063de7b5d14146102ce578063f83d08ba146102ec5761010b565b80635ab1bd5314610212578063644c45e014610230578063893d20e81461024e578063a69df4b51461026c5761010b565b80631bdd6b76116100de5780631bdd6b761461019a57806321df0da7146101b857806331b62a3b146101d65780633bc5de30146101f45761010b565b806301ffc9a714610110578063132996041461014057806315dae03e1461015e5780631aa3a0081461017c575b600080fd5b61012a60048036038101906101259190610f1c565b6102f6565b6040516101379190610f64565b60405180910390f35b61014861035d565b6040516101559190610fc0565b60405180910390f35b610166610387565b6040516101739190611023565b60405180910390f35b610184610396565b6040516101919190611087565b60405180910390f35b6101a261063a565b6040516101af9190611087565b60405180910390f35b6101c06106fd565b6040516101cd91906110f7565b60405180910390f35b6101de610727565b6040516101eb9190611087565b60405180910390f35b6101fc61074f565b60405161020991906111a2565b60405180910390f35b61021a610766565b60405161022791906111e5565b60405180910390f35b61023861078e565b6040516102459190611087565b60405180910390f35b61025661082f565b6040516102639190610fc0565b60405180910390f35b6102746109ae565b005b610290600480360381019061028b9190611332565b610ab2565b005b61029a610bba565b6040516102a791906113e1565b60405180910390f35b6102b8610c6f565b6040516102c591906113e1565b60405180910390f35b6102d6610d24565b6040516102e3919061141d565b60405180910390f35b6102f4610d4e565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610391610e52565b905090565b60006103a061082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461040d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104049061146f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff160361049c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610493906114db565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016105179190610fc0565b602060405180830381865afa158015610534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105589190611527565b610597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058e906115c6565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016105f29190611607565b6020604051808303816000875af1158015610611573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610635919061164e565b905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016106b79190610fc0565b602060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f8919061164e565b905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016107e99190610fc0565b602060405180830381865afa158015610806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082a919061164e565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161088b9190610fc0565b602060405180830381865afa1580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc919061164e565b90506108df816108da610e63565b610e68565b1561090d577f00000000000000000000000000000000000000000000000000000000000000009150506109ab565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016109669190611087565b602060405180830381865afa158015610983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a791906116a7565b9150505b90565b6109b661082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a90611720565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f6c493c306040518263ffffffff1660e01b8152600401610a7e9190611607565b600060405180830381600087803b158015610a9857600080fd5b505af1158015610aac573d6000803e3d6000fd5b50505050565b610aba61082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e90611720565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6b412ba83836040518363ffffffff1660e01b8152600401610b84929190611740565b600060405180830381600087803b158015610b9e57600080fd5b505af1158015610bb2573d6000803e3d6000fd5b505050505050565b610bc2610e9b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610c0861078e565b6040518263ffffffff1660e01b8152600401610c249190611087565b61012060405180830381865afa158015610c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6691906118d6565b60a00151905090565b610c77610e9b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610cbd61078e565b6040518263ffffffff1660e01b8152600401610cd99190611087565b61012060405180830381865afa158015610cf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1b91906118d6565b60c00151905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d5661082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba90611720565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f435f5a7306040518263ffffffff1660e01b8152600401610e1e9190611607565b600060405180830381600087803b158015610e3857600080fd5b505af1158015610e4c573d6000803e3d6000fd5b50505050565b6000610e5e6064610e91565b905090565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b6000819050919050565b604051806040016040528060008152602001600081525090565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610ef981610ec4565b8114610f0457600080fd5b50565b600081359050610f1681610ef0565b92915050565b600060208284031215610f3257610f31610ebf565b5b6000610f4084828501610f07565b91505092915050565b60008115159050919050565b610f5e81610f49565b82525050565b6000602082019050610f796000830184610f55565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610faa82610f7f565b9050919050565b610fba81610f9f565b82525050565b6000602082019050610fd56000830184610fb1565b92915050565b600060ff82169050919050565b6000819050919050565b600061100d61100861100384610fdb565b610fe8565b610fdb565b9050919050565b61101d81610ff2565b82525050565b60006020820190506110386000830184611014565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061107161106c6110678461103e565b610fe8565b61103e565b9050919050565b61108181611056565b82525050565b600060208201905061109c6000830184611078565b92915050565b60006110bd6110b86110b384610f7f565b610fe8565b610f7f565b9050919050565b60006110cf826110a2565b9050919050565b60006110e1826110c4565b9050919050565b6110f1816110d6565b82525050565b600060208201905061110c60008301846110e8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561114c578082015181840152602081019050611131565b60008484015250505050565b6000601f19601f8301169050919050565b600061117482611112565b61117e818561111d565b935061118e81856020860161112e565b61119781611158565b840191505092915050565b600060208201905081810360008301526111bc8184611169565b905092915050565b60006111cf826110c4565b9050919050565b6111df816111c4565b82525050565b60006020820190506111fa60008301846111d6565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61123d82611158565b810181811067ffffffffffffffff8211171561125c5761125b611205565b5b80604052505050565b600061126f610eb5565b905061127b8282611234565b919050565b6000819050919050565b61129381611280565b811461129e57600080fd5b50565b6000813590506112b08161128a565b92915050565b6112bf81611280565b81146112ca57600080fd5b50565b6000813590506112dc816112b6565b92915050565b6000604082840312156112f8576112f7611200565b5b6113026040611265565b90506000611312848285016112a1565b6000830152506020611326848285016112cd565b60208301525092915050565b6000806080838503121561134957611348610ebf565b5b6000611357858286016112e2565b9250506040611368858286016112e2565b9150509250929050565b600061138d61138861138384611280565b610fe8565b611280565b9050919050565b61139d81611372565b82525050565b6113ac81611280565b82525050565b6040820160008201516113c86000850182611394565b5060208201516113db60208501826113a3565b50505050565b60006040820190506113f660008301846113b2565b92915050565b6000611407826110c4565b9050919050565b611417816113fc565b82525050565b6000602082019050611432600083018461140e565b92915050565b600082825260208201905092915050565b50565b6000611459600083611438565b915061146482611449565b600082019050919050565b600060208201905081810360008301526114888161144c565b9050919050565b7f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000600082015250565b60006114c5601b83611438565b91506114d08261148f565b602082019050919050565b600060208201905081810360008301526114f4816114b8565b9050919050565b61150481610f49565b811461150f57600080fd5b50565b600081519050611521816114fb565b92915050565b60006020828403121561153d5761153c610ebf565b5b600061154b84828501611512565b91505092915050565b7f4552524f523a434f423a494e5354414e43455f4e4f545f52454749535445524560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006115b0602183611438565b91506115bb82611554565b604082019050919050565b600060208201905081810360008301526115df816115a3565b9050919050565b60006115f1826110c4565b9050919050565b611601816115e6565b82525050565b600060208201905061161c60008301846115f8565b92915050565b61162b8161103e565b811461163657600080fd5b50565b60008151905061164881611622565b92915050565b60006020828403121561166457611663610ebf565b5b600061167284828501611639565b91505092915050565b61168481610f9f565b811461168f57600080fd5b50565b6000815190506116a18161167b565b92915050565b6000602082840312156116bd576116bc610ebf565b5b60006116cb84828501611692565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b600061170a601783611438565b9150611715826116d4565b602082019050919050565b60006020820190508181036000830152611739816116fd565b9050919050565b600060808201905061175560008301856113b2565b61176260408301846113b2565b9392505050565b600061177482610f9f565b9050919050565b61178481611769565b811461178f57600080fd5b50565b6000815190506117a18161177b565b92915050565b6000815190506117b68161128a565b92915050565b6000815190506117cb816112b6565b92915050565b6000604082840312156117e7576117e6611200565b5b6117f16040611265565b90506000611801848285016117a7565b6000830152506020611815848285016117bc565b60208301525092915050565b6000610120828403121561183857611837611200565b5b61184260e0611265565b9050600061185284828501611639565b600083015250602061186684828501611639565b602083015250604061187a84828501611639565b604083015250606061188e84828501611792565b60608301525060806118a284828501611692565b60808301525060a06118b6848285016117d1565b60a08301525060e06118ca848285016117d1565b60c08301525092915050565b600061012082840312156118ed576118ec610ebf565b5b60006118fb84828501611821565b9150509291505056fea2646970667358221220acbbc4750de4b3c4126fbf87aeabb71bafab9929d6ee870fff379848f1b6870164736f6c63430008140033",
302
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80635ab1bd53116100a2578063b6b412ba11610071578063b6b412ba14610276578063bc74aab014610292578063daafed40146102b0578063de7b5d14146102ce578063f83d08ba146102ec5761010b565b80635ab1bd5314610212578063644c45e014610230578063893d20e81461024e578063a69df4b51461026c5761010b565b80631bdd6b76116100de5780631bdd6b761461019a57806321df0da7146101b857806331b62a3b146101d65780633bc5de30146101f45761010b565b806301ffc9a714610110578063132996041461014057806315dae03e1461015e5780631aa3a0081461017c575b600080fd5b61012a60048036038101906101259190610f1c565b6102f6565b6040516101379190610f64565b60405180910390f35b61014861035d565b6040516101559190610fc0565b60405180910390f35b610166610387565b6040516101739190611023565b60405180910390f35b610184610396565b6040516101919190611087565b60405180910390f35b6101a261063a565b6040516101af9190611087565b60405180910390f35b6101c06106fd565b6040516101cd91906110f7565b60405180910390f35b6101de610727565b6040516101eb9190611087565b60405180910390f35b6101fc61074f565b60405161020991906111a2565b60405180910390f35b61021a610766565b60405161022791906111e5565b60405180910390f35b61023861078e565b6040516102459190611087565b60405180910390f35b61025661082f565b6040516102639190610fc0565b60405180910390f35b6102746109ae565b005b610290600480360381019061028b9190611332565b610ab2565b005b61029a610bba565b6040516102a791906113e1565b60405180910390f35b6102b8610c6f565b6040516102c591906113e1565b60405180910390f35b6102d6610d24565b6040516102e3919061141d565b60405180910390f35b6102f4610d4e565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610391610e52565b905090565b60006103a061082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461040d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104049061146f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff160361049c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610493906114db565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016105179190610fc0565b602060405180830381865afa158015610534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105589190611527565b610597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058e906115c6565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016105f29190611607565b6020604051808303816000875af1158015610611573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610635919061164e565b905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016106b79190610fc0565b602060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f8919061164e565b905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016107e99190610fc0565b602060405180830381865afa158015610806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082a919061164e565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161088b9190610fc0565b602060405180830381865afa1580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc919061164e565b90506108df816108da610e63565b610e68565b1561090d577f00000000000000000000000000000000000000000000000000000000000000009150506109ab565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016109669190611087565b602060405180830381865afa158015610983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a791906116a7565b9150505b90565b6109b661082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a90611720565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f6c493c306040518263ffffffff1660e01b8152600401610a7e9190611607565b600060405180830381600087803b158015610a9857600080fd5b505af1158015610aac573d6000803e3d6000fd5b50505050565b610aba61082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e90611720565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6b412ba83836040518363ffffffff1660e01b8152600401610b84929190611740565b600060405180830381600087803b158015610b9e57600080fd5b505af1158015610bb2573d6000803e3d6000fd5b505050505050565b610bc2610e9b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610c0861078e565b6040518263ffffffff1660e01b8152600401610c249190611087565b61012060405180830381865afa158015610c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6691906118d6565b60a00151905090565b610c77610e9b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610cbd61078e565b6040518263ffffffff1660e01b8152600401610cd99190611087565b61012060405180830381865afa158015610cf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1b91906118d6565b60c00151905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d5661082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba90611720565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f435f5a7306040518263ffffffff1660e01b8152600401610e1e9190611607565b600060405180830381600087803b158015610e3857600080fd5b505af1158015610e4c573d6000803e3d6000fd5b50505050565b6000610e5e6064610e91565b905090565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b6000819050919050565b604051806040016040528060008152602001600081525090565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610ef981610ec4565b8114610f0457600080fd5b50565b600081359050610f1681610ef0565b92915050565b600060208284031215610f3257610f31610ebf565b5b6000610f4084828501610f07565b91505092915050565b60008115159050919050565b610f5e81610f49565b82525050565b6000602082019050610f796000830184610f55565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610faa82610f7f565b9050919050565b610fba81610f9f565b82525050565b6000602082019050610fd56000830184610fb1565b92915050565b600060ff82169050919050565b6000819050919050565b600061100d61100861100384610fdb565b610fe8565b610fdb565b9050919050565b61101d81610ff2565b82525050565b60006020820190506110386000830184611014565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061107161106c6110678461103e565b610fe8565b61103e565b9050919050565b61108181611056565b82525050565b600060208201905061109c6000830184611078565b92915050565b60006110bd6110b86110b384610f7f565b610fe8565b610f7f565b9050919050565b60006110cf826110a2565b9050919050565b60006110e1826110c4565b9050919050565b6110f1816110d6565b82525050565b600060208201905061110c60008301846110e8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561114c578082015181840152602081019050611131565b60008484015250505050565b6000601f19601f8301169050919050565b600061117482611112565b61117e818561111d565b935061118e81856020860161112e565b61119781611158565b840191505092915050565b600060208201905081810360008301526111bc8184611169565b905092915050565b60006111cf826110c4565b9050919050565b6111df816111c4565b82525050565b60006020820190506111fa60008301846111d6565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61123d82611158565b810181811067ffffffffffffffff8211171561125c5761125b611205565b5b80604052505050565b600061126f610eb5565b905061127b8282611234565b919050565b6000819050919050565b61129381611280565b811461129e57600080fd5b50565b6000813590506112b08161128a565b92915050565b6112bf81611280565b81146112ca57600080fd5b50565b6000813590506112dc816112b6565b92915050565b6000604082840312156112f8576112f7611200565b5b6113026040611265565b90506000611312848285016112a1565b6000830152506020611326848285016112cd565b60208301525092915050565b6000806080838503121561134957611348610ebf565b5b6000611357858286016112e2565b9250506040611368858286016112e2565b9150509250929050565b600061138d61138861138384611280565b610fe8565b611280565b9050919050565b61139d81611372565b82525050565b6113ac81611280565b82525050565b6040820160008201516113c86000850182611394565b5060208201516113db60208501826113a3565b50505050565b60006040820190506113f660008301846113b2565b92915050565b6000611407826110c4565b9050919050565b611417816113fc565b82525050565b6000602082019050611432600083018461140e565b92915050565b600082825260208201905092915050565b50565b6000611459600083611438565b915061146482611449565b600082019050919050565b600060208201905081810360008301526114888161144c565b9050919050565b7f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000600082015250565b60006114c5601b83611438565b91506114d08261148f565b602082019050919050565b600060208201905081810360008301526114f4816114b8565b9050919050565b61150481610f49565b811461150f57600080fd5b50565b600081519050611521816114fb565b92915050565b60006020828403121561153d5761153c610ebf565b5b600061154b84828501611512565b91505092915050565b7f4552524f523a434f423a494e5354414e43455f4e4f545f52454749535445524560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006115b0602183611438565b91506115bb82611554565b604082019050919050565b600060208201905081810360008301526115df816115a3565b9050919050565b60006115f1826110c4565b9050919050565b611601816115e6565b82525050565b600060208201905061161c60008301846115f8565b92915050565b61162b8161103e565b811461163657600080fd5b50565b60008151905061164881611622565b92915050565b60006020828403121561166457611663610ebf565b5b600061167284828501611639565b91505092915050565b61168481610f9f565b811461168f57600080fd5b50565b6000815190506116a18161167b565b92915050565b6000602082840312156116bd576116bc610ebf565b5b60006116cb84828501611692565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b600061170a601783611438565b9150611715826116d4565b602082019050919050565b60006020820190508181036000830152611739816116fd565b9050919050565b600060808201905061175560008301856113b2565b61176260408301846113b2565b9392505050565b600061177482610f9f565b9050919050565b61178481611769565b811461178f57600080fd5b50565b6000815190506117a18161177b565b92915050565b6000815190506117b68161128a565b92915050565b6000815190506117cb816112b6565b92915050565b6000604082840312156117e7576117e6611200565b5b6117f16040611265565b90506000611801848285016117a7565b6000830152506020611815848285016117bc565b60208301525092915050565b6000610120828403121561183857611837611200565b5b61184260e0611265565b9050600061185284828501611639565b600083015250602061186684828501611639565b602083015250604061187a84828501611639565b604083015250606061188e84828501611792565b60608301525060806118a284828501611692565b60808301525060a06118b6848285016117d1565b60a08301525060e06118ca848285016117d1565b60c08301525092915050565b600061012082840312156118ed576118ec610ebf565b5b60006118fb84828501611821565b9150509291505056fea2646970667358221220acbbc4750de4b3c4126fbf87aeabb71bafab9929d6ee870fff379848f1b6870164736f6c63430008140033",
945
+ "bytecode": "0x",
946
+ "deployedBytecode": "0x",
303
947
  "linkReferences": {},
304
948
  "deployedLinkReferences": {}
305
949
  }