@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ceb30b2-601

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +829 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1332 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +592 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +956 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1051 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +817 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1363 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1154 -0
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2719 -1
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1220 -1347
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +586 -56
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1014 -32
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -244
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1092 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +672 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1313 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +712 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1316 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +724 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +701 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +731 -0
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1082 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IProductService.sol/IProductService.json} +178 -157
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1153 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +676 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1598 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +696 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  109. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +421 -284
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +310 -129
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  127. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +165 -0
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  130. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  131. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  132. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +115 -29
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  139. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +271 -0
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  145. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  146. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +187 -167
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  151. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  160. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -216
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  168. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  169. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  171. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  175. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.json +42 -11
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  188. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  191. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  199. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  205. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  206. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  207. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  209. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  213. package/contracts/components/Component.sol +253 -0
  214. package/contracts/components/Distribution.sol +284 -0
  215. package/contracts/components/IComponent.sol +76 -0
  216. package/contracts/components/IDistributionComponent.sol +71 -0
  217. package/contracts/components/IPoolComponent.sol +113 -0
  218. package/contracts/components/IProductComponent.sol +40 -0
  219. package/contracts/components/Pool.sol +302 -0
  220. package/contracts/components/Product.sol +371 -0
  221. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/Cloneable.sol +51 -0
  224. package/contracts/instance/IInstance.sol +99 -1
  225. package/contracts/instance/IInstanceService.sol +63 -0
  226. package/contracts/instance/Instance.sol +169 -243
  227. package/contracts/instance/InstanceAccessManager.sol +417 -178
  228. package/contracts/instance/InstanceReader.sol +116 -34
  229. package/contracts/instance/InstanceService.sol +462 -23
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/ObjectManager.sol +82 -0
  232. package/contracts/instance/base/ComponentService.sol +130 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  234. package/contracts/instance/base/KeyValueStore.sol +13 -52
  235. package/contracts/instance/base/Lifecycle.sol +23 -6
  236. package/contracts/instance/module/IAccess.sol +37 -21
  237. package/contracts/instance/module/IBundle.sol +8 -4
  238. package/contracts/instance/module/IComponents.sol +41 -0
  239. package/contracts/instance/module/IDistribution.sol +2 -0
  240. package/contracts/instance/module/IPolicy.sol +42 -9
  241. package/contracts/instance/module/ISetup.sol +10 -18
  242. package/contracts/instance/module/ITreasury.sol +1 -1
  243. package/contracts/instance/service/ApplicationService.sol +356 -0
  244. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  245. package/contracts/instance/service/BundleService.sol +443 -0
  246. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  247. package/contracts/instance/service/ClaimService.sol +361 -0
  248. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  249. package/contracts/instance/service/DistributionService.sol +431 -0
  250. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  251. package/contracts/instance/service/IApplicationService.sol +78 -0
  252. package/contracts/instance/service/IBundleService.sol +102 -0
  253. package/contracts/instance/service/IClaimService.sol +90 -0
  254. package/contracts/instance/service/IDistributionService.sol +99 -0
  255. package/contracts/instance/service/IPolicyService.sol +80 -0
  256. package/contracts/instance/service/IPoolService.sol +144 -0
  257. package/contracts/instance/service/IProductService.sol +40 -0
  258. package/contracts/instance/service/PolicyService.sol +358 -0
  259. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  260. package/contracts/instance/service/PoolService.sol +349 -0
  261. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  262. package/contracts/instance/service/ProductService.sol +210 -0
  263. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  264. package/contracts/registry/ChainNft.sol +49 -26
  265. package/contracts/registry/IRegistry.sol +53 -25
  266. package/contracts/registry/IRegistryService.sol +53 -16
  267. package/contracts/registry/ITransferInterceptor.sol +1 -0
  268. package/contracts/registry/Registry.sol +289 -313
  269. package/contracts/registry/RegistryAccessManager.sol +216 -0
  270. package/contracts/registry/RegistryService.sol +169 -256
  271. package/contracts/registry/RegistryServiceManager.sol +30 -11
  272. package/contracts/registry/ReleaseManager.sol +324 -0
  273. package/contracts/registry/TokenRegistry.sol +116 -0
  274. package/contracts/shared/ERC165.sol +15 -9
  275. package/contracts/shared/INftOwnable.sol +11 -10
  276. package/contracts/shared/IPolicyHolder.sol +38 -0
  277. package/contracts/shared/IRegisterable.sol +4 -6
  278. package/contracts/shared/IRegistryLinked.sol +11 -0
  279. package/contracts/shared/IService.sol +18 -0
  280. package/contracts/shared/IVersionable.sol +4 -47
  281. package/contracts/shared/NftOwnable.sol +65 -83
  282. package/contracts/shared/PolicyHolder.sol +87 -0
  283. package/contracts/shared/ProxyManager.sol +101 -26
  284. package/contracts/shared/Registerable.sol +25 -39
  285. package/contracts/shared/RegistryLinked.sol +43 -0
  286. package/contracts/shared/Service.sol +72 -0
  287. package/contracts/shared/TokenHandler.sol +13 -7
  288. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  289. package/contracts/shared/Versionable.sol +5 -93
  290. package/contracts/test/TestFee.sol +2 -2
  291. package/contracts/test/TestRegisterable.sol +1 -1
  292. package/contracts/test/TestRoleId.sol +6 -6
  293. package/contracts/test/TestService.sol +6 -7
  294. package/contracts/types/Amount.sol +70 -0
  295. package/contracts/types/Blocknumber.sol +1 -0
  296. package/contracts/types/ClaimId.sol +75 -0
  297. package/contracts/types/DistributorType.sol +2 -2
  298. package/contracts/types/Fee.sol +15 -7
  299. package/contracts/types/NftId.sol +8 -0
  300. package/contracts/types/NftIdSet.sol +26 -24
  301. package/contracts/types/ObjectType.sol +11 -6
  302. package/contracts/types/PayoutId.sol +82 -0
  303. package/contracts/types/Referral.sol +4 -0
  304. package/contracts/types/RoleId.sol +26 -4
  305. package/contracts/types/Seconds.sol +54 -0
  306. package/contracts/types/StateId.sol +11 -2
  307. package/contracts/types/Timestamp.sol +18 -13
  308. package/contracts/types/UFixed.sol +129 -12
  309. package/contracts/types/Version.sol +5 -1
  310. package/package.json +6 -5
  311. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  343. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  346. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  349. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  353. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  354. package/contracts/components/IBaseComponent.sol +0 -19
  355. package/contracts/experiment/errors/Require.sol +0 -38
  356. package/contracts/experiment/errors/Revert.sol +0 -44
  357. package/contracts/experiment/inheritance/A.sol +0 -53
  358. package/contracts/experiment/inheritance/B.sol +0 -28
  359. package/contracts/experiment/inheritance/C.sol +0 -34
  360. package/contracts/experiment/inheritance/IA.sol +0 -13
  361. package/contracts/experiment/inheritance/IB.sol +0 -10
  362. package/contracts/experiment/inheritance/IC.sol +0 -12
  363. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  364. package/contracts/experiment/statemachine/ISM.sol +0 -25
  365. package/contracts/experiment/statemachine/SM.sol +0 -57
  366. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  367. package/contracts/experiment/types/TypeA.sol +0 -47
  368. package/contracts/experiment/types/TypeB.sol +0 -29
  369. package/contracts/instance/AccessManagedSimple.sol +0 -114
  370. package/contracts/instance/AccessManagerSimple.sol +0 -682
  371. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  372. package/contracts/instance/base/IService.sol +0 -15
  373. package/contracts/instance/base/ServiceBase.sol +0 -44
  374. package/contracts/registry/IChainNft.sol +0 -22
@@ -3,21 +3,229 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
18
  {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
19
+ "internalType": "NftId",
20
+ "name": "bundleNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBundleInfo",
25
+ "outputs": [
26
+ {
27
+ "components": [
28
+ {
29
+ "internalType": "NftId",
30
+ "name": "poolNftId",
31
+ "type": "uint96"
32
+ },
33
+ {
34
+ "components": [
35
+ {
36
+ "internalType": "UFixed",
37
+ "name": "fractionalFee",
38
+ "type": "uint256"
39
+ },
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "fixedFee",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "internalType": "struct Fee",
47
+ "name": "fee",
48
+ "type": "tuple"
49
+ },
50
+ {
51
+ "internalType": "bytes",
52
+ "name": "filter",
53
+ "type": "bytes"
54
+ },
55
+ {
56
+ "internalType": "Amount",
57
+ "name": "capitalAmount",
58
+ "type": "uint96"
59
+ },
60
+ {
61
+ "internalType": "Amount",
62
+ "name": "lockedAmount",
63
+ "type": "uint96"
64
+ },
65
+ {
66
+ "internalType": "Amount",
67
+ "name": "feeAmount",
68
+ "type": "uint96"
69
+ },
70
+ {
71
+ "internalType": "Seconds",
72
+ "name": "lifetime",
73
+ "type": "uint40"
74
+ },
75
+ {
76
+ "internalType": "Timestamp",
77
+ "name": "expiredAt",
78
+ "type": "uint40"
79
+ },
80
+ {
81
+ "internalType": "Timestamp",
82
+ "name": "closedAt",
83
+ "type": "uint40"
84
+ }
85
+ ],
86
+ "internalType": "struct IBundle.BundleInfo",
87
+ "name": "info",
88
+ "type": "tuple"
89
+ }
90
+ ],
91
+ "stateMutability": "view",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "inputs": [
96
+ {
97
+ "internalType": "NftId",
98
+ "name": "policyNftId",
99
+ "type": "uint96"
12
100
  },
101
+ {
102
+ "internalType": "ClaimId",
103
+ "name": "claimId",
104
+ "type": "uint16"
105
+ }
106
+ ],
107
+ "name": "getClaimInfo",
108
+ "outputs": [
109
+ {
110
+ "components": [
111
+ {
112
+ "internalType": "Amount",
113
+ "name": "claimAmount",
114
+ "type": "uint96"
115
+ },
116
+ {
117
+ "internalType": "Amount",
118
+ "name": "paidAmount",
119
+ "type": "uint96"
120
+ },
121
+ {
122
+ "internalType": "uint8",
123
+ "name": "payoutsCount",
124
+ "type": "uint8"
125
+ },
126
+ {
127
+ "internalType": "uint8",
128
+ "name": "openPayoutsCount",
129
+ "type": "uint8"
130
+ },
131
+ {
132
+ "internalType": "bytes",
133
+ "name": "data",
134
+ "type": "bytes"
135
+ },
136
+ {
137
+ "internalType": "Timestamp",
138
+ "name": "closedAt",
139
+ "type": "uint40"
140
+ }
141
+ ],
142
+ "internalType": "struct IPolicy.ClaimInfo",
143
+ "name": "info",
144
+ "type": "tuple"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
13
152
  {
14
153
  "internalType": "NftId",
15
- "name": "instanceNftId",
154
+ "name": "policyNftId",
16
155
  "type": "uint96"
156
+ },
157
+ {
158
+ "internalType": "ClaimId",
159
+ "name": "claimId",
160
+ "type": "uint16"
17
161
  }
18
162
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
163
+ "name": "getClaimState",
164
+ "outputs": [
165
+ {
166
+ "internalType": "StateId",
167
+ "name": "state",
168
+ "type": "uint8"
169
+ }
170
+ ],
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ },
174
+ {
175
+ "inputs": [
176
+ {
177
+ "internalType": "NftId",
178
+ "name": "poolNftId",
179
+ "type": "uint96"
180
+ }
181
+ ],
182
+ "name": "getComponentInfo",
183
+ "outputs": [
184
+ {
185
+ "components": [
186
+ {
187
+ "internalType": "string",
188
+ "name": "name",
189
+ "type": "string"
190
+ },
191
+ {
192
+ "internalType": "contract IERC20Metadata",
193
+ "name": "token",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "contract TokenHandler",
198
+ "name": "tokenHandler",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "internalType": "address",
203
+ "name": "wallet",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "Amount",
208
+ "name": "balanceAmount",
209
+ "type": "uint96"
210
+ },
211
+ {
212
+ "internalType": "Amount",
213
+ "name": "feeAmount",
214
+ "type": "uint96"
215
+ },
216
+ {
217
+ "internalType": "bytes",
218
+ "name": "data",
219
+ "type": "bytes"
220
+ }
221
+ ],
222
+ "internalType": "struct IComponents.ComponentInfo",
223
+ "name": "info",
224
+ "type": "tuple"
225
+ }
226
+ ],
227
+ "stateMutability": "view",
228
+ "type": "function"
21
229
  },
22
230
  {
23
231
  "inputs": [
@@ -43,6 +251,81 @@
43
251
  "stateMutability": "view",
44
252
  "type": "function"
45
253
  },
254
+ {
255
+ "inputs": [
256
+ {
257
+ "internalType": "NftId",
258
+ "name": "distributionNftId",
259
+ "type": "uint96"
260
+ }
261
+ ],
262
+ "name": "getDistributionSetupInfo",
263
+ "outputs": [
264
+ {
265
+ "components": [
266
+ {
267
+ "internalType": "NftId",
268
+ "name": "productNftId",
269
+ "type": "uint96"
270
+ },
271
+ {
272
+ "internalType": "contract TokenHandler",
273
+ "name": "tokenHandler",
274
+ "type": "address"
275
+ },
276
+ {
277
+ "components": [
278
+ {
279
+ "internalType": "UFixed",
280
+ "name": "fractionalFee",
281
+ "type": "uint256"
282
+ },
283
+ {
284
+ "internalType": "uint256",
285
+ "name": "fixedFee",
286
+ "type": "uint256"
287
+ }
288
+ ],
289
+ "internalType": "struct Fee",
290
+ "name": "minDistributionOwnerFee",
291
+ "type": "tuple"
292
+ },
293
+ {
294
+ "components": [
295
+ {
296
+ "internalType": "UFixed",
297
+ "name": "fractionalFee",
298
+ "type": "uint256"
299
+ },
300
+ {
301
+ "internalType": "uint256",
302
+ "name": "fixedFee",
303
+ "type": "uint256"
304
+ }
305
+ ],
306
+ "internalType": "struct Fee",
307
+ "name": "distributionFee",
308
+ "type": "tuple"
309
+ },
310
+ {
311
+ "internalType": "address",
312
+ "name": "wallet",
313
+ "type": "address"
314
+ },
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "sumDistributionOwnerFees",
318
+ "type": "uint256"
319
+ }
320
+ ],
321
+ "internalType": "struct ISetup.DistributionSetupInfo",
322
+ "name": "info",
323
+ "type": "tuple"
324
+ }
325
+ ],
326
+ "stateMutability": "view",
327
+ "type": "function"
328
+ },
46
329
  {
47
330
  "inputs": [
48
331
  {
@@ -69,6 +352,16 @@
69
352
  "internalType": "bytes",
70
353
  "name": "data",
71
354
  "type": "bytes"
355
+ },
356
+ {
357
+ "internalType": "uint256",
358
+ "name": "sumCommisions",
359
+ "type": "uint256"
360
+ },
361
+ {
362
+ "internalType": "uint256",
363
+ "name": "numPoliciesSold",
364
+ "type": "uint256"
72
365
  }
73
366
  ],
74
367
  "internalType": "struct IDistribution.DistributorInfo",
@@ -158,19 +451,6 @@
158
451
  "stateMutability": "view",
159
452
  "type": "function"
160
453
  },
161
- {
162
- "inputs": [],
163
- "name": "getInstanceNftId",
164
- "outputs": [
165
- {
166
- "internalType": "NftId",
167
- "name": "nftId",
168
- "type": "uint96"
169
- }
170
- ],
171
- "stateMutability": "view",
172
- "type": "function"
173
- },
174
454
  {
175
455
  "inputs": [],
176
456
  "name": "getInstanceStore",
@@ -278,9 +558,9 @@
278
558
  "type": "uint256"
279
559
  },
280
560
  {
281
- "internalType": "uint256",
561
+ "internalType": "Seconds",
282
562
  "name": "lifetime",
283
- "type": "uint256"
563
+ "type": "uint40"
284
564
  },
285
565
  {
286
566
  "internalType": "bytes",
@@ -303,9 +583,14 @@
303
583
  "type": "uint16"
304
584
  },
305
585
  {
306
- "internalType": "uint256",
586
+ "internalType": "Amount",
587
+ "name": "claimAmount",
588
+ "type": "uint96"
589
+ },
590
+ {
591
+ "internalType": "Amount",
307
592
  "name": "payoutAmount",
308
- "type": "uint256"
593
+ "type": "uint96"
309
594
  },
310
595
  {
311
596
  "internalType": "Timestamp",
@@ -331,6 +616,110 @@
331
616
  "stateMutability": "view",
332
617
  "type": "function"
333
618
  },
619
+ {
620
+ "inputs": [
621
+ {
622
+ "internalType": "NftId",
623
+ "name": "policyNftId",
624
+ "type": "uint96"
625
+ }
626
+ ],
627
+ "name": "getPolicyState",
628
+ "outputs": [
629
+ {
630
+ "internalType": "StateId",
631
+ "name": "state",
632
+ "type": "uint8"
633
+ }
634
+ ],
635
+ "stateMutability": "view",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "NftId",
642
+ "name": "productNftId",
643
+ "type": "uint96"
644
+ }
645
+ ],
646
+ "name": "getProductSetupInfo",
647
+ "outputs": [
648
+ {
649
+ "components": [
650
+ {
651
+ "internalType": "contract IERC20Metadata",
652
+ "name": "token",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "contract TokenHandler",
657
+ "name": "tokenHandler",
658
+ "type": "address"
659
+ },
660
+ {
661
+ "internalType": "NftId",
662
+ "name": "distributionNftId",
663
+ "type": "uint96"
664
+ },
665
+ {
666
+ "internalType": "NftId",
667
+ "name": "poolNftId",
668
+ "type": "uint96"
669
+ },
670
+ {
671
+ "components": [
672
+ {
673
+ "internalType": "UFixed",
674
+ "name": "fractionalFee",
675
+ "type": "uint256"
676
+ },
677
+ {
678
+ "internalType": "uint256",
679
+ "name": "fixedFee",
680
+ "type": "uint256"
681
+ }
682
+ ],
683
+ "internalType": "struct Fee",
684
+ "name": "productFee",
685
+ "type": "tuple"
686
+ },
687
+ {
688
+ "components": [
689
+ {
690
+ "internalType": "UFixed",
691
+ "name": "fractionalFee",
692
+ "type": "uint256"
693
+ },
694
+ {
695
+ "internalType": "uint256",
696
+ "name": "fixedFee",
697
+ "type": "uint256"
698
+ }
699
+ ],
700
+ "internalType": "struct Fee",
701
+ "name": "processingFee",
702
+ "type": "tuple"
703
+ },
704
+ {
705
+ "internalType": "bool",
706
+ "name": "isIntercepting",
707
+ "type": "bool"
708
+ },
709
+ {
710
+ "internalType": "address",
711
+ "name": "wallet",
712
+ "type": "address"
713
+ }
714
+ ],
715
+ "internalType": "struct ISetup.ProductSetupInfo",
716
+ "name": "info",
717
+ "type": "tuple"
718
+ }
719
+ ],
720
+ "stateMutability": "view",
721
+ "type": "function"
722
+ },
334
723
  {
335
724
  "inputs": [
336
725
  {
@@ -580,6 +969,57 @@
580
969
  "stateMutability": "view",
581
970
  "type": "function"
582
971
  },
972
+ {
973
+ "inputs": [
974
+ {
975
+ "internalType": "address",
976
+ "name": "instance",
977
+ "type": "address"
978
+ }
979
+ ],
980
+ "name": "initialize",
981
+ "outputs": [],
982
+ "stateMutability": "nonpayable",
983
+ "type": "function"
984
+ },
985
+ {
986
+ "inputs": [
987
+ {
988
+ "internalType": "NftId",
989
+ "name": "poolNftId",
990
+ "type": "uint96"
991
+ }
992
+ ],
993
+ "name": "toBundleKey",
994
+ "outputs": [
995
+ {
996
+ "internalType": "Key32",
997
+ "name": "",
998
+ "type": "bytes32"
999
+ }
1000
+ ],
1001
+ "stateMutability": "pure",
1002
+ "type": "function"
1003
+ },
1004
+ {
1005
+ "inputs": [
1006
+ {
1007
+ "internalType": "NftId",
1008
+ "name": "distributionNftId",
1009
+ "type": "uint96"
1010
+ }
1011
+ ],
1012
+ "name": "toDistributionKey",
1013
+ "outputs": [
1014
+ {
1015
+ "internalType": "Key32",
1016
+ "name": "",
1017
+ "type": "bytes32"
1018
+ }
1019
+ ],
1020
+ "stateMutability": "pure",
1021
+ "type": "function"
1022
+ },
583
1023
  {
584
1024
  "inputs": [
585
1025
  {
@@ -637,6 +1077,44 @@
637
1077
  "stateMutability": "pure",
638
1078
  "type": "function"
639
1079
  },
1080
+ {
1081
+ "inputs": [
1082
+ {
1083
+ "internalType": "NftId",
1084
+ "name": "poolNftId",
1085
+ "type": "uint96"
1086
+ }
1087
+ ],
1088
+ "name": "toPoolKey",
1089
+ "outputs": [
1090
+ {
1091
+ "internalType": "Key32",
1092
+ "name": "",
1093
+ "type": "bytes32"
1094
+ }
1095
+ ],
1096
+ "stateMutability": "pure",
1097
+ "type": "function"
1098
+ },
1099
+ {
1100
+ "inputs": [
1101
+ {
1102
+ "internalType": "NftId",
1103
+ "name": "productNftId",
1104
+ "type": "uint96"
1105
+ }
1106
+ ],
1107
+ "name": "toProductKey",
1108
+ "outputs": [
1109
+ {
1110
+ "internalType": "Key32",
1111
+ "name": "",
1112
+ "type": "bytes32"
1113
+ }
1114
+ ],
1115
+ "stateMutability": "pure",
1116
+ "type": "function"
1117
+ },
640
1118
  {
641
1119
  "inputs": [
642
1120
  {
@@ -705,14 +1183,26 @@
705
1183
  "type": "function"
706
1184
  }
707
1185
  ],
708
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620024c4380380620024c48339810160408190526200003491620002e0565b6001600160a01b038216620000905760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620000e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200010f919062000329565b6200015d5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640162000087565b6001600160601b03818116600160a01b9081026001600160a01b0385811682811760008181556040516305247a1760e51b81529590910490951660048501529116179063a48f42e090602401600060405180830381865afa158015620001c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001f1919081019062000461565b90506200021781604001516200020c620002a660201b60201c565b60ff90811691161490565b6200026f5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840162000087565b60800151600180546001600160a01b039092166001600160a01b031992831681179091556002805490921617905550620005479050565b604690565b80516001600160a01b0381168114620002c357600080fd5b919050565b80516001600160601b0381168114620002c357600080fd5b60008060408385031215620002f457600080fd5b620002ff83620002ab565b91506200030f60208401620002c8565b90509250929050565b80518015158114620002c357600080fd5b6000602082840312156200033c57600080fd5b620003478262000318565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200038957620003896200034e565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620003ba57620003ba6200034e565b604052919050565b805160ff81168114620002c357600080fd5b600082601f830112620003e657600080fd5b81516001600160401b038111156200040257620004026200034e565b602062000418601f8301601f191682016200038f565b82815285828487010111156200042d57600080fd5b60005b838110156200044d57858101830151828201840152820162000430565b506000928101909101919091529392505050565b6000602082840312156200047457600080fd5b81516001600160401b03808211156200048c57600080fd5b9083019060e08286031215620004a157600080fd5b620004ab62000364565b620004b683620002c8565b8152620004c660208401620002c8565b6020820152620004d960408401620003c2565b6040820152620004ec6060840162000318565b6060820152620004ff60808401620002ab565b60808201526200051260a08401620002ab565b60a082015260c0830151828111156200052a57600080fd5b6200053887828601620003d4565b60c08301525095945050505050565b611f6d80620005576000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063887b1fa9116100a2578063bd7d9d8511610071578063bd7d9d8514610306578063d06458c614610326578063d4cda0d814610346578063de7b5d1414610357578063f2b246c31461036857600080fd5b8063887b1fa914610224578063a310e2a314610244578063a5961b4c1461026f578063b82d7ef5146102dc57600080fd5b80633f093cd6116100e95780633f093cd61461019457806344aa6836146101c057806364eb3a9b146101d35780637e54602a146101e65780637e798669146101f957600080fd5b80631488c8451461011b5780631d3be4771461014157806325d037431461016157806327b1d79214610174575b600080fd5b61012e6101293660046110b8565b610388565b6040519081526020015b60405180910390f35b61015461014f366004611107565b61040e565b6040516101389190611174565b61012e61016f366004611224565b610560565b610187610182366004611224565b610600565b6040516101389190611241565b6101a76101a23660046113a6565b6106ba565b6040516001600160c01b03199091168152602001610138565b61012e6101ce366004611438565b610737565b61012e6101e1366004611224565b610772565b61012e6101f4366004611224565b61079f565b600054600160a01b90046001600160601b03166040516001600160601b039091168152602001610138565b610237610232366004611107565b6107cc565b6040516101389190611451565b610257610252366004611224565b6108f5565b6040516001600160a01b039091168152602001610138565b61028261027d366004611438565b6109a3565b6040516101389190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6102ef6102ea366004611107565b610a37565b6040805192835260ff909116602083015201610138565b610319610314366004611224565b610cdf565b604051610138919061147f565b610339610334366004611107565b610dfd565b60405161013891906115d7565b6002546001600160a01b0316610257565b6001546001600160a01b0316610257565b61037b610376366004611224565b610f70565b6040516101389190611687565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af41580156103e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610407919061178c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156104b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d9919061178c565b6040518263ffffffff1660e01b81526004016104f791815260200190565b600060405180830381865afa158015610514573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261053c91908101906117ea565b80519091501561055a57808060200190518101906104079190611860565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156105d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa919061178c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6106398561079f565b6040518263ffffffff1660e01b815260040161065791815260200190565b600060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069c91908101906117ea565b80519091501561055a57808060200190518101906104079190611959565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906106f690869086906004016119ff565b602060405180830381865af4158015610713573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104079190611a21565b604051632255341b60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa6836906024016105b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610589565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610589565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610850573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610874919061178c565b6040518263ffffffff1660e01b815260040161089291815260200190565b600060405180830381865afa1580156108af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108d791908101906117ea565b80519091501561055a57808060200190518101906104079190611a3e565b60025460009081906001600160a01b03166354f6127f61091485610560565b6040518263ffffffff1660e01b815260040161093291815260200190565b600060405180830381865afa15801561094f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261097791908101906117ea565b80519091501561055a576000818060200190518101906109979190611b0d565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610a13573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190611bed565b6000806000610a458461040e565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac89190611c84565b15610b475773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3a919061178c565b60645b9250925050915091565b610bcb8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611c9f565b64ffffffffff90811691161090565b15610c445773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d919061178c565b606e610b3d565b806060015163ffffffff16816080015163ffffffff1610610cd35773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ca8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccc919061178c565b6078610b3d565b6040810151600a610b3d565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f610d7c85610772565b6040518263ffffffff1660e01b8152600401610d9a91815260200190565b600060405180830381865afa158015610db7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ddf91908101906117ea565b80519091501561055a57808060200190518101906104079190611ccc565b610e5c60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef919061178c565b6040518263ffffffff1660e01b8152600401610f0d91815260200190565b600060405180830381865afa158015610f2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5291908101906117ea565b80519091501561055a57808060200190518101906104079190611e40565b61101a604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61103785610560565b6040518263ffffffff1660e01b815260040161105591815260200190565b600060405180830381865afa158015611072573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261109a91908101906117ea565b80519091501561055a57808060200190518101906104079190611b0d565b600080604083850312156110cb57600080fd5b8235915060208301358060000b81146110e357600080fd5b809150509250929050565b6001600160c01b03198116811461110457600080fd5b50565b60006020828403121561111957600080fd5b8135610407816110ee565b60005b8381101561113f578181015183820152602001611127565b50506000910152565b60008151808452611160816020860160208601611124565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526111a4610100840182611148565b90506040840151606084015263ffffffff606085015116608084015260808401516111d760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526112068282611148565b95945050505050565b6001600160601b038116811461110457600080fd5b60006020828403121561123657600080fd5b81356104078161120f565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160608084015261127e6080840182611148565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156112be576112be611286565b60405290565b604080519081016001600160401b03811182821017156112be576112be611286565b60405161014081016001600160401b03811182821017156112be576112be611286565b60405161020081016001600160401b03811182821017156112be576112be611286565b60405161012081016001600160401b03811182821017156112be576112be611286565b604051601f8201601f191681016001600160401b038111828210171561137757611377611286565b604052919050565b60006001600160401b0382111561139857611398611286565b50601f01601f191660200190565b600080604083850312156113b957600080fd5b82356113c48161120f565b915060208301356001600160401b038111156113df57600080fd5b8301601f810185136113f057600080fd5b80356114036113fe8261137f565b61134f565b81815286602083850101111561141857600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561144a57600080fd5b5035919050565b602081526001600160601b0382511660208201526000602083015160408084015261127e6060840182611148565b602081526114996020820183516001600160601b03169052565b600060208301516114b560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261152d610220860184611148565b9250808601519050610140601f19868503018187015261154d8483611148565b9350808701519150506101606115688187018361ffff169052565b860151905061018061157f8682018361ffff169052565b8601516101a08681019190915286015190506101c06115a68187018364ffffffffff169052565b86015190506101e06115c08682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60208152600082516101208060208501526115f6610140850183611148565b9150602085015160408501526040850151606085015260608501516080850152608085015161162d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006116638187018315159052565b860151858403601f190183870152905061167d8382611148565b9695505050505050565b81516001600160a01b03168152610200810160208301516116b360208401826001600160a01b03169052565b5060408301516116ce60408401826001600160601b03169052565b5060608301516116e960608401826001600160601b03169052565b506080830151611706608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061173c8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a08501526101209094015180516101c0850152909301516101e090920191909152919050565b60006020828403121561179e57600080fd5b5051919050565b600082601f8301126117b657600080fd5b81516117c46113fe8261137f565b8181528460208386010111156117d957600080fd5b61127e826020830160208701611124565b6000602082840312156117fc57600080fd5b81516001600160401b0381111561181257600080fd5b61127e848285016117a5565b80516118298161120f565b919050565b63ffffffff8116811461110457600080fd5b80516118298161182e565b805164ffffffffff8116811461182957600080fd5b60006020828403121561187257600080fd5b81516001600160401b038082111561188957600080fd5b9083019060e0828603121561189d57600080fd5b6118a561129c565b6118ae8361181e565b81526020830151828111156118c257600080fd5b6118ce878286016117a5565b602083015250604083015160408201526118ea60608401611840565b60608201526118fb60808401611840565b608082015261190c60a0840161184b565b60a082015260c08301518281111561192357600080fd5b61192f878286016117a5565b60c08301525095945050505050565b8051611829816110ee565b8051801515811461182957600080fd5b60006020828403121561196b57600080fd5b81516001600160401b038082111561198257600080fd5b908301906060828603121561199657600080fd5b6040516060810181811083821117156119b1576119b1611286565b60405282516119bf816110ee565b81526119cd60208401611949565b60208201526040830151828111156119e457600080fd5b6119f0878286016117a5565b60408301525095945050505050565b6001600160601b038316815260406020820152600061127e6040830184611148565b600060208284031215611a3357600080fd5b8151610407816110ee565b600060208284031215611a5057600080fd5b81516001600160401b0380821115611a6757600080fd5b9083019060408286031215611a7b57600080fd5b611a836112c4565b8251611a8e8161120f565b8152602083015182811115611aa257600080fd5b611aae878286016117a5565b60208301525095945050505050565b6001600160a01b038116811461110457600080fd5b805161182981611abd565b600060408284031215611aef57600080fd5b611af76112c4565b9050815181526020820151602082015292915050565b60006102008284031215611b2057600080fd5b611b286112e6565b611b3183611ad2565b8152611b3f60208401611ad2565b6020820152611b506040840161181e565b6040820152611b616060840161181e565b6060820152611b738460808501611add565b6080820152611b858460c08501611add565b60a0820152610100611b9985828601611add565b60c0830152611bac856101408601611add565b60e0830152611bbf856101808601611add565b90820152611bd1846101c08501611add565b6101208201529392505050565b60ff8116811461110457600080fd5b600060a08284031215611bff57600080fd5b60405160a081018181106001600160401b0382111715611c2157611c21611286565b6040528251611c2f81611bde565b81526020830151611c3f81611bde565b60208201526040830151611c5281611abd565b60408201526060830151611c658161182e565b60608201526080830151611c788161182e565b60808201529392505050565b600060208284031215611c9657600080fd5b61040782611949565b600060208284031215611cb157600080fd5b6104078261184b565b805161ffff8116811461182957600080fd5b600060208284031215611cde57600080fd5b81516001600160401b0380821115611cf557600080fd5b908301906102008286031215611d0a57600080fd5b611d12611309565b611d1b8361181e565b8152611d296020840161181e565b6020820152611d3a6040840161193e565b6040820152611d4b6060840161193e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115611d8c57600080fd5b611d98888287016117a5565b8284015250506101208084015183811115611db257600080fd5b611dbe888287016117a5565b8284015250506101409150611dd4828401611cba565b828201526101609150611de8828401611cba565b82820152610180915081830151828201526101a09150611e0982840161184b565b828201526101c09150611e1d82840161184b565b828201526101e09150611e3182840161184b565b91810191909152949350505050565b600060208284031215611e5257600080fd5b81516001600160401b0380821115611e6957600080fd5b908301906101208286031215611e7e57600080fd5b611e8661132c565b825182811115611e9557600080fd5b611ea1878286016117a5565b825250602083015160208201526040830151604082015260608301516060820152611ece60808401611840565b6080820152611edf60a08401611840565b60a0820152611ef060c08401611949565b60c0820152611f0160e08401611949565b60e08201526101008084015183811115611f1a57600080fd5b611f26888287016117a5565b91830191909152509594505050505056fea264697066735822122042758ecb9e797d2c81d4cc12d8f6e745b0b61b6f8856c08b4a698b74f08f23ce64736f6c63430008140033",
709
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063887b1fa9116100a2578063bd7d9d8511610071578063bd7d9d8514610306578063d06458c614610326578063d4cda0d814610346578063de7b5d1414610357578063f2b246c31461036857600080fd5b8063887b1fa914610224578063a310e2a314610244578063a5961b4c1461026f578063b82d7ef5146102dc57600080fd5b80633f093cd6116100e95780633f093cd61461019457806344aa6836146101c057806364eb3a9b146101d35780637e54602a146101e65780637e798669146101f957600080fd5b80631488c8451461011b5780631d3be4771461014157806325d037431461016157806327b1d79214610174575b600080fd5b61012e6101293660046110b8565b610388565b6040519081526020015b60405180910390f35b61015461014f366004611107565b61040e565b6040516101389190611174565b61012e61016f366004611224565b610560565b610187610182366004611224565b610600565b6040516101389190611241565b6101a76101a23660046113a6565b6106ba565b6040516001600160c01b03199091168152602001610138565b61012e6101ce366004611438565b610737565b61012e6101e1366004611224565b610772565b61012e6101f4366004611224565b61079f565b600054600160a01b90046001600160601b03166040516001600160601b039091168152602001610138565b610237610232366004611107565b6107cc565b6040516101389190611451565b610257610252366004611224565b6108f5565b6040516001600160a01b039091168152602001610138565b61028261027d366004611438565b6109a3565b6040516101389190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6102ef6102ea366004611107565b610a37565b6040805192835260ff909116602083015201610138565b610319610314366004611224565b610cdf565b604051610138919061147f565b610339610334366004611107565b610dfd565b60405161013891906115d7565b6002546001600160a01b0316610257565b6001546001600160a01b0316610257565b61037b610376366004611224565b610f70565b6040516101389190611687565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af41580156103e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610407919061178c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156104b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d9919061178c565b6040518263ffffffff1660e01b81526004016104f791815260200190565b600060405180830381865afa158015610514573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261053c91908101906117ea565b80519091501561055a57808060200190518101906104079190611860565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156105d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa919061178c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6106398561079f565b6040518263ffffffff1660e01b815260040161065791815260200190565b600060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069c91908101906117ea565b80519091501561055a57808060200190518101906104079190611959565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906106f690869086906004016119ff565b602060405180830381865af4158015610713573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104079190611a21565b604051632255341b60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa6836906024016105b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610589565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610589565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610850573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610874919061178c565b6040518263ffffffff1660e01b815260040161089291815260200190565b600060405180830381865afa1580156108af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108d791908101906117ea565b80519091501561055a57808060200190518101906104079190611a3e565b60025460009081906001600160a01b03166354f6127f61091485610560565b6040518263ffffffff1660e01b815260040161093291815260200190565b600060405180830381865afa15801561094f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261097791908101906117ea565b80519091501561055a576000818060200190518101906109979190611b0d565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610a13573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190611bed565b6000806000610a458461040e565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac89190611c84565b15610b475773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3a919061178c565b60645b9250925050915091565b610bcb8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611c9f565b64ffffffffff90811691161090565b15610c445773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d919061178c565b606e610b3d565b806060015163ffffffff16816080015163ffffffff1610610cd35773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ca8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccc919061178c565b6078610b3d565b6040810151600a610b3d565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f610d7c85610772565b6040518263ffffffff1660e01b8152600401610d9a91815260200190565b600060405180830381865afa158015610db7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ddf91908101906117ea565b80519091501561055a57808060200190518101906104079190611ccc565b610e5c60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef919061178c565b6040518263ffffffff1660e01b8152600401610f0d91815260200190565b600060405180830381865afa158015610f2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5291908101906117ea565b80519091501561055a57808060200190518101906104079190611e40565b61101a604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61103785610560565b6040518263ffffffff1660e01b815260040161105591815260200190565b600060405180830381865afa158015611072573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261109a91908101906117ea565b80519091501561055a57808060200190518101906104079190611b0d565b600080604083850312156110cb57600080fd5b8235915060208301358060000b81146110e357600080fd5b809150509250929050565b6001600160c01b03198116811461110457600080fd5b50565b60006020828403121561111957600080fd5b8135610407816110ee565b60005b8381101561113f578181015183820152602001611127565b50506000910152565b60008151808452611160816020860160208601611124565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526111a4610100840182611148565b90506040840151606084015263ffffffff606085015116608084015260808401516111d760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526112068282611148565b95945050505050565b6001600160601b038116811461110457600080fd5b60006020828403121561123657600080fd5b81356104078161120f565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160608084015261127e6080840182611148565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156112be576112be611286565b60405290565b604080519081016001600160401b03811182821017156112be576112be611286565b60405161014081016001600160401b03811182821017156112be576112be611286565b60405161020081016001600160401b03811182821017156112be576112be611286565b60405161012081016001600160401b03811182821017156112be576112be611286565b604051601f8201601f191681016001600160401b038111828210171561137757611377611286565b604052919050565b60006001600160401b0382111561139857611398611286565b50601f01601f191660200190565b600080604083850312156113b957600080fd5b82356113c48161120f565b915060208301356001600160401b038111156113df57600080fd5b8301601f810185136113f057600080fd5b80356114036113fe8261137f565b61134f565b81815286602083850101111561141857600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561144a57600080fd5b5035919050565b602081526001600160601b0382511660208201526000602083015160408084015261127e6060840182611148565b602081526114996020820183516001600160601b03169052565b600060208301516114b560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261152d610220860184611148565b9250808601519050610140601f19868503018187015261154d8483611148565b9350808701519150506101606115688187018361ffff169052565b860151905061018061157f8682018361ffff169052565b8601516101a08681019190915286015190506101c06115a68187018364ffffffffff169052565b86015190506101e06115c08682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60208152600082516101208060208501526115f6610140850183611148565b9150602085015160408501526040850151606085015260608501516080850152608085015161162d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006116638187018315159052565b860151858403601f190183870152905061167d8382611148565b9695505050505050565b81516001600160a01b03168152610200810160208301516116b360208401826001600160a01b03169052565b5060408301516116ce60408401826001600160601b03169052565b5060608301516116e960608401826001600160601b03169052565b506080830151611706608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061173c8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a08501526101209094015180516101c0850152909301516101e090920191909152919050565b60006020828403121561179e57600080fd5b5051919050565b600082601f8301126117b657600080fd5b81516117c46113fe8261137f565b8181528460208386010111156117d957600080fd5b61127e826020830160208701611124565b6000602082840312156117fc57600080fd5b81516001600160401b0381111561181257600080fd5b61127e848285016117a5565b80516118298161120f565b919050565b63ffffffff8116811461110457600080fd5b80516118298161182e565b805164ffffffffff8116811461182957600080fd5b60006020828403121561187257600080fd5b81516001600160401b038082111561188957600080fd5b9083019060e0828603121561189d57600080fd5b6118a561129c565b6118ae8361181e565b81526020830151828111156118c257600080fd5b6118ce878286016117a5565b602083015250604083015160408201526118ea60608401611840565b60608201526118fb60808401611840565b608082015261190c60a0840161184b565b60a082015260c08301518281111561192357600080fd5b61192f878286016117a5565b60c08301525095945050505050565b8051611829816110ee565b8051801515811461182957600080fd5b60006020828403121561196b57600080fd5b81516001600160401b038082111561198257600080fd5b908301906060828603121561199657600080fd5b6040516060810181811083821117156119b1576119b1611286565b60405282516119bf816110ee565b81526119cd60208401611949565b60208201526040830151828111156119e457600080fd5b6119f0878286016117a5565b60408301525095945050505050565b6001600160601b038316815260406020820152600061127e6040830184611148565b600060208284031215611a3357600080fd5b8151610407816110ee565b600060208284031215611a5057600080fd5b81516001600160401b0380821115611a6757600080fd5b9083019060408286031215611a7b57600080fd5b611a836112c4565b8251611a8e8161120f565b8152602083015182811115611aa257600080fd5b611aae878286016117a5565b60208301525095945050505050565b6001600160a01b038116811461110457600080fd5b805161182981611abd565b600060408284031215611aef57600080fd5b611af76112c4565b9050815181526020820151602082015292915050565b60006102008284031215611b2057600080fd5b611b286112e6565b611b3183611ad2565b8152611b3f60208401611ad2565b6020820152611b506040840161181e565b6040820152611b616060840161181e565b6060820152611b738460808501611add565b6080820152611b858460c08501611add565b60a0820152610100611b9985828601611add565b60c0830152611bac856101408601611add565b60e0830152611bbf856101808601611add565b90820152611bd1846101c08501611add565b6101208201529392505050565b60ff8116811461110457600080fd5b600060a08284031215611bff57600080fd5b60405160a081018181106001600160401b0382111715611c2157611c21611286565b6040528251611c2f81611bde565b81526020830151611c3f81611bde565b60208201526040830151611c5281611abd565b60408201526060830151611c658161182e565b60608201526080830151611c788161182e565b60808201529392505050565b600060208284031215611c9657600080fd5b61040782611949565b600060208284031215611cb157600080fd5b6104078261184b565b805161ffff8116811461182957600080fd5b600060208284031215611cde57600080fd5b81516001600160401b0380821115611cf557600080fd5b908301906102008286031215611d0a57600080fd5b611d12611309565b611d1b8361181e565b8152611d296020840161181e565b6020820152611d3a6040840161193e565b6040820152611d4b6060840161193e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115611d8c57600080fd5b611d98888287016117a5565b8284015250506101208084015183811115611db257600080fd5b611dbe888287016117a5565b8284015250506101409150611dd4828401611cba565b828201526101609150611de8828401611cba565b82820152610180915081830151828201526101a09150611e0982840161184b565b828201526101c09150611e1d82840161184b565b828201526101e09150611e3182840161184b565b91810191909152949350505050565b600060208284031215611e5257600080fd5b81516001600160401b0380821115611e6957600080fd5b908301906101208286031215611e7e57600080fd5b611e8661132c565b825182811115611e9557600080fd5b611ea1878286016117a5565b825250602083015160208201526040830151604082015260608301516060820152611ece60808401611840565b6080820152611edf60a08401611840565b60a0820152611ef060c08401611949565b60c0820152611f0160e08401611949565b60e08201526101008084015183811115611f1a57600080fd5b611f26888287016117a5565b91830191909152509594505050505056fea264697066735822122042758ecb9e797d2c81d4cc12d8f6e745b0b61b6f8856c08b4a698b74f08f23ce64736f6c63430008140033",
1186
+ "bytecode": "0x608060405234801561001057600080fd5b5061312f806100206000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806390af706411610104578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d141461055a578063f0ea17c314610570578063f2b246c314610590578063f7f318d3146105b057600080fd5b8063c4d66de814610501578063d06458c614610516578063d4cda0d814610536578063dd26287a1461054757600080fd5b8063a5961b4c116100de578063a5961b4c1461042a578063a7ef3d2114610497578063b82d7ef5146104b7578063bd7d9d85146104e157600080fd5b806390af7064146103505780639ad69c6714610370578063a310e2a3146103ff57600080fd5b80634793b4ab116101715780637bfd32171161014b5780637bfd3217146102f75780637e54602a1461030a578063887b1fa91461031d5780639096a1f31461033d57600080fd5b80634793b4ab1461029f57806364eb3a9b146102bf57806378ae9350146102d257600080fd5b806327b1d792116101ad57806327b1d7921461022d57806335898f5d1461024d5780633f093cd61461026057806344aa68361461028c57600080fd5b80631488c845146101d45780631d3be477146101fa57806325d037431461021a575b600080fd5b6101e76101e2366004611b2e565b6105c3565b6040519081526020015b60405180910390f35b61020d610208366004611b7d565b61064b565b6040516101f19190611bea565b6101e7610228366004611c9b565b6107a4565b61024061023b366004611c9b565b61083e565b6040516101f19190611cb8565b6101e761025b366004611c9b565b61091a565b61027361026e366004611e9d565b610947565b6040516001600160c01b031990911681526020016101f1565b6101e761029a366004611f2f565b6109c4565b6102b26102ad366004611c9b565b6109ff565b6040516101f19190611f48565b6101e76102cd366004611c9b565b610aa5565b6102e56102e036600461203b565b610ad2565b60405160ff90911681526020016101f1565b6101e7610305366004611c9b565b610bd1565b6101e7610318366004611c9b565b610bfe565b61033061032b366004611b7d565b610c2b565b6040516101f19190612069565b6102e561034b366004611c9b565b610d54565b61036361035e366004611c9b565b610dd3565b6040516101f1919061209f565b61038361037e366004611c9b565b610e79565b6040516101f1919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61041261040d366004611c9b565b610f1f565b6040516001600160a01b0390911681526020016101f1565b61043d610438366004611f2f565b610fcd565b6040516101f19190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a536600461203b565b611061565b6040516101f1919061214c565b6104ca6104c5366004611b7d565b6111be565b6040805192835260ff9091166020830152016101f1565b6104f46104ef366004611c9b565b611466565b6040516101f191906121c0565b61051461050f36600461234e565b61158c565b005b610529610524366004611b7d565b61161b565b6040516101f1919061236b565b6001546001600160a01b0316610412565b6101e7610555366004611c9b565b61178e565b60005461010090046001600160a01b0316610412565b61058361057e366004611c9b565b6117bb565b6040516101f1919061241b565b6105a361059e366004611c9b565b611890565b6040516101f1919061249c565b6101e76105be366004611c9b565b6119d8565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561061e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061259e565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610716919061259e565b6040518263ffffffff1660e01b815260040161073491815260200190565b600060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261077991908101906125fc565b80519091501561079e5780806020019051810190610797919061267b565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561081a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061259e565b61087c6040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61089985610bfe565b6040518263ffffffff1660e01b81526004016108b791815260200190565b600060405180830381865afa1580156108d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108fc91908101906125fc565b80519091501561079e57808060200190518101906107979190612774565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786107cd565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610983908690869060040161281b565b602060405180830381865af41580156109a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061283d565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107fd565b610a07611a05565b6001546000906001600160a01b03166354f6127f610a24856119d8565b6040518263ffffffff1660e01b8152600401610a4291815260200190565b600060405180830381865afa158015610a5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a8791908101906125fc565b80519091501561079e5780806020019051810190610797919061288a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36107cd565b60008054604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526101009091046001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af4158015610b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b72919061259e565b6040518263ffffffff1660e01b8152600401610b9091815260200190565b602060405180830381865afa158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064291906129a0565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6107cd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6107cd565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd3919061259e565b6040518263ffffffff1660e01b8152600401610cf191815260200190565b600060405180830381865afa158015610d0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3691908101906125fc565b80519091501561079e578080602001905181019061079791906129bd565b6000805461010090046001600160a01b03166309648a9d610d7484610aa5565b6040518263ffffffff1660e01b8152600401610d9291815260200190565b602060405180830381865afa158015610daf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064591906129a0565b610ddb611a76565b6001546000906001600160a01b03166354f6127f610df885610bd1565b6040518263ffffffff1660e01b8152600401610e1691815260200190565b600060405180830381865afa158015610e33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e5b91908101906125fc565b80519091501561079e57808060200190518101906107979190612a47565b610e81611ae6565b6001546000906001600160a01b03166354f6127f610e9e8561091a565b6040518263ffffffff1660e01b8152600401610ebc91815260200190565b600060405180830381865afa158015610ed9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f0191908101906125fc565b80519091501561079e57808060200190518101906107979190612aef565b60015460009081906001600160a01b03166354f6127f610f3e856107a4565b6040518263ffffffff1660e01b8152600401610f5c91815260200190565b600060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fa191908101906125fc565b80519091501561079e57600081806020019051810190610fc19190612b73565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190612c44565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af415801561110a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112e919061259e565b6040518263ffffffff1660e01b815260040161114c91815260200190565b600060405180830381865afa158015611169573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261119191908101906125fc565b8051909150156111b757808060200190518101906111af9190612cbe565b915050610645565b5092915050565b60008060006111cc8461064b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124f9190612d85565b156112ce5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c1919061259e565b60645b9250925050915091565b6113528160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561131f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113439190612da0565b64ffffffffff90811691161090565b156113cb5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156113a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c4919061259e565b606e6112c4565b806060015163ffffffff16816080015163ffffffff161061145a5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561142f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611453919061259e565b60786112c4565b6040810151600a6112c4565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f61150b85610aa5565b6040518263ffffffff1660e01b815260040161152991815260200190565b600060405180830381865afa158015611546573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261156e91908101906125fc565b80519091501561079e57808060200190518101906107979190612dc8565b60005460ff16156115b05760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b0381166115d757604051630cc51a5560e21b815260040160405180910390fd5b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61167a60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156116e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170d919061259e565b6040518263ffffffff1660e01b815260040161172b91815260200190565b600060405180830381865afa158015611748573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261177091908101906125fc565b80519091501561079e57808060200190518101906107979190612f4f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6107cd565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f61180f8561178e565b6040518263ffffffff1660e01b815260040161182d91815260200190565b600060405180830381865afa15801561184a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261187291908101906125fc565b80519091501561079e57808060200190518101906107979190613046565b61193a604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611957856107a4565b6040518263ffffffff1660e01b815260040161197591815260200190565b600060405180830381865afa158015611992573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119ba91908101906125fc565b80519091501561079e57808060200190518101906107979190612b73565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6107cd565b60405180610120016040528060006001600160601b03168152602001611a3e604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611ad2604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611ab0604051806040016040528060008152602001600081525090565b60008060408385031215611b4157600080fd5b8235915060208301358060000b8114611b5957600080fd5b809150509250929050565b6001600160c01b031981168114611b7a57600080fd5b50565b600060208284031215611b8f57600080fd5b813561079781611b64565b60005b83811015611bb5578181015183820152602001611b9d565b50506000910152565b60008151808452611bd6816020860160208601611b9a565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c1a610100840182611bbe565b90506040840151606084015263ffffffff60608501511660808401526080840151611c4d60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611c7d8282611bbe565b95945050505050565b6001600160601b0381168114611b7a57600080fd5b600060208284031215611cad57600080fd5b813561079781611c86565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611cf660c0840182611bbe565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d4e57611d4e611d16565b60405290565b60405160a081016001600160401b0381118282101715611d4e57611d4e611d16565b604080519081016001600160401b0381118282101715611d4e57611d4e611d16565b60405161012081016001600160401b0381118282101715611d4e57611d4e611d16565b60405161010081016001600160401b0381118282101715611d4e57611d4e611d16565b60405160c081016001600160401b0381118282101715611d4e57611d4e611d16565b60405161014081016001600160401b0381118282101715611d4e57611d4e611d16565b60405161022081016001600160401b0381118282101715611d4e57611d4e611d16565b604051601f8201601f191681016001600160401b0381118282101715611e6e57611e6e611d16565b604052919050565b60006001600160401b03821115611e8f57611e8f611d16565b50601f01601f191660200190565b60008060408385031215611eb057600080fd5b8235611ebb81611c86565b915060208301356001600160401b03811115611ed657600080fd5b8301601f81018513611ee757600080fd5b8035611efa611ef582611e76565b611e46565b818152866020838501011115611f0f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f4157600080fd5b5035919050565b60208152611f626020820183516001600160601b03169052565b60006020830151611f80604084018280518252602090810151910152565b506040830151610140806080850152611f9d610160850183611bbe565b91506060850151611fb960a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611ffe8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff81168114611b7a57600080fd5b6000806040838503121561204e57600080fd5b823561205981611c86565b91506020830135611b598161202b565b602081526001600160601b038251166020820152600060208301516040808401526120976060840182611bbe565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916120ee908401826001600160601b03169052565b50608083015161210b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526111b7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526121a360e0840182611bbe565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526121da6020820183516001600160601b03169052565b600060208301516121f660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010061225b8185018364ffffffffff169052565b80850151915050610220610120818186015261227b610240860184611bbe565b9250808601519050610140601f19868503018187015261229b8483611bbe565b9350808701519150506101606122b68187018361ffff169052565b86015190506101806122cd8682018361ffff169052565b86015190506101a06122e9868201836001600160601b03169052565b86015190506101c0612305868201836001600160601b03169052565b86015190506101e061231f8682018364ffffffffff169052565b86015190506102006120148682018364ffffffffff169052565b6001600160a01b0381168114611b7a57600080fd5b60006020828403121561236057600080fd5b813561079781612339565b602081526000825161012080602085015261238a610140850183611bbe565b915060208501516040850152604085015160608501526060850151608085015260808501516123c160a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123f78187018315159052565b860151858403601f19018387015290506124118382611bbe565b9695505050505050565b602081526000825160e06020840152612438610100840182611bbe565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161248260a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611c61565b81516001600160a01b03168152610200810160208301516124c860208401826001600160a01b03169052565b5060408301516124e360408401826001600160601b03169052565b5060608301516124fe60608401826001600160601b03169052565b50608083015161251b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006125518185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506111b7565b6000602082840312156125b057600080fd5b5051919050565b600082601f8301126125c857600080fd5b81516125d6611ef582611e76565b8181528460208386010111156125eb57600080fd5b612097826020830160208701611b9a565b60006020828403121561260e57600080fd5b81516001600160401b0381111561262457600080fd5b612097848285016125b7565b805161263b81611c86565b919050565b63ffffffff81168114611b7a57600080fd5b805161263b81612640565b64ffffffffff81168114611b7a57600080fd5b805161263b8161265d565b60006020828403121561268d57600080fd5b81516001600160401b03808211156126a457600080fd5b9083019060e082860312156126b857600080fd5b6126c0611d2c565b6126c983612630565b81526020830151828111156126dd57600080fd5b6126e9878286016125b7565b6020830152506040830151604082015261270560608401612652565b606082015261271660808401612652565b608082015261272760a08401612670565b60a082015260c08301518281111561273e57600080fd5b61274a878286016125b7565b60c08301525095945050505050565b805161263b81611b64565b8051801515811461263b57600080fd5b60006020828403121561278657600080fd5b81516001600160401b038082111561279d57600080fd5b9083019060a082860312156127b157600080fd5b6127b9611d54565b82516127c481611b64565b81526127d260208401612764565b60208201526040830151828111156127e957600080fd5b6127f5878286016125b7565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b03831681526040602082015260006120976040830184611bbe565b60006020828403121561284f57600080fd5b815161079781611b64565b60006040828403121561286c57600080fd5b612874611d76565b9050815181526020820151602082015292915050565b60006020828403121561289c57600080fd5b81516001600160401b03808211156128b357600080fd5b9083019061014082860312156128c857600080fd5b6128d0611d98565b6128d983612630565b81526128e8866020850161285a565b60208201526060830151828111156128ff57600080fd5b61290b878286016125b7565b60408301525061291d60808401612630565b606082015261292e60a08401612630565b608082015261293f60c08401612630565b60a082015261295060e08401612670565b60c08201526101009150612965828401612670565b60e08201526129776101208401612670565b91810191909152949350505050565b60ff81168114611b7a57600080fd5b805161263b81612986565b6000602082840312156129b257600080fd5b815161079781612986565b6000602082840312156129cf57600080fd5b81516001600160401b03808211156129e657600080fd5b90830190604082860312156129fa57600080fd5b612a02611d76565b8251612a0d81611c86565b8152602083015182811115612a2157600080fd5b612a2d878286016125b7565b60208301525095945050505050565b805161263b81612339565b60006101408284031215612a5a57600080fd5b612a62611dbb565b612a6b83612a3c565b8152612a7960208401612a3c565b6020820152612a8a60408401612630565b6040820152612a9b60608401612630565b6060820152612aad846080850161285a565b6080820152612abf8460c0850161285a565b60a0820152612ad16101008401612764565b60c0820152612ae36101208401612a3c565b60e08201529392505050565b60006101008284031215612b0257600080fd5b612b0a611dde565b8251612b1581611c86565b81526020830151612b2581612339565b6020820152612b37846040850161285a565b6040820152612b49846080850161285a565b606082015260c0830151612b5c81612339565b608082015260e0929092015160a083015250919050565b60006102008284031215612b8657600080fd5b612b8e611e00565b612b9783612a3c565b8152612ba560208401612a3c565b6020820152612bb660408401612630565b6040820152612bc760608401612630565b6060820152612bd9846080850161285a565b6080820152612beb8460c0850161285a565b60a0820152610100612bff8582860161285a565b60c0830152612c1285610140860161285a565b60e0830152612c2585610180860161285a565b90820152612c37846101c0850161285a565b6101208201529392505050565b600060a08284031215612c5657600080fd5b612c5e611d54565b8251612c6981612986565b81526020830151612c7981612986565b60208201526040830151612c8c81612339565b60408201526060830151612c9f81612640565b60608201526080830151612cb281612640565b60808201529392505050565b600060208284031215612cd057600080fd5b81516001600160401b0380821115612ce757600080fd5b9083019060c08286031215612cfb57600080fd5b612d03611dde565b8251612d0e81611c86565b81526020830151612d1e81611c86565b60208201526040830151612d3181612986565b6040820152612d4260608401612995565b6060820152608083015182811115612d5957600080fd5b612d65878286016125b7565b608083015250612d7760a08401612670565b60a082015295945050505050565b600060208284031215612d9757600080fd5b61064282612764565b600060208284031215612db257600080fd5b81516107978161265d565b805161263b8161202b565b600060208284031215612dda57600080fd5b81516001600160401b0380821115612df157600080fd5b908301906102208286031215612e0657600080fd5b612e0e611e23565b612e1783612630565b8152612e2560208401612630565b6020820152612e3660408401612759565b6040820152612e4760608401612759565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612e7660e08401612670565b60e08201526101008084015183811115612e8f57600080fd5b612e9b888287016125b7565b8284015250506101208084015183811115612eb557600080fd5b612ec1888287016125b7565b8284015250506101409150612ed7828401612dbd565b828201526101609150612eeb828401612dbd565b828201526101809150612eff828401612630565b828201526101a09150612f13828401612630565b828201526101c09150612f27828401612670565b828201526101e09150612f3b828401612670565b828201526102009150612977828401612670565b600060208284031215612f6157600080fd5b81516001600160401b0380821115612f7857600080fd5b908301906101208286031215612f8d57600080fd5b612f95611d98565b825182811115612fa457600080fd5b612fb0878286016125b7565b825250602083015160208201526040830151604082015260608301516060820152612fdd60808401612652565b6080820152612fee60a08401612652565b60a0820152612fff60c08401612764565b60c082015261301060e08401612764565b60e0820152610100808401518381111561302957600080fd5b613035888287016125b7565b918301919091525095945050505050565b60006020828403121561305857600080fd5b81516001600160401b038082111561306f57600080fd5b9083019060e0828603121561308357600080fd5b61308b611d2c565b82518281111561309a57600080fd5b6130a6878286016125b7565b8252506130b560208401612a3c565b60208201526130c660408401612a3c565b60408201526130d760608401612a3c565b60608201526130e860808401612630565b608082015261272760a0840161263056fea26469706673582212203049f1aa2c4650ee830c03d581866031e6e8073dcf8a79e7cb0696e7a1b3773164736f6c63430008140033",
1187
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806390af706411610104578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d141461055a578063f0ea17c314610570578063f2b246c314610590578063f7f318d3146105b057600080fd5b8063c4d66de814610501578063d06458c614610516578063d4cda0d814610536578063dd26287a1461054757600080fd5b8063a5961b4c116100de578063a5961b4c1461042a578063a7ef3d2114610497578063b82d7ef5146104b7578063bd7d9d85146104e157600080fd5b806390af7064146103505780639ad69c6714610370578063a310e2a3146103ff57600080fd5b80634793b4ab116101715780637bfd32171161014b5780637bfd3217146102f75780637e54602a1461030a578063887b1fa91461031d5780639096a1f31461033d57600080fd5b80634793b4ab1461029f57806364eb3a9b146102bf57806378ae9350146102d257600080fd5b806327b1d792116101ad57806327b1d7921461022d57806335898f5d1461024d5780633f093cd61461026057806344aa68361461028c57600080fd5b80631488c845146101d45780631d3be477146101fa57806325d037431461021a575b600080fd5b6101e76101e2366004611b2e565b6105c3565b6040519081526020015b60405180910390f35b61020d610208366004611b7d565b61064b565b6040516101f19190611bea565b6101e7610228366004611c9b565b6107a4565b61024061023b366004611c9b565b61083e565b6040516101f19190611cb8565b6101e761025b366004611c9b565b61091a565b61027361026e366004611e9d565b610947565b6040516001600160c01b031990911681526020016101f1565b6101e761029a366004611f2f565b6109c4565b6102b26102ad366004611c9b565b6109ff565b6040516101f19190611f48565b6101e76102cd366004611c9b565b610aa5565b6102e56102e036600461203b565b610ad2565b60405160ff90911681526020016101f1565b6101e7610305366004611c9b565b610bd1565b6101e7610318366004611c9b565b610bfe565b61033061032b366004611b7d565b610c2b565b6040516101f19190612069565b6102e561034b366004611c9b565b610d54565b61036361035e366004611c9b565b610dd3565b6040516101f1919061209f565b61038361037e366004611c9b565b610e79565b6040516101f1919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61041261040d366004611c9b565b610f1f565b6040516001600160a01b0390911681526020016101f1565b61043d610438366004611f2f565b610fcd565b6040516101f19190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a536600461203b565b611061565b6040516101f1919061214c565b6104ca6104c5366004611b7d565b6111be565b6040805192835260ff9091166020830152016101f1565b6104f46104ef366004611c9b565b611466565b6040516101f191906121c0565b61051461050f36600461234e565b61158c565b005b610529610524366004611b7d565b61161b565b6040516101f1919061236b565b6001546001600160a01b0316610412565b6101e7610555366004611c9b565b61178e565b60005461010090046001600160a01b0316610412565b61058361057e366004611c9b565b6117bb565b6040516101f1919061241b565b6105a361059e366004611c9b565b611890565b6040516101f1919061249c565b6101e76105be366004611c9b565b6119d8565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561061e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061259e565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610716919061259e565b6040518263ffffffff1660e01b815260040161073491815260200190565b600060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261077991908101906125fc565b80519091501561079e5780806020019051810190610797919061267b565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561081a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061259e565b61087c6040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61089985610bfe565b6040518263ffffffff1660e01b81526004016108b791815260200190565b600060405180830381865afa1580156108d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108fc91908101906125fc565b80519091501561079e57808060200190518101906107979190612774565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786107cd565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610983908690869060040161281b565b602060405180830381865af41580156109a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061283d565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107fd565b610a07611a05565b6001546000906001600160a01b03166354f6127f610a24856119d8565b6040518263ffffffff1660e01b8152600401610a4291815260200190565b600060405180830381865afa158015610a5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a8791908101906125fc565b80519091501561079e5780806020019051810190610797919061288a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36107cd565b60008054604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526101009091046001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af4158015610b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b72919061259e565b6040518263ffffffff1660e01b8152600401610b9091815260200190565b602060405180830381865afa158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064291906129a0565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6107cd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6107cd565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd3919061259e565b6040518263ffffffff1660e01b8152600401610cf191815260200190565b600060405180830381865afa158015610d0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3691908101906125fc565b80519091501561079e578080602001905181019061079791906129bd565b6000805461010090046001600160a01b03166309648a9d610d7484610aa5565b6040518263ffffffff1660e01b8152600401610d9291815260200190565b602060405180830381865afa158015610daf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064591906129a0565b610ddb611a76565b6001546000906001600160a01b03166354f6127f610df885610bd1565b6040518263ffffffff1660e01b8152600401610e1691815260200190565b600060405180830381865afa158015610e33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e5b91908101906125fc565b80519091501561079e57808060200190518101906107979190612a47565b610e81611ae6565b6001546000906001600160a01b03166354f6127f610e9e8561091a565b6040518263ffffffff1660e01b8152600401610ebc91815260200190565b600060405180830381865afa158015610ed9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f0191908101906125fc565b80519091501561079e57808060200190518101906107979190612aef565b60015460009081906001600160a01b03166354f6127f610f3e856107a4565b6040518263ffffffff1660e01b8152600401610f5c91815260200190565b600060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fa191908101906125fc565b80519091501561079e57600081806020019051810190610fc19190612b73565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190612c44565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af415801561110a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112e919061259e565b6040518263ffffffff1660e01b815260040161114c91815260200190565b600060405180830381865afa158015611169573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261119191908101906125fc565b8051909150156111b757808060200190518101906111af9190612cbe565b915050610645565b5092915050565b60008060006111cc8461064b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124f9190612d85565b156112ce5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c1919061259e565b60645b9250925050915091565b6113528160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561131f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113439190612da0565b64ffffffffff90811691161090565b156113cb5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156113a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c4919061259e565b606e6112c4565b806060015163ffffffff16816080015163ffffffff161061145a5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561142f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611453919061259e565b60786112c4565b6040810151600a6112c4565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f61150b85610aa5565b6040518263ffffffff1660e01b815260040161152991815260200190565b600060405180830381865afa158015611546573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261156e91908101906125fc565b80519091501561079e57808060200190518101906107979190612dc8565b60005460ff16156115b05760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b0381166115d757604051630cc51a5560e21b815260040160405180910390fd5b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61167a60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156116e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170d919061259e565b6040518263ffffffff1660e01b815260040161172b91815260200190565b600060405180830381865afa158015611748573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261177091908101906125fc565b80519091501561079e57808060200190518101906107979190612f4f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6107cd565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f61180f8561178e565b6040518263ffffffff1660e01b815260040161182d91815260200190565b600060405180830381865afa15801561184a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261187291908101906125fc565b80519091501561079e57808060200190518101906107979190613046565b61193a604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611957856107a4565b6040518263ffffffff1660e01b815260040161197591815260200190565b600060405180830381865afa158015611992573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119ba91908101906125fc565b80519091501561079e57808060200190518101906107979190612b73565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6107cd565b60405180610120016040528060006001600160601b03168152602001611a3e604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611ad2604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611ab0604051806040016040528060008152602001600081525090565b60008060408385031215611b4157600080fd5b8235915060208301358060000b8114611b5957600080fd5b809150509250929050565b6001600160c01b031981168114611b7a57600080fd5b50565b600060208284031215611b8f57600080fd5b813561079781611b64565b60005b83811015611bb5578181015183820152602001611b9d565b50506000910152565b60008151808452611bd6816020860160208601611b9a565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c1a610100840182611bbe565b90506040840151606084015263ffffffff60608501511660808401526080840151611c4d60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611c7d8282611bbe565b95945050505050565b6001600160601b0381168114611b7a57600080fd5b600060208284031215611cad57600080fd5b813561079781611c86565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611cf660c0840182611bbe565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d4e57611d4e611d16565b60405290565b60405160a081016001600160401b0381118282101715611d4e57611d4e611d16565b604080519081016001600160401b0381118282101715611d4e57611d4e611d16565b60405161012081016001600160401b0381118282101715611d4e57611d4e611d16565b60405161010081016001600160401b0381118282101715611d4e57611d4e611d16565b60405160c081016001600160401b0381118282101715611d4e57611d4e611d16565b60405161014081016001600160401b0381118282101715611d4e57611d4e611d16565b60405161022081016001600160401b0381118282101715611d4e57611d4e611d16565b604051601f8201601f191681016001600160401b0381118282101715611e6e57611e6e611d16565b604052919050565b60006001600160401b03821115611e8f57611e8f611d16565b50601f01601f191660200190565b60008060408385031215611eb057600080fd5b8235611ebb81611c86565b915060208301356001600160401b03811115611ed657600080fd5b8301601f81018513611ee757600080fd5b8035611efa611ef582611e76565b611e46565b818152866020838501011115611f0f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f4157600080fd5b5035919050565b60208152611f626020820183516001600160601b03169052565b60006020830151611f80604084018280518252602090810151910152565b506040830151610140806080850152611f9d610160850183611bbe565b91506060850151611fb960a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611ffe8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff81168114611b7a57600080fd5b6000806040838503121561204e57600080fd5b823561205981611c86565b91506020830135611b598161202b565b602081526001600160601b038251166020820152600060208301516040808401526120976060840182611bbe565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916120ee908401826001600160601b03169052565b50608083015161210b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526111b7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526121a360e0840182611bbe565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526121da6020820183516001600160601b03169052565b600060208301516121f660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010061225b8185018364ffffffffff169052565b80850151915050610220610120818186015261227b610240860184611bbe565b9250808601519050610140601f19868503018187015261229b8483611bbe565b9350808701519150506101606122b68187018361ffff169052565b86015190506101806122cd8682018361ffff169052565b86015190506101a06122e9868201836001600160601b03169052565b86015190506101c0612305868201836001600160601b03169052565b86015190506101e061231f8682018364ffffffffff169052565b86015190506102006120148682018364ffffffffff169052565b6001600160a01b0381168114611b7a57600080fd5b60006020828403121561236057600080fd5b813561079781612339565b602081526000825161012080602085015261238a610140850183611bbe565b915060208501516040850152604085015160608501526060850151608085015260808501516123c160a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123f78187018315159052565b860151858403601f19018387015290506124118382611bbe565b9695505050505050565b602081526000825160e06020840152612438610100840182611bbe565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161248260a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611c61565b81516001600160a01b03168152610200810160208301516124c860208401826001600160a01b03169052565b5060408301516124e360408401826001600160601b03169052565b5060608301516124fe60608401826001600160601b03169052565b50608083015161251b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006125518185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506111b7565b6000602082840312156125b057600080fd5b5051919050565b600082601f8301126125c857600080fd5b81516125d6611ef582611e76565b8181528460208386010111156125eb57600080fd5b612097826020830160208701611b9a565b60006020828403121561260e57600080fd5b81516001600160401b0381111561262457600080fd5b612097848285016125b7565b805161263b81611c86565b919050565b63ffffffff81168114611b7a57600080fd5b805161263b81612640565b64ffffffffff81168114611b7a57600080fd5b805161263b8161265d565b60006020828403121561268d57600080fd5b81516001600160401b03808211156126a457600080fd5b9083019060e082860312156126b857600080fd5b6126c0611d2c565b6126c983612630565b81526020830151828111156126dd57600080fd5b6126e9878286016125b7565b6020830152506040830151604082015261270560608401612652565b606082015261271660808401612652565b608082015261272760a08401612670565b60a082015260c08301518281111561273e57600080fd5b61274a878286016125b7565b60c08301525095945050505050565b805161263b81611b64565b8051801515811461263b57600080fd5b60006020828403121561278657600080fd5b81516001600160401b038082111561279d57600080fd5b9083019060a082860312156127b157600080fd5b6127b9611d54565b82516127c481611b64565b81526127d260208401612764565b60208201526040830151828111156127e957600080fd5b6127f5878286016125b7565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b03831681526040602082015260006120976040830184611bbe565b60006020828403121561284f57600080fd5b815161079781611b64565b60006040828403121561286c57600080fd5b612874611d76565b9050815181526020820151602082015292915050565b60006020828403121561289c57600080fd5b81516001600160401b03808211156128b357600080fd5b9083019061014082860312156128c857600080fd5b6128d0611d98565b6128d983612630565b81526128e8866020850161285a565b60208201526060830151828111156128ff57600080fd5b61290b878286016125b7565b60408301525061291d60808401612630565b606082015261292e60a08401612630565b608082015261293f60c08401612630565b60a082015261295060e08401612670565b60c08201526101009150612965828401612670565b60e08201526129776101208401612670565b91810191909152949350505050565b60ff81168114611b7a57600080fd5b805161263b81612986565b6000602082840312156129b257600080fd5b815161079781612986565b6000602082840312156129cf57600080fd5b81516001600160401b03808211156129e657600080fd5b90830190604082860312156129fa57600080fd5b612a02611d76565b8251612a0d81611c86565b8152602083015182811115612a2157600080fd5b612a2d878286016125b7565b60208301525095945050505050565b805161263b81612339565b60006101408284031215612a5a57600080fd5b612a62611dbb565b612a6b83612a3c565b8152612a7960208401612a3c565b6020820152612a8a60408401612630565b6040820152612a9b60608401612630565b6060820152612aad846080850161285a565b6080820152612abf8460c0850161285a565b60a0820152612ad16101008401612764565b60c0820152612ae36101208401612a3c565b60e08201529392505050565b60006101008284031215612b0257600080fd5b612b0a611dde565b8251612b1581611c86565b81526020830151612b2581612339565b6020820152612b37846040850161285a565b6040820152612b49846080850161285a565b606082015260c0830151612b5c81612339565b608082015260e0929092015160a083015250919050565b60006102008284031215612b8657600080fd5b612b8e611e00565b612b9783612a3c565b8152612ba560208401612a3c565b6020820152612bb660408401612630565b6040820152612bc760608401612630565b6060820152612bd9846080850161285a565b6080820152612beb8460c0850161285a565b60a0820152610100612bff8582860161285a565b60c0830152612c1285610140860161285a565b60e0830152612c2585610180860161285a565b90820152612c37846101c0850161285a565b6101208201529392505050565b600060a08284031215612c5657600080fd5b612c5e611d54565b8251612c6981612986565b81526020830151612c7981612986565b60208201526040830151612c8c81612339565b60408201526060830151612c9f81612640565b60608201526080830151612cb281612640565b60808201529392505050565b600060208284031215612cd057600080fd5b81516001600160401b0380821115612ce757600080fd5b9083019060c08286031215612cfb57600080fd5b612d03611dde565b8251612d0e81611c86565b81526020830151612d1e81611c86565b60208201526040830151612d3181612986565b6040820152612d4260608401612995565b6060820152608083015182811115612d5957600080fd5b612d65878286016125b7565b608083015250612d7760a08401612670565b60a082015295945050505050565b600060208284031215612d9757600080fd5b61064282612764565b600060208284031215612db257600080fd5b81516107978161265d565b805161263b8161202b565b600060208284031215612dda57600080fd5b81516001600160401b0380821115612df157600080fd5b908301906102208286031215612e0657600080fd5b612e0e611e23565b612e1783612630565b8152612e2560208401612630565b6020820152612e3660408401612759565b6040820152612e4760608401612759565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612e7660e08401612670565b60e08201526101008084015183811115612e8f57600080fd5b612e9b888287016125b7565b8284015250506101208084015183811115612eb557600080fd5b612ec1888287016125b7565b8284015250506101409150612ed7828401612dbd565b828201526101609150612eeb828401612dbd565b828201526101809150612eff828401612630565b828201526101a09150612f13828401612630565b828201526101c09150612f27828401612670565b828201526101e09150612f3b828401612670565b828201526102009150612977828401612670565b600060208284031215612f6157600080fd5b81516001600160401b0380821115612f7857600080fd5b908301906101208286031215612f8d57600080fd5b612f95611d98565b825182811115612fa457600080fd5b612fb0878286016125b7565b825250602083015160208201526040830151604082015260608301516060820152612fdd60808401612652565b6080820152612fee60a08401612652565b60a0820152612fff60c08401612764565b60c082015261301060e08401612764565b60e0820152610100808401518381111561302957600080fd5b613035888287016125b7565b918301919091525095945050505050565b60006020828403121561305857600080fd5b81516001600160401b038082111561306f57600080fd5b9083019060e0828603121561308357600080fd5b61308b611d2c565b82518281111561309a57600080fd5b6130a6878286016125b7565b8252506130b560208401612a3c565b60208201526130c660408401612a3c565b60408201526130d760608401612a3c565b60608201526130e860808401612630565b608082015261272760a0840161263056fea26469706673582212203049f1aa2c4650ee830c03d581866031e6e8073dcf8a79e7cb0696e7a1b3773164736f6c63430008140033",
710
1188
  "linkReferences": {
1189
+ "contracts/types/ClaimId.sol": {
1190
+ "ClaimIdLib": [
1191
+ {
1192
+ "length": 20,
1193
+ "start": 2868
1194
+ },
1195
+ {
1196
+ "length": 20,
1197
+ "start": 4336
1198
+ }
1199
+ ]
1200
+ },
711
1201
  "contracts/types/DistributorType.sol": {
712
1202
  "DistributorTypeLib": [
713
1203
  {
714
1204
  "length": 20,
715
- "start": 5096
1205
+ "start": 5839
716
1206
  }
717
1207
  ]
718
1208
  },
@@ -720,19 +1210,31 @@
720
1210
  "NftIdLib": [
721
1211
  {
722
1212
  "length": 20,
723
- "start": 174
1213
+ "start": 1992
724
1214
  },
725
1215
  {
726
1216
  "length": 20,
727
- "start": 2747
1217
+ "start": 2366
728
1218
  },
729
1219
  {
730
1220
  "length": 20,
731
- "start": 3277
1221
+ "start": 2761
732
1222
  },
733
1223
  {
734
1224
  "length": 20,
735
- "start": 3322
1225
+ "start": 3061
1226
+ },
1227
+ {
1228
+ "length": 20,
1229
+ "start": 3106
1230
+ },
1231
+ {
1232
+ "length": 20,
1233
+ "start": 6066
1234
+ },
1235
+ {
1236
+ "length": 20,
1237
+ "start": 6652
736
1238
  }
737
1239
  ]
738
1240
  },
@@ -740,11 +1242,11 @@
740
1242
  "ReferralLib": [
741
1243
  {
742
1244
  "length": 20,
743
- "start": 2514
1245
+ "start": 1752
744
1246
  },
745
1247
  {
746
1248
  "length": 20,
747
- "start": 3107
1249
+ "start": 2425
748
1250
  }
749
1251
  ]
750
1252
  },
@@ -752,7 +1254,7 @@
752
1254
  "RiskIdLib": [
753
1255
  {
754
1256
  "length": 20,
755
- "start": 3437
1257
+ "start": 3221
756
1258
  }
757
1259
  ]
758
1260
  },
@@ -760,45 +1262,57 @@
760
1262
  "TimestampLib": [
761
1263
  {
762
1264
  "length": 20,
763
- "start": 4033
1265
+ "start": 4625
764
1266
  },
765
1267
  {
766
1268
  "length": 20,
767
- "start": 4264
1269
+ "start": 4856
768
1270
  }
769
1271
  ]
770
1272
  },
771
1273
  "contracts/types/UFixed.sol": {
772
- "UFixedMathLib": [
1274
+ "UFixedLib": [
773
1275
  {
774
1276
  "length": 20,
775
- "start": 2304
1277
+ "start": 1540
776
1278
  },
777
1279
  {
778
1280
  "length": 20,
779
- "start": 3239
1281
+ "start": 2557
780
1282
  },
781
1283
  {
782
1284
  "length": 20,
783
- "start": 4134
1285
+ "start": 4726
784
1286
  },
785
1287
  {
786
1288
  "length": 20,
787
- "start": 4393
1289
+ "start": 4985
788
1290
  },
789
1291
  {
790
1292
  "length": 20,
791
- "start": 4536
1293
+ "start": 5128
792
1294
  }
793
1295
  ]
794
1296
  }
795
1297
  },
796
1298
  "deployedLinkReferences": {
1299
+ "contracts/types/ClaimId.sol": {
1300
+ "ClaimIdLib": [
1301
+ {
1302
+ "length": 20,
1303
+ "start": 2836
1304
+ },
1305
+ {
1306
+ "length": 20,
1307
+ "start": 4304
1308
+ }
1309
+ ]
1310
+ },
797
1311
  "contracts/types/DistributorType.sol": {
798
1312
  "DistributorTypeLib": [
799
1313
  {
800
1314
  "length": 20,
801
- "start": 3729
1315
+ "start": 5807
802
1316
  }
803
1317
  ]
804
1318
  },
@@ -806,15 +1320,31 @@
806
1320
  "NftIdLib": [
807
1321
  {
808
1322
  "length": 20,
809
- "start": 1380
1323
+ "start": 1960
1324
+ },
1325
+ {
1326
+ "length": 20,
1327
+ "start": 2334
1328
+ },
1329
+ {
1330
+ "length": 20,
1331
+ "start": 2729
810
1332
  },
811
1333
  {
812
1334
  "length": 20,
813
- "start": 1910
1335
+ "start": 3029
814
1336
  },
815
1337
  {
816
1338
  "length": 20,
817
- "start": 1955
1339
+ "start": 3074
1340
+ },
1341
+ {
1342
+ "length": 20,
1343
+ "start": 6034
1344
+ },
1345
+ {
1346
+ "length": 20,
1347
+ "start": 6620
818
1348
  }
819
1349
  ]
820
1350
  },
@@ -822,11 +1352,11 @@
822
1352
  "ReferralLib": [
823
1353
  {
824
1354
  "length": 20,
825
- "start": 1147
1355
+ "start": 1720
826
1356
  },
827
1357
  {
828
1358
  "length": 20,
829
- "start": 1740
1359
+ "start": 2393
830
1360
  }
831
1361
  ]
832
1362
  },
@@ -834,7 +1364,7 @@
834
1364
  "RiskIdLib": [
835
1365
  {
836
1366
  "length": 20,
837
- "start": 2070
1367
+ "start": 3189
838
1368
  }
839
1369
  ]
840
1370
  },
@@ -842,35 +1372,35 @@
842
1372
  "TimestampLib": [
843
1373
  {
844
1374
  "length": 20,
845
- "start": 2666
1375
+ "start": 4593
846
1376
  },
847
1377
  {
848
1378
  "length": 20,
849
- "start": 2897
1379
+ "start": 4824
850
1380
  }
851
1381
  ]
852
1382
  },
853
1383
  "contracts/types/UFixed.sol": {
854
- "UFixedMathLib": [
1384
+ "UFixedLib": [
855
1385
  {
856
1386
  "length": 20,
857
- "start": 937
1387
+ "start": 1508
858
1388
  },
859
1389
  {
860
1390
  "length": 20,
861
- "start": 1872
1391
+ "start": 2525
862
1392
  },
863
1393
  {
864
1394
  "length": 20,
865
- "start": 2767
1395
+ "start": 4694
866
1396
  },
867
1397
  {
868
1398
  "length": 20,
869
- "start": 3026
1399
+ "start": 4953
870
1400
  },
871
1401
  {
872
1402
  "length": 20,
873
- "start": 3169
1403
+ "start": 5096
874
1404
  }
875
1405
  ]
876
1406
  }