@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
@@ -41,41 +41,41 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
- {
45
- "inputs": [],
46
- "name": "ErrorComponentNameLengthZero",
47
- "type": "error"
48
- },
49
44
  {
50
45
  "inputs": [
51
46
  {
52
47
  "internalType": "address",
53
- "name": "caller",
48
+ "name": "authority",
54
49
  "type": "address"
55
50
  }
56
51
  ],
57
- "name": "ErrorComponentNotChainNft",
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "ErrorComponentNameLengthZero",
58
58
  "type": "error"
59
59
  },
60
60
  {
61
61
  "inputs": [
62
62
  {
63
- "internalType": "NftId",
64
- "name": "instanceNftId",
65
- "type": "uint96"
63
+ "internalType": "address",
64
+ "name": "caller",
65
+ "type": "address"
66
66
  }
67
67
  ],
68
- "name": "ErrorComponentNotInstance",
68
+ "name": "ErrorComponentNotChainNft",
69
69
  "type": "error"
70
70
  },
71
71
  {
72
72
  "inputs": [],
73
- "name": "ErrorComponentProductNftAlreadySet",
73
+ "name": "ErrorComponentProductNftIdNonzero",
74
74
  "type": "error"
75
75
  },
76
76
  {
77
77
  "inputs": [],
78
- "name": "ErrorComponentTokenAddressZero",
78
+ "name": "ErrorComponentProductNftIdZero",
79
79
  "type": "error"
80
80
  },
81
81
  {
@@ -95,29 +95,34 @@
95
95
  },
96
96
  {
97
97
  "inputs": [
98
- {
99
- "internalType": "address",
100
- "name": "distributor",
101
- "type": "address"
102
- },
103
98
  {
104
99
  "internalType": "NftId",
105
- "name": "distributorNftId",
100
+ "name": "nftId",
106
101
  "type": "uint96"
102
+ },
103
+ {
104
+ "internalType": "ObjectType",
105
+ "name": "objectType",
106
+ "type": "uint8"
107
107
  }
108
108
  ],
109
- "name": "ErrorDistributionAlreadyDistributor",
109
+ "name": "ErrorInstanceLinkedComponentNotProduct",
110
110
  "type": "error"
111
111
  },
112
112
  {
113
113
  "inputs": [
114
114
  {
115
- "internalType": "address",
116
- "name": "distributor",
117
- "type": "address"
115
+ "internalType": "ObjectType",
116
+ "name": "requiredType",
117
+ "type": "uint8"
118
+ },
119
+ {
120
+ "internalType": "ObjectType",
121
+ "name": "objectType",
122
+ "type": "uint8"
118
123
  }
119
124
  ],
120
- "name": "ErrorDistributionNotDistributor",
125
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
121
126
  "type": "error"
122
127
  },
123
128
  {
@@ -147,6 +152,22 @@
147
152
  "name": "ErrorNftOwnableInitialOwnerZero",
148
153
  "type": "error"
149
154
  },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "NftId",
159
+ "name": "nftId",
160
+ "type": "uint96"
161
+ },
162
+ {
163
+ "internalType": "ObjectType",
164
+ "name": "expectedObjectType",
165
+ "type": "uint8"
166
+ }
167
+ ],
168
+ "name": "ErrorNftOwnableInvalidType",
169
+ "type": "error"
170
+ },
150
171
  {
151
172
  "inputs": [
152
173
  {
@@ -169,6 +190,11 @@
169
190
  "name": "ErrorNotRegistry",
170
191
  "type": "error"
171
192
  },
193
+ {
194
+ "inputs": [],
195
+ "name": "ErrorRegisterableNotActive",
196
+ "type": "error"
197
+ },
172
198
  {
173
199
  "inputs": [],
174
200
  "name": "InvalidInitialization",
@@ -208,6 +234,12 @@
208
234
  {
209
235
  "anonymous": false,
210
236
  "inputs": [
237
+ {
238
+ "indexed": false,
239
+ "internalType": "address",
240
+ "name": "tokenHandler",
241
+ "type": "address"
242
+ },
211
243
  {
212
244
  "indexed": false,
213
245
  "internalType": "address",
@@ -219,6 +251,12 @@
219
251
  "internalType": "Amount",
220
252
  "name": "limit",
221
253
  "type": "uint96"
254
+ },
255
+ {
256
+ "indexed": false,
257
+ "internalType": "bool",
258
+ "name": "isMaxAmount",
259
+ "type": "bool"
222
260
  }
223
261
  ],
224
262
  "name": "LogComponentTokenHandlerApproved",
@@ -280,13 +318,32 @@
280
318
  {
281
319
  "indexed": false,
282
320
  "internalType": "address",
283
- "name": "caller",
321
+ "name": "operator",
284
322
  "type": "address"
285
323
  }
286
324
  ],
287
325
  "name": "LogDistributorUpdated",
288
326
  "type": "event"
289
327
  },
328
+ {
329
+ "anonymous": false,
330
+ "inputs": [
331
+ {
332
+ "indexed": false,
333
+ "internalType": "NftId",
334
+ "name": "nftId",
335
+ "type": "uint96"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "address",
340
+ "name": "owner",
341
+ "type": "address"
342
+ }
343
+ ],
344
+ "name": "LogNftOwnableNftLinkedToAddress",
345
+ "type": "event"
346
+ },
290
347
  {
291
348
  "inputs": [],
292
349
  "name": "COMPONENT_LOCATION_V1",
@@ -352,37 +409,6 @@
352
409
  "stateMutability": "view",
353
410
  "type": "function"
354
411
  },
355
- {
356
- "inputs": [
357
- {
358
- "internalType": "address",
359
- "name": "token",
360
- "type": "address"
361
- },
362
- {
363
- "internalType": "Amount",
364
- "name": "spendingLimitAmount",
365
- "type": "uint96"
366
- }
367
- ],
368
- "name": "approveTokenHandler",
369
- "outputs": [],
370
- "stateMutability": "nonpayable",
371
- "type": "function"
372
- },
373
- {
374
- "inputs": [
375
- {
376
- "internalType": "Amount",
377
- "name": "spendingLimitAmount",
378
- "type": "uint96"
379
- }
380
- ],
381
- "name": "approveTokenHandler",
382
- "outputs": [],
383
- "stateMutability": "nonpayable",
384
- "type": "function"
385
- },
386
412
  {
387
413
  "inputs": [],
388
414
  "name": "authority",
@@ -400,7 +426,7 @@
400
426
  "inputs": [
401
427
  {
402
428
  "internalType": "ReferralId",
403
- "name": "referralId",
429
+ "name": "",
404
430
  "type": "bytes8"
405
431
  },
406
432
  {
@@ -420,6 +446,29 @@
420
446
  "stateMutability": "view",
421
447
  "type": "function"
422
448
  },
449
+ {
450
+ "inputs": [
451
+ {
452
+ "internalType": "NftId",
453
+ "name": "distributorNftId",
454
+ "type": "uint96"
455
+ },
456
+ {
457
+ "internalType": "DistributorType",
458
+ "name": "distributorType",
459
+ "type": "bytes8"
460
+ },
461
+ {
462
+ "internalType": "bytes",
463
+ "name": "data",
464
+ "type": "bytes"
465
+ }
466
+ ],
467
+ "name": "changeDistributorType",
468
+ "outputs": [],
469
+ "stateMutability": "nonpayable",
470
+ "type": "function"
471
+ },
423
472
  {
424
473
  "inputs": [
425
474
  {
@@ -459,17 +508,17 @@
459
508
  {
460
509
  "internalType": "UFixed",
461
510
  "name": "minDiscountPercentage",
462
- "type": "uint256"
511
+ "type": "uint160"
463
512
  },
464
513
  {
465
514
  "internalType": "UFixed",
466
515
  "name": "maxDiscountPercentage",
467
- "type": "uint256"
516
+ "type": "uint160"
468
517
  },
469
518
  {
470
519
  "internalType": "UFixed",
471
520
  "name": "commissionPercentage",
472
- "type": "uint256"
521
+ "type": "uint160"
473
522
  },
474
523
  {
475
524
  "internalType": "uint32",
@@ -477,9 +526,9 @@
477
526
  "type": "uint32"
478
527
  },
479
528
  {
480
- "internalType": "uint32",
529
+ "internalType": "Seconds",
481
530
  "name": "maxReferralLifetime",
482
- "type": "uint32"
531
+ "type": "uint40"
483
532
  },
484
533
  {
485
534
  "internalType": "bool",
@@ -510,6 +559,11 @@
510
559
  },
511
560
  {
512
561
  "inputs": [
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "distributorNftId",
565
+ "type": "uint96"
566
+ },
513
567
  {
514
568
  "internalType": "string",
515
569
  "name": "code",
@@ -518,7 +572,7 @@
518
572
  {
519
573
  "internalType": "UFixed",
520
574
  "name": "discountPercentage",
521
- "type": "uint256"
575
+ "type": "uint160"
522
576
  },
523
577
  {
524
578
  "internalType": "uint32",
@@ -571,30 +625,10 @@
571
625
  "name": "name",
572
626
  "type": "string"
573
627
  },
574
- {
575
- "internalType": "NftId",
576
- "name": "productNftId",
577
- "type": "uint96"
578
- },
579
- {
580
- "internalType": "contract IERC20Metadata",
581
- "name": "token",
582
- "type": "address"
583
- },
584
628
  {
585
629
  "internalType": "contract TokenHandler",
586
630
  "name": "tokenHandler",
587
631
  "type": "address"
588
- },
589
- {
590
- "internalType": "address",
591
- "name": "wallet",
592
- "type": "address"
593
- },
594
- {
595
- "internalType": "bytes",
596
- "name": "data",
597
- "type": "bytes"
598
632
  }
599
633
  ],
600
634
  "internalType": "struct IComponents.ComponentInfo",
@@ -618,7 +652,7 @@
618
652
  {
619
653
  "internalType": "UFixed",
620
654
  "name": "discountPercentage",
621
- "type": "uint256"
655
+ "type": "uint160"
622
656
  },
623
657
  {
624
658
  "internalType": "ReferralStatus",
@@ -629,25 +663,6 @@
629
663
  "stateMutability": "view",
630
664
  "type": "function"
631
665
  },
632
- {
633
- "inputs": [
634
- {
635
- "internalType": "address",
636
- "name": "distributor",
637
- "type": "address"
638
- }
639
- ],
640
- "name": "getDistributorNftId",
641
- "outputs": [
642
- {
643
- "internalType": "NftId",
644
- "name": "distributorNftId",
645
- "type": "uint96"
646
- }
647
- ],
648
- "stateMutability": "view",
649
- "type": "function"
650
- },
651
666
  {
652
667
  "inputs": [],
653
668
  "name": "getInitialComponentInfo",
@@ -659,30 +674,10 @@
659
674
  "name": "name",
660
675
  "type": "string"
661
676
  },
662
- {
663
- "internalType": "NftId",
664
- "name": "productNftId",
665
- "type": "uint96"
666
- },
667
- {
668
- "internalType": "contract IERC20Metadata",
669
- "name": "token",
670
- "type": "address"
671
- },
672
677
  {
673
678
  "internalType": "contract TokenHandler",
674
679
  "name": "tokenHandler",
675
680
  "type": "address"
676
- },
677
- {
678
- "internalType": "address",
679
- "name": "wallet",
680
- "type": "address"
681
- },
682
- {
683
- "internalType": "bytes",
684
- "name": "data",
685
- "type": "bytes"
686
681
  }
687
682
  ],
688
683
  "internalType": "struct IComponents.ComponentInfo",
@@ -795,19 +790,6 @@
795
790
  "stateMutability": "view",
796
791
  "type": "function"
797
792
  },
798
- {
799
- "inputs": [],
800
- "name": "getProductNftId",
801
- "outputs": [
802
- {
803
- "internalType": "NftId",
804
- "name": "productNftId",
805
- "type": "uint96"
806
- }
807
- ],
808
- "stateMutability": "view",
809
- "type": "function"
810
- },
811
793
  {
812
794
  "inputs": [
813
795
  {
@@ -840,6 +822,19 @@
840
822
  "stateMutability": "view",
841
823
  "type": "function"
842
824
  },
825
+ {
826
+ "inputs": [],
827
+ "name": "getRelease",
828
+ "outputs": [
829
+ {
830
+ "internalType": "VersionPart",
831
+ "name": "release",
832
+ "type": "uint8"
833
+ }
834
+ ],
835
+ "stateMutability": "view",
836
+ "type": "function"
837
+ },
843
838
  {
844
839
  "inputs": [],
845
840
  "name": "getToken",
@@ -866,6 +861,19 @@
866
861
  "stateMutability": "view",
867
862
  "type": "function"
868
863
  },
864
+ {
865
+ "inputs": [],
866
+ "name": "getVersion",
867
+ "outputs": [
868
+ {
869
+ "internalType": "Version",
870
+ "name": "version",
871
+ "type": "uint24"
872
+ }
873
+ ],
874
+ "stateMutability": "view",
875
+ "type": "function"
876
+ },
869
877
  {
870
878
  "inputs": [],
871
879
  "name": "getWallet",
@@ -881,31 +889,25 @@
881
889
  },
882
890
  {
883
891
  "inputs": [],
884
- "name": "isConsumingScheduledOp",
892
+ "name": "isActive",
885
893
  "outputs": [
886
894
  {
887
- "internalType": "bytes4",
888
- "name": "",
889
- "type": "bytes4"
895
+ "internalType": "bool",
896
+ "name": "active",
897
+ "type": "bool"
890
898
  }
891
899
  ],
892
900
  "stateMutability": "view",
893
901
  "type": "function"
894
902
  },
895
903
  {
896
- "inputs": [
897
- {
898
- "internalType": "address",
899
- "name": "candidate",
900
- "type": "address"
901
- }
902
- ],
903
- "name": "isDistributor",
904
+ "inputs": [],
905
+ "name": "isConsumingScheduledOp",
904
906
  "outputs": [
905
907
  {
906
- "internalType": "bool",
908
+ "internalType": "bytes4",
907
909
  "name": "",
908
- "type": "bool"
910
+ "type": "bytes4"
909
911
  }
910
912
  ],
911
913
  "stateMutability": "view",
@@ -963,31 +965,6 @@
963
965
  "stateMutability": "nonpayable",
964
966
  "type": "function"
965
967
  },
966
- {
967
- "inputs": [],
968
- "name": "lock",
969
- "outputs": [],
970
- "stateMutability": "nonpayable",
971
- "type": "function"
972
- },
973
- {
974
- "inputs": [
975
- {
976
- "internalType": "address",
977
- "name": "to",
978
- "type": "address"
979
- },
980
- {
981
- "internalType": "uint256",
982
- "name": "tokenId",
983
- "type": "uint256"
984
- }
985
- ],
986
- "name": "nftMint",
987
- "outputs": [],
988
- "stateMutability": "nonpayable",
989
- "type": "function"
990
- },
991
968
  {
992
969
  "inputs": [
993
970
  {
@@ -1004,6 +981,11 @@
1004
981
  "internalType": "uint256",
1005
982
  "name": "tokenId",
1006
983
  "type": "uint256"
984
+ },
985
+ {
986
+ "internalType": "address",
987
+ "name": "operator",
988
+ "type": "address"
1007
989
  }
1008
990
  ],
1009
991
  "name": "nftTransferFrom",
@@ -1029,13 +1011,6 @@
1029
1011
  "stateMutability": "nonpayable",
1030
1012
  "type": "function"
1031
1013
  },
1032
- {
1033
- "inputs": [],
1034
- "name": "register",
1035
- "outputs": [],
1036
- "stateMutability": "nonpayable",
1037
- "type": "function"
1038
- },
1039
1014
  {
1040
1015
  "inputs": [
1041
1016
  {
@@ -1056,12 +1031,12 @@
1056
1031
  {
1057
1032
  "internalType": "UFixed",
1058
1033
  "name": "fractionalFee",
1059
- "type": "uint256"
1034
+ "type": "uint160"
1060
1035
  },
1061
1036
  {
1062
- "internalType": "uint256",
1037
+ "internalType": "Amount",
1063
1038
  "name": "fixedFee",
1064
- "type": "uint256"
1039
+ "type": "uint96"
1065
1040
  }
1066
1041
  ],
1067
1042
  "internalType": "struct Fee",
@@ -1073,12 +1048,12 @@
1073
1048
  {
1074
1049
  "internalType": "UFixed",
1075
1050
  "name": "fractionalFee",
1076
- "type": "uint256"
1051
+ "type": "uint160"
1077
1052
  },
1078
1053
  {
1079
- "internalType": "uint256",
1054
+ "internalType": "Amount",
1080
1055
  "name": "fixedFee",
1081
- "type": "uint256"
1056
+ "type": "uint96"
1082
1057
  }
1083
1058
  ],
1084
1059
  "internalType": "struct Fee",
@@ -1091,19 +1066,6 @@
1091
1066
  "stateMutability": "nonpayable",
1092
1067
  "type": "function"
1093
1068
  },
1094
- {
1095
- "inputs": [
1096
- {
1097
- "internalType": "address",
1098
- "name": "newWallet",
1099
- "type": "address"
1100
- }
1101
- ],
1102
- "name": "setWallet",
1103
- "outputs": [],
1104
- "stateMutability": "nonpayable",
1105
- "type": "function"
1106
- },
1107
1069
  {
1108
1070
  "inputs": [
1109
1071
  {
@@ -1123,36 +1085,6 @@
1123
1085
  "stateMutability": "view",
1124
1086
  "type": "function"
1125
1087
  },
1126
- {
1127
- "inputs": [],
1128
- "name": "unlock",
1129
- "outputs": [],
1130
- "stateMutability": "nonpayable",
1131
- "type": "function"
1132
- },
1133
- {
1134
- "inputs": [
1135
- {
1136
- "internalType": "NftId",
1137
- "name": "distributorNftId",
1138
- "type": "uint96"
1139
- },
1140
- {
1141
- "internalType": "DistributorType",
1142
- "name": "distributorType",
1143
- "type": "bytes8"
1144
- },
1145
- {
1146
- "internalType": "bytes",
1147
- "name": "data",
1148
- "type": "bytes"
1149
- }
1150
- ],
1151
- "name": "updateDistributorType",
1152
- "outputs": [],
1153
- "stateMutability": "nonpayable",
1154
- "type": "function"
1155
- },
1156
1088
  {
1157
1089
  "inputs": [
1158
1090
  {
@@ -1197,66 +1129,38 @@
1197
1129
  "type": "function"
1198
1130
  }
1199
1131
  ],
1200
- "bytecode": "0x6080604052348015600e575f80fd5b506136c58061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061028b575f3560e01c80637427d7a811610161578063bae99c99116100ca578063e145d46c11610084578063e145d46c146105d5578063e7f7fb86146105ff578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660575f80fd5b8063bae99c9914610564578063bb1e0e5914610577578063bf7e214f1461058a578063d16d0fe814610592578063de7b5d14146105a5578063deaa59df146105c2575f80fd5b806390edbd351161011b57806390edbd3514610505578063a69df4b51461051a578063ada9652e14610522578063b2a6b42d14610536578063b423086c14610549578063b6b412ba14610551575f80fd5b80637427d7a81461049c5780637a9e5e4b146104af57806387ef9ba0146104c2578063893d20e8146104c95780638f0c86fa146104d15780638fb36037146104e4575f80fd5b806322366844116102035780635741e5e9116101bd5780635741e5e91461042557806359660bea1461042d5780635ab1bd53146104405780635dcb3bae14610451578063644c45e0146104645780636bd1c0eb1461046c575f80fd5b806322366844146103af5780632b5198b1146103b75780632eb3e6f4146103e35780633d683fd9146103f7578063419197fe1461040a57806343d752d31461041d575f80fd5b8063138461e011610254578063138461e01461033857806317d7de7c146103405780631aa3a008146103555780631c6b21901461035f5780631eff4b221461037257806321df0da7146103a7575f80fd5b806251884a1461028f57806301ffc9a7146102b457806307e71a6e146102f05780630fec111c146103035780631329960414610318575b5f80fd5b610297610668565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612a08565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6102976102fe366004612a43565b61067a565b61030b61077f565b6040516102ab9190612aa8565b61032061093d565b6040516001600160a01b0390911681526020016102ab565b61029761094f565b61034861095e565b6040516102ab9190612b34565b61035d61096e565b005b61029761036d366004612b46565b610a1b565b6103997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b610320610a71565b6102e0610a83565b6103ca6103c5366004612c9d565b610b79565b6040516001600160c01b031990911681526020016102ab565b6103995f8051602061367083398151915281565b61035d610405366004612d73565b610bdd565b61035d610418366004612de4565b610c31565b610320610dec565b6102e0610dfe565b6103ca61043b366004612e00565b610eb2565b6001546001600160a01b0316610320565b61029761045f366004612e99565b610f09565b610297610f63565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610320565b6103ca6104aa366004612eb6565b610f7e565b61035d6104bd366004612ee7565b610ffe565b60016102e0565b610320611084565b6102e06104df366004612ee7565b6111b5565b6104ec61127a565b6040516001600160e01b031990911681526020016102ab565b61050d6112af565b6040516102ab9190612f02565b61035d6112d4565b6103995f8051602061361083398151915281565b610297610544366004612ee7565b611372565b61050d6113b4565b61035d61055f366004612fe1565b6113c4565b61035d610572366004612b46565b611412565b61035d610585366004613014565b611461565b6103206114fe565b6103996105a036600461303e565b611519565b5f80516020613670833981519152546001600160a01b0316610320565b61035d6105d0366004612ee7565b61152d565b6105e86105e3366004612eb6565b6117a3565b6040805192835260ff9091166020830152016102ab565b61035d61060d36600461305a565b61185d565b6103997fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103995f8051602061365083398151915281565b61035d61065b36600461303e565b611905565b61035d61190e565b5f6106716112af565b60200151905090565b5f610687335b5f36611982565b610690336111b5565b6106b45760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106c76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073891906130a3565b6001600160a01b0316336001600160a01b03161461076b5760405163086391f760e31b81523360048201526024016106ab565b6107758484611a80565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085391906130c9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b611084565b6001600160a01b031681526020018260010180546108b8906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906130e4565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f6109466112af565b60800151905090565b5f61095930611b0c565b905090565b60606109686112af565b51919050565b610976611084565b6001600160a01b0316336001600160a01b0316146109a95760405163086391f760e31b81523360048201526024016106ab565b5f80516020613650833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109f9575f80fd5b505af1158015610a0b573d5f803e3d5ffd5b50505050610a195f19611d00565b565b5f610a24611084565b6001600160a01b0316336001600160a01b031614610a575760405163086391f760e31b81523360048201526024016106ab565b610a6033610680565b610a6982611d91565b90505b919050565b5f610a7a6112af565b60400151905090565b5f610a966001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906130c9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613127565b5f610b82611084565b6001600160a01b0316336001600160a01b031614610bb55760405163086391f760e31b81523360048201526024016106ab565b610bbe33610680565b610bcf8a8a8a8a8a8a8a8a8a611e15565b9a9950505050505050505050565b610be5611084565b6001600160a01b0316336001600160a01b031614610c185760405163086391f760e31b81523360048201526024016106ab565b610c2133610680565b610c2c838383611ed4565b505050565b610c39611084565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106ab565b30610c7561093d565b6001600160a01b031614610c9c5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cc5610dec565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d05610dec565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190613142565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c9190613127565b5f610df56112af565b60600151905090565b5f610e07610a83565b15610e82576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610df591908101906131c1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ebc336111b5565b610edb5760405163637c41bb60e01b81523360048201526024016106ab565b610ee433610680565b5f610eee33611372565b9050610efe818888888888611eeb565b979650505050505050565b5f610f12611084565b6001600160a01b0316336001600160a01b031614610f455760405163086391f760e31b81523360048201526024016106ab565b610f4e33610680565b610f59848484611fa1565b90505b9392505050565b5f80516020613610833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fa1610f63565b846040518363ffffffff1660e01b8152600401610fbf929190613291565b602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906132b2565b336110076114fe565b6001600160a01b0316816001600160a01b0316146110425760405162d1953b60e31b81526001600160a01b03821660048201526024016106ab565b816001600160a01b03163b5f03611077576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ab565b61108082612165565b5050565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111149190613127565b1561119f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119991906130a3565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611256573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c9190613127565b5f8051602061363083398151915280545f9190600160a01b900460ff166112a1575f611199565b638fb3603760e01b91505090565b6112b76129b2565b6112bf610a83565b156112cc576109596121c5565b6109596113b4565b6112dc611084565b6001600160a01b0316336001600160a01b03161461130f5760405163086391f760e31b81523360048201526024016106ab565b611319600a61238c565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561135a575f80fd5b505af115801561136c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113bc6129b2565b6109596121c5565b6113cc611084565b6001600160a01b0316336001600160a01b0316146113ff5760405163086391f760e31b81523360048201526024016106ab565b61140833610680565b611080828261248d565b61141a611084565b6001600160a01b0316336001600160a01b03161461144d5760405163086391f760e31b81523360048201526024016106ab565b61145e611458610a71565b82610c31565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cc91906130a3565b6001600160a01b0316336001600160a01b0316146110805760405162f0630960e01b81523360048201526024016106ab565b5f80516020613630833981519152546001600160a01b031690565b5f61152482826132cd565b90505b92915050565b611535611084565b6001600160a01b0316336001600160a01b0316146115685760405163086391f760e31b81523360048201526024016106ab565b5f61157161093d565b90505f61157c610a71565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e69190613142565b90506115f1836124f4565b8015610c2c57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117525761165a610dec565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b602060405180830381865af41580156116be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e291906130c9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611737575f80fd5b505af1158015611749573d5f803e3d5ffd5b50505050505050565b61175a610dec565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b5f805f6117af84610f7e565b90506117e27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561182f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185391906132f0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c891906130a3565b6001600160a01b0316336001600160a01b0316146118fa5760405162f0630960e01b81523360048201526024016106ab565b610c2c83838361258d565b61108033610680565b611916611084565b6001600160a01b0316336001600160a01b0316146119495760405163086391f760e31b81523360048201526024016106ab565b611953600a61238c565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611343565b5f805160206136308339815191525f806119ba61199d6114fe565b87306119ac60045f8a8c613314565b6119b59161333b565b612733565b9150915081611a785763ffffffff811615611a5557825460ff60a01b1916600160a01b1783556119e86114fe565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a1793929190613371565b5f604051808303815f87803b158015611a2e575f80fd5b505af1158015611a40573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a789050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ab565b505050505050565b5f5f80516020613650833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152491906130c9565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190613127565b15611bc85780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ab565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190613127565b611c665760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ab565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906130c9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01547fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00906001600160a01b031663095ea7b3611d5a6112af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610dac565b5f5f80516020613670833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611df1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906130c9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613650833981519152916001600160a01b0390911690632b5198b190611e85908e908e908e908e908e908e908e908e908e906004016133b0565b6020604051808303815f875af1158015611ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec591906132b2565b9b9a5050505050505050505050565b5f5f805160206136508339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613650833981519152916001600160a01b0390911690638dd2b78190611f55908b908b908b908b908b908b90600401613421565b6020604051808303815f875af1158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9591906132b2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120669190613127565b156120b1576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ab565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906120e790889088908890600401613480565b6020604051808303815f875af1158015612103573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212791906130c9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061363083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6121cd6129b2565b5f6121e06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612224573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224891906130c9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c59190613127565b15612384577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612302610f63565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612343573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261236a91908101906134b3565b60808101519092506001600160a01b031615612384575090565b61119961283b565b5f805f805160206136708339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156123e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612406919061358b565b905061241a6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c91906130a3565b5f8051602061365083398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906124cb90859085906004016135a6565b5f604051808303815f87803b1580156124e2575f80fd5b505af1158015611a78573d5f803e3d5ffd5b6124fc611084565b6001600160a01b0316336001600160a01b03161461252f5760405163086391f760e31b81523360048201526024016106ab565b612539600b61238c565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561257b575f80fd5b505af1158015611ee4573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613650833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264a91906130c9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f491906130c9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127a191906135cc565b5f60405180830381855afa9150503d805f81146127d9576040519150601f19603f3d011682016040523d82523d5f602084013e6127de565b606091505b50915091508115612830576040815110612810578080602001905181019061280691906135e2565b9094509250612830565b6020815110612830578080602001905181019061282d9190613127565b93505b505094509492505050565b6128436129b2565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612880906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906130e4565b80156128f75780601f106128ce576101008083540402835291602001916128f7565b820191905f5260205f20905b8154815290600101906020018083116128da57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c91906130c9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b8906130e4565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a18575f80fd5b81356001600160e01b031981168114610f5c575f80fd5b6001600160601b038116811461145e575f80fd5b5f8060408385031215612a54575f80fd5b8235612a5f81612a2f565b91506020830135612a6f81612a2f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612af0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610775610100840182612a7a565b602081525f6115246020830184612a7a565b5f60208284031215612b56575f80fd5b8135610f5c81612a2f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b9757612b97612b61565b60405290565b60405160c081016001600160401b0381118282101715612b9757612b97612b61565b604051601f8201601f191681016001600160401b0381118282101715612be757612be7612b61565b604052919050565b5f6001600160401b03821115612c0757612c07612b61565b50601f01601f191660200190565b5f82601f830112612c24575f80fd5b8135602083015f612c3c612c3784612bef565b612bbf565b9050828152858383011115612c4f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461145e575f80fd5b8035610a6c81612c69565b801515811461145e575f80fd5b8035610a6c81612c85565b5f805f805f805f805f6101208a8c031215612cb6575f80fd5b89356001600160401b03811115612ccb575f80fd5b612cd78c828d01612c15565b99505060208a0135975060408a0135965060608a0135955060808a0135612cfd81612c69565b9450612d0b60a08b01612c7a565b9350612d1960c08b01612c92565b9250612d2760e08b01612c92565b91506101008a01356001600160401b03811115612d42575f80fd5b612d4e8c828d01612c15565b9150509295985092959850929598565b6001600160c01b03198116811461145e575f80fd5b5f805f60608486031215612d85575f80fd5b8335612d9081612a2f565b92506020840135612da081612d5e565b915060408401356001600160401b03811115612dba575f80fd5b612dc686828701612c15565b9150509250925092565b6001600160a01b038116811461145e575f80fd5b5f8060408385031215612df5575f80fd5b8235612a5f81612dd0565b5f805f805f60a08688031215612e14575f80fd5b85356001600160401b03811115612e29575f80fd5b612e3588828901612c15565b955050602086013593506040860135612e4d81612c69565b9250606086013564ffffffffff81168114612e66575f80fd5b915060808601356001600160401b03811115612e80575f80fd5b612e8c88828901612c15565b9150509295509295909350565b5f805f60608486031215612eab575f80fd5b8335612d9081612dd0565b5f60208284031215612ec6575f80fd5b81356001600160401b03811115612edb575f80fd5b61077584828501612c15565b5f60208284031215612ef7575f80fd5b8135610f5c81612dd0565b602081525f825160c06020840152612f1d60e0840182612a7a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f7060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612f8c8282612a7a565b95945050505050565b5f60408284031215612fa5575f80fd5b604080519081016001600160401b0381118282101715612fc757612fc7612b61565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ff2575f80fd5b612ffc8484612f95565b915061300b8460408501612f95565b90509250929050565b5f8060408385031215613025575f80fd5b823561303081612dd0565b946020939093013593505050565b5f806040838503121561304f575f80fd5b823561303081612d5e565b5f805f6060848603121561306c575f80fd5b833561307781612dd0565b9250602084013561308781612dd0565b929592945050506040919091013590565b8051610a6c81612dd0565b5f602082840312156130b3575f80fd5b8151610f5c81612dd0565b8051610a6c81612a2f565b5f602082840312156130d9575f80fd5b8151610f5c81612a2f565b600181811c908216806130f857607f821691505b60208210810361311657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a6c81612c85565b5f60208284031215613137575f80fd5b8151610f5c81612c85565b5f60208284031215613152575f80fd5b5051919050565b60ff8116811461145e575f80fd5b8051610a6c81613159565b5f82601f830112613181575f80fd5b8151602083015f613194612c3784612bef565b90508281528583830111156131a7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131d1575f80fd5b81516001600160401b038111156131e6575f80fd5b820160e081850312156131f7575f80fd5b6131ff612b75565b613208826130be565b8152613216602083016130be565b602082015261322760408301613167565b60408201526132386060830161311c565b606082015261324960808301613098565b608082015261325a60a08301613098565b60a082015260c08201516001600160401b03811115613277575f80fd5b61328386828501613172565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f596040830184612a7a565b5f602082840312156132c2575f80fd5b8151610f5c81612d5e565b808202811582820484141761152757634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613301575f80fd5b82516020840151909250612a6f81613159565b5f8085851115613322575f80fd5b8386111561332e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610778576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6133c461012083018c612a7a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134118185612a7a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61344260c0830188612a7a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134738185612a7a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f8c90830184612a7a565b5f602082840312156134c3575f80fd5b81516001600160401b038111156134d8575f80fd5b820160c081850312156134e9575f80fd5b6134f1612b9d565b81516001600160401b03811115613506575f80fd5b61351286828501613172565b825250613521602083016130be565b602082015261353260408301613098565b604082015261354360608301613098565b606082015261355460808301613098565b608082015260a08201516001600160401b03811115613571575f80fd5b61357d86828501613172565b60a083015250949350505050565b5f6020828403121561359b575f80fd5b8151610f5c81613159565b825181526020808401518183015282516040830152820151606082015260808101610f5c565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135f3575f80fd5b82516135fe81612c85565b6020840151909250612a6f81612c6956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212206e0fcaec261486bc41c2eee92908781e1542426c759faef76b4d219397852aac64736f6c634300081a0033",
1201
- "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061028b575f3560e01c80637427d7a811610161578063bae99c99116100ca578063e145d46c11610084578063e145d46c146105d5578063e7f7fb86146105ff578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660575f80fd5b8063bae99c9914610564578063bb1e0e5914610577578063bf7e214f1461058a578063d16d0fe814610592578063de7b5d14146105a5578063deaa59df146105c2575f80fd5b806390edbd351161011b57806390edbd3514610505578063a69df4b51461051a578063ada9652e14610522578063b2a6b42d14610536578063b423086c14610549578063b6b412ba14610551575f80fd5b80637427d7a81461049c5780637a9e5e4b146104af57806387ef9ba0146104c2578063893d20e8146104c95780638f0c86fa146104d15780638fb36037146104e4575f80fd5b806322366844116102035780635741e5e9116101bd5780635741e5e91461042557806359660bea1461042d5780635ab1bd53146104405780635dcb3bae14610451578063644c45e0146104645780636bd1c0eb1461046c575f80fd5b806322366844146103af5780632b5198b1146103b75780632eb3e6f4146103e35780633d683fd9146103f7578063419197fe1461040a57806343d752d31461041d575f80fd5b8063138461e011610254578063138461e01461033857806317d7de7c146103405780631aa3a008146103555780631c6b21901461035f5780631eff4b221461037257806321df0da7146103a7575f80fd5b806251884a1461028f57806301ffc9a7146102b457806307e71a6e146102f05780630fec111c146103035780631329960414610318575b5f80fd5b610297610668565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612a08565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6102976102fe366004612a43565b61067a565b61030b61077f565b6040516102ab9190612aa8565b61032061093d565b6040516001600160a01b0390911681526020016102ab565b61029761094f565b61034861095e565b6040516102ab9190612b34565b61035d61096e565b005b61029761036d366004612b46565b610a1b565b6103997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b610320610a71565b6102e0610a83565b6103ca6103c5366004612c9d565b610b79565b6040516001600160c01b031990911681526020016102ab565b6103995f8051602061367083398151915281565b61035d610405366004612d73565b610bdd565b61035d610418366004612de4565b610c31565b610320610dec565b6102e0610dfe565b6103ca61043b366004612e00565b610eb2565b6001546001600160a01b0316610320565b61029761045f366004612e99565b610f09565b610297610f63565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610320565b6103ca6104aa366004612eb6565b610f7e565b61035d6104bd366004612ee7565b610ffe565b60016102e0565b610320611084565b6102e06104df366004612ee7565b6111b5565b6104ec61127a565b6040516001600160e01b031990911681526020016102ab565b61050d6112af565b6040516102ab9190612f02565b61035d6112d4565b6103995f8051602061361083398151915281565b610297610544366004612ee7565b611372565b61050d6113b4565b61035d61055f366004612fe1565b6113c4565b61035d610572366004612b46565b611412565b61035d610585366004613014565b611461565b6103206114fe565b6103996105a036600461303e565b611519565b5f80516020613670833981519152546001600160a01b0316610320565b61035d6105d0366004612ee7565b61152d565b6105e86105e3366004612eb6565b6117a3565b6040805192835260ff9091166020830152016102ab565b61035d61060d36600461305a565b61185d565b6103997fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103995f8051602061365083398151915281565b61035d61065b36600461303e565b611905565b61035d61190e565b5f6106716112af565b60200151905090565b5f610687335b5f36611982565b610690336111b5565b6106b45760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106c76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073891906130a3565b6001600160a01b0316336001600160a01b03161461076b5760405163086391f760e31b81523360048201526024016106ab565b6107758484611a80565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085391906130c9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b611084565b6001600160a01b031681526020018260010180546108b8906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906130e4565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f6109466112af565b60800151905090565b5f61095930611b0c565b905090565b60606109686112af565b51919050565b610976611084565b6001600160a01b0316336001600160a01b0316146109a95760405163086391f760e31b81523360048201526024016106ab565b5f80516020613650833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109f9575f80fd5b505af1158015610a0b573d5f803e3d5ffd5b50505050610a195f19611d00565b565b5f610a24611084565b6001600160a01b0316336001600160a01b031614610a575760405163086391f760e31b81523360048201526024016106ab565b610a6033610680565b610a6982611d91565b90505b919050565b5f610a7a6112af565b60400151905090565b5f610a966001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906130c9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613127565b5f610b82611084565b6001600160a01b0316336001600160a01b031614610bb55760405163086391f760e31b81523360048201526024016106ab565b610bbe33610680565b610bcf8a8a8a8a8a8a8a8a8a611e15565b9a9950505050505050505050565b610be5611084565b6001600160a01b0316336001600160a01b031614610c185760405163086391f760e31b81523360048201526024016106ab565b610c2133610680565b610c2c838383611ed4565b505050565b610c39611084565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106ab565b30610c7561093d565b6001600160a01b031614610c9c5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cc5610dec565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d05610dec565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190613142565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c9190613127565b5f610df56112af565b60600151905090565b5f610e07610a83565b15610e82576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610df591908101906131c1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ebc336111b5565b610edb5760405163637c41bb60e01b81523360048201526024016106ab565b610ee433610680565b5f610eee33611372565b9050610efe818888888888611eeb565b979650505050505050565b5f610f12611084565b6001600160a01b0316336001600160a01b031614610f455760405163086391f760e31b81523360048201526024016106ab565b610f4e33610680565b610f59848484611fa1565b90505b9392505050565b5f80516020613610833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fa1610f63565b846040518363ffffffff1660e01b8152600401610fbf929190613291565b602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906132b2565b336110076114fe565b6001600160a01b0316816001600160a01b0316146110425760405162d1953b60e31b81526001600160a01b03821660048201526024016106ab565b816001600160a01b03163b5f03611077576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ab565b61108082612165565b5050565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111149190613127565b1561119f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119991906130a3565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611256573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c9190613127565b5f8051602061363083398151915280545f9190600160a01b900460ff166112a1575f611199565b638fb3603760e01b91505090565b6112b76129b2565b6112bf610a83565b156112cc576109596121c5565b6109596113b4565b6112dc611084565b6001600160a01b0316336001600160a01b03161461130f5760405163086391f760e31b81523360048201526024016106ab565b611319600a61238c565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561135a575f80fd5b505af115801561136c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113bc6129b2565b6109596121c5565b6113cc611084565b6001600160a01b0316336001600160a01b0316146113ff5760405163086391f760e31b81523360048201526024016106ab565b61140833610680565b611080828261248d565b61141a611084565b6001600160a01b0316336001600160a01b03161461144d5760405163086391f760e31b81523360048201526024016106ab565b61145e611458610a71565b82610c31565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cc91906130a3565b6001600160a01b0316336001600160a01b0316146110805760405162f0630960e01b81523360048201526024016106ab565b5f80516020613630833981519152546001600160a01b031690565b5f61152482826132cd565b90505b92915050565b611535611084565b6001600160a01b0316336001600160a01b0316146115685760405163086391f760e31b81523360048201526024016106ab565b5f61157161093d565b90505f61157c610a71565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e69190613142565b90506115f1836124f4565b8015610c2c57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117525761165a610dec565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b602060405180830381865af41580156116be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e291906130c9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611737575f80fd5b505af1158015611749573d5f803e3d5ffd5b50505050505050565b61175a610dec565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b5f805f6117af84610f7e565b90506117e27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561182f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185391906132f0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c891906130a3565b6001600160a01b0316336001600160a01b0316146118fa5760405162f0630960e01b81523360048201526024016106ab565b610c2c83838361258d565b61108033610680565b611916611084565b6001600160a01b0316336001600160a01b0316146119495760405163086391f760e31b81523360048201526024016106ab565b611953600a61238c565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611343565b5f805160206136308339815191525f806119ba61199d6114fe565b87306119ac60045f8a8c613314565b6119b59161333b565b612733565b9150915081611a785763ffffffff811615611a5557825460ff60a01b1916600160a01b1783556119e86114fe565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a1793929190613371565b5f604051808303815f87803b158015611a2e575f80fd5b505af1158015611a40573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a789050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ab565b505050505050565b5f5f80516020613650833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152491906130c9565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190613127565b15611bc85780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ab565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190613127565b611c665760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ab565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906130c9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01547fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00906001600160a01b031663095ea7b3611d5a6112af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610dac565b5f5f80516020613670833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611df1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906130c9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613650833981519152916001600160a01b0390911690632b5198b190611e85908e908e908e908e908e908e908e908e908e906004016133b0565b6020604051808303815f875af1158015611ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec591906132b2565b9b9a5050505050505050505050565b5f5f805160206136508339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613650833981519152916001600160a01b0390911690638dd2b78190611f55908b908b908b908b908b908b90600401613421565b6020604051808303815f875af1158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9591906132b2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120669190613127565b156120b1576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ab565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906120e790889088908890600401613480565b6020604051808303815f875af1158015612103573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212791906130c9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061363083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6121cd6129b2565b5f6121e06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612224573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224891906130c9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c59190613127565b15612384577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612302610f63565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612343573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261236a91908101906134b3565b60808101519092506001600160a01b031615612384575090565b61119961283b565b5f805f805160206136708339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156123e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612406919061358b565b905061241a6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c91906130a3565b5f8051602061365083398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906124cb90859085906004016135a6565b5f604051808303815f87803b1580156124e2575f80fd5b505af1158015611a78573d5f803e3d5ffd5b6124fc611084565b6001600160a01b0316336001600160a01b03161461252f5760405163086391f760e31b81523360048201526024016106ab565b612539600b61238c565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561257b575f80fd5b505af1158015611ee4573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613650833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264a91906130c9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f491906130c9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127a191906135cc565b5f60405180830381855afa9150503d805f81146127d9576040519150601f19603f3d011682016040523d82523d5f602084013e6127de565b606091505b50915091508115612830576040815110612810578080602001905181019061280691906135e2565b9094509250612830565b6020815110612830578080602001905181019061282d9190613127565b93505b505094509492505050565b6128436129b2565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612880906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906130e4565b80156128f75780601f106128ce576101008083540402835291602001916128f7565b820191905f5260205f20905b8154815290600101906020018083116128da57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c91906130c9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b8906130e4565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a18575f80fd5b81356001600160e01b031981168114610f5c575f80fd5b6001600160601b038116811461145e575f80fd5b5f8060408385031215612a54575f80fd5b8235612a5f81612a2f565b91506020830135612a6f81612a2f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612af0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610775610100840182612a7a565b602081525f6115246020830184612a7a565b5f60208284031215612b56575f80fd5b8135610f5c81612a2f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b9757612b97612b61565b60405290565b60405160c081016001600160401b0381118282101715612b9757612b97612b61565b604051601f8201601f191681016001600160401b0381118282101715612be757612be7612b61565b604052919050565b5f6001600160401b03821115612c0757612c07612b61565b50601f01601f191660200190565b5f82601f830112612c24575f80fd5b8135602083015f612c3c612c3784612bef565b612bbf565b9050828152858383011115612c4f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461145e575f80fd5b8035610a6c81612c69565b801515811461145e575f80fd5b8035610a6c81612c85565b5f805f805f805f805f6101208a8c031215612cb6575f80fd5b89356001600160401b03811115612ccb575f80fd5b612cd78c828d01612c15565b99505060208a0135975060408a0135965060608a0135955060808a0135612cfd81612c69565b9450612d0b60a08b01612c7a565b9350612d1960c08b01612c92565b9250612d2760e08b01612c92565b91506101008a01356001600160401b03811115612d42575f80fd5b612d4e8c828d01612c15565b9150509295985092959850929598565b6001600160c01b03198116811461145e575f80fd5b5f805f60608486031215612d85575f80fd5b8335612d9081612a2f565b92506020840135612da081612d5e565b915060408401356001600160401b03811115612dba575f80fd5b612dc686828701612c15565b9150509250925092565b6001600160a01b038116811461145e575f80fd5b5f8060408385031215612df5575f80fd5b8235612a5f81612dd0565b5f805f805f60a08688031215612e14575f80fd5b85356001600160401b03811115612e29575f80fd5b612e3588828901612c15565b955050602086013593506040860135612e4d81612c69565b9250606086013564ffffffffff81168114612e66575f80fd5b915060808601356001600160401b03811115612e80575f80fd5b612e8c88828901612c15565b9150509295509295909350565b5f805f60608486031215612eab575f80fd5b8335612d9081612dd0565b5f60208284031215612ec6575f80fd5b81356001600160401b03811115612edb575f80fd5b61077584828501612c15565b5f60208284031215612ef7575f80fd5b8135610f5c81612dd0565b602081525f825160c06020840152612f1d60e0840182612a7a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f7060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612f8c8282612a7a565b95945050505050565b5f60408284031215612fa5575f80fd5b604080519081016001600160401b0381118282101715612fc757612fc7612b61565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ff2575f80fd5b612ffc8484612f95565b915061300b8460408501612f95565b90509250929050565b5f8060408385031215613025575f80fd5b823561303081612dd0565b946020939093013593505050565b5f806040838503121561304f575f80fd5b823561303081612d5e565b5f805f6060848603121561306c575f80fd5b833561307781612dd0565b9250602084013561308781612dd0565b929592945050506040919091013590565b8051610a6c81612dd0565b5f602082840312156130b3575f80fd5b8151610f5c81612dd0565b8051610a6c81612a2f565b5f602082840312156130d9575f80fd5b8151610f5c81612a2f565b600181811c908216806130f857607f821691505b60208210810361311657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a6c81612c85565b5f60208284031215613137575f80fd5b8151610f5c81612c85565b5f60208284031215613152575f80fd5b5051919050565b60ff8116811461145e575f80fd5b8051610a6c81613159565b5f82601f830112613181575f80fd5b8151602083015f613194612c3784612bef565b90508281528583830111156131a7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131d1575f80fd5b81516001600160401b038111156131e6575f80fd5b820160e081850312156131f7575f80fd5b6131ff612b75565b613208826130be565b8152613216602083016130be565b602082015261322760408301613167565b60408201526132386060830161311c565b606082015261324960808301613098565b608082015261325a60a08301613098565b60a082015260c08201516001600160401b03811115613277575f80fd5b61328386828501613172565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f596040830184612a7a565b5f602082840312156132c2575f80fd5b8151610f5c81612d5e565b808202811582820484141761152757634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613301575f80fd5b82516020840151909250612a6f81613159565b5f8085851115613322575f80fd5b8386111561332e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610778576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6133c461012083018c612a7a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134118185612a7a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61344260c0830188612a7a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134738185612a7a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f8c90830184612a7a565b5f602082840312156134c3575f80fd5b81516001600160401b038111156134d8575f80fd5b820160c081850312156134e9575f80fd5b6134f1612b9d565b81516001600160401b03811115613506575f80fd5b61351286828501613172565b825250613521602083016130be565b602082015261353260408301613098565b604082015261354360608301613098565b606082015261355460808301613098565b608082015260a08201516001600160401b03811115613571575f80fd5b61357d86828501613172565b60a083015250949350505050565b5f6020828403121561359b575f80fd5b8151610f5c81613159565b825181526020808401518183015282516040830152820151606082015260808101610f5c565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135f3575f80fd5b82516135fe81612c85565b6020840151909250612a6f81612c6956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212206e0fcaec261486bc41c2eee92908781e1542426c759faef76b4d219397852aac64736f6c634300081a0033",
1132
+ "bytecode": "0x6080604052348015600e575f80fd5b50612cd18061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fdb565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612019565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061207e565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b9190612112565b61033061032b36600461229c565b61098c565b6040516001600160c01b0319909116815260200161027b565b610297610357366004612372565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123a2565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a3660046123ff565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c610477366004612430565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b919061244b565b6103306104d1366004612487565b611039565b61047c6104e4366004612531565b611106565b61047c6104f736600461254e565b611169565b6103835f80516020612c1c83398151915281565b6104b661120c565b6102e8611228565b61038361052e36600461259e565b611243565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b6105766105713660046123ff565b611257565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612608565b611311565b6103835f80516020612c7c83398151915281565b61047c6105f336600461259e565b61135f565b5f610605335b5f36611368565b8260176106128282611466565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161065292919061263b565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106919190612668565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf868661159a565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b9190612683565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126b0565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b03168152602001826001018054610885906126cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108b1906126cb565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061270e565b5f61074b30611626565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611868565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e82611914565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126b0565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b9190612668565b5f610b89611228565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf19190612668565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d9190810190612796565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f8484846119ab565b90505b9392505050565b5f80516020612c1c833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d75929190612866565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e9190612887565b5f610dbd611228565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128a2565b33610e25611228565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a45565b5050565b5f805f80516020612c1c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f329190612668565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061270e565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612c3c83398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152611024610a8a565b156110315761074b611aa5565b61074b61120c565b5f611043336105fe565b866110566001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161108392919061263b565b602060405180830381865afa15801561109e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c29190612668565b6110e15760405163086391f760e31b81523360048201526024016106ac565b6110ec886017611466565b6110fa888888888888611c78565b98975050505050505050565b61110f336105fe565b611117610ea2565b6001600160a01b0316336001600160a01b03161461114a5760405163086391f760e31b81523360048201526024016106ac565b8260176111578282611466565b611162858585611d0f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d4919061270e565b6001600160a01b0316336001600160a01b0316146112065760405162f0630960e01b81523360048201526024016106ac565b50505050565b60408051808201909152606081525f602082015261074b611aa5565b5f80516020612c3c833981519152546001600160a01b031690565b5f61124e82826128bd565b90505b92915050565b5f805f61126384610d34565b90506112967fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130791906128e0565b9250925050915091565b611319610ea2565b6001600160a01b0316336001600160a01b03161461134c5760405163086391f760e31b81523360048201526024016106ac565b611355336105fe565b610e9e8282611d8f565b610e9e336105fe565b5f80516020612c3c8339815191525f806113a0611383611228565b873061139260045f8a8c61290d565b61139b91612934565b611df6565b915091508161145e5763ffffffff81161561143b57825460ff60a01b1916600160a01b1783556113ce611228565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113fd9392919061296c565b5f604051808303815f87803b158015611414575f80fd5b505af1158015611426573d5f803e3d5ffd5b5050845460ff60a01b191685555061145e9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156114b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114da9190612668565b8061156857506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611542573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115669190612668565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612c7c833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611602573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124e91906126b0565b5f805f80516020612c1c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b69190612668565b156116e25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611734573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117589190612668565b6117805760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f691906126b0565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611842610ea2565b60405161185092919061263b565b60405180910390a1546001600160601b031692915050565b5f80516020612c5c83398151915254604051630ded2f7d60e11b81525f915f80516020612c7c833981519152916001600160a01b0390911690631bda5efa906118c5908e908e908e908e908e908e908e908e908e906004016129ab565b6020604051808303815f875af11580156118e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119059190612887565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611987573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126b0565b5f80516020612c5c83398151915254604051632ee59dd760e11b81525f915f80516020612c7c833981519152916001600160a01b0390911690635dcb3bae906119fc90889088908890600401612a2a565b6020604051808303815f875af1158015611a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3c91906126b0565b95945050505050565b5f80516020612c3c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f611acc6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611b10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3491906126b0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb19190612668565b15611c70577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bee610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c2f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c569190810190612a5d565b60208101519092506001600160a01b031615611c70575090565b610fb7611efe565b5f80516020612c5c8339815191525460405163987cb16160e01b81525f915f80516020612c7c833981519152916001600160a01b039091169063987cb16190611ccf908b908b908b908b908b908b90600401612af1565b6020604051808303815f875af1158015611ceb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fa9190612887565b5f80516020612c5c8339815191525460405163ab3fc75f60e01b81525f80516020612c7c833981519152916001600160a01b03169063ab3fc75f90611d5c90879087908790600401612b59565b5f604051808303815f87803b158015611d73575f80fd5b505af1158015611d85573d5f803e3d5ffd5b5050505050505050565b5f80516020612c7c8339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611dcd9085908590600401612b8c565b5f604051808303815f87803b158015611de4575f80fd5b505af115801561145e573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e649190612bd8565b5f60405180830381855afa9150503d805f8114611e9c576040519150601f19603f3d011682016040523d82523d5f602084013e611ea1565b606091505b50915091508115611ef3576040815110611ed35780806020019051810190611ec99190612bee565b9094509250611ef3565b6020815110611ef35780806020019051810190611ef09190612668565b93505b505094509492505050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f018054611f4f906126cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7b906126cb565b8015611fc65780601f10611f9d57610100808354040283529160200191611fc6565b820191905f5260205f20905b815481529060010190602001808311611fa957829003601f168201915b50505091835250505f60209091015292915050565b5f60208284031215611feb575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612016575f80fd5b50565b5f806040838503121561202a575f80fd5b823561203581612002565b9150602083013561204581612002565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120c6608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261210a610100840182612050565b949350505050565b602081525f61124e6020830184612050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561215a5761215a612124565b60405290565b60405160e081016001600160401b038111828210171561215a5761215a612124565b604051601f8201601f191681016001600160401b03811182821017156121aa576121aa612124565b604052919050565b5f6001600160401b038211156121ca576121ca612124565b50601f01601f191660200190565b5f82601f8301126121e7575f80fd5b8135602083015f6121ff6121fa846121b2565b612182565b9050828152858383011115612212575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612016575f80fd5b8035610a418161222c565b63ffffffff81168114612016575f80fd5b8035610a418161224b565b64ffffffffff81168114612016575f80fd5b8035610a4181612267565b8015158114612016575f80fd5b8035610a4181612284565b5f805f805f805f805f6101208a8c0312156122b5575f80fd5b89356001600160401b038111156122ca575f80fd5b6122d68c828d016121d8565b99505060208a01356122e78161222c565b97506122f560408b01612240565b965061230360608b01612240565b955061231160808b0161225c565b945061231f60a08b01612279565b935061232d60c08b01612291565b925061233b60e08b01612291565b91506101008a01356001600160401b03811115612356575f80fd5b6123628c828d016121d8565b9150509295985092959850929598565b5f60208284031215612382575f80fd5b8135610d1281612002565b6001600160c01b031981168114612016575f80fd5b5f805f606084860312156123b4575f80fd5b83356123bf8161222c565b925060208401356123cf8161238d565b915060408401356001600160401b038111156123e9575f80fd5b6123f5868287016121d8565b9150509250925092565b5f6020828403121561240f575f80fd5b81356001600160401b03811115612424575f80fd5b61210a848285016121d8565b5f60208284031215612440575f80fd5b8135610d128161222c565b602081525f8251604060208401526124666060840182612050565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f8060c0878903121561249c575f80fd5b86356124a781612002565b955060208701356001600160401b038111156124c1575f80fd5b6124cd89828a016121d8565b95505060408701356124de8161222c565b935060608701356124ee8161224b565b925060808701356124fe81612267565b915060a08701356001600160401b03811115612518575f80fd5b61252489828a016121d8565b9150509295509295509295565b5f805f60608486031215612543575f80fd5b83356123bf81612002565b5f805f8060808587031215612561575f80fd5b843561256c8161222c565b9350602085013561257c8161222c565b92506040850135915060608501356125938161222c565b939692955090935050565b5f80604083850312156125af575f80fd5b82356125ba8161238d565b946020939093013593505050565b5f604082840312156125d8575f80fd5b6125e0612138565b905081356125ed8161222c565b815260208201356125fd81612002565b602082015292915050565b5f8060808385031215612619575f80fd5b61262384846125c8565b915061263284604085016125c8565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612284565b5f60208284031215612678575f80fd5b8151610d1281612284565b5f60208284031215612693575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a4181612002565b5f602082840312156126c0575f80fd5b8151610d1281612002565b600181811c908216806126df57607f821691505b6020821081036126fd57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a418161222c565b5f6020828403121561271e575f80fd5b8151610d128161222c565b60ff81168114612016575f80fd5b8051610a4181612729565b5f61274f6121fa846121b2565b9050828152838383011115612762575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612787575f80fd5b61124e83835160208501612742565b5f602082840312156127a6575f80fd5b81516001600160401b038111156127bb575f80fd5b820160e081850312156127cc575f80fd5b6127d4612160565b6127dd826126a5565b81526127eb602083016126a5565b60208201526127fc60408301612737565b604082015261280d6060830161265d565b606082015261281e60808301612703565b608082015261282f60a08301612703565b60a082015260c08201516001600160401b0381111561284c575f80fd5b61285886828501612778565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f6040830184612050565b5f60208284031215612897575f80fd5b8151610d128161238d565b5f602082840312156128b2575f80fd5b8151610d1281612729565b808202811582820484141761125157634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156128f1575f80fd5b82516128fc8161222c565b602084015190925061204581612729565b5f808585111561291b575f80fd5b83861115612927575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612965576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129bf61012083018c612050565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a1a8185612050565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a3c90830184612050565b5f60208284031215612a6d575f80fd5b81516001600160401b03811115612a82575f80fd5b820160408185031215612a93575f80fd5b612a9b612138565b81516001600160401b03811115612ab0575f80fd5b8201601f81018613612ac0575f80fd5b612acf86825160208401612742565b82525060208201519150612ae28261222c565b60208101919091529392505050565b6001600160601b038716815260c060208201525f612b1260c0830188612050565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612b4c8185612050565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a3c6060830184612050565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612bff575f80fd5b8251612c0a81612284565b60208401519092506120458161224b56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212200d9537a7fa69553009e856f8f14d7ebabf266bece53380e925a08da85785288564736f6c634300081a0033",
1133
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fdb565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612019565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061207e565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b9190612112565b61033061032b36600461229c565b61098c565b6040516001600160c01b0319909116815260200161027b565b610297610357366004612372565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123a2565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a3660046123ff565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c610477366004612430565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b919061244b565b6103306104d1366004612487565b611039565b61047c6104e4366004612531565b611106565b61047c6104f736600461254e565b611169565b6103835f80516020612c1c83398151915281565b6104b661120c565b6102e8611228565b61038361052e36600461259e565b611243565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b6105766105713660046123ff565b611257565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612608565b611311565b6103835f80516020612c7c83398151915281565b61047c6105f336600461259e565b61135f565b5f610605335b5f36611368565b8260176106128282611466565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161065292919061263b565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106919190612668565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf868661159a565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b9190612683565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126b0565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b03168152602001826001018054610885906126cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108b1906126cb565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061270e565b5f61074b30611626565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611868565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e82611914565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126b0565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b9190612668565b5f610b89611228565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf19190612668565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d9190810190612796565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f8484846119ab565b90505b9392505050565b5f80516020612c1c833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d75929190612866565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e9190612887565b5f610dbd611228565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128a2565b33610e25611228565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a45565b5050565b5f805f80516020612c1c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f329190612668565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061270e565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612c3c83398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152611024610a8a565b156110315761074b611aa5565b61074b61120c565b5f611043336105fe565b866110566001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161108392919061263b565b602060405180830381865afa15801561109e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c29190612668565b6110e15760405163086391f760e31b81523360048201526024016106ac565b6110ec886017611466565b6110fa888888888888611c78565b98975050505050505050565b61110f336105fe565b611117610ea2565b6001600160a01b0316336001600160a01b03161461114a5760405163086391f760e31b81523360048201526024016106ac565b8260176111578282611466565b611162858585611d0f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d4919061270e565b6001600160a01b0316336001600160a01b0316146112065760405162f0630960e01b81523360048201526024016106ac565b50505050565b60408051808201909152606081525f602082015261074b611aa5565b5f80516020612c3c833981519152546001600160a01b031690565b5f61124e82826128bd565b90505b92915050565b5f805f61126384610d34565b90506112967fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130791906128e0565b9250925050915091565b611319610ea2565b6001600160a01b0316336001600160a01b03161461134c5760405163086391f760e31b81523360048201526024016106ac565b611355336105fe565b610e9e8282611d8f565b610e9e336105fe565b5f80516020612c3c8339815191525f806113a0611383611228565b873061139260045f8a8c61290d565b61139b91612934565b611df6565b915091508161145e5763ffffffff81161561143b57825460ff60a01b1916600160a01b1783556113ce611228565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113fd9392919061296c565b5f604051808303815f87803b158015611414575f80fd5b505af1158015611426573d5f803e3d5ffd5b5050845460ff60a01b191685555061145e9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156114b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114da9190612668565b8061156857506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611542573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115669190612668565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612c7c833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611602573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124e91906126b0565b5f805f80516020612c1c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b69190612668565b156116e25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611734573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117589190612668565b6117805760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f691906126b0565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611842610ea2565b60405161185092919061263b565b60405180910390a1546001600160601b031692915050565b5f80516020612c5c83398151915254604051630ded2f7d60e11b81525f915f80516020612c7c833981519152916001600160a01b0390911690631bda5efa906118c5908e908e908e908e908e908e908e908e908e906004016129ab565b6020604051808303815f875af11580156118e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119059190612887565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611987573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126b0565b5f80516020612c5c83398151915254604051632ee59dd760e11b81525f915f80516020612c7c833981519152916001600160a01b0390911690635dcb3bae906119fc90889088908890600401612a2a565b6020604051808303815f875af1158015611a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3c91906126b0565b95945050505050565b5f80516020612c3c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f611acc6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611b10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3491906126b0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb19190612668565b15611c70577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bee610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c2f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c569190810190612a5d565b60208101519092506001600160a01b031615611c70575090565b610fb7611efe565b5f80516020612c5c8339815191525460405163987cb16160e01b81525f915f80516020612c7c833981519152916001600160a01b039091169063987cb16190611ccf908b908b908b908b908b908b90600401612af1565b6020604051808303815f875af1158015611ceb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fa9190612887565b5f80516020612c5c8339815191525460405163ab3fc75f60e01b81525f80516020612c7c833981519152916001600160a01b03169063ab3fc75f90611d5c90879087908790600401612b59565b5f604051808303815f87803b158015611d73575f80fd5b505af1158015611d85573d5f803e3d5ffd5b5050505050505050565b5f80516020612c7c8339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611dcd9085908590600401612b8c565b5f604051808303815f87803b158015611de4575f80fd5b505af115801561145e573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e649190612bd8565b5f60405180830381855afa9150503d805f8114611e9c576040519150601f19603f3d011682016040523d82523d5f602084013e611ea1565b606091505b50915091508115611ef3576040815110611ed35780806020019051810190611ec99190612bee565b9094509250611ef3565b6020815110611ef35780806020019051810190611ef09190612668565b93505b505094509492505050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f018054611f4f906126cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7b906126cb565b8015611fc65780601f10611f9d57610100808354040283529160200191611fc6565b820191905f5260205f20905b815481529060010190602001808311611fa957829003601f168201915b50505091835250505f60209091015292915050565b5f60208284031215611feb575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612016575f80fd5b50565b5f806040838503121561202a575f80fd5b823561203581612002565b9150602083013561204581612002565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120c6608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261210a610100840182612050565b949350505050565b602081525f61124e6020830184612050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561215a5761215a612124565b60405290565b60405160e081016001600160401b038111828210171561215a5761215a612124565b604051601f8201601f191681016001600160401b03811182821017156121aa576121aa612124565b604052919050565b5f6001600160401b038211156121ca576121ca612124565b50601f01601f191660200190565b5f82601f8301126121e7575f80fd5b8135602083015f6121ff6121fa846121b2565b612182565b9050828152858383011115612212575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612016575f80fd5b8035610a418161222c565b63ffffffff81168114612016575f80fd5b8035610a418161224b565b64ffffffffff81168114612016575f80fd5b8035610a4181612267565b8015158114612016575f80fd5b8035610a4181612284565b5f805f805f805f805f6101208a8c0312156122b5575f80fd5b89356001600160401b038111156122ca575f80fd5b6122d68c828d016121d8565b99505060208a01356122e78161222c565b97506122f560408b01612240565b965061230360608b01612240565b955061231160808b0161225c565b945061231f60a08b01612279565b935061232d60c08b01612291565b925061233b60e08b01612291565b91506101008a01356001600160401b03811115612356575f80fd5b6123628c828d016121d8565b9150509295985092959850929598565b5f60208284031215612382575f80fd5b8135610d1281612002565b6001600160c01b031981168114612016575f80fd5b5f805f606084860312156123b4575f80fd5b83356123bf8161222c565b925060208401356123cf8161238d565b915060408401356001600160401b038111156123e9575f80fd5b6123f5868287016121d8565b9150509250925092565b5f6020828403121561240f575f80fd5b81356001600160401b03811115612424575f80fd5b61210a848285016121d8565b5f60208284031215612440575f80fd5b8135610d128161222c565b602081525f8251604060208401526124666060840182612050565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f8060c0878903121561249c575f80fd5b86356124a781612002565b955060208701356001600160401b038111156124c1575f80fd5b6124cd89828a016121d8565b95505060408701356124de8161222c565b935060608701356124ee8161224b565b925060808701356124fe81612267565b915060a08701356001600160401b03811115612518575f80fd5b61252489828a016121d8565b9150509295509295509295565b5f805f60608486031215612543575f80fd5b83356123bf81612002565b5f805f8060808587031215612561575f80fd5b843561256c8161222c565b9350602085013561257c8161222c565b92506040850135915060608501356125938161222c565b939692955090935050565b5f80604083850312156125af575f80fd5b82356125ba8161238d565b946020939093013593505050565b5f604082840312156125d8575f80fd5b6125e0612138565b905081356125ed8161222c565b815260208201356125fd81612002565b602082015292915050565b5f8060808385031215612619575f80fd5b61262384846125c8565b915061263284604085016125c8565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612284565b5f60208284031215612678575f80fd5b8151610d1281612284565b5f60208284031215612693575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a4181612002565b5f602082840312156126c0575f80fd5b8151610d1281612002565b600181811c908216806126df57607f821691505b6020821081036126fd57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a418161222c565b5f6020828403121561271e575f80fd5b8151610d128161222c565b60ff81168114612016575f80fd5b8051610a4181612729565b5f61274f6121fa846121b2565b9050828152838383011115612762575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612787575f80fd5b61124e83835160208501612742565b5f602082840312156127a6575f80fd5b81516001600160401b038111156127bb575f80fd5b820160e081850312156127cc575f80fd5b6127d4612160565b6127dd826126a5565b81526127eb602083016126a5565b60208201526127fc60408301612737565b604082015261280d6060830161265d565b606082015261281e60808301612703565b608082015261282f60a08301612703565b60a082015260c08201516001600160401b0381111561284c575f80fd5b61285886828501612778565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f6040830184612050565b5f60208284031215612897575f80fd5b8151610d128161238d565b5f602082840312156128b2575f80fd5b8151610d1281612729565b808202811582820484141761125157634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156128f1575f80fd5b82516128fc8161222c565b602084015190925061204581612729565b5f808585111561291b575f80fd5b83861115612927575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612965576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129bf61012083018c612050565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a1a8185612050565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a3c90830184612050565b5f60208284031215612a6d575f80fd5b81516001600160401b03811115612a82575f80fd5b820160408185031215612a93575f80fd5b612a9b612138565b81516001600160401b03811115612ab0575f80fd5b8201601f81018613612ac0575f80fd5b612acf86825160208401612742565b82525060208201519150612ae28261222c565b60208101919091529392505050565b6001600160601b038716815260c060208201525f612b1260c0830188612050565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612b4c8185612050565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a3c6060830184612050565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612bff575f80fd5b8251612c0a81612284565b60208401519092506120458161224b56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212200d9537a7fa69553009e856f8f14d7ebabf266bece53380e925a08da85785288564736f6c634300081a0033",
1202
1134
  "linkReferences": {
1203
- "contracts/type/Amount.sol": {
1204
- "AmountLib": [
1205
- {
1206
- "length": 20,
1207
- "start": 3391
1208
- },
1209
- {
1210
- "length": 20,
1211
- "start": 5768
1212
- },
1213
- {
1214
- "length": 20,
1215
- "start": 6024
1216
- }
1217
- ]
1218
- },
1219
1135
  "contracts/type/NftId.sol": {
1220
1136
  "NftIdLib": [
1221
1137
  {
1222
1138
  "length": 20,
1223
- "start": 2054
1224
- },
1225
- {
1226
- "length": 20,
1227
- "start": 2873
1139
+ "start": 2003
1228
1140
  },
1229
1141
  {
1230
1142
  "length": 20,
1231
- "start": 4308
1143
+ "start": 2880
1232
1144
  },
1233
1145
  {
1234
1146
  "length": 20,
1235
- "start": 4666
1147
+ "start": 3826
1236
1148
  },
1237
1149
  {
1238
1150
  "length": 20,
1239
- "start": 7004
1151
+ "start": 5750
1240
1152
  },
1241
1153
  {
1242
1154
  "length": 20,
1243
- "start": 8230
1244
- },
1245
- {
1246
- "length": 20,
1247
- "start": 8837
1248
- },
1249
- {
1250
- "length": 20,
1251
- "start": 9725
1252
- },
1253
- {
1254
- "length": 20,
1255
- "start": 9908
1256
- },
1155
+ "start": 7025
1156
+ }
1157
+ ]
1158
+ },
1159
+ "contracts/type/ObjectType.sol": {
1160
+ "ObjectTypeLib": [
1257
1161
  {
1258
1162
  "length": 20,
1259
- "start": 10527
1163
+ "start": 5274
1260
1164
  }
1261
1165
  ]
1262
1166
  },
@@ -1264,69 +1168,49 @@
1264
1168
  "ReferralLib": [
1265
1169
  {
1266
1170
  "length": 20,
1267
- "start": 3997
1171
+ "start": 3411
1268
1172
  }
1269
1173
  ]
1270
- }
1271
- },
1272
- "deployedLinkReferences": {
1273
- "contracts/type/Amount.sol": {
1274
- "AmountLib": [
1275
- {
1276
- "length": 20,
1277
- "start": 3363
1278
- },
1279
- {
1280
- "length": 20,
1281
- "start": 5740
1282
- },
1174
+ },
1175
+ "contracts/type/Version.sol": {
1176
+ "VersionLib": [
1283
1177
  {
1284
1178
  "length": 20,
1285
- "start": 5996
1179
+ "start": 1803
1286
1180
  }
1287
1181
  ]
1288
- },
1182
+ }
1183
+ },
1184
+ "deployedLinkReferences": {
1289
1185
  "contracts/type/NftId.sol": {
1290
1186
  "NftIdLib": [
1291
1187
  {
1292
1188
  "length": 20,
1293
- "start": 2026
1294
- },
1295
- {
1296
- "length": 20,
1297
- "start": 2845
1298
- },
1299
- {
1300
- "length": 20,
1301
- "start": 4280
1302
- },
1303
- {
1304
- "length": 20,
1305
- "start": 4638
1189
+ "start": 1975
1306
1190
  },
1307
1191
  {
1308
1192
  "length": 20,
1309
- "start": 6976
1193
+ "start": 2852
1310
1194
  },
1311
1195
  {
1312
1196
  "length": 20,
1313
- "start": 8202
1197
+ "start": 3798
1314
1198
  },
1315
1199
  {
1316
1200
  "length": 20,
1317
- "start": 8809
1201
+ "start": 5722
1318
1202
  },
1319
1203
  {
1320
1204
  "length": 20,
1321
- "start": 9697
1322
- },
1323
- {
1324
- "length": 20,
1325
- "start": 9880
1326
- },
1205
+ "start": 6997
1206
+ }
1207
+ ]
1208
+ },
1209
+ "contracts/type/ObjectType.sol": {
1210
+ "ObjectTypeLib": [
1327
1211
  {
1328
1212
  "length": 20,
1329
- "start": 10499
1213
+ "start": 5246
1330
1214
  }
1331
1215
  ]
1332
1216
  },
@@ -1334,7 +1218,15 @@
1334
1218
  "ReferralLib": [
1335
1219
  {
1336
1220
  "length": 20,
1337
- "start": 3969
1221
+ "start": 3383
1222
+ }
1223
+ ]
1224
+ },
1225
+ "contracts/type/Version.sol": {
1226
+ "VersionLib": [
1227
+ {
1228
+ "length": 20,
1229
+ "start": 1775
1338
1230
  }
1339
1231
  ]
1340
1232
  }