@etherisc/gif-next 0.0.2-f18fb8b-243 → 0.0.2-f1b01e0-214

Sign up to get free protection for your applications and to get access to all the features.
Files changed (557) hide show
  1. package/README.md +89 -8
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +496 -255
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +277 -20
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +395 -203
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +143 -19
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +180 -476
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +265 -31
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +119 -380
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +473 -287
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +151 -109
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +123 -194
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +318 -90
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +242 -45
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +147 -96
  73. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  74. package/artifacts/contracts/instance/Instance.sol/Instance.json +263 -130
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +738 -328
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +209 -94
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1080 -357
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +175 -281
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +96 -96
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +863 -726
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +133 -350
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +247 -33
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +117 -136
  114. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  116. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +109 -318
  118. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
  120. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
  122. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +175 -421
  124. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +265 -31
  126. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +337 -210
  128. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +143 -97
  130. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +212 -35
  132. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +139 -212
  134. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +460 -308
  136. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  137. package/artifacts/contracts/pool/Pool.sol/Pool.json +129 -392
  138. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  140. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +673 -552
  142. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +163 -97
  144. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +194 -178
  146. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +100 -90
  148. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +276 -435
  150. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +265 -31
  152. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +415 -234
  154. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +140 -114
  156. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +136 -9
  158. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
  160. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
  162. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
  164. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +260 -229
  166. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  167. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
  168. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +459 -309
  170. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  172. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +141 -99
  174. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.json +232 -333
  176. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +109 -131
  178. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  179. package/artifacts/contracts/product/Product.sol/Product.json +268 -427
  180. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  182. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  184. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +370 -22
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +72 -152
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  192. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  194. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/Registry.sol/Registry.json +597 -80
  196. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +645 -373
  198. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  215. package/artifacts/contracts/shared/Component.sol/Component.json +67 -277
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +608 -539
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +142 -110
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +80 -100
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +568 -252
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +106 -136
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +98 -318
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  258. package/artifacts/contracts/shared/{NftIdSetManager.sol/NftIdSetManager.json → NftIdSet.sol/NftIdSet.json} +4 -4
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  267. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +196 -143
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +152 -20
  279. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  280. package/artifacts/contracts/staking/Staking.sol/Staking.json +274 -391
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +126 -95
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +35 -67
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +205 -168
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +103 -85
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +198 -138
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +82 -36
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +63 -10
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  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 +98 -37
  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 +79 -15
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -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/Timestamp.sol/TimestampLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  339. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +109 -35
  341. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  343. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  345. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  346. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  347. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  349. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  350. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  351. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  352. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  353. package/contracts/accounting/AccountingService.sol +262 -0
  354. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  355. package/contracts/accounting/IAccountingService.sol +45 -0
  356. package/contracts/authorization/AccessAdmin.sol +338 -225
  357. package/contracts/authorization/AccessAdminLib.sol +183 -0
  358. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  359. package/contracts/authorization/Authorization.sol +350 -203
  360. package/contracts/authorization/IAccess.sol +13 -4
  361. package/contracts/authorization/IAccessAdmin.sol +69 -35
  362. package/contracts/authorization/IAuthorization.sol +33 -7
  363. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  364. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  365. package/contracts/distribution/BasicDistribution.sol +20 -28
  366. package/contracts/distribution/BasicDistributionAuthorization.sol +26 -9
  367. package/contracts/distribution/Distribution.sol +41 -80
  368. package/contracts/distribution/DistributionService.sol +206 -123
  369. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  370. package/contracts/distribution/IDistributionComponent.sol +9 -14
  371. package/contracts/distribution/IDistributionService.sol +40 -22
  372. package/contracts/examples/fire/DamageLevel.sol +59 -0
  373. package/contracts/examples/fire/FirePool.sol +86 -0
  374. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  375. package/contracts/examples/fire/FireProduct.sol +433 -0
  376. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  377. package/contracts/examples/fire/FireUSD.sol +26 -0
  378. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  379. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  380. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  381. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  382. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  384. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  385. package/contracts/instance/BundleSet.sol +130 -0
  386. package/contracts/instance/IInstance.sol +68 -48
  387. package/contracts/instance/IInstanceService.sol +30 -34
  388. package/contracts/instance/Instance.sol +121 -71
  389. package/contracts/instance/InstanceAdmin.sol +289 -105
  390. package/contracts/instance/InstanceAuthorizationV3.sol +99 -66
  391. package/contracts/instance/InstanceReader.sol +288 -43
  392. package/contracts/instance/InstanceService.sol +209 -193
  393. package/contracts/instance/InstanceServiceManager.sol +8 -13
  394. package/contracts/instance/InstanceStore.sol +24 -2
  395. package/contracts/instance/RiskSet.sol +118 -0
  396. package/contracts/instance/base/ObjectCounter.sol +1 -2
  397. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  398. package/contracts/instance/base/ObjectSet.sol +77 -0
  399. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  400. package/contracts/instance/module/IBundle.sol +6 -5
  401. package/contracts/instance/module/IComponents.sol +30 -20
  402. package/contracts/instance/module/IDistribution.sol +21 -9
  403. package/contracts/instance/module/IPolicy.sol +50 -29
  404. package/contracts/instance/module/IRisk.sol +5 -0
  405. package/contracts/mock/Dip.sol +1 -1
  406. package/contracts/oracle/BasicOracle.sol +1 -4
  407. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  408. package/contracts/oracle/IOracle.sol +9 -4
  409. package/contracts/oracle/IOracleComponent.sol +2 -1
  410. package/contracts/oracle/IOracleService.sol +2 -1
  411. package/contracts/oracle/Oracle.sol +21 -24
  412. package/contracts/oracle/OracleService.sol +113 -81
  413. package/contracts/oracle/OracleServiceManager.sol +8 -11
  414. package/contracts/pool/BasicPool.sol +37 -28
  415. package/contracts/pool/BasicPoolAuthorization.sol +36 -9
  416. package/contracts/pool/BundleService.sol +204 -105
  417. package/contracts/pool/BundleServiceManager.sol +8 -11
  418. package/contracts/pool/IBundleService.sol +31 -22
  419. package/contracts/pool/IPoolComponent.sol +20 -10
  420. package/contracts/pool/IPoolService.sol +90 -75
  421. package/contracts/pool/Pool.sol +145 -113
  422. package/contracts/pool/PoolLib.sol +216 -0
  423. package/contracts/pool/PoolService.sol +544 -241
  424. package/contracts/pool/PoolServiceManager.sol +6 -9
  425. package/contracts/product/ApplicationService.sol +98 -78
  426. package/contracts/product/ApplicationServiceManager.sol +6 -6
  427. package/contracts/product/BasicProduct.sol +12 -45
  428. package/contracts/product/BasicProductAuthorization.sol +25 -9
  429. package/contracts/product/ClaimService.sol +365 -175
  430. package/contracts/product/ClaimServiceManager.sol +6 -6
  431. package/contracts/product/IApplicationService.sol +9 -2
  432. package/contracts/product/IClaimService.sol +44 -8
  433. package/contracts/product/IPolicyService.sol +53 -36
  434. package/contracts/product/IPricingService.sol +11 -10
  435. package/contracts/product/IProductComponent.sol +28 -5
  436. package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
  437. package/contracts/product/PolicyService.sol +458 -269
  438. package/contracts/product/PolicyServiceLib.sol +65 -0
  439. package/contracts/product/PolicyServiceManager.sol +6 -9
  440. package/contracts/product/PricingService.sol +69 -60
  441. package/contracts/product/PricingServiceManager.sol +6 -9
  442. package/contracts/product/Product.sol +168 -93
  443. package/contracts/product/RiskService.sol +154 -0
  444. package/contracts/product/RiskServiceManager.sol +39 -0
  445. package/contracts/registry/ChainNft.sol +72 -40
  446. package/contracts/registry/IRegistry.sol +78 -29
  447. package/contracts/registry/IRegistryService.sol +3 -10
  448. package/contracts/registry/IRelease.sol +26 -0
  449. package/contracts/registry/ITransferInterceptor.sol +1 -2
  450. package/contracts/registry/Registry.sol +368 -216
  451. package/contracts/registry/RegistryAdmin.sol +166 -273
  452. package/contracts/registry/RegistryAuthorization.sol +267 -0
  453. package/contracts/registry/RegistryService.sol +41 -66
  454. package/contracts/registry/RegistryServiceManager.sol +5 -5
  455. package/contracts/registry/ReleaseAdmin.sol +253 -0
  456. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  457. package/contracts/registry/ReleaseRegistry.sol +517 -0
  458. package/contracts/registry/ServiceAuthorizationV3.sol +183 -52
  459. package/contracts/registry/TokenRegistry.sol +8 -10
  460. package/contracts/shared/Component.sol +65 -136
  461. package/contracts/shared/ComponentService.sol +463 -336
  462. package/contracts/shared/ComponentServiceManager.sol +10 -7
  463. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  464. package/contracts/shared/ContractLib.sol +281 -0
  465. package/contracts/shared/IComponent.sol +5 -17
  466. package/contracts/shared/IComponentService.sol +51 -41
  467. package/contracts/shared/IInstanceLinkedComponent.sol +7 -27
  468. package/contracts/shared/ILifecycle.sol +3 -1
  469. package/contracts/shared/INftOwnable.sol +2 -0
  470. package/contracts/shared/IPolicyHolder.sol +12 -22
  471. package/contracts/shared/IRegisterable.sol +23 -1
  472. package/contracts/shared/IService.sol +4 -6
  473. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
  474. package/contracts/shared/InstanceLinkedComponent.sol +81 -37
  475. package/contracts/shared/KeyValueStore.sol +1 -1
  476. package/contracts/shared/Lifecycle.sol +15 -4
  477. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  478. package/contracts/shared/NftOwnable.sol +31 -11
  479. package/contracts/shared/PolicyHolder.sol +17 -57
  480. package/contracts/shared/Registerable.sol +52 -21
  481. package/contracts/shared/RegistryLinked.sol +9 -14
  482. package/contracts/shared/Service.sol +18 -36
  483. package/contracts/shared/TokenHandler.sol +310 -26
  484. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  485. package/contracts/staking/IStaking.sol +20 -13
  486. package/contracts/staking/IStakingService.sol +28 -9
  487. package/contracts/staking/Staking.sol +118 -85
  488. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
  489. package/contracts/staking/StakingManager.sol +10 -12
  490. package/contracts/staking/StakingReader.sol +26 -33
  491. package/contracts/staking/StakingService.sol +90 -37
  492. package/contracts/staking/StakingServiceManager.sol +8 -7
  493. package/contracts/staking/StakingStore.sol +14 -23
  494. package/contracts/staking/TargetManagerLib.sol +7 -3
  495. package/contracts/type/Amount.sol +27 -5
  496. package/contracts/type/Blocknumber.sol +7 -1
  497. package/contracts/type/ClaimId.sol +6 -1
  498. package/contracts/type/Fee.sol +8 -8
  499. package/contracts/type/Key32.sol +2 -2
  500. package/contracts/type/Key32Set.sol +62 -0
  501. package/contracts/type/NftId.sol +7 -0
  502. package/contracts/type/ObjectType.sol +60 -41
  503. package/contracts/type/PayoutId.sol +10 -10
  504. package/contracts/type/Referral.sol +1 -0
  505. package/contracts/type/RiskId.sol +38 -6
  506. package/contracts/type/RoleId.sol +23 -15
  507. package/contracts/type/Seconds.sol +21 -1
  508. package/contracts/type/Selector.sol +5 -0
  509. package/contracts/type/StateId.sol +15 -1
  510. package/contracts/type/Timestamp.sol +10 -5
  511. package/contracts/type/UFixed.sol +56 -126
  512. package/contracts/type/Version.sol +57 -6
  513. package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -38
  514. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  515. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  516. package/package.json +5 -4
  517. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  518. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  519. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  520. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  521. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  522. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
  523. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  524. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -181
  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/ProductService.sol/ProductService.dbg.json +0 -4
  529. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  530. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  531. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  532. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  533. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1159
  534. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  535. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  536. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  537. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  538. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  539. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  540. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  541. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  542. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  543. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  544. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  545. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -460
  546. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  547. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  548. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  549. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  550. package/contracts/instance/BundleManager.sol +0 -126
  551. package/contracts/instance/base/ObjectManager.sol +0 -79
  552. package/contracts/instance/module/IAccess.sol +0 -46
  553. package/contracts/product/ProductService.sol +0 -124
  554. package/contracts/product/ProductServiceManager.sol +0 -42
  555. package/contracts/registry/ReleaseManager.sol +0 -487
  556. package/contracts/shared/InitializableCustom.sol +0 -177
  557. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -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,7 +318,7 @@
355
318
  {
356
319
  "indexed": false,
357
320
  "internalType": "address",
358
- "name": "caller",
321
+ "name": "operator",
359
322
  "type": "address"
360
323
  }
361
324
  ],
@@ -427,37 +390,6 @@
427
390
  "stateMutability": "view",
428
391
  "type": "function"
429
392
  },
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
393
  {
462
394
  "inputs": [],
463
395
  "name": "authority",
@@ -495,6 +427,29 @@
495
427
  "stateMutability": "view",
496
428
  "type": "function"
497
429
  },
430
+ {
431
+ "inputs": [
432
+ {
433
+ "internalType": "NftId",
434
+ "name": "distributorNftId",
435
+ "type": "uint96"
436
+ },
437
+ {
438
+ "internalType": "DistributorType",
439
+ "name": "distributorType",
440
+ "type": "bytes8"
441
+ },
442
+ {
443
+ "internalType": "bytes",
444
+ "name": "data",
445
+ "type": "bytes"
446
+ }
447
+ ],
448
+ "name": "changeDistributorType",
449
+ "outputs": [],
450
+ "stateMutability": "nonpayable",
451
+ "type": "function"
452
+ },
498
453
  {
499
454
  "inputs": [
500
455
  {
@@ -534,17 +489,17 @@
534
489
  {
535
490
  "internalType": "UFixed",
536
491
  "name": "minDiscountPercentage",
537
- "type": "uint256"
492
+ "type": "uint160"
538
493
  },
539
494
  {
540
495
  "internalType": "UFixed",
541
496
  "name": "maxDiscountPercentage",
542
- "type": "uint256"
497
+ "type": "uint160"
543
498
  },
544
499
  {
545
500
  "internalType": "UFixed",
546
501
  "name": "commissionPercentage",
547
- "type": "uint256"
502
+ "type": "uint160"
548
503
  },
549
504
  {
550
505
  "internalType": "uint32",
@@ -552,9 +507,9 @@
552
507
  "type": "uint32"
553
508
  },
554
509
  {
555
- "internalType": "uint32",
510
+ "internalType": "Seconds",
556
511
  "name": "maxReferralLifetime",
557
- "type": "uint32"
512
+ "type": "uint40"
558
513
  },
559
514
  {
560
515
  "internalType": "bool",
@@ -585,6 +540,11 @@
585
540
  },
586
541
  {
587
542
  "inputs": [
543
+ {
544
+ "internalType": "NftId",
545
+ "name": "distributorNftId",
546
+ "type": "uint96"
547
+ },
588
548
  {
589
549
  "internalType": "string",
590
550
  "name": "code",
@@ -593,7 +553,7 @@
593
553
  {
594
554
  "internalType": "UFixed",
595
555
  "name": "discountPercentage",
596
- "type": "uint256"
556
+ "type": "uint160"
597
557
  },
598
558
  {
599
559
  "internalType": "uint32",
@@ -646,26 +606,11 @@
646
606
  "name": "name",
647
607
  "type": "string"
648
608
  },
649
- {
650
- "internalType": "NftId",
651
- "name": "productNftId",
652
- "type": "uint96"
653
- },
654
- {
655
- "internalType": "contract IERC20Metadata",
656
- "name": "token",
657
- "type": "address"
658
- },
659
609
  {
660
610
  "internalType": "contract TokenHandler",
661
611
  "name": "tokenHandler",
662
612
  "type": "address"
663
613
  },
664
- {
665
- "internalType": "address",
666
- "name": "wallet",
667
- "type": "address"
668
- },
669
614
  {
670
615
  "internalType": "bytes",
671
616
  "name": "data",
@@ -693,7 +638,7 @@
693
638
  {
694
639
  "internalType": "UFixed",
695
640
  "name": "discountPercentage",
696
- "type": "uint256"
641
+ "type": "uint160"
697
642
  },
698
643
  {
699
644
  "internalType": "ReferralStatus",
@@ -704,25 +649,6 @@
704
649
  "stateMutability": "view",
705
650
  "type": "function"
706
651
  },
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
652
  {
727
653
  "inputs": [],
728
654
  "name": "getInitialComponentInfo",
@@ -734,26 +660,11 @@
734
660
  "name": "name",
735
661
  "type": "string"
736
662
  },
737
- {
738
- "internalType": "NftId",
739
- "name": "productNftId",
740
- "type": "uint96"
741
- },
742
- {
743
- "internalType": "contract IERC20Metadata",
744
- "name": "token",
745
- "type": "address"
746
- },
747
663
  {
748
664
  "internalType": "contract TokenHandler",
749
665
  "name": "tokenHandler",
750
666
  "type": "address"
751
667
  },
752
- {
753
- "internalType": "address",
754
- "name": "wallet",
755
- "type": "address"
756
- },
757
668
  {
758
669
  "internalType": "bytes",
759
670
  "name": "data",
@@ -870,19 +781,6 @@
870
781
  "stateMutability": "view",
871
782
  "type": "function"
872
783
  },
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
784
  {
887
785
  "inputs": [
888
786
  {
@@ -917,12 +815,12 @@
917
815
  },
918
816
  {
919
817
  "inputs": [],
920
- "name": "getToken",
818
+ "name": "getRelease",
921
819
  "outputs": [
922
820
  {
923
- "internalType": "contract IERC20Metadata",
924
- "name": "token",
925
- "type": "address"
821
+ "internalType": "VersionPart",
822
+ "name": "release",
823
+ "type": "uint8"
926
824
  }
927
825
  ],
928
826
  "stateMutability": "view",
@@ -930,11 +828,11 @@
930
828
  },
931
829
  {
932
830
  "inputs": [],
933
- "name": "getTokenHandler",
831
+ "name": "getToken",
934
832
  "outputs": [
935
833
  {
936
- "internalType": "contract TokenHandler",
937
- "name": "tokenHandler",
834
+ "internalType": "contract IERC20Metadata",
835
+ "name": "token",
938
836
  "type": "address"
939
837
  }
940
838
  ],
@@ -943,11 +841,11 @@
943
841
  },
944
842
  {
945
843
  "inputs": [],
946
- "name": "getWallet",
844
+ "name": "getTokenHandler",
947
845
  "outputs": [
948
846
  {
949
- "internalType": "address",
950
- "name": "walletAddress",
847
+ "internalType": "contract TokenHandler",
848
+ "name": "tokenHandler",
951
849
  "type": "address"
952
850
  }
953
851
  ],
@@ -955,137 +853,42 @@
955
853
  "type": "function"
956
854
  },
957
855
  {
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
- },
856
+ "inputs": [],
857
+ "name": "getVersion",
858
+ "outputs": [
1004
859
  {
1005
- "internalType": "bytes",
1006
- "name": "componentData",
1007
- "type": "bytes"
860
+ "internalType": "Version",
861
+ "name": "version",
862
+ "type": "uint24"
1008
863
  }
1009
864
  ],
1010
- "name": "initializeComponent",
1011
- "outputs": [],
1012
- "stateMutability": "nonpayable",
865
+ "stateMutability": "view",
1013
866
  "type": "function"
1014
867
  },
1015
868
  {
1016
869
  "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
- },
870
+ "name": "getWallet",
871
+ "outputs": [
1029
872
  {
1030
873
  "internalType": "address",
1031
- "name": "registryAddress",
874
+ "name": "walletAddress",
1032
875
  "type": "address"
1033
876
  }
1034
877
  ],
1035
- "name": "initializeNftOwnable",
1036
- "outputs": [],
1037
- "stateMutability": "nonpayable",
878
+ "stateMutability": "view",
1038
879
  "type": "function"
1039
880
  },
1040
881
  {
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
- },
882
+ "inputs": [],
883
+ "name": "isActive",
884
+ "outputs": [
1057
885
  {
1058
886
  "internalType": "bool",
1059
- "name": "isInterceptor",
887
+ "name": "active",
1060
888
  "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
889
  }
1085
890
  ],
1086
- "name": "initializeRegistryLinked",
1087
- "outputs": [],
1088
- "stateMutability": "nonpayable",
891
+ "stateMutability": "view",
1089
892
  "type": "function"
1090
893
  },
1091
894
  {
@@ -1101,25 +904,6 @@
1101
904
  "stateMutability": "view",
1102
905
  "type": "function"
1103
906
  },
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
907
  {
1124
908
  "inputs": [],
1125
909
  "name": "isNftInterceptor",
@@ -1172,31 +956,6 @@
1172
956
  "stateMutability": "nonpayable",
1173
957
  "type": "function"
1174
958
  },
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
959
  {
1201
960
  "inputs": [
1202
961
  {
@@ -1213,6 +972,11 @@
1213
972
  "internalType": "uint256",
1214
973
  "name": "tokenId",
1215
974
  "type": "uint256"
975
+ },
976
+ {
977
+ "internalType": "address",
978
+ "name": "operator",
979
+ "type": "address"
1216
980
  }
1217
981
  ],
1218
982
  "name": "nftTransferFrom",
@@ -1238,26 +1002,6 @@
1238
1002
  "stateMutability": "nonpayable",
1239
1003
  "type": "function"
1240
1004
  },
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
1005
  {
1262
1006
  "inputs": [
1263
1007
  {
@@ -1278,12 +1022,12 @@
1278
1022
  {
1279
1023
  "internalType": "UFixed",
1280
1024
  "name": "fractionalFee",
1281
- "type": "uint256"
1025
+ "type": "uint160"
1282
1026
  },
1283
1027
  {
1284
- "internalType": "uint256",
1028
+ "internalType": "Amount",
1285
1029
  "name": "fixedFee",
1286
- "type": "uint256"
1030
+ "type": "uint96"
1287
1031
  }
1288
1032
  ],
1289
1033
  "internalType": "struct Fee",
@@ -1295,12 +1039,12 @@
1295
1039
  {
1296
1040
  "internalType": "UFixed",
1297
1041
  "name": "fractionalFee",
1298
- "type": "uint256"
1042
+ "type": "uint160"
1299
1043
  },
1300
1044
  {
1301
- "internalType": "uint256",
1045
+ "internalType": "Amount",
1302
1046
  "name": "fixedFee",
1303
- "type": "uint256"
1047
+ "type": "uint96"
1304
1048
  }
1305
1049
  ],
1306
1050
  "internalType": "struct Fee",
@@ -1313,19 +1057,6 @@
1313
1057
  "stateMutability": "nonpayable",
1314
1058
  "type": "function"
1315
1059
  },
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
1060
  {
1330
1061
  "inputs": [
1331
1062
  {
@@ -1345,13 +1076,6 @@
1345
1076
  "stateMutability": "view",
1346
1077
  "type": "function"
1347
1078
  },
1348
- {
1349
- "inputs": [],
1350
- "name": "unlock",
1351
- "outputs": [],
1352
- "stateMutability": "nonpayable",
1353
- "type": "function"
1354
- },
1355
1079
  {
1356
1080
  "inputs": [
1357
1081
  {
@@ -1360,74 +1084,66 @@
1360
1084
  "type": "uint96"
1361
1085
  },
1362
1086
  {
1363
- "internalType": "DistributorType",
1364
- "name": "distributorType",
1365
- "type": "bytes8"
1366
- },
1087
+ "internalType": "Amount",
1088
+ "name": "amount",
1089
+ "type": "uint96"
1090
+ }
1091
+ ],
1092
+ "name": "withdrawCommission",
1093
+ "outputs": [
1367
1094
  {
1368
- "internalType": "bytes",
1369
- "name": "data",
1370
- "type": "bytes"
1095
+ "internalType": "Amount",
1096
+ "name": "withdrawnAmount",
1097
+ "type": "uint96"
1098
+ }
1099
+ ],
1100
+ "stateMutability": "nonpayable",
1101
+ "type": "function"
1102
+ },
1103
+ {
1104
+ "inputs": [
1105
+ {
1106
+ "internalType": "Amount",
1107
+ "name": "amount",
1108
+ "type": "uint96"
1109
+ }
1110
+ ],
1111
+ "name": "withdrawFees",
1112
+ "outputs": [
1113
+ {
1114
+ "internalType": "Amount",
1115
+ "name": "withdrawnAmount",
1116
+ "type": "uint96"
1371
1117
  }
1372
1118
  ],
1373
- "name": "updateDistributorType",
1374
- "outputs": [],
1375
1119
  "stateMutability": "nonpayable",
1376
1120
  "type": "function"
1377
1121
  }
1378
1122
  ],
1379
- "bytecode": "0x6080604052348015600e575f80fd5b50613d1f8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106102e4575f3560e01c80637427d7a811610195578063bb1e0e59116100e4578063e7f7fb861161009e578063f7c34ee011610079578063f7c34ee0146106e7578063f80e2072146106fa578063f83d08ba1461070d578063f8bf0d9f14610715575f80fd5b8063e7f7fb8614610699578063ea15869f146106ac578063f5860e1a146106d3575f80fd5b8063bb1e0e59146105fe578063bf7e214f14610611578063d16d0fe814610619578063de7b5d141461062c578063deaa59df1461065c578063e145d46c1461066f575f80fd5b806390edbd351161014f578063b2a6b42d1161012a578063b2a6b42d146105bd578063b423086c146105d0578063b6b412ba146105d8578063bae99c99146105eb575f80fd5b806390edbd351461058c578063a69df4b5146105a1578063ada9652e146105a9575f80fd5b80637427d7a8146105235780637a9e5e4b1461053657806387ef9ba014610549578063893d20e8146105505780638f0c86fa146105585780638fb360371461056b575f80fd5b80632b5198b1116102515780635741e5e91161020b5780635dcb3bae116101e65780635dcb3bae146104c5578063644c45e0146104d8578063675393bf146104e05780636bd1c0eb146104f3575f80fd5b80635741e5e91461049957806359660bea146104a15780635ab1bd53146104b4575f80fd5b80632b5198b1146104105780632eb3e6f41461043c57806336fc697e146104635780633d683fd91461046b578063419197fe1461047e57806343d752d314610491575f80fd5b80631aa3a008116102a25780631aa3a0081461039b5780631eff4b22146103a5578063214cdb80146103da57806321df0da7146103ed57806322366844146103f557806327bb7a33146103fd575f80fd5b806251884a146102e857806301ffc9a71461030d5780630fec111c14610349578063132996041461035e578063138461e01461037e57806317d7de7c14610386575b5f80fd5b6102f0610728565b6040516001600160601b0390911681526020015b60405180910390f35b61033961031b366004612db2565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610304565b61035161073a565b6040516103049190612e07565b6103666108f8565b6040516001600160a01b039091168152602001610304565b6102f061090a565b61038e610919565b6040516103049190612e9b565b6103a3610929565b005b6103cc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610304565b6103a36103e8366004612db2565b6109d1565b6103666109fd565b610339610a0f565b6103a361040b366004613029565b610b05565b61042361041e3660046130d8565b610baa565b6040516001600160c01b03199091168152602001610304565b6103cc7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103a3610c11565b6103a36104793660046131ae565b610c56565b6103a361048c36600461320b565b610caa565b610366610e6a565b610339610e7c565b6104236104af366004613242565b610f30565b6001546001600160a01b0316610366565b6102f06104d33660046132db565b610f87565b6102f0610fe1565b6103a36104ee3660046132f8565b610ffc565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610366565b610423610531366004613313565b611109565b6103a36105443660046132f8565b61118f565b6001610339565b610366611211565b6103396105663660046132f8565b611342565b610573611407565b6040516001600160e01b03199091168152602001610304565b61059461143c565b6040516103049190613344565b6103a3611461565b6103cc5f80516020613c8a83398151915281565b6102f06105cb3660046132f8565b6114e7565b610594611529565b6103a36105e6366004613423565b611539565b6103a36105f9366004613456565b611587565b6103a361060c366004613471565b6115d3565b61036661167a565b6103cc61062736600461349b565b611695565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b0316610366565b6103a361066a3660046132f8565b6116a0565b61068261067d366004613313565b611917565b6040805192835260ff909116602083015201610304565b6103a36106a73660046134b7565b6119d1565b6103cc7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103cc5f80516020613cca83398151915281565b6103a36106f53660046134f5565b611a79565b6103a361070836600461349b565b611aef565b6103a3611af8565b6103a3610723366004613521565b611b6c565b5f61073161143c565b60200151905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080e919061362b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610856611211565b6001600160a01b0316815260200182600101805461087390613646565b80601f016020809104026020016040519081016040528092919081815260200182805461089f90613646565b80156108ea5780601f106108c1576101008083540402835291602001916108ea565b820191905f5260205f20905b8154815290600101906020018083116108cd57829003601f168201915b505050505081525091505090565b5f61090161143c565b60800151905090565b5f61091430611c8c565b905090565b606061092361143c565b51919050565b610931611211565b6001600160a01b0316336001600160a01b0316146109695760405163086391f760e31b81523360048201526024015b60405180910390fd5b5f80516020613cca833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109b9575f80fd5b505af11580156109cb573d5f803e3d5ffd5b50505050565b6109d9611e80565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610a0661143c565b60400151905090565b5f610a226001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8a919061362b565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109149190613689565b610b0d611e80565b610b178287611a79565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610ba083826136e8565b5050505050505050565b5f610bb3611211565b6001600160a01b0316336001600160a01b031614610be65760405163086391f760e31b8152336004820152602401610960565b610bf2335b5f36611ed0565b610c038a8a8a8a8a8a8a8a8a611fce565b9a9950505050505050505050565b610c19611e80565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c5e611211565b6001600160a01b0316336001600160a01b031614610c915760405163086391f760e31b8152336004820152602401610960565b610c9a33610beb565b610ca583838361208d565b505050565b610cb2611211565b6001600160a01b0316336001600160a01b031614610ce55760405163086391f760e31b8152336004820152602401610960565b30610cee6108f8565b6001600160a01b031614610d155760405163b6d7537f60e01b815260040160405180910390fd5b816001600160a01b031663095ea7b3610d2c610e6a565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610da691906137a2565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e129190613689565b507ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610e3c610e6a565b604080516001600160a01b0390921682526001600160601b0384166020830152015b60405180910390a15050565b5f610e7361143c565b60600151905090565b5f610e85610a0f565b15610f00576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610ed9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e73919081019061381e565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0354600160a01b900460ff1690565b5f610f3a33611342565b610f595760405163637c41bb60e01b8152336004820152602401610960565b610f6233610beb565b5f610f6c336114e7565b9050610f7c8188888888886120a4565b979650505050505050565b5f610f90611211565b6001600160a01b0316336001600160a01b031614610fc35760405163086391f760e31b8152336004820152602401610960565b610fcc33610beb565b610fd784848461215a565b90505b9392505050565b5f80516020613c8a833981519152546001600160601b031690565b611004611e80565b806001600160a01b03163b5f036110395760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610960565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526311da029b60e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156110b3575060408051601f3d908101601f191682019092526110b091810190613689565b60015b6110db5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610960565b806111045760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610960565b505b50565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd661112c610fe1565b846040518363ffffffff1660e01b815260040161114a9291906138ee565b602060405180830381865af4158015611165573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611189919061390f565b92915050565b3361119861167a565b6001600160a01b0316816001600160a01b0316146111d35760405162d1953b60e31b81526001600160a01b0382166004820152602401610960565b816001600160a01b03163b5f03611208576040516361798f2f60e11b81526001600160a01b0383166004820152602401610960565b6111048261231e565b5f805f80516020613c8a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561127d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a19190613689565b1561132c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611302573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611326919061392a565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613cca8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156113e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fda9190613689565b5f80516020613caa83398151915280545f9190600160a01b900460ff1661142e575f611326565b638fb3603760e01b91505090565b611444612d5c565b61144c610a0f565b1561145957610914612377565b610914611529565b611469611211565b6001600160a01b0316336001600160a01b03161461149c5760405163086391f760e31b8152336004820152602401610960565b6114a6600a61253e565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156109b9575f80fd5b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b611531612d5c565b610914612377565b611541611211565b6001600160a01b0316336001600160a01b0316146115745760405163086391f760e31b8152336004820152602401610960565b61157d33610beb565b6111048282612652565b61158f611211565b6001600160a01b0316336001600160a01b0316146115c25760405163086391f760e31b8152336004820152602401610960565b6111066115cd6109fd565b82610caa565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561161a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163e919061392a565b6001600160a01b0316336001600160a01b0316146116705760405162f0630960e01b8152336004820152602401610960565b6111048282611104565b5f80516020613caa833981519152546001600160a01b031690565b5f610fda8282613945565b6116a8611211565b6001600160a01b0316336001600160a01b0316146116db5760405163086391f760e31b8152336004820152602401610960565b5f6116e46108f8565b90505f6116ef6109fd565b6040516370a0823160e01b81526001600160a01b0384811660048301529192505f918316906370a0823190602401602060405180830381865afa158015611738573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175c91906137a2565b9050801561182b576001600160a01b038316301461182b57604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301525f919084169063dd62ed3e90604401602060405180830381865afa1580156117c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e591906137a2565b905081811015611829576040516372c963b360e11b81526001600160a01b038086166004830152861660248201526044810182905260648101839052608401610960565b505b611834846126b9565b80156109cb57306001600160a01b038416036118ba5760405163095ea7b360e01b8152306004820152602481018290526001600160a01b0383169063095ea7b3906044016020604051808303815f875af1158015611894573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118b89190613689565b505b6118c682848684612752565b604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a150505050565b5f805f61192384611109565b90506119567fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156119a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c79190613968565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3c919061392a565b6001600160a01b0316336001600160a01b031614611a6e5760405162f0630960e01b8152336004820152602401610960565b610ca58383836127ac565b611a81611e80565b611a8a81610ffc565b611a92610c11565b6001600160a01b038216611ab95760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613c8a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61110433610beb565b611b00611211565b6001600160a01b0316336001600160a01b031614611b335760405163086391f760e31b8152336004820152602401610960565b611b3d600a61253e565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016114d0565b611b74611e80565b611b82898987878787610b05565b611b8b8a612952565b6001600160a01b038616611bb2576040516327eab2e360e11b815260040160405180910390fd5b86515f03611bd35760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080611bff89826136e8565b506001810180546001600160a01b03199081166001600160a01b038a161790915560028201805490911690556003810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560048101611c5e83826136e8565b50611c6f634a531f3360e01b6109d1565b611c7f632986755f60e11b6109d1565b5050505050505050505050565b5f805f80516020613c8a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611cf8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1c9190613689565b15611d485780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610960565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dbe9190613689565b611de65760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610960565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611e38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e5c919061362b565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16611ece57604051631afcd79f60e31b815260040160405180910390fd5b565b5f80516020613caa8339815191525f80611f08611eeb61167a565b8730611efa60045f8a8c61398c565b611f03916139b3565b612963565b9150915081611fc65763ffffffff811615611fa357825460ff60a01b1916600160a01b178355611f3661167a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611f65939291906139eb565b5f604051808303815f87803b158015611f7c575f80fd5b505af1158015611f8e573d5f803e3d5ffd5b5050845460ff60a01b1916855550611fc69050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610960565b505050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613cca833981519152916001600160a01b0390911690632b5198b19061203e908e908e908e908e908e908e908e908e908e90600401613a2a565b6020604051808303815f875af115801561205a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061207e919061390f565b9b9a5050505050505050505050565b5f5f80516020613cca8339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613cca833981519152916001600160a01b0390911690638dd2b7819061210e908b908b908b908b908b908b90600401613a9b565b6020604051808303815f875af115801561212a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061214e919061390f565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613cca8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156121fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221f9190613689565b1561226a576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610960565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906122a090889088908890600401613afa565b6020604051808303815f875af11580156122bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122e0919061362b565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613caa83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610e5e565b61237f612d5c565b5f6123926001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156123d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123fa919061362b565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612453573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124779190613689565b15612536577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36124b4610fe1565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156124f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261251c9190810190613b2d565b60808101519092506001600160a01b031615612536575090565b611326612a6b565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f005460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156125a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125cb9190613c05565b90506125df6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa15801561262e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fda919061392a565b5f80516020613cca83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906126909085908590600401613c20565b5f604051808303815f87803b1580156126a7575f80fd5b505af1158015611fc6573d5f803e3d5ffd5b6126c1611211565b6001600160a01b0316336001600160a01b0316146126f45760405163086391f760e31b8152336004820152602401610960565b6126fe600b61253e565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612740575f80fd5b505af115801561209d573d5f803e3d5ffd5b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526109cb908590612be8565b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613cca833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612845573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612869919061362b565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156128ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612913919061362b565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b61295a611e80565b61110681612c49565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516129d19190613c46565b5f60405180830381855afa9150503d805f8114612a09576040519150601f19603f3d011682016040523d82523d5f602084013e612a0e565b606091505b50915091508115612a60576040815110612a405780806020019051810190612a369190613c5c565b9094509250612a60565b6020815110612a605780806020019051810190612a5d9190613689565b93505b505094509492505050565b612a73612d5c565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612ab090613646565b80601f0160208091040260200160405190810160405280929190818152602001828054612adc90613646565b8015612b275780601f10612afe57610100808354040283529160200191612b27565b820191905f5260205f20905b815481529060010190602001808311612b0a57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b9c919061362b565b6001600160601b0316815260018301546001600160a01b039081166020830152600284015481166040830152600384015416606082015260048301805460809092019161087390613646565b5f612bfc6001600160a01b03841683612c5a565b905080515f14158015612c20575080806020019051810190612c1e9190613689565b155b15610ca557604051635274afe760e01b81526001600160a01b0384166004820152602401610960565b612c51611e80565b6111068161231e565b6060610fda83835f845f80856001600160a01b03168486604051612c7e9190613c46565b5f6040518083038185875af1925050503d805f8114612cb8576040519150601f19603f3d011682016040523d82523d5f602084013e612cbd565b606091505b5091509150612ccd868383612cd7565b9695505050505050565b606082612cec57612ce782612d33565b610fda565b8151158015612d0357506001600160a01b0384163b155b15612d2c57604051639996b31560e01b81526001600160a01b0385166004820152602401610960565b5080610fda565b805115612d435780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612dc2575f80fd5b81356001600160e01b031981168114610fda575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612e4f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612e93610100840182612dd9565b949350505050565b602081525f610fda6020830184612dd9565b6001600160a01b0381168114611106575f80fd5b8035612ecc81612ead565b919050565b6001600160601b0381168114611106575f80fd5b8035612ecc81612ed1565b60ff81168114611106575f80fd5b8035612ecc81612ef0565b8015158114611106575f80fd5b8035612ecc81612f09565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612f5757612f57612f21565b60405290565b60405160c081016001600160401b0381118282101715612f5757612f57612f21565b604051601f8201601f191681016001600160401b0381118282101715612fa757612fa7612f21565b604052919050565b5f6001600160401b03821115612fc757612fc7612f21565b50601f01601f191660200190565b5f82601f830112612fe4575f80fd5b8135602083015f612ffc612ff784612faf565b612f7f565b905082815285838301111561300f575f80fd5b828260208301375f92810160200192909252509392505050565b5f805f805f8060c0878903121561303e575f80fd5b863561304981612ead565b9550602087013561305981612ed1565b9450604087013561306981612ef0565b9350606087013561307981612f09565b9250608087013561308981612ead565b915060a08701356001600160401b038111156130a3575f80fd5b6130af89828a01612fd5565b9150509295509295509295565b63ffffffff81168114611106575f80fd5b8035612ecc816130bc565b5f805f805f805f805f6101208a8c0312156130f1575f80fd5b89356001600160401b03811115613106575f80fd5b6131128c828d01612fd5565b99505060208a0135975060408a0135965060608a0135955060808a0135613138816130bc565b945061314660a08b016130cd565b935061315460c08b01612f16565b925061316260e08b01612f16565b91506101008a01356001600160401b0381111561317d575f80fd5b6131898c828d01612fd5565b9150509295985092959850929598565b6001600160c01b031981168114611106575f80fd5b5f805f606084860312156131c0575f80fd5b83356131cb81612ed1565b925060208401356131db81613199565b915060408401356001600160401b038111156131f5575f80fd5b61320186828701612fd5565b9150509250925092565b5f806040838503121561321c575f80fd5b823561322781612ead565b9150602083013561323781612ed1565b809150509250929050565b5f805f805f60a08688031215613256575f80fd5b85356001600160401b0381111561326b575f80fd5b61327788828901612fd5565b95505060208601359350604086013561328f816130bc565b9250606086013564ffffffffff811681146132a8575f80fd5b915060808601356001600160401b038111156132c2575f80fd5b6132ce88828901612fd5565b9150509295509295909350565b5f805f606084860312156132ed575f80fd5b83356131cb81612ead565b5f60208284031215613308575f80fd5b8135610fda81612ead565b5f60208284031215613323575f80fd5b81356001600160401b03811115613338575f80fd5b612e9384828501612fd5565b602081525f825160c0602084015261335f60e0840182612dd9565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516133b260a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526133ce8282612dd9565b95945050505050565b5f604082840312156133e7575f80fd5b604080519081016001600160401b038111828210171561340957613409612f21565b604052823581526020928301359281019290925250919050565b5f8060808385031215613434575f80fd5b61343e84846133d7565b915061344d84604085016133d7565b90509250929050565b5f60208284031215613466575f80fd5b8135610fda81612ed1565b5f8060408385031215613482575f80fd5b823561348d81612ead565b946020939093013593505050565b5f80604083850312156134ac575f80fd5b823561348d81613199565b5f805f606084860312156134c9575f80fd5b83356134d481612ead565b925060208401356134e481612ead565b929592945050506040919091013590565b5f8060408385031215613506575f80fd5b823561351181612ead565b9150602083013561323781612ead565b5f805f805f805f805f806101408b8d03121561353b575f80fd5b6135448b612ec1565b995061355260208c01612ec1565b985061356060408c01612ee5565b975060608b01356001600160401b0381111561357a575f80fd5b6135868d828e01612fd5565b97505061359560808c01612ec1565b95506135a360a08c01612efe565b94506135b160c08c01612f16565b93506135bf60e08c01612ec1565b92506101008b01356001600160401b038111156135da575f80fd5b6135e68d828e01612fd5565b9250506101208b01356001600160401b03811115613602575f80fd5b61360e8d828e01612fd5565b9150509295989b9194979a5092959850565b8051612ecc81612ed1565b5f6020828403121561363b575f80fd5b8151610fda81612ed1565b600181811c9082168061365a57607f821691505b60208210810361367857634e487b7160e01b5f52602260045260245ffd5b50919050565b8051612ecc81612f09565b5f60208284031215613699575f80fd5b8151610fda81612f09565b601f821115610ca557805f5260205f20601f840160051c810160208510156136c95750805b601f840160051c820191505b8181101561209d575f81556001016136d5565b81516001600160401b0381111561370157613701612f21565b6137158161370f8454613646565b846136a4565b6020601f821160018114613747575f83156137305750848201515b5f19600385901b1c1916600184901b17845561209d565b5f84815260208120601f198516915b828110156137765787850151825560209485019460019092019101613756565b508482101561379357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156137b2575f80fd5b5051919050565b8051612ecc81612ef0565b8051612ecc81612ead565b5f82601f8301126137de575f80fd5b8151602083015f6137f1612ff784612faf565b9050828152858383011115613804575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561382e575f80fd5b81516001600160401b03811115613843575f80fd5b820160e08185031215613854575f80fd5b61385c612f35565b61386582613620565b815261387360208301613620565b6020820152613884604083016137b9565b60408201526138956060830161367e565b60608201526138a6608083016137c4565b60808201526138b760a083016137c4565b60a082015260c08201516001600160401b038111156138d4575f80fd5b6138e0868285016137cf565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610fd76040830184612dd9565b5f6020828403121561391f575f80fd5b8151610fda81613199565b5f6020828403121561393a575f80fd5b8151610fda81612ead565b808202811582820484141761118957634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613979575f80fd5b8251602084015190925061323781612ef0565b5f808585111561399a575f80fd5b838611156139a6575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156139e4576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613a3e61012083018c612dd9565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613a8b8185612dd9565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613abc60c0830188612dd9565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613aed8185612dd9565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906133ce90830184612dd9565b5f60208284031215613b3d575f80fd5b81516001600160401b03811115613b52575f80fd5b820160c08185031215613b63575f80fd5b613b6b612f5d565b81516001600160401b03811115613b80575f80fd5b613b8c868285016137cf565b825250613b9b60208301613620565b6020820152613bac604083016137c4565b6040820152613bbd606083016137c4565b6060820152613bce608083016137c4565b608082015260a08201516001600160401b03811115613beb575f80fd5b613bf7868285016137cf565b60a083015250949350505050565b5f60208284031215613c15575f80fd5b8151610fda81612ef0565b825181526020808401518183015282516040830152820151606082015260808101610fda565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613c6d575f80fd5b8251613c7881612f09565b6020840151909250613237816130bc56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212201ef6f2d521fde1052c6910af43ae9b15de9dd728787341e404ad1d6ec445f5b564736f6c634300081a0033",
1380
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102e4575f3560e01c80637427d7a811610195578063bb1e0e59116100e4578063e7f7fb861161009e578063f7c34ee011610079578063f7c34ee0146106e7578063f80e2072146106fa578063f83d08ba1461070d578063f8bf0d9f14610715575f80fd5b8063e7f7fb8614610699578063ea15869f146106ac578063f5860e1a146106d3575f80fd5b8063bb1e0e59146105fe578063bf7e214f14610611578063d16d0fe814610619578063de7b5d141461062c578063deaa59df1461065c578063e145d46c1461066f575f80fd5b806390edbd351161014f578063b2a6b42d1161012a578063b2a6b42d146105bd578063b423086c146105d0578063b6b412ba146105d8578063bae99c99146105eb575f80fd5b806390edbd351461058c578063a69df4b5146105a1578063ada9652e146105a9575f80fd5b80637427d7a8146105235780637a9e5e4b1461053657806387ef9ba014610549578063893d20e8146105505780638f0c86fa146105585780638fb360371461056b575f80fd5b80632b5198b1116102515780635741e5e91161020b5780635dcb3bae116101e65780635dcb3bae146104c5578063644c45e0146104d8578063675393bf146104e05780636bd1c0eb146104f3575f80fd5b80635741e5e91461049957806359660bea146104a15780635ab1bd53146104b4575f80fd5b80632b5198b1146104105780632eb3e6f41461043c57806336fc697e146104635780633d683fd91461046b578063419197fe1461047e57806343d752d314610491575f80fd5b80631aa3a008116102a25780631aa3a0081461039b5780631eff4b22146103a5578063214cdb80146103da57806321df0da7146103ed57806322366844146103f557806327bb7a33146103fd575f80fd5b806251884a146102e857806301ffc9a71461030d5780630fec111c14610349578063132996041461035e578063138461e01461037e57806317d7de7c14610386575b5f80fd5b6102f0610728565b6040516001600160601b0390911681526020015b60405180910390f35b61033961031b366004612db2565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610304565b61035161073a565b6040516103049190612e07565b6103666108f8565b6040516001600160a01b039091168152602001610304565b6102f061090a565b61038e610919565b6040516103049190612e9b565b6103a3610929565b005b6103cc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610304565b6103a36103e8366004612db2565b6109d1565b6103666109fd565b610339610a0f565b6103a361040b366004613029565b610b05565b61042361041e3660046130d8565b610baa565b6040516001600160c01b03199091168152602001610304565b6103cc7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103a3610c11565b6103a36104793660046131ae565b610c56565b6103a361048c36600461320b565b610caa565b610366610e6a565b610339610e7c565b6104236104af366004613242565b610f30565b6001546001600160a01b0316610366565b6102f06104d33660046132db565b610f87565b6102f0610fe1565b6103a36104ee3660046132f8565b610ffc565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610366565b610423610531366004613313565b611109565b6103a36105443660046132f8565b61118f565b6001610339565b610366611211565b6103396105663660046132f8565b611342565b610573611407565b6040516001600160e01b03199091168152602001610304565b61059461143c565b6040516103049190613344565b6103a3611461565b6103cc5f80516020613c8a83398151915281565b6102f06105cb3660046132f8565b6114e7565b610594611529565b6103a36105e6366004613423565b611539565b6103a36105f9366004613456565b611587565b6103a361060c366004613471565b6115d3565b61036661167a565b6103cc61062736600461349b565b611695565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b0316610366565b6103a361066a3660046132f8565b6116a0565b61068261067d366004613313565b611917565b6040805192835260ff909116602083015201610304565b6103a36106a73660046134b7565b6119d1565b6103cc7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103cc5f80516020613cca83398151915281565b6103a36106f53660046134f5565b611a79565b6103a361070836600461349b565b611aef565b6103a3611af8565b6103a3610723366004613521565b611b6c565b5f61073161143c565b60200151905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080e919061362b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610856611211565b6001600160a01b0316815260200182600101805461087390613646565b80601f016020809104026020016040519081016040528092919081815260200182805461089f90613646565b80156108ea5780601f106108c1576101008083540402835291602001916108ea565b820191905f5260205f20905b8154815290600101906020018083116108cd57829003601f168201915b505050505081525091505090565b5f61090161143c565b60800151905090565b5f61091430611c8c565b905090565b606061092361143c565b51919050565b610931611211565b6001600160a01b0316336001600160a01b0316146109695760405163086391f760e31b81523360048201526024015b60405180910390fd5b5f80516020613cca833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109b9575f80fd5b505af11580156109cb573d5f803e3d5ffd5b50505050565b6109d9611e80565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610a0661143c565b60400151905090565b5f610a226001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8a919061362b565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109149190613689565b610b0d611e80565b610b178287611a79565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610ba083826136e8565b5050505050505050565b5f610bb3611211565b6001600160a01b0316336001600160a01b031614610be65760405163086391f760e31b8152336004820152602401610960565b610bf2335b5f36611ed0565b610c038a8a8a8a8a8a8a8a8a611fce565b9a9950505050505050505050565b610c19611e80565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c5e611211565b6001600160a01b0316336001600160a01b031614610c915760405163086391f760e31b8152336004820152602401610960565b610c9a33610beb565b610ca583838361208d565b505050565b610cb2611211565b6001600160a01b0316336001600160a01b031614610ce55760405163086391f760e31b8152336004820152602401610960565b30610cee6108f8565b6001600160a01b031614610d155760405163b6d7537f60e01b815260040160405180910390fd5b816001600160a01b031663095ea7b3610d2c610e6a565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610da691906137a2565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e129190613689565b507ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610e3c610e6a565b604080516001600160a01b0390921682526001600160601b0384166020830152015b60405180910390a15050565b5f610e7361143c565b60600151905090565b5f610e85610a0f565b15610f00576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610ed9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e73919081019061381e565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0354600160a01b900460ff1690565b5f610f3a33611342565b610f595760405163637c41bb60e01b8152336004820152602401610960565b610f6233610beb565b5f610f6c336114e7565b9050610f7c8188888888886120a4565b979650505050505050565b5f610f90611211565b6001600160a01b0316336001600160a01b031614610fc35760405163086391f760e31b8152336004820152602401610960565b610fcc33610beb565b610fd784848461215a565b90505b9392505050565b5f80516020613c8a833981519152546001600160601b031690565b611004611e80565b806001600160a01b03163b5f036110395760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610960565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526311da029b60e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156110b3575060408051601f3d908101601f191682019092526110b091810190613689565b60015b6110db5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610960565b806111045760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610960565b505b50565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd661112c610fe1565b846040518363ffffffff1660e01b815260040161114a9291906138ee565b602060405180830381865af4158015611165573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611189919061390f565b92915050565b3361119861167a565b6001600160a01b0316816001600160a01b0316146111d35760405162d1953b60e31b81526001600160a01b0382166004820152602401610960565b816001600160a01b03163b5f03611208576040516361798f2f60e11b81526001600160a01b0383166004820152602401610960565b6111048261231e565b5f805f80516020613c8a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561127d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a19190613689565b1561132c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611302573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611326919061392a565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613cca8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156113e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fda9190613689565b5f80516020613caa83398151915280545f9190600160a01b900460ff1661142e575f611326565b638fb3603760e01b91505090565b611444612d5c565b61144c610a0f565b1561145957610914612377565b610914611529565b611469611211565b6001600160a01b0316336001600160a01b03161461149c5760405163086391f760e31b8152336004820152602401610960565b6114a6600a61253e565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156109b9575f80fd5b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b611531612d5c565b610914612377565b611541611211565b6001600160a01b0316336001600160a01b0316146115745760405163086391f760e31b8152336004820152602401610960565b61157d33610beb565b6111048282612652565b61158f611211565b6001600160a01b0316336001600160a01b0316146115c25760405163086391f760e31b8152336004820152602401610960565b6111066115cd6109fd565b82610caa565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561161a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163e919061392a565b6001600160a01b0316336001600160a01b0316146116705760405162f0630960e01b8152336004820152602401610960565b6111048282611104565b5f80516020613caa833981519152546001600160a01b031690565b5f610fda8282613945565b6116a8611211565b6001600160a01b0316336001600160a01b0316146116db5760405163086391f760e31b8152336004820152602401610960565b5f6116e46108f8565b90505f6116ef6109fd565b6040516370a0823160e01b81526001600160a01b0384811660048301529192505f918316906370a0823190602401602060405180830381865afa158015611738573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175c91906137a2565b9050801561182b576001600160a01b038316301461182b57604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301525f919084169063dd62ed3e90604401602060405180830381865afa1580156117c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e591906137a2565b905081811015611829576040516372c963b360e11b81526001600160a01b038086166004830152861660248201526044810182905260648101839052608401610960565b505b611834846126b9565b80156109cb57306001600160a01b038416036118ba5760405163095ea7b360e01b8152306004820152602481018290526001600160a01b0383169063095ea7b3906044016020604051808303815f875af1158015611894573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118b89190613689565b505b6118c682848684612752565b604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a150505050565b5f805f61192384611109565b90506119567fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156119a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c79190613968565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3c919061392a565b6001600160a01b0316336001600160a01b031614611a6e5760405162f0630960e01b8152336004820152602401610960565b610ca58383836127ac565b611a81611e80565b611a8a81610ffc565b611a92610c11565b6001600160a01b038216611ab95760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613c8a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61110433610beb565b611b00611211565b6001600160a01b0316336001600160a01b031614611b335760405163086391f760e31b8152336004820152602401610960565b611b3d600a61253e565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016114d0565b611b74611e80565b611b82898987878787610b05565b611b8b8a612952565b6001600160a01b038616611bb2576040516327eab2e360e11b815260040160405180910390fd5b86515f03611bd35760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080611bff89826136e8565b506001810180546001600160a01b03199081166001600160a01b038a161790915560028201805490911690556003810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560048101611c5e83826136e8565b50611c6f634a531f3360e01b6109d1565b611c7f632986755f60e11b6109d1565b5050505050505050505050565b5f805f80516020613c8a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611cf8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1c9190613689565b15611d485780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610960565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dbe9190613689565b611de65760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610960565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611e38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e5c919061362b565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16611ece57604051631afcd79f60e31b815260040160405180910390fd5b565b5f80516020613caa8339815191525f80611f08611eeb61167a565b8730611efa60045f8a8c61398c565b611f03916139b3565b612963565b9150915081611fc65763ffffffff811615611fa357825460ff60a01b1916600160a01b178355611f3661167a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611f65939291906139eb565b5f604051808303815f87803b158015611f7c575f80fd5b505af1158015611f8e573d5f803e3d5ffd5b5050845460ff60a01b1916855550611fc69050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610960565b505050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613cca833981519152916001600160a01b0390911690632b5198b19061203e908e908e908e908e908e908e908e908e908e90600401613a2a565b6020604051808303815f875af115801561205a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061207e919061390f565b9b9a5050505050505050505050565b5f5f80516020613cca8339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613cca833981519152916001600160a01b0390911690638dd2b7819061210e908b908b908b908b908b908b90600401613a9b565b6020604051808303815f875af115801561212a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061214e919061390f565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613cca8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156121fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221f9190613689565b1561226a576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610960565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906122a090889088908890600401613afa565b6020604051808303815f875af11580156122bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122e0919061362b565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613caa83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610e5e565b61237f612d5c565b5f6123926001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156123d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123fa919061362b565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612453573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124779190613689565b15612536577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36124b4610fe1565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156124f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261251c9190810190613b2d565b60808101519092506001600160a01b031615612536575090565b611326612a6b565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f005460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156125a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125cb9190613c05565b90506125df6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa15801561262e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fda919061392a565b5f80516020613cca83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906126909085908590600401613c20565b5f604051808303815f87803b1580156126a7575f80fd5b505af1158015611fc6573d5f803e3d5ffd5b6126c1611211565b6001600160a01b0316336001600160a01b0316146126f45760405163086391f760e31b8152336004820152602401610960565b6126fe600b61253e565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612740575f80fd5b505af115801561209d573d5f803e3d5ffd5b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526109cb908590612be8565b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613cca833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612845573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612869919061362b565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156128ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612913919061362b565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b61295a611e80565b61110681612c49565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516129d19190613c46565b5f60405180830381855afa9150503d805f8114612a09576040519150601f19603f3d011682016040523d82523d5f602084013e612a0e565b606091505b50915091508115612a60576040815110612a405780806020019051810190612a369190613c5c565b9094509250612a60565b6020815110612a605780806020019051810190612a5d9190613689565b93505b505094509492505050565b612a73612d5c565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612ab090613646565b80601f0160208091040260200160405190810160405280929190818152602001828054612adc90613646565b8015612b275780601f10612afe57610100808354040283529160200191612b27565b820191905f5260205f20905b815481529060010190602001808311612b0a57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b9c919061362b565b6001600160601b0316815260018301546001600160a01b039081166020830152600284015481166040830152600384015416606082015260048301805460809092019161087390613646565b5f612bfc6001600160a01b03841683612c5a565b905080515f14158015612c20575080806020019051810190612c1e9190613689565b155b15610ca557604051635274afe760e01b81526001600160a01b0384166004820152602401610960565b612c51611e80565b6111068161231e565b6060610fda83835f845f80856001600160a01b03168486604051612c7e9190613c46565b5f6040518083038185875af1925050503d805f8114612cb8576040519150601f19603f3d011682016040523d82523d5f602084013e612cbd565b606091505b5091509150612ccd868383612cd7565b9695505050505050565b606082612cec57612ce782612d33565b610fda565b8151158015612d0357506001600160a01b0384163b155b15612d2c57604051639996b31560e01b81526001600160a01b0385166004820152602401610960565b5080610fda565b805115612d435780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612dc2575f80fd5b81356001600160e01b031981168114610fda575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612e4f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612e93610100840182612dd9565b949350505050565b602081525f610fda6020830184612dd9565b6001600160a01b0381168114611106575f80fd5b8035612ecc81612ead565b919050565b6001600160601b0381168114611106575f80fd5b8035612ecc81612ed1565b60ff81168114611106575f80fd5b8035612ecc81612ef0565b8015158114611106575f80fd5b8035612ecc81612f09565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612f5757612f57612f21565b60405290565b60405160c081016001600160401b0381118282101715612f5757612f57612f21565b604051601f8201601f191681016001600160401b0381118282101715612fa757612fa7612f21565b604052919050565b5f6001600160401b03821115612fc757612fc7612f21565b50601f01601f191660200190565b5f82601f830112612fe4575f80fd5b8135602083015f612ffc612ff784612faf565b612f7f565b905082815285838301111561300f575f80fd5b828260208301375f92810160200192909252509392505050565b5f805f805f8060c0878903121561303e575f80fd5b863561304981612ead565b9550602087013561305981612ed1565b9450604087013561306981612ef0565b9350606087013561307981612f09565b9250608087013561308981612ead565b915060a08701356001600160401b038111156130a3575f80fd5b6130af89828a01612fd5565b9150509295509295509295565b63ffffffff81168114611106575f80fd5b8035612ecc816130bc565b5f805f805f805f805f6101208a8c0312156130f1575f80fd5b89356001600160401b03811115613106575f80fd5b6131128c828d01612fd5565b99505060208a0135975060408a0135965060608a0135955060808a0135613138816130bc565b945061314660a08b016130cd565b935061315460c08b01612f16565b925061316260e08b01612f16565b91506101008a01356001600160401b0381111561317d575f80fd5b6131898c828d01612fd5565b9150509295985092959850929598565b6001600160c01b031981168114611106575f80fd5b5f805f606084860312156131c0575f80fd5b83356131cb81612ed1565b925060208401356131db81613199565b915060408401356001600160401b038111156131f5575f80fd5b61320186828701612fd5565b9150509250925092565b5f806040838503121561321c575f80fd5b823561322781612ead565b9150602083013561323781612ed1565b809150509250929050565b5f805f805f60a08688031215613256575f80fd5b85356001600160401b0381111561326b575f80fd5b61327788828901612fd5565b95505060208601359350604086013561328f816130bc565b9250606086013564ffffffffff811681146132a8575f80fd5b915060808601356001600160401b038111156132c2575f80fd5b6132ce88828901612fd5565b9150509295509295909350565b5f805f606084860312156132ed575f80fd5b83356131cb81612ead565b5f60208284031215613308575f80fd5b8135610fda81612ead565b5f60208284031215613323575f80fd5b81356001600160401b03811115613338575f80fd5b612e9384828501612fd5565b602081525f825160c0602084015261335f60e0840182612dd9565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516133b260a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526133ce8282612dd9565b95945050505050565b5f604082840312156133e7575f80fd5b604080519081016001600160401b038111828210171561340957613409612f21565b604052823581526020928301359281019290925250919050565b5f8060808385031215613434575f80fd5b61343e84846133d7565b915061344d84604085016133d7565b90509250929050565b5f60208284031215613466575f80fd5b8135610fda81612ed1565b5f8060408385031215613482575f80fd5b823561348d81612ead565b946020939093013593505050565b5f80604083850312156134ac575f80fd5b823561348d81613199565b5f805f606084860312156134c9575f80fd5b83356134d481612ead565b925060208401356134e481612ead565b929592945050506040919091013590565b5f8060408385031215613506575f80fd5b823561351181612ead565b9150602083013561323781612ead565b5f805f805f805f805f806101408b8d03121561353b575f80fd5b6135448b612ec1565b995061355260208c01612ec1565b985061356060408c01612ee5565b975060608b01356001600160401b0381111561357a575f80fd5b6135868d828e01612fd5565b97505061359560808c01612ec1565b95506135a360a08c01612efe565b94506135b160c08c01612f16565b93506135bf60e08c01612ec1565b92506101008b01356001600160401b038111156135da575f80fd5b6135e68d828e01612fd5565b9250506101208b01356001600160401b03811115613602575f80fd5b61360e8d828e01612fd5565b9150509295989b9194979a5092959850565b8051612ecc81612ed1565b5f6020828403121561363b575f80fd5b8151610fda81612ed1565b600181811c9082168061365a57607f821691505b60208210810361367857634e487b7160e01b5f52602260045260245ffd5b50919050565b8051612ecc81612f09565b5f60208284031215613699575f80fd5b8151610fda81612f09565b601f821115610ca557805f5260205f20601f840160051c810160208510156136c95750805b601f840160051c820191505b8181101561209d575f81556001016136d5565b81516001600160401b0381111561370157613701612f21565b6137158161370f8454613646565b846136a4565b6020601f821160018114613747575f83156137305750848201515b5f19600385901b1c1916600184901b17845561209d565b5f84815260208120601f198516915b828110156137765787850151825560209485019460019092019101613756565b508482101561379357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156137b2575f80fd5b5051919050565b8051612ecc81612ef0565b8051612ecc81612ead565b5f82601f8301126137de575f80fd5b8151602083015f6137f1612ff784612faf565b9050828152858383011115613804575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561382e575f80fd5b81516001600160401b03811115613843575f80fd5b820160e08185031215613854575f80fd5b61385c612f35565b61386582613620565b815261387360208301613620565b6020820152613884604083016137b9565b60408201526138956060830161367e565b60608201526138a6608083016137c4565b60808201526138b760a083016137c4565b60a082015260c08201516001600160401b038111156138d4575f80fd5b6138e0868285016137cf565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610fd76040830184612dd9565b5f6020828403121561391f575f80fd5b8151610fda81613199565b5f6020828403121561393a575f80fd5b8151610fda81612ead565b808202811582820484141761118957634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613979575f80fd5b8251602084015190925061323781612ef0565b5f808585111561399a575f80fd5b838611156139a6575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156139e4576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613a3e61012083018c612dd9565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613a8b8185612dd9565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613abc60c0830188612dd9565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613aed8185612dd9565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906133ce90830184612dd9565b5f60208284031215613b3d575f80fd5b81516001600160401b03811115613b52575f80fd5b820160c08185031215613b63575f80fd5b613b6b612f5d565b81516001600160401b03811115613b80575f80fd5b613b8c868285016137cf565b825250613b9b60208301613620565b6020820152613bac604083016137c4565b6040820152613bbd606083016137c4565b6060820152613bce608083016137c4565b608082015260a08201516001600160401b03811115613beb575f80fd5b613bf7868285016137cf565b60a083015250949350505050565b5f60208284031215613c15575f80fd5b8151610fda81612ef0565b825181526020808401518183015282516040830152820151606082015260808101610fda565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613c6d575f80fd5b8251613c7881612f09565b6020840151909250613237816130bc56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212201ef6f2d521fde1052c6910af43ae9b15de9dd728787341e404ad1d6ec445f5b564736f6c634300081a0033",
1123
+ "bytecode": "0x6080604052348015600e575f80fd5b50612c638061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611f37565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004611f75565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106d4565b60405162ffffff909116815260200161027b565b6102d361075b565b60405161027b9190611fda565b6102e8610915565b6040516001600160a01b03909116815260200161027b565b61029761097d565b610310610987565b60405161027b919061206e565b61033061032b3660046121f8565b610997565b6040516001600160c01b0319909116815260200161027b565b6102976103573660046122ce565b6109fb565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a51565b61026f610a95565b61026f610b8b565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610c02565b61026f610c14565b6001546001600160a01b03166102e8565b6102976103ff3660046122fe565b610cca565b610297610d24565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a36600461235b565b610d3f565b610457610dbf565b60405160ff909116815260200161027b565b61047c61047736600461238c565b610e27565b005b600161026f565b6102e8610ead565b610495610fde565b6040516001600160e01b0319909116815260200161027b565b6104b6611013565b60405161027b91906123a7565b6103306104d13660046123f5565b611038565b61047c6104e436600461249f565b611110565b61047c6104f73660046124bc565b611173565b6103835f80516020612bae83398151915281565b6104b6611216565b6102e8611226565b61038361052e36600461250c565b611241565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b61057661057136600461235b565b611255565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612596565b61130f565b6103835f80516020612c0e83398151915281565b61047c6105f336600461250c565b61135d565b5f610605335b5f36611366565b8260176106128282611464565b846106256001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa158015610678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069c91906125d4565b6106c05760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106ca868661151b565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610732573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075691906125ef565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610807573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082b919061261c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610873610ead565b6001600160a01b0316815260200182600101805461089090612637565b80601f01602080910402602001604051908101604052809291908181526020018280546108bc90612637565b80156109075780601f106108de57610100808354040283529160200191610907565b820191905f5260205f20905b8154815290600101906020018083116108ea57829003601f168201915b505050505081525091505090565b5f61091e610c02565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610959573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610756919061267a565b5f610756306115a7565b6060610991611013565b51919050565b5f6109a1336105fe565b6109a9610ead565b6001600160a01b0316336001600160a01b0316146109dc5760405163086391f760e31b81523360048201526024016106b7565b6109ed8a8a8a8a8a8a8a8a8a6117a0565b9a9950505050505050505050565b5f610a05336105fe565b610a0d610ead565b6001600160a01b0316336001600160a01b031614610a405760405163086391f760e31b81523360048201526024016106b7565b610a498261184c565b90505b919050565b5f610a5a610c02565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610959573d5f803e3d5ffd5b5f610aa86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610aec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b10919061261c565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b67573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075691906125d4565b5f610b94611226565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfc91906125d4565b15905090565b5f610c0b611013565b60200151905090565b5f610c1d610a95565b15610ca1576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c71573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c989190810190612702565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cd4336105fe565b610cdc610ead565b6001600160a01b0316336001600160a01b031614610d0f5760405163086391f760e31b81523360048201526024016106b7565b610d1a8484846118e3565b90505b9392505050565b5f80516020612bae833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d62610d24565b846040518363ffffffff1660e01b8152600401610d809291906127d2565b602060405180830381865af4158015610d9b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4991906127f3565b5f610dc8611226565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610756919061280e565b33610e30611226565b6001600160a01b0316816001600160a01b031614610e6b5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b7565b816001600160a01b03163b5f03610ea0576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b7565b610ea98261197d565b5050565b5f805f80516020612bae83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3d91906125d4565b15610fc8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc2919061267a565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612bce83398151915280545f9190600160a01b900460ff16611005575f610fc2565b638fb3603760e01b91505090565b61101b611f0e565b611023610a95565b15611030576107566119dd565b610756611216565b5f611042336105fe565b866110556001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156110a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110cc91906125d4565b6110eb5760405163086391f760e31b81523360048201526024016106b7565b6110f6886017611464565b611104888888888888611ba4565b98975050505050505050565b611119336105fe565b611121610ead565b6001600160a01b0316336001600160a01b0316146111545760405163086391f760e31b81523360048201526024016106b7565b8260176111618282611464565b61116c858585611c3b565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111de919061267a565b6001600160a01b0316336001600160a01b0316146112105760405162f0630960e01b81523360048201526024016106b7565b50505050565b61121e611f0e565b6107566119dd565b5f80516020612bce833981519152546001600160a01b031690565b5f61124c8282612829565b90505b92915050565b5f805f61126184610d3f565b90506112947fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112e1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611305919061284c565b9250925050915091565b611317610ead565b6001600160a01b0316336001600160a01b03161461134a5760405163086391f760e31b81523360048201526024016106b7565b611353336105fe565b610ea98282611cbb565b610ea9336105fe565b5f80516020612bce8339815191525f8061139e611381611226565b873061139060045f8a8c612879565b611399916128a0565b611d22565b915091508161145c5763ffffffff81161561143957825460ff60a01b1916600160a01b1783556113cc611226565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113fb939291906128d8565b5f604051808303815f87803b158015611412575f80fd5b505af1158015611424573d5f803e3d5ffd5b5050845460ff60a01b191685555061145c9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b7565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156114c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ea91906125d4565b610ea95760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106b7565b5f5f80516020612c0e833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611583573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124c919061261c565b5f805f80516020612bae83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611613573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163791906125d4565b156116635780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b7565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156116b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d991906125d4565b6117015760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b7565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611753573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611777919061261c565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612bee83398151915254604051630ded2f7d60e11b81525f915f80516020612c0e833981519152916001600160a01b0390911690631bda5efa906117fd908e908e908e908e908e908e908e908e908e90600401612917565b6020604051808303815f875af1158015611819573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183d91906127f3565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156118bf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a49919061261c565b5f80516020612bee83398151915254604051632ee59dd760e11b81525f915f80516020612c0e833981519152916001600160a01b0390911690635dcb3bae9061193490889088908890600401612996565b6020604051808303815f875af1158015611950573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611974919061261c565b95945050505050565b5f80516020612bce83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6119e5611f0e565b5f6119f86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611a3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a60919061261c565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ab9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611add91906125d4565b15611b9c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611b1a610d24565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611b5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b8291908101906129c9565b60208101519092506001600160a01b031615611b9c575090565b610fc2611e2a565b5f80516020612bee8339815191525460405163987cb16160e01b81525f915f80516020612c0e833981519152916001600160a01b039091169063987cb16190611bfb908b908b908b908b908b908b90600401612a83565b6020604051808303815f875af1158015611c17573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110491906127f3565b5f80516020612bee8339815191525460405163ab3fc75f60e01b81525f80516020612c0e833981519152916001600160a01b03169063ab3fc75f90611c8890879087908790600401612aeb565b5f604051808303815f87803b158015611c9f575f80fd5b505af1158015611cb1573d5f803e3d5ffd5b5050505050505050565b5f80516020612c0e8339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611cf99085908590600401612b1e565b5f604051808303815f87803b158015611d10575f80fd5b505af115801561145c573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d909190612b6a565b5f60405180830381855afa9150503d805f8114611dc8576040519150601f19603f3d011682016040523d82523d5f602084013e611dcd565b606091505b50915091508115611e1f576040815110611dff5780806020019051810190611df59190612b80565b9094509250611e1f565b6020815110611e1f5780806020019051810190611e1c91906125d4565b93505b505094509492505050565b611e32611f0e565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054611e6f90612637565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9b90612637565b8015611ee65780601f10611ebd57610100808354040283529160200191611ee6565b820191905f5260205f20905b815481529060010190602001808311611ec957829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461089090612637565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611f47575f80fd5b81356001600160e01b031981168114610d1d575f80fd5b6001600160601b0381168114611f72575f80fd5b50565b5f8060408385031215611f86575f80fd5b8235611f9181611f5e565b91506020830135611fa181611f5e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612022608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612066610100840182611fac565b949350505050565b602081525f61124c6020830184611fac565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156120b6576120b6612080565b60405290565b604051606081016001600160401b03811182821017156120b6576120b6612080565b604051601f8201601f191681016001600160401b038111828210171561210657612106612080565b604052919050565b5f6001600160401b0382111561212657612126612080565b50601f01601f191660200190565b5f82601f830112612143575f80fd5b8135602083015f61215b6121568461210e565b6120de565b905082815285838301111561216e575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114611f72575f80fd5b8035610a4c81612188565b63ffffffff81168114611f72575f80fd5b8035610a4c816121a7565b64ffffffffff81168114611f72575f80fd5b8035610a4c816121c3565b8015158114611f72575f80fd5b8035610a4c816121e0565b5f805f805f805f805f6101208a8c031215612211575f80fd5b89356001600160401b03811115612226575f80fd5b6122328c828d01612134565b99505060208a013561224381612188565b975061225160408b0161219c565b965061225f60608b0161219c565b955061226d60808b016121b8565b945061227b60a08b016121d5565b935061228960c08b016121ed565b925061229760e08b016121ed565b91506101008a01356001600160401b038111156122b2575f80fd5b6122be8c828d01612134565b9150509295985092959850929598565b5f602082840312156122de575f80fd5b8135610d1d81611f5e565b6001600160c01b031981168114611f72575f80fd5b5f805f60608486031215612310575f80fd5b833561231b81612188565b9250602084013561232b816122e9565b915060408401356001600160401b03811115612345575f80fd5b61235186828701612134565b9150509250925092565b5f6020828403121561236b575f80fd5b81356001600160401b03811115612380575f80fd5b61206684828501612134565b5f6020828403121561239c575f80fd5b8135610d1d81612188565b602081525f8251606060208401526123c26080840182611fac565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506119748282611fac565b5f805f805f8060c0878903121561240a575f80fd5b863561241581611f5e565b955060208701356001600160401b0381111561242f575f80fd5b61243b89828a01612134565b955050604087013561244c81612188565b9350606087013561245c816121a7565b9250608087013561246c816121c3565b915060a08701356001600160401b03811115612486575f80fd5b61249289828a01612134565b9150509295509295509295565b5f805f606084860312156124b1575f80fd5b833561231b81611f5e565b5f805f80608085870312156124cf575f80fd5b84356124da81612188565b935060208501356124ea81612188565b925060408501359150606085013561250181612188565b939692955090935050565b5f806040838503121561251d575f80fd5b8235612528816122e9565b946020939093013593505050565b5f60408284031215612546575f80fd5b604080519081016001600160401b038111828210171561256857612568612080565b604052905080823561257981612188565b8152602083013561258981611f5e565b6020919091015292915050565b5f80608083850312156125a7575f80fd5b6125b18484612536565b91506125c08460408501612536565b90509250929050565b8051610a4c816121e0565b5f602082840312156125e4575f80fd5b8151610d1d816121e0565b5f602082840312156125ff575f80fd5b815162ffffff81168114610d1d575f80fd5b8051610a4c81611f5e565b5f6020828403121561262c575f80fd5b8151610d1d81611f5e565b600181811c9082168061264b57607f821691505b60208210810361266957634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a4c81612188565b5f6020828403121561268a575f80fd5b8151610d1d81612188565b60ff81168114611f72575f80fd5b8051610a4c81612695565b5f6126bb6121568461210e565b90508281528383830111156126ce575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126126f3575f80fd5b61124c838351602085016126ae565b5f60208284031215612712575f80fd5b81516001600160401b03811115612727575f80fd5b820160e08185031215612738575f80fd5b612740612094565b61274982612611565b815261275760208301612611565b6020820152612768604083016126a3565b6040820152612779606083016125c9565b606082015261278a6080830161266f565b608082015261279b60a0830161266f565b60a082015260c08201516001600160401b038111156127b8575f80fd5b6127c4868285016126e4565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d1a6040830184611fac565b5f60208284031215612803575f80fd5b8151610d1d816122e9565b5f6020828403121561281e575f80fd5b8151610d1d81612695565b808202811582820484141761124f57634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561285d575f80fd5b825161286881612188565b6020840151909250611fa181612695565b5f8085851115612887575f80fd5b83861115612893575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156128d1576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61292b61012083018c611fac565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e08401528281036101008401526129868185611fac565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061197490830184611fac565b5f602082840312156129d9575f80fd5b81516001600160401b038111156129ee575f80fd5b8201606081850312156129ff575f80fd5b612a076120bc565b81516001600160401b03811115612a1c575f80fd5b8201601f81018613612a2c575f80fd5b612a3b868251602084016126ae565b8252506020820151612a4c81612188565b602082015260408201516001600160401b03811115612a69575f80fd5b612a75868285016126e4565b604083015250949350505050565b6001600160601b038716815260c060208201525f612aa460c0830188611fac565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612ade8185611fac565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6119746060830184611fac565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d1d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612b91575f80fd5b8251612b9c816121e0565b6020840151909250611fa1816121a756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212208f537705ac966e4e26111506a09173e901aef1b8d4af2ef25b5a7554abcb867f64736f6c634300081a0033",
1124
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611f37565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004611f75565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106d4565b60405162ffffff909116815260200161027b565b6102d361075b565b60405161027b9190611fda565b6102e8610915565b6040516001600160a01b03909116815260200161027b565b61029761097d565b610310610987565b60405161027b919061206e565b61033061032b3660046121f8565b610997565b6040516001600160c01b0319909116815260200161027b565b6102976103573660046122ce565b6109fb565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a51565b61026f610a95565b61026f610b8b565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610c02565b61026f610c14565b6001546001600160a01b03166102e8565b6102976103ff3660046122fe565b610cca565b610297610d24565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a36600461235b565b610d3f565b610457610dbf565b60405160ff909116815260200161027b565b61047c61047736600461238c565b610e27565b005b600161026f565b6102e8610ead565b610495610fde565b6040516001600160e01b0319909116815260200161027b565b6104b6611013565b60405161027b91906123a7565b6103306104d13660046123f5565b611038565b61047c6104e436600461249f565b611110565b61047c6104f73660046124bc565b611173565b6103835f80516020612bae83398151915281565b6104b6611216565b6102e8611226565b61038361052e36600461250c565b611241565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b61057661057136600461235b565b611255565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612596565b61130f565b6103835f80516020612c0e83398151915281565b61047c6105f336600461250c565b61135d565b5f610605335b5f36611366565b8260176106128282611464565b846106256001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa158015610678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069c91906125d4565b6106c05760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106ca868661151b565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610732573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075691906125ef565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610807573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082b919061261c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610873610ead565b6001600160a01b0316815260200182600101805461089090612637565b80601f01602080910402602001604051908101604052809291908181526020018280546108bc90612637565b80156109075780601f106108de57610100808354040283529160200191610907565b820191905f5260205f20905b8154815290600101906020018083116108ea57829003601f168201915b505050505081525091505090565b5f61091e610c02565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610959573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610756919061267a565b5f610756306115a7565b6060610991611013565b51919050565b5f6109a1336105fe565b6109a9610ead565b6001600160a01b0316336001600160a01b0316146109dc5760405163086391f760e31b81523360048201526024016106b7565b6109ed8a8a8a8a8a8a8a8a8a6117a0565b9a9950505050505050505050565b5f610a05336105fe565b610a0d610ead565b6001600160a01b0316336001600160a01b031614610a405760405163086391f760e31b81523360048201526024016106b7565b610a498261184c565b90505b919050565b5f610a5a610c02565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610959573d5f803e3d5ffd5b5f610aa86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610aec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b10919061261c565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b67573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075691906125d4565b5f610b94611226565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfc91906125d4565b15905090565b5f610c0b611013565b60200151905090565b5f610c1d610a95565b15610ca1576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c71573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c989190810190612702565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cd4336105fe565b610cdc610ead565b6001600160a01b0316336001600160a01b031614610d0f5760405163086391f760e31b81523360048201526024016106b7565b610d1a8484846118e3565b90505b9392505050565b5f80516020612bae833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d62610d24565b846040518363ffffffff1660e01b8152600401610d809291906127d2565b602060405180830381865af4158015610d9b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4991906127f3565b5f610dc8611226565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610756919061280e565b33610e30611226565b6001600160a01b0316816001600160a01b031614610e6b5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b7565b816001600160a01b03163b5f03610ea0576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b7565b610ea98261197d565b5050565b5f805f80516020612bae83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3d91906125d4565b15610fc8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc2919061267a565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612bce83398151915280545f9190600160a01b900460ff16611005575f610fc2565b638fb3603760e01b91505090565b61101b611f0e565b611023610a95565b15611030576107566119dd565b610756611216565b5f611042336105fe565b866110556001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156110a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110cc91906125d4565b6110eb5760405163086391f760e31b81523360048201526024016106b7565b6110f6886017611464565b611104888888888888611ba4565b98975050505050505050565b611119336105fe565b611121610ead565b6001600160a01b0316336001600160a01b0316146111545760405163086391f760e31b81523360048201526024016106b7565b8260176111618282611464565b61116c858585611c3b565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111de919061267a565b6001600160a01b0316336001600160a01b0316146112105760405162f0630960e01b81523360048201526024016106b7565b50505050565b61121e611f0e565b6107566119dd565b5f80516020612bce833981519152546001600160a01b031690565b5f61124c8282612829565b90505b92915050565b5f805f61126184610d3f565b90506112947fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112e1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611305919061284c565b9250925050915091565b611317610ead565b6001600160a01b0316336001600160a01b03161461134a5760405163086391f760e31b81523360048201526024016106b7565b611353336105fe565b610ea98282611cbb565b610ea9336105fe565b5f80516020612bce8339815191525f8061139e611381611226565b873061139060045f8a8c612879565b611399916128a0565b611d22565b915091508161145c5763ffffffff81161561143957825460ff60a01b1916600160a01b1783556113cc611226565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113fb939291906128d8565b5f604051808303815f87803b158015611412575f80fd5b505af1158015611424573d5f803e3d5ffd5b5050845460ff60a01b191685555061145c9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b7565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156114c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ea91906125d4565b610ea95760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106b7565b5f5f80516020612c0e833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611583573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124c919061261c565b5f805f80516020612bae83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611613573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163791906125d4565b156116635780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b7565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156116b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d991906125d4565b6117015760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b7565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611753573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611777919061261c565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612bee83398151915254604051630ded2f7d60e11b81525f915f80516020612c0e833981519152916001600160a01b0390911690631bda5efa906117fd908e908e908e908e908e908e908e908e908e90600401612917565b6020604051808303815f875af1158015611819573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183d91906127f3565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156118bf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a49919061261c565b5f80516020612bee83398151915254604051632ee59dd760e11b81525f915f80516020612c0e833981519152916001600160a01b0390911690635dcb3bae9061193490889088908890600401612996565b6020604051808303815f875af1158015611950573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611974919061261c565b95945050505050565b5f80516020612bce83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6119e5611f0e565b5f6119f86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611a3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a60919061261c565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ab9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611add91906125d4565b15611b9c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611b1a610d24565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611b5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b8291908101906129c9565b60208101519092506001600160a01b031615611b9c575090565b610fc2611e2a565b5f80516020612bee8339815191525460405163987cb16160e01b81525f915f80516020612c0e833981519152916001600160a01b039091169063987cb16190611bfb908b908b908b908b908b908b90600401612a83565b6020604051808303815f875af1158015611c17573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110491906127f3565b5f80516020612bee8339815191525460405163ab3fc75f60e01b81525f80516020612c0e833981519152916001600160a01b03169063ab3fc75f90611c8890879087908790600401612aeb565b5f604051808303815f87803b158015611c9f575f80fd5b505af1158015611cb1573d5f803e3d5ffd5b5050505050505050565b5f80516020612c0e8339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611cf99085908590600401612b1e565b5f604051808303815f87803b158015611d10575f80fd5b505af115801561145c573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d909190612b6a565b5f60405180830381855afa9150503d805f8114611dc8576040519150601f19603f3d011682016040523d82523d5f602084013e611dcd565b606091505b50915091508115611e1f576040815110611dff5780806020019051810190611df59190612b80565b9094509250611e1f565b6020815110611e1f5780806020019051810190611e1c91906125d4565b93505b505094509492505050565b611e32611f0e565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054611e6f90612637565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9b90612637565b8015611ee65780601f10611ebd57610100808354040283529160200191611ee6565b820191905f5260205f20905b815481529060010190602001808311611ec957829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461089090612637565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611f47575f80fd5b81356001600160e01b031981168114610d1d575f80fd5b6001600160601b0381168114611f72575f80fd5b50565b5f8060408385031215611f86575f80fd5b8235611f9181611f5e565b91506020830135611fa181611f5e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612022608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612066610100840182611fac565b949350505050565b602081525f61124c6020830184611fac565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156120b6576120b6612080565b60405290565b604051606081016001600160401b03811182821017156120b6576120b6612080565b604051601f8201601f191681016001600160401b038111828210171561210657612106612080565b604052919050565b5f6001600160401b0382111561212657612126612080565b50601f01601f191660200190565b5f82601f830112612143575f80fd5b8135602083015f61215b6121568461210e565b6120de565b905082815285838301111561216e575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114611f72575f80fd5b8035610a4c81612188565b63ffffffff81168114611f72575f80fd5b8035610a4c816121a7565b64ffffffffff81168114611f72575f80fd5b8035610a4c816121c3565b8015158114611f72575f80fd5b8035610a4c816121e0565b5f805f805f805f805f6101208a8c031215612211575f80fd5b89356001600160401b03811115612226575f80fd5b6122328c828d01612134565b99505060208a013561224381612188565b975061225160408b0161219c565b965061225f60608b0161219c565b955061226d60808b016121b8565b945061227b60a08b016121d5565b935061228960c08b016121ed565b925061229760e08b016121ed565b91506101008a01356001600160401b038111156122b2575f80fd5b6122be8c828d01612134565b9150509295985092959850929598565b5f602082840312156122de575f80fd5b8135610d1d81611f5e565b6001600160c01b031981168114611f72575f80fd5b5f805f60608486031215612310575f80fd5b833561231b81612188565b9250602084013561232b816122e9565b915060408401356001600160401b03811115612345575f80fd5b61235186828701612134565b9150509250925092565b5f6020828403121561236b575f80fd5b81356001600160401b03811115612380575f80fd5b61206684828501612134565b5f6020828403121561239c575f80fd5b8135610d1d81612188565b602081525f8251606060208401526123c26080840182611fac565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506119748282611fac565b5f805f805f8060c0878903121561240a575f80fd5b863561241581611f5e565b955060208701356001600160401b0381111561242f575f80fd5b61243b89828a01612134565b955050604087013561244c81612188565b9350606087013561245c816121a7565b9250608087013561246c816121c3565b915060a08701356001600160401b03811115612486575f80fd5b61249289828a01612134565b9150509295509295509295565b5f805f606084860312156124b1575f80fd5b833561231b81611f5e565b5f805f80608085870312156124cf575f80fd5b84356124da81612188565b935060208501356124ea81612188565b925060408501359150606085013561250181612188565b939692955090935050565b5f806040838503121561251d575f80fd5b8235612528816122e9565b946020939093013593505050565b5f60408284031215612546575f80fd5b604080519081016001600160401b038111828210171561256857612568612080565b604052905080823561257981612188565b8152602083013561258981611f5e565b6020919091015292915050565b5f80608083850312156125a7575f80fd5b6125b18484612536565b91506125c08460408501612536565b90509250929050565b8051610a4c816121e0565b5f602082840312156125e4575f80fd5b8151610d1d816121e0565b5f602082840312156125ff575f80fd5b815162ffffff81168114610d1d575f80fd5b8051610a4c81611f5e565b5f6020828403121561262c575f80fd5b8151610d1d81611f5e565b600181811c9082168061264b57607f821691505b60208210810361266957634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a4c81612188565b5f6020828403121561268a575f80fd5b8151610d1d81612188565b60ff81168114611f72575f80fd5b8051610a4c81612695565b5f6126bb6121568461210e565b90508281528383830111156126ce575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126126f3575f80fd5b61124c838351602085016126ae565b5f60208284031215612712575f80fd5b81516001600160401b03811115612727575f80fd5b820160e08185031215612738575f80fd5b612740612094565b61274982612611565b815261275760208301612611565b6020820152612768604083016126a3565b6040820152612779606083016125c9565b606082015261278a6080830161266f565b608082015261279b60a0830161266f565b60a082015260c08201516001600160401b038111156127b8575f80fd5b6127c4868285016126e4565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d1a6040830184611fac565b5f60208284031215612803575f80fd5b8151610d1d816122e9565b5f6020828403121561281e575f80fd5b8151610d1d81612695565b808202811582820484141761124f57634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561285d575f80fd5b825161286881612188565b6020840151909250611fa181612695565b5f8085851115612887575f80fd5b83861115612893575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156128d1576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61292b61012083018c611fac565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e08401528281036101008401526129868185611fac565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061197490830184611fac565b5f602082840312156129d9575f80fd5b81516001600160401b038111156129ee575f80fd5b8201606081850312156129ff575f80fd5b612a076120bc565b81516001600160401b03811115612a1c575f80fd5b8201601f81018613612a2c575f80fd5b612a3b868251602084016126ae565b8252506020820151612a4c81612188565b602082015260408201516001600160401b03811115612a69575f80fd5b612a75868285016126e4565b604083015250949350505050565b6001600160601b038716815260c060208201525f612aa460c0830188611fac565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612ade8185611fac565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6119746060830184611fac565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d1d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612b91575f80fd5b8251612b9c816121e0565b6020840151909250611fa1816121a756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212208f537705ac966e4e26111506a09173e901aef1b8d4af2ef25b5a7554abcb867f64736f6c634300081a0033",
1381
1125
  "linkReferences": {
1382
- "contracts/type/Amount.sol": {
1383
- "AmountLib": [
1384
- {
1385
- "length": 20,
1386
- "start": 3430
1387
- }
1388
- ]
1389
- },
1390
1126
  "contracts/type/NftId.sol": {
1391
1127
  "NftIdLib": [
1392
1128
  {
1393
1129
  "length": 20,
1394
- "start": 1985
1395
- },
1396
- {
1397
- "length": 20,
1398
- "start": 2757
1399
- },
1400
- {
1401
- "length": 20,
1402
- "start": 4705
1403
- },
1404
- {
1405
- "length": 20,
1406
- "start": 5063
1407
- },
1408
- {
1409
- "length": 20,
1410
- "start": 7388
1130
+ "start": 2014
1411
1131
  },
1412
1132
  {
1413
1133
  "length": 20,
1414
- "start": 8671
1134
+ "start": 2891
1415
1135
  },
1416
1136
  {
1417
1137
  "length": 20,
1418
- "start": 9271
1138
+ "start": 3837
1419
1139
  },
1420
1140
  {
1421
1141
  "length": 20,
1422
- "start": 10268
1142
+ "start": 5623
1423
1143
  },
1424
1144
  {
1425
1145
  "length": 20,
1426
- "start": 10451
1427
- },
1428
- {
1429
- "length": 20,
1430
- "start": 11087
1146
+ "start": 6813
1431
1147
  }
1432
1148
  ]
1433
1149
  },
@@ -1435,61 +1151,41 @@
1435
1151
  "ReferralLib": [
1436
1152
  {
1437
1153
  "length": 20,
1438
- "start": 4392
1154
+ "start": 3422
1439
1155
  }
1440
1156
  ]
1441
- }
1442
- },
1443
- "deployedLinkReferences": {
1444
- "contracts/type/Amount.sol": {
1445
- "AmountLib": [
1157
+ },
1158
+ "contracts/type/Version.sol": {
1159
+ "VersionLib": [
1446
1160
  {
1447
1161
  "length": 20,
1448
- "start": 3402
1162
+ "start": 1814
1449
1163
  }
1450
1164
  ]
1451
- },
1165
+ }
1166
+ },
1167
+ "deployedLinkReferences": {
1452
1168
  "contracts/type/NftId.sol": {
1453
1169
  "NftIdLib": [
1454
1170
  {
1455
1171
  "length": 20,
1456
- "start": 1957
1457
- },
1458
- {
1459
- "length": 20,
1460
- "start": 2729
1172
+ "start": 1986
1461
1173
  },
1462
1174
  {
1463
1175
  "length": 20,
1464
- "start": 4677
1176
+ "start": 2863
1465
1177
  },
1466
1178
  {
1467
1179
  "length": 20,
1468
- "start": 5035
1180
+ "start": 3809
1469
1181
  },
1470
1182
  {
1471
1183
  "length": 20,
1472
- "start": 7360
1184
+ "start": 5595
1473
1185
  },
1474
1186
  {
1475
1187
  "length": 20,
1476
- "start": 8643
1477
- },
1478
- {
1479
- "length": 20,
1480
- "start": 9243
1481
- },
1482
- {
1483
- "length": 20,
1484
- "start": 10240
1485
- },
1486
- {
1487
- "length": 20,
1488
- "start": 10423
1489
- },
1490
- {
1491
- "length": 20,
1492
- "start": 11059
1188
+ "start": 6785
1493
1189
  }
1494
1190
  ]
1495
1191
  },
@@ -1497,7 +1193,15 @@
1497
1193
  "ReferralLib": [
1498
1194
  {
1499
1195
  "length": 20,
1500
- "start": 4364
1196
+ "start": 3394
1197
+ }
1198
+ ]
1199
+ },
1200
+ "contracts/type/Version.sol": {
1201
+ "VersionLib": [
1202
+ {
1203
+ "length": 20,
1204
+ "start": 1786
1501
1205
  }
1502
1206
  ]
1503
1207
  }