@etherisc/gif-next 0.0.2-f13c010-035 → 0.0.2-f13d67f-541

Sign up to get free protection for your applications and to get access to all the features.
Files changed (560) hide show
  1. package/README.md +90 -317
  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 +810 -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 +729 -287
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -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 +438 -35
  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 +560 -220
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +191 -21
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +132 -300
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +427 -53
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +64 -173
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +585 -231
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +190 -78
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +44 -135
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +401 -78
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +160 -224
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +426 -52
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +308 -337
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +426 -52
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  50. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +408 -0
  51. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  52. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1198 -0
  53. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +849 -0
  55. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  56. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
  57. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  58. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +844 -0
  59. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  60. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2185 -0
  61. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +844 -0
  63. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  64. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +376 -0
  65. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  66. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  68. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +215 -257
  69. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  72. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +95 -165
  73. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +278 -233
  75. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  76. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  77. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  78. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +946 -466
  79. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  81. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  82. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
  83. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  85. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  86. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  87. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  88. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +551 -50
  89. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +417 -17
  91. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  92. package/artifacts/contracts/instance/Instance.sol/Instance.json +615 -105
  93. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  94. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1121 -374
  95. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +379 -68
  97. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1127 -557
  99. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +434 -81
  101. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +119 -49
  103. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1286 -1925
  105. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  106. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  107. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  108. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  109. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  110. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  111. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  112. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  113. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  114. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  115. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  116. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  117. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  118. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  119. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  120. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  121. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  122. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  123. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  124. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  125. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  126. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  127. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +83 -175
  128. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  129. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +425 -54
  130. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  131. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  132. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +48 -74
  133. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  134. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +56 -3
  135. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  136. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +67 -111
  137. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  138. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +157 -81
  139. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +154 -46
  141. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  142. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +106 -173
  143. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  144. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +426 -52
  145. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  146. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +317 -344
  147. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +144 -92
  149. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  150. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +219 -146
  151. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  152. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +63 -128
  153. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  154. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +380 -214
  155. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  156. package/artifacts/contracts/pool/Pool.sol/Pool.json +76 -159
  157. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  158. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  159. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  160. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +621 -413
  161. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +186 -66
  163. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +327 -62
  165. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +143 -43
  167. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  168. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +199 -223
  169. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  170. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +426 -52
  171. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  172. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +294 -189
  173. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +151 -83
  175. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  176. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +268 -10
  177. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  178. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +181 -19
  179. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  180. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +167 -56
  181. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +77 -3
  183. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  184. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +175 -181
  185. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  186. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +258 -22
  187. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  188. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +296 -194
  189. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  190. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  191. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  192. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +169 -77
  193. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  194. package/artifacts/contracts/product/PricingService.sol/PricingService.json +139 -114
  195. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +131 -59
  197. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  198. package/artifacts/contracts/product/Product.sol/Product.json +193 -217
  199. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  200. package/artifacts/contracts/product/RiskService.sol/RiskService.json +338 -87
  201. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +141 -41
  203. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  205. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +78 -19
  207. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +56 -3
  209. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  210. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  211. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  212. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/Registry.sol/Registry.json +116 -57
  214. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  215. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +848 -479
  216. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  217. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  218. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  219. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +89 -37
  220. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  221. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +119 -39
  222. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  223. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  224. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  225. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  226. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  227. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +398 -64
  228. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  229. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -26
  230. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  231. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  232. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Component.sol/Component.json +66 -96
  234. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +308 -542
  236. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  237. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +155 -83
  238. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +544 -4
  240. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  241. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  242. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  243. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  244. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  245. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  246. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +48 -60
  248. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +171 -356
  250. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +48 -74
  252. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  253. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  254. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  255. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  256. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +139 -1
  258. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  259. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  260. package/artifacts/contracts/shared/IService.sol/IService.json +56 -3
  261. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  262. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  263. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  264. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +66 -110
  265. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  266. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  267. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  268. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  270. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  271. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  272. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -62
  274. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  275. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  276. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  277. package/artifacts/contracts/shared/Service.sol/Service.json +51 -11
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +289 -112
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +70 -30
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1446 -164
  286. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +214 -110
  288. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  289. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  290. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  291. package/artifacts/contracts/staking/Staking.sol/Staking.json +1583 -296
  292. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  294. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  295. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +160 -69
  296. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  297. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
  298. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  299. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +257 -162
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +122 -46
  302. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  303. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1632 -818
  304. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  306. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  307. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  308. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  313. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  315. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  317. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  319. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  321. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  323. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  324. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  325. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  327. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  328. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  329. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +49 -50
  331. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  333. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  335. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  337. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +4 -0
  338. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.json +33 -0
  339. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +69 -7
  341. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  343. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +64 -2
  345. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  347. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  349. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
  352. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  353. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  354. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  355. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
  356. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  357. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  358. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  359. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  360. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  361. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  362. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  363. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +95 -25
  364. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  365. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  366. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  367. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  368. package/contracts/accounting/AccountingService.sol +274 -0
  369. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  370. package/contracts/accounting/IAccountingService.sol +47 -0
  371. package/contracts/authorization/AccessAdmin.sol +389 -306
  372. package/contracts/authorization/AccessAdminLib.sol +678 -0
  373. package/contracts/authorization/AccessManagerCloneable.sol +128 -4
  374. package/contracts/authorization/Authorization.sol +161 -260
  375. package/contracts/authorization/IAccess.sol +29 -12
  376. package/contracts/authorization/IAccessAdmin.sol +89 -84
  377. package/contracts/authorization/IAuthorization.sol +9 -43
  378. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  379. package/contracts/authorization/ServiceAuthorization.sol +228 -34
  380. package/contracts/distribution/BasicDistribution.sol +19 -18
  381. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  382. package/contracts/distribution/Distribution.sol +45 -85
  383. package/contracts/distribution/DistributionService.sol +192 -99
  384. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  385. package/contracts/distribution/IDistributionComponent.sol +3 -10
  386. package/contracts/distribution/IDistributionService.sol +38 -24
  387. package/contracts/examples/fire/FirePool.sol +21 -8
  388. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  389. package/contracts/examples/fire/FireProduct.sol +38 -20
  390. package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
  391. package/contracts/examples/flight/FlightLib.sol +279 -0
  392. package/contracts/examples/flight/FlightOracle.sol +168 -0
  393. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  394. package/contracts/examples/flight/FlightPool.sol +89 -0
  395. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  396. package/contracts/examples/flight/FlightProduct.sol +470 -0
  397. package/contracts/examples/flight/FlightProductAuthorization.sol +44 -0
  398. package/contracts/examples/flight/FlightUSD.sol +26 -0
  399. package/contracts/examples/flight/originalV1.sol +396 -0
  400. package/contracts/examples/unpermissioned/SimpleDistribution.sol +39 -8
  401. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  402. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  403. package/contracts/examples/unpermissioned/SimplePool.sol +32 -6
  404. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  405. package/contracts/examples/unpermissioned/SimpleProduct.sol +132 -46
  406. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  407. package/contracts/instance/BaseStore.sol +93 -0
  408. package/contracts/instance/BundleSet.sol +42 -38
  409. package/contracts/instance/IBaseStore.sol +37 -0
  410. package/contracts/instance/IInstance.sol +109 -19
  411. package/contracts/instance/IInstanceService.sol +61 -14
  412. package/contracts/instance/Instance.sol +184 -65
  413. package/contracts/instance/InstanceAdmin.sol +221 -193
  414. package/contracts/instance/InstanceAuthorizationV3.sol +153 -72
  415. package/contracts/instance/InstanceReader.sol +447 -314
  416. package/contracts/instance/InstanceService.sol +315 -214
  417. package/contracts/instance/InstanceServiceManager.sol +1 -1
  418. package/contracts/instance/InstanceStore.sol +152 -116
  419. package/contracts/instance/ProductStore.sol +290 -0
  420. package/contracts/instance/RiskSet.sol +126 -0
  421. package/contracts/instance/TargetNames.sol +10 -0
  422. package/contracts/instance/base/BalanceStore.sol +4 -6
  423. package/contracts/instance/base/ObjectCounter.sol +1 -2
  424. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  425. package/contracts/instance/base/ObjectSet.sol +31 -33
  426. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  427. package/contracts/instance/module/IBundle.sol +6 -5
  428. package/contracts/instance/module/IComponents.sol +19 -10
  429. package/contracts/instance/module/IDistribution.sol +21 -8
  430. package/contracts/instance/module/IPolicy.sol +28 -7
  431. package/contracts/instance/module/IRisk.sol +5 -0
  432. package/contracts/oracle/BasicOracle.sol +3 -6
  433. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  434. package/contracts/oracle/IOracle.sol +9 -4
  435. package/contracts/oracle/IOracleService.sol +12 -12
  436. package/contracts/oracle/Oracle.sol +5 -9
  437. package/contracts/oracle/OracleService.sol +98 -79
  438. package/contracts/oracle/OracleServiceManager.sol +1 -1
  439. package/contracts/pool/BasicPool.sol +26 -19
  440. package/contracts/pool/BasicPoolAuthorization.sol +34 -10
  441. package/contracts/pool/BundleService.sol +75 -182
  442. package/contracts/pool/BundleServiceManager.sol +1 -1
  443. package/contracts/pool/IBundleService.sol +28 -55
  444. package/contracts/pool/IPoolComponent.sol +1 -7
  445. package/contracts/pool/IPoolService.sol +65 -62
  446. package/contracts/pool/Pool.sol +111 -115
  447. package/contracts/pool/PoolLib.sol +341 -0
  448. package/contracts/pool/PoolService.sol +299 -229
  449. package/contracts/pool/PoolServiceManager.sol +1 -1
  450. package/contracts/product/ApplicationService.sol +93 -25
  451. package/contracts/product/ApplicationServiceManager.sol +1 -1
  452. package/contracts/product/BasicProduct.sol +10 -15
  453. package/contracts/product/BasicProductAuthorization.sol +33 -11
  454. package/contracts/product/ClaimService.sol +221 -207
  455. package/contracts/product/ClaimServiceManager.sol +1 -1
  456. package/contracts/product/IApplicationService.sol +28 -3
  457. package/contracts/product/IClaimService.sol +18 -5
  458. package/contracts/product/IPolicyService.sol +34 -12
  459. package/contracts/product/IPricingService.sol +1 -0
  460. package/contracts/product/IProductComponent.sol +4 -1
  461. package/contracts/product/IRiskService.sol +25 -10
  462. package/contracts/product/PolicyService.sol +260 -306
  463. package/contracts/product/PolicyServiceLib.sol +139 -0
  464. package/contracts/product/PolicyServiceManager.sol +1 -1
  465. package/contracts/product/PricingService.sol +52 -46
  466. package/contracts/product/PricingServiceManager.sol +3 -3
  467. package/contracts/product/Product.sol +106 -70
  468. package/contracts/product/RiskService.sol +130 -37
  469. package/contracts/product/RiskServiceManager.sol +1 -1
  470. package/contracts/registry/ChainNft.sol +4 -2
  471. package/contracts/registry/IRegistry.sol +25 -24
  472. package/contracts/registry/IRelease.sol +29 -0
  473. package/contracts/registry/Registry.sol +31 -12
  474. package/contracts/registry/RegistryAdmin.sol +94 -369
  475. package/contracts/registry/RegistryAuthorization.sol +337 -0
  476. package/contracts/registry/RegistryService.sol +4 -4
  477. package/contracts/registry/RegistryServiceManager.sol +1 -1
  478. package/contracts/registry/ReleaseAdmin.sol +199 -0
  479. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  480. package/contracts/registry/ReleaseRegistry.sol +158 -134
  481. package/contracts/registry/ServiceAuthorizationV3.sol +200 -52
  482. package/contracts/registry/TokenRegistry.sol +61 -59
  483. package/contracts/shared/Component.sol +58 -119
  484. package/contracts/shared/ComponentService.sol +400 -395
  485. package/contracts/shared/ComponentServiceManager.sol +1 -1
  486. package/contracts/shared/ContractLib.sol +277 -3
  487. package/contracts/shared/IComponent.sol +2 -18
  488. package/contracts/shared/IComponentService.sol +28 -38
  489. package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
  490. package/contracts/shared/INftOwnable.sol +2 -0
  491. package/contracts/shared/IRegisterable.sol +15 -5
  492. package/contracts/shared/IService.sol +3 -5
  493. package/contracts/shared/InitializableERC165.sol +9 -1
  494. package/contracts/shared/InstanceLinkedComponent.sol +63 -44
  495. package/contracts/shared/NftOwnable.sol +8 -6
  496. package/contracts/shared/PolicyHolder.sol +4 -3
  497. package/contracts/shared/Registerable.sol +41 -20
  498. package/contracts/shared/RegistryLinked.sol +7 -13
  499. package/contracts/shared/Service.sol +13 -30
  500. package/contracts/shared/TokenHandler.sol +264 -105
  501. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  502. package/contracts/staking/IStaking.sol +270 -72
  503. package/contracts/staking/IStakingService.sol +45 -75
  504. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  505. package/contracts/staking/Staking.sol +522 -222
  506. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  507. package/contracts/staking/StakingManager.sol +4 -3
  508. package/contracts/staking/StakingReader.sol +58 -77
  509. package/contracts/staking/StakingService.sol +62 -148
  510. package/contracts/staking/StakingServiceManager.sol +6 -4
  511. package/contracts/staking/StakingStore.sol +1093 -330
  512. package/contracts/staking/TargetHandler.sol +132 -0
  513. package/contracts/staking/TargetManagerLib.sol +69 -46
  514. package/contracts/type/Amount.sol +4 -0
  515. package/contracts/type/Blocknumber.sol +17 -22
  516. package/contracts/type/ChainId.sol +101 -0
  517. package/contracts/type/Fee.sol +8 -8
  518. package/contracts/type/Key32.sol +2 -2
  519. package/contracts/type/Key32Set.sol +62 -0
  520. package/contracts/type/NftId.sol +6 -0
  521. package/contracts/type/ObjectType.sol +70 -68
  522. package/contracts/type/Referral.sol +6 -0
  523. package/contracts/type/RequestIdSet.sol +62 -0
  524. package/contracts/type/RiskId.sol +26 -8
  525. package/contracts/type/RoleId.sol +63 -45
  526. package/contracts/type/Seconds.sol +23 -0
  527. package/contracts/type/Selector.sol +5 -0
  528. package/contracts/type/String.sol +42 -0
  529. package/contracts/type/Timestamp.sol +14 -8
  530. package/contracts/type/UFixed.sol +35 -127
  531. package/contracts/type/Version.sol +54 -5
  532. package/contracts/upgradeability/IVersionable.sol +3 -0
  533. package/contracts/upgradeability/ProxyManager.sol +27 -13
  534. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  535. package/contracts/upgradeability/Versionable.sol +6 -3
  536. package/package.json +4 -4
  537. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  538. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  539. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  540. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  541. package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.dbg.json +0 -4
  542. package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.json +0 -206
  543. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  544. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -474
  545. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  546. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  547. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
  548. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  549. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  550. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  551. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  552. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  553. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  554. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  555. package/contracts/instance/module/IAccess.sol +0 -46
  556. package/contracts/shared/ComponentServiceHelperLib.sol +0 -118
  557. package/contracts/shared/ComponentVerifyingService.sol +0 -126
  558. package/contracts/shared/IKeyValueStore.sol +0 -54
  559. package/contracts/shared/KeyValueStore.sol +0 -131
  560. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [],
46
57
  "name": "ErrorComponentNameLengthZero",
@@ -67,16 +78,6 @@
67
78
  "name": "ErrorComponentProductNftIdZero",
68
79
  "type": "error"
69
80
  },
70
- {
71
- "inputs": [],
72
- "name": "ErrorComponentTokenAddressNonzero",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [],
77
- "name": "ErrorComponentTokenAddressZero",
78
- "type": "error"
79
- },
80
81
  {
81
82
  "inputs": [],
82
83
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
@@ -92,33 +93,6 @@
92
93
  "name": "ErrorComponentWalletNotComponent",
93
94
  "type": "error"
94
95
  },
95
- {
96
- "inputs": [
97
- {
98
- "internalType": "address",
99
- "name": "distributor",
100
- "type": "address"
101
- },
102
- {
103
- "internalType": "NftId",
104
- "name": "distributorNftId",
105
- "type": "uint96"
106
- }
107
- ],
108
- "name": "ErrorDistributionAlreadyDistributor",
109
- "type": "error"
110
- },
111
- {
112
- "inputs": [
113
- {
114
- "internalType": "address",
115
- "name": "distributor",
116
- "type": "address"
117
- }
118
- ],
119
- "name": "ErrorDistributionNotDistributor",
120
- "type": "error"
121
- },
122
96
  {
123
97
  "inputs": [
124
98
  {
@@ -216,6 +190,11 @@
216
190
  "name": "ErrorNotRegistry",
217
191
  "type": "error"
218
192
  },
193
+ {
194
+ "inputs": [],
195
+ "name": "ErrorRegisterableNotActive",
196
+ "type": "error"
197
+ },
219
198
  {
220
199
  "inputs": [],
221
200
  "name": "InvalidInitialization",
@@ -255,6 +234,12 @@
255
234
  {
256
235
  "anonymous": false,
257
236
  "inputs": [
237
+ {
238
+ "indexed": false,
239
+ "internalType": "address",
240
+ "name": "tokenHandler",
241
+ "type": "address"
242
+ },
258
243
  {
259
244
  "indexed": false,
260
245
  "internalType": "address",
@@ -341,21 +326,27 @@
341
326
  "type": "event"
342
327
  },
343
328
  {
344
- "inputs": [],
345
- "name": "COMPONENT_LOCATION_V1",
346
- "outputs": [
329
+ "anonymous": false,
330
+ "inputs": [
347
331
  {
348
- "internalType": "bytes32",
349
- "name": "",
350
- "type": "bytes32"
332
+ "indexed": false,
333
+ "internalType": "NftId",
334
+ "name": "nftId",
335
+ "type": "uint96"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "address",
340
+ "name": "owner",
341
+ "type": "address"
351
342
  }
352
343
  ],
353
- "stateMutability": "view",
354
- "type": "function"
344
+ "name": "LogNftOwnableNftLinkedToAddress",
345
+ "type": "event"
355
346
  },
356
347
  {
357
348
  "inputs": [],
358
- "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
349
+ "name": "COMPONENT_LOCATION_V1",
359
350
  "outputs": [
360
351
  {
361
352
  "internalType": "bytes32",
@@ -368,12 +359,12 @@
368
359
  },
369
360
  {
370
361
  "inputs": [],
371
- "name": "GIF_RELEASE",
362
+ "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
372
363
  "outputs": [
373
364
  {
374
- "internalType": "uint256",
365
+ "internalType": "bytes32",
375
366
  "name": "",
376
- "type": "uint256"
367
+ "type": "bytes32"
377
368
  }
378
369
  ],
379
370
  "stateMutability": "view",
@@ -418,37 +409,6 @@
418
409
  "stateMutability": "view",
419
410
  "type": "function"
420
411
  },
421
- {
422
- "inputs": [
423
- {
424
- "internalType": "address",
425
- "name": "token",
426
- "type": "address"
427
- },
428
- {
429
- "internalType": "Amount",
430
- "name": "spendingLimitAmount",
431
- "type": "uint96"
432
- }
433
- ],
434
- "name": "approveTokenHandler",
435
- "outputs": [],
436
- "stateMutability": "nonpayable",
437
- "type": "function"
438
- },
439
- {
440
- "inputs": [
441
- {
442
- "internalType": "Amount",
443
- "name": "spendingLimitAmount",
444
- "type": "uint96"
445
- }
446
- ],
447
- "name": "approveTokenHandler",
448
- "outputs": [],
449
- "stateMutability": "nonpayable",
450
- "type": "function"
451
- },
452
412
  {
453
413
  "inputs": [],
454
414
  "name": "authority",
@@ -466,7 +426,7 @@
466
426
  "inputs": [
467
427
  {
468
428
  "internalType": "ReferralId",
469
- "name": "referralId",
429
+ "name": "",
470
430
  "type": "bytes8"
471
431
  },
472
432
  {
@@ -486,6 +446,29 @@
486
446
  "stateMutability": "view",
487
447
  "type": "function"
488
448
  },
449
+ {
450
+ "inputs": [
451
+ {
452
+ "internalType": "NftId",
453
+ "name": "distributorNftId",
454
+ "type": "uint96"
455
+ },
456
+ {
457
+ "internalType": "DistributorType",
458
+ "name": "distributorType",
459
+ "type": "bytes8"
460
+ },
461
+ {
462
+ "internalType": "bytes",
463
+ "name": "data",
464
+ "type": "bytes"
465
+ }
466
+ ],
467
+ "name": "changeDistributorType",
468
+ "outputs": [],
469
+ "stateMutability": "nonpayable",
470
+ "type": "function"
471
+ },
489
472
  {
490
473
  "inputs": [
491
474
  {
@@ -525,17 +508,17 @@
525
508
  {
526
509
  "internalType": "UFixed",
527
510
  "name": "minDiscountPercentage",
528
- "type": "uint256"
511
+ "type": "uint160"
529
512
  },
530
513
  {
531
514
  "internalType": "UFixed",
532
515
  "name": "maxDiscountPercentage",
533
- "type": "uint256"
516
+ "type": "uint160"
534
517
  },
535
518
  {
536
519
  "internalType": "UFixed",
537
520
  "name": "commissionPercentage",
538
- "type": "uint256"
521
+ "type": "uint160"
539
522
  },
540
523
  {
541
524
  "internalType": "uint32",
@@ -543,9 +526,9 @@
543
526
  "type": "uint32"
544
527
  },
545
528
  {
546
- "internalType": "uint32",
529
+ "internalType": "Seconds",
547
530
  "name": "maxReferralLifetime",
548
- "type": "uint32"
531
+ "type": "uint40"
549
532
  },
550
533
  {
551
534
  "internalType": "bool",
@@ -576,6 +559,11 @@
576
559
  },
577
560
  {
578
561
  "inputs": [
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "distributorNftId",
565
+ "type": "uint96"
566
+ },
579
567
  {
580
568
  "internalType": "string",
581
569
  "name": "code",
@@ -584,7 +572,7 @@
584
572
  {
585
573
  "internalType": "UFixed",
586
574
  "name": "discountPercentage",
587
- "type": "uint256"
575
+ "type": "uint160"
588
576
  },
589
577
  {
590
578
  "internalType": "uint32",
@@ -637,25 +625,10 @@
637
625
  "name": "name",
638
626
  "type": "string"
639
627
  },
640
- {
641
- "internalType": "contract IERC20Metadata",
642
- "name": "token",
643
- "type": "address"
644
- },
645
628
  {
646
629
  "internalType": "contract TokenHandler",
647
630
  "name": "tokenHandler",
648
631
  "type": "address"
649
- },
650
- {
651
- "internalType": "address",
652
- "name": "wallet",
653
- "type": "address"
654
- },
655
- {
656
- "internalType": "bytes",
657
- "name": "data",
658
- "type": "bytes"
659
632
  }
660
633
  ],
661
634
  "internalType": "struct IComponents.ComponentInfo",
@@ -679,7 +652,7 @@
679
652
  {
680
653
  "internalType": "UFixed",
681
654
  "name": "discountPercentage",
682
- "type": "uint256"
655
+ "type": "uint160"
683
656
  },
684
657
  {
685
658
  "internalType": "ReferralStatus",
@@ -690,25 +663,6 @@
690
663
  "stateMutability": "view",
691
664
  "type": "function"
692
665
  },
693
- {
694
- "inputs": [
695
- {
696
- "internalType": "address",
697
- "name": "distributor",
698
- "type": "address"
699
- }
700
- ],
701
- "name": "getDistributorNftId",
702
- "outputs": [
703
- {
704
- "internalType": "NftId",
705
- "name": "distributorNftId",
706
- "type": "uint96"
707
- }
708
- ],
709
- "stateMutability": "view",
710
- "type": "function"
711
- },
712
666
  {
713
667
  "inputs": [],
714
668
  "name": "getInitialComponentInfo",
@@ -720,25 +674,10 @@
720
674
  "name": "name",
721
675
  "type": "string"
722
676
  },
723
- {
724
- "internalType": "contract IERC20Metadata",
725
- "name": "token",
726
- "type": "address"
727
- },
728
677
  {
729
678
  "internalType": "contract TokenHandler",
730
679
  "name": "tokenHandler",
731
680
  "type": "address"
732
- },
733
- {
734
- "internalType": "address",
735
- "name": "wallet",
736
- "type": "address"
737
- },
738
- {
739
- "internalType": "bytes",
740
- "name": "data",
741
- "type": "bytes"
742
681
  }
743
682
  ],
744
683
  "internalType": "struct IComponents.ComponentInfo",
@@ -893,7 +832,7 @@
893
832
  "type": "uint8"
894
833
  }
895
834
  ],
896
- "stateMutability": "pure",
835
+ "stateMutability": "view",
897
836
  "type": "function"
898
837
  },
899
838
  {
@@ -922,6 +861,19 @@
922
861
  "stateMutability": "view",
923
862
  "type": "function"
924
863
  },
864
+ {
865
+ "inputs": [],
866
+ "name": "getVersion",
867
+ "outputs": [
868
+ {
869
+ "internalType": "Version",
870
+ "name": "version",
871
+ "type": "uint24"
872
+ }
873
+ ],
874
+ "stateMutability": "view",
875
+ "type": "function"
876
+ },
925
877
  {
926
878
  "inputs": [],
927
879
  "name": "getWallet",
@@ -937,31 +889,25 @@
937
889
  },
938
890
  {
939
891
  "inputs": [],
940
- "name": "isConsumingScheduledOp",
892
+ "name": "isActive",
941
893
  "outputs": [
942
894
  {
943
- "internalType": "bytes4",
944
- "name": "",
945
- "type": "bytes4"
895
+ "internalType": "bool",
896
+ "name": "active",
897
+ "type": "bool"
946
898
  }
947
899
  ],
948
900
  "stateMutability": "view",
949
901
  "type": "function"
950
902
  },
951
903
  {
952
- "inputs": [
953
- {
954
- "internalType": "address",
955
- "name": "candidate",
956
- "type": "address"
957
- }
958
- ],
959
- "name": "isDistributor",
904
+ "inputs": [],
905
+ "name": "isConsumingScheduledOp",
960
906
  "outputs": [
961
907
  {
962
- "internalType": "bool",
908
+ "internalType": "bytes4",
963
909
  "name": "",
964
- "type": "bool"
910
+ "type": "bytes4"
965
911
  }
966
912
  ],
967
913
  "stateMutability": "view",
@@ -1019,13 +965,6 @@
1019
965
  "stateMutability": "nonpayable",
1020
966
  "type": "function"
1021
967
  },
1022
- {
1023
- "inputs": [],
1024
- "name": "lock",
1025
- "outputs": [],
1026
- "stateMutability": "nonpayable",
1027
- "type": "function"
1028
- },
1029
968
  {
1030
969
  "inputs": [
1031
970
  {
@@ -1092,12 +1031,12 @@
1092
1031
  {
1093
1032
  "internalType": "UFixed",
1094
1033
  "name": "fractionalFee",
1095
- "type": "uint256"
1034
+ "type": "uint160"
1096
1035
  },
1097
1036
  {
1098
- "internalType": "uint256",
1037
+ "internalType": "Amount",
1099
1038
  "name": "fixedFee",
1100
- "type": "uint256"
1039
+ "type": "uint96"
1101
1040
  }
1102
1041
  ],
1103
1042
  "internalType": "struct Fee",
@@ -1109,12 +1048,12 @@
1109
1048
  {
1110
1049
  "internalType": "UFixed",
1111
1050
  "name": "fractionalFee",
1112
- "type": "uint256"
1051
+ "type": "uint160"
1113
1052
  },
1114
1053
  {
1115
- "internalType": "uint256",
1054
+ "internalType": "Amount",
1116
1055
  "name": "fixedFee",
1117
- "type": "uint256"
1056
+ "type": "uint96"
1118
1057
  }
1119
1058
  ],
1120
1059
  "internalType": "struct Fee",
@@ -1127,19 +1066,6 @@
1127
1066
  "stateMutability": "nonpayable",
1128
1067
  "type": "function"
1129
1068
  },
1130
- {
1131
- "inputs": [
1132
- {
1133
- "internalType": "address",
1134
- "name": "newWallet",
1135
- "type": "address"
1136
- }
1137
- ],
1138
- "name": "setWallet",
1139
- "outputs": [],
1140
- "stateMutability": "nonpayable",
1141
- "type": "function"
1142
- },
1143
1069
  {
1144
1070
  "inputs": [
1145
1071
  {
@@ -1159,36 +1085,6 @@
1159
1085
  "stateMutability": "view",
1160
1086
  "type": "function"
1161
1087
  },
1162
- {
1163
- "inputs": [],
1164
- "name": "unlock",
1165
- "outputs": [],
1166
- "stateMutability": "nonpayable",
1167
- "type": "function"
1168
- },
1169
- {
1170
- "inputs": [
1171
- {
1172
- "internalType": "NftId",
1173
- "name": "distributorNftId",
1174
- "type": "uint96"
1175
- },
1176
- {
1177
- "internalType": "DistributorType",
1178
- "name": "distributorType",
1179
- "type": "bytes8"
1180
- },
1181
- {
1182
- "internalType": "bytes",
1183
- "name": "data",
1184
- "type": "bytes"
1185
- }
1186
- ],
1187
- "name": "updateDistributorType",
1188
- "outputs": [],
1189
- "stateMutability": "nonpayable",
1190
- "type": "function"
1191
- },
1192
1088
  {
1193
1089
  "inputs": [
1194
1090
  {
@@ -1233,70 +1129,38 @@
1233
1129
  "type": "function"
1234
1130
  }
1235
1131
  ],
1236
- "bytecode": "0x6080604052348015600e575f80fd5b506137ee8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610281575f3560e01c80637a9e5e4b11610156578063b423086c116100ca578063deaa59df11610084578063deaa59df146105ca578063e145d46c146105dd578063ea15869f14610607578063f5860e1a1461062e578063f80e207214610642578063f83d08ba14610655575f80fd5b8063b423086c14610564578063b6b412ba1461056c578063bae99c991461057f578063bf7e214f14610592578063d16d0fe81461059a578063de7b5d14146105ad575f80fd5b80638fb360371161011b5780638fb36037146104ec57806390edbd351461050d578063a69df4b514610522578063ad12ad601461052a578063ada9652e1461053d578063b2a6b42d14610551575f80fd5b80637a9e5e4b146104af57806387ef9ba0146104c25780638899278a146104c9578063893d20e8146104d15780638f0c86fa146104d9575f80fd5b80632eb3e6f4116101f85780635ab1bd53116101b25780635ab1bd53146104265780635dcb3bae14610437578063644c45e01461044a5780636bd1c0eb146104525780637427d7a81461048257806376b707b714610495575f80fd5b80632eb3e6f4146103c75780633d683fd9146103db578063419197fe146103f057806343d752d3146104035780635741e5e91461040b57806359660bea14610413575f80fd5b806317d7de7c1161024957806317d7de7c1461032e5780631c6b2190146103435780631eff4b221461035657806321df0da71461038b57806322366844146103935780632b5198b11461039b575f80fd5b806301ffc9a71461028557806307e71a6e146102c65780630fec111c146102f15780631329960414610306578063138461e014610326575b5f80fd5b6102b1610293366004612b49565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102d96102d4366004612b84565b61065d565b6040516001600160601b0390911681526020016102bd565b6102f9610761565b6040516102bd9190612be9565b61030e61091f565b6040516001600160a01b0390911681526020016102bd565b6102d9610931565b610336610940565b6040516102bd9190612c7d565b6102d9610351366004612c8f565b610950565b61037d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102bd565b61030e6109a6565b6102b16109b8565b6103ae6103a9366004612de6565b610aae565b6040516001600160c01b031990911681526020016102bd565b61037d5f8051602061379983398151915281565b6103ee6103e9366004612ebc565b610b12565b005b6103ee6103fe366004612f2d565b610b75565b61030e610dc0565b6102b1610dd2565b6103ae610421366004612f49565b610e86565b6001546001600160a01b031661030e565b6102d9610445366004612fe2565b610edd565b6102d9610f37565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661030e565b6103ae610490366004612fff565b610f52565b61049d610fd2565b60405160ff90911681526020016102bd565b6103ee6104bd366004613030565b611046565b60016102b1565b61037d600381565b61030e6110cc565b6102b16104e7366004613030565b6111fd565b6104f46112c2565b6040516001600160e01b031990911681526020016102bd565b6105156112f7565b6040516102bd919061304b565b6103ee61131c565b6103ee6105383660046130bf565b6113ba565b61037d5f8051602061373983398151915281565b6102d961055f366004613030565b611463565b6105156114a5565b6103ee61057a36600461315b565b6114b5565b6103ee61058d366004612c8f565b611503565b61030e611552565b61037d6105a836600461318e565b61156d565b5f80516020613799833981519152546001600160a01b031661030e565b6103ee6105d8366004613030565b611581565b6105f06105eb366004612fff565b611969565b6040805192835260ff9091166020830152016102bd565b61037d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61037d5f8051602061377983398151915281565b6103ee61065036600461318e565b611a23565b6103ee611a2c565b5f61066a335b5f36611aa0565b610673336111fd565b6106975760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6106a48282611b9e565b846106b76001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa15801561070a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072e91906131c3565b61074d5760405163086391f760e31b815233600482015260240161068e565b6107578686611c55565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610811573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083591906131e9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161087d6110cc565b6001600160a01b0316815260200182600101805461089a90613204565b80601f01602080910402602001604051908101604052809291908181526020018280546108c690613204565b80156109115780601f106108e857610100808354040283529160200191610911565b820191905f5260205f20905b8154815290600101906020018083116108f457829003601f168201915b505050505081525091505090565b5f6109286112f7565b60600151905090565b5f61093b30611ce1565b905090565b606061094a6112f7565b51919050565b5f6109596110cc565b6001600160a01b0316336001600160a01b03161461098c5760405163086391f760e31b815233600482015260240161068e565b61099533610663565b61099e82611ed5565b90505b919050565b5f6109af6112f7565b60200151905090565b5f6109cb6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3391906131e9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a8a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093b91906131c3565b5f610ab76110cc565b6001600160a01b0316336001600160a01b031614610aea5760405163086391f760e31b815233600482015260240161068e565b610af333610663565b610b048a8a8a8a8a8a8a8a8a611f59565b9a9950505050505050505050565b610b1a6110cc565b6001600160a01b0316336001600160a01b031614610b4d5760405163086391f760e31b815233600482015260240161068e565b82601d610b5a8282611b9e565b610b6333610663565b610b6e858585612018565b5050505050565b610b7d6110cc565b6001600160a01b0316336001600160a01b031614610bb05760405163086391f760e31b815233600482015260240161068e565b30610bb961091f565b6001600160a01b031614610be05760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5c919061323c565b90505f610cd38373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cce91906131e9565b61202c565b15610ce057505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce610d09610dc0565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b3610d52610dc0565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015610d9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b6e91906131c3565b5f610dc96112f7565b60400151905090565b5f610ddb6109b8565b15610e56576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261092891908101906132cb565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610e90336111fd565b610eaf5760405163637c41bb60e01b815233600482015260240161068e565b610eb833610663565b5f610ec233611463565b9050610ed28188888888886120b0565b979650505050505050565b5f610ee66110cc565b6001600160a01b0316336001600160a01b031614610f195760405163086391f760e31b815233600482015260240161068e565b610f2233610663565b610f2d848484612166565b90505b9392505050565b5f80516020613739833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610f75610f37565b846040518363ffffffff1660e01b8152600401610f9392919061339b565b602060405180830381865af4158015610fae573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099e91906133bc565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611022573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093b91906133d7565b3361104f611552565b6001600160a01b0316816001600160a01b03161461108a5760405162d1953b60e31b81526001600160a01b038216600482015260240161068e565b816001600160a01b03163b5f036110bf576040516361798f2f60e11b81526001600160a01b038316600482015260240161068e565b6110c88261232a565b5050565b5f805f8051602061373983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611138573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115c91906131c3565b156111e7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e191906133f2565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206137798339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561129e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3091906131c3565b5f8051602061375983398151915280545f9190600160a01b900460ff166112e9575f6111e1565b638fb3603760e01b91505090565b6112ff612b02565b6113076109b8565b156113145761093b61238a565b61093b6114a5565b6113246110cc565b6001600160a01b0316336001600160a01b0316146113575760405163086391f760e31b815233600482015260240161068e565b611361600a612551565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156113a2575f80fd5b505af11580156113b4573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611401573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142591906133f2565b6001600160a01b0316336001600160a01b0316146114575760405162f0630960e01b815233600482015260240161068e565b6113b484848484612652565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6114ad612b02565b61093b61238a565b6114bd6110cc565b6001600160a01b0316336001600160a01b0316146114f05760405163086391f760e31b815233600482015260240161068e565b6114f933610663565b6110c882826127fb565b61150b6110cc565b6001600160a01b0316336001600160a01b03161461153e5760405163086391f760e31b815233600482015260240161068e565b61154f6115496109a6565b82610b75565b50565b5f80516020613759833981519152546001600160a01b031690565b5f611578828261340d565b90505b92915050565b6115896110cc565b6001600160a01b0316336001600160a01b0316146115bc5760405163086391f760e31b815233600482015260240161068e565b5f6115c561091f565b90505f6115d06109a6565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015611616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163a919061323c565b905061164583612862565b61164d610dc0565b60405163182562b360e01b81526001600160a01b038481166004830152919091169063182562b3906024015f604051808303815f87803b15801561168f575f80fd5b505af11580156116a1573d5f803e3d5ffd5b505050505f81111561190457604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361180857611710610dc0565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161175991815260200190565b602060405180830381865af4158015611774573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179891906131e9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156117ed575f80fd5b505af11580156117ff573d5f803e3d5ffd5b50505050611904565b611810610dc0565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161185991815260200190565b602060405180830381865af4158015611874573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189891906131e9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156118ed575f80fd5b505af11580156118ff573d5f803e3d5ffd5b505050505b61190c610dc0565b60405163162d3cef60e11b81526001600160a01b0384811660048301529190911690632c5a79de906024015f604051808303815f87803b15801561194e575f80fd5b505af1158015611960573d5f803e3d5ffd5b50505050505050565b5f805f61197584610f52565b90506119a87fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156119f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a199190613430565b9250925050915091565b6110c833610663565b611a346110cc565b6001600160a01b0316336001600160a01b031614611a675760405163086391f760e31b815233600482015260240161068e565b611a71600a612551565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161138b565b5f805160206137598339815191525f80611ad8611abb611552565b8730611aca60045f8a8c613454565b611ad39161347b565b6128fb565b9150915081611b965763ffffffff811615611b7357825460ff60a01b1916600160a01b178355611b06611552565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b35939291906134b3565b5f604051808303815f87803b158015611b4c575f80fd5b505af1158015611b5e573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b969050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161068e565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611c00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c2491906131c3565b6110c85760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161068e565b5f5f80516020613779833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611cbd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157891906131e9565b5f805f8051602061373983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7191906131c3565b15611d9d5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161068e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611def573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1391906131c3565b611e3b5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161068e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb191906131e9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f80516020613799833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611f35573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099e91906131e9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613779833981519152916001600160a01b0390911690632b5198b190611fc9908e908e908e908e908e908e908e908e908e906004016134f2565b6020604051808303815f875af1158015611fe5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200991906133bc565b9b9a5050505050505050505050565b5f5f80516020613779833981519152610b6e565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561208c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157891906131c3565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613779833981519152916001600160a01b0390911690638dd2b7819061211a908b908b908b908b908b908b90600401613563565b6020604051808303815f875af1158015612136573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061215a91906133bc565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206137798339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612207573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061222b91906131c3565b15612276576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161068e565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906122ac908890889088906004016135c2565b6020604051808303815f875af11580156122c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ec91906131e9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061375983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612392612b02565b5f6123a56001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156123e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240d91906131e9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612466573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248a91906131c3565b15612549577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36124c7610f37565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612508573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261252f91908101906135f5565b60608101519092506001600160a01b031615612549575090565b6111e1612a03565b5f805f8051602061379983398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa1580156125a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125cb91906133d7565b90506125df6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa15801561262e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3091906133f2565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613779833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156126ed573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271191906131e9565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612797573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127bb91906131e9565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f8051602061377983398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee9061283990859085906004016136cf565b5f604051808303815f87803b158015612850575f80fd5b505af1158015611b96573d5f803e3d5ffd5b61286a6110cc565b6001600160a01b0316336001600160a01b03161461289d5760405163086391f760e31b815233600482015260240161068e565b6128a7600b612551565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b1580156128e9575f80fd5b505af1158015610b6e573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161296991906136f5565b5f60405180830381855afa9150503d805f81146129a1576040519150601f19603f3d011682016040523d82523d5f602084013e6129a6565b606091505b509150915081156129f85760408151106129d857808060200190518101906129ce919061370b565b90945092506129f8565b60208151106129f857808060200190518101906129f591906131c3565b93505b505094509492505050565b612a0b612b02565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f018054612a4890613204565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7490613204565b8015612abf5780601f10612a9657610100808354040283529160200191612abf565b820191905f5260205f20905b815481529060010190602001808311612aa257829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f6040830152600284015416606082015260038301805460809092019161089a90613204565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612b59575f80fd5b81356001600160e01b031981168114610f30575f80fd5b6001600160601b038116811461154f575f80fd5b5f8060408385031215612b95575f80fd5b8235612ba081612b70565b91506020830135612bb081612b70565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612c31608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612c75610100840182612bbb565b949350505050565b602081525f6115786020830184612bbb565b5f60208284031215612c9f575f80fd5b8135610f3081612b70565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612ce057612ce0612caa565b60405290565b60405160a081016001600160401b0381118282101715612ce057612ce0612caa565b604051601f8201601f191681016001600160401b0381118282101715612d3057612d30612caa565b604052919050565b5f6001600160401b03821115612d5057612d50612caa565b50601f01601f191660200190565b5f82601f830112612d6d575f80fd5b8135602083015f612d85612d8084612d38565b612d08565b9050828152858383011115612d98575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461154f575f80fd5b80356109a181612db2565b801515811461154f575f80fd5b80356109a181612dce565b5f805f805f805f805f6101208a8c031215612dff575f80fd5b89356001600160401b03811115612e14575f80fd5b612e208c828d01612d5e565b99505060208a0135975060408a0135965060608a0135955060808a0135612e4681612db2565b9450612e5460a08b01612dc3565b9350612e6260c08b01612ddb565b9250612e7060e08b01612ddb565b91506101008a01356001600160401b03811115612e8b575f80fd5b612e978c828d01612d5e565b9150509295985092959850929598565b6001600160c01b03198116811461154f575f80fd5b5f805f60608486031215612ece575f80fd5b8335612ed981612b70565b92506020840135612ee981612ea7565b915060408401356001600160401b03811115612f03575f80fd5b612f0f86828701612d5e565b9150509250925092565b6001600160a01b038116811461154f575f80fd5b5f8060408385031215612f3e575f80fd5b8235612ba081612f19565b5f805f805f60a08688031215612f5d575f80fd5b85356001600160401b03811115612f72575f80fd5b612f7e88828901612d5e565b955050602086013593506040860135612f9681612db2565b9250606086013564ffffffffff81168114612faf575f80fd5b915060808601356001600160401b03811115612fc9575f80fd5b612fd588828901612d5e565b9150509295509295909350565b5f805f60608486031215612ff4575f80fd5b8335612ed981612f19565b5f6020828403121561300f575f80fd5b81356001600160401b03811115613024575f80fd5b612c7584828501612d5e565b5f60208284031215613040575f80fd5b8135610f3081612f19565b602081525f825160a0602084015261306660c0840182612bbb565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a08601529091506130b68282612bbb565b95945050505050565b5f805f80608085870312156130d2575f80fd5b84356130dd81612f19565b935060208501356130ed81612f19565b925060408501359150606085013561310481612f19565b939692955090935050565b5f6040828403121561311f575f80fd5b604080519081016001600160401b038111828210171561314157613141612caa565b604052823581526020928301359281019290925250919050565b5f806080838503121561316c575f80fd5b613176848461310f565b9150613185846040850161310f565b90509250929050565b5f806040838503121561319f575f80fd5b82356131aa81612ea7565b946020939093013593505050565b80516109a181612dce565b5f602082840312156131d3575f80fd5b8151610f3081612dce565b80516109a181612b70565b5f602082840312156131f9575f80fd5b8151610f3081612b70565b600181811c9082168061321857607f821691505b60208210810361323657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561324c575f80fd5b5051919050565b60ff8116811461154f575f80fd5b80516109a181613253565b80516109a181612f19565b5f613284612d8084612d38565b9050828152838383011115613297575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126132bc575f80fd5b61157883835160208501613277565b5f602082840312156132db575f80fd5b81516001600160401b038111156132f0575f80fd5b820160e08185031215613301575f80fd5b613309612cbe565b613312826131de565b8152613320602083016131de565b602082015261333160408301613261565b6040820152613342606083016131b8565b60608201526133536080830161326c565b608082015261336460a0830161326c565b60a082015260c08201516001600160401b03811115613381575f80fd5b61338d868285016132ad565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f2d6040830184612bbb565b5f602082840312156133cc575f80fd5b8151610f3081612ea7565b5f602082840312156133e7575f80fd5b8151610f3081613253565b5f60208284031215613402575f80fd5b8151610f3081612f19565b808202811582820484141761157b57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613441575f80fd5b82516020840151909250612bb081613253565b5f8085851115613462575f80fd5b8386111561346e575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156134ac576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61350661012083018c612bbb565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526135538185612bbb565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61358460c0830188612bbb565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526135b58185612bbb565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906130b690830184612bbb565b5f60208284031215613605575f80fd5b81516001600160401b0381111561361a575f80fd5b820160a0818503121561362b575f80fd5b613633612ce6565b81516001600160401b03811115613648575f80fd5b8201601f81018613613658575f80fd5b61366786825160208401613277565b8252506136766020830161326c565b60208201526136876040830161326c565b60408201526136986060830161326c565b606082015260808201516001600160401b038111156136b5575f80fd5b6136c1868285016132ad565b608083015250949350505050565b825181526020808401518183015282516040830152820151606082015260808101610f30565b5f82518060208501845e5f920191825250919050565b5f806040838503121561371c575f80fd5b825161372781612dce565b6020840151909250612bb081612db256fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212207ee5dc53e8954833b730cfeb187be589e24cdb2fb6e86dcf004e9f8bf884f7f564736f6c634300081a0033",
1237
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610281575f3560e01c80637a9e5e4b11610156578063b423086c116100ca578063deaa59df11610084578063deaa59df146105ca578063e145d46c146105dd578063ea15869f14610607578063f5860e1a1461062e578063f80e207214610642578063f83d08ba14610655575f80fd5b8063b423086c14610564578063b6b412ba1461056c578063bae99c991461057f578063bf7e214f14610592578063d16d0fe81461059a578063de7b5d14146105ad575f80fd5b80638fb360371161011b5780638fb36037146104ec57806390edbd351461050d578063a69df4b514610522578063ad12ad601461052a578063ada9652e1461053d578063b2a6b42d14610551575f80fd5b80637a9e5e4b146104af57806387ef9ba0146104c25780638899278a146104c9578063893d20e8146104d15780638f0c86fa146104d9575f80fd5b80632eb3e6f4116101f85780635ab1bd53116101b25780635ab1bd53146104265780635dcb3bae14610437578063644c45e01461044a5780636bd1c0eb146104525780637427d7a81461048257806376b707b714610495575f80fd5b80632eb3e6f4146103c75780633d683fd9146103db578063419197fe146103f057806343d752d3146104035780635741e5e91461040b57806359660bea14610413575f80fd5b806317d7de7c1161024957806317d7de7c1461032e5780631c6b2190146103435780631eff4b221461035657806321df0da71461038b57806322366844146103935780632b5198b11461039b575f80fd5b806301ffc9a71461028557806307e71a6e146102c65780630fec111c146102f15780631329960414610306578063138461e014610326575b5f80fd5b6102b1610293366004612b49565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102d96102d4366004612b84565b61065d565b6040516001600160601b0390911681526020016102bd565b6102f9610761565b6040516102bd9190612be9565b61030e61091f565b6040516001600160a01b0390911681526020016102bd565b6102d9610931565b610336610940565b6040516102bd9190612c7d565b6102d9610351366004612c8f565b610950565b61037d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102bd565b61030e6109a6565b6102b16109b8565b6103ae6103a9366004612de6565b610aae565b6040516001600160c01b031990911681526020016102bd565b61037d5f8051602061379983398151915281565b6103ee6103e9366004612ebc565b610b12565b005b6103ee6103fe366004612f2d565b610b75565b61030e610dc0565b6102b1610dd2565b6103ae610421366004612f49565b610e86565b6001546001600160a01b031661030e565b6102d9610445366004612fe2565b610edd565b6102d9610f37565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661030e565b6103ae610490366004612fff565b610f52565b61049d610fd2565b60405160ff90911681526020016102bd565b6103ee6104bd366004613030565b611046565b60016102b1565b61037d600381565b61030e6110cc565b6102b16104e7366004613030565b6111fd565b6104f46112c2565b6040516001600160e01b031990911681526020016102bd565b6105156112f7565b6040516102bd919061304b565b6103ee61131c565b6103ee6105383660046130bf565b6113ba565b61037d5f8051602061373983398151915281565b6102d961055f366004613030565b611463565b6105156114a5565b6103ee61057a36600461315b565b6114b5565b6103ee61058d366004612c8f565b611503565b61030e611552565b61037d6105a836600461318e565b61156d565b5f80516020613799833981519152546001600160a01b031661030e565b6103ee6105d8366004613030565b611581565b6105f06105eb366004612fff565b611969565b6040805192835260ff9091166020830152016102bd565b61037d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61037d5f8051602061377983398151915281565b6103ee61065036600461318e565b611a23565b6103ee611a2c565b5f61066a335b5f36611aa0565b610673336111fd565b6106975760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6106a48282611b9e565b846106b76001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa15801561070a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072e91906131c3565b61074d5760405163086391f760e31b815233600482015260240161068e565b6107578686611c55565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610811573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083591906131e9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161087d6110cc565b6001600160a01b0316815260200182600101805461089a90613204565b80601f01602080910402602001604051908101604052809291908181526020018280546108c690613204565b80156109115780601f106108e857610100808354040283529160200191610911565b820191905f5260205f20905b8154815290600101906020018083116108f457829003601f168201915b505050505081525091505090565b5f6109286112f7565b60600151905090565b5f61093b30611ce1565b905090565b606061094a6112f7565b51919050565b5f6109596110cc565b6001600160a01b0316336001600160a01b03161461098c5760405163086391f760e31b815233600482015260240161068e565b61099533610663565b61099e82611ed5565b90505b919050565b5f6109af6112f7565b60200151905090565b5f6109cb6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3391906131e9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a8a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093b91906131c3565b5f610ab76110cc565b6001600160a01b0316336001600160a01b031614610aea5760405163086391f760e31b815233600482015260240161068e565b610af333610663565b610b048a8a8a8a8a8a8a8a8a611f59565b9a9950505050505050505050565b610b1a6110cc565b6001600160a01b0316336001600160a01b031614610b4d5760405163086391f760e31b815233600482015260240161068e565b82601d610b5a8282611b9e565b610b6333610663565b610b6e858585612018565b5050505050565b610b7d6110cc565b6001600160a01b0316336001600160a01b031614610bb05760405163086391f760e31b815233600482015260240161068e565b30610bb961091f565b6001600160a01b031614610be05760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5c919061323c565b90505f610cd38373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cce91906131e9565b61202c565b15610ce057505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce610d09610dc0565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b3610d52610dc0565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015610d9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b6e91906131c3565b5f610dc96112f7565b60400151905090565b5f610ddb6109b8565b15610e56576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261092891908101906132cb565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610e90336111fd565b610eaf5760405163637c41bb60e01b815233600482015260240161068e565b610eb833610663565b5f610ec233611463565b9050610ed28188888888886120b0565b979650505050505050565b5f610ee66110cc565b6001600160a01b0316336001600160a01b031614610f195760405163086391f760e31b815233600482015260240161068e565b610f2233610663565b610f2d848484612166565b90505b9392505050565b5f80516020613739833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610f75610f37565b846040518363ffffffff1660e01b8152600401610f9392919061339b565b602060405180830381865af4158015610fae573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099e91906133bc565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611022573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093b91906133d7565b3361104f611552565b6001600160a01b0316816001600160a01b03161461108a5760405162d1953b60e31b81526001600160a01b038216600482015260240161068e565b816001600160a01b03163b5f036110bf576040516361798f2f60e11b81526001600160a01b038316600482015260240161068e565b6110c88261232a565b5050565b5f805f8051602061373983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611138573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115c91906131c3565b156111e7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e191906133f2565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206137798339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561129e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3091906131c3565b5f8051602061375983398151915280545f9190600160a01b900460ff166112e9575f6111e1565b638fb3603760e01b91505090565b6112ff612b02565b6113076109b8565b156113145761093b61238a565b61093b6114a5565b6113246110cc565b6001600160a01b0316336001600160a01b0316146113575760405163086391f760e31b815233600482015260240161068e565b611361600a612551565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156113a2575f80fd5b505af11580156113b4573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611401573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142591906133f2565b6001600160a01b0316336001600160a01b0316146114575760405162f0630960e01b815233600482015260240161068e565b6113b484848484612652565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6114ad612b02565b61093b61238a565b6114bd6110cc565b6001600160a01b0316336001600160a01b0316146114f05760405163086391f760e31b815233600482015260240161068e565b6114f933610663565b6110c882826127fb565b61150b6110cc565b6001600160a01b0316336001600160a01b03161461153e5760405163086391f760e31b815233600482015260240161068e565b61154f6115496109a6565b82610b75565b50565b5f80516020613759833981519152546001600160a01b031690565b5f611578828261340d565b90505b92915050565b6115896110cc565b6001600160a01b0316336001600160a01b0316146115bc5760405163086391f760e31b815233600482015260240161068e565b5f6115c561091f565b90505f6115d06109a6565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015611616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163a919061323c565b905061164583612862565b61164d610dc0565b60405163182562b360e01b81526001600160a01b038481166004830152919091169063182562b3906024015f604051808303815f87803b15801561168f575f80fd5b505af11580156116a1573d5f803e3d5ffd5b505050505f81111561190457604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361180857611710610dc0565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161175991815260200190565b602060405180830381865af4158015611774573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179891906131e9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156117ed575f80fd5b505af11580156117ff573d5f803e3d5ffd5b50505050611904565b611810610dc0565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161185991815260200190565b602060405180830381865af4158015611874573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189891906131e9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156118ed575f80fd5b505af11580156118ff573d5f803e3d5ffd5b505050505b61190c610dc0565b60405163162d3cef60e11b81526001600160a01b0384811660048301529190911690632c5a79de906024015f604051808303815f87803b15801561194e575f80fd5b505af1158015611960573d5f803e3d5ffd5b50505050505050565b5f805f61197584610f52565b90506119a87fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156119f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a199190613430565b9250925050915091565b6110c833610663565b611a346110cc565b6001600160a01b0316336001600160a01b031614611a675760405163086391f760e31b815233600482015260240161068e565b611a71600a612551565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161138b565b5f805160206137598339815191525f80611ad8611abb611552565b8730611aca60045f8a8c613454565b611ad39161347b565b6128fb565b9150915081611b965763ffffffff811615611b7357825460ff60a01b1916600160a01b178355611b06611552565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b35939291906134b3565b5f604051808303815f87803b158015611b4c575f80fd5b505af1158015611b5e573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b969050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161068e565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611c00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c2491906131c3565b6110c85760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161068e565b5f5f80516020613779833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611cbd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157891906131e9565b5f805f8051602061373983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7191906131c3565b15611d9d5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161068e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611def573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1391906131c3565b611e3b5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161068e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb191906131e9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f80516020613799833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611f35573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099e91906131e9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613779833981519152916001600160a01b0390911690632b5198b190611fc9908e908e908e908e908e908e908e908e908e906004016134f2565b6020604051808303815f875af1158015611fe5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200991906133bc565b9b9a5050505050505050505050565b5f5f80516020613779833981519152610b6e565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561208c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157891906131c3565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613779833981519152916001600160a01b0390911690638dd2b7819061211a908b908b908b908b908b908b90600401613563565b6020604051808303815f875af1158015612136573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061215a91906133bc565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206137798339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612207573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061222b91906131c3565b15612276576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161068e565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906122ac908890889088906004016135c2565b6020604051808303815f875af11580156122c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ec91906131e9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061375983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612392612b02565b5f6123a56001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156123e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240d91906131e9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612466573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248a91906131c3565b15612549577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36124c7610f37565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612508573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261252f91908101906135f5565b60608101519092506001600160a01b031615612549575090565b6111e1612a03565b5f805f8051602061379983398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa1580156125a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125cb91906133d7565b90506125df6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa15801561262e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3091906133f2565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613779833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156126ed573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271191906131e9565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612797573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127bb91906131e9565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f8051602061377983398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee9061283990859085906004016136cf565b5f604051808303815f87803b158015612850575f80fd5b505af1158015611b96573d5f803e3d5ffd5b61286a6110cc565b6001600160a01b0316336001600160a01b03161461289d5760405163086391f760e31b815233600482015260240161068e565b6128a7600b612551565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b1580156128e9575f80fd5b505af1158015610b6e573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161296991906136f5565b5f60405180830381855afa9150503d805f81146129a1576040519150601f19603f3d011682016040523d82523d5f602084013e6129a6565b606091505b509150915081156129f85760408151106129d857808060200190518101906129ce919061370b565b90945092506129f8565b60208151106129f857808060200190518101906129f591906131c3565b93505b505094509492505050565b612a0b612b02565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f018054612a4890613204565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7490613204565b8015612abf5780601f10612a9657610100808354040283529160200191612abf565b820191905f5260205f20905b815481529060010190602001808311612aa257829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f6040830152600284015416606082015260038301805460809092019161089a90613204565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612b59575f80fd5b81356001600160e01b031981168114610f30575f80fd5b6001600160601b038116811461154f575f80fd5b5f8060408385031215612b95575f80fd5b8235612ba081612b70565b91506020830135612bb081612b70565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612c31608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612c75610100840182612bbb565b949350505050565b602081525f6115786020830184612bbb565b5f60208284031215612c9f575f80fd5b8135610f3081612b70565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612ce057612ce0612caa565b60405290565b60405160a081016001600160401b0381118282101715612ce057612ce0612caa565b604051601f8201601f191681016001600160401b0381118282101715612d3057612d30612caa565b604052919050565b5f6001600160401b03821115612d5057612d50612caa565b50601f01601f191660200190565b5f82601f830112612d6d575f80fd5b8135602083015f612d85612d8084612d38565b612d08565b9050828152858383011115612d98575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461154f575f80fd5b80356109a181612db2565b801515811461154f575f80fd5b80356109a181612dce565b5f805f805f805f805f6101208a8c031215612dff575f80fd5b89356001600160401b03811115612e14575f80fd5b612e208c828d01612d5e565b99505060208a0135975060408a0135965060608a0135955060808a0135612e4681612db2565b9450612e5460a08b01612dc3565b9350612e6260c08b01612ddb565b9250612e7060e08b01612ddb565b91506101008a01356001600160401b03811115612e8b575f80fd5b612e978c828d01612d5e565b9150509295985092959850929598565b6001600160c01b03198116811461154f575f80fd5b5f805f60608486031215612ece575f80fd5b8335612ed981612b70565b92506020840135612ee981612ea7565b915060408401356001600160401b03811115612f03575f80fd5b612f0f86828701612d5e565b9150509250925092565b6001600160a01b038116811461154f575f80fd5b5f8060408385031215612f3e575f80fd5b8235612ba081612f19565b5f805f805f60a08688031215612f5d575f80fd5b85356001600160401b03811115612f72575f80fd5b612f7e88828901612d5e565b955050602086013593506040860135612f9681612db2565b9250606086013564ffffffffff81168114612faf575f80fd5b915060808601356001600160401b03811115612fc9575f80fd5b612fd588828901612d5e565b9150509295509295909350565b5f805f60608486031215612ff4575f80fd5b8335612ed981612f19565b5f6020828403121561300f575f80fd5b81356001600160401b03811115613024575f80fd5b612c7584828501612d5e565b5f60208284031215613040575f80fd5b8135610f3081612f19565b602081525f825160a0602084015261306660c0840182612bbb565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a08601529091506130b68282612bbb565b95945050505050565b5f805f80608085870312156130d2575f80fd5b84356130dd81612f19565b935060208501356130ed81612f19565b925060408501359150606085013561310481612f19565b939692955090935050565b5f6040828403121561311f575f80fd5b604080519081016001600160401b038111828210171561314157613141612caa565b604052823581526020928301359281019290925250919050565b5f806080838503121561316c575f80fd5b613176848461310f565b9150613185846040850161310f565b90509250929050565b5f806040838503121561319f575f80fd5b82356131aa81612ea7565b946020939093013593505050565b80516109a181612dce565b5f602082840312156131d3575f80fd5b8151610f3081612dce565b80516109a181612b70565b5f602082840312156131f9575f80fd5b8151610f3081612b70565b600181811c9082168061321857607f821691505b60208210810361323657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561324c575f80fd5b5051919050565b60ff8116811461154f575f80fd5b80516109a181613253565b80516109a181612f19565b5f613284612d8084612d38565b9050828152838383011115613297575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126132bc575f80fd5b61157883835160208501613277565b5f602082840312156132db575f80fd5b81516001600160401b038111156132f0575f80fd5b820160e08185031215613301575f80fd5b613309612cbe565b613312826131de565b8152613320602083016131de565b602082015261333160408301613261565b6040820152613342606083016131b8565b60608201526133536080830161326c565b608082015261336460a0830161326c565b60a082015260c08201516001600160401b03811115613381575f80fd5b61338d868285016132ad565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f2d6040830184612bbb565b5f602082840312156133cc575f80fd5b8151610f3081612ea7565b5f602082840312156133e7575f80fd5b8151610f3081613253565b5f60208284031215613402575f80fd5b8151610f3081612f19565b808202811582820484141761157b57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613441575f80fd5b82516020840151909250612bb081613253565b5f8085851115613462575f80fd5b8386111561346e575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156134ac576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61350661012083018c612bbb565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526135538185612bbb565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61358460c0830188612bbb565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526135b58185612bbb565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906130b690830184612bbb565b5f60208284031215613605575f80fd5b81516001600160401b0381111561361a575f80fd5b820160a0818503121561362b575f80fd5b613633612ce6565b81516001600160401b03811115613648575f80fd5b8201601f81018613613658575f80fd5b61366786825160208401613277565b8252506136766020830161326c565b60208201526136876040830161326c565b60408201526136986060830161326c565b606082015260808201516001600160401b038111156136b5575f80fd5b6136c1868285016132ad565b608083015250949350505050565b825181526020808401518183015282516040830152820151606082015260808101610f30565b5f82518060208501845e5f920191825250919050565b5f806040838503121561371c575f80fd5b825161372781612dce565b6020840151909250612bb081612db256fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212207ee5dc53e8954833b730cfeb187be589e24cdb2fb6e86dcf004e9f8bf884f7f564736f6c634300081a0033",
1132
+ "bytecode": "0x6080604052348015600e575f80fd5b50612cd18061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fdb565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612019565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061207e565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b9190612112565b61033061032b36600461229c565b61098c565b6040516001600160c01b0319909116815260200161027b565b610297610357366004612372565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123a2565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a3660046123ff565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c610477366004612430565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b919061244b565b6103306104d1366004612487565b611039565b61047c6104e4366004612531565b611106565b61047c6104f736600461254e565b611169565b6103835f80516020612c1c83398151915281565b6104b661120c565b6102e8611228565b61038361052e36600461259e565b611243565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b6105766105713660046123ff565b611257565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612608565b611311565b6103835f80516020612c7c83398151915281565b61047c6105f336600461259e565b61135f565b5f610605335b5f36611368565b8260176106128282611466565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161065292919061263b565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106919190612668565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf868661159a565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b9190612683565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126b0565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b03168152602001826001018054610885906126cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108b1906126cb565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061270e565b5f61074b30611626565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611868565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e82611914565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126b0565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b9190612668565b5f610b89611228565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf19190612668565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d9190810190612796565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f8484846119ab565b90505b9392505050565b5f80516020612c1c833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d75929190612866565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e9190612887565b5f610dbd611228565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128a2565b33610e25611228565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a45565b5050565b5f805f80516020612c1c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f329190612668565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061270e565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612c3c83398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152611024610a8a565b156110315761074b611aa5565b61074b61120c565b5f611043336105fe565b866110566001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161108392919061263b565b602060405180830381865afa15801561109e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c29190612668565b6110e15760405163086391f760e31b81523360048201526024016106ac565b6110ec886017611466565b6110fa888888888888611c78565b98975050505050505050565b61110f336105fe565b611117610ea2565b6001600160a01b0316336001600160a01b03161461114a5760405163086391f760e31b81523360048201526024016106ac565b8260176111578282611466565b611162858585611d0f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d4919061270e565b6001600160a01b0316336001600160a01b0316146112065760405162f0630960e01b81523360048201526024016106ac565b50505050565b60408051808201909152606081525f602082015261074b611aa5565b5f80516020612c3c833981519152546001600160a01b031690565b5f61124e82826128bd565b90505b92915050565b5f805f61126384610d34565b90506112967fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130791906128e0565b9250925050915091565b611319610ea2565b6001600160a01b0316336001600160a01b03161461134c5760405163086391f760e31b81523360048201526024016106ac565b611355336105fe565b610e9e8282611d8f565b610e9e336105fe565b5f80516020612c3c8339815191525f806113a0611383611228565b873061139260045f8a8c61290d565b61139b91612934565b611df6565b915091508161145e5763ffffffff81161561143b57825460ff60a01b1916600160a01b1783556113ce611228565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113fd9392919061296c565b5f604051808303815f87803b158015611414575f80fd5b505af1158015611426573d5f803e3d5ffd5b5050845460ff60a01b191685555061145e9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156114b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114da9190612668565b8061156857506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611542573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115669190612668565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612c7c833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611602573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124e91906126b0565b5f805f80516020612c1c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b69190612668565b156116e25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611734573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117589190612668565b6117805760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f691906126b0565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611842610ea2565b60405161185092919061263b565b60405180910390a1546001600160601b031692915050565b5f80516020612c5c83398151915254604051630ded2f7d60e11b81525f915f80516020612c7c833981519152916001600160a01b0390911690631bda5efa906118c5908e908e908e908e908e908e908e908e908e906004016129ab565b6020604051808303815f875af11580156118e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119059190612887565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611987573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126b0565b5f80516020612c5c83398151915254604051632ee59dd760e11b81525f915f80516020612c7c833981519152916001600160a01b0390911690635dcb3bae906119fc90889088908890600401612a2a565b6020604051808303815f875af1158015611a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3c91906126b0565b95945050505050565b5f80516020612c3c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f611acc6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611b10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3491906126b0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb19190612668565b15611c70577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bee610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c2f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c569190810190612a5d565b60208101519092506001600160a01b031615611c70575090565b610fb7611efe565b5f80516020612c5c8339815191525460405163987cb16160e01b81525f915f80516020612c7c833981519152916001600160a01b039091169063987cb16190611ccf908b908b908b908b908b908b90600401612af1565b6020604051808303815f875af1158015611ceb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fa9190612887565b5f80516020612c5c8339815191525460405163ab3fc75f60e01b81525f80516020612c7c833981519152916001600160a01b03169063ab3fc75f90611d5c90879087908790600401612b59565b5f604051808303815f87803b158015611d73575f80fd5b505af1158015611d85573d5f803e3d5ffd5b5050505050505050565b5f80516020612c7c8339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611dcd9085908590600401612b8c565b5f604051808303815f87803b158015611de4575f80fd5b505af115801561145e573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e649190612bd8565b5f60405180830381855afa9150503d805f8114611e9c576040519150601f19603f3d011682016040523d82523d5f602084013e611ea1565b606091505b50915091508115611ef3576040815110611ed35780806020019051810190611ec99190612bee565b9094509250611ef3565b6020815110611ef35780806020019051810190611ef09190612668565b93505b505094509492505050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f018054611f4f906126cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7b906126cb565b8015611fc65780601f10611f9d57610100808354040283529160200191611fc6565b820191905f5260205f20905b815481529060010190602001808311611fa957829003601f168201915b50505091835250505f60209091015292915050565b5f60208284031215611feb575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612016575f80fd5b50565b5f806040838503121561202a575f80fd5b823561203581612002565b9150602083013561204581612002565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120c6608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261210a610100840182612050565b949350505050565b602081525f61124e6020830184612050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561215a5761215a612124565b60405290565b60405160e081016001600160401b038111828210171561215a5761215a612124565b604051601f8201601f191681016001600160401b03811182821017156121aa576121aa612124565b604052919050565b5f6001600160401b038211156121ca576121ca612124565b50601f01601f191660200190565b5f82601f8301126121e7575f80fd5b8135602083015f6121ff6121fa846121b2565b612182565b9050828152858383011115612212575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612016575f80fd5b8035610a418161222c565b63ffffffff81168114612016575f80fd5b8035610a418161224b565b64ffffffffff81168114612016575f80fd5b8035610a4181612267565b8015158114612016575f80fd5b8035610a4181612284565b5f805f805f805f805f6101208a8c0312156122b5575f80fd5b89356001600160401b038111156122ca575f80fd5b6122d68c828d016121d8565b99505060208a01356122e78161222c565b97506122f560408b01612240565b965061230360608b01612240565b955061231160808b0161225c565b945061231f60a08b01612279565b935061232d60c08b01612291565b925061233b60e08b01612291565b91506101008a01356001600160401b03811115612356575f80fd5b6123628c828d016121d8565b9150509295985092959850929598565b5f60208284031215612382575f80fd5b8135610d1281612002565b6001600160c01b031981168114612016575f80fd5b5f805f606084860312156123b4575f80fd5b83356123bf8161222c565b925060208401356123cf8161238d565b915060408401356001600160401b038111156123e9575f80fd5b6123f5868287016121d8565b9150509250925092565b5f6020828403121561240f575f80fd5b81356001600160401b03811115612424575f80fd5b61210a848285016121d8565b5f60208284031215612440575f80fd5b8135610d128161222c565b602081525f8251604060208401526124666060840182612050565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f8060c0878903121561249c575f80fd5b86356124a781612002565b955060208701356001600160401b038111156124c1575f80fd5b6124cd89828a016121d8565b95505060408701356124de8161222c565b935060608701356124ee8161224b565b925060808701356124fe81612267565b915060a08701356001600160401b03811115612518575f80fd5b61252489828a016121d8565b9150509295509295509295565b5f805f60608486031215612543575f80fd5b83356123bf81612002565b5f805f8060808587031215612561575f80fd5b843561256c8161222c565b9350602085013561257c8161222c565b92506040850135915060608501356125938161222c565b939692955090935050565b5f80604083850312156125af575f80fd5b82356125ba8161238d565b946020939093013593505050565b5f604082840312156125d8575f80fd5b6125e0612138565b905081356125ed8161222c565b815260208201356125fd81612002565b602082015292915050565b5f8060808385031215612619575f80fd5b61262384846125c8565b915061263284604085016125c8565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612284565b5f60208284031215612678575f80fd5b8151610d1281612284565b5f60208284031215612693575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a4181612002565b5f602082840312156126c0575f80fd5b8151610d1281612002565b600181811c908216806126df57607f821691505b6020821081036126fd57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a418161222c565b5f6020828403121561271e575f80fd5b8151610d128161222c565b60ff81168114612016575f80fd5b8051610a4181612729565b5f61274f6121fa846121b2565b9050828152838383011115612762575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612787575f80fd5b61124e83835160208501612742565b5f602082840312156127a6575f80fd5b81516001600160401b038111156127bb575f80fd5b820160e081850312156127cc575f80fd5b6127d4612160565b6127dd826126a5565b81526127eb602083016126a5565b60208201526127fc60408301612737565b604082015261280d6060830161265d565b606082015261281e60808301612703565b608082015261282f60a08301612703565b60a082015260c08201516001600160401b0381111561284c575f80fd5b61285886828501612778565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f6040830184612050565b5f60208284031215612897575f80fd5b8151610d128161238d565b5f602082840312156128b2575f80fd5b8151610d1281612729565b808202811582820484141761125157634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156128f1575f80fd5b82516128fc8161222c565b602084015190925061204581612729565b5f808585111561291b575f80fd5b83861115612927575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612965576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129bf61012083018c612050565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a1a8185612050565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a3c90830184612050565b5f60208284031215612a6d575f80fd5b81516001600160401b03811115612a82575f80fd5b820160408185031215612a93575f80fd5b612a9b612138565b81516001600160401b03811115612ab0575f80fd5b8201601f81018613612ac0575f80fd5b612acf86825160208401612742565b82525060208201519150612ae28261222c565b60208101919091529392505050565b6001600160601b038716815260c060208201525f612b1260c0830188612050565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612b4c8185612050565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a3c6060830184612050565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612bff575f80fd5b8251612c0a81612284565b60208401519092506120458161224b56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212208fd89205345b9c0fb1b1b8903ef36bfd3ea96276d4d06b84cf09390ef060a94b64736f6c634300081a0033",
1133
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fdb565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612019565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061207e565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b9190612112565b61033061032b36600461229c565b61098c565b6040516001600160c01b0319909116815260200161027b565b610297610357366004612372565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123a2565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a3660046123ff565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c610477366004612430565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b919061244b565b6103306104d1366004612487565b611039565b61047c6104e4366004612531565b611106565b61047c6104f736600461254e565b611169565b6103835f80516020612c1c83398151915281565b6104b661120c565b6102e8611228565b61038361052e36600461259e565b611243565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b6105766105713660046123ff565b611257565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612608565b611311565b6103835f80516020612c7c83398151915281565b61047c6105f336600461259e565b61135f565b5f610605335b5f36611368565b8260176106128282611466565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161065292919061263b565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106919190612668565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf868661159a565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b9190612683565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126b0565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b03168152602001826001018054610885906126cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108b1906126cb565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061270e565b5f61074b30611626565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611868565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e82611914565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126b0565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b9190612668565b5f610b89611228565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf19190612668565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d9190810190612796565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f8484846119ab565b90505b9392505050565b5f80516020612c1c833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d75929190612866565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e9190612887565b5f610dbd611228565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128a2565b33610e25611228565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a45565b5050565b5f805f80516020612c1c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f329190612668565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061270e565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612c3c83398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152611024610a8a565b156110315761074b611aa5565b61074b61120c565b5f611043336105fe565b866110566001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161108392919061263b565b602060405180830381865afa15801561109e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c29190612668565b6110e15760405163086391f760e31b81523360048201526024016106ac565b6110ec886017611466565b6110fa888888888888611c78565b98975050505050505050565b61110f336105fe565b611117610ea2565b6001600160a01b0316336001600160a01b03161461114a5760405163086391f760e31b81523360048201526024016106ac565b8260176111578282611466565b611162858585611d0f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d4919061270e565b6001600160a01b0316336001600160a01b0316146112065760405162f0630960e01b81523360048201526024016106ac565b50505050565b60408051808201909152606081525f602082015261074b611aa5565b5f80516020612c3c833981519152546001600160a01b031690565b5f61124e82826128bd565b90505b92915050565b5f805f61126384610d34565b90506112967fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130791906128e0565b9250925050915091565b611319610ea2565b6001600160a01b0316336001600160a01b03161461134c5760405163086391f760e31b81523360048201526024016106ac565b611355336105fe565b610e9e8282611d8f565b610e9e336105fe565b5f80516020612c3c8339815191525f806113a0611383611228565b873061139260045f8a8c61290d565b61139b91612934565b611df6565b915091508161145e5763ffffffff81161561143b57825460ff60a01b1916600160a01b1783556113ce611228565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113fd9392919061296c565b5f604051808303815f87803b158015611414575f80fd5b505af1158015611426573d5f803e3d5ffd5b5050845460ff60a01b191685555061145e9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156114b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114da9190612668565b8061156857506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611542573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115669190612668565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612c7c833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611602573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124e91906126b0565b5f805f80516020612c1c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b69190612668565b156116e25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611734573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117589190612668565b6117805760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f691906126b0565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611842610ea2565b60405161185092919061263b565b60405180910390a1546001600160601b031692915050565b5f80516020612c5c83398151915254604051630ded2f7d60e11b81525f915f80516020612c7c833981519152916001600160a01b0390911690631bda5efa906118c5908e908e908e908e908e908e908e908e908e906004016129ab565b6020604051808303815f875af11580156118e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119059190612887565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611987573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126b0565b5f80516020612c5c83398151915254604051632ee59dd760e11b81525f915f80516020612c7c833981519152916001600160a01b0390911690635dcb3bae906119fc90889088908890600401612a2a565b6020604051808303815f875af1158015611a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3c91906126b0565b95945050505050565b5f80516020612c3c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f611acc6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611b10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3491906126b0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb19190612668565b15611c70577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bee610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c2f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c569190810190612a5d565b60208101519092506001600160a01b031615611c70575090565b610fb7611efe565b5f80516020612c5c8339815191525460405163987cb16160e01b81525f915f80516020612c7c833981519152916001600160a01b039091169063987cb16190611ccf908b908b908b908b908b908b90600401612af1565b6020604051808303815f875af1158015611ceb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fa9190612887565b5f80516020612c5c8339815191525460405163ab3fc75f60e01b81525f80516020612c7c833981519152916001600160a01b03169063ab3fc75f90611d5c90879087908790600401612b59565b5f604051808303815f87803b158015611d73575f80fd5b505af1158015611d85573d5f803e3d5ffd5b5050505050505050565b5f80516020612c7c8339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611dcd9085908590600401612b8c565b5f604051808303815f87803b158015611de4575f80fd5b505af115801561145e573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e649190612bd8565b5f60405180830381855afa9150503d805f8114611e9c576040519150601f19603f3d011682016040523d82523d5f602084013e611ea1565b606091505b50915091508115611ef3576040815110611ed35780806020019051810190611ec99190612bee565b9094509250611ef3565b6020815110611ef35780806020019051810190611ef09190612668565b93505b505094509492505050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f018054611f4f906126cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7b906126cb565b8015611fc65780601f10611f9d57610100808354040283529160200191611fc6565b820191905f5260205f20905b815481529060010190602001808311611fa957829003601f168201915b50505091835250505f60209091015292915050565b5f60208284031215611feb575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612016575f80fd5b50565b5f806040838503121561202a575f80fd5b823561203581612002565b9150602083013561204581612002565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120c6608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261210a610100840182612050565b949350505050565b602081525f61124e6020830184612050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561215a5761215a612124565b60405290565b60405160e081016001600160401b038111828210171561215a5761215a612124565b604051601f8201601f191681016001600160401b03811182821017156121aa576121aa612124565b604052919050565b5f6001600160401b038211156121ca576121ca612124565b50601f01601f191660200190565b5f82601f8301126121e7575f80fd5b8135602083015f6121ff6121fa846121b2565b612182565b9050828152858383011115612212575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612016575f80fd5b8035610a418161222c565b63ffffffff81168114612016575f80fd5b8035610a418161224b565b64ffffffffff81168114612016575f80fd5b8035610a4181612267565b8015158114612016575f80fd5b8035610a4181612284565b5f805f805f805f805f6101208a8c0312156122b5575f80fd5b89356001600160401b038111156122ca575f80fd5b6122d68c828d016121d8565b99505060208a01356122e78161222c565b97506122f560408b01612240565b965061230360608b01612240565b955061231160808b0161225c565b945061231f60a08b01612279565b935061232d60c08b01612291565b925061233b60e08b01612291565b91506101008a01356001600160401b03811115612356575f80fd5b6123628c828d016121d8565b9150509295985092959850929598565b5f60208284031215612382575f80fd5b8135610d1281612002565b6001600160c01b031981168114612016575f80fd5b5f805f606084860312156123b4575f80fd5b83356123bf8161222c565b925060208401356123cf8161238d565b915060408401356001600160401b038111156123e9575f80fd5b6123f5868287016121d8565b9150509250925092565b5f6020828403121561240f575f80fd5b81356001600160401b03811115612424575f80fd5b61210a848285016121d8565b5f60208284031215612440575f80fd5b8135610d128161222c565b602081525f8251604060208401526124666060840182612050565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f8060c0878903121561249c575f80fd5b86356124a781612002565b955060208701356001600160401b038111156124c1575f80fd5b6124cd89828a016121d8565b95505060408701356124de8161222c565b935060608701356124ee8161224b565b925060808701356124fe81612267565b915060a08701356001600160401b03811115612518575f80fd5b61252489828a016121d8565b9150509295509295509295565b5f805f60608486031215612543575f80fd5b83356123bf81612002565b5f805f8060808587031215612561575f80fd5b843561256c8161222c565b9350602085013561257c8161222c565b92506040850135915060608501356125938161222c565b939692955090935050565b5f80604083850312156125af575f80fd5b82356125ba8161238d565b946020939093013593505050565b5f604082840312156125d8575f80fd5b6125e0612138565b905081356125ed8161222c565b815260208201356125fd81612002565b602082015292915050565b5f8060808385031215612619575f80fd5b61262384846125c8565b915061263284604085016125c8565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612284565b5f60208284031215612678575f80fd5b8151610d1281612284565b5f60208284031215612693575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a4181612002565b5f602082840312156126c0575f80fd5b8151610d1281612002565b600181811c908216806126df57607f821691505b6020821081036126fd57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a418161222c565b5f6020828403121561271e575f80fd5b8151610d128161222c565b60ff81168114612016575f80fd5b8051610a4181612729565b5f61274f6121fa846121b2565b9050828152838383011115612762575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612787575f80fd5b61124e83835160208501612742565b5f602082840312156127a6575f80fd5b81516001600160401b038111156127bb575f80fd5b820160e081850312156127cc575f80fd5b6127d4612160565b6127dd826126a5565b81526127eb602083016126a5565b60208201526127fc60408301612737565b604082015261280d6060830161265d565b606082015261281e60808301612703565b608082015261282f60a08301612703565b60a082015260c08201516001600160401b0381111561284c575f80fd5b61285886828501612778565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f6040830184612050565b5f60208284031215612897575f80fd5b8151610d128161238d565b5f602082840312156128b2575f80fd5b8151610d1281612729565b808202811582820484141761125157634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156128f1575f80fd5b82516128fc8161222c565b602084015190925061204581612729565b5f808585111561291b575f80fd5b83861115612927575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612965576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129bf61012083018c612050565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a1a8185612050565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a3c90830184612050565b5f60208284031215612a6d575f80fd5b81516001600160401b03811115612a82575f80fd5b820160408185031215612a93575f80fd5b612a9b612138565b81516001600160401b03811115612ab0575f80fd5b8201601f81018613612ac0575f80fd5b612acf86825160208401612742565b82525060208201519150612ae28261222c565b60208101919091529392505050565b6001600160601b038716815260c060208201525f612b1260c0830188612050565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612b4c8185612050565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a3c6060830184612050565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612bff575f80fd5b8251612c0a81612284565b60208401519092506120458161224b56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212208fd89205345b9c0fb1b1b8903ef36bfd3ea96276d4d06b84cf09390ef060a94b64736f6c634300081a0033",
1238
1134
  "linkReferences": {
1239
- "contracts/type/Amount.sol": {
1240
- "AmountLib": [
1135
+ "contracts/type/NftId.sol": {
1136
+ "NftIdLib": [
1241
1137
  {
1242
1138
  "length": 20,
1243
- "start": 3100
1139
+ "start": 2003
1244
1140
  },
1245
1141
  {
1246
1142
  "length": 20,
1247
- "start": 3201
1143
+ "start": 2880
1248
1144
  },
1249
1145
  {
1250
1146
  "length": 20,
1251
- "start": 5950
1147
+ "start": 3826
1252
1148
  },
1253
1149
  {
1254
1150
  "length": 20,
1255
- "start": 6206
1151
+ "start": 5750
1256
1152
  },
1257
1153
  {
1258
1154
  "length": 20,
1259
- "start": 8304
1155
+ "start": 7025
1260
1156
  }
1261
1157
  ]
1262
1158
  },
1263
- "contracts/type/NftId.sol": {
1264
- "NftIdLib": [
1265
- {
1266
- "length": 20,
1267
- "start": 2024
1268
- },
1269
- {
1270
- "length": 20,
1271
- "start": 2670
1272
- },
1273
- {
1274
- "length": 20,
1275
- "start": 4380
1276
- },
1277
- {
1278
- "length": 20,
1279
- "start": 4738
1280
- },
1159
+ "contracts/type/ObjectType.sol": {
1160
+ "ObjectTypeLib": [
1281
1161
  {
1282
1162
  "length": 20,
1283
- "start": 7473
1284
- },
1285
- {
1286
- "length": 20,
1287
- "start": 8683
1288
- },
1289
- {
1290
- "length": 20,
1291
- "start": 9290
1292
- },
1293
- {
1294
- "length": 20,
1295
- "start": 9924
1296
- },
1297
- {
1298
- "length": 20,
1299
- "start": 10107
1163
+ "start": 5274
1300
1164
  }
1301
1165
  ]
1302
1166
  },
@@ -1304,81 +1168,49 @@
1304
1168
  "ReferralLib": [
1305
1169
  {
1306
1170
  "length": 20,
1307
- "start": 3953
1171
+ "start": 3411
1308
1172
  }
1309
1173
  ]
1310
1174
  },
1311
1175
  "contracts/type/Version.sol": {
1312
- "VersionPartLib": [
1176
+ "VersionLib": [
1313
1177
  {
1314
1178
  "length": 20,
1315
- "start": 4102
1179
+ "start": 1803
1316
1180
  }
1317
1181
  ]
1318
1182
  }
1319
1183
  },
1320
1184
  "deployedLinkReferences": {
1321
- "contracts/type/Amount.sol": {
1322
- "AmountLib": [
1185
+ "contracts/type/NftId.sol": {
1186
+ "NftIdLib": [
1323
1187
  {
1324
1188
  "length": 20,
1325
- "start": 3072
1189
+ "start": 1975
1326
1190
  },
1327
1191
  {
1328
1192
  "length": 20,
1329
- "start": 3173
1193
+ "start": 2852
1330
1194
  },
1331
1195
  {
1332
1196
  "length": 20,
1333
- "start": 5922
1197
+ "start": 3798
1334
1198
  },
1335
1199
  {
1336
1200
  "length": 20,
1337
- "start": 6178
1201
+ "start": 5722
1338
1202
  },
1339
1203
  {
1340
1204
  "length": 20,
1341
- "start": 8276
1205
+ "start": 6997
1342
1206
  }
1343
1207
  ]
1344
1208
  },
1345
- "contracts/type/NftId.sol": {
1346
- "NftIdLib": [
1347
- {
1348
- "length": 20,
1349
- "start": 1996
1350
- },
1351
- {
1352
- "length": 20,
1353
- "start": 2642
1354
- },
1355
- {
1356
- "length": 20,
1357
- "start": 4352
1358
- },
1359
- {
1360
- "length": 20,
1361
- "start": 4710
1362
- },
1363
- {
1364
- "length": 20,
1365
- "start": 7445
1366
- },
1367
- {
1368
- "length": 20,
1369
- "start": 8655
1370
- },
1371
- {
1372
- "length": 20,
1373
- "start": 9262
1374
- },
1375
- {
1376
- "length": 20,
1377
- "start": 9896
1378
- },
1209
+ "contracts/type/ObjectType.sol": {
1210
+ "ObjectTypeLib": [
1379
1211
  {
1380
1212
  "length": 20,
1381
- "start": 10079
1213
+ "start": 5246
1382
1214
  }
1383
1215
  ]
1384
1216
  },
@@ -1386,15 +1218,15 @@
1386
1218
  "ReferralLib": [
1387
1219
  {
1388
1220
  "length": 20,
1389
- "start": 3925
1221
+ "start": 3383
1390
1222
  }
1391
1223
  ]
1392
1224
  },
1393
1225
  "contracts/type/Version.sol": {
1394
- "VersionPartLib": [
1226
+ "VersionLib": [
1395
1227
  {
1396
1228
  "length": 20,
1397
- "start": 4074
1229
+ "start": 1775
1398
1230
  }
1399
1231
  ]
1400
1232
  }