@etherisc/gif-next 0.0.2-fbe6493-116 → 0.0.2-fc0563c-260

Sign up to get free protection for your applications and to get access to all the features.
Files changed (538) hide show
  1. package/README.md +89 -9
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
  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 +549 -209
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +190 -464
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +109 -356
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +638 -386
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +208 -132
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +96 -191
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +478 -108
  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 +1472 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -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 +1423 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2484 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -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 +560 -66
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +377 -58
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +568 -166
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1034 -311
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +369 -68
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1688 -735
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +390 -228
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +142 -104
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +955 -640
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -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/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +135 -333
  106. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
  108. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +103 -133
  111. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  113. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +111 -293
  115. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  117. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +176 -96
  119. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +160 -350
  121. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  123. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +348 -431
  125. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +169 -133
  127. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
  129. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +141 -182
  131. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +517 -281
  133. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  134. package/artifacts/contracts/pool/Pool.sol/Pool.json +139 -332
  135. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  137. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +701 -551
  139. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +205 -113
  141. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +357 -173
  143. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +164 -96
  145. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +288 -409
  147. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  149. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +453 -287
  151. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +186 -126
  153. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  155. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +333 -17
  157. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +300 -64
  159. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  161. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +257 -226
  163. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  164. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
  165. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +385 -336
  167. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  169. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +174 -126
  171. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
  173. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +164 -136
  175. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  176. package/artifacts/contracts/product/Product.sol/Product.json +280 -401
  177. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  179. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  181. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  183. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +356 -45
  185. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  187. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  189. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  191. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  192. package/artifacts/contracts/registry/Registry.sol/Registry.json +562 -106
  193. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +795 -394
  195. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  196. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  197. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  199. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +140 -88
  201. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  203. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  205. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +483 -253
  207. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  209. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
  211. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  212. package/artifacts/contracts/shared/Component.sol/Component.json +99 -252
  213. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +480 -696
  215. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +176 -146
  217. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  225. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -93
  227. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  229. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +103 -133
  231. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  233. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  235. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  237. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  239. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  241. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  244. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  245. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  246. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +110 -292
  248. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  249. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  250. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  251. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  252. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  253. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  254. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  256. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  258. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  260. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  262. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  264. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +544 -18
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  268. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  269. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  270. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +341 -133
  272. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +184 -23
  274. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  275. package/artifacts/contracts/staking/Staking.sol/Staking.json +468 -405
  276. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  277. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  278. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  280. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +177 -108
  282. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +91 -67
  284. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -171
  286. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +157 -93
  288. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +205 -150
  290. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  291. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +91 -50
  292. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  293. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  295. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  298. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  300. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  302. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  304. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  305. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  306. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  308. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  309. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  310. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  312. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  314. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  316. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  318. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  320. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  322. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  324. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  326. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  328. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  330. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  332. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  334. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  336. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  338. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  340. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  341. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  342. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  343. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +117 -78
  344. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  345. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  346. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  347. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  348. package/contracts/accounting/AccountingService.sol +274 -0
  349. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  350. package/contracts/accounting/IAccountingService.sol +47 -0
  351. package/contracts/authorization/AccessAdmin.sol +456 -267
  352. package/contracts/authorization/AccessAdminLib.sol +396 -0
  353. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  354. package/contracts/authorization/Authorization.sol +159 -208
  355. package/contracts/authorization/IAccess.sol +25 -6
  356. package/contracts/authorization/IAccessAdmin.sol +87 -79
  357. package/contracts/authorization/IAuthorization.sol +9 -36
  358. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  359. package/contracts/authorization/ServiceAuthorization.sol +254 -24
  360. package/contracts/distribution/BasicDistribution.sol +20 -17
  361. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  362. package/contracts/distribution/Distribution.sol +42 -90
  363. package/contracts/distribution/DistributionService.sol +242 -117
  364. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  365. package/contracts/distribution/IDistributionComponent.sol +4 -11
  366. package/contracts/distribution/IDistributionService.sol +46 -26
  367. package/contracts/examples/fire/DamageLevel.sol +59 -0
  368. package/contracts/examples/fire/FirePool.sol +86 -0
  369. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  370. package/contracts/examples/fire/FireProduct.sol +433 -0
  371. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  372. package/contracts/examples/fire/FireUSD.sol +26 -0
  373. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  374. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  375. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  376. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  377. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  378. package/contracts/examples/unpermissioned/SimpleProduct.sol +391 -0
  379. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  380. package/contracts/instance/BundleSet.sol +42 -38
  381. package/contracts/instance/IInstance.sol +101 -42
  382. package/contracts/instance/IInstanceService.sol +56 -32
  383. package/contracts/instance/Instance.sol +189 -97
  384. package/contracts/instance/InstanceAdmin.sol +275 -158
  385. package/contracts/instance/InstanceAuthorizationV3.sol +120 -58
  386. package/contracts/instance/InstanceReader.sol +477 -253
  387. package/contracts/instance/InstanceService.sol +275 -243
  388. package/contracts/instance/InstanceServiceManager.sol +6 -7
  389. package/contracts/instance/InstanceStore.sol +23 -2
  390. package/contracts/instance/RiskSet.sol +126 -0
  391. package/contracts/instance/base/BalanceStore.sol +3 -5
  392. package/contracts/instance/base/ObjectCounter.sol +1 -2
  393. package/contracts/instance/base/ObjectLifecycle.sol +11 -8
  394. package/contracts/instance/base/ObjectSet.sol +31 -33
  395. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  396. package/contracts/instance/module/IBundle.sol +6 -5
  397. package/contracts/instance/module/IComponents.sol +29 -13
  398. package/contracts/instance/module/IDistribution.sol +21 -8
  399. package/contracts/instance/module/IPolicy.sol +49 -28
  400. package/contracts/instance/module/IRisk.sol +5 -0
  401. package/contracts/oracle/BasicOracle.sol +1 -4
  402. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  403. package/contracts/oracle/IOracle.sol +9 -4
  404. package/contracts/oracle/IOracleService.sol +2 -1
  405. package/contracts/oracle/Oracle.sol +7 -19
  406. package/contracts/oracle/OracleService.sol +117 -85
  407. package/contracts/oracle/OracleServiceManager.sol +6 -6
  408. package/contracts/pool/BasicPool.sol +33 -37
  409. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  410. package/contracts/pool/BundleService.sol +113 -164
  411. package/contracts/pool/BundleServiceManager.sol +6 -6
  412. package/contracts/pool/IBundleService.sol +28 -45
  413. package/contracts/pool/IPoolComponent.sol +19 -15
  414. package/contracts/pool/IPoolService.sol +93 -73
  415. package/contracts/pool/Pool.sol +140 -135
  416. package/contracts/pool/PoolLib.sol +341 -0
  417. package/contracts/pool/PoolService.sol +377 -291
  418. package/contracts/pool/PoolServiceManager.sol +4 -4
  419. package/contracts/product/ApplicationService.sol +111 -34
  420. package/contracts/product/ApplicationServiceManager.sol +4 -4
  421. package/contracts/product/BasicProduct.sol +10 -13
  422. package/contracts/product/BasicProductAuthorization.sol +32 -12
  423. package/contracts/product/ClaimService.sol +382 -158
  424. package/contracts/product/ClaimServiceManager.sol +4 -4
  425. package/contracts/product/IApplicationService.sol +28 -3
  426. package/contracts/product/IClaimService.sol +43 -8
  427. package/contracts/product/IPolicyService.sol +47 -29
  428. package/contracts/product/IPricingService.sol +11 -10
  429. package/contracts/product/IProductComponent.sol +27 -5
  430. package/contracts/product/IRiskService.sol +48 -0
  431. package/contracts/product/PolicyService.sol +374 -324
  432. package/contracts/product/PolicyServiceLib.sol +139 -0
  433. package/contracts/product/PolicyServiceManager.sol +4 -4
  434. package/contracts/product/PricingService.sol +85 -83
  435. package/contracts/product/PricingServiceManager.sol +4 -4
  436. package/contracts/product/Product.sol +166 -96
  437. package/contracts/product/RiskService.sol +190 -0
  438. package/contracts/product/RiskServiceManager.sol +39 -0
  439. package/contracts/registry/ChainNft.sol +72 -40
  440. package/contracts/registry/IRegistry.sol +70 -29
  441. package/contracts/registry/IRegistryService.sol +5 -12
  442. package/contracts/registry/IRelease.sol +29 -0
  443. package/contracts/registry/ITransferInterceptor.sol +1 -2
  444. package/contracts/registry/Registry.sol +364 -204
  445. package/contracts/registry/RegistryAdmin.sol +110 -287
  446. package/contracts/registry/RegistryAuthorization.sol +284 -0
  447. package/contracts/registry/RegistryService.sol +38 -49
  448. package/contracts/registry/RegistryServiceManager.sol +3 -3
  449. package/contracts/registry/ReleaseAdmin.sol +195 -0
  450. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  451. package/contracts/registry/ReleaseRegistry.sol +275 -240
  452. package/contracts/registry/ServiceAuthorizationV3.sol +202 -57
  453. package/contracts/registry/TokenRegistry.sol +12 -13
  454. package/contracts/shared/Component.sol +66 -137
  455. package/contracts/shared/ComponentService.sol +415 -376
  456. package/contracts/shared/ComponentServiceManager.sol +8 -5
  457. package/contracts/shared/ContractLib.sol +311 -0
  458. package/contracts/shared/IComponent.sol +6 -19
  459. package/contracts/shared/IComponentService.sol +43 -40
  460. package/contracts/shared/IInstanceLinkedComponent.sol +2 -28
  461. package/contracts/shared/ILifecycle.sol +3 -1
  462. package/contracts/shared/INftOwnable.sol +4 -0
  463. package/contracts/shared/IPolicyHolder.sol +12 -22
  464. package/contracts/shared/IRegisterable.sol +22 -1
  465. package/contracts/shared/IService.sol +3 -5
  466. package/contracts/shared/InitializableERC165.sol +10 -2
  467. package/contracts/shared/InstanceLinkedComponent.sol +72 -50
  468. package/contracts/shared/KeyValueStore.sol +1 -1
  469. package/contracts/shared/Lifecycle.sol +15 -4
  470. package/contracts/shared/NftOwnable.sol +31 -9
  471. package/contracts/shared/PolicyHolder.sol +18 -54
  472. package/contracts/shared/Registerable.sol +52 -21
  473. package/contracts/shared/RegistryLinked.sol +9 -14
  474. package/contracts/shared/Service.sol +20 -35
  475. package/contracts/shared/TokenHandler.sol +309 -29
  476. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  477. package/contracts/staking/IStaking.sol +48 -20
  478. package/contracts/staking/IStakingService.sol +21 -11
  479. package/contracts/staking/Staking.sol +198 -109
  480. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
  481. package/contracts/staking/StakingManager.sol +8 -6
  482. package/contracts/staking/StakingReader.sol +40 -24
  483. package/contracts/staking/StakingService.sol +88 -27
  484. package/contracts/staking/StakingServiceManager.sol +6 -5
  485. package/contracts/staking/StakingStore.sol +3 -2
  486. package/contracts/staking/TargetManagerLib.sol +8 -4
  487. package/contracts/type/Amount.sol +15 -0
  488. package/contracts/type/ClaimId.sol +6 -1
  489. package/contracts/type/Fee.sol +8 -8
  490. package/contracts/type/Key32.sol +2 -2
  491. package/contracts/type/Key32Set.sol +62 -0
  492. package/contracts/type/NftId.sol +7 -0
  493. package/contracts/type/ObjectType.sol +73 -37
  494. package/contracts/type/PayoutId.sol +10 -10
  495. package/contracts/type/RiskId.sol +38 -6
  496. package/contracts/type/RoleId.sol +61 -55
  497. package/contracts/type/Seconds.sol +12 -0
  498. package/contracts/type/Selector.sol +5 -0
  499. package/contracts/type/StateId.sol +15 -1
  500. package/contracts/type/String.sol +12 -0
  501. package/contracts/type/Timestamp.sol +0 -5
  502. package/contracts/type/UFixed.sol +37 -126
  503. package/contracts/type/Version.sol +54 -5
  504. package/contracts/upgradeability/IVersionable.sol +3 -0
  505. package/contracts/upgradeability/ProxyManager.sol +93 -45
  506. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
  507. package/contracts/upgradeability/Versionable.sol +8 -5
  508. package/package.json +5 -4
  509. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  510. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  511. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  512. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  513. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  514. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  515. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  516. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
  517. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  518. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  519. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  520. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  521. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  522. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  523. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  524. package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.dbg.json +0 -4
  525. package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.json +0 -42
  526. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  527. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
  528. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  529. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  530. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  531. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  532. package/contracts/instance/module/IAccess.sol +0 -46
  533. package/contracts/product/IProductService.sol +0 -33
  534. package/contracts/product/ProductService.sol +0 -99
  535. package/contracts/product/ProductServiceManager.sol +0 -39
  536. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  537. package/contracts/shared/InitializableCustom.sol +0 -177
  538. package/contracts/shared/TokenTransferLib.sol +0 -60
@@ -50,7 +50,18 @@
50
50
  },
51
51
  {
52
52
  "internalType": "NftId",
53
- "name": "bundlePoolNftId",
53
+ "name": "poolNftId",
54
+ "type": "uint96"
55
+ }
56
+ ],
57
+ "name": "ErrorApplicationServiceBundleLocked",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "NftId",
64
+ "name": "bundleNftId",
54
65
  "type": "uint96"
55
66
  },
56
67
  {
@@ -59,55 +70,92 @@
59
70
  "type": "uint96"
60
71
  }
61
72
  ],
62
- "name": "ErrorApplicationServiceBundlePoolMismatch",
73
+ "name": "ErrorApplicationServiceBundleUnknown",
63
74
  "type": "error"
64
75
  },
65
76
  {
66
77
  "inputs": [
67
78
  {
68
79
  "internalType": "NftId",
69
- "name": "callerNftId",
80
+ "name": "productNftId",
70
81
  "type": "uint96"
71
82
  },
72
83
  {
73
- "internalType": "ObjectType",
74
- "name": "callerType",
75
- "type": "uint8"
84
+ "internalType": "NftId",
85
+ "name": "distributionNftId",
86
+ "type": "uint96"
87
+ },
88
+ {
89
+ "internalType": "ReferralId",
90
+ "name": "referralId",
91
+ "type": "bytes8"
76
92
  }
77
93
  ],
78
- "name": "ErrorApplicationServiceNotProduct",
94
+ "name": "ErrorApplicationServiceReferralInvalid",
79
95
  "type": "error"
80
96
  },
81
97
  {
82
98
  "inputs": [
99
+ {
100
+ "internalType": "RiskId",
101
+ "name": "riskId",
102
+ "type": "bytes8"
103
+ },
83
104
  {
84
105
  "internalType": "NftId",
85
- "name": "componentNftId",
106
+ "name": "productNftId",
86
107
  "type": "uint96"
87
108
  }
88
109
  ],
89
- "name": "ErrorComponentVerifyingServiceComponentIsLocked",
110
+ "name": "ErrorApplicationServiceRiskPaused",
90
111
  "type": "error"
91
112
  },
92
113
  {
93
114
  "inputs": [
115
+ {
116
+ "internalType": "RiskId",
117
+ "name": "riskId",
118
+ "type": "bytes8"
119
+ },
94
120
  {
95
121
  "internalType": "NftId",
96
- "name": "componentNftId",
122
+ "name": "riskProductNftId",
97
123
  "type": "uint96"
98
124
  },
99
125
  {
100
- "internalType": "ObjectType",
101
- "name": "expectedType",
102
- "type": "uint8"
126
+ "internalType": "NftId",
127
+ "name": "productNftId",
128
+ "type": "uint96"
129
+ }
130
+ ],
131
+ "name": "ErrorApplicationServiceRiskProductMismatch",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "RiskId",
138
+ "name": "riskId",
139
+ "type": "bytes8"
103
140
  },
104
141
  {
105
- "internalType": "ObjectType",
106
- "name": "actualType",
107
- "type": "uint8"
142
+ "internalType": "NftId",
143
+ "name": "productNftId",
144
+ "type": "uint96"
145
+ }
146
+ ],
147
+ "name": "ErrorApplicationServiceRiskUnknown",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "authority",
155
+ "type": "address"
108
156
  }
109
157
  ],
110
- "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
158
+ "name": "ErrorAuthorityInvalid",
111
159
  "type": "error"
112
160
  },
113
161
  {
@@ -137,6 +185,22 @@
137
185
  "name": "ErrorNftOwnableInitialOwnerZero",
138
186
  "type": "error"
139
187
  },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "NftId",
192
+ "name": "nftId",
193
+ "type": "uint96"
194
+ },
195
+ {
196
+ "internalType": "ObjectType",
197
+ "name": "expectedObjectType",
198
+ "type": "uint8"
199
+ }
200
+ ],
201
+ "name": "ErrorNftOwnableInvalidType",
202
+ "type": "error"
203
+ },
140
204
  {
141
205
  "inputs": [
142
206
  {
@@ -161,7 +225,17 @@
161
225
  },
162
226
  {
163
227
  "inputs": [],
164
- "name": "ErrorServiceNotImplemented",
228
+ "name": "ErrorRegisterableNotActive",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "ErrorVersionableInitializeNotImplemented",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "ErrorVersionableUpgradeNotImplemented",
165
239
  "type": "error"
166
240
  },
167
241
  {
@@ -174,6 +248,11 @@
174
248
  "name": "NotInitializing",
175
249
  "type": "error"
176
250
  },
251
+ {
252
+ "inputs": [],
253
+ "name": "ReentrancyGuardReentrantCall",
254
+ "type": "error"
255
+ },
177
256
  {
178
257
  "anonymous": false,
179
258
  "inputs": [
@@ -200,6 +279,161 @@
200
279
  "name": "Initialized",
201
280
  "type": "event"
202
281
  },
282
+ {
283
+ "anonymous": false,
284
+ "inputs": [
285
+ {
286
+ "indexed": false,
287
+ "internalType": "NftId",
288
+ "name": "applicationNftId",
289
+ "type": "uint96"
290
+ },
291
+ {
292
+ "indexed": false,
293
+ "internalType": "NftId",
294
+ "name": "bundleNftId",
295
+ "type": "uint96"
296
+ },
297
+ {
298
+ "indexed": false,
299
+ "internalType": "RiskId",
300
+ "name": "riskId",
301
+ "type": "bytes8"
302
+ },
303
+ {
304
+ "indexed": false,
305
+ "internalType": "ReferralId",
306
+ "name": "referralId",
307
+ "type": "bytes8"
308
+ },
309
+ {
310
+ "indexed": false,
311
+ "internalType": "Amount",
312
+ "name": "sumInsuredAmount",
313
+ "type": "uint96"
314
+ },
315
+ {
316
+ "indexed": false,
317
+ "internalType": "Seconds",
318
+ "name": "lifetime",
319
+ "type": "uint40"
320
+ }
321
+ ],
322
+ "name": "LogApplicationServiceApplicationAdjusted",
323
+ "type": "event"
324
+ },
325
+ {
326
+ "anonymous": false,
327
+ "inputs": [
328
+ {
329
+ "indexed": false,
330
+ "internalType": "NftId",
331
+ "name": "applicationNftId",
332
+ "type": "uint96"
333
+ },
334
+ {
335
+ "indexed": false,
336
+ "internalType": "NftId",
337
+ "name": "productNftId",
338
+ "type": "uint96"
339
+ },
340
+ {
341
+ "indexed": false,
342
+ "internalType": "NftId",
343
+ "name": "bundleNftId",
344
+ "type": "uint96"
345
+ },
346
+ {
347
+ "indexed": false,
348
+ "internalType": "RiskId",
349
+ "name": "riskId",
350
+ "type": "bytes8"
351
+ },
352
+ {
353
+ "indexed": false,
354
+ "internalType": "ReferralId",
355
+ "name": "referralId",
356
+ "type": "bytes8"
357
+ },
358
+ {
359
+ "indexed": false,
360
+ "internalType": "address",
361
+ "name": "applicationOwner",
362
+ "type": "address"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "Amount",
367
+ "name": "sumInsuredAmount",
368
+ "type": "uint96"
369
+ },
370
+ {
371
+ "indexed": false,
372
+ "internalType": "Amount",
373
+ "name": "premiumAmount",
374
+ "type": "uint96"
375
+ },
376
+ {
377
+ "indexed": false,
378
+ "internalType": "Seconds",
379
+ "name": "lifetime",
380
+ "type": "uint40"
381
+ }
382
+ ],
383
+ "name": "LogApplicationServiceApplicationCreated",
384
+ "type": "event"
385
+ },
386
+ {
387
+ "anonymous": false,
388
+ "inputs": [
389
+ {
390
+ "indexed": false,
391
+ "internalType": "NftId",
392
+ "name": "policyNftId",
393
+ "type": "uint96"
394
+ },
395
+ {
396
+ "indexed": false,
397
+ "internalType": "NftId",
398
+ "name": "bundleNftId",
399
+ "type": "uint96"
400
+ }
401
+ ],
402
+ "name": "LogApplicationServiceApplicationRenewed",
403
+ "type": "event"
404
+ },
405
+ {
406
+ "anonymous": false,
407
+ "inputs": [
408
+ {
409
+ "indexed": false,
410
+ "internalType": "NftId",
411
+ "name": "applicationNftId",
412
+ "type": "uint96"
413
+ }
414
+ ],
415
+ "name": "LogApplicationServiceApplicationRevoked",
416
+ "type": "event"
417
+ },
418
+ {
419
+ "anonymous": false,
420
+ "inputs": [
421
+ {
422
+ "indexed": false,
423
+ "internalType": "NftId",
424
+ "name": "nftId",
425
+ "type": "uint96"
426
+ },
427
+ {
428
+ "indexed": false,
429
+ "internalType": "address",
430
+ "name": "owner",
431
+ "type": "address"
432
+ }
433
+ ],
434
+ "name": "LogNftOwnableNftLinkedToAddress",
435
+ "type": "event"
436
+ },
203
437
  {
204
438
  "inputs": [],
205
439
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -438,6 +672,19 @@
438
672
  "stateMutability": "view",
439
673
  "type": "function"
440
674
  },
675
+ {
676
+ "inputs": [],
677
+ "name": "getRelease",
678
+ "outputs": [
679
+ {
680
+ "internalType": "VersionPart",
681
+ "name": "release",
682
+ "type": "uint8"
683
+ }
684
+ ],
685
+ "stateMutability": "view",
686
+ "type": "function"
687
+ },
441
688
  {
442
689
  "inputs": [],
443
690
  "name": "getRoleId",
@@ -448,7 +695,7 @@
448
695
  "type": "uint64"
449
696
  }
450
697
  ],
451
- "stateMutability": "pure",
698
+ "stateMutability": "view",
452
699
  "type": "function"
453
700
  },
454
701
  {
@@ -464,121 +711,35 @@
464
711
  "stateMutability": "pure",
465
712
  "type": "function"
466
713
  },
467
- {
468
- "inputs": [],
469
- "name": "initializeERC165",
470
- "outputs": [],
471
- "stateMutability": "nonpayable",
472
- "type": "function"
473
- },
474
714
  {
475
715
  "inputs": [
476
716
  {
477
717
  "internalType": "address",
478
- "name": "initialOwner",
479
- "type": "address"
480
- },
481
- {
482
- "internalType": "address",
483
- "name": "registryAddress",
484
- "type": "address"
485
- }
486
- ],
487
- "name": "initializeNftOwnable",
488
- "outputs": [],
489
- "stateMutability": "nonpayable",
490
- "type": "function"
491
- },
492
- {
493
- "inputs": [
494
- {
495
- "internalType": "address",
496
- "name": "registryAddress",
497
- "type": "address"
498
- },
499
- {
500
- "internalType": "NftId",
501
- "name": "parentNftId",
502
- "type": "uint96"
503
- },
504
- {
505
- "internalType": "ObjectType",
506
- "name": "objectType",
507
- "type": "uint8"
508
- },
509
- {
510
- "internalType": "bool",
511
- "name": "isInterceptor",
512
- "type": "bool"
513
- },
514
- {
515
- "internalType": "address",
516
- "name": "initialOwner",
718
+ "name": "activatedBy",
517
719
  "type": "address"
518
720
  },
519
721
  {
520
722
  "internalType": "bytes",
521
- "name": "registryData",
723
+ "name": "data",
522
724
  "type": "bytes"
523
725
  }
524
726
  ],
525
- "name": "initializeRegisterable",
526
- "outputs": [],
527
- "stateMutability": "nonpayable",
528
- "type": "function"
529
- },
530
- {
531
- "inputs": [
532
- {
533
- "internalType": "address",
534
- "name": "registryAddress",
535
- "type": "address"
536
- }
537
- ],
538
- "name": "initializeRegistryLinked",
539
- "outputs": [],
540
- "stateMutability": "nonpayable",
541
- "type": "function"
542
- },
543
- {
544
- "inputs": [
545
- {
546
- "internalType": "address",
547
- "name": "registry",
548
- "type": "address"
549
- },
550
- {
551
- "internalType": "address",
552
- "name": "authority",
553
- "type": "address"
554
- },
555
- {
556
- "internalType": "address",
557
- "name": "initialOwner",
558
- "type": "address"
559
- }
560
- ],
561
- "name": "initializeService",
727
+ "name": "initializeVersionable",
562
728
  "outputs": [],
563
729
  "stateMutability": "nonpayable",
564
730
  "type": "function"
565
731
  },
566
732
  {
567
- "inputs": [
568
- {
569
- "internalType": "address",
570
- "name": "activatedBy",
571
- "type": "address"
572
- },
733
+ "inputs": [],
734
+ "name": "isActive",
735
+ "outputs": [
573
736
  {
574
- "internalType": "bytes",
575
- "name": "data",
576
- "type": "bytes"
737
+ "internalType": "bool",
738
+ "name": "active",
739
+ "type": "bool"
577
740
  }
578
741
  ],
579
- "name": "initializeVersionable",
580
- "outputs": [],
581
- "stateMutability": "nonpayable",
742
+ "stateMutability": "view",
582
743
  "type": "function"
583
744
  },
584
745
  {
@@ -607,19 +768,6 @@
607
768
  "stateMutability": "nonpayable",
608
769
  "type": "function"
609
770
  },
610
- {
611
- "inputs": [
612
- {
613
- "internalType": "bytes4",
614
- "name": "interfaceId",
615
- "type": "bytes4"
616
- }
617
- ],
618
- "name": "registerInterface",
619
- "outputs": [],
620
- "stateMutability": "nonpayable",
621
- "type": "function"
622
- },
623
771
  {
624
772
  "inputs": [
625
773
  {
@@ -703,22 +851,34 @@
703
851
  "type": "function"
704
852
  }
705
853
  ],
706
- "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612e05806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610187575f3560e01c806362cbbd7b116100d95780638e32e97911610093578063ada9652e1161006e578063ada9652e146103be578063b68d1809146103d2578063bf7e214f146103e1578063f7c34ee0146103fe575f80fd5b80638e32e979146103775780638fb360371461038a5780639a832741146103ab575f80fd5b806362cbbd7b146102f5578063644c45e01461030c578063675393bf146103295780636c741e781461033c5780637a9e5e4b1461035c578063893d20e81461036f575f80fd5b806327bb7a331161014457806349bb9e4b1161011f57806349bb9e4b14610295578063536ef74b146102a85780635ab1bd53146102bd578063603ccaad146102e2575f80fd5b806327bb7a3314610267578063329d6e741461027a57806336fc697e1461028d575f80fd5b806301ffc9a71461018b5780630d8e6e2c146101cc5780630fec111c146101e8578063138461e0146101fd5780631eff4b221461021d578063214cdb8014610252575b5f80fd5b6101b76101993660046120a5565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101d4610411565b60405162ffffff90911681526020016101c3565b6101f0610498565b6040516101c391906120fa565b610205610624565b6040516001600160601b0390911681526020016101c3565b6102447f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101c3565b6102656102603660046120a5565b61062e565b005b6102656102753660046122f2565b61065a565b610265610288366004612385565b6106ff565b610265610849565b6102656102a33660046123b6565b61088e565b6102056102b6366004612402565b5f92915050565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101c3565b6102656102f0366004612439565b610989565b61026561030336600461247b565b50505050505050565b5f80516020612d70833981519152546001600160601b0316610205565b610265610337366004612521565b610a69565b610344610b7b565b6040516001600160401b0390911681526020016101c3565b61026561036a366004612521565b610c71565b6102ca610d09565b61026561038536600461253c565b610e3a565b610392610f77565b6040516001600160e01b031990911681526020016101c3565b6102056103b9366004612584565b610fac565b6102445f80516020612d7083398151915281565b604051601481526020016101c3565b5f80516020612d90833981519152546001600160a01b03166102ca565b61026561040c36600461263d565b611117565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561046f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104939190612669565b905090565b6104a0612068565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610516573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053a919061269b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610582610d09565b6001600160a01b0316815260200182600101805461059f906126b6565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb906126b6565b80156106165780601f106105ed57610100808354040283529160200191610616565b820191905f5260205f20905b8154815290600101906020018083116105f957829003601f168201915b505050505081525091505090565b5f6104933061118d565b610636611386565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b610662611386565b61066c8287611117565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016106f58382612739565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610721610411565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561075f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107839190612807565b5f80516020612db08339815191528054600160401b900460ff16806107b5575080546001600160401b03808416911610155b156107d35760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556107fd836113be565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610851611386565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612db08339815191528054600160401b810460ff1615906001600160401b03165f811580156108bf5750825b90505f826001600160401b031660011480156108da5750303b155b9050811580156108e8575080155b156109065760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561093057845460ff60401b1916600160401b1785555b61093a87876113c6565b831561030357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f610994600c611560565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612822565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610a4f575f80fd5b505af1158015610a61573d5f803e3d5ffd5b505050505050565b610a71611386565b806001600160a01b03163b5f03610aab5760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610b25575060408051601f3d908101601f19168201909252610b2291810190612848565b60015b610b4d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610aa2565b80610b765760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610aa2565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36014604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610be6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0a919061286e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610c4d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104939190612807565b33610c905f80516020612d90833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610ccb5760405162d1953b60e31b81526001600160a01b0382166004820152602401610aa2565b816001600160a01b03163b5f03610d00576040516361798f2f60e11b81526001600160a01b0383166004820152602401610aa2565b610b76826115fc565b5f805f80516020612d7083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d999190612848565b15610e24576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dfa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1e9190612822565b91505090565b54600160601b90046001600160a01b0316919050565b610e42611386565b610ebe83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea6919061269b565b60085f8560405180602001604052805f81525061065a565b6001600160a01b03821615610edb57610ed68261165c565b610f52565b5f610ee6600261166d565b9050610f50816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4b9190612822565b61165c565b505b610f62634a531f3360e01b61062e565b610f7263daf9067160e01b61062e565b505050565b5f80516020612d9083398151915280545f9190600160a01b900460ff16610f9e575f610e1e565b638fb3603760e01b91505090565b5f8080610fb9600c611560565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ffb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101f9190612822565b905061102e81848d898b611774565b611038838d6118a8565b93505f61104b848d8d8d8d8d8d8d6119eb565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611089573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ad9190612822565b6001600160a01b0316632a8ea7ac86836040518363ffffffff1660e01b81526004016110da929190612894565b5f604051808303815f87803b1580156110f1575f80fd5b505af1158015611103573d5f803e3d5ffd5b505050505050505098975050505050505050565b61111f611386565b61112881610a69565b611130610849565b6001600160a01b0382166111575760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612d7083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f80516020612d7083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121d9190612848565b156112495780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610aa2565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561129b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112bf9190612848565b6112e75760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610aa2565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611339573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135d919061269b565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612db083398151915254600160401b900460ff166113bc57604051631afcd79f60e31b815260040160405180910390fd5b565b610187611386565b5f80516020612db08339815191528054600160401b810460ff1615906001600160401b03165f811580156113f75750825b90505f826001600160401b031660011480156114125750303b155b905081158015611420575080155b1561143e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561146857845460ff60401b1916600160401b1785555b5f808780602001905181019061147e9190612a37565b925050915061148e825f8b610e3a565b611498600e61166d565b600280546001600160a01b0319166001600160a01b03929092169190911790556114c2601961166d565b600380546001600160a01b0319166001600160a01b03929092169190911790556114ec600261166d565b600480546001600160a01b0319166001600160a01b039290921691909117905561151c6332c6a9f760e21b61062e565b5050831561030357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610978565b5f611569612068565b5f61157c6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156115c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e4919061269b565b92506115f283856001611c9f565b9395909450915050565b5f80516020612d9083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611664611386565b610b7881611f3c565b5f6116806001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156116e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611707919061286e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561174a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176e9190612822565b92915050565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c9060240161020060405180830381865afa1580156117c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e69190612ac2565b6020810151604051634793b4ab60e01b81526001600160601b0385166004820152919250905f906001600160a01b03891690634793b4ab906024015f60405180830381865afa15801561183b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118629190810190612bdb565b51905061186f8183611f4d565b156106f5576040516319c01eff60e01b81526001600160601b038086166004830152808416602483015282166044820152606401610aa2565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611920919061269b565b6001600160601b03168152602001856001600160601b03168152602001611945601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed916119a3918591016120fa565b6020604051808303815f875af11580156119bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e3919061269b565b949350505050565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526040518061022001604052808a6001600160601b03168152602001856001600160601b03168152602001846001600160c01b0319168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b45919061269b565b6001600160601b031681526020018664ffffffffff16815260200183815260200160405180602001604052805f81525081526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf9919061269b565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c72919061269b565b6001600160601b031681525f60208201819052604082018190526060909101529998505050505050505050565b611ca7612068565b5f80611cbb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611d08573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d2f9190810190612c9f565b925060ff8516600b14611d8d57604083015160ff868116911614611d8857604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610aa2565b611e29565b611da88360400151611d9d600c90565b60ff90811691161490565b80611dbe5750611dbe8360400151611d9d600f90565b80611dd45750611dd48360400151611d9d600e90565b80611dea5750611dea8360400151611d9d600d90565b611e2957604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610aa2565b611e368360200151611fd8565b91508315611f3357816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e9e9190612822565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611ee6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f0a9190612848565b15611f3357604051637d71120960e11b81526001600160601b0387166004820152602401610aa2565b50935093915050565b611f44611386565b610b78816115fc565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015611fad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd19190612848565b9392505050565b5f611feb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612037573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261205e9190810190612c9f565b6080015192915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156120b5575f80fd5b81356001600160e01b031981168114611fd1575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612142608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526119e36101008401826120cc565b6001600160a01b0381168114610b78575f80fd5b6001600160601b0381168114610b78575f80fd5b60ff81168114610b78575f80fd5b8015158114610b78575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161012081016001600160401b0381118282101715612200576122006121c9565b60405290565b60405160c081016001600160401b0381118282101715612200576122006121c9565b60405160e081016001600160401b0381118282101715612200576122006121c9565b604051601f8201601f191681016001600160401b0381118282101715612272576122726121c9565b604052919050565b5f6001600160401b03821115612292576122926121c9565b50601f01601f191660200190565b5f82601f8301126122af575f80fd5b81356122c26122bd8261227a565b61224a565b8181528460208386010111156122d6575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612307575f80fd5b863561231281612186565b955060208701356123228161219a565b94506040870135612332816121ae565b93506060870135612342816121bc565b9250608087013561235281612186565b915060a08701356001600160401b0381111561236c575f80fd5b61237889828a016122a0565b9150509295509295509295565b5f60208284031215612395575f80fd5b81356001600160401b038111156123aa575f80fd5b6119e3848285016122a0565b5f80604083850312156123c7575f80fd5b82356123d281612186565b915060208301356001600160401b038111156123ec575f80fd5b6123f8858286016122a0565b9150509250929050565b5f8060408385031215612413575f80fd5b823561241e8161219a565b9150602083013561242e8161219a565b809150509250929050565b5f60208284031215612449575f80fd5b8135611fd18161219a565b6001600160c01b031981168114610b78575f80fd5b64ffffffffff81168114610b78575f80fd5b5f805f805f805f60e0888a031215612491575f80fd5b873561249c8161219a565b965060208801356124ac81612454565b955060408801356124bc8161219a565b945060608801356124cc81612454565b935060808801356124dc8161219a565b925060a08801356124ec81612469565b915060c08801356001600160401b03811115612506575f80fd5b6125128a828b016122a0565b91505092959891949750929550565b5f60208284031215612531575f80fd5b8135611fd181612186565b5f805f6060848603121561254e575f80fd5b833561255981612186565b9250602084013561256981612186565b9150604084013561257981612186565b809150509250925092565b5f805f805f805f80610100898b03121561259c575f80fd5b88356125a781612186565b975060208901356125b781612454565b965060408901356125c78161219a565b955060608901356125d78161219a565b945060808901356125e781612469565b935060a08901356125f78161219a565b925060c089013561260781612454565b915060e08901356001600160401b03811115612621575f80fd5b61262d8b828c016122a0565b9150509295985092959890939650565b5f806040838503121561264e575f80fd5b823561265981612186565b9150602083013561242e81612186565b5f60208284031215612679575f80fd5b815162ffffff81168114611fd1575f80fd5b80516126968161219a565b919050565b5f602082840312156126ab575f80fd5b8151611fd18161219a565b600181811c908216806126ca57607f821691505b6020821081036126e857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610f7257805f5260205f20601f840160051c810160208510156127135750805b601f840160051c820191505b81811015612732575f815560010161271f565b5050505050565b81516001600160401b03811115612752576127526121c9565b6127668161276084546126b6565b846126ee565b6020601f821160018114612798575f83156127815750848201515b5f19600385901b1c1916600184901b178455612732565b5f84815260208120601f198516915b828110156127c757878501518255602094850194600190920191016127a7565b50848210156127e457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610b78575f80fd5b5f60208284031215612817575f80fd5b8151611fd1816127f3565b5f60208284031215612832575f80fd5b8151611fd181612186565b8051612696816121bc565b5f60208284031215612858575f80fd5b8151611fd1816121bc565b8051612696816121ae565b5f6020828403121561287e575f80fd5b8151611fd1816121ae565b805161269681612186565b6001600160601b0383168152604060208201526128bd6040820183516001600160601b03169052565b5f60208301516128d860608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c08301516001600160601b0381166101008401525060e083015164ffffffffff8116610120840152506101008301516102206101408401526129766102608401826120cc565b9050610120840151603f198483030161016085015261299582826120cc565b9150506101408401516129af61018085018261ffff169052565b5061016084015161ffff81166101a0850152506101808401516001600160601b0381166101c0850152506101a08401516001600160601b0381166101e0850152506101c084015164ffffffffff8116610200850152506101e084015164ffffffffff81166102208501525061020084015164ffffffffff811661024085015250949350505050565b5f805f60608486031215612a49575f80fd5b8351612a5481612186565b6020850151909350612a6581612186565b604085015190925061257981612186565b5f60408284031215612a86575f80fd5b604080519081016001600160401b0381118282101715612aa857612aa86121c9565b604052825181526020928301519281019290925250919050565b5f610200828403128015612ad4575f80fd5b50612add6121dd565b612ae68361268b565b8152612af46020840161268b565b6020820152612b068460408501612a76565b6040820152612b188460808501612a76565b6060820152612b2a8460c08501612a76565b6080820152612b3d846101008501612a76565b60a0820152612b50846101408501612a76565b60c0820152612b63846101808501612a76565b60e0820152612b76846101c08501612a76565b6101008201529392505050565b5f82601f830112612b92575f80fd5b8151612ba06122bd8261227a565b818152846020838601011115612bb4575f80fd5b8160208501602083015e5f918101602001919091529392505050565b805161269681612469565b5f60208284031215612beb575f80fd5b81516001600160401b03811115612c00575f80fd5b820160e08185031215612c11575f80fd5b612c19612206565b8151612c248161219a565b8152612c338560208401612a76565b602082015260608201516001600160401b03811115612c50575f80fd5b612c5c86828501612b83565b6040830152506080820151612c7081612469565b6060820152612c8160a08301612bd0565b6080820152612c9260c08301612bd0565b60a0820152949350505050565b5f60208284031215612caf575f80fd5b81516001600160401b03811115612cc4575f80fd5b820160e08185031215612cd5575f80fd5b612cdd612228565b612ce68261268b565b8152612cf46020830161268b565b6020820152612d0560408301612863565b6040820152612d166060830161283d565b6060820152612d2760808301612889565b6080820152612d3860a08301612889565b60a082015260c08201516001600160401b03811115612d55575f80fd5b612d6186828501612b83565b60c08301525094935050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207f4dbcdc129cb07230fa1294508defec1d59250171c9359c75cd4ccb85656ad664736f6c634300081a0033",
707
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610187575f3560e01c806362cbbd7b116100d95780638e32e97911610093578063ada9652e1161006e578063ada9652e146103be578063b68d1809146103d2578063bf7e214f146103e1578063f7c34ee0146103fe575f80fd5b80638e32e979146103775780638fb360371461038a5780639a832741146103ab575f80fd5b806362cbbd7b146102f5578063644c45e01461030c578063675393bf146103295780636c741e781461033c5780637a9e5e4b1461035c578063893d20e81461036f575f80fd5b806327bb7a331161014457806349bb9e4b1161011f57806349bb9e4b14610295578063536ef74b146102a85780635ab1bd53146102bd578063603ccaad146102e2575f80fd5b806327bb7a3314610267578063329d6e741461027a57806336fc697e1461028d575f80fd5b806301ffc9a71461018b5780630d8e6e2c146101cc5780630fec111c146101e8578063138461e0146101fd5780631eff4b221461021d578063214cdb8014610252575b5f80fd5b6101b76101993660046120a5565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101d4610411565b60405162ffffff90911681526020016101c3565b6101f0610498565b6040516101c391906120fa565b610205610624565b6040516001600160601b0390911681526020016101c3565b6102447f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101c3565b6102656102603660046120a5565b61062e565b005b6102656102753660046122f2565b61065a565b610265610288366004612385565b6106ff565b610265610849565b6102656102a33660046123b6565b61088e565b6102056102b6366004612402565b5f92915050565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101c3565b6102656102f0366004612439565b610989565b61026561030336600461247b565b50505050505050565b5f80516020612d70833981519152546001600160601b0316610205565b610265610337366004612521565b610a69565b610344610b7b565b6040516001600160401b0390911681526020016101c3565b61026561036a366004612521565b610c71565b6102ca610d09565b61026561038536600461253c565b610e3a565b610392610f77565b6040516001600160e01b031990911681526020016101c3565b6102056103b9366004612584565b610fac565b6102445f80516020612d7083398151915281565b604051601481526020016101c3565b5f80516020612d90833981519152546001600160a01b03166102ca565b61026561040c36600461263d565b611117565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561046f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104939190612669565b905090565b6104a0612068565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610516573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053a919061269b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610582610d09565b6001600160a01b0316815260200182600101805461059f906126b6565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb906126b6565b80156106165780601f106105ed57610100808354040283529160200191610616565b820191905f5260205f20905b8154815290600101906020018083116105f957829003601f168201915b505050505081525091505090565b5f6104933061118d565b610636611386565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b610662611386565b61066c8287611117565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016106f58382612739565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610721610411565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561075f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107839190612807565b5f80516020612db08339815191528054600160401b900460ff16806107b5575080546001600160401b03808416911610155b156107d35760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556107fd836113be565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610851611386565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612db08339815191528054600160401b810460ff1615906001600160401b03165f811580156108bf5750825b90505f826001600160401b031660011480156108da5750303b155b9050811580156108e8575080155b156109065760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561093057845460ff60401b1916600160401b1785555b61093a87876113c6565b831561030357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f610994600c611560565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612822565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610a4f575f80fd5b505af1158015610a61573d5f803e3d5ffd5b505050505050565b610a71611386565b806001600160a01b03163b5f03610aab5760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610b25575060408051601f3d908101601f19168201909252610b2291810190612848565b60015b610b4d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610aa2565b80610b765760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610aa2565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36014604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610be6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0a919061286e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610c4d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104939190612807565b33610c905f80516020612d90833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610ccb5760405162d1953b60e31b81526001600160a01b0382166004820152602401610aa2565b816001600160a01b03163b5f03610d00576040516361798f2f60e11b81526001600160a01b0383166004820152602401610aa2565b610b76826115fc565b5f805f80516020612d7083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d999190612848565b15610e24576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dfa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1e9190612822565b91505090565b54600160601b90046001600160a01b0316919050565b610e42611386565b610ebe83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea6919061269b565b60085f8560405180602001604052805f81525061065a565b6001600160a01b03821615610edb57610ed68261165c565b610f52565b5f610ee6600261166d565b9050610f50816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4b9190612822565b61165c565b505b610f62634a531f3360e01b61062e565b610f7263daf9067160e01b61062e565b505050565b5f80516020612d9083398151915280545f9190600160a01b900460ff16610f9e575f610e1e565b638fb3603760e01b91505090565b5f8080610fb9600c611560565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ffb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101f9190612822565b905061102e81848d898b611774565b611038838d6118a8565b93505f61104b848d8d8d8d8d8d8d6119eb565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611089573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ad9190612822565b6001600160a01b0316632a8ea7ac86836040518363ffffffff1660e01b81526004016110da929190612894565b5f604051808303815f87803b1580156110f1575f80fd5b505af1158015611103573d5f803e3d5ffd5b505050505050505098975050505050505050565b61111f611386565b61112881610a69565b611130610849565b6001600160a01b0382166111575760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612d7083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f80516020612d7083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121d9190612848565b156112495780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610aa2565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561129b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112bf9190612848565b6112e75760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610aa2565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611339573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135d919061269b565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612db083398151915254600160401b900460ff166113bc57604051631afcd79f60e31b815260040160405180910390fd5b565b610187611386565b5f80516020612db08339815191528054600160401b810460ff1615906001600160401b03165f811580156113f75750825b90505f826001600160401b031660011480156114125750303b155b905081158015611420575080155b1561143e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561146857845460ff60401b1916600160401b1785555b5f808780602001905181019061147e9190612a37565b925050915061148e825f8b610e3a565b611498600e61166d565b600280546001600160a01b0319166001600160a01b03929092169190911790556114c2601961166d565b600380546001600160a01b0319166001600160a01b03929092169190911790556114ec600261166d565b600480546001600160a01b0319166001600160a01b039290921691909117905561151c6332c6a9f760e21b61062e565b5050831561030357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610978565b5f611569612068565b5f61157c6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156115c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e4919061269b565b92506115f283856001611c9f565b9395909450915050565b5f80516020612d9083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611664611386565b610b7881611f3c565b5f6116806001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156116e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611707919061286e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561174a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176e9190612822565b92915050565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c9060240161020060405180830381865afa1580156117c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e69190612ac2565b6020810151604051634793b4ab60e01b81526001600160601b0385166004820152919250905f906001600160a01b03891690634793b4ab906024015f60405180830381865afa15801561183b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118629190810190612bdb565b51905061186f8183611f4d565b156106f5576040516319c01eff60e01b81526001600160601b038086166004830152808416602483015282166044820152606401610aa2565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611920919061269b565b6001600160601b03168152602001856001600160601b03168152602001611945601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed916119a3918591016120fa565b6020604051808303815f875af11580156119bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e3919061269b565b949350505050565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526040518061022001604052808a6001600160601b03168152602001856001600160601b03168152602001846001600160c01b0319168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b45919061269b565b6001600160601b031681526020018664ffffffffff16815260200183815260200160405180602001604052805f81525081526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf9919061269b565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c72919061269b565b6001600160601b031681525f60208201819052604082018190526060909101529998505050505050505050565b611ca7612068565b5f80611cbb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611d08573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d2f9190810190612c9f565b925060ff8516600b14611d8d57604083015160ff868116911614611d8857604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610aa2565b611e29565b611da88360400151611d9d600c90565b60ff90811691161490565b80611dbe5750611dbe8360400151611d9d600f90565b80611dd45750611dd48360400151611d9d600e90565b80611dea5750611dea8360400151611d9d600d90565b611e2957604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610aa2565b611e368360200151611fd8565b91508315611f3357816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e9e9190612822565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611ee6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f0a9190612848565b15611f3357604051637d71120960e11b81526001600160601b0387166004820152602401610aa2565b50935093915050565b611f44611386565b610b78816115fc565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015611fad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd19190612848565b9392505050565b5f611feb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612037573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261205e9190810190612c9f565b6080015192915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156120b5575f80fd5b81356001600160e01b031981168114611fd1575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612142608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526119e36101008401826120cc565b6001600160a01b0381168114610b78575f80fd5b6001600160601b0381168114610b78575f80fd5b60ff81168114610b78575f80fd5b8015158114610b78575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161012081016001600160401b0381118282101715612200576122006121c9565b60405290565b60405160c081016001600160401b0381118282101715612200576122006121c9565b60405160e081016001600160401b0381118282101715612200576122006121c9565b604051601f8201601f191681016001600160401b0381118282101715612272576122726121c9565b604052919050565b5f6001600160401b03821115612292576122926121c9565b50601f01601f191660200190565b5f82601f8301126122af575f80fd5b81356122c26122bd8261227a565b61224a565b8181528460208386010111156122d6575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612307575f80fd5b863561231281612186565b955060208701356123228161219a565b94506040870135612332816121ae565b93506060870135612342816121bc565b9250608087013561235281612186565b915060a08701356001600160401b0381111561236c575f80fd5b61237889828a016122a0565b9150509295509295509295565b5f60208284031215612395575f80fd5b81356001600160401b038111156123aa575f80fd5b6119e3848285016122a0565b5f80604083850312156123c7575f80fd5b82356123d281612186565b915060208301356001600160401b038111156123ec575f80fd5b6123f8858286016122a0565b9150509250929050565b5f8060408385031215612413575f80fd5b823561241e8161219a565b9150602083013561242e8161219a565b809150509250929050565b5f60208284031215612449575f80fd5b8135611fd18161219a565b6001600160c01b031981168114610b78575f80fd5b64ffffffffff81168114610b78575f80fd5b5f805f805f805f60e0888a031215612491575f80fd5b873561249c8161219a565b965060208801356124ac81612454565b955060408801356124bc8161219a565b945060608801356124cc81612454565b935060808801356124dc8161219a565b925060a08801356124ec81612469565b915060c08801356001600160401b03811115612506575f80fd5b6125128a828b016122a0565b91505092959891949750929550565b5f60208284031215612531575f80fd5b8135611fd181612186565b5f805f6060848603121561254e575f80fd5b833561255981612186565b9250602084013561256981612186565b9150604084013561257981612186565b809150509250925092565b5f805f805f805f80610100898b03121561259c575f80fd5b88356125a781612186565b975060208901356125b781612454565b965060408901356125c78161219a565b955060608901356125d78161219a565b945060808901356125e781612469565b935060a08901356125f78161219a565b925060c089013561260781612454565b915060e08901356001600160401b03811115612621575f80fd5b61262d8b828c016122a0565b9150509295985092959890939650565b5f806040838503121561264e575f80fd5b823561265981612186565b9150602083013561242e81612186565b5f60208284031215612679575f80fd5b815162ffffff81168114611fd1575f80fd5b80516126968161219a565b919050565b5f602082840312156126ab575f80fd5b8151611fd18161219a565b600181811c908216806126ca57607f821691505b6020821081036126e857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610f7257805f5260205f20601f840160051c810160208510156127135750805b601f840160051c820191505b81811015612732575f815560010161271f565b5050505050565b81516001600160401b03811115612752576127526121c9565b6127668161276084546126b6565b846126ee565b6020601f821160018114612798575f83156127815750848201515b5f19600385901b1c1916600184901b178455612732565b5f84815260208120601f198516915b828110156127c757878501518255602094850194600190920191016127a7565b50848210156127e457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610b78575f80fd5b5f60208284031215612817575f80fd5b8151611fd1816127f3565b5f60208284031215612832575f80fd5b8151611fd181612186565b8051612696816121bc565b5f60208284031215612858575f80fd5b8151611fd1816121bc565b8051612696816121ae565b5f6020828403121561287e575f80fd5b8151611fd1816121ae565b805161269681612186565b6001600160601b0383168152604060208201526128bd6040820183516001600160601b03169052565b5f60208301516128d860608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c08301516001600160601b0381166101008401525060e083015164ffffffffff8116610120840152506101008301516102206101408401526129766102608401826120cc565b9050610120840151603f198483030161016085015261299582826120cc565b9150506101408401516129af61018085018261ffff169052565b5061016084015161ffff81166101a0850152506101808401516001600160601b0381166101c0850152506101a08401516001600160601b0381166101e0850152506101c084015164ffffffffff8116610200850152506101e084015164ffffffffff81166102208501525061020084015164ffffffffff811661024085015250949350505050565b5f805f60608486031215612a49575f80fd5b8351612a5481612186565b6020850151909350612a6581612186565b604085015190925061257981612186565b5f60408284031215612a86575f80fd5b604080519081016001600160401b0381118282101715612aa857612aa86121c9565b604052825181526020928301519281019290925250919050565b5f610200828403128015612ad4575f80fd5b50612add6121dd565b612ae68361268b565b8152612af46020840161268b565b6020820152612b068460408501612a76565b6040820152612b188460808501612a76565b6060820152612b2a8460c08501612a76565b6080820152612b3d846101008501612a76565b60a0820152612b50846101408501612a76565b60c0820152612b63846101808501612a76565b60e0820152612b76846101c08501612a76565b6101008201529392505050565b5f82601f830112612b92575f80fd5b8151612ba06122bd8261227a565b818152846020838601011115612bb4575f80fd5b8160208501602083015e5f918101602001919091529392505050565b805161269681612469565b5f60208284031215612beb575f80fd5b81516001600160401b03811115612c00575f80fd5b820160e08185031215612c11575f80fd5b612c19612206565b8151612c248161219a565b8152612c338560208401612a76565b602082015260608201516001600160401b03811115612c50575f80fd5b612c5c86828501612b83565b6040830152506080820151612c7081612469565b6060820152612c8160a08301612bd0565b6080820152612c9260c08301612bd0565b60a0820152949350505050565b5f60208284031215612caf575f80fd5b81516001600160401b03811115612cc4575f80fd5b820160e08185031215612cd5575f80fd5b612cdd612228565b612ce68261268b565b8152612cf46020830161268b565b6020820152612d0560408301612863565b6040820152612d166060830161283d565b6060820152612d2760808301612889565b6080820152612d3860a08301612889565b60a082015260c08201516001600160401b03811115612d55575f80fd5b612d6186828501612b83565b60c08301525094935050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207f4dbcdc129cb07230fa1294508defec1d59250171c9359c75cd4ccb85656ad664736f6c634300081a0033",
854
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613473806100d65f395ff3fe608060405234801561000f575f80fd5b506004361061013d575f3560e01c806362cbbd7b116100b4578063893d20e811610079578063893d20e8146103005780638fb36037146103085780639a83274114610329578063ada9652e1461033c578063b68d180914610350578063bf7e214f14610357575f80fd5b806362cbbd7b14610283578063644c45e0146102965780636c741e78146102b357806376b707b7146102d35780637a9e5e4b146102ed575f80fd5b806322f3e2d41161010557806322f3e2d414610208578063329d6e741461021057806349bb9e4b14610225578063536ef74b146102385780635ab1bd531461024b578063603ccaad14610270575f80fd5b806301ffc9a7146101415780630d8e6e2c146101825780630fec111c1461019e578063138461e0146101b35780631eff4b22146101d3575b5f80fd5b61016d61014f366004612708565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018a61035f565b60405162ffffff9091168152602001610179565b6101a66103e6565b604051610179919061275d565b6101bb6105a0565b6040516001600160601b039091168152602001610179565b6101fa7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b61016d6105aa565b61022361021e3660046128f0565b610621565b005b610223610233366004612935565b61076c565b6101bb610246366004612995565b610868565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610179565b61022361027e3660046129cc565b6108f2565b610223610291366004612a0e565b610a3e565b5f805160206133be833981519152546001600160601b03166101bb565b6102bb610aeb565b6040516001600160401b039091168152602001610179565b6102db610b77565b60405160ff9091168152602001610179565b6102236102fb366004612ab4565b610bdf565b610258610c6a565b610310610d9b565b6040516001600160e01b03199091168152602001610179565b6101bb610337366004612acf565b610dd0565b6101fa5f805160206133be83398151915281565b60146102db565b610258610f75565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612b88565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610492573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b69190612bba565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104fe610c6a565b6001600160a01b0316815260200182600101805461051b90612bd5565b80601f016020809104026020016040519081016040528092919081815260200182805461054790612bd5565b80156105925780601f1061056957610100808354040283529160200191610592565b820191905f5260205f20905b81548152906001019060200180831161057557829003601f168201915b505050505081525091505090565b5f6103e130610f90565b5f6105b3610f75565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156105f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061b9190612c1c565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61064361035f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610681573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a59190612c49565b5f8051602061341e8339815191528054600160401b900460ff16806106d7575080546001600160401b03808416911610155b156106f55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561071f836111e6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b5f8051602061341e8339815191528054600160401b810460ff1615906001600160401b03165f8115801561079d5750825b90505f826001600160401b031660011480156107b85750303b155b9050811580156107c6575080155b156107e45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561080e57845460ff60401b1916600160401b1785555b6108188787611207565b831561085f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610875335b5f366113a0565b61087d61149e565b6108888360156114d5565b6108938260166114d5565b604080516001600160601b038086168252841660208201527fbbd40d810c924e9a22b4b847870d25a4ebbae4a31e5762916631ed7defc6b3f4910160405180910390a16108ec60015f805160206133fe83398151915255565b92915050565b6108fb3361086e565b61090361149e565b61090e8160156114d5565b5f61091761161c565b915050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610956573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097a9190612c64565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b1580156109d1575f80fd5b505af11580156109e3573d5f803e3d5ffd5b50506040516001600160601b03851681527f03e49cfbfd763d559a995af3c8361f8da9a1fe304683749726c0568985bb05bb9250602001905060405180910390a150610a3b60015f805160206133fe83398151915255565b50565b610a473361086e565b610a4f61149e565b610a5a8760156114d5565b610a658560166114d5565b604080516001600160601b03898116825287811660208301526001600160c01b031989811683850152871660608301528516608082015264ffffffffff841660a082015290517f29239321b1f6363b75d31c990a53dcb7541a93985f471bae767dbdb66940cb329181900360c00190a161085f60015f805160206133fe83398151915255565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6014610b10610b77565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b53573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612c49565b5f610b80610f75565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bbb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612c98565b33610be8610f75565b6001600160a01b0316816001600160a01b031614610c285760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c5d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c1f565b610c66826116db565b5050565b5f805f805160206133be83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c1c565b15610d85576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190612c64565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206133de83398151915280545f9190600160a01b900460ff16610dc2575f610d7f565b638fb3603760e01b91505090565b5f610dda3361086e565b610de261149e565b610ded8460166114d5565b5f80610df761161c565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5c9190612c64565b9050610e6b81848d898b61173b565b610e75838d611c7a565b93505f610e88848d8d8d8d8d8d8d611dbd565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea9190612c64565b6001600160a01b0316639505838e86836040518363ffffffff1660e01b8152600401610f17929190612cbe565b5f604051808303815f87803b158015610f2e575f80fd5b505af1158015610f40573d5f803e3d5ffd5b50505050610f4f858e8361200d565b50505050610f6960015f805160206133fe83398151915255565b98975050505050505050565b5f805160206133de833981519152546001600160a01b031690565b5f805f805160206133be83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ffc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110209190612c1c565b1561104c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c1f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561109e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c29190612c1c565b6110ea5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c1f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561113c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111609190612bba565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906111ac610c6a565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6111ee6120cf565b60405163502ec37160e01b815260040160405180910390fd5b5f8051602061341e8339815191528054600160401b810460ff1615906001600160401b03165f811580156112385750825b90505f826001600160401b031660011480156112535750303b155b905081158015611261575080155b1561127f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112a957845460ff60401b1916600160401b1785555b5f80878060200190518101906112bf9190612e41565b915091506112ce82828b612107565b6112d8600e6121a9565b600280546001600160a01b0319166001600160a01b0392909216919091179055611302602a6121a9565b600380546001600160a01b0319166001600160a01b039290921691909117905561132c60026121a9565b600480546001600160a01b0319166001600160a01b039290921691909117905561135c6332c6a9f760e21b61223a565b5050831561085f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610856565b5f805160206133de8339815191525f806113d86113bb610f75565b87306113ca60045f8a8c612e6e565b6113d391612e95565b61226a565b91509150816114965763ffffffff81161561147357825460ff60a01b1916600160a01b178355611406610f75565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161143593929190612ecd565b5f604051808303815f87803b15801561144c575f80fd5b505af115801561145e573d5f803e3d5ffd5b5050845460ff60a01b19168555506114969050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c1f565b505050505050565b5f805160206133fe8339815191528054600119016114cf57604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611525573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115499190612c1c565b806115d757506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156115b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d59190612c1c565b155b15610c665760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c1f565b60015f805160206133fe83398151915255565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed361164c6001546001600160a01b031690565b33600c6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff166044820152600160648201526084015f60405180830381865af41580156116a8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116cf9190810190612f59565b90519590945092505050565b5f805160206133de83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f80866001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179d9190612c64565b60405163c1b5cfb760e01b81526001600160601b03881660048201526001600160c01b0319871660248201526001600160a01b03919091169063c1b5cfb7906044016040805180830381865afa1580156117f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181d919061303b565b915091508161185a576040516335f00fb960e21b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610c1f565b806118935760405163b84c2cc960e01b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610c1f565b60405163887b1fa960e01b81526001600160c01b0319861660048201525f906001600160a01b0389169063887b1fa9906024015f60405180830381865afa1580156118e0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119079190810190613063565b5190506119148782612372565b156119555760405163527fa6d760e11b81526001600160c01b0319871660048201526001600160601b03808316602483015288166044820152606401610c1f565b6040516302d764c760e21b81526001600160601b03881660048201525f906001600160a01b038a1690630b5d931c906024015f60405180830381865afa1580156119a1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119c8919081019061318e565b90505f8160a001519050896001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a329190612c64565b60405163bdb996ff60e01b81526001600160601b038084166004830152881660248201526001600160a01b03919091169063bdb996ff906044016040805180830381865afa158015611a86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aaa919061303b565b909550935084611ae0576040516339bffb5f60e21b81526001600160601b03808816600483015282166024820152604401610c1f565b83611b115760405163a44d71a560e01b81526001600160601b03808816600483015282166024820152604401610c1f565b5080604001518015611b9b5750604051637bc32ecf60e01b81526001600160c01b03198716600482015273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf90602401602060405180830381865af4158015611b75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b999190612c1c565b155b15611c6f5760025460c08201516040516309741ce160e21b81526001600160601b0390911660048201526001600160c01b0319881660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611c05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c299190612c1c565b611c6f5760c0810151604051632f8b776760e21b81526001600160601b03808b16600483015290911660248201526001600160c01b031987166044820152606401610c1f565b505050505050505050565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf29190612bba565b6001600160601b03168152602001856001600160601b03168152602001611d17601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed91611d759185910161275d565b6020604051808303815f875af1158015611d91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db59190612bba565b949350505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a08201929092526101c081018290526101e08101919091526040518061020001604052808a6001600160601b03168152602001856001600160601b03168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b03168152602001846001600160c01b03191681526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f02573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f269190612bba565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9f9190612bba565b6001600160601b031681526020015f64ffffffffff1681526020018664ffffffffff168152602001611fce5f90565b64ffffffffff1681526020015f64ffffffffff16815260200183815260200160405180602001604052805f815250815250905098975050505050505050565b7f9cdb9d197b5cb830e4662a25372882e065ab0ca1dd3756ec0a89e9b313b65f9783825f0151836020015184604001518560a00151878760600151886080015189610160015160405161075f999897969594939291906001600160601b03998a168152978916602089015295881660408801526001600160c01b031994851660608801529290931660808601526001600160a01b031660a085015290841660c084015290921660e082015264ffffffffff919091166101008201526101200190565b5f8051602061341e83398151915254600160401b900460ff1661210557604051631afcd79f60e31b815260040160405180910390fd5b565b61210f6120cf565b6121176123fd565b6121948383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612158573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061217c9190612bba565b60085f8660405180602001604052805f81525061240d565b6121a463daf9067160e01b61223a565b505050565b5f6121bc6001546001600160a01b031690565b6001600160a01b031663d39e6043836121d3610b77565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612216573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ec9190612c64565b6122426120cf565b610a3b816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122d89190613270565b5f60405180830381855afa9150503d805f8114612310576040519150601f19603f3d011682016040523d82523d5f602084013e612315565b606091505b50915091508115612367576040815110612347578080602001905181019061233d9190613286565b9094509250612367565b602081511061236757808060200190518101906123649190612c1c565b93505b505094509492505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af41580156123d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f69190612c1c565b9392505050565b6124056120cf565b612105612554565b6124156120cf565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561246b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248f9190612c1c565b6124b75760405163cf6935e560e01b81526001600160a01b0388166004820152602401610c1f565b6124c08761255c565b6124ca868361256d565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016125398382613303565b5061254a634a531f3360e01b61223a565b5050505050505050565b6116096120cf565b6125646120cf565b610a3b816125e3565b6125756120cf565b61257d6125f4565b6125868261263c565b6001600160a01b0381166125ad5760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206133be83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6125eb6120cf565b610a3b816116db565b6125fc6120cf565b6121056301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6126446120cf565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561269a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126be9190612c1c565b6126e65760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c1f565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215612718575f80fd5b81356001600160e01b0319811681146123f6575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516127a5608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611db561010084018261272f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561281f5761281f6127e9565b60405290565b60405161010081016001600160401b038111828210171561281f5761281f6127e9565b604051601f8201601f191681016001600160401b0381118282101715612870576128706127e9565b604052919050565b5f6001600160401b03821115612890576128906127e9565b50601f01601f191660200190565b5f82601f8301126128ad575f80fd5b81356128c06128bb82612878565b612848565b8181528460208386010111156128d4575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612900575f80fd5b81356001600160401b03811115612915575f80fd5b611db58482850161289e565b6001600160a01b0381168114610a3b575f80fd5b5f8060408385031215612946575f80fd5b823561295181612921565b915060208301356001600160401b0381111561296b575f80fd5b6129778582860161289e565b9150509250929050565b6001600160601b0381168114610a3b575f80fd5b5f80604083850312156129a6575f80fd5b82356129b181612981565b915060208301356129c181612981565b809150509250929050565b5f602082840312156129dc575f80fd5b81356123f681612981565b6001600160c01b031981168114610a3b575f80fd5b64ffffffffff81168114610a3b575f80fd5b5f805f805f805f60e0888a031215612a24575f80fd5b8735612a2f81612981565b96506020880135612a3f816129e7565b95506040880135612a4f81612981565b94506060880135612a5f816129e7565b93506080880135612a6f81612981565b925060a0880135612a7f816129fc565b915060c08801356001600160401b03811115612a99575f80fd5b612aa58a828b0161289e565b91505092959891949750929550565b5f60208284031215612ac4575f80fd5b81356123f681612921565b5f805f805f805f80610100898b031215612ae7575f80fd5b8835612af281612921565b97506020890135612b02816129e7565b96506040890135612b1281612981565b95506060890135612b2281612981565b94506080890135612b32816129fc565b935060a0890135612b4281612981565b925060c0890135612b52816129e7565b915060e08901356001600160401b03811115612b6c575f80fd5b612b788b828c0161289e565b9150509295985092959890939650565b5f60208284031215612b98575f80fd5b815162ffffff811681146123f6575f80fd5b8051612bb581612981565b919050565b5f60208284031215612bca575f80fd5b81516123f681612981565b600181811c90821680612be957607f821691505b602082108103612c0757634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114612bb5575f80fd5b5f60208284031215612c2c575f80fd5b6123f682612c0d565b6001600160401b0381168114610a3b575f80fd5b5f60208284031215612c59575f80fd5b81516123f681612c35565b5f60208284031215612c74575f80fd5b81516123f681612921565b60ff81168114610a3b575f80fd5b8051612bb581612c7f565b5f60208284031215612ca8575f80fd5b81516123f681612c7f565b8051612bb581612921565b6001600160601b038316815260406020820152612ce76040820183516001600160601b03169052565b5f6020830151612d0260608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160601b03811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160c01b0319811660e08401525060c083015161ffff81166101008401525060e083015161ffff8116610120840152506101008301516001600160601b038116610140840152506101208301516001600160601b0381166101608401525061014083015164ffffffffff81166101808401525061016083015164ffffffffff81166101a08401525061018083015164ffffffffff81166101c0840152506101a083015164ffffffffff81166101e0840152506101c083015161020080840152612e1861024084018261272f565b90506101e0840151603f1984830301610220850152612e37828261272f565b9695505050505050565b5f8060408385031215612e52575f80fd5b8251612e5d81612921565b60208401519092506129c181612921565b5f8085851115612e7c575f80fd5b83861115612e88575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612ec6576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612f1b575f80fd5b8151612f296128bb82612878565b818152846020838601011115612f3d575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f8060408385031215612f6a575f80fd5b82516001600160401b03811115612f7f575f80fd5b830160e08186031215612f90575f80fd5b612f986127fd565b612fa182612baa565b8152612faf60208301612baa565b6020820152612fc060408301612c8d565b6040820152612fd160608301612c0d565b6060820152612fe260808301612cb3565b6080820152612ff360a08301612cb3565b60a082015260c08201516001600160401b03811115613010575f80fd5b61301c87828501612f0c565b60c0830152509250613032905060208401612cb3565b90509250929050565b5f806040838503121561304c575f80fd5b61305583612c0d565b915061303260208401612c0d565b5f60208284031215613073575f80fd5b81516001600160401b03811115613088575f80fd5b820160608185031215613099575f80fd5b604051606081016001600160401b03811182821017156130bb576130bb6127e9565b60405281516130c981612981565b815260208201516130d9816129fc565b602082015260408201516001600160401b038111156130f6575f80fd5b61310286828501612f0c565b604083015250949350505050565b5f82601f83011261311f575f80fd5b81516001600160401b03811115613138576131386127e9565b8060051b61314860208201612848565b91825260208185018101929081019086841115613163575f80fd5b6020860192505b83831015612e3757825161317d81612981565b82526020928301929091019061316a565b5f6020828403121561319e575f80fd5b81516001600160401b038111156131b3575f80fd5b820161010081850312156131c5575f80fd5b6131cd612825565b6131d682612c0d565b81526131e460208301612c0d565b60208201526131f560408301612c0d565b604082015261320660608301612c8d565b606082015261321760808301612c8d565b608082015261322860a08301612baa565b60a082015261323960c08301612baa565b60c082015260e08201516001600160401b03811115613256575f80fd5b61326286828501613110565b60e083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613297575f80fd5b6132a083612c0d565b9150602083015163ffffffff811681146129c1575f80fd5b601f8211156121a457805f5260205f20601f840160051c810160208510156132dd5750805b601f840160051c820191505b818110156132fc575f81556001016132e9565b5050505050565b81516001600160401b0381111561331c5761331c6127e9565b6133308161332a8454612bd5565b846132b8565b6020601f821160018114613362575f831561334b5750848201515b5f19600385901b1c1916600184901b1784556132fc565b5f84815260208120601f198516915b828110156133915787850151825560209485019460019092019101613371565b50848210156133ae57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ed2cf5ae7324734bfe0817b08d4f442060632f34cb6dcedccb4c7f2ed990324d64736f6c634300081a0033",
855
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061013d575f3560e01c806362cbbd7b116100b4578063893d20e811610079578063893d20e8146103005780638fb36037146103085780639a83274114610329578063ada9652e1461033c578063b68d180914610350578063bf7e214f14610357575f80fd5b806362cbbd7b14610283578063644c45e0146102965780636c741e78146102b357806376b707b7146102d35780637a9e5e4b146102ed575f80fd5b806322f3e2d41161010557806322f3e2d414610208578063329d6e741461021057806349bb9e4b14610225578063536ef74b146102385780635ab1bd531461024b578063603ccaad14610270575f80fd5b806301ffc9a7146101415780630d8e6e2c146101825780630fec111c1461019e578063138461e0146101b35780631eff4b22146101d3575b5f80fd5b61016d61014f366004612708565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018a61035f565b60405162ffffff9091168152602001610179565b6101a66103e6565b604051610179919061275d565b6101bb6105a0565b6040516001600160601b039091168152602001610179565b6101fa7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b61016d6105aa565b61022361021e3660046128f0565b610621565b005b610223610233366004612935565b61076c565b6101bb610246366004612995565b610868565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610179565b61022361027e3660046129cc565b6108f2565b610223610291366004612a0e565b610a3e565b5f805160206133be833981519152546001600160601b03166101bb565b6102bb610aeb565b6040516001600160401b039091168152602001610179565b6102db610b77565b60405160ff9091168152602001610179565b6102236102fb366004612ab4565b610bdf565b610258610c6a565b610310610d9b565b6040516001600160e01b03199091168152602001610179565b6101bb610337366004612acf565b610dd0565b6101fa5f805160206133be83398151915281565b60146102db565b610258610f75565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612b88565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610492573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b69190612bba565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104fe610c6a565b6001600160a01b0316815260200182600101805461051b90612bd5565b80601f016020809104026020016040519081016040528092919081815260200182805461054790612bd5565b80156105925780601f1061056957610100808354040283529160200191610592565b820191905f5260205f20905b81548152906001019060200180831161057557829003601f168201915b505050505081525091505090565b5f6103e130610f90565b5f6105b3610f75565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156105f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061b9190612c1c565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61064361035f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610681573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a59190612c49565b5f8051602061341e8339815191528054600160401b900460ff16806106d7575080546001600160401b03808416911610155b156106f55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561071f836111e6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b5f8051602061341e8339815191528054600160401b810460ff1615906001600160401b03165f8115801561079d5750825b90505f826001600160401b031660011480156107b85750303b155b9050811580156107c6575080155b156107e45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561080e57845460ff60401b1916600160401b1785555b6108188787611207565b831561085f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610875335b5f366113a0565b61087d61149e565b6108888360156114d5565b6108938260166114d5565b604080516001600160601b038086168252841660208201527fbbd40d810c924e9a22b4b847870d25a4ebbae4a31e5762916631ed7defc6b3f4910160405180910390a16108ec60015f805160206133fe83398151915255565b92915050565b6108fb3361086e565b61090361149e565b61090e8160156114d5565b5f61091761161c565b915050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610956573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097a9190612c64565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b1580156109d1575f80fd5b505af11580156109e3573d5f803e3d5ffd5b50506040516001600160601b03851681527f03e49cfbfd763d559a995af3c8361f8da9a1fe304683749726c0568985bb05bb9250602001905060405180910390a150610a3b60015f805160206133fe83398151915255565b50565b610a473361086e565b610a4f61149e565b610a5a8760156114d5565b610a658560166114d5565b604080516001600160601b03898116825287811660208301526001600160c01b031989811683850152871660608301528516608082015264ffffffffff841660a082015290517f29239321b1f6363b75d31c990a53dcb7541a93985f471bae767dbdb66940cb329181900360c00190a161085f60015f805160206133fe83398151915255565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6014610b10610b77565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b53573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612c49565b5f610b80610f75565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bbb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612c98565b33610be8610f75565b6001600160a01b0316816001600160a01b031614610c285760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c5d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c1f565b610c66826116db565b5050565b5f805f805160206133be83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c1c565b15610d85576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190612c64565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206133de83398151915280545f9190600160a01b900460ff16610dc2575f610d7f565b638fb3603760e01b91505090565b5f610dda3361086e565b610de261149e565b610ded8460166114d5565b5f80610df761161c565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5c9190612c64565b9050610e6b81848d898b61173b565b610e75838d611c7a565b93505f610e88848d8d8d8d8d8d8d611dbd565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea9190612c64565b6001600160a01b0316639505838e86836040518363ffffffff1660e01b8152600401610f17929190612cbe565b5f604051808303815f87803b158015610f2e575f80fd5b505af1158015610f40573d5f803e3d5ffd5b50505050610f4f858e8361200d565b50505050610f6960015f805160206133fe83398151915255565b98975050505050505050565b5f805160206133de833981519152546001600160a01b031690565b5f805f805160206133be83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ffc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110209190612c1c565b1561104c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c1f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561109e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c29190612c1c565b6110ea5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c1f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561113c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111609190612bba565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906111ac610c6a565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6111ee6120cf565b60405163502ec37160e01b815260040160405180910390fd5b5f8051602061341e8339815191528054600160401b810460ff1615906001600160401b03165f811580156112385750825b90505f826001600160401b031660011480156112535750303b155b905081158015611261575080155b1561127f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112a957845460ff60401b1916600160401b1785555b5f80878060200190518101906112bf9190612e41565b915091506112ce82828b612107565b6112d8600e6121a9565b600280546001600160a01b0319166001600160a01b0392909216919091179055611302602a6121a9565b600380546001600160a01b0319166001600160a01b039290921691909117905561132c60026121a9565b600480546001600160a01b0319166001600160a01b039290921691909117905561135c6332c6a9f760e21b61223a565b5050831561085f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610856565b5f805160206133de8339815191525f806113d86113bb610f75565b87306113ca60045f8a8c612e6e565b6113d391612e95565b61226a565b91509150816114965763ffffffff81161561147357825460ff60a01b1916600160a01b178355611406610f75565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161143593929190612ecd565b5f604051808303815f87803b15801561144c575f80fd5b505af115801561145e573d5f803e3d5ffd5b5050845460ff60a01b19168555506114969050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c1f565b505050505050565b5f805160206133fe8339815191528054600119016114cf57604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611525573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115499190612c1c565b806115d757506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156115b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d59190612c1c565b155b15610c665760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c1f565b60015f805160206133fe83398151915255565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed361164c6001546001600160a01b031690565b33600c6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff166044820152600160648201526084015f60405180830381865af41580156116a8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116cf9190810190612f59565b90519590945092505050565b5f805160206133de83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f80866001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179d9190612c64565b60405163c1b5cfb760e01b81526001600160601b03881660048201526001600160c01b0319871660248201526001600160a01b03919091169063c1b5cfb7906044016040805180830381865afa1580156117f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181d919061303b565b915091508161185a576040516335f00fb960e21b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610c1f565b806118935760405163b84c2cc960e01b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610c1f565b60405163887b1fa960e01b81526001600160c01b0319861660048201525f906001600160a01b0389169063887b1fa9906024015f60405180830381865afa1580156118e0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119079190810190613063565b5190506119148782612372565b156119555760405163527fa6d760e11b81526001600160c01b0319871660048201526001600160601b03808316602483015288166044820152606401610c1f565b6040516302d764c760e21b81526001600160601b03881660048201525f906001600160a01b038a1690630b5d931c906024015f60405180830381865afa1580156119a1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119c8919081019061318e565b90505f8160a001519050896001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a329190612c64565b60405163bdb996ff60e01b81526001600160601b038084166004830152881660248201526001600160a01b03919091169063bdb996ff906044016040805180830381865afa158015611a86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aaa919061303b565b909550935084611ae0576040516339bffb5f60e21b81526001600160601b03808816600483015282166024820152604401610c1f565b83611b115760405163a44d71a560e01b81526001600160601b03808816600483015282166024820152604401610c1f565b5080604001518015611b9b5750604051637bc32ecf60e01b81526001600160c01b03198716600482015273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf90602401602060405180830381865af4158015611b75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b999190612c1c565b155b15611c6f5760025460c08201516040516309741ce160e21b81526001600160601b0390911660048201526001600160c01b0319881660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611c05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c299190612c1c565b611c6f5760c0810151604051632f8b776760e21b81526001600160601b03808b16600483015290911660248201526001600160c01b031987166044820152606401610c1f565b505050505050505050565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf29190612bba565b6001600160601b03168152602001856001600160601b03168152602001611d17601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed91611d759185910161275d565b6020604051808303815f875af1158015611d91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db59190612bba565b949350505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a08201929092526101c081018290526101e08101919091526040518061020001604052808a6001600160601b03168152602001856001600160601b03168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b03168152602001846001600160c01b03191681526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f02573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f269190612bba565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9f9190612bba565b6001600160601b031681526020015f64ffffffffff1681526020018664ffffffffff168152602001611fce5f90565b64ffffffffff1681526020015f64ffffffffff16815260200183815260200160405180602001604052805f815250815250905098975050505050505050565b7f9cdb9d197b5cb830e4662a25372882e065ab0ca1dd3756ec0a89e9b313b65f9783825f0151836020015184604001518560a00151878760600151886080015189610160015160405161075f999897969594939291906001600160601b03998a168152978916602089015295881660408801526001600160c01b031994851660608801529290931660808601526001600160a01b031660a085015290841660c084015290921660e082015264ffffffffff919091166101008201526101200190565b5f8051602061341e83398151915254600160401b900460ff1661210557604051631afcd79f60e31b815260040160405180910390fd5b565b61210f6120cf565b6121176123fd565b6121948383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612158573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061217c9190612bba565b60085f8660405180602001604052805f81525061240d565b6121a463daf9067160e01b61223a565b505050565b5f6121bc6001546001600160a01b031690565b6001600160a01b031663d39e6043836121d3610b77565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612216573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ec9190612c64565b6122426120cf565b610a3b816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122d89190613270565b5f60405180830381855afa9150503d805f8114612310576040519150601f19603f3d011682016040523d82523d5f602084013e612315565b606091505b50915091508115612367576040815110612347578080602001905181019061233d9190613286565b9094509250612367565b602081511061236757808060200190518101906123649190612c1c565b93505b505094509492505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af41580156123d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f69190612c1c565b9392505050565b6124056120cf565b612105612554565b6124156120cf565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561246b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248f9190612c1c565b6124b75760405163cf6935e560e01b81526001600160a01b0388166004820152602401610c1f565b6124c08761255c565b6124ca868361256d565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016125398382613303565b5061254a634a531f3360e01b61223a565b5050505050505050565b6116096120cf565b6125646120cf565b610a3b816125e3565b6125756120cf565b61257d6125f4565b6125868261263c565b6001600160a01b0381166125ad5760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206133be83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6125eb6120cf565b610a3b816116db565b6125fc6120cf565b6121056301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6126446120cf565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561269a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126be9190612c1c565b6126e65760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c1f565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215612718575f80fd5b81356001600160e01b0319811681146123f6575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516127a5608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611db561010084018261272f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561281f5761281f6127e9565b60405290565b60405161010081016001600160401b038111828210171561281f5761281f6127e9565b604051601f8201601f191681016001600160401b0381118282101715612870576128706127e9565b604052919050565b5f6001600160401b03821115612890576128906127e9565b50601f01601f191660200190565b5f82601f8301126128ad575f80fd5b81356128c06128bb82612878565b612848565b8181528460208386010111156128d4575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612900575f80fd5b81356001600160401b03811115612915575f80fd5b611db58482850161289e565b6001600160a01b0381168114610a3b575f80fd5b5f8060408385031215612946575f80fd5b823561295181612921565b915060208301356001600160401b0381111561296b575f80fd5b6129778582860161289e565b9150509250929050565b6001600160601b0381168114610a3b575f80fd5b5f80604083850312156129a6575f80fd5b82356129b181612981565b915060208301356129c181612981565b809150509250929050565b5f602082840312156129dc575f80fd5b81356123f681612981565b6001600160c01b031981168114610a3b575f80fd5b64ffffffffff81168114610a3b575f80fd5b5f805f805f805f60e0888a031215612a24575f80fd5b8735612a2f81612981565b96506020880135612a3f816129e7565b95506040880135612a4f81612981565b94506060880135612a5f816129e7565b93506080880135612a6f81612981565b925060a0880135612a7f816129fc565b915060c08801356001600160401b03811115612a99575f80fd5b612aa58a828b0161289e565b91505092959891949750929550565b5f60208284031215612ac4575f80fd5b81356123f681612921565b5f805f805f805f80610100898b031215612ae7575f80fd5b8835612af281612921565b97506020890135612b02816129e7565b96506040890135612b1281612981565b95506060890135612b2281612981565b94506080890135612b32816129fc565b935060a0890135612b4281612981565b925060c0890135612b52816129e7565b915060e08901356001600160401b03811115612b6c575f80fd5b612b788b828c0161289e565b9150509295985092959890939650565b5f60208284031215612b98575f80fd5b815162ffffff811681146123f6575f80fd5b8051612bb581612981565b919050565b5f60208284031215612bca575f80fd5b81516123f681612981565b600181811c90821680612be957607f821691505b602082108103612c0757634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114612bb5575f80fd5b5f60208284031215612c2c575f80fd5b6123f682612c0d565b6001600160401b0381168114610a3b575f80fd5b5f60208284031215612c59575f80fd5b81516123f681612c35565b5f60208284031215612c74575f80fd5b81516123f681612921565b60ff81168114610a3b575f80fd5b8051612bb581612c7f565b5f60208284031215612ca8575f80fd5b81516123f681612c7f565b8051612bb581612921565b6001600160601b038316815260406020820152612ce76040820183516001600160601b03169052565b5f6020830151612d0260608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160601b03811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160c01b0319811660e08401525060c083015161ffff81166101008401525060e083015161ffff8116610120840152506101008301516001600160601b038116610140840152506101208301516001600160601b0381166101608401525061014083015164ffffffffff81166101808401525061016083015164ffffffffff81166101a08401525061018083015164ffffffffff81166101c0840152506101a083015164ffffffffff81166101e0840152506101c083015161020080840152612e1861024084018261272f565b90506101e0840151603f1984830301610220850152612e37828261272f565b9695505050505050565b5f8060408385031215612e52575f80fd5b8251612e5d81612921565b60208401519092506129c181612921565b5f8085851115612e7c575f80fd5b83861115612e88575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612ec6576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612f1b575f80fd5b8151612f296128bb82612878565b818152846020838601011115612f3d575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f8060408385031215612f6a575f80fd5b82516001600160401b03811115612f7f575f80fd5b830160e08186031215612f90575f80fd5b612f986127fd565b612fa182612baa565b8152612faf60208301612baa565b6020820152612fc060408301612c8d565b6040820152612fd160608301612c0d565b6060820152612fe260808301612cb3565b6080820152612ff360a08301612cb3565b60a082015260c08201516001600160401b03811115613010575f80fd5b61301c87828501612f0c565b60c0830152509250613032905060208401612cb3565b90509250929050565b5f806040838503121561304c575f80fd5b61305583612c0d565b915061303260208401612c0d565b5f60208284031215613073575f80fd5b81516001600160401b03811115613088575f80fd5b820160608185031215613099575f80fd5b604051606081016001600160401b03811182821017156130bb576130bb6127e9565b60405281516130c981612981565b815260208201516130d9816129fc565b602082015260408201516001600160401b038111156130f6575f80fd5b61310286828501612f0c565b604083015250949350505050565b5f82601f83011261311f575f80fd5b81516001600160401b03811115613138576131386127e9565b8060051b61314860208201612848565b91825260208185018101929081019086841115613163575f80fd5b6020860192505b83831015612e3757825161317d81612981565b82526020928301929091019061316a565b5f6020828403121561319e575f80fd5b81516001600160401b038111156131b3575f80fd5b820161010081850312156131c5575f80fd5b6131cd612825565b6131d682612c0d565b81526131e460208301612c0d565b60208201526131f560408301612c0d565b604082015261320660608301612c8d565b606082015261321760808301612c8d565b608082015261322860a08301612baa565b60a082015261323960c08301612baa565b60c082015260e08201516001600160401b03811115613256575f80fd5b61326286828501613110565b60e083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613297575f80fd5b6132a083612c0d565b9150602083015163ffffffff811681146129c1575f80fd5b601f8211156121a457805f5260205f20601f840160051c810160208510156132dd5750805b601f840160051c820191505b818110156132fc575f81556001016132e9565b5050505050565b81516001600160401b0381111561331c5761331c6127e9565b6133308161332a8454612bd5565b846132b8565b6020601f821160018114613362575f831561334b5750848201515b5f19600385901b1c1916600184901b1784556132fc565b5f84815260208120601f198516915b828110156133915787850151825560209485019460019092019101613371565b50848210156133ae57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ed2cf5ae7324734bfe0817b08d4f442060632f34cb6dcedccb4c7f2ed990324d64736f6c634300081a0033",
708
856
  "linkReferences": {
709
- "contracts/type/Amount.sol": {
710
- "AmountLib": [
857
+ "contracts/shared/ContractLib.sol": {
858
+ "ContractLib": [
711
859
  {
712
860
  "length": 20,
713
- "start": 7090
861
+ "start": 5880
714
862
  },
715
863
  {
716
864
  "length": 20,
717
- "start": 7270
865
+ "start": 9481
718
866
  },
719
867
  {
720
868
  "length": 20,
721
- "start": 7391
869
+ "start": 10040
870
+ }
871
+ ]
872
+ },
873
+ "contracts/type/Amount.sol": {
874
+ "AmountLib": [
875
+ {
876
+ "length": 20,
877
+ "start": 8083
878
+ },
879
+ {
880
+ "length": 20,
881
+ "start": 8204
722
882
  }
723
883
  ]
724
884
  },
@@ -726,23 +886,39 @@
726
886
  "NftIdLib": [
727
887
  {
728
888
  "length": 20,
729
- "start": 1447
889
+ "start": 1315
730
890
  },
731
891
  {
732
892
  "length": 20,
733
- "start": 3603
893
+ "start": 3444
734
894
  },
735
895
  {
736
896
  "length": 20,
737
- "start": 4759
897
+ "start": 4250
738
898
  },
739
899
  {
740
900
  "length": 20,
741
- "start": 6541
901
+ "start": 7519
742
902
  },
743
903
  {
744
904
  "length": 20,
745
- "start": 8267
905
+ "start": 9328
906
+ }
907
+ ]
908
+ },
909
+ "contracts/type/ObjectType.sol": {
910
+ "ObjectTypeLib": [
911
+ {
912
+ "length": 20,
913
+ "start": 5571
914
+ }
915
+ ]
916
+ },
917
+ "contracts/type/Referral.sol": {
918
+ "ReferralLib": [
919
+ {
920
+ "length": 20,
921
+ "start": 7187
746
922
  }
747
923
  ]
748
924
  },
@@ -750,7 +926,7 @@
750
926
  "RoleIdLib": [
751
927
  {
752
928
  "length": 20,
753
- "start": 3156
929
+ "start": 3012
754
930
  }
755
931
  ]
756
932
  },
@@ -758,39 +934,41 @@
758
934
  "VersionLib": [
759
935
  {
760
936
  "length": 20,
761
- "start": 1293
937
+ "start": 1115
762
938
  },
763
939
  {
764
940
  "length": 20,
765
- "start": 2007
941
+ "start": 1785
766
942
  }
767
- ],
768
- "VersionPartLib": [
943
+ ]
944
+ }
945
+ },
946
+ "deployedLinkReferences": {
947
+ "contracts/shared/ContractLib.sol": {
948
+ "ContractLib": [
769
949
  {
770
950
  "length": 20,
771
- "start": 3204
951
+ "start": 5666
772
952
  },
773
953
  {
774
954
  "length": 20,
775
- "start": 6017
955
+ "start": 9267
956
+ },
957
+ {
958
+ "length": 20,
959
+ "start": 9826
776
960
  }
777
961
  ]
778
- }
779
- },
780
- "deployedLinkReferences": {
962
+ },
781
963
  "contracts/type/Amount.sol": {
782
964
  "AmountLib": [
783
965
  {
784
966
  "length": 20,
785
- "start": 6876
967
+ "start": 7869
786
968
  },
787
969
  {
788
970
  "length": 20,
789
- "start": 7056
790
- },
791
- {
792
- "length": 20,
793
- "start": 7177
971
+ "start": 7990
794
972
  }
795
973
  ]
796
974
  },
@@ -798,53 +976,59 @@
798
976
  "NftIdLib": [
799
977
  {
800
978
  "length": 20,
801
- "start": 1233
979
+ "start": 1101
802
980
  },
803
981
  {
804
982
  "length": 20,
805
- "start": 3389
983
+ "start": 3230
806
984
  },
807
985
  {
808
986
  "length": 20,
809
- "start": 4545
987
+ "start": 4036
810
988
  },
811
989
  {
812
990
  "length": 20,
813
- "start": 6327
991
+ "start": 7305
814
992
  },
815
993
  {
816
994
  "length": 20,
817
- "start": 8053
995
+ "start": 9114
818
996
  }
819
997
  ]
820
998
  },
821
- "contracts/type/RoleId.sol": {
822
- "RoleIdLib": [
999
+ "contracts/type/ObjectType.sol": {
1000
+ "ObjectTypeLib": [
823
1001
  {
824
1002
  "length": 20,
825
- "start": 2942
1003
+ "start": 5357
826
1004
  }
827
1005
  ]
828
1006
  },
829
- "contracts/type/Version.sol": {
830
- "VersionLib": [
1007
+ "contracts/type/Referral.sol": {
1008
+ "ReferralLib": [
831
1009
  {
832
1010
  "length": 20,
833
- "start": 1079
834
- },
1011
+ "start": 6973
1012
+ }
1013
+ ]
1014
+ },
1015
+ "contracts/type/RoleId.sol": {
1016
+ "RoleIdLib": [
835
1017
  {
836
1018
  "length": 20,
837
- "start": 1793
1019
+ "start": 2798
838
1020
  }
839
- ],
840
- "VersionPartLib": [
1021
+ ]
1022
+ },
1023
+ "contracts/type/Version.sol": {
1024
+ "VersionLib": [
841
1025
  {
842
1026
  "length": 20,
843
- "start": 2990
1027
+ "start": 901
844
1028
  },
845
1029
  {
846
1030
  "length": 20,
847
- "start": 5803
1031
+ "start": 1571
848
1032
  }
849
1033
  ]
850
1034
  }