@etherisc/gif-next 0.0.2-cfc7167-648 → 0.0.2-cff7366-494

Sign up to get free protection for your applications and to get access to all the features.
Files changed (470) hide show
  1. package/README.md +32 -8
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +105 -65
  4. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  6. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  9. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  16. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +159 -367
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +99 -291
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +227 -290
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +125 -117
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +89 -129
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +101 -31
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1415 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1965 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1429 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1163 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1592 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2267 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +147 -42
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +116 -48
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +53 -101
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +141 -141
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +197 -139
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +58 -85
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +726 -133
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +118 -260
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +99 -87
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +337 -138
  74. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  75. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  76. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  78. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  82. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  88. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  91. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  92. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +111 -319
  94. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  96. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  97. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +77 -117
  99. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  101. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +87 -279
  103. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +147 -191
  105. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +119 -83
  107. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +106 -298
  109. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  110. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +114 -22
  111. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +146 -307
  113. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  114. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +111 -119
  115. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +48 -33
  117. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  118. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +98 -149
  119. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  120. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +283 -180
  121. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  122. package/artifacts/contracts/pool/Pool.sol/Pool.json +106 -309
  123. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +382 -407
  125. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +123 -99
  127. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  128. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +119 -165
  129. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +93 -85
  131. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  132. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +149 -295
  133. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  134. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  135. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  136. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +282 -229
  137. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +132 -108
  139. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +63 -7
  141. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +161 -7
  143. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  144. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +179 -35
  145. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  146. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +114 -85
  147. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  148. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +136 -130
  149. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  150. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +31 -2
  151. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  152. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +281 -323
  153. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +123 -119
  155. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  156. package/artifacts/contracts/product/PricingService.sol/PricingService.json +215 -309
  157. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  158. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +117 -117
  159. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  160. package/artifacts/contracts/product/Product.sol/Product.json +147 -293
  161. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  162. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  163. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  164. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  165. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  166. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  167. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  168. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +310 -34
  169. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  170. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  171. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  172. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  173. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  174. package/artifacts/contracts/registry/Registry.sol/Registry.json +516 -95
  175. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  176. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +296 -143
  177. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  178. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +94 -284
  179. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +91 -75
  181. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  183. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +131 -223
  185. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  187. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  189. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  190. package/artifacts/contracts/shared/Component.sol/Component.json +76 -239
  191. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  192. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +492 -335
  193. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  194. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +143 -117
  195. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  196. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +47 -112
  197. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  198. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  199. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  200. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  201. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  202. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  203. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  204. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +66 -77
  205. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  206. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +467 -33
  207. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  208. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +77 -117
  209. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  211. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  212. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  213. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  214. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  215. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  217. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  219. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  220. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  222. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  223. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  224. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  225. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +87 -279
  226. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  227. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  228. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  230. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  231. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  232. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  234. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  235. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  236. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +58 -89
  238. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  239. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  240. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  241. package/artifacts/contracts/shared/Service.sol/Service.json +47 -112
  242. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +674 -49
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  246. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  247. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  248. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  249. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +111 -114
  250. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  251. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  252. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  253. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  254. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  255. package/artifacts/contracts/staking/Staking.sol/Staking.json +193 -368
  256. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  257. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  258. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +117 -110
  260. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  261. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  262. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  263. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +87 -165
  264. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  265. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +95 -79
  266. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  267. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +169 -128
  268. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  269. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  270. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  271. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  273. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  276. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  278. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  280. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  282. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  283. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  284. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  286. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  287. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  288. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  290. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  292. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  294. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +99 -5
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -2
  302. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  306. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  309. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  311. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  313. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  315. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  316. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  317. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +71 -70
  318. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  319. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  320. package/contracts/authorization/AccessAdmin.sol +83 -58
  321. package/contracts/authorization/Authorization.sol +111 -40
  322. package/contracts/authorization/IAccess.sol +1 -0
  323. package/contracts/authorization/IAccessAdmin.sol +4 -3
  324. package/contracts/authorization/IAuthorization.sol +13 -7
  325. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  326. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  327. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  328. package/contracts/distribution/BasicDistribution.sol +4 -3
  329. package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
  330. package/contracts/distribution/Distribution.sol +12 -23
  331. package/contracts/distribution/DistributionService.sol +97 -66
  332. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  333. package/contracts/distribution/IDistributionComponent.sol +1 -1
  334. package/contracts/distribution/IDistributionService.sol +13 -8
  335. package/contracts/examples/fire/DamageLevel.sol +59 -0
  336. package/contracts/examples/fire/FirePool.sol +86 -0
  337. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  338. package/contracts/examples/fire/FireProduct.sol +431 -0
  339. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  340. package/contracts/examples/fire/FireUSD.sol +26 -0
  341. package/contracts/examples/unpermissioned/SimpleDistribution.sol +65 -0
  342. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  343. package/contracts/examples/unpermissioned/SimplePool.sol +108 -0
  344. package/contracts/examples/unpermissioned/SimpleProduct.sol +345 -0
  345. package/contracts/instance/BundleSet.sol +38 -34
  346. package/contracts/instance/IInstance.sol +16 -31
  347. package/contracts/instance/IInstanceService.sol +7 -29
  348. package/contracts/instance/Instance.sol +44 -59
  349. package/contracts/instance/InstanceAdmin.sol +58 -39
  350. package/contracts/instance/InstanceAuthorizationV3.sol +43 -29
  351. package/contracts/instance/InstanceReader.sol +190 -19
  352. package/contracts/instance/InstanceService.sol +61 -137
  353. package/contracts/instance/InstanceServiceManager.sol +6 -7
  354. package/contracts/instance/InstanceStore.sol +11 -1
  355. package/contracts/instance/RiskSet.sol +119 -0
  356. package/contracts/instance/base/ObjectLifecycle.sol +7 -1
  357. package/contracts/instance/base/ObjectSet.sol +24 -25
  358. package/contracts/instance/module/IComponents.sol +10 -6
  359. package/contracts/instance/module/IPolicy.sol +25 -24
  360. package/contracts/instance/module/IRisk.sol +1 -0
  361. package/contracts/oracle/BasicOracle.sol +0 -1
  362. package/contracts/oracle/IOracleService.sol +2 -1
  363. package/contracts/oracle/Oracle.sol +6 -16
  364. package/contracts/oracle/OracleService.sol +112 -81
  365. package/contracts/oracle/OracleServiceManager.sol +6 -6
  366. package/contracts/pool/BasicPool.sol +33 -24
  367. package/contracts/pool/BasicPoolAuthorization.sol +12 -2
  368. package/contracts/pool/BundleService.sol +69 -83
  369. package/contracts/pool/BundleServiceManager.sol +6 -6
  370. package/contracts/pool/IBundleService.sol +3 -14
  371. package/contracts/pool/IPoolComponent.sol +19 -15
  372. package/contracts/pool/IPoolService.sol +48 -42
  373. package/contracts/pool/Pool.sol +144 -127
  374. package/contracts/pool/PoolService.sol +277 -189
  375. package/contracts/pool/PoolServiceManager.sol +4 -4
  376. package/contracts/product/ApplicationService.sol +34 -25
  377. package/contracts/product/ApplicationServiceManager.sol +4 -4
  378. package/contracts/product/BasicProduct.sol +9 -12
  379. package/contracts/product/BasicProductAuthorization.sol +0 -1
  380. package/contracts/product/ClaimService.sol +312 -115
  381. package/contracts/product/ClaimServiceManager.sol +4 -4
  382. package/contracts/product/IApplicationService.sol +5 -2
  383. package/contracts/product/IClaimService.sol +30 -7
  384. package/contracts/product/IPolicyService.sol +31 -25
  385. package/contracts/product/IPricingService.sol +10 -10
  386. package/contracts/product/IProductComponent.sol +23 -4
  387. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  388. package/contracts/product/PolicyService.sol +399 -261
  389. package/contracts/product/PolicyServiceManager.sol +4 -4
  390. package/contracts/product/PricingService.sol +49 -53
  391. package/contracts/product/PricingServiceManager.sol +3 -3
  392. package/contracts/product/Product.sol +101 -87
  393. package/contracts/product/{ProductService.sol → RiskService.sol} +21 -13
  394. package/contracts/product/RiskServiceManager.sol +39 -0
  395. package/contracts/registry/ChainNft.sol +68 -38
  396. package/contracts/registry/IRegistry.sol +57 -18
  397. package/contracts/registry/IRegistryService.sol +5 -12
  398. package/contracts/registry/ITransferInterceptor.sol +1 -2
  399. package/contracts/registry/Registry.sol +350 -201
  400. package/contracts/registry/RegistryAdmin.sol +140 -54
  401. package/contracts/registry/RegistryService.sol +35 -46
  402. package/contracts/registry/RegistryServiceManager.sol +2 -2
  403. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  404. package/contracts/registry/ReleaseRegistry.sol +204 -204
  405. package/contracts/registry/ServiceAuthorizationV3.sol +23 -47
  406. package/contracts/shared/Component.sol +60 -119
  407. package/contracts/shared/ComponentService.sol +393 -167
  408. package/contracts/shared/ComponentServiceManager.sol +8 -5
  409. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  410. package/contracts/shared/ContractLib.sol +224 -0
  411. package/contracts/shared/IComponent.sol +10 -14
  412. package/contracts/shared/IComponentService.sol +44 -18
  413. package/contracts/shared/IInstanceLinkedComponent.sol +2 -28
  414. package/contracts/shared/ILifecycle.sol +3 -1
  415. package/contracts/shared/INftOwnable.sol +2 -0
  416. package/contracts/shared/IPolicyHolder.sol +12 -22
  417. package/contracts/shared/IRegisterable.sol +11 -0
  418. package/contracts/shared/InitializableERC165.sol +2 -2
  419. package/contracts/shared/InstanceLinkedComponent.sol +71 -46
  420. package/contracts/shared/KeyValueStore.sol +1 -1
  421. package/contracts/shared/Lifecycle.sol +15 -4
  422. package/contracts/shared/NftOwnable.sol +27 -7
  423. package/contracts/shared/PolicyHolder.sol +15 -52
  424. package/contracts/shared/Registerable.sol +19 -11
  425. package/contracts/shared/RegistryLinked.sol +9 -14
  426. package/contracts/shared/Service.sol +20 -18
  427. package/contracts/shared/TokenHandler.sol +357 -30
  428. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  429. package/contracts/staking/IStaking.sol +11 -5
  430. package/contracts/staking/IStakingService.sol +0 -3
  431. package/contracts/staking/StakeManagerLib.sol +18 -25
  432. package/contracts/staking/Staking.sol +39 -50
  433. package/contracts/staking/StakingManager.sol +8 -6
  434. package/contracts/staking/StakingReader.sol +12 -5
  435. package/contracts/staking/StakingService.sol +58 -25
  436. package/contracts/staking/StakingServiceManager.sol +2 -2
  437. package/contracts/staking/TargetManagerLib.sol +7 -3
  438. package/contracts/type/Amount.sol +15 -0
  439. package/contracts/type/ClaimId.sol +6 -1
  440. package/contracts/type/Key32.sol +2 -2
  441. package/contracts/type/Key32Set.sol +62 -0
  442. package/contracts/type/NftId.sol +7 -0
  443. package/contracts/type/ObjectType.sol +18 -11
  444. package/contracts/type/PayoutId.sol +10 -10
  445. package/contracts/type/RiskId.sol +30 -4
  446. package/contracts/type/RoleId.sol +0 -12
  447. package/contracts/type/Seconds.sol +8 -0
  448. package/contracts/type/StateId.sol +15 -1
  449. package/contracts/type/UFixed.sol +4 -0
  450. package/contracts/upgradeability/ProxyManager.sol +68 -34
  451. package/contracts/upgradeability/Versionable.sol +2 -2
  452. package/package.json +4 -3
  453. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  454. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  455. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  456. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  457. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  458. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  459. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  460. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  461. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  462. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  463. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  464. package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.dbg.json +0 -4
  465. package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.json +0 -42
  466. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  467. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  468. package/contracts/product/ProductServiceManager.sol +0 -39
  469. package/contracts/shared/InitializableCustom.sol +0 -177
  470. package/contracts/shared/TokenTransferLib.sol +0 -60
@@ -58,30 +58,18 @@
58
58
  "type": "error"
59
59
  },
60
60
  {
61
- "inputs": [
62
- {
63
- "internalType": "NftId",
64
- "name": "instanceNftId",
65
- "type": "uint96"
66
- }
67
- ],
68
- "name": "ErrorComponentNotInstance",
61
+ "inputs": [],
62
+ "name": "ErrorComponentProductNftIdNonzero",
69
63
  "type": "error"
70
64
  },
71
65
  {
72
- "inputs": [
73
- {
74
- "internalType": "address",
75
- "name": "caller",
76
- "type": "address"
77
- }
78
- ],
79
- "name": "ErrorComponentNotProductService",
66
+ "inputs": [],
67
+ "name": "ErrorComponentProductNftIdZero",
80
68
  "type": "error"
81
69
  },
82
70
  {
83
71
  "inputs": [],
84
- "name": "ErrorComponentProductNftAlreadySet",
72
+ "name": "ErrorComponentTokenAddressNonzero",
85
73
  "type": "error"
86
74
  },
87
75
  {
@@ -99,32 +87,6 @@
99
87
  "name": "ErrorComponentWalletAddressZero",
100
88
  "type": "error"
101
89
  },
102
- {
103
- "inputs": [
104
- {
105
- "internalType": "address",
106
- "name": "oldWallet",
107
- "type": "address"
108
- },
109
- {
110
- "internalType": "address",
111
- "name": "newWallet",
112
- "type": "address"
113
- },
114
- {
115
- "internalType": "uint256",
116
- "name": "allowance",
117
- "type": "uint256"
118
- },
119
- {
120
- "internalType": "uint256",
121
- "name": "balance",
122
- "type": "uint256"
123
- }
124
- ],
125
- "name": "ErrorComponentWalletAllowanceTooSmall",
126
- "type": "error"
127
- },
128
90
  {
129
91
  "inputs": [],
130
92
  "name": "ErrorComponentWalletNotComponent",
@@ -157,6 +119,38 @@
157
119
  "name": "ErrorDistributionNotDistributor",
158
120
  "type": "error"
159
121
  },
122
+ {
123
+ "inputs": [
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "nftId",
127
+ "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "objectType",
132
+ "type": "uint8"
133
+ }
134
+ ],
135
+ "name": "ErrorInstanceLinkedComponentNotProduct",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "ObjectType",
142
+ "name": "requiredType",
143
+ "type": "uint8"
144
+ },
145
+ {
146
+ "internalType": "ObjectType",
147
+ "name": "objectType",
148
+ "type": "uint8"
149
+ }
150
+ ],
151
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
152
+ "type": "error"
153
+ },
160
154
  {
161
155
  "inputs": [
162
156
  {
@@ -184,6 +178,22 @@
184
178
  "name": "ErrorNftOwnableInitialOwnerZero",
185
179
  "type": "error"
186
180
  },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedObjectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorNftOwnableInvalidType",
195
+ "type": "error"
196
+ },
187
197
  {
188
198
  "inputs": [
189
199
  {
@@ -245,6 +255,12 @@
245
255
  {
246
256
  "anonymous": false,
247
257
  "inputs": [
258
+ {
259
+ "indexed": false,
260
+ "internalType": "address",
261
+ "name": "tokenHandler",
262
+ "type": "address"
263
+ },
248
264
  {
249
265
  "indexed": false,
250
266
  "internalType": "address",
@@ -256,6 +272,12 @@
256
272
  "internalType": "Amount",
257
273
  "name": "limit",
258
274
  "type": "uint96"
275
+ },
276
+ {
277
+ "indexed": false,
278
+ "internalType": "bool",
279
+ "name": "isMaxAmount",
280
+ "type": "bool"
259
281
  }
260
282
  ],
261
283
  "name": "LogComponentTokenHandlerApproved",
@@ -317,7 +339,7 @@
317
339
  {
318
340
  "indexed": false,
319
341
  "internalType": "address",
320
- "name": "caller",
342
+ "name": "operator",
321
343
  "type": "address"
322
344
  }
323
345
  ],
@@ -350,6 +372,19 @@
350
372
  "stateMutability": "view",
351
373
  "type": "function"
352
374
  },
375
+ {
376
+ "inputs": [],
377
+ "name": "GIF_RELEASE",
378
+ "outputs": [
379
+ {
380
+ "internalType": "uint256",
381
+ "name": "",
382
+ "type": "uint256"
383
+ }
384
+ ],
385
+ "stateMutability": "view",
386
+ "type": "function"
387
+ },
353
388
  {
354
389
  "inputs": [],
355
390
  "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
@@ -392,26 +427,13 @@
392
427
  {
393
428
  "inputs": [
394
429
  {
395
- "internalType": "address",
430
+ "internalType": "contract IERC20Metadata",
396
431
  "name": "token",
397
432
  "type": "address"
398
433
  },
399
434
  {
400
435
  "internalType": "Amount",
401
- "name": "spendingLimitAmount",
402
- "type": "uint96"
403
- }
404
- ],
405
- "name": "approveTokenHandler",
406
- "outputs": [],
407
- "stateMutability": "nonpayable",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [
412
- {
413
- "internalType": "Amount",
414
- "name": "spendingLimitAmount",
436
+ "name": "amount",
415
437
  "type": "uint96"
416
438
  }
417
439
  ],
@@ -457,6 +479,29 @@
457
479
  "stateMutability": "view",
458
480
  "type": "function"
459
481
  },
482
+ {
483
+ "inputs": [
484
+ {
485
+ "internalType": "NftId",
486
+ "name": "distributorNftId",
487
+ "type": "uint96"
488
+ },
489
+ {
490
+ "internalType": "DistributorType",
491
+ "name": "distributorType",
492
+ "type": "bytes8"
493
+ },
494
+ {
495
+ "internalType": "bytes",
496
+ "name": "data",
497
+ "type": "bytes"
498
+ }
499
+ ],
500
+ "name": "changeDistributorType",
501
+ "outputs": [],
502
+ "stateMutability": "nonpayable",
503
+ "type": "function"
504
+ },
460
505
  {
461
506
  "inputs": [
462
507
  {
@@ -608,11 +653,6 @@
608
653
  "name": "name",
609
654
  "type": "string"
610
655
  },
611
- {
612
- "internalType": "NftId",
613
- "name": "productNftId",
614
- "type": "uint96"
615
- },
616
656
  {
617
657
  "internalType": "contract IERC20Metadata",
618
658
  "name": "token",
@@ -623,11 +663,6 @@
623
663
  "name": "tokenHandler",
624
664
  "type": "address"
625
665
  },
626
- {
627
- "internalType": "address",
628
- "name": "wallet",
629
- "type": "address"
630
- },
631
666
  {
632
667
  "internalType": "bytes",
633
668
  "name": "data",
@@ -696,11 +731,6 @@
696
731
  "name": "name",
697
732
  "type": "string"
698
733
  },
699
- {
700
- "internalType": "NftId",
701
- "name": "productNftId",
702
- "type": "uint96"
703
- },
704
734
  {
705
735
  "internalType": "contract IERC20Metadata",
706
736
  "name": "token",
@@ -711,11 +741,6 @@
711
741
  "name": "tokenHandler",
712
742
  "type": "address"
713
743
  },
714
- {
715
- "internalType": "address",
716
- "name": "wallet",
717
- "type": "address"
718
- },
719
744
  {
720
745
  "internalType": "bytes",
721
746
  "name": "data",
@@ -832,19 +857,6 @@
832
857
  "stateMutability": "view",
833
858
  "type": "function"
834
859
  },
835
- {
836
- "inputs": [],
837
- "name": "getProductNftId",
838
- "outputs": [
839
- {
840
- "internalType": "NftId",
841
- "name": "productNftId",
842
- "type": "uint96"
843
- }
844
- ],
845
- "stateMutability": "view",
846
- "type": "function"
847
- },
848
860
  {
849
861
  "inputs": [
850
862
  {
@@ -877,6 +889,19 @@
877
889
  "stateMutability": "view",
878
890
  "type": "function"
879
891
  },
892
+ {
893
+ "inputs": [],
894
+ "name": "getRelease",
895
+ "outputs": [
896
+ {
897
+ "internalType": "VersionPart",
898
+ "name": "release",
899
+ "type": "uint8"
900
+ }
901
+ ],
902
+ "stateMutability": "pure",
903
+ "type": "function"
904
+ },
880
905
  {
881
906
  "inputs": [],
882
907
  "name": "getToken",
@@ -916,140 +941,6 @@
916
941
  "stateMutability": "view",
917
942
  "type": "function"
918
943
  },
919
- {
920
- "inputs": [
921
- {
922
- "internalType": "address",
923
- "name": "authority",
924
- "type": "address"
925
- },
926
- {
927
- "internalType": "address",
928
- "name": "registry",
929
- "type": "address"
930
- },
931
- {
932
- "internalType": "NftId",
933
- "name": "parentNftId",
934
- "type": "uint96"
935
- },
936
- {
937
- "internalType": "string",
938
- "name": "name",
939
- "type": "string"
940
- },
941
- {
942
- "internalType": "address",
943
- "name": "token",
944
- "type": "address"
945
- },
946
- {
947
- "internalType": "ObjectType",
948
- "name": "componentType",
949
- "type": "uint8"
950
- },
951
- {
952
- "internalType": "bool",
953
- "name": "isInterceptor",
954
- "type": "bool"
955
- },
956
- {
957
- "internalType": "address",
958
- "name": "initialOwner",
959
- "type": "address"
960
- },
961
- {
962
- "internalType": "bytes",
963
- "name": "registryData",
964
- "type": "bytes"
965
- },
966
- {
967
- "internalType": "bytes",
968
- "name": "componentData",
969
- "type": "bytes"
970
- }
971
- ],
972
- "name": "initializeComponent",
973
- "outputs": [],
974
- "stateMutability": "nonpayable",
975
- "type": "function"
976
- },
977
- {
978
- "inputs": [],
979
- "name": "initializeERC165",
980
- "outputs": [],
981
- "stateMutability": "nonpayable",
982
- "type": "function"
983
- },
984
- {
985
- "inputs": [
986
- {
987
- "internalType": "address",
988
- "name": "initialOwner",
989
- "type": "address"
990
- },
991
- {
992
- "internalType": "address",
993
- "name": "registryAddress",
994
- "type": "address"
995
- }
996
- ],
997
- "name": "initializeNftOwnable",
998
- "outputs": [],
999
- "stateMutability": "nonpayable",
1000
- "type": "function"
1001
- },
1002
- {
1003
- "inputs": [
1004
- {
1005
- "internalType": "address",
1006
- "name": "registryAddress",
1007
- "type": "address"
1008
- },
1009
- {
1010
- "internalType": "NftId",
1011
- "name": "parentNftId",
1012
- "type": "uint96"
1013
- },
1014
- {
1015
- "internalType": "ObjectType",
1016
- "name": "objectType",
1017
- "type": "uint8"
1018
- },
1019
- {
1020
- "internalType": "bool",
1021
- "name": "isInterceptor",
1022
- "type": "bool"
1023
- },
1024
- {
1025
- "internalType": "address",
1026
- "name": "initialOwner",
1027
- "type": "address"
1028
- },
1029
- {
1030
- "internalType": "bytes",
1031
- "name": "registryData",
1032
- "type": "bytes"
1033
- }
1034
- ],
1035
- "name": "initializeRegisterable",
1036
- "outputs": [],
1037
- "stateMutability": "nonpayable",
1038
- "type": "function"
1039
- },
1040
- {
1041
- "inputs": [
1042
- {
1043
- "internalType": "address",
1044
- "name": "registryAddress",
1045
- "type": "address"
1046
- }
1047
- ],
1048
- "name": "initializeRegistryLinked",
1049
- "outputs": [],
1050
- "stateMutability": "nonpayable",
1051
- "type": "function"
1052
- },
1053
944
  {
1054
945
  "inputs": [],
1055
946
  "name": "isConsumingScheduledOp",
@@ -1134,31 +1025,6 @@
1134
1025
  "stateMutability": "nonpayable",
1135
1026
  "type": "function"
1136
1027
  },
1137
- {
1138
- "inputs": [],
1139
- "name": "lock",
1140
- "outputs": [],
1141
- "stateMutability": "nonpayable",
1142
- "type": "function"
1143
- },
1144
- {
1145
- "inputs": [
1146
- {
1147
- "internalType": "address",
1148
- "name": "to",
1149
- "type": "address"
1150
- },
1151
- {
1152
- "internalType": "uint256",
1153
- "name": "tokenId",
1154
- "type": "uint256"
1155
- }
1156
- ],
1157
- "name": "nftMint",
1158
- "outputs": [],
1159
- "stateMutability": "nonpayable",
1160
- "type": "function"
1161
- },
1162
1028
  {
1163
1029
  "inputs": [
1164
1030
  {
@@ -1175,6 +1041,11 @@
1175
1041
  "internalType": "uint256",
1176
1042
  "name": "tokenId",
1177
1043
  "type": "uint256"
1044
+ },
1045
+ {
1046
+ "internalType": "address",
1047
+ "name": "operator",
1048
+ "type": "address"
1178
1049
  }
1179
1050
  ],
1180
1051
  "name": "nftTransferFrom",
@@ -1200,26 +1071,6 @@
1200
1071
  "stateMutability": "nonpayable",
1201
1072
  "type": "function"
1202
1073
  },
1203
- {
1204
- "inputs": [],
1205
- "name": "register",
1206
- "outputs": [],
1207
- "stateMutability": "nonpayable",
1208
- "type": "function"
1209
- },
1210
- {
1211
- "inputs": [
1212
- {
1213
- "internalType": "bytes4",
1214
- "name": "interfaceId",
1215
- "type": "bytes4"
1216
- }
1217
- ],
1218
- "name": "registerInterface",
1219
- "outputs": [],
1220
- "stateMutability": "nonpayable",
1221
- "type": "function"
1222
- },
1223
1074
  {
1224
1075
  "inputs": [
1225
1076
  {
@@ -1275,19 +1126,6 @@
1275
1126
  "stateMutability": "nonpayable",
1276
1127
  "type": "function"
1277
1128
  },
1278
- {
1279
- "inputs": [
1280
- {
1281
- "internalType": "address",
1282
- "name": "newWallet",
1283
- "type": "address"
1284
- }
1285
- ],
1286
- "name": "setWallet",
1287
- "outputs": [],
1288
- "stateMutability": "nonpayable",
1289
- "type": "function"
1290
- },
1291
1129
  {
1292
1130
  "inputs": [
1293
1131
  {
@@ -1307,36 +1145,6 @@
1307
1145
  "stateMutability": "view",
1308
1146
  "type": "function"
1309
1147
  },
1310
- {
1311
- "inputs": [],
1312
- "name": "unlock",
1313
- "outputs": [],
1314
- "stateMutability": "nonpayable",
1315
- "type": "function"
1316
- },
1317
- {
1318
- "inputs": [
1319
- {
1320
- "internalType": "NftId",
1321
- "name": "distributorNftId",
1322
- "type": "uint96"
1323
- },
1324
- {
1325
- "internalType": "DistributorType",
1326
- "name": "distributorType",
1327
- "type": "bytes8"
1328
- },
1329
- {
1330
- "internalType": "bytes",
1331
- "name": "data",
1332
- "type": "bytes"
1333
- }
1334
- ],
1335
- "name": "updateDistributorType",
1336
- "outputs": [],
1337
- "stateMutability": "nonpayable",
1338
- "type": "function"
1339
- },
1340
1148
  {
1341
1149
  "inputs": [
1342
1150
  {
@@ -1381,62 +1189,46 @@
1381
1189
  "type": "function"
1382
1190
  }
1383
1191
  ],
1384
- "bytecode": "0x6080604052348015600e575f80fd5b50613f9a8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610318575f3560e01c80636bd1c0eb116101af578063bae99c99116100fe578063e7f7fb861161009e578063f7c34ee011610079578063f7c34ee014610708578063f80e20721461071b578063f83d08ba1461072e578063f8bf0d9f14610736575f80fd5b8063e7f7fb86146106cd578063ea15869f146106e0578063f5860e1a146106f4575f80fd5b8063d16d0fe8116100d9578063d16d0fe814610660578063de7b5d1414610673578063deaa59df14610690578063e145d46c146106a3575f80fd5b8063bae99c9914610632578063bb1e0e5914610645578063bf7e214f14610658575f80fd5b80638fb3603711610169578063ada9652e11610144578063ada9652e146105f0578063b2a6b42d14610604578063b423086c14610617578063b6b412ba1461061f575f80fd5b80638fb36037146105b257806390edbd35146105d3578063a69df4b5146105e8575f80fd5b80636bd1c0eb1461053a5780637427d7a81461056a5780637a9e5e4b1461057d57806387ef9ba014610590578063893d20e8146105975780638f0c86fa1461059f575f80fd5b806327bb7a331161026b57806343d752d3116102255780635ab1bd53116102005780635ab1bd53146104fb5780635dcb3bae1461050c578063644c45e01461051f578063675393bf14610527575f80fd5b806343d752d3146104d85780635741e5e9146104e057806359660bea146104e8575f80fd5b806327bb7a33146104575780632b5198b11461046a5780632eb3e6f41461049657806336fc697e146104aa5780633d683fd9146104b2578063419197fe146104c5575f80fd5b806317d7de7c116102d65780631eff4b22116102b15780631eff4b22146103ff578063214cdb801461043457806321df0da714610447578063223668441461044f575f80fd5b806317d7de7c146103cd5780631aa3a008146103e25780631c6b2190146103ec575f80fd5b806251884a1461031c57806301ffc9a71461034157806307e71a6e1461037d5780630fec111c1461039057806313299604146103a5578063138461e0146103c5575b5f80fd5b610324610749565b6040516001600160601b0390911681526020015b60405180910390f35b61036d61034f366004612fe0565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610338565b61032461038b366004613026565b61075b565b610398610860565b604051610338919061308b565b6103ad610a1e565b6040516001600160a01b039091168152602001610338565b610324610a30565b6103d5610a3f565b6040516103389190613117565b6103ea610a4f565b005b6103246103fa366004613129565b610afc565b6104267f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610338565b6103ea610442366004612fe0565b610b52565b6103ad610b7e565b61036d610b90565b6103ea61046536600461329c565b610c86565b61047d61047836600461334b565b610d2b565b6040516001600160c01b03199091168152602001610338565b6104265f80516020613f4583398151915281565b6103ea610d8f565b6103ea6104c0366004613421565b610dd4565b6103ea6104d336600461347e565b610e28565b6103ad610fe3565b61036d610ff5565b61047d6104f636600461349a565b6110a9565b6001546001600160a01b03166103ad565b61032461051a366004613533565b611100565b61032461115a565b6103ea610535366004613550565b611175565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166103ad565b61047d61057836600461356b565b611282565b6103ea61058b366004613550565b611302565b600161036d565b6103ad611384565b61036d6105ad366004613550565b6114b5565b6105ba61157a565b6040516001600160e01b03199091168152602001610338565b6105db6115af565b604051610338919061359c565b6103ea6115d4565b6104265f80516020613ec583398151915281565b610324610612366004613550565b611672565b6105db6116b4565b6103ea61062d36600461367b565b6116c4565b6103ea610640366004613129565b611712565b6103ea6106533660046136ae565b61175e565b6103ad611805565b61042661066e3660046136d8565b611820565b5f80516020613f45833981519152546001600160a01b03166103ad565b6103ea61069e366004613550565b611834565b6106b66106b136600461356b565b611bbc565b6040805192835260ff909116602083015201610338565b6103ea6106db3660046136f4565b611c76565b6104265f80516020613ee583398151915281565b6104265f80516020613f2583398151915281565b6103ea610716366004613732565b611d1e565b6103ea6107293660046136d8565b611d94565b6103ea611d9d565b6103ea61074436600461375e565b611e11565b5f6107526115af565b60200151905090565b5f610768335b5f36611f10565b610771336114b5565b6107955760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826107a86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156107f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108199190613868565b6001600160a01b0316336001600160a01b03161461084c5760405163086391f760e31b815233600482015260240161078c565b610856848461200e565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610910573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610934919061388e565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161097c611384565b6001600160a01b03168152602001826001018054610999906138a9565b80601f01602080910402602001604051908101604052809291908181526020018280546109c5906138a9565b8015610a105780601f106109e757610100808354040283529160200191610a10565b820191905f5260205f20905b8154815290600101906020018083116109f357829003601f168201915b505050505081525091505090565b5f610a276115af565b60800151905090565b5f610a3a3061209a565b905090565b6060610a496115af565b51919050565b610a57611384565b6001600160a01b0316336001600160a01b031614610a8a5760405163086391f760e31b815233600482015260240161078c565b5f80516020613f25833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610ada575f80fd5b505af1158015610aec573d5f803e3d5ffd5b50505050610afa5f1961228e565b565b5f610b05611384565b6001600160a01b0316336001600160a01b031614610b385760405163086391f760e31b815233600482015260240161078c565b610b4133610761565b610b4a8261230c565b90505b919050565b610b5a612390565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610b876115af565b60400151905090565b5f610ba36001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0b919061388e565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3a91906138ec565b610c8e612390565b610c988287611d1e565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610d21838261394b565b5050505050505050565b5f610d34611384565b6001600160a01b0316336001600160a01b031614610d675760405163086391f760e31b815233600482015260240161078c565b610d7033610761565b610d818a8a8a8a8a8a8a8a8a6123de565b9a9950505050505050505050565b610d97612390565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610ddc611384565b6001600160a01b0316336001600160a01b031614610e0f5760405163086391f760e31b815233600482015260240161078c565b610e1833610761565b610e2383838361249d565b505050565b610e30611384565b6001600160a01b0316336001600160a01b031614610e635760405163086391f760e31b815233600482015260240161078c565b30610e6c610a1e565b6001600160a01b031614610e935760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610ebc610fe3565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610efc610fe3565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610f52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f769190613a05565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610fbf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2391906138ec565b5f610fec6115af565b60600151905090565b5f610ffe610b90565b15611079576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611052573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fec9190810190613a76565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f6110b3336114b5565b6110d25760405163637c41bb60e01b815233600482015260240161078c565b6110db33610761565b5f6110e533611672565b90506110f58188888888886124b4565b979650505050505050565b5f611109611384565b6001600160a01b0316336001600160a01b03161461113c5760405163086391f760e31b815233600482015260240161078c565b61114533610761565b61115084848461256a565b90505b9392505050565b5f80516020613ec5833981519152546001600160601b031690565b61117d612390565b806001600160a01b03163b5f036111b25760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561122c575060408051601f3d908101601f19168201909252611229918101906138ec565b60015b6112545760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078c565b8061127d5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161078c565b505b50565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd66112a561115a565b846040518363ffffffff1660e01b81526004016112c3929190613b46565b602060405180830381865af41580156112de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a9190613b67565b3361130b611805565b6001600160a01b0316816001600160a01b0316146113465760405162d1953b60e31b81526001600160a01b038216600482015260240161078c565b816001600160a01b03163b5f0361137b576040516361798f2f60e11b81526001600160a01b038316600482015260240161078c565b61127d8261272e565b5f805f80516020613ec583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156113f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141491906138ec565b1561149f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611475573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114999190613868565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613f258339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611556573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115391906138ec565b5f80516020613f0583398151915280545f9190600160a01b900460ff166115a1575f611499565b638fb3603760e01b91505090565b6115b7612f8a565b6115bf610b90565b156115cc57610a3a61278e565b610a3a6116b4565b6115dc611384565b6001600160a01b0316336001600160a01b03161461160f5760405163086391f760e31b815233600482015260240161078c565b611619600a612955565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561165a575f80fd5b505af115801561166c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6116bc612f8a565b610a3a61278e565b6116cc611384565b6001600160a01b0316336001600160a01b0316146116ff5760405163086391f760e31b815233600482015260240161078c565b61170833610761565b61127d8282612a56565b61171a611384565b6001600160a01b0316336001600160a01b03161461174d5760405163086391f760e31b815233600482015260240161078c565b61127f611758610b7e565b82610e28565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c99190613868565b6001600160a01b0316336001600160a01b0316146117fb5760405162f0630960e01b815233600482015260240161078c565b61127d828261127d565b5f80516020613f05833981519152546001600160a01b031690565b5f61182b8282613b82565b90505b92915050565b61183c611384565b6001600160a01b0316336001600160a01b03161461186f5760405163086391f760e31b815233600482015260240161078c565b5f611878610a1e565b90505f611883610b7e565b6040516370a0823160e01b81526001600160a01b0384811660048301529192505f918316906370a0823190602401602060405180830381865afa1580156118cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f09190613a05565b905080156119d4576001600160a01b03831630146119d4575f826001600160a01b031663dd62ed3e85611921610fe3565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa15801561196a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198e9190613a05565b9050818110156119d2576040516372c963b360e11b81526001600160a01b03808616600483015286166024820152604481018290526064810183905260840161078c565b505b6119dd84612abd565b801561166c57604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b03841603611ac557816001600160a01b031663095ea7b3611a55610fe3565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015611a9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac391906138ec565b505b611acd610fe3565b6001600160a01b031663c661667d848673__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b8152600401611b1691815260200190565b602060405180830381865af4158015611b31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b55919061388e565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611baa575f80fd5b505af1158015610d21573d5f803e3d5ffd5b5f805f611bc884611282565b9050611bfb7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611c48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c6c9190613ba5565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce19190613868565b6001600160a01b0316336001600160a01b031614611d135760405162f0630960e01b815233600482015260240161078c565b610e23838383612b56565b611d26612390565b611d2f81611175565b611d37610d8f565b6001600160a01b038216611d5e5760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613ec583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61127d33610761565b611da5611384565b6001600160a01b0316336001600160a01b031614611dd85760405163086391f760e31b815233600482015260240161078c565b611de2600a612955565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611643565b611e19612390565b611e27898987878787610c86565b611e308a612cfc565b6001600160a01b038616611e57576040516327eab2e360e11b815260040160405180910390fd5b86515f03611e785760405163591eebf360e11b815260040160405180910390fd5b5f80516020613ee583398151915280611e91898261394b565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101611ee2838261394b565b50611ef3634a531f3360e01b610b52565b611f03632986755f60e11b610b52565b5050505050505050505050565b5f80516020613f058339815191525f80611f48611f2b611805565b8730611f3a60045f8a8c613bc9565b611f4391613bf0565b612d0d565b91509150816120065763ffffffff811615611fe357825460ff60a01b1916600160a01b178355611f76611805565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611fa593929190613c26565b5f604051808303815f87803b158015611fbc575f80fd5b505af1158015611fce573d5f803e3d5ffd5b5050845460ff60a01b19168555506120069050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161078c565b505050505050565b5f5f80516020613f25833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015612076573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061182b919061388e565b5f805f80516020613ec583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612106573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212a91906138ec565b156121565780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161078c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156121a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121cc91906138ec565b6121f45760405163b9304b0d60e01b81526001600160a01b038416600482015260240161078c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612246573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061226a919061388e565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f80516020613ee5833981519152906001600160a01b031663095ea7b36122d56115af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610fa3565b5f5f80516020613f45833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561236c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a919061388e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610afa57604051631afcd79f60e31b815260040160405180910390fd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613f25833981519152916001600160a01b0390911690632b5198b19061244e908e908e908e908e908e908e908e908e908e90600401613c65565b6020604051808303815f875af115801561246a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248e9190613b67565b9b9a5050505050505050505050565b5f5f80516020613f258339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613f25833981519152916001600160a01b0390911690638dd2b7819061251e908b908b908b908b908b908b90600401613cd6565b6020604051808303815f875af115801561253a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255e9190613b67565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613f258339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561260b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061262f91906138ec565b1561267a576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161078c565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906126b090889088908890600401613d35565b6020604051808303815f875af11580156126cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f0919061388e565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613f0583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612796612f8a565b5f6127a96001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156127ed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612811919061388e565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561286a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061288e91906138ec565b1561294d577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36128cb61115a565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561290c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129339190810190613d68565b60808101519092506001600160a01b03161561294d575090565b611499612e15565b5f805f80516020613f458339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156129ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129cf9190613e40565b90506129e36001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612a32573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111539190613868565b5f80516020613f2583398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee90612a949085908590600401613e5b565b5f604051808303815f87803b158015612aab575f80fd5b505af1158015612006573d5f803e3d5ffd5b612ac5611384565b6001600160a01b0316336001600160a01b031614612af85760405163086391f760e31b815233600482015260240161078c565b612b02600b612955565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612b44575f80fd5b505af11580156124ad573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613f25833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612bef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c13919061388e565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612c99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cbd919061388e565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612d04612390565b61127f81612f79565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612d7b9190613e81565b5f60405180830381855afa9150503d805f8114612db3576040519150601f19603f3d011682016040523d82523d5f602084013e612db8565b606091505b50915091508115612e0a576040815110612dea5780806020019051810190612de09190613e97565b9094509250612e0a565b6020815110612e0a5780806020019051810190612e0791906138ec565b93505b505094509492505050565b612e1d612f8a565b5f5f80516020613ee583398151915290506040518060c00160405280825f018054612e47906138a9565b80601f0160208091040260200160405190810160405280929190818152602001828054612e73906138a9565b8015612ebe5780601f10612e9557610100808354040283529160200191612ebe565b820191905f5260205f20905b815481529060010190602001808311612ea157829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612f0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f33919061388e565b6001600160601b0316815260018301546001600160a01b0390811660208301525f60408301526002840154166060820152600383018054608090920191610999906138a9565b612f81612390565b61127f8161272e565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612ff0575f80fd5b81356001600160e01b031981168114611153575f80fd5b6001600160601b038116811461127f575f80fd5b8035610b4d81613007565b5f8060408385031215613037575f80fd5b823561304281613007565b9150602083013561305281613007565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516130d3608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261085661010084018261305d565b602081525f61182b602083018461305d565b5f60208284031215613139575f80fd5b813561115381613007565b6001600160a01b038116811461127f575f80fd5b8035610b4d81613144565b60ff8116811461127f575f80fd5b8035610b4d81613163565b801515811461127f575f80fd5b8035610b4d8161317c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156131ca576131ca613194565b60405290565b60405160c081016001600160401b03811182821017156131ca576131ca613194565b604051601f8201601f191681016001600160401b038111828210171561321a5761321a613194565b604052919050565b5f6001600160401b0382111561323a5761323a613194565b50601f01601f191660200190565b5f82601f830112613257575f80fd5b8135602083015f61326f61326a84613222565b6131f2565b9050828152858383011115613282575f80fd5b828260208301375f92810160200192909252509392505050565b5f805f805f8060c087890312156132b1575f80fd5b86356132bc81613144565b955060208701356132cc81613007565b945060408701356132dc81613163565b935060608701356132ec8161317c565b925060808701356132fc81613144565b915060a08701356001600160401b03811115613316575f80fd5b61332289828a01613248565b9150509295509295509295565b63ffffffff8116811461127f575f80fd5b8035610b4d8161332f565b5f805f805f805f805f6101208a8c031215613364575f80fd5b89356001600160401b03811115613379575f80fd5b6133858c828d01613248565b99505060208a0135975060408a0135965060608a0135955060808a01356133ab8161332f565b94506133b960a08b01613340565b93506133c760c08b01613189565b92506133d560e08b01613189565b91506101008a01356001600160401b038111156133f0575f80fd5b6133fc8c828d01613248565b9150509295985092959850929598565b6001600160c01b03198116811461127f575f80fd5b5f805f60608486031215613433575f80fd5b833561343e81613007565b9250602084013561344e8161340c565b915060408401356001600160401b03811115613468575f80fd5b61347486828701613248565b9150509250925092565b5f806040838503121561348f575f80fd5b823561304281613144565b5f805f805f60a086880312156134ae575f80fd5b85356001600160401b038111156134c3575f80fd5b6134cf88828901613248565b9550506020860135935060408601356134e78161332f565b9250606086013564ffffffffff81168114613500575f80fd5b915060808601356001600160401b0381111561351a575f80fd5b61352688828901613248565b9150509295509295909350565b5f805f60608486031215613545575f80fd5b833561343e81613144565b5f60208284031215613560575f80fd5b813561115381613144565b5f6020828403121561357b575f80fd5b81356001600160401b03811115613590575f80fd5b61085684828501613248565b602081525f825160c060208401526135b760e084018261305d565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161360a60a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152613626828261305d565b95945050505050565b5f6040828403121561363f575f80fd5b604080519081016001600160401b038111828210171561366157613661613194565b604052823581526020928301359281019290925250919050565b5f806080838503121561368c575f80fd5b613696848461362f565b91506136a5846040850161362f565b90509250929050565b5f80604083850312156136bf575f80fd5b82356136ca81613144565b946020939093013593505050565b5f80604083850312156136e9575f80fd5b82356136ca8161340c565b5f805f60608486031215613706575f80fd5b833561371181613144565b9250602084013561372181613144565b929592945050506040919091013590565b5f8060408385031215613743575f80fd5b823561374e81613144565b9150602083013561305281613144565b5f805f805f805f805f806101408b8d031215613778575f80fd5b6137818b613158565b995061378f60208c01613158565b985061379d60408c0161301b565b975060608b01356001600160401b038111156137b7575f80fd5b6137c38d828e01613248565b9750506137d260808c01613158565b95506137e060a08c01613171565b94506137ee60c08c01613189565b93506137fc60e08c01613158565b92506101008b01356001600160401b03811115613817575f80fd5b6138238d828e01613248565b9250506101208b01356001600160401b0381111561383f575f80fd5b61384b8d828e01613248565b9150509295989b9194979a5092959850565b8051610b4d81613144565b5f60208284031215613878575f80fd5b815161115381613144565b8051610b4d81613007565b5f6020828403121561389e575f80fd5b815161115381613007565b600181811c908216806138bd57607f821691505b6020821081036138db57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b4d8161317c565b5f602082840312156138fc575f80fd5b81516111538161317c565b601f821115610e2357805f5260205f20601f840160051c8101602085101561392c5750805b601f840160051c820191505b818110156124ad575f8155600101613938565b81516001600160401b0381111561396457613964613194565b6139788161397284546138a9565b84613907565b6020601f8211600181146139aa575f83156139935750848201515b5f19600385901b1c1916600184901b1784556124ad565b5f84815260208120601f198516915b828110156139d957878501518255602094850194600190920191016139b9565b50848210156139f657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215613a15575f80fd5b5051919050565b8051610b4d81613163565b5f82601f830112613a36575f80fd5b8151602083015f613a4961326a84613222565b9050828152858383011115613a5c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613a86575f80fd5b81516001600160401b03811115613a9b575f80fd5b820160e08185031215613aac575f80fd5b613ab46131a8565b613abd82613883565b8152613acb60208301613883565b6020820152613adc60408301613a1c565b6040820152613aed606083016138e1565b6060820152613afe6080830161385d565b6080820152613b0f60a0830161385d565b60a082015260c08201516001600160401b03811115613b2c575f80fd5b613b3886828501613a27565b60c083015250949350505050565b6001600160601b0383168152604060208201525f611150604083018461305d565b5f60208284031215613b77575f80fd5b81516111538161340c565b808202811582820484141761182e57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613bb6575f80fd5b8251602084015190925061305281613163565b5f8085851115613bd7575f80fd5b83861115613be3575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610859576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613c7961012083018c61305d565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613cc6818561305d565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613cf760c083018861305d565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613d28818561305d565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906136269083018461305d565b5f60208284031215613d78575f80fd5b81516001600160401b03811115613d8d575f80fd5b820160c08185031215613d9e575f80fd5b613da66131d0565b81516001600160401b03811115613dbb575f80fd5b613dc786828501613a27565b825250613dd660208301613883565b6020820152613de76040830161385d565b6040820152613df86060830161385d565b6060820152613e096080830161385d565b608082015260a08201516001600160401b03811115613e26575f80fd5b613e3286828501613a27565b60a083015250949350505050565b5f60208284031215613e50575f80fd5b815161115381613163565b825181526020808401518183015282516040830152820151606082015260808101611153565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613ea8575f80fd5b8251613eb38161317c565b60208401519092506130528161332f56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212209bc34e8305711ce38b4c67b77032b1695cb138101a2bc1302df778a85a85fa1864736f6c634300081a0033",
1385
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610318575f3560e01c80636bd1c0eb116101af578063bae99c99116100fe578063e7f7fb861161009e578063f7c34ee011610079578063f7c34ee014610708578063f80e20721461071b578063f83d08ba1461072e578063f8bf0d9f14610736575f80fd5b8063e7f7fb86146106cd578063ea15869f146106e0578063f5860e1a146106f4575f80fd5b8063d16d0fe8116100d9578063d16d0fe814610660578063de7b5d1414610673578063deaa59df14610690578063e145d46c146106a3575f80fd5b8063bae99c9914610632578063bb1e0e5914610645578063bf7e214f14610658575f80fd5b80638fb3603711610169578063ada9652e11610144578063ada9652e146105f0578063b2a6b42d14610604578063b423086c14610617578063b6b412ba1461061f575f80fd5b80638fb36037146105b257806390edbd35146105d3578063a69df4b5146105e8575f80fd5b80636bd1c0eb1461053a5780637427d7a81461056a5780637a9e5e4b1461057d57806387ef9ba014610590578063893d20e8146105975780638f0c86fa1461059f575f80fd5b806327bb7a331161026b57806343d752d3116102255780635ab1bd53116102005780635ab1bd53146104fb5780635dcb3bae1461050c578063644c45e01461051f578063675393bf14610527575f80fd5b806343d752d3146104d85780635741e5e9146104e057806359660bea146104e8575f80fd5b806327bb7a33146104575780632b5198b11461046a5780632eb3e6f41461049657806336fc697e146104aa5780633d683fd9146104b2578063419197fe146104c5575f80fd5b806317d7de7c116102d65780631eff4b22116102b15780631eff4b22146103ff578063214cdb801461043457806321df0da714610447578063223668441461044f575f80fd5b806317d7de7c146103cd5780631aa3a008146103e25780631c6b2190146103ec575f80fd5b806251884a1461031c57806301ffc9a71461034157806307e71a6e1461037d5780630fec111c1461039057806313299604146103a5578063138461e0146103c5575b5f80fd5b610324610749565b6040516001600160601b0390911681526020015b60405180910390f35b61036d61034f366004612fe0565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610338565b61032461038b366004613026565b61075b565b610398610860565b604051610338919061308b565b6103ad610a1e565b6040516001600160a01b039091168152602001610338565b610324610a30565b6103d5610a3f565b6040516103389190613117565b6103ea610a4f565b005b6103246103fa366004613129565b610afc565b6104267f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610338565b6103ea610442366004612fe0565b610b52565b6103ad610b7e565b61036d610b90565b6103ea61046536600461329c565b610c86565b61047d61047836600461334b565b610d2b565b6040516001600160c01b03199091168152602001610338565b6104265f80516020613f4583398151915281565b6103ea610d8f565b6103ea6104c0366004613421565b610dd4565b6103ea6104d336600461347e565b610e28565b6103ad610fe3565b61036d610ff5565b61047d6104f636600461349a565b6110a9565b6001546001600160a01b03166103ad565b61032461051a366004613533565b611100565b61032461115a565b6103ea610535366004613550565b611175565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166103ad565b61047d61057836600461356b565b611282565b6103ea61058b366004613550565b611302565b600161036d565b6103ad611384565b61036d6105ad366004613550565b6114b5565b6105ba61157a565b6040516001600160e01b03199091168152602001610338565b6105db6115af565b604051610338919061359c565b6103ea6115d4565b6104265f80516020613ec583398151915281565b610324610612366004613550565b611672565b6105db6116b4565b6103ea61062d36600461367b565b6116c4565b6103ea610640366004613129565b611712565b6103ea6106533660046136ae565b61175e565b6103ad611805565b61042661066e3660046136d8565b611820565b5f80516020613f45833981519152546001600160a01b03166103ad565b6103ea61069e366004613550565b611834565b6106b66106b136600461356b565b611bbc565b6040805192835260ff909116602083015201610338565b6103ea6106db3660046136f4565b611c76565b6104265f80516020613ee583398151915281565b6104265f80516020613f2583398151915281565b6103ea610716366004613732565b611d1e565b6103ea6107293660046136d8565b611d94565b6103ea611d9d565b6103ea61074436600461375e565b611e11565b5f6107526115af565b60200151905090565b5f610768335b5f36611f10565b610771336114b5565b6107955760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826107a86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156107f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108199190613868565b6001600160a01b0316336001600160a01b03161461084c5760405163086391f760e31b815233600482015260240161078c565b610856848461200e565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610910573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610934919061388e565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161097c611384565b6001600160a01b03168152602001826001018054610999906138a9565b80601f01602080910402602001604051908101604052809291908181526020018280546109c5906138a9565b8015610a105780601f106109e757610100808354040283529160200191610a10565b820191905f5260205f20905b8154815290600101906020018083116109f357829003601f168201915b505050505081525091505090565b5f610a276115af565b60800151905090565b5f610a3a3061209a565b905090565b6060610a496115af565b51919050565b610a57611384565b6001600160a01b0316336001600160a01b031614610a8a5760405163086391f760e31b815233600482015260240161078c565b5f80516020613f25833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610ada575f80fd5b505af1158015610aec573d5f803e3d5ffd5b50505050610afa5f1961228e565b565b5f610b05611384565b6001600160a01b0316336001600160a01b031614610b385760405163086391f760e31b815233600482015260240161078c565b610b4133610761565b610b4a8261230c565b90505b919050565b610b5a612390565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610b876115af565b60400151905090565b5f610ba36001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0b919061388e565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3a91906138ec565b610c8e612390565b610c988287611d1e565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610d21838261394b565b5050505050505050565b5f610d34611384565b6001600160a01b0316336001600160a01b031614610d675760405163086391f760e31b815233600482015260240161078c565b610d7033610761565b610d818a8a8a8a8a8a8a8a8a6123de565b9a9950505050505050505050565b610d97612390565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610ddc611384565b6001600160a01b0316336001600160a01b031614610e0f5760405163086391f760e31b815233600482015260240161078c565b610e1833610761565b610e2383838361249d565b505050565b610e30611384565b6001600160a01b0316336001600160a01b031614610e635760405163086391f760e31b815233600482015260240161078c565b30610e6c610a1e565b6001600160a01b031614610e935760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610ebc610fe3565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610efc610fe3565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610f52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f769190613a05565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610fbf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2391906138ec565b5f610fec6115af565b60600151905090565b5f610ffe610b90565b15611079576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611052573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fec9190810190613a76565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f6110b3336114b5565b6110d25760405163637c41bb60e01b815233600482015260240161078c565b6110db33610761565b5f6110e533611672565b90506110f58188888888886124b4565b979650505050505050565b5f611109611384565b6001600160a01b0316336001600160a01b03161461113c5760405163086391f760e31b815233600482015260240161078c565b61114533610761565b61115084848461256a565b90505b9392505050565b5f80516020613ec5833981519152546001600160601b031690565b61117d612390565b806001600160a01b03163b5f036111b25760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561122c575060408051601f3d908101601f19168201909252611229918101906138ec565b60015b6112545760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078c565b8061127d5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161078c565b505b50565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd66112a561115a565b846040518363ffffffff1660e01b81526004016112c3929190613b46565b602060405180830381865af41580156112de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a9190613b67565b3361130b611805565b6001600160a01b0316816001600160a01b0316146113465760405162d1953b60e31b81526001600160a01b038216600482015260240161078c565b816001600160a01b03163b5f0361137b576040516361798f2f60e11b81526001600160a01b038316600482015260240161078c565b61127d8261272e565b5f805f80516020613ec583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156113f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141491906138ec565b1561149f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611475573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114999190613868565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613f258339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611556573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115391906138ec565b5f80516020613f0583398151915280545f9190600160a01b900460ff166115a1575f611499565b638fb3603760e01b91505090565b6115b7612f8a565b6115bf610b90565b156115cc57610a3a61278e565b610a3a6116b4565b6115dc611384565b6001600160a01b0316336001600160a01b03161461160f5760405163086391f760e31b815233600482015260240161078c565b611619600a612955565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561165a575f80fd5b505af115801561166c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6116bc612f8a565b610a3a61278e565b6116cc611384565b6001600160a01b0316336001600160a01b0316146116ff5760405163086391f760e31b815233600482015260240161078c565b61170833610761565b61127d8282612a56565b61171a611384565b6001600160a01b0316336001600160a01b03161461174d5760405163086391f760e31b815233600482015260240161078c565b61127f611758610b7e565b82610e28565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c99190613868565b6001600160a01b0316336001600160a01b0316146117fb5760405162f0630960e01b815233600482015260240161078c565b61127d828261127d565b5f80516020613f05833981519152546001600160a01b031690565b5f61182b8282613b82565b90505b92915050565b61183c611384565b6001600160a01b0316336001600160a01b03161461186f5760405163086391f760e31b815233600482015260240161078c565b5f611878610a1e565b90505f611883610b7e565b6040516370a0823160e01b81526001600160a01b0384811660048301529192505f918316906370a0823190602401602060405180830381865afa1580156118cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f09190613a05565b905080156119d4576001600160a01b03831630146119d4575f826001600160a01b031663dd62ed3e85611921610fe3565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa15801561196a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198e9190613a05565b9050818110156119d2576040516372c963b360e11b81526001600160a01b03808616600483015286166024820152604481018290526064810183905260840161078c565b505b6119dd84612abd565b801561166c57604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b03841603611ac557816001600160a01b031663095ea7b3611a55610fe3565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015611a9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac391906138ec565b505b611acd610fe3565b6001600160a01b031663c661667d848673__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b8152600401611b1691815260200190565b602060405180830381865af4158015611b31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b55919061388e565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611baa575f80fd5b505af1158015610d21573d5f803e3d5ffd5b5f805f611bc884611282565b9050611bfb7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611c48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c6c9190613ba5565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce19190613868565b6001600160a01b0316336001600160a01b031614611d135760405162f0630960e01b815233600482015260240161078c565b610e23838383612b56565b611d26612390565b611d2f81611175565b611d37610d8f565b6001600160a01b038216611d5e5760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613ec583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61127d33610761565b611da5611384565b6001600160a01b0316336001600160a01b031614611dd85760405163086391f760e31b815233600482015260240161078c565b611de2600a612955565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611643565b611e19612390565b611e27898987878787610c86565b611e308a612cfc565b6001600160a01b038616611e57576040516327eab2e360e11b815260040160405180910390fd5b86515f03611e785760405163591eebf360e11b815260040160405180910390fd5b5f80516020613ee583398151915280611e91898261394b565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101611ee2838261394b565b50611ef3634a531f3360e01b610b52565b611f03632986755f60e11b610b52565b5050505050505050505050565b5f80516020613f058339815191525f80611f48611f2b611805565b8730611f3a60045f8a8c613bc9565b611f4391613bf0565b612d0d565b91509150816120065763ffffffff811615611fe357825460ff60a01b1916600160a01b178355611f76611805565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611fa593929190613c26565b5f604051808303815f87803b158015611fbc575f80fd5b505af1158015611fce573d5f803e3d5ffd5b5050845460ff60a01b19168555506120069050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161078c565b505050505050565b5f5f80516020613f25833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015612076573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061182b919061388e565b5f805f80516020613ec583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612106573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212a91906138ec565b156121565780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161078c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156121a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121cc91906138ec565b6121f45760405163b9304b0d60e01b81526001600160a01b038416600482015260240161078c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612246573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061226a919061388e565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f80516020613ee5833981519152906001600160a01b031663095ea7b36122d56115af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610fa3565b5f5f80516020613f45833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561236c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a919061388e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610afa57604051631afcd79f60e31b815260040160405180910390fd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613f25833981519152916001600160a01b0390911690632b5198b19061244e908e908e908e908e908e908e908e908e908e90600401613c65565b6020604051808303815f875af115801561246a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248e9190613b67565b9b9a5050505050505050505050565b5f5f80516020613f258339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613f25833981519152916001600160a01b0390911690638dd2b7819061251e908b908b908b908b908b908b90600401613cd6565b6020604051808303815f875af115801561253a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255e9190613b67565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613f258339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561260b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061262f91906138ec565b1561267a576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161078c565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906126b090889088908890600401613d35565b6020604051808303815f875af11580156126cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f0919061388e565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613f0583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612796612f8a565b5f6127a96001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156127ed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612811919061388e565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561286a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061288e91906138ec565b1561294d577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36128cb61115a565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561290c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129339190810190613d68565b60808101519092506001600160a01b03161561294d575090565b611499612e15565b5f805f80516020613f458339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156129ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129cf9190613e40565b90506129e36001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612a32573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111539190613868565b5f80516020613f2583398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee90612a949085908590600401613e5b565b5f604051808303815f87803b158015612aab575f80fd5b505af1158015612006573d5f803e3d5ffd5b612ac5611384565b6001600160a01b0316336001600160a01b031614612af85760405163086391f760e31b815233600482015260240161078c565b612b02600b612955565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612b44575f80fd5b505af11580156124ad573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613f25833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612bef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c13919061388e565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612c99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cbd919061388e565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612d04612390565b61127f81612f79565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612d7b9190613e81565b5f60405180830381855afa9150503d805f8114612db3576040519150601f19603f3d011682016040523d82523d5f602084013e612db8565b606091505b50915091508115612e0a576040815110612dea5780806020019051810190612de09190613e97565b9094509250612e0a565b6020815110612e0a5780806020019051810190612e0791906138ec565b93505b505094509492505050565b612e1d612f8a565b5f5f80516020613ee583398151915290506040518060c00160405280825f018054612e47906138a9565b80601f0160208091040260200160405190810160405280929190818152602001828054612e73906138a9565b8015612ebe5780601f10612e9557610100808354040283529160200191612ebe565b820191905f5260205f20905b815481529060010190602001808311612ea157829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612f0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f33919061388e565b6001600160601b0316815260018301546001600160a01b0390811660208301525f60408301526002840154166060820152600383018054608090920191610999906138a9565b612f81612390565b61127f8161272e565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612ff0575f80fd5b81356001600160e01b031981168114611153575f80fd5b6001600160601b038116811461127f575f80fd5b8035610b4d81613007565b5f8060408385031215613037575f80fd5b823561304281613007565b9150602083013561305281613007565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516130d3608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261085661010084018261305d565b602081525f61182b602083018461305d565b5f60208284031215613139575f80fd5b813561115381613007565b6001600160a01b038116811461127f575f80fd5b8035610b4d81613144565b60ff8116811461127f575f80fd5b8035610b4d81613163565b801515811461127f575f80fd5b8035610b4d8161317c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156131ca576131ca613194565b60405290565b60405160c081016001600160401b03811182821017156131ca576131ca613194565b604051601f8201601f191681016001600160401b038111828210171561321a5761321a613194565b604052919050565b5f6001600160401b0382111561323a5761323a613194565b50601f01601f191660200190565b5f82601f830112613257575f80fd5b8135602083015f61326f61326a84613222565b6131f2565b9050828152858383011115613282575f80fd5b828260208301375f92810160200192909252509392505050565b5f805f805f8060c087890312156132b1575f80fd5b86356132bc81613144565b955060208701356132cc81613007565b945060408701356132dc81613163565b935060608701356132ec8161317c565b925060808701356132fc81613144565b915060a08701356001600160401b03811115613316575f80fd5b61332289828a01613248565b9150509295509295509295565b63ffffffff8116811461127f575f80fd5b8035610b4d8161332f565b5f805f805f805f805f6101208a8c031215613364575f80fd5b89356001600160401b03811115613379575f80fd5b6133858c828d01613248565b99505060208a0135975060408a0135965060608a0135955060808a01356133ab8161332f565b94506133b960a08b01613340565b93506133c760c08b01613189565b92506133d560e08b01613189565b91506101008a01356001600160401b038111156133f0575f80fd5b6133fc8c828d01613248565b9150509295985092959850929598565b6001600160c01b03198116811461127f575f80fd5b5f805f60608486031215613433575f80fd5b833561343e81613007565b9250602084013561344e8161340c565b915060408401356001600160401b03811115613468575f80fd5b61347486828701613248565b9150509250925092565b5f806040838503121561348f575f80fd5b823561304281613144565b5f805f805f60a086880312156134ae575f80fd5b85356001600160401b038111156134c3575f80fd5b6134cf88828901613248565b9550506020860135935060408601356134e78161332f565b9250606086013564ffffffffff81168114613500575f80fd5b915060808601356001600160401b0381111561351a575f80fd5b61352688828901613248565b9150509295509295909350565b5f805f60608486031215613545575f80fd5b833561343e81613144565b5f60208284031215613560575f80fd5b813561115381613144565b5f6020828403121561357b575f80fd5b81356001600160401b03811115613590575f80fd5b61085684828501613248565b602081525f825160c060208401526135b760e084018261305d565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161360a60a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152613626828261305d565b95945050505050565b5f6040828403121561363f575f80fd5b604080519081016001600160401b038111828210171561366157613661613194565b604052823581526020928301359281019290925250919050565b5f806080838503121561368c575f80fd5b613696848461362f565b91506136a5846040850161362f565b90509250929050565b5f80604083850312156136bf575f80fd5b82356136ca81613144565b946020939093013593505050565b5f80604083850312156136e9575f80fd5b82356136ca8161340c565b5f805f60608486031215613706575f80fd5b833561371181613144565b9250602084013561372181613144565b929592945050506040919091013590565b5f8060408385031215613743575f80fd5b823561374e81613144565b9150602083013561305281613144565b5f805f805f805f805f806101408b8d031215613778575f80fd5b6137818b613158565b995061378f60208c01613158565b985061379d60408c0161301b565b975060608b01356001600160401b038111156137b7575f80fd5b6137c38d828e01613248565b9750506137d260808c01613158565b95506137e060a08c01613171565b94506137ee60c08c01613189565b93506137fc60e08c01613158565b92506101008b01356001600160401b03811115613817575f80fd5b6138238d828e01613248565b9250506101208b01356001600160401b0381111561383f575f80fd5b61384b8d828e01613248565b9150509295989b9194979a5092959850565b8051610b4d81613144565b5f60208284031215613878575f80fd5b815161115381613144565b8051610b4d81613007565b5f6020828403121561389e575f80fd5b815161115381613007565b600181811c908216806138bd57607f821691505b6020821081036138db57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b4d8161317c565b5f602082840312156138fc575f80fd5b81516111538161317c565b601f821115610e2357805f5260205f20601f840160051c8101602085101561392c5750805b601f840160051c820191505b818110156124ad575f8155600101613938565b81516001600160401b0381111561396457613964613194565b6139788161397284546138a9565b84613907565b6020601f8211600181146139aa575f83156139935750848201515b5f19600385901b1c1916600184901b1784556124ad565b5f84815260208120601f198516915b828110156139d957878501518255602094850194600190920191016139b9565b50848210156139f657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215613a15575f80fd5b5051919050565b8051610b4d81613163565b5f82601f830112613a36575f80fd5b8151602083015f613a4961326a84613222565b9050828152858383011115613a5c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613a86575f80fd5b81516001600160401b03811115613a9b575f80fd5b820160e08185031215613aac575f80fd5b613ab46131a8565b613abd82613883565b8152613acb60208301613883565b6020820152613adc60408301613a1c565b6040820152613aed606083016138e1565b6060820152613afe6080830161385d565b6080820152613b0f60a0830161385d565b60a082015260c08201516001600160401b03811115613b2c575f80fd5b613b3886828501613a27565b60c083015250949350505050565b6001600160601b0383168152604060208201525f611150604083018461305d565b5f60208284031215613b77575f80fd5b81516111538161340c565b808202811582820484141761182e57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613bb6575f80fd5b8251602084015190925061305281613163565b5f8085851115613bd7575f80fd5b83861115613be3575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610859576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613c7961012083018c61305d565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613cc6818561305d565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613cf760c083018861305d565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613d28818561305d565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906136269083018461305d565b5f60208284031215613d78575f80fd5b81516001600160401b03811115613d8d575f80fd5b820160c08185031215613d9e575f80fd5b613da66131d0565b81516001600160401b03811115613dbb575f80fd5b613dc786828501613a27565b825250613dd660208301613883565b6020820152613de76040830161385d565b6040820152613df86060830161385d565b6060820152613e096080830161385d565b608082015260a08201516001600160401b03811115613e26575f80fd5b613e3286828501613a27565b60a083015250949350505050565b5f60208284031215613e50575f80fd5b815161115381613163565b825181526020808401518183015282516040830152820151606082015260808101611153565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613ea8575f80fd5b8251613eb38161317c565b60208401519092506130528161332f56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212209bc34e8305711ce38b4c67b77032b1695cb138101a2bc1302df778a85a85fa1864736f6c634300081a0033",
1192
+ "bytecode": "0x6080604052348015600e575f80fd5b50612f5b8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610255575f3560e01c806376b707b711610140578063ada9652e116100bf578063d16d0fe811610084578063d16d0fe814610566578063de7b5d1414610579578063e145d46c146105a9578063ea15869f146105d3578063f5860e1a146105fa578063f80e20721461060e575f80fd5b8063ada9652e1461051c578063b2a6b42d14610530578063b423086c14610543578063b6b412ba1461054b578063bf7e214f1461055e575f80fd5b80638f0c86fa116101055780638f0c86fa146104ad5780638fb36037146104c057806390edbd35146104e1578063ab3fc75f146104f6578063ad12ad6014610509575f80fd5b806376b707b7146104695780637a9e5e4b1461048357806387ef9ba0146104965780638899278a1461049d578063893d20e8146104a5575f80fd5b80632b5198b1116101d757806359660bea1161019c57806359660bea146103e75780635ab1bd53146103fa5780635dcb3bae1461040b578063644c45e01461041e5780636bd1c0eb146104265780637427d7a814610456575f80fd5b80632b5198b11461036f5780632eb3e6f41461039b578063419197fe146103c257806343d752d3146103d75780635741e5e9146103df575f80fd5b806317d7de7c1161021d57806317d7de7c146103025780631c6b2190146103175780631eff4b221461032a57806321df0da71461035f5780632236684414610367575f80fd5b806301ffc9a71461025957806307e71a6e1461029a5780630fec111c146102c557806313299604146102da578063138461e0146102fa575b5f80fd5b6102856102673660046122d7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ad6102a8366004612315565b610621565b6040516001600160601b039091168152602001610291565b6102cd610725565b604051610291919061237a565b6102e26108e3565b6040516001600160a01b039091168152602001610291565b6102ad610950565b61030a61095a565b604051610291919061240e565b6102ad610325366004612420565b61096a565b6103517f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b6102e26109c0565b6102856109d2565b61038261037d366004612577565b610ac8565b6040516001600160c01b03199091168152602001610291565b6103517fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103d56103d036600461264c565b610b2c565b005b6102e2610b75565b610285610b87565b6103826103f5366004612668565b610c44565b6001546001600160a01b03166102e2565b6102ad610419366004612716565b610c9b565b6102ad610cf5565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e2565b610382610464366004612773565b610d10565b610471610d90565b60405160ff9091168152602001610291565b6103d56104913660046127a4565b610e04565b6001610285565b610351600381565b6102e2610e86565b6102856104bb3660046127a4565b610fb7565b6104c861107c565b6040516001600160e01b03199091168152602001610291565b6104e96110b1565b60405161029191906127bf565b6103d5610504366004612825565b6110d6565b6103d5610517366004612842565b611139565b6103515f80516020612ec683398151915281565b6102ad61053e3660046127a4565b6111e8565b6104e961122a565b6103d56105593660046128de565b61123a565b6102e2611288565b610351610574366004612911565b6112a3565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e2565b6105bc6105b7366004612773565b6112b7565b6040805192835260ff909116602083015201610291565b6103517fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103515f80516020612f0683398151915281565b6103d561061c366004612911565b611371565b5f61062e335b5f3661137a565b61063733610fb7565b61065b5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6106688282611478565b8461067b6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f29190612946565b6107115760405163086391f760e31b8152336004820152602401610652565b61071b868661152f565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f9919061296c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610841610e86565b6001600160a01b0316815260200182600101805461085e90612987565b80601f016020809104026020016040519081016040528092919081815260200182805461088a90612987565b80156108d55780601f106108ac576101008083540402835291602001916108d5565b820191905f5260205f20905b8154815290600101906020018083116108b857829003601f168201915b505050505081525091505090565b5f6108ec610b75565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610927573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094b91906129ca565b905090565b5f61094b306115bb565b60606109646110b1565b51919050565b5f610973610e86565b6001600160a01b0316336001600160a01b0316146109a65760405163086391f760e31b8152336004820152602401610652565b6109af33610627565b6109b8826117af565b90505b919050565b5f6109c96110b1565b60200151905090565b5f6109e56001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4d919061296c565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094b9190612946565b5f610ad1610e86565b6001600160a01b0316336001600160a01b031614610b045760405163086391f760e31b8152336004820152602401610652565b610b0d33610627565b610b1e8a8a8a8a8a8a8a8a8a611846565b9a9950505050505050505050565b610b34610e86565b6001600160a01b0316336001600160a01b031614610b675760405163086391f760e31b8152336004820152602401610652565b610b718282611905565b5050565b5f610b7e6110b1565b60400151905090565b5f610b906109d2565b15610c14576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610be4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c0b9190810190612a52565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610c4e33610fb7565b610c6d5760405163637c41bb60e01b8152336004820152602401610652565b610c7633610627565b5f610c80336111e8565b9050610c9081888888888861198a565b979650505050505050565b5f610ca4610e86565b6001600160a01b0316336001600160a01b031614610cd75760405163086391f760e31b8152336004820152602401610652565b610ce033610627565b610ceb848484611a40565b90505b9392505050565b5f80516020612ec6833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d33610cf5565b846040518363ffffffff1660e01b8152600401610d51929190612b22565b602060405180830381865af4158015610d6c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b89190612b43565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610de0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094b9190612b5e565b33610e0d611288565b6001600160a01b0316816001600160a01b031614610e485760405162d1953b60e31b81526001600160a01b0382166004820152602401610652565b816001600160a01b03163b5f03610e7d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610652565b610b7182611c04565b5f805f80516020612ec683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ef2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f169190612946565b15610fa1576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9b91906129ca565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f068339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611058573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190612946565b5f80516020612ee683398151915280545f9190600160a01b900460ff166110a3575f610f9b565b638fb3603760e01b91505090565b6110b961229f565b6110c16109d2565b156110ce5761094b611c64565b61094b61122a565b6110de610e86565b6001600160a01b0316336001600160a01b0316146111115760405163086391f760e31b8152336004820152602401610652565b82601d61111e8282611478565b61112733610627565b611132858585611e2b565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611180573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a491906129ca565b6001600160a01b0316336001600160a01b0316146111d65760405162f0630960e01b8152336004820152602401610652565b6111e284848484611ebe565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b61123261229f565b61094b611c64565b611242610e86565b6001600160a01b0316336001600160a01b0316146112755760405163086391f760e31b8152336004820152602401610652565b61127e33610627565b610b718282612067565b5f80516020612ee6833981519152546001600160a01b031690565b5f6112ae8282612b79565b90505b92915050565b5f805f6112c384610d10565b90506112f67fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611343573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113679190612b9c565b9250925050915091565b610b7133610627565b5f80516020612ee68339815191525f806113b2611395611288565b87306113a460045f8a8c612bbf565b6113ad91612be6565b6120a5565b91509150816114705763ffffffff81161561144d57825460ff60a01b1916600160a01b1783556113e0611288565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161140f93929190612c1e565b5f604051808303815f87803b158015611426575f80fd5b505af1158015611438573d5f803e3d5ffd5b5050845460ff60a01b19168555506114709050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610652565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156114da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114fe9190612946565b610b715760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610652565b5f5f80516020612f06833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611597573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ae919061296c565b5f805f80516020612ec683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061164b9190612946565b156116775780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610652565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156116c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ed9190612946565b6117155760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610652565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611767573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178b919061296c565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611822573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b8919061296c565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020612f06833981519152916001600160a01b0390911690632b5198b1906118b6908e908e908e908e908e908e908e908e908e90600401612c5d565b6020604051808303815f875af11580156118d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f69190612b43565b9b9a5050505050505050505050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b158015611978575f80fd5b505af1158015611470573d5f803e3d5ffd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020612f06833981519152916001600160a01b0390911690638dd2b781906119f4908b908b908b908b908b908b90600401612cce565b6020604051808303815f875af1158015611a10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a349190612b43565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f068339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b059190612946565b15611b50576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610652565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611b8690889088908890600401612d2d565b6020604051808303815f875af1158015611ba2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc6919061296c565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020612ee683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611c6c61229f565b5f611c7f6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611cc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce7919061296c565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d649190612946565b15611e23577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611da1610cf5565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611de2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e099190810190612d60565b60408101519092506001600160a01b031615611e23575090565b610f9b6121ad565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020612f06833981519152916001600160a01b03169063ab3fc75f90611e8b90879087908790600401612e29565b5f604051808303815f87803b158015611ea2575f80fd5b505af1158015611eb4573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020612f06833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7d919061296c565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612003573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612027919061296c565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020612f0683398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906119619085908590600401612e5c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121139190612e82565b5f60405180830381855afa9150503d805f811461214b576040519150601f19603f3d011682016040523d82523d5f602084013e612150565b606091505b509150915081156121a257604081511061218257808060200190518101906121789190612e98565b90945092506121a2565b60208151106121a2578080602001905181019061219f9190612946565b93505b505094509492505050565b6121b561229f565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546121f290612987565b80601f016020809104026020016040519081016040528092919081815260200182805461221e90612987565b80156122695780601f1061224057610100808354040283529160200191612269565b820191905f5260205f20905b81548152906001019060200180831161224c57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161085e90612987565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156122e7575f80fd5b81356001600160e01b031981168114610cee575f80fd5b6001600160601b0381168114612312575f80fd5b50565b5f8060408385031215612326575f80fd5b8235612331816122fe565b91506020830135612341816122fe565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516123c2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261240661010084018261234c565b949350505050565b602081525f6112ae602083018461234c565b5f60208284031215612430575f80fd5b8135610cee816122fe565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156124715761247161243b565b60405290565b604051608081016001600160401b03811182821017156124715761247161243b565b604051601f8201601f191681016001600160401b03811182821017156124c1576124c161243b565b604052919050565b5f6001600160401b038211156124e1576124e161243b565b50601f01601f191660200190565b5f82601f8301126124fe575f80fd5b8135602083015f612516612511846124c9565b612499565b9050828152858383011115612529575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114612312575f80fd5b80356109bb81612543565b8015158114612312575f80fd5b80356109bb8161255f565b5f805f805f805f805f6101208a8c031215612590575f80fd5b89356001600160401b038111156125a5575f80fd5b6125b18c828d016124ef565b99505060208a0135975060408a0135965060608a0135955060808a01356125d781612543565b94506125e560a08b01612554565b93506125f360c08b0161256c565b925061260160e08b0161256c565b91506101008a01356001600160401b0381111561261c575f80fd5b6126288c828d016124ef565b9150509295985092959850929598565b6001600160a01b0381168114612312575f80fd5b5f806040838503121561265d575f80fd5b823561233181612638565b5f805f805f60a0868803121561267c575f80fd5b85356001600160401b03811115612691575f80fd5b61269d888289016124ef565b9550506020860135935060408601356126b581612543565b9250606086013564ffffffffff811681146126ce575f80fd5b915060808601356001600160401b038111156126e8575f80fd5b6126f4888289016124ef565b9150509295509295909350565b6001600160c01b031981168114612312575f80fd5b5f805f60608486031215612728575f80fd5b833561273381612638565b9250602084013561274381612701565b915060408401356001600160401b0381111561275d575f80fd5b612769868287016124ef565b9150509250925092565b5f60208284031215612783575f80fd5b81356001600160401b03811115612798575f80fd5b612406848285016124ef565b5f602082840312156127b4575f80fd5b8135610cee81612638565b602081525f8251608060208401526127da60a084018261234c565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f1901608086015290915061281c828261234c565b95945050505050565b5f805f60608486031215612837575f80fd5b8335612733816122fe565b5f805f8060808587031215612855575f80fd5b843561286081612638565b9350602085013561287081612638565b925060408501359150606085013561288781612638565b939692955090935050565b5f604082840312156128a2575f80fd5b604080519081016001600160401b03811182821017156128c4576128c461243b565b604052823581526020928301359281019290925250919050565b5f80608083850312156128ef575f80fd5b6128f98484612892565b91506129088460408501612892565b90509250929050565b5f8060408385031215612922575f80fd5b823561292d81612701565b946020939093013593505050565b80516109bb8161255f565b5f60208284031215612956575f80fd5b8151610cee8161255f565b80516109bb816122fe565b5f6020828403121561297c575f80fd5b8151610cee816122fe565b600181811c9082168061299b57607f821691505b6020821081036129b957634e487b7160e01b5f52602260045260245ffd5b50919050565b80516109bb81612638565b5f602082840312156129da575f80fd5b8151610cee81612638565b60ff81168114612312575f80fd5b80516109bb816129e5565b5f612a0b612511846124c9565b9050828152838383011115612a1e575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a43575f80fd5b6112ae838351602085016129fe565b5f60208284031215612a62575f80fd5b81516001600160401b03811115612a77575f80fd5b820160e08185031215612a88575f80fd5b612a9061244f565b612a9982612961565b8152612aa760208301612961565b6020820152612ab8604083016129f3565b6040820152612ac96060830161293b565b6060820152612ada608083016129bf565b6080820152612aeb60a083016129bf565b60a082015260c08201516001600160401b03811115612b08575f80fd5b612b1486828501612a34565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610ceb604083018461234c565b5f60208284031215612b53575f80fd5b8151610cee81612701565b5f60208284031215612b6e575f80fd5b8151610cee816129e5565b80820281158282048414176112b157634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612bad575f80fd5b825191506020830151612341816129e5565b5f8085851115612bcd575f80fd5b83861115612bd9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612c17576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612c7161012083018c61234c565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152612cbe818561234c565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612cef60c083018861234c565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612d20818561234c565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061281c9083018461234c565b5f60208284031215612d70575f80fd5b81516001600160401b03811115612d85575f80fd5b820160808185031215612d96575f80fd5b612d9e612477565b81516001600160401b03811115612db3575f80fd5b8201601f81018613612dc3575f80fd5b612dd2868251602084016129fe565b825250612de1602083016129bf565b6020820152612df2604083016129bf565b604082015260608201516001600160401b03811115612e0f575f80fd5b612e1b86828501612a34565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f61281c606083018461234c565b825181526020808401518183015282516040830152820151606082015260808101610cee565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612ea9575f80fd5b8251612eb48161255f565b60208401519092506123418161254356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212204403272de26514a5a7c4ac4bde4c426e1ccbc468553e661b932ef7b337780c4f64736f6c634300081a0033",
1193
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610255575f3560e01c806376b707b711610140578063ada9652e116100bf578063d16d0fe811610084578063d16d0fe814610566578063de7b5d1414610579578063e145d46c146105a9578063ea15869f146105d3578063f5860e1a146105fa578063f80e20721461060e575f80fd5b8063ada9652e1461051c578063b2a6b42d14610530578063b423086c14610543578063b6b412ba1461054b578063bf7e214f1461055e575f80fd5b80638f0c86fa116101055780638f0c86fa146104ad5780638fb36037146104c057806390edbd35146104e1578063ab3fc75f146104f6578063ad12ad6014610509575f80fd5b806376b707b7146104695780637a9e5e4b1461048357806387ef9ba0146104965780638899278a1461049d578063893d20e8146104a5575f80fd5b80632b5198b1116101d757806359660bea1161019c57806359660bea146103e75780635ab1bd53146103fa5780635dcb3bae1461040b578063644c45e01461041e5780636bd1c0eb146104265780637427d7a814610456575f80fd5b80632b5198b11461036f5780632eb3e6f41461039b578063419197fe146103c257806343d752d3146103d75780635741e5e9146103df575f80fd5b806317d7de7c1161021d57806317d7de7c146103025780631c6b2190146103175780631eff4b221461032a57806321df0da71461035f5780632236684414610367575f80fd5b806301ffc9a71461025957806307e71a6e1461029a5780630fec111c146102c557806313299604146102da578063138461e0146102fa575b5f80fd5b6102856102673660046122d7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ad6102a8366004612315565b610621565b6040516001600160601b039091168152602001610291565b6102cd610725565b604051610291919061237a565b6102e26108e3565b6040516001600160a01b039091168152602001610291565b6102ad610950565b61030a61095a565b604051610291919061240e565b6102ad610325366004612420565b61096a565b6103517f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b6102e26109c0565b6102856109d2565b61038261037d366004612577565b610ac8565b6040516001600160c01b03199091168152602001610291565b6103517fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103d56103d036600461264c565b610b2c565b005b6102e2610b75565b610285610b87565b6103826103f5366004612668565b610c44565b6001546001600160a01b03166102e2565b6102ad610419366004612716565b610c9b565b6102ad610cf5565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e2565b610382610464366004612773565b610d10565b610471610d90565b60405160ff9091168152602001610291565b6103d56104913660046127a4565b610e04565b6001610285565b610351600381565b6102e2610e86565b6102856104bb3660046127a4565b610fb7565b6104c861107c565b6040516001600160e01b03199091168152602001610291565b6104e96110b1565b60405161029191906127bf565b6103d5610504366004612825565b6110d6565b6103d5610517366004612842565b611139565b6103515f80516020612ec683398151915281565b6102ad61053e3660046127a4565b6111e8565b6104e961122a565b6103d56105593660046128de565b61123a565b6102e2611288565b610351610574366004612911565b6112a3565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e2565b6105bc6105b7366004612773565b6112b7565b6040805192835260ff909116602083015201610291565b6103517fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103515f80516020612f0683398151915281565b6103d561061c366004612911565b611371565b5f61062e335b5f3661137a565b61063733610fb7565b61065b5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6106688282611478565b8461067b6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f29190612946565b6107115760405163086391f760e31b8152336004820152602401610652565b61071b868661152f565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f9919061296c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610841610e86565b6001600160a01b0316815260200182600101805461085e90612987565b80601f016020809104026020016040519081016040528092919081815260200182805461088a90612987565b80156108d55780601f106108ac576101008083540402835291602001916108d5565b820191905f5260205f20905b8154815290600101906020018083116108b857829003601f168201915b505050505081525091505090565b5f6108ec610b75565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610927573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094b91906129ca565b905090565b5f61094b306115bb565b60606109646110b1565b51919050565b5f610973610e86565b6001600160a01b0316336001600160a01b0316146109a65760405163086391f760e31b8152336004820152602401610652565b6109af33610627565b6109b8826117af565b90505b919050565b5f6109c96110b1565b60200151905090565b5f6109e56001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4d919061296c565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094b9190612946565b5f610ad1610e86565b6001600160a01b0316336001600160a01b031614610b045760405163086391f760e31b8152336004820152602401610652565b610b0d33610627565b610b1e8a8a8a8a8a8a8a8a8a611846565b9a9950505050505050505050565b610b34610e86565b6001600160a01b0316336001600160a01b031614610b675760405163086391f760e31b8152336004820152602401610652565b610b718282611905565b5050565b5f610b7e6110b1565b60400151905090565b5f610b906109d2565b15610c14576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610be4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c0b9190810190612a52565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610c4e33610fb7565b610c6d5760405163637c41bb60e01b8152336004820152602401610652565b610c7633610627565b5f610c80336111e8565b9050610c9081888888888861198a565b979650505050505050565b5f610ca4610e86565b6001600160a01b0316336001600160a01b031614610cd75760405163086391f760e31b8152336004820152602401610652565b610ce033610627565b610ceb848484611a40565b90505b9392505050565b5f80516020612ec6833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d33610cf5565b846040518363ffffffff1660e01b8152600401610d51929190612b22565b602060405180830381865af4158015610d6c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b89190612b43565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610de0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094b9190612b5e565b33610e0d611288565b6001600160a01b0316816001600160a01b031614610e485760405162d1953b60e31b81526001600160a01b0382166004820152602401610652565b816001600160a01b03163b5f03610e7d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610652565b610b7182611c04565b5f805f80516020612ec683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ef2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f169190612946565b15610fa1576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9b91906129ca565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f068339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611058573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190612946565b5f80516020612ee683398151915280545f9190600160a01b900460ff166110a3575f610f9b565b638fb3603760e01b91505090565b6110b961229f565b6110c16109d2565b156110ce5761094b611c64565b61094b61122a565b6110de610e86565b6001600160a01b0316336001600160a01b0316146111115760405163086391f760e31b8152336004820152602401610652565b82601d61111e8282611478565b61112733610627565b611132858585611e2b565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611180573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a491906129ca565b6001600160a01b0316336001600160a01b0316146111d65760405162f0630960e01b8152336004820152602401610652565b6111e284848484611ebe565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b61123261229f565b61094b611c64565b611242610e86565b6001600160a01b0316336001600160a01b0316146112755760405163086391f760e31b8152336004820152602401610652565b61127e33610627565b610b718282612067565b5f80516020612ee6833981519152546001600160a01b031690565b5f6112ae8282612b79565b90505b92915050565b5f805f6112c384610d10565b90506112f67fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611343573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113679190612b9c565b9250925050915091565b610b7133610627565b5f80516020612ee68339815191525f806113b2611395611288565b87306113a460045f8a8c612bbf565b6113ad91612be6565b6120a5565b91509150816114705763ffffffff81161561144d57825460ff60a01b1916600160a01b1783556113e0611288565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161140f93929190612c1e565b5f604051808303815f87803b158015611426575f80fd5b505af1158015611438573d5f803e3d5ffd5b5050845460ff60a01b19168555506114709050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610652565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156114da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114fe9190612946565b610b715760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610652565b5f5f80516020612f06833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611597573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ae919061296c565b5f805f80516020612ec683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061164b9190612946565b156116775780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610652565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156116c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ed9190612946565b6117155760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610652565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611767573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178b919061296c565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611822573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b8919061296c565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020612f06833981519152916001600160a01b0390911690632b5198b1906118b6908e908e908e908e908e908e908e908e908e90600401612c5d565b6020604051808303815f875af11580156118d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f69190612b43565b9b9a5050505050505050505050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b158015611978575f80fd5b505af1158015611470573d5f803e3d5ffd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020612f06833981519152916001600160a01b0390911690638dd2b781906119f4908b908b908b908b908b908b90600401612cce565b6020604051808303815f875af1158015611a10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a349190612b43565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612f068339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b059190612946565b15611b50576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610652565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611b8690889088908890600401612d2d565b6020604051808303815f875af1158015611ba2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc6919061296c565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020612ee683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611c6c61229f565b5f611c7f6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611cc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce7919061296c565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d649190612946565b15611e23577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611da1610cf5565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611de2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e099190810190612d60565b60408101519092506001600160a01b031615611e23575090565b610f9b6121ad565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020612f06833981519152916001600160a01b03169063ab3fc75f90611e8b90879087908790600401612e29565b5f604051808303815f87803b158015611ea2575f80fd5b505af1158015611eb4573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020612f06833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611f59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7d919061296c565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612003573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612027919061296c565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020612f0683398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906119619085908590600401612e5c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121139190612e82565b5f60405180830381855afa9150503d805f811461214b576040519150601f19603f3d011682016040523d82523d5f602084013e612150565b606091505b509150915081156121a257604081511061218257808060200190518101906121789190612e98565b90945092506121a2565b60208151106121a2578080602001905181019061219f9190612946565b93505b505094509492505050565b6121b561229f565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546121f290612987565b80601f016020809104026020016040519081016040528092919081815260200182805461221e90612987565b80156122695780601f1061224057610100808354040283529160200191612269565b820191905f5260205f20905b81548152906001019060200180831161224c57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161085e90612987565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156122e7575f80fd5b81356001600160e01b031981168114610cee575f80fd5b6001600160601b0381168114612312575f80fd5b50565b5f8060408385031215612326575f80fd5b8235612331816122fe565b91506020830135612341816122fe565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516123c2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261240661010084018261234c565b949350505050565b602081525f6112ae602083018461234c565b5f60208284031215612430575f80fd5b8135610cee816122fe565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156124715761247161243b565b60405290565b604051608081016001600160401b03811182821017156124715761247161243b565b604051601f8201601f191681016001600160401b03811182821017156124c1576124c161243b565b604052919050565b5f6001600160401b038211156124e1576124e161243b565b50601f01601f191660200190565b5f82601f8301126124fe575f80fd5b8135602083015f612516612511846124c9565b612499565b9050828152858383011115612529575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114612312575f80fd5b80356109bb81612543565b8015158114612312575f80fd5b80356109bb8161255f565b5f805f805f805f805f6101208a8c031215612590575f80fd5b89356001600160401b038111156125a5575f80fd5b6125b18c828d016124ef565b99505060208a0135975060408a0135965060608a0135955060808a01356125d781612543565b94506125e560a08b01612554565b93506125f360c08b0161256c565b925061260160e08b0161256c565b91506101008a01356001600160401b0381111561261c575f80fd5b6126288c828d016124ef565b9150509295985092959850929598565b6001600160a01b0381168114612312575f80fd5b5f806040838503121561265d575f80fd5b823561233181612638565b5f805f805f60a0868803121561267c575f80fd5b85356001600160401b03811115612691575f80fd5b61269d888289016124ef565b9550506020860135935060408601356126b581612543565b9250606086013564ffffffffff811681146126ce575f80fd5b915060808601356001600160401b038111156126e8575f80fd5b6126f4888289016124ef565b9150509295509295909350565b6001600160c01b031981168114612312575f80fd5b5f805f60608486031215612728575f80fd5b833561273381612638565b9250602084013561274381612701565b915060408401356001600160401b0381111561275d575f80fd5b612769868287016124ef565b9150509250925092565b5f60208284031215612783575f80fd5b81356001600160401b03811115612798575f80fd5b612406848285016124ef565b5f602082840312156127b4575f80fd5b8135610cee81612638565b602081525f8251608060208401526127da60a084018261234c565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f1901608086015290915061281c828261234c565b95945050505050565b5f805f60608486031215612837575f80fd5b8335612733816122fe565b5f805f8060808587031215612855575f80fd5b843561286081612638565b9350602085013561287081612638565b925060408501359150606085013561288781612638565b939692955090935050565b5f604082840312156128a2575f80fd5b604080519081016001600160401b03811182821017156128c4576128c461243b565b604052823581526020928301359281019290925250919050565b5f80608083850312156128ef575f80fd5b6128f98484612892565b91506129088460408501612892565b90509250929050565b5f8060408385031215612922575f80fd5b823561292d81612701565b946020939093013593505050565b80516109bb8161255f565b5f60208284031215612956575f80fd5b8151610cee8161255f565b80516109bb816122fe565b5f6020828403121561297c575f80fd5b8151610cee816122fe565b600181811c9082168061299b57607f821691505b6020821081036129b957634e487b7160e01b5f52602260045260245ffd5b50919050565b80516109bb81612638565b5f602082840312156129da575f80fd5b8151610cee81612638565b60ff81168114612312575f80fd5b80516109bb816129e5565b5f612a0b612511846124c9565b9050828152838383011115612a1e575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a43575f80fd5b6112ae838351602085016129fe565b5f60208284031215612a62575f80fd5b81516001600160401b03811115612a77575f80fd5b820160e08185031215612a88575f80fd5b612a9061244f565b612a9982612961565b8152612aa760208301612961565b6020820152612ab8604083016129f3565b6040820152612ac96060830161293b565b6060820152612ada608083016129bf565b6080820152612aeb60a083016129bf565b60a082015260c08201516001600160401b03811115612b08575f80fd5b612b1486828501612a34565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610ceb604083018461234c565b5f60208284031215612b53575f80fd5b8151610cee81612701565b5f60208284031215612b6e575f80fd5b8151610cee816129e5565b80820281158282048414176112b157634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612bad575f80fd5b825191506020830151612341816129e5565b5f8085851115612bcd575f80fd5b83861115612bd9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612c17576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612c7161012083018c61234c565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152612cbe818561234c565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612cef60c083018861234c565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612d20818561234c565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061281c9083018461234c565b5f60208284031215612d70575f80fd5b81516001600160401b03811115612d85575f80fd5b820160808185031215612d96575f80fd5b612d9e612477565b81516001600160401b03811115612db3575f80fd5b8201601f81018613612dc3575f80fd5b612dd2868251602084016129fe565b825250612de1602083016129bf565b6020820152612df2604083016129bf565b604082015260608201516001600160401b03811115612e0f575f80fd5b612e1b86828501612a34565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f61281c606083018461234c565b825181526020808401518183015282516040830152820151606082015260808101610cee565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612ea9575f80fd5b8251612eb48161255f565b60208401519092506123418161254356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212204403272de26514a5a7c4ac4bde4c426e1ccbc468553e661b932ef7b337780c4f64736f6c634300081a0033",
1386
1194
  "linkReferences": {
1387
- "contracts/type/Amount.sol": {
1388
- "AmountLib": [
1389
- {
1390
- "length": 20,
1391
- "start": 3894
1392
- },
1393
- {
1394
- "length": 20,
1395
- "start": 6907
1396
- }
1397
- ]
1398
- },
1399
1195
  "contracts/type/NftId.sol": {
1400
1196
  "NftIdLib": [
1401
1197
  {
1402
1198
  "length": 20,
1403
- "start": 2279
1199
+ "start": 1964
1404
1200
  },
1405
1201
  {
1406
1202
  "length": 20,
1407
- "start": 3142
1203
+ "start": 2696
1408
1204
  },
1409
1205
  {
1410
1206
  "length": 20,
1411
- "start": 5076
1207
+ "start": 3798
1412
1208
  },
1413
1209
  {
1414
1210
  "length": 20,
1415
- "start": 5434
1211
+ "start": 4156
1416
1212
  },
1417
1213
  {
1418
1214
  "length": 20,
1419
- "start": 8426
1215
+ "start": 5643
1420
1216
  },
1421
1217
  {
1422
1218
  "length": 20,
1423
- "start": 9711
1219
+ "start": 6853
1424
1220
  },
1425
1221
  {
1426
1222
  "length": 20,
1427
- "start": 10318
1223
+ "start": 7460
1428
1224
  },
1429
1225
  {
1430
1226
  "length": 20,
1431
- "start": 11206
1227
+ "start": 7984
1432
1228
  },
1433
1229
  {
1434
1230
  "length": 20,
1435
- "start": 11389
1436
- },
1437
- {
1438
- "length": 20,
1439
- "start": 12006
1231
+ "start": 8167
1440
1232
  }
1441
1233
  ]
1442
1234
  },
@@ -1444,65 +1236,57 @@
1444
1236
  "ReferralLib": [
1445
1237
  {
1446
1238
  "length": 20,
1447
- "start": 4769
1239
+ "start": 3375
1448
1240
  }
1449
1241
  ]
1450
- }
1451
- },
1452
- "deployedLinkReferences": {
1453
- "contracts/type/Amount.sol": {
1454
- "AmountLib": [
1455
- {
1456
- "length": 20,
1457
- "start": 3866
1458
- },
1242
+ },
1243
+ "contracts/type/Version.sol": {
1244
+ "VersionPartLib": [
1459
1245
  {
1460
1246
  "length": 20,
1461
- "start": 6879
1247
+ "start": 3524
1462
1248
  }
1463
1249
  ]
1464
- },
1250
+ }
1251
+ },
1252
+ "deployedLinkReferences": {
1465
1253
  "contracts/type/NftId.sol": {
1466
1254
  "NftIdLib": [
1467
1255
  {
1468
1256
  "length": 20,
1469
- "start": 2251
1470
- },
1471
- {
1472
- "length": 20,
1473
- "start": 3114
1257
+ "start": 1936
1474
1258
  },
1475
1259
  {
1476
1260
  "length": 20,
1477
- "start": 5048
1261
+ "start": 2668
1478
1262
  },
1479
1263
  {
1480
1264
  "length": 20,
1481
- "start": 5406
1265
+ "start": 3770
1482
1266
  },
1483
1267
  {
1484
1268
  "length": 20,
1485
- "start": 8398
1269
+ "start": 4128
1486
1270
  },
1487
1271
  {
1488
1272
  "length": 20,
1489
- "start": 9683
1273
+ "start": 5615
1490
1274
  },
1491
1275
  {
1492
1276
  "length": 20,
1493
- "start": 10290
1277
+ "start": 6825
1494
1278
  },
1495
1279
  {
1496
1280
  "length": 20,
1497
- "start": 11178
1281
+ "start": 7432
1498
1282
  },
1499
1283
  {
1500
1284
  "length": 20,
1501
- "start": 11361
1285
+ "start": 7956
1502
1286
  },
1503
1287
  {
1504
1288
  "length": 20,
1505
- "start": 11978
1289
+ "start": 8139
1506
1290
  }
1507
1291
  ]
1508
1292
  },
@@ -1510,7 +1294,15 @@
1510
1294
  "ReferralLib": [
1511
1295
  {
1512
1296
  "length": 20,
1513
- "start": 4741
1297
+ "start": 3347
1298
+ }
1299
+ ]
1300
+ },
1301
+ "contracts/type/Version.sol": {
1302
+ "VersionPartLib": [
1303
+ {
1304
+ "length": 20,
1305
+ "start": 3496
1514
1306
  }
1515
1307
  ]
1516
1308
  }