@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-da0f894-204

Sign up to get free protection for your applications and to get access to all the features.
Files changed (471) hide show
  1. package/README.md +327 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +774 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1279 -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} +234 -239
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +804 -131
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +455 -62
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1202 -138
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +881 -87
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1595 -1039
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2378 -1208
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1355 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +6 -6
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  51. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  53. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  58. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  59. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +947 -0
  63. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  65. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
  67. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  69. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  71. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1553 -0
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
  77. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +535 -0
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
  81. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +858 -0
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +519 -0
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +136 -165
  89. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +139 -232
  91. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1000 -0
  93. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  95. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +416 -160
  97. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  99. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +401 -297
  101. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  123. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  124. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  125. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  127. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  128. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
  129. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  130. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  131. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
  133. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  134. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  135. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  136. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +121 -152
  137. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  139. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  141. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  142. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  143. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  145. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
  147. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  148. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  149. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  150. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +220 -159
  151. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  152. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  153. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  154. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  155. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  157. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestFee.sol/TestFee.json +10 -10
  159. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
  161. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
  163. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestService.sol/TestService.json +281 -139
  165. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +12 -12
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +38 -140
  171. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  172. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  173. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +2 -2
  175. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  177. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  179. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  180. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  181. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  182. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  183. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  185. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  187. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +4 -4
  189. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  191. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  193. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  195. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  197. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  198. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  199. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  201. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  203. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  204. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  205. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  206. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  207. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  208. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  209. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  210. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  211. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  212. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  213. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  214. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  215. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  216. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  217. package/contracts/components/Component.sol +221 -0
  218. package/contracts/components/Distribution.sol +293 -0
  219. package/contracts/components/IComponent.sol +68 -0
  220. package/contracts/components/IDistributionComponent.sol +79 -0
  221. package/contracts/components/IPoolComponent.sol +136 -42
  222. package/contracts/components/IProductComponent.sol +30 -9
  223. package/contracts/components/Pool.sol +310 -106
  224. package/contracts/components/Product.sol +214 -42
  225. package/contracts/instance/BundleManager.sol +125 -0
  226. package/contracts/instance/Cloneable.sol +46 -0
  227. package/contracts/instance/IInstance.sol +85 -45
  228. package/contracts/instance/IInstanceService.sol +59 -0
  229. package/contracts/instance/Instance.sol +276 -53
  230. package/contracts/instance/InstanceAccessManager.sol +297 -0
  231. package/contracts/instance/InstanceReader.sol +293 -0
  232. package/contracts/instance/InstanceService.sol +490 -0
  233. package/contracts/instance/InstanceServiceManager.sol +54 -0
  234. package/contracts/instance/ObjectManager.sol +84 -0
  235. package/contracts/instance/base/ComponentService.sol +134 -0
  236. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  237. package/contracts/instance/base/ILifecycle.sol +3 -3
  238. package/contracts/instance/base/KeyValueStore.sol +61 -36
  239. package/contracts/instance/base/Lifecycle.sol +16 -11
  240. package/contracts/instance/module/IAccess.sol +47 -0
  241. package/contracts/instance/module/IBundle.sol +21 -0
  242. package/contracts/instance/module/IDistribution.sol +41 -0
  243. package/contracts/instance/module/IPolicy.sol +72 -0
  244. package/contracts/instance/module/IRisk.sol +11 -0
  245. package/contracts/instance/module/ISetup.sol +46 -0
  246. package/contracts/instance/module/ITreasury.sol +23 -0
  247. package/contracts/instance/service/ApplicationService.sol +346 -0
  248. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  249. package/contracts/instance/service/BundleService.sol +299 -0
  250. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  251. package/contracts/instance/service/ClaimService.sol +151 -0
  252. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  253. package/contracts/instance/service/DistributionService.sol +394 -0
  254. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  255. package/contracts/instance/service/IApplicationService.sol +81 -0
  256. package/contracts/instance/service/IBundleService.sol +55 -0
  257. package/contracts/instance/service/IClaimService.sol +61 -0
  258. package/contracts/instance/service/IDistributionService.sol +86 -0
  259. package/contracts/instance/service/IPolicyService.sol +70 -0
  260. package/contracts/instance/service/IPoolService.sol +8 -18
  261. package/contracts/instance/service/IProductService.sol +21 -39
  262. package/contracts/instance/service/PolicyService.sol +404 -0
  263. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  264. package/contracts/instance/service/PoolService.sol +78 -92
  265. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  266. package/contracts/instance/service/ProductService.sol +168 -289
  267. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  268. package/contracts/registry/ChainNft.sol +79 -36
  269. package/contracts/registry/IRegistry.sol +66 -24
  270. package/contracts/registry/IRegistryService.sol +67 -0
  271. package/contracts/registry/ITransferInterceptor.sol +6 -0
  272. package/contracts/registry/Registry.sol +366 -283
  273. package/contracts/registry/RegistryAccessManager.sol +216 -0
  274. package/contracts/registry/RegistryService.sol +283 -0
  275. package/contracts/registry/RegistryServiceManager.sol +62 -0
  276. package/contracts/registry/ReleaseManager.sol +322 -0
  277. package/contracts/registry/TokenRegistry.sol +116 -0
  278. package/contracts/shared/ContractDeployerLib.sol +72 -0
  279. package/contracts/shared/ERC165.sol +14 -8
  280. package/contracts/shared/INftOwnable.sol +23 -0
  281. package/contracts/shared/IPolicyHolder.sol +26 -0
  282. package/contracts/shared/IRegisterable.sol +10 -19
  283. package/contracts/shared/IRegistryLinked.sol +12 -0
  284. package/contracts/shared/IService.sol +18 -0
  285. package/contracts/shared/IVersionable.sol +38 -37
  286. package/contracts/shared/NftOwnable.sol +120 -0
  287. package/contracts/shared/PolicyHolder.sol +81 -0
  288. package/contracts/shared/ProxyManager.sol +169 -0
  289. package/contracts/shared/Registerable.sol +54 -66
  290. package/contracts/shared/RegistryLinked.sol +48 -0
  291. package/contracts/shared/Service.sol +58 -0
  292. package/contracts/shared/TokenHandler.sol +27 -0
  293. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  294. package/contracts/shared/Versionable.sol +38 -68
  295. package/contracts/test/TestFee.sol +2 -2
  296. package/contracts/test/TestRegisterable.sol +5 -6
  297. package/contracts/test/TestRoleId.sol +2 -2
  298. package/contracts/test/TestService.sol +7 -14
  299. package/contracts/test/Usdc.sol +26 -0
  300. package/contracts/types/ClaimId.sol +52 -0
  301. package/contracts/types/DistributorType.sol +55 -0
  302. package/contracts/types/Fee.sol +10 -5
  303. package/contracts/types/Key32.sol +8 -3
  304. package/contracts/types/NftIdSet.sol +26 -24
  305. package/contracts/types/NumberId.sol +52 -0
  306. package/contracts/types/ObjectType.sol +55 -14
  307. package/contracts/types/PayoutId.sol +54 -0
  308. package/contracts/types/Referral.sol +85 -0
  309. package/contracts/types/RiskId.sol +43 -0
  310. package/contracts/types/RoleId.sol +70 -11
  311. package/contracts/types/Seconds.sol +54 -0
  312. package/contracts/types/StateId.sol +5 -1
  313. package/contracts/types/Timestamp.sol +16 -13
  314. package/contracts/types/UFixed.sol +144 -25
  315. package/contracts/types/Version.sol +13 -1
  316. package/package.json +9 -5
  317. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  322. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  324. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  328. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  330. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  332. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  334. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  336. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  339. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  341. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  343. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  345. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  347. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  349. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  351. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  353. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  354. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  355. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  356. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  357. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  358. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  359. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  360. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  361. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  362. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  363. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  364. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  367. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  370. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  372. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  373. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  375. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  376. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  377. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  378. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  379. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  380. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  381. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  383. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  384. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  385. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  387. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  389. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  390. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  392. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  394. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  396. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  398. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  399. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  401. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  403. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  406. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  408. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  409. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  410. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  412. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  413. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  414. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  415. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  416. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  417. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  418. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  419. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  420. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  421. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  422. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  423. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  424. package/contracts/components/BaseComponent.sol +0 -88
  425. package/contracts/components/IBaseComponent.sol +0 -19
  426. package/contracts/experiment/errors/Require.sol +0 -38
  427. package/contracts/experiment/errors/Revert.sol +0 -44
  428. package/contracts/experiment/inheritance/A.sol +0 -53
  429. package/contracts/experiment/inheritance/B.sol +0 -28
  430. package/contracts/experiment/inheritance/C.sol +0 -34
  431. package/contracts/experiment/inheritance/IA.sol +0 -13
  432. package/contracts/experiment/inheritance/IB.sol +0 -10
  433. package/contracts/experiment/inheritance/IC.sol +0 -12
  434. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  435. package/contracts/experiment/statemachine/ISM.sol +0 -25
  436. package/contracts/experiment/statemachine/README.md +0 -112
  437. package/contracts/experiment/statemachine/SM.sol +0 -57
  438. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  439. package/contracts/experiment/types/TypeA.sol +0 -47
  440. package/contracts/experiment/types/TypeB.sol +0 -29
  441. package/contracts/instance/IInstanceLinked.sol +0 -8
  442. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  443. package/contracts/instance/base/IInstanceBase.sol +0 -14
  444. package/contracts/instance/base/IService.sol +0 -15
  445. package/contracts/instance/base/InstanceBase.sol +0 -80
  446. package/contracts/instance/base/ModuleBase.sol +0 -52
  447. package/contracts/instance/base/ServiceBase.sol +0 -37
  448. package/contracts/instance/module/access/Access.sol +0 -149
  449. package/contracts/instance/module/access/IAccess.sol +0 -53
  450. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  451. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  452. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  453. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  454. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  455. package/contracts/instance/module/component/IComponent.sol +0 -53
  456. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  457. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  458. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  459. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  460. package/contracts/instance/module/risk/IRisk.sol +0 -10
  461. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  462. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  463. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  464. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  465. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  466. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  467. package/contracts/registry/IChainNft.sol +0 -21
  468. package/contracts/registry/IRegistryLinked.sol +0 -8
  469. package/contracts/shared/IOwnable.sol +0 -6
  470. package/contracts/test/TestPool.sol +0 -22
  471. package/contracts/test/TestProduct.sol +0 -44
@@ -7,36 +7,678 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
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",
11
22
  "type": "address"
12
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": "caller",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorComponentNotChainNft",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
13
79
  {
14
80
  "internalType": "NftId",
15
- "name": "instanceNftid",
81
+ "name": "instanceNftId",
16
82
  "type": "uint96"
83
+ }
84
+ ],
85
+ "name": "ErrorComponentNotInstance",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "address",
92
+ "name": "caller",
93
+ "type": "address"
94
+ }
95
+ ],
96
+ "name": "ErrorComponentNotProductService",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorComponentProductNftAlreadySet",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorComponentWalletAddressZero",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "oldWallet",
119
+ "type": "address"
17
120
  },
121
+ {
122
+ "internalType": "address",
123
+ "name": "newWallet",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "allowance",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "balance",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "ErrorComponentWalletAllowanceTooSmall",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "NftId",
144
+ "name": "nftId",
145
+ "type": "uint96"
146
+ }
147
+ ],
148
+ "name": "ErrorNftOwnableAlreadyLinked",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "address",
155
+ "name": "contractAddress",
156
+ "type": "address"
157
+ }
158
+ ],
159
+ "name": "ErrorNftOwnableContractNotRegistered",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "ErrorNftOwnableInitialOwnerZero",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "address",
171
+ "name": "account",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "ErrorNftOwnableNotOwner",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "registryAddress",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "ErrorNotRegistry",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [],
191
+ "name": "FailedInnerCall",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "InvalidInitialization",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "NotInitializing",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [
18
206
  {
19
207
  "internalType": "address",
20
208
  "name": "token",
21
209
  "type": "address"
210
+ }
211
+ ],
212
+ "name": "SafeERC20FailedOperation",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": false,
220
+ "internalType": "address",
221
+ "name": "authority",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "name": "AuthorityUpdated",
226
+ "type": "event"
227
+ },
228
+ {
229
+ "anonymous": false,
230
+ "inputs": [
231
+ {
232
+ "indexed": false,
233
+ "internalType": "uint64",
234
+ "name": "version",
235
+ "type": "uint64"
236
+ }
237
+ ],
238
+ "name": "Initialized",
239
+ "type": "event"
240
+ },
241
+ {
242
+ "anonymous": false,
243
+ "inputs": [
244
+ {
245
+ "indexed": false,
246
+ "internalType": "address",
247
+ "name": "oldWallet",
248
+ "type": "address"
22
249
  },
23
250
  {
251
+ "indexed": false,
24
252
  "internalType": "address",
25
- "name": "pool",
253
+ "name": "newWallet",
26
254
  "type": "address"
27
255
  }
28
256
  ],
29
- "stateMutability": "nonpayable",
30
- "type": "constructor"
257
+ "name": "LogComponentWalletAddressChanged",
258
+ "type": "event"
259
+ },
260
+ {
261
+ "anonymous": false,
262
+ "inputs": [
263
+ {
264
+ "indexed": false,
265
+ "internalType": "address",
266
+ "name": "from",
267
+ "type": "address"
268
+ },
269
+ {
270
+ "indexed": false,
271
+ "internalType": "address",
272
+ "name": "to",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "indexed": false,
277
+ "internalType": "uint256",
278
+ "name": "amount",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "LogComponentWalletTokensTransferred",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "COMPONENT_LOCATION_V1",
288
+ "outputs": [
289
+ {
290
+ "internalType": "bytes32",
291
+ "name": "",
292
+ "type": "bytes32"
293
+ }
294
+ ],
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "inputs": [],
300
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
301
+ "outputs": [
302
+ {
303
+ "internalType": "bytes32",
304
+ "name": "",
305
+ "type": "bytes32"
306
+ }
307
+ ],
308
+ "stateMutability": "view",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "inputs": [],
313
+ "name": "PRODUCT_STORAGE_LOCATION_V1",
314
+ "outputs": [
315
+ {
316
+ "internalType": "bytes32",
317
+ "name": "",
318
+ "type": "bytes32"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "REGISTERABLE_LOCATION_V1",
327
+ "outputs": [
328
+ {
329
+ "internalType": "bytes32",
330
+ "name": "",
331
+ "type": "bytes32"
332
+ }
333
+ ],
334
+ "stateMutability": "view",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "authority",
340
+ "outputs": [
341
+ {
342
+ "internalType": "address",
343
+ "name": "",
344
+ "type": "address"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "uint256",
354
+ "name": "sumInsuredAmount",
355
+ "type": "uint256"
356
+ },
357
+ {
358
+ "internalType": "RiskId",
359
+ "name": "riskId",
360
+ "type": "bytes8"
361
+ },
362
+ {
363
+ "internalType": "Seconds",
364
+ "name": "lifetime",
365
+ "type": "uint40"
366
+ },
367
+ {
368
+ "internalType": "bytes",
369
+ "name": "applicationData",
370
+ "type": "bytes"
371
+ }
372
+ ],
373
+ "name": "calculateNetPremium",
374
+ "outputs": [
375
+ {
376
+ "internalType": "uint256",
377
+ "name": "netPremiumAmount",
378
+ "type": "uint256"
379
+ }
380
+ ],
381
+ "stateMutability": "view",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [
386
+ {
387
+ "internalType": "uint256",
388
+ "name": "sumInsuredAmount",
389
+ "type": "uint256"
390
+ },
391
+ {
392
+ "internalType": "RiskId",
393
+ "name": "riskId",
394
+ "type": "bytes8"
395
+ },
396
+ {
397
+ "internalType": "Seconds",
398
+ "name": "lifetime",
399
+ "type": "uint40"
400
+ },
401
+ {
402
+ "internalType": "bytes",
403
+ "name": "applicationData",
404
+ "type": "bytes"
405
+ },
406
+ {
407
+ "internalType": "NftId",
408
+ "name": "bundleNftId",
409
+ "type": "uint96"
410
+ },
411
+ {
412
+ "internalType": "ReferralId",
413
+ "name": "referralId",
414
+ "type": "bytes8"
415
+ }
416
+ ],
417
+ "name": "calculatePremium",
418
+ "outputs": [
419
+ {
420
+ "internalType": "uint256",
421
+ "name": "premiumAmount",
422
+ "type": "uint256"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [],
430
+ "name": "getDistributionNftId",
431
+ "outputs": [
432
+ {
433
+ "internalType": "NftId",
434
+ "name": "distributionNftId",
435
+ "type": "uint96"
436
+ }
437
+ ],
438
+ "stateMutability": "view",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [],
443
+ "name": "getInitialInfo",
444
+ "outputs": [
445
+ {
446
+ "components": [
447
+ {
448
+ "internalType": "NftId",
449
+ "name": "nftId",
450
+ "type": "uint96"
451
+ },
452
+ {
453
+ "internalType": "NftId",
454
+ "name": "parentNftId",
455
+ "type": "uint96"
456
+ },
457
+ {
458
+ "internalType": "ObjectType",
459
+ "name": "objectType",
460
+ "type": "uint8"
461
+ },
462
+ {
463
+ "internalType": "bool",
464
+ "name": "isInterceptor",
465
+ "type": "bool"
466
+ },
467
+ {
468
+ "internalType": "address",
469
+ "name": "objectAddress",
470
+ "type": "address"
471
+ },
472
+ {
473
+ "internalType": "address",
474
+ "name": "initialOwner",
475
+ "type": "address"
476
+ },
477
+ {
478
+ "internalType": "bytes",
479
+ "name": "data",
480
+ "type": "bytes"
481
+ }
482
+ ],
483
+ "internalType": "struct IRegistry.ObjectInfo",
484
+ "name": "info",
485
+ "type": "tuple"
486
+ }
487
+ ],
488
+ "stateMutability": "view",
489
+ "type": "function"
490
+ },
491
+ {
492
+ "inputs": [],
493
+ "name": "getInstance",
494
+ "outputs": [
495
+ {
496
+ "internalType": "contract IInstance",
497
+ "name": "instance",
498
+ "type": "address"
499
+ }
500
+ ],
501
+ "stateMutability": "view",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [],
506
+ "name": "getName",
507
+ "outputs": [
508
+ {
509
+ "internalType": "string",
510
+ "name": "name",
511
+ "type": "string"
512
+ }
513
+ ],
514
+ "stateMutability": "view",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [],
519
+ "name": "getNftId",
520
+ "outputs": [
521
+ {
522
+ "internalType": "NftId",
523
+ "name": "",
524
+ "type": "uint96"
525
+ }
526
+ ],
527
+ "stateMutability": "view",
528
+ "type": "function"
529
+ },
530
+ {
531
+ "inputs": [],
532
+ "name": "getOwner",
533
+ "outputs": [
534
+ {
535
+ "internalType": "address",
536
+ "name": "",
537
+ "type": "address"
538
+ }
539
+ ],
540
+ "stateMutability": "view",
541
+ "type": "function"
542
+ },
543
+ {
544
+ "inputs": [],
545
+ "name": "getPoolNftId",
546
+ "outputs": [
547
+ {
548
+ "internalType": "NftId",
549
+ "name": "poolNftId",
550
+ "type": "uint96"
551
+ }
552
+ ],
553
+ "stateMutability": "view",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [],
558
+ "name": "getProductNftId",
559
+ "outputs": [
560
+ {
561
+ "internalType": "NftId",
562
+ "name": "productNftId",
563
+ "type": "uint96"
564
+ }
565
+ ],
566
+ "stateMutability": "view",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [],
571
+ "name": "getRegistry",
572
+ "outputs": [
573
+ {
574
+ "internalType": "contract IRegistry",
575
+ "name": "",
576
+ "type": "address"
577
+ }
578
+ ],
579
+ "stateMutability": "view",
580
+ "type": "function"
581
+ },
582
+ {
583
+ "inputs": [],
584
+ "name": "getRegistryAddress",
585
+ "outputs": [
586
+ {
587
+ "internalType": "address",
588
+ "name": "",
589
+ "type": "address"
590
+ }
591
+ ],
592
+ "stateMutability": "view",
593
+ "type": "function"
594
+ },
595
+ {
596
+ "inputs": [],
597
+ "name": "getSetupInfo",
598
+ "outputs": [
599
+ {
600
+ "components": [
601
+ {
602
+ "internalType": "contract IERC20Metadata",
603
+ "name": "token",
604
+ "type": "address"
605
+ },
606
+ {
607
+ "internalType": "contract TokenHandler",
608
+ "name": "tokenHandler",
609
+ "type": "address"
610
+ },
611
+ {
612
+ "internalType": "NftId",
613
+ "name": "distributionNftId",
614
+ "type": "uint96"
615
+ },
616
+ {
617
+ "internalType": "NftId",
618
+ "name": "poolNftId",
619
+ "type": "uint96"
620
+ },
621
+ {
622
+ "components": [
623
+ {
624
+ "internalType": "UFixed",
625
+ "name": "fractionalFee",
626
+ "type": "uint256"
627
+ },
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "fixedFee",
631
+ "type": "uint256"
632
+ }
633
+ ],
634
+ "internalType": "struct Fee",
635
+ "name": "productFee",
636
+ "type": "tuple"
637
+ },
638
+ {
639
+ "components": [
640
+ {
641
+ "internalType": "UFixed",
642
+ "name": "fractionalFee",
643
+ "type": "uint256"
644
+ },
645
+ {
646
+ "internalType": "uint256",
647
+ "name": "fixedFee",
648
+ "type": "uint256"
649
+ }
650
+ ],
651
+ "internalType": "struct Fee",
652
+ "name": "processingFee",
653
+ "type": "tuple"
654
+ },
655
+ {
656
+ "internalType": "bool",
657
+ "name": "isIntercepting",
658
+ "type": "bool"
659
+ },
660
+ {
661
+ "internalType": "address",
662
+ "name": "wallet",
663
+ "type": "address"
664
+ }
665
+ ],
666
+ "internalType": "struct ISetup.ProductSetupInfo",
667
+ "name": "setupInfo",
668
+ "type": "tuple"
669
+ }
670
+ ],
671
+ "stateMutability": "view",
672
+ "type": "function"
31
673
  },
32
674
  {
33
675
  "inputs": [],
34
- "name": "getData",
676
+ "name": "getToken",
35
677
  "outputs": [
36
678
  {
37
- "internalType": "bytes",
38
- "name": "data",
39
- "type": "bytes"
679
+ "internalType": "contract IERC20Metadata",
680
+ "name": "token",
681
+ "type": "address"
40
682
  }
41
683
  ],
42
684
  "stateMutability": "view",
@@ -44,11 +686,11 @@
44
686
  },
45
687
  {
46
688
  "inputs": [],
47
- "name": "getInstance",
689
+ "name": "getWallet",
48
690
  "outputs": [
49
691
  {
50
- "internalType": "contract IInstance",
51
- "name": "instance",
692
+ "internalType": "address",
693
+ "name": "walletAddress",
52
694
  "type": "address"
53
695
  }
54
696
  ],
@@ -56,48 +698,115 @@
56
698
  "type": "function"
57
699
  },
58
700
  {
59
- "inputs": [],
60
- "name": "getNftId",
61
- "outputs": [
701
+ "inputs": [
702
+ {
703
+ "internalType": "address",
704
+ "name": "registry",
705
+ "type": "address"
706
+ },
62
707
  {
63
708
  "internalType": "NftId",
64
- "name": "nftId",
709
+ "name": "instanceNftId",
65
710
  "type": "uint96"
711
+ },
712
+ {
713
+ "internalType": "string",
714
+ "name": "name",
715
+ "type": "string"
716
+ },
717
+ {
718
+ "internalType": "address",
719
+ "name": "token",
720
+ "type": "address"
721
+ },
722
+ {
723
+ "internalType": "ObjectType",
724
+ "name": "componentType",
725
+ "type": "uint8"
726
+ },
727
+ {
728
+ "internalType": "bool",
729
+ "name": "isInterceptor",
730
+ "type": "bool"
731
+ },
732
+ {
733
+ "internalType": "address",
734
+ "name": "initialOwner",
735
+ "type": "address"
736
+ },
737
+ {
738
+ "internalType": "bytes",
739
+ "name": "registryData",
740
+ "type": "bytes"
66
741
  }
67
742
  ],
68
- "stateMutability": "view",
743
+ "name": "initializeComponent",
744
+ "outputs": [],
745
+ "stateMutability": "nonpayable",
69
746
  "type": "function"
70
747
  },
71
748
  {
72
749
  "inputs": [],
73
- "name": "getOwner",
74
- "outputs": [
750
+ "name": "initializeERC165",
751
+ "outputs": [],
752
+ "stateMutability": "nonpayable",
753
+ "type": "function"
754
+ },
755
+ {
756
+ "inputs": [
757
+ {
758
+ "internalType": "address",
759
+ "name": "initialOwner",
760
+ "type": "address"
761
+ },
75
762
  {
76
763
  "internalType": "address",
77
- "name": "owner",
764
+ "name": "registryAddress",
78
765
  "type": "address"
79
766
  }
80
767
  ],
81
- "stateMutability": "view",
768
+ "name": "initializeNftOwnable",
769
+ "outputs": [],
770
+ "stateMutability": "nonpayable",
82
771
  "type": "function"
83
772
  },
84
773
  {
85
- "inputs": [],
86
- "name": "getParentNftId",
87
- "outputs": [
774
+ "inputs": [
775
+ {
776
+ "internalType": "address",
777
+ "name": "registry",
778
+ "type": "address"
779
+ },
88
780
  {
89
781
  "internalType": "NftId",
90
- "name": "nftId",
782
+ "name": "instanceNftId",
91
783
  "type": "uint96"
92
- }
93
- ],
94
- "stateMutability": "view",
95
- "type": "function"
96
- },
97
- {
98
- "inputs": [],
99
- "name": "getPolicyFee",
100
- "outputs": [
784
+ },
785
+ {
786
+ "internalType": "string",
787
+ "name": "name",
788
+ "type": "string"
789
+ },
790
+ {
791
+ "internalType": "address",
792
+ "name": "token",
793
+ "type": "address"
794
+ },
795
+ {
796
+ "internalType": "bool",
797
+ "name": "isInterceptor",
798
+ "type": "bool"
799
+ },
800
+ {
801
+ "internalType": "address",
802
+ "name": "pool",
803
+ "type": "address"
804
+ },
805
+ {
806
+ "internalType": "address",
807
+ "name": "distribution",
808
+ "type": "address"
809
+ },
101
810
  {
102
811
  "components": [
103
812
  {
@@ -112,30 +821,9 @@
112
821
  }
113
822
  ],
114
823
  "internalType": "struct Fee",
115
- "name": "policyFee",
824
+ "name": "productFee",
116
825
  "type": "tuple"
117
- }
118
- ],
119
- "stateMutability": "view",
120
- "type": "function"
121
- },
122
- {
123
- "inputs": [],
124
- "name": "getPoolNftId",
125
- "outputs": [
126
- {
127
- "internalType": "NftId",
128
- "name": "poolNftId",
129
- "type": "uint96"
130
- }
131
- ],
132
- "stateMutability": "view",
133
- "type": "function"
134
- },
135
- {
136
- "inputs": [],
137
- "name": "getProcessingFee",
138
- "outputs": [
826
+ },
139
827
  {
140
828
  "components": [
141
829
  {
@@ -152,58 +840,95 @@
152
840
  "internalType": "struct Fee",
153
841
  "name": "processingFee",
154
842
  "type": "tuple"
843
+ },
844
+ {
845
+ "internalType": "address",
846
+ "name": "initialOwner",
847
+ "type": "address"
848
+ },
849
+ {
850
+ "internalType": "bytes",
851
+ "name": "registryData",
852
+ "type": "bytes"
155
853
  }
156
854
  ],
157
- "stateMutability": "view",
855
+ "name": "initializeProduct",
856
+ "outputs": [],
857
+ "stateMutability": "nonpayable",
158
858
  "type": "function"
159
859
  },
160
860
  {
161
- "inputs": [],
162
- "name": "getRegistry",
163
- "outputs": [
861
+ "inputs": [
164
862
  {
165
- "internalType": "contract IRegistry",
166
- "name": "registry",
863
+ "internalType": "address",
864
+ "name": "registryAddress",
865
+ "type": "address"
866
+ },
867
+ {
868
+ "internalType": "NftId",
869
+ "name": "parentNftId",
870
+ "type": "uint96"
871
+ },
872
+ {
873
+ "internalType": "ObjectType",
874
+ "name": "objectType",
875
+ "type": "uint8"
876
+ },
877
+ {
878
+ "internalType": "bool",
879
+ "name": "isInterceptor",
880
+ "type": "bool"
881
+ },
882
+ {
883
+ "internalType": "address",
884
+ "name": "initialOwner",
167
885
  "type": "address"
886
+ },
887
+ {
888
+ "internalType": "bytes",
889
+ "name": "registryData",
890
+ "type": "bytes"
168
891
  }
169
892
  ],
170
- "stateMutability": "view",
893
+ "name": "initializeRegisterable",
894
+ "outputs": [],
895
+ "stateMutability": "nonpayable",
171
896
  "type": "function"
172
897
  },
173
898
  {
174
- "inputs": [],
175
- "name": "getToken",
176
- "outputs": [
899
+ "inputs": [
177
900
  {
178
- "internalType": "contract IERC20Metadata",
179
- "name": "token",
901
+ "internalType": "address",
902
+ "name": "registryAddress",
180
903
  "type": "address"
181
904
  }
182
905
  ],
183
- "stateMutability": "view",
906
+ "name": "initializeRegistryLinked",
907
+ "outputs": [],
908
+ "stateMutability": "nonpayable",
184
909
  "type": "function"
185
910
  },
186
911
  {
187
912
  "inputs": [],
188
- "name": "getType",
913
+ "name": "isConsumingScheduledOp",
189
914
  "outputs": [
190
915
  {
191
- "internalType": "ObjectType",
916
+ "internalType": "bytes4",
192
917
  "name": "",
193
- "type": "uint8"
918
+ "type": "bytes4"
194
919
  }
195
920
  ],
196
- "stateMutability": "pure",
921
+ "stateMutability": "view",
197
922
  "type": "function"
198
923
  },
199
924
  {
200
925
  "inputs": [],
201
- "name": "getWallet",
926
+ "name": "isNftInterceptor",
202
927
  "outputs": [
203
928
  {
204
- "internalType": "address",
205
- "name": "walletAddress",
206
- "type": "address"
929
+ "internalType": "bool",
930
+ "name": "isInterceptor",
931
+ "type": "bool"
207
932
  }
208
933
  ],
209
934
  "stateMutability": "view",
@@ -211,21 +936,64 @@
211
936
  },
212
937
  {
213
938
  "inputs": [],
214
- "name": "lock",
939
+ "name": "linkToRegisteredNftId",
215
940
  "outputs": [],
216
941
  "stateMutability": "nonpayable",
217
942
  "type": "function"
218
943
  },
219
944
  {
220
945
  "inputs": [],
221
- "name": "register",
222
- "outputs": [
946
+ "name": "lock",
947
+ "outputs": [],
948
+ "stateMutability": "nonpayable",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [
223
953
  {
224
- "internalType": "NftId",
225
- "name": "componentId",
226
- "type": "uint96"
954
+ "internalType": "address",
955
+ "name": "from",
956
+ "type": "address"
957
+ },
958
+ {
959
+ "internalType": "address",
960
+ "name": "to",
961
+ "type": "address"
962
+ },
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "tokenId",
966
+ "type": "uint256"
967
+ }
968
+ ],
969
+ "name": "nftTransferFrom",
970
+ "outputs": [],
971
+ "stateMutability": "nonpayable",
972
+ "type": "function"
973
+ },
974
+ {
975
+ "inputs": [
976
+ {
977
+ "internalType": "bytes4",
978
+ "name": "interfaceId",
979
+ "type": "bytes4"
980
+ }
981
+ ],
982
+ "name": "registerInterface",
983
+ "outputs": [],
984
+ "stateMutability": "nonpayable",
985
+ "type": "function"
986
+ },
987
+ {
988
+ "inputs": [
989
+ {
990
+ "internalType": "address",
991
+ "name": "newAuthority",
992
+ "type": "address"
227
993
  }
228
994
  ],
995
+ "name": "setAuthority",
996
+ "outputs": [],
229
997
  "stateMutability": "nonpayable",
230
998
  "type": "function"
231
999
  },
@@ -245,7 +1013,7 @@
245
1013
  }
246
1014
  ],
247
1015
  "internalType": "struct Fee",
248
- "name": "policyFee",
1016
+ "name": "productFee",
249
1017
  "type": "tuple"
250
1018
  },
251
1019
  {
@@ -271,6 +1039,32 @@
271
1039
  "stateMutability": "nonpayable",
272
1040
  "type": "function"
273
1041
  },
1042
+ {
1043
+ "inputs": [
1044
+ {
1045
+ "internalType": "NftId",
1046
+ "name": "productNftId",
1047
+ "type": "uint96"
1048
+ }
1049
+ ],
1050
+ "name": "setProductNftId",
1051
+ "outputs": [],
1052
+ "stateMutability": "nonpayable",
1053
+ "type": "function"
1054
+ },
1055
+ {
1056
+ "inputs": [
1057
+ {
1058
+ "internalType": "address",
1059
+ "name": "newWallet",
1060
+ "type": "address"
1061
+ }
1062
+ ],
1063
+ "name": "setWallet",
1064
+ "outputs": [],
1065
+ "stateMutability": "nonpayable",
1066
+ "type": "function"
1067
+ },
274
1068
  {
275
1069
  "inputs": [
276
1070
  {
@@ -298,8 +1092,8 @@
298
1092
  "type": "function"
299
1093
  }
300
1094
  ],
301
- "bytecode": "0x60e06040523480156200001157600080fd5b506040516200299d3803806200299d8339818101604052810190620000379190620008bf565b83838382826200006d7f01ffc9a7000000000000000000000000000000000000000000000000000000006200079160201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620000df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000d69062000992565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f06ecd8ef000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401620001709190620009f1565b602060405180830381865afa1580156200018e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b4919062000a4b565b620001f6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ed9062000acd565b60405180910390fd5b806bffffffffffffffffffffffff1660a0816bffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff1663e74d052f60a0516040518263ffffffff1660e01b815260040162000259919062000b32565b602060405180830381865afa15801562000277573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029d919062000a4b565b620002df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d69062000bc5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050620003447f3bf74c8e000000000000000000000000000000000000000000000000000000006200079160201b60201c565b5050600060805173ffffffffffffffffffffffffffffffffffffffff1663a48f42e0846040518263ffffffff1660e01b815260040162000385919062000b32565b600060405180830381865afa158015620003a3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190620003ce919062000e7e565b90508060600151600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f8de54b9b000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401620004929190620009f1565b602060405180830381865afa158015620004b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004d6919062000a4b565b62000518576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200050f9062000ef9565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000586573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005ac919062000f60565b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555030600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620006e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000706919062000fd7565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062001009565b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200083e8262000811565b9050919050565b620008508162000831565b81146200085c57600080fd5b50565b600081519050620008708162000845565b92915050565b60006bffffffffffffffffffffffff82169050919050565b620008998162000876565b8114620008a557600080fd5b50565b600081519050620008b9816200088e565b92915050565b60008060008060808587031215620008dc57620008db62000807565b5b6000620008ec878288016200085f565b9450506020620008ff87828801620008a8565b935050604062000912878288016200085f565b925050606062000925878288016200085f565b91505092959194509250565b600082825260208201905092915050565b7f4552524f523a5247422d3031303a52454749535452595f5a45524f0000000000600082015250565b60006200097a601b8362000931565b9150620009878262000942565b602082019050919050565b60006020820190508181036000830152620009ad816200096b565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620009eb81620009b4565b82525050565b600060208201905062000a086000830184620009e0565b92915050565b60008115159050919050565b62000a258162000a0e565b811462000a3157600080fd5b50565b60008151905062000a458162000a1a565b92915050565b60006020828403121562000a645762000a6362000807565b5b600062000a748482850162000a34565b91505092915050565b7f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000600082015250565b600062000ab5601a8362000931565b915062000ac28262000a7d565b602082019050919050565b6000602082019050818103600083015262000ae88162000aa6565b9050919050565b6000819050919050565b600062000b1a62000b1462000b0e8462000876565b62000aef565b62000876565b9050919050565b62000b2c8162000af9565b82525050565b600060208201905062000b49600083018462000b21565b92915050565b7f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560008201527f5245440000000000000000000000000000000000000000000000000000000000602082015250565b600062000bad60238362000931565b915062000bba8262000b4f565b604082019050919050565b6000602082019050818103600083015262000be08162000b9e565b9050919050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000c378262000bec565b810181811067ffffffffffffffff8211171562000c595762000c5862000bfd565b5b80604052505050565b600062000c6e620007fd565b905062000c7c828262000c2c565b919050565b600080fd5b600060ff82169050919050565b62000c9e8162000c86565b811462000caa57600080fd5b50565b60008151905062000cbe8162000c93565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff82111562000cec5762000ceb62000bfd565b5b62000cf78262000bec565b9050602081019050919050565b60005b8381101562000d2457808201518184015260208101905062000d07565b60008484015250505050565b600062000d4762000d418462000cce565b62000c62565b90508281526020810184848401111562000d665762000d6562000cc9565b5b62000d7384828562000d04565b509392505050565b600082601f83011262000d935762000d9262000cc4565b5b815162000da584826020860162000d30565b91505092915050565b600060c0828403121562000dc75762000dc662000be7565b5b62000dd360c062000c62565b9050600062000de584828501620008a8565b600083015250602062000dfb84828501620008a8565b602083015250604062000e118482850162000cad565b604083015250606062000e27848285016200085f565b606083015250608062000e3d848285016200085f565b60808301525060a082015167ffffffffffffffff81111562000e645762000e6362000c81565b5b62000e728482850162000d7b565b60a08301525092915050565b60006020828403121562000e975762000e9662000807565b5b600082015167ffffffffffffffff81111562000eb85762000eb76200080c565b5b62000ec68482850162000dae565b91505092915050565b50565b600062000ee160008362000931565b915062000eee8262000ecf565b600082019050919050565b6000602082019050818103600083015262000f148162000ed2565b9050919050565b600062000f288262000831565b9050919050565b62000f3a8162000f1b565b811462000f4657600080fd5b50565b60008151905062000f5a8162000f2f565b92915050565b60006020828403121562000f795762000f7862000807565b5b600062000f898482850162000f49565b91505092915050565b600062000f9f8262000831565b9050919050565b62000fb18162000f92565b811462000fbd57600080fd5b50565b60008151905062000fd18162000fa6565b92915050565b60006020828403121562000ff05762000fef62000807565b5b6000620010008482850162000fc0565b91505092915050565b60805160a05160c05161193a6200106360003960006108e60152600061072b0152600081816104270152818161049e0152818161063e0152818161076a0152818161079201528181610834015261090f015261193a6000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80635ab1bd53116100a2578063b6b412ba11610071578063b6b412ba14610276578063bc74aab014610292578063daafed40146102b0578063de7b5d14146102ce578063f83d08ba146102ec5761010b565b80635ab1bd5314610212578063644c45e014610230578063893d20e81461024e578063a69df4b51461026c5761010b565b80631bdd6b76116100de5780631bdd6b761461019a57806321df0da7146101b857806331b62a3b146101d65780633bc5de30146101f45761010b565b806301ffc9a714610110578063132996041461014057806315dae03e1461015e5780631aa3a0081461017c575b600080fd5b61012a60048036038101906101259190610f1c565b6102f6565b6040516101379190610f64565b60405180910390f35b61014861035d565b6040516101559190610fc0565b60405180910390f35b610166610387565b6040516101739190611023565b60405180910390f35b610184610396565b6040516101919190611087565b60405180910390f35b6101a261063a565b6040516101af9190611087565b60405180910390f35b6101c06106fd565b6040516101cd91906110f7565b60405180910390f35b6101de610727565b6040516101eb9190611087565b60405180910390f35b6101fc61074f565b60405161020991906111a2565b60405180910390f35b61021a610766565b60405161022791906111e5565b60405180910390f35b61023861078e565b6040516102459190611087565b60405180910390f35b61025661082f565b6040516102639190610fc0565b60405180910390f35b6102746109ae565b005b610290600480360381019061028b9190611332565b610ab2565b005b61029a610bba565b6040516102a791906113e1565b60405180910390f35b6102b8610c6f565b6040516102c591906113e1565b60405180910390f35b6102d6610d24565b6040516102e3919061141d565b60405180910390f35b6102f4610d4e565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610391610e52565b905090565b60006103a061082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461040d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104049061146f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff160361049c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610493906114db565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016105179190610fc0565b602060405180830381865afa158015610534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105589190611527565b610597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058e906115c6565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016105f29190611607565b6020604051808303816000875af1158015610611573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610635919061164e565b905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016106b79190610fc0565b602060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f8919061164e565b905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016107e99190610fc0565b602060405180830381865afa158015610806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082a919061164e565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161088b9190610fc0565b602060405180830381865afa1580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc919061164e565b90506108df816108da610e63565b610e68565b1561090d577f00000000000000000000000000000000000000000000000000000000000000009150506109ab565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016109669190611087565b602060405180830381865afa158015610983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a791906116a7565b9150505b90565b6109b661082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a90611720565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f6c493c306040518263ffffffff1660e01b8152600401610a7e9190611607565b600060405180830381600087803b158015610a9857600080fd5b505af1158015610aac573d6000803e3d6000fd5b50505050565b610aba61082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e90611720565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6b412ba83836040518363ffffffff1660e01b8152600401610b84929190611740565b600060405180830381600087803b158015610b9e57600080fd5b505af1158015610bb2573d6000803e3d6000fd5b505050505050565b610bc2610e9b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610c0861078e565b6040518263ffffffff1660e01b8152600401610c249190611087565b61012060405180830381865afa158015610c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6691906118d6565b60a00151905090565b610c77610e9b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610cbd61078e565b6040518263ffffffff1660e01b8152600401610cd99190611087565b61012060405180830381865afa158015610cf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1b91906118d6565b60c00151905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d5661082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba90611720565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f435f5a7306040518263ffffffff1660e01b8152600401610e1e9190611607565b600060405180830381600087803b158015610e3857600080fd5b505af1158015610e4c573d6000803e3d6000fd5b50505050565b6000610e5e6064610e91565b905090565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b6000819050919050565b604051806040016040528060008152602001600081525090565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610ef981610ec4565b8114610f0457600080fd5b50565b600081359050610f1681610ef0565b92915050565b600060208284031215610f3257610f31610ebf565b5b6000610f4084828501610f07565b91505092915050565b60008115159050919050565b610f5e81610f49565b82525050565b6000602082019050610f796000830184610f55565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610faa82610f7f565b9050919050565b610fba81610f9f565b82525050565b6000602082019050610fd56000830184610fb1565b92915050565b600060ff82169050919050565b6000819050919050565b600061100d61100861100384610fdb565b610fe8565b610fdb565b9050919050565b61101d81610ff2565b82525050565b60006020820190506110386000830184611014565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061107161106c6110678461103e565b610fe8565b61103e565b9050919050565b61108181611056565b82525050565b600060208201905061109c6000830184611078565b92915050565b60006110bd6110b86110b384610f7f565b610fe8565b610f7f565b9050919050565b60006110cf826110a2565b9050919050565b60006110e1826110c4565b9050919050565b6110f1816110d6565b82525050565b600060208201905061110c60008301846110e8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561114c578082015181840152602081019050611131565b60008484015250505050565b6000601f19601f8301169050919050565b600061117482611112565b61117e818561111d565b935061118e81856020860161112e565b61119781611158565b840191505092915050565b600060208201905081810360008301526111bc8184611169565b905092915050565b60006111cf826110c4565b9050919050565b6111df816111c4565b82525050565b60006020820190506111fa60008301846111d6565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61123d82611158565b810181811067ffffffffffffffff8211171561125c5761125b611205565b5b80604052505050565b600061126f610eb5565b905061127b8282611234565b919050565b6000819050919050565b61129381611280565b811461129e57600080fd5b50565b6000813590506112b08161128a565b92915050565b6112bf81611280565b81146112ca57600080fd5b50565b6000813590506112dc816112b6565b92915050565b6000604082840312156112f8576112f7611200565b5b6113026040611265565b90506000611312848285016112a1565b6000830152506020611326848285016112cd565b60208301525092915050565b6000806080838503121561134957611348610ebf565b5b6000611357858286016112e2565b9250506040611368858286016112e2565b9150509250929050565b600061138d61138861138384611280565b610fe8565b611280565b9050919050565b61139d81611372565b82525050565b6113ac81611280565b82525050565b6040820160008201516113c86000850182611394565b5060208201516113db60208501826113a3565b50505050565b60006040820190506113f660008301846113b2565b92915050565b6000611407826110c4565b9050919050565b611417816113fc565b82525050565b6000602082019050611432600083018461140e565b92915050565b600082825260208201905092915050565b50565b6000611459600083611438565b915061146482611449565b600082019050919050565b600060208201905081810360008301526114888161144c565b9050919050565b7f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000600082015250565b60006114c5601b83611438565b91506114d08261148f565b602082019050919050565b600060208201905081810360008301526114f4816114b8565b9050919050565b61150481610f49565b811461150f57600080fd5b50565b600081519050611521816114fb565b92915050565b60006020828403121561153d5761153c610ebf565b5b600061154b84828501611512565b91505092915050565b7f4552524f523a434f423a494e5354414e43455f4e4f545f52454749535445524560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006115b0602183611438565b91506115bb82611554565b604082019050919050565b600060208201905081810360008301526115df816115a3565b9050919050565b60006115f1826110c4565b9050919050565b611601816115e6565b82525050565b600060208201905061161c60008301846115f8565b92915050565b61162b8161103e565b811461163657600080fd5b50565b60008151905061164881611622565b92915050565b60006020828403121561166457611663610ebf565b5b600061167284828501611639565b91505092915050565b61168481610f9f565b811461168f57600080fd5b50565b6000815190506116a18161167b565b92915050565b6000602082840312156116bd576116bc610ebf565b5b60006116cb84828501611692565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b600061170a601783611438565b9150611715826116d4565b602082019050919050565b60006020820190508181036000830152611739816116fd565b9050919050565b600060808201905061175560008301856113b2565b61176260408301846113b2565b9392505050565b600061177482610f9f565b9050919050565b61178481611769565b811461178f57600080fd5b50565b6000815190506117a18161177b565b92915050565b6000815190506117b68161128a565b92915050565b6000815190506117cb816112b6565b92915050565b6000604082840312156117e7576117e6611200565b5b6117f16040611265565b90506000611801848285016117a7565b6000830152506020611815848285016117bc565b60208301525092915050565b6000610120828403121561183857611837611200565b5b61184260e0611265565b9050600061185284828501611639565b600083015250602061186684828501611639565b602083015250604061187a84828501611639565b604083015250606061188e84828501611792565b60608301525060806118a284828501611692565b60808301525060a06118b6848285016117d1565b60a08301525060e06118ca848285016117d1565b60c08301525092915050565b600061012082840312156118ed576118ec610ebf565b5b60006118fb84828501611821565b9150509291505056fea2646970667358221220acbbc4750de4b3c4126fbf87aeabb71bafab9929d6ee870fff379848f1b6870164736f6c63430008140033",
302
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80635ab1bd53116100a2578063b6b412ba11610071578063b6b412ba14610276578063bc74aab014610292578063daafed40146102b0578063de7b5d14146102ce578063f83d08ba146102ec5761010b565b80635ab1bd5314610212578063644c45e014610230578063893d20e81461024e578063a69df4b51461026c5761010b565b80631bdd6b76116100de5780631bdd6b761461019a57806321df0da7146101b857806331b62a3b146101d65780633bc5de30146101f45761010b565b806301ffc9a714610110578063132996041461014057806315dae03e1461015e5780631aa3a0081461017c575b600080fd5b61012a60048036038101906101259190610f1c565b6102f6565b6040516101379190610f64565b60405180910390f35b61014861035d565b6040516101559190610fc0565b60405180910390f35b610166610387565b6040516101739190611023565b60405180910390f35b610184610396565b6040516101919190611087565b60405180910390f35b6101a261063a565b6040516101af9190611087565b60405180910390f35b6101c06106fd565b6040516101cd91906110f7565b60405180910390f35b6101de610727565b6040516101eb9190611087565b60405180910390f35b6101fc61074f565b60405161020991906111a2565b60405180910390f35b61021a610766565b60405161022791906111e5565b60405180910390f35b61023861078e565b6040516102459190611087565b60405180910390f35b61025661082f565b6040516102639190610fc0565b60405180910390f35b6102746109ae565b005b610290600480360381019061028b9190611332565b610ab2565b005b61029a610bba565b6040516102a791906113e1565b60405180910390f35b6102b8610c6f565b6040516102c591906113e1565b60405180910390f35b6102d6610d24565b6040516102e3919061141d565b60405180910390f35b6102f4610d4e565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610391610e52565b905090565b60006103a061082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461040d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104049061146f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff160361049c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610493906114db565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016105179190610fc0565b602060405180830381865afa158015610534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105589190611527565b610597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058e906115c6565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016105f29190611607565b6020604051808303816000875af1158015610611573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610635919061164e565b905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016106b79190610fc0565b602060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f8919061164e565b905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016107e99190610fc0565b602060405180830381865afa158015610806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082a919061164e565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161088b9190610fc0565b602060405180830381865afa1580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc919061164e565b90506108df816108da610e63565b610e68565b1561090d577f00000000000000000000000000000000000000000000000000000000000000009150506109ab565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016109669190611087565b602060405180830381865afa158015610983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a791906116a7565b9150505b90565b6109b661082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a90611720565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f6c493c306040518263ffffffff1660e01b8152600401610a7e9190611607565b600060405180830381600087803b158015610a9857600080fd5b505af1158015610aac573d6000803e3d6000fd5b50505050565b610aba61082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e90611720565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6b412ba83836040518363ffffffff1660e01b8152600401610b84929190611740565b600060405180830381600087803b158015610b9e57600080fd5b505af1158015610bb2573d6000803e3d6000fd5b505050505050565b610bc2610e9b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610c0861078e565b6040518263ffffffff1660e01b8152600401610c249190611087565b61012060405180830381865afa158015610c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6691906118d6565b60a00151905090565b610c77610e9b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610cbd61078e565b6040518263ffffffff1660e01b8152600401610cd99190611087565b61012060405180830381865afa158015610cf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1b91906118d6565b60c00151905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d5661082f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba90611720565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f435f5a7306040518263ffffffff1660e01b8152600401610e1e9190611607565b600060405180830381600087803b158015610e3857600080fd5b505af1158015610e4c573d6000803e3d6000fd5b50505050565b6000610e5e6064610e91565b905090565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b6000819050919050565b604051806040016040528060008152602001600081525090565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610ef981610ec4565b8114610f0457600080fd5b50565b600081359050610f1681610ef0565b92915050565b600060208284031215610f3257610f31610ebf565b5b6000610f4084828501610f07565b91505092915050565b60008115159050919050565b610f5e81610f49565b82525050565b6000602082019050610f796000830184610f55565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610faa82610f7f565b9050919050565b610fba81610f9f565b82525050565b6000602082019050610fd56000830184610fb1565b92915050565b600060ff82169050919050565b6000819050919050565b600061100d61100861100384610fdb565b610fe8565b610fdb565b9050919050565b61101d81610ff2565b82525050565b60006020820190506110386000830184611014565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061107161106c6110678461103e565b610fe8565b61103e565b9050919050565b61108181611056565b82525050565b600060208201905061109c6000830184611078565b92915050565b60006110bd6110b86110b384610f7f565b610fe8565b610f7f565b9050919050565b60006110cf826110a2565b9050919050565b60006110e1826110c4565b9050919050565b6110f1816110d6565b82525050565b600060208201905061110c60008301846110e8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561114c578082015181840152602081019050611131565b60008484015250505050565b6000601f19601f8301169050919050565b600061117482611112565b61117e818561111d565b935061118e81856020860161112e565b61119781611158565b840191505092915050565b600060208201905081810360008301526111bc8184611169565b905092915050565b60006111cf826110c4565b9050919050565b6111df816111c4565b82525050565b60006020820190506111fa60008301846111d6565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61123d82611158565b810181811067ffffffffffffffff8211171561125c5761125b611205565b5b80604052505050565b600061126f610eb5565b905061127b8282611234565b919050565b6000819050919050565b61129381611280565b811461129e57600080fd5b50565b6000813590506112b08161128a565b92915050565b6112bf81611280565b81146112ca57600080fd5b50565b6000813590506112dc816112b6565b92915050565b6000604082840312156112f8576112f7611200565b5b6113026040611265565b90506000611312848285016112a1565b6000830152506020611326848285016112cd565b60208301525092915050565b6000806080838503121561134957611348610ebf565b5b6000611357858286016112e2565b9250506040611368858286016112e2565b9150509250929050565b600061138d61138861138384611280565b610fe8565b611280565b9050919050565b61139d81611372565b82525050565b6113ac81611280565b82525050565b6040820160008201516113c86000850182611394565b5060208201516113db60208501826113a3565b50505050565b60006040820190506113f660008301846113b2565b92915050565b6000611407826110c4565b9050919050565b611417816113fc565b82525050565b6000602082019050611432600083018461140e565b92915050565b600082825260208201905092915050565b50565b6000611459600083611438565b915061146482611449565b600082019050919050565b600060208201905081810360008301526114888161144c565b9050919050565b7f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000600082015250565b60006114c5601b83611438565b91506114d08261148f565b602082019050919050565b600060208201905081810360008301526114f4816114b8565b9050919050565b61150481610f49565b811461150f57600080fd5b50565b600081519050611521816114fb565b92915050565b60006020828403121561153d5761153c610ebf565b5b600061154b84828501611512565b91505092915050565b7f4552524f523a434f423a494e5354414e43455f4e4f545f52454749535445524560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006115b0602183611438565b91506115bb82611554565b604082019050919050565b600060208201905081810360008301526115df816115a3565b9050919050565b60006115f1826110c4565b9050919050565b611601816115e6565b82525050565b600060208201905061161c60008301846115f8565b92915050565b61162b8161103e565b811461163657600080fd5b50565b60008151905061164881611622565b92915050565b60006020828403121561166457611663610ebf565b5b600061167284828501611639565b91505092915050565b61168481610f9f565b811461168f57600080fd5b50565b6000815190506116a18161167b565b92915050565b6000602082840312156116bd576116bc610ebf565b5b60006116cb84828501611692565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b600061170a601783611438565b9150611715826116d4565b602082019050919050565b60006020820190508181036000830152611739816116fd565b9050919050565b600060808201905061175560008301856113b2565b61176260408301846113b2565b9392505050565b600061177482610f9f565b9050919050565b61178481611769565b811461178f57600080fd5b50565b6000815190506117a18161177b565b92915050565b6000815190506117b68161128a565b92915050565b6000815190506117cb816112b6565b92915050565b6000604082840312156117e7576117e6611200565b5b6117f16040611265565b90506000611801848285016117a7565b6000830152506020611815848285016117bc565b60208301525092915050565b6000610120828403121561183857611837611200565b5b61184260e0611265565b9050600061185284828501611639565b600083015250602061186684828501611639565b602083015250604061187a84828501611639565b604083015250606061188e84828501611792565b60608301525060806118a284828501611692565b60808301525060a06118b6848285016117d1565b60a08301525060e06118ca848285016117d1565b60c08301525092915050565b600061012082840312156118ed576118ec610ebf565b5b60006118fb84828501611821565b9150509291505056fea2646970667358221220acbbc4750de4b3c4126fbf87aeabb71bafab9929d6ee870fff379848f1b6870164736f6c63430008140033",
1095
+ "bytecode": "0x",
1096
+ "deployedBytecode": "0x",
303
1097
  "linkReferences": {},
304
1098
  "deployedLinkReferences": {}
305
1099
  }