@etherisc/gif-next 0.0.2-e026265-044 → 0.0.2-e04dbfc-031

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. package/README.md +59 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1023 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +495 -254
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +273 -16
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +391 -199
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +139 -15
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +188 -447
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +261 -27
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +125 -365
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +485 -283
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +159 -109
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +133 -183
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +314 -86
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1491 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2048 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1447 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1671 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2448 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +224 -45
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +143 -98
  73. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  74. package/artifacts/contracts/instance/Instance.sol/Instance.json +243 -133
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +734 -324
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +205 -90
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1026 -298
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +171 -283
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +96 -96
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +640 -493
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +139 -335
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +243 -29
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +128 -126
  114. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  116. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +115 -303
  118. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +169 -190
  120. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +130 -88
  122. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +162 -387
  124. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +261 -27
  126. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +343 -200
  128. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +149 -95
  130. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +206 -29
  132. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +143 -195
  134. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +464 -312
  136. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  137. package/artifacts/contracts/pool/Pool.sol/Pool.json +128 -370
  138. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +472 -0
  140. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +683 -530
  142. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +179 -97
  144. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +208 -176
  146. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +108 -90
  148. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +258 -396
  150. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +261 -27
  152. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +431 -234
  154. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +148 -114
  156. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +136 -9
  158. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
  160. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
  162. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
  164. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +250 -198
  166. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  167. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
  168. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +465 -307
  170. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +727 -0
  172. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +145 -99
  174. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.json +263 -308
  176. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +128 -122
  178. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  179. package/artifacts/contracts/product/Product.sol/Product.json +256 -394
  180. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  182. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  184. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +370 -22
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +72 -152
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  192. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  194. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/Registry.sol/Registry.json +597 -80
  196. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +641 -369
  198. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  215. package/artifacts/contracts/shared/Component.sol/Component.json +76 -265
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +557 -512
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +138 -110
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +533 -233
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +117 -126
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +104 -303
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  258. package/artifacts/contracts/shared/{NftIdSetManager.sol/NftIdSetManager.json → NftIdSet.sol/NftIdSet.json} +4 -4
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  267. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +196 -122
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +151 -19
  279. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  280. package/artifacts/contracts/staking/Staking.sol/Staking.json +293 -365
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +135 -92
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +31 -63
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +220 -167
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +111 -85
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +192 -132
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +69 -23
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  302. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  304. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  306. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  308. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  310. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  312. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  314. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  316. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  318. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  320. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  322. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  324. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  326. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  330. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  332. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  334. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  336. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  339. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +52 -2
  341. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  343. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  345. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  346. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  347. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  349. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  350. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  351. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  352. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  353. package/contracts/accounting/AccountingService.sol +261 -0
  354. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  355. package/contracts/accounting/IAccountingService.sol +45 -0
  356. package/contracts/authorization/AccessAdmin.sol +338 -225
  357. package/contracts/authorization/AccessAdminLib.sol +183 -0
  358. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  359. package/contracts/authorization/Authorization.sol +350 -203
  360. package/contracts/authorization/IAccess.sol +1 -0
  361. package/contracts/authorization/IAccessAdmin.sol +69 -35
  362. package/contracts/authorization/IAuthorization.sol +33 -7
  363. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  364. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  365. package/contracts/distribution/BasicDistribution.sol +19 -25
  366. package/contracts/distribution/BasicDistributionAuthorization.sol +26 -9
  367. package/contracts/distribution/Distribution.sol +42 -79
  368. package/contracts/distribution/DistributionService.sol +195 -108
  369. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  370. package/contracts/distribution/IDistributionComponent.sol +9 -14
  371. package/contracts/distribution/IDistributionService.sol +40 -22
  372. package/contracts/examples/fire/DamageLevel.sol +59 -0
  373. package/contracts/examples/fire/FirePool.sol +90 -0
  374. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  375. package/contracts/examples/fire/FireProduct.sol +437 -0
  376. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  377. package/contracts/examples/fire/FireUSD.sol +26 -0
  378. package/contracts/examples/unpermissioned/SimpleDistribution.sol +85 -0
  379. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  380. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  381. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  382. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  384. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  385. package/contracts/instance/BundleSet.sol +130 -0
  386. package/contracts/instance/IInstance.sol +67 -48
  387. package/contracts/instance/IInstanceService.sol +26 -34
  388. package/contracts/instance/Instance.sol +114 -72
  389. package/contracts/instance/InstanceAdmin.sol +289 -105
  390. package/contracts/instance/InstanceAuthorizationV3.sol +99 -66
  391. package/contracts/instance/InstanceReader.sol +288 -43
  392. package/contracts/instance/InstanceService.sol +211 -192
  393. package/contracts/instance/InstanceServiceManager.sol +8 -13
  394. package/contracts/instance/InstanceStore.sol +24 -2
  395. package/contracts/instance/RiskSet.sol +118 -0
  396. package/contracts/instance/base/ObjectCounter.sol +1 -2
  397. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  398. package/contracts/instance/base/ObjectSet.sol +77 -0
  399. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  400. package/contracts/instance/module/IBundle.sol +1 -1
  401. package/contracts/instance/module/IComponents.sol +14 -15
  402. package/contracts/instance/module/IDistribution.sol +5 -3
  403. package/contracts/instance/module/IPolicy.sol +26 -25
  404. package/contracts/instance/module/IRisk.sol +3 -0
  405. package/contracts/mock/Dip.sol +1 -1
  406. package/contracts/oracle/BasicOracle.sol +0 -1
  407. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  408. package/contracts/oracle/IOracleComponent.sol +2 -1
  409. package/contracts/oracle/IOracleService.sol +2 -1
  410. package/contracts/oracle/Oracle.sol +21 -22
  411. package/contracts/oracle/OracleService.sol +117 -85
  412. package/contracts/oracle/OracleServiceManager.sol +8 -11
  413. package/contracts/pool/BasicPool.sol +38 -27
  414. package/contracts/pool/BasicPoolAuthorization.sol +36 -9
  415. package/contracts/pool/BundleService.sol +204 -105
  416. package/contracts/pool/BundleServiceManager.sol +8 -11
  417. package/contracts/pool/IBundleService.sol +31 -22
  418. package/contracts/pool/IPoolComponent.sol +20 -10
  419. package/contracts/pool/IPoolService.sol +90 -75
  420. package/contracts/pool/Pool.sol +145 -111
  421. package/contracts/pool/PoolLib.sol +309 -0
  422. package/contracts/pool/PoolService.sol +562 -255
  423. package/contracts/pool/PoolServiceManager.sol +6 -9
  424. package/contracts/product/ApplicationService.sol +102 -78
  425. package/contracts/product/ApplicationServiceManager.sol +6 -6
  426. package/contracts/product/BasicProduct.sol +13 -44
  427. package/contracts/product/BasicProductAuthorization.sol +25 -9
  428. package/contracts/product/ClaimService.sol +373 -175
  429. package/contracts/product/ClaimServiceManager.sol +6 -6
  430. package/contracts/product/IApplicationService.sol +9 -2
  431. package/contracts/product/IClaimService.sol +44 -8
  432. package/contracts/product/IPolicyService.sol +53 -36
  433. package/contracts/product/IPricingService.sol +11 -10
  434. package/contracts/product/IProductComponent.sol +28 -5
  435. package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
  436. package/contracts/product/PolicyService.sol +462 -273
  437. package/contracts/product/PolicyServiceLib.sol +119 -0
  438. package/contracts/product/PolicyServiceManager.sol +6 -9
  439. package/contracts/product/PricingService.sol +71 -62
  440. package/contracts/product/PricingServiceManager.sol +6 -9
  441. package/contracts/product/Product.sol +169 -92
  442. package/contracts/product/RiskService.sol +154 -0
  443. package/contracts/product/RiskServiceManager.sol +39 -0
  444. package/contracts/registry/ChainNft.sol +72 -40
  445. package/contracts/registry/IRegistry.sol +74 -29
  446. package/contracts/registry/IRegistryService.sol +3 -10
  447. package/contracts/registry/IRelease.sol +26 -0
  448. package/contracts/registry/ITransferInterceptor.sol +1 -2
  449. package/contracts/registry/Registry.sol +368 -216
  450. package/contracts/registry/RegistryAdmin.sol +166 -273
  451. package/contracts/registry/RegistryAuthorization.sol +267 -0
  452. package/contracts/registry/RegistryService.sol +41 -66
  453. package/contracts/registry/RegistryServiceManager.sol +5 -5
  454. package/contracts/registry/ReleaseAdmin.sol +253 -0
  455. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  456. package/contracts/registry/ReleaseRegistry.sol +517 -0
  457. package/contracts/registry/ServiceAuthorizationV3.sol +184 -52
  458. package/contracts/registry/TokenRegistry.sol +8 -10
  459. package/contracts/shared/Component.sol +73 -127
  460. package/contracts/shared/ComponentService.sol +459 -344
  461. package/contracts/shared/ComponentServiceManager.sol +10 -7
  462. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  463. package/contracts/shared/ContractLib.sol +281 -0
  464. package/contracts/shared/IComponent.sol +8 -17
  465. package/contracts/shared/IComponentService.sol +47 -39
  466. package/contracts/shared/IInstanceLinkedComponent.sol +7 -27
  467. package/contracts/shared/ILifecycle.sol +3 -1
  468. package/contracts/shared/INftOwnable.sol +2 -0
  469. package/contracts/shared/IPolicyHolder.sol +12 -22
  470. package/contracts/shared/IRegisterable.sol +23 -1
  471. package/contracts/shared/IService.sol +4 -6
  472. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
  473. package/contracts/shared/InstanceLinkedComponent.sol +81 -35
  474. package/contracts/shared/KeyValueStore.sol +1 -1
  475. package/contracts/shared/Lifecycle.sol +15 -4
  476. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  477. package/contracts/shared/NftOwnable.sol +32 -11
  478. package/contracts/shared/PolicyHolder.sol +17 -57
  479. package/contracts/shared/Registerable.sol +52 -21
  480. package/contracts/shared/RegistryLinked.sol +9 -14
  481. package/contracts/shared/Service.sol +18 -36
  482. package/contracts/shared/TokenHandler.sol +310 -26
  483. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  484. package/contracts/staking/IStaking.sol +20 -13
  485. package/contracts/staking/IStakingService.sol +31 -9
  486. package/contracts/staking/Staking.sol +117 -84
  487. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
  488. package/contracts/staking/StakingManager.sol +10 -12
  489. package/contracts/staking/StakingReader.sol +26 -33
  490. package/contracts/staking/StakingService.sol +93 -37
  491. package/contracts/staking/StakingServiceManager.sol +8 -7
  492. package/contracts/staking/StakingStore.sol +14 -23
  493. package/contracts/staking/TargetManagerLib.sol +7 -3
  494. package/contracts/type/Amount.sol +27 -5
  495. package/contracts/type/Blocknumber.sol +7 -1
  496. package/contracts/type/ClaimId.sol +6 -1
  497. package/contracts/type/Key32.sol +2 -2
  498. package/contracts/type/Key32Set.sol +62 -0
  499. package/contracts/type/NftId.sol +7 -0
  500. package/contracts/type/ObjectType.sol +60 -41
  501. package/contracts/type/PayoutId.sol +10 -10
  502. package/contracts/type/Referral.sol +1 -0
  503. package/contracts/type/RiskId.sol +38 -6
  504. package/contracts/type/RoleId.sol +23 -15
  505. package/contracts/type/Seconds.sol +21 -1
  506. package/contracts/type/Selector.sol +5 -0
  507. package/contracts/type/StateId.sol +15 -1
  508. package/contracts/type/Timestamp.sol +10 -5
  509. package/contracts/type/UFixed.sol +35 -122
  510. package/contracts/type/Version.sol +57 -6
  511. package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -38
  512. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  513. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  514. package/package.json +7 -6
  515. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  516. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  517. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  518. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  519. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  520. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
  521. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  522. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -181
  523. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  524. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  525. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  526. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  527. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  528. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  529. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  530. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  531. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1159
  532. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  533. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  534. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  535. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  536. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  537. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  538. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  539. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  540. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  541. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  542. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  543. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -460
  544. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  545. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  546. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  547. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  548. package/contracts/instance/BundleManager.sol +0 -126
  549. package/contracts/instance/base/ObjectManager.sol +0 -79
  550. package/contracts/instance/module/IAccess.sol +0 -46
  551. package/contracts/product/ProductService.sol +0 -124
  552. package/contracts/product/ProductServiceManager.sol +0 -42
  553. package/contracts/registry/ReleaseManager.sol +0 -487
  554. package/contracts/shared/InitializableCustom.sol +0 -177
  555. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [
46
57
  {
@@ -68,6 +79,22 @@
68
79
  "name": "ErrorNftOwnableInitialOwnerZero",
69
80
  "type": "error"
70
81
  },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "nftId",
87
+ "type": "uint96"
88
+ },
89
+ {
90
+ "internalType": "ObjectType",
91
+ "name": "expectedObjectType",
92
+ "type": "uint8"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableInvalidType",
96
+ "type": "error"
97
+ },
71
98
  {
72
99
  "inputs": [
73
100
  {
@@ -90,6 +117,11 @@
90
117
  "name": "ErrorNotRegistry",
91
118
  "type": "error"
92
119
  },
120
+ {
121
+ "inputs": [],
122
+ "name": "ErrorRegisterableNotActive",
123
+ "type": "error"
124
+ },
93
125
  {
94
126
  "inputs": [
95
127
  {
@@ -123,17 +155,6 @@
123
155
  "name": "ErrorRegistryServiceNotComponent",
124
156
  "type": "error"
125
157
  },
126
- {
127
- "inputs": [
128
- {
129
- "internalType": "address",
130
- "name": "notDistribution",
131
- "type": "address"
132
- }
133
- ],
134
- "name": "ErrorRegistryServiceNotDistribution",
135
- "type": "error"
136
- },
137
158
  {
138
159
  "inputs": [
139
160
  {
@@ -149,22 +170,22 @@
149
170
  "inputs": [
150
171
  {
151
172
  "internalType": "address",
152
- "name": "notPool",
173
+ "name": "notProduct",
153
174
  "type": "address"
154
175
  }
155
176
  ],
156
- "name": "ErrorRegistryServiceNotPool",
177
+ "name": "ErrorRegistryServiceNotProduct",
157
178
  "type": "error"
158
179
  },
159
180
  {
160
181
  "inputs": [
161
182
  {
162
183
  "internalType": "address",
163
- "name": "notProduct",
184
+ "name": "notProductLinkedComponent",
164
185
  "type": "address"
165
186
  }
166
187
  ],
167
- "name": "ErrorRegistryServiceNotProduct",
188
+ "name": "ErrorRegistryServiceNotProductLinkedComponent",
168
189
  "type": "error"
169
190
  },
170
191
  {
@@ -335,17 +356,17 @@
335
356
  },
336
357
  {
337
358
  "inputs": [],
338
- "name": "ErrorServiceNotImplemented",
359
+ "name": "InvalidInitialization",
339
360
  "type": "error"
340
361
  },
341
362
  {
342
363
  "inputs": [],
343
- "name": "InvalidInitialization",
364
+ "name": "NotInitializing",
344
365
  "type": "error"
345
366
  },
346
367
  {
347
368
  "inputs": [],
348
- "name": "NotInitializing",
369
+ "name": "ReentrancyGuardReentrantCall",
349
370
  "type": "error"
350
371
  },
351
372
  {
@@ -528,6 +549,19 @@
528
549
  "stateMutability": "view",
529
550
  "type": "function"
530
551
  },
552
+ {
553
+ "inputs": [],
554
+ "name": "getRelease",
555
+ "outputs": [
556
+ {
557
+ "internalType": "VersionPart",
558
+ "name": "release",
559
+ "type": "uint8"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
531
565
  {
532
566
  "inputs": [],
533
567
  "name": "getRoleId",
@@ -538,7 +572,7 @@
538
572
  "type": "uint64"
539
573
  }
540
574
  ],
541
- "stateMutability": "pure",
575
+ "stateMutability": "view",
542
576
  "type": "function"
543
577
  },
544
578
  {
@@ -554,121 +588,35 @@
554
588
  "stateMutability": "pure",
555
589
  "type": "function"
556
590
  },
557
- {
558
- "inputs": [],
559
- "name": "initializeERC165",
560
- "outputs": [],
561
- "stateMutability": "nonpayable",
562
- "type": "function"
563
- },
564
- {
565
- "inputs": [
566
- {
567
- "internalType": "address",
568
- "name": "initialOwner",
569
- "type": "address"
570
- },
571
- {
572
- "internalType": "address",
573
- "name": "registryAddress",
574
- "type": "address"
575
- }
576
- ],
577
- "name": "initializeNftOwnable",
578
- "outputs": [],
579
- "stateMutability": "nonpayable",
580
- "type": "function"
581
- },
582
591
  {
583
592
  "inputs": [
584
593
  {
585
594
  "internalType": "address",
586
- "name": "registryAddress",
587
- "type": "address"
588
- },
589
- {
590
- "internalType": "NftId",
591
- "name": "parentNftId",
592
- "type": "uint96"
593
- },
594
- {
595
- "internalType": "ObjectType",
596
- "name": "objectType",
597
- "type": "uint8"
598
- },
599
- {
600
- "internalType": "bool",
601
- "name": "isInterceptor",
602
- "type": "bool"
603
- },
604
- {
605
- "internalType": "address",
606
- "name": "initialOwner",
595
+ "name": "activatedBy",
607
596
  "type": "address"
608
597
  },
609
598
  {
610
599
  "internalType": "bytes",
611
- "name": "registryData",
600
+ "name": "data",
612
601
  "type": "bytes"
613
602
  }
614
603
  ],
615
- "name": "initializeRegisterable",
616
- "outputs": [],
617
- "stateMutability": "nonpayable",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [
622
- {
623
- "internalType": "address",
624
- "name": "registryAddress",
625
- "type": "address"
626
- }
627
- ],
628
- "name": "initializeRegistryLinked",
629
- "outputs": [],
630
- "stateMutability": "nonpayable",
631
- "type": "function"
632
- },
633
- {
634
- "inputs": [
635
- {
636
- "internalType": "address",
637
- "name": "registry",
638
- "type": "address"
639
- },
640
- {
641
- "internalType": "address",
642
- "name": "authority",
643
- "type": "address"
644
- },
645
- {
646
- "internalType": "address",
647
- "name": "initialOwner",
648
- "type": "address"
649
- }
650
- ],
651
- "name": "initializeService",
604
+ "name": "initializeVersionable",
652
605
  "outputs": [],
653
606
  "stateMutability": "nonpayable",
654
607
  "type": "function"
655
608
  },
656
609
  {
657
- "inputs": [
658
- {
659
- "internalType": "address",
660
- "name": "activatedBy",
661
- "type": "address"
662
- },
610
+ "inputs": [],
611
+ "name": "isActive",
612
+ "outputs": [
663
613
  {
664
- "internalType": "bytes",
665
- "name": "data",
666
- "type": "bytes"
614
+ "internalType": "bool",
615
+ "name": "active",
616
+ "type": "bool"
667
617
  }
668
618
  ],
669
- "name": "initializeVersionable",
670
- "outputs": [],
671
- "stateMutability": "nonpayable",
619
+ "stateMutability": "view",
672
620
  "type": "function"
673
621
  },
674
622
  {
@@ -753,133 +701,6 @@
753
701
  "stateMutability": "nonpayable",
754
702
  "type": "function"
755
703
  },
756
- {
757
- "inputs": [
758
- {
759
- "internalType": "contract IComponent",
760
- "name": "component",
761
- "type": "address"
762
- },
763
- {
764
- "internalType": "ObjectType",
765
- "name": "objectType",
766
- "type": "uint8"
767
- },
768
- {
769
- "internalType": "address",
770
- "name": "initialOwner",
771
- "type": "address"
772
- }
773
- ],
774
- "name": "registerComponent",
775
- "outputs": [
776
- {
777
- "components": [
778
- {
779
- "internalType": "NftId",
780
- "name": "nftId",
781
- "type": "uint96"
782
- },
783
- {
784
- "internalType": "NftId",
785
- "name": "parentNftId",
786
- "type": "uint96"
787
- },
788
- {
789
- "internalType": "ObjectType",
790
- "name": "objectType",
791
- "type": "uint8"
792
- },
793
- {
794
- "internalType": "bool",
795
- "name": "isInterceptor",
796
- "type": "bool"
797
- },
798
- {
799
- "internalType": "address",
800
- "name": "objectAddress",
801
- "type": "address"
802
- },
803
- {
804
- "internalType": "address",
805
- "name": "initialOwner",
806
- "type": "address"
807
- },
808
- {
809
- "internalType": "bytes",
810
- "name": "data",
811
- "type": "bytes"
812
- }
813
- ],
814
- "internalType": "struct IRegistry.ObjectInfo",
815
- "name": "info",
816
- "type": "tuple"
817
- }
818
- ],
819
- "stateMutability": "nonpayable",
820
- "type": "function"
821
- },
822
- {
823
- "inputs": [
824
- {
825
- "internalType": "contract IComponent",
826
- "name": "distribution",
827
- "type": "address"
828
- },
829
- {
830
- "internalType": "address",
831
- "name": "owner",
832
- "type": "address"
833
- }
834
- ],
835
- "name": "registerDistribution",
836
- "outputs": [
837
- {
838
- "components": [
839
- {
840
- "internalType": "NftId",
841
- "name": "nftId",
842
- "type": "uint96"
843
- },
844
- {
845
- "internalType": "NftId",
846
- "name": "parentNftId",
847
- "type": "uint96"
848
- },
849
- {
850
- "internalType": "ObjectType",
851
- "name": "objectType",
852
- "type": "uint8"
853
- },
854
- {
855
- "internalType": "bool",
856
- "name": "isInterceptor",
857
- "type": "bool"
858
- },
859
- {
860
- "internalType": "address",
861
- "name": "objectAddress",
862
- "type": "address"
863
- },
864
- {
865
- "internalType": "address",
866
- "name": "initialOwner",
867
- "type": "address"
868
- },
869
- {
870
- "internalType": "bytes",
871
- "name": "data",
872
- "type": "bytes"
873
- }
874
- ],
875
- "internalType": "struct IRegistry.ObjectInfo",
876
- "name": "info",
877
- "type": "tuple"
878
- }
879
- ],
880
- "stateMutability": "nonpayable",
881
- "type": "function"
882
- },
883
704
  {
884
705
  "inputs": [
885
706
  {
@@ -997,19 +818,6 @@
997
818
  "stateMutability": "nonpayable",
998
819
  "type": "function"
999
820
  },
1000
- {
1001
- "inputs": [
1002
- {
1003
- "internalType": "bytes4",
1004
- "name": "interfaceId",
1005
- "type": "bytes4"
1006
- }
1007
- ],
1008
- "name": "registerInterface",
1009
- "outputs": [],
1010
- "stateMutability": "nonpayable",
1011
- "type": "function"
1012
- },
1013
821
  {
1014
822
  "inputs": [
1015
823
  {
@@ -1070,16 +878,16 @@
1070
878
  "inputs": [
1071
879
  {
1072
880
  "internalType": "contract IComponent",
1073
- "name": "pool",
881
+ "name": "product",
1074
882
  "type": "address"
1075
883
  },
1076
884
  {
1077
885
  "internalType": "address",
1078
- "name": "owner",
886
+ "name": "initialOwner",
1079
887
  "type": "address"
1080
888
  }
1081
889
  ],
1082
- "name": "registerPool",
890
+ "name": "registerProduct",
1083
891
  "outputs": [
1084
892
  {
1085
893
  "components": [
@@ -1131,16 +939,21 @@
1131
939
  "inputs": [
1132
940
  {
1133
941
  "internalType": "contract IComponent",
1134
- "name": "product",
942
+ "name": "component",
1135
943
  "type": "address"
1136
944
  },
945
+ {
946
+ "internalType": "ObjectType",
947
+ "name": "objectType",
948
+ "type": "uint8"
949
+ },
1137
950
  {
1138
951
  "internalType": "address",
1139
- "name": "owner",
952
+ "name": "initialOwner",
1140
953
  "type": "address"
1141
954
  }
1142
955
  ],
1143
- "name": "registerProduct",
956
+ "name": "registerProductLinkedComponent",
1144
957
  "outputs": [
1145
958
  {
1146
959
  "components": [
@@ -1351,22 +1164,34 @@
1351
1164
  "type": "function"
1352
1165
  }
1353
1166
  ],
1354
- "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612b63806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063675393bf116101145780638fbc2d81116100a9578063c2bf08c811610079578063c2bf08c81461047b578063c4c79d8b1461048e578063d943342d146104a1578063ed841d0c146104b4578063f7c34ee0146104bb575f80fd5b80638fbc2d811461043d578063ada9652e14610450578063b68d180914610464578063bf7e214f14610473575f80fd5b80638105cc7f116100e45780638105cc7f146103fa578063893d20e81461040d5780638e32e979146104155780638fb3603714610428575f80fd5b8063675393bf146103a15780636c741e78146103b45780637286e5e5146103d45780637a9e5e4b146103e7575f80fd5b8063329d6e741161018a5780635ab1bd531161015a5780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e014610384575f80fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b1461031357806357a8fba714610326575f80fd5b8063138461e0116101c5578063138461e01461027b5780631eff4b221461029b578063214cdb80146102d057806327bb7a33146102e5575f80fd5b806301ffc9a7146101f6578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b5f80fd5b610222610204366004612180565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046121d2565b6104ce565b60405161022e9190612237565b61025f610686565b60405162ffffff909116815260200161022e565b61024a61070d565b610283610899565b6040516001600160601b03909116815260200161022e565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102e36102de366004612180565b6108a3565b005b6102e36102f33660046123ff565b6108cf565b6102e3610306366004612492565b610974565b6102e3610abe565b6102e36103213660046124c3565b610b03565b61028361033436600461250f565b610bff565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61028361036c36600461250f565b610c8a565b61024a61037f3660046121d2565b610c9f565b5f80516020612ace833981519152546001600160601b0316610283565b6102e36103af3660046125df565b610de5565b6103bc610ef7565b6040516001600160401b03909116815260200161022e565b61024a6103e23660046121d2565b610fed565b6102e36103f53660046125df565b6110a3565b61028361040836600461250f565b611125565b61034661113a565b6102e36104233660046125fa565b61126b565b6104306113a8565b60405161022e9190612642565b61024a61044b3660046121d2565b6113dd565b6102c25f80516020612ace83398151915281565b6040516002815260200161022e565b610346611493565b61028361048936600461250f565b6114ae565b61024a61049c3660046121d2565b6114c3565b61024a6104af366004612657565b6114df565b6102c25f81565b6102e36104c93660046121d2565b611626565b6104d6612143565b6104e2335b5f3661169c565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061051590632d089f8960e11b90600401612642565b602060405180830381865afa158015610530573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610554919061268f565b61058157604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61058e83600a5b8461179a565b90506105a26001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105cd9190612237565b6020604051808303815f875af11580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d91906126b5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f91906126b5565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070891906126d0565b905090565b610715612143565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af91906126b5565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f761113a565b6001600160a01b03168152602001826001018054610814906126f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906126f2565b801561088b5780601f106108625761010080835404028352916020019161088b565b820191905f5260205f20905b81548152906001019060200180831161086e57829003601f168201915b505050505081525091505090565b5f61070830611a0b565b6108ab611c04565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6108d7611c04565b6108e18287611626565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161096a8382612775565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610996610686565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612843565b5f80516020612b0e8339815191528054600160401b900460ff1680610a2a575080546001600160401b03808416911610155b15610a485760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7283611c3c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ac6611c04565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b345750825b90505f826001600160401b03166001148015610b4f5750303b155b905081158015610b5d575080155b15610b7b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba557845460ff60401b1916600160401b1785555b610baf8787611c44565b8315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c09336104db565b610c1482601c611d5f565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c44908590600401612237565b6020604051808303815f875af1158015610c60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8491906126b5565b92915050565b5f610c94336104db565b610c14826015611d5f565b610ca7612143565b610cb0336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610ce39063a388186360e01b90600401612642565b602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d22919061268f565b610d4a5760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610578565b610d5583600c610588565b9050610d696001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d949190612237565b6020604051808303815f875af1158015610db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd491906126b5565b6001600160601b0316815292915050565b610ded611c04565b806001600160a01b03163b5f03610e225760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e68906311da029b60e01b90600401612642565b602060405180830381865afa925050508015610ea1575060408051601f3d908101601f19168201909252610e9e9181019061268f565b60015b610ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b80610ef25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610578565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f869190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190612843565b610ff5612143565b610ffe336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061103190638968899b60e01b90600401612642565b602060405180830381865afa15801561104c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611070919061268f565b611098576040516304c983f360e41b81526001600160a01b0384166004820152602401610578565b610d5583600f610588565b336110ac611493565b6001600160a01b0316816001600160a01b0316146110e75760405162d1953b60e31b81526001600160a01b0382166004820152602401610578565b816001600160a01b03163b5f0361111c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610578565b610ef282611eb8565b5f61112f336104db565b610c14826020611d5f565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ca919061268f565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124f919061288f565b91505090565b54600160601b90046001600160a01b0316919050565b611273611c04565b6112ef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d791906126b5565b60095f8560405180602001604052805f8152506108cf565b6001600160a01b0382161561130c5761130782611f18565b611383565b5f6113176002611f29565b9050611381816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611358573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137c919061288f565b611f18565b505b611393634a531f3360e01b6108a3565b6113a363daf9067160e01b6108a3565b505050565b5f80516020612aee83398151915280545f9190600160a01b900460ff166113cf575f61124f565b638fb3603760e01b91505090565b6113e5612143565b6113ee336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061142190630644852960e01b90600401612642565b602060405180830381865afa15801561143c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611460919061268f565b611488576040516367237f5b60e11b81526001600160a01b0384166004820152602401610578565b610d5583600e610588565b5f80516020612aee833981519152546001600160a01b031690565b5f6114b8336104db565b610c1482601e611d5f565b6114cb612143565b6114d4336104db565b610d55836003610588565b6114e7612143565b6114f0336104db565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061152390632986755f60e11b90600401612642565b602060405180830381865afa15801561153e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611562919061268f565b61158a57604051632624ae7760e01b81526001600160a01b0385166004820152602401610578565b61159584848461179a565b90506115a96001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016115d49190612237565b6020604051808303815f875af11580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161491906126b5565b6001600160601b031681529392505050565b61162e611c04565b61163781610de5565b61163f610abe565b6001600160a01b0382166116665760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612ace83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f80516020612aee8339815191525f806116d46116b7611493565b87306116c660045f8a8c6128aa565b6116cf916128d1565b61202a565b91509150816117925763ffffffff81161561176f57825460ff60a01b1916600160a01b178355611702611493565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161173193929190612907565b5f604051808303815f87803b158015611748575f80fd5b505af115801561175a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117929050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610578565b505050505050565b6117a2612143565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156117dd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118049190810190612993565b9050836001600160a01b031681608001516001600160a01b0316146118555760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610578565b604081015160ff8481169116146118a157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610578565b60a08101516001600160a01b03808216908416146118ed576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610578565b846001600160a01b0316816001600160a01b03160361192a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610578565b6001600160a01b03811661195c576040516343e40cb560e01b81526001600160a01b0386166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d2919061268f565b15611a03576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610578565b509392505050565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b919061268f565b15611ac75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3d919061268f565b611b655760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610578565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdb91906126b5565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612b0e83398151915254600160401b900460ff16611c3a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f2611c04565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015611c755750825b90505f826001600160401b03166001148015611c905750303b155b905081158015611c9e575080155b15611cbc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ce657845460ff60401b1916600160401b1785555b5f8087806020019051810190611cfc9190612a55565b91509150611d0b82828b61126b565b611d1b631987a50360e11b6108a3565b50508315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bed565b60808201516001600160a01b031615611d965760408083015190516340fda83160e11b815260ff9091166004820152602401610578565b604082015160ff828116911614611dd3576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610578565b60a08201516001600160a01b038116611e0a576040808401519051633312954f60e21b815260ff9091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e80919061268f565b156113a357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610578565b5f80516020612aee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f20611c04565b610ef481612132565b5f611f3c6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122093953249e52807a4329e982a80b7690f551a14b59421e371873c91a47752260864736f6c634300081a0033",
1355
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063675393bf116101145780638fbc2d81116100a9578063c2bf08c811610079578063c2bf08c81461047b578063c4c79d8b1461048e578063d943342d146104a1578063ed841d0c146104b4578063f7c34ee0146104bb575f80fd5b80638fbc2d811461043d578063ada9652e14610450578063b68d180914610464578063bf7e214f14610473575f80fd5b80638105cc7f116100e45780638105cc7f146103fa578063893d20e81461040d5780638e32e979146104155780638fb3603714610428575f80fd5b8063675393bf146103a15780636c741e78146103b45780637286e5e5146103d45780637a9e5e4b146103e7575f80fd5b8063329d6e741161018a5780635ab1bd531161015a5780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e014610384575f80fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b1461031357806357a8fba714610326575f80fd5b8063138461e0116101c5578063138461e01461027b5780631eff4b221461029b578063214cdb80146102d057806327bb7a33146102e5575f80fd5b806301ffc9a7146101f6578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b5f80fd5b610222610204366004612180565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046121d2565b6104ce565b60405161022e9190612237565b61025f610686565b60405162ffffff909116815260200161022e565b61024a61070d565b610283610899565b6040516001600160601b03909116815260200161022e565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102e36102de366004612180565b6108a3565b005b6102e36102f33660046123ff565b6108cf565b6102e3610306366004612492565b610974565b6102e3610abe565b6102e36103213660046124c3565b610b03565b61028361033436600461250f565b610bff565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61028361036c36600461250f565b610c8a565b61024a61037f3660046121d2565b610c9f565b5f80516020612ace833981519152546001600160601b0316610283565b6102e36103af3660046125df565b610de5565b6103bc610ef7565b6040516001600160401b03909116815260200161022e565b61024a6103e23660046121d2565b610fed565b6102e36103f53660046125df565b6110a3565b61028361040836600461250f565b611125565b61034661113a565b6102e36104233660046125fa565b61126b565b6104306113a8565b60405161022e9190612642565b61024a61044b3660046121d2565b6113dd565b6102c25f80516020612ace83398151915281565b6040516002815260200161022e565b610346611493565b61028361048936600461250f565b6114ae565b61024a61049c3660046121d2565b6114c3565b61024a6104af366004612657565b6114df565b6102c25f81565b6102e36104c93660046121d2565b611626565b6104d6612143565b6104e2335b5f3661169c565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061051590632d089f8960e11b90600401612642565b602060405180830381865afa158015610530573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610554919061268f565b61058157604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61058e83600a5b8461179a565b90506105a26001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105cd9190612237565b6020604051808303815f875af11580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d91906126b5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f91906126b5565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070891906126d0565b905090565b610715612143565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af91906126b5565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f761113a565b6001600160a01b03168152602001826001018054610814906126f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906126f2565b801561088b5780601f106108625761010080835404028352916020019161088b565b820191905f5260205f20905b81548152906001019060200180831161086e57829003601f168201915b505050505081525091505090565b5f61070830611a0b565b6108ab611c04565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6108d7611c04565b6108e18287611626565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161096a8382612775565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610996610686565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612843565b5f80516020612b0e8339815191528054600160401b900460ff1680610a2a575080546001600160401b03808416911610155b15610a485760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7283611c3c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ac6611c04565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b345750825b90505f826001600160401b03166001148015610b4f5750303b155b905081158015610b5d575080155b15610b7b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba557845460ff60401b1916600160401b1785555b610baf8787611c44565b8315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c09336104db565b610c1482601c611d5f565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c44908590600401612237565b6020604051808303815f875af1158015610c60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8491906126b5565b92915050565b5f610c94336104db565b610c14826015611d5f565b610ca7612143565b610cb0336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610ce39063a388186360e01b90600401612642565b602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d22919061268f565b610d4a5760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610578565b610d5583600c610588565b9050610d696001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d949190612237565b6020604051808303815f875af1158015610db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd491906126b5565b6001600160601b0316815292915050565b610ded611c04565b806001600160a01b03163b5f03610e225760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e68906311da029b60e01b90600401612642565b602060405180830381865afa925050508015610ea1575060408051601f3d908101601f19168201909252610e9e9181019061268f565b60015b610ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b80610ef25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610578565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f869190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190612843565b610ff5612143565b610ffe336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061103190638968899b60e01b90600401612642565b602060405180830381865afa15801561104c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611070919061268f565b611098576040516304c983f360e41b81526001600160a01b0384166004820152602401610578565b610d5583600f610588565b336110ac611493565b6001600160a01b0316816001600160a01b0316146110e75760405162d1953b60e31b81526001600160a01b0382166004820152602401610578565b816001600160a01b03163b5f0361111c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610578565b610ef282611eb8565b5f61112f336104db565b610c14826020611d5f565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ca919061268f565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124f919061288f565b91505090565b54600160601b90046001600160a01b0316919050565b611273611c04565b6112ef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d791906126b5565b60095f8560405180602001604052805f8152506108cf565b6001600160a01b0382161561130c5761130782611f18565b611383565b5f6113176002611f29565b9050611381816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611358573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137c919061288f565b611f18565b505b611393634a531f3360e01b6108a3565b6113a363daf9067160e01b6108a3565b505050565b5f80516020612aee83398151915280545f9190600160a01b900460ff166113cf575f61124f565b638fb3603760e01b91505090565b6113e5612143565b6113ee336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061142190630644852960e01b90600401612642565b602060405180830381865afa15801561143c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611460919061268f565b611488576040516367237f5b60e11b81526001600160a01b0384166004820152602401610578565b610d5583600e610588565b5f80516020612aee833981519152546001600160a01b031690565b5f6114b8336104db565b610c1482601e611d5f565b6114cb612143565b6114d4336104db565b610d55836003610588565b6114e7612143565b6114f0336104db565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061152390632986755f60e11b90600401612642565b602060405180830381865afa15801561153e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611562919061268f565b61158a57604051632624ae7760e01b81526001600160a01b0385166004820152602401610578565b61159584848461179a565b90506115a96001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016115d49190612237565b6020604051808303815f875af11580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161491906126b5565b6001600160601b031681529392505050565b61162e611c04565b61163781610de5565b61163f610abe565b6001600160a01b0382166116665760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612ace83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f80516020612aee8339815191525f806116d46116b7611493565b87306116c660045f8a8c6128aa565b6116cf916128d1565b61202a565b91509150816117925763ffffffff81161561176f57825460ff60a01b1916600160a01b178355611702611493565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161173193929190612907565b5f604051808303815f87803b158015611748575f80fd5b505af115801561175a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117929050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610578565b505050505050565b6117a2612143565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156117dd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118049190810190612993565b9050836001600160a01b031681608001516001600160a01b0316146118555760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610578565b604081015160ff8481169116146118a157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610578565b60a08101516001600160a01b03808216908416146118ed576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610578565b846001600160a01b0316816001600160a01b03160361192a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610578565b6001600160a01b03811661195c576040516343e40cb560e01b81526001600160a01b0386166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d2919061268f565b15611a03576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610578565b509392505050565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b919061268f565b15611ac75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3d919061268f565b611b655760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610578565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdb91906126b5565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612b0e83398151915254600160401b900460ff16611c3a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f2611c04565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015611c755750825b90505f826001600160401b03166001148015611c905750303b155b905081158015611c9e575080155b15611cbc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ce657845460ff60401b1916600160401b1785555b5f8087806020019051810190611cfc9190612a55565b91509150611d0b82828b61126b565b611d1b631987a50360e11b6108a3565b50508315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bed565b60808201516001600160a01b031615611d965760408083015190516340fda83160e11b815260ff9091166004820152602401610578565b604082015160ff828116911614611dd3576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610578565b60a08201516001600160a01b038116611e0a576040808401519051633312954f60e21b815260ff9091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e80919061268f565b156113a357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610578565b5f80516020612aee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f20611c04565b610ef481612132565b5f611f3c6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122093953249e52807a4329e982a80b7690f551a14b59421e371873c91a47752260864736f6c634300081a0033",
1167
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612914806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80635d966289116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f146103e1578063c2bf08c8146103e9578063c4c79d8b146103fc578063ed841d0c1461040f575f80fd5b80638fb36037146103a5578063ada9652e146103c6578063b68d1809146103da575f80fd5b806376b707b7116100ce57806376b707b71461035d5780637a9e5e4b146103775780638105cc7f1461038a578063893d20e81461039d575f80fd5b80635d9662891461030d578063644c45e0146103205780636c741e781461033d575f80fd5b806322f3e2d41161015e57806349bb9e4b1161013957806349bb9e4b146102af57806357a8fba7146102c25780635ab1bd53146102d55780635c992fed146102fa575f80fd5b806322f3e2d41461027f578063329d6e74146102875780633f429c921461029c575f80fd5b806301ffc9a7146101a5578063026bc43b146101e65780630d8e6e2c146102065780630fec111c14610222578063138461e01461022a5780631eff4b221461024a575b5f80fd5b6101d16101b3366004612006565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f4366004612058565b610416565b6040516101dd91906120bd565b61020e6105c9565b60405162ffffff90911681526020016101dd565b6101f9610650565b6102326107dc565b6040516001600160601b0390911681526020016101dd565b6102717f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d16107e6565b61029a610295366004612235565b61085d565b005b6101f96102aa36600461227f565b6109a7565b61029a6102bd3660046122c7565b610b34565b6102326102d036600461234a565b610c30565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b61023261030836600461234a565b610cbb565b6101f961031b366004612058565b610cd0565b5f8051602061287f833981519152546001600160601b0316610232565b610345610e11565b6040516001600160401b0390911681526020016101dd565b610365610e9d565b60405160ff90911681526020016101dd565b61029a61038536600461241a565b610f05565b61023261039836600461234a565b610f8b565b6102e2610fa0565b6103ad6110d1565b6040516001600160e01b031990911681526020016101dd565b6102715f8051602061287f83398151915281565b6002610365565b6102e2611106565b6102326103f736600461234a565b611121565b6101f961040a366004612058565b611136565b6102715f81565b61041e611fc9565b61042a335b5f36611152565b6040516301ffc9a760e01b815263d2bf367160e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610473573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104979190612440565b6104c457604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6104d183600a5b84611250565b90506104e56001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161051091906120bd565b6020604051808303815f875af115801561052c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105509190612466565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c29190612466565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190612481565b905090565b610658611fc9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f29190612466565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161073a610fa0565b6001600160a01b03168152602001826001018054610757906124a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610783906124a3565b80156107ce5780601f106107a5576101008083540402835291602001916107ce565b820191905f5260205f20905b8154815290600101906020018083116107b157829003601f168201915b505050505081525091505090565b5f61064b306114c1565b5f6107ef611106565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610833573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108579190612440565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61087f6105c9565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e191906124ef565b5f805160206128bf8339815191528054600160401b900460ff1680610913575080546001600160401b03808416911610155b156109315760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561095b836116ba565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109af611fc9565b6109b833610423565b6040516301ffc9a760e01b81526306e9e5ff60e31b60048201526001600160a01b038516906301ffc9a790602401602060405180830381865afa158015610a01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a259190612440565b610a4d57604051632624ae7760e01b81526001600160a01b03851660048201526024016104bb565b60ff8316600e1480610a62575060ff8316600d145b80610a70575060ff8316600f145b610a98576040516329e5065360e11b81526001600160a01b03851660048201526024016104bb565b610aa3848484611250565b9050610ab76001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610ae291906120bd565b6020604051808303815f875af1158015610afe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b229190612466565b6001600160601b031681529392505050565b5f805160206128bf8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b655750825b90505f826001600160401b03166001148015610b805750303b155b905081158015610b8e575080155b15610bac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bd657845460ff60401b1916600160401b1785555b610be087876116c2565b8315610c2757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c3a33610423565b610c458260176117dd565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c759085906004016120bd565b6020604051808303815f875af1158015610c91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb59190612466565b92915050565b5f610cc533610423565b610c458260156117dd565b610cd8611fc9565b610ce133610423565b6040516301ffc9a760e01b8152630cdf80bd60e31b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610d2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190612440565b610d765760405163704b6c6d60e11b81526001600160a01b03841660048201526024016104bb565b610d8183600c6104cb565b9050610d956001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610dc091906120bd565b6020604051808303815f875af1158015610ddc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e009190612466565b6001600160601b0316815292915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002610e36610e9d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610e79573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906124ef565b5f610ea6611106565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190612515565b33610f0e611106565b6001600160a01b0316816001600160a01b031614610f495760405162d1953b60e31b81526001600160a01b03821660048201526024016104bb565b816001600160a01b03163b5f03610f7e576040516361798f2f60e11b81526001600160a01b03831660048201526024016104bb565b610f8782611a2c565b5050565b5f610f9533610423565b610c4582601e6117dd565b5f805f8051602061287f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561100c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110309190612440565b156110bb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611091573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b5919061253b565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061289f83398151915280545f9190600160a01b900460ff166110f8575f6110b5565b638fb3603760e01b91505090565b5f8051602061289f833981519152546001600160a01b031690565b5f61112b33610423565b610c458260166117dd565b61113e611fc9565b61114733610423565b610d818360036104cb565b5f8051602061289f8339815191525f8061118a61116d611106565b873061117c60045f8a8c612556565b6111859161257d565b611a8c565b91509150816112485763ffffffff81161561122557825460ff60a01b1916600160a01b1783556111b8611106565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111e7939291906125b3565b5f604051808303815f87803b1580156111fe575f80fd5b505af1158015611210573d5f803e3d5ffd5b5050845460ff60a01b19168555506112489050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104bb565b505050505050565b611258611fc9565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611293573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112ba919081019061263f565b9050836001600160a01b031681608001516001600160a01b03161461130b5760808101516040516306704ad960e11b81526001600160a01b03808716600483015290911660248201526044016104bb565b604081015160ff84811691161461135757604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff808616602483015290911660448201526064016104bb565b60a08101516001600160a01b03808216908416146113a3576040516335ce70c360e21b81526001600160a01b0380871660048301528085166024830152821660448201526064016104bb565b846001600160a01b0316816001600160a01b0316036113e057604051638e80a3f960e01b81526001600160a01b03861660048201526024016104bb565b6001600160a01b038116611412576040516343e40cb560e01b81526001600160a01b03861660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114889190612440565b156114b9576040516309ad872b60e41b81526001600160a01b038087166004830152821660248201526044016104bb565b509392505050565b5f805f8051602061287f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561152d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115519190612440565b1561157d5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f39190612440565b61161b5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016104bb565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561166d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116919190612466565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101a1611b94565b5f805160206128bf8339815191528054600160401b810460ff1615906001600160401b03165f811580156116f35750825b90505f826001600160401b0316600114801561170e5750303b155b90508115801561171c575080155b1561173a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561176457845460ff60401b1916600160401b1785555b5f808780602001905181019061177a9190612701565b9150915061178982828b611bcc565b6117996328342add60e01b611c65565b50508315610c2757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c1e565b60808201516001600160a01b0316156118145760408083015190516340fda83160e11b815260ff90911660048201526024016104bb565b604082015160ff828116911614611851576040808301519051632e5fbed960e21b815260ff808416600483015290911660248201526044016104bb565b60a08201516001600160a01b038116611888576040808401519051633312954f60e21b815260ff90911660048201526024016104bb565b336001600160a01b038216036118bc57604051633bb3291360e01b81526001600160a01b03821660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561190e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119329190612440565b15611a27575f61194a6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0384811660048301529190911690638b09a5f0906024015f60405180830381865afa15801561198f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119b6919081019061263f565b60400151905060ff8116600214806119d1575060ff81166003145b806119df575060ff81166008145b806119ed575060ff8116600a145b15611a2557604080850151905163b4139d2560e01b815260ff90911660048201526001600160a01b03831660248201526044016104bb565b505b505050565b5f8051602061289f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611afa919061272e565b5f60405180830381855afa9150503d805f8114611b32576040519150601f19603f3d011682016040523d82523d5f602084013e611b37565b606091505b50915091508115611b89576040815110611b695780806020019051810190611b5f9190612744565b9094509250611b89565b6020815110611b895780806020019051810190611b869190612440565b93505b505094509492505050565b5f805160206128bf83398151915254600160401b900460ff16611bca57604051631afcd79f60e31b815260040160405180910390fd5b565b611bd4611b94565b611bdc611c98565b611c598383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c419190612466565b60085f8660405180602001604052805f815250611ca8565b611a2763daf9067160e01b5b611c6d611b94565b611c95816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611ca0611b94565b611bca611def565b611cb0611b94565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611d06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d2a9190612440565b611d525760405163cf6935e560e01b81526001600160a01b03881660048201526024016104bb565b611d5b87611e1d565b611d658683611e2e565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611dd483826127c4565b50611de5634a531f3360e01b611c65565b5050505050505050565b611df7611b94565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611e25611b94565b611c9581611ea4565b611e36611b94565b611e3e611eb5565b611e4782611efd565b6001600160a01b038116611e6e5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061287f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611eac611b94565b611c9581611a2c565b611ebd611b94565b611bca6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611f05611b94565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7f9190612440565b611fa75760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104bb565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612016575f80fd5b81356001600160e01b03198116811461202d575f80fd5b9392505050565b6001600160a01b0381168114611c95575f80fd5b803561205381612034565b919050565b5f8060408385031215612069575f80fd5b823561207481612034565b9150602083013561208481612034565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612105608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261214961010084018261208f565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561218757612187612151565b60405290565b604051601f8201601f191681016001600160401b03811182821017156121b5576121b5612151565b604052919050565b5f6001600160401b038211156121d5576121d5612151565b50601f01601f191660200190565b5f82601f8301126121f2575f80fd5b8135612205612200826121bd565b61218d565b818152846020838601011115612219575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612245575f80fd5b81356001600160401b0381111561225a575f80fd5b612149848285016121e3565b60ff81168114611c95575f80fd5b803561205381612266565b5f805f60608486031215612291575f80fd5b833561229c81612034565b925060208401356122ac81612266565b915060408401356122bc81612034565b809150509250925092565b5f80604083850312156122d8575f80fd5b82356122e381612034565b915060208301356001600160401b038111156122fd575f80fd5b612309858286016121e3565b9150509250929050565b6001600160601b0381168114611c95575f80fd5b803561205381612313565b8015158114611c95575f80fd5b803561205381612332565b5f6020828403121561235a575f80fd5b81356001600160401b0381111561236f575f80fd5b820160e08185031215612380575f80fd5b612388612165565b61239182612327565b815261239f60208301612327565b60208201526123b060408301612274565b60408201526123c16060830161233f565b60608201526123d260808301612048565b60808201526123e360a08301612048565b60a082015260c08201356001600160401b03811115612400575f80fd5b61240c868285016121e3565b60c083015250949350505050565b5f6020828403121561242a575f80fd5b813561202d81612034565b805161205381612332565b5f60208284031215612450575f80fd5b815161202d81612332565b805161205381612313565b5f60208284031215612476575f80fd5b815161202d81612313565b5f60208284031215612491575f80fd5b815162ffffff8116811461202d575f80fd5b600181811c908216806124b757607f821691505b6020821081036124d557634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114611c95575f80fd5b5f602082840312156124ff575f80fd5b815161202d816124db565b805161205381612266565b5f60208284031215612525575f80fd5b815161202d81612266565b805161205381612034565b5f6020828403121561254b575f80fd5b815161202d81612034565b5f8085851115612564575f80fd5b83861115612570575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156105c2576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612601575f80fd5b815161260f612200826121bd565b818152846020838601011115612623575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561264f575f80fd5b81516001600160401b03811115612664575f80fd5b820160e08185031215612675575f80fd5b61267d612165565b6126868261245b565b81526126946020830161245b565b60208201526126a56040830161250a565b60408201526126b660608301612435565b60608201526126c760808301612530565b60808201526126d860a08301612530565b60a082015260c08201516001600160401b038111156126f5575f80fd5b61240c868285016125f2565b5f8060408385031215612712575f80fd5b825161271d81612034565b602084015190925061208481612034565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612755575f80fd5b825161276081612332565b602084015190925063ffffffff81168114612084575f80fd5b601f821115611a2757805f5260205f20601f840160051c8101602085101561279e5750805b601f840160051c820191505b818110156127bd575f81556001016127aa565b5050505050565b81516001600160401b038111156127dd576127dd612151565b6127f1816127eb84546124a3565b84612779565b6020601f821160018114612823575f831561280c5750848201515b5f19600385901b1c1916600184901b1784556127bd565b5f84815260208120601f198516915b828110156128525787850151825560209485019460019092019101612832565b508482101561286f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220833b4573307e16287cdbc46888f788d4dbac7ac45f8a879918fcec009370a19d64736f6c634300081a0033",
1168
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80635d966289116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f146103e1578063c2bf08c8146103e9578063c4c79d8b146103fc578063ed841d0c1461040f575f80fd5b80638fb36037146103a5578063ada9652e146103c6578063b68d1809146103da575f80fd5b806376b707b7116100ce57806376b707b71461035d5780637a9e5e4b146103775780638105cc7f1461038a578063893d20e81461039d575f80fd5b80635d9662891461030d578063644c45e0146103205780636c741e781461033d575f80fd5b806322f3e2d41161015e57806349bb9e4b1161013957806349bb9e4b146102af57806357a8fba7146102c25780635ab1bd53146102d55780635c992fed146102fa575f80fd5b806322f3e2d41461027f578063329d6e74146102875780633f429c921461029c575f80fd5b806301ffc9a7146101a5578063026bc43b146101e65780630d8e6e2c146102065780630fec111c14610222578063138461e01461022a5780631eff4b221461024a575b5f80fd5b6101d16101b3366004612006565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f4366004612058565b610416565b6040516101dd91906120bd565b61020e6105c9565b60405162ffffff90911681526020016101dd565b6101f9610650565b6102326107dc565b6040516001600160601b0390911681526020016101dd565b6102717f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d16107e6565b61029a610295366004612235565b61085d565b005b6101f96102aa36600461227f565b6109a7565b61029a6102bd3660046122c7565b610b34565b6102326102d036600461234a565b610c30565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b61023261030836600461234a565b610cbb565b6101f961031b366004612058565b610cd0565b5f8051602061287f833981519152546001600160601b0316610232565b610345610e11565b6040516001600160401b0390911681526020016101dd565b610365610e9d565b60405160ff90911681526020016101dd565b61029a61038536600461241a565b610f05565b61023261039836600461234a565b610f8b565b6102e2610fa0565b6103ad6110d1565b6040516001600160e01b031990911681526020016101dd565b6102715f8051602061287f83398151915281565b6002610365565b6102e2611106565b6102326103f736600461234a565b611121565b6101f961040a366004612058565b611136565b6102715f81565b61041e611fc9565b61042a335b5f36611152565b6040516301ffc9a760e01b815263d2bf367160e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610473573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104979190612440565b6104c457604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6104d183600a5b84611250565b90506104e56001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161051091906120bd565b6020604051808303815f875af115801561052c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105509190612466565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c29190612466565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190612481565b905090565b610658611fc9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f29190612466565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161073a610fa0565b6001600160a01b03168152602001826001018054610757906124a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610783906124a3565b80156107ce5780601f106107a5576101008083540402835291602001916107ce565b820191905f5260205f20905b8154815290600101906020018083116107b157829003601f168201915b505050505081525091505090565b5f61064b306114c1565b5f6107ef611106565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610833573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108579190612440565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61087f6105c9565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e191906124ef565b5f805160206128bf8339815191528054600160401b900460ff1680610913575080546001600160401b03808416911610155b156109315760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561095b836116ba565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109af611fc9565b6109b833610423565b6040516301ffc9a760e01b81526306e9e5ff60e31b60048201526001600160a01b038516906301ffc9a790602401602060405180830381865afa158015610a01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a259190612440565b610a4d57604051632624ae7760e01b81526001600160a01b03851660048201526024016104bb565b60ff8316600e1480610a62575060ff8316600d145b80610a70575060ff8316600f145b610a98576040516329e5065360e11b81526001600160a01b03851660048201526024016104bb565b610aa3848484611250565b9050610ab76001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610ae291906120bd565b6020604051808303815f875af1158015610afe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b229190612466565b6001600160601b031681529392505050565b5f805160206128bf8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b655750825b90505f826001600160401b03166001148015610b805750303b155b905081158015610b8e575080155b15610bac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bd657845460ff60401b1916600160401b1785555b610be087876116c2565b8315610c2757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c3a33610423565b610c458260176117dd565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c759085906004016120bd565b6020604051808303815f875af1158015610c91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb59190612466565b92915050565b5f610cc533610423565b610c458260156117dd565b610cd8611fc9565b610ce133610423565b6040516301ffc9a760e01b8152630cdf80bd60e31b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610d2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190612440565b610d765760405163704b6c6d60e11b81526001600160a01b03841660048201526024016104bb565b610d8183600c6104cb565b9050610d956001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610dc091906120bd565b6020604051808303815f875af1158015610ddc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e009190612466565b6001600160601b0316815292915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002610e36610e9d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610e79573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906124ef565b5f610ea6611106565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190612515565b33610f0e611106565b6001600160a01b0316816001600160a01b031614610f495760405162d1953b60e31b81526001600160a01b03821660048201526024016104bb565b816001600160a01b03163b5f03610f7e576040516361798f2f60e11b81526001600160a01b03831660048201526024016104bb565b610f8782611a2c565b5050565b5f610f9533610423565b610c4582601e6117dd565b5f805f8051602061287f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561100c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110309190612440565b156110bb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611091573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b5919061253b565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061289f83398151915280545f9190600160a01b900460ff166110f8575f6110b5565b638fb3603760e01b91505090565b5f8051602061289f833981519152546001600160a01b031690565b5f61112b33610423565b610c458260166117dd565b61113e611fc9565b61114733610423565b610d818360036104cb565b5f8051602061289f8339815191525f8061118a61116d611106565b873061117c60045f8a8c612556565b6111859161257d565b611a8c565b91509150816112485763ffffffff81161561122557825460ff60a01b1916600160a01b1783556111b8611106565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111e7939291906125b3565b5f604051808303815f87803b1580156111fe575f80fd5b505af1158015611210573d5f803e3d5ffd5b5050845460ff60a01b19168555506112489050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104bb565b505050505050565b611258611fc9565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611293573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112ba919081019061263f565b9050836001600160a01b031681608001516001600160a01b03161461130b5760808101516040516306704ad960e11b81526001600160a01b03808716600483015290911660248201526044016104bb565b604081015160ff84811691161461135757604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff808616602483015290911660448201526064016104bb565b60a08101516001600160a01b03808216908416146113a3576040516335ce70c360e21b81526001600160a01b0380871660048301528085166024830152821660448201526064016104bb565b846001600160a01b0316816001600160a01b0316036113e057604051638e80a3f960e01b81526001600160a01b03861660048201526024016104bb565b6001600160a01b038116611412576040516343e40cb560e01b81526001600160a01b03861660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114889190612440565b156114b9576040516309ad872b60e41b81526001600160a01b038087166004830152821660248201526044016104bb565b509392505050565b5f805f8051602061287f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561152d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115519190612440565b1561157d5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f39190612440565b61161b5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016104bb565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561166d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116919190612466565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101a1611b94565b5f805160206128bf8339815191528054600160401b810460ff1615906001600160401b03165f811580156116f35750825b90505f826001600160401b0316600114801561170e5750303b155b90508115801561171c575080155b1561173a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561176457845460ff60401b1916600160401b1785555b5f808780602001905181019061177a9190612701565b9150915061178982828b611bcc565b6117996328342add60e01b611c65565b50508315610c2757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c1e565b60808201516001600160a01b0316156118145760408083015190516340fda83160e11b815260ff90911660048201526024016104bb565b604082015160ff828116911614611851576040808301519051632e5fbed960e21b815260ff808416600483015290911660248201526044016104bb565b60a08201516001600160a01b038116611888576040808401519051633312954f60e21b815260ff90911660048201526024016104bb565b336001600160a01b038216036118bc57604051633bb3291360e01b81526001600160a01b03821660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561190e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119329190612440565b15611a27575f61194a6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0384811660048301529190911690638b09a5f0906024015f60405180830381865afa15801561198f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119b6919081019061263f565b60400151905060ff8116600214806119d1575060ff81166003145b806119df575060ff81166008145b806119ed575060ff8116600a145b15611a2557604080850151905163b4139d2560e01b815260ff90911660048201526001600160a01b03831660248201526044016104bb565b505b505050565b5f8051602061289f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611afa919061272e565b5f60405180830381855afa9150503d805f8114611b32576040519150601f19603f3d011682016040523d82523d5f602084013e611b37565b606091505b50915091508115611b89576040815110611b695780806020019051810190611b5f9190612744565b9094509250611b89565b6020815110611b895780806020019051810190611b869190612440565b93505b505094509492505050565b5f805160206128bf83398151915254600160401b900460ff16611bca57604051631afcd79f60e31b815260040160405180910390fd5b565b611bd4611b94565b611bdc611c98565b611c598383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c419190612466565b60085f8660405180602001604052805f815250611ca8565b611a2763daf9067160e01b5b611c6d611b94565b611c95816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611ca0611b94565b611bca611def565b611cb0611b94565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611d06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d2a9190612440565b611d525760405163cf6935e560e01b81526001600160a01b03881660048201526024016104bb565b611d5b87611e1d565b611d658683611e2e565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611dd483826127c4565b50611de5634a531f3360e01b611c65565b5050505050505050565b611df7611b94565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611e25611b94565b611c9581611ea4565b611e36611b94565b611e3e611eb5565b611e4782611efd565b6001600160a01b038116611e6e5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061287f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611eac611b94565b611c9581611a2c565b611ebd611b94565b611bca6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611f05611b94565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7f9190612440565b611fa75760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104bb565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612016575f80fd5b81356001600160e01b03198116811461202d575f80fd5b9392505050565b6001600160a01b0381168114611c95575f80fd5b803561205381612034565b919050565b5f8060408385031215612069575f80fd5b823561207481612034565b9150602083013561208481612034565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612105608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261214961010084018261208f565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561218757612187612151565b60405290565b604051601f8201601f191681016001600160401b03811182821017156121b5576121b5612151565b604052919050565b5f6001600160401b038211156121d5576121d5612151565b50601f01601f191660200190565b5f82601f8301126121f2575f80fd5b8135612205612200826121bd565b61218d565b818152846020838601011115612219575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612245575f80fd5b81356001600160401b0381111561225a575f80fd5b612149848285016121e3565b60ff81168114611c95575f80fd5b803561205381612266565b5f805f60608486031215612291575f80fd5b833561229c81612034565b925060208401356122ac81612266565b915060408401356122bc81612034565b809150509250925092565b5f80604083850312156122d8575f80fd5b82356122e381612034565b915060208301356001600160401b038111156122fd575f80fd5b612309858286016121e3565b9150509250929050565b6001600160601b0381168114611c95575f80fd5b803561205381612313565b8015158114611c95575f80fd5b803561205381612332565b5f6020828403121561235a575f80fd5b81356001600160401b0381111561236f575f80fd5b820160e08185031215612380575f80fd5b612388612165565b61239182612327565b815261239f60208301612327565b60208201526123b060408301612274565b60408201526123c16060830161233f565b60608201526123d260808301612048565b60808201526123e360a08301612048565b60a082015260c08201356001600160401b03811115612400575f80fd5b61240c868285016121e3565b60c083015250949350505050565b5f6020828403121561242a575f80fd5b813561202d81612034565b805161205381612332565b5f60208284031215612450575f80fd5b815161202d81612332565b805161205381612313565b5f60208284031215612476575f80fd5b815161202d81612313565b5f60208284031215612491575f80fd5b815162ffffff8116811461202d575f80fd5b600181811c908216806124b757607f821691505b6020821081036124d557634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114611c95575f80fd5b5f602082840312156124ff575f80fd5b815161202d816124db565b805161205381612266565b5f60208284031215612525575f80fd5b815161202d81612266565b805161205381612034565b5f6020828403121561254b575f80fd5b815161202d81612034565b5f8085851115612564575f80fd5b83861115612570575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156105c2576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612601575f80fd5b815161260f612200826121bd565b818152846020838601011115612623575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561264f575f80fd5b81516001600160401b03811115612664575f80fd5b820160e08185031215612675575f80fd5b61267d612165565b6126868261245b565b81526126946020830161245b565b60208201526126a56040830161250a565b60408201526126b660608301612435565b60608201526126c760808301612530565b60808201526126d860a08301612530565b60a082015260c08201516001600160401b038111156126f5575f80fd5b61240c868285016125f2565b5f8060408385031215612712575f80fd5b825161271d81612034565b602084015190925061208481612034565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612755575f80fd5b825161276081612332565b602084015190925063ffffffff81168114612084575f80fd5b601f821115611a2757805f5260205f20601f840160051c8101602085101561279e5750805b601f840160051c820191505b818110156127bd575f81556001016127aa565b5050505050565b81516001600160401b038111156127dd576127dd612151565b6127f1816127eb84546124a3565b84612779565b6020601f821160018114612823575f831561280c5750848201515b5f19600385901b1c1916600184901b1784556127bd565b5f84815260208120601f198516915b828110156128525787850151825560209485019460019092019101612832565b508482101561286f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220833b4573307e16287cdbc46888f788d4dbac7ac45f8a879918fcec009370a19d64736f6c634300081a0033",
1356
1169
  "linkReferences": {
1170
+ "contracts/shared/ContractLib.sol": {
1171
+ "ContractLib": [
1172
+ {
1173
+ "length": 20,
1174
+ "start": 7588
1175
+ },
1176
+ {
1177
+ "length": 20,
1178
+ "start": 8185
1179
+ }
1180
+ ]
1181
+ },
1357
1182
  "contracts/type/NftId.sol": {
1358
1183
  "NftIdLib": [
1359
1184
  {
1360
1185
  "length": 20,
1361
- "start": 2076
1186
+ "start": 1887
1362
1187
  },
1363
1188
  {
1364
1189
  "length": 20,
1365
- "start": 4676
1190
+ "start": 4266
1366
1191
  },
1367
1192
  {
1368
1193
  "length": 20,
1369
- "start": 6933
1194
+ "start": 5579
1370
1195
  }
1371
1196
  ]
1372
1197
  },
@@ -1374,7 +1199,7 @@
1374
1199
  "RoleIdLib": [
1375
1200
  {
1376
1201
  "length": 20,
1377
- "start": 4048
1202
+ "start": 3818
1378
1203
  }
1379
1204
  ]
1380
1205
  },
@@ -1382,39 +1207,41 @@
1382
1207
  "VersionLib": [
1383
1208
  {
1384
1209
  "length": 20,
1385
- "start": 1922
1210
+ "start": 1733
1386
1211
  },
1387
1212
  {
1388
1213
  "length": 20,
1389
- "start": 2636
1214
+ "start": 2357
1390
1215
  }
1391
- ],
1392
- "VersionPartLib": [
1216
+ ]
1217
+ }
1218
+ },
1219
+ "deployedLinkReferences": {
1220
+ "contracts/shared/ContractLib.sol": {
1221
+ "ContractLib": [
1393
1222
  {
1394
1223
  "length": 20,
1395
- "start": 4096
1224
+ "start": 7374
1396
1225
  },
1397
1226
  {
1398
1227
  "length": 20,
1399
- "start": 8253
1228
+ "start": 7971
1400
1229
  }
1401
1230
  ]
1402
- }
1403
- },
1404
- "deployedLinkReferences": {
1231
+ },
1405
1232
  "contracts/type/NftId.sol": {
1406
1233
  "NftIdLib": [
1407
1234
  {
1408
1235
  "length": 20,
1409
- "start": 1862
1236
+ "start": 1673
1410
1237
  },
1411
1238
  {
1412
1239
  "length": 20,
1413
- "start": 4462
1240
+ "start": 4052
1414
1241
  },
1415
1242
  {
1416
1243
  "length": 20,
1417
- "start": 6719
1244
+ "start": 5365
1418
1245
  }
1419
1246
  ]
1420
1247
  },
@@ -1422,7 +1249,7 @@
1422
1249
  "RoleIdLib": [
1423
1250
  {
1424
1251
  "length": 20,
1425
- "start": 3834
1252
+ "start": 3604
1426
1253
  }
1427
1254
  ]
1428
1255
  },
@@ -1430,21 +1257,11 @@
1430
1257
  "VersionLib": [
1431
1258
  {
1432
1259
  "length": 20,
1433
- "start": 1708
1434
- },
1435
- {
1436
- "length": 20,
1437
- "start": 2422
1438
- }
1439
- ],
1440
- "VersionPartLib": [
1441
- {
1442
- "length": 20,
1443
- "start": 3882
1260
+ "start": 1519
1444
1261
  },
1445
1262
  {
1446
1263
  "length": 20,
1447
- "start": 8039
1264
+ "start": 2143
1448
1265
  }
1449
1266
  ]
1450
1267
  }