@etherisc/gif-next 0.0.2-d13bb9e-069 → 0.0.2-d18e1c5-511

Sign up to get free protection for your applications and to get access to all the features.
Files changed (571) hide show
  1. package/README.md +91 -7
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +684 -254
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +560 -201
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +204 -312
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +123 -196
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +629 -225
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +195 -83
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -170
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +429 -77
  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 +227 -244
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +430 -35
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +445 -348
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +427 -36
  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 +805 -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 +805 -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 +805 -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 +293 -275
  69. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  72. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -185
  73. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +343 -251
  75. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  76. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  77. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  78. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +957 -362
  79. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -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} +55 -197
  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/{shared/KeyValueStore.sol/KeyValueStore.json → instance/IBaseStore.sol/IBaseStore.json} +34 -227
  87. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  88. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +578 -65
  89. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +395 -60
  91. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  92. package/artifacts/contracts/instance/Instance.sol/Instance.json +641 -119
  93. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  94. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1023 -362
  95. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +328 -92
  97. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1131 -553
  99. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +416 -131
  101. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +119 -61
  103. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1290 -1858
  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 +46 -5
  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 +161 -193
  128. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  129. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +424 -37
  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 +116 -119
  133. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  134. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  135. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  136. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +137 -145
  137. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  138. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +196 -81
  139. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +153 -53
  141. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  142. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +165 -209
  143. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  144. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  145. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  146. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +347 -340
  147. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +144 -100
  149. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  150. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -145
  151. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  152. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +131 -173
  153. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  154. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +400 -218
  155. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  156. package/artifacts/contracts/pool/Pool.sol/Pool.json +144 -191
  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 +626 -405
  161. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +187 -79
  163. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +356 -57
  165. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +142 -50
  167. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  168. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +284 -233
  169. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  170. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  171. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  172. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +323 -184
  173. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +153 -93
  175. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  176. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  177. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  178. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +209 -18
  179. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  180. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +194 -54
  181. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +140 -37
  183. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  184. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +254 -198
  185. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  186. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +286 -21
  187. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  188. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +320 -184
  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 -85
  193. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  194. package/artifacts/contracts/product/PricingService.sol/PricingService.json +197 -130
  195. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +134 -66
  197. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  198. package/artifacts/contracts/product/Product.sol/Product.json +274 -223
  199. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  200. package/artifacts/contracts/product/RiskService.sol/RiskService.json +367 -82
  201. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +142 -50
  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 +125 -33
  207. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  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/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  213. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  214. package/artifacts/contracts/registry/Registry.sol/Registry.json +169 -69
  215. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  216. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +766 -464
  217. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  218. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  219. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  220. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +206 -70
  221. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  222. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +118 -46
  223. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  224. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  225. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  226. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  227. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  228. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +478 -258
  229. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  230. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  231. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  232. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  233. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  234. package/artifacts/contracts/shared/Component.sol/Component.json +113 -103
  235. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  236. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +495 -517
  237. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  238. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +154 -86
  239. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  240. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +544 -4
  241. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  242. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  243. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  244. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  245. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  246. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  247. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +93 -78
  249. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  251. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  252. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -119
  253. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  254. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  255. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  256. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  257. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  258. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  260. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  261. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  262. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  263. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  264. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  265. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  266. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +136 -144
  267. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  269. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  270. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  271. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  272. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +37 -2
  273. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  274. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  275. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  276. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +171 -38
  277. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  278. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  279. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  280. package/artifacts/contracts/shared/Service.sol/Service.json +84 -2
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  282. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  283. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  284. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  285. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  286. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  287. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  288. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1492 -183
  289. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  290. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  291. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  292. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  293. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  294. package/artifacts/contracts/staking/Staking.sol/Staking.json +1651 -304
  295. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  296. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  297. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  298. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +163 -66
  299. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  300. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  301. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  302. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +281 -173
  303. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  304. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +121 -53
  305. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  306. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
  307. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  308. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  309. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  310. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  311. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  312. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
  314. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  316. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  318. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  320. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  322. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  324. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  326. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  327. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  328. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  330. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  331. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  332. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +49 -50
  334. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  336. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  338. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  340. package/artifacts/contracts/type/RequestIdSet.sol/RequestIdSet.dbg.json +4 -0
  341. package/artifacts/contracts/type/RequestIdSet.sol/RequestIdSet.json +33 -0
  342. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +69 -7
  344. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  346. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +64 -2
  348. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  350. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  352. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  353. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  354. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  355. package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
  356. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  357. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  358. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  359. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
  360. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  361. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  362. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  363. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  364. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  365. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  366. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  367. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +95 -25
  368. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  369. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  370. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  371. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  372. package/contracts/accounting/AccountingService.sol +274 -0
  373. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  374. package/contracts/accounting/IAccountingService.sol +47 -0
  375. package/contracts/authorization/AccessAdmin.sol +460 -272
  376. package/contracts/authorization/AccessAdminLib.sol +396 -0
  377. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  378. package/contracts/authorization/Authorization.sol +159 -211
  379. package/contracts/authorization/IAccess.sol +25 -6
  380. package/contracts/authorization/IAccessAdmin.sol +87 -78
  381. package/contracts/authorization/IAuthorization.sol +9 -37
  382. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  383. package/contracts/authorization/ServiceAuthorization.sol +255 -25
  384. package/contracts/distribution/BasicDistribution.sol +21 -19
  385. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  386. package/contracts/distribution/Distribution.sol +45 -95
  387. package/contracts/distribution/DistributionService.sol +221 -109
  388. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  389. package/contracts/distribution/IDistributionComponent.sol +4 -11
  390. package/contracts/distribution/IDistributionService.sol +38 -24
  391. package/contracts/examples/fire/FirePool.sol +24 -13
  392. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  393. package/contracts/examples/fire/FireProduct.sol +79 -56
  394. package/contracts/examples/fire/FireProductAuthorization.sol +3 -3
  395. package/contracts/examples/flight/FlightLib.sol +279 -0
  396. package/contracts/examples/flight/FlightOracle.sol +167 -0
  397. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  398. package/contracts/examples/flight/FlightPool.sol +89 -0
  399. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  400. package/contracts/examples/flight/FlightProduct.sol +470 -0
  401. package/contracts/examples/flight/FlightProductAuthorization.sol +44 -0
  402. package/contracts/examples/flight/FlightUSD.sol +26 -0
  403. package/contracts/examples/flight/originalV1.sol +396 -0
  404. package/contracts/examples/unpermissioned/SimpleDistribution.sol +43 -12
  405. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  406. package/contracts/examples/unpermissioned/SimpleOracle.sol +8 -12
  407. package/contracts/examples/unpermissioned/SimplePool.sol +36 -10
  408. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  409. package/contracts/examples/unpermissioned/SimpleProduct.sol +134 -48
  410. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  411. package/contracts/instance/BaseStore.sol +93 -0
  412. package/contracts/instance/BundleSet.sol +42 -38
  413. package/contracts/instance/IBaseStore.sol +37 -0
  414. package/contracts/instance/IInstance.sol +111 -18
  415. package/contracts/instance/IInstanceService.sol +61 -34
  416. package/contracts/instance/Instance.sol +196 -74
  417. package/contracts/instance/InstanceAdmin.sol +270 -179
  418. package/contracts/instance/InstanceAuthorizationV3.sol +152 -81
  419. package/contracts/instance/InstanceReader.sol +453 -314
  420. package/contracts/instance/InstanceService.sol +313 -264
  421. package/contracts/instance/InstanceServiceManager.sol +1 -1
  422. package/contracts/instance/InstanceStore.sol +152 -116
  423. package/contracts/instance/ProductStore.sol +290 -0
  424. package/contracts/instance/RiskSet.sol +126 -0
  425. package/contracts/instance/TargetNames.sol +10 -0
  426. package/contracts/instance/base/BalanceStore.sol +4 -6
  427. package/contracts/instance/base/ObjectCounter.sol +1 -2
  428. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  429. package/contracts/instance/base/ObjectSet.sol +31 -33
  430. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  431. package/contracts/instance/module/IBundle.sol +6 -5
  432. package/contracts/instance/module/IComponents.sol +25 -13
  433. package/contracts/instance/module/IDistribution.sol +21 -8
  434. package/contracts/instance/module/IPolicy.sol +28 -7
  435. package/contracts/instance/module/IRisk.sol +5 -0
  436. package/contracts/oracle/BasicOracle.sol +3 -7
  437. package/contracts/oracle/BasicOracleAuthorization.sol +14 -8
  438. package/contracts/oracle/IOracle.sol +9 -4
  439. package/contracts/oracle/IOracleService.sol +14 -13
  440. package/contracts/oracle/Oracle.sol +9 -24
  441. package/contracts/oracle/OracleService.sol +113 -84
  442. package/contracts/oracle/OracleServiceManager.sol +1 -1
  443. package/contracts/pool/BasicPool.sol +35 -40
  444. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  445. package/contracts/pool/BundleService.sol +112 -187
  446. package/contracts/pool/BundleServiceManager.sol +1 -1
  447. package/contracts/pool/IBundleService.sol +28 -55
  448. package/contracts/pool/IPoolComponent.sol +1 -7
  449. package/contracts/pool/IPoolService.sol +65 -66
  450. package/contracts/pool/Pool.sol +114 -136
  451. package/contracts/pool/PoolLib.sol +341 -0
  452. package/contracts/pool/PoolService.sol +308 -257
  453. package/contracts/pool/PoolServiceManager.sol +1 -1
  454. package/contracts/product/ApplicationService.sol +102 -26
  455. package/contracts/product/ApplicationServiceManager.sol +1 -1
  456. package/contracts/product/BasicProduct.sol +10 -15
  457. package/contracts/product/BasicProductAuthorization.sol +33 -12
  458. package/contracts/product/ClaimService.sol +241 -196
  459. package/contracts/product/ClaimServiceManager.sol +1 -1
  460. package/contracts/product/IApplicationService.sol +28 -3
  461. package/contracts/product/IClaimService.sol +18 -5
  462. package/contracts/product/IPolicyService.sol +34 -12
  463. package/contracts/product/IPricingService.sol +10 -9
  464. package/contracts/product/IProductComponent.sol +10 -1
  465. package/contracts/product/IRiskService.sol +25 -10
  466. package/contracts/product/PolicyService.sol +264 -305
  467. package/contracts/product/PolicyServiceLib.sol +139 -0
  468. package/contracts/product/PolicyServiceManager.sol +1 -1
  469. package/contracts/product/PricingService.sol +58 -52
  470. package/contracts/product/PricingServiceManager.sol +3 -3
  471. package/contracts/product/Product.sol +136 -77
  472. package/contracts/product/RiskService.sol +130 -37
  473. package/contracts/product/RiskServiceManager.sol +1 -1
  474. package/contracts/registry/ChainNft.sol +10 -11
  475. package/contracts/registry/IRegistry.sol +29 -27
  476. package/contracts/registry/IRegistryService.sol +6 -4
  477. package/contracts/registry/IRelease.sol +29 -0
  478. package/contracts/registry/ITransferInterceptor.sol +1 -2
  479. package/contracts/registry/Registry.sol +44 -15
  480. package/contracts/registry/RegistryAdmin.sol +107 -380
  481. package/contracts/registry/RegistryAuthorization.sol +336 -0
  482. package/contracts/registry/RegistryService.sol +41 -59
  483. package/contracts/registry/RegistryServiceManager.sol +1 -1
  484. package/contracts/registry/ReleaseAdmin.sol +195 -0
  485. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  486. package/contracts/registry/ReleaseRegistry.sol +278 -244
  487. package/contracts/registry/ServiceAuthorizationV3.sol +203 -59
  488. package/contracts/registry/TokenRegistry.sol +61 -59
  489. package/contracts/shared/Component.sol +67 -125
  490. package/contracts/shared/ComponentService.sol +425 -375
  491. package/contracts/shared/ComponentServiceManager.sol +1 -1
  492. package/contracts/shared/ContractLib.sol +277 -3
  493. package/contracts/shared/IComponent.sol +6 -18
  494. package/contracts/shared/IComponentService.sol +43 -40
  495. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  496. package/contracts/shared/ILifecycle.sol +3 -1
  497. package/contracts/shared/INftOwnable.sol +4 -0
  498. package/contracts/shared/IRegisterable.sol +22 -1
  499. package/contracts/shared/IService.sol +3 -5
  500. package/contracts/shared/InitializableERC165.sol +9 -1
  501. package/contracts/shared/InstanceLinkedComponent.sol +114 -53
  502. package/contracts/shared/Lifecycle.sol +15 -4
  503. package/contracts/shared/NftOwnable.sol +29 -7
  504. package/contracts/shared/PolicyHolder.sol +4 -3
  505. package/contracts/shared/Registerable.sol +50 -19
  506. package/contracts/shared/RegistryLinked.sol +7 -13
  507. package/contracts/shared/Service.sol +14 -34
  508. package/contracts/shared/TokenHandler.sol +275 -72
  509. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  510. package/contracts/staking/IStaking.sol +271 -72
  511. package/contracts/staking/IStakingService.sol +45 -78
  512. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  513. package/contracts/staking/Staking.sol +524 -225
  514. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  515. package/contracts/staking/StakingManager.sol +4 -3
  516. package/contracts/staking/StakingReader.sol +70 -82
  517. package/contracts/staking/StakingService.sol +62 -148
  518. package/contracts/staking/StakingServiceManager.sol +6 -4
  519. package/contracts/staking/StakingStore.sol +1093 -330
  520. package/contracts/staking/TargetHandler.sol +132 -0
  521. package/contracts/staking/TargetManagerLib.sol +69 -46
  522. package/contracts/type/Amount.sol +4 -0
  523. package/contracts/type/Blocknumber.sol +15 -15
  524. package/contracts/type/ChainId.sol +101 -0
  525. package/contracts/type/Fee.sol +8 -8
  526. package/contracts/type/Key32.sol +2 -2
  527. package/contracts/type/Key32Set.sol +62 -0
  528. package/contracts/type/NftId.sol +6 -0
  529. package/contracts/type/ObjectType.sol +71 -68
  530. package/contracts/type/Referral.sol +6 -0
  531. package/contracts/type/RequestIdSet.sol +62 -0
  532. package/contracts/type/RiskId.sol +26 -8
  533. package/contracts/type/RoleId.sol +61 -55
  534. package/contracts/type/Seconds.sol +23 -0
  535. package/contracts/type/Selector.sol +5 -0
  536. package/contracts/type/StateId.sol +14 -1
  537. package/contracts/type/String.sol +42 -0
  538. package/contracts/type/Timestamp.sol +14 -8
  539. package/contracts/type/UFixed.sol +35 -127
  540. package/contracts/type/Version.sol +54 -5
  541. package/contracts/upgradeability/IVersionable.sol +3 -0
  542. package/contracts/upgradeability/ProxyManager.sol +27 -12
  543. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  544. package/contracts/upgradeability/Versionable.sol +6 -3
  545. package/package.json +5 -4
  546. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  547. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  548. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  549. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  550. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  551. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  552. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  553. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -432
  554. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  555. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  556. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  557. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  558. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  559. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  560. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  561. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  562. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  563. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  564. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  565. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  566. package/contracts/instance/module/IAccess.sol +0 -46
  567. package/contracts/shared/ComponentVerifyingService.sol +0 -116
  568. package/contracts/shared/IKeyValueStore.sol +0 -54
  569. package/contracts/shared/InitializableCustom.sol +0 -177
  570. package/contracts/shared/KeyValueStore.sol +0 -131
  571. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -12,7 +12,7 @@
12
12
  },
13
13
  {
14
14
  "internalType": "NftId",
15
- "name": "instanceNftId",
15
+ "name": "productNftId",
16
16
  "type": "uint96"
17
17
  },
18
18
  {
@@ -24,11 +24,6 @@
24
24
  "internalType": "address",
25
25
  "name": "initialOwner",
26
26
  "type": "address"
27
- },
28
- {
29
- "internalType": "address",
30
- "name": "token",
31
- "type": "address"
32
27
  }
33
28
  ],
34
29
  "stateMutability": "nonpayable",
@@ -72,41 +67,41 @@
72
67
  "name": "AccessManagedUnauthorized",
73
68
  "type": "error"
74
69
  },
75
- {
76
- "inputs": [],
77
- "name": "ErrorComponentNameLengthZero",
78
- "type": "error"
79
- },
80
70
  {
81
71
  "inputs": [
82
72
  {
83
73
  "internalType": "address",
84
- "name": "caller",
74
+ "name": "authority",
85
75
  "type": "address"
86
76
  }
87
77
  ],
88
- "name": "ErrorComponentNotChainNft",
78
+ "name": "ErrorAuthorityInvalid",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorComponentNameLengthZero",
89
84
  "type": "error"
90
85
  },
91
86
  {
92
87
  "inputs": [
93
88
  {
94
- "internalType": "NftId",
95
- "name": "instanceNftId",
96
- "type": "uint96"
89
+ "internalType": "address",
90
+ "name": "caller",
91
+ "type": "address"
97
92
  }
98
93
  ],
99
- "name": "ErrorComponentNotInstance",
94
+ "name": "ErrorComponentNotChainNft",
100
95
  "type": "error"
101
96
  },
102
97
  {
103
98
  "inputs": [],
104
- "name": "ErrorComponentProductNftAlreadySet",
99
+ "name": "ErrorComponentProductNftIdNonzero",
105
100
  "type": "error"
106
101
  },
107
102
  {
108
103
  "inputs": [],
109
- "name": "ErrorComponentTokenAddressZero",
104
+ "name": "ErrorComponentProductNftIdZero",
110
105
  "type": "error"
111
106
  },
112
107
  {
@@ -126,29 +121,34 @@
126
121
  },
127
122
  {
128
123
  "inputs": [
129
- {
130
- "internalType": "address",
131
- "name": "distributor",
132
- "type": "address"
133
- },
134
124
  {
135
125
  "internalType": "NftId",
136
- "name": "distributorNftId",
126
+ "name": "nftId",
137
127
  "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "objectType",
132
+ "type": "uint8"
138
133
  }
139
134
  ],
140
- "name": "ErrorDistributionAlreadyDistributor",
135
+ "name": "ErrorInstanceLinkedComponentNotProduct",
141
136
  "type": "error"
142
137
  },
143
138
  {
144
139
  "inputs": [
145
140
  {
146
- "internalType": "address",
147
- "name": "distributor",
148
- "type": "address"
141
+ "internalType": "ObjectType",
142
+ "name": "requiredType",
143
+ "type": "uint8"
144
+ },
145
+ {
146
+ "internalType": "ObjectType",
147
+ "name": "objectType",
148
+ "type": "uint8"
149
149
  }
150
150
  ],
151
- "name": "ErrorDistributionNotDistributor",
151
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
152
152
  "type": "error"
153
153
  },
154
154
  {
@@ -178,6 +178,22 @@
178
178
  "name": "ErrorNftOwnableInitialOwnerZero",
179
179
  "type": "error"
180
180
  },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedObjectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorNftOwnableInvalidType",
195
+ "type": "error"
196
+ },
181
197
  {
182
198
  "inputs": [
183
199
  {
@@ -200,6 +216,11 @@
200
216
  "name": "ErrorNotRegistry",
201
217
  "type": "error"
202
218
  },
219
+ {
220
+ "inputs": [],
221
+ "name": "ErrorRegisterableNotActive",
222
+ "type": "error"
223
+ },
203
224
  {
204
225
  "inputs": [],
205
226
  "name": "InvalidInitialization",
@@ -239,6 +260,12 @@
239
260
  {
240
261
  "anonymous": false,
241
262
  "inputs": [
263
+ {
264
+ "indexed": false,
265
+ "internalType": "address",
266
+ "name": "tokenHandler",
267
+ "type": "address"
268
+ },
242
269
  {
243
270
  "indexed": false,
244
271
  "internalType": "address",
@@ -250,6 +277,12 @@
250
277
  "internalType": "Amount",
251
278
  "name": "limit",
252
279
  "type": "uint96"
280
+ },
281
+ {
282
+ "indexed": false,
283
+ "internalType": "bool",
284
+ "name": "isMaxAmount",
285
+ "type": "bool"
253
286
  }
254
287
  ],
255
288
  "name": "LogComponentTokenHandlerApproved",
@@ -311,13 +344,32 @@
311
344
  {
312
345
  "indexed": false,
313
346
  "internalType": "address",
314
- "name": "caller",
347
+ "name": "operator",
315
348
  "type": "address"
316
349
  }
317
350
  ],
318
351
  "name": "LogDistributorUpdated",
319
352
  "type": "event"
320
353
  },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "NftId",
360
+ "name": "nftId",
361
+ "type": "uint96"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "address",
366
+ "name": "owner",
367
+ "type": "address"
368
+ }
369
+ ],
370
+ "name": "LogNftOwnableNftLinkedToAddress",
371
+ "type": "event"
372
+ },
321
373
  {
322
374
  "inputs": [],
323
375
  "name": "COMPONENT_LOCATION_V1",
@@ -386,26 +438,13 @@
386
438
  {
387
439
  "inputs": [
388
440
  {
389
- "internalType": "address",
441
+ "internalType": "contract IERC20Metadata",
390
442
  "name": "token",
391
443
  "type": "address"
392
444
  },
393
445
  {
394
446
  "internalType": "Amount",
395
- "name": "spendingLimitAmount",
396
- "type": "uint96"
397
- }
398
- ],
399
- "name": "approveTokenHandler",
400
- "outputs": [],
401
- "stateMutability": "nonpayable",
402
- "type": "function"
403
- },
404
- {
405
- "inputs": [
406
- {
407
- "internalType": "Amount",
408
- "name": "spendingLimitAmount",
447
+ "name": "amount",
409
448
  "type": "uint96"
410
449
  }
411
450
  ],
@@ -431,7 +470,7 @@
431
470
  "inputs": [
432
471
  {
433
472
  "internalType": "ReferralId",
434
- "name": "referralId",
473
+ "name": "",
435
474
  "type": "bytes8"
436
475
  },
437
476
  {
@@ -451,6 +490,29 @@
451
490
  "stateMutability": "view",
452
491
  "type": "function"
453
492
  },
493
+ {
494
+ "inputs": [
495
+ {
496
+ "internalType": "NftId",
497
+ "name": "distributorNftId",
498
+ "type": "uint96"
499
+ },
500
+ {
501
+ "internalType": "DistributorType",
502
+ "name": "distributorType",
503
+ "type": "bytes8"
504
+ },
505
+ {
506
+ "internalType": "bytes",
507
+ "name": "data",
508
+ "type": "bytes"
509
+ }
510
+ ],
511
+ "name": "changeDistributorType",
512
+ "outputs": [],
513
+ "stateMutability": "nonpayable",
514
+ "type": "function"
515
+ },
454
516
  {
455
517
  "inputs": [
456
518
  {
@@ -490,17 +552,17 @@
490
552
  {
491
553
  "internalType": "UFixed",
492
554
  "name": "minDiscountPercentage",
493
- "type": "uint256"
555
+ "type": "uint160"
494
556
  },
495
557
  {
496
558
  "internalType": "UFixed",
497
559
  "name": "maxDiscountPercentage",
498
- "type": "uint256"
560
+ "type": "uint160"
499
561
  },
500
562
  {
501
563
  "internalType": "UFixed",
502
564
  "name": "commissionPercentage",
503
- "type": "uint256"
565
+ "type": "uint160"
504
566
  },
505
567
  {
506
568
  "internalType": "uint32",
@@ -508,9 +570,9 @@
508
570
  "type": "uint32"
509
571
  },
510
572
  {
511
- "internalType": "uint32",
573
+ "internalType": "Seconds",
512
574
  "name": "maxReferralLifetime",
513
- "type": "uint32"
575
+ "type": "uint40"
514
576
  },
515
577
  {
516
578
  "internalType": "bool",
@@ -541,6 +603,11 @@
541
603
  },
542
604
  {
543
605
  "inputs": [
606
+ {
607
+ "internalType": "NftId",
608
+ "name": "distributorNftId",
609
+ "type": "uint96"
610
+ },
544
611
  {
545
612
  "internalType": "string",
546
613
  "name": "code",
@@ -549,7 +616,7 @@
549
616
  {
550
617
  "internalType": "UFixed",
551
618
  "name": "discountPercentage",
552
- "type": "uint256"
619
+ "type": "uint160"
553
620
  },
554
621
  {
555
622
  "internalType": "uint32",
@@ -578,6 +645,50 @@
578
645
  "stateMutability": "nonpayable",
579
646
  "type": "function"
580
647
  },
648
+ {
649
+ "inputs": [
650
+ {
651
+ "internalType": "NftId",
652
+ "name": "distributorNftId",
653
+ "type": "uint96"
654
+ },
655
+ {
656
+ "internalType": "string",
657
+ "name": "code",
658
+ "type": "string"
659
+ },
660
+ {
661
+ "internalType": "UFixed",
662
+ "name": "discountPercentage",
663
+ "type": "uint160"
664
+ },
665
+ {
666
+ "internalType": "uint32",
667
+ "name": "maxReferrals",
668
+ "type": "uint32"
669
+ },
670
+ {
671
+ "internalType": "Timestamp",
672
+ "name": "expiryAt",
673
+ "type": "uint40"
674
+ },
675
+ {
676
+ "internalType": "bytes",
677
+ "name": "data",
678
+ "type": "bytes"
679
+ }
680
+ ],
681
+ "name": "createReferral2",
682
+ "outputs": [
683
+ {
684
+ "internalType": "ReferralId",
685
+ "name": "referralId",
686
+ "type": "bytes8"
687
+ }
688
+ ],
689
+ "stateMutability": "nonpayable",
690
+ "type": "function"
691
+ },
581
692
  {
582
693
  "inputs": [],
583
694
  "name": "getAuthorization",
@@ -602,30 +713,10 @@
602
713
  "name": "name",
603
714
  "type": "string"
604
715
  },
605
- {
606
- "internalType": "NftId",
607
- "name": "productNftId",
608
- "type": "uint96"
609
- },
610
- {
611
- "internalType": "contract IERC20Metadata",
612
- "name": "token",
613
- "type": "address"
614
- },
615
716
  {
616
717
  "internalType": "contract TokenHandler",
617
718
  "name": "tokenHandler",
618
719
  "type": "address"
619
- },
620
- {
621
- "internalType": "address",
622
- "name": "wallet",
623
- "type": "address"
624
- },
625
- {
626
- "internalType": "bytes",
627
- "name": "data",
628
- "type": "bytes"
629
720
  }
630
721
  ],
631
722
  "internalType": "struct IComponents.ComponentInfo",
@@ -649,7 +740,7 @@
649
740
  {
650
741
  "internalType": "UFixed",
651
742
  "name": "discountPercentage",
652
- "type": "uint256"
743
+ "type": "uint160"
653
744
  },
654
745
  {
655
746
  "internalType": "ReferralStatus",
@@ -660,25 +751,6 @@
660
751
  "stateMutability": "view",
661
752
  "type": "function"
662
753
  },
663
- {
664
- "inputs": [
665
- {
666
- "internalType": "address",
667
- "name": "distributor",
668
- "type": "address"
669
- }
670
- ],
671
- "name": "getDistributorNftId",
672
- "outputs": [
673
- {
674
- "internalType": "NftId",
675
- "name": "distributorNftId",
676
- "type": "uint96"
677
- }
678
- ],
679
- "stateMutability": "view",
680
- "type": "function"
681
- },
682
754
  {
683
755
  "inputs": [],
684
756
  "name": "getInitialComponentInfo",
@@ -690,30 +762,10 @@
690
762
  "name": "name",
691
763
  "type": "string"
692
764
  },
693
- {
694
- "internalType": "NftId",
695
- "name": "productNftId",
696
- "type": "uint96"
697
- },
698
- {
699
- "internalType": "contract IERC20Metadata",
700
- "name": "token",
701
- "type": "address"
702
- },
703
765
  {
704
766
  "internalType": "contract TokenHandler",
705
767
  "name": "tokenHandler",
706
768
  "type": "address"
707
- },
708
- {
709
- "internalType": "address",
710
- "name": "wallet",
711
- "type": "address"
712
- },
713
- {
714
- "internalType": "bytes",
715
- "name": "data",
716
- "type": "bytes"
717
769
  }
718
770
  ],
719
771
  "internalType": "struct IComponents.ComponentInfo",
@@ -826,19 +878,6 @@
826
878
  "stateMutability": "view",
827
879
  "type": "function"
828
880
  },
829
- {
830
- "inputs": [],
831
- "name": "getProductNftId",
832
- "outputs": [
833
- {
834
- "internalType": "NftId",
835
- "name": "productNftId",
836
- "type": "uint96"
837
- }
838
- ],
839
- "stateMutability": "view",
840
- "type": "function"
841
- },
842
881
  {
843
882
  "inputs": [
844
883
  {
@@ -871,6 +910,19 @@
871
910
  "stateMutability": "view",
872
911
  "type": "function"
873
912
  },
913
+ {
914
+ "inputs": [],
915
+ "name": "getRelease",
916
+ "outputs": [
917
+ {
918
+ "internalType": "VersionPart",
919
+ "name": "release",
920
+ "type": "uint8"
921
+ }
922
+ ],
923
+ "stateMutability": "view",
924
+ "type": "function"
925
+ },
874
926
  {
875
927
  "inputs": [],
876
928
  "name": "getToken",
@@ -897,6 +949,19 @@
897
949
  "stateMutability": "view",
898
950
  "type": "function"
899
951
  },
952
+ {
953
+ "inputs": [],
954
+ "name": "getVersion",
955
+ "outputs": [
956
+ {
957
+ "internalType": "Version",
958
+ "name": "version",
959
+ "type": "uint24"
960
+ }
961
+ ],
962
+ "stateMutability": "view",
963
+ "type": "function"
964
+ },
900
965
  {
901
966
  "inputs": [],
902
967
  "name": "getWallet",
@@ -919,7 +984,7 @@
919
984
  },
920
985
  {
921
986
  "internalType": "NftId",
922
- "name": "instanceNftId",
987
+ "name": "productNftId",
923
988
  "type": "uint96"
924
989
  },
925
990
  {
@@ -936,11 +1001,6 @@
936
1001
  "internalType": "string",
937
1002
  "name": "name",
938
1003
  "type": "string"
939
- },
940
- {
941
- "internalType": "address",
942
- "name": "token",
943
- "type": "address"
944
1004
  }
945
1005
  ],
946
1006
  "name": "initialize",
@@ -950,31 +1010,25 @@
950
1010
  },
951
1011
  {
952
1012
  "inputs": [],
953
- "name": "isConsumingScheduledOp",
1013
+ "name": "isActive",
954
1014
  "outputs": [
955
1015
  {
956
- "internalType": "bytes4",
957
- "name": "",
958
- "type": "bytes4"
1016
+ "internalType": "bool",
1017
+ "name": "active",
1018
+ "type": "bool"
959
1019
  }
960
1020
  ],
961
1021
  "stateMutability": "view",
962
1022
  "type": "function"
963
1023
  },
964
1024
  {
965
- "inputs": [
966
- {
967
- "internalType": "address",
968
- "name": "candidate",
969
- "type": "address"
970
- }
971
- ],
972
- "name": "isDistributor",
1025
+ "inputs": [],
1026
+ "name": "isConsumingScheduledOp",
973
1027
  "outputs": [
974
1028
  {
975
- "internalType": "bool",
1029
+ "internalType": "bytes4",
976
1030
  "name": "",
977
- "type": "bool"
1031
+ "type": "bytes4"
978
1032
  }
979
1033
  ],
980
1034
  "stateMutability": "view",
@@ -1032,31 +1086,6 @@
1032
1086
  "stateMutability": "nonpayable",
1033
1087
  "type": "function"
1034
1088
  },
1035
- {
1036
- "inputs": [],
1037
- "name": "lock",
1038
- "outputs": [],
1039
- "stateMutability": "nonpayable",
1040
- "type": "function"
1041
- },
1042
- {
1043
- "inputs": [
1044
- {
1045
- "internalType": "address",
1046
- "name": "to",
1047
- "type": "address"
1048
- },
1049
- {
1050
- "internalType": "uint256",
1051
- "name": "tokenId",
1052
- "type": "uint256"
1053
- }
1054
- ],
1055
- "name": "nftMint",
1056
- "outputs": [],
1057
- "stateMutability": "nonpayable",
1058
- "type": "function"
1059
- },
1060
1089
  {
1061
1090
  "inputs": [
1062
1091
  {
@@ -1073,6 +1102,11 @@
1073
1102
  "internalType": "uint256",
1074
1103
  "name": "tokenId",
1075
1104
  "type": "uint256"
1105
+ },
1106
+ {
1107
+ "internalType": "address",
1108
+ "name": "operator",
1109
+ "type": "address"
1076
1110
  }
1077
1111
  ],
1078
1112
  "name": "nftTransferFrom",
@@ -1098,13 +1132,6 @@
1098
1132
  "stateMutability": "nonpayable",
1099
1133
  "type": "function"
1100
1134
  },
1101
- {
1102
- "inputs": [],
1103
- "name": "register",
1104
- "outputs": [],
1105
- "stateMutability": "nonpayable",
1106
- "type": "function"
1107
- },
1108
1135
  {
1109
1136
  "inputs": [
1110
1137
  {
@@ -1125,12 +1152,12 @@
1125
1152
  {
1126
1153
  "internalType": "UFixed",
1127
1154
  "name": "fractionalFee",
1128
- "type": "uint256"
1155
+ "type": "uint160"
1129
1156
  },
1130
1157
  {
1131
- "internalType": "uint256",
1158
+ "internalType": "Amount",
1132
1159
  "name": "fixedFee",
1133
- "type": "uint256"
1160
+ "type": "uint96"
1134
1161
  }
1135
1162
  ],
1136
1163
  "internalType": "struct Fee",
@@ -1142,12 +1169,12 @@
1142
1169
  {
1143
1170
  "internalType": "UFixed",
1144
1171
  "name": "fractionalFee",
1145
- "type": "uint256"
1172
+ "type": "uint160"
1146
1173
  },
1147
1174
  {
1148
- "internalType": "uint256",
1175
+ "internalType": "Amount",
1149
1176
  "name": "fixedFee",
1150
- "type": "uint256"
1177
+ "type": "uint96"
1151
1178
  }
1152
1179
  ],
1153
1180
  "internalType": "struct Fee",
@@ -1160,6 +1187,19 @@
1160
1187
  "stateMutability": "nonpayable",
1161
1188
  "type": "function"
1162
1189
  },
1190
+ {
1191
+ "inputs": [
1192
+ {
1193
+ "internalType": "bool",
1194
+ "name": "locked",
1195
+ "type": "bool"
1196
+ }
1197
+ ],
1198
+ "name": "setLocked",
1199
+ "outputs": [],
1200
+ "stateMutability": "nonpayable",
1201
+ "type": "function"
1202
+ },
1163
1203
  {
1164
1204
  "inputs": [
1165
1205
  {
@@ -1192,36 +1232,6 @@
1192
1232
  "stateMutability": "view",
1193
1233
  "type": "function"
1194
1234
  },
1195
- {
1196
- "inputs": [],
1197
- "name": "unlock",
1198
- "outputs": [],
1199
- "stateMutability": "nonpayable",
1200
- "type": "function"
1201
- },
1202
- {
1203
- "inputs": [
1204
- {
1205
- "internalType": "NftId",
1206
- "name": "distributorNftId",
1207
- "type": "uint96"
1208
- },
1209
- {
1210
- "internalType": "DistributorType",
1211
- "name": "distributorType",
1212
- "type": "bytes8"
1213
- },
1214
- {
1215
- "internalType": "bytes",
1216
- "name": "data",
1217
- "type": "bytes"
1218
- }
1219
- ],
1220
- "name": "updateDistributorType",
1221
- "outputs": [],
1222
- "stateMutability": "nonpayable",
1223
- "type": "function"
1224
- },
1225
1235
  {
1226
1236
  "inputs": [
1227
1237
  {
@@ -1266,66 +1276,66 @@
1266
1276
  "type": "function"
1267
1277
  }
1268
1278
  ],
1269
- "bytecode": "0x608060405234801561000f575f80fd5b50604051614e03380380614e0383398101604081905261002e91610b10565b61006c858585856040518060400160405280601281526020017129b4b6b83632a234b9ba3934b13aba34b7b760711b8152508661007660201b60201c565b5050505050610d38565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100bf5750825b90505f826001600160401b031660011480156100da5750303b155b9050811580156100e8575080155b156101065760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561013457845460ff60401b1916680100000000000000001785555b6101428b8b8b8b8b8b610195565b831561018857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b61019d6101d7565b6101cf86868686868660405180602001604052805f81525060405180602001604052805f81525061022760201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661022557604051631afcd79f60e31b815260040160405180910390fd5b565b61022f6101d7565b61024388888686600e8b60018c8a8a6102d6565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900610273600e610583565b610583565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556102a061026e600b90565b81546001600160a01b0319166001600160a01b03919091161781556102cb6301a39f4760e01b61069e565b505050505050505050565b6102de6101d7565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b038c1660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa15801561034e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103729190610b8c565b81546001600160a01b0319166001600160a01b039190911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa1580156103cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f19190610ba7565b61041e57604051637db5183160e11b81526001600160601b038b1660048201526024015b60405180910390fd5b80546040805163bf7e214f60e01b81529051610498926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610466573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048a9190610b8c565b8c8c8c8c8c8b8b8b8b6106ca565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa1580156104df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105039190610b8c565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691881691909117905561054161026e600b90565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610573634a531f3360e01b61069e565b6101886376c9b41160e11b61069e565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f005460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156105ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106109190610bc6565b90506106246001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015610673573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106979190610b8c565b9392505050565b6106a66101d7565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6106d26101d7565b6106e08989878787876107cf565b6106e98a610881565b6001600160a01b038616610710576040516327eab2e360e11b815260040160405180910390fd5b86515f036107315760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f008061075d8982610c7e565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016107ae8382610c7e565b506107bf634a531f3360e01b61069e565b610188632986755f60e11b61069e565b6107d76101d7565b6107e18287610895565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108778382610c7e565b5050505050505050565b6108896101d7565b61089281610927565b50565b61089d6101d7565b6108a681610938565b6108ae610a44565b6001600160a01b0382166108d55760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b61092f6101d7565b61089281610a89565b6109406101d7565b806001600160a01b03163b5f036109755760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610415565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156109ef575060408051601f3d908101601f191682019092526109ec91810190610ba7565b60015b610a175760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610415565b80610a405760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610415565b5050565b610a4c6101d7565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b0381168114610892575f80fd5b5f805f805f60a08688031215610b24575f80fd5b8551610b2f81610afc565b60208701519095506001600160601b0381168114610b4b575f80fd5b6040870151909450610b5c81610afc565b6060870151909350610b6d81610afc565b6080870151909250610b7e81610afc565b809150509295509295909350565b5f60208284031215610b9c575f80fd5b815161069781610afc565b5f60208284031215610bb7575f80fd5b81518015158114610697575f80fd5b5f60208284031215610bd6575f80fd5b815160ff81168114610697575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610c0e57607f821691505b602082108103610c2c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610c7957805f5260205f20601f840160051c81016020851015610c575750805b601f840160051c820191505b81811015610c76575f8155600101610c63565b50505b505050565b81516001600160401b03811115610c9757610c97610be6565b610cab81610ca58454610bfa565b84610c32565b6020601f821160018114610cdd575f8315610cc65750848201515b5f19600385901b1c1916600184901b178455610c76565b5f84815260208120601f198516915b82811015610d0c5787850151825560209485019460019092019101610cec565b5084821015610d2957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6140be80610d455f395ff3fe608060405234801561000f575f80fd5b5060043610610296575f3560e01c80637a9e5e4b11610161578063bb1e0e59116100ca578063e7f7fb8611610084578063e7f7fb861461060a578063ea15869f1461061d578063f5860e1a14610631578063f80e207214610645578063f83d08ba14610658578063f86664d214610660575f80fd5b8063bb1e0e5914610582578063bf7e214f14610595578063d16d0fe81461059d578063de7b5d14146105b0578063deaa59df146105cd578063e145d46c146105e0575f80fd5b8063a69df4b51161011b578063a69df4b514610525578063ada9652e1461052d578063b2a6b42d14610541578063b423086c14610554578063b6b412ba1461055c578063bae99c991461056f575f80fd5b80637a9e5e4b146104ba57806387ef9ba0146104cd578063893d20e8146104d45780638f0c86fa146104dc5780638fb36037146104ef57806390edbd3514610510575f80fd5b80632b5198b11161020357806359660bea116101bd57806359660bea146104385780635ab1bd531461044b5780635dcb3bae1461045c578063644c45e01461046f5780636bd1c0eb146104775780637427d7a8146104a7575f80fd5b80632b5198b1146103c25780632eb3e6f4146103ee5780633d683fd914610402578063419197fe1461041557806343d752d3146104285780635741e5e914610430575f80fd5b806317d7de7c1161025457806317d7de7c1461034b5780631aa3a008146103605780631c6b21901461036a5780631eff4b221461037d57806321df0da7146103b257806322366844146103ba575f80fd5b806251884a1461029a57806301ffc9a7146102bf57806307e71a6e146102fb5780630fec111c1461030e5780631329960414610323578063138461e014610343575b5f80fd5b6102a2610673565b6040516001600160601b0390911681526020015b60405180910390f35b6102eb6102cd36600461324e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102b6565b6102a2610309366004613289565b610685565b61031661078a565b6040516102b691906132ee565b61032b610948565b6040516001600160a01b0390911681526020016102b6565b6102a261095a565b610353610969565b6040516102b6919061337a565b610368610979565b005b6102a261037836600461338c565b610a26565b6103a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b6565b61032b610a7c565b6102eb610a8e565b6103d56103d03660046134e3565b610b84565b6040516001600160c01b031990911681526020016102b6565b6103a45f8051602061406983398151915281565b6103686104103660046135b9565b610be8565b61036861042336600461362a565b610c3c565b61032b610df7565b6102eb610e09565b6103d5610446366004613646565b610ebd565b6001546001600160a01b031661032b565b6102a261046a3660046136df565b610f14565b6102a2610f6e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661032b565b6103d56104b53660046136fc565b610f89565b6103686104c836600461372d565b611009565b60016102eb565b61032b61108f565b6102eb6104ea36600461372d565b6111c0565b6104f7611285565b6040516001600160e01b031990911681526020016102b6565b6105186112ba565b6040516102b69190613748565b6103686112df565b6103a45f80516020613fe983398151915281565b6102a261054f36600461372d565b61137d565b6105186113bf565b61036861056a366004613827565b6113cf565b61036861057d36600461338c565b61141d565b61036861059036600461385a565b61146c565b61032b611509565b6103a46105ab366004613884565b611524565b5f80516020614069833981519152546001600160a01b031661032b565b6103686105db36600461372d565b611538565b6105f36105ee3660046136fc565b6117ae565b6040805192835260ff9091166020830152016102b6565b6103686106183660046138a0565b611868565b6103a45f8051602061400983398151915281565b6103a45f8051602061404983398151915281565b610368610653366004613884565b611910565b610368611919565b61036861066e3660046138de565b61198d565b5f61067c6112ba565b60200151905090565b5f610692335b5f36611aa3565b61069b336111c0565b6106bf5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106d26001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561071f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610743919061397e565b6001600160a01b0316336001600160a01b0316146107765760405163086391f760e31b81523360048201526024016106b6565b6107808484611ba1565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561083a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085e91906139a4565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108a661108f565b6001600160a01b031681526020018260010180546108c3906139bf565b80601f01602080910402602001604051908101604052809291908181526020018280546108ef906139bf565b801561093a5780601f106109115761010080835404028352916020019161093a565b820191905f5260205f20905b81548152906001019060200180831161091d57829003601f168201915b505050505081525091505090565b5f6109516112ba565b60800151905090565b5f61096430611c2d565b905090565b60606109736112ba565b51919050565b61098161108f565b6001600160a01b0316336001600160a01b0316146109b45760405163086391f760e31b81523360048201526024016106b6565b5f80516020614049833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610a04575f80fd5b505af1158015610a16573d5f803e3d5ffd5b50505050610a245f19611e21565b565b5f610a2f61108f565b6001600160a01b0316336001600160a01b031614610a625760405163086391f760e31b81523360048201526024016106b6565b610a6b3361068b565b610a7482611e9f565b90505b919050565b5f610a856112ba565b60400151905090565b5f610aa16001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0991906139a4565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b60573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109649190613a02565b5f610b8d61108f565b6001600160a01b0316336001600160a01b031614610bc05760405163086391f760e31b81523360048201526024016106b6565b610bc93361068b565b610bda8a8a8a8a8a8a8a8a8a611f23565b9a9950505050505050505050565b610bf061108f565b6001600160a01b0316336001600160a01b031614610c235760405163086391f760e31b81523360048201526024016106b6565b610c2c3361068b565b610c37838383611fe2565b505050565b610c4461108f565b6001600160a01b0316336001600160a01b031614610c775760405163086391f760e31b81523360048201526024016106b6565b30610c80610948565b6001600160a01b031614610ca75760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cd0610df7565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d10610df7565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8a9190613a1d565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dd3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c379190613a02565b5f610e006112ba565b60600151905090565b5f610e12610a8e565b15610e8d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e009190810190613a9c565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ec7336111c0565b610ee65760405163637c41bb60e01b81523360048201526024016106b6565b610eef3361068b565b5f610ef93361137d565b9050610f09818888888888611ff9565b979650505050505050565b5f610f1d61108f565b6001600160a01b0316336001600160a01b031614610f505760405163086391f760e31b81523360048201526024016106b6565b610f593361068b565b610f648484846120af565b90505b9392505050565b5f80516020613fe9833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fac610f6e565b846040518363ffffffff1660e01b8152600401610fca929190613b6c565b602060405180830381865af4158015610fe5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a749190613b8d565b33611012611509565b6001600160a01b0316816001600160a01b03161461104d5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b6565b816001600160a01b03163b5f03611082576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b6565b61108b82612273565b5050565b5f805f80516020613fe983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111f9190613a02565b156111aa576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611180573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a4919061397e565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206140498339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611261573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f679190613a02565b5f8051602061402983398151915280545f9190600160a01b900460ff166112ac575f6111a4565b638fb3603760e01b91505090565b6112c26131f8565b6112ca610a8e565b156112d7576109646122d3565b6109646113bf565b6112e761108f565b6001600160a01b0316336001600160a01b03161461131a5760405163086391f760e31b81523360048201526024016106b6565b611324600a61249a565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611365575f80fd5b505af1158015611377573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113c76131f8565b6109646122d3565b6113d761108f565b6001600160a01b0316336001600160a01b03161461140a5760405163086391f760e31b81523360048201526024016106b6565b6114133361068b565b61108b828261259b565b61142561108f565b6001600160a01b0316336001600160a01b0316146114585760405163086391f760e31b81523360048201526024016106b6565b611469611463610a7c565b82610c3c565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d7919061397e565b6001600160a01b0316336001600160a01b03161461108b5760405162f0630960e01b81523360048201526024016106b6565b5f80516020614029833981519152546001600160a01b031690565b5f61152f8282613ba8565b90505b92915050565b61154061108f565b6001600160a01b0316336001600160a01b0316146115735760405163086391f760e31b81523360048201526024016106b6565b5f61157c610948565b90505f611587610a7c565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f19190613a1d565b90506115fc83612602565b8015610c3757604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361175d57611665610df7565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116ae91815260200190565b602060405180830381865af41580156116c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ed91906139a4565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611742575f80fd5b505af1158015611754573d5f803e3d5ffd5b50505050505050565b611765610df7565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116ae91815260200190565b5f805f6117ba84610f89565b90506117ed7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561183a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185e9190613bcb565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118d3919061397e565b6001600160a01b0316336001600160a01b0316146119055760405162f0630960e01b81523360048201526024016106b6565b610c3783838361269b565b61108b3361068b565b61192161108f565b6001600160a01b0316336001600160a01b0316146119545760405163086391f760e31b81523360048201526024016106b6565b61195e600a61249a565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161134e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119d15750825b90505f826001600160401b031660011480156119ec5750303b155b9050811580156119fa575080155b15611a185760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a4257845460ff60401b1916600160401b1785555b611a508b8b8b8b8b8b612841565b8315611a9657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f805160206140298339815191525f80611adb611abe611509565b8730611acd60045f8a8c613bef565b611ad691613c16565b612875565b9150915081611b995763ffffffff811615611b7657825460ff60a01b1916600160a01b178355611b09611509565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b3893929190613c4c565b5f604051808303815f87803b158015611b4f575f80fd5b505af1158015611b61573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b999050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b6565b505050505050565b5f5f80516020614049833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611c09573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152f91906139a4565b5f805f80516020613fe983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cbd9190613a02565b15611ce95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b6565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5f9190613a02565b611d875760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b6565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611dd9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfd91906139a4565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f80516020614009833981519152906001600160a01b031663095ea7b3611e686112ba565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610db7565b5f5f80516020614069833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611eff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7491906139a4565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020614049833981519152916001600160a01b0390911690632b5198b190611f93908e908e908e908e908e908e908e908e908e90600401613c8b565b6020604051808303815f875af1158015611faf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd39190613b8d565b9b9a5050505050505050505050565b5f5f805160206140498339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020614049833981519152916001600160a01b0390911690638dd2b78190612063908b908b908b908b908b908b90600401613cfc565b6020604051808303815f875af115801561207f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a39190613b8d565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206140498339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612150573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121749190613a02565b156121bf576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106b6565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906121f590889088908890600401613d5b565b6020604051808303815f875af1158015612211573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061223591906139a4565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061402983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6122db6131f8565b5f6122ee6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612332573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235691906139a4565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d39190613a02565b15612492577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612410610f6e565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612451573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124789190810190613d8e565b60808101519092506001600160a01b031615612492575090565b6111a461297d565b5f805f805160206140698339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156124f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125149190613e66565b90506125286001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612577573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f67919061397e565b5f8051602061404983398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906125d99085908590600401613e81565b5f604051808303815f87803b1580156125f0575f80fd5b505af1158015611b99573d5f803e3d5ffd5b61260a61108f565b6001600160a01b0316336001600160a01b03161461263d5760405163086391f760e31b81523360048201526024016106b6565b612647600b61249a565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612689575f80fd5b505af1158015611ff2573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020614049833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612734573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061275891906139a4565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156127de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061280291906139a4565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612849612ae1565b611b9986868686868660405180602001604052805f81525060405180602001604052805f815250612b2a565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128e39190613ea7565b5f60405180830381855afa9150503d805f811461291b576040519150601f19603f3d011682016040523d82523d5f602084013e612920565b606091505b5091509150811561297257604081511061295257808060200190518101906129489190613ebd565b9094509250612972565b6020815110612972578080602001905181019061296f9190613a02565b93505b505094509492505050565b6129856131f8565b5f5f8051602061400983398151915290506040518060c00160405280825f0180546129af906139bf565b80601f01602080910402602001604051908101604052809291908181526020018280546129db906139bf565b8015612a265780601f106129fd57610100808354040283529160200191612a26565b820191905f5260205f20905b815481529060010190602001808311612a0957829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9b91906139a4565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108c3906139bf565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a2457604051631afcd79f60e31b815260040160405180910390fd5b612b32612ae1565b612b4688888686600e8b60018c8a8a612bc0565b5f80516020614049833981519152612b5e600e61249a565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612b8a600b61249a565b81546001600160a01b0319166001600160a01b0391909116178155612bb56301a39f4760e01b612e50565b505050505050505050565b612bc8612ae1565b5f5f8051602061406983398151915260405163bf8e179760e01b81526001600160601b038c1660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612c25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c49919061397e565b81546001600160a01b0319166001600160a01b039190911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa158015612ca4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cc89190613a02565b612cf057604051637db5183160e11b81526001600160601b038b1660048201526024016106b6565b80546040805163bf7e214f60e01b81529051612d6a926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015612d38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d5c919061397e565b8c8c8c8c8c8b8b8b8b612e7c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612db1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dd5919061397e565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612e12600b61249a565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612e44634a531f3360e01b612e50565b611a966376c9b41160e11b5b612e58612ae1565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612e84612ae1565b612e92898987878787612f6e565b612e9b8a613013565b6001600160a01b038616612ec2576040516327eab2e360e11b815260040160405180910390fd5b86515f03612ee35760405163591eebf360e11b815260040160405180910390fd5b5f8051602061400983398151915280612efc8982613f2e565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101612f4d8382613f2e565b50612f5e634a531f3360e01b612e50565b611a96632986755f60e11b612e50565b612f76612ae1565b612f808287613024565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016130098382613f2e565b5050505050505050565b61301b612ae1565b6114698161309a565b61302c612ae1565b613035816130ab565b61303d6131b3565b6001600160a01b0382166130645760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613fe983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6130a2612ae1565b61146981612273565b6130b3612ae1565b806001600160a01b03163b5f036130e85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613162575060408051601f3d908101601f1916820190925261315f91810190613a02565b60015b61318a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b8061108b5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b6565b6131bb612ae1565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f6020828403121561325e575f80fd5b81356001600160e01b031981168114610f67575f80fd5b6001600160601b0381168114611469575f80fd5b5f806040838503121561329a575f80fd5b82356132a581613275565b915060208301356132b581613275565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613336608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526107806101008401826132c0565b602081525f61152f60208301846132c0565b5f6020828403121561339c575f80fd5b8135610f6781613275565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156133dd576133dd6133a7565b60405290565b60405160c081016001600160401b03811182821017156133dd576133dd6133a7565b604051601f8201601f191681016001600160401b038111828210171561342d5761342d6133a7565b604052919050565b5f6001600160401b0382111561344d5761344d6133a7565b50601f01601f191660200190565b5f82601f83011261346a575f80fd5b8135602083015f61348261347d84613435565b613405565b9050828152858383011115613495575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114611469575f80fd5b8035610a77816134af565b8015158114611469575f80fd5b8035610a77816134cb565b5f805f805f805f805f6101208a8c0312156134fc575f80fd5b89356001600160401b03811115613511575f80fd5b61351d8c828d0161345b565b99505060208a0135975060408a0135965060608a0135955060808a0135613543816134af565b945061355160a08b016134c0565b935061355f60c08b016134d8565b925061356d60e08b016134d8565b91506101008a01356001600160401b03811115613588575f80fd5b6135948c828d0161345b565b9150509295985092959850929598565b6001600160c01b031981168114611469575f80fd5b5f805f606084860312156135cb575f80fd5b83356135d681613275565b925060208401356135e6816135a4565b915060408401356001600160401b03811115613600575f80fd5b61360c8682870161345b565b9150509250925092565b6001600160a01b0381168114611469575f80fd5b5f806040838503121561363b575f80fd5b82356132a581613616565b5f805f805f60a0868803121561365a575f80fd5b85356001600160401b0381111561366f575f80fd5b61367b8882890161345b565b955050602086013593506040860135613693816134af565b9250606086013564ffffffffff811681146136ac575f80fd5b915060808601356001600160401b038111156136c6575f80fd5b6136d28882890161345b565b9150509295509295909350565b5f805f606084860312156136f1575f80fd5b83356135d681613616565b5f6020828403121561370c575f80fd5b81356001600160401b03811115613721575f80fd5b6107808482850161345b565b5f6020828403121561373d575f80fd5b8135610f6781613616565b602081525f825160c0602084015261376360e08401826132c0565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516137b660a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526137d282826132c0565b95945050505050565b5f604082840312156137eb575f80fd5b604080519081016001600160401b038111828210171561380d5761380d6133a7565b604052823581526020928301359281019290925250919050565b5f8060808385031215613838575f80fd5b61384284846137db565b915061385184604085016137db565b90509250929050565b5f806040838503121561386b575f80fd5b823561387681613616565b946020939093013593505050565b5f8060408385031215613895575f80fd5b8235613876816135a4565b5f805f606084860312156138b2575f80fd5b83356138bd81613616565b925060208401356138cd81613616565b929592945050506040919091013590565b5f805f805f8060c087890312156138f3575f80fd5b86356138fe81613616565b9550602087013561390e81613275565b9450604087013561391e81613616565b9350606087013561392e81613616565b925060808701356001600160401b03811115613948575f80fd5b61395489828a0161345b565b92505060a087013561396581613616565b809150509295509295509295565b8051610a7781613616565b5f6020828403121561398e575f80fd5b8151610f6781613616565b8051610a7781613275565b5f602082840312156139b4575f80fd5b8151610f6781613275565b600181811c908216806139d357607f821691505b6020821081036139f157634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a77816134cb565b5f60208284031215613a12575f80fd5b8151610f67816134cb565b5f60208284031215613a2d575f80fd5b5051919050565b60ff81168114611469575f80fd5b8051610a7781613a34565b5f82601f830112613a5c575f80fd5b8151602083015f613a6f61347d84613435565b9050828152858383011115613a82575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613aac575f80fd5b81516001600160401b03811115613ac1575f80fd5b820160e08185031215613ad2575f80fd5b613ada6133bb565b613ae382613999565b8152613af160208301613999565b6020820152613b0260408301613a42565b6040820152613b13606083016139f7565b6060820152613b2460808301613973565b6080820152613b3560a08301613973565b60a082015260c08201516001600160401b03811115613b52575f80fd5b613b5e86828501613a4d565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f6460408301846132c0565b5f60208284031215613b9d575f80fd5b8151610f67816135a4565b808202811582820484141761153257634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613bdc575f80fd5b825160208401519092506132b581613a34565b5f8085851115613bfd575f80fd5b83861115613c09575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610783576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613c9f61012083018c6132c0565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613cec81856132c0565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613d1d60c08301886132c0565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613d4e81856132c0565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906137d2908301846132c0565b5f60208284031215613d9e575f80fd5b81516001600160401b03811115613db3575f80fd5b820160c08185031215613dc4575f80fd5b613dcc6133e3565b81516001600160401b03811115613de1575f80fd5b613ded86828501613a4d565b825250613dfc60208301613999565b6020820152613e0d60408301613973565b6040820152613e1e60608301613973565b6060820152613e2f60808301613973565b608082015260a08201516001600160401b03811115613e4c575f80fd5b613e5886828501613a4d565b60a083015250949350505050565b5f60208284031215613e76575f80fd5b8151610f6781613a34565b825181526020808401518183015282516040830152820151606082015260808101610f67565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613ece575f80fd5b8251613ed9816134cb565b60208401519092506132b5816134af565b601f821115610c3757805f5260205f20601f840160051c81016020851015613f0f5750805b601f840160051c820191505b81811015611ff2575f8155600101613f1b565b81516001600160401b03811115613f4757613f476133a7565b613f5b81613f5584546139bf565b84613eea565b6020601f821160018114613f8d575f8315613f765750848201515b5f19600385901b1c1916600184901b178455611ff2565b5f84815260208120601f198516915b82811015613fbc5787850151825560209485019460019092019101613f9c565b5084821015613fd957868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220e7643544f974c33f530e768daf488fa008568cdadd6b169aef4eb1b6e868e7ee64736f6c634300081a0033",
1270
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610296575f3560e01c80637a9e5e4b11610161578063bb1e0e59116100ca578063e7f7fb8611610084578063e7f7fb861461060a578063ea15869f1461061d578063f5860e1a14610631578063f80e207214610645578063f83d08ba14610658578063f86664d214610660575f80fd5b8063bb1e0e5914610582578063bf7e214f14610595578063d16d0fe81461059d578063de7b5d14146105b0578063deaa59df146105cd578063e145d46c146105e0575f80fd5b8063a69df4b51161011b578063a69df4b514610525578063ada9652e1461052d578063b2a6b42d14610541578063b423086c14610554578063b6b412ba1461055c578063bae99c991461056f575f80fd5b80637a9e5e4b146104ba57806387ef9ba0146104cd578063893d20e8146104d45780638f0c86fa146104dc5780638fb36037146104ef57806390edbd3514610510575f80fd5b80632b5198b11161020357806359660bea116101bd57806359660bea146104385780635ab1bd531461044b5780635dcb3bae1461045c578063644c45e01461046f5780636bd1c0eb146104775780637427d7a8146104a7575f80fd5b80632b5198b1146103c25780632eb3e6f4146103ee5780633d683fd914610402578063419197fe1461041557806343d752d3146104285780635741e5e914610430575f80fd5b806317d7de7c1161025457806317d7de7c1461034b5780631aa3a008146103605780631c6b21901461036a5780631eff4b221461037d57806321df0da7146103b257806322366844146103ba575f80fd5b806251884a1461029a57806301ffc9a7146102bf57806307e71a6e146102fb5780630fec111c1461030e5780631329960414610323578063138461e014610343575b5f80fd5b6102a2610673565b6040516001600160601b0390911681526020015b60405180910390f35b6102eb6102cd36600461324e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102b6565b6102a2610309366004613289565b610685565b61031661078a565b6040516102b691906132ee565b61032b610948565b6040516001600160a01b0390911681526020016102b6565b6102a261095a565b610353610969565b6040516102b6919061337a565b610368610979565b005b6102a261037836600461338c565b610a26565b6103a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b6565b61032b610a7c565b6102eb610a8e565b6103d56103d03660046134e3565b610b84565b6040516001600160c01b031990911681526020016102b6565b6103a45f8051602061406983398151915281565b6103686104103660046135b9565b610be8565b61036861042336600461362a565b610c3c565b61032b610df7565b6102eb610e09565b6103d5610446366004613646565b610ebd565b6001546001600160a01b031661032b565b6102a261046a3660046136df565b610f14565b6102a2610f6e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661032b565b6103d56104b53660046136fc565b610f89565b6103686104c836600461372d565b611009565b60016102eb565b61032b61108f565b6102eb6104ea36600461372d565b6111c0565b6104f7611285565b6040516001600160e01b031990911681526020016102b6565b6105186112ba565b6040516102b69190613748565b6103686112df565b6103a45f80516020613fe983398151915281565b6102a261054f36600461372d565b61137d565b6105186113bf565b61036861056a366004613827565b6113cf565b61036861057d36600461338c565b61141d565b61036861059036600461385a565b61146c565b61032b611509565b6103a46105ab366004613884565b611524565b5f80516020614069833981519152546001600160a01b031661032b565b6103686105db36600461372d565b611538565b6105f36105ee3660046136fc565b6117ae565b6040805192835260ff9091166020830152016102b6565b6103686106183660046138a0565b611868565b6103a45f8051602061400983398151915281565b6103a45f8051602061404983398151915281565b610368610653366004613884565b611910565b610368611919565b61036861066e3660046138de565b61198d565b5f61067c6112ba565b60200151905090565b5f610692335b5f36611aa3565b61069b336111c0565b6106bf5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106d26001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561071f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610743919061397e565b6001600160a01b0316336001600160a01b0316146107765760405163086391f760e31b81523360048201526024016106b6565b6107808484611ba1565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561083a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085e91906139a4565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108a661108f565b6001600160a01b031681526020018260010180546108c3906139bf565b80601f01602080910402602001604051908101604052809291908181526020018280546108ef906139bf565b801561093a5780601f106109115761010080835404028352916020019161093a565b820191905f5260205f20905b81548152906001019060200180831161091d57829003601f168201915b505050505081525091505090565b5f6109516112ba565b60800151905090565b5f61096430611c2d565b905090565b60606109736112ba565b51919050565b61098161108f565b6001600160a01b0316336001600160a01b0316146109b45760405163086391f760e31b81523360048201526024016106b6565b5f80516020614049833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610a04575f80fd5b505af1158015610a16573d5f803e3d5ffd5b50505050610a245f19611e21565b565b5f610a2f61108f565b6001600160a01b0316336001600160a01b031614610a625760405163086391f760e31b81523360048201526024016106b6565b610a6b3361068b565b610a7482611e9f565b90505b919050565b5f610a856112ba565b60400151905090565b5f610aa16001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0991906139a4565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b60573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109649190613a02565b5f610b8d61108f565b6001600160a01b0316336001600160a01b031614610bc05760405163086391f760e31b81523360048201526024016106b6565b610bc93361068b565b610bda8a8a8a8a8a8a8a8a8a611f23565b9a9950505050505050505050565b610bf061108f565b6001600160a01b0316336001600160a01b031614610c235760405163086391f760e31b81523360048201526024016106b6565b610c2c3361068b565b610c37838383611fe2565b505050565b610c4461108f565b6001600160a01b0316336001600160a01b031614610c775760405163086391f760e31b81523360048201526024016106b6565b30610c80610948565b6001600160a01b031614610ca75760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cd0610df7565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d10610df7565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8a9190613a1d565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dd3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c379190613a02565b5f610e006112ba565b60600151905090565b5f610e12610a8e565b15610e8d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e009190810190613a9c565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ec7336111c0565b610ee65760405163637c41bb60e01b81523360048201526024016106b6565b610eef3361068b565b5f610ef93361137d565b9050610f09818888888888611ff9565b979650505050505050565b5f610f1d61108f565b6001600160a01b0316336001600160a01b031614610f505760405163086391f760e31b81523360048201526024016106b6565b610f593361068b565b610f648484846120af565b90505b9392505050565b5f80516020613fe9833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fac610f6e565b846040518363ffffffff1660e01b8152600401610fca929190613b6c565b602060405180830381865af4158015610fe5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a749190613b8d565b33611012611509565b6001600160a01b0316816001600160a01b03161461104d5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b6565b816001600160a01b03163b5f03611082576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b6565b61108b82612273565b5050565b5f805f80516020613fe983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111f9190613a02565b156111aa576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611180573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a4919061397e565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206140498339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611261573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f679190613a02565b5f8051602061402983398151915280545f9190600160a01b900460ff166112ac575f6111a4565b638fb3603760e01b91505090565b6112c26131f8565b6112ca610a8e565b156112d7576109646122d3565b6109646113bf565b6112e761108f565b6001600160a01b0316336001600160a01b03161461131a5760405163086391f760e31b81523360048201526024016106b6565b611324600a61249a565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611365575f80fd5b505af1158015611377573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113c76131f8565b6109646122d3565b6113d761108f565b6001600160a01b0316336001600160a01b03161461140a5760405163086391f760e31b81523360048201526024016106b6565b6114133361068b565b61108b828261259b565b61142561108f565b6001600160a01b0316336001600160a01b0316146114585760405163086391f760e31b81523360048201526024016106b6565b611469611463610a7c565b82610c3c565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d7919061397e565b6001600160a01b0316336001600160a01b03161461108b5760405162f0630960e01b81523360048201526024016106b6565b5f80516020614029833981519152546001600160a01b031690565b5f61152f8282613ba8565b90505b92915050565b61154061108f565b6001600160a01b0316336001600160a01b0316146115735760405163086391f760e31b81523360048201526024016106b6565b5f61157c610948565b90505f611587610a7c565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f19190613a1d565b90506115fc83612602565b8015610c3757604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361175d57611665610df7565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116ae91815260200190565b602060405180830381865af41580156116c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ed91906139a4565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611742575f80fd5b505af1158015611754573d5f803e3d5ffd5b50505050505050565b611765610df7565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116ae91815260200190565b5f805f6117ba84610f89565b90506117ed7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561183a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185e9190613bcb565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118d3919061397e565b6001600160a01b0316336001600160a01b0316146119055760405162f0630960e01b81523360048201526024016106b6565b610c3783838361269b565b61108b3361068b565b61192161108f565b6001600160a01b0316336001600160a01b0316146119545760405163086391f760e31b81523360048201526024016106b6565b61195e600a61249a565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161134e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119d15750825b90505f826001600160401b031660011480156119ec5750303b155b9050811580156119fa575080155b15611a185760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a4257845460ff60401b1916600160401b1785555b611a508b8b8b8b8b8b612841565b8315611a9657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f805160206140298339815191525f80611adb611abe611509565b8730611acd60045f8a8c613bef565b611ad691613c16565b612875565b9150915081611b995763ffffffff811615611b7657825460ff60a01b1916600160a01b178355611b09611509565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b3893929190613c4c565b5f604051808303815f87803b158015611b4f575f80fd5b505af1158015611b61573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b999050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b6565b505050505050565b5f5f80516020614049833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611c09573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152f91906139a4565b5f805f80516020613fe983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cbd9190613a02565b15611ce95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b6565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5f9190613a02565b611d875760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b6565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611dd9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfd91906139a4565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f80516020614009833981519152906001600160a01b031663095ea7b3611e686112ba565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610db7565b5f5f80516020614069833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611eff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7491906139a4565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020614049833981519152916001600160a01b0390911690632b5198b190611f93908e908e908e908e908e908e908e908e908e90600401613c8b565b6020604051808303815f875af1158015611faf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd39190613b8d565b9b9a5050505050505050505050565b5f5f805160206140498339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020614049833981519152916001600160a01b0390911690638dd2b78190612063908b908b908b908b908b908b90600401613cfc565b6020604051808303815f875af115801561207f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a39190613b8d565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206140498339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612150573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121749190613a02565b156121bf576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106b6565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906121f590889088908890600401613d5b565b6020604051808303815f875af1158015612211573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061223591906139a4565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061402983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6122db6131f8565b5f6122ee6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612332573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235691906139a4565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d39190613a02565b15612492577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612410610f6e565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612451573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124789190810190613d8e565b60808101519092506001600160a01b031615612492575090565b6111a461297d565b5f805f805160206140698339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156124f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125149190613e66565b90506125286001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612577573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f67919061397e565b5f8051602061404983398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906125d99085908590600401613e81565b5f604051808303815f87803b1580156125f0575f80fd5b505af1158015611b99573d5f803e3d5ffd5b61260a61108f565b6001600160a01b0316336001600160a01b03161461263d5760405163086391f760e31b81523360048201526024016106b6565b612647600b61249a565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612689575f80fd5b505af1158015611ff2573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020614049833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612734573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061275891906139a4565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156127de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061280291906139a4565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612849612ae1565b611b9986868686868660405180602001604052805f81525060405180602001604052805f815250612b2a565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128e39190613ea7565b5f60405180830381855afa9150503d805f811461291b576040519150601f19603f3d011682016040523d82523d5f602084013e612920565b606091505b5091509150811561297257604081511061295257808060200190518101906129489190613ebd565b9094509250612972565b6020815110612972578080602001905181019061296f9190613a02565b93505b505094509492505050565b6129856131f8565b5f5f8051602061400983398151915290506040518060c00160405280825f0180546129af906139bf565b80601f01602080910402602001604051908101604052809291908181526020018280546129db906139bf565b8015612a265780601f106129fd57610100808354040283529160200191612a26565b820191905f5260205f20905b815481529060010190602001808311612a0957829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9b91906139a4565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108c3906139bf565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a2457604051631afcd79f60e31b815260040160405180910390fd5b612b32612ae1565b612b4688888686600e8b60018c8a8a612bc0565b5f80516020614049833981519152612b5e600e61249a565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612b8a600b61249a565b81546001600160a01b0319166001600160a01b0391909116178155612bb56301a39f4760e01b612e50565b505050505050505050565b612bc8612ae1565b5f5f8051602061406983398151915260405163bf8e179760e01b81526001600160601b038c1660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612c25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c49919061397e565b81546001600160a01b0319166001600160a01b039190911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa158015612ca4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cc89190613a02565b612cf057604051637db5183160e11b81526001600160601b038b1660048201526024016106b6565b80546040805163bf7e214f60e01b81529051612d6a926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015612d38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d5c919061397e565b8c8c8c8c8c8b8b8b8b612e7c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612db1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dd5919061397e565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612e12600b61249a565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612e44634a531f3360e01b612e50565b611a966376c9b41160e11b5b612e58612ae1565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612e84612ae1565b612e92898987878787612f6e565b612e9b8a613013565b6001600160a01b038616612ec2576040516327eab2e360e11b815260040160405180910390fd5b86515f03612ee35760405163591eebf360e11b815260040160405180910390fd5b5f8051602061400983398151915280612efc8982613f2e565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101612f4d8382613f2e565b50612f5e634a531f3360e01b612e50565b611a96632986755f60e11b612e50565b612f76612ae1565b612f808287613024565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016130098382613f2e565b5050505050505050565b61301b612ae1565b6114698161309a565b61302c612ae1565b613035816130ab565b61303d6131b3565b6001600160a01b0382166130645760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613fe983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6130a2612ae1565b61146981612273565b6130b3612ae1565b806001600160a01b03163b5f036130e85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613162575060408051601f3d908101601f1916820190925261315f91810190613a02565b60015b61318a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b8061108b5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b6565b6131bb612ae1565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f6020828403121561325e575f80fd5b81356001600160e01b031981168114610f67575f80fd5b6001600160601b0381168114611469575f80fd5b5f806040838503121561329a575f80fd5b82356132a581613275565b915060208301356132b581613275565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613336608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526107806101008401826132c0565b602081525f61152f60208301846132c0565b5f6020828403121561339c575f80fd5b8135610f6781613275565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156133dd576133dd6133a7565b60405290565b60405160c081016001600160401b03811182821017156133dd576133dd6133a7565b604051601f8201601f191681016001600160401b038111828210171561342d5761342d6133a7565b604052919050565b5f6001600160401b0382111561344d5761344d6133a7565b50601f01601f191660200190565b5f82601f83011261346a575f80fd5b8135602083015f61348261347d84613435565b613405565b9050828152858383011115613495575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114611469575f80fd5b8035610a77816134af565b8015158114611469575f80fd5b8035610a77816134cb565b5f805f805f805f805f6101208a8c0312156134fc575f80fd5b89356001600160401b03811115613511575f80fd5b61351d8c828d0161345b565b99505060208a0135975060408a0135965060608a0135955060808a0135613543816134af565b945061355160a08b016134c0565b935061355f60c08b016134d8565b925061356d60e08b016134d8565b91506101008a01356001600160401b03811115613588575f80fd5b6135948c828d0161345b565b9150509295985092959850929598565b6001600160c01b031981168114611469575f80fd5b5f805f606084860312156135cb575f80fd5b83356135d681613275565b925060208401356135e6816135a4565b915060408401356001600160401b03811115613600575f80fd5b61360c8682870161345b565b9150509250925092565b6001600160a01b0381168114611469575f80fd5b5f806040838503121561363b575f80fd5b82356132a581613616565b5f805f805f60a0868803121561365a575f80fd5b85356001600160401b0381111561366f575f80fd5b61367b8882890161345b565b955050602086013593506040860135613693816134af565b9250606086013564ffffffffff811681146136ac575f80fd5b915060808601356001600160401b038111156136c6575f80fd5b6136d28882890161345b565b9150509295509295909350565b5f805f606084860312156136f1575f80fd5b83356135d681613616565b5f6020828403121561370c575f80fd5b81356001600160401b03811115613721575f80fd5b6107808482850161345b565b5f6020828403121561373d575f80fd5b8135610f6781613616565b602081525f825160c0602084015261376360e08401826132c0565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516137b660a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526137d282826132c0565b95945050505050565b5f604082840312156137eb575f80fd5b604080519081016001600160401b038111828210171561380d5761380d6133a7565b604052823581526020928301359281019290925250919050565b5f8060808385031215613838575f80fd5b61384284846137db565b915061385184604085016137db565b90509250929050565b5f806040838503121561386b575f80fd5b823561387681613616565b946020939093013593505050565b5f8060408385031215613895575f80fd5b8235613876816135a4565b5f805f606084860312156138b2575f80fd5b83356138bd81613616565b925060208401356138cd81613616565b929592945050506040919091013590565b5f805f805f8060c087890312156138f3575f80fd5b86356138fe81613616565b9550602087013561390e81613275565b9450604087013561391e81613616565b9350606087013561392e81613616565b925060808701356001600160401b03811115613948575f80fd5b61395489828a0161345b565b92505060a087013561396581613616565b809150509295509295509295565b8051610a7781613616565b5f6020828403121561398e575f80fd5b8151610f6781613616565b8051610a7781613275565b5f602082840312156139b4575f80fd5b8151610f6781613275565b600181811c908216806139d357607f821691505b6020821081036139f157634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a77816134cb565b5f60208284031215613a12575f80fd5b8151610f67816134cb565b5f60208284031215613a2d575f80fd5b5051919050565b60ff81168114611469575f80fd5b8051610a7781613a34565b5f82601f830112613a5c575f80fd5b8151602083015f613a6f61347d84613435565b9050828152858383011115613a82575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613aac575f80fd5b81516001600160401b03811115613ac1575f80fd5b820160e08185031215613ad2575f80fd5b613ada6133bb565b613ae382613999565b8152613af160208301613999565b6020820152613b0260408301613a42565b6040820152613b13606083016139f7565b6060820152613b2460808301613973565b6080820152613b3560a08301613973565b60a082015260c08201516001600160401b03811115613b52575f80fd5b613b5e86828501613a4d565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f6460408301846132c0565b5f60208284031215613b9d575f80fd5b8151610f67816135a4565b808202811582820484141761153257634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613bdc575f80fd5b825160208401519092506132b581613a34565b5f8085851115613bfd575f80fd5b83861115613c09575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610783576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613c9f61012083018c6132c0565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613cec81856132c0565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613d1d60c08301886132c0565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613d4e81856132c0565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906137d2908301846132c0565b5f60208284031215613d9e575f80fd5b81516001600160401b03811115613db3575f80fd5b820160c08185031215613dc4575f80fd5b613dcc6133e3565b81516001600160401b03811115613de1575f80fd5b613ded86828501613a4d565b825250613dfc60208301613999565b6020820152613e0d60408301613973565b6040820152613e1e60608301613973565b6060820152613e2f60808301613973565b608082015260a08201516001600160401b03811115613e4c575f80fd5b613e5886828501613a4d565b60a083015250949350505050565b5f60208284031215613e76575f80fd5b8151610f6781613a34565b825181526020808401518183015282516040830152820151606082015260808101610f67565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613ece575f80fd5b8251613ed9816134cb565b60208401519092506132b5816134af565b601f821115610c3757805f5260205f20601f840160051c81016020851015613f0f5750805b601f840160051c820191505b81811015611ff2575f8155600101613f1b565b81516001600160401b03811115613f4757613f476133a7565b613f5b81613f5584546139bf565b84613eea565b6020601f821160018114613f8d575f8315613f765750848201515b5f19600385901b1c1916600184901b178455611ff2565b5f84815260208120601f198516915b82811015613fbc5787850151825560209485019460019092019101613f9c565b5084821015613fd957868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220e7643544f974c33f530e768daf488fa008568cdadd6b169aef4eb1b6e868e7ee64736f6c634300081a0033",
1279
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051614c86380380614c8683398101604081905261002e91610c69565b61006b848484846040518060400160405280601281526020017129b4b6b83632a234b9ba3934b13aba34b7b760711b81525061007460201b60201c565b50505050611021565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100bd5750825b90505f826001600160401b031660011480156100d85750303b155b9050811580156100e6575080155b156101045760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561013257845460ff60401b1916680100000000000000001785555b61013f8a8a8a8a8a610191565b831561018557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6101996101ae565b6101a78585855f86866101fe565b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166101fc57604051631afcd79f60e31b815260040160405180910390fd5b565b6102066101ae565b610216868683600e8888886102a7565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900610246600e610502565b610502565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055610273610241600b90565b81546001600160a01b0319166001600160a01b039190911617815561029e6303c09ad960e41b610599565b50505050505050565b6102af6101ae565b5f6102bb8888876105cc565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa15801561032d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103519190610cc1565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516103ef929163bf7e214f9160048083019260209291908290030181865afa1580156103ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103cf9190610cc1565b8a8a8a8a898960405180602001604052805f81525061067760201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015610436573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061045a9190610cc1565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918716919091179055610498610241600b90565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556104c5610241600d90565b6004820180546001600160a01b0319166001600160a01b03929092169190911790556104f763a9c1bc6f60e01b610599565b505050505050505050565b5f6105156001546001600160a01b031690565b6001600160a01b031663d39e60438361052c610740565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561056f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105939190610cc1565b92915050565b6105a16101ae565b6105c9816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036105ed576105e48484600a6107d6565b50829050610670565b5f6105fa8585600c6107d6565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610648573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066c9190610cdc565b9150505b9392505050565b61067f6101ae565b84515f036106a05760405163591eebf360e11b815260040160405180910390fd5b6106af888888878787876108a0565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806106db8782610d8a565b5060018101805460ff19168515151790556106f7610241600b90565b6001820180546001600160a01b039290921661010002610100600160a81b0319909216919091179055610730634a531f3360e01b610599565b6104f76306e9e5ff60e31b610599565b5f6107727ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d19190610e5d565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610824573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261084b9190810190610f38565b905061086281604001518460ff9081169116141590565b1561089857604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6108a86101ae565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156108fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109229190611008565b61094a5760405163cf6935e560e01b81526001600160a01b038816600482015260240161088f565b610953876109f4565b61095d8683610a05565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016109d98382610d8a565b506109ea634a531f3360e01b610599565b5050505050505050565b6109fc6101ae565b6105c981610a97565b610a0d6101ae565b610a15610aa8565b610a1e82610af0565b6001600160a01b038116610a455760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a9f6101ae565b6105c981610bbc565b610ab06101ae565b6101fc6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610af86101ae565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610b4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b729190611008565b610b9a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161088f565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b03811681146105c9575f80fd5b8051610c4e81610c2f565b919050565b80516001600160601b0381168114610c4e575f80fd5b5f805f8060808587031215610c7c575f80fd5b8451610c8781610c2f565b9350610c9560208601610c53565b92506040850151610ca581610c2f565b6060860151909250610cb681610c2f565b939692955090935050565b5f60208284031215610cd1575f80fd5b815161067081610c2f565b5f60208284031215610cec575f80fd5b61067082610c53565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610d1d57607f821691505b602082108103610d3b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d8557805f5260205f20601f840160051c81016020851015610d665750805b601f840160051c820191505b818110156101a7575f8155600101610d72565b505050565b81516001600160401b03811115610da357610da3610cf5565b610db781610db18454610d09565b84610d41565b6020601f821160018114610de9575f8315610dd25750848201515b5f19600385901b1c1916600184901b1784556101a7565b5f84815260208120601f198516915b82811015610e185787850151825560209485019460019092019101610df8565b5084821015610e3557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60ff811681146105c9575f80fd5b8051610c4e81610e44565b5f60208284031215610e6d575f80fd5b815161067081610e44565b60405160e081016001600160401b0381118282101715610e9a57610e9a610cf5565b60405290565b80518015158114610c4e575f80fd5b5f82601f830112610ebe575f80fd5b81516001600160401b03811115610ed757610ed7610cf5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610f0557610f05610cf5565b604052818152838201602001851015610f1c575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610f48575f80fd5b81516001600160401b03811115610f5d575f80fd5b820160e08185031215610f6e575f80fd5b610f76610e78565b610f7f82610c53565b8152610f8d60208301610c53565b6020820152610f9e60408301610e52565b6040820152610faf60608301610ea0565b6060820152610fc060808301610c43565b6080820152610fd160a08301610c43565b60a082015260c08201516001600160401b03811115610fee575f80fd5b610ffa86828501610eaf565b60c083015250949350505050565b5f60208284031215611018575f80fd5b61067082610ea0565b613c588061102e5f395ff3fe608060405234801561000f575f80fd5b5060043610610276575f3560e01c80637427d7a811610156578063ada9652e116100ca578063deaa59df11610084578063deaa59df146105c0578063e145d46c146105d3578063ea15869f14610607578063f322c70a1461061b578063f5860e1a1461062e578063f80e207214610642575f80fd5b8063ada9652e14610559578063b423086c1461056d578063bf7e214f14610575578063d16d0fe81461057d578063d89873b114610590578063de7b5d14146105a3575f80fd5b80638fb360371161011b5780638fb36037146104d757806390edbd35146104f8578063963cb0671461050d578063987cb16114610520578063ab3fc75f14610533578063ad12ad6014610546575f80fd5b80637427d7a81461048857806376b707b71461049b5780637a9e5e4b146104b557806387ef9ba0146104c8578063893d20e8146104cf575f80fd5b806321df0da7116101ed57806343d752d3116101b257806343d752d31461041c5780635741e5e9146104245780635ab1bd531461042c5780635dcb3bae1461043d578063644c45e0146104505780636bd1c0eb14610458575f80fd5b806321df0da7146103dd57806322366844146103e557806322f3e2d4146103ed5780632eb3e6f4146103f5578063419197fe14610409575f80fd5b8063138461e01161023e578063138461e01461033757806317d7de7c1461033f5780631bda5efa146103545780631c6b2190146103805780631eff4b2214610393578063211e28b6146103c8575f80fd5b806301ffc9a71461027a57806307e71a6e146102bb5780630d8e6e2c146102e65780630fec111c146103025780631329960414610317575b5f80fd5b6102a6610288366004612d57565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ce6102c9366004612d92565b610655565b6040516001600160601b0390911681526020016102b2565b6102ee610726565b60405162ffffff90911681526020016102b2565b61030a6107ad565b6040516102b29190612df7565b61031f610967565b6040516001600160a01b0390911681526020016102b2565b6102ce6109cf565b6103476109d9565b6040516102b29190612e8b565b610367610362366004613015565b6109e9565b6040516001600160c01b031990911681526020016102b2565b6102ce61038e3660046130eb565b610a4d565b6103ba7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b2565b6103db6103d6366004613106565b610aa3565b005b61031f610aea565b6102a6610b2e565b6102a6610c24565b6103ba5f80516020613c0383398151915281565b6103db610417366004613121565b610c9b565b61031f610cee565b6102a6610d00565b6001546001600160a01b031661031f565b6102ce61044b366004613152565b610db6565b6102ce610e10565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661031f565b6103676104963660046131af565b610e2b565b6104a3610eab565b60405160ff90911681526020016102b2565b6103db6104c33660046131e0565b610f13565b60016102a6565b61031f610f99565b6104df6110ca565b6040516001600160e01b031990911681526020016102b2565b6105006110ff565b6040516102b291906131fb565b6103db61051b366004613237565b611130565b61036761052e3660046132b9565b611244565b6103db610541366004613363565b611311565b6103db610554366004613380565b611374565b6103ba5f80516020613b6383398151915281565b610500611417565b61031f611433565b6103ba61058b3660046133d0565b61144e565b61036761059e3660046132b9565b611462565b5f80516020613c03833981519152546001600160a01b031661031f565b6103db6105ce3660046131e0565b61147c565b6105e66105e13660046131af565b6114c9565b604080516001600160a01b03909316835260ff9091166020830152016102b2565b6103ba5f80516020613b8383398151915281565b6103db61062936600461343a565b611583565b6103ba5f80516020613be383398151915281565b6103db6106503660046133d0565b6115d1565b5f610662335b5f366115da565b82601761066f82826116d8565b846106826001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b81526004016106af92919061346d565b602060405180830381865afa1580156106ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ee919061349a565b6107125760405163086391f760e31b81523360048201526024015b60405180910390fd5b61071c868661180c565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906134b5565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610859573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087d91906134e2565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108c5610f99565b6001600160a01b031681526020018260010180546108e2906134fd565b80601f016020809104026020016040519081016040528092919081815260200182805461090e906134fd565b80156109595780601f1061093057610100808354040283529160200191610959565b820191905f5260205f20905b81548152906001019060200180831161093c57829003601f168201915b505050505081525091505090565b5f610970610cee565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a89190613540565b5f6107a830611898565b60606109e36110ff565b51919050565b5f6109f33361065b565b6109fb610f99565b6001600160a01b0316336001600160a01b031614610a2e5760405163086391f760e31b8152336004820152602401610709565b610a3f8a8a8a8a8a8a8a8a8a611ada565b9a9950505050505050505050565b5f610a573361065b565b610a5f610f99565b6001600160a01b0316336001600160a01b031614610a925760405163086391f760e31b8152336004820152602401610709565b610a9b82611b86565b90505b919050565b610aab610f99565b6001600160a01b0316336001600160a01b031614610ade5760405163086391f760e31b8152336004820152602401610709565b610ae781611c0a565b50565b5f610af3610cee565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ab573d5f803e3d5ffd5b5f610b416001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610b85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba991906134e2565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c00573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a8919061349a565b5f610c2d611433565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610c71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c95919061349a565b15905090565b610ca43361065b565b610cac610f99565b6001600160a01b0316336001600160a01b031614610cdf5760405163086391f760e31b8152336004820152602401610709565b610ce98282611c74565b505050565b5f610cf76110ff565b60200151905090565b5f610d09610b2e565b15610d8d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610d5d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d8491908101906135c8565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610dc03361065b565b610dc8610f99565b6001600160a01b0316336001600160a01b031614610dfb5760405163086391f760e31b8152336004820152602401610709565b610e06848484611df5565b90505b9392505050565b5f80516020613b63833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e4e610e10565b846040518363ffffffff1660e01b8152600401610e6c929190613698565b602060405180830381865af4158015610e87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b91906136b9565b5f610eb4611433565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906136d4565b33610f1c611433565b6001600160a01b0316816001600160a01b031614610f575760405162d1953b60e31b81526001600160a01b0382166004820152602401610709565b816001600160a01b03163b5f03610f8c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610709565b610f9582611e8f565b5050565b5f805f80516020613b6383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611005573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611029919061349a565b156110b4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561108a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ae9190613540565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020613ba383398151915280545f9190600160a01b900460ff166110f1575f6110ae565b638fb3603760e01b91505090565b60408051808201909152606081525f602082015261111b610b2e565b15611128576107a8611eef565b6107a8611417565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156111745750825b90505f826001600160401b0316600114801561118f5750303b155b90508115801561119d575080155b156111bb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111e557845460ff60401b1916600160401b1785555b6111f28a8a8a8a8a6120c2565b831561123857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b5f61124e3361065b565b866112616001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161128e92919061346d565b602060405180830381865afa1580156112a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cd919061349a565b6112ec5760405163086391f760e31b8152336004820152602401610709565b6112f78860176116d8565b6113058888888888886120d8565b98975050505050505050565b61131a3361065b565b611322610f99565b6001600160a01b0316336001600160a01b0316146113555760405163086391f760e31b8152336004820152602401610709565b82601761136282826116d8565b61136d85858561216f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113df9190613540565b6001600160a01b0316336001600160a01b0316146114115760405162f0630960e01b8152336004820152602401610709565b50505050565b60408051808201909152606081525f60208201526107a8611eef565b5f80516020613ba3833981519152546001600160a01b031690565b5f61145982826136ef565b90505b92915050565b5f6114718787878787876120d8565b979650505050505050565b6114853361065b565b61148d610f99565b6001600160a01b0316336001600160a01b0316146114c05760405163086391f760e31b8152336004820152602401610709565b610ae7816121ef565b5f805f6114d584610e2b565b90506115087fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611555573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115799190613712565b9250925050915091565b61158b610f99565b6001600160a01b0316336001600160a01b0316146115be5760405163086391f760e31b8152336004820152602401610709565b6115c73361065b565b610f958282612264565b610f953361065b565b5f80516020613ba38339815191525f806116126115f5611433565b873061160460045f8a8c61373f565b61160d91613766565b6122cb565b91509150816116d05763ffffffff8116156116ad57825460ff60a01b1916600160a01b178355611640611433565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161166f9392919061379e565b5f604051808303815f87803b158015611686575f80fd5b505af1158015611698573d5f803e3d5ffd5b5050845460ff60a01b19168555506116d09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610709565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611728573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174c919061349a565b806117da57506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156117b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d8919061349a565b155b15610f955760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610709565b5f5f80516020613be3833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611874573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061145991906134e2565b5f805f80516020613b6383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611904573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611928919061349a565b156119545780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610709565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ca919061349a565b6119f25760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610709565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611a44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6891906134e2565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611ab4610f99565b604051611ac292919061346d565b60405180910390a1546001600160601b031692915050565b5f80516020613bc383398151915254604051630ded2f7d60e11b81525f915f80516020613be3833981519152916001600160a01b0390911690631bda5efa90611b37908e908e908e908e908e908e908e908e908e906004016137dd565b6020604051808303815f875af1158015611b53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7791906136b9565b9b9a5050505050505050505050565b5f5f80516020613c03833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611be6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b91906134e2565b5f80516020613b838339815191526001015460405163108f145b60e11b815282151560048201526101009091046001600160a01b03169063211e28b6906024015b5f604051808303815f87803b158015611c62575f80fd5b505af115801561136d573d5f803e3d5ffd5b5f73__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96846001600160a01b031663dd62ed3e611ca6610cee565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015611cee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d12919061385c565b6040518263ffffffff1660e01b8152600401611d3091815260200190565b602060405180830381865af4158015611d4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6f91906134e2565b90505f80516020613b83833981519152600101546040516320c8cbff60e11b81526001600160a01b0385811660048301526001600160601b03851660248301526101009092049091169063419197fe906044015f604051808303815f87803b158015611dd9575f80fd5b505af1158015611deb573d5f803e3d5ffd5b5050505092915050565b5f80516020613bc383398151915254604051632ee59dd760e11b81525f915f80516020613be3833981519152916001600160a01b0390911690635dcb3bae90611e4690889088908890600401613873565b6020604051808303815f875af1158015611e62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e8691906134e2565b95945050505050565b5f80516020613ba383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f611f166001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611f5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7e91906134e2565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611fd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ffb919061349a565b156120ba577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612038610e10565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612079573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120a091908101906138a6565b60208101519092506001600160a01b0316156120ba575090565b6110ae6123d3565b6120ca61249d565b61136d8585855f86866124e8565b5f80516020613bc38339815191525460405163987cb16160e01b81525f915f80516020613be3833981519152916001600160a01b039091169063987cb1619061212f908b908b908b908b908b908b9060040161393a565b6020604051808303815f875af115801561214b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130591906136b9565b5f80516020613bc38339815191525460405163ab3fc75f60e01b81525f80516020613be3833981519152916001600160a01b03169063ab3fc75f906121bc908790879087906004016139a2565b5f604051808303815f87803b1580156121d3575f80fd5b505af11580156121e5573d5f803e3d5ffd5b5050505050505050565b6121f7610f99565b6001600160a01b0316336001600160a01b03161461222a5760405163086391f760e31b8152336004820152602401610709565b612234600b612578565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611c4b565b5f80516020613be38339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c91906122a290859085906004016139d5565b5f604051808303815f87803b1580156122b9575f80fd5b505af11580156116d0573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516123399190613a21565b5f60405180830381855afa9150503d805f8114612371576040519150601f19603f3d011682016040523d82523d5f602084013e612376565b606091505b509150915081156123c85760408151106123a8578080602001905181019061239e9190613a37565b90945092506123c8565b60208151106123c857808060200190518101906123c5919061349a565b93505b505094509492505050565b60408051808201909152606081525f60208201525f5f80516020613b8383398151915290506040518060400160405280825f018054612411906134fd565b80601f016020809104026020016040519081016040528092919081815260200182805461243d906134fd565b80156124885780601f1061245f57610100808354040283529160200191612488565b820191905f5260205f20905b81548152906001019060200180831161246b57829003601f168201915b50505091835250505f60209091015292915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166124e657604051631afcd79f60e31b815260040160405180910390fd5b565b6124f061249d565b612500868683600e888888612609565b5f80516020613be3833981519152612518600e612578565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612544600b612578565b81546001600160a01b0319166001600160a01b039190911617815561256f6303c09ad960e41b612849565b50505050505050565b5f61258b6001546001600160a01b031690565b6001600160a01b031663d39e6043836125a2610eab565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b9190613540565b61261161249d565b5f61261d888887612879565b90505f5f80516020613c0383398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa15801561267c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126a09190613540565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051612738929163bf7e214f9160048083019260209291908290030181865afa1580156126fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271e9190613540565b8a8a8a8a898960405180602001604052805f8152506128f5565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561277f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127a39190613540565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169187169190911790556127e0600b612578565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561280c600d612578565b6004820180546001600160a01b0319166001600160a01b039290921691909117905561283e63a9c1bc6f60e01b612849565b505050505050505050565b61285161249d565b610ae7816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c0361289a576128918484600a6129a9565b50829050610e09565b5f6128a78585600c6129a9565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611e62573d5f803e3d5ffd5b6128fd61249d565b84515f0361291e5760405163591eebf360e11b815260040160405180910390fd5b61292d88888887878787612a6e565b5f80516020613b83833981519152806129468782613aa8565b5060018101805460ff1916851515179055612961600b612578565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550612999634a531f3360e01b612849565b61283e6306e9e5ff60e31b612849565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156129f7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a1e91908101906135c8565b9050612a3581604001518460ff9081169116141590565b15612a6657604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610709565b509392505050565b612a7661249d565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015612acc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612af0919061349a565b612b185760405163cf6935e560e01b81526001600160a01b0388166004820152602401610709565b612b2187612bab565b612b2b8683612bbc565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612b9a8382613aa8565b506121e5634a531f3360e01b612849565b612bb361249d565b610ae781612c32565b612bc461249d565b612bcc612c43565b612bd582612c8b565b6001600160a01b038116612bfc5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613b6383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612c3a61249d565b610ae781611e8f565b612c4b61249d565b6124e66301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612c9361249d565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612ce9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d0d919061349a565b612d355760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215612d67575f80fd5b81356001600160e01b031981168114610e09575f80fd5b6001600160601b0381168114610ae7575f80fd5b5f8060408385031215612da3575f80fd5b8235612dae81612d7e565b91506020830135612dbe81612d7e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612e3f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612e83610100840182612dc9565b949350505050565b602081525f6114596020830184612dc9565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715612ed357612ed3612e9d565b60405290565b60405160e081016001600160401b0381118282101715612ed357612ed3612e9d565b604051601f8201601f191681016001600160401b0381118282101715612f2357612f23612e9d565b604052919050565b5f6001600160401b03821115612f4357612f43612e9d565b50601f01601f191660200190565b5f82601f830112612f60575f80fd5b8135602083015f612f78612f7384612f2b565b612efb565b9050828152858383011115612f8b575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114610ae7575f80fd5b8035610a9e81612fa5565b63ffffffff81168114610ae7575f80fd5b8035610a9e81612fc4565b64ffffffffff81168114610ae7575f80fd5b8035610a9e81612fe0565b8015158114610ae7575f80fd5b8035610a9e81612ffd565b5f805f805f805f805f6101208a8c03121561302e575f80fd5b89356001600160401b03811115613043575f80fd5b61304f8c828d01612f51565b99505060208a013561306081612fa5565b975061306e60408b01612fb9565b965061307c60608b01612fb9565b955061308a60808b01612fd5565b945061309860a08b01612ff2565b93506130a660c08b0161300a565b92506130b460e08b0161300a565b91506101008a01356001600160401b038111156130cf575f80fd5b6130db8c828d01612f51565b9150509295985092959850929598565b5f602082840312156130fb575f80fd5b8135610e0981612d7e565b5f60208284031215613116575f80fd5b8135610e0981612ffd565b5f8060408385031215613132575f80fd5b8235612dae81612fa5565b6001600160c01b031981168114610ae7575f80fd5b5f805f60608486031215613164575f80fd5b833561316f81612fa5565b9250602084013561317f8161313d565b915060408401356001600160401b03811115613199575f80fd5b6131a586828701612f51565b9150509250925092565b5f602082840312156131bf575f80fd5b81356001600160401b038111156131d4575f80fd5b612e8384828501612f51565b5f602082840312156131f0575f80fd5b8135610e0981612fa5565b602081525f8251604060208401526132166060840182612dc9565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f60a0868803121561324b575f80fd5b853561325681612fa5565b9450602086013561326681612d7e565b9350604086013561327681612fa5565b9250606086013561328681612fa5565b915060808601356001600160401b038111156132a0575f80fd5b6132ac88828901612f51565b9150509295509295909350565b5f805f805f8060c087890312156132ce575f80fd5b86356132d981612d7e565b955060208701356001600160401b038111156132f3575f80fd5b6132ff89828a01612f51565b955050604087013561331081612fa5565b9350606087013561332081612fc4565b9250608087013561333081612fe0565b915060a08701356001600160401b0381111561334a575f80fd5b61335689828a01612f51565b9150509295509295509295565b5f805f60608486031215613375575f80fd5b833561316f81612d7e565b5f805f8060808587031215613393575f80fd5b843561339e81612fa5565b935060208501356133ae81612fa5565b92506040850135915060608501356133c581612fa5565b939692955090935050565b5f80604083850312156133e1575f80fd5b82356133ec8161313d565b946020939093013593505050565b5f6040828403121561340a575f80fd5b613412612eb1565b9050813561341f81612fa5565b8152602082013561342f81612d7e565b602082015292915050565b5f806080838503121561344b575f80fd5b61345584846133fa565b915061346484604085016133fa565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a9e81612ffd565b5f602082840312156134aa575f80fd5b8151610e0981612ffd565b5f602082840312156134c5575f80fd5b815162ffffff81168114610e09575f80fd5b8051610a9e81612d7e565b5f602082840312156134f2575f80fd5b8151610e0981612d7e565b600181811c9082168061351157607f821691505b60208210810361352f57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a9e81612fa5565b5f60208284031215613550575f80fd5b8151610e0981612fa5565b60ff81168114610ae7575f80fd5b8051610a9e8161355b565b5f613581612f7384612f2b565b9050828152838383011115613594575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126135b9575f80fd5b61145983835160208501613574565b5f602082840312156135d8575f80fd5b81516001600160401b038111156135ed575f80fd5b820160e081850312156135fe575f80fd5b613606612ed9565b61360f826134d7565b815261361d602083016134d7565b602082015261362e60408301613569565b604082015261363f6060830161348f565b606082015261365060808301613535565b608082015261366160a08301613535565b60a082015260c08201516001600160401b0381111561367e575f80fd5b61368a868285016135aa565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610e066040830184612dc9565b5f602082840312156136c9575f80fd5b8151610e098161313d565b5f602082840312156136e4575f80fd5b8151610e098161355b565b808202811582820484141761145c57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613723575f80fd5b825161372e81612fa5565b6020840151909250612dbe8161355b565b5f808585111561374d575f80fd5b83861115613759575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613797576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6137f161012083018c612dc9565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e084015282810361010084015261384c8185612dc9565b9c9b505050505050505050505050565b5f6020828403121561386c575f80fd5b5051919050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611e8690830184612dc9565b5f602082840312156138b6575f80fd5b81516001600160401b038111156138cb575f80fd5b8201604081850312156138dc575f80fd5b6138e4612eb1565b81516001600160401b038111156138f9575f80fd5b8201601f81018613613909575f80fd5b61391886825160208401613574565b8252506020820151915061392b82612fa5565b60208101919091529392505050565b6001600160601b038716815260c060208201525f61395b60c0830188612dc9565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526139958185612dc9565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611e866060830184612dc9565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610e09565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613a48575f80fd5b8251613a5381612ffd565b6020840151909250612dbe81612fc4565b601f821115610ce957805f5260205f20601f840160051c81016020851015613a895750805b601f840160051c820191505b8181101561136d575f8155600101613a95565b81516001600160401b03811115613ac157613ac1612e9d565b613ad581613acf84546134fd565b84613a64565b6020601f821160018114613b07575f8315613af05750848201515b5f19600385901b1c1916600184901b17845561136d565b5f84815260208120601f198516915b82811015613b365787850151825560209485019460019092019101613b16565b5084821015613b5357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220e7f3a6c4aace18f09801ed3e71815889b760855659fe9b89e2c5dc25ee78f4a764736f6c634300081a0033",
1280
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610276575f3560e01c80637427d7a811610156578063ada9652e116100ca578063deaa59df11610084578063deaa59df146105c0578063e145d46c146105d3578063ea15869f14610607578063f322c70a1461061b578063f5860e1a1461062e578063f80e207214610642575f80fd5b8063ada9652e14610559578063b423086c1461056d578063bf7e214f14610575578063d16d0fe81461057d578063d89873b114610590578063de7b5d14146105a3575f80fd5b80638fb360371161011b5780638fb36037146104d757806390edbd35146104f8578063963cb0671461050d578063987cb16114610520578063ab3fc75f14610533578063ad12ad6014610546575f80fd5b80637427d7a81461048857806376b707b71461049b5780637a9e5e4b146104b557806387ef9ba0146104c8578063893d20e8146104cf575f80fd5b806321df0da7116101ed57806343d752d3116101b257806343d752d31461041c5780635741e5e9146104245780635ab1bd531461042c5780635dcb3bae1461043d578063644c45e0146104505780636bd1c0eb14610458575f80fd5b806321df0da7146103dd57806322366844146103e557806322f3e2d4146103ed5780632eb3e6f4146103f5578063419197fe14610409575f80fd5b8063138461e01161023e578063138461e01461033757806317d7de7c1461033f5780631bda5efa146103545780631c6b2190146103805780631eff4b2214610393578063211e28b6146103c8575f80fd5b806301ffc9a71461027a57806307e71a6e146102bb5780630d8e6e2c146102e65780630fec111c146103025780631329960414610317575b5f80fd5b6102a6610288366004612d57565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ce6102c9366004612d92565b610655565b6040516001600160601b0390911681526020016102b2565b6102ee610726565b60405162ffffff90911681526020016102b2565b61030a6107ad565b6040516102b29190612df7565b61031f610967565b6040516001600160a01b0390911681526020016102b2565b6102ce6109cf565b6103476109d9565b6040516102b29190612e8b565b610367610362366004613015565b6109e9565b6040516001600160c01b031990911681526020016102b2565b6102ce61038e3660046130eb565b610a4d565b6103ba7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b2565b6103db6103d6366004613106565b610aa3565b005b61031f610aea565b6102a6610b2e565b6102a6610c24565b6103ba5f80516020613c0383398151915281565b6103db610417366004613121565b610c9b565b61031f610cee565b6102a6610d00565b6001546001600160a01b031661031f565b6102ce61044b366004613152565b610db6565b6102ce610e10565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661031f565b6103676104963660046131af565b610e2b565b6104a3610eab565b60405160ff90911681526020016102b2565b6103db6104c33660046131e0565b610f13565b60016102a6565b61031f610f99565b6104df6110ca565b6040516001600160e01b031990911681526020016102b2565b6105006110ff565b6040516102b291906131fb565b6103db61051b366004613237565b611130565b61036761052e3660046132b9565b611244565b6103db610541366004613363565b611311565b6103db610554366004613380565b611374565b6103ba5f80516020613b6383398151915281565b610500611417565b61031f611433565b6103ba61058b3660046133d0565b61144e565b61036761059e3660046132b9565b611462565b5f80516020613c03833981519152546001600160a01b031661031f565b6103db6105ce3660046131e0565b61147c565b6105e66105e13660046131af565b6114c9565b604080516001600160a01b03909316835260ff9091166020830152016102b2565b6103ba5f80516020613b8383398151915281565b6103db61062936600461343a565b611583565b6103ba5f80516020613be383398151915281565b6103db6106503660046133d0565b6115d1565b5f610662335b5f366115da565b82601761066f82826116d8565b846106826001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b81526004016106af92919061346d565b602060405180830381865afa1580156106ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ee919061349a565b6107125760405163086391f760e31b81523360048201526024015b60405180910390fd5b61071c868661180c565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906134b5565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610859573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087d91906134e2565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108c5610f99565b6001600160a01b031681526020018260010180546108e2906134fd565b80601f016020809104026020016040519081016040528092919081815260200182805461090e906134fd565b80156109595780601f1061093057610100808354040283529160200191610959565b820191905f5260205f20905b81548152906001019060200180831161093c57829003601f168201915b505050505081525091505090565b5f610970610cee565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a89190613540565b5f6107a830611898565b60606109e36110ff565b51919050565b5f6109f33361065b565b6109fb610f99565b6001600160a01b0316336001600160a01b031614610a2e5760405163086391f760e31b8152336004820152602401610709565b610a3f8a8a8a8a8a8a8a8a8a611ada565b9a9950505050505050505050565b5f610a573361065b565b610a5f610f99565b6001600160a01b0316336001600160a01b031614610a925760405163086391f760e31b8152336004820152602401610709565b610a9b82611b86565b90505b919050565b610aab610f99565b6001600160a01b0316336001600160a01b031614610ade5760405163086391f760e31b8152336004820152602401610709565b610ae781611c0a565b50565b5f610af3610cee565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ab573d5f803e3d5ffd5b5f610b416001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610b85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba991906134e2565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c00573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a8919061349a565b5f610c2d611433565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610c71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c95919061349a565b15905090565b610ca43361065b565b610cac610f99565b6001600160a01b0316336001600160a01b031614610cdf5760405163086391f760e31b8152336004820152602401610709565b610ce98282611c74565b505050565b5f610cf76110ff565b60200151905090565b5f610d09610b2e565b15610d8d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610d5d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d8491908101906135c8565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610dc03361065b565b610dc8610f99565b6001600160a01b0316336001600160a01b031614610dfb5760405163086391f760e31b8152336004820152602401610709565b610e06848484611df5565b90505b9392505050565b5f80516020613b63833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e4e610e10565b846040518363ffffffff1660e01b8152600401610e6c929190613698565b602060405180830381865af4158015610e87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b91906136b9565b5f610eb4611433565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906136d4565b33610f1c611433565b6001600160a01b0316816001600160a01b031614610f575760405162d1953b60e31b81526001600160a01b0382166004820152602401610709565b816001600160a01b03163b5f03610f8c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610709565b610f9582611e8f565b5050565b5f805f80516020613b6383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611005573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611029919061349a565b156110b4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561108a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ae9190613540565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020613ba383398151915280545f9190600160a01b900460ff166110f1575f6110ae565b638fb3603760e01b91505090565b60408051808201909152606081525f602082015261111b610b2e565b15611128576107a8611eef565b6107a8611417565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156111745750825b90505f826001600160401b0316600114801561118f5750303b155b90508115801561119d575080155b156111bb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111e557845460ff60401b1916600160401b1785555b6111f28a8a8a8a8a6120c2565b831561123857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b5f61124e3361065b565b866112616001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161128e92919061346d565b602060405180830381865afa1580156112a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cd919061349a565b6112ec5760405163086391f760e31b8152336004820152602401610709565b6112f78860176116d8565b6113058888888888886120d8565b98975050505050505050565b61131a3361065b565b611322610f99565b6001600160a01b0316336001600160a01b0316146113555760405163086391f760e31b8152336004820152602401610709565b82601761136282826116d8565b61136d85858561216f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113df9190613540565b6001600160a01b0316336001600160a01b0316146114115760405162f0630960e01b8152336004820152602401610709565b50505050565b60408051808201909152606081525f60208201526107a8611eef565b5f80516020613ba3833981519152546001600160a01b031690565b5f61145982826136ef565b90505b92915050565b5f6114718787878787876120d8565b979650505050505050565b6114853361065b565b61148d610f99565b6001600160a01b0316336001600160a01b0316146114c05760405163086391f760e31b8152336004820152602401610709565b610ae7816121ef565b5f805f6114d584610e2b565b90506115087fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611555573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115799190613712565b9250925050915091565b61158b610f99565b6001600160a01b0316336001600160a01b0316146115be5760405163086391f760e31b8152336004820152602401610709565b6115c73361065b565b610f958282612264565b610f953361065b565b5f80516020613ba38339815191525f806116126115f5611433565b873061160460045f8a8c61373f565b61160d91613766565b6122cb565b91509150816116d05763ffffffff8116156116ad57825460ff60a01b1916600160a01b178355611640611433565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161166f9392919061379e565b5f604051808303815f87803b158015611686575f80fd5b505af1158015611698573d5f803e3d5ffd5b5050845460ff60a01b19168555506116d09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610709565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611728573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174c919061349a565b806117da57506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156117b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d8919061349a565b155b15610f955760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610709565b5f5f80516020613be3833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611874573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061145991906134e2565b5f805f80516020613b6383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611904573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611928919061349a565b156119545780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610709565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ca919061349a565b6119f25760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610709565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611a44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6891906134e2565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611ab4610f99565b604051611ac292919061346d565b60405180910390a1546001600160601b031692915050565b5f80516020613bc383398151915254604051630ded2f7d60e11b81525f915f80516020613be3833981519152916001600160a01b0390911690631bda5efa90611b37908e908e908e908e908e908e908e908e908e906004016137dd565b6020604051808303815f875af1158015611b53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7791906136b9565b9b9a5050505050505050505050565b5f5f80516020613c03833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611be6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b91906134e2565b5f80516020613b838339815191526001015460405163108f145b60e11b815282151560048201526101009091046001600160a01b03169063211e28b6906024015b5f604051808303815f87803b158015611c62575f80fd5b505af115801561136d573d5f803e3d5ffd5b5f73__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96846001600160a01b031663dd62ed3e611ca6610cee565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015611cee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d12919061385c565b6040518263ffffffff1660e01b8152600401611d3091815260200190565b602060405180830381865af4158015611d4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6f91906134e2565b90505f80516020613b83833981519152600101546040516320c8cbff60e11b81526001600160a01b0385811660048301526001600160601b03851660248301526101009092049091169063419197fe906044015f604051808303815f87803b158015611dd9575f80fd5b505af1158015611deb573d5f803e3d5ffd5b5050505092915050565b5f80516020613bc383398151915254604051632ee59dd760e11b81525f915f80516020613be3833981519152916001600160a01b0390911690635dcb3bae90611e4690889088908890600401613873565b6020604051808303815f875af1158015611e62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e8691906134e2565b95945050505050565b5f80516020613ba383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f611f166001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611f5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7e91906134e2565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611fd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ffb919061349a565b156120ba577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612038610e10565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612079573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120a091908101906138a6565b60208101519092506001600160a01b0316156120ba575090565b6110ae6123d3565b6120ca61249d565b61136d8585855f86866124e8565b5f80516020613bc38339815191525460405163987cb16160e01b81525f915f80516020613be3833981519152916001600160a01b039091169063987cb1619061212f908b908b908b908b908b908b9060040161393a565b6020604051808303815f875af115801561214b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130591906136b9565b5f80516020613bc38339815191525460405163ab3fc75f60e01b81525f80516020613be3833981519152916001600160a01b03169063ab3fc75f906121bc908790879087906004016139a2565b5f604051808303815f87803b1580156121d3575f80fd5b505af11580156121e5573d5f803e3d5ffd5b5050505050505050565b6121f7610f99565b6001600160a01b0316336001600160a01b03161461222a5760405163086391f760e31b8152336004820152602401610709565b612234600b612578565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611c4b565b5f80516020613be38339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c91906122a290859085906004016139d5565b5f604051808303815f87803b1580156122b9575f80fd5b505af11580156116d0573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516123399190613a21565b5f60405180830381855afa9150503d805f8114612371576040519150601f19603f3d011682016040523d82523d5f602084013e612376565b606091505b509150915081156123c85760408151106123a8578080602001905181019061239e9190613a37565b90945092506123c8565b60208151106123c857808060200190518101906123c5919061349a565b93505b505094509492505050565b60408051808201909152606081525f60208201525f5f80516020613b8383398151915290506040518060400160405280825f018054612411906134fd565b80601f016020809104026020016040519081016040528092919081815260200182805461243d906134fd565b80156124885780601f1061245f57610100808354040283529160200191612488565b820191905f5260205f20905b81548152906001019060200180831161246b57829003601f168201915b50505091835250505f60209091015292915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166124e657604051631afcd79f60e31b815260040160405180910390fd5b565b6124f061249d565b612500868683600e888888612609565b5f80516020613be3833981519152612518600e612578565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612544600b612578565b81546001600160a01b0319166001600160a01b039190911617815561256f6303c09ad960e41b612849565b50505050505050565b5f61258b6001546001600160a01b031690565b6001600160a01b031663d39e6043836125a2610eab565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b9190613540565b61261161249d565b5f61261d888887612879565b90505f5f80516020613c0383398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa15801561267c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126a09190613540565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051612738929163bf7e214f9160048083019260209291908290030181865afa1580156126fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271e9190613540565b8a8a8a8a898960405180602001604052805f8152506128f5565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561277f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127a39190613540565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169187169190911790556127e0600b612578565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561280c600d612578565b6004820180546001600160a01b0319166001600160a01b039290921691909117905561283e63a9c1bc6f60e01b612849565b505050505050505050565b61285161249d565b610ae7816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c0361289a576128918484600a6129a9565b50829050610e09565b5f6128a78585600c6129a9565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611e62573d5f803e3d5ffd5b6128fd61249d565b84515f0361291e5760405163591eebf360e11b815260040160405180910390fd5b61292d88888887878787612a6e565b5f80516020613b83833981519152806129468782613aa8565b5060018101805460ff1916851515179055612961600b612578565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550612999634a531f3360e01b612849565b61283e6306e9e5ff60e31b612849565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156129f7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a1e91908101906135c8565b9050612a3581604001518460ff9081169116141590565b15612a6657604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610709565b509392505050565b612a7661249d565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015612acc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612af0919061349a565b612b185760405163cf6935e560e01b81526001600160a01b0388166004820152602401610709565b612b2187612bab565b612b2b8683612bbc565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612b9a8382613aa8565b506121e5634a531f3360e01b612849565b612bb361249d565b610ae781612c32565b612bc461249d565b612bcc612c43565b612bd582612c8b565b6001600160a01b038116612bfc5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613b6383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612c3a61249d565b610ae781611e8f565b612c4b61249d565b6124e66301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612c9361249d565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612ce9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d0d919061349a565b612d355760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215612d67575f80fd5b81356001600160e01b031981168114610e09575f80fd5b6001600160601b0381168114610ae7575f80fd5b5f8060408385031215612da3575f80fd5b8235612dae81612d7e565b91506020830135612dbe81612d7e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612e3f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612e83610100840182612dc9565b949350505050565b602081525f6114596020830184612dc9565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715612ed357612ed3612e9d565b60405290565b60405160e081016001600160401b0381118282101715612ed357612ed3612e9d565b604051601f8201601f191681016001600160401b0381118282101715612f2357612f23612e9d565b604052919050565b5f6001600160401b03821115612f4357612f43612e9d565b50601f01601f191660200190565b5f82601f830112612f60575f80fd5b8135602083015f612f78612f7384612f2b565b612efb565b9050828152858383011115612f8b575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114610ae7575f80fd5b8035610a9e81612fa5565b63ffffffff81168114610ae7575f80fd5b8035610a9e81612fc4565b64ffffffffff81168114610ae7575f80fd5b8035610a9e81612fe0565b8015158114610ae7575f80fd5b8035610a9e81612ffd565b5f805f805f805f805f6101208a8c03121561302e575f80fd5b89356001600160401b03811115613043575f80fd5b61304f8c828d01612f51565b99505060208a013561306081612fa5565b975061306e60408b01612fb9565b965061307c60608b01612fb9565b955061308a60808b01612fd5565b945061309860a08b01612ff2565b93506130a660c08b0161300a565b92506130b460e08b0161300a565b91506101008a01356001600160401b038111156130cf575f80fd5b6130db8c828d01612f51565b9150509295985092959850929598565b5f602082840312156130fb575f80fd5b8135610e0981612d7e565b5f60208284031215613116575f80fd5b8135610e0981612ffd565b5f8060408385031215613132575f80fd5b8235612dae81612fa5565b6001600160c01b031981168114610ae7575f80fd5b5f805f60608486031215613164575f80fd5b833561316f81612fa5565b9250602084013561317f8161313d565b915060408401356001600160401b03811115613199575f80fd5b6131a586828701612f51565b9150509250925092565b5f602082840312156131bf575f80fd5b81356001600160401b038111156131d4575f80fd5b612e8384828501612f51565b5f602082840312156131f0575f80fd5b8135610e0981612fa5565b602081525f8251604060208401526132166060840182612dc9565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f60a0868803121561324b575f80fd5b853561325681612fa5565b9450602086013561326681612d7e565b9350604086013561327681612fa5565b9250606086013561328681612fa5565b915060808601356001600160401b038111156132a0575f80fd5b6132ac88828901612f51565b9150509295509295909350565b5f805f805f8060c087890312156132ce575f80fd5b86356132d981612d7e565b955060208701356001600160401b038111156132f3575f80fd5b6132ff89828a01612f51565b955050604087013561331081612fa5565b9350606087013561332081612fc4565b9250608087013561333081612fe0565b915060a08701356001600160401b0381111561334a575f80fd5b61335689828a01612f51565b9150509295509295509295565b5f805f60608486031215613375575f80fd5b833561316f81612d7e565b5f805f8060808587031215613393575f80fd5b843561339e81612fa5565b935060208501356133ae81612fa5565b92506040850135915060608501356133c581612fa5565b939692955090935050565b5f80604083850312156133e1575f80fd5b82356133ec8161313d565b946020939093013593505050565b5f6040828403121561340a575f80fd5b613412612eb1565b9050813561341f81612fa5565b8152602082013561342f81612d7e565b602082015292915050565b5f806080838503121561344b575f80fd5b61345584846133fa565b915061346484604085016133fa565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a9e81612ffd565b5f602082840312156134aa575f80fd5b8151610e0981612ffd565b5f602082840312156134c5575f80fd5b815162ffffff81168114610e09575f80fd5b8051610a9e81612d7e565b5f602082840312156134f2575f80fd5b8151610e0981612d7e565b600181811c9082168061351157607f821691505b60208210810361352f57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a9e81612fa5565b5f60208284031215613550575f80fd5b8151610e0981612fa5565b60ff81168114610ae7575f80fd5b8051610a9e8161355b565b5f613581612f7384612f2b565b9050828152838383011115613594575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126135b9575f80fd5b61145983835160208501613574565b5f602082840312156135d8575f80fd5b81516001600160401b038111156135ed575f80fd5b820160e081850312156135fe575f80fd5b613606612ed9565b61360f826134d7565b815261361d602083016134d7565b602082015261362e60408301613569565b604082015261363f6060830161348f565b606082015261365060808301613535565b608082015261366160a08301613535565b60a082015260c08201516001600160401b0381111561367e575f80fd5b61368a868285016135aa565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610e066040830184612dc9565b5f602082840312156136c9575f80fd5b8151610e098161313d565b5f602082840312156136e4575f80fd5b8151610e098161355b565b808202811582820484141761145c57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613723575f80fd5b825161372e81612fa5565b6020840151909250612dbe8161355b565b5f808585111561374d575f80fd5b83861115613759575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613797576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6137f161012083018c612dc9565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e084015282810361010084015261384c8185612dc9565b9c9b505050505050505050505050565b5f6020828403121561386c575f80fd5b5051919050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611e8690830184612dc9565b5f602082840312156138b6575f80fd5b81516001600160401b038111156138cb575f80fd5b8201604081850312156138dc575f80fd5b6138e4612eb1565b81516001600160401b038111156138f9575f80fd5b8201601f81018613613909575f80fd5b61391886825160208401613574565b8252506020820151915061392b82612fa5565b60208101919091529392505050565b6001600160601b038716815260c060208201525f61395b60c0830188612dc9565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526139958185612dc9565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611e866060830184612dc9565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610e09565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613a48575f80fd5b8251613a5381612ffd565b6020840151909250612dbe81612fc4565b601f821115610ce957805f5260205f20601f840160051c81016020851015613a895750805b601f840160051c820191505b8181101561136d575f8155600101613a95565b81516001600160401b03811115613ac157613ac1612e9d565b613ad581613acf84546134fd565b84613a64565b6020601f821160018114613b07575f8315613af05750848201515b5f19600385901b1c1916600184901b17845561136d565b5f84815260208120601f198516915b82811015613b365787850151825560209485019460019092019101613b16565b5084821015613b5357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220e7f3a6c4aace18f09801ed3e71815889b760855659fe9b89e2c5dc25ee78f4a764736f6c634300081a0033",
1271
1281
  "linkReferences": {
1272
- "contracts/type/Amount.sol": {
1273
- "AmountLib": [
1282
+ "contracts/shared/ContractLib.sol": {
1283
+ "ContractLib": [
1274
1284
  {
1275
1285
  "length": 20,
1276
- "start": 6771
1286
+ "start": 2246
1277
1287
  },
1278
1288
  {
1279
1289
  "length": 20,
1280
- "start": 9148
1281
- },
1282
- {
1283
- "length": 20,
1284
- "start": 9404
1285
- }
1286
- ]
1287
- },
1288
- "contracts/type/NftId.sol": {
1289
- "NftIdLib": [
1290
- {
1291
- "length": 20,
1292
- "start": 5434
1290
+ "start": 2838
1293
1291
  },
1294
1292
  {
1295
1293
  "length": 20,
1296
- "start": 6253
1294
+ "start": 15042
1297
1295
  },
1298
1296
  {
1299
1297
  "length": 20,
1300
- "start": 7688
1301
- },
1298
+ "start": 15583
1299
+ }
1300
+ ]
1301
+ },
1302
+ "contracts/type/Amount.sol": {
1303
+ "AmountLib": [
1302
1304
  {
1303
1305
  "length": 20,
1304
- "start": 8046
1305
- },
1306
+ "start": 11429
1307
+ }
1308
+ ]
1309
+ },
1310
+ "contracts/type/NftId.sol": {
1311
+ "NftIdLib": [
1306
1312
  {
1307
1313
  "length": 20,
1308
- "start": 10662
1314
+ "start": 6210
1309
1315
  },
1310
1316
  {
1311
1317
  "length": 20,
1312
- "start": 11869
1318
+ "start": 7158
1313
1319
  },
1314
1320
  {
1315
1321
  "length": 20,
1316
- "start": 12476
1322
+ "start": 8187
1317
1323
  },
1318
1324
  {
1319
1325
  "length": 20,
1320
- "start": 13364
1326
+ "start": 10490
1321
1327
  },
1322
1328
  {
1323
1329
  "length": 20,
1324
- "start": 13547
1325
- },
1330
+ "start": 12237
1331
+ }
1332
+ ]
1333
+ },
1334
+ "contracts/type/ObjectType.sol": {
1335
+ "ObjectTypeLib": [
1326
1336
  {
1327
1337
  "length": 20,
1328
- "start": 14199
1338
+ "start": 10014
1329
1339
  }
1330
1340
  ]
1331
1341
  },
@@ -1333,25 +1343,37 @@
1333
1343
  "ReferralLib": [
1334
1344
  {
1335
1345
  "length": 20,
1336
- "start": 7377
1346
+ "start": 7772
1347
+ }
1348
+ ]
1349
+ },
1350
+ "contracts/type/Version.sol": {
1351
+ "VersionLib": [
1352
+ {
1353
+ "length": 20,
1354
+ "start": 6010
1337
1355
  }
1338
1356
  ]
1339
1357
  }
1340
1358
  },
1341
1359
  "deployedLinkReferences": {
1342
- "contracts/type/Amount.sol": {
1343
- "AmountLib": [
1360
+ "contracts/shared/ContractLib.sol": {
1361
+ "ContractLib": [
1344
1362
  {
1345
1363
  "length": 20,
1346
- "start": 3374
1364
+ "start": 10900
1347
1365
  },
1348
1366
  {
1349
1367
  "length": 20,
1350
- "start": 5751
1351
- },
1368
+ "start": 11441
1369
+ }
1370
+ ]
1371
+ },
1372
+ "contracts/type/Amount.sol": {
1373
+ "AmountLib": [
1352
1374
  {
1353
1375
  "length": 20,
1354
- "start": 6007
1376
+ "start": 7287
1355
1377
  }
1356
1378
  ]
1357
1379
  },
@@ -1359,43 +1381,31 @@
1359
1381
  "NftIdLib": [
1360
1382
  {
1361
1383
  "length": 20,
1362
- "start": 2037
1363
- },
1364
- {
1365
- "length": 20,
1366
- "start": 2856
1367
- },
1368
- {
1369
- "length": 20,
1370
- "start": 4291
1371
- },
1372
- {
1373
- "length": 20,
1374
- "start": 4649
1375
- },
1376
- {
1377
- "length": 20,
1378
- "start": 7265
1384
+ "start": 2068
1379
1385
  },
1380
1386
  {
1381
1387
  "length": 20,
1382
- "start": 8472
1388
+ "start": 3016
1383
1389
  },
1384
1390
  {
1385
1391
  "length": 20,
1386
- "start": 9079
1392
+ "start": 4045
1387
1393
  },
1388
1394
  {
1389
1395
  "length": 20,
1390
- "start": 9967
1396
+ "start": 6348
1391
1397
  },
1392
1398
  {
1393
1399
  "length": 20,
1394
- "start": 10150
1395
- },
1400
+ "start": 8095
1401
+ }
1402
+ ]
1403
+ },
1404
+ "contracts/type/ObjectType.sol": {
1405
+ "ObjectTypeLib": [
1396
1406
  {
1397
1407
  "length": 20,
1398
- "start": 10802
1408
+ "start": 5872
1399
1409
  }
1400
1410
  ]
1401
1411
  },
@@ -1403,7 +1413,15 @@
1403
1413
  "ReferralLib": [
1404
1414
  {
1405
1415
  "length": 20,
1406
- "start": 3980
1416
+ "start": 3630
1417
+ }
1418
+ ]
1419
+ },
1420
+ "contracts/type/Version.sol": {
1421
+ "VersionLib": [
1422
+ {
1423
+ "length": 20,
1424
+ "start": 1868
1407
1425
  }
1408
1426
  ]
1409
1427
  }