@etherisc/gif-next 0.0.2-da2c7dd-538 → 0.0.2-da87b00-860

Sign up to get free protection for your applications and to get access to all the features.
Files changed (469) hide show
  1. package/README.md +57 -1
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +106 -38
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +91 -45
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +58 -6
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +573 -288
  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 +8 -39
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +295 -47
  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 +452 -210
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +119 -14
  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 +64 -142
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +275 -59
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -88
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +448 -148
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +143 -77
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +20 -87
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +296 -20
  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 +109 -100
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +274 -58
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +145 -124
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +274 -58
  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 +126 -166
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +274 -58
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +39 -63
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +130 -138
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +274 -58
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +333 -180
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +274 -58
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +427 -28
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +335 -12
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +430 -62
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +822 -402
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +299 -58
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +619 -402
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +367 -64
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +83 -55
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +448 -374
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +101 -88
  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 +2 -2
  94. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
  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 +33 -35
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +294 -53
  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 +19 -21
  109. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +29 -0
  111. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +19 -21
  113. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +87 -42
  115. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +96 -50
  117. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +59 -69
  119. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +274 -58
  121. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +300 -123
  123. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +124 -58
  125. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +186 -33
  127. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +29 -31
  129. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +238 -19
  131. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  132. package/artifacts/contracts/pool/Pool.sol/Pool.json +29 -31
  133. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  134. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +100 -34
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +346 -87
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +121 -63
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +273 -50
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +103 -41
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  144. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +46 -48
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +274 -58
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +142 -102
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +113 -75
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +208 -1
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +50 -10
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +55 -0
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +50 -0
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +40 -42
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +224 -18
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +157 -86
  165. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +511 -21
  167. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  168. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +118 -72
  169. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PricingService.sol/PricingService.json +116 -114
  171. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +100 -70
  173. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  174. package/artifacts/contracts/product/Product.sol/Product.json +40 -42
  175. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  176. package/artifacts/contracts/product/RiskService.sol/RiskService.json +258 -44
  177. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +84 -42
  179. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  180. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +33 -22
  182. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  183. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +29 -0
  184. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  186. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/Registry.sol/Registry.json +71 -60
  188. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  189. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +704 -472
  190. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  191. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  192. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  193. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +47 -18
  194. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +76 -38
  196. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +710 -407
  198. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  200. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +184 -128
  202. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +437 -26
  204. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  205. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +119 -59
  206. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  207. package/artifacts/contracts/shared/Component.sol/Component.json +19 -21
  208. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +212 -232
  210. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +113 -71
  212. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +130 -39
  214. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +2 -2
  218. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +19 -21
  220. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +119 -147
  222. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -21
  224. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +6 -6
  226. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  227. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  228. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  229. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +19 -0
  232. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  235. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  236. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  237. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  238. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -21
  239. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  240. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +6 -6
  241. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  242. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  243. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  244. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  246. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  247. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  248. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -0
  250. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  251. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  252. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  253. package/artifacts/contracts/shared/Service.sol/Service.json +29 -0
  254. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  255. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  257. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  258. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  259. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  260. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  261. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1450 -140
  262. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  263. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +161 -110
  264. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  265. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  266. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  267. package/artifacts/contracts/staking/Staking.sol/Staking.json +1624 -272
  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/StakingManager.sol/StakingManager.dbg.json +1 -1
  271. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +135 -68
  272. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
  274. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  275. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +200 -157
  276. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  277. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +86 -52
  278. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1600 -818
  280. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  281. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  282. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  283. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +159 -87
  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 +10 -10
  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 +93 -37
  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 +2 -2
  315. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +39 -218
  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/SelectorSetLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  324. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  326. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
  328. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  330. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +56 -2
  332. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  333. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  334. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  335. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +65 -27
  336. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  337. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  338. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  339. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  340. package/contracts/accounting/AccountingService.sol +15 -3
  341. package/contracts/accounting/IAccountingService.sol +4 -2
  342. package/contracts/authorization/AccessAdmin.sol +389 -298
  343. package/contracts/authorization/AccessAdminLib.sol +396 -0
  344. package/contracts/authorization/AccessManagerCloneable.sol +40 -31
  345. package/contracts/authorization/Authorization.sol +60 -228
  346. package/contracts/authorization/IAccess.sol +25 -7
  347. package/contracts/authorization/IAccessAdmin.sol +81 -80
  348. package/contracts/authorization/IAuthorization.sol +3 -51
  349. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  350. package/contracts/authorization/ServiceAuthorization.sol +248 -34
  351. package/contracts/distribution/BasicDistribution.sol +6 -6
  352. package/contracts/distribution/BasicDistributionAuthorization.sol +11 -4
  353. package/contracts/distribution/Distribution.sol +10 -52
  354. package/contracts/distribution/DistributionService.sol +154 -64
  355. package/contracts/distribution/IDistributionComponent.sol +3 -10
  356. package/contracts/distribution/IDistributionService.sol +24 -10
  357. package/contracts/examples/fire/FirePool.sol +0 -4
  358. package/contracts/examples/fire/FireProduct.sol +6 -10
  359. package/contracts/examples/unpermissioned/SimpleDistribution.sol +32 -8
  360. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  361. package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
  362. package/contracts/examples/unpermissioned/SimpleProduct.sol +83 -23
  363. package/contracts/instance/IInstance.sol +87 -12
  364. package/contracts/instance/IInstanceService.sol +52 -7
  365. package/contracts/instance/Instance.sol +148 -48
  366. package/contracts/instance/InstanceAdmin.sol +227 -281
  367. package/contracts/instance/InstanceAuthorizationV3.sol +79 -26
  368. package/contracts/instance/InstanceReader.sol +375 -380
  369. package/contracts/instance/InstanceService.sol +230 -134
  370. package/contracts/instance/RiskSet.sol +10 -2
  371. package/contracts/instance/base/BalanceStore.sol +4 -6
  372. package/contracts/instance/base/ObjectLifecycle.sol +2 -6
  373. package/contracts/instance/module/IBundle.sol +6 -5
  374. package/contracts/instance/module/IComponents.sol +16 -5
  375. package/contracts/instance/module/IDistribution.sol +19 -7
  376. package/contracts/instance/module/IPolicy.sol +28 -8
  377. package/contracts/instance/module/IRisk.sol +2 -0
  378. package/contracts/oracle/BasicOracle.sol +2 -4
  379. package/contracts/oracle/BasicOracleAuthorization.sol +18 -2
  380. package/contracts/oracle/IOracle.sol +9 -4
  381. package/contracts/oracle/Oracle.sol +2 -4
  382. package/contracts/oracle/OracleService.sol +8 -8
  383. package/contracts/pool/BasicPool.sol +3 -16
  384. package/contracts/pool/BasicPoolAuthorization.sol +10 -5
  385. package/contracts/pool/BundleService.sol +34 -43
  386. package/contracts/pool/IBundleService.sol +14 -13
  387. package/contracts/pool/IPoolService.sol +7 -2
  388. package/contracts/pool/Pool.sol +4 -16
  389. package/contracts/pool/PoolLib.sol +127 -2
  390. package/contracts/pool/PoolService.sol +41 -184
  391. package/contracts/product/ApplicationService.sol +83 -15
  392. package/contracts/product/BasicProduct.sol +1 -3
  393. package/contracts/product/BasicProductAuthorization.sol +11 -4
  394. package/contracts/product/ClaimService.sol +56 -58
  395. package/contracts/product/IApplicationService.sol +24 -2
  396. package/contracts/product/IClaimService.sol +5 -4
  397. package/contracts/product/IPolicyService.sol +9 -2
  398. package/contracts/product/IPricingService.sol +1 -0
  399. package/contracts/product/IRiskService.sol +21 -3
  400. package/contracts/product/PolicyService.sol +31 -68
  401. package/contracts/product/PolicyServiceLib.sol +79 -5
  402. package/contracts/product/PricingService.sol +33 -31
  403. package/contracts/product/Product.sol +38 -14
  404. package/contracts/product/RiskService.sol +55 -9
  405. package/contracts/registry/IRegistry.sol +15 -9
  406. package/contracts/registry/IRelease.sol +6 -3
  407. package/contracts/registry/Registry.sol +15 -9
  408. package/contracts/registry/RegistryAdmin.sol +100 -263
  409. package/contracts/registry/RegistryAuthorization.sol +336 -0
  410. package/contracts/registry/RegistryService.sol +1 -1
  411. package/contracts/registry/ReleaseAdmin.sol +62 -112
  412. package/contracts/registry/ReleaseRegistry.sol +57 -43
  413. package/contracts/registry/ServiceAuthorizationV3.sol +128 -33
  414. package/contracts/registry/TokenRegistry.sol +56 -52
  415. package/contracts/shared/Component.sol +18 -31
  416. package/contracts/shared/ComponentService.sol +239 -244
  417. package/contracts/shared/ContractLib.sol +134 -75
  418. package/contracts/shared/IComponent.sol +1 -4
  419. package/contracts/shared/IComponentService.sol +21 -22
  420. package/contracts/shared/IKeyValueStore.sol +1 -1
  421. package/contracts/shared/INftOwnable.sol +2 -0
  422. package/contracts/shared/IRegisterable.sol +0 -1
  423. package/contracts/shared/InitializableERC165.sol +9 -1
  424. package/contracts/shared/InstanceLinkedComponent.sol +4 -7
  425. package/contracts/shared/KeyValueStore.sol +3 -3
  426. package/contracts/shared/NftOwnable.sol +4 -2
  427. package/contracts/shared/PolicyHolder.sol +3 -2
  428. package/contracts/shared/Registerable.sol +1 -4
  429. package/contracts/shared/Service.sol +6 -4
  430. package/contracts/shared/TokenHandler.sol +5 -4
  431. package/contracts/staking/IStaking.sol +266 -64
  432. package/contracts/staking/IStakingService.sol +44 -82
  433. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  434. package/contracts/staking/Staking.sol +473 -202
  435. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  436. package/contracts/staking/StakingManager.sol +4 -3
  437. package/contracts/staking/StakingReader.sol +58 -77
  438. package/contracts/staking/StakingService.sol +49 -158
  439. package/contracts/staking/StakingServiceManager.sol +1 -0
  440. package/contracts/staking/StakingStore.sol +1089 -330
  441. package/contracts/staking/TargetHandler.sol +132 -0
  442. package/contracts/staking/TargetManagerLib.sol +69 -46
  443. package/contracts/type/Amount.sol +4 -0
  444. package/contracts/type/Blocknumber.sol +15 -15
  445. package/contracts/type/ChainId.sol +101 -0
  446. package/contracts/type/Fee.sol +8 -8
  447. package/contracts/type/NftId.sol +3 -3
  448. package/contracts/type/ObjectType.sol +21 -17
  449. package/contracts/type/RoleId.sol +57 -59
  450. package/contracts/type/Seconds.sol +19 -0
  451. package/contracts/type/String.sol +12 -0
  452. package/contracts/type/Timestamp.sol +4 -2
  453. package/contracts/type/UFixed.sol +28 -10
  454. package/contracts/type/Version.sol +39 -0
  455. package/contracts/upgradeability/IVersionable.sol +3 -0
  456. package/contracts/upgradeability/ProxyManager.sol +25 -11
  457. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  458. package/contracts/upgradeability/Versionable.sol +6 -3
  459. package/package.json +2 -2
  460. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
  461. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +0 -24
  462. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  463. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -485
  464. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  465. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  466. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  467. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  468. package/contracts/shared/ComponentVerifyingService.sol +0 -128
  469. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -78,17 +78,6 @@
78
78
  "name": "ErrorComponentProductNftIdZero",
79
79
  "type": "error"
80
80
  },
81
- {
82
- "inputs": [
83
- {
84
- "internalType": "address",
85
- "name": "token",
86
- "type": "address"
87
- }
88
- ],
89
- "name": "ErrorComponentTokenInvalid",
90
- "type": "error"
91
- },
92
81
  {
93
82
  "inputs": [],
94
83
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
@@ -104,33 +93,6 @@
104
93
  "name": "ErrorComponentWalletNotComponent",
105
94
  "type": "error"
106
95
  },
107
- {
108
- "inputs": [
109
- {
110
- "internalType": "address",
111
- "name": "distributor",
112
- "type": "address"
113
- },
114
- {
115
- "internalType": "NftId",
116
- "name": "distributorNftId",
117
- "type": "uint96"
118
- }
119
- ],
120
- "name": "ErrorDistributionAlreadyDistributor",
121
- "type": "error"
122
- },
123
- {
124
- "inputs": [
125
- {
126
- "internalType": "address",
127
- "name": "distributor",
128
- "type": "address"
129
- }
130
- ],
131
- "name": "ErrorDistributionNotDistributor",
132
- "type": "error"
133
- },
134
96
  {
135
97
  "inputs": [
136
98
  {
@@ -363,6 +325,25 @@
363
325
  "name": "LogDistributorUpdated",
364
326
  "type": "event"
365
327
  },
328
+ {
329
+ "anonymous": false,
330
+ "inputs": [
331
+ {
332
+ "indexed": false,
333
+ "internalType": "NftId",
334
+ "name": "nftId",
335
+ "type": "uint96"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "address",
340
+ "name": "owner",
341
+ "type": "address"
342
+ }
343
+ ],
344
+ "name": "LogNftOwnableNftLinkedToAddress",
345
+ "type": "event"
346
+ },
366
347
  {
367
348
  "inputs": [],
368
349
  "name": "COMPONENT_LOCATION_V1",
@@ -445,7 +426,7 @@
445
426
  "inputs": [
446
427
  {
447
428
  "internalType": "ReferralId",
448
- "name": "referralId",
429
+ "name": "",
449
430
  "type": "bytes8"
450
431
  },
451
432
  {
@@ -527,17 +508,17 @@
527
508
  {
528
509
  "internalType": "UFixed",
529
510
  "name": "minDiscountPercentage",
530
- "type": "uint256"
511
+ "type": "uint160"
531
512
  },
532
513
  {
533
514
  "internalType": "UFixed",
534
515
  "name": "maxDiscountPercentage",
535
- "type": "uint256"
516
+ "type": "uint160"
536
517
  },
537
518
  {
538
519
  "internalType": "UFixed",
539
520
  "name": "commissionPercentage",
540
- "type": "uint256"
521
+ "type": "uint160"
541
522
  },
542
523
  {
543
524
  "internalType": "uint32",
@@ -578,6 +559,11 @@
578
559
  },
579
560
  {
580
561
  "inputs": [
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "distributorNftId",
565
+ "type": "uint96"
566
+ },
581
567
  {
582
568
  "internalType": "string",
583
569
  "name": "code",
@@ -586,7 +572,7 @@
586
572
  {
587
573
  "internalType": "UFixed",
588
574
  "name": "discountPercentage",
589
- "type": "uint256"
575
+ "type": "uint160"
590
576
  },
591
577
  {
592
578
  "internalType": "uint32",
@@ -639,11 +625,6 @@
639
625
  "name": "name",
640
626
  "type": "string"
641
627
  },
642
- {
643
- "internalType": "contract IERC20Metadata",
644
- "name": "token",
645
- "type": "address"
646
- },
647
628
  {
648
629
  "internalType": "contract TokenHandler",
649
630
  "name": "tokenHandler",
@@ -676,7 +657,7 @@
676
657
  {
677
658
  "internalType": "UFixed",
678
659
  "name": "discountPercentage",
679
- "type": "uint256"
660
+ "type": "uint160"
680
661
  },
681
662
  {
682
663
  "internalType": "ReferralStatus",
@@ -687,25 +668,6 @@
687
668
  "stateMutability": "view",
688
669
  "type": "function"
689
670
  },
690
- {
691
- "inputs": [
692
- {
693
- "internalType": "address",
694
- "name": "distributor",
695
- "type": "address"
696
- }
697
- ],
698
- "name": "getDistributorNftId",
699
- "outputs": [
700
- {
701
- "internalType": "NftId",
702
- "name": "distributorNftId",
703
- "type": "uint96"
704
- }
705
- ],
706
- "stateMutability": "view",
707
- "type": "function"
708
- },
709
671
  {
710
672
  "inputs": [],
711
673
  "name": "getInitialComponentInfo",
@@ -717,11 +679,6 @@
717
679
  "name": "name",
718
680
  "type": "string"
719
681
  },
720
- {
721
- "internalType": "contract IERC20Metadata",
722
- "name": "token",
723
- "type": "address"
724
- },
725
682
  {
726
683
  "internalType": "contract TokenHandler",
727
684
  "name": "tokenHandler",
@@ -966,25 +923,6 @@
966
923
  "stateMutability": "view",
967
924
  "type": "function"
968
925
  },
969
- {
970
- "inputs": [
971
- {
972
- "internalType": "address",
973
- "name": "candidate",
974
- "type": "address"
975
- }
976
- ],
977
- "name": "isDistributor",
978
- "outputs": [
979
- {
980
- "internalType": "bool",
981
- "name": "",
982
- "type": "bool"
983
- }
984
- ],
985
- "stateMutability": "view",
986
- "type": "function"
987
- },
988
926
  {
989
927
  "inputs": [],
990
928
  "name": "isNftInterceptor",
@@ -1103,12 +1041,12 @@
1103
1041
  {
1104
1042
  "internalType": "UFixed",
1105
1043
  "name": "fractionalFee",
1106
- "type": "uint256"
1044
+ "type": "uint160"
1107
1045
  },
1108
1046
  {
1109
- "internalType": "uint256",
1047
+ "internalType": "Amount",
1110
1048
  "name": "fixedFee",
1111
- "type": "uint256"
1049
+ "type": "uint96"
1112
1050
  }
1113
1051
  ],
1114
1052
  "internalType": "struct Fee",
@@ -1120,12 +1058,12 @@
1120
1058
  {
1121
1059
  "internalType": "UFixed",
1122
1060
  "name": "fractionalFee",
1123
- "type": "uint256"
1061
+ "type": "uint160"
1124
1062
  },
1125
1063
  {
1126
- "internalType": "uint256",
1064
+ "internalType": "Amount",
1127
1065
  "name": "fixedFee",
1128
- "type": "uint256"
1066
+ "type": "uint96"
1129
1067
  }
1130
1068
  ],
1131
1069
  "internalType": "struct Fee",
@@ -1201,46 +1139,38 @@
1201
1139
  "type": "function"
1202
1140
  }
1203
1141
  ],
1204
- "bytecode": "0x6080604052348015600e575f80fd5b50612f5d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610255575f3560e01c80637427d7a811610140578063ada9652e116100bf578063d16d0fe811610084578063d16d0fe814610593578063de7b5d14146105a6578063e145d46c146105d6578063ea15869f14610600578063f5860e1a14610627578063f80e20721461063b575f80fd5b8063ada9652e14610549578063b2a6b42d1461055d578063b423086c14610570578063b6b412ba14610578578063bf7e214f1461058b575f80fd5b80638f0c86fa116101055780638f0c86fa146104da5780638fb36037146104ed57806390edbd351461050e578063ab3fc75f14610523578063ad12ad6014610536575f80fd5b80637427d7a81461046557806376b707b7146104785780637a9e5e4b146104b657806387ef9ba0146104cb578063893d20e8146104d2575f80fd5b806322366844116101d75780635741e5e91161019c5780635741e5e9146103ee57806359660bea146103f65780635ab1bd53146104095780635dcb3bae1461041a578063644c45e01461042d5780636bd1c0eb14610435575f80fd5b8063223668441461038357806322f3e2d41461038b5780632eb3e6f4146103935780632fd17ba0146103ba57806343d752d3146103e6575f80fd5b8063138461e01161021d578063138461e01461031657806317d7de7c1461031e5780631c6b2190146103335780631eff4b221461034657806321df0da71461037b575f80fd5b806301ffc9a71461025957806307e71a6e1461029a5780630d8e6e2c146102c55780630fec111c146102e157806313299604146102f6575b5f80fd5b6102856102673660046122e4565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ad6102a8366004612322565b61064e565b6040516001600160601b039091168152602001610291565b6102cd610752565b60405162ffffff9091168152602001610291565b6102e96107d9565b6040516102919190612387565b6102fe610993565b6040516001600160a01b039091168152602001610291565b6102ad6109fb565b610326610a05565b604051610291919061241b565b6102ad61034136600461242d565b610a15565b61036d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b6102fe610a6b565b610285610a7d565b610285610b73565b61036d7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103cd6103c8366004612596565b610bea565b6040516001600160c01b03199091168152602001610291565b6102fe610c4e565b610285610c60565b6103cd610404366004612657565b610d1d565b6001546001600160a01b03166102fe565b6102ad610428366004612710565b610d74565b6102ad610dce565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102fe565b6103cd61047336600461276d565b610de9565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30054600160681b900460ff1660405160ff9091168152602001610291565b6104c96104c436600461279e565b610e69565b005b6001610285565b6102fe610eef565b6102856104e836600461279e565b611020565b6104f56110e5565b6040516001600160e01b03199091168152602001610291565b61051661111a565b60405161029191906127b9565b6104c961053136600461281f565b61113f565b6104c961054436600461283c565b6111a2565b61036d5f80516020612ec883398151915281565b6102ad61056b36600461279e565b611251565b610516611293565b6104c96105863660046128d8565b6112a3565b6102fe6112f1565b61036d6105a136600461290b565b61130c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102fe565b6105e96105e436600461276d565b611320565b6040805192835260ff909116602083015201610291565b61036d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61036d5f80516020612f0883398151915281565b6104c961064936600461290b565b6113da565b5f61065b335b5f366113e3565b61066433611020565b6106885760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601761069582826114e1565b846106a86001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071f9190612940565b61073e5760405163086391f760e31b815233600482015260240161067f565b6107488686611598565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d4919061295b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610885573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a99190612988565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016108f1610eef565b6001600160a01b0316815260200182600101805461090e906129a3565b80601f016020809104026020016040519081016040528092919081815260200182805461093a906129a3565b80156109855780601f1061095c57610100808354040283529160200191610985565b820191905f5260205f20905b81548152906001019060200180831161096857829003601f168201915b505050505081525091505090565b5f61099c610c4e565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d491906129e6565b5f6107d430611624565b6060610a0f61111a565b51919050565b5f610a1f33610654565b610a27610eef565b6001600160a01b0316336001600160a01b031614610a5a5760405163086391f760e31b815233600482015260240161067f565b610a6382611818565b90505b919050565b5f610a7461111a565b60200151905090565b5f610a906001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ad4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af89190612988565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d49190612940565b5f610b7c6112f1565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be49190612940565b15905090565b5f610bf433610654565b610bfc610eef565b6001600160a01b0316336001600160a01b031614610c2f5760405163086391f760e31b815233600482015260240161067f565b610c408a8a8a8a8a8a8a8a8a6118af565b9a9950505050505050505050565b5f610c5761111a565b60400151905090565b5f610c69610a7d565b15610ced576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610cbd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ce49190810190612a6e565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610d2733610654565b610d3033611020565b610d4f5760405163637c41bb60e01b815233600482015260240161067f565b5f610d5933611251565b9050610d6981888888888861196e565b979650505050505050565b5f610d7e33610654565b610d86610eef565b6001600160a01b0316336001600160a01b031614610db95760405163086391f760e31b815233600482015260240161067f565b610dc4848484611a24565b90505b9392505050565b5f80516020612ec8833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e0c610dce565b846040518363ffffffff1660e01b8152600401610e2a929190612b3e565b602060405180830381865af4158015610e45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a639190612b5f565b33610e726112f1565b6001600160a01b0316816001600160a01b031614610ead5760405162d1953b60e31b81526001600160a01b038216600482015260240161067f565b816001600160a01b03163b5f03610ee2576040516361798f2f60e11b81526001600160a01b038316600482015260240161067f565b610eeb82611be8565b5050565b5f805f80516020612ec883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f7f9190612940565b1561100a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610fe0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100491906129e6565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f088339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156110c1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc79190612940565b5f80516020612ee883398151915280545f9190600160a01b900460ff1661110c575f611004565b638fb3603760e01b91505090565b6111226122ac565b61112a610a7d565b15611137576107d4611c48565b6107d4611293565b61114833610654565b611150610eef565b6001600160a01b0316336001600160a01b0316146111835760405163086391f760e31b815233600482015260240161067f565b82601761119082826114e1565b61119b858585611e0f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906129e6565b6001600160a01b0316336001600160a01b03161461123f5760405162f0630960e01b815233600482015260240161067f565b61124b84848484611ea2565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b61129b6122ac565b6107d4611c48565b6112ab610eef565b6001600160a01b0316336001600160a01b0316146112de5760405163086391f760e31b815233600482015260240161067f565b6112e733610654565b610eeb828261204b565b5f80516020612ee8833981519152546001600160a01b031690565b5f6113178282612b7a565b90505b92915050565b5f805f61132c84610de9565b905061135f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156113ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d09190612b9d565b9250925050915091565b610eeb33610654565b5f80516020612ee88339815191525f8061141b6113fe6112f1565b873061140d60045f8a8c612bc0565b61141691612be7565b6120b2565b91509150816114d95763ffffffff8116156114b657825460ff60a01b1916600160a01b1783556114496112f1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161147893929190612c1f565b5f604051808303815f87803b15801561148f575f80fd5b505af11580156114a1573d5f803e3d5ffd5b5050845460ff60a01b19168555506114d99050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161067f565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611543573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115679190612940565b610eeb5760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161067f565b5f5f80516020612f08833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611600573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113179190612988565b5f805f80516020612ec883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611690573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b49190612940565b156116e05780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161067f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611732573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117569190612940565b61177e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161067f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f49190612988565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561188b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a639190612988565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163017e8bdd60e51b81525f915f80516020612f08833981519152916001600160a01b0390911690632fd17ba09061191f908e908e908e908e908e908e908e908e908e90600401612c5e565b6020604051808303815f875af115801561193b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061195f9190612b5f565b9b9a5050505050505050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020612f08833981519152916001600160a01b0390911690638dd2b781906119d8908b908b908b908b908b908b90600401612cd0565b6020604051808303815f875af11580156119f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a189190612b5f565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f088339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae99190612940565b15611b34576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161067f565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611b6a90889088908890600401612d2f565b6020604051808303815f875af1158015611b86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611baa9190612988565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020612ee883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611c506122ac565b5f611c636001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611ca7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ccb9190612988565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d489190612940565b15611e07577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611d85610dce565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611dc6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ded9190810190612d62565b60408101519092506001600160a01b031615611e07575090565b6110046121ba565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020612f08833981519152916001600160a01b03169063ab3fc75f90611e6f90879087908790600401612e2b565b5f604051808303815f87803b158015611e86575f80fd5b505af1158015611e98573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020612f08833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f619190612988565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015611fe7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200b9190612988565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020612f0883398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906120899085908590600401612e5e565b5f604051808303815f87803b1580156120a0575f80fd5b505af11580156114d9573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121209190612e84565b5f60405180830381855afa9150503d805f8114612158576040519150601f19603f3d011682016040523d82523d5f602084013e61215d565b606091505b509150915081156121af57604081511061218f57808060200190518101906121859190612e9a565b90945092506121af565b60208151106121af57808060200190518101906121ac9190612940565b93505b505094509492505050565b6121c26122ac565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546121ff906129a3565b80601f016020809104026020016040519081016040528092919081815260200182805461222b906129a3565b80156122765780601f1061224d57610100808354040283529160200191612276565b820191905f5260205f20905b81548152906001019060200180831161225957829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161090e906129a3565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156122f4575f80fd5b81356001600160e01b031981168114610dc7575f80fd5b6001600160601b038116811461231f575f80fd5b50565b5f8060408385031215612333575f80fd5b823561233e8161230b565b9150602083013561234e8161230b565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516123cf608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612413610100840182612359565b949350505050565b602081525f6113176020830184612359565b5f6020828403121561243d575f80fd5b8135610dc78161230b565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561247e5761247e612448565b60405290565b604051608081016001600160401b038111828210171561247e5761247e612448565b604051601f8201601f191681016001600160401b03811182821017156124ce576124ce612448565b604052919050565b5f6001600160401b038211156124ee576124ee612448565b50601f01601f191660200190565b5f82601f83011261250b575f80fd5b8135602083015f61252361251e846124d6565b6124a6565b9050828152858383011115612536575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461231f575f80fd5b64ffffffffff8116811461231f575f80fd5b8035610a6681612561565b801515811461231f575f80fd5b8035610a668161257e565b5f805f805f805f805f6101208a8c0312156125af575f80fd5b89356001600160401b038111156125c4575f80fd5b6125d08c828d016124fc565b99505060208a0135975060408a0135965060608a0135955060808a01356125f681612550565b945061260460a08b01612573565b935061261260c08b0161258b565b925061262060e08b0161258b565b91506101008a01356001600160401b0381111561263b575f80fd5b6126478c828d016124fc565b9150509295985092959850929598565b5f805f805f60a0868803121561266b575f80fd5b85356001600160401b03811115612680575f80fd5b61268c888289016124fc565b9550506020860135935060408601356126a481612550565b925060608601356126b481612561565b915060808601356001600160401b038111156126ce575f80fd5b6126da888289016124fc565b9150509295509295909350565b6001600160a01b038116811461231f575f80fd5b6001600160c01b03198116811461231f575f80fd5b5f805f60608486031215612722575f80fd5b833561272d816126e7565b9250602084013561273d816126fb565b915060408401356001600160401b03811115612757575f80fd5b612763868287016124fc565b9150509250925092565b5f6020828403121561277d575f80fd5b81356001600160401b03811115612792575f80fd5b612413848285016124fc565b5f602082840312156127ae575f80fd5b8135610dc7816126e7565b602081525f8251608060208401526127d460a0840182612359565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506128168282612359565b95945050505050565b5f805f60608486031215612831575f80fd5b833561272d8161230b565b5f805f806080858703121561284f575f80fd5b843561285a816126e7565b9350602085013561286a816126e7565b9250604085013591506060850135612881816126e7565b939692955090935050565b5f6040828403121561289c575f80fd5b604080519081016001600160401b03811182821017156128be576128be612448565b604052823581526020928301359281019290925250919050565b5f80608083850312156128e9575f80fd5b6128f3848461288c565b9150612902846040850161288c565b90509250929050565b5f806040838503121561291c575f80fd5b8235612927816126fb565b946020939093013593505050565b8051610a668161257e565b5f60208284031215612950575f80fd5b8151610dc78161257e565b5f6020828403121561296b575f80fd5b815162ffffff81168114610dc7575f80fd5b8051610a668161230b565b5f60208284031215612998575f80fd5b8151610dc78161230b565b600181811c908216806129b757607f821691505b6020821081036129d557634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a66816126e7565b5f602082840312156129f6575f80fd5b8151610dc7816126e7565b60ff8116811461231f575f80fd5b8051610a6681612a01565b5f612a2761251e846124d6565b9050828152838383011115612a3a575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a5f575f80fd5b61131783835160208501612a1a565b5f60208284031215612a7e575f80fd5b81516001600160401b03811115612a93575f80fd5b820160e08185031215612aa4575f80fd5b612aac61245c565b612ab58261297d565b8152612ac36020830161297d565b6020820152612ad460408301612a0f565b6040820152612ae560608301612935565b6060820152612af6608083016129db565b6080820152612b0760a083016129db565b60a082015260c08201516001600160401b03811115612b24575f80fd5b612b3086828501612a50565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610dc46040830184612359565b5f60208284031215612b6f575f80fd5b8151610dc7816126fb565b808202811582820484141761131a57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612bae575f80fd5b82519150602083015161234e81612a01565b5f8085851115612bce575f80fd5b83861115612bda575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612c18576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612c7261012083018c612359565b8a602084015289604084015288606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612cc08185612359565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612cf160c0830188612359565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612d228185612359565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061281690830184612359565b5f60208284031215612d72575f80fd5b81516001600160401b03811115612d87575f80fd5b820160808185031215612d98575f80fd5b612da0612484565b81516001600160401b03811115612db5575f80fd5b8201601f81018613612dc5575f80fd5b612dd486825160208401612a1a565b825250612de3602083016129db565b6020820152612df4604083016129db565b604082015260608201516001600160401b03811115612e11575f80fd5b612e1d86828501612a50565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6128166060830184612359565b825181526020808401518183015282516040830152820151606082015260808101610dc7565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612eab575f80fd5b8251612eb68161257e565b602084015190925061234e8161255056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212204527b5a9f24979c45e299fc638133f10fb57c5b85c7139acc159026d6c8148f264736f6c634300081a0033",
1205
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610255575f3560e01c80637427d7a811610140578063ada9652e116100bf578063d16d0fe811610084578063d16d0fe814610593578063de7b5d14146105a6578063e145d46c146105d6578063ea15869f14610600578063f5860e1a14610627578063f80e20721461063b575f80fd5b8063ada9652e14610549578063b2a6b42d1461055d578063b423086c14610570578063b6b412ba14610578578063bf7e214f1461058b575f80fd5b80638f0c86fa116101055780638f0c86fa146104da5780638fb36037146104ed57806390edbd351461050e578063ab3fc75f14610523578063ad12ad6014610536575f80fd5b80637427d7a81461046557806376b707b7146104785780637a9e5e4b146104b657806387ef9ba0146104cb578063893d20e8146104d2575f80fd5b806322366844116101d75780635741e5e91161019c5780635741e5e9146103ee57806359660bea146103f65780635ab1bd53146104095780635dcb3bae1461041a578063644c45e01461042d5780636bd1c0eb14610435575f80fd5b8063223668441461038357806322f3e2d41461038b5780632eb3e6f4146103935780632fd17ba0146103ba57806343d752d3146103e6575f80fd5b8063138461e01161021d578063138461e01461031657806317d7de7c1461031e5780631c6b2190146103335780631eff4b221461034657806321df0da71461037b575f80fd5b806301ffc9a71461025957806307e71a6e1461029a5780630d8e6e2c146102c55780630fec111c146102e157806313299604146102f6575b5f80fd5b6102856102673660046122e4565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ad6102a8366004612322565b61064e565b6040516001600160601b039091168152602001610291565b6102cd610752565b60405162ffffff9091168152602001610291565b6102e96107d9565b6040516102919190612387565b6102fe610993565b6040516001600160a01b039091168152602001610291565b6102ad6109fb565b610326610a05565b604051610291919061241b565b6102ad61034136600461242d565b610a15565b61036d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b6102fe610a6b565b610285610a7d565b610285610b73565b61036d7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103cd6103c8366004612596565b610bea565b6040516001600160c01b03199091168152602001610291565b6102fe610c4e565b610285610c60565b6103cd610404366004612657565b610d1d565b6001546001600160a01b03166102fe565b6102ad610428366004612710565b610d74565b6102ad610dce565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102fe565b6103cd61047336600461276d565b610de9565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30054600160681b900460ff1660405160ff9091168152602001610291565b6104c96104c436600461279e565b610e69565b005b6001610285565b6102fe610eef565b6102856104e836600461279e565b611020565b6104f56110e5565b6040516001600160e01b03199091168152602001610291565b61051661111a565b60405161029191906127b9565b6104c961053136600461281f565b61113f565b6104c961054436600461283c565b6111a2565b61036d5f80516020612ec883398151915281565b6102ad61056b36600461279e565b611251565b610516611293565b6104c96105863660046128d8565b6112a3565b6102fe6112f1565b61036d6105a136600461290b565b61130c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102fe565b6105e96105e436600461276d565b611320565b6040805192835260ff909116602083015201610291565b61036d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61036d5f80516020612f0883398151915281565b6104c961064936600461290b565b6113da565b5f61065b335b5f366113e3565b61066433611020565b6106885760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601761069582826114e1565b846106a86001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071f9190612940565b61073e5760405163086391f760e31b815233600482015260240161067f565b6107488686611598565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d4919061295b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610885573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a99190612988565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016108f1610eef565b6001600160a01b0316815260200182600101805461090e906129a3565b80601f016020809104026020016040519081016040528092919081815260200182805461093a906129a3565b80156109855780601f1061095c57610100808354040283529160200191610985565b820191905f5260205f20905b81548152906001019060200180831161096857829003601f168201915b505050505081525091505090565b5f61099c610c4e565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d491906129e6565b5f6107d430611624565b6060610a0f61111a565b51919050565b5f610a1f33610654565b610a27610eef565b6001600160a01b0316336001600160a01b031614610a5a5760405163086391f760e31b815233600482015260240161067f565b610a6382611818565b90505b919050565b5f610a7461111a565b60200151905090565b5f610a906001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ad4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af89190612988565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b4f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d49190612940565b5f610b7c6112f1565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be49190612940565b15905090565b5f610bf433610654565b610bfc610eef565b6001600160a01b0316336001600160a01b031614610c2f5760405163086391f760e31b815233600482015260240161067f565b610c408a8a8a8a8a8a8a8a8a6118af565b9a9950505050505050505050565b5f610c5761111a565b60400151905090565b5f610c69610a7d565b15610ced576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610cbd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ce49190810190612a6e565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610d2733610654565b610d3033611020565b610d4f5760405163637c41bb60e01b815233600482015260240161067f565b5f610d5933611251565b9050610d6981888888888861196e565b979650505050505050565b5f610d7e33610654565b610d86610eef565b6001600160a01b0316336001600160a01b031614610db95760405163086391f760e31b815233600482015260240161067f565b610dc4848484611a24565b90505b9392505050565b5f80516020612ec8833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e0c610dce565b846040518363ffffffff1660e01b8152600401610e2a929190612b3e565b602060405180830381865af4158015610e45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a639190612b5f565b33610e726112f1565b6001600160a01b0316816001600160a01b031614610ead5760405162d1953b60e31b81526001600160a01b038216600482015260240161067f565b816001600160a01b03163b5f03610ee2576040516361798f2f60e11b81526001600160a01b038316600482015260240161067f565b610eeb82611be8565b5050565b5f805f80516020612ec883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f7f9190612940565b1561100a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610fe0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100491906129e6565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f088339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156110c1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc79190612940565b5f80516020612ee883398151915280545f9190600160a01b900460ff1661110c575f611004565b638fb3603760e01b91505090565b6111226122ac565b61112a610a7d565b15611137576107d4611c48565b6107d4611293565b61114833610654565b611150610eef565b6001600160a01b0316336001600160a01b0316146111835760405163086391f760e31b815233600482015260240161067f565b82601761119082826114e1565b61119b858585611e0f565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906129e6565b6001600160a01b0316336001600160a01b03161461123f5760405162f0630960e01b815233600482015260240161067f565b61124b84848484611ea2565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b61129b6122ac565b6107d4611c48565b6112ab610eef565b6001600160a01b0316336001600160a01b0316146112de5760405163086391f760e31b815233600482015260240161067f565b6112e733610654565b610eeb828261204b565b5f80516020612ee8833981519152546001600160a01b031690565b5f6113178282612b7a565b90505b92915050565b5f805f61132c84610de9565b905061135f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156113ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d09190612b9d565b9250925050915091565b610eeb33610654565b5f80516020612ee88339815191525f8061141b6113fe6112f1565b873061140d60045f8a8c612bc0565b61141691612be7565b6120b2565b91509150816114d95763ffffffff8116156114b657825460ff60a01b1916600160a01b1783556114496112f1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161147893929190612c1f565b5f604051808303815f87803b15801561148f575f80fd5b505af11580156114a1573d5f803e3d5ffd5b5050845460ff60a01b19168555506114d99050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161067f565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611543573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115679190612940565b610eeb5760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161067f565b5f5f80516020612f08833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611600573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113179190612988565b5f805f80516020612ec883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611690573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b49190612940565b156116e05780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161067f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611732573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117569190612940565b61177e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161067f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f49190612988565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561188b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a639190612988565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163017e8bdd60e51b81525f915f80516020612f08833981519152916001600160a01b0390911690632fd17ba09061191f908e908e908e908e908e908e908e908e908e90600401612c5e565b6020604051808303815f875af115801561193b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061195f9190612b5f565b9b9a5050505050505050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020612f08833981519152916001600160a01b0390911690638dd2b781906119d8908b908b908b908b908b908b90600401612cd0565b6020604051808303815f875af11580156119f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a189190612b5f565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f088339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae99190612940565b15611b34576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161067f565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611b6a90889088908890600401612d2f565b6020604051808303815f875af1158015611b86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611baa9190612988565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020612ee883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611c506122ac565b5f611c636001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611ca7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ccb9190612988565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d489190612940565b15611e07577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611d85610dce565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611dc6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ded9190810190612d62565b60408101519092506001600160a01b031615611e07575090565b6110046121ba565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020612f08833981519152916001600160a01b03169063ab3fc75f90611e6f90879087908790600401612e2b565b5f604051808303815f87803b158015611e86575f80fd5b505af1158015611e98573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020612f08833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f619190612988565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015611fe7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200b9190612988565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020612f0883398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906120899085908590600401612e5e565b5f604051808303815f87803b1580156120a0575f80fd5b505af11580156114d9573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121209190612e84565b5f60405180830381855afa9150503d805f8114612158576040519150601f19603f3d011682016040523d82523d5f602084013e61215d565b606091505b509150915081156121af57604081511061218f57808060200190518101906121859190612e9a565b90945092506121af565b60208151106121af57808060200190518101906121ac9190612940565b93505b505094509492505050565b6121c26122ac565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546121ff906129a3565b80601f016020809104026020016040519081016040528092919081815260200182805461222b906129a3565b80156122765780601f1061224d57610100808354040283529160200191612276565b820191905f5260205f20905b81548152906001019060200180831161225957829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161090e906129a3565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156122f4575f80fd5b81356001600160e01b031981168114610dc7575f80fd5b6001600160601b038116811461231f575f80fd5b50565b5f8060408385031215612333575f80fd5b823561233e8161230b565b9150602083013561234e8161230b565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516123cf608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612413610100840182612359565b949350505050565b602081525f6113176020830184612359565b5f6020828403121561243d575f80fd5b8135610dc78161230b565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561247e5761247e612448565b60405290565b604051608081016001600160401b038111828210171561247e5761247e612448565b604051601f8201601f191681016001600160401b03811182821017156124ce576124ce612448565b604052919050565b5f6001600160401b038211156124ee576124ee612448565b50601f01601f191660200190565b5f82601f83011261250b575f80fd5b8135602083015f61252361251e846124d6565b6124a6565b9050828152858383011115612536575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461231f575f80fd5b64ffffffffff8116811461231f575f80fd5b8035610a6681612561565b801515811461231f575f80fd5b8035610a668161257e565b5f805f805f805f805f6101208a8c0312156125af575f80fd5b89356001600160401b038111156125c4575f80fd5b6125d08c828d016124fc565b99505060208a0135975060408a0135965060608a0135955060808a01356125f681612550565b945061260460a08b01612573565b935061261260c08b0161258b565b925061262060e08b0161258b565b91506101008a01356001600160401b0381111561263b575f80fd5b6126478c828d016124fc565b9150509295985092959850929598565b5f805f805f60a0868803121561266b575f80fd5b85356001600160401b03811115612680575f80fd5b61268c888289016124fc565b9550506020860135935060408601356126a481612550565b925060608601356126b481612561565b915060808601356001600160401b038111156126ce575f80fd5b6126da888289016124fc565b9150509295509295909350565b6001600160a01b038116811461231f575f80fd5b6001600160c01b03198116811461231f575f80fd5b5f805f60608486031215612722575f80fd5b833561272d816126e7565b9250602084013561273d816126fb565b915060408401356001600160401b03811115612757575f80fd5b612763868287016124fc565b9150509250925092565b5f6020828403121561277d575f80fd5b81356001600160401b03811115612792575f80fd5b612413848285016124fc565b5f602082840312156127ae575f80fd5b8135610dc7816126e7565b602081525f8251608060208401526127d460a0840182612359565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506128168282612359565b95945050505050565b5f805f60608486031215612831575f80fd5b833561272d8161230b565b5f805f806080858703121561284f575f80fd5b843561285a816126e7565b9350602085013561286a816126e7565b9250604085013591506060850135612881816126e7565b939692955090935050565b5f6040828403121561289c575f80fd5b604080519081016001600160401b03811182821017156128be576128be612448565b604052823581526020928301359281019290925250919050565b5f80608083850312156128e9575f80fd5b6128f3848461288c565b9150612902846040850161288c565b90509250929050565b5f806040838503121561291c575f80fd5b8235612927816126fb565b946020939093013593505050565b8051610a668161257e565b5f60208284031215612950575f80fd5b8151610dc78161257e565b5f6020828403121561296b575f80fd5b815162ffffff81168114610dc7575f80fd5b8051610a668161230b565b5f60208284031215612998575f80fd5b8151610dc78161230b565b600181811c908216806129b757607f821691505b6020821081036129d557634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a66816126e7565b5f602082840312156129f6575f80fd5b8151610dc7816126e7565b60ff8116811461231f575f80fd5b8051610a6681612a01565b5f612a2761251e846124d6565b9050828152838383011115612a3a575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a5f575f80fd5b61131783835160208501612a1a565b5f60208284031215612a7e575f80fd5b81516001600160401b03811115612a93575f80fd5b820160e08185031215612aa4575f80fd5b612aac61245c565b612ab58261297d565b8152612ac36020830161297d565b6020820152612ad460408301612a0f565b6040820152612ae560608301612935565b6060820152612af6608083016129db565b6080820152612b0760a083016129db565b60a082015260c08201516001600160401b03811115612b24575f80fd5b612b3086828501612a50565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610dc46040830184612359565b5f60208284031215612b6f575f80fd5b8151610dc7816126fb565b808202811582820484141761131a57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612bae575f80fd5b82519150602083015161234e81612a01565b5f8085851115612bce575f80fd5b83861115612bda575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612c18576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612c7261012083018c612359565b8a602084015289604084015288606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612cc08185612359565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612cf160c0830188612359565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612d228185612359565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061281690830184612359565b5f60208284031215612d72575f80fd5b81516001600160401b03811115612d87575f80fd5b820160808185031215612d98575f80fd5b612da0612484565b81516001600160401b03811115612db5575f80fd5b8201601f81018613612dc5575f80fd5b612dd486825160208401612a1a565b825250612de3602083016129db565b6020820152612df4604083016129db565b604082015260608201516001600160401b03811115612e11575f80fd5b612e1d86828501612a50565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6128166060830184612359565b825181526020808401518183015282516040830152820151606082015260808101610dc7565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612eab575f80fd5b8251612eb68161257e565b602084015190925061234e8161255056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212204527b5a9f24979c45e299fc638133f10fb57c5b85c7139acc159026d6c8148f264736f6c634300081a0033",
1142
+ "bytecode": "0x6080604052348015600e575f80fd5b50612d358061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fe7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612025565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061208a565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b919061211e565b61033061032b3660046122a8565b61098c565b6040516001600160c01b0319909116815260200161027b565b61029761035736600461237e565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123ae565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a36600461240b565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c61047736600461243c565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b9190612457565b6103306104d13660046124a5565b61102d565b61047c6104e436600461254f565b6110fa565b61047c6104f736600461256c565b61115d565b6103835f80516020612c8083398151915281565b6104b6611200565b6102e8611210565b61038361052e3660046125bc565b61122b565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b61057661057136600461240b565b61123f565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612646565b6112f9565b6103835f80516020612ce083398151915281565b61047c6105f33660046125bc565b611347565b5f610605335b5f36611350565b826017610612828261144e565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610652929190612679565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069191906126a6565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf8686611582565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126c1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126ee565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b0316815260200182600101805461088590612709565b80601f01602080910402602001604051908101604052809291908181526020018280546108b190612709565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061274c565b5f61074b3061160e565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611850565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e826118fc565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126ee565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126a6565b5f610b89611210565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf191906126a6565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d91908101906127d4565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f848484611993565b90505b9392505050565b5f80516020612c80833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d759291906128a4565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906128c5565b5f610dbd611210565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128e0565b33610e25611210565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a2d565b5050565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3291906126a6565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061274c565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ca083398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b611010611fbe565b611018610a8a565b156110255761074b611a8d565b61074b611200565b5f611037336105fe565b8661104a6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611077929190612679565b602060405180830381865afa158015611092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b691906126a6565b6110d55760405163086391f760e31b81523360048201526024016106ac565b6110e088601761144e565b6110ee888888888888611c54565b98975050505050505050565b611103336105fe565b61110b610ea2565b6001600160a01b0316336001600160a01b03161461113e5760405163086391f760e31b81523360048201526024016106ac565b82601761114b828261144e565b611156858585611ceb565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c8919061274c565b6001600160a01b0316336001600160a01b0316146111fa5760405162f0630960e01b81523360048201526024016106ac565b50505050565b611208611fbe565b61074b611a8d565b5f80516020612ca0833981519152546001600160a01b031690565b5f61123682826128fb565b90505b92915050565b5f805f61124b84610d34565b905061127e7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ef919061291e565b9250925050915091565b611301610ea2565b6001600160a01b0316336001600160a01b0316146113345760405163086391f760e31b81523360048201526024016106ac565b61133d336105fe565b610e9e8282611d6b565b610e9e336105fe565b5f80516020612ca08339815191525f8061138861136b611210565b873061137a60045f8a8c61294b565b61138391612972565b611dd2565b91509150816114465763ffffffff81161561142357825460ff60a01b1916600160a01b1783556113b6611210565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113e5939291906129aa565b5f604051808303815f87803b1580156113fc575f80fd5b505af115801561140e573d5f803e3d5ffd5b5050845460ff60a01b19168555506114469050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561149e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c291906126a6565b8061155057506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561152a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154e91906126a6565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612ce0833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af11580156115ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123691906126ee565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561167a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169e91906126a6565b156116ca5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561171c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174091906126a6565b6117685760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117de91906126ee565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061182a610ea2565b604051611838929190612679565b60405180910390a1546001600160601b031692915050565b5f80516020612cc083398151915254604051630ded2f7d60e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690631bda5efa906118ad908e908e908e908e908e908e908e908e908e906004016129e9565b6020604051808303815f875af11580156118c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ed91906128c5565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561196f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126ee565b5f80516020612cc083398151915254604051632ee59dd760e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690635dcb3bae906119e490889088908890600401612a68565b6020604051808303815f875af1158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2491906126ee565b95945050505050565b5f80516020612ca083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a95611fbe565b5f611aa86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611aec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1091906126ee565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d91906126a6565b15611c4c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bca610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c329190810190612a9b565b60208101519092506001600160a01b031615611c4c575090565b610fb7611eda565b5f80516020612cc08339815191525460405163987cb16160e01b81525f915f80516020612ce0833981519152916001600160a01b039091169063987cb16190611cab908b908b908b908b908b908b90600401612b55565b6020604051808303815f875af1158015611cc7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ee91906128c5565b5f80516020612cc08339815191525460405163ab3fc75f60e01b81525f80516020612ce0833981519152916001600160a01b03169063ab3fc75f90611d3890879087908790600401612bbd565b5f604051808303815f87803b158015611d4f575f80fd5b505af1158015611d61573d5f803e3d5ffd5b5050505050505050565b5f80516020612ce08339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611da99085908590600401612bf0565b5f604051808303815f87803b158015611dc0575f80fd5b505af1158015611446573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e409190612c3c565b5f60405180830381855afa9150503d805f8114611e78576040519150601f19603f3d011682016040523d82523d5f602084013e611e7d565b606091505b50915091508115611ecf576040815110611eaf5780806020019051810190611ea59190612c52565b9094509250611ecf565b6020815110611ecf5780806020019051810190611ecc91906126a6565b93505b505094509492505050565b611ee2611fbe565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054611f1f90612709565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b90612709565b8015611f965780601f10611f6d57610100808354040283529160200191611f96565b820191905f5260205f20905b815481529060010190602001808311611f7957829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461088590612709565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611ff7575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612022575f80fd5b50565b5f8060408385031215612036575f80fd5b82356120418161200e565b915060208301356120518161200e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120d2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261211661010084018261205c565b949350505050565b602081525f611236602083018461205c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561216657612166612130565b60405290565b604051606081016001600160401b038111828210171561216657612166612130565b604051601f8201601f191681016001600160401b03811182821017156121b6576121b6612130565b604052919050565b5f6001600160401b038211156121d6576121d6612130565b50601f01601f191660200190565b5f82601f8301126121f3575f80fd5b8135602083015f61220b612206846121be565b61218e565b905082815285838301111561221e575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612022575f80fd5b8035610a4181612238565b63ffffffff81168114612022575f80fd5b8035610a4181612257565b64ffffffffff81168114612022575f80fd5b8035610a4181612273565b8015158114612022575f80fd5b8035610a4181612290565b5f805f805f805f805f6101208a8c0312156122c1575f80fd5b89356001600160401b038111156122d6575f80fd5b6122e28c828d016121e4565b99505060208a01356122f381612238565b975061230160408b0161224c565b965061230f60608b0161224c565b955061231d60808b01612268565b945061232b60a08b01612285565b935061233960c08b0161229d565b925061234760e08b0161229d565b91506101008a01356001600160401b03811115612362575f80fd5b61236e8c828d016121e4565b9150509295985092959850929598565b5f6020828403121561238e575f80fd5b8135610d128161200e565b6001600160c01b031981168114612022575f80fd5b5f805f606084860312156123c0575f80fd5b83356123cb81612238565b925060208401356123db81612399565b915060408401356001600160401b038111156123f5575f80fd5b612401868287016121e4565b9150509250925092565b5f6020828403121561241b575f80fd5b81356001600160401b03811115612430575f80fd5b612116848285016121e4565b5f6020828403121561244c575f80fd5b8135610d1281612238565b602081525f825160606020840152612472608084018261205c565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611a24828261205c565b5f805f805f8060c087890312156124ba575f80fd5b86356124c58161200e565b955060208701356001600160401b038111156124df575f80fd5b6124eb89828a016121e4565b95505060408701356124fc81612238565b9350606087013561250c81612257565b9250608087013561251c81612273565b915060a08701356001600160401b03811115612536575f80fd5b61254289828a016121e4565b9150509295509295509295565b5f805f60608486031215612561575f80fd5b83356123cb8161200e565b5f805f806080858703121561257f575f80fd5b843561258a81612238565b9350602085013561259a81612238565b92506040850135915060608501356125b181612238565b939692955090935050565b5f80604083850312156125cd575f80fd5b82356125d881612399565b946020939093013593505050565b5f604082840312156125f6575f80fd5b604080519081016001600160401b038111828210171561261857612618612130565b604052905080823561262981612238565b815260208301356126398161200e565b6020919091015292915050565b5f8060808385031215612657575f80fd5b61266184846125e6565b915061267084604085016125e6565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612290565b5f602082840312156126b6575f80fd5b8151610d1281612290565b5f602082840312156126d1575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a418161200e565b5f602082840312156126fe575f80fd5b8151610d128161200e565b600181811c9082168061271d57607f821691505b60208210810361273b57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a4181612238565b5f6020828403121561275c575f80fd5b8151610d1281612238565b60ff81168114612022575f80fd5b8051610a4181612767565b5f61278d612206846121be565b90508281528383830111156127a0575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126127c5575f80fd5b61123683835160208501612780565b5f602082840312156127e4575f80fd5b81516001600160401b038111156127f9575f80fd5b820160e0818503121561280a575f80fd5b612812612144565b61281b826126e3565b8152612829602083016126e3565b602082015261283a60408301612775565b604082015261284b6060830161269b565b606082015261285c60808301612741565b608082015261286d60a08301612741565b60a082015260c08201516001600160401b0381111561288a575f80fd5b612896868285016127b6565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f604083018461205c565b5f602082840312156128d5575f80fd5b8151610d1281612399565b5f602082840312156128f0575f80fd5b8151610d1281612767565b808202811582820484141761123957634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561292f575f80fd5b825161293a81612238565b602084015190925061205181612767565b5f8085851115612959575f80fd5b83861115612965575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156129a3576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129fd61012083018c61205c565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a58818561205c565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a249083018461205c565b5f60208284031215612aab575f80fd5b81516001600160401b03811115612ac0575f80fd5b820160608185031215612ad1575f80fd5b612ad961216c565b81516001600160401b03811115612aee575f80fd5b8201601f81018613612afe575f80fd5b612b0d86825160208401612780565b8252506020820151612b1e81612238565b602082015260408201516001600160401b03811115612b3b575f80fd5b612b47868285016127b6565b604083015250949350505050565b6001600160601b038716815260c060208201525f612b7660c083018861205c565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612bb0818561205c565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a24606083018461205c565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612c63575f80fd5b8251612c6e81612290565b60208401519092506120518161225756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a2646970667358221220490980df053a066c9bf5ffb6b3b2d481d1d891ecad4387d78fb4b54f8df7504164736f6c634300081a0033",
1143
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fe7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612025565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061208a565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b919061211e565b61033061032b3660046122a8565b61098c565b6040516001600160c01b0319909116815260200161027b565b61029761035736600461237e565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123ae565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a36600461240b565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c61047736600461243c565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b9190612457565b6103306104d13660046124a5565b61102d565b61047c6104e436600461254f565b6110fa565b61047c6104f736600461256c565b61115d565b6103835f80516020612c8083398151915281565b6104b6611200565b6102e8611210565b61038361052e3660046125bc565b61122b565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b61057661057136600461240b565b61123f565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612646565b6112f9565b6103835f80516020612ce083398151915281565b61047c6105f33660046125bc565b611347565b5f610605335b5f36611350565b826017610612828261144e565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610652929190612679565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069191906126a6565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf8686611582565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126c1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126ee565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b0316815260200182600101805461088590612709565b80601f01602080910402602001604051908101604052809291908181526020018280546108b190612709565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061274c565b5f61074b3061160e565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611850565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e826118fc565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126ee565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126a6565b5f610b89611210565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf191906126a6565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d91908101906127d4565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f848484611993565b90505b9392505050565b5f80516020612c80833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d759291906128a4565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906128c5565b5f610dbd611210565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128e0565b33610e25611210565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a2d565b5050565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3291906126a6565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061274c565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ca083398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b611010611fbe565b611018610a8a565b156110255761074b611a8d565b61074b611200565b5f611037336105fe565b8661104a6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611077929190612679565b602060405180830381865afa158015611092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b691906126a6565b6110d55760405163086391f760e31b81523360048201526024016106ac565b6110e088601761144e565b6110ee888888888888611c54565b98975050505050505050565b611103336105fe565b61110b610ea2565b6001600160a01b0316336001600160a01b03161461113e5760405163086391f760e31b81523360048201526024016106ac565b82601761114b828261144e565b611156858585611ceb565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c8919061274c565b6001600160a01b0316336001600160a01b0316146111fa5760405162f0630960e01b81523360048201526024016106ac565b50505050565b611208611fbe565b61074b611a8d565b5f80516020612ca0833981519152546001600160a01b031690565b5f61123682826128fb565b90505b92915050565b5f805f61124b84610d34565b905061127e7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ef919061291e565b9250925050915091565b611301610ea2565b6001600160a01b0316336001600160a01b0316146113345760405163086391f760e31b81523360048201526024016106ac565b61133d336105fe565b610e9e8282611d6b565b610e9e336105fe565b5f80516020612ca08339815191525f8061138861136b611210565b873061137a60045f8a8c61294b565b61138391612972565b611dd2565b91509150816114465763ffffffff81161561142357825460ff60a01b1916600160a01b1783556113b6611210565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113e5939291906129aa565b5f604051808303815f87803b1580156113fc575f80fd5b505af115801561140e573d5f803e3d5ffd5b5050845460ff60a01b19168555506114469050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561149e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c291906126a6565b8061155057506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561152a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154e91906126a6565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612ce0833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af11580156115ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123691906126ee565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561167a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169e91906126a6565b156116ca5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561171c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174091906126a6565b6117685760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117de91906126ee565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061182a610ea2565b604051611838929190612679565b60405180910390a1546001600160601b031692915050565b5f80516020612cc083398151915254604051630ded2f7d60e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690631bda5efa906118ad908e908e908e908e908e908e908e908e908e906004016129e9565b6020604051808303815f875af11580156118c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ed91906128c5565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561196f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126ee565b5f80516020612cc083398151915254604051632ee59dd760e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690635dcb3bae906119e490889088908890600401612a68565b6020604051808303815f875af1158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2491906126ee565b95945050505050565b5f80516020612ca083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a95611fbe565b5f611aa86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611aec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1091906126ee565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d91906126a6565b15611c4c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bca610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c329190810190612a9b565b60208101519092506001600160a01b031615611c4c575090565b610fb7611eda565b5f80516020612cc08339815191525460405163987cb16160e01b81525f915f80516020612ce0833981519152916001600160a01b039091169063987cb16190611cab908b908b908b908b908b908b90600401612b55565b6020604051808303815f875af1158015611cc7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ee91906128c5565b5f80516020612cc08339815191525460405163ab3fc75f60e01b81525f80516020612ce0833981519152916001600160a01b03169063ab3fc75f90611d3890879087908790600401612bbd565b5f604051808303815f87803b158015611d4f575f80fd5b505af1158015611d61573d5f803e3d5ffd5b5050505050505050565b5f80516020612ce08339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611da99085908590600401612bf0565b5f604051808303815f87803b158015611dc0575f80fd5b505af1158015611446573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e409190612c3c565b5f60405180830381855afa9150503d805f8114611e78576040519150601f19603f3d011682016040523d82523d5f602084013e611e7d565b606091505b50915091508115611ecf576040815110611eaf5780806020019051810190611ea59190612c52565b9094509250611ecf565b6020815110611ecf5780806020019051810190611ecc91906126a6565b93505b505094509492505050565b611ee2611fbe565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054611f1f90612709565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b90612709565b8015611f965780601f10611f6d57610100808354040283529160200191611f96565b820191905f5260205f20905b815481529060010190602001808311611f7957829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461088590612709565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611ff7575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612022575f80fd5b50565b5f8060408385031215612036575f80fd5b82356120418161200e565b915060208301356120518161200e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120d2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261211661010084018261205c565b949350505050565b602081525f611236602083018461205c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561216657612166612130565b60405290565b604051606081016001600160401b038111828210171561216657612166612130565b604051601f8201601f191681016001600160401b03811182821017156121b6576121b6612130565b604052919050565b5f6001600160401b038211156121d6576121d6612130565b50601f01601f191660200190565b5f82601f8301126121f3575f80fd5b8135602083015f61220b612206846121be565b61218e565b905082815285838301111561221e575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612022575f80fd5b8035610a4181612238565b63ffffffff81168114612022575f80fd5b8035610a4181612257565b64ffffffffff81168114612022575f80fd5b8035610a4181612273565b8015158114612022575f80fd5b8035610a4181612290565b5f805f805f805f805f6101208a8c0312156122c1575f80fd5b89356001600160401b038111156122d6575f80fd5b6122e28c828d016121e4565b99505060208a01356122f381612238565b975061230160408b0161224c565b965061230f60608b0161224c565b955061231d60808b01612268565b945061232b60a08b01612285565b935061233960c08b0161229d565b925061234760e08b0161229d565b91506101008a01356001600160401b03811115612362575f80fd5b61236e8c828d016121e4565b9150509295985092959850929598565b5f6020828403121561238e575f80fd5b8135610d128161200e565b6001600160c01b031981168114612022575f80fd5b5f805f606084860312156123c0575f80fd5b83356123cb81612238565b925060208401356123db81612399565b915060408401356001600160401b038111156123f5575f80fd5b612401868287016121e4565b9150509250925092565b5f6020828403121561241b575f80fd5b81356001600160401b03811115612430575f80fd5b612116848285016121e4565b5f6020828403121561244c575f80fd5b8135610d1281612238565b602081525f825160606020840152612472608084018261205c565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611a24828261205c565b5f805f805f8060c087890312156124ba575f80fd5b86356124c58161200e565b955060208701356001600160401b038111156124df575f80fd5b6124eb89828a016121e4565b95505060408701356124fc81612238565b9350606087013561250c81612257565b9250608087013561251c81612273565b915060a08701356001600160401b03811115612536575f80fd5b61254289828a016121e4565b9150509295509295509295565b5f805f60608486031215612561575f80fd5b83356123cb8161200e565b5f805f806080858703121561257f575f80fd5b843561258a81612238565b9350602085013561259a81612238565b92506040850135915060608501356125b181612238565b939692955090935050565b5f80604083850312156125cd575f80fd5b82356125d881612399565b946020939093013593505050565b5f604082840312156125f6575f80fd5b604080519081016001600160401b038111828210171561261857612618612130565b604052905080823561262981612238565b815260208301356126398161200e565b6020919091015292915050565b5f8060808385031215612657575f80fd5b61266184846125e6565b915061267084604085016125e6565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612290565b5f602082840312156126b6575f80fd5b8151610d1281612290565b5f602082840312156126d1575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a418161200e565b5f602082840312156126fe575f80fd5b8151610d128161200e565b600181811c9082168061271d57607f821691505b60208210810361273b57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a4181612238565b5f6020828403121561275c575f80fd5b8151610d1281612238565b60ff81168114612022575f80fd5b8051610a4181612767565b5f61278d612206846121be565b90508281528383830111156127a0575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126127c5575f80fd5b61123683835160208501612780565b5f602082840312156127e4575f80fd5b81516001600160401b038111156127f9575f80fd5b820160e0818503121561280a575f80fd5b612812612144565b61281b826126e3565b8152612829602083016126e3565b602082015261283a60408301612775565b604082015261284b6060830161269b565b606082015261285c60808301612741565b608082015261286d60a08301612741565b60a082015260c08201516001600160401b0381111561288a575f80fd5b612896868285016127b6565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f604083018461205c565b5f602082840312156128d5575f80fd5b8151610d1281612399565b5f602082840312156128f0575f80fd5b8151610d1281612767565b808202811582820484141761123957634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561292f575f80fd5b825161293a81612238565b602084015190925061205181612767565b5f8085851115612959575f80fd5b83861115612965575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156129a3576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129fd61012083018c61205c565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a58818561205c565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a249083018461205c565b5f60208284031215612aab575f80fd5b81516001600160401b03811115612ac0575f80fd5b820160608185031215612ad1575f80fd5b612ad961216c565b81516001600160401b03811115612aee575f80fd5b8201601f81018613612afe575f80fd5b612b0d86825160208401612780565b8252506020820151612b1e81612238565b602082015260408201516001600160401b03811115612b3b575f80fd5b612b47868285016127b6565b604083015250949350505050565b6001600160601b038716815260c060208201525f612b7660c083018861205c565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612bb0818561205c565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a24606083018461205c565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612c63575f80fd5b8251612c6e81612290565b60208401519092506120518161225756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a2646970667358221220490980df053a066c9bf5ffb6b3b2d481d1d891ecad4387d78fb4b54f8df7504164736f6c634300081a0033",
1206
1144
  "linkReferences": {
1207
1145
  "contracts/type/NftId.sol": {
1208
1146
  "NftIdLib": [
1209
1147
  {
1210
1148
  "length": 20,
1211
- "start": 2140
1149
+ "start": 2003
1212
1150
  },
1213
1151
  {
1214
1152
  "length": 20,
1215
- "start": 2867
1153
+ "start": 2880
1216
1154
  },
1217
1155
  {
1218
1156
  "length": 20,
1219
- "start": 3903
1157
+ "start": 3826
1220
1158
  },
1221
1159
  {
1222
1160
  "length": 20,
1223
- "start": 4261
1161
+ "start": 5726
1224
1162
  },
1225
1163
  {
1226
1164
  "length": 20,
1227
- "start": 5748
1228
- },
1229
- {
1230
- "length": 20,
1231
- "start": 6825
1232
- },
1233
- {
1234
- "length": 20,
1235
- "start": 7432
1236
- },
1237
- {
1238
- "length": 20,
1239
- "start": 7956
1240
- },
1165
+ "start": 6989
1166
+ }
1167
+ ]
1168
+ },
1169
+ "contracts/type/ObjectType.sol": {
1170
+ "ObjectTypeLib": [
1241
1171
  {
1242
1172
  "length": 20,
1243
- "start": 8139
1173
+ "start": 5250
1244
1174
  }
1245
1175
  ]
1246
1176
  },
@@ -1248,7 +1178,7 @@
1248
1178
  "ReferralLib": [
1249
1179
  {
1250
1180
  "length": 20,
1251
- "start": 3592
1181
+ "start": 3411
1252
1182
  }
1253
1183
  ]
1254
1184
  },
@@ -1256,7 +1186,7 @@
1256
1186
  "VersionLib": [
1257
1187
  {
1258
1188
  "length": 20,
1259
- "start": 1940
1189
+ "start": 1803
1260
1190
  }
1261
1191
  ]
1262
1192
  }
@@ -1266,39 +1196,31 @@
1266
1196
  "NftIdLib": [
1267
1197
  {
1268
1198
  "length": 20,
1269
- "start": 2112
1270
- },
1271
- {
1272
- "length": 20,
1273
- "start": 2839
1274
- },
1275
- {
1276
- "length": 20,
1277
- "start": 3875
1278
- },
1279
- {
1280
- "length": 20,
1281
- "start": 4233
1199
+ "start": 1975
1282
1200
  },
1283
1201
  {
1284
1202
  "length": 20,
1285
- "start": 5720
1203
+ "start": 2852
1286
1204
  },
1287
1205
  {
1288
1206
  "length": 20,
1289
- "start": 6797
1207
+ "start": 3798
1290
1208
  },
1291
1209
  {
1292
1210
  "length": 20,
1293
- "start": 7404
1211
+ "start": 5698
1294
1212
  },
1295
1213
  {
1296
1214
  "length": 20,
1297
- "start": 7928
1298
- },
1215
+ "start": 6961
1216
+ }
1217
+ ]
1218
+ },
1219
+ "contracts/type/ObjectType.sol": {
1220
+ "ObjectTypeLib": [
1299
1221
  {
1300
1222
  "length": 20,
1301
- "start": 8111
1223
+ "start": 5222
1302
1224
  }
1303
1225
  ]
1304
1226
  },
@@ -1306,7 +1228,7 @@
1306
1228
  "ReferralLib": [
1307
1229
  {
1308
1230
  "length": 20,
1309
- "start": 3564
1231
+ "start": 3383
1310
1232
  }
1311
1233
  ]
1312
1234
  },
@@ -1314,7 +1236,7 @@
1314
1236
  "VersionLib": [
1315
1237
  {
1316
1238
  "length": 20,
1317
- "start": 1912
1239
+ "start": 1775
1318
1240
  }
1319
1241
  ]
1320
1242
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fe6349146d06341fb21f060b157460cc.json"
3
+ "buildInfo": "../../../build-info/8b432be61b97da527635e48878c086a2.json"
4
4
  }