@etherisc/gif-next 0.0.2-f1f3b2c-994 → 0.0.2-f2273b3-211

Sign up to get free protection for your applications and to get access to all the features.
Files changed (483) hide show
  1. package/README.md +27 -6
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -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 +163 -55
  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/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +200 -16
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +94 -14
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +107 -15
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +2 -2
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +8 -8
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +175 -216
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +206 -27
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +113 -130
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +275 -171
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +111 -65
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +100 -112
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +148 -72
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +158 -195
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +206 -27
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +336 -295
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +203 -28
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +215 -168
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +156 -153
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +282 -193
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +717 -292
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +158 -57
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +105 -103
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +211 -82
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +386 -117
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +150 -90
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +590 -204
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +129 -157
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +75 -45
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +445 -375
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  87. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  90. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +3 -3
  92. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  94. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  96. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  101. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  103. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +132 -173
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +180 -29
  106. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +94 -106
  109. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  111. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +108 -125
  113. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +151 -81
  115. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +95 -41
  117. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +107 -152
  119. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +206 -27
  121. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +156 -326
  123. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +79 -101
  125. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +84 -135
  127. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +94 -145
  129. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +192 -229
  131. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  132. package/artifacts/contracts/pool/Pool.sol/Pool.json +107 -163
  133. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  134. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +330 -368
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +119 -69
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +130 -54
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +71 -41
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  144. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +228 -186
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +206 -27
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +272 -173
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +100 -78
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +89 -9
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +170 -19
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +139 -54
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +105 -52
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +211 -164
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +55 -2
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +235 -170
  165. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  166. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  167. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  168. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +102 -64
  169. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PricingService.sol/PricingService.json +181 -116
  171. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +89 -51
  173. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  174. package/artifacts/contracts/product/Product.sol/Product.json +224 -182
  175. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  176. package/artifacts/contracts/product/RiskService.sol/RiskService.json +112 -63
  177. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +80 -38
  179. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  181. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  182. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +98 -2
  183. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
  185. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  186. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  187. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  189. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/Registry.sol/Registry.json +142 -38
  191. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  192. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +277 -213
  193. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  194. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +181 -74
  195. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +67 -33
  197. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  199. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  200. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +3 -3
  201. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  202. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +337 -65
  203. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +12 -12
  205. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  207. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  208. package/artifacts/contracts/shared/Component.sol/Component.json +105 -104
  209. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  210. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +483 -485
  211. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  212. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +99 -73
  213. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  214. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +55 -2
  215. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +454 -5
  217. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  218. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  223. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  224. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -86
  225. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +446 -276
  227. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +94 -106
  229. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  230. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  231. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  232. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  233. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  236. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  239. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  240. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  241. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +107 -124
  242. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  243. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +1 -1
  244. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  245. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.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 +18 -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 +152 -38
  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 +55 -2
  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 +113 -136
  266. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  267. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +130 -16
  268. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  269. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +49 -49
  270. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  271. package/artifacts/contracts/staking/Staking.sol/Staking.json +203 -206
  272. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +3 -3
  274. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  275. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +93 -51
  276. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  277. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -57
  278. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +181 -55
  280. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +77 -39
  282. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +130 -130
  284. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  285. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +23 -23
  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 +3 -3
  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 +3 -3
  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 +2 -2
  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 +62 -5
  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 +3 -3
  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 +47 -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 +44 -12
  334. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  335. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  336. package/contracts/accounting/AccountingService.sol +262 -0
  337. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  338. package/contracts/accounting/IAccountingService.sol +45 -0
  339. package/contracts/authorization/AccessAdmin.sol +216 -125
  340. package/contracts/authorization/AccessManagerCloneable.sol +136 -3
  341. package/contracts/authorization/Authorization.sol +321 -205
  342. package/contracts/authorization/IAccess.sol +1 -0
  343. package/contracts/authorization/IAccessAdmin.sol +14 -8
  344. package/contracts/authorization/IAuthorization.sol +27 -7
  345. package/contracts/authorization/IServiceAuthorization.sol +1 -1
  346. package/contracts/authorization/ServiceAuthorization.sol +4 -4
  347. package/contracts/distribution/BasicDistribution.sol +15 -12
  348. package/contracts/distribution/BasicDistributionAuthorization.sol +22 -9
  349. package/contracts/distribution/Distribution.sol +41 -47
  350. package/contracts/distribution/DistributionService.sol +100 -78
  351. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  352. package/contracts/distribution/IDistributionComponent.sol +1 -1
  353. package/contracts/distribution/IDistributionService.sol +19 -19
  354. package/contracts/examples/fire/FirePool.sol +25 -10
  355. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  356. package/contracts/examples/fire/FireProduct.sol +40 -13
  357. package/contracts/examples/fire/FireProductAuthorization.sol +3 -3
  358. package/contracts/examples/unpermissioned/SimpleDistribution.sol +11 -4
  359. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  360. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -4
  361. package/contracts/examples/unpermissioned/SimplePool.sol +37 -7
  362. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  363. package/contracts/examples/unpermissioned/SimpleProduct.sol +49 -23
  364. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  365. package/contracts/instance/BundleSet.sol +42 -38
  366. package/contracts/instance/IInstance.sol +17 -10
  367. package/contracts/instance/IInstanceService.sol +9 -29
  368. package/contracts/instance/Instance.sol +52 -34
  369. package/contracts/instance/InstanceAdmin.sol +249 -100
  370. package/contracts/instance/InstanceAuthorizationV3.sol +54 -45
  371. package/contracts/instance/InstanceReader.sol +174 -32
  372. package/contracts/instance/InstanceService.sol +85 -146
  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/IComponents.sol +10 -7
  381. package/contracts/instance/module/IDistribution.sol +2 -1
  382. package/contracts/instance/module/IPolicy.sol +2 -1
  383. package/contracts/instance/module/IRisk.sol +3 -0
  384. package/contracts/oracle/BasicOracle.sol +0 -1
  385. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  386. package/contracts/oracle/IOracleService.sol +2 -1
  387. package/contracts/oracle/Oracle.sol +5 -16
  388. package/contracts/oracle/OracleService.sol +107 -78
  389. package/contracts/oracle/OracleServiceManager.sol +1 -1
  390. package/contracts/pool/BasicPool.sol +33 -24
  391. package/contracts/pool/BasicPoolAuthorization.sol +27 -9
  392. package/contracts/pool/BundleService.sol +88 -154
  393. package/contracts/pool/BundleServiceManager.sol +1 -1
  394. package/contracts/pool/IBundleService.sol +15 -43
  395. package/contracts/pool/IPoolComponent.sol +1 -7
  396. package/contracts/pool/IPoolService.sol +58 -64
  397. package/contracts/pool/Pool.sol +112 -120
  398. package/contracts/pool/PoolLib.sol +216 -0
  399. package/contracts/pool/PoolService.sol +436 -242
  400. package/contracts/pool/PoolServiceManager.sol +1 -1
  401. package/contracts/product/ApplicationService.sol +24 -16
  402. package/contracts/product/ApplicationServiceManager.sol +1 -1
  403. package/contracts/product/BasicProduct.sol +10 -12
  404. package/contracts/product/BasicProductAuthorization.sol +24 -11
  405. package/contracts/product/ClaimService.sol +202 -151
  406. package/contracts/product/ClaimServiceManager.sol +1 -1
  407. package/contracts/product/IApplicationService.sol +5 -2
  408. package/contracts/product/IClaimService.sol +14 -2
  409. package/contracts/product/IPolicyService.sol +26 -11
  410. package/contracts/product/IPricingService.sol +9 -9
  411. package/contracts/product/IProductComponent.sol +10 -1
  412. package/contracts/product/PolicyService.sol +248 -252
  413. package/contracts/product/PolicyServiceLib.sol +65 -0
  414. package/contracts/product/PolicyServiceManager.sol +1 -1
  415. package/contracts/product/PricingService.sol +30 -26
  416. package/contracts/product/PricingServiceManager.sol +3 -3
  417. package/contracts/product/Product.sol +106 -60
  418. package/contracts/product/RiskService.sol +74 -25
  419. package/contracts/product/RiskServiceManager.sol +1 -1
  420. package/contracts/registry/ChainNft.sol +10 -11
  421. package/contracts/registry/IRegistry.sol +14 -15
  422. package/contracts/registry/IRegistryService.sol +6 -4
  423. package/contracts/registry/IRelease.sol +26 -0
  424. package/contracts/registry/ITransferInterceptor.sol +1 -2
  425. package/contracts/registry/Registry.sol +29 -6
  426. package/contracts/registry/RegistryAdmin.sol +132 -226
  427. package/contracts/registry/RegistryService.sol +40 -58
  428. package/contracts/registry/RegistryServiceManager.sol +1 -1
  429. package/contracts/registry/ReleaseAdmin.sol +245 -0
  430. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  431. package/contracts/registry/ReleaseRegistry.sol +139 -124
  432. package/contracts/registry/ServiceAuthorizationV3.sol +97 -48
  433. package/contracts/registry/TokenRegistry.sol +6 -8
  434. package/contracts/shared/Component.sol +69 -118
  435. package/contracts/shared/ComponentService.sol +422 -371
  436. package/contracts/shared/ComponentServiceManager.sol +1 -1
  437. package/contracts/shared/ComponentVerifyingService.sol +27 -15
  438. package/contracts/shared/ContractLib.sol +224 -9
  439. package/contracts/shared/IComponent.sol +8 -20
  440. package/contracts/shared/IComponentService.sol +41 -37
  441. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  442. package/contracts/shared/INftOwnable.sol +2 -0
  443. package/contracts/shared/IRegisterable.sol +23 -1
  444. package/contracts/shared/IService.sol +3 -5
  445. package/contracts/shared/InstanceLinkedComponent.sol +68 -42
  446. package/contracts/shared/Lifecycle.sol +7 -7
  447. package/contracts/shared/NftOwnable.sol +26 -6
  448. package/contracts/shared/PolicyHolder.sol +1 -1
  449. package/contracts/shared/Registerable.sol +53 -19
  450. package/contracts/shared/RegistryLinked.sol +7 -13
  451. package/contracts/shared/Service.sol +9 -31
  452. package/contracts/shared/TokenHandler.sol +274 -72
  453. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  454. package/contracts/staking/IStaking.sol +6 -10
  455. package/contracts/staking/IStakingService.sol +12 -4
  456. package/contracts/staking/StakeManagerLib.sol +69 -20
  457. package/contracts/staking/Staking.sol +73 -41
  458. package/contracts/staking/StakingReader.sol +1 -16
  459. package/contracts/staking/StakingService.sol +70 -24
  460. package/contracts/staking/StakingServiceManager.sol +5 -4
  461. package/contracts/type/Key32.sol +2 -2
  462. package/contracts/type/Key32Set.sol +62 -0
  463. package/contracts/type/NftId.sol +6 -0
  464. package/contracts/type/ObjectType.sol +48 -21
  465. package/contracts/type/RiskId.sol +23 -6
  466. package/contracts/type/RoleId.sol +23 -15
  467. package/contracts/type/Selector.sol +5 -0
  468. package/contracts/type/Timestamp.sol +0 -5
  469. package/contracts/type/UFixed.sol +9 -119
  470. package/contracts/type/Version.sol +15 -5
  471. package/contracts/upgradeability/ProxyManager.sol +2 -1
  472. package/package.json +3 -3
  473. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  474. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  475. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  476. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  477. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  478. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  479. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  480. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  481. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  482. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  483. 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",
@@ -58,24 +69,24 @@
58
69
  "type": "error"
59
70
  },
60
71
  {
61
- "inputs": [
62
- {
63
- "internalType": "NftId",
64
- "name": "instanceNftId",
65
- "type": "uint96"
66
- }
67
- ],
68
- "name": "ErrorComponentNotInstance",
72
+ "inputs": [],
73
+ "name": "ErrorComponentProductNftIdNonzero",
69
74
  "type": "error"
70
75
  },
71
76
  {
72
77
  "inputs": [],
73
- "name": "ErrorComponentProductNftAlreadySet",
78
+ "name": "ErrorComponentProductNftIdZero",
74
79
  "type": "error"
75
80
  },
76
81
  {
77
- "inputs": [],
78
- "name": "ErrorComponentTokenAddressZero",
82
+ "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "token",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "ErrorComponentTokenInvalid",
79
90
  "type": "error"
80
91
  },
81
92
  {
@@ -131,14 +142,25 @@
131
142
  "internalType": "ObjectType",
132
143
  "name": "objectType",
133
144
  "type": "uint8"
145
+ }
146
+ ],
147
+ "name": "ErrorInstanceLinkedComponentNotProduct",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "ObjectType",
154
+ "name": "requiredType",
155
+ "type": "uint8"
134
156
  },
135
157
  {
136
158
  "internalType": "ObjectType",
137
- "name": "expectedObjectType",
159
+ "name": "objectType",
138
160
  "type": "uint8"
139
161
  }
140
162
  ],
141
- "name": "ErrorNftNotObjectType",
163
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
142
164
  "type": "error"
143
165
  },
144
166
  {
@@ -168,6 +190,22 @@
168
190
  "name": "ErrorNftOwnableInitialOwnerZero",
169
191
  "type": "error"
170
192
  },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "NftId",
197
+ "name": "nftId",
198
+ "type": "uint96"
199
+ },
200
+ {
201
+ "internalType": "ObjectType",
202
+ "name": "expectedObjectType",
203
+ "type": "uint8"
204
+ }
205
+ ],
206
+ "name": "ErrorNftOwnableInvalidType",
207
+ "type": "error"
208
+ },
171
209
  {
172
210
  "inputs": [
173
211
  {
@@ -190,6 +228,11 @@
190
228
  "name": "ErrorNotRegistry",
191
229
  "type": "error"
192
230
  },
231
+ {
232
+ "inputs": [],
233
+ "name": "ErrorRegisterableNotActive",
234
+ "type": "error"
235
+ },
193
236
  {
194
237
  "inputs": [],
195
238
  "name": "InvalidInitialization",
@@ -229,6 +272,12 @@
229
272
  {
230
273
  "anonymous": false,
231
274
  "inputs": [
275
+ {
276
+ "indexed": false,
277
+ "internalType": "address",
278
+ "name": "tokenHandler",
279
+ "type": "address"
280
+ },
232
281
  {
233
282
  "indexed": false,
234
283
  "internalType": "address",
@@ -240,6 +289,12 @@
240
289
  "internalType": "Amount",
241
290
  "name": "limit",
242
291
  "type": "uint96"
292
+ },
293
+ {
294
+ "indexed": false,
295
+ "internalType": "bool",
296
+ "name": "isMaxAmount",
297
+ "type": "bool"
243
298
  }
244
299
  ],
245
300
  "name": "LogComponentTokenHandlerApproved",
@@ -301,7 +356,7 @@
301
356
  {
302
357
  "indexed": false,
303
358
  "internalType": "address",
304
- "name": "caller",
359
+ "name": "operator",
305
360
  "type": "address"
306
361
  }
307
362
  ],
@@ -373,37 +428,6 @@
373
428
  "stateMutability": "view",
374
429
  "type": "function"
375
430
  },
376
- {
377
- "inputs": [
378
- {
379
- "internalType": "address",
380
- "name": "token",
381
- "type": "address"
382
- },
383
- {
384
- "internalType": "Amount",
385
- "name": "spendingLimitAmount",
386
- "type": "uint96"
387
- }
388
- ],
389
- "name": "approveTokenHandler",
390
- "outputs": [],
391
- "stateMutability": "nonpayable",
392
- "type": "function"
393
- },
394
- {
395
- "inputs": [
396
- {
397
- "internalType": "Amount",
398
- "name": "spendingLimitAmount",
399
- "type": "uint96"
400
- }
401
- ],
402
- "name": "approveTokenHandler",
403
- "outputs": [],
404
- "stateMutability": "nonpayable",
405
- "type": "function"
406
- },
407
431
  {
408
432
  "inputs": [],
409
433
  "name": "authority",
@@ -441,6 +465,29 @@
441
465
  "stateMutability": "view",
442
466
  "type": "function"
443
467
  },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "NftId",
472
+ "name": "distributorNftId",
473
+ "type": "uint96"
474
+ },
475
+ {
476
+ "internalType": "DistributorType",
477
+ "name": "distributorType",
478
+ "type": "bytes8"
479
+ },
480
+ {
481
+ "internalType": "bytes",
482
+ "name": "data",
483
+ "type": "bytes"
484
+ }
485
+ ],
486
+ "name": "changeDistributorType",
487
+ "outputs": [],
488
+ "stateMutability": "nonpayable",
489
+ "type": "function"
490
+ },
444
491
  {
445
492
  "inputs": [
446
493
  {
@@ -498,9 +545,9 @@
498
545
  "type": "uint32"
499
546
  },
500
547
  {
501
- "internalType": "uint32",
548
+ "internalType": "Seconds",
502
549
  "name": "maxReferralLifetime",
503
- "type": "uint32"
550
+ "type": "uint40"
504
551
  },
505
552
  {
506
553
  "internalType": "bool",
@@ -592,11 +639,6 @@
592
639
  "name": "name",
593
640
  "type": "string"
594
641
  },
595
- {
596
- "internalType": "NftId",
597
- "name": "productNftId",
598
- "type": "uint96"
599
- },
600
642
  {
601
643
  "internalType": "contract IERC20Metadata",
602
644
  "name": "token",
@@ -607,11 +649,6 @@
607
649
  "name": "tokenHandler",
608
650
  "type": "address"
609
651
  },
610
- {
611
- "internalType": "address",
612
- "name": "wallet",
613
- "type": "address"
614
- },
615
652
  {
616
653
  "internalType": "bytes",
617
654
  "name": "data",
@@ -680,11 +717,6 @@
680
717
  "name": "name",
681
718
  "type": "string"
682
719
  },
683
- {
684
- "internalType": "NftId",
685
- "name": "productNftId",
686
- "type": "uint96"
687
- },
688
720
  {
689
721
  "internalType": "contract IERC20Metadata",
690
722
  "name": "token",
@@ -695,11 +727,6 @@
695
727
  "name": "tokenHandler",
696
728
  "type": "address"
697
729
  },
698
- {
699
- "internalType": "address",
700
- "name": "wallet",
701
- "type": "address"
702
- },
703
730
  {
704
731
  "internalType": "bytes",
705
732
  "name": "data",
@@ -816,19 +843,6 @@
816
843
  "stateMutability": "view",
817
844
  "type": "function"
818
845
  },
819
- {
820
- "inputs": [],
821
- "name": "getProductNftId",
822
- "outputs": [
823
- {
824
- "internalType": "NftId",
825
- "name": "productNftId",
826
- "type": "uint96"
827
- }
828
- ],
829
- "stateMutability": "view",
830
- "type": "function"
831
- },
832
846
  {
833
847
  "inputs": [
834
848
  {
@@ -861,6 +875,19 @@
861
875
  "stateMutability": "view",
862
876
  "type": "function"
863
877
  },
878
+ {
879
+ "inputs": [],
880
+ "name": "getRelease",
881
+ "outputs": [
882
+ {
883
+ "internalType": "VersionPart",
884
+ "name": "release",
885
+ "type": "uint8"
886
+ }
887
+ ],
888
+ "stateMutability": "view",
889
+ "type": "function"
890
+ },
864
891
  {
865
892
  "inputs": [],
866
893
  "name": "getToken",
@@ -887,6 +914,19 @@
887
914
  "stateMutability": "view",
888
915
  "type": "function"
889
916
  },
917
+ {
918
+ "inputs": [],
919
+ "name": "getVersion",
920
+ "outputs": [
921
+ {
922
+ "internalType": "Version",
923
+ "name": "version",
924
+ "type": "uint24"
925
+ }
926
+ ],
927
+ "stateMutability": "view",
928
+ "type": "function"
929
+ },
890
930
  {
891
931
  "inputs": [],
892
932
  "name": "getWallet",
@@ -900,6 +940,19 @@
900
940
  "stateMutability": "view",
901
941
  "type": "function"
902
942
  },
943
+ {
944
+ "inputs": [],
945
+ "name": "isActive",
946
+ "outputs": [
947
+ {
948
+ "internalType": "bool",
949
+ "name": "active",
950
+ "type": "bool"
951
+ }
952
+ ],
953
+ "stateMutability": "view",
954
+ "type": "function"
955
+ },
903
956
  {
904
957
  "inputs": [],
905
958
  "name": "isConsumingScheduledOp",
@@ -984,31 +1037,6 @@
984
1037
  "stateMutability": "nonpayable",
985
1038
  "type": "function"
986
1039
  },
987
- {
988
- "inputs": [],
989
- "name": "lock",
990
- "outputs": [],
991
- "stateMutability": "nonpayable",
992
- "type": "function"
993
- },
994
- {
995
- "inputs": [
996
- {
997
- "internalType": "address",
998
- "name": "to",
999
- "type": "address"
1000
- },
1001
- {
1002
- "internalType": "uint256",
1003
- "name": "tokenId",
1004
- "type": "uint256"
1005
- }
1006
- ],
1007
- "name": "nftMint",
1008
- "outputs": [],
1009
- "stateMutability": "nonpayable",
1010
- "type": "function"
1011
- },
1012
1040
  {
1013
1041
  "inputs": [
1014
1042
  {
@@ -1025,6 +1053,11 @@
1025
1053
  "internalType": "uint256",
1026
1054
  "name": "tokenId",
1027
1055
  "type": "uint256"
1056
+ },
1057
+ {
1058
+ "internalType": "address",
1059
+ "name": "operator",
1060
+ "type": "address"
1028
1061
  }
1029
1062
  ],
1030
1063
  "name": "nftTransferFrom",
@@ -1050,13 +1083,6 @@
1050
1083
  "stateMutability": "nonpayable",
1051
1084
  "type": "function"
1052
1085
  },
1053
- {
1054
- "inputs": [],
1055
- "name": "register",
1056
- "outputs": [],
1057
- "stateMutability": "nonpayable",
1058
- "type": "function"
1059
- },
1060
1086
  {
1061
1087
  "inputs": [
1062
1088
  {
@@ -1112,19 +1138,6 @@
1112
1138
  "stateMutability": "nonpayable",
1113
1139
  "type": "function"
1114
1140
  },
1115
- {
1116
- "inputs": [
1117
- {
1118
- "internalType": "address",
1119
- "name": "newWallet",
1120
- "type": "address"
1121
- }
1122
- ],
1123
- "name": "setWallet",
1124
- "outputs": [],
1125
- "stateMutability": "nonpayable",
1126
- "type": "function"
1127
- },
1128
1141
  {
1129
1142
  "inputs": [
1130
1143
  {
@@ -1144,36 +1157,6 @@
1144
1157
  "stateMutability": "view",
1145
1158
  "type": "function"
1146
1159
  },
1147
- {
1148
- "inputs": [],
1149
- "name": "unlock",
1150
- "outputs": [],
1151
- "stateMutability": "nonpayable",
1152
- "type": "function"
1153
- },
1154
- {
1155
- "inputs": [
1156
- {
1157
- "internalType": "NftId",
1158
- "name": "distributorNftId",
1159
- "type": "uint96"
1160
- },
1161
- {
1162
- "internalType": "DistributorType",
1163
- "name": "distributorType",
1164
- "type": "bytes8"
1165
- },
1166
- {
1167
- "internalType": "bytes",
1168
- "name": "data",
1169
- "type": "bytes"
1170
- }
1171
- ],
1172
- "name": "updateDistributorType",
1173
- "outputs": [],
1174
- "stateMutability": "nonpayable",
1175
- "type": "function"
1176
- },
1177
1160
  {
1178
1161
  "inputs": [
1179
1162
  {
@@ -1218,66 +1201,46 @@
1218
1201
  "type": "function"
1219
1202
  }
1220
1203
  ],
1221
- "bytecode": "0x6080604052348015600e575f80fd5b506136c58061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061028b575f3560e01c80637427d7a811610161578063bae99c99116100ca578063e145d46c11610084578063e145d46c146105d5578063e7f7fb86146105ff578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660575f80fd5b8063bae99c9914610564578063bb1e0e5914610577578063bf7e214f1461058a578063d16d0fe814610592578063de7b5d14146105a5578063deaa59df146105c2575f80fd5b806390edbd351161011b57806390edbd3514610505578063a69df4b51461051a578063ada9652e14610522578063b2a6b42d14610536578063b423086c14610549578063b6b412ba14610551575f80fd5b80637427d7a81461049c5780637a9e5e4b146104af57806387ef9ba0146104c2578063893d20e8146104c95780638f0c86fa146104d15780638fb36037146104e4575f80fd5b806322366844116102035780635741e5e9116101bd5780635741e5e91461042557806359660bea1461042d5780635ab1bd53146104405780635dcb3bae14610451578063644c45e0146104645780636bd1c0eb1461046c575f80fd5b806322366844146103af5780632b5198b1146103b75780632eb3e6f4146103e35780633d683fd9146103f7578063419197fe1461040a57806343d752d31461041d575f80fd5b8063138461e011610254578063138461e01461033857806317d7de7c146103405780631aa3a008146103555780631c6b21901461035f5780631eff4b221461037257806321df0da7146103a7575f80fd5b806251884a1461028f57806301ffc9a7146102b457806307e71a6e146102f05780630fec111c146103035780631329960414610318575b5f80fd5b610297610668565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612a08565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6102976102fe366004612a43565b61067a565b61030b61077f565b6040516102ab9190612aa8565b61032061093d565b6040516001600160a01b0390911681526020016102ab565b61029761094f565b61034861095e565b6040516102ab9190612b34565b61035d61096e565b005b61029761036d366004612b46565b610a1b565b6103997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b610320610a71565b6102e0610a83565b6103ca6103c5366004612c9d565b610b79565b6040516001600160c01b031990911681526020016102ab565b6103995f8051602061367083398151915281565b61035d610405366004612d73565b610bdd565b61035d610418366004612de4565b610c31565b610320610dec565b6102e0610dfe565b6103ca61043b366004612e00565b610eb2565b6001546001600160a01b0316610320565b61029761045f366004612e99565b610f09565b610297610f63565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610320565b6103ca6104aa366004612eb6565b610f7e565b61035d6104bd366004612ee7565b610ffe565b60016102e0565b610320611084565b6102e06104df366004612ee7565b6111b5565b6104ec61127a565b6040516001600160e01b031990911681526020016102ab565b61050d6112af565b6040516102ab9190612f02565b61035d6112d4565b6103995f8051602061361083398151915281565b610297610544366004612ee7565b611372565b61050d6113b4565b61035d61055f366004612fe1565b6113c4565b61035d610572366004612b46565b611412565b61035d610585366004613014565b611461565b6103206114fe565b6103996105a036600461303e565b611519565b5f80516020613670833981519152546001600160a01b0316610320565b61035d6105d0366004612ee7565b61152d565b6105e86105e3366004612eb6565b6117a3565b6040805192835260ff9091166020830152016102ab565b61035d61060d36600461305a565b61185d565b6103997fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103995f8051602061365083398151915281565b61035d61065b36600461303e565b611905565b61035d61190e565b5f6106716112af565b60200151905090565b5f610687335b5f36611982565b610690336111b5565b6106b45760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106c76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073891906130a3565b6001600160a01b0316336001600160a01b03161461076b5760405163086391f760e31b81523360048201526024016106ab565b6107758484611a80565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085391906130c9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b611084565b6001600160a01b031681526020018260010180546108b8906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906130e4565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f6109466112af565b60800151905090565b5f61095930611b0c565b905090565b60606109686112af565b51919050565b610976611084565b6001600160a01b0316336001600160a01b0316146109a95760405163086391f760e31b81523360048201526024016106ab565b5f80516020613650833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109f9575f80fd5b505af1158015610a0b573d5f803e3d5ffd5b50505050610a195f19611d00565b565b5f610a24611084565b6001600160a01b0316336001600160a01b031614610a575760405163086391f760e31b81523360048201526024016106ab565b610a6033610680565b610a6982611d91565b90505b919050565b5f610a7a6112af565b60400151905090565b5f610a966001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906130c9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613127565b5f610b82611084565b6001600160a01b0316336001600160a01b031614610bb55760405163086391f760e31b81523360048201526024016106ab565b610bbe33610680565b610bcf8a8a8a8a8a8a8a8a8a611e15565b9a9950505050505050505050565b610be5611084565b6001600160a01b0316336001600160a01b031614610c185760405163086391f760e31b81523360048201526024016106ab565b610c2133610680565b610c2c838383611ed4565b505050565b610c39611084565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106ab565b30610c7561093d565b6001600160a01b031614610c9c5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cc5610dec565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d05610dec565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190613142565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c9190613127565b5f610df56112af565b60600151905090565b5f610e07610a83565b15610e82576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610df591908101906131c1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ebc336111b5565b610edb5760405163637c41bb60e01b81523360048201526024016106ab565b610ee433610680565b5f610eee33611372565b9050610efe818888888888611eeb565b979650505050505050565b5f610f12611084565b6001600160a01b0316336001600160a01b031614610f455760405163086391f760e31b81523360048201526024016106ab565b610f4e33610680565b610f59848484611fa1565b90505b9392505050565b5f80516020613610833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fa1610f63565b846040518363ffffffff1660e01b8152600401610fbf929190613291565b602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906132b2565b336110076114fe565b6001600160a01b0316816001600160a01b0316146110425760405162d1953b60e31b81526001600160a01b03821660048201526024016106ab565b816001600160a01b03163b5f03611077576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ab565b61108082612165565b5050565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111149190613127565b1561119f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119991906130a3565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611256573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c9190613127565b5f8051602061363083398151915280545f9190600160a01b900460ff166112a1575f611199565b638fb3603760e01b91505090565b6112b76129b2565b6112bf610a83565b156112cc576109596121c5565b6109596113b4565b6112dc611084565b6001600160a01b0316336001600160a01b03161461130f5760405163086391f760e31b81523360048201526024016106ab565b611319600a61238c565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561135a575f80fd5b505af115801561136c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113bc6129b2565b6109596121c5565b6113cc611084565b6001600160a01b0316336001600160a01b0316146113ff5760405163086391f760e31b81523360048201526024016106ab565b61140833610680565b611080828261248d565b61141a611084565b6001600160a01b0316336001600160a01b03161461144d5760405163086391f760e31b81523360048201526024016106ab565b61145e611458610a71565b82610c31565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cc91906130a3565b6001600160a01b0316336001600160a01b0316146110805760405162f0630960e01b81523360048201526024016106ab565b5f80516020613630833981519152546001600160a01b031690565b5f61152482826132cd565b90505b92915050565b611535611084565b6001600160a01b0316336001600160a01b0316146115685760405163086391f760e31b81523360048201526024016106ab565b5f61157161093d565b90505f61157c610a71565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e69190613142565b90506115f1836124f4565b8015610c2c57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117525761165a610dec565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b602060405180830381865af41580156116be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e291906130c9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611737575f80fd5b505af1158015611749573d5f803e3d5ffd5b50505050505050565b61175a610dec565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b5f805f6117af84610f7e565b90506117e27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561182f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185391906132f0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c891906130a3565b6001600160a01b0316336001600160a01b0316146118fa5760405162f0630960e01b81523360048201526024016106ab565b610c2c83838361258d565b61108033610680565b611916611084565b6001600160a01b0316336001600160a01b0316146119495760405163086391f760e31b81523360048201526024016106ab565b611953600a61238c565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611343565b5f805160206136308339815191525f806119ba61199d6114fe565b87306119ac60045f8a8c613314565b6119b59161333b565b612733565b9150915081611a785763ffffffff811615611a5557825460ff60a01b1916600160a01b1783556119e86114fe565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a1793929190613371565b5f604051808303815f87803b158015611a2e575f80fd5b505af1158015611a40573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a789050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ab565b505050505050565b5f5f80516020613650833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152491906130c9565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190613127565b15611bc85780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ab565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190613127565b611c665760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ab565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906130c9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01547fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00906001600160a01b031663095ea7b3611d5a6112af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610dac565b5f5f80516020613670833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611df1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906130c9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613650833981519152916001600160a01b0390911690632b5198b190611e85908e908e908e908e908e908e908e908e908e906004016133b0565b6020604051808303815f875af1158015611ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec591906132b2565b9b9a5050505050505050505050565b5f5f805160206136508339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613650833981519152916001600160a01b0390911690638dd2b78190611f55908b908b908b908b908b908b90600401613421565b6020604051808303815f875af1158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9591906132b2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120669190613127565b156120b1576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ab565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906120e790889088908890600401613480565b6020604051808303815f875af1158015612103573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212791906130c9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061363083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6121cd6129b2565b5f6121e06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612224573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224891906130c9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c59190613127565b15612384577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612302610f63565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612343573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261236a91908101906134b3565b60808101519092506001600160a01b031615612384575090565b61119961283b565b5f805f805160206136708339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156123e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612406919061358b565b905061241a6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c91906130a3565b5f8051602061365083398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906124cb90859085906004016135a6565b5f604051808303815f87803b1580156124e2575f80fd5b505af1158015611a78573d5f803e3d5ffd5b6124fc611084565b6001600160a01b0316336001600160a01b03161461252f5760405163086391f760e31b81523360048201526024016106ab565b612539600b61238c565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561257b575f80fd5b505af1158015611ee4573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613650833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264a91906130c9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f491906130c9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127a191906135cc565b5f60405180830381855afa9150503d805f81146127d9576040519150601f19603f3d011682016040523d82523d5f602084013e6127de565b606091505b50915091508115612830576040815110612810578080602001905181019061280691906135e2565b9094509250612830565b6020815110612830578080602001905181019061282d9190613127565b93505b505094509492505050565b6128436129b2565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612880906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906130e4565b80156128f75780601f106128ce576101008083540402835291602001916128f7565b820191905f5260205f20905b8154815290600101906020018083116128da57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c91906130c9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b8906130e4565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a18575f80fd5b81356001600160e01b031981168114610f5c575f80fd5b6001600160601b038116811461145e575f80fd5b5f8060408385031215612a54575f80fd5b8235612a5f81612a2f565b91506020830135612a6f81612a2f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612af0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610775610100840182612a7a565b602081525f6115246020830184612a7a565b5f60208284031215612b56575f80fd5b8135610f5c81612a2f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b9757612b97612b61565b60405290565b60405160c081016001600160401b0381118282101715612b9757612b97612b61565b604051601f8201601f191681016001600160401b0381118282101715612be757612be7612b61565b604052919050565b5f6001600160401b03821115612c0757612c07612b61565b50601f01601f191660200190565b5f82601f830112612c24575f80fd5b8135602083015f612c3c612c3784612bef565b612bbf565b9050828152858383011115612c4f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461145e575f80fd5b8035610a6c81612c69565b801515811461145e575f80fd5b8035610a6c81612c85565b5f805f805f805f805f6101208a8c031215612cb6575f80fd5b89356001600160401b03811115612ccb575f80fd5b612cd78c828d01612c15565b99505060208a0135975060408a0135965060608a0135955060808a0135612cfd81612c69565b9450612d0b60a08b01612c7a565b9350612d1960c08b01612c92565b9250612d2760e08b01612c92565b91506101008a01356001600160401b03811115612d42575f80fd5b612d4e8c828d01612c15565b9150509295985092959850929598565b6001600160c01b03198116811461145e575f80fd5b5f805f60608486031215612d85575f80fd5b8335612d9081612a2f565b92506020840135612da081612d5e565b915060408401356001600160401b03811115612dba575f80fd5b612dc686828701612c15565b9150509250925092565b6001600160a01b038116811461145e575f80fd5b5f8060408385031215612df5575f80fd5b8235612a5f81612dd0565b5f805f805f60a08688031215612e14575f80fd5b85356001600160401b03811115612e29575f80fd5b612e3588828901612c15565b955050602086013593506040860135612e4d81612c69565b9250606086013564ffffffffff81168114612e66575f80fd5b915060808601356001600160401b03811115612e80575f80fd5b612e8c88828901612c15565b9150509295509295909350565b5f805f60608486031215612eab575f80fd5b8335612d9081612dd0565b5f60208284031215612ec6575f80fd5b81356001600160401b03811115612edb575f80fd5b61077584828501612c15565b5f60208284031215612ef7575f80fd5b8135610f5c81612dd0565b602081525f825160c06020840152612f1d60e0840182612a7a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f7060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612f8c8282612a7a565b95945050505050565b5f60408284031215612fa5575f80fd5b604080519081016001600160401b0381118282101715612fc757612fc7612b61565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ff2575f80fd5b612ffc8484612f95565b915061300b8460408501612f95565b90509250929050565b5f8060408385031215613025575f80fd5b823561303081612dd0565b946020939093013593505050565b5f806040838503121561304f575f80fd5b823561303081612d5e565b5f805f6060848603121561306c575f80fd5b833561307781612dd0565b9250602084013561308781612dd0565b929592945050506040919091013590565b8051610a6c81612dd0565b5f602082840312156130b3575f80fd5b8151610f5c81612dd0565b8051610a6c81612a2f565b5f602082840312156130d9575f80fd5b8151610f5c81612a2f565b600181811c908216806130f857607f821691505b60208210810361311657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a6c81612c85565b5f60208284031215613137575f80fd5b8151610f5c81612c85565b5f60208284031215613152575f80fd5b5051919050565b60ff8116811461145e575f80fd5b8051610a6c81613159565b5f82601f830112613181575f80fd5b8151602083015f613194612c3784612bef565b90508281528583830111156131a7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131d1575f80fd5b81516001600160401b038111156131e6575f80fd5b820160e081850312156131f7575f80fd5b6131ff612b75565b613208826130be565b8152613216602083016130be565b602082015261322760408301613167565b60408201526132386060830161311c565b606082015261324960808301613098565b608082015261325a60a08301613098565b60a082015260c08201516001600160401b03811115613277575f80fd5b61328386828501613172565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f596040830184612a7a565b5f602082840312156132c2575f80fd5b8151610f5c81612d5e565b808202811582820484141761152757634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613301575f80fd5b82516020840151909250612a6f81613159565b5f8085851115613322575f80fd5b8386111561332e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610778576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6133c461012083018c612a7a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134118185612a7a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61344260c0830188612a7a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134738185612a7a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f8c90830184612a7a565b5f602082840312156134c3575f80fd5b81516001600160401b038111156134d8575f80fd5b820160c081850312156134e9575f80fd5b6134f1612b9d565b81516001600160401b03811115613506575f80fd5b61351286828501613172565b825250613521602083016130be565b602082015261353260408301613098565b604082015261354360608301613098565b606082015261355460808301613098565b608082015260a08201516001600160401b03811115613571575f80fd5b61357d86828501613172565b60a083015250949350505050565b5f6020828403121561359b575f80fd5b8151610f5c81613159565b825181526020808401518183015282516040830152820151606082015260808101610f5c565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135f3575f80fd5b82516135fe81612c85565b6020840151909250612a6f81612c6956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220d908a98d9d21d9f45680794ef4ce3158bfb9a262ee290c56fa1c79b8688f8dd764736f6c634300081a0033",
1222
- "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061028b575f3560e01c80637427d7a811610161578063bae99c99116100ca578063e145d46c11610084578063e145d46c146105d5578063e7f7fb86146105ff578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660575f80fd5b8063bae99c9914610564578063bb1e0e5914610577578063bf7e214f1461058a578063d16d0fe814610592578063de7b5d14146105a5578063deaa59df146105c2575f80fd5b806390edbd351161011b57806390edbd3514610505578063a69df4b51461051a578063ada9652e14610522578063b2a6b42d14610536578063b423086c14610549578063b6b412ba14610551575f80fd5b80637427d7a81461049c5780637a9e5e4b146104af57806387ef9ba0146104c2578063893d20e8146104c95780638f0c86fa146104d15780638fb36037146104e4575f80fd5b806322366844116102035780635741e5e9116101bd5780635741e5e91461042557806359660bea1461042d5780635ab1bd53146104405780635dcb3bae14610451578063644c45e0146104645780636bd1c0eb1461046c575f80fd5b806322366844146103af5780632b5198b1146103b75780632eb3e6f4146103e35780633d683fd9146103f7578063419197fe1461040a57806343d752d31461041d575f80fd5b8063138461e011610254578063138461e01461033857806317d7de7c146103405780631aa3a008146103555780631c6b21901461035f5780631eff4b221461037257806321df0da7146103a7575f80fd5b806251884a1461028f57806301ffc9a7146102b457806307e71a6e146102f05780630fec111c146103035780631329960414610318575b5f80fd5b610297610668565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612a08565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6102976102fe366004612a43565b61067a565b61030b61077f565b6040516102ab9190612aa8565b61032061093d565b6040516001600160a01b0390911681526020016102ab565b61029761094f565b61034861095e565b6040516102ab9190612b34565b61035d61096e565b005b61029761036d366004612b46565b610a1b565b6103997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b610320610a71565b6102e0610a83565b6103ca6103c5366004612c9d565b610b79565b6040516001600160c01b031990911681526020016102ab565b6103995f8051602061367083398151915281565b61035d610405366004612d73565b610bdd565b61035d610418366004612de4565b610c31565b610320610dec565b6102e0610dfe565b6103ca61043b366004612e00565b610eb2565b6001546001600160a01b0316610320565b61029761045f366004612e99565b610f09565b610297610f63565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610320565b6103ca6104aa366004612eb6565b610f7e565b61035d6104bd366004612ee7565b610ffe565b60016102e0565b610320611084565b6102e06104df366004612ee7565b6111b5565b6104ec61127a565b6040516001600160e01b031990911681526020016102ab565b61050d6112af565b6040516102ab9190612f02565b61035d6112d4565b6103995f8051602061361083398151915281565b610297610544366004612ee7565b611372565b61050d6113b4565b61035d61055f366004612fe1565b6113c4565b61035d610572366004612b46565b611412565b61035d610585366004613014565b611461565b6103206114fe565b6103996105a036600461303e565b611519565b5f80516020613670833981519152546001600160a01b0316610320565b61035d6105d0366004612ee7565b61152d565b6105e86105e3366004612eb6565b6117a3565b6040805192835260ff9091166020830152016102ab565b61035d61060d36600461305a565b61185d565b6103997fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103995f8051602061365083398151915281565b61035d61065b36600461303e565b611905565b61035d61190e565b5f6106716112af565b60200151905090565b5f610687335b5f36611982565b610690336111b5565b6106b45760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106c76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073891906130a3565b6001600160a01b0316336001600160a01b03161461076b5760405163086391f760e31b81523360048201526024016106ab565b6107758484611a80565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085391906130c9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b611084565b6001600160a01b031681526020018260010180546108b8906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906130e4565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f6109466112af565b60800151905090565b5f61095930611b0c565b905090565b60606109686112af565b51919050565b610976611084565b6001600160a01b0316336001600160a01b0316146109a95760405163086391f760e31b81523360048201526024016106ab565b5f80516020613650833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109f9575f80fd5b505af1158015610a0b573d5f803e3d5ffd5b50505050610a195f19611d00565b565b5f610a24611084565b6001600160a01b0316336001600160a01b031614610a575760405163086391f760e31b81523360048201526024016106ab565b610a6033610680565b610a6982611d91565b90505b919050565b5f610a7a6112af565b60400151905090565b5f610a966001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906130c9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613127565b5f610b82611084565b6001600160a01b0316336001600160a01b031614610bb55760405163086391f760e31b81523360048201526024016106ab565b610bbe33610680565b610bcf8a8a8a8a8a8a8a8a8a611e15565b9a9950505050505050505050565b610be5611084565b6001600160a01b0316336001600160a01b031614610c185760405163086391f760e31b81523360048201526024016106ab565b610c2133610680565b610c2c838383611ed4565b505050565b610c39611084565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106ab565b30610c7561093d565b6001600160a01b031614610c9c5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cc5610dec565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d05610dec565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190613142565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c9190613127565b5f610df56112af565b60600151905090565b5f610e07610a83565b15610e82576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610df591908101906131c1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ebc336111b5565b610edb5760405163637c41bb60e01b81523360048201526024016106ab565b610ee433610680565b5f610eee33611372565b9050610efe818888888888611eeb565b979650505050505050565b5f610f12611084565b6001600160a01b0316336001600160a01b031614610f455760405163086391f760e31b81523360048201526024016106ab565b610f4e33610680565b610f59848484611fa1565b90505b9392505050565b5f80516020613610833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fa1610f63565b846040518363ffffffff1660e01b8152600401610fbf929190613291565b602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906132b2565b336110076114fe565b6001600160a01b0316816001600160a01b0316146110425760405162d1953b60e31b81526001600160a01b03821660048201526024016106ab565b816001600160a01b03163b5f03611077576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ab565b61108082612165565b5050565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111149190613127565b1561119f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119991906130a3565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611256573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c9190613127565b5f8051602061363083398151915280545f9190600160a01b900460ff166112a1575f611199565b638fb3603760e01b91505090565b6112b76129b2565b6112bf610a83565b156112cc576109596121c5565b6109596113b4565b6112dc611084565b6001600160a01b0316336001600160a01b03161461130f5760405163086391f760e31b81523360048201526024016106ab565b611319600a61238c565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561135a575f80fd5b505af115801561136c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113bc6129b2565b6109596121c5565b6113cc611084565b6001600160a01b0316336001600160a01b0316146113ff5760405163086391f760e31b81523360048201526024016106ab565b61140833610680565b611080828261248d565b61141a611084565b6001600160a01b0316336001600160a01b03161461144d5760405163086391f760e31b81523360048201526024016106ab565b61145e611458610a71565b82610c31565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cc91906130a3565b6001600160a01b0316336001600160a01b0316146110805760405162f0630960e01b81523360048201526024016106ab565b5f80516020613630833981519152546001600160a01b031690565b5f61152482826132cd565b90505b92915050565b611535611084565b6001600160a01b0316336001600160a01b0316146115685760405163086391f760e31b81523360048201526024016106ab565b5f61157161093d565b90505f61157c610a71565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e69190613142565b90506115f1836124f4565b8015610c2c57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117525761165a610dec565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b602060405180830381865af41580156116be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e291906130c9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611737575f80fd5b505af1158015611749573d5f803e3d5ffd5b50505050505050565b61175a610dec565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b5f805f6117af84610f7e565b90506117e27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561182f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185391906132f0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c891906130a3565b6001600160a01b0316336001600160a01b0316146118fa5760405162f0630960e01b81523360048201526024016106ab565b610c2c83838361258d565b61108033610680565b611916611084565b6001600160a01b0316336001600160a01b0316146119495760405163086391f760e31b81523360048201526024016106ab565b611953600a61238c565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611343565b5f805160206136308339815191525f806119ba61199d6114fe565b87306119ac60045f8a8c613314565b6119b59161333b565b612733565b9150915081611a785763ffffffff811615611a5557825460ff60a01b1916600160a01b1783556119e86114fe565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a1793929190613371565b5f604051808303815f87803b158015611a2e575f80fd5b505af1158015611a40573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a789050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ab565b505050505050565b5f5f80516020613650833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152491906130c9565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190613127565b15611bc85780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ab565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190613127565b611c665760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ab565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906130c9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01547fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00906001600160a01b031663095ea7b3611d5a6112af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610dac565b5f5f80516020613670833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611df1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906130c9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613650833981519152916001600160a01b0390911690632b5198b190611e85908e908e908e908e908e908e908e908e908e906004016133b0565b6020604051808303815f875af1158015611ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec591906132b2565b9b9a5050505050505050505050565b5f5f805160206136508339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613650833981519152916001600160a01b0390911690638dd2b78190611f55908b908b908b908b908b908b90600401613421565b6020604051808303815f875af1158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9591906132b2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120669190613127565b156120b1576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ab565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906120e790889088908890600401613480565b6020604051808303815f875af1158015612103573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212791906130c9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061363083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6121cd6129b2565b5f6121e06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612224573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224891906130c9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c59190613127565b15612384577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612302610f63565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612343573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261236a91908101906134b3565b60808101519092506001600160a01b031615612384575090565b61119961283b565b5f805f805160206136708339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156123e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612406919061358b565b905061241a6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c91906130a3565b5f8051602061365083398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906124cb90859085906004016135a6565b5f604051808303815f87803b1580156124e2575f80fd5b505af1158015611a78573d5f803e3d5ffd5b6124fc611084565b6001600160a01b0316336001600160a01b03161461252f5760405163086391f760e31b81523360048201526024016106ab565b612539600b61238c565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561257b575f80fd5b505af1158015611ee4573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613650833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264a91906130c9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f491906130c9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127a191906135cc565b5f60405180830381855afa9150503d805f81146127d9576040519150601f19603f3d011682016040523d82523d5f602084013e6127de565b606091505b50915091508115612830576040815110612810578080602001905181019061280691906135e2565b9094509250612830565b6020815110612830578080602001905181019061282d9190613127565b93505b505094509492505050565b6128436129b2565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612880906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906130e4565b80156128f75780601f106128ce576101008083540402835291602001916128f7565b820191905f5260205f20905b8154815290600101906020018083116128da57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c91906130c9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b8906130e4565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a18575f80fd5b81356001600160e01b031981168114610f5c575f80fd5b6001600160601b038116811461145e575f80fd5b5f8060408385031215612a54575f80fd5b8235612a5f81612a2f565b91506020830135612a6f81612a2f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612af0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610775610100840182612a7a565b602081525f6115246020830184612a7a565b5f60208284031215612b56575f80fd5b8135610f5c81612a2f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b9757612b97612b61565b60405290565b60405160c081016001600160401b0381118282101715612b9757612b97612b61565b604051601f8201601f191681016001600160401b0381118282101715612be757612be7612b61565b604052919050565b5f6001600160401b03821115612c0757612c07612b61565b50601f01601f191660200190565b5f82601f830112612c24575f80fd5b8135602083015f612c3c612c3784612bef565b612bbf565b9050828152858383011115612c4f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461145e575f80fd5b8035610a6c81612c69565b801515811461145e575f80fd5b8035610a6c81612c85565b5f805f805f805f805f6101208a8c031215612cb6575f80fd5b89356001600160401b03811115612ccb575f80fd5b612cd78c828d01612c15565b99505060208a0135975060408a0135965060608a0135955060808a0135612cfd81612c69565b9450612d0b60a08b01612c7a565b9350612d1960c08b01612c92565b9250612d2760e08b01612c92565b91506101008a01356001600160401b03811115612d42575f80fd5b612d4e8c828d01612c15565b9150509295985092959850929598565b6001600160c01b03198116811461145e575f80fd5b5f805f60608486031215612d85575f80fd5b8335612d9081612a2f565b92506020840135612da081612d5e565b915060408401356001600160401b03811115612dba575f80fd5b612dc686828701612c15565b9150509250925092565b6001600160a01b038116811461145e575f80fd5b5f8060408385031215612df5575f80fd5b8235612a5f81612dd0565b5f805f805f60a08688031215612e14575f80fd5b85356001600160401b03811115612e29575f80fd5b612e3588828901612c15565b955050602086013593506040860135612e4d81612c69565b9250606086013564ffffffffff81168114612e66575f80fd5b915060808601356001600160401b03811115612e80575f80fd5b612e8c88828901612c15565b9150509295509295909350565b5f805f60608486031215612eab575f80fd5b8335612d9081612dd0565b5f60208284031215612ec6575f80fd5b81356001600160401b03811115612edb575f80fd5b61077584828501612c15565b5f60208284031215612ef7575f80fd5b8135610f5c81612dd0565b602081525f825160c06020840152612f1d60e0840182612a7a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f7060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612f8c8282612a7a565b95945050505050565b5f60408284031215612fa5575f80fd5b604080519081016001600160401b0381118282101715612fc757612fc7612b61565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ff2575f80fd5b612ffc8484612f95565b915061300b8460408501612f95565b90509250929050565b5f8060408385031215613025575f80fd5b823561303081612dd0565b946020939093013593505050565b5f806040838503121561304f575f80fd5b823561303081612d5e565b5f805f6060848603121561306c575f80fd5b833561307781612dd0565b9250602084013561308781612dd0565b929592945050506040919091013590565b8051610a6c81612dd0565b5f602082840312156130b3575f80fd5b8151610f5c81612dd0565b8051610a6c81612a2f565b5f602082840312156130d9575f80fd5b8151610f5c81612a2f565b600181811c908216806130f857607f821691505b60208210810361311657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a6c81612c85565b5f60208284031215613137575f80fd5b8151610f5c81612c85565b5f60208284031215613152575f80fd5b5051919050565b60ff8116811461145e575f80fd5b8051610a6c81613159565b5f82601f830112613181575f80fd5b8151602083015f613194612c3784612bef565b90508281528583830111156131a7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131d1575f80fd5b81516001600160401b038111156131e6575f80fd5b820160e081850312156131f7575f80fd5b6131ff612b75565b613208826130be565b8152613216602083016130be565b602082015261322760408301613167565b60408201526132386060830161311c565b606082015261324960808301613098565b608082015261325a60a08301613098565b60a082015260c08201516001600160401b03811115613277575f80fd5b61328386828501613172565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f596040830184612a7a565b5f602082840312156132c2575f80fd5b8151610f5c81612d5e565b808202811582820484141761152757634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613301575f80fd5b82516020840151909250612a6f81613159565b5f8085851115613322575f80fd5b8386111561332e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610778576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6133c461012083018c612a7a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134118185612a7a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61344260c0830188612a7a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134738185612a7a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f8c90830184612a7a565b5f602082840312156134c3575f80fd5b81516001600160401b038111156134d8575f80fd5b820160c081850312156134e9575f80fd5b6134f1612b9d565b81516001600160401b03811115613506575f80fd5b61351286828501613172565b825250613521602083016130be565b602082015261353260408301613098565b604082015261354360608301613098565b606082015261355460808301613098565b608082015260a08201516001600160401b03811115613571575f80fd5b61357d86828501613172565b60a083015250949350505050565b5f6020828403121561359b575f80fd5b8151610f5c81613159565b825181526020808401518183015282516040830152820151606082015260808101610f5c565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135f3575f80fd5b82516135fe81612c85565b6020840151909250612a6f81612c6956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220d908a98d9d21d9f45680794ef4ce3158bfb9a262ee290c56fa1c79b8688f8dd764736f6c634300081a0033",
1204
+ "bytecode": "0x6080604052348015600e575f80fd5b50612f5d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610255575f3560e01c80637427d7a811610140578063ada9652e116100bf578063d16d0fe811610084578063d16d0fe814610593578063de7b5d14146105a6578063e145d46c146105d6578063ea15869f14610600578063f5860e1a14610627578063f80e20721461063b575f80fd5b8063ada9652e14610549578063b2a6b42d1461055d578063b423086c14610570578063b6b412ba14610578578063bf7e214f1461058b575f80fd5b80638f0c86fa116101055780638f0c86fa146104da5780638fb36037146104ed57806390edbd351461050e578063ab3fc75f14610523578063ad12ad6014610536575f80fd5b80637427d7a81461046557806376b707b7146104785780637a9e5e4b146104b657806387ef9ba0146104cb578063893d20e8146104d2575f80fd5b806322366844116101d75780635741e5e91161019c5780635741e5e9146103ee57806359660bea146103f65780635ab1bd53146104095780635dcb3bae1461041a578063644c45e01461042d5780636bd1c0eb14610435575f80fd5b8063223668441461038357806322f3e2d41461038b5780632eb3e6f4146103935780632fd17ba0146103ba57806343d752d3146103e6575f80fd5b8063138461e01161021d578063138461e01461031657806317d7de7c1461031e5780631c6b2190146103335780631eff4b221461034657806321df0da71461037b575f80fd5b806301ffc9a71461025957806307e71a6e1461029a5780630d8e6e2c146102c55780630fec111c146102e157806313299604146102f6575b5f80fd5b6102856102673660046122e4565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ad6102a8366004612322565b61064e565b6040516001600160601b039091168152602001610291565b6102cd610752565b60405162ffffff9091168152602001610291565b6102e96107d9565b6040516102919190612387565b6102fe610993565b6040516001600160a01b039091168152602001610291565b6102ad6109fb565b610326610a05565b604051610291919061241b565b6102ad61034136600461242d565b610a15565b61036d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b6102fe610a6b565b610285610a7d565b610285610b73565b61036d7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103cd6103c8366004612596565b610bea565b6040516001600160c01b03199091168152602001610291565b6102fe610c4e565b610285610c60565b6103cd610404366004612657565b610d1d565b6001546001600160a01b03166102fe565b6102ad610428366004612710565b610d74565b6102ad610dce565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102fe565b6103cd61047336600461276d565b610de9565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30054600160681b900460ff1660405160ff9091168152602001610291565b6104c96104c436600461279e565b610e69565b005b6001610285565b6102fe610eef565b6102856104e836600461279e565b611020565b6104f56110e5565b6040516001600160e01b03199091168152602001610291565b61051661111a565b60405161029191906127b9565b6104c961053136600461281f565b61113f565b6104c961054436600461283c565b6111a2565b61036d5f80516020612ec883398151915281565b6102ad61056b36600461279e565b611251565b610516611293565b6104c96105863660046128d8565b6112a3565b6102fe6112f1565b61036d6105a136600461290b565b61130c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102fe565b6105e96105e436600461276d565b611320565b6040805192835260ff909116602083015201610291565b61036d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61036d5f80516020612f0883398151915281565b6104c961064936600461290b565b6113da565b5f61065b335b5f366113e3565b61066433611020565b6106885760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601761069582826114e1565b846106a86001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071f9190612940565b61073e5760405163086391f760e31b815233600482015260240161067f565b6107488686611598565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d4919061295b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610885573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a99190612988565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016108f1610eef565b6001600160a01b0316815260200182600101805461090e906129a3565b80601f016020809104026020016040519081016040528092919081815260200182805461093a906129a3565b80156109855780601f1061095c57610100808354040283529160200191610985565b820191905f5260205f20905b81548152906001019060200180831161096857829003601f168201915b505050505081525091505090565b5f61099c610c4e565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d491906129e6565b5f6107d430611624565b6060610a0f61111a565b51919050565b5f610a1f33610654565b610a27610eef565b6001600160a01b0316336001600160a01b031614610a5a5760405163086391f760e31b815233600482015260240161067f565b610a6382611818565b90505b919050565b5f610a7461111a565b60200151905090565b5f610a906001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ad4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af89190612988565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d49190612940565b5f610b7c6112f1565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be49190612940565b15905090565b5f610bf433610654565b610bfc610eef565b6001600160a01b0316336001600160a01b031614610c2f5760405163086391f760e31b815233600482015260240161067f565b610c408a8a8a8a8a8a8a8a8a6118af565b9a9950505050505050505050565b5f610c5761111a565b60400151905090565b5f610c69610a7d565b15610ced576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610cbd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ce49190810190612a6e565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610d2733610654565b610d3033611020565b610d4f5760405163637c41bb60e01b815233600482015260240161067f565b5f610d5933611251565b9050610d6981888888888861196e565b979650505050505050565b5f610d7e33610654565b610d86610eef565b6001600160a01b0316336001600160a01b031614610db95760405163086391f760e31b815233600482015260240161067f565b610dc4848484611a24565b90505b9392505050565b5f80516020612ec8833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e0c610dce565b846040518363ffffffff1660e01b8152600401610e2a929190612b3e565b602060405180830381865af4158015610e45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a639190612b5f565b33610e726112f1565b6001600160a01b0316816001600160a01b031614610ead5760405162d1953b60e31b81526001600160a01b038216600482015260240161067f565b816001600160a01b03163b5f03610ee2576040516361798f2f60e11b81526001600160a01b038316600482015260240161067f565b610eeb82611be8565b5050565b5f805f80516020612ec883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f7f9190612940565b1561100a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610fe0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100491906129e6565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f088339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156110c1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc79190612940565b5f80516020612ee883398151915280545f9190600160a01b900460ff1661110c575f611004565b638fb3603760e01b91505090565b6111226122ac565b61112a610a7d565b15611137576107d4611c48565b6107d4611293565b61114833610654565b611150610eef565b6001600160a01b0316336001600160a01b0316146111835760405163086391f760e31b815233600482015260240161067f565b82601761119082826114e1565b61119b858585611e0f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906129e6565b6001600160a01b0316336001600160a01b03161461123f5760405162f0630960e01b815233600482015260240161067f565b61124b84848484611ea2565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b61129b6122ac565b6107d4611c48565b6112ab610eef565b6001600160a01b0316336001600160a01b0316146112de5760405163086391f760e31b815233600482015260240161067f565b6112e733610654565b610eeb828261204b565b5f80516020612ee8833981519152546001600160a01b031690565b5f6113178282612b7a565b90505b92915050565b5f805f61132c84610de9565b905061135f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156113ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d09190612b9d565b9250925050915091565b610eeb33610654565b5f80516020612ee88339815191525f8061141b6113fe6112f1565b873061140d60045f8a8c612bc0565b61141691612be7565b6120b2565b91509150816114d95763ffffffff8116156114b657825460ff60a01b1916600160a01b1783556114496112f1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161147893929190612c1f565b5f604051808303815f87803b15801561148f575f80fd5b505af11580156114a1573d5f803e3d5ffd5b5050845460ff60a01b19168555506114d99050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161067f565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611543573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115679190612940565b610eeb5760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161067f565b5f5f80516020612f08833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611600573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113179190612988565b5f805f80516020612ec883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611690573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b49190612940565b156116e05780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161067f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611732573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117569190612940565b61177e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161067f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f49190612988565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561188b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a639190612988565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163017e8bdd60e51b81525f915f80516020612f08833981519152916001600160a01b0390911690632fd17ba09061191f908e908e908e908e908e908e908e908e908e90600401612c5e565b6020604051808303815f875af115801561193b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061195f9190612b5f565b9b9a5050505050505050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020612f08833981519152916001600160a01b0390911690638dd2b781906119d8908b908b908b908b908b908b90600401612cd0565b6020604051808303815f875af11580156119f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a189190612b5f565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f088339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae99190612940565b15611b34576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161067f565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611b6a90889088908890600401612d2f565b6020604051808303815f875af1158015611b86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611baa9190612988565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020612ee883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611c506122ac565b5f611c636001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611ca7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ccb9190612988565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d489190612940565b15611e07577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611d85610dce565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611dc6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ded9190810190612d62565b60408101519092506001600160a01b031615611e07575090565b6110046121ba565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020612f08833981519152916001600160a01b03169063ab3fc75f90611e6f90879087908790600401612e2b565b5f604051808303815f87803b158015611e86575f80fd5b505af1158015611e98573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020612f08833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f619190612988565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015611fe7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200b9190612988565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020612f0883398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906120899085908590600401612e5e565b5f604051808303815f87803b1580156120a0575f80fd5b505af11580156114d9573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121209190612e84565b5f60405180830381855afa9150503d805f8114612158576040519150601f19603f3d011682016040523d82523d5f602084013e61215d565b606091505b509150915081156121af57604081511061218f57808060200190518101906121859190612e9a565b90945092506121af565b60208151106121af57808060200190518101906121ac9190612940565b93505b505094509492505050565b6121c26122ac565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546121ff906129a3565b80601f016020809104026020016040519081016040528092919081815260200182805461222b906129a3565b80156122765780601f1061224d57610100808354040283529160200191612276565b820191905f5260205f20905b81548152906001019060200180831161225957829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161090e906129a3565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156122f4575f80fd5b81356001600160e01b031981168114610dc7575f80fd5b6001600160601b038116811461231f575f80fd5b50565b5f8060408385031215612333575f80fd5b823561233e8161230b565b9150602083013561234e8161230b565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516123cf608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612413610100840182612359565b949350505050565b602081525f6113176020830184612359565b5f6020828403121561243d575f80fd5b8135610dc78161230b565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561247e5761247e612448565b60405290565b604051608081016001600160401b038111828210171561247e5761247e612448565b604051601f8201601f191681016001600160401b03811182821017156124ce576124ce612448565b604052919050565b5f6001600160401b038211156124ee576124ee612448565b50601f01601f191660200190565b5f82601f83011261250b575f80fd5b8135602083015f61252361251e846124d6565b6124a6565b9050828152858383011115612536575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461231f575f80fd5b64ffffffffff8116811461231f575f80fd5b8035610a6681612561565b801515811461231f575f80fd5b8035610a668161257e565b5f805f805f805f805f6101208a8c0312156125af575f80fd5b89356001600160401b038111156125c4575f80fd5b6125d08c828d016124fc565b99505060208a0135975060408a0135965060608a0135955060808a01356125f681612550565b945061260460a08b01612573565b935061261260c08b0161258b565b925061262060e08b0161258b565b91506101008a01356001600160401b0381111561263b575f80fd5b6126478c828d016124fc565b9150509295985092959850929598565b5f805f805f60a0868803121561266b575f80fd5b85356001600160401b03811115612680575f80fd5b61268c888289016124fc565b9550506020860135935060408601356126a481612550565b925060608601356126b481612561565b915060808601356001600160401b038111156126ce575f80fd5b6126da888289016124fc565b9150509295509295909350565b6001600160a01b038116811461231f575f80fd5b6001600160c01b03198116811461231f575f80fd5b5f805f60608486031215612722575f80fd5b833561272d816126e7565b9250602084013561273d816126fb565b915060408401356001600160401b03811115612757575f80fd5b612763868287016124fc565b9150509250925092565b5f6020828403121561277d575f80fd5b81356001600160401b03811115612792575f80fd5b612413848285016124fc565b5f602082840312156127ae575f80fd5b8135610dc7816126e7565b602081525f8251608060208401526127d460a0840182612359565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506128168282612359565b95945050505050565b5f805f60608486031215612831575f80fd5b833561272d8161230b565b5f805f806080858703121561284f575f80fd5b843561285a816126e7565b9350602085013561286a816126e7565b9250604085013591506060850135612881816126e7565b939692955090935050565b5f6040828403121561289c575f80fd5b604080519081016001600160401b03811182821017156128be576128be612448565b604052823581526020928301359281019290925250919050565b5f80608083850312156128e9575f80fd5b6128f3848461288c565b9150612902846040850161288c565b90509250929050565b5f806040838503121561291c575f80fd5b8235612927816126fb565b946020939093013593505050565b8051610a668161257e565b5f60208284031215612950575f80fd5b8151610dc78161257e565b5f6020828403121561296b575f80fd5b815162ffffff81168114610dc7575f80fd5b8051610a668161230b565b5f60208284031215612998575f80fd5b8151610dc78161230b565b600181811c908216806129b757607f821691505b6020821081036129d557634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a66816126e7565b5f602082840312156129f6575f80fd5b8151610dc7816126e7565b60ff8116811461231f575f80fd5b8051610a6681612a01565b5f612a2761251e846124d6565b9050828152838383011115612a3a575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a5f575f80fd5b61131783835160208501612a1a565b5f60208284031215612a7e575f80fd5b81516001600160401b03811115612a93575f80fd5b820160e08185031215612aa4575f80fd5b612aac61245c565b612ab58261297d565b8152612ac36020830161297d565b6020820152612ad460408301612a0f565b6040820152612ae560608301612935565b6060820152612af6608083016129db565b6080820152612b0760a083016129db565b60a082015260c08201516001600160401b03811115612b24575f80fd5b612b3086828501612a50565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610dc46040830184612359565b5f60208284031215612b6f575f80fd5b8151610dc7816126fb565b808202811582820484141761131a57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612bae575f80fd5b82519150602083015161234e81612a01565b5f8085851115612bce575f80fd5b83861115612bda575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612c18576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612c7261012083018c612359565b8a602084015289604084015288606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612cc08185612359565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612cf160c0830188612359565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612d228185612359565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061281690830184612359565b5f60208284031215612d72575f80fd5b81516001600160401b03811115612d87575f80fd5b820160808185031215612d98575f80fd5b612da0612484565b81516001600160401b03811115612db5575f80fd5b8201601f81018613612dc5575f80fd5b612dd486825160208401612a1a565b825250612de3602083016129db565b6020820152612df4604083016129db565b604082015260608201516001600160401b03811115612e11575f80fd5b612e1d86828501612a50565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6128166060830184612359565b825181526020808401518183015282516040830152820151606082015260808101610dc7565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612eab575f80fd5b8251612eb68161257e565b602084015190925061234e8161255056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a2646970667358221220e18c2ebccc66658a2c634c8cc86ebd053fd2d18bdd5b992e0244e5b0ef1273c164736f6c634300081a0033",
1205
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610255575f3560e01c80637427d7a811610140578063ada9652e116100bf578063d16d0fe811610084578063d16d0fe814610593578063de7b5d14146105a6578063e145d46c146105d6578063ea15869f14610600578063f5860e1a14610627578063f80e20721461063b575f80fd5b8063ada9652e14610549578063b2a6b42d1461055d578063b423086c14610570578063b6b412ba14610578578063bf7e214f1461058b575f80fd5b80638f0c86fa116101055780638f0c86fa146104da5780638fb36037146104ed57806390edbd351461050e578063ab3fc75f14610523578063ad12ad6014610536575f80fd5b80637427d7a81461046557806376b707b7146104785780637a9e5e4b146104b657806387ef9ba0146104cb578063893d20e8146104d2575f80fd5b806322366844116101d75780635741e5e91161019c5780635741e5e9146103ee57806359660bea146103f65780635ab1bd53146104095780635dcb3bae1461041a578063644c45e01461042d5780636bd1c0eb14610435575f80fd5b8063223668441461038357806322f3e2d41461038b5780632eb3e6f4146103935780632fd17ba0146103ba57806343d752d3146103e6575f80fd5b8063138461e01161021d578063138461e01461031657806317d7de7c1461031e5780631c6b2190146103335780631eff4b221461034657806321df0da71461037b575f80fd5b806301ffc9a71461025957806307e71a6e1461029a5780630d8e6e2c146102c55780630fec111c146102e157806313299604146102f6575b5f80fd5b6102856102673660046122e4565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ad6102a8366004612322565b61064e565b6040516001600160601b039091168152602001610291565b6102cd610752565b60405162ffffff9091168152602001610291565b6102e96107d9565b6040516102919190612387565b6102fe610993565b6040516001600160a01b039091168152602001610291565b6102ad6109fb565b610326610a05565b604051610291919061241b565b6102ad61034136600461242d565b610a15565b61036d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b6102fe610a6b565b610285610a7d565b610285610b73565b61036d7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103cd6103c8366004612596565b610bea565b6040516001600160c01b03199091168152602001610291565b6102fe610c4e565b610285610c60565b6103cd610404366004612657565b610d1d565b6001546001600160a01b03166102fe565b6102ad610428366004612710565b610d74565b6102ad610dce565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102fe565b6103cd61047336600461276d565b610de9565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30054600160681b900460ff1660405160ff9091168152602001610291565b6104c96104c436600461279e565b610e69565b005b6001610285565b6102fe610eef565b6102856104e836600461279e565b611020565b6104f56110e5565b6040516001600160e01b03199091168152602001610291565b61051661111a565b60405161029191906127b9565b6104c961053136600461281f565b61113f565b6104c961054436600461283c565b6111a2565b61036d5f80516020612ec883398151915281565b6102ad61056b36600461279e565b611251565b610516611293565b6104c96105863660046128d8565b6112a3565b6102fe6112f1565b61036d6105a136600461290b565b61130c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102fe565b6105e96105e436600461276d565b611320565b6040805192835260ff909116602083015201610291565b61036d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61036d5f80516020612f0883398151915281565b6104c961064936600461290b565b6113da565b5f61065b335b5f366113e3565b61066433611020565b6106885760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601761069582826114e1565b846106a86001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071f9190612940565b61073e5760405163086391f760e31b815233600482015260240161067f565b6107488686611598565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d4919061295b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610885573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a99190612988565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016108f1610eef565b6001600160a01b0316815260200182600101805461090e906129a3565b80601f016020809104026020016040519081016040528092919081815260200182805461093a906129a3565b80156109855780601f1061095c57610100808354040283529160200191610985565b820191905f5260205f20905b81548152906001019060200180831161096857829003601f168201915b505050505081525091505090565b5f61099c610c4e565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d491906129e6565b5f6107d430611624565b6060610a0f61111a565b51919050565b5f610a1f33610654565b610a27610eef565b6001600160a01b0316336001600160a01b031614610a5a5760405163086391f760e31b815233600482015260240161067f565b610a6382611818565b90505b919050565b5f610a7461111a565b60200151905090565b5f610a906001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ad4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af89190612988565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d49190612940565b5f610b7c6112f1565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be49190612940565b15905090565b5f610bf433610654565b610bfc610eef565b6001600160a01b0316336001600160a01b031614610c2f5760405163086391f760e31b815233600482015260240161067f565b610c408a8a8a8a8a8a8a8a8a6118af565b9a9950505050505050505050565b5f610c5761111a565b60400151905090565b5f610c69610a7d565b15610ced576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610cbd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ce49190810190612a6e565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610d2733610654565b610d3033611020565b610d4f5760405163637c41bb60e01b815233600482015260240161067f565b5f610d5933611251565b9050610d6981888888888861196e565b979650505050505050565b5f610d7e33610654565b610d86610eef565b6001600160a01b0316336001600160a01b031614610db95760405163086391f760e31b815233600482015260240161067f565b610dc4848484611a24565b90505b9392505050565b5f80516020612ec8833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e0c610dce565b846040518363ffffffff1660e01b8152600401610e2a929190612b3e565b602060405180830381865af4158015610e45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a639190612b5f565b33610e726112f1565b6001600160a01b0316816001600160a01b031614610ead5760405162d1953b60e31b81526001600160a01b038216600482015260240161067f565b816001600160a01b03163b5f03610ee2576040516361798f2f60e11b81526001600160a01b038316600482015260240161067f565b610eeb82611be8565b5050565b5f805f80516020612ec883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f7f9190612940565b1561100a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610fe0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100491906129e6565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f088339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156110c1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc79190612940565b5f80516020612ee883398151915280545f9190600160a01b900460ff1661110c575f611004565b638fb3603760e01b91505090565b6111226122ac565b61112a610a7d565b15611137576107d4611c48565b6107d4611293565b61114833610654565b611150610eef565b6001600160a01b0316336001600160a01b0316146111835760405163086391f760e31b815233600482015260240161067f565b82601761119082826114e1565b61119b858585611e0f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906129e6565b6001600160a01b0316336001600160a01b03161461123f5760405162f0630960e01b815233600482015260240161067f565b61124b84848484611ea2565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b61129b6122ac565b6107d4611c48565b6112ab610eef565b6001600160a01b0316336001600160a01b0316146112de5760405163086391f760e31b815233600482015260240161067f565b6112e733610654565b610eeb828261204b565b5f80516020612ee8833981519152546001600160a01b031690565b5f6113178282612b7a565b90505b92915050565b5f805f61132c84610de9565b905061135f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156113ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d09190612b9d565b9250925050915091565b610eeb33610654565b5f80516020612ee88339815191525f8061141b6113fe6112f1565b873061140d60045f8a8c612bc0565b61141691612be7565b6120b2565b91509150816114d95763ffffffff8116156114b657825460ff60a01b1916600160a01b1783556114496112f1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161147893929190612c1f565b5f604051808303815f87803b15801561148f575f80fd5b505af11580156114a1573d5f803e3d5ffd5b5050845460ff60a01b19168555506114d99050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161067f565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611543573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115679190612940565b610eeb5760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161067f565b5f5f80516020612f08833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611600573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113179190612988565b5f805f80516020612ec883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611690573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b49190612940565b156116e05780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161067f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611732573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117569190612940565b61177e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161067f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f49190612988565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561188b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a639190612988565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163017e8bdd60e51b81525f915f80516020612f08833981519152916001600160a01b0390911690632fd17ba09061191f908e908e908e908e908e908e908e908e908e90600401612c5e565b6020604051808303815f875af115801561193b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061195f9190612b5f565b9b9a5050505050505050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020612f08833981519152916001600160a01b0390911690638dd2b781906119d8908b908b908b908b908b908b90600401612cd0565b6020604051808303815f875af11580156119f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a189190612b5f565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f088339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae99190612940565b15611b34576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161067f565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611b6a90889088908890600401612d2f565b6020604051808303815f875af1158015611b86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611baa9190612988565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020612ee883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611c506122ac565b5f611c636001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611ca7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ccb9190612988565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d489190612940565b15611e07577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611d85610dce565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611dc6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ded9190810190612d62565b60408101519092506001600160a01b031615611e07575090565b6110046121ba565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020612f08833981519152916001600160a01b03169063ab3fc75f90611e6f90879087908790600401612e2b565b5f604051808303815f87803b158015611e86575f80fd5b505af1158015611e98573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020612f08833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f619190612988565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015611fe7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200b9190612988565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020612f0883398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906120899085908590600401612e5e565b5f604051808303815f87803b1580156120a0575f80fd5b505af11580156114d9573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121209190612e84565b5f60405180830381855afa9150503d805f8114612158576040519150601f19603f3d011682016040523d82523d5f602084013e61215d565b606091505b509150915081156121af57604081511061218f57808060200190518101906121859190612e9a565b90945092506121af565b60208151106121af57808060200190518101906121ac9190612940565b93505b505094509492505050565b6121c26122ac565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546121ff906129a3565b80601f016020809104026020016040519081016040528092919081815260200182805461222b906129a3565b80156122765780601f1061224d57610100808354040283529160200191612276565b820191905f5260205f20905b81548152906001019060200180831161225957829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161090e906129a3565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156122f4575f80fd5b81356001600160e01b031981168114610dc7575f80fd5b6001600160601b038116811461231f575f80fd5b50565b5f8060408385031215612333575f80fd5b823561233e8161230b565b9150602083013561234e8161230b565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516123cf608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612413610100840182612359565b949350505050565b602081525f6113176020830184612359565b5f6020828403121561243d575f80fd5b8135610dc78161230b565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561247e5761247e612448565b60405290565b604051608081016001600160401b038111828210171561247e5761247e612448565b604051601f8201601f191681016001600160401b03811182821017156124ce576124ce612448565b604052919050565b5f6001600160401b038211156124ee576124ee612448565b50601f01601f191660200190565b5f82601f83011261250b575f80fd5b8135602083015f61252361251e846124d6565b6124a6565b9050828152858383011115612536575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461231f575f80fd5b64ffffffffff8116811461231f575f80fd5b8035610a6681612561565b801515811461231f575f80fd5b8035610a668161257e565b5f805f805f805f805f6101208a8c0312156125af575f80fd5b89356001600160401b038111156125c4575f80fd5b6125d08c828d016124fc565b99505060208a0135975060408a0135965060608a0135955060808a01356125f681612550565b945061260460a08b01612573565b935061261260c08b0161258b565b925061262060e08b0161258b565b91506101008a01356001600160401b0381111561263b575f80fd5b6126478c828d016124fc565b9150509295985092959850929598565b5f805f805f60a0868803121561266b575f80fd5b85356001600160401b03811115612680575f80fd5b61268c888289016124fc565b9550506020860135935060408601356126a481612550565b925060608601356126b481612561565b915060808601356001600160401b038111156126ce575f80fd5b6126da888289016124fc565b9150509295509295909350565b6001600160a01b038116811461231f575f80fd5b6001600160c01b03198116811461231f575f80fd5b5f805f60608486031215612722575f80fd5b833561272d816126e7565b9250602084013561273d816126fb565b915060408401356001600160401b03811115612757575f80fd5b612763868287016124fc565b9150509250925092565b5f6020828403121561277d575f80fd5b81356001600160401b03811115612792575f80fd5b612413848285016124fc565b5f602082840312156127ae575f80fd5b8135610dc7816126e7565b602081525f8251608060208401526127d460a0840182612359565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506128168282612359565b95945050505050565b5f805f60608486031215612831575f80fd5b833561272d8161230b565b5f805f806080858703121561284f575f80fd5b843561285a816126e7565b9350602085013561286a816126e7565b9250604085013591506060850135612881816126e7565b939692955090935050565b5f6040828403121561289c575f80fd5b604080519081016001600160401b03811182821017156128be576128be612448565b604052823581526020928301359281019290925250919050565b5f80608083850312156128e9575f80fd5b6128f3848461288c565b9150612902846040850161288c565b90509250929050565b5f806040838503121561291c575f80fd5b8235612927816126fb565b946020939093013593505050565b8051610a668161257e565b5f60208284031215612950575f80fd5b8151610dc78161257e565b5f6020828403121561296b575f80fd5b815162ffffff81168114610dc7575f80fd5b8051610a668161230b565b5f60208284031215612998575f80fd5b8151610dc78161230b565b600181811c908216806129b757607f821691505b6020821081036129d557634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a66816126e7565b5f602082840312156129f6575f80fd5b8151610dc7816126e7565b60ff8116811461231f575f80fd5b8051610a6681612a01565b5f612a2761251e846124d6565b9050828152838383011115612a3a575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a5f575f80fd5b61131783835160208501612a1a565b5f60208284031215612a7e575f80fd5b81516001600160401b03811115612a93575f80fd5b820160e08185031215612aa4575f80fd5b612aac61245c565b612ab58261297d565b8152612ac36020830161297d565b6020820152612ad460408301612a0f565b6040820152612ae560608301612935565b6060820152612af6608083016129db565b6080820152612b0760a083016129db565b60a082015260c08201516001600160401b03811115612b24575f80fd5b612b3086828501612a50565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610dc46040830184612359565b5f60208284031215612b6f575f80fd5b8151610dc7816126fb565b808202811582820484141761131a57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612bae575f80fd5b82519150602083015161234e81612a01565b5f8085851115612bce575f80fd5b83861115612bda575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612c18576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612c7261012083018c612359565b8a602084015289604084015288606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612cc08185612359565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612cf160c0830188612359565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612d228185612359565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061281690830184612359565b5f60208284031215612d72575f80fd5b81516001600160401b03811115612d87575f80fd5b820160808185031215612d98575f80fd5b612da0612484565b81516001600160401b03811115612db5575f80fd5b8201601f81018613612dc5575f80fd5b612dd486825160208401612a1a565b825250612de3602083016129db565b6020820152612df4604083016129db565b604082015260608201516001600160401b03811115612e11575f80fd5b612e1d86828501612a50565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6128166060830184612359565b825181526020808401518183015282516040830152820151606082015260808101610dc7565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612eab575f80fd5b8251612eb68161257e565b602084015190925061234e8161255056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a2646970667358221220e18c2ebccc66658a2c634c8cc86ebd053fd2d18bdd5b992e0244e5b0ef1273c164736f6c634300081a0033",
1223
1206
  "linkReferences": {
1224
- "contracts/type/Amount.sol": {
1225
- "AmountLib": [
1226
- {
1227
- "length": 20,
1228
- "start": 3391
1229
- },
1230
- {
1231
- "length": 20,
1232
- "start": 5768
1233
- },
1234
- {
1235
- "length": 20,
1236
- "start": 6024
1237
- }
1238
- ]
1239
- },
1240
1207
  "contracts/type/NftId.sol": {
1241
1208
  "NftIdLib": [
1242
1209
  {
1243
1210
  "length": 20,
1244
- "start": 2054
1211
+ "start": 2140
1245
1212
  },
1246
1213
  {
1247
1214
  "length": 20,
1248
- "start": 2873
1215
+ "start": 2867
1249
1216
  },
1250
1217
  {
1251
1218
  "length": 20,
1252
- "start": 4308
1219
+ "start": 3903
1253
1220
  },
1254
1221
  {
1255
1222
  "length": 20,
1256
- "start": 4666
1223
+ "start": 4261
1257
1224
  },
1258
1225
  {
1259
1226
  "length": 20,
1260
- "start": 7004
1227
+ "start": 5748
1261
1228
  },
1262
1229
  {
1263
1230
  "length": 20,
1264
- "start": 8230
1231
+ "start": 6825
1265
1232
  },
1266
1233
  {
1267
1234
  "length": 20,
1268
- "start": 8837
1235
+ "start": 7432
1269
1236
  },
1270
1237
  {
1271
1238
  "length": 20,
1272
- "start": 9725
1239
+ "start": 7956
1273
1240
  },
1274
1241
  {
1275
1242
  "length": 20,
1276
- "start": 9908
1277
- },
1278
- {
1279
- "length": 20,
1280
- "start": 10527
1243
+ "start": 8139
1281
1244
  }
1282
1245
  ]
1283
1246
  },
@@ -1285,69 +1248,57 @@
1285
1248
  "ReferralLib": [
1286
1249
  {
1287
1250
  "length": 20,
1288
- "start": 3997
1251
+ "start": 3592
1289
1252
  }
1290
1253
  ]
1291
- }
1292
- },
1293
- "deployedLinkReferences": {
1294
- "contracts/type/Amount.sol": {
1295
- "AmountLib": [
1296
- {
1297
- "length": 20,
1298
- "start": 3363
1299
- },
1300
- {
1301
- "length": 20,
1302
- "start": 5740
1303
- },
1254
+ },
1255
+ "contracts/type/Version.sol": {
1256
+ "VersionLib": [
1304
1257
  {
1305
1258
  "length": 20,
1306
- "start": 5996
1259
+ "start": 1940
1307
1260
  }
1308
1261
  ]
1309
- },
1262
+ }
1263
+ },
1264
+ "deployedLinkReferences": {
1310
1265
  "contracts/type/NftId.sol": {
1311
1266
  "NftIdLib": [
1312
1267
  {
1313
1268
  "length": 20,
1314
- "start": 2026
1269
+ "start": 2112
1315
1270
  },
1316
1271
  {
1317
1272
  "length": 20,
1318
- "start": 2845
1273
+ "start": 2839
1319
1274
  },
1320
1275
  {
1321
1276
  "length": 20,
1322
- "start": 4280
1277
+ "start": 3875
1323
1278
  },
1324
1279
  {
1325
1280
  "length": 20,
1326
- "start": 4638
1281
+ "start": 4233
1327
1282
  },
1328
1283
  {
1329
1284
  "length": 20,
1330
- "start": 6976
1285
+ "start": 5720
1331
1286
  },
1332
1287
  {
1333
1288
  "length": 20,
1334
- "start": 8202
1289
+ "start": 6797
1335
1290
  },
1336
1291
  {
1337
1292
  "length": 20,
1338
- "start": 8809
1293
+ "start": 7404
1339
1294
  },
1340
1295
  {
1341
1296
  "length": 20,
1342
- "start": 9697
1297
+ "start": 7928
1343
1298
  },
1344
1299
  {
1345
1300
  "length": 20,
1346
- "start": 9880
1347
- },
1348
- {
1349
- "length": 20,
1350
- "start": 10499
1301
+ "start": 8111
1351
1302
  }
1352
1303
  ]
1353
1304
  },
@@ -1355,7 +1306,15 @@
1355
1306
  "ReferralLib": [
1356
1307
  {
1357
1308
  "length": 20,
1358
- "start": 3969
1309
+ "start": 3564
1310
+ }
1311
+ ]
1312
+ },
1313
+ "contracts/type/Version.sol": {
1314
+ "VersionLib": [
1315
+ {
1316
+ "length": 20,
1317
+ "start": 1912
1359
1318
  }
1360
1319
  ]
1361
1320
  }