@etherisc/gif-next 0.0.2-d87995e-298 → 0.0.2-d8ddca8-422

Sign up to get free protection for your applications and to get access to all the features.
Files changed (551) hide show
  1. package/README.md +92 -9
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +549 -209
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +183 -487
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +102 -387
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +644 -392
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +209 -133
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +96 -191
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +476 -137
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +567 -67
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +385 -60
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +573 -165
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1034 -311
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +369 -68
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1689 -773
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +399 -231
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +143 -105
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +976 -765
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +127 -355
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
  109. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +103 -133
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +103 -323
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +177 -97
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +160 -438
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +502 -364
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +194 -114
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +340 -112
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +139 -236
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +711 -340
  134. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  135. package/artifacts/contracts/pool/Pool.sol/Pool.json +129 -416
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  137. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  139. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +925 -545
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +230 -106
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  143. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +353 -180
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +159 -99
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  147. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +272 -431
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  149. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  151. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +466 -245
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +187 -123
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +301 -9
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +350 -18
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +405 -102
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  163. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +257 -226
  164. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  165. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +511 -303
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  169. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +196 -108
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  173. package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +165 -137
  176. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  177. package/artifacts/contracts/product/Product.sol/Product.json +264 -423
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  179. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  183. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  185. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +359 -48
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  189. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  192. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/Registry.sol/Registry.json +565 -109
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +791 -377
  196. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  197. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +141 -89
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +483 -253
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  212. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  213. package/artifacts/contracts/shared/Component.sol/Component.json +86 -277
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +493 -638
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +183 -133
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -93
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +103 -133
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +42 -6
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  239. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  242. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  245. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  246. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  248. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +102 -322
  249. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  250. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +48 -7
  251. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  253. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  263. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  269. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1510 -191
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  275. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  276. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  277. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  278. package/artifacts/contracts/staking/Staking.sol/Staking.json +1651 -455
  279. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  280. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  281. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +199 -105
  283. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  285. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +282 -281
  287. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +144 -96
  289. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1588 -765
  291. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  292. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  293. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +180 -77
  295. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  296. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  298. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  300. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  302. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  304. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  306. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  308. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  310. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  312. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  314. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  316. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  318. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  320. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  322. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  324. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  326. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +93 -2
  330. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  332. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  334. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  336. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +24 -5
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  342. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  346. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +118 -79
  350. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  352. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  354. package/contracts/accounting/AccountingService.sol +274 -0
  355. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  356. package/contracts/accounting/IAccountingService.sol +47 -0
  357. package/contracts/authorization/AccessAdmin.sol +458 -269
  358. package/contracts/authorization/AccessAdminLib.sol +396 -0
  359. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  360. package/contracts/authorization/Authorization.sol +159 -208
  361. package/contracts/authorization/IAccess.sol +25 -6
  362. package/contracts/authorization/IAccessAdmin.sol +87 -79
  363. package/contracts/authorization/IAuthorization.sol +9 -37
  364. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  365. package/contracts/authorization/ServiceAuthorization.sol +255 -25
  366. package/contracts/distribution/BasicDistribution.sol +20 -17
  367. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  368. package/contracts/distribution/Distribution.sol +44 -92
  369. package/contracts/distribution/DistributionService.sol +243 -132
  370. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  371. package/contracts/distribution/IDistributionComponent.sol +4 -11
  372. package/contracts/distribution/IDistributionService.sol +47 -29
  373. package/contracts/examples/fire/DamageLevel.sol +59 -0
  374. package/contracts/examples/fire/FirePool.sol +86 -0
  375. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  376. package/contracts/examples/fire/FireProduct.sol +433 -0
  377. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  378. package/contracts/examples/fire/FireUSD.sol +26 -0
  379. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  380. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  381. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  382. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  383. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  384. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  385. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  386. package/contracts/instance/BundleSet.sol +42 -38
  387. package/contracts/instance/IInstance.sol +102 -43
  388. package/contracts/instance/IInstanceService.sol +59 -34
  389. package/contracts/instance/Instance.sol +193 -100
  390. package/contracts/instance/InstanceAdmin.sol +275 -158
  391. package/contracts/instance/InstanceAuthorizationV3.sol +120 -58
  392. package/contracts/instance/InstanceReader.sol +478 -251
  393. package/contracts/instance/InstanceService.sol +293 -236
  394. package/contracts/instance/InstanceServiceManager.sol +6 -7
  395. package/contracts/instance/InstanceStore.sol +23 -2
  396. package/contracts/instance/RiskSet.sol +126 -0
  397. package/contracts/instance/base/BalanceStore.sol +4 -6
  398. package/contracts/instance/base/ObjectCounter.sol +1 -2
  399. package/contracts/instance/base/ObjectLifecycle.sol +13 -10
  400. package/contracts/instance/base/ObjectSet.sol +31 -33
  401. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  402. package/contracts/instance/module/IBundle.sol +6 -5
  403. package/contracts/instance/module/IComponents.sol +30 -19
  404. package/contracts/instance/module/IDistribution.sol +21 -8
  405. package/contracts/instance/module/IPolicy.sol +50 -29
  406. package/contracts/instance/module/IRisk.sol +5 -0
  407. package/contracts/mock/Dip.sol +1 -1
  408. package/contracts/oracle/BasicOracle.sol +2 -5
  409. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  410. package/contracts/oracle/IOracle.sol +9 -4
  411. package/contracts/oracle/IOracleService.sol +2 -1
  412. package/contracts/oracle/Oracle.sol +9 -21
  413. package/contracts/oracle/OracleService.sol +119 -87
  414. package/contracts/oracle/OracleServiceManager.sol +6 -6
  415. package/contracts/pool/BasicPool.sol +39 -41
  416. package/contracts/pool/BasicPoolAuthorization.sol +39 -13
  417. package/contracts/pool/BundleService.sol +200 -155
  418. package/contracts/pool/BundleServiceManager.sol +6 -6
  419. package/contracts/pool/IBundleService.sol +42 -46
  420. package/contracts/pool/IPoolComponent.sol +19 -15
  421. package/contracts/pool/IPoolService.sol +97 -77
  422. package/contracts/pool/Pool.sol +143 -138
  423. package/contracts/pool/PoolLib.sol +341 -0
  424. package/contracts/pool/PoolService.sol +413 -233
  425. package/contracts/pool/PoolServiceManager.sol +4 -4
  426. package/contracts/product/ApplicationService.sol +143 -46
  427. package/contracts/product/ApplicationServiceManager.sol +4 -4
  428. package/contracts/product/BasicProduct.sol +11 -14
  429. package/contracts/product/BasicProductAuthorization.sol +32 -12
  430. package/contracts/product/ClaimService.sol +385 -172
  431. package/contracts/product/ClaimServiceManager.sol +4 -4
  432. package/contracts/product/IApplicationService.sol +29 -3
  433. package/contracts/product/IClaimService.sol +48 -11
  434. package/contracts/product/IPolicyService.sol +61 -39
  435. package/contracts/product/IPricingService.sol +11 -10
  436. package/contracts/product/IProductComponent.sol +27 -5
  437. package/contracts/product/IRiskService.sol +48 -0
  438. package/contracts/product/PolicyService.sol +431 -285
  439. package/contracts/product/PolicyServiceLib.sol +139 -0
  440. package/contracts/product/PolicyServiceManager.sol +4 -4
  441. package/contracts/product/PricingService.sol +90 -84
  442. package/contracts/product/PricingServiceManager.sol +4 -4
  443. package/contracts/product/Product.sol +196 -104
  444. package/contracts/product/RiskService.sol +190 -0
  445. package/contracts/product/RiskServiceManager.sol +39 -0
  446. package/contracts/registry/ChainNft.sol +72 -40
  447. package/contracts/registry/IRegistry.sol +70 -32
  448. package/contracts/registry/IRegistryService.sol +5 -12
  449. package/contracts/registry/IRelease.sol +29 -0
  450. package/contracts/registry/ITransferInterceptor.sol +1 -2
  451. package/contracts/registry/Registry.sol +367 -207
  452. package/contracts/registry/RegistryAdmin.sol +114 -288
  453. package/contracts/registry/RegistryAuthorization.sol +336 -0
  454. package/contracts/registry/RegistryService.sol +38 -49
  455. package/contracts/registry/RegistryServiceManager.sol +3 -3
  456. package/contracts/registry/ReleaseAdmin.sol +195 -0
  457. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  458. package/contracts/registry/ReleaseRegistry.sol +279 -239
  459. package/contracts/registry/ServiceAuthorizationV3.sol +205 -63
  460. package/contracts/registry/TokenRegistry.sol +61 -59
  461. package/contracts/shared/Component.sol +70 -136
  462. package/contracts/shared/ComponentService.sol +423 -387
  463. package/contracts/shared/ComponentServiceManager.sol +8 -5
  464. package/contracts/shared/ContractLib.sol +312 -0
  465. package/contracts/shared/IComponent.sol +6 -18
  466. package/contracts/shared/IComponentService.sol +43 -40
  467. package/contracts/shared/IInstanceLinkedComponent.sol +6 -32
  468. package/contracts/shared/IKeyValueStore.sol +1 -1
  469. package/contracts/shared/ILifecycle.sol +3 -1
  470. package/contracts/shared/INftOwnable.sol +4 -0
  471. package/contracts/shared/IPolicyHolder.sol +12 -22
  472. package/contracts/shared/IRegisterable.sol +22 -1
  473. package/contracts/shared/IService.sol +3 -5
  474. package/contracts/shared/InitializableERC165.sol +10 -2
  475. package/contracts/shared/InstanceLinkedComponent.sol +73 -51
  476. package/contracts/shared/KeyValueStore.sol +4 -4
  477. package/contracts/shared/Lifecycle.sol +15 -4
  478. package/contracts/shared/NftOwnable.sol +31 -9
  479. package/contracts/shared/PolicyHolder.sol +18 -54
  480. package/contracts/shared/Registerable.sol +52 -21
  481. package/contracts/shared/RegistryLinked.sol +9 -14
  482. package/contracts/shared/Service.sol +20 -35
  483. package/contracts/shared/TokenHandler.sol +310 -26
  484. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  485. package/contracts/staking/IStaking.sol +271 -71
  486. package/contracts/staking/IStakingService.sol +45 -78
  487. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  488. package/contracts/staking/Staking.sol +524 -243
  489. package/contracts/staking/StakingLib.sol +195 -0
  490. package/contracts/staking/StakingManager.sol +12 -9
  491. package/contracts/staking/StakingReader.sol +70 -82
  492. package/contracts/staking/StakingService.sol +62 -152
  493. package/contracts/staking/StakingServiceManager.sol +7 -5
  494. package/contracts/staking/StakingStore.sol +1089 -330
  495. package/contracts/staking/TargetHandler.sol +132 -0
  496. package/contracts/staking/TargetManagerLib.sol +73 -46
  497. package/contracts/type/Amount.sol +19 -0
  498. package/contracts/type/Blocknumber.sol +22 -16
  499. package/contracts/type/ChainId.sol +101 -0
  500. package/contracts/type/ClaimId.sol +6 -1
  501. package/contracts/type/Fee.sol +8 -8
  502. package/contracts/type/Key32.sol +2 -2
  503. package/contracts/type/Key32Set.sol +62 -0
  504. package/contracts/type/NftId.sol +7 -0
  505. package/contracts/type/ObjectType.sol +73 -37
  506. package/contracts/type/PayoutId.sol +10 -10
  507. package/contracts/type/RiskId.sol +38 -6
  508. package/contracts/type/RoleId.sol +61 -55
  509. package/contracts/type/Seconds.sol +40 -1
  510. package/contracts/type/Selector.sol +5 -0
  511. package/contracts/type/StateId.sol +15 -1
  512. package/contracts/type/String.sol +12 -0
  513. package/contracts/type/Timestamp.sol +14 -7
  514. package/contracts/type/UFixed.sol +38 -126
  515. package/contracts/type/Version.sol +54 -5
  516. package/contracts/upgradeability/IVersionable.sol +3 -0
  517. package/contracts/upgradeability/ProxyManager.sol +93 -45
  518. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  519. package/contracts/upgradeability/Versionable.sol +8 -5
  520. package/package.json +5 -4
  521. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  522. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  523. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  524. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  525. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  526. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  527. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  528. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
  529. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  530. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  531. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  532. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  533. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  534. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  535. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  536. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  537. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
  538. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  539. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  540. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  541. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  542. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  543. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  544. package/contracts/instance/module/IAccess.sol +0 -46
  545. package/contracts/product/IProductService.sol +0 -33
  546. package/contracts/product/ProductService.sol +0 -99
  547. package/contracts/product/ProductServiceManager.sol +0 -39
  548. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  549. package/contracts/shared/InitializableCustom.sol +0 -177
  550. package/contracts/staking/StakeManagerLib.sol +0 -231
  551. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -45,22 +45,11 @@
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "target",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "AddressEmptyCode",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [
57
- {
58
- "internalType": "address",
59
- "name": "account",
48
+ "name": "authority",
60
49
  "type": "address"
61
50
  }
62
51
  ],
63
- "name": "AddressInsufficientBalance",
52
+ "name": "ErrorAuthorityInvalid",
64
53
  "type": "error"
65
54
  },
66
55
  {
@@ -79,36 +68,14 @@
79
68
  "name": "ErrorComponentNotChainNft",
80
69
  "type": "error"
81
70
  },
82
- {
83
- "inputs": [
84
- {
85
- "internalType": "NftId",
86
- "name": "instanceNftId",
87
- "type": "uint96"
88
- }
89
- ],
90
- "name": "ErrorComponentNotInstance",
91
- "type": "error"
92
- },
93
- {
94
- "inputs": [
95
- {
96
- "internalType": "address",
97
- "name": "caller",
98
- "type": "address"
99
- }
100
- ],
101
- "name": "ErrorComponentNotProductService",
102
- "type": "error"
103
- },
104
71
  {
105
72
  "inputs": [],
106
- "name": "ErrorComponentProductNftAlreadySet",
73
+ "name": "ErrorComponentProductNftIdNonzero",
107
74
  "type": "error"
108
75
  },
109
76
  {
110
77
  "inputs": [],
111
- "name": "ErrorComponentTokenAddressZero",
78
+ "name": "ErrorComponentProductNftIdZero",
112
79
  "type": "error"
113
80
  },
114
81
  {
@@ -121,32 +88,6 @@
121
88
  "name": "ErrorComponentWalletAddressZero",
122
89
  "type": "error"
123
90
  },
124
- {
125
- "inputs": [
126
- {
127
- "internalType": "address",
128
- "name": "oldWallet",
129
- "type": "address"
130
- },
131
- {
132
- "internalType": "address",
133
- "name": "newWallet",
134
- "type": "address"
135
- },
136
- {
137
- "internalType": "uint256",
138
- "name": "allowance",
139
- "type": "uint256"
140
- },
141
- {
142
- "internalType": "uint256",
143
- "name": "balance",
144
- "type": "uint256"
145
- }
146
- ],
147
- "name": "ErrorComponentWalletAllowanceTooSmall",
148
- "type": "error"
149
- },
150
91
  {
151
92
  "inputs": [],
152
93
  "name": "ErrorComponentWalletNotComponent",
@@ -154,29 +95,34 @@
154
95
  },
155
96
  {
156
97
  "inputs": [
157
- {
158
- "internalType": "address",
159
- "name": "distributor",
160
- "type": "address"
161
- },
162
98
  {
163
99
  "internalType": "NftId",
164
- "name": "distributorNftId",
100
+ "name": "nftId",
165
101
  "type": "uint96"
102
+ },
103
+ {
104
+ "internalType": "ObjectType",
105
+ "name": "objectType",
106
+ "type": "uint8"
166
107
  }
167
108
  ],
168
- "name": "ErrorDistributionAlreadyDistributor",
109
+ "name": "ErrorInstanceLinkedComponentNotProduct",
169
110
  "type": "error"
170
111
  },
171
112
  {
172
113
  "inputs": [
173
114
  {
174
- "internalType": "address",
175
- "name": "distributor",
176
- "type": "address"
115
+ "internalType": "ObjectType",
116
+ "name": "requiredType",
117
+ "type": "uint8"
118
+ },
119
+ {
120
+ "internalType": "ObjectType",
121
+ "name": "objectType",
122
+ "type": "uint8"
177
123
  }
178
124
  ],
179
- "name": "ErrorDistributionNotDistributor",
125
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
180
126
  "type": "error"
181
127
  },
182
128
  {
@@ -206,6 +152,22 @@
206
152
  "name": "ErrorNftOwnableInitialOwnerZero",
207
153
  "type": "error"
208
154
  },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "NftId",
159
+ "name": "nftId",
160
+ "type": "uint96"
161
+ },
162
+ {
163
+ "internalType": "ObjectType",
164
+ "name": "expectedObjectType",
165
+ "type": "uint8"
166
+ }
167
+ ],
168
+ "name": "ErrorNftOwnableInvalidType",
169
+ "type": "error"
170
+ },
209
171
  {
210
172
  "inputs": [
211
173
  {
@@ -230,7 +192,7 @@
230
192
  },
231
193
  {
232
194
  "inputs": [],
233
- "name": "FailedInnerCall",
195
+ "name": "ErrorRegisterableNotActive",
234
196
  "type": "error"
235
197
  },
236
198
  {
@@ -243,17 +205,6 @@
243
205
  "name": "NotInitializing",
244
206
  "type": "error"
245
207
  },
246
- {
247
- "inputs": [
248
- {
249
- "internalType": "address",
250
- "name": "token",
251
- "type": "address"
252
- }
253
- ],
254
- "name": "SafeERC20FailedOperation",
255
- "type": "error"
256
- },
257
208
  {
258
209
  "anonymous": false,
259
210
  "inputs": [
@@ -283,6 +234,12 @@
283
234
  {
284
235
  "anonymous": false,
285
236
  "inputs": [
237
+ {
238
+ "indexed": false,
239
+ "internalType": "address",
240
+ "name": "tokenHandler",
241
+ "type": "address"
242
+ },
286
243
  {
287
244
  "indexed": false,
288
245
  "internalType": "address",
@@ -294,6 +251,12 @@
294
251
  "internalType": "Amount",
295
252
  "name": "limit",
296
253
  "type": "uint96"
254
+ },
255
+ {
256
+ "indexed": false,
257
+ "internalType": "bool",
258
+ "name": "isMaxAmount",
259
+ "type": "bool"
297
260
  }
298
261
  ],
299
262
  "name": "LogComponentTokenHandlerApproved",
@@ -355,13 +318,32 @@
355
318
  {
356
319
  "indexed": false,
357
320
  "internalType": "address",
358
- "name": "caller",
321
+ "name": "operator",
359
322
  "type": "address"
360
323
  }
361
324
  ],
362
325
  "name": "LogDistributorUpdated",
363
326
  "type": "event"
364
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
+ },
365
347
  {
366
348
  "inputs": [],
367
349
  "name": "COMPONENT_LOCATION_V1",
@@ -427,37 +409,6 @@
427
409
  "stateMutability": "view",
428
410
  "type": "function"
429
411
  },
430
- {
431
- "inputs": [
432
- {
433
- "internalType": "address",
434
- "name": "token",
435
- "type": "address"
436
- },
437
- {
438
- "internalType": "Amount",
439
- "name": "spendingLimitAmount",
440
- "type": "uint96"
441
- }
442
- ],
443
- "name": "approveTokenHandler",
444
- "outputs": [],
445
- "stateMutability": "nonpayable",
446
- "type": "function"
447
- },
448
- {
449
- "inputs": [
450
- {
451
- "internalType": "Amount",
452
- "name": "spendingLimitAmount",
453
- "type": "uint96"
454
- }
455
- ],
456
- "name": "approveTokenHandler",
457
- "outputs": [],
458
- "stateMutability": "nonpayable",
459
- "type": "function"
460
- },
461
412
  {
462
413
  "inputs": [],
463
414
  "name": "authority",
@@ -475,7 +426,7 @@
475
426
  "inputs": [
476
427
  {
477
428
  "internalType": "ReferralId",
478
- "name": "referralId",
429
+ "name": "",
479
430
  "type": "bytes8"
480
431
  },
481
432
  {
@@ -495,6 +446,29 @@
495
446
  "stateMutability": "view",
496
447
  "type": "function"
497
448
  },
449
+ {
450
+ "inputs": [
451
+ {
452
+ "internalType": "NftId",
453
+ "name": "distributorNftId",
454
+ "type": "uint96"
455
+ },
456
+ {
457
+ "internalType": "DistributorType",
458
+ "name": "distributorType",
459
+ "type": "bytes8"
460
+ },
461
+ {
462
+ "internalType": "bytes",
463
+ "name": "data",
464
+ "type": "bytes"
465
+ }
466
+ ],
467
+ "name": "changeDistributorType",
468
+ "outputs": [],
469
+ "stateMutability": "nonpayable",
470
+ "type": "function"
471
+ },
498
472
  {
499
473
  "inputs": [
500
474
  {
@@ -534,17 +508,17 @@
534
508
  {
535
509
  "internalType": "UFixed",
536
510
  "name": "minDiscountPercentage",
537
- "type": "uint256"
511
+ "type": "uint160"
538
512
  },
539
513
  {
540
514
  "internalType": "UFixed",
541
515
  "name": "maxDiscountPercentage",
542
- "type": "uint256"
516
+ "type": "uint160"
543
517
  },
544
518
  {
545
519
  "internalType": "UFixed",
546
520
  "name": "commissionPercentage",
547
- "type": "uint256"
521
+ "type": "uint160"
548
522
  },
549
523
  {
550
524
  "internalType": "uint32",
@@ -552,9 +526,9 @@
552
526
  "type": "uint32"
553
527
  },
554
528
  {
555
- "internalType": "uint32",
529
+ "internalType": "Seconds",
556
530
  "name": "maxReferralLifetime",
557
- "type": "uint32"
531
+ "type": "uint40"
558
532
  },
559
533
  {
560
534
  "internalType": "bool",
@@ -585,6 +559,11 @@
585
559
  },
586
560
  {
587
561
  "inputs": [
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "distributorNftId",
565
+ "type": "uint96"
566
+ },
588
567
  {
589
568
  "internalType": "string",
590
569
  "name": "code",
@@ -593,7 +572,7 @@
593
572
  {
594
573
  "internalType": "UFixed",
595
574
  "name": "discountPercentage",
596
- "type": "uint256"
575
+ "type": "uint160"
597
576
  },
598
577
  {
599
578
  "internalType": "uint32",
@@ -646,26 +625,11 @@
646
625
  "name": "name",
647
626
  "type": "string"
648
627
  },
649
- {
650
- "internalType": "NftId",
651
- "name": "productNftId",
652
- "type": "uint96"
653
- },
654
- {
655
- "internalType": "contract IERC20Metadata",
656
- "name": "token",
657
- "type": "address"
658
- },
659
628
  {
660
629
  "internalType": "contract TokenHandler",
661
630
  "name": "tokenHandler",
662
631
  "type": "address"
663
632
  },
664
- {
665
- "internalType": "address",
666
- "name": "wallet",
667
- "type": "address"
668
- },
669
633
  {
670
634
  "internalType": "bytes",
671
635
  "name": "data",
@@ -693,7 +657,7 @@
693
657
  {
694
658
  "internalType": "UFixed",
695
659
  "name": "discountPercentage",
696
- "type": "uint256"
660
+ "type": "uint160"
697
661
  },
698
662
  {
699
663
  "internalType": "ReferralStatus",
@@ -704,25 +668,6 @@
704
668
  "stateMutability": "view",
705
669
  "type": "function"
706
670
  },
707
- {
708
- "inputs": [
709
- {
710
- "internalType": "address",
711
- "name": "distributor",
712
- "type": "address"
713
- }
714
- ],
715
- "name": "getDistributorNftId",
716
- "outputs": [
717
- {
718
- "internalType": "NftId",
719
- "name": "distributorNftId",
720
- "type": "uint96"
721
- }
722
- ],
723
- "stateMutability": "view",
724
- "type": "function"
725
- },
726
671
  {
727
672
  "inputs": [],
728
673
  "name": "getInitialComponentInfo",
@@ -734,26 +679,11 @@
734
679
  "name": "name",
735
680
  "type": "string"
736
681
  },
737
- {
738
- "internalType": "NftId",
739
- "name": "productNftId",
740
- "type": "uint96"
741
- },
742
- {
743
- "internalType": "contract IERC20Metadata",
744
- "name": "token",
745
- "type": "address"
746
- },
747
682
  {
748
683
  "internalType": "contract TokenHandler",
749
684
  "name": "tokenHandler",
750
685
  "type": "address"
751
686
  },
752
- {
753
- "internalType": "address",
754
- "name": "wallet",
755
- "type": "address"
756
- },
757
687
  {
758
688
  "internalType": "bytes",
759
689
  "name": "data",
@@ -870,19 +800,6 @@
870
800
  "stateMutability": "view",
871
801
  "type": "function"
872
802
  },
873
- {
874
- "inputs": [],
875
- "name": "getProductNftId",
876
- "outputs": [
877
- {
878
- "internalType": "NftId",
879
- "name": "productNftId",
880
- "type": "uint96"
881
- }
882
- ],
883
- "stateMutability": "view",
884
- "type": "function"
885
- },
886
803
  {
887
804
  "inputs": [
888
805
  {
@@ -915,6 +832,19 @@
915
832
  "stateMutability": "view",
916
833
  "type": "function"
917
834
  },
835
+ {
836
+ "inputs": [],
837
+ "name": "getRelease",
838
+ "outputs": [
839
+ {
840
+ "internalType": "VersionPart",
841
+ "name": "release",
842
+ "type": "uint8"
843
+ }
844
+ ],
845
+ "stateMutability": "view",
846
+ "type": "function"
847
+ },
918
848
  {
919
849
  "inputs": [],
920
850
  "name": "getToken",
@@ -943,149 +873,41 @@
943
873
  },
944
874
  {
945
875
  "inputs": [],
946
- "name": "getWallet",
876
+ "name": "getVersion",
947
877
  "outputs": [
948
878
  {
949
- "internalType": "address",
950
- "name": "walletAddress",
951
- "type": "address"
879
+ "internalType": "Version",
880
+ "name": "version",
881
+ "type": "uint24"
952
882
  }
953
883
  ],
954
884
  "stateMutability": "view",
955
885
  "type": "function"
956
886
  },
957
- {
958
- "inputs": [
959
- {
960
- "internalType": "address",
961
- "name": "authority",
962
- "type": "address"
963
- },
964
- {
965
- "internalType": "address",
966
- "name": "registry",
967
- "type": "address"
968
- },
969
- {
970
- "internalType": "NftId",
971
- "name": "parentNftId",
972
- "type": "uint96"
973
- },
974
- {
975
- "internalType": "string",
976
- "name": "name",
977
- "type": "string"
978
- },
979
- {
980
- "internalType": "address",
981
- "name": "token",
982
- "type": "address"
983
- },
984
- {
985
- "internalType": "ObjectType",
986
- "name": "componentType",
987
- "type": "uint8"
988
- },
989
- {
990
- "internalType": "bool",
991
- "name": "isInterceptor",
992
- "type": "bool"
993
- },
994
- {
995
- "internalType": "address",
996
- "name": "initialOwner",
997
- "type": "address"
998
- },
999
- {
1000
- "internalType": "bytes",
1001
- "name": "registryData",
1002
- "type": "bytes"
1003
- },
1004
- {
1005
- "internalType": "bytes",
1006
- "name": "componentData",
1007
- "type": "bytes"
1008
- }
1009
- ],
1010
- "name": "initializeComponent",
1011
- "outputs": [],
1012
- "stateMutability": "nonpayable",
1013
- "type": "function"
1014
- },
1015
887
  {
1016
888
  "inputs": [],
1017
- "name": "initializeERC165",
1018
- "outputs": [],
1019
- "stateMutability": "nonpayable",
1020
- "type": "function"
1021
- },
1022
- {
1023
- "inputs": [
1024
- {
1025
- "internalType": "address",
1026
- "name": "initialOwner",
1027
- "type": "address"
1028
- },
889
+ "name": "getWallet",
890
+ "outputs": [
1029
891
  {
1030
892
  "internalType": "address",
1031
- "name": "registryAddress",
893
+ "name": "walletAddress",
1032
894
  "type": "address"
1033
895
  }
1034
896
  ],
1035
- "name": "initializeNftOwnable",
1036
- "outputs": [],
1037
- "stateMutability": "nonpayable",
897
+ "stateMutability": "view",
1038
898
  "type": "function"
1039
899
  },
1040
900
  {
1041
- "inputs": [
1042
- {
1043
- "internalType": "address",
1044
- "name": "registryAddress",
1045
- "type": "address"
1046
- },
1047
- {
1048
- "internalType": "NftId",
1049
- "name": "parentNftId",
1050
- "type": "uint96"
1051
- },
1052
- {
1053
- "internalType": "ObjectType",
1054
- "name": "objectType",
1055
- "type": "uint8"
1056
- },
901
+ "inputs": [],
902
+ "name": "isActive",
903
+ "outputs": [
1057
904
  {
1058
905
  "internalType": "bool",
1059
- "name": "isInterceptor",
906
+ "name": "active",
1060
907
  "type": "bool"
1061
- },
1062
- {
1063
- "internalType": "address",
1064
- "name": "initialOwner",
1065
- "type": "address"
1066
- },
1067
- {
1068
- "internalType": "bytes",
1069
- "name": "registryData",
1070
- "type": "bytes"
1071
- }
1072
- ],
1073
- "name": "initializeRegisterable",
1074
- "outputs": [],
1075
- "stateMutability": "nonpayable",
1076
- "type": "function"
1077
- },
1078
- {
1079
- "inputs": [
1080
- {
1081
- "internalType": "address",
1082
- "name": "registryAddress",
1083
- "type": "address"
1084
908
  }
1085
909
  ],
1086
- "name": "initializeRegistryLinked",
1087
- "outputs": [],
1088
- "stateMutability": "nonpayable",
910
+ "stateMutability": "view",
1089
911
  "type": "function"
1090
912
  },
1091
913
  {
@@ -1101,25 +923,6 @@
1101
923
  "stateMutability": "view",
1102
924
  "type": "function"
1103
925
  },
1104
- {
1105
- "inputs": [
1106
- {
1107
- "internalType": "address",
1108
- "name": "candidate",
1109
- "type": "address"
1110
- }
1111
- ],
1112
- "name": "isDistributor",
1113
- "outputs": [
1114
- {
1115
- "internalType": "bool",
1116
- "name": "",
1117
- "type": "bool"
1118
- }
1119
- ],
1120
- "stateMutability": "view",
1121
- "type": "function"
1122
- },
1123
926
  {
1124
927
  "inputs": [],
1125
928
  "name": "isNftInterceptor",
@@ -1172,31 +975,6 @@
1172
975
  "stateMutability": "nonpayable",
1173
976
  "type": "function"
1174
977
  },
1175
- {
1176
- "inputs": [],
1177
- "name": "lock",
1178
- "outputs": [],
1179
- "stateMutability": "nonpayable",
1180
- "type": "function"
1181
- },
1182
- {
1183
- "inputs": [
1184
- {
1185
- "internalType": "address",
1186
- "name": "to",
1187
- "type": "address"
1188
- },
1189
- {
1190
- "internalType": "uint256",
1191
- "name": "tokenId",
1192
- "type": "uint256"
1193
- }
1194
- ],
1195
- "name": "nftMint",
1196
- "outputs": [],
1197
- "stateMutability": "nonpayable",
1198
- "type": "function"
1199
- },
1200
978
  {
1201
979
  "inputs": [
1202
980
  {
@@ -1213,6 +991,11 @@
1213
991
  "internalType": "uint256",
1214
992
  "name": "tokenId",
1215
993
  "type": "uint256"
994
+ },
995
+ {
996
+ "internalType": "address",
997
+ "name": "operator",
998
+ "type": "address"
1216
999
  }
1217
1000
  ],
1218
1001
  "name": "nftTransferFrom",
@@ -1238,26 +1021,6 @@
1238
1021
  "stateMutability": "nonpayable",
1239
1022
  "type": "function"
1240
1023
  },
1241
- {
1242
- "inputs": [],
1243
- "name": "register",
1244
- "outputs": [],
1245
- "stateMutability": "nonpayable",
1246
- "type": "function"
1247
- },
1248
- {
1249
- "inputs": [
1250
- {
1251
- "internalType": "bytes4",
1252
- "name": "interfaceId",
1253
- "type": "bytes4"
1254
- }
1255
- ],
1256
- "name": "registerInterface",
1257
- "outputs": [],
1258
- "stateMutability": "nonpayable",
1259
- "type": "function"
1260
- },
1261
1024
  {
1262
1025
  "inputs": [
1263
1026
  {
@@ -1278,12 +1041,12 @@
1278
1041
  {
1279
1042
  "internalType": "UFixed",
1280
1043
  "name": "fractionalFee",
1281
- "type": "uint256"
1044
+ "type": "uint160"
1282
1045
  },
1283
1046
  {
1284
- "internalType": "uint256",
1047
+ "internalType": "Amount",
1285
1048
  "name": "fixedFee",
1286
- "type": "uint256"
1049
+ "type": "uint96"
1287
1050
  }
1288
1051
  ],
1289
1052
  "internalType": "struct Fee",
@@ -1295,12 +1058,12 @@
1295
1058
  {
1296
1059
  "internalType": "UFixed",
1297
1060
  "name": "fractionalFee",
1298
- "type": "uint256"
1061
+ "type": "uint160"
1299
1062
  },
1300
1063
  {
1301
- "internalType": "uint256",
1064
+ "internalType": "Amount",
1302
1065
  "name": "fixedFee",
1303
- "type": "uint256"
1066
+ "type": "uint96"
1304
1067
  }
1305
1068
  ],
1306
1069
  "internalType": "struct Fee",
@@ -1313,19 +1076,6 @@
1313
1076
  "stateMutability": "nonpayable",
1314
1077
  "type": "function"
1315
1078
  },
1316
- {
1317
- "inputs": [
1318
- {
1319
- "internalType": "address",
1320
- "name": "newWallet",
1321
- "type": "address"
1322
- }
1323
- ],
1324
- "name": "setWallet",
1325
- "outputs": [],
1326
- "stateMutability": "nonpayable",
1327
- "type": "function"
1328
- },
1329
1079
  {
1330
1080
  "inputs": [
1331
1081
  {
@@ -1345,36 +1095,6 @@
1345
1095
  "stateMutability": "view",
1346
1096
  "type": "function"
1347
1097
  },
1348
- {
1349
- "inputs": [],
1350
- "name": "unlock",
1351
- "outputs": [],
1352
- "stateMutability": "nonpayable",
1353
- "type": "function"
1354
- },
1355
- {
1356
- "inputs": [
1357
- {
1358
- "internalType": "NftId",
1359
- "name": "distributorNftId",
1360
- "type": "uint96"
1361
- },
1362
- {
1363
- "internalType": "DistributorType",
1364
- "name": "distributorType",
1365
- "type": "bytes8"
1366
- },
1367
- {
1368
- "internalType": "bytes",
1369
- "name": "data",
1370
- "type": "bytes"
1371
- }
1372
- ],
1373
- "name": "updateDistributorType",
1374
- "outputs": [],
1375
- "stateMutability": "nonpayable",
1376
- "type": "function"
1377
- },
1378
1098
  {
1379
1099
  "inputs": [
1380
1100
  {
@@ -1419,58 +1139,38 @@
1419
1139
  "type": "function"
1420
1140
  }
1421
1141
  ],
1422
- "bytecode": "0x6080604052348015600e575f80fd5b5061407f8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610318575f3560e01c80636bd1c0eb116101af578063bae99c99116100fe578063e7f7fb861161009e578063f7c34ee011610079578063f7c34ee014610708578063f80e20721461071b578063f83d08ba1461072e578063f8bf0d9f14610736575f80fd5b8063e7f7fb86146106cd578063ea15869f146106e0578063f5860e1a146106f4575f80fd5b8063d16d0fe8116100d9578063d16d0fe814610660578063de7b5d1414610673578063deaa59df14610690578063e145d46c146106a3575f80fd5b8063bae99c9914610632578063bb1e0e5914610645578063bf7e214f14610658575f80fd5b80638fb3603711610169578063ada9652e11610144578063ada9652e146105f0578063b2a6b42d14610604578063b423086c14610617578063b6b412ba1461061f575f80fd5b80638fb36037146105b257806390edbd35146105d3578063a69df4b5146105e8575f80fd5b80636bd1c0eb1461053a5780637427d7a81461056a5780637a9e5e4b1461057d57806387ef9ba014610590578063893d20e8146105975780638f0c86fa1461059f575f80fd5b806327bb7a331161026b57806343d752d3116102255780635ab1bd53116102005780635ab1bd53146104fb5780635dcb3bae1461050c578063644c45e01461051f578063675393bf14610527575f80fd5b806343d752d3146104d85780635741e5e9146104e057806359660bea146104e8575f80fd5b806327bb7a33146104575780632b5198b11461046a5780632eb3e6f41461049657806336fc697e146104aa5780633d683fd9146104b2578063419197fe146104c5575f80fd5b806317d7de7c116102d65780631eff4b22116102b15780631eff4b22146103ff578063214cdb801461043457806321df0da714610447578063223668441461044f575f80fd5b806317d7de7c146103cd5780631aa3a008146103e25780631c6b2190146103ec575f80fd5b806251884a1461031c57806301ffc9a71461034157806307e71a6e1461037d5780630fec111c1461039057806313299604146103a5578063138461e0146103c5575b5f80fd5b610324610749565b6040516001600160601b0390911681526020015b60405180910390f35b61036d61034f3660046130c5565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610338565b61032461038b36600461310b565b61075b565b610398610860565b6040516103389190613170565b6103ad610a1e565b6040516001600160a01b039091168152602001610338565b610324610a30565b6103d5610a3f565b60405161033891906131fc565b6103ea610a4f565b005b6103246103fa36600461320e565b610afc565b6104267f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610338565b6103ea6104423660046130c5565b610b52565b6103ad610b7e565b61036d610b90565b6103ea610465366004613381565b610c86565b61047d610478366004613430565b610d2b565b6040516001600160c01b03199091168152602001610338565b6104265f8051602061402a83398151915281565b6103ea610d8f565b6103ea6104c0366004613506565b610dd4565b6103ea6104d3366004613563565b610e28565b6103ad610fe8565b61036d610ffa565b61047d6104f636600461357f565b6110ae565b6001546001600160a01b03166103ad565b61032461051a366004613618565b611105565b61032461115f565b6103ea610535366004613635565b61117a565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166103ad565b61047d610578366004613650565b611287565b6103ea61058b366004613635565b611307565b600161036d565b6103ad611389565b61036d6105ad366004613635565b6114ba565b6105ba61157f565b6040516001600160e01b03199091168152602001610338565b6105db6115b4565b6040516103389190613681565b6103ea6115d9565b6104265f80516020613faa83398151915281565b610324610612366004613635565b611677565b6105db6116b9565b6103ea61062d366004613760565b6116c9565b6103ea61064036600461320e565b611717565b6103ea610653366004613793565b611763565b6103ad61180a565b61042661066e3660046137bd565b611825565b5f8051602061402a833981519152546001600160a01b03166103ad565b6103ea61069e366004613635565b611839565b6106b66106b1366004613650565b611ab0565b6040805192835260ff909116602083015201610338565b6103ea6106db3660046137d9565b611b6a565b6104265f80516020613fca83398151915281565b6104265f8051602061400a83398151915281565b6103ea610716366004613817565b611c12565b6103ea6107293660046137bd565b611c88565b6103ea611c91565b6103ea610744366004613843565b611d05565b5f6107526115b4565b60200151905090565b5f610768335b5f36611e04565b610771336114ba565b6107955760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826107a86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156107f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610819919061394d565b6001600160a01b0316336001600160a01b03161461084c5760405163086391f760e31b815233600482015260240161078c565b6108568484611f02565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610910573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109349190613973565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161097c611389565b6001600160a01b031681526020018260010180546109999061398e565b80601f01602080910402602001604051908101604052809291908181526020018280546109c59061398e565b8015610a105780601f106109e757610100808354040283529160200191610a10565b820191905f5260205f20905b8154815290600101906020018083116109f357829003601f168201915b505050505081525091505090565b5f610a276115b4565b60800151905090565b5f610a3a30611f8e565b905090565b6060610a496115b4565b51919050565b610a57611389565b6001600160a01b0316336001600160a01b031614610a8a5760405163086391f760e31b815233600482015260240161078c565b5f8051602061400a833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610ada575f80fd5b505af1158015610aec573d5f803e3d5ffd5b50505050610afa5f19612182565b565b5f610b05611389565b6001600160a01b0316336001600160a01b031614610b385760405163086391f760e31b815233600482015260240161078c565b610b4133610761565b610b4a8261223b565b90505b919050565b610b5a6122bf565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610b876115b4565b60400151905090565b5f610ba36001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0b9190613973565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3a91906139d1565b610c8e6122bf565b610c988287611c12565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610d218382613a30565b5050505050505050565b5f610d34611389565b6001600160a01b0316336001600160a01b031614610d675760405163086391f760e31b815233600482015260240161078c565b610d7033610761565b610d818a8a8a8a8a8a8a8a8a61230d565b9a9950505050505050505050565b610d976122bf565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610ddc611389565b6001600160a01b0316336001600160a01b031614610e0f5760405163086391f760e31b815233600482015260240161078c565b610e1833610761565b610e238383836123cc565b505050565b610e30611389565b6001600160a01b0316336001600160a01b031614610e635760405163086391f760e31b815233600482015260240161078c565b30610e6c610a1e565b6001600160a01b031614610e935760405163b6d7537f60e01b815260040160405180910390fd5b816001600160a01b031663095ea7b3610eaa610fe8565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610f00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f249190613aea565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610f6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9091906139d1565b507ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610fba610fe8565b604080516001600160a01b0390921682526001600160601b0384166020830152015b60405180910390a15050565b5f610ff16115b4565b60600151905090565b5f611003610b90565b1561107e576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611057573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ff19190810190613b5b565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f6110b8336114ba565b6110d75760405163637c41bb60e01b815233600482015260240161078c565b6110e033610761565b5f6110ea33611677565b90506110fa8188888888886123e3565b979650505050505050565b5f61110e611389565b6001600160a01b0316336001600160a01b0316146111415760405163086391f760e31b815233600482015260240161078c565b61114a33610761565b611155848484612499565b90505b9392505050565b5f80516020613faa833981519152546001600160601b031690565b6111826122bf565b806001600160a01b03163b5f036111b75760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611231575060408051601f3d908101601f1916820190925261122e918101906139d1565b60015b6112595760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078c565b806112825760405163fdeac91f60e01b81526001600160a01b038316600482015260240161078c565b505b50565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd66112aa61115f565b846040518363ffffffff1660e01b81526004016112c8929190613c2b565b602060405180830381865af41580156112e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a9190613c4c565b3361131061180a565b6001600160a01b0316816001600160a01b03161461134b5760405162d1953b60e31b81526001600160a01b038216600482015260240161078c565b816001600160a01b03163b5f03611380576040516361798f2f60e11b81526001600160a01b038316600482015260240161078c565b6112828261265d565b5f805f80516020613faa83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156113f5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141991906139d1565b156114a4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561147a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061149e919061394d565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061400a8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561155b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115891906139d1565b5f80516020613fea83398151915280545f9190600160a01b900460ff166115a6575f61149e565b638fb3603760e01b91505090565b6115bc61306f565b6115c4610b90565b156115d157610a3a6126b6565b610a3a6116b9565b6115e1611389565b6001600160a01b0316336001600160a01b0316146116145760405163086391f760e31b815233600482015260240161078c565b61161e600a61287d565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561165f575f80fd5b505af1158015611671573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6116c161306f565b610a3a6126b6565b6116d1611389565b6001600160a01b0316336001600160a01b0316146117045760405163086391f760e31b815233600482015260240161078c565b61170d33610761565b611282828261297e565b61171f611389565b6001600160a01b0316336001600160a01b0316146117525760405163086391f760e31b815233600482015260240161078c565b61128461175d610b7e565b82610e28565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117ce919061394d565b6001600160a01b0316336001600160a01b0316146118005760405162f0630960e01b815233600482015260240161078c565b6112828282611282565b5f80516020613fea833981519152546001600160a01b031690565b5f6118308282613c67565b90505b92915050565b611841611389565b6001600160a01b0316336001600160a01b0316146118745760405163086391f760e31b815233600482015260240161078c565b5f61187d610a1e565b90505f611888610b7e565b6040516370a0823160e01b81526001600160a01b0384811660048301529192505f918316906370a0823190602401602060405180830381865afa1580156118d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f59190613aea565b905080156119c4576001600160a01b03831630146119c457604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301525f919084169063dd62ed3e90604401602060405180830381865afa15801561195a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061197e9190613aea565b9050818110156119c2576040516372c963b360e11b81526001600160a01b03808616600483015286166024820152604481018290526064810183905260840161078c565b505b6119cd846129e5565b801561167157306001600160a01b03841603611a535760405163095ea7b360e01b8152306004820152602481018290526001600160a01b0383169063095ea7b3906044016020604051808303815f875af1158015611a2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5191906139d1565b505b611a5f82848684612a7e565b604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a150505050565b5f805f611abc84611287565b9050611aef7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b609190613c8a565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd5919061394d565b6001600160a01b0316336001600160a01b031614611c075760405162f0630960e01b815233600482015260240161078c565b610e23838383612ad8565b611c1a6122bf565b611c238161117a565b611c2b610d8f565b6001600160a01b038216611c525760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613faa83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61128233610761565b611c99611389565b6001600160a01b0316336001600160a01b031614611ccc5760405163086391f760e31b815233600482015260240161078c565b611cd6600a61287d565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611648565b611d0d6122bf565b611d1b898987878787610c86565b611d248a612c7e565b6001600160a01b038616611d4b576040516327eab2e360e11b815260040160405180910390fd5b86515f03611d6c5760405163591eebf360e11b815260040160405180910390fd5b5f80516020613fca83398151915280611d858982613a30565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101611dd68382613a30565b50611de7634a531f3360e01b610b52565b611df7632986755f60e11b610b52565b5050505050505050505050565b5f80516020613fea8339815191525f80611e3c611e1f61180a565b8730611e2e60045f8a8c613cae565b611e3791613cd5565b612c8f565b9150915081611efa5763ffffffff811615611ed757825460ff60a01b1916600160a01b178355611e6a61180a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e9993929190613d0b565b5f604051808303815f87803b158015611eb0575f80fd5b505af1158015611ec2573d5f803e3d5ffd5b5050845460ff60a01b1916855550611efa9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161078c565b505050505050565b5f5f8051602061400a833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611f6a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118309190613973565b5f805f80516020613faa83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ffa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061201e91906139d1565b1561204a5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161078c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561209c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120c091906139d1565b6120e85760405163b9304b0d60e01b81526001600160a01b038416600482015260240161078c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561213a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061215e9190613973565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f80516020613fca833981519152906001600160a01b031663095ea7b36121c96115b4565b606001516040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015612217573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2391906139d1565b5f5f8051602061402a833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561229b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a9190613973565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610afa57604051631afcd79f60e31b815260040160405180910390fd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f8051602061400a833981519152916001600160a01b0390911690632b5198b19061237d908e908e908e908e908e908e908e908e908e90600401613d4a565b6020604051808303815f875af1158015612399573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123bd9190613c4c565b9b9a5050505050505050505050565b5f5f8051602061400a8339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f8051602061400a833981519152916001600160a01b0390911690638dd2b7819061244d908b908b908b908b908b908b90600401613dbb565b6020604051808303815f875af1158015612469573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248d9190613c4c565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061400a8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561253a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255e91906139d1565b156125a9576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161078c565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906125df90889088908890600401613e1a565b6020604051808303815f875af11580156125fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061261f9190613973565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613fea83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610fdc565b6126be61306f565b5f6126d16001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015612715573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127399190613973565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612792573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127b691906139d1565b15612875577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36127f361115f565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612834573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261285b9190810190613e4d565b60808101519092506001600160a01b031615612875575090565b61149e612d97565b5f805f8051602061402a8339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156128d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128f79190613f25565b905061290b6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa15801561295a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611158919061394d565b5f8051602061400a83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906129bc9085908590600401613f40565b5f604051808303815f87803b1580156129d3575f80fd5b505af1158015611efa573d5f803e3d5ffd5b6129ed611389565b6001600160a01b0316336001600160a01b031614612a205760405163086391f760e31b815233600482015260240161078c565b612a2a600b61287d565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612a6c575f80fd5b505af11580156123dc573d5f803e3d5ffd5b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611671908590612efb565b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f8051602061400a833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b959190613973565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612c1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c3f9190613973565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612c866122bf565b61128481612f5c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612cfd9190613f66565b5f60405180830381855afa9150503d805f8114612d35576040519150601f19603f3d011682016040523d82523d5f602084013e612d3a565b606091505b50915091508115612d8c576040815110612d6c5780806020019051810190612d629190613f7c565b9094509250612d8c565b6020815110612d8c5780806020019051810190612d8991906139d1565b93505b505094509492505050565b612d9f61306f565b5f5f80516020613fca83398151915290506040518060c00160405280825f018054612dc99061398e565b80601f0160208091040260200160405190810160405280929190818152602001828054612df59061398e565b8015612e405780601f10612e1757610100808354040283529160200191612e40565b820191905f5260205f20905b815481529060010190602001808311612e2357829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eb59190613973565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916109999061398e565b5f612f0f6001600160a01b03841683612f6d565b905080515f14158015612f33575080806020019051810190612f3191906139d1565b155b15610e2357604051635274afe760e01b81526001600160a01b038416600482015260240161078c565b612f646122bf565b6112848161265d565b606061183083835f845f80856001600160a01b03168486604051612f919190613f66565b5f6040518083038185875af1925050503d805f8114612fcb576040519150601f19603f3d011682016040523d82523d5f602084013e612fd0565b606091505b5091509150612fe0868383612fea565b9695505050505050565b606082612fff57612ffa82613046565b611158565b815115801561301657506001600160a01b0384163b155b1561303f57604051639996b31560e01b81526001600160a01b038516600482015260240161078c565b5080611158565b8051156130565780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156130d5575f80fd5b81356001600160e01b031981168114611158575f80fd5b6001600160601b0381168114611284575f80fd5b8035610b4d816130ec565b5f806040838503121561311c575f80fd5b8235613127816130ec565b91506020830135613137816130ec565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516131b8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610856610100840182613142565b602081525f6118306020830184613142565b5f6020828403121561321e575f80fd5b8135611158816130ec565b6001600160a01b0381168114611284575f80fd5b8035610b4d81613229565b60ff81168114611284575f80fd5b8035610b4d81613248565b8015158114611284575f80fd5b8035610b4d81613261565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156132af576132af613279565b60405290565b60405160c081016001600160401b03811182821017156132af576132af613279565b604051601f8201601f191681016001600160401b03811182821017156132ff576132ff613279565b604052919050565b5f6001600160401b0382111561331f5761331f613279565b50601f01601f191660200190565b5f82601f83011261333c575f80fd5b8135602083015f61335461334f84613307565b6132d7565b9050828152858383011115613367575f80fd5b828260208301375f92810160200192909252509392505050565b5f805f805f8060c08789031215613396575f80fd5b86356133a181613229565b955060208701356133b1816130ec565b945060408701356133c181613248565b935060608701356133d181613261565b925060808701356133e181613229565b915060a08701356001600160401b038111156133fb575f80fd5b61340789828a0161332d565b9150509295509295509295565b63ffffffff81168114611284575f80fd5b8035610b4d81613414565b5f805f805f805f805f6101208a8c031215613449575f80fd5b89356001600160401b0381111561345e575f80fd5b61346a8c828d0161332d565b99505060208a0135975060408a0135965060608a0135955060808a013561349081613414565b945061349e60a08b01613425565b93506134ac60c08b0161326e565b92506134ba60e08b0161326e565b91506101008a01356001600160401b038111156134d5575f80fd5b6134e18c828d0161332d565b9150509295985092959850929598565b6001600160c01b031981168114611284575f80fd5b5f805f60608486031215613518575f80fd5b8335613523816130ec565b92506020840135613533816134f1565b915060408401356001600160401b0381111561354d575f80fd5b6135598682870161332d565b9150509250925092565b5f8060408385031215613574575f80fd5b823561312781613229565b5f805f805f60a08688031215613593575f80fd5b85356001600160401b038111156135a8575f80fd5b6135b48882890161332d565b9550506020860135935060408601356135cc81613414565b9250606086013564ffffffffff811681146135e5575f80fd5b915060808601356001600160401b038111156135ff575f80fd5b61360b8882890161332d565b9150509295509295909350565b5f805f6060848603121561362a575f80fd5b833561352381613229565b5f60208284031215613645575f80fd5b813561115881613229565b5f60208284031215613660575f80fd5b81356001600160401b03811115613675575f80fd5b6108568482850161332d565b602081525f825160c0602084015261369c60e0840182613142565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516136ef60a08501826001600160a01b03169052565b5060a0840151838203601f190160c085015261370b8282613142565b95945050505050565b5f60408284031215613724575f80fd5b604080519081016001600160401b038111828210171561374657613746613279565b604052823581526020928301359281019290925250919050565b5f8060808385031215613771575f80fd5b61377b8484613714565b915061378a8460408501613714565b90509250929050565b5f80604083850312156137a4575f80fd5b82356137af81613229565b946020939093013593505050565b5f80604083850312156137ce575f80fd5b82356137af816134f1565b5f805f606084860312156137eb575f80fd5b83356137f681613229565b9250602084013561380681613229565b929592945050506040919091013590565b5f8060408385031215613828575f80fd5b823561383381613229565b9150602083013561313781613229565b5f805f805f805f805f806101408b8d03121561385d575f80fd5b6138668b61323d565b995061387460208c0161323d565b985061388260408c01613100565b975060608b01356001600160401b0381111561389c575f80fd5b6138a88d828e0161332d565b9750506138b760808c0161323d565b95506138c560a08c01613256565b94506138d360c08c0161326e565b93506138e160e08c0161323d565b92506101008b01356001600160401b038111156138fc575f80fd5b6139088d828e0161332d565b9250506101208b01356001600160401b03811115613924575f80fd5b6139308d828e0161332d565b9150509295989b9194979a5092959850565b8051610b4d81613229565b5f6020828403121561395d575f80fd5b815161115881613229565b8051610b4d816130ec565b5f60208284031215613983575f80fd5b8151611158816130ec565b600181811c908216806139a257607f821691505b6020821081036139c057634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b4d81613261565b5f602082840312156139e1575f80fd5b815161115881613261565b601f821115610e2357805f5260205f20601f840160051c81016020851015613a115750805b601f840160051c820191505b818110156123dc575f8155600101613a1d565b81516001600160401b03811115613a4957613a49613279565b613a5d81613a57845461398e565b846139ec565b6020601f821160018114613a8f575f8315613a785750848201515b5f19600385901b1c1916600184901b1784556123dc565b5f84815260208120601f198516915b82811015613abe5787850151825560209485019460019092019101613a9e565b5084821015613adb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215613afa575f80fd5b5051919050565b8051610b4d81613248565b5f82601f830112613b1b575f80fd5b8151602083015f613b2e61334f84613307565b9050828152858383011115613b41575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613b6b575f80fd5b81516001600160401b03811115613b80575f80fd5b820160e08185031215613b91575f80fd5b613b9961328d565b613ba282613968565b8152613bb060208301613968565b6020820152613bc160408301613b01565b6040820152613bd2606083016139c6565b6060820152613be360808301613942565b6080820152613bf460a08301613942565b60a082015260c08201516001600160401b03811115613c11575f80fd5b613c1d86828501613b0c565b60c083015250949350505050565b6001600160601b0383168152604060208201525f6111556040830184613142565b5f60208284031215613c5c575f80fd5b8151611158816134f1565b808202811582820484141761183357634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613c9b575f80fd5b8251602084015190925061313781613248565b5f8085851115613cbc575f80fd5b83861115613cc8575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610859576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613d5e61012083018c613142565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613dab8185613142565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613ddc60c0830188613142565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613e0d8185613142565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061370b90830184613142565b5f60208284031215613e5d575f80fd5b81516001600160401b03811115613e72575f80fd5b820160c08185031215613e83575f80fd5b613e8b6132b5565b81516001600160401b03811115613ea0575f80fd5b613eac86828501613b0c565b825250613ebb60208301613968565b6020820152613ecc60408301613942565b6040820152613edd60608301613942565b6060820152613eee60808301613942565b608082015260a08201516001600160401b03811115613f0b575f80fd5b613f1786828501613b0c565b60a083015250949350505050565b5f60208284031215613f35575f80fd5b815161115881613248565b825181526020808401518183015282516040830152820151606082015260808101611158565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613f8d575f80fd5b8251613f9881613261565b60208401519092506131378161341456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220bb441a4c5602b35a0c9106e01da60f10b9ea4aef9c073636714c957b35a7967164736f6c634300081a0033",
1423
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610318575f3560e01c80636bd1c0eb116101af578063bae99c99116100fe578063e7f7fb861161009e578063f7c34ee011610079578063f7c34ee014610708578063f80e20721461071b578063f83d08ba1461072e578063f8bf0d9f14610736575f80fd5b8063e7f7fb86146106cd578063ea15869f146106e0578063f5860e1a146106f4575f80fd5b8063d16d0fe8116100d9578063d16d0fe814610660578063de7b5d1414610673578063deaa59df14610690578063e145d46c146106a3575f80fd5b8063bae99c9914610632578063bb1e0e5914610645578063bf7e214f14610658575f80fd5b80638fb3603711610169578063ada9652e11610144578063ada9652e146105f0578063b2a6b42d14610604578063b423086c14610617578063b6b412ba1461061f575f80fd5b80638fb36037146105b257806390edbd35146105d3578063a69df4b5146105e8575f80fd5b80636bd1c0eb1461053a5780637427d7a81461056a5780637a9e5e4b1461057d57806387ef9ba014610590578063893d20e8146105975780638f0c86fa1461059f575f80fd5b806327bb7a331161026b57806343d752d3116102255780635ab1bd53116102005780635ab1bd53146104fb5780635dcb3bae1461050c578063644c45e01461051f578063675393bf14610527575f80fd5b806343d752d3146104d85780635741e5e9146104e057806359660bea146104e8575f80fd5b806327bb7a33146104575780632b5198b11461046a5780632eb3e6f41461049657806336fc697e146104aa5780633d683fd9146104b2578063419197fe146104c5575f80fd5b806317d7de7c116102d65780631eff4b22116102b15780631eff4b22146103ff578063214cdb801461043457806321df0da714610447578063223668441461044f575f80fd5b806317d7de7c146103cd5780631aa3a008146103e25780631c6b2190146103ec575f80fd5b806251884a1461031c57806301ffc9a71461034157806307e71a6e1461037d5780630fec111c1461039057806313299604146103a5578063138461e0146103c5575b5f80fd5b610324610749565b6040516001600160601b0390911681526020015b60405180910390f35b61036d61034f3660046130c5565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610338565b61032461038b36600461310b565b61075b565b610398610860565b6040516103389190613170565b6103ad610a1e565b6040516001600160a01b039091168152602001610338565b610324610a30565b6103d5610a3f565b60405161033891906131fc565b6103ea610a4f565b005b6103246103fa36600461320e565b610afc565b6104267f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610338565b6103ea6104423660046130c5565b610b52565b6103ad610b7e565b61036d610b90565b6103ea610465366004613381565b610c86565b61047d610478366004613430565b610d2b565b6040516001600160c01b03199091168152602001610338565b6104265f8051602061402a83398151915281565b6103ea610d8f565b6103ea6104c0366004613506565b610dd4565b6103ea6104d3366004613563565b610e28565b6103ad610fe8565b61036d610ffa565b61047d6104f636600461357f565b6110ae565b6001546001600160a01b03166103ad565b61032461051a366004613618565b611105565b61032461115f565b6103ea610535366004613635565b61117a565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166103ad565b61047d610578366004613650565b611287565b6103ea61058b366004613635565b611307565b600161036d565b6103ad611389565b61036d6105ad366004613635565b6114ba565b6105ba61157f565b6040516001600160e01b03199091168152602001610338565b6105db6115b4565b6040516103389190613681565b6103ea6115d9565b6104265f80516020613faa83398151915281565b610324610612366004613635565b611677565b6105db6116b9565b6103ea61062d366004613760565b6116c9565b6103ea61064036600461320e565b611717565b6103ea610653366004613793565b611763565b6103ad61180a565b61042661066e3660046137bd565b611825565b5f8051602061402a833981519152546001600160a01b03166103ad565b6103ea61069e366004613635565b611839565b6106b66106b1366004613650565b611ab0565b6040805192835260ff909116602083015201610338565b6103ea6106db3660046137d9565b611b6a565b6104265f80516020613fca83398151915281565b6104265f8051602061400a83398151915281565b6103ea610716366004613817565b611c12565b6103ea6107293660046137bd565b611c88565b6103ea611c91565b6103ea610744366004613843565b611d05565b5f6107526115b4565b60200151905090565b5f610768335b5f36611e04565b610771336114ba565b6107955760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826107a86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156107f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610819919061394d565b6001600160a01b0316336001600160a01b03161461084c5760405163086391f760e31b815233600482015260240161078c565b6108568484611f02565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610910573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109349190613973565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161097c611389565b6001600160a01b031681526020018260010180546109999061398e565b80601f01602080910402602001604051908101604052809291908181526020018280546109c59061398e565b8015610a105780601f106109e757610100808354040283529160200191610a10565b820191905f5260205f20905b8154815290600101906020018083116109f357829003601f168201915b505050505081525091505090565b5f610a276115b4565b60800151905090565b5f610a3a30611f8e565b905090565b6060610a496115b4565b51919050565b610a57611389565b6001600160a01b0316336001600160a01b031614610a8a5760405163086391f760e31b815233600482015260240161078c565b5f8051602061400a833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610ada575f80fd5b505af1158015610aec573d5f803e3d5ffd5b50505050610afa5f19612182565b565b5f610b05611389565b6001600160a01b0316336001600160a01b031614610b385760405163086391f760e31b815233600482015260240161078c565b610b4133610761565b610b4a8261223b565b90505b919050565b610b5a6122bf565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610b876115b4565b60400151905090565b5f610ba36001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0b9190613973565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3a91906139d1565b610c8e6122bf565b610c988287611c12565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610d218382613a30565b5050505050505050565b5f610d34611389565b6001600160a01b0316336001600160a01b031614610d675760405163086391f760e31b815233600482015260240161078c565b610d7033610761565b610d818a8a8a8a8a8a8a8a8a61230d565b9a9950505050505050505050565b610d976122bf565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610ddc611389565b6001600160a01b0316336001600160a01b031614610e0f5760405163086391f760e31b815233600482015260240161078c565b610e1833610761565b610e238383836123cc565b505050565b610e30611389565b6001600160a01b0316336001600160a01b031614610e635760405163086391f760e31b815233600482015260240161078c565b30610e6c610a1e565b6001600160a01b031614610e935760405163b6d7537f60e01b815260040160405180910390fd5b816001600160a01b031663095ea7b3610eaa610fe8565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610f00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f249190613aea565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610f6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9091906139d1565b507ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610fba610fe8565b604080516001600160a01b0390921682526001600160601b0384166020830152015b60405180910390a15050565b5f610ff16115b4565b60600151905090565b5f611003610b90565b1561107e576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611057573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ff19190810190613b5b565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f6110b8336114ba565b6110d75760405163637c41bb60e01b815233600482015260240161078c565b6110e033610761565b5f6110ea33611677565b90506110fa8188888888886123e3565b979650505050505050565b5f61110e611389565b6001600160a01b0316336001600160a01b0316146111415760405163086391f760e31b815233600482015260240161078c565b61114a33610761565b611155848484612499565b90505b9392505050565b5f80516020613faa833981519152546001600160601b031690565b6111826122bf565b806001600160a01b03163b5f036111b75760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611231575060408051601f3d908101601f1916820190925261122e918101906139d1565b60015b6112595760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078c565b806112825760405163fdeac91f60e01b81526001600160a01b038316600482015260240161078c565b505b50565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd66112aa61115f565b846040518363ffffffff1660e01b81526004016112c8929190613c2b565b602060405180830381865af41580156112e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a9190613c4c565b3361131061180a565b6001600160a01b0316816001600160a01b03161461134b5760405162d1953b60e31b81526001600160a01b038216600482015260240161078c565b816001600160a01b03163b5f03611380576040516361798f2f60e11b81526001600160a01b038316600482015260240161078c565b6112828261265d565b5f805f80516020613faa83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156113f5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141991906139d1565b156114a4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561147a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061149e919061394d565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061400a8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561155b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115891906139d1565b5f80516020613fea83398151915280545f9190600160a01b900460ff166115a6575f61149e565b638fb3603760e01b91505090565b6115bc61306f565b6115c4610b90565b156115d157610a3a6126b6565b610a3a6116b9565b6115e1611389565b6001600160a01b0316336001600160a01b0316146116145760405163086391f760e31b815233600482015260240161078c565b61161e600a61287d565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561165f575f80fd5b505af1158015611671573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6116c161306f565b610a3a6126b6565b6116d1611389565b6001600160a01b0316336001600160a01b0316146117045760405163086391f760e31b815233600482015260240161078c565b61170d33610761565b611282828261297e565b61171f611389565b6001600160a01b0316336001600160a01b0316146117525760405163086391f760e31b815233600482015260240161078c565b61128461175d610b7e565b82610e28565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117ce919061394d565b6001600160a01b0316336001600160a01b0316146118005760405162f0630960e01b815233600482015260240161078c565b6112828282611282565b5f80516020613fea833981519152546001600160a01b031690565b5f6118308282613c67565b90505b92915050565b611841611389565b6001600160a01b0316336001600160a01b0316146118745760405163086391f760e31b815233600482015260240161078c565b5f61187d610a1e565b90505f611888610b7e565b6040516370a0823160e01b81526001600160a01b0384811660048301529192505f918316906370a0823190602401602060405180830381865afa1580156118d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f59190613aea565b905080156119c4576001600160a01b03831630146119c457604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301525f919084169063dd62ed3e90604401602060405180830381865afa15801561195a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061197e9190613aea565b9050818110156119c2576040516372c963b360e11b81526001600160a01b03808616600483015286166024820152604481018290526064810183905260840161078c565b505b6119cd846129e5565b801561167157306001600160a01b03841603611a535760405163095ea7b360e01b8152306004820152602481018290526001600160a01b0383169063095ea7b3906044016020604051808303815f875af1158015611a2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5191906139d1565b505b611a5f82848684612a7e565b604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a150505050565b5f805f611abc84611287565b9050611aef7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b609190613c8a565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd5919061394d565b6001600160a01b0316336001600160a01b031614611c075760405162f0630960e01b815233600482015260240161078c565b610e23838383612ad8565b611c1a6122bf565b611c238161117a565b611c2b610d8f565b6001600160a01b038216611c525760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613faa83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61128233610761565b611c99611389565b6001600160a01b0316336001600160a01b031614611ccc5760405163086391f760e31b815233600482015260240161078c565b611cd6600a61287d565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611648565b611d0d6122bf565b611d1b898987878787610c86565b611d248a612c7e565b6001600160a01b038616611d4b576040516327eab2e360e11b815260040160405180910390fd5b86515f03611d6c5760405163591eebf360e11b815260040160405180910390fd5b5f80516020613fca83398151915280611d858982613a30565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101611dd68382613a30565b50611de7634a531f3360e01b610b52565b611df7632986755f60e11b610b52565b5050505050505050505050565b5f80516020613fea8339815191525f80611e3c611e1f61180a565b8730611e2e60045f8a8c613cae565b611e3791613cd5565b612c8f565b9150915081611efa5763ffffffff811615611ed757825460ff60a01b1916600160a01b178355611e6a61180a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e9993929190613d0b565b5f604051808303815f87803b158015611eb0575f80fd5b505af1158015611ec2573d5f803e3d5ffd5b5050845460ff60a01b1916855550611efa9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161078c565b505050505050565b5f5f8051602061400a833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611f6a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118309190613973565b5f805f80516020613faa83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ffa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061201e91906139d1565b1561204a5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161078c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561209c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120c091906139d1565b6120e85760405163b9304b0d60e01b81526001600160a01b038416600482015260240161078c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561213a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061215e9190613973565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f80516020613fca833981519152906001600160a01b031663095ea7b36121c96115b4565b606001516040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015612217573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2391906139d1565b5f5f8051602061402a833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561229b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a9190613973565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610afa57604051631afcd79f60e31b815260040160405180910390fd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f8051602061400a833981519152916001600160a01b0390911690632b5198b19061237d908e908e908e908e908e908e908e908e908e90600401613d4a565b6020604051808303815f875af1158015612399573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123bd9190613c4c565b9b9a5050505050505050505050565b5f5f8051602061400a8339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f8051602061400a833981519152916001600160a01b0390911690638dd2b7819061244d908b908b908b908b908b908b90600401613dbb565b6020604051808303815f875af1158015612469573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248d9190613c4c565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061400a8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561253a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255e91906139d1565b156125a9576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161078c565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906125df90889088908890600401613e1a565b6020604051808303815f875af11580156125fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061261f9190613973565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613fea83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610fdc565b6126be61306f565b5f6126d16001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015612715573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127399190613973565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612792573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127b691906139d1565b15612875577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36127f361115f565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612834573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261285b9190810190613e4d565b60808101519092506001600160a01b031615612875575090565b61149e612d97565b5f805f8051602061402a8339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156128d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128f79190613f25565b905061290b6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa15801561295a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611158919061394d565b5f8051602061400a83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906129bc9085908590600401613f40565b5f604051808303815f87803b1580156129d3575f80fd5b505af1158015611efa573d5f803e3d5ffd5b6129ed611389565b6001600160a01b0316336001600160a01b031614612a205760405163086391f760e31b815233600482015260240161078c565b612a2a600b61287d565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612a6c575f80fd5b505af11580156123dc573d5f803e3d5ffd5b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611671908590612efb565b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f8051602061400a833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b959190613973565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612c1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c3f9190613973565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612c866122bf565b61128481612f5c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612cfd9190613f66565b5f60405180830381855afa9150503d805f8114612d35576040519150601f19603f3d011682016040523d82523d5f602084013e612d3a565b606091505b50915091508115612d8c576040815110612d6c5780806020019051810190612d629190613f7c565b9094509250612d8c565b6020815110612d8c5780806020019051810190612d8991906139d1565b93505b505094509492505050565b612d9f61306f565b5f5f80516020613fca83398151915290506040518060c00160405280825f018054612dc99061398e565b80601f0160208091040260200160405190810160405280929190818152602001828054612df59061398e565b8015612e405780601f10612e1757610100808354040283529160200191612e40565b820191905f5260205f20905b815481529060010190602001808311612e2357829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eb59190613973565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916109999061398e565b5f612f0f6001600160a01b03841683612f6d565b905080515f14158015612f33575080806020019051810190612f3191906139d1565b155b15610e2357604051635274afe760e01b81526001600160a01b038416600482015260240161078c565b612f646122bf565b6112848161265d565b606061183083835f845f80856001600160a01b03168486604051612f919190613f66565b5f6040518083038185875af1925050503d805f8114612fcb576040519150601f19603f3d011682016040523d82523d5f602084013e612fd0565b606091505b5091509150612fe0868383612fea565b9695505050505050565b606082612fff57612ffa82613046565b611158565b815115801561301657506001600160a01b0384163b155b1561303f57604051639996b31560e01b81526001600160a01b038516600482015260240161078c565b5080611158565b8051156130565780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156130d5575f80fd5b81356001600160e01b031981168114611158575f80fd5b6001600160601b0381168114611284575f80fd5b8035610b4d816130ec565b5f806040838503121561311c575f80fd5b8235613127816130ec565b91506020830135613137816130ec565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516131b8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610856610100840182613142565b602081525f6118306020830184613142565b5f6020828403121561321e575f80fd5b8135611158816130ec565b6001600160a01b0381168114611284575f80fd5b8035610b4d81613229565b60ff81168114611284575f80fd5b8035610b4d81613248565b8015158114611284575f80fd5b8035610b4d81613261565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156132af576132af613279565b60405290565b60405160c081016001600160401b03811182821017156132af576132af613279565b604051601f8201601f191681016001600160401b03811182821017156132ff576132ff613279565b604052919050565b5f6001600160401b0382111561331f5761331f613279565b50601f01601f191660200190565b5f82601f83011261333c575f80fd5b8135602083015f61335461334f84613307565b6132d7565b9050828152858383011115613367575f80fd5b828260208301375f92810160200192909252509392505050565b5f805f805f8060c08789031215613396575f80fd5b86356133a181613229565b955060208701356133b1816130ec565b945060408701356133c181613248565b935060608701356133d181613261565b925060808701356133e181613229565b915060a08701356001600160401b038111156133fb575f80fd5b61340789828a0161332d565b9150509295509295509295565b63ffffffff81168114611284575f80fd5b8035610b4d81613414565b5f805f805f805f805f6101208a8c031215613449575f80fd5b89356001600160401b0381111561345e575f80fd5b61346a8c828d0161332d565b99505060208a0135975060408a0135965060608a0135955060808a013561349081613414565b945061349e60a08b01613425565b93506134ac60c08b0161326e565b92506134ba60e08b0161326e565b91506101008a01356001600160401b038111156134d5575f80fd5b6134e18c828d0161332d565b9150509295985092959850929598565b6001600160c01b031981168114611284575f80fd5b5f805f60608486031215613518575f80fd5b8335613523816130ec565b92506020840135613533816134f1565b915060408401356001600160401b0381111561354d575f80fd5b6135598682870161332d565b9150509250925092565b5f8060408385031215613574575f80fd5b823561312781613229565b5f805f805f60a08688031215613593575f80fd5b85356001600160401b038111156135a8575f80fd5b6135b48882890161332d565b9550506020860135935060408601356135cc81613414565b9250606086013564ffffffffff811681146135e5575f80fd5b915060808601356001600160401b038111156135ff575f80fd5b61360b8882890161332d565b9150509295509295909350565b5f805f6060848603121561362a575f80fd5b833561352381613229565b5f60208284031215613645575f80fd5b813561115881613229565b5f60208284031215613660575f80fd5b81356001600160401b03811115613675575f80fd5b6108568482850161332d565b602081525f825160c0602084015261369c60e0840182613142565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516136ef60a08501826001600160a01b03169052565b5060a0840151838203601f190160c085015261370b8282613142565b95945050505050565b5f60408284031215613724575f80fd5b604080519081016001600160401b038111828210171561374657613746613279565b604052823581526020928301359281019290925250919050565b5f8060808385031215613771575f80fd5b61377b8484613714565b915061378a8460408501613714565b90509250929050565b5f80604083850312156137a4575f80fd5b82356137af81613229565b946020939093013593505050565b5f80604083850312156137ce575f80fd5b82356137af816134f1565b5f805f606084860312156137eb575f80fd5b83356137f681613229565b9250602084013561380681613229565b929592945050506040919091013590565b5f8060408385031215613828575f80fd5b823561383381613229565b9150602083013561313781613229565b5f805f805f805f805f806101408b8d03121561385d575f80fd5b6138668b61323d565b995061387460208c0161323d565b985061388260408c01613100565b975060608b01356001600160401b0381111561389c575f80fd5b6138a88d828e0161332d565b9750506138b760808c0161323d565b95506138c560a08c01613256565b94506138d360c08c0161326e565b93506138e160e08c0161323d565b92506101008b01356001600160401b038111156138fc575f80fd5b6139088d828e0161332d565b9250506101208b01356001600160401b03811115613924575f80fd5b6139308d828e0161332d565b9150509295989b9194979a5092959850565b8051610b4d81613229565b5f6020828403121561395d575f80fd5b815161115881613229565b8051610b4d816130ec565b5f60208284031215613983575f80fd5b8151611158816130ec565b600181811c908216806139a257607f821691505b6020821081036139c057634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b4d81613261565b5f602082840312156139e1575f80fd5b815161115881613261565b601f821115610e2357805f5260205f20601f840160051c81016020851015613a115750805b601f840160051c820191505b818110156123dc575f8155600101613a1d565b81516001600160401b03811115613a4957613a49613279565b613a5d81613a57845461398e565b846139ec565b6020601f821160018114613a8f575f8315613a785750848201515b5f19600385901b1c1916600184901b1784556123dc565b5f84815260208120601f198516915b82811015613abe5787850151825560209485019460019092019101613a9e565b5084821015613adb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215613afa575f80fd5b5051919050565b8051610b4d81613248565b5f82601f830112613b1b575f80fd5b8151602083015f613b2e61334f84613307565b9050828152858383011115613b41575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613b6b575f80fd5b81516001600160401b03811115613b80575f80fd5b820160e08185031215613b91575f80fd5b613b9961328d565b613ba282613968565b8152613bb060208301613968565b6020820152613bc160408301613b01565b6040820152613bd2606083016139c6565b6060820152613be360808301613942565b6080820152613bf460a08301613942565b60a082015260c08201516001600160401b03811115613c11575f80fd5b613c1d86828501613b0c565b60c083015250949350505050565b6001600160601b0383168152604060208201525f6111556040830184613142565b5f60208284031215613c5c575f80fd5b8151611158816134f1565b808202811582820484141761183357634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613c9b575f80fd5b8251602084015190925061313781613248565b5f8085851115613cbc575f80fd5b83861115613cc8575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610859576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613d5e61012083018c613142565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613dab8185613142565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613ddc60c0830188613142565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613e0d8185613142565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061370b90830184613142565b5f60208284031215613e5d575f80fd5b81516001600160401b03811115613e72575f80fd5b820160c08185031215613e83575f80fd5b613e8b6132b5565b81516001600160401b03811115613ea0575f80fd5b613eac86828501613b0c565b825250613ebb60208301613968565b6020820152613ecc60408301613942565b6040820152613edd60608301613942565b6060820152613eee60808301613942565b608082015260a08201516001600160401b03811115613f0b575f80fd5b613f1786828501613b0c565b60a083015250949350505050565b5f60208284031215613f35575f80fd5b815161115881613248565b825181526020808401518183015282516040830152820151606082015260808101611158565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613f8d575f80fd5b8251613f9881613261565b60208401519092506131378161341456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220bb441a4c5602b35a0c9106e01da60f10b9ea4aef9c073636714c957b35a7967164736f6c634300081a0033",
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",
1424
1144
  "linkReferences": {
1425
- "contracts/type/Amount.sol": {
1426
- "AmountLib": [
1427
- {
1428
- "length": 20,
1429
- "start": 3812
1430
- }
1431
- ]
1432
- },
1433
1145
  "contracts/type/NftId.sol": {
1434
1146
  "NftIdLib": [
1435
1147
  {
1436
1148
  "length": 20,
1437
- "start": 2279
1438
- },
1439
- {
1440
- "length": 20,
1441
- "start": 3142
1442
- },
1443
- {
1444
- "length": 20,
1445
- "start": 5081
1446
- },
1447
- {
1448
- "length": 20,
1449
- "start": 5439
1450
- },
1451
- {
1452
- "length": 20,
1453
- "start": 8158
1149
+ "start": 2003
1454
1150
  },
1455
1151
  {
1456
1152
  "length": 20,
1457
- "start": 9502
1153
+ "start": 2880
1458
1154
  },
1459
1155
  {
1460
1156
  "length": 20,
1461
- "start": 10102
1157
+ "start": 3826
1462
1158
  },
1463
1159
  {
1464
1160
  "length": 20,
1465
- "start": 11080
1161
+ "start": 5726
1466
1162
  },
1467
1163
  {
1468
1164
  "length": 20,
1469
- "start": 11263
1470
- },
1165
+ "start": 6989
1166
+ }
1167
+ ]
1168
+ },
1169
+ "contracts/type/ObjectType.sol": {
1170
+ "ObjectTypeLib": [
1471
1171
  {
1472
1172
  "length": 20,
1473
- "start": 11880
1173
+ "start": 5250
1474
1174
  }
1475
1175
  ]
1476
1176
  },
@@ -1478,61 +1178,49 @@
1478
1178
  "ReferralLib": [
1479
1179
  {
1480
1180
  "length": 20,
1481
- "start": 4774
1181
+ "start": 3411
1482
1182
  }
1483
1183
  ]
1484
- }
1485
- },
1486
- "deployedLinkReferences": {
1487
- "contracts/type/Amount.sol": {
1488
- "AmountLib": [
1184
+ },
1185
+ "contracts/type/Version.sol": {
1186
+ "VersionLib": [
1489
1187
  {
1490
1188
  "length": 20,
1491
- "start": 3784
1189
+ "start": 1803
1492
1190
  }
1493
1191
  ]
1494
- },
1192
+ }
1193
+ },
1194
+ "deployedLinkReferences": {
1495
1195
  "contracts/type/NftId.sol": {
1496
1196
  "NftIdLib": [
1497
1197
  {
1498
1198
  "length": 20,
1499
- "start": 2251
1500
- },
1501
- {
1502
- "length": 20,
1503
- "start": 3114
1199
+ "start": 1975
1504
1200
  },
1505
1201
  {
1506
1202
  "length": 20,
1507
- "start": 5053
1203
+ "start": 2852
1508
1204
  },
1509
1205
  {
1510
1206
  "length": 20,
1511
- "start": 5411
1207
+ "start": 3798
1512
1208
  },
1513
1209
  {
1514
1210
  "length": 20,
1515
- "start": 8130
1211
+ "start": 5698
1516
1212
  },
1517
1213
  {
1518
1214
  "length": 20,
1519
- "start": 9474
1520
- },
1521
- {
1522
- "length": 20,
1523
- "start": 10074
1524
- },
1525
- {
1526
- "length": 20,
1527
- "start": 11052
1528
- },
1529
- {
1530
- "length": 20,
1531
- "start": 11235
1532
- },
1215
+ "start": 6961
1216
+ }
1217
+ ]
1218
+ },
1219
+ "contracts/type/ObjectType.sol": {
1220
+ "ObjectTypeLib": [
1533
1221
  {
1534
1222
  "length": 20,
1535
- "start": 11852
1223
+ "start": 5222
1536
1224
  }
1537
1225
  ]
1538
1226
  },
@@ -1540,7 +1228,15 @@
1540
1228
  "ReferralLib": [
1541
1229
  {
1542
1230
  "length": 20,
1543
- "start": 4746
1231
+ "start": 3383
1232
+ }
1233
+ ]
1234
+ },
1235
+ "contracts/type/Version.sol": {
1236
+ "VersionLib": [
1237
+ {
1238
+ "length": 20,
1239
+ "start": 1775
1544
1240
  }
1545
1241
  ]
1546
1242
  }