@etherisc/gif-next 0.0.2-d696c44-627 → 0.0.2-d6a50e7-658

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. package/README.md +46 -8
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -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 +158 -70
  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/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +97 -37
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +173 -375
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +123 -317
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +336 -229
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +143 -109
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +135 -139
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +198 -33
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2040 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2408 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +130 -61
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +105 -103
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +165 -157
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +317 -143
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +57 -84
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +919 -315
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +131 -266
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +102 -92
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +619 -492
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  104. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  106. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +139 -335
  108. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  110. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +128 -126
  113. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  115. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +115 -303
  117. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
  119. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
  121. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +162 -387
  123. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +114 -22
  125. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +434 -201
  127. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +163 -97
  129. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +270 -27
  131. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +143 -195
  133. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +448 -217
  135. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  136. package/artifacts/contracts/pool/Pool.sol/Pool.json +128 -370
  137. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +569 -396
  139. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +141 -91
  141. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +134 -184
  143. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +91 -93
  145. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +258 -396
  147. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  149. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +435 -212
  151. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +145 -107
  153. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +94 -9
  155. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +318 -8
  157. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +361 -113
  159. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +136 -83
  161. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +250 -198
  163. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  164. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +57 -4
  165. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +455 -318
  167. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  168. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +141 -99
  169. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PricingService.sol/PricingService.json +230 -312
  171. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +120 -122
  173. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  174. package/artifacts/contracts/product/Product.sol/Product.json +256 -394
  175. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  176. package/artifacts/contracts/product/RiskService.sol/RiskService.json +637 -0
  177. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  178. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +724 -0
  179. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  181. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  182. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +315 -34
  183. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
  185. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  186. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  187. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  189. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/Registry.sol/Registry.json +521 -95
  191. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  192. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +275 -160
  193. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  194. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  195. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  197. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1795 -0
  199. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  200. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  201. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  202. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +412 -246
  203. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  205. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  207. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  208. package/artifacts/contracts/shared/Component.sol/Component.json +76 -265
  209. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  210. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +559 -558
  211. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  212. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +137 -121
  213. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  214. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  215. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  216. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  217. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  218. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  223. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  224. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
  225. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +492 -212
  227. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +117 -126
  229. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  231. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  232. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  233. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  234. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  235. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  237. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  239. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  240. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  241. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  242. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  243. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  244. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  245. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +104 -303
  246. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  247. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  248. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  249. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  250. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  251. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  252. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  253. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  254. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  255. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  256. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  258. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  259. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  260. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  261. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  262. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  263. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +697 -25
  264. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  266. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  267. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  268. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  269. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +134 -125
  270. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  271. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +55 -23
  272. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +73 -93
  274. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  275. package/artifacts/contracts/staking/Staking.sol/Staking.json +210 -366
  276. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  277. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  278. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +122 -95
  280. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  282. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +100 -171
  284. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +98 -84
  286. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +153 -107
  288. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  289. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  290. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  291. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  293. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  295. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  297. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  299. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  301. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  303. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  304. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  305. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  307. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  308. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  309. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  311. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  313. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  315. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  317. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +118 -5
  319. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +3 -3
  321. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  323. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  327. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  330. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +52 -2
  332. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  334. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +47 -2
  336. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  337. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  338. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  339. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  340. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  341. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  342. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  343. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  344. package/contracts/accounting/AccountingService.sol +262 -0
  345. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  346. package/contracts/accounting/IAccountingService.sol +45 -0
  347. package/contracts/authorization/AccessAdmin.sol +192 -124
  348. package/contracts/authorization/AccessManagerCloneable.sol +136 -3
  349. package/contracts/authorization/Authorization.sol +111 -40
  350. package/contracts/authorization/IAccess.sol +1 -0
  351. package/contracts/authorization/IAccessAdmin.sol +10 -6
  352. package/contracts/authorization/IAuthorization.sol +13 -7
  353. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  354. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  355. package/contracts/distribution/BasicDistribution.sol +12 -22
  356. package/contracts/distribution/BasicDistributionAuthorization.sol +6 -2
  357. package/contracts/distribution/Distribution.sol +37 -50
  358. package/contracts/distribution/DistributionService.sol +152 -97
  359. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  360. package/contracts/distribution/IDistributionComponent.sol +6 -3
  361. package/contracts/distribution/IDistributionService.sol +23 -8
  362. package/contracts/examples/fire/DamageLevel.sol +59 -0
  363. package/contracts/examples/fire/FirePool.sol +90 -0
  364. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  365. package/contracts/examples/fire/FireProduct.sol +438 -0
  366. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  367. package/contracts/examples/fire/FireUSD.sol +26 -0
  368. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  369. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  370. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  371. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  372. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  373. package/contracts/examples/unpermissioned/SimpleProduct.sol +370 -0
  374. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  375. package/contracts/instance/BundleSet.sol +42 -38
  376. package/contracts/instance/IInstance.sol +16 -36
  377. package/contracts/instance/IInstanceService.sol +9 -29
  378. package/contracts/instance/Instance.sol +47 -66
  379. package/contracts/instance/InstanceAdmin.sol +133 -73
  380. package/contracts/instance/InstanceAuthorizationV3.sol +55 -32
  381. package/contracts/instance/InstanceReader.sol +218 -27
  382. package/contracts/instance/InstanceService.sol +125 -164
  383. package/contracts/instance/InstanceServiceManager.sol +8 -13
  384. package/contracts/instance/InstanceStore.sol +24 -2
  385. package/contracts/instance/RiskSet.sol +118 -0
  386. package/contracts/instance/base/ObjectCounter.sol +1 -2
  387. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  388. package/contracts/instance/base/ObjectSet.sol +31 -33
  389. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  390. package/contracts/instance/module/IBundle.sol +1 -1
  391. package/contracts/instance/module/IComponents.sol +14 -15
  392. package/contracts/instance/module/IDistribution.sol +0 -1
  393. package/contracts/instance/module/IPolicy.sol +26 -25
  394. package/contracts/instance/module/IRisk.sol +3 -0
  395. package/contracts/mock/Dip.sol +1 -1
  396. package/contracts/oracle/BasicOracle.sol +0 -1
  397. package/contracts/oracle/IOracleComponent.sol +2 -1
  398. package/contracts/oracle/IOracleService.sol +2 -1
  399. package/contracts/oracle/Oracle.sol +21 -22
  400. package/contracts/oracle/OracleService.sol +113 -81
  401. package/contracts/oracle/OracleServiceManager.sol +8 -11
  402. package/contracts/pool/BasicPool.sol +38 -27
  403. package/contracts/pool/BasicPoolAuthorization.sol +22 -3
  404. package/contracts/pool/BundleService.sol +226 -97
  405. package/contracts/pool/BundleServiceManager.sol +8 -11
  406. package/contracts/pool/IBundleService.sol +33 -18
  407. package/contracts/pool/IPoolComponent.sol +20 -10
  408. package/contracts/pool/IPoolService.sol +53 -50
  409. package/contracts/pool/Pool.sol +150 -116
  410. package/contracts/pool/PoolService.sol +343 -179
  411. package/contracts/pool/PoolServiceManager.sol +6 -9
  412. package/contracts/product/ApplicationService.sol +83 -78
  413. package/contracts/product/ApplicationServiceManager.sol +6 -6
  414. package/contracts/product/BasicProduct.sol +13 -44
  415. package/contracts/product/BasicProductAuthorization.sol +3 -2
  416. package/contracts/product/ClaimService.sol +425 -159
  417. package/contracts/product/ClaimServiceManager.sol +6 -6
  418. package/contracts/product/IApplicationService.sol +6 -2
  419. package/contracts/product/IClaimService.sol +44 -7
  420. package/contracts/product/IPolicyService.sol +46 -34
  421. package/contracts/product/IPricingService.sol +10 -10
  422. package/contracts/product/IProductComponent.sol +28 -5
  423. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  424. package/contracts/product/PolicyService.sol +520 -259
  425. package/contracts/product/PolicyServiceManager.sol +6 -9
  426. package/contracts/product/PricingService.sol +66 -62
  427. package/contracts/product/PricingServiceManager.sol +6 -9
  428. package/contracts/product/Product.sol +160 -89
  429. package/contracts/product/RiskService.sol +151 -0
  430. package/contracts/product/RiskServiceManager.sol +39 -0
  431. package/contracts/registry/ChainNft.sol +72 -40
  432. package/contracts/registry/IRegistry.sol +58 -28
  433. package/contracts/registry/IRegistryService.sol +5 -12
  434. package/contracts/registry/IRelease.sol +26 -0
  435. package/contracts/registry/ITransferInterceptor.sol +1 -2
  436. package/contracts/registry/Registry.sol +353 -203
  437. package/contracts/registry/RegistryAdmin.sol +161 -182
  438. package/contracts/registry/RegistryService.sol +41 -66
  439. package/contracts/registry/RegistryServiceManager.sol +5 -5
  440. package/contracts/registry/ReleaseAdmin.sol +245 -0
  441. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  442. package/contracts/registry/ReleaseRegistry.sol +258 -234
  443. package/contracts/registry/ServiceAuthorizationV3.sol +94 -52
  444. package/contracts/registry/TokenRegistry.sol +6 -8
  445. package/contracts/shared/Component.sol +71 -126
  446. package/contracts/shared/ComponentService.sol +441 -358
  447. package/contracts/shared/ComponentServiceManager.sol +10 -7
  448. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  449. package/contracts/shared/ContractLib.sol +252 -0
  450. package/contracts/shared/IComponent.sol +8 -17
  451. package/contracts/shared/IComponentService.sol +47 -39
  452. package/contracts/shared/IInstanceLinkedComponent.sol +7 -27
  453. package/contracts/shared/ILifecycle.sol +3 -1
  454. package/contracts/shared/INftOwnable.sol +2 -0
  455. package/contracts/shared/IPolicyHolder.sol +12 -22
  456. package/contracts/shared/IRegisterable.sol +23 -1
  457. package/contracts/shared/IService.sol +4 -6
  458. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  459. package/contracts/shared/InstanceLinkedComponent.sol +80 -34
  460. package/contracts/shared/KeyValueStore.sol +1 -1
  461. package/contracts/shared/Lifecycle.sol +15 -4
  462. package/contracts/shared/NftOwnable.sol +31 -11
  463. package/contracts/shared/PolicyHolder.sol +17 -57
  464. package/contracts/shared/Registerable.sol +55 -21
  465. package/contracts/shared/RegistryLinked.sol +9 -14
  466. package/contracts/shared/Service.sol +18 -36
  467. package/contracts/shared/TokenHandler.sol +357 -26
  468. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  469. package/contracts/staking/IStaking.sol +12 -6
  470. package/contracts/staking/IStakingService.sol +0 -3
  471. package/contracts/staking/StakeManagerLib.sol +18 -25
  472. package/contracts/staking/Staking.sol +85 -70
  473. package/contracts/staking/StakingManager.sol +10 -11
  474. package/contracts/staking/StakingReader.sol +17 -13
  475. package/contracts/staking/StakingService.sol +64 -36
  476. package/contracts/staking/StakingServiceManager.sol +4 -4
  477. package/contracts/staking/StakingStore.sol +5 -15
  478. package/contracts/staking/TargetManagerLib.sol +7 -3
  479. package/contracts/type/Amount.sol +27 -5
  480. package/contracts/type/Blocknumber.sol +7 -1
  481. package/contracts/type/ClaimId.sol +6 -1
  482. package/contracts/type/Key32.sol +2 -2
  483. package/contracts/type/Key32Set.sol +62 -0
  484. package/contracts/type/NftId.sol +7 -0
  485. package/contracts/type/ObjectType.sol +36 -17
  486. package/contracts/type/PayoutId.sol +10 -10
  487. package/contracts/type/Referral.sol +1 -0
  488. package/contracts/type/RiskId.sol +35 -4
  489. package/contracts/type/RoleId.sol +4 -13
  490. package/contracts/type/Seconds.sol +21 -1
  491. package/contracts/type/StateId.sol +15 -1
  492. package/contracts/type/Timestamp.sol +10 -5
  493. package/contracts/type/UFixed.sol +35 -122
  494. package/contracts/type/Version.sol +15 -5
  495. package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -37
  496. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  497. package/package.json +4 -3
  498. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  499. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  500. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  501. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  502. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  503. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  504. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  505. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  506. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  507. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  508. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  509. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  510. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  511. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  512. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  513. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  514. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  515. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  516. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  517. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  518. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  519. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  520. package/contracts/product/ProductService.sol +0 -124
  521. package/contracts/product/ProductServiceManager.sol +0 -42
  522. package/contracts/shared/InitializableCustom.sol +0 -177
  523. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
  524. /package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.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
  {
@@ -92,7 +119,7 @@
92
119
  },
93
120
  {
94
121
  "inputs": [],
95
- "name": "ErrorServiceNotImplemented",
122
+ "name": "ErrorRegisterableNotActive",
96
123
  "type": "error"
97
124
  },
98
125
  {
@@ -153,27 +180,6 @@
153
180
  "name": "ErrorStakingServiceNotActiveTargetNftId",
154
181
  "type": "error"
155
182
  },
156
- {
157
- "inputs": [
158
- {
159
- "internalType": "NftId",
160
- "name": "nftId",
161
- "type": "uint96"
162
- },
163
- {
164
- "internalType": "address",
165
- "name": "expectedOwner",
166
- "type": "address"
167
- },
168
- {
169
- "internalType": "address",
170
- "name": "owner",
171
- "type": "address"
172
- }
173
- ],
174
- "name": "ErrorStakingServiceNotNftOwner",
175
- "type": "error"
176
- },
177
183
  {
178
184
  "inputs": [
179
185
  {
@@ -222,6 +228,11 @@
222
228
  "name": "NotInitializing",
223
229
  "type": "error"
224
230
  },
231
+ {
232
+ "inputs": [],
233
+ "name": "ReentrancyGuardReentrantCall",
234
+ "type": "error"
235
+ },
225
236
  {
226
237
  "anonymous": false,
227
238
  "inputs": [
@@ -744,6 +755,19 @@
744
755
  "stateMutability": "view",
745
756
  "type": "function"
746
757
  },
758
+ {
759
+ "inputs": [],
760
+ "name": "getRelease",
761
+ "outputs": [
762
+ {
763
+ "internalType": "VersionPart",
764
+ "name": "release",
765
+ "type": "uint8"
766
+ }
767
+ ],
768
+ "stateMutability": "view",
769
+ "type": "function"
770
+ },
747
771
  {
748
772
  "inputs": [],
749
773
  "name": "getRoleId",
@@ -754,7 +778,7 @@
754
778
  "type": "uint64"
755
779
  }
756
780
  ],
757
- "stateMutability": "pure",
781
+ "stateMutability": "view",
758
782
  "type": "function"
759
783
  },
760
784
  {
@@ -796,121 +820,35 @@
796
820
  "stateMutability": "pure",
797
821
  "type": "function"
798
822
  },
799
- {
800
- "inputs": [],
801
- "name": "initializeERC165",
802
- "outputs": [],
803
- "stateMutability": "nonpayable",
804
- "type": "function"
805
- },
806
- {
807
- "inputs": [
808
- {
809
- "internalType": "address",
810
- "name": "initialOwner",
811
- "type": "address"
812
- },
813
- {
814
- "internalType": "address",
815
- "name": "registryAddress",
816
- "type": "address"
817
- }
818
- ],
819
- "name": "initializeNftOwnable",
820
- "outputs": [],
821
- "stateMutability": "nonpayable",
822
- "type": "function"
823
- },
824
823
  {
825
824
  "inputs": [
826
825
  {
827
826
  "internalType": "address",
828
- "name": "registryAddress",
829
- "type": "address"
830
- },
831
- {
832
- "internalType": "NftId",
833
- "name": "parentNftId",
834
- "type": "uint96"
835
- },
836
- {
837
- "internalType": "ObjectType",
838
- "name": "objectType",
839
- "type": "uint8"
840
- },
841
- {
842
- "internalType": "bool",
843
- "name": "isInterceptor",
844
- "type": "bool"
845
- },
846
- {
847
- "internalType": "address",
848
- "name": "initialOwner",
827
+ "name": "activatedBy",
849
828
  "type": "address"
850
829
  },
851
830
  {
852
831
  "internalType": "bytes",
853
- "name": "registryData",
832
+ "name": "data",
854
833
  "type": "bytes"
855
834
  }
856
835
  ],
857
- "name": "initializeRegisterable",
858
- "outputs": [],
859
- "stateMutability": "nonpayable",
860
- "type": "function"
861
- },
862
- {
863
- "inputs": [
864
- {
865
- "internalType": "address",
866
- "name": "registryAddress",
867
- "type": "address"
868
- }
869
- ],
870
- "name": "initializeRegistryLinked",
871
- "outputs": [],
872
- "stateMutability": "nonpayable",
873
- "type": "function"
874
- },
875
- {
876
- "inputs": [
877
- {
878
- "internalType": "address",
879
- "name": "registry",
880
- "type": "address"
881
- },
882
- {
883
- "internalType": "address",
884
- "name": "authority",
885
- "type": "address"
886
- },
887
- {
888
- "internalType": "address",
889
- "name": "initialOwner",
890
- "type": "address"
891
- }
892
- ],
893
- "name": "initializeService",
836
+ "name": "initializeVersionable",
894
837
  "outputs": [],
895
838
  "stateMutability": "nonpayable",
896
839
  "type": "function"
897
840
  },
898
841
  {
899
- "inputs": [
900
- {
901
- "internalType": "address",
902
- "name": "activatedBy",
903
- "type": "address"
904
- },
842
+ "inputs": [],
843
+ "name": "isActive",
844
+ "outputs": [
905
845
  {
906
- "internalType": "bytes",
907
- "name": "data",
908
- "type": "bytes"
846
+ "internalType": "bool",
847
+ "name": "active",
848
+ "type": "bool"
909
849
  }
910
850
  ],
911
- "name": "initializeVersionable",
912
- "outputs": [],
913
- "stateMutability": "nonpayable",
851
+ "stateMutability": "view",
914
852
  "type": "function"
915
853
  },
916
854
  {
@@ -992,19 +930,6 @@
992
930
  "stateMutability": "nonpayable",
993
931
  "type": "function"
994
932
  },
995
- {
996
- "inputs": [
997
- {
998
- "internalType": "bytes4",
999
- "name": "interfaceId",
1000
- "type": "bytes4"
1001
- }
1002
- ],
1003
- "name": "registerInterface",
1004
- "outputs": [],
1005
- "stateMutability": "nonpayable",
1006
- "type": "function"
1007
- },
1008
933
  {
1009
934
  "inputs": [
1010
935
  {
@@ -1202,18 +1127,30 @@
1202
1127
  "type": "function"
1203
1128
  }
1204
1129
  ],
1205
- "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613780806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610234575f3560e01c8063756b30de11610135578063a8b9328a116100b4578063dea4ccf211610079578063dea4ccf214610576578063dec3bdde14610589578063f11bcbe71461059c578063f67fef6d146105cc578063f7c34ee0146105df575f80fd5b8063a8b9328a14610525578063ada9652e14610538578063b68d18091461054c578063bf7e214f1461055b578063db1e36e714610563575f80fd5b8063893d20e8116100fa578063893d20e8146104c25780638cf81e46146104ca5780638e32e979146104de5780638fb36037146104f1578063943bd19714610512575f80fd5b8063756b30de146104465780637a9e5e4b146104595780637b1391a61461046c57806381d9b45f1461049c57806386b0e019146104af575f80fd5b8063329d6e74116101c1578063644c45e011610186578063644c45e0146103d0578063675393bf146103ed5780636c1e9dff146104005780636c741e7814610413578063719f761a14610433575f80fd5b8063329d6e741461034d57806336fc697e1461036057806343d752d31461036857806349bb9e4b146103ac5780635ab1bd53146103bf575f80fd5b8063138461e011610207578063138461e0146102bf5780631eff4b22146102df578063214cdb801461031457806321ece6571461032757806327bb7a331461033a575f80fd5b806301ffc9a7146102385780630d8e6e2c146102795780630fec111c1461029557806310a0638a146102aa575b5f80fd5b610264610246366004612cf6565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102816105f2565b60405162ffffff9091168152602001610270565b61029d610679565b6040516102709190612d4b565b6102bd6102b8366004612deb565b610837565b005b6102c76108f8565b6040516001600160601b039091168152602001610270565b6103067f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610270565b6102bd610322366004612cf6565b610902565b6102c7610335366004612e06565b61092e565b6102bd610348366004612f50565b610af3565b6102bd61035b366004612fe3565b610b98565b6102bd610ce2565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b039091168152602001610270565b6102bd6103ba366004613014565b610d27565b6001546001600160a01b0316610394565b5f805160206136cb833981519152546001600160601b03166102c7565b6102bd6103fb366004613060565b610e23565b6102bd61040e366004612e06565b610f35565b61041b611251565b6040516001600160401b039091168152602001610270565b6102bd610441366004612deb565b611347565b6102c7610454366004612e06565b611545565b6102bd610467366004613060565b6117dd565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa301546001600160a01b0316610394565b6102bd6104aa366004613094565b61185f565b6102c76104bd366004612e06565b61194c565b61039461196a565b6103065f8051602061370b83398151915281565b6102bd6104ec3660046130d0565b611a9b565b6104f9611bd8565b6040516001600160e01b03199091168152602001610270565b6102bd610520366004613118565b611c0d565b6102bd610533366004613155565b611c16565b6103065f805160206136cb83398151915281565b60405160038152602001610270565b610394611cab565b6102bd61057136600461317f565b611cc6565b6102bd610584366004612deb565b611d34565b6102c7610597366004613118565b611f3e565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b0316610394565b6102c76105da366004612e06565b611f53565b6102bd6105ed3660046131b2565b612013565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610650573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067491906131de565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610729573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074d919061320b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161079561196a565b6001600160a01b031681526020018260010180546107b290613226565b80601f01602080910402602001604051908101604052809291908181526020018280546107de90613226565b80156108295780601f1061080057610100808354040283529160200191610829565b820191905f5260205f20905b81548152906001019060200180831161080c57829003601f168201915b505050505081525091505090565b610843335b5f36612089565b5f5f8051602061370b833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a906024015f604051808303815f87803b1580156108a0575f80fd5b505af11580156108b2573d5f803e3d5ffd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b5f6106743061217f565b61090a612378565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6109383361083c565b5f5f8051602061370b833981519152600181015460405163e8ce883d60e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063e8ce883d906044016020604051808303815f875af11580156109a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c6919061320b565b91505f6109db6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4c9190613269565b60018301546040516331449be960e11b81529192506001600160a01b03169063628937d290610a819084908890600401613284565b5f604051808303815f87803b158015610a98575f80fd5b505af1158015610aaa573d5f803e3d5ffd5b505050507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d785828686604051610ae394939291906132a6565b60405180910390a1505092915050565b610afb612378565b610b058287612013565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610b8e8382613325565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610bba6105f2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610bf8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c1c91906133f3565b5f8051602061372b8339815191528054600160401b900460ff1680610c4e575080546001600160401b03808416911610155b15610c6c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c96836123b0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610cea612378565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f8051602061372b8339815191528054600160401b810460ff1615906001600160401b03165f81158015610d585750825b90505f826001600160401b03166001148015610d735750303b155b905081158015610d81575080155b15610d9f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610dc957845460ff60401b1916600160401b1785555b610dd387876123b8565b8315610e1a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610e2b612378565b806001600160a01b03163b5f03610e655760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610edf575060408051601f3d908101601f19168201909252610edc91810190613419565b60015b610f075760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e5c565b80610f305760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e5c565b505b50565b610f3e3361083c565b81610f516001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc29190613269565b6001600160a01b0316336001600160a01b0316146110965780610fed6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03841660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561103a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105e9190613269565b604051620d652560ea1b81526001600160601b0390921660048301526001600160a01b03166024820152336044820152606401610e5c565b5f5f8051602061370b8339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033915f916001600160a01b031690636c1e9dff906044016020604051808303815f875af1158015611104573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611128919061320b565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015611181573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a59190613419565b1561120c57600183015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd906111de9085908990600401613284565b5f604051808303815f87803b1580156111f5575f80fd5b505af1158015611207573d5f803e3d5ffd5b505050505b7f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d8683878460405161124194939291906132a6565b60405180910390a1505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36003604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156112bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e0919061343f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611323573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067491906133f3565b6113503361083c565b806113636001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156113b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d49190613269565b6001600160a01b0316336001600160a01b0316146113ff5780610fed6001546001600160a01b031690565b5f5f8051602061370b83398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033915f916001600160a01b03169063719f761a906024016020604051808303815f875af1158015611465573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611489919061320b565b60018401546040516331449be960e11b81529192506001600160a01b03169063628937d2906114be9085908590600401613284565b5f604051808303815f87803b1580156114d5575f80fd5b505af11580156114e7573d5f803e3d5ffd5b5050604080516001600160601b0389811682526001600160a01b038716602083015285168183015290517f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda89350908190036060019150a15050505050565b5f61154f3361083c565b5f8051602061370b83398151915280546040805160e0810180835263bc1b392d60e01b9052905133926001600160a01b031691638105cc7f91819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af41580156115c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ea919061320b565b6001600160601b03168152602001886001600160601b0316815260200161160f602090565b60ff1681526020015f151581526020015f6001600160a01b03168152602001846001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b815260040161166b9190612d4b565b6020604051808303815f875af1158015611687573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ab919061320b565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc906064015f604051808303815f87803b158015611709575f80fd5b505af115801561171b573d5f803e3d5ffd5b505050600183015460405163e3a817cd60e01b81526001600160a01b03909116915063e3a817cd906117539084908890600401613284565b5f604051808303815f87803b15801561176a575f80fd5b505af115801561177c573d5f803e3d5ffd5b5050604080516001600160601b038088168252808a1660208301526001600160a01b0386169282019290925290871660608201527fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d792506080019050610ae3565b336117e6611cab565b6001600160a01b0316816001600160a01b0316146118215760405162d1953b60e31b81526001600160a01b0382166004820152602401610e5c565b816001600160a01b03163b5f03611856576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e5c565b610f3082612638565b6118683361083c565b465f8051602061370b833981519152600101546001600160a01b031663562119ee85600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a4015f604051808303815f87803b1580156118ed575f80fd5b505af11580156118ff573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f6119563361083c565b33611962848285612691565b949350505050565b5f805f805160206136cb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156119d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fa9190613419565b15611a85576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a7f9190613269565b91505090565b54600160601b90046001600160a01b0316919050565b611aa3612378565b611b1f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b07919061320b565b60085f8560405180602001604052805f815250610af3565b6001600160a01b03821615611b3c57611b37826127c7565b611bb3565b5f611b4760026127d8565b9050611bb1816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b88573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bac9190613269565b6127c7565b505b611bc3634a531f3360e01b610902565b611bd363daf9067160e01b610902565b505050565b5f805160206136eb83398151915280545f9190600160a01b900460ff16611bff575f611a7f565b638fb3603760e01b91505090565b611bd33361083c565b611c1f3361083c565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051632a80f67360e01b81526001600160601b0384166004820152602481018390526001600160a01b0390911690632a80f673906044015b5f604051808303815f87803b158015611c91575f80fd5b505af1158015611ca3573d5f803e3d5ffd5b505050505050565b5f805160206136eb833981519152546001600160a01b031690565b611ccf3361083c565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f90604401611c7a565b611d3d3361083c565b80611d506001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc19190613269565b6001600160a01b0316336001600160a01b031614611dec5780610fed6001546001600160a01b031690565b5f5f8051602061370b8339815191526001810154604051636f52667960e11b81526001600160601b038616600482015291925033915f9182916001600160a01b039091169063dea4ccf29060240160408051808303815f875af1158015611e55573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e79919061345a565b915091505f611e8883836128df565b60018601546040516331449be960e11b81529192506001600160a01b03169063628937d290611ebd9087908590600401613284565b5f604051808303815f87803b158015611ed4575f80fd5b505af1158015611ee6573d5f803e3d5ffd5b5050604080516001600160601b03808c1682526001600160a01b03891660208301528516918101919091527fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd23992506060019050610e11565b5f611f483361083c565b611962848484612691565b5f611f5d3361083c565b82611f706001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611fbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fe19190613269565b6001600160a01b0316336001600160a01b03161461200c5780610fed6001546001600160a01b031690565b5092915050565b61201b612378565b61202481610e23565b61202c610ce2565b6001600160a01b0382166120535760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206136cb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805160206136eb8339815191525f806120c16120a4611cab565b87306120b360045f8a8c613487565b6120bc916134ae565b61296a565b9150915081611ca35763ffffffff81161561215c57825460ff60a01b1916600160a01b1783556120ef611cab565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161211e939291906134e4565b5f604051808303815f87803b158015612135575f80fd5b505af1158015612147573d5f803e3d5ffd5b5050845460ff60a01b1916855550611ca39050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e5c565b5f805f805160206136cb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156121eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220f9190613419565b1561223b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610e5c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561228d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122b19190613419565b6122d95760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610e5c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561232b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061234f919061320b565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061372b83398151915254600160401b900460ff166123ae57604051631afcd79f60e31b815260040160405180910390fd5b565b610234612378565b5f8051602061372b8339815191528054600160401b810460ff1615906001600160401b03165f811580156123e95750825b90505f826001600160401b031660011480156124045750303b155b905081158015612412575080155b156124305760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561245a57845460ff60401b1916600160401b1785555b5f805f888060200190518101906124719190613523565b92509250925061248282848c611a9b565b5f8051602061370b83398151915261249a60026127d8565b81546001600160a01b0319166001600160a01b03919091161781556124be82612a72565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa158015612518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253c9190613269565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa15801561259c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c09190613269565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556125f2638694498960e01b610902565b505050508315610e1a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610e11565b5f805160206136eb83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108ec565b5f805f8051602061370b833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152861660248201529192506001600160a01b03169063de0eb85f906044016020604051808303815f875af11580156126fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612720919061320b565b600182015460405163e3a817cd60e01b81529193506001600160a01b03169063e3a817cd906127559087908790600401613284565b5f604051808303815f87803b15801561276c575f80fd5b505af115801561277e573d5f803e3d5ffd5b505050507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f858585856040516127b794939291906132a6565b60405180910390a1509392505050565b6127cf612378565b610f3281612ce5565b5f6127eb6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561284e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612872919061343f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156128b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d99190613269565b92915050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af415801561293f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612963919061320b565b9392505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516129d89190613562565b5f60405180830381855afa9150503d805f8114612a10576040519150601f19603f3d011682016040523d82523d5f602084013e612a15565b606091505b50915091508115612a67576040815110612a475780806020019051810190612a3d9190613578565b9094509250612a67565b6020815110612a675780806020019051810190612a649190613419565b93505b505094509492505050565b5f80612a866001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa158015612acb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612af291908101906135fa565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b729190613419565b15612bc357612b938160400151612b87600390565b60ff9081169116141590565b15612bbc57604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610e5c565b5090919050565b6040516301ffc9a760e01b815263fef8804160e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015612c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c309190613419565b612c5857604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610e5c565b335f8051602061370b8339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af1158015612cb5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612cdc91908101906135fa565b50929392505050565b612ced612378565b610f3281612638565b5f60208284031215612d06575f80fd5b81356001600160e01b031981168114612963575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612d93608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611962610100840182612d1d565b6001600160601b0381168114610f32575f80fd5b5f60208284031215612dfb575f80fd5b813561296381612dd7565b5f8060408385031215612e17575f80fd5b8235612e2281612dd7565b91506020830135612e3281612dd7565b809150509250929050565b6001600160a01b0381168114610f32575f80fd5b60ff81168114610f32575f80fd5b8015158114610f32575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612ea257612ea2612e6c565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612ed057612ed0612e6c565b604052919050565b5f6001600160401b03821115612ef057612ef0612e6c565b50601f01601f191660200190565b5f82601f830112612f0d575f80fd5b8135612f20612f1b82612ed8565b612ea8565b818152846020838601011115612f34575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612f65575f80fd5b8635612f7081612e3d565b95506020870135612f8081612dd7565b94506040870135612f9081612e51565b93506060870135612fa081612e5f565b92506080870135612fb081612e3d565b915060a08701356001600160401b03811115612fca575f80fd5b612fd689828a01612efe565b9150509295509295509295565b5f60208284031215612ff3575f80fd5b81356001600160401b03811115613008575f80fd5b61196284828501612efe565b5f8060408385031215613025575f80fd5b823561303081612e3d565b915060208301356001600160401b0381111561304a575f80fd5b61305685828601612efe565b9150509250929050565b5f60208284031215613070575f80fd5b813561296381612e3d565b803564ffffffffff8116811461308f575f80fd5b919050565b5f805f606084860312156130a6575f80fd5b83356130b181612dd7565b92506130bf6020850161307b565b929592945050506040919091013590565b5f805f606084860312156130e2575f80fd5b83356130ed81612e3d565b925060208401356130fd81612e3d565b9150604084013561310d81612e3d565b809150509250925092565b5f805f6060848603121561312a575f80fd5b833561313581612dd7565b9250602084013561314581612e3d565b9150604084013561310d81612dd7565b5f8060408385031215613166575f80fd5b823561317181612dd7565b946020939093013593505050565b5f8060408385031215613190575f80fd5b823561319b81612dd7565b91506131a96020840161307b565b90509250929050565b5f80604083850312156131c3575f80fd5b82356131ce81612e3d565b91506020830135612e3281612e3d565b5f602082840312156131ee575f80fd5b815162ffffff81168114612963575f80fd5b805161308f81612dd7565b5f6020828403121561321b575f80fd5b815161296381612dd7565b600181811c9082168061323a57607f821691505b60208210810361325857634e487b7160e01b5f52602260045260245ffd5b50919050565b805161308f81612e3d565b5f60208284031215613279575f80fd5b815161296381612e3d565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b601f821115611bd357805f5260205f20601f840160051c810160208510156132ff5750805b601f840160051c820191505b8181101561331e575f815560010161330b565b5050505050565b81516001600160401b0381111561333e5761333e612e6c565b6133528161334c8454613226565b846132da565b6020601f821160018114613384575f831561336d5750848201515b5f19600385901b1c1916600184901b17845561331e565b5f84815260208120601f198516915b828110156133b35787850151825560209485019460019092019101613393565b50848210156133d057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610f32575f80fd5b5f60208284031215613403575f80fd5b8151612963816133df565b805161308f81612e5f565b5f60208284031215613429575f80fd5b815161296381612e5f565b805161308f81612e51565b5f6020828403121561344f575f80fd5b815161296381612e51565b5f806040838503121561346b575f80fd5b825161347681612dd7565b6020840151909250612e3281612dd7565b5f8085851115613495575f80fd5b838611156134a1575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561200c576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f60608486031215613535575f80fd5b835161354081612e3d565b602085015190935061355181612e3d565b604085015190925061310d81612e3d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613589575f80fd5b825161359481612e5f565b602084015190925063ffffffff81168114612e32575f80fd5b5f82601f8301126135bc575f80fd5b81516135ca612f1b82612ed8565b8181528460208386010111156135de575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561360a575f80fd5b81516001600160401b0381111561361f575f80fd5b820160e08185031215613630575f80fd5b613638612e80565b61364182613200565b815261364f60208301613200565b602082015261366060408301613434565b60408201526136716060830161340e565b60608201526136826080830161325e565b608082015261369360a0830161325e565b60a082015260c08201516001600160401b038111156136b0575f80fd5b6136bc868285016135ad565b60c08301525094935050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208b50e0b40106df57248eaa425aee37fc1627f47287bee3cce7d0e7dbed9f5fb164736f6c634300081a0033",
1206
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610234575f3560e01c8063756b30de11610135578063a8b9328a116100b4578063dea4ccf211610079578063dea4ccf214610576578063dec3bdde14610589578063f11bcbe71461059c578063f67fef6d146105cc578063f7c34ee0146105df575f80fd5b8063a8b9328a14610525578063ada9652e14610538578063b68d18091461054c578063bf7e214f1461055b578063db1e36e714610563575f80fd5b8063893d20e8116100fa578063893d20e8146104c25780638cf81e46146104ca5780638e32e979146104de5780638fb36037146104f1578063943bd19714610512575f80fd5b8063756b30de146104465780637a9e5e4b146104595780637b1391a61461046c57806381d9b45f1461049c57806386b0e019146104af575f80fd5b8063329d6e74116101c1578063644c45e011610186578063644c45e0146103d0578063675393bf146103ed5780636c1e9dff146104005780636c741e7814610413578063719f761a14610433575f80fd5b8063329d6e741461034d57806336fc697e1461036057806343d752d31461036857806349bb9e4b146103ac5780635ab1bd53146103bf575f80fd5b8063138461e011610207578063138461e0146102bf5780631eff4b22146102df578063214cdb801461031457806321ece6571461032757806327bb7a331461033a575f80fd5b806301ffc9a7146102385780630d8e6e2c146102795780630fec111c1461029557806310a0638a146102aa575b5f80fd5b610264610246366004612cf6565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102816105f2565b60405162ffffff9091168152602001610270565b61029d610679565b6040516102709190612d4b565b6102bd6102b8366004612deb565b610837565b005b6102c76108f8565b6040516001600160601b039091168152602001610270565b6103067f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610270565b6102bd610322366004612cf6565b610902565b6102c7610335366004612e06565b61092e565b6102bd610348366004612f50565b610af3565b6102bd61035b366004612fe3565b610b98565b6102bd610ce2565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b039091168152602001610270565b6102bd6103ba366004613014565b610d27565b6001546001600160a01b0316610394565b5f805160206136cb833981519152546001600160601b03166102c7565b6102bd6103fb366004613060565b610e23565b6102bd61040e366004612e06565b610f35565b61041b611251565b6040516001600160401b039091168152602001610270565b6102bd610441366004612deb565b611347565b6102c7610454366004612e06565b611545565b6102bd610467366004613060565b6117dd565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa301546001600160a01b0316610394565b6102bd6104aa366004613094565b61185f565b6102c76104bd366004612e06565b61194c565b61039461196a565b6103065f8051602061370b83398151915281565b6102bd6104ec3660046130d0565b611a9b565b6104f9611bd8565b6040516001600160e01b03199091168152602001610270565b6102bd610520366004613118565b611c0d565b6102bd610533366004613155565b611c16565b6103065f805160206136cb83398151915281565b60405160038152602001610270565b610394611cab565b6102bd61057136600461317f565b611cc6565b6102bd610584366004612deb565b611d34565b6102c7610597366004613118565b611f3e565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b0316610394565b6102c76105da366004612e06565b611f53565b6102bd6105ed3660046131b2565b612013565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610650573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067491906131de565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610729573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074d919061320b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161079561196a565b6001600160a01b031681526020018260010180546107b290613226565b80601f01602080910402602001604051908101604052809291908181526020018280546107de90613226565b80156108295780601f1061080057610100808354040283529160200191610829565b820191905f5260205f20905b81548152906001019060200180831161080c57829003601f168201915b505050505081525091505090565b610843335b5f36612089565b5f5f8051602061370b833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a906024015f604051808303815f87803b1580156108a0575f80fd5b505af11580156108b2573d5f803e3d5ffd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b5f6106743061217f565b61090a612378565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6109383361083c565b5f5f8051602061370b833981519152600181015460405163e8ce883d60e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063e8ce883d906044016020604051808303815f875af11580156109a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c6919061320b565b91505f6109db6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4c9190613269565b60018301546040516331449be960e11b81529192506001600160a01b03169063628937d290610a819084908890600401613284565b5f604051808303815f87803b158015610a98575f80fd5b505af1158015610aaa573d5f803e3d5ffd5b505050507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d785828686604051610ae394939291906132a6565b60405180910390a1505092915050565b610afb612378565b610b058287612013565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610b8e8382613325565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610bba6105f2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610bf8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c1c91906133f3565b5f8051602061372b8339815191528054600160401b900460ff1680610c4e575080546001600160401b03808416911610155b15610c6c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c96836123b0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610cea612378565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f8051602061372b8339815191528054600160401b810460ff1615906001600160401b03165f81158015610d585750825b90505f826001600160401b03166001148015610d735750303b155b905081158015610d81575080155b15610d9f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610dc957845460ff60401b1916600160401b1785555b610dd387876123b8565b8315610e1a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610e2b612378565b806001600160a01b03163b5f03610e655760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610edf575060408051601f3d908101601f19168201909252610edc91810190613419565b60015b610f075760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e5c565b80610f305760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e5c565b505b50565b610f3e3361083c565b81610f516001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc29190613269565b6001600160a01b0316336001600160a01b0316146110965780610fed6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03841660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561103a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105e9190613269565b604051620d652560ea1b81526001600160601b0390921660048301526001600160a01b03166024820152336044820152606401610e5c565b5f5f8051602061370b8339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033915f916001600160a01b031690636c1e9dff906044016020604051808303815f875af1158015611104573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611128919061320b565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015611181573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a59190613419565b1561120c57600183015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd906111de9085908990600401613284565b5f604051808303815f87803b1580156111f5575f80fd5b505af1158015611207573d5f803e3d5ffd5b505050505b7f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d8683878460405161124194939291906132a6565b60405180910390a1505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36003604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156112bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e0919061343f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611323573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067491906133f3565b6113503361083c565b806113636001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156113b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d49190613269565b6001600160a01b0316336001600160a01b0316146113ff5780610fed6001546001600160a01b031690565b5f5f8051602061370b83398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033915f916001600160a01b03169063719f761a906024016020604051808303815f875af1158015611465573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611489919061320b565b60018401546040516331449be960e11b81529192506001600160a01b03169063628937d2906114be9085908590600401613284565b5f604051808303815f87803b1580156114d5575f80fd5b505af11580156114e7573d5f803e3d5ffd5b5050604080516001600160601b0389811682526001600160a01b038716602083015285168183015290517f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda89350908190036060019150a15050505050565b5f61154f3361083c565b5f8051602061370b83398151915280546040805160e0810180835263bc1b392d60e01b9052905133926001600160a01b031691638105cc7f91819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af41580156115c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ea919061320b565b6001600160601b03168152602001886001600160601b0316815260200161160f602090565b60ff1681526020015f151581526020015f6001600160a01b03168152602001846001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b815260040161166b9190612d4b565b6020604051808303815f875af1158015611687573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ab919061320b565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc906064015f604051808303815f87803b158015611709575f80fd5b505af115801561171b573d5f803e3d5ffd5b505050600183015460405163e3a817cd60e01b81526001600160a01b03909116915063e3a817cd906117539084908890600401613284565b5f604051808303815f87803b15801561176a575f80fd5b505af115801561177c573d5f803e3d5ffd5b5050604080516001600160601b038088168252808a1660208301526001600160a01b0386169282019290925290871660608201527fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d792506080019050610ae3565b336117e6611cab565b6001600160a01b0316816001600160a01b0316146118215760405162d1953b60e31b81526001600160a01b0382166004820152602401610e5c565b816001600160a01b03163b5f03611856576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e5c565b610f3082612638565b6118683361083c565b465f8051602061370b833981519152600101546001600160a01b031663562119ee85600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a4015f604051808303815f87803b1580156118ed575f80fd5b505af11580156118ff573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f6119563361083c565b33611962848285612691565b949350505050565b5f805f805160206136cb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156119d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fa9190613419565b15611a85576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a7f9190613269565b91505090565b54600160601b90046001600160a01b0316919050565b611aa3612378565b611b1f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b07919061320b565b60085f8560405180602001604052805f815250610af3565b6001600160a01b03821615611b3c57611b37826127c7565b611bb3565b5f611b4760026127d8565b9050611bb1816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b88573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bac9190613269565b6127c7565b505b611bc3634a531f3360e01b610902565b611bd363daf9067160e01b610902565b505050565b5f805160206136eb83398151915280545f9190600160a01b900460ff16611bff575f611a7f565b638fb3603760e01b91505090565b611bd33361083c565b611c1f3361083c565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051632a80f67360e01b81526001600160601b0384166004820152602481018390526001600160a01b0390911690632a80f673906044015b5f604051808303815f87803b158015611c91575f80fd5b505af1158015611ca3573d5f803e3d5ffd5b505050505050565b5f805160206136eb833981519152546001600160a01b031690565b611ccf3361083c565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f90604401611c7a565b611d3d3361083c565b80611d506001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc19190613269565b6001600160a01b0316336001600160a01b031614611dec5780610fed6001546001600160a01b031690565b5f5f8051602061370b8339815191526001810154604051636f52667960e11b81526001600160601b038616600482015291925033915f9182916001600160a01b039091169063dea4ccf29060240160408051808303815f875af1158015611e55573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e79919061345a565b915091505f611e8883836128df565b60018601546040516331449be960e11b81529192506001600160a01b03169063628937d290611ebd9087908590600401613284565b5f604051808303815f87803b158015611ed4575f80fd5b505af1158015611ee6573d5f803e3d5ffd5b5050604080516001600160601b03808c1682526001600160a01b03891660208301528516918101919091527fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd23992506060019050610e11565b5f611f483361083c565b611962848484612691565b5f611f5d3361083c565b82611f706001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611fbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fe19190613269565b6001600160a01b0316336001600160a01b03161461200c5780610fed6001546001600160a01b031690565b5092915050565b61201b612378565b61202481610e23565b61202c610ce2565b6001600160a01b0382166120535760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206136cb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805160206136eb8339815191525f806120c16120a4611cab565b87306120b360045f8a8c613487565b6120bc916134ae565b61296a565b9150915081611ca35763ffffffff81161561215c57825460ff60a01b1916600160a01b1783556120ef611cab565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161211e939291906134e4565b5f604051808303815f87803b158015612135575f80fd5b505af1158015612147573d5f803e3d5ffd5b5050845460ff60a01b1916855550611ca39050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e5c565b5f805f805160206136cb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156121eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220f9190613419565b1561223b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610e5c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561228d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122b19190613419565b6122d95760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610e5c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561232b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061234f919061320b565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061372b83398151915254600160401b900460ff166123ae57604051631afcd79f60e31b815260040160405180910390fd5b565b610234612378565b5f8051602061372b8339815191528054600160401b810460ff1615906001600160401b03165f811580156123e95750825b90505f826001600160401b031660011480156124045750303b155b905081158015612412575080155b156124305760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561245a57845460ff60401b1916600160401b1785555b5f805f888060200190518101906124719190613523565b92509250925061248282848c611a9b565b5f8051602061370b83398151915261249a60026127d8565b81546001600160a01b0319166001600160a01b03919091161781556124be82612a72565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa158015612518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253c9190613269565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa15801561259c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c09190613269565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556125f2638694498960e01b610902565b505050508315610e1a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610e11565b5f805160206136eb83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108ec565b5f805f8051602061370b833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152861660248201529192506001600160a01b03169063de0eb85f906044016020604051808303815f875af11580156126fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612720919061320b565b600182015460405163e3a817cd60e01b81529193506001600160a01b03169063e3a817cd906127559087908790600401613284565b5f604051808303815f87803b15801561276c575f80fd5b505af115801561277e573d5f803e3d5ffd5b505050507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f858585856040516127b794939291906132a6565b60405180910390a1509392505050565b6127cf612378565b610f3281612ce5565b5f6127eb6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561284e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612872919061343f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156128b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d99190613269565b92915050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af415801561293f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612963919061320b565b9392505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516129d89190613562565b5f60405180830381855afa9150503d805f8114612a10576040519150601f19603f3d011682016040523d82523d5f602084013e612a15565b606091505b50915091508115612a67576040815110612a475780806020019051810190612a3d9190613578565b9094509250612a67565b6020815110612a675780806020019051810190612a649190613419565b93505b505094509492505050565b5f80612a866001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa158015612acb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612af291908101906135fa565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b729190613419565b15612bc357612b938160400151612b87600390565b60ff9081169116141590565b15612bbc57604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610e5c565b5090919050565b6040516301ffc9a760e01b815263fef8804160e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015612c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c309190613419565b612c5857604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610e5c565b335f8051602061370b8339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af1158015612cb5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612cdc91908101906135fa565b50929392505050565b612ced612378565b610f3281612638565b5f60208284031215612d06575f80fd5b81356001600160e01b031981168114612963575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612d93608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611962610100840182612d1d565b6001600160601b0381168114610f32575f80fd5b5f60208284031215612dfb575f80fd5b813561296381612dd7565b5f8060408385031215612e17575f80fd5b8235612e2281612dd7565b91506020830135612e3281612dd7565b809150509250929050565b6001600160a01b0381168114610f32575f80fd5b60ff81168114610f32575f80fd5b8015158114610f32575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612ea257612ea2612e6c565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612ed057612ed0612e6c565b604052919050565b5f6001600160401b03821115612ef057612ef0612e6c565b50601f01601f191660200190565b5f82601f830112612f0d575f80fd5b8135612f20612f1b82612ed8565b612ea8565b818152846020838601011115612f34575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612f65575f80fd5b8635612f7081612e3d565b95506020870135612f8081612dd7565b94506040870135612f9081612e51565b93506060870135612fa081612e5f565b92506080870135612fb081612e3d565b915060a08701356001600160401b03811115612fca575f80fd5b612fd689828a01612efe565b9150509295509295509295565b5f60208284031215612ff3575f80fd5b81356001600160401b03811115613008575f80fd5b61196284828501612efe565b5f8060408385031215613025575f80fd5b823561303081612e3d565b915060208301356001600160401b0381111561304a575f80fd5b61305685828601612efe565b9150509250929050565b5f60208284031215613070575f80fd5b813561296381612e3d565b803564ffffffffff8116811461308f575f80fd5b919050565b5f805f606084860312156130a6575f80fd5b83356130b181612dd7565b92506130bf6020850161307b565b929592945050506040919091013590565b5f805f606084860312156130e2575f80fd5b83356130ed81612e3d565b925060208401356130fd81612e3d565b9150604084013561310d81612e3d565b809150509250925092565b5f805f6060848603121561312a575f80fd5b833561313581612dd7565b9250602084013561314581612e3d565b9150604084013561310d81612dd7565b5f8060408385031215613166575f80fd5b823561317181612dd7565b946020939093013593505050565b5f8060408385031215613190575f80fd5b823561319b81612dd7565b91506131a96020840161307b565b90509250929050565b5f80604083850312156131c3575f80fd5b82356131ce81612e3d565b91506020830135612e3281612e3d565b5f602082840312156131ee575f80fd5b815162ffffff81168114612963575f80fd5b805161308f81612dd7565b5f6020828403121561321b575f80fd5b815161296381612dd7565b600181811c9082168061323a57607f821691505b60208210810361325857634e487b7160e01b5f52602260045260245ffd5b50919050565b805161308f81612e3d565b5f60208284031215613279575f80fd5b815161296381612e3d565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b601f821115611bd357805f5260205f20601f840160051c810160208510156132ff5750805b601f840160051c820191505b8181101561331e575f815560010161330b565b5050505050565b81516001600160401b0381111561333e5761333e612e6c565b6133528161334c8454613226565b846132da565b6020601f821160018114613384575f831561336d5750848201515b5f19600385901b1c1916600184901b17845561331e565b5f84815260208120601f198516915b828110156133b35787850151825560209485019460019092019101613393565b50848210156133d057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610f32575f80fd5b5f60208284031215613403575f80fd5b8151612963816133df565b805161308f81612e5f565b5f60208284031215613429575f80fd5b815161296381612e5f565b805161308f81612e51565b5f6020828403121561344f575f80fd5b815161296381612e51565b5f806040838503121561346b575f80fd5b825161347681612dd7565b6020840151909250612e3281612dd7565b5f8085851115613495575f80fd5b838611156134a1575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561200c576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f60608486031215613535575f80fd5b835161354081612e3d565b602085015190935061355181612e3d565b604085015190925061310d81612e3d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613589575f80fd5b825161359481612e5f565b602084015190925063ffffffff81168114612e32575f80fd5b5f82601f8301126135bc575f80fd5b81516135ca612f1b82612ed8565b8181528460208386010111156135de575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561360a575f80fd5b81516001600160401b0381111561361f575f80fd5b820160e08185031215613630575f80fd5b613638612e80565b61364182613200565b815261364f60208301613200565b602082015261366060408301613434565b60408201526136716060830161340e565b60608201526136826080830161325e565b608082015261369360a0830161325e565b60a082015260c08201516001600160401b038111156136b0575f80fd5b6136bc868285016135ad565b60c08301525094935050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208b50e0b40106df57248eaa425aee37fc1627f47287bee3cce7d0e7dbed9f5fb164736f6c634300081a0033",
1130
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6137cc806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610208575f3560e01c806376b707b71161011f578063a8b9328a116100a9578063db1e36e711610079578063db1e36e7146104ea578063dea4ccf2146104fd578063dec3bdde14610510578063f11bcbe714610523578063f67fef6d14610553575f80fd5b8063a8b9328a146104b4578063ada9652e146104c7578063b68d1809146104db578063bf7e214f146104e2575f80fd5b806386b0e019116100ef57806386b0e01914610451578063893d20e8146104645780638cf81e461461046c5780638fb3603714610480578063943bd197146104a1575f80fd5b806376b707b7146103e15780637a9e5e4b146103fb5780637b1391a61461040e57806381d9b45f1461043e575f80fd5b8063329d6e74116101a0578063644c45e011610170578063644c45e01461036b5780636c1e9dff146103885780636c741e781461039b578063719f761a146103bb578063756b30de146103ce575f80fd5b8063329d6e74146102f057806343d752d31461030357806349bb9e4b146103475780635ab1bd531461035a575f80fd5b8063138461e0116101db578063138461e0146102935780631eff4b22146102b357806321ece657146102d557806322f3e2d4146102e8575f80fd5b806301ffc9a71461020c5780630d8e6e2c1461024d5780630fec111c1461026957806310a0638a1461027e575b5f80fd5b61023861021a366004612e11565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610566565b60405162ffffff9091168152602001610244565b6102716105ed565b6040516102449190612e66565b61029161028c366004612f06565b610794565b005b61029b610860565b6040516001600160601b039091168152602001610244565b6102c75f8051602061375783398151915281565b604051908152602001610244565b61029b6102e3366004612f21565b61086a565b610238610a50565b6102916102fe36600461303c565b610ac7565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b039091168152602001610244565b610291610355366004613081565b610c11565b6001546001600160a01b031661032f565b5f805160206136f7833981519152546001600160601b031661029b565b610291610396366004612f21565b610d0d565b6103a3610f93565b6040516001600160401b039091168152602001610244565b6102916103c9366004612f06565b61101f565b61029b6103dc366004612f21565b61122e565b6103e96114d9565b60405160ff9091168152602001610244565b6102916104093660046130cd565b6114f5565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa301546001600160a01b031661032f565b61029161044c366004613101565b61157b565b61029b61045f366004612f21565b611668565b61032f611686565b6102c75f8051602061373783398151915281565b6104886117b7565b6040516001600160e01b03199091168152602001610244565b6102916104af36600461313d565b6117ec565b6102916104c2366004613185565b6117fa565b6102c75f805160206136f783398151915281565b60036103e9565b61032f611892565b6102916104f83660046131af565b6118ad565b61029161050b366004612f06565b611926565b61029b61051e36600461313d565b611ba3565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b031661032f565b61029b610561366004612f21565b611bc3565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e891906131e2565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f8051602061375783398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610686573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106aa919061320f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016106f2611686565b6001600160a01b0316815260200182600101805461070f9061322a565b80601f016020809104026020016040519081016040528092919081815260200182805461073b9061322a565b80156107865780601f1061075d57610100808354040283529160200191610786565b820191905f5260205f20905b81548152906001019060200180831161076957829003601f168201915b505050505081525091505090565b6107a0335b5f36611c7d565b6107ab81601f611d73565b5f5f80516020613737833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a906024015f604051808303815f87803b158015610808575f80fd5b505af115801561081a573d5f803e3d5ffd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b5f6105e830611e2a565b5f61087433610799565b61087f83600a611d73565b5f5f80516020613737833981519152600181015460405163e8ce883d60e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063e8ce883d906044016020604051808303815f875af11580156108e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090d919061320f565b91505f6109226001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561096f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610993919061326d565b90507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d7858286866040516109ca9493929190613288565b60405180910390a16001820154604080516343d752d360e01b81529051610a48926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015610a1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a41919061326d565b8286612023565b505092915050565b5f610a59611892565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac191906132cb565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610ae9610566565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4b91906132f8565b5f805160206137778339815191528054600160401b900460ff1680610b7d575080546001600160401b03808416911610155b15610b9b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bc58361207a565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206137778339815191528054600160401b810460ff1615906001600160401b03165f81158015610c425750825b90505f826001600160401b03166001148015610c5d5750303b155b905081158015610c6b575080155b15610c895760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cb357845460ff60401b1916600160401b1785555b610cbd8787612082565b8315610d0457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610d1633610799565b81610d296001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610d56929190613313565b602060405180830381865afa158015610d71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9591906132cb565b610db95760405163086391f760e31b81523360048201526024015b60405180910390fd5b610dc483601f611d73565b5f5f805160206137378339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033915f916001600160a01b031690636c1e9dff906044016020604051808303815f875af1158015610e32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e56919061320f565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610eaf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed391906132cb565b15610f8b577f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d86838784604051610f0d9493929190613288565b60405180910390a16001830154604080516343d752d360e01b81529051610f8b926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015610f60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f84919061326d565b8387612302565b505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36003610fb86114d9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610ffb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e891906132f8565b61102833610799565b8061103b6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611068929190613313565b602060405180830381865afa158015611083573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a791906132cb565b6110c65760405163086391f760e31b8152336004820152602401610db0565b6110d182601f611d73565b5f5f8051602061373783398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033915f916001600160a01b03169063719f761a906024016020604051808303815f875af1158015611137573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115b919061320f565b604080516001600160601b0388811682526001600160a01b038616602083015283168183015290519192507f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda8919081900360600190a16001830154604080516343d752d360e01b81529051611227926001600160a01b0316916343d752d39160048083019260209291908290030181865afa1580156111fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611220919061326d565b8383612023565b5050505050565b5f61123833610799565b5f8051602061373783398151915280546040805160e0810180835263bc1b392d60e01b9052905133926001600160a01b031691638105cc7f91819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af41580156112af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d3919061320f565b6001600160601b03168152602001886001600160601b031681526020016112f8601f90565b60ff1681526020015f151581526020015f6001600160a01b03168152602001846001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b81526004016113549190612e66565b6020604051808303815f875af1158015611370573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611394919061320f565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc906064015f604051808303815f87803b1580156113f2575f80fd5b505af1158015611404573d5f803e3d5ffd5b5050604080516001600160601b03878116825289811660208301526001600160a01b038616828401528816606082015290517fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d79350908190036080019150a16001820154604080516343d752d360e01b81529051610a48926001600160a01b0316916343d752d39160048083019260209291908290030181865afa1580156114ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d2919061326d565b8286612302565b5f8051602061375783398151915254600160681b900460ff1690565b336114fe611892565b6001600160a01b0316816001600160a01b0316146115395760405162d1953b60e31b81526001600160a01b0382166004820152602401610db0565b816001600160a01b03163b5f0361156e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610db0565b61157782612330565b5050565b61158433610799565b465f80516020613737833981519152600101546001600160a01b031663562119ee85600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a4015f604051808303815f87803b158015611609575f80fd5b505af115801561161b573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f61167233610799565b3361167e848285612389565b949350505050565b5f805f805160206136f783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116f2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061171691906132cb565b156117a1576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611777573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179b919061326d565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061371783398151915280545f9190600160a01b900460ff166117de575f61179b565b638fb3603760e01b91505090565b6117f533610799565b505050565b61180333610799565b61180e82600a611d73565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051632a80f67360e01b81526001600160601b0384166004820152602481018390526001600160a01b0390911690632a80f673906044015b5f604051808303815f87803b158015611880575f80fd5b505af1158015610f8b573d5f803e3d5ffd5b5f80516020613717833981519152546001600160a01b031690565b6118b633610799565b6118c182600a611d73565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f90604401611869565b61192f33610799565b806119426001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161196f929190613313565b602060405180830381865afa15801561198a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ae91906132cb565b6119cd5760405163086391f760e31b8152336004820152602401610db0565b6119d882601f611d73565b5f5f805160206137378339815191526001810154604051636f52667960e11b81526001600160601b038616600482015291925033915f9182916001600160a01b039091169063dea4ccf29060240160408051808303815f875af1158015611a41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a659190613335565b915091505f611a7483836124d5565b604080516001600160601b038a811682526001600160a01b038816602083015283168183015290519192507fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd239919081900360600190a1846001015f9054906101000a90046001600160a01b03166001600160a01b03166343d752d36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b40919061326d565b6001600160a01b03166367ed5f3685836040518363ffffffff1660e01b8152600401611b6d929190613362565b5f604051808303815f87803b158015611b84575f80fd5b505af1158015611b96573d5f803e3d5ffd5b5050505050505050505050565b5f611bad33610799565b611bb884600a611d73565b61167e848484612389565b5f611bcd33610799565b82611be06001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611c0d929190613313565b602060405180830381865afa158015611c28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4c91906132cb565b611c6b5760405163086391f760e31b8152336004820152602401610db0565b611c7684601f611d73565b5092915050565b5f805160206137178339815191525f80611cb5611c98611892565b8730611ca760045f8a8c613384565b611cb0916133ab565b612560565b9150915081610f8b5763ffffffff811615611d5057825460ff60a01b1916600160a01b178355611ce3611892565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d12939291906133e1565b5f604051808303815f87803b158015611d29575f80fd5b505af1158015611d3b573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f8b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610db0565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611dd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df991906132cb565b6115775760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610db0565b5f805f805160206136f783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eba91906132cb565b15611ee65780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610db0565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5c91906132cb565b611f845760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610db0565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611fd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ffa919061320f565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516333f6af9b60e11b81526001600160a01b038416906367ed5f36906120519085908590600401613362565b5f604051808303815f87803b158015612068575f80fd5b505af1158015610d04573d5f803e3d5ffd5b610208612668565b5f805160206137778339815191528054600160401b810460ff1615906001600160401b03165f811580156120b35750825b90505f826001600160401b031660011480156120ce5750303b155b9050811580156120dc575080155b156120fa5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561212457845460ff60401b1916600160401b1785555b5f805f8880602001905181019061213b9190613420565b92509250925061214c83838c6126a0565b5f80516020613737833981519152612164600261273d565b81546001600160a01b0319166001600160a01b0391909116178155612188826127d4565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa1580156121e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612206919061326d565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa158015612266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061228a919061326d565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556122bc638694498960e01b612a47565b505050508315610d0457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610cfb565b6040516340cda00760e11b81526001600160a01b0384169063819b400e906120519085908590600401613362565b5f8051602061371783398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610854565b5f805f80516020613737833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152861660248201529192506001600160a01b03169063de0eb85f906044016020604051808303815f875af11580156123f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612418919061320f565b91507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f8585858560405161244f9493929190613288565b60405180910390a16001810154604080516343d752d360e01b815290516124cd926001600160a01b0316916343d752d39160048083019260209291908290030181865afa1580156124a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124c6919061326d565b8585612302565b509392505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612535573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612559919061320f565b9392505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516125ce919061345f565b5f60405180830381855afa9150503d805f8114612606576040519150601f19603f3d011682016040523d82523d5f602084013e61260b565b606091505b5091509150811561265d57604081511061263d57808060200190518101906126339190613475565b909450925061265d565b602081511061265d578080602001905181019061265a91906132cb565b93505b505094509492505050565b5f8051602061377783398151915254600160401b900460ff1661269e57604051631afcd79f60e31b815260040160405180910390fd5b565b6126a8612668565b6126b0612a73565b61272d8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612715919061320f565b60085f8660405180602001604052805f815250612a83565b6117f563daf9067160e01b612a47565b5f6127506001546001600160a01b031690565b6001600160a01b031663d39e6043836127676114d9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156127aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ce919061326d565b92915050565b5f806127e86001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa15801561282d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612854919081019061350d565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156128b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d491906132cb565b15612925576128f581604001516128e9600390565b60ff9081169116141590565b1561291e57604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610db0565b5090919050565b6040516301ffc9a760e01b8152637641aba360e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa15801561296e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061299291906132cb565b6129ba57604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610db0565b335f805160206137378339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af1158015612a17573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a3e919081019061350d565b50929392505050565b612a4f612668565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612a7b612668565b61269e612c37565b612a8b612668565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015612ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b0591906132cb565b612b2d5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610db0565b612b3687612c65565b612b408683612c79565b5f8051602061375783398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015612bbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612be191906135dd565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b8515150217815560018101612c1c838261363c565b50612c2d634a531f3360e01b612a47565b5050505050505050565b612c3f612668565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b612c6d612668565b612c7681612cef565b50565b612c81612668565b612c8a82612d00565b612c92612dcc565b6001600160a01b038116612cb95760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206136f783398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612cf7612668565b612c7681612330565b612d08612668565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612d5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d8291906132cb565b612daa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610db0565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b612dd4612668565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215612e21575f80fd5b81356001600160e01b031981168114612559575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612eae608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261167e610100840182612e38565b6001600160601b0381168114612c76575f80fd5b5f60208284031215612f16575f80fd5b813561255981612ef2565b5f8060408385031215612f32575f80fd5b8235612f3d81612ef2565b91506020830135612f4d81612ef2565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612f8e57612f8e612f58565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612fbc57612fbc612f58565b604052919050565b5f6001600160401b03821115612fdc57612fdc612f58565b50601f01601f191660200190565b5f82601f830112612ff9575f80fd5b813561300c61300782612fc4565b612f94565b818152846020838601011115613020575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561304c575f80fd5b81356001600160401b03811115613061575f80fd5b61167e84828501612fea565b6001600160a01b0381168114612c76575f80fd5b5f8060408385031215613092575f80fd5b823561309d8161306d565b915060208301356001600160401b038111156130b7575f80fd5b6130c385828601612fea565b9150509250929050565b5f602082840312156130dd575f80fd5b81356125598161306d565b803564ffffffffff811681146130fc575f80fd5b919050565b5f805f60608486031215613113575f80fd5b833561311e81612ef2565b925061312c602085016130e8565b929592945050506040919091013590565b5f805f6060848603121561314f575f80fd5b833561315a81612ef2565b9250602084013561316a8161306d565b9150604084013561317a81612ef2565b809150509250925092565b5f8060408385031215613196575f80fd5b82356131a181612ef2565b946020939093013593505050565b5f80604083850312156131c0575f80fd5b82356131cb81612ef2565b91506131d9602084016130e8565b90509250929050565b5f602082840312156131f2575f80fd5b815162ffffff81168114612559575f80fd5b80516130fc81612ef2565b5f6020828403121561321f575f80fd5b815161255981612ef2565b600181811c9082168061323e57607f821691505b60208210810361325c57634e487b7160e01b5f52602260045260245ffd5b50919050565b80516130fc8161306d565b5f6020828403121561327d575f80fd5b81516125598161306d565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b805180151581146130fc575f80fd5b5f602082840312156132db575f80fd5b612559826132bc565b6001600160401b0381168114612c76575f80fd5b5f60208284031215613308575f80fd5b8151612559816132e4565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f8060408385031215613346575f80fd5b825161335181612ef2565b6020840151909250612f4d81612ef2565b6001600160a01b039290921682526001600160601b0316602082015260400190565b5f8085851115613392575f80fd5b8386111561339e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611c76576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f60608486031215613432575f80fd5b835161343d8161306d565b602085015190935061344e8161306d565b604085015190925061317a8161306d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613486575f80fd5b61348f836132bc565b9150602083015163ffffffff81168114612f4d575f80fd5b60ff81168114612c76575f80fd5b80516130fc816134a7565b5f82601f8301126134cf575f80fd5b81516134dd61300782612fc4565b8181528460208386010111156134f1575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561351d575f80fd5b81516001600160401b03811115613532575f80fd5b820160e08185031215613543575f80fd5b61354b612f6c565b61355482613204565b815261356260208301613204565b6020820152613573604083016134b5565b6040820152613584606083016132bc565b606082015261359560808301613262565b60808201526135a660a08301613262565b60a082015260c08201516001600160401b038111156135c3575f80fd5b6135cf868285016134c0565b60c083015250949350505050565b5f602082840312156135ed575f80fd5b8151612559816134a7565b601f8211156117f557805f5260205f20601f840160051c8101602085101561361d5750805b601f840160051c820191505b81811015611227575f8155600101613629565b81516001600160401b0381111561365557613655612f58565b61366981613663845461322a565b846135f8565b6020601f82116001811461369b575f83156136845750848201515b5f19600385901b1c1916600184901b178455611227565b5f84815260208120601f198516915b828110156136ca57878501518255602094850194600190920191016136aa565b50848210156136e757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa3006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220120461c53898b12469df1ceedb822023e79faeb5025bbffa908a34790bb3bdaf64736f6c634300081a0033",
1131
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610208575f3560e01c806376b707b71161011f578063a8b9328a116100a9578063db1e36e711610079578063db1e36e7146104ea578063dea4ccf2146104fd578063dec3bdde14610510578063f11bcbe714610523578063f67fef6d14610553575f80fd5b8063a8b9328a146104b4578063ada9652e146104c7578063b68d1809146104db578063bf7e214f146104e2575f80fd5b806386b0e019116100ef57806386b0e01914610451578063893d20e8146104645780638cf81e461461046c5780638fb3603714610480578063943bd197146104a1575f80fd5b806376b707b7146103e15780637a9e5e4b146103fb5780637b1391a61461040e57806381d9b45f1461043e575f80fd5b8063329d6e74116101a0578063644c45e011610170578063644c45e01461036b5780636c1e9dff146103885780636c741e781461039b578063719f761a146103bb578063756b30de146103ce575f80fd5b8063329d6e74146102f057806343d752d31461030357806349bb9e4b146103475780635ab1bd531461035a575f80fd5b8063138461e0116101db578063138461e0146102935780631eff4b22146102b357806321ece657146102d557806322f3e2d4146102e8575f80fd5b806301ffc9a71461020c5780630d8e6e2c1461024d5780630fec111c1461026957806310a0638a1461027e575b5f80fd5b61023861021a366004612e11565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610566565b60405162ffffff9091168152602001610244565b6102716105ed565b6040516102449190612e66565b61029161028c366004612f06565b610794565b005b61029b610860565b6040516001600160601b039091168152602001610244565b6102c75f8051602061375783398151915281565b604051908152602001610244565b61029b6102e3366004612f21565b61086a565b610238610a50565b6102916102fe36600461303c565b610ac7565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b039091168152602001610244565b610291610355366004613081565b610c11565b6001546001600160a01b031661032f565b5f805160206136f7833981519152546001600160601b031661029b565b610291610396366004612f21565b610d0d565b6103a3610f93565b6040516001600160401b039091168152602001610244565b6102916103c9366004612f06565b61101f565b61029b6103dc366004612f21565b61122e565b6103e96114d9565b60405160ff9091168152602001610244565b6102916104093660046130cd565b6114f5565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa301546001600160a01b031661032f565b61029161044c366004613101565b61157b565b61029b61045f366004612f21565b611668565b61032f611686565b6102c75f8051602061373783398151915281565b6104886117b7565b6040516001600160e01b03199091168152602001610244565b6102916104af36600461313d565b6117ec565b6102916104c2366004613185565b6117fa565b6102c75f805160206136f783398151915281565b60036103e9565b61032f611892565b6102916104f83660046131af565b6118ad565b61029161050b366004612f06565b611926565b61029b61051e36600461313d565b611ba3565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b031661032f565b61029b610561366004612f21565b611bc3565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e891906131e2565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f8051602061375783398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610686573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106aa919061320f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016106f2611686565b6001600160a01b0316815260200182600101805461070f9061322a565b80601f016020809104026020016040519081016040528092919081815260200182805461073b9061322a565b80156107865780601f1061075d57610100808354040283529160200191610786565b820191905f5260205f20905b81548152906001019060200180831161076957829003601f168201915b505050505081525091505090565b6107a0335b5f36611c7d565b6107ab81601f611d73565b5f5f80516020613737833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a906024015f604051808303815f87803b158015610808575f80fd5b505af115801561081a573d5f803e3d5ffd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b5f6105e830611e2a565b5f61087433610799565b61087f83600a611d73565b5f5f80516020613737833981519152600181015460405163e8ce883d60e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063e8ce883d906044016020604051808303815f875af11580156108e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090d919061320f565b91505f6109226001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561096f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610993919061326d565b90507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d7858286866040516109ca9493929190613288565b60405180910390a16001820154604080516343d752d360e01b81529051610a48926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015610a1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a41919061326d565b8286612023565b505092915050565b5f610a59611892565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac191906132cb565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610ae9610566565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4b91906132f8565b5f805160206137778339815191528054600160401b900460ff1680610b7d575080546001600160401b03808416911610155b15610b9b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bc58361207a565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206137778339815191528054600160401b810460ff1615906001600160401b03165f81158015610c425750825b90505f826001600160401b03166001148015610c5d5750303b155b905081158015610c6b575080155b15610c895760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cb357845460ff60401b1916600160401b1785555b610cbd8787612082565b8315610d0457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610d1633610799565b81610d296001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610d56929190613313565b602060405180830381865afa158015610d71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9591906132cb565b610db95760405163086391f760e31b81523360048201526024015b60405180910390fd5b610dc483601f611d73565b5f5f805160206137378339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033915f916001600160a01b031690636c1e9dff906044016020604051808303815f875af1158015610e32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e56919061320f565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610eaf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed391906132cb565b15610f8b577f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d86838784604051610f0d9493929190613288565b60405180910390a16001830154604080516343d752d360e01b81529051610f8b926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015610f60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f84919061326d565b8387612302565b505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36003610fb86114d9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610ffb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e891906132f8565b61102833610799565b8061103b6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611068929190613313565b602060405180830381865afa158015611083573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a791906132cb565b6110c65760405163086391f760e31b8152336004820152602401610db0565b6110d182601f611d73565b5f5f8051602061373783398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033915f916001600160a01b03169063719f761a906024016020604051808303815f875af1158015611137573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115b919061320f565b604080516001600160601b0388811682526001600160a01b038616602083015283168183015290519192507f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda8919081900360600190a16001830154604080516343d752d360e01b81529051611227926001600160a01b0316916343d752d39160048083019260209291908290030181865afa1580156111fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611220919061326d565b8383612023565b5050505050565b5f61123833610799565b5f8051602061373783398151915280546040805160e0810180835263bc1b392d60e01b9052905133926001600160a01b031691638105cc7f91819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af41580156112af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d3919061320f565b6001600160601b03168152602001886001600160601b031681526020016112f8601f90565b60ff1681526020015f151581526020015f6001600160a01b03168152602001846001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b81526004016113549190612e66565b6020604051808303815f875af1158015611370573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611394919061320f565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc906064015f604051808303815f87803b1580156113f2575f80fd5b505af1158015611404573d5f803e3d5ffd5b5050604080516001600160601b03878116825289811660208301526001600160a01b038616828401528816606082015290517fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d79350908190036080019150a16001820154604080516343d752d360e01b81529051610a48926001600160a01b0316916343d752d39160048083019260209291908290030181865afa1580156114ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d2919061326d565b8286612302565b5f8051602061375783398151915254600160681b900460ff1690565b336114fe611892565b6001600160a01b0316816001600160a01b0316146115395760405162d1953b60e31b81526001600160a01b0382166004820152602401610db0565b816001600160a01b03163b5f0361156e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610db0565b61157782612330565b5050565b61158433610799565b465f80516020613737833981519152600101546001600160a01b031663562119ee85600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a4015f604051808303815f87803b158015611609575f80fd5b505af115801561161b573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f61167233610799565b3361167e848285612389565b949350505050565b5f805f805160206136f783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116f2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061171691906132cb565b156117a1576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611777573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179b919061326d565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061371783398151915280545f9190600160a01b900460ff166117de575f61179b565b638fb3603760e01b91505090565b6117f533610799565b505050565b61180333610799565b61180e82600a611d73565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051632a80f67360e01b81526001600160601b0384166004820152602481018390526001600160a01b0390911690632a80f673906044015b5f604051808303815f87803b158015611880575f80fd5b505af1158015610f8b573d5f803e3d5ffd5b5f80516020613717833981519152546001600160a01b031690565b6118b633610799565b6118c182600a611d73565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f90604401611869565b61192f33610799565b806119426001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161196f929190613313565b602060405180830381865afa15801561198a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ae91906132cb565b6119cd5760405163086391f760e31b8152336004820152602401610db0565b6119d882601f611d73565b5f5f805160206137378339815191526001810154604051636f52667960e11b81526001600160601b038616600482015291925033915f9182916001600160a01b039091169063dea4ccf29060240160408051808303815f875af1158015611a41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a659190613335565b915091505f611a7483836124d5565b604080516001600160601b038a811682526001600160a01b038816602083015283168183015290519192507fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd239919081900360600190a1846001015f9054906101000a90046001600160a01b03166001600160a01b03166343d752d36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b40919061326d565b6001600160a01b03166367ed5f3685836040518363ffffffff1660e01b8152600401611b6d929190613362565b5f604051808303815f87803b158015611b84575f80fd5b505af1158015611b96573d5f803e3d5ffd5b5050505050505050505050565b5f611bad33610799565b611bb884600a611d73565b61167e848484612389565b5f611bcd33610799565b82611be06001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611c0d929190613313565b602060405180830381865afa158015611c28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4c91906132cb565b611c6b5760405163086391f760e31b8152336004820152602401610db0565b611c7684601f611d73565b5092915050565b5f805160206137178339815191525f80611cb5611c98611892565b8730611ca760045f8a8c613384565b611cb0916133ab565b612560565b9150915081610f8b5763ffffffff811615611d5057825460ff60a01b1916600160a01b178355611ce3611892565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d12939291906133e1565b5f604051808303815f87803b158015611d29575f80fd5b505af1158015611d3b573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f8b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610db0565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611dd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df991906132cb565b6115775760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610db0565b5f805f805160206136f783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eba91906132cb565b15611ee65780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610db0565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5c91906132cb565b611f845760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610db0565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611fd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ffa919061320f565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516333f6af9b60e11b81526001600160a01b038416906367ed5f36906120519085908590600401613362565b5f604051808303815f87803b158015612068575f80fd5b505af1158015610d04573d5f803e3d5ffd5b610208612668565b5f805160206137778339815191528054600160401b810460ff1615906001600160401b03165f811580156120b35750825b90505f826001600160401b031660011480156120ce5750303b155b9050811580156120dc575080155b156120fa5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561212457845460ff60401b1916600160401b1785555b5f805f8880602001905181019061213b9190613420565b92509250925061214c83838c6126a0565b5f80516020613737833981519152612164600261273d565b81546001600160a01b0319166001600160a01b0391909116178155612188826127d4565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa1580156121e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612206919061326d565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa158015612266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061228a919061326d565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556122bc638694498960e01b612a47565b505050508315610d0457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610cfb565b6040516340cda00760e11b81526001600160a01b0384169063819b400e906120519085908590600401613362565b5f8051602061371783398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610854565b5f805f80516020613737833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152861660248201529192506001600160a01b03169063de0eb85f906044016020604051808303815f875af11580156123f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612418919061320f565b91507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f8585858560405161244f9493929190613288565b60405180910390a16001810154604080516343d752d360e01b815290516124cd926001600160a01b0316916343d752d39160048083019260209291908290030181865afa1580156124a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124c6919061326d565b8585612302565b509392505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612535573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612559919061320f565b9392505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516125ce919061345f565b5f60405180830381855afa9150503d805f8114612606576040519150601f19603f3d011682016040523d82523d5f602084013e61260b565b606091505b5091509150811561265d57604081511061263d57808060200190518101906126339190613475565b909450925061265d565b602081511061265d578080602001905181019061265a91906132cb565b93505b505094509492505050565b5f8051602061377783398151915254600160401b900460ff1661269e57604051631afcd79f60e31b815260040160405180910390fd5b565b6126a8612668565b6126b0612a73565b61272d8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612715919061320f565b60085f8660405180602001604052805f815250612a83565b6117f563daf9067160e01b612a47565b5f6127506001546001600160a01b031690565b6001600160a01b031663d39e6043836127676114d9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156127aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ce919061326d565b92915050565b5f806127e86001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa15801561282d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612854919081019061350d565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156128b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d491906132cb565b15612925576128f581604001516128e9600390565b60ff9081169116141590565b1561291e57604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610db0565b5090919050565b6040516301ffc9a760e01b8152637641aba360e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa15801561296e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061299291906132cb565b6129ba57604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610db0565b335f805160206137378339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af1158015612a17573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a3e919081019061350d565b50929392505050565b612a4f612668565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612a7b612668565b61269e612c37565b612a8b612668565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015612ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b0591906132cb565b612b2d5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610db0565b612b3687612c65565b612b408683612c79565b5f8051602061375783398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015612bbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612be191906135dd565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b8515150217815560018101612c1c838261363c565b50612c2d634a531f3360e01b612a47565b5050505050505050565b612c3f612668565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b612c6d612668565b612c7681612cef565b50565b612c81612668565b612c8a82612d00565b612c92612dcc565b6001600160a01b038116612cb95760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206136f783398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612cf7612668565b612c7681612330565b612d08612668565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612d5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d8291906132cb565b612daa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610db0565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b612dd4612668565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215612e21575f80fd5b81356001600160e01b031981168114612559575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612eae608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261167e610100840182612e38565b6001600160601b0381168114612c76575f80fd5b5f60208284031215612f16575f80fd5b813561255981612ef2565b5f8060408385031215612f32575f80fd5b8235612f3d81612ef2565b91506020830135612f4d81612ef2565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612f8e57612f8e612f58565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612fbc57612fbc612f58565b604052919050565b5f6001600160401b03821115612fdc57612fdc612f58565b50601f01601f191660200190565b5f82601f830112612ff9575f80fd5b813561300c61300782612fc4565b612f94565b818152846020838601011115613020575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561304c575f80fd5b81356001600160401b03811115613061575f80fd5b61167e84828501612fea565b6001600160a01b0381168114612c76575f80fd5b5f8060408385031215613092575f80fd5b823561309d8161306d565b915060208301356001600160401b038111156130b7575f80fd5b6130c385828601612fea565b9150509250929050565b5f602082840312156130dd575f80fd5b81356125598161306d565b803564ffffffffff811681146130fc575f80fd5b919050565b5f805f60608486031215613113575f80fd5b833561311e81612ef2565b925061312c602085016130e8565b929592945050506040919091013590565b5f805f6060848603121561314f575f80fd5b833561315a81612ef2565b9250602084013561316a8161306d565b9150604084013561317a81612ef2565b809150509250925092565b5f8060408385031215613196575f80fd5b82356131a181612ef2565b946020939093013593505050565b5f80604083850312156131c0575f80fd5b82356131cb81612ef2565b91506131d9602084016130e8565b90509250929050565b5f602082840312156131f2575f80fd5b815162ffffff81168114612559575f80fd5b80516130fc81612ef2565b5f6020828403121561321f575f80fd5b815161255981612ef2565b600181811c9082168061323e57607f821691505b60208210810361325c57634e487b7160e01b5f52602260045260245ffd5b50919050565b80516130fc8161306d565b5f6020828403121561327d575f80fd5b81516125598161306d565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b805180151581146130fc575f80fd5b5f602082840312156132db575f80fd5b612559826132bc565b6001600160401b0381168114612c76575f80fd5b5f60208284031215613308575f80fd5b8151612559816132e4565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f8060408385031215613346575f80fd5b825161335181612ef2565b6020840151909250612f4d81612ef2565b6001600160a01b039290921682526001600160601b0316602082015260400190565b5f8085851115613392575f80fd5b8386111561339e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611c76576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f60608486031215613432575f80fd5b835161343d8161306d565b602085015190935061344e8161306d565b604085015190925061317a8161306d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613486575f80fd5b61348f836132bc565b9150602083015163ffffffff81168114612f4d575f80fd5b60ff81168114612c76575f80fd5b80516130fc816134a7565b5f82601f8301126134cf575f80fd5b81516134dd61300782612fc4565b8181528460208386010111156134f1575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561351d575f80fd5b81516001600160401b03811115613532575f80fd5b820160e08185031215613543575f80fd5b61354b612f6c565b61355482613204565b815261356260208301613204565b6020820152613573604083016134b5565b6040820152613584606083016132bc565b606082015261359560808301613262565b60808201526135a660a08301613262565b60a082015260c08201516001600160401b038111156135c3575f80fd5b6135cf868285016134c0565b60c083015250949350505050565b5f602082840312156135ed575f80fd5b8151612559816134a7565b601f8211156117f557805f5260205f20601f840160051c8101602085101561361d5750805b601f840160051c820191505b81811015611227575f8155600101613629565b81516001600160401b0381111561365557613655612f58565b61366981613663845461322a565b846135f8565b6020601f82116001811461369b575f83156136845750848201515b5f19600385901b1c1916600184901b178455611227565b5f84815260208120601f198516915b828110156136ca57878501518255602094850194600190920191016136aa565b50848210156136e757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa3006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220120461c53898b12469df1ceedb822023e79faeb5025bbffa908a34790bb3bdaf64736f6c634300081a0033",
1207
1132
  "linkReferences": {
1133
+ "contracts/shared/ContractLib.sol": {
1134
+ "ContractLib": [
1135
+ {
1136
+ "length": 20,
1137
+ "start": 11135
1138
+ },
1139
+ {
1140
+ "length": 20,
1141
+ "start": 11772
1142
+ }
1143
+ ]
1144
+ },
1208
1145
  "contracts/type/Amount.sol": {
1209
1146
  "AmountLib": [
1210
1147
  {
1211
1148
  "length": 20,
1212
- "start": 4639
1149
+ "start": 3917
1213
1150
  },
1214
1151
  {
1215
1152
  "length": 20,
1216
- "start": 10717
1153
+ "start": 9683
1217
1154
  }
1218
1155
  ]
1219
1156
  },
@@ -1221,23 +1158,23 @@
1221
1158
  "NftIdLib": [
1222
1159
  {
1223
1160
  "length": 20,
1224
- "start": 1978
1161
+ "start": 1815
1225
1162
  },
1226
1163
  {
1227
1164
  "length": 20,
1228
- "start": 5730
1165
+ "start": 4939
1229
1166
  },
1230
1167
  {
1231
1168
  "length": 20,
1232
- "start": 6772
1169
+ "start": 6032
1233
1170
  },
1234
1171
  {
1235
1172
  "length": 20,
1236
- "start": 8841
1173
+ "start": 7988
1237
1174
  },
1238
1175
  {
1239
1176
  "length": 20,
1240
- "start": 11244
1177
+ "start": 10574
1241
1178
  }
1242
1179
  ]
1243
1180
  },
@@ -1245,7 +1182,7 @@
1245
1182
  "RoleIdLib": [
1246
1183
  {
1247
1184
  "length": 20,
1248
- "start": 4906
1185
+ "start": 4204
1249
1186
  }
1250
1187
  ]
1251
1188
  },
@@ -1253,35 +1190,37 @@
1253
1190
  "VersionLib": [
1254
1191
  {
1255
1192
  "length": 20,
1256
- "start": 1774
1193
+ "start": 1634
1257
1194
  },
1258
1195
  {
1259
1196
  "length": 20,
1260
- "start": 3184
1197
+ "start": 2975
1261
1198
  }
1262
- ],
1263
- "VersionPartLib": [
1199
+ ]
1200
+ }
1201
+ },
1202
+ "deployedLinkReferences": {
1203
+ "contracts/shared/ContractLib.sol": {
1204
+ "ContractLib": [
1264
1205
  {
1265
1206
  "length": 20,
1266
- "start": 4954
1207
+ "start": 10921
1267
1208
  },
1268
1209
  {
1269
1210
  "length": 20,
1270
- "start": 10476
1211
+ "start": 11558
1271
1212
  }
1272
1213
  ]
1273
- }
1274
- },
1275
- "deployedLinkReferences": {
1214
+ },
1276
1215
  "contracts/type/Amount.sol": {
1277
1216
  "AmountLib": [
1278
1217
  {
1279
1218
  "length": 20,
1280
- "start": 4425
1219
+ "start": 3703
1281
1220
  },
1282
1221
  {
1283
1222
  "length": 20,
1284
- "start": 10503
1223
+ "start": 9469
1285
1224
  }
1286
1225
  ]
1287
1226
  },
@@ -1289,23 +1228,23 @@
1289
1228
  "NftIdLib": [
1290
1229
  {
1291
1230
  "length": 20,
1292
- "start": 1764
1231
+ "start": 1601
1293
1232
  },
1294
1233
  {
1295
1234
  "length": 20,
1296
- "start": 5516
1235
+ "start": 4725
1297
1236
  },
1298
1237
  {
1299
1238
  "length": 20,
1300
- "start": 6558
1239
+ "start": 5818
1301
1240
  },
1302
1241
  {
1303
1242
  "length": 20,
1304
- "start": 8627
1243
+ "start": 7774
1305
1244
  },
1306
1245
  {
1307
1246
  "length": 20,
1308
- "start": 11030
1247
+ "start": 10360
1309
1248
  }
1310
1249
  ]
1311
1250
  },
@@ -1313,7 +1252,7 @@
1313
1252
  "RoleIdLib": [
1314
1253
  {
1315
1254
  "length": 20,
1316
- "start": 4692
1255
+ "start": 3990
1317
1256
  }
1318
1257
  ]
1319
1258
  },
@@ -1321,21 +1260,11 @@
1321
1260
  "VersionLib": [
1322
1261
  {
1323
1262
  "length": 20,
1324
- "start": 1560
1325
- },
1326
- {
1327
- "length": 20,
1328
- "start": 2970
1329
- }
1330
- ],
1331
- "VersionPartLib": [
1332
- {
1333
- "length": 20,
1334
- "start": 4740
1263
+ "start": 1420
1335
1264
  },
1336
1265
  {
1337
1266
  "length": 20,
1338
- "start": 10262
1267
+ "start": 2761
1339
1268
  }
1340
1269
  ]
1341
1270
  }