@etherisc/gif-next 0.0.2-c68eaf3-087 → 0.0.2-c75d1c9-841

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