@etherisc/gif-next 0.0.2-e79d227-681 → 0.0.2-e7a5428-226

Sign up to get free protection for your applications and to get access to all the features.
Files changed (504) hide show
  1. package/README.md +57 -1
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +640 -269
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +409 -33
  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 +525 -213
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +179 -19
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +246 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +420 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +105 -185
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +381 -46
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +58 -127
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +533 -218
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +150 -82
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +37 -106
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +379 -79
  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 +183 -128
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +355 -52
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +324 -250
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +380 -45
  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 +191 -182
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +94 -100
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +196 -155
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +600 -296
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +88 -45
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +482 -50
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +373 -13
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +493 -85
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1017 -334
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +380 -52
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +914 -554
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +377 -80
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +83 -57
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +690 -566
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +141 -85
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  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 +2 -2
  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 +77 -81
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +379 -47
  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 +41 -45
  109. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +56 -3
  111. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +61 -65
  113. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +120 -68
  115. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +99 -55
  117. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +102 -114
  119. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +355 -52
  121. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +304 -226
  123. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +120 -76
  125. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +200 -89
  127. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +59 -63
  129. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +333 -169
  131. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  132. package/artifacts/contracts/pool/Pool.sol/Pool.json +72 -76
  133. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  134. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +574 -360
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +146 -74
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +293 -63
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +106 -46
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  144. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +193 -182
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +380 -45
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +292 -195
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +127 -99
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +235 -4
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +181 -19
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +160 -68
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +77 -3
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +168 -157
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +258 -22
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +278 -187
  165. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  166. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  167. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  168. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +129 -85
  169. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PricingService.sol/PricingService.json +135 -126
  171. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +103 -75
  173. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  174. package/artifacts/contracts/product/Product.sol/Product.json +187 -176
  175. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  176. package/artifacts/contracts/product/RiskService.sol/RiskService.json +326 -91
  177. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +103 -47
  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 +54 -19
  183. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +56 -3
  185. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  186. package/artifacts/contracts/{authorization/AccessAdmin.sol/IAccessManagedChecker.json → registry/IRelease.sol/IRelease.json} +6 -6
  187. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  188. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/Registry.sol/Registry.json +92 -57
  190. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  191. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +727 -479
  192. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  193. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1061 -0
  194. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +75 -39
  196. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +79 -43
  198. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  200. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  202. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +386 -64
  204. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  205. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +437 -26
  206. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  207. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  208. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  209. package/artifacts/contracts/shared/Component.sol/Component.json +60 -50
  210. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +247 -531
  212. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +111 -95
  214. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +178 -34
  216. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  220. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +41 -31
  222. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +155 -382
  224. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +41 -45
  226. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +6 -6
  228. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  229. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  230. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  231. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +139 -1
  234. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IService.sol/IService.json +56 -3
  237. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  238. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  239. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  240. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +60 -64
  241. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  242. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +6 -6
  243. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  244. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  245. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  246. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  247. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  248. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  249. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  250. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  251. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -62
  252. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  253. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  254. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  255. package/artifacts/contracts/shared/Service.sol/Service.json +51 -11
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  257. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +63 -162
  258. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  259. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +118 -29
  260. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  261. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +32 -32
  262. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  263. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1026 -101
  264. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  265. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +214 -110
  266. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  267. package/artifacts/contracts/staking/Staking.sol/Staking.json +1218 -214
  268. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  269. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  270. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  271. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  272. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +139 -61
  274. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  275. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +174 -217
  276. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  277. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -174
  278. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +87 -55
  280. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +957 -603
  282. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  283. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +101 -51
  284. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  285. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
  287. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  289. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  291. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  293. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  295. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  297. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  299. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  300. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  301. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  303. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  304. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  305. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  307. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  309. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  311. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  313. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +30 -6
  315. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  317. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  319. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  321. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  323. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  326. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  328. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
  330. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  332. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  334. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  335. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  336. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  337. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +65 -27
  338. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  339. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  340. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  341. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  342. package/contracts/accounting/AccountingService.sol +274 -0
  343. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  344. package/contracts/accounting/IAccountingService.sol +47 -0
  345. package/contracts/authorization/AccessAdmin.sol +422 -258
  346. package/contracts/authorization/AccessAdminLib.sol +396 -0
  347. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  348. package/contracts/authorization/Authorization.sol +142 -262
  349. package/contracts/authorization/IAccess.sol +25 -7
  350. package/contracts/authorization/IAccessAdmin.sol +87 -80
  351. package/contracts/authorization/IAuthorization.sol +9 -43
  352. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  353. package/contracts/authorization/ServiceAuthorization.sol +248 -34
  354. package/contracts/distribution/BasicDistribution.sol +16 -14
  355. package/contracts/distribution/BasicDistributionAuthorization.sol +29 -9
  356. package/contracts/distribution/Distribution.sol +38 -75
  357. package/contracts/distribution/DistributionService.sol +181 -87
  358. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  359. package/contracts/distribution/IDistributionComponent.sol +3 -10
  360. package/contracts/distribution/IDistributionService.sol +34 -19
  361. package/contracts/examples/fire/FirePool.sol +6 -6
  362. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  363. package/contracts/examples/fire/FireProduct.sol +15 -13
  364. package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
  365. package/contracts/examples/unpermissioned/SimpleDistribution.sol +34 -11
  366. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  367. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  368. package/contracts/examples/unpermissioned/SimplePool.sol +7 -13
  369. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  370. package/contracts/examples/unpermissioned/SimpleProduct.sol +119 -27
  371. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  372. package/contracts/instance/BundleSet.sol +4 -4
  373. package/contracts/instance/IInstance.sol +92 -19
  374. package/contracts/instance/IInstanceService.sol +52 -9
  375. package/contracts/instance/Instance.sol +163 -57
  376. package/contracts/instance/InstanceAdmin.sol +271 -166
  377. package/contracts/instance/InstanceAuthorizationV3.sol +89 -40
  378. package/contracts/instance/InstanceReader.sol +422 -369
  379. package/contracts/instance/InstanceService.sol +252 -176
  380. package/contracts/instance/InstanceServiceManager.sol +1 -1
  381. package/contracts/instance/InstanceStore.sol +13 -2
  382. package/contracts/instance/RiskSet.sol +21 -14
  383. package/contracts/instance/base/BalanceStore.sol +4 -6
  384. package/contracts/instance/base/ObjectCounter.sol +1 -2
  385. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  386. package/contracts/instance/base/ObjectSet.sol +7 -8
  387. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  388. package/contracts/instance/module/IBundle.sol +6 -5
  389. package/contracts/instance/module/IComponents.sol +19 -7
  390. package/contracts/instance/module/IDistribution.sol +21 -8
  391. package/contracts/instance/module/IPolicy.sol +28 -8
  392. package/contracts/instance/module/IRisk.sol +4 -0
  393. package/contracts/oracle/BasicOracle.sol +2 -4
  394. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  395. package/contracts/oracle/IOracle.sol +9 -4
  396. package/contracts/oracle/Oracle.sol +3 -5
  397. package/contracts/oracle/OracleService.sol +24 -23
  398. package/contracts/oracle/OracleServiceManager.sol +1 -1
  399. package/contracts/pool/BasicPool.sol +3 -16
  400. package/contracts/pool/BasicPoolAuthorization.sol +29 -16
  401. package/contracts/pool/BundleService.sol +67 -104
  402. package/contracts/pool/BundleServiceManager.sol +1 -1
  403. package/contracts/pool/IBundleService.sol +27 -33
  404. package/contracts/pool/IPoolService.sol +57 -40
  405. package/contracts/pool/Pool.sol +13 -25
  406. package/contracts/pool/PoolLib.sol +341 -0
  407. package/contracts/pool/PoolService.sol +203 -201
  408. package/contracts/pool/PoolServiceManager.sol +1 -1
  409. package/contracts/product/ApplicationService.sol +86 -18
  410. package/contracts/product/ApplicationServiceManager.sol +1 -1
  411. package/contracts/product/BasicProduct.sol +3 -3
  412. package/contracts/product/BasicProductAuthorization.sol +32 -11
  413. package/contracts/product/ClaimService.sol +187 -171
  414. package/contracts/product/ClaimServiceManager.sol +1 -1
  415. package/contracts/product/IApplicationService.sol +24 -2
  416. package/contracts/product/IClaimService.sol +18 -5
  417. package/contracts/product/IPolicyService.sol +20 -8
  418. package/contracts/product/IPricingService.sol +1 -0
  419. package/contracts/product/IProductComponent.sol +4 -1
  420. package/contracts/product/IRiskService.sol +25 -10
  421. package/contracts/product/PolicyService.sol +110 -198
  422. package/contracts/product/PolicyServiceLib.sol +139 -0
  423. package/contracts/product/PolicyServiceManager.sol +1 -1
  424. package/contracts/product/PricingService.sol +52 -46
  425. package/contracts/product/PricingServiceManager.sol +3 -3
  426. package/contracts/product/Product.sol +93 -27
  427. package/contracts/product/RiskService.sol +119 -36
  428. package/contracts/product/RiskServiceManager.sol +1 -1
  429. package/contracts/registry/ChainNft.sol +4 -2
  430. package/contracts/registry/IRegistry.sol +23 -24
  431. package/contracts/registry/IRelease.sol +29 -0
  432. package/contracts/registry/Registry.sol +22 -11
  433. package/contracts/registry/RegistryAdmin.sol +100 -363
  434. package/contracts/registry/RegistryAuthorization.sol +309 -0
  435. package/contracts/registry/RegistryService.sol +4 -4
  436. package/contracts/registry/RegistryServiceManager.sol +1 -1
  437. package/contracts/registry/ReleaseAdmin.sol +195 -0
  438. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  439. package/contracts/registry/ReleaseRegistry.sol +157 -117
  440. package/contracts/registry/ServiceAuthorizationV3.sol +194 -27
  441. package/contracts/registry/TokenRegistry.sol +61 -59
  442. package/contracts/shared/Component.sol +34 -37
  443. package/contracts/shared/ComponentService.sol +314 -433
  444. package/contracts/shared/ComponentServiceManager.sol +1 -1
  445. package/contracts/shared/ContractLib.sol +164 -76
  446. package/contracts/shared/IComponent.sol +1 -10
  447. package/contracts/shared/IComponentService.sol +22 -41
  448. package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
  449. package/contracts/shared/IKeyValueStore.sol +1 -1
  450. package/contracts/shared/INftOwnable.sol +2 -0
  451. package/contracts/shared/IRegisterable.sol +15 -5
  452. package/contracts/shared/IService.sol +3 -5
  453. package/contracts/shared/InitializableERC165.sol +9 -1
  454. package/contracts/shared/InstanceLinkedComponent.sol +7 -18
  455. package/contracts/shared/KeyValueStore.sol +3 -3
  456. package/contracts/shared/NftOwnable.sol +8 -6
  457. package/contracts/shared/PolicyHolder.sol +4 -3
  458. package/contracts/shared/Registerable.sol +42 -19
  459. package/contracts/shared/RegistryLinked.sol +1 -1
  460. package/contracts/shared/Service.sol +13 -30
  461. package/contracts/shared/TokenHandler.sol +45 -92
  462. package/contracts/staking/IStaking.sol +155 -64
  463. package/contracts/staking/IStakingService.sol +45 -75
  464. package/contracts/staking/Staking.sol +444 -203
  465. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  466. package/contracts/staking/StakingManager.sol +1 -2
  467. package/contracts/staking/StakingReader.sol +41 -80
  468. package/contracts/staking/StakingService.sol +62 -181
  469. package/contracts/staking/StakingServiceManager.sol +6 -4
  470. package/contracts/staking/StakingStore.sol +697 -329
  471. package/contracts/staking/TargetManagerLib.sol +1 -1
  472. package/contracts/type/Amount.sol +4 -0
  473. package/contracts/type/Blocknumber.sol +15 -15
  474. package/contracts/type/ChainId.sol +101 -0
  475. package/contracts/type/Fee.sol +8 -8
  476. package/contracts/type/NftId.sol +3 -3
  477. package/contracts/type/ObjectType.sol +67 -38
  478. package/contracts/type/RiskId.sol +9 -3
  479. package/contracts/type/RoleId.sol +63 -45
  480. package/contracts/type/Seconds.sol +14 -0
  481. package/contracts/type/Selector.sol +5 -0
  482. package/contracts/type/String.sol +12 -0
  483. package/contracts/type/Timestamp.sol +4 -7
  484. package/contracts/type/UFixed.sol +35 -127
  485. package/contracts/type/Version.sol +54 -5
  486. package/contracts/upgradeability/IVersionable.sol +3 -0
  487. package/contracts/upgradeability/ProxyManager.sol +26 -12
  488. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  489. package/contracts/upgradeability/Versionable.sol +6 -3
  490. package/package.json +2 -2
  491. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
  492. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  493. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  494. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  495. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  496. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  497. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -474
  498. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  499. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  500. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  501. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  502. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  503. package/contracts/instance/module/IAccess.sol +0 -46
  504. package/contracts/shared/ComponentVerifyingService.sol +0 -128
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [],
46
57
  "name": "ErrorComponentNameLengthZero",
@@ -67,16 +78,6 @@
67
78
  "name": "ErrorComponentProductNftIdZero",
68
79
  "type": "error"
69
80
  },
70
- {
71
- "inputs": [],
72
- "name": "ErrorComponentTokenAddressNonzero",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [],
77
- "name": "ErrorComponentTokenAddressZero",
78
- "type": "error"
79
- },
80
81
  {
81
82
  "inputs": [],
82
83
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
@@ -92,33 +93,6 @@
92
93
  "name": "ErrorComponentWalletNotComponent",
93
94
  "type": "error"
94
95
  },
95
- {
96
- "inputs": [
97
- {
98
- "internalType": "address",
99
- "name": "distributor",
100
- "type": "address"
101
- },
102
- {
103
- "internalType": "NftId",
104
- "name": "distributorNftId",
105
- "type": "uint96"
106
- }
107
- ],
108
- "name": "ErrorDistributionAlreadyDistributor",
109
- "type": "error"
110
- },
111
- {
112
- "inputs": [
113
- {
114
- "internalType": "address",
115
- "name": "distributor",
116
- "type": "address"
117
- }
118
- ],
119
- "name": "ErrorDistributionNotDistributor",
120
- "type": "error"
121
- },
122
96
  {
123
97
  "inputs": [
124
98
  {
@@ -216,6 +190,11 @@
216
190
  "name": "ErrorNotRegistry",
217
191
  "type": "error"
218
192
  },
193
+ {
194
+ "inputs": [],
195
+ "name": "ErrorRegisterableNotActive",
196
+ "type": "error"
197
+ },
219
198
  {
220
199
  "inputs": [],
221
200
  "name": "InvalidInitialization",
@@ -347,21 +326,27 @@
347
326
  "type": "event"
348
327
  },
349
328
  {
350
- "inputs": [],
351
- "name": "COMPONENT_LOCATION_V1",
352
- "outputs": [
329
+ "anonymous": false,
330
+ "inputs": [
353
331
  {
354
- "internalType": "bytes32",
355
- "name": "",
356
- "type": "bytes32"
332
+ "indexed": false,
333
+ "internalType": "NftId",
334
+ "name": "nftId",
335
+ "type": "uint96"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "address",
340
+ "name": "owner",
341
+ "type": "address"
357
342
  }
358
343
  ],
359
- "stateMutability": "view",
360
- "type": "function"
344
+ "name": "LogNftOwnableNftLinkedToAddress",
345
+ "type": "event"
361
346
  },
362
347
  {
363
348
  "inputs": [],
364
- "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
349
+ "name": "COMPONENT_LOCATION_V1",
365
350
  "outputs": [
366
351
  {
367
352
  "internalType": "bytes32",
@@ -374,12 +359,12 @@
374
359
  },
375
360
  {
376
361
  "inputs": [],
377
- "name": "GIF_RELEASE",
362
+ "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
378
363
  "outputs": [
379
364
  {
380
- "internalType": "uint256",
365
+ "internalType": "bytes32",
381
366
  "name": "",
382
- "type": "uint256"
367
+ "type": "bytes32"
383
368
  }
384
369
  ],
385
370
  "stateMutability": "view",
@@ -424,24 +409,6 @@
424
409
  "stateMutability": "view",
425
410
  "type": "function"
426
411
  },
427
- {
428
- "inputs": [
429
- {
430
- "internalType": "contract IERC20Metadata",
431
- "name": "token",
432
- "type": "address"
433
- },
434
- {
435
- "internalType": "Amount",
436
- "name": "amount",
437
- "type": "uint96"
438
- }
439
- ],
440
- "name": "approveTokenHandler",
441
- "outputs": [],
442
- "stateMutability": "nonpayable",
443
- "type": "function"
444
- },
445
412
  {
446
413
  "inputs": [],
447
414
  "name": "authority",
@@ -459,7 +426,7 @@
459
426
  "inputs": [
460
427
  {
461
428
  "internalType": "ReferralId",
462
- "name": "referralId",
429
+ "name": "",
463
430
  "type": "bytes8"
464
431
  },
465
432
  {
@@ -541,17 +508,17 @@
541
508
  {
542
509
  "internalType": "UFixed",
543
510
  "name": "minDiscountPercentage",
544
- "type": "uint256"
511
+ "type": "uint160"
545
512
  },
546
513
  {
547
514
  "internalType": "UFixed",
548
515
  "name": "maxDiscountPercentage",
549
- "type": "uint256"
516
+ "type": "uint160"
550
517
  },
551
518
  {
552
519
  "internalType": "UFixed",
553
520
  "name": "commissionPercentage",
554
- "type": "uint256"
521
+ "type": "uint160"
555
522
  },
556
523
  {
557
524
  "internalType": "uint32",
@@ -559,9 +526,9 @@
559
526
  "type": "uint32"
560
527
  },
561
528
  {
562
- "internalType": "uint32",
529
+ "internalType": "Seconds",
563
530
  "name": "maxReferralLifetime",
564
- "type": "uint32"
531
+ "type": "uint40"
565
532
  },
566
533
  {
567
534
  "internalType": "bool",
@@ -592,6 +559,11 @@
592
559
  },
593
560
  {
594
561
  "inputs": [
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "distributorNftId",
565
+ "type": "uint96"
566
+ },
595
567
  {
596
568
  "internalType": "string",
597
569
  "name": "code",
@@ -600,7 +572,7 @@
600
572
  {
601
573
  "internalType": "UFixed",
602
574
  "name": "discountPercentage",
603
- "type": "uint256"
575
+ "type": "uint160"
604
576
  },
605
577
  {
606
578
  "internalType": "uint32",
@@ -653,11 +625,6 @@
653
625
  "name": "name",
654
626
  "type": "string"
655
627
  },
656
- {
657
- "internalType": "contract IERC20Metadata",
658
- "name": "token",
659
- "type": "address"
660
- },
661
628
  {
662
629
  "internalType": "contract TokenHandler",
663
630
  "name": "tokenHandler",
@@ -690,7 +657,7 @@
690
657
  {
691
658
  "internalType": "UFixed",
692
659
  "name": "discountPercentage",
693
- "type": "uint256"
660
+ "type": "uint160"
694
661
  },
695
662
  {
696
663
  "internalType": "ReferralStatus",
@@ -701,25 +668,6 @@
701
668
  "stateMutability": "view",
702
669
  "type": "function"
703
670
  },
704
- {
705
- "inputs": [
706
- {
707
- "internalType": "address",
708
- "name": "distributor",
709
- "type": "address"
710
- }
711
- ],
712
- "name": "getDistributorNftId",
713
- "outputs": [
714
- {
715
- "internalType": "NftId",
716
- "name": "distributorNftId",
717
- "type": "uint96"
718
- }
719
- ],
720
- "stateMutability": "view",
721
- "type": "function"
722
- },
723
671
  {
724
672
  "inputs": [],
725
673
  "name": "getInitialComponentInfo",
@@ -731,11 +679,6 @@
731
679
  "name": "name",
732
680
  "type": "string"
733
681
  },
734
- {
735
- "internalType": "contract IERC20Metadata",
736
- "name": "token",
737
- "type": "address"
738
- },
739
682
  {
740
683
  "internalType": "contract TokenHandler",
741
684
  "name": "tokenHandler",
@@ -899,7 +842,7 @@
899
842
  "type": "uint8"
900
843
  }
901
844
  ],
902
- "stateMutability": "pure",
845
+ "stateMutability": "view",
903
846
  "type": "function"
904
847
  },
905
848
  {
@@ -928,6 +871,19 @@
928
871
  "stateMutability": "view",
929
872
  "type": "function"
930
873
  },
874
+ {
875
+ "inputs": [],
876
+ "name": "getVersion",
877
+ "outputs": [
878
+ {
879
+ "internalType": "Version",
880
+ "name": "version",
881
+ "type": "uint24"
882
+ }
883
+ ],
884
+ "stateMutability": "view",
885
+ "type": "function"
886
+ },
931
887
  {
932
888
  "inputs": [],
933
889
  "name": "getWallet",
@@ -943,31 +899,25 @@
943
899
  },
944
900
  {
945
901
  "inputs": [],
946
- "name": "isConsumingScheduledOp",
902
+ "name": "isActive",
947
903
  "outputs": [
948
904
  {
949
- "internalType": "bytes4",
950
- "name": "",
951
- "type": "bytes4"
905
+ "internalType": "bool",
906
+ "name": "active",
907
+ "type": "bool"
952
908
  }
953
909
  ],
954
910
  "stateMutability": "view",
955
911
  "type": "function"
956
912
  },
957
913
  {
958
- "inputs": [
959
- {
960
- "internalType": "address",
961
- "name": "candidate",
962
- "type": "address"
963
- }
964
- ],
965
- "name": "isDistributor",
914
+ "inputs": [],
915
+ "name": "isConsumingScheduledOp",
966
916
  "outputs": [
967
917
  {
968
- "internalType": "bool",
918
+ "internalType": "bytes4",
969
919
  "name": "",
970
- "type": "bool"
920
+ "type": "bytes4"
971
921
  }
972
922
  ],
973
923
  "stateMutability": "view",
@@ -1025,13 +975,6 @@
1025
975
  "stateMutability": "nonpayable",
1026
976
  "type": "function"
1027
977
  },
1028
- {
1029
- "inputs": [],
1030
- "name": "lock",
1031
- "outputs": [],
1032
- "stateMutability": "nonpayable",
1033
- "type": "function"
1034
- },
1035
978
  {
1036
979
  "inputs": [
1037
980
  {
@@ -1098,12 +1041,12 @@
1098
1041
  {
1099
1042
  "internalType": "UFixed",
1100
1043
  "name": "fractionalFee",
1101
- "type": "uint256"
1044
+ "type": "uint160"
1102
1045
  },
1103
1046
  {
1104
- "internalType": "uint256",
1047
+ "internalType": "Amount",
1105
1048
  "name": "fixedFee",
1106
- "type": "uint256"
1049
+ "type": "uint96"
1107
1050
  }
1108
1051
  ],
1109
1052
  "internalType": "struct Fee",
@@ -1115,12 +1058,12 @@
1115
1058
  {
1116
1059
  "internalType": "UFixed",
1117
1060
  "name": "fractionalFee",
1118
- "type": "uint256"
1061
+ "type": "uint160"
1119
1062
  },
1120
1063
  {
1121
- "internalType": "uint256",
1064
+ "internalType": "Amount",
1122
1065
  "name": "fixedFee",
1123
- "type": "uint256"
1066
+ "type": "uint96"
1124
1067
  }
1125
1068
  ],
1126
1069
  "internalType": "struct Fee",
@@ -1152,13 +1095,6 @@
1152
1095
  "stateMutability": "view",
1153
1096
  "type": "function"
1154
1097
  },
1155
- {
1156
- "inputs": [],
1157
- "name": "unlock",
1158
- "outputs": [],
1159
- "stateMutability": "nonpayable",
1160
- "type": "function"
1161
- },
1162
1098
  {
1163
1099
  "inputs": [
1164
1100
  {
@@ -1203,46 +1139,38 @@
1203
1139
  "type": "function"
1204
1140
  }
1205
1141
  ],
1206
- "bytecode": "0x6080604052348015600e575f80fd5b5061311e8061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061026b575f3560e01c80637a9e5e4b1161014b578063b2a6b42d116100bf578063de7b5d1411610084578063de7b5d1414610597578063e145d46c146105c7578063ea15869f146105f1578063f5860e1a14610618578063f80e20721461062c578063f83d08ba1461063f575f80fd5b8063b2a6b42d1461054e578063b423086c14610561578063b6b412ba14610569578063bf7e214f1461057c578063d16d0fe814610584575f80fd5b80638fb36037116101105780638fb36037146104d657806390edbd35146104f7578063a69df4b51461050c578063ab3fc75f14610514578063ad12ad6014610527578063ada9652e1461053a575f80fd5b80637a9e5e4b1461049957806387ef9ba0146104ac5780638899278a146104b3578063893d20e8146104bb5780638f0c86fa146104c3575f80fd5b80632eb3e6f4116101e25780635ab1bd53116101a75780635ab1bd53146104105780635dcb3bae14610421578063644c45e0146104345780636bd1c0eb1461043c5780637427d7a81461046c57806376b707b71461047f575f80fd5b80632eb3e6f4146103b1578063419197fe146103d857806343d752d3146103ed5780635741e5e9146103f557806359660bea146103fd575f80fd5b806317d7de7c1161023357806317d7de7c146103185780631c6b21901461032d5780631eff4b221461034057806321df0da714610375578063223668441461037d5780632b5198b114610385575f80fd5b806301ffc9a71461026f57806307e71a6e146102b05780630fec111c146102db57806313299604146102f0578063138461e014610310575b5f80fd5b61029b61027d36600461249a565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102c36102be3660046124d8565b610647565b6040516001600160601b0390911681526020016102a7565b6102e361074b565b6040516102a7919061253d565b6102f8610909565b6040516001600160a01b0390911681526020016102a7565b6102c3610976565b610320610980565b6040516102a791906125d1565b6102c361033b3660046125e3565b610990565b6103677f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102a7565b6102f86109e6565b61029b6109f8565b61039861039336600461273a565b610aee565b6040516001600160c01b031990911681526020016102a7565b6103677fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103eb6103e636600461280f565b610b52565b005b6102f8610b9b565b61029b610bad565b61039861040b36600461282b565b610c6a565b6001546001600160a01b03166102f8565b6102c361042f3660046128d9565b610cc1565b6102c3610d1b565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102f8565b61039861047a366004612936565b610d36565b610487610db6565b60405160ff90911681526020016102a7565b6103eb6104a7366004612967565b610e2a565b600161029b565b610367600381565b6102f8610eac565b61029b6104d1366004612967565b610fdd565b6104de6110a2565b6040516001600160e01b031990911681526020016102a7565b6104ff6110d7565b6040516102a79190612982565b6103eb6110fc565b6103eb6105223660046129e8565b61119a565b6103eb610535366004612a05565b6111fd565b6103675f8051602061308983398151915281565b6102c361055c366004612967565b6112a6565b6104ff6112e8565b6103eb610577366004612aa1565b6112f8565b6102f8611346565b610367610592366004612ad4565b611361565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102f8565b6105da6105d5366004612936565b611375565b6040805192835260ff9091166020830152016102a7565b6103677fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103675f805160206130c983398151915281565b6103eb61063a366004612ad4565b61142f565b6103eb611438565b5f610654335b5f366114ac565b61065d33610fdd565b6106815760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d61068e82826115aa565b846106a16001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107189190612b09565b6107375760405163086391f760e31b8152336004820152602401610678565b6107418686611661565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081f9190612b2f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610867610eac565b6001600160a01b0316815260200182600101805461088490612b4a565b80601f01602080910402602001604051908101604052809291908181526020018280546108b090612b4a565b80156108fb5780601f106108d2576101008083540402835291602001916108fb565b820191905f5260205f20905b8154815290600101906020018083116108de57829003601f168201915b505050505081525091505090565b5f610912610b9b565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109719190612b8d565b905090565b5f610971306116ed565b606061098a6110d7565b51919050565b5f610999610eac565b6001600160a01b0316336001600160a01b0316146109cc5760405163086391f760e31b8152336004820152602401610678565b6109d53361064d565b6109de826118e1565b90505b919050565b5f6109ef6110d7565b60200151905090565b5f610a0b6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a739190612b2f565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109719190612b09565b5f610af7610eac565b6001600160a01b0316336001600160a01b031614610b2a5760405163086391f760e31b8152336004820152602401610678565b610b333361064d565b610b448a8a8a8a8a8a8a8a8a611978565b9a9950505050505050505050565b610b5a610eac565b6001600160a01b0316336001600160a01b031614610b8d5760405163086391f760e31b8152336004820152602401610678565b610b978282611a37565b5050565b5f610ba46110d7565b60400151905090565b5f610bb66109f8565b15610c3a576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c0a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c319190810190612c15565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610c7433610fdd565b610c935760405163637c41bb60e01b8152336004820152602401610678565b610c9c3361064d565b5f610ca6336112a6565b9050610cb6818888888888611abc565b979650505050505050565b5f610cca610eac565b6001600160a01b0316336001600160a01b031614610cfd5760405163086391f760e31b8152336004820152602401610678565b610d063361064d565b610d11848484611b72565b90505b9392505050565b5f80516020613089833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d59610d1b565b846040518363ffffffff1660e01b8152600401610d77929190612ce5565b602060405180830381865af4158015610d92573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109de9190612d06565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610e06573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109719190612d21565b33610e33611346565b6001600160a01b0316816001600160a01b031614610e6e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610678565b816001600160a01b03163b5f03610ea3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610678565b610b9782611d36565b5f805f8051602061308983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3c9190612b09565b15610fc7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190612b8d565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206130c98339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561107e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d149190612b09565b5f805160206130a983398151915280545f9190600160a01b900460ff166110c9575f610fc1565b638fb3603760e01b91505090565b6110df612462565b6110e76109f8565b156110f457610971611d96565b6109716112e8565b611104610eac565b6001600160a01b0316336001600160a01b0316146111375760405163086391f760e31b8152336004820152602401610678565b611141600a611f5d565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611182575f80fd5b505af1158015611194573d5f803e3d5ffd5b50505050565b6111a2610eac565b6001600160a01b0316336001600160a01b0316146111d55760405163086391f760e31b8152336004820152602401610678565b82601d6111e282826115aa565b6111eb3361064d565b6111f6858585611fee565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611244573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112689190612b8d565b6001600160a01b0316336001600160a01b03161461129a5760405162f0630960e01b8152336004820152602401610678565b61119484848484612081565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6112f0612462565b610971611d96565b611300610eac565b6001600160a01b0316336001600160a01b0316146113335760405163086391f760e31b8152336004820152602401610678565b61133c3361064d565b610b97828261222a565b5f805160206130a9833981519152546001600160a01b031690565b5f61136c8282612d3c565b90505b92915050565b5f805f61138184610d36565b90506113b47fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611401573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114259190612d5f565b9250925050915091565b610b973361064d565b611440610eac565b6001600160a01b0316336001600160a01b0316146114735760405163086391f760e31b8152336004820152602401610678565b61147d600a611f5d565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161116b565b5f805160206130a98339815191525f806114e46114c7611346565b87306114d660045f8a8c612d82565b6114df91612da9565b612268565b91509150816115a25763ffffffff81161561157f57825460ff60a01b1916600160a01b178355611512611346565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161154193929190612de1565b5f604051808303815f87803b158015611558575f80fd5b505af115801561156a573d5f803e3d5ffd5b5050845460ff60a01b19168555506115a29050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610678565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561160c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116309190612b09565b610b975760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610678565b5f5f805160206130c9833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af11580156116c9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061136c9190612b2f565b5f805f8051602061308983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611759573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177d9190612b09565b156117a95780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610678565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156117fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181f9190612b09565b6118475760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610678565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611899573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118bd9190612b2f565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611954573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109de9190612b2f565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f805160206130c9833981519152916001600160a01b0390911690632b5198b1906119e8908e908e908e908e908e908e908e908e908e90600401612e20565b6020604051808303815f875af1158015611a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a289190612d06565b9b9a5050505050505050505050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b158015611aaa575f80fd5b505af11580156115a2573d5f803e3d5ffd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f805160206130c9833981519152916001600160a01b0390911690638dd2b78190611b26908b908b908b908b908b908b90600401612e91565b6020604051808303815f875af1158015611b42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b669190612d06565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206130c98339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611c13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c379190612b09565b15611c82576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610678565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611cb890889088908890600401612ef0565b6020604051808303815f875af1158015611cd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf89190612b2f565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f805160206130a983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d9e612462565b5f611db16001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611df5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e199190612b2f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e969190612b09565b15611f55577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611ed3610d1b565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611f14573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f3b9190810190612f23565b60408101519092506001600160a01b031615611f55575090565b610fc1612370565b5f611f706001546001600160a01b031690565b6001600160a01b031663d39e604383611f87610db6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611fca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109de9190612b8d565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f805160206130c9833981519152916001600160a01b03169063ab3fc75f9061204e90879087908790600401612fec565b5f604051808303815f87803b158015612065575f80fd5b505af1158015612077573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f805160206130c9833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561211c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121409190612b2f565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156121c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ea9190612b2f565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f805160206130c983398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee90611a93908590859060040161301f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122d69190613045565b5f60405180830381855afa9150503d805f811461230e576040519150601f19603f3d011682016040523d82523d5f602084013e612313565b606091505b50915091508115612365576040815110612345578080602001905181019061233b919061305b565b9094509250612365565b602081511061236557808060200190518101906123629190612b09565b93505b505094509492505050565b612378612462565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546123b590612b4a565b80601f01602080910402602001604051908101604052809291908181526020018280546123e190612b4a565b801561242c5780601f106124035761010080835404028352916020019161242c565b820191905f5260205f20905b81548152906001019060200180831161240f57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161088490612b4a565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156124aa575f80fd5b81356001600160e01b031981168114610d14575f80fd5b6001600160601b03811681146124d5575f80fd5b50565b5f80604083850312156124e9575f80fd5b82356124f4816124c1565b91506020830135612504816124c1565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612585608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526125c961010084018261250f565b949350505050565b602081525f61136c602083018461250f565b5f602082840312156125f3575f80fd5b8135610d14816124c1565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612634576126346125fe565b60405290565b604051608081016001600160401b0381118282101715612634576126346125fe565b604051601f8201601f191681016001600160401b0381118282101715612684576126846125fe565b604052919050565b5f6001600160401b038211156126a4576126a46125fe565b50601f01601f191660200190565b5f82601f8301126126c1575f80fd5b8135602083015f6126d96126d48461268c565b61265c565b90508281528583830111156126ec575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff811681146124d5575f80fd5b80356109e181612706565b80151581146124d5575f80fd5b80356109e181612722565b5f805f805f805f805f6101208a8c031215612753575f80fd5b89356001600160401b03811115612768575f80fd5b6127748c828d016126b2565b99505060208a0135975060408a0135965060608a0135955060808a013561279a81612706565b94506127a860a08b01612717565b93506127b660c08b0161272f565b92506127c460e08b0161272f565b91506101008a01356001600160401b038111156127df575f80fd5b6127eb8c828d016126b2565b9150509295985092959850929598565b6001600160a01b03811681146124d5575f80fd5b5f8060408385031215612820575f80fd5b82356124f4816127fb565b5f805f805f60a0868803121561283f575f80fd5b85356001600160401b03811115612854575f80fd5b612860888289016126b2565b95505060208601359350604086013561287881612706565b9250606086013564ffffffffff81168114612891575f80fd5b915060808601356001600160401b038111156128ab575f80fd5b6128b7888289016126b2565b9150509295509295909350565b6001600160c01b0319811681146124d5575f80fd5b5f805f606084860312156128eb575f80fd5b83356128f6816127fb565b92506020840135612906816128c4565b915060408401356001600160401b03811115612920575f80fd5b61292c868287016126b2565b9150509250925092565b5f60208284031215612946575f80fd5b81356001600160401b0381111561295b575f80fd5b6125c9848285016126b2565b5f60208284031215612977575f80fd5b8135610d14816127fb565b602081525f82516080602084015261299d60a084018261250f565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506129df828261250f565b95945050505050565b5f805f606084860312156129fa575f80fd5b83356128f6816124c1565b5f805f8060808587031215612a18575f80fd5b8435612a23816127fb565b93506020850135612a33816127fb565b9250604085013591506060850135612a4a816127fb565b939692955090935050565b5f60408284031215612a65575f80fd5b604080519081016001600160401b0381118282101715612a8757612a876125fe565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ab2575f80fd5b612abc8484612a55565b9150612acb8460408501612a55565b90509250929050565b5f8060408385031215612ae5575f80fd5b8235612af0816128c4565b946020939093013593505050565b80516109e181612722565b5f60208284031215612b19575f80fd5b8151610d1481612722565b80516109e1816124c1565b5f60208284031215612b3f575f80fd5b8151610d14816124c1565b600181811c90821680612b5e57607f821691505b602082108103612b7c57634e487b7160e01b5f52602260045260245ffd5b50919050565b80516109e1816127fb565b5f60208284031215612b9d575f80fd5b8151610d14816127fb565b60ff811681146124d5575f80fd5b80516109e181612ba8565b5f612bce6126d48461268c565b9050828152838383011115612be1575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612c06575f80fd5b61136c83835160208501612bc1565b5f60208284031215612c25575f80fd5b81516001600160401b03811115612c3a575f80fd5b820160e08185031215612c4b575f80fd5b612c53612612565b612c5c82612b24565b8152612c6a60208301612b24565b6020820152612c7b60408301612bb6565b6040820152612c8c60608301612afe565b6060820152612c9d60808301612b82565b6080820152612cae60a08301612b82565b60a082015260c08201516001600160401b03811115612ccb575f80fd5b612cd786828501612bf7565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d11604083018461250f565b5f60208284031215612d16575f80fd5b8151610d14816128c4565b5f60208284031215612d31575f80fd5b8151610d1481612ba8565b808202811582820484141761136f57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612d70575f80fd5b82519150602083015161250481612ba8565b5f8085851115612d90575f80fd5b83861115612d9c575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612dda576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612e3461012083018c61250f565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152612e81818561250f565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612eb260c083018861250f565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612ee3818561250f565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906129df9083018461250f565b5f60208284031215612f33575f80fd5b81516001600160401b03811115612f48575f80fd5b820160808185031215612f59575f80fd5b612f6161263a565b81516001600160401b03811115612f76575f80fd5b8201601f81018613612f86575f80fd5b612f9586825160208401612bc1565b825250612fa460208301612b82565b6020820152612fb560408301612b82565b604082015260608201516001600160401b03811115612fd2575f80fd5b612fde86828501612bf7565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6129df606083018461250f565b825181526020808401518183015282516040830152820151606082015260808101610d14565b5f82518060208501845e5f920191825250919050565b5f806040838503121561306c575f80fd5b825161307781612722565b60208401519092506125048161270656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a264697066735822122000a023ca3978158177d25ebcecb653b2a0386ea5f42df238bc5c6e693150396664736f6c634300081a0033",
1207
- "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061026b575f3560e01c80637a9e5e4b1161014b578063b2a6b42d116100bf578063de7b5d1411610084578063de7b5d1414610597578063e145d46c146105c7578063ea15869f146105f1578063f5860e1a14610618578063f80e20721461062c578063f83d08ba1461063f575f80fd5b8063b2a6b42d1461054e578063b423086c14610561578063b6b412ba14610569578063bf7e214f1461057c578063d16d0fe814610584575f80fd5b80638fb36037116101105780638fb36037146104d657806390edbd35146104f7578063a69df4b51461050c578063ab3fc75f14610514578063ad12ad6014610527578063ada9652e1461053a575f80fd5b80637a9e5e4b1461049957806387ef9ba0146104ac5780638899278a146104b3578063893d20e8146104bb5780638f0c86fa146104c3575f80fd5b80632eb3e6f4116101e25780635ab1bd53116101a75780635ab1bd53146104105780635dcb3bae14610421578063644c45e0146104345780636bd1c0eb1461043c5780637427d7a81461046c57806376b707b71461047f575f80fd5b80632eb3e6f4146103b1578063419197fe146103d857806343d752d3146103ed5780635741e5e9146103f557806359660bea146103fd575f80fd5b806317d7de7c1161023357806317d7de7c146103185780631c6b21901461032d5780631eff4b221461034057806321df0da714610375578063223668441461037d5780632b5198b114610385575f80fd5b806301ffc9a71461026f57806307e71a6e146102b05780630fec111c146102db57806313299604146102f0578063138461e014610310575b5f80fd5b61029b61027d36600461249a565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102c36102be3660046124d8565b610647565b6040516001600160601b0390911681526020016102a7565b6102e361074b565b6040516102a7919061253d565b6102f8610909565b6040516001600160a01b0390911681526020016102a7565b6102c3610976565b610320610980565b6040516102a791906125d1565b6102c361033b3660046125e3565b610990565b6103677f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102a7565b6102f86109e6565b61029b6109f8565b61039861039336600461273a565b610aee565b6040516001600160c01b031990911681526020016102a7565b6103677fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103eb6103e636600461280f565b610b52565b005b6102f8610b9b565b61029b610bad565b61039861040b36600461282b565b610c6a565b6001546001600160a01b03166102f8565b6102c361042f3660046128d9565b610cc1565b6102c3610d1b565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102f8565b61039861047a366004612936565b610d36565b610487610db6565b60405160ff90911681526020016102a7565b6103eb6104a7366004612967565b610e2a565b600161029b565b610367600381565b6102f8610eac565b61029b6104d1366004612967565b610fdd565b6104de6110a2565b6040516001600160e01b031990911681526020016102a7565b6104ff6110d7565b6040516102a79190612982565b6103eb6110fc565b6103eb6105223660046129e8565b61119a565b6103eb610535366004612a05565b6111fd565b6103675f8051602061308983398151915281565b6102c361055c366004612967565b6112a6565b6104ff6112e8565b6103eb610577366004612aa1565b6112f8565b6102f8611346565b610367610592366004612ad4565b611361565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102f8565b6105da6105d5366004612936565b611375565b6040805192835260ff9091166020830152016102a7565b6103677fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103675f805160206130c983398151915281565b6103eb61063a366004612ad4565b61142f565b6103eb611438565b5f610654335b5f366114ac565b61065d33610fdd565b6106815760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d61068e82826115aa565b846106a16001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107189190612b09565b6107375760405163086391f760e31b8152336004820152602401610678565b6107418686611661565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081f9190612b2f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610867610eac565b6001600160a01b0316815260200182600101805461088490612b4a565b80601f01602080910402602001604051908101604052809291908181526020018280546108b090612b4a565b80156108fb5780601f106108d2576101008083540402835291602001916108fb565b820191905f5260205f20905b8154815290600101906020018083116108de57829003601f168201915b505050505081525091505090565b5f610912610b9b565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109719190612b8d565b905090565b5f610971306116ed565b606061098a6110d7565b51919050565b5f610999610eac565b6001600160a01b0316336001600160a01b0316146109cc5760405163086391f760e31b8152336004820152602401610678565b6109d53361064d565b6109de826118e1565b90505b919050565b5f6109ef6110d7565b60200151905090565b5f610a0b6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a739190612b2f565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109719190612b09565b5f610af7610eac565b6001600160a01b0316336001600160a01b031614610b2a5760405163086391f760e31b8152336004820152602401610678565b610b333361064d565b610b448a8a8a8a8a8a8a8a8a611978565b9a9950505050505050505050565b610b5a610eac565b6001600160a01b0316336001600160a01b031614610b8d5760405163086391f760e31b8152336004820152602401610678565b610b978282611a37565b5050565b5f610ba46110d7565b60400151905090565b5f610bb66109f8565b15610c3a576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c0a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c319190810190612c15565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610c7433610fdd565b610c935760405163637c41bb60e01b8152336004820152602401610678565b610c9c3361064d565b5f610ca6336112a6565b9050610cb6818888888888611abc565b979650505050505050565b5f610cca610eac565b6001600160a01b0316336001600160a01b031614610cfd5760405163086391f760e31b8152336004820152602401610678565b610d063361064d565b610d11848484611b72565b90505b9392505050565b5f80516020613089833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d59610d1b565b846040518363ffffffff1660e01b8152600401610d77929190612ce5565b602060405180830381865af4158015610d92573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109de9190612d06565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610e06573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109719190612d21565b33610e33611346565b6001600160a01b0316816001600160a01b031614610e6e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610678565b816001600160a01b03163b5f03610ea3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610678565b610b9782611d36565b5f805f8051602061308983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3c9190612b09565b15610fc7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190612b8d565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206130c98339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561107e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d149190612b09565b5f805160206130a983398151915280545f9190600160a01b900460ff166110c9575f610fc1565b638fb3603760e01b91505090565b6110df612462565b6110e76109f8565b156110f457610971611d96565b6109716112e8565b611104610eac565b6001600160a01b0316336001600160a01b0316146111375760405163086391f760e31b8152336004820152602401610678565b611141600a611f5d565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611182575f80fd5b505af1158015611194573d5f803e3d5ffd5b50505050565b6111a2610eac565b6001600160a01b0316336001600160a01b0316146111d55760405163086391f760e31b8152336004820152602401610678565b82601d6111e282826115aa565b6111eb3361064d565b6111f6858585611fee565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611244573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112689190612b8d565b6001600160a01b0316336001600160a01b03161461129a5760405162f0630960e01b8152336004820152602401610678565b61119484848484612081565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6112f0612462565b610971611d96565b611300610eac565b6001600160a01b0316336001600160a01b0316146113335760405163086391f760e31b8152336004820152602401610678565b61133c3361064d565b610b97828261222a565b5f805160206130a9833981519152546001600160a01b031690565b5f61136c8282612d3c565b90505b92915050565b5f805f61138184610d36565b90506113b47fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611401573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114259190612d5f565b9250925050915091565b610b973361064d565b611440610eac565b6001600160a01b0316336001600160a01b0316146114735760405163086391f760e31b8152336004820152602401610678565b61147d600a611f5d565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161116b565b5f805160206130a98339815191525f806114e46114c7611346565b87306114d660045f8a8c612d82565b6114df91612da9565b612268565b91509150816115a25763ffffffff81161561157f57825460ff60a01b1916600160a01b178355611512611346565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161154193929190612de1565b5f604051808303815f87803b158015611558575f80fd5b505af115801561156a573d5f803e3d5ffd5b5050845460ff60a01b19168555506115a29050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610678565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561160c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116309190612b09565b610b975760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610678565b5f5f805160206130c9833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af11580156116c9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061136c9190612b2f565b5f805f8051602061308983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611759573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177d9190612b09565b156117a95780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610678565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156117fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181f9190612b09565b6118475760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610678565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611899573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118bd9190612b2f565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611954573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109de9190612b2f565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f805160206130c9833981519152916001600160a01b0390911690632b5198b1906119e8908e908e908e908e908e908e908e908e908e90600401612e20565b6020604051808303815f875af1158015611a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a289190612d06565b9b9a5050505050505050505050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b158015611aaa575f80fd5b505af11580156115a2573d5f803e3d5ffd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f805160206130c9833981519152916001600160a01b0390911690638dd2b78190611b26908b908b908b908b908b908b90600401612e91565b6020604051808303815f875af1158015611b42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b669190612d06565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206130c98339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611c13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c379190612b09565b15611c82576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610678565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611cb890889088908890600401612ef0565b6020604051808303815f875af1158015611cd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf89190612b2f565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f805160206130a983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d9e612462565b5f611db16001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611df5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e199190612b2f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e969190612b09565b15611f55577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611ed3610d1b565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611f14573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f3b9190810190612f23565b60408101519092506001600160a01b031615611f55575090565b610fc1612370565b5f611f706001546001600160a01b031690565b6001600160a01b031663d39e604383611f87610db6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611fca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109de9190612b8d565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f805160206130c9833981519152916001600160a01b03169063ab3fc75f9061204e90879087908790600401612fec565b5f604051808303815f87803b158015612065575f80fd5b505af1158015612077573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f805160206130c9833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561211c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121409190612b2f565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156121c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ea9190612b2f565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f805160206130c983398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee90611a93908590859060040161301f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122d69190613045565b5f60405180830381855afa9150503d805f811461230e576040519150601f19603f3d011682016040523d82523d5f602084013e612313565b606091505b50915091508115612365576040815110612345578080602001905181019061233b919061305b565b9094509250612365565b602081511061236557808060200190518101906123629190612b09565b93505b505094509492505050565b612378612462565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546123b590612b4a565b80601f01602080910402602001604051908101604052809291908181526020018280546123e190612b4a565b801561242c5780601f106124035761010080835404028352916020019161242c565b820191905f5260205f20905b81548152906001019060200180831161240f57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161088490612b4a565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156124aa575f80fd5b81356001600160e01b031981168114610d14575f80fd5b6001600160601b03811681146124d5575f80fd5b50565b5f80604083850312156124e9575f80fd5b82356124f4816124c1565b91506020830135612504816124c1565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612585608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526125c961010084018261250f565b949350505050565b602081525f61136c602083018461250f565b5f602082840312156125f3575f80fd5b8135610d14816124c1565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612634576126346125fe565b60405290565b604051608081016001600160401b0381118282101715612634576126346125fe565b604051601f8201601f191681016001600160401b0381118282101715612684576126846125fe565b604052919050565b5f6001600160401b038211156126a4576126a46125fe565b50601f01601f191660200190565b5f82601f8301126126c1575f80fd5b8135602083015f6126d96126d48461268c565b61265c565b90508281528583830111156126ec575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff811681146124d5575f80fd5b80356109e181612706565b80151581146124d5575f80fd5b80356109e181612722565b5f805f805f805f805f6101208a8c031215612753575f80fd5b89356001600160401b03811115612768575f80fd5b6127748c828d016126b2565b99505060208a0135975060408a0135965060608a0135955060808a013561279a81612706565b94506127a860a08b01612717565b93506127b660c08b0161272f565b92506127c460e08b0161272f565b91506101008a01356001600160401b038111156127df575f80fd5b6127eb8c828d016126b2565b9150509295985092959850929598565b6001600160a01b03811681146124d5575f80fd5b5f8060408385031215612820575f80fd5b82356124f4816127fb565b5f805f805f60a0868803121561283f575f80fd5b85356001600160401b03811115612854575f80fd5b612860888289016126b2565b95505060208601359350604086013561287881612706565b9250606086013564ffffffffff81168114612891575f80fd5b915060808601356001600160401b038111156128ab575f80fd5b6128b7888289016126b2565b9150509295509295909350565b6001600160c01b0319811681146124d5575f80fd5b5f805f606084860312156128eb575f80fd5b83356128f6816127fb565b92506020840135612906816128c4565b915060408401356001600160401b03811115612920575f80fd5b61292c868287016126b2565b9150509250925092565b5f60208284031215612946575f80fd5b81356001600160401b0381111561295b575f80fd5b6125c9848285016126b2565b5f60208284031215612977575f80fd5b8135610d14816127fb565b602081525f82516080602084015261299d60a084018261250f565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506129df828261250f565b95945050505050565b5f805f606084860312156129fa575f80fd5b83356128f6816124c1565b5f805f8060808587031215612a18575f80fd5b8435612a23816127fb565b93506020850135612a33816127fb565b9250604085013591506060850135612a4a816127fb565b939692955090935050565b5f60408284031215612a65575f80fd5b604080519081016001600160401b0381118282101715612a8757612a876125fe565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ab2575f80fd5b612abc8484612a55565b9150612acb8460408501612a55565b90509250929050565b5f8060408385031215612ae5575f80fd5b8235612af0816128c4565b946020939093013593505050565b80516109e181612722565b5f60208284031215612b19575f80fd5b8151610d1481612722565b80516109e1816124c1565b5f60208284031215612b3f575f80fd5b8151610d14816124c1565b600181811c90821680612b5e57607f821691505b602082108103612b7c57634e487b7160e01b5f52602260045260245ffd5b50919050565b80516109e1816127fb565b5f60208284031215612b9d575f80fd5b8151610d14816127fb565b60ff811681146124d5575f80fd5b80516109e181612ba8565b5f612bce6126d48461268c565b9050828152838383011115612be1575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612c06575f80fd5b61136c83835160208501612bc1565b5f60208284031215612c25575f80fd5b81516001600160401b03811115612c3a575f80fd5b820160e08185031215612c4b575f80fd5b612c53612612565b612c5c82612b24565b8152612c6a60208301612b24565b6020820152612c7b60408301612bb6565b6040820152612c8c60608301612afe565b6060820152612c9d60808301612b82565b6080820152612cae60a08301612b82565b60a082015260c08201516001600160401b03811115612ccb575f80fd5b612cd786828501612bf7565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d11604083018461250f565b5f60208284031215612d16575f80fd5b8151610d14816128c4565b5f60208284031215612d31575f80fd5b8151610d1481612ba8565b808202811582820484141761136f57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612d70575f80fd5b82519150602083015161250481612ba8565b5f8085851115612d90575f80fd5b83861115612d9c575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612dda576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612e3461012083018c61250f565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152612e81818561250f565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612eb260c083018861250f565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612ee3818561250f565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906129df9083018461250f565b5f60208284031215612f33575f80fd5b81516001600160401b03811115612f48575f80fd5b820160808185031215612f59575f80fd5b612f6161263a565b81516001600160401b03811115612f76575f80fd5b8201601f81018613612f86575f80fd5b612f9586825160208401612bc1565b825250612fa460208301612b82565b6020820152612fb560408301612b82565b604082015260608201516001600160401b03811115612fd2575f80fd5b612fde86828501612bf7565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6129df606083018461250f565b825181526020808401518183015282516040830152820151606082015260808101610d14565b5f82518060208501845e5f920191825250919050565b5f806040838503121561306c575f80fd5b825161307781612722565b60208401519092506125048161270656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a264697066735822122000a023ca3978158177d25ebcecb653b2a0386ea5f42df238bc5c6e693150396664736f6c634300081a0033",
1142
+ "bytecode": "0x6080604052348015600e575f80fd5b50612d358061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fe7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612025565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061208a565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b919061211e565b61033061032b3660046122a8565b61098c565b6040516001600160c01b0319909116815260200161027b565b61029761035736600461237e565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123ae565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a36600461240b565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c61047736600461243c565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b9190612457565b6103306104d13660046124a5565b61102d565b61047c6104e436600461254f565b6110fa565b61047c6104f736600461256c565b61115d565b6103835f80516020612c8083398151915281565b6104b6611200565b6102e8611210565b61038361052e3660046125bc565b61122b565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b61057661057136600461240b565b61123f565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612646565b6112f9565b6103835f80516020612ce083398151915281565b61047c6105f33660046125bc565b611347565b5f610605335b5f36611350565b826017610612828261144e565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610652929190612679565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069191906126a6565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf8686611582565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126c1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126ee565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b0316815260200182600101805461088590612709565b80601f01602080910402602001604051908101604052809291908181526020018280546108b190612709565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061274c565b5f61074b3061160e565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611850565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e826118fc565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126ee565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126a6565b5f610b89611210565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf191906126a6565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d91908101906127d4565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f848484611993565b90505b9392505050565b5f80516020612c80833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d759291906128a4565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906128c5565b5f610dbd611210565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128e0565b33610e25611210565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a2d565b5050565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3291906126a6565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061274c565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ca083398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b611010611fbe565b611018610a8a565b156110255761074b611a8d565b61074b611200565b5f611037336105fe565b8661104a6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611077929190612679565b602060405180830381865afa158015611092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b691906126a6565b6110d55760405163086391f760e31b81523360048201526024016106ac565b6110e088601761144e565b6110ee888888888888611c54565b98975050505050505050565b611103336105fe565b61110b610ea2565b6001600160a01b0316336001600160a01b03161461113e5760405163086391f760e31b81523360048201526024016106ac565b82601761114b828261144e565b611156858585611ceb565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c8919061274c565b6001600160a01b0316336001600160a01b0316146111fa5760405162f0630960e01b81523360048201526024016106ac565b50505050565b611208611fbe565b61074b611a8d565b5f80516020612ca0833981519152546001600160a01b031690565b5f61123682826128fb565b90505b92915050565b5f805f61124b84610d34565b905061127e7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ef919061291e565b9250925050915091565b611301610ea2565b6001600160a01b0316336001600160a01b0316146113345760405163086391f760e31b81523360048201526024016106ac565b61133d336105fe565b610e9e8282611d6b565b610e9e336105fe565b5f80516020612ca08339815191525f8061138861136b611210565b873061137a60045f8a8c61294b565b61138391612972565b611dd2565b91509150816114465763ffffffff81161561142357825460ff60a01b1916600160a01b1783556113b6611210565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113e5939291906129aa565b5f604051808303815f87803b1580156113fc575f80fd5b505af115801561140e573d5f803e3d5ffd5b5050845460ff60a01b19168555506114469050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561149e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c291906126a6565b8061155057506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561152a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154e91906126a6565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612ce0833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af11580156115ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123691906126ee565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561167a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169e91906126a6565b156116ca5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561171c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174091906126a6565b6117685760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117de91906126ee565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061182a610ea2565b604051611838929190612679565b60405180910390a1546001600160601b031692915050565b5f80516020612cc083398151915254604051630ded2f7d60e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690631bda5efa906118ad908e908e908e908e908e908e908e908e908e906004016129e9565b6020604051808303815f875af11580156118c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ed91906128c5565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561196f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126ee565b5f80516020612cc083398151915254604051632ee59dd760e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690635dcb3bae906119e490889088908890600401612a68565b6020604051808303815f875af1158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2491906126ee565b95945050505050565b5f80516020612ca083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a95611fbe565b5f611aa86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611aec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1091906126ee565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d91906126a6565b15611c4c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bca610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c329190810190612a9b565b60208101519092506001600160a01b031615611c4c575090565b610fb7611eda565b5f80516020612cc08339815191525460405163987cb16160e01b81525f915f80516020612ce0833981519152916001600160a01b039091169063987cb16190611cab908b908b908b908b908b908b90600401612b55565b6020604051808303815f875af1158015611cc7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ee91906128c5565b5f80516020612cc08339815191525460405163ab3fc75f60e01b81525f80516020612ce0833981519152916001600160a01b03169063ab3fc75f90611d3890879087908790600401612bbd565b5f604051808303815f87803b158015611d4f575f80fd5b505af1158015611d61573d5f803e3d5ffd5b5050505050505050565b5f80516020612ce08339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611da99085908590600401612bf0565b5f604051808303815f87803b158015611dc0575f80fd5b505af1158015611446573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e409190612c3c565b5f60405180830381855afa9150503d805f8114611e78576040519150601f19603f3d011682016040523d82523d5f602084013e611e7d565b606091505b50915091508115611ecf576040815110611eaf5780806020019051810190611ea59190612c52565b9094509250611ecf565b6020815110611ecf5780806020019051810190611ecc91906126a6565b93505b505094509492505050565b611ee2611fbe565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054611f1f90612709565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b90612709565b8015611f965780601f10611f6d57610100808354040283529160200191611f96565b820191905f5260205f20905b815481529060010190602001808311611f7957829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461088590612709565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611ff7575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612022575f80fd5b50565b5f8060408385031215612036575f80fd5b82356120418161200e565b915060208301356120518161200e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120d2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261211661010084018261205c565b949350505050565b602081525f611236602083018461205c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561216657612166612130565b60405290565b604051606081016001600160401b038111828210171561216657612166612130565b604051601f8201601f191681016001600160401b03811182821017156121b6576121b6612130565b604052919050565b5f6001600160401b038211156121d6576121d6612130565b50601f01601f191660200190565b5f82601f8301126121f3575f80fd5b8135602083015f61220b612206846121be565b61218e565b905082815285838301111561221e575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612022575f80fd5b8035610a4181612238565b63ffffffff81168114612022575f80fd5b8035610a4181612257565b64ffffffffff81168114612022575f80fd5b8035610a4181612273565b8015158114612022575f80fd5b8035610a4181612290565b5f805f805f805f805f6101208a8c0312156122c1575f80fd5b89356001600160401b038111156122d6575f80fd5b6122e28c828d016121e4565b99505060208a01356122f381612238565b975061230160408b0161224c565b965061230f60608b0161224c565b955061231d60808b01612268565b945061232b60a08b01612285565b935061233960c08b0161229d565b925061234760e08b0161229d565b91506101008a01356001600160401b03811115612362575f80fd5b61236e8c828d016121e4565b9150509295985092959850929598565b5f6020828403121561238e575f80fd5b8135610d128161200e565b6001600160c01b031981168114612022575f80fd5b5f805f606084860312156123c0575f80fd5b83356123cb81612238565b925060208401356123db81612399565b915060408401356001600160401b038111156123f5575f80fd5b612401868287016121e4565b9150509250925092565b5f6020828403121561241b575f80fd5b81356001600160401b03811115612430575f80fd5b612116848285016121e4565b5f6020828403121561244c575f80fd5b8135610d1281612238565b602081525f825160606020840152612472608084018261205c565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611a24828261205c565b5f805f805f8060c087890312156124ba575f80fd5b86356124c58161200e565b955060208701356001600160401b038111156124df575f80fd5b6124eb89828a016121e4565b95505060408701356124fc81612238565b9350606087013561250c81612257565b9250608087013561251c81612273565b915060a08701356001600160401b03811115612536575f80fd5b61254289828a016121e4565b9150509295509295509295565b5f805f60608486031215612561575f80fd5b83356123cb8161200e565b5f805f806080858703121561257f575f80fd5b843561258a81612238565b9350602085013561259a81612238565b92506040850135915060608501356125b181612238565b939692955090935050565b5f80604083850312156125cd575f80fd5b82356125d881612399565b946020939093013593505050565b5f604082840312156125f6575f80fd5b604080519081016001600160401b038111828210171561261857612618612130565b604052905080823561262981612238565b815260208301356126398161200e565b6020919091015292915050565b5f8060808385031215612657575f80fd5b61266184846125e6565b915061267084604085016125e6565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612290565b5f602082840312156126b6575f80fd5b8151610d1281612290565b5f602082840312156126d1575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a418161200e565b5f602082840312156126fe575f80fd5b8151610d128161200e565b600181811c9082168061271d57607f821691505b60208210810361273b57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a4181612238565b5f6020828403121561275c575f80fd5b8151610d1281612238565b60ff81168114612022575f80fd5b8051610a4181612767565b5f61278d612206846121be565b90508281528383830111156127a0575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126127c5575f80fd5b61123683835160208501612780565b5f602082840312156127e4575f80fd5b81516001600160401b038111156127f9575f80fd5b820160e0818503121561280a575f80fd5b612812612144565b61281b826126e3565b8152612829602083016126e3565b602082015261283a60408301612775565b604082015261284b6060830161269b565b606082015261285c60808301612741565b608082015261286d60a08301612741565b60a082015260c08201516001600160401b0381111561288a575f80fd5b612896868285016127b6565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f604083018461205c565b5f602082840312156128d5575f80fd5b8151610d1281612399565b5f602082840312156128f0575f80fd5b8151610d1281612767565b808202811582820484141761123957634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561292f575f80fd5b825161293a81612238565b602084015190925061205181612767565b5f8085851115612959575f80fd5b83861115612965575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156129a3576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129fd61012083018c61205c565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a58818561205c565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a249083018461205c565b5f60208284031215612aab575f80fd5b81516001600160401b03811115612ac0575f80fd5b820160608185031215612ad1575f80fd5b612ad961216c565b81516001600160401b03811115612aee575f80fd5b8201601f81018613612afe575f80fd5b612b0d86825160208401612780565b8252506020820151612b1e81612238565b602082015260408201516001600160401b03811115612b3b575f80fd5b612b47868285016127b6565b604083015250949350505050565b6001600160601b038716815260c060208201525f612b7660c083018861205c565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612bb0818561205c565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a24606083018461205c565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612c63575f80fd5b8251612c6e81612290565b60208401519092506120518161225756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a2646970667358221220226b14b9abad41eaf0129f0bf2e96bfdb4bb76c11dff37c240268ee39779414864736f6c634300081a0033",
1143
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fe7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612025565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061208a565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b919061211e565b61033061032b3660046122a8565b61098c565b6040516001600160c01b0319909116815260200161027b565b61029761035736600461237e565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123ae565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a36600461240b565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c61047736600461243c565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b9190612457565b6103306104d13660046124a5565b61102d565b61047c6104e436600461254f565b6110fa565b61047c6104f736600461256c565b61115d565b6103835f80516020612c8083398151915281565b6104b6611200565b6102e8611210565b61038361052e3660046125bc565b61122b565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b61057661057136600461240b565b61123f565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612646565b6112f9565b6103835f80516020612ce083398151915281565b61047c6105f33660046125bc565b611347565b5f610605335b5f36611350565b826017610612828261144e565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610652929190612679565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069191906126a6565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf8686611582565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126c1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126ee565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b0316815260200182600101805461088590612709565b80601f01602080910402602001604051908101604052809291908181526020018280546108b190612709565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061274c565b5f61074b3061160e565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611850565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e826118fc565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126ee565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126a6565b5f610b89611210565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf191906126a6565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d91908101906127d4565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f848484611993565b90505b9392505050565b5f80516020612c80833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d759291906128a4565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906128c5565b5f610dbd611210565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128e0565b33610e25611210565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a2d565b5050565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3291906126a6565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061274c565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ca083398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b611010611fbe565b611018610a8a565b156110255761074b611a8d565b61074b611200565b5f611037336105fe565b8661104a6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611077929190612679565b602060405180830381865afa158015611092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b691906126a6565b6110d55760405163086391f760e31b81523360048201526024016106ac565b6110e088601761144e565b6110ee888888888888611c54565b98975050505050505050565b611103336105fe565b61110b610ea2565b6001600160a01b0316336001600160a01b03161461113e5760405163086391f760e31b81523360048201526024016106ac565b82601761114b828261144e565b611156858585611ceb565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c8919061274c565b6001600160a01b0316336001600160a01b0316146111fa5760405162f0630960e01b81523360048201526024016106ac565b50505050565b611208611fbe565b61074b611a8d565b5f80516020612ca0833981519152546001600160a01b031690565b5f61123682826128fb565b90505b92915050565b5f805f61124b84610d34565b905061127e7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ef919061291e565b9250925050915091565b611301610ea2565b6001600160a01b0316336001600160a01b0316146113345760405163086391f760e31b81523360048201526024016106ac565b61133d336105fe565b610e9e8282611d6b565b610e9e336105fe565b5f80516020612ca08339815191525f8061138861136b611210565b873061137a60045f8a8c61294b565b61138391612972565b611dd2565b91509150816114465763ffffffff81161561142357825460ff60a01b1916600160a01b1783556113b6611210565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113e5939291906129aa565b5f604051808303815f87803b1580156113fc575f80fd5b505af115801561140e573d5f803e3d5ffd5b5050845460ff60a01b19168555506114469050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561149e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c291906126a6565b8061155057506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561152a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154e91906126a6565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612ce0833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af11580156115ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123691906126ee565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561167a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169e91906126a6565b156116ca5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561171c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174091906126a6565b6117685760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117de91906126ee565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061182a610ea2565b604051611838929190612679565b60405180910390a1546001600160601b031692915050565b5f80516020612cc083398151915254604051630ded2f7d60e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690631bda5efa906118ad908e908e908e908e908e908e908e908e908e906004016129e9565b6020604051808303815f875af11580156118c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ed91906128c5565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561196f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126ee565b5f80516020612cc083398151915254604051632ee59dd760e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690635dcb3bae906119e490889088908890600401612a68565b6020604051808303815f875af1158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2491906126ee565b95945050505050565b5f80516020612ca083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a95611fbe565b5f611aa86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611aec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1091906126ee565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d91906126a6565b15611c4c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bca610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c329190810190612a9b565b60208101519092506001600160a01b031615611c4c575090565b610fb7611eda565b5f80516020612cc08339815191525460405163987cb16160e01b81525f915f80516020612ce0833981519152916001600160a01b039091169063987cb16190611cab908b908b908b908b908b908b90600401612b55565b6020604051808303815f875af1158015611cc7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ee91906128c5565b5f80516020612cc08339815191525460405163ab3fc75f60e01b81525f80516020612ce0833981519152916001600160a01b03169063ab3fc75f90611d3890879087908790600401612bbd565b5f604051808303815f87803b158015611d4f575f80fd5b505af1158015611d61573d5f803e3d5ffd5b5050505050505050565b5f80516020612ce08339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611da99085908590600401612bf0565b5f604051808303815f87803b158015611dc0575f80fd5b505af1158015611446573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e409190612c3c565b5f60405180830381855afa9150503d805f8114611e78576040519150601f19603f3d011682016040523d82523d5f602084013e611e7d565b606091505b50915091508115611ecf576040815110611eaf5780806020019051810190611ea59190612c52565b9094509250611ecf565b6020815110611ecf5780806020019051810190611ecc91906126a6565b93505b505094509492505050565b611ee2611fbe565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054611f1f90612709565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b90612709565b8015611f965780601f10611f6d57610100808354040283529160200191611f96565b820191905f5260205f20905b815481529060010190602001808311611f7957829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461088590612709565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611ff7575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612022575f80fd5b50565b5f8060408385031215612036575f80fd5b82356120418161200e565b915060208301356120518161200e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120d2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261211661010084018261205c565b949350505050565b602081525f611236602083018461205c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561216657612166612130565b60405290565b604051606081016001600160401b038111828210171561216657612166612130565b604051601f8201601f191681016001600160401b03811182821017156121b6576121b6612130565b604052919050565b5f6001600160401b038211156121d6576121d6612130565b50601f01601f191660200190565b5f82601f8301126121f3575f80fd5b8135602083015f61220b612206846121be565b61218e565b905082815285838301111561221e575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612022575f80fd5b8035610a4181612238565b63ffffffff81168114612022575f80fd5b8035610a4181612257565b64ffffffffff81168114612022575f80fd5b8035610a4181612273565b8015158114612022575f80fd5b8035610a4181612290565b5f805f805f805f805f6101208a8c0312156122c1575f80fd5b89356001600160401b038111156122d6575f80fd5b6122e28c828d016121e4565b99505060208a01356122f381612238565b975061230160408b0161224c565b965061230f60608b0161224c565b955061231d60808b01612268565b945061232b60a08b01612285565b935061233960c08b0161229d565b925061234760e08b0161229d565b91506101008a01356001600160401b03811115612362575f80fd5b61236e8c828d016121e4565b9150509295985092959850929598565b5f6020828403121561238e575f80fd5b8135610d128161200e565b6001600160c01b031981168114612022575f80fd5b5f805f606084860312156123c0575f80fd5b83356123cb81612238565b925060208401356123db81612399565b915060408401356001600160401b038111156123f5575f80fd5b612401868287016121e4565b9150509250925092565b5f6020828403121561241b575f80fd5b81356001600160401b03811115612430575f80fd5b612116848285016121e4565b5f6020828403121561244c575f80fd5b8135610d1281612238565b602081525f825160606020840152612472608084018261205c565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611a24828261205c565b5f805f805f8060c087890312156124ba575f80fd5b86356124c58161200e565b955060208701356001600160401b038111156124df575f80fd5b6124eb89828a016121e4565b95505060408701356124fc81612238565b9350606087013561250c81612257565b9250608087013561251c81612273565b915060a08701356001600160401b03811115612536575f80fd5b61254289828a016121e4565b9150509295509295509295565b5f805f60608486031215612561575f80fd5b83356123cb8161200e565b5f805f806080858703121561257f575f80fd5b843561258a81612238565b9350602085013561259a81612238565b92506040850135915060608501356125b181612238565b939692955090935050565b5f80604083850312156125cd575f80fd5b82356125d881612399565b946020939093013593505050565b5f604082840312156125f6575f80fd5b604080519081016001600160401b038111828210171561261857612618612130565b604052905080823561262981612238565b815260208301356126398161200e565b6020919091015292915050565b5f8060808385031215612657575f80fd5b61266184846125e6565b915061267084604085016125e6565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612290565b5f602082840312156126b6575f80fd5b8151610d1281612290565b5f602082840312156126d1575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a418161200e565b5f602082840312156126fe575f80fd5b8151610d128161200e565b600181811c9082168061271d57607f821691505b60208210810361273b57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a4181612238565b5f6020828403121561275c575f80fd5b8151610d1281612238565b60ff81168114612022575f80fd5b8051610a4181612767565b5f61278d612206846121be565b90508281528383830111156127a0575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126127c5575f80fd5b61123683835160208501612780565b5f602082840312156127e4575f80fd5b81516001600160401b038111156127f9575f80fd5b820160e0818503121561280a575f80fd5b612812612144565b61281b826126e3565b8152612829602083016126e3565b602082015261283a60408301612775565b604082015261284b6060830161269b565b606082015261285c60808301612741565b608082015261286d60a08301612741565b60a082015260c08201516001600160401b0381111561288a575f80fd5b612896868285016127b6565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f604083018461205c565b5f602082840312156128d5575f80fd5b8151610d1281612399565b5f602082840312156128f0575f80fd5b8151610d1281612767565b808202811582820484141761123957634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561292f575f80fd5b825161293a81612238565b602084015190925061205181612767565b5f8085851115612959575f80fd5b83861115612965575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156129a3576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129fd61012083018c61205c565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a58818561205c565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a249083018461205c565b5f60208284031215612aab575f80fd5b81516001600160401b03811115612ac0575f80fd5b820160608185031215612ad1575f80fd5b612ad961216c565b81516001600160401b03811115612aee575f80fd5b8201601f81018613612afe575f80fd5b612b0d86825160208401612780565b8252506020820151612b1e81612238565b602082015260408201516001600160401b03811115612b3b575f80fd5b612b47868285016127b6565b604083015250949350505050565b6001600160601b038716815260c060208201525f612b7660c083018861205c565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612bb0818561205c565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a24606083018461205c565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612c63575f80fd5b8251612c6e81612290565b60208401519092506120518161225756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a2646970667358221220226b14b9abad41eaf0129f0bf2e96bfdb4bb76c11dff37c240268ee39779414864736f6c634300081a0033",
1208
1144
  "linkReferences": {
1209
1145
  "contracts/type/NftId.sol": {
1210
1146
  "NftIdLib": [
1211
1147
  {
1212
1148
  "length": 20,
1213
- "start": 2002
1214
- },
1215
- {
1216
- "length": 20,
1217
- "start": 2734
1149
+ "start": 2003
1218
1150
  },
1219
1151
  {
1220
1152
  "length": 20,
1221
- "start": 3836
1153
+ "start": 2880
1222
1154
  },
1223
1155
  {
1224
1156
  "length": 20,
1225
- "start": 4194
1157
+ "start": 3826
1226
1158
  },
1227
1159
  {
1228
1160
  "length": 20,
1229
- "start": 5949
1161
+ "start": 5726
1230
1162
  },
1231
1163
  {
1232
1164
  "length": 20,
1233
- "start": 7159
1234
- },
1235
- {
1236
- "length": 20,
1237
- "start": 7766
1238
- },
1239
- {
1240
- "length": 20,
1241
- "start": 8435
1242
- },
1165
+ "start": 6989
1166
+ }
1167
+ ]
1168
+ },
1169
+ "contracts/type/ObjectType.sol": {
1170
+ "ObjectTypeLib": [
1243
1171
  {
1244
1172
  "length": 20,
1245
- "start": 8618
1173
+ "start": 5250
1246
1174
  }
1247
1175
  ]
1248
1176
  },
@@ -1250,15 +1178,15 @@
1250
1178
  "ReferralLib": [
1251
1179
  {
1252
1180
  "length": 20,
1253
- "start": 3413
1181
+ "start": 3411
1254
1182
  }
1255
1183
  ]
1256
1184
  },
1257
1185
  "contracts/type/Version.sol": {
1258
- "VersionPartLib": [
1186
+ "VersionLib": [
1259
1187
  {
1260
1188
  "length": 20,
1261
- "start": 3562
1189
+ "start": 1803
1262
1190
  }
1263
1191
  ]
1264
1192
  }
@@ -1268,39 +1196,31 @@
1268
1196
  "NftIdLib": [
1269
1197
  {
1270
1198
  "length": 20,
1271
- "start": 1974
1199
+ "start": 1975
1272
1200
  },
1273
1201
  {
1274
1202
  "length": 20,
1275
- "start": 2706
1203
+ "start": 2852
1276
1204
  },
1277
1205
  {
1278
1206
  "length": 20,
1279
- "start": 3808
1207
+ "start": 3798
1280
1208
  },
1281
1209
  {
1282
1210
  "length": 20,
1283
- "start": 4166
1211
+ "start": 5698
1284
1212
  },
1285
1213
  {
1286
1214
  "length": 20,
1287
- "start": 5921
1288
- },
1289
- {
1290
- "length": 20,
1291
- "start": 7131
1292
- },
1293
- {
1294
- "length": 20,
1295
- "start": 7738
1296
- },
1297
- {
1298
- "length": 20,
1299
- "start": 8407
1300
- },
1215
+ "start": 6961
1216
+ }
1217
+ ]
1218
+ },
1219
+ "contracts/type/ObjectType.sol": {
1220
+ "ObjectTypeLib": [
1301
1221
  {
1302
1222
  "length": 20,
1303
- "start": 8590
1223
+ "start": 5222
1304
1224
  }
1305
1225
  ]
1306
1226
  },
@@ -1308,15 +1228,15 @@
1308
1228
  "ReferralLib": [
1309
1229
  {
1310
1230
  "length": 20,
1311
- "start": 3385
1231
+ "start": 3383
1312
1232
  }
1313
1233
  ]
1314
1234
  },
1315
1235
  "contracts/type/Version.sol": {
1316
- "VersionPartLib": [
1236
+ "VersionLib": [
1317
1237
  {
1318
1238
  "length": 20,
1319
- "start": 3534
1239
+ "start": 1775
1320
1240
  }
1321
1241
  ]
1322
1242
  }