@etherisc/gif-next 0.0.2-bc11089-132 → 0.0.2-bc7a257-709

Sign up to get free protection for your applications and to get access to all the features.
Files changed (784) hide show
  1. package/README.md +138 -23
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1023 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1494 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +615 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1224 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +644 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1596 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +876 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1071 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2018 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2405 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +420 -1308
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +456 -189
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +481 -2479
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2036 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1665 -629
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +507 -444
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +350 -124
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  104. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  105. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  108. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  109. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1013 -0
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +772 -0
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1277 -0
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +808 -0
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  140. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  141. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +472 -0
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1606 -0
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +824 -0
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +895 -0
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +748 -0
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1512 -0
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +856 -0
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  161. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +277 -302
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  167. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +315 -361
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  169. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  171. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +199 -185
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1341 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +727 -0
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +812 -0
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingService.sol/PricingService.json +927 -0
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +772 -0
  182. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  183. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  189. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +679 -114
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +325 -229
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  195. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  198. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  199. package/artifacts/contracts/registry/Registry.sol/Registry.json +1017 -150
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2018 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +312 -336
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +341 -123
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  217. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  218. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  219. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  224. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  225. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +158 -142
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +661 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +273 -183
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1127 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  240. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +96 -34
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -15
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IService.sol/IService.json +137 -159
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  259. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +129 -20
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  267. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +159 -55
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  271. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  272. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Service.sol/Service.json +156 -171
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/Staking.sol/Staking.json +1904 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  288. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +800 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1396 -0
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +744 -0
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  303. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  342. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  348. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  360. package/contracts/accounting/AccountingService.sol +261 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +45 -0
  363. package/contracts/authorization/AccessAdmin.sol +704 -0
  364. package/contracts/authorization/AccessAdminLib.sol +183 -0
  365. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  366. package/contracts/authorization/Authorization.sol +365 -0
  367. package/contracts/authorization/IAccess.sol +57 -0
  368. package/contracts/authorization/IAccessAdmin.sol +170 -0
  369. package/contracts/authorization/IAuthorization.sol +80 -0
  370. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  371. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  372. package/contracts/distribution/BasicDistribution.sol +141 -0
  373. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  374. package/contracts/distribution/Distribution.sol +244 -0
  375. package/contracts/distribution/DistributionService.sol +389 -0
  376. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  377. package/contracts/distribution/IDistributionComponent.sol +43 -0
  378. package/contracts/distribution/IDistributionService.sol +103 -0
  379. package/contracts/examples/fire/DamageLevel.sol +59 -0
  380. package/contracts/examples/fire/FirePool.sol +86 -0
  381. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  382. package/contracts/examples/fire/FireProduct.sol +433 -0
  383. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  384. package/contracts/examples/fire/FireUSD.sol +26 -0
  385. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  386. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  387. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  388. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  389. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  390. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BundleSet.sol +130 -0
  393. package/contracts/instance/IInstance.sol +99 -55
  394. package/contracts/instance/IInstanceService.sol +71 -21
  395. package/contracts/instance/Instance.sol +220 -192
  396. package/contracts/instance/InstanceAdmin.sol +450 -0
  397. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  398. package/contracts/instance/InstanceReader.sol +415 -80
  399. package/contracts/instance/InstanceService.sol +387 -228
  400. package/contracts/instance/InstanceServiceManager.sol +14 -32
  401. package/contracts/instance/InstanceStore.sol +298 -0
  402. package/contracts/instance/RiskSet.sol +118 -0
  403. package/contracts/instance/base/BalanceStore.sol +121 -0
  404. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  405. package/contracts/instance/base/ObjectCounter.sol +20 -0
  406. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  407. package/contracts/instance/base/ObjectSet.sol +77 -0
  408. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  409. package/contracts/instance/module/IBundle.sol +10 -9
  410. package/contracts/instance/module/IComponents.sol +62 -0
  411. package/contracts/instance/module/IDistribution.sol +25 -10
  412. package/contracts/instance/module/IPolicy.sol +81 -21
  413. package/contracts/instance/module/IRisk.sol +6 -1
  414. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  415. package/contracts/oracle/BasicOracle.sol +45 -0
  416. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  417. package/contracts/oracle/IOracle.sol +41 -0
  418. package/contracts/oracle/IOracleComponent.sol +33 -0
  419. package/contracts/oracle/IOracleService.sol +66 -0
  420. package/contracts/oracle/Oracle.sol +154 -0
  421. package/contracts/oracle/OracleService.sol +310 -0
  422. package/contracts/oracle/OracleServiceManager.sol +39 -0
  423. package/contracts/pool/BasicPool.sol +173 -0
  424. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  425. package/contracts/pool/BundleService.sol +395 -0
  426. package/contracts/pool/BundleServiceManager.sol +39 -0
  427. package/contracts/pool/IBundleService.sol +115 -0
  428. package/contracts/pool/IPoolComponent.sol +62 -0
  429. package/contracts/pool/IPoolService.sol +165 -0
  430. package/contracts/pool/Pool.sol +343 -0
  431. package/contracts/pool/PoolLib.sol +309 -0
  432. package/contracts/pool/PoolService.sol +587 -0
  433. package/contracts/pool/PoolServiceManager.sol +39 -0
  434. package/contracts/product/ApplicationService.sol +278 -0
  435. package/contracts/product/ApplicationServiceManager.sol +38 -0
  436. package/contracts/product/BasicProduct.sol +49 -0
  437. package/contracts/product/BasicProductAuthorization.sol +56 -0
  438. package/contracts/product/ClaimService.sol +640 -0
  439. package/contracts/product/ClaimServiceManager.sol +38 -0
  440. package/contracts/product/IApplicationService.sol +69 -0
  441. package/contracts/product/IClaimService.sol +135 -0
  442. package/contracts/product/IPolicyService.sol +95 -0
  443. package/contracts/product/IPricingService.sol +40 -0
  444. package/contracts/product/IProductComponent.sol +62 -0
  445. package/contracts/product/IRiskService.sol +33 -0
  446. package/contracts/product/PolicyService.sol +640 -0
  447. package/contracts/product/PolicyServiceLib.sol +119 -0
  448. package/contracts/product/PolicyServiceManager.sol +39 -0
  449. package/contracts/product/PricingService.sol +309 -0
  450. package/contracts/product/PricingServiceManager.sol +39 -0
  451. package/contracts/product/Product.sol +467 -0
  452. package/contracts/product/RiskService.sol +154 -0
  453. package/contracts/product/RiskServiceManager.sol +39 -0
  454. package/contracts/registry/ChainNft.sol +82 -35
  455. package/contracts/registry/IRegistry.sol +126 -37
  456. package/contracts/registry/IRegistryService.sol +40 -28
  457. package/contracts/registry/IRelease.sol +29 -0
  458. package/contracts/registry/ITransferInterceptor.sol +1 -1
  459. package/contracts/registry/Registry.sol +555 -273
  460. package/contracts/registry/RegistryAdmin.sol +258 -0
  461. package/contracts/registry/RegistryAuthorization.sol +267 -0
  462. package/contracts/registry/RegistryService.sol +116 -233
  463. package/contracts/registry/RegistryServiceManager.sol +26 -53
  464. package/contracts/registry/ReleaseAdmin.sol +253 -0
  465. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  466. package/contracts/registry/ReleaseRegistry.sol +517 -0
  467. package/contracts/registry/ServiceAuthorizationV3.sol +332 -0
  468. package/contracts/registry/TokenRegistry.sol +264 -59
  469. package/contracts/shared/Component.sol +210 -0
  470. package/contracts/shared/ComponentService.sol +661 -0
  471. package/contracts/shared/ComponentServiceManager.sol +38 -0
  472. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  473. package/contracts/shared/ContractLib.sol +347 -0
  474. package/contracts/shared/IComponent.sol +58 -0
  475. package/contracts/shared/IComponentService.sol +110 -0
  476. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  477. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  478. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  479. package/contracts/shared/INftOwnable.sol +15 -12
  480. package/contracts/shared/IPolicyHolder.sol +35 -0
  481. package/contracts/shared/IRegisterable.sol +25 -5
  482. package/contracts/shared/IRegistryLinked.sol +11 -0
  483. package/contracts/shared/IService.sol +13 -5
  484. package/contracts/shared/InitializableERC165.sol +35 -0
  485. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  486. package/contracts/shared/KeyValueStore.sol +131 -0
  487. package/contracts/shared/Lifecycle.sol +88 -0
  488. package/contracts/shared/NftIdSet.sol +65 -0
  489. package/contracts/shared/NftOwnable.sol +75 -82
  490. package/contracts/shared/PolicyHolder.sol +62 -0
  491. package/contracts/shared/Registerable.sol +54 -38
  492. package/contracts/shared/RegistryLinked.sol +38 -0
  493. package/contracts/shared/Service.sol +43 -33
  494. package/contracts/shared/TokenHandler.sol +327 -12
  495. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  496. package/contracts/staking/IStaking.sol +179 -0
  497. package/contracts/staking/IStakingService.sol +175 -0
  498. package/contracts/staking/Staking.sol +546 -0
  499. package/contracts/staking/StakingLib.sol +281 -0
  500. package/contracts/staking/StakingLifecycle.sol +23 -0
  501. package/contracts/staking/StakingManager.sol +52 -0
  502. package/contracts/staking/StakingReader.sol +180 -0
  503. package/contracts/staking/StakingService.sol +467 -0
  504. package/contracts/staking/StakingServiceManager.sol +45 -0
  505. package/contracts/staking/StakingStore.sol +606 -0
  506. package/contracts/staking/TargetManagerLib.sol +211 -0
  507. package/contracts/{types → type}/AddressSet.sol +1 -1
  508. package/contracts/type/Amount.sol +150 -0
  509. package/contracts/{types → type}/Blocknumber.sol +27 -3
  510. package/contracts/type/ClaimId.sol +80 -0
  511. package/contracts/{types → type}/DistributorType.sol +2 -2
  512. package/contracts/type/Fee.sol +66 -0
  513. package/contracts/{types → type}/Key32.sol +2 -2
  514. package/contracts/type/Key32Set.sol +62 -0
  515. package/contracts/{types → type}/NftId.sol +28 -15
  516. package/contracts/{types → type}/NftIdSet.sol +2 -2
  517. package/contracts/type/ObjectType.sol +294 -0
  518. package/contracts/type/PayoutId.sol +82 -0
  519. package/contracts/{types → type}/Referral.sol +6 -1
  520. package/contracts/type/RequestId.sol +75 -0
  521. package/contracts/type/RiskId.sol +75 -0
  522. package/contracts/type/RoleId.sol +182 -0
  523. package/contracts/type/Seconds.sol +101 -0
  524. package/contracts/type/Selector.sol +107 -0
  525. package/contracts/{types → type}/StateId.sol +48 -4
  526. package/contracts/type/String.sol +53 -0
  527. package/contracts/{types → type}/Timestamp.sol +33 -19
  528. package/contracts/type/UFixed.sol +262 -0
  529. package/contracts/{types → type}/Version.sol +59 -7
  530. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  531. package/contracts/upgradeability/ProxyManager.sol +234 -0
  532. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  533. package/contracts/upgradeability/Versionable.sol +59 -0
  534. package/package.json +12 -8
  535. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  537. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -772
  538. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  539. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -384
  540. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  544. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  546. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  547. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -967
  548. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  549. package/artifacts/contracts/components/Product.sol/Product.json +0 -883
  550. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  552. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  554. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  556. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  558. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  560. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  562. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  564. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  566. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  568. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  570. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  573. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  575. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  577. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  579. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  581. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  583. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  585. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  587. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  588. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  589. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  590. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  591. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  592. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  593. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  594. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  595. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  596. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1057
  597. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  598. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  599. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  600. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  601. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  604. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  605. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  607. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  608. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  609. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  610. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -243
  612. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  615. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -923
  616. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  617. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -440
  618. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  619. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  620. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  621. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -684
  622. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  623. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  624. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  625. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  626. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  627. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  628. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  629. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -499
  631. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -536
  633. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  634. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -984
  635. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  636. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
  637. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  638. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -718
  639. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  640. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -428
  641. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  642. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -768
  643. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  644. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  645. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  646. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  647. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  648. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  649. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  650. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  651. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  652. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  653. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  654. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  655. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  656. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  657. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  658. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  659. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  660. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  661. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  662. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  663. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  664. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  665. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  666. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  667. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  669. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  670. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  671. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  672. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  673. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  674. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  675. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  676. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  677. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  679. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  681. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  683. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  685. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  686. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  687. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  688. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  689. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  690. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  691. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  693. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  695. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  696. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  697. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  699. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  700. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  701. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  703. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  705. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  707. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  709. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  711. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  712. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  713. package/contracts/components/BaseComponent.sol +0 -148
  714. package/contracts/components/Distribution.sol +0 -163
  715. package/contracts/components/IBaseComponent.sol +0 -32
  716. package/contracts/components/IDistributionComponent.sol +0 -44
  717. package/contracts/components/IPoolComponent.sol +0 -66
  718. package/contracts/components/IProductComponent.sol +0 -35
  719. package/contracts/components/Pool.sol +0 -271
  720. package/contracts/components/Product.sol +0 -292
  721. package/contracts/experiment/cloning/Cloner.sol +0 -47
  722. package/contracts/experiment/errors/Require.sol +0 -38
  723. package/contracts/experiment/errors/Revert.sol +0 -44
  724. package/contracts/experiment/inheritance/A.sol +0 -53
  725. package/contracts/experiment/inheritance/B.sol +0 -28
  726. package/contracts/experiment/inheritance/C.sol +0 -34
  727. package/contracts/experiment/inheritance/IA.sol +0 -13
  728. package/contracts/experiment/inheritance/IB.sol +0 -10
  729. package/contracts/experiment/inheritance/IC.sol +0 -12
  730. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  731. package/contracts/experiment/statemachine/ISM.sol +0 -25
  732. package/contracts/experiment/statemachine/SM.sol +0 -57
  733. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  734. package/contracts/experiment/types/TypeA.sol +0 -47
  735. package/contracts/experiment/types/TypeB.sol +0 -29
  736. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  737. package/contracts/instance/BundleManager.sol +0 -129
  738. package/contracts/instance/IInstanceBase.sol +0 -26
  739. package/contracts/instance/InstanceAccessManager.sol +0 -304
  740. package/contracts/instance/InstanceBase.sol +0 -41
  741. package/contracts/instance/ObjectManager.sol +0 -101
  742. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  743. package/contracts/instance/base/IInstanceBase.sol +0 -23
  744. package/contracts/instance/base/KeyValueStore.sol +0 -172
  745. package/contracts/instance/base/Lifecycle.sol +0 -100
  746. package/contracts/instance/module/IAccess.sol +0 -48
  747. package/contracts/instance/module/ISetup.sol +0 -46
  748. package/contracts/instance/module/ITreasury.sol +0 -23
  749. package/contracts/instance/service/BundleService.sol +0 -260
  750. package/contracts/instance/service/BundleServiceManager.sol +0 -54
  751. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  752. package/contracts/instance/service/DistributionService.sol +0 -118
  753. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  754. package/contracts/instance/service/IBundleService.sol +0 -45
  755. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  756. package/contracts/instance/service/IDistributionService.sol +0 -12
  757. package/contracts/instance/service/IPolicyService.sol +0 -87
  758. package/contracts/instance/service/IPoolService.sol +0 -20
  759. package/contracts/instance/service/IProductService.sol +0 -40
  760. package/contracts/instance/service/PolicyService.sol +0 -508
  761. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  762. package/contracts/instance/service/PoolService.sol +0 -124
  763. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  764. package/contracts/instance/service/ProductService.sol +0 -173
  765. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  766. package/contracts/shared/ContractDeployerLib.sol +0 -72
  767. package/contracts/shared/ERC165.sol +0 -25
  768. package/contracts/shared/ProxyManager.sol +0 -94
  769. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  770. package/contracts/shared/Versionable.sol +0 -147
  771. package/contracts/test/TestFee.sol +0 -25
  772. package/contracts/test/TestRegisterable.sol +0 -18
  773. package/contracts/test/TestRoleId.sol +0 -14
  774. package/contracts/test/TestService.sol +0 -24
  775. package/contracts/test/TestToken.sol +0 -26
  776. package/contracts/test/TestVersion.sol +0 -44
  777. package/contracts/test/TestVersionable.sol +0 -17
  778. package/contracts/types/ChainId.sol +0 -38
  779. package/contracts/types/Fee.sol +0 -56
  780. package/contracts/types/NumberId.sol +0 -52
  781. package/contracts/types/ObjectType.sol +0 -152
  782. package/contracts/types/RiskId.sol +0 -43
  783. package/contracts/types/RoleId.sol +0 -91
  784. package/contracts/types/UFixed.sol +0 -325
@@ -4,170 +4,394 @@
4
4
  "sourceName": "contracts/instance/InstanceService.sol",
5
5
  "abi": [
6
6
  {
7
- "inputs": [],
8
- "name": "ERC1167FailedCreateClone",
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
9
15
  "type": "error"
10
16
  },
11
17
  {
12
18
  "inputs": [
13
19
  {
14
20
  "internalType": "address",
15
- "name": "registry",
21
+ "name": "caller",
16
22
  "type": "address"
17
23
  },
18
24
  {
19
- "internalType": "NftId",
20
- "name": "nftId",
21
- "type": "uint96"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
22
28
  }
23
29
  ],
24
- "name": "ErrorAlreadyLinked",
30
+ "name": "AccessManagedRequiredDelay",
25
31
  "type": "error"
26
32
  },
27
33
  {
28
34
  "inputs": [
29
35
  {
30
36
  "internalType": "address",
31
- "name": "contractAddress",
37
+ "name": "caller",
32
38
  "type": "address"
33
39
  }
34
40
  ],
35
- "name": "ErrorContractNotRegistered",
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "ERC1167FailedCreateClone",
36
47
  "type": "error"
37
48
  },
38
49
  {
39
50
  "inputs": [
40
51
  {
41
52
  "internalType": "address",
42
- "name": "caller",
53
+ "name": "authority",
43
54
  "type": "address"
44
- },
45
- {
46
- "internalType": "NftId",
47
- "name": "instanceNftId",
48
- "type": "uint96"
49
55
  }
50
56
  ],
51
- "name": "ErrorInstanceServiceNotInstanceOwner",
57
+ "name": "ErrorAuthorityInvalid",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorInstanceServiceAccessManagerZero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorInstanceServiceBundleSetAuthorityMismatch",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorInstanceServiceBundleSetInstanceMismatch",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorInstanceServiceBundleSetZero",
52
78
  "type": "error"
53
79
  },
54
80
  {
55
81
  "inputs": [
56
82
  {
57
83
  "internalType": "address",
58
- "name": "caller",
84
+ "name": "component",
59
85
  "type": "address"
60
86
  }
61
87
  ],
62
- "name": "ErrorInstanceServiceRequestUnauhorized",
88
+ "name": "ErrorInstanceServiceComponentNotInstanceLinked",
63
89
  "type": "error"
64
90
  },
65
91
  {
66
92
  "inputs": [
67
93
  {
68
94
  "internalType": "address",
69
- "name": "account",
95
+ "name": "componentAddress",
70
96
  "type": "address"
71
97
  }
72
98
  ],
73
- "name": "ErrorNotOwner",
99
+ "name": "ErrorInstanceServiceComponentNotRegistered",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorInstanceServiceInstanceAddressZero",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorInstanceServiceInstanceAdminZero",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "ErrorInstanceServiceInstanceAuthorityMismatch",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "NftId",
121
+ "name": "instanceNftId",
122
+ "type": "uint96"
123
+ },
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "componentNftId",
127
+ "type": "uint96"
128
+ }
129
+ ],
130
+ "name": "ErrorInstanceServiceInstanceComponentMismatch",
131
+ "type": "error"
132
+ },
133
+ {
134
+ "inputs": [],
135
+ "name": "ErrorInstanceServiceInstanceReaderAddressZero",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [],
140
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
141
+ "type": "error"
142
+ },
143
+ {
144
+ "inputs": [],
145
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [],
150
+ "name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [],
155
+ "name": "ErrorInstanceServiceInstanceReaderZero",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorInstanceServiceInstanceStoreAuthorityMismatch",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "ErrorInstanceServiceInstanceStoreZero",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "inputs": [
170
+ {
171
+ "internalType": "NftId",
172
+ "name": "instanceNftId",
173
+ "type": "uint96"
174
+ },
175
+ {
176
+ "internalType": "VersionPart",
177
+ "name": "expectedRelease",
178
+ "type": "uint8"
179
+ },
180
+ {
181
+ "internalType": "VersionPart",
182
+ "name": "instanceRelease",
183
+ "type": "uint8"
184
+ }
185
+ ],
186
+ "name": "ErrorInstanceServiceInstanceVersionMismatch",
74
187
  "type": "error"
75
188
  },
76
189
  {
77
190
  "inputs": [
78
191
  {
79
192
  "internalType": "address",
80
- "name": "registryAddress",
193
+ "name": "componentAddress",
81
194
  "type": "address"
195
+ },
196
+ {
197
+ "internalType": "ObjectType",
198
+ "name": "expectedType",
199
+ "type": "uint8"
200
+ },
201
+ {
202
+ "internalType": "ObjectType",
203
+ "name": "componentType",
204
+ "type": "uint8"
82
205
  }
83
206
  ],
84
- "name": "ErrorNotRegistry",
207
+ "name": "ErrorInstanceServiceInvalidComponentType",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "ErrorInstanceServiceMasterBundleSetAlreadySet",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "ErrorInstanceServiceMasterInstanceAlreadySet",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorInstanceServiceMasterRiskSetAlreadySet",
85
233
  "type": "error"
86
234
  },
87
235
  {
88
236
  "inputs": [
89
237
  {
90
238
  "internalType": "address",
91
- "name": "registryAddress",
239
+ "name": "instance",
92
240
  "type": "address"
241
+ },
242
+ {
243
+ "internalType": "ObjectType",
244
+ "name": "objectType",
245
+ "type": "uint8"
93
246
  }
94
247
  ],
95
- "name": "ErrorRegisterableNotRegistry",
248
+ "name": "ErrorInstanceServiceNotInstance",
96
249
  "type": "error"
97
250
  },
98
251
  {
99
- "inputs": [],
100
- "name": "ErrorRegistryAddressZero",
252
+ "inputs": [
253
+ {
254
+ "internalType": "NftId",
255
+ "name": "nftId",
256
+ "type": "uint96"
257
+ }
258
+ ],
259
+ "name": "ErrorInstanceServiceNotInstanceNftId",
101
260
  "type": "error"
102
261
  },
103
262
  {
104
263
  "inputs": [
105
264
  {
106
265
  "internalType": "address",
107
- "name": "registry",
266
+ "name": "instance",
108
267
  "type": "address"
109
268
  }
110
269
  ],
111
- "name": "ErrorRegistryAlreadyInitialized",
270
+ "name": "ErrorInstanceServiceNotRegistered",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "caller",
278
+ "type": "address"
279
+ }
280
+ ],
281
+ "name": "ErrorInstanceServiceRequestUnauhorized",
112
282
  "type": "error"
113
283
  },
114
284
  {
115
285
  "inputs": [],
116
- "name": "ErrorRegistryNotInitialized",
286
+ "name": "ErrorInstanceServiceRiskSetAuthorityMismatch",
117
287
  "type": "error"
118
288
  },
119
289
  {
120
290
  "inputs": [],
121
- "name": "InvalidInitialization",
291
+ "name": "ErrorInstanceServiceRiskSetInstanceMismatch",
122
292
  "type": "error"
123
293
  },
124
294
  {
125
295
  "inputs": [],
126
- "name": "NotInitializing",
296
+ "name": "ErrorInstanceServiceRiskSetZero",
127
297
  "type": "error"
128
298
  },
129
299
  {
130
- "anonymous": false,
131
300
  "inputs": [
132
301
  {
133
- "indexed": false,
134
- "internalType": "uint64",
135
- "name": "version",
136
- "type": "uint64"
302
+ "internalType": "NftId",
303
+ "name": "nftId",
304
+ "type": "uint96"
137
305
  }
138
306
  ],
139
- "name": "Initialized",
140
- "type": "event"
307
+ "name": "ErrorNftOwnableAlreadyLinked",
308
+ "type": "error"
141
309
  },
142
310
  {
143
- "anonymous": false,
144
311
  "inputs": [
145
312
  {
146
- "indexed": false,
147
313
  "internalType": "address",
148
- "name": "clonedAccessManagerAddress",
314
+ "name": "contractAddress",
149
315
  "type": "address"
316
+ }
317
+ ],
318
+ "name": "ErrorNftOwnableContractNotRegistered",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "inputs": [],
323
+ "name": "ErrorNftOwnableInitialOwnerZero",
324
+ "type": "error"
325
+ },
326
+ {
327
+ "inputs": [
328
+ {
329
+ "internalType": "NftId",
330
+ "name": "nftId",
331
+ "type": "uint96"
150
332
  },
151
333
  {
152
- "indexed": false,
334
+ "internalType": "ObjectType",
335
+ "name": "expectedObjectType",
336
+ "type": "uint8"
337
+ }
338
+ ],
339
+ "name": "ErrorNftOwnableInvalidType",
340
+ "type": "error"
341
+ },
342
+ {
343
+ "inputs": [
344
+ {
153
345
  "internalType": "address",
154
- "name": "clonedInstanceAddress",
346
+ "name": "account",
155
347
  "type": "address"
156
- },
348
+ }
349
+ ],
350
+ "name": "ErrorNftOwnableNotOwner",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
157
355
  {
158
- "indexed": false,
159
356
  "internalType": "address",
160
- "name": "clonedInstanceReaderAddress",
357
+ "name": "registryAddress",
161
358
  "type": "address"
162
- },
359
+ }
360
+ ],
361
+ "name": "ErrorNotRegistry",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "ErrorRegisterableNotActive",
367
+ "type": "error"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "InvalidInitialization",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "NotInitializing",
377
+ "type": "error"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "ReentrancyGuardReentrantCall",
382
+ "type": "error"
383
+ },
384
+ {
385
+ "anonymous": false,
386
+ "inputs": [
163
387
  {
164
388
  "indexed": false,
165
- "internalType": "NftId",
166
- "name": "clonedInstanceNftId",
167
- "type": "uint96"
389
+ "internalType": "address",
390
+ "name": "authority",
391
+ "type": "address"
168
392
  }
169
393
  ],
170
- "name": "LogInstanceCloned",
394
+ "name": "AuthorityUpdated",
171
395
  "type": "event"
172
396
  },
173
397
  {
@@ -175,24 +399,31 @@
175
399
  "inputs": [
176
400
  {
177
401
  "indexed": false,
178
- "internalType": "Version",
402
+ "internalType": "uint64",
179
403
  "name": "version",
180
- "type": "uint24"
181
- },
404
+ "type": "uint64"
405
+ }
406
+ ],
407
+ "name": "Initialized",
408
+ "type": "event"
409
+ },
410
+ {
411
+ "anonymous": false,
412
+ "inputs": [
182
413
  {
183
414
  "indexed": false,
184
- "internalType": "address",
185
- "name": "implementation",
186
- "type": "address"
415
+ "internalType": "NftId",
416
+ "name": "instanceNftId",
417
+ "type": "uint96"
187
418
  },
188
419
  {
189
420
  "indexed": false,
190
421
  "internalType": "address",
191
- "name": "activatedBy",
422
+ "name": "instance",
192
423
  "type": "address"
193
424
  }
194
425
  ],
195
- "name": "LogVersionableInitialized",
426
+ "name": "LogInstanceCloned",
196
427
  "type": "event"
197
428
  },
198
429
  {
@@ -210,12 +441,12 @@
210
441
  },
211
442
  {
212
443
  "inputs": [],
213
- "name": "NAME",
444
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
214
445
  "outputs": [
215
446
  {
216
- "internalType": "string",
447
+ "internalType": "bytes32",
217
448
  "name": "",
218
- "type": "string"
449
+ "type": "bytes32"
219
450
  }
220
451
  ],
221
452
  "stateMutability": "view",
@@ -236,37 +467,54 @@
236
467
  },
237
468
  {
238
469
  "inputs": [],
239
- "name": "createInstanceClone",
470
+ "name": "authority",
240
471
  "outputs": [
241
472
  {
242
- "internalType": "contract InstanceAccessManager",
243
- "name": "clonedAccessManager",
473
+ "internalType": "address",
474
+ "name": "",
244
475
  "type": "address"
245
- },
476
+ }
477
+ ],
478
+ "stateMutability": "view",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [
483
+ {
484
+ "internalType": "bool",
485
+ "name": "allowAnyToken",
486
+ "type": "bool"
487
+ }
488
+ ],
489
+ "name": "createInstance",
490
+ "outputs": [
246
491
  {
247
- "internalType": "contract Instance",
248
- "name": "clonedInstance",
492
+ "internalType": "contract IInstance",
493
+ "name": "instance",
249
494
  "type": "address"
250
495
  },
251
496
  {
252
497
  "internalType": "NftId",
253
- "name": "clonedInstanceNftId",
498
+ "name": "instanceNftId",
254
499
  "type": "uint96"
255
- },
256
- {
257
- "internalType": "contract InstanceReader",
258
- "name": "clonedInstanceReader",
259
- "type": "address"
260
- },
261
- {
262
- "internalType": "contract BundleManager",
263
- "name": "clonedBundleManager",
264
- "type": "address"
265
500
  }
266
501
  ],
267
502
  "stateMutability": "nonpayable",
268
503
  "type": "function"
269
504
  },
505
+ {
506
+ "inputs": [],
507
+ "name": "getDomain",
508
+ "outputs": [
509
+ {
510
+ "internalType": "ObjectType",
511
+ "name": "serviceDomain",
512
+ "type": "uint8"
513
+ }
514
+ ],
515
+ "stateMutability": "pure",
516
+ "type": "function"
517
+ },
270
518
  {
271
519
  "inputs": [],
272
520
  "name": "getInitialInfo",
@@ -310,13 +558,8 @@
310
558
  }
311
559
  ],
312
560
  "internalType": "struct IRegistry.ObjectInfo",
313
- "name": "",
561
+ "name": "info",
314
562
  "type": "tuple"
315
- },
316
- {
317
- "internalType": "bytes",
318
- "name": "data",
319
- "type": "bytes"
320
563
  }
321
564
  ],
322
565
  "stateMutability": "view",
@@ -324,12 +567,12 @@
324
567
  },
325
568
  {
326
569
  "inputs": [],
327
- "name": "getInitializedVersion",
570
+ "name": "getMasterInstanceReader",
328
571
  "outputs": [
329
572
  {
330
- "internalType": "uint64",
573
+ "internalType": "address",
331
574
  "name": "",
332
- "type": "uint64"
575
+ "type": "address"
333
576
  }
334
577
  ],
335
578
  "stateMutability": "view",
@@ -337,12 +580,12 @@
337
580
  },
338
581
  {
339
582
  "inputs": [],
340
- "name": "getMajorVersion",
583
+ "name": "getNftId",
341
584
  "outputs": [
342
585
  {
343
- "internalType": "VersionPart",
344
- "name": "majorVersion",
345
- "type": "uint8"
586
+ "internalType": "NftId",
587
+ "name": "",
588
+ "type": "uint96"
346
589
  }
347
590
  ],
348
591
  "stateMutability": "view",
@@ -350,7 +593,7 @@
350
593
  },
351
594
  {
352
595
  "inputs": [],
353
- "name": "getMasterInstance",
596
+ "name": "getOwner",
354
597
  "outputs": [
355
598
  {
356
599
  "internalType": "address",
@@ -363,10 +606,10 @@
363
606
  },
364
607
  {
365
608
  "inputs": [],
366
- "name": "getMasterInstanceAccessManager",
609
+ "name": "getRegistry",
367
610
  "outputs": [
368
611
  {
369
- "internalType": "address",
612
+ "internalType": "contract IRegistry",
370
613
  "name": "",
371
614
  "type": "address"
372
615
  }
@@ -376,12 +619,12 @@
376
619
  },
377
620
  {
378
621
  "inputs": [],
379
- "name": "getMasterInstanceBundleManager",
622
+ "name": "getRelease",
380
623
  "outputs": [
381
624
  {
382
- "internalType": "address",
383
- "name": "",
384
- "type": "address"
625
+ "internalType": "VersionPart",
626
+ "name": "release",
627
+ "type": "uint8"
385
628
  }
386
629
  ],
387
630
  "stateMutability": "view",
@@ -389,12 +632,12 @@
389
632
  },
390
633
  {
391
634
  "inputs": [],
392
- "name": "getMasterInstanceReader",
635
+ "name": "getRoleId",
393
636
  "outputs": [
394
637
  {
395
- "internalType": "address",
396
- "name": "",
397
- "type": "address"
638
+ "internalType": "RoleId",
639
+ "name": "serviceRoleId",
640
+ "type": "uint64"
398
641
  }
399
642
  ],
400
643
  "stateMutability": "view",
@@ -402,51 +645,43 @@
402
645
  },
403
646
  {
404
647
  "inputs": [],
405
- "name": "getName",
648
+ "name": "getVersion",
406
649
  "outputs": [
407
650
  {
408
- "internalType": "string",
651
+ "internalType": "Version",
409
652
  "name": "",
410
- "type": "string"
653
+ "type": "uint24"
411
654
  }
412
655
  ],
413
656
  "stateMutability": "pure",
414
657
  "type": "function"
415
658
  },
416
659
  {
417
- "inputs": [],
418
- "name": "getNftId",
419
- "outputs": [
420
- {
421
- "internalType": "NftId",
422
- "name": "",
423
- "type": "uint96"
424
- }
425
- ],
426
- "stateMutability": "view",
427
- "type": "function"
428
- },
429
- {
430
- "inputs": [],
431
- "name": "getOwner",
432
- "outputs": [
660
+ "inputs": [
433
661
  {
434
662
  "internalType": "address",
435
- "name": "",
663
+ "name": "activatedBy",
436
664
  "type": "address"
665
+ },
666
+ {
667
+ "internalType": "bytes",
668
+ "name": "data",
669
+ "type": "bytes"
437
670
  }
438
671
  ],
439
- "stateMutability": "view",
672
+ "name": "initializeVersionable",
673
+ "outputs": [],
674
+ "stateMutability": "nonpayable",
440
675
  "type": "function"
441
676
  },
442
677
  {
443
678
  "inputs": [],
444
- "name": "getRegistry",
679
+ "name": "isActive",
445
680
  "outputs": [
446
681
  {
447
- "internalType": "contract IRegistry",
448
- "name": "",
449
- "type": "address"
682
+ "internalType": "bool",
683
+ "name": "active",
684
+ "type": "bool"
450
685
  }
451
686
  ],
452
687
  "stateMutability": "view",
@@ -454,31 +689,12 @@
454
689
  },
455
690
  {
456
691
  "inputs": [],
457
- "name": "getVersion",
692
+ "name": "isConsumingScheduledOp",
458
693
  "outputs": [
459
694
  {
460
- "internalType": "Version",
461
- "name": "",
462
- "type": "uint24"
463
- }
464
- ],
465
- "stateMutability": "pure",
466
- "type": "function"
467
- },
468
- {
469
- "inputs": [
470
- {
471
- "internalType": "uint256",
472
- "name": "idx",
473
- "type": "uint256"
474
- }
475
- ],
476
- "name": "getVersion",
477
- "outputs": [
478
- {
479
- "internalType": "Version",
695
+ "internalType": "bytes4",
480
696
  "name": "",
481
- "type": "uint24"
697
+ "type": "bytes4"
482
698
  }
483
699
  ],
484
700
  "stateMutability": "view",
@@ -486,137 +702,89 @@
486
702
  },
487
703
  {
488
704
  "inputs": [],
489
- "name": "getVersionCount",
705
+ "name": "linkToRegisteredNftId",
490
706
  "outputs": [
491
707
  {
492
- "internalType": "uint256",
493
- "name": "",
494
- "type": "uint256"
708
+ "internalType": "NftId",
709
+ "name": "nftId",
710
+ "type": "uint96"
495
711
  }
496
712
  ],
497
- "stateMutability": "view",
713
+ "stateMutability": "nonpayable",
498
714
  "type": "function"
499
715
  },
500
716
  {
501
717
  "inputs": [
502
718
  {
503
- "internalType": "Version",
504
- "name": "_version",
505
- "type": "uint24"
506
- }
507
- ],
508
- "name": "getVersionInfo",
509
- "outputs": [
719
+ "internalType": "address",
720
+ "name": "rewardProvider",
721
+ "type": "address"
722
+ },
510
723
  {
511
- "components": [
512
- {
513
- "internalType": "Version",
514
- "name": "version",
515
- "type": "uint24"
516
- },
517
- {
518
- "internalType": "address",
519
- "name": "implementation",
520
- "type": "address"
521
- },
522
- {
523
- "internalType": "address",
524
- "name": "activatedBy",
525
- "type": "address"
526
- },
527
- {
528
- "internalType": "Timestamp",
529
- "name": "activatedAt",
530
- "type": "uint40"
531
- },
532
- {
533
- "internalType": "Blocknumber",
534
- "name": "activatedIn",
535
- "type": "uint32"
536
- }
537
- ],
538
- "internalType": "struct IVersionable.VersionInfo",
539
- "name": "",
540
- "type": "tuple"
724
+ "internalType": "Amount",
725
+ "name": "dipAmount",
726
+ "type": "uint96"
541
727
  }
542
728
  ],
543
- "stateMutability": "view",
729
+ "name": "refillStakingRewardReserves",
730
+ "outputs": [],
731
+ "stateMutability": "nonpayable",
544
732
  "type": "function"
545
733
  },
546
734
  {
547
735
  "inputs": [
548
- {
549
- "internalType": "address",
550
- "name": "account",
551
- "type": "address"
552
- },
553
- {
554
- "internalType": "RoleId",
555
- "name": "role",
556
- "type": "uint64"
557
- },
558
736
  {
559
737
  "internalType": "address",
560
738
  "name": "instanceAddress",
561
739
  "type": "address"
562
740
  }
563
741
  ],
564
- "name": "hasRole",
742
+ "name": "setAndRegisterMasterInstance",
565
743
  "outputs": [
566
744
  {
567
- "internalType": "bool",
568
- "name": "",
569
- "type": "bool"
745
+ "internalType": "NftId",
746
+ "name": "masterInstanceNftId",
747
+ "type": "uint96"
570
748
  }
571
749
  ],
572
- "stateMutability": "view",
750
+ "stateMutability": "nonpayable",
573
751
  "type": "function"
574
752
  },
575
753
  {
576
754
  "inputs": [
577
755
  {
578
756
  "internalType": "address",
579
- "name": "implementation",
757
+ "name": "newAuthority",
580
758
  "type": "address"
581
- },
582
- {
583
- "internalType": "address",
584
- "name": "activatedBy",
585
- "type": "address"
586
- },
587
- {
588
- "internalType": "bytes",
589
- "name": "data",
590
- "type": "bytes"
591
759
  }
592
760
  ],
593
- "name": "initialize",
761
+ "name": "setAuthority",
594
762
  "outputs": [],
595
763
  "stateMutability": "nonpayable",
596
764
  "type": "function"
597
765
  },
598
766
  {
599
767
  "inputs": [
600
- {
601
- "internalType": "Version",
602
- "name": "_version",
603
- "type": "uint24"
604
- }
605
- ],
606
- "name": "isInitialized",
607
- "outputs": [
608
768
  {
609
769
  "internalType": "bool",
610
- "name": "",
770
+ "name": "locked",
611
771
  "type": "bool"
612
772
  }
613
773
  ],
614
- "stateMutability": "view",
774
+ "name": "setInstanceLocked",
775
+ "outputs": [],
776
+ "stateMutability": "nonpayable",
615
777
  "type": "function"
616
778
  },
617
779
  {
618
- "inputs": [],
619
- "name": "linkToRegisteredNftId",
780
+ "inputs": [
781
+ {
782
+ "internalType": "Seconds",
783
+ "name": "stakeLockingPeriod",
784
+ "type": "uint40"
785
+ }
786
+ ],
787
+ "name": "setStakingLockingPeriod",
620
788
  "outputs": [],
621
789
  "stateMutability": "nonpayable",
622
790
  "type": "function"
@@ -624,27 +792,25 @@
624
792
  {
625
793
  "inputs": [
626
794
  {
627
- "internalType": "address",
628
- "name": "accessManagerAddress",
629
- "type": "address"
630
- },
631
- {
632
- "internalType": "address",
633
- "name": "instanceAddress",
634
- "type": "address"
635
- },
636
- {
637
- "internalType": "address",
638
- "name": "instanceReaderAddress",
639
- "type": "address"
640
- },
795
+ "internalType": "Amount",
796
+ "name": "maxStakedAmount",
797
+ "type": "uint96"
798
+ }
799
+ ],
800
+ "name": "setStakingMaxAmount",
801
+ "outputs": [],
802
+ "stateMutability": "nonpayable",
803
+ "type": "function"
804
+ },
805
+ {
806
+ "inputs": [
641
807
  {
642
- "internalType": "address",
643
- "name": "bundleManagerAddress",
644
- "type": "address"
808
+ "internalType": "UFixed",
809
+ "name": "rewardRate",
810
+ "type": "uint160"
645
811
  }
646
812
  ],
647
- "name": "setMasterInstance",
813
+ "name": "setStakingRewardRate",
648
814
  "outputs": [],
649
815
  "stateMutability": "nonpayable",
650
816
  "type": "function"
@@ -653,11 +819,16 @@
653
819
  "inputs": [
654
820
  {
655
821
  "internalType": "address",
656
- "name": "instanceReaderAddress",
822
+ "name": "target",
657
823
  "type": "address"
824
+ },
825
+ {
826
+ "internalType": "bool",
827
+ "name": "locked",
828
+ "type": "bool"
658
829
  }
659
830
  ],
660
- "name": "setMasterInstanceReader",
831
+ "name": "setTargetLocked",
661
832
  "outputs": [],
662
833
  "stateMutability": "nonpayable",
663
834
  "type": "function"
@@ -681,25 +852,35 @@
681
852
  "stateMutability": "view",
682
853
  "type": "function"
683
854
  },
855
+ {
856
+ "inputs": [],
857
+ "name": "upgradeInstanceReader",
858
+ "outputs": [],
859
+ "stateMutability": "nonpayable",
860
+ "type": "function"
861
+ },
684
862
  {
685
863
  "inputs": [
686
864
  {
687
865
  "internalType": "address",
688
- "name": "implementation",
689
- "type": "address"
690
- },
691
- {
692
- "internalType": "address",
693
- "name": "activatedBy",
866
+ "name": "instanceReaderAddress",
694
867
  "type": "address"
695
- },
868
+ }
869
+ ],
870
+ "name": "upgradeMasterInstanceReader",
871
+ "outputs": [],
872
+ "stateMutability": "nonpayable",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [
696
877
  {
697
878
  "internalType": "bytes",
698
879
  "name": "data",
699
880
  "type": "bytes"
700
881
  }
701
882
  ],
702
- "name": "upgrade",
883
+ "name": "upgradeVersionable",
703
884
  "outputs": [],
704
885
  "stateMutability": "nonpayable",
705
886
  "type": "function"
@@ -707,283 +888,165 @@
707
888
  {
708
889
  "inputs": [
709
890
  {
710
- "internalType": "NftId",
711
- "name": "instanceNftId",
891
+ "internalType": "Amount",
892
+ "name": "dipAmount",
893
+ "type": "uint96"
894
+ }
895
+ ],
896
+ "name": "withdrawStakingRewardReserves",
897
+ "outputs": [
898
+ {
899
+ "internalType": "Amount",
900
+ "name": "newBalance",
712
901
  "type": "uint96"
713
902
  }
714
903
  ],
715
- "name": "upgradeInstanceReader",
716
- "outputs": [],
717
904
  "stateMutability": "nonpayable",
718
905
  "type": "function"
719
906
  }
720
907
  ],
721
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614ac6806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063893d20e8116100f9578063cde749f411610097578063eb59c6b111610071578063eb59c6b11461055f578063edabac0314610570578063eeff428e14610581578063feec1190146105cc57600080fd5b8063cde749f414610521578063cf7a1d771461053b578063e338e27b1461054e57600080fd5b8063a745e3df116100d3578063a745e3df146104c8578063b3c65015146104db578063b88da759146104fb578063c22f980d1461050e57600080fd5b8063893d20e81461046b578063946dfcfe14610473578063a3f4df7e1461049a57600080fd5b80632b440bc9116101665780634f421333116101405780634f421333146104145780635ab1bd5314610427578063644c45e014610438578063872309c71461046357600080fd5b80632b440bc9146102c35780633bd516ef146102e85780634d459c90146102fb57600080fd5b8063103bd5da116101a2578063103bd5da1461023d578063138461e01461025057806317d7de7c1461025a5780631eff4b221461028e57600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d7366004614080565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102136105df565b60405162ffffff9091168152602001610202565b61022f610669565b604051610202929190614101565b6101f661024b3660046141d2565b6107eb565b6102586108d1565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b604051610202919061421d565b6102b57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6102586102f6366004614230565b610af3565b6103b761030936600461429d565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614a7183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f661042236600461429d565b611108565b6001546001600160a01b03166102d0565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610202565b6102b5600081565b6102d06111bb565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102b5565b6102816040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b6102586104d636600461434f565b6112d4565b6104e361142e565b6040516001600160401b039091168152602001610202565b6102136105093660046143f3565b61144f565b61025861051c366004614421565b6114a0565b6105296116aa565b60405160ff9091168152602001610202565b61025861054936600461434f565b61172d565b6004546001600160a01b03166102d0565b6006546001600160a01b03166102d0565b6005546001600160a01b03166102d0565b610589611836565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610202565b6102586105da36600461443e565b611efd565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610640573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610664919061445b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106ec6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107346111bb565b6001600160a01b0316815260200182600101805461075190614478565b80601f016020809104026020016040519081016040528092919081815260200182805461077d90614478565b80156107ca5780601f1061079f576101008083540402835291602001916107ca565b820191906000526020600020905b8154815290600101906020018083116107ad57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610831573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085591906144b2565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee906108869088908a906004016144cf565b602060405180830381865afa1580156108a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c79190614501565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610933573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109579190614501565b1561099e576001546040516316322c0f60e31b8152610995916001600160a01b03811691600160a01b9091046001600160601b03169060040161451c565b60405180910390fd5b6001546001600160a01b03166109c75760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a349190614501565b610a5c576040516372657a5160e01b81526001600160a01b0382166004820152602401610995565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca9190614549565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610afb6111bb565b6001600160a01b0316336001600160a01b031614610b2e5760405163700dd81160e01b8152336004820152602401610995565b6003546001600160a01b031615610b9f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610995565b6004546001600160a01b031615610c0a5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610995565b6006546001600160a01b031615610c7b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610995565b6001600160a01b038416610cdb5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610995565b6001600160a01b038316610d315760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610995565b6001600160a01b038216610d925760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610995565b6001600160a01b038116610df25760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610995565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6d91906144b2565b6001600160a01b031614610ed55760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610995565b610fad826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3a9190614549565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9c9190614549565b6001600160601b0390811691161490565b6110115760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610995565b611052816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f16573d6000803e3d6000fd5b6110b55760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610995565b5050600380546001600160a01b039687166001600160a01b031991821617909155600480549587169582169590951790945550600580549285169284169290921790915560068054919093169116179055565b600080600080516020614a7183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611190573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b49190614571565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611220573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112449190614501565b156112c457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156112a0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066491906144b2565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112f66105df565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135a919061458a565b600080516020614a518339815191528054600160401b900460ff168061138d575080546001600160401b03808416911610155b156113ab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113d685856121b5565b6113df83612454565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610664600080516020614a51833981519152546001600160401b031690565b6000600080516020614a718339815191526001018281548110611474576114746145a7565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006114b46001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611507573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261152f91908101906146d1565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159e91906144b2565b9050336001600160a01b038216146115cb576040516302613e9f60e51b8152336004820152602401610995565b6005546000906115e3906001600160a01b031661245c565b604051633ca904dd60e21b81529091506001600160a01b0382169063f2a41374906116149088908a9060040161451c565b600060405180830381600087803b15801561162e57600080fd5b505af1158015611642573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b15801561168a57600080fd5b505af115801561169e573d6000803e3d6000fd5b50505050505050505050565b60006116b46105df565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611709573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106649190614705565b600080516020614a518339815191528054600160401b810460ff1615906001600160401b03166000811580156117605750825b90506000826001600160401b0316600114801561177c5750303b155b90508115801561178a575080155b156117a85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156117d257845460ff60401b1916600160401b1785555b6117dc88886121b5565b6117e687876124ce565b831561182c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008080808033816118506001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa15801561189c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c09190614549565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0385169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611934573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611958919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156119ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d19190614705565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611a37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5b91906144b2565b6003549091508190611a75906001600160a01b031661245c565b604051637bee8e7d60e11b8152306004820152909b506001600160a01b038c169063f7dd1cfa90602401600060405180830381600087803b158015611ab957600080fd5b505af1158015611acd573d6000803e3d6000fd5b5050600454611ae792506001600160a01b0316905061245c565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611b4b57600080fd5b505af1158015611b5f573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038d81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611bae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bd69190810190614722565b508051600554909b50909150611bf4906001600160a01b031661245c565b604051633ca904dd60e21b81529099506001600160a01b038a169063f2a4137490611c259088908e9060040161451c565b600060405180830381600087803b158015611c3f57600080fd5b505af1158015611c53573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038c811660048301528e16925063f7bc431c9150602401600060405180830381600087803b158015611c9a57600080fd5b505af1158015611cae573d6000803e3d6000fd5b5050600654611cc892506001600160a01b0316905061245c565b604051630c861c2560e41b81526001600160a01b038e8116600483015287811660248301526001600160601b038d1660448301529199509089169063c861c25090606401600060405180830381600087803b158015611d2657600080fd5b505af1158015611d3a573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038b811660048301528e16925063422c9d009150602401600060405180830381600087803b158015611d8057600080fd5b505af1158015611d94573d6000803e3d6000fd5b50505050611da38c8c8a612609565b8b6001600160a01b031663b428b0b0611dba612656565b896040518363ffffffff1660e01b8152600401611dd89291906144cf565b6020604051808303816000875af1158015611df7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1b9190614501565b508b6001600160a01b031663b7d2b162611e33612656565b306040518363ffffffff1660e01b8152600401611e519291906144cf565b6020604051808303816000875af1158015611e70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e949190614501565b50604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39181900360800190a1505050505050509091929394565b611f056111bb565b6001600160a01b0316336001600160a01b031614611f385760405163700dd81160e01b8152336004820152602401610995565b6005546001600160a01b0316611fa55760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b6064820152608401610995565b6001600160a01b0381166120065760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610995565b6005546001600160a01b039081169082160361207d5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b6064820152608401610995565b600081905061212e816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e79190614549565b6004805460408051630322622f60e51b815290516001600160a01b039092169263644c45e09282820192602092908290030181865afa158015610f78573d6000803e3d6000fd5b6121925760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610995565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b6121bd6126ce565b600080516020614a7183398151915260006121ed600080516020614a51833981519152546001600160401b031690565b905060006121f96105df565b9050816001600160401b03166001036122265760028301805462ffffff191662ffffff8316179055612274565b600283015462ffffff908116908216116122745760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610995565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612328573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234c9190614785565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061141f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c46126ce565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166124c9576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614a518339815191528054600160401b810460ff1615906001600160401b03166000811580156125015750825b90506000826001600160401b0316600114801561251d5750303b155b90508115801561252b575080155b156125495760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561257357845460ff60401b1916600160401b1785555b6000808780602001905181019061258a91906147ac565b92509050612598818a612707565b6125a8631b4612f160e31b612794565b6125b8633fb125d560e21b612794565b5050831561260057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6126148383836127b9565b61261e8383612871565b6126288383612b9d565b6126328383612ea0565b61263c8383613200565b6126478383836134f1565b6126518383613975565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156126aa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610664919061458a565b600080516020614a5183398151915254600160401b900460ff1661270557604051631afcd79f60e31b815260040160405180910390fd5b565b600061273560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61273d6116aa565b60405160200161274e9291906147e6565b6040516020818303038152906040529050600061276a84613bf9565b9050600061277d8583603c848888613c6a565b61278d631b4612f160e31b612794565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60405163044ec4c360e41b81526001600160a01b038416906344ec4c30906127e590859060040161480b565b600060405180830381600087803b1580156127ff57600080fd5b505af1158015612813573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c309150612843908490600401614842565b600060405180830381600087803b15801561285d57600080fd5b505af1158015612600573d6000803e3d6000fd5b60006128856001546001600160a01b031690565b600154604051632efe011360e01b815260036004820152600060248201819052604482018190529293506001600160a01b039091169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156128fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612921919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299a9190614705565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a2891906144b2565b9050836001600160a01b031663b428b0b0612a41613d36565b836040518363ffffffff1660e01b8152600401612a5f9291906144cf565b6020604051808303816000875af1158015612a7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa29190614501565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b81600081518110612adf57612adf6145a7565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b9082906001908110612b1657612b166145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82612b47613d36565b6040518363ffffffff1660e01b8152600401612b649291906148c3565b600060405180830381600087803b158015612b7e57600080fd5b505af1158015612b92573d6000803e3d6000fd5b505050505050505050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c35919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612c8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cae9190614705565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa158015612d10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3491906144b2565b9050826001600160a01b031663b428b0b0612d4d613d72565b836040518363ffffffff1660e01b8152600401612d6b9291906144cf565b6020604051808303816000875af1158015612d8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dae9190614501565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b81600081518110612ded57612ded6145a7565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612e2457612e246145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82612e55613d72565b6040518363ffffffff1660e01b8152600401612e729291906148c3565b600060405180830381600087803b158015612e8c57600080fd5b505af115801561182c573d6000803e3d6000fd5b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612f14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f38919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fb19190614705565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015613016573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061303a91906144b2565b9050826001600160a01b031663b428b0b0613053613dae565b836040518363ffffffff1660e01b81526004016130719291906144cf565b6020604051808303816000875af1158015613090573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130b49190614501565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b816000815181106130f3576130f36145a7565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061312a5761312a6145a7565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b9082906002908110613161576131616145a7565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b9082906003908110613198576131986145a7565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b90829060049081106131cf576131cf6145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82612e55613dae565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015613274573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613298919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156132ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133119190614705565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c506f6c6963795365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa158015613375573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339991906144b2565b9050826001600160a01b031663b428b0b06133b2613dea565b836040518363ffffffff1660e01b81526004016133d09291906144cf565b6020604051808303816000875af11580156133ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134139190614501565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b81600081518110613452576134526145a7565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906001908110613489576134896145a7565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106134c0576134c06145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82612e55613dea565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015613565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613589919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156135de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136029190614705565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c42756e646c655365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa158015613666573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061368a91906144b2565b9050836001600160a01b031663b428b0b06136a3613e26565b836040518363ffffffff1660e01b81526004016136c19291906144cf565b6020604051808303816000875af11580156136e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137049190614501565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613741576137416145a7565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613778576137786145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826137a9613e26565b6040518363ffffffff1660e01b81526004016137c69291906148c3565b600060405180830381600087803b1580156137e057600080fd5b505af11580156137f4573d6000803e3d6000fd5b5060009250600591506138049050565b60405190808252806020026020018201604052801561382d578160200160208202803683370190505b509050630cc7e61460e01b8160008151811061384b5761384b6145a7565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613882576138826145a7565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b90829060029081106138b9576138b96145a7565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b90829060039081106138f0576138f06145a7565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613927576139276145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613958613e26565b6040518363ffffffff1660e01b8152600401611670929190614916565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156139e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a0d919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a869190614705565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015613aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b1091906144b2565b9050826001600160a01b031663b428b0b0613b29613e62565b836040518363ffffffff1660e01b8152600401613b479291906144cf565b6020604051808303816000875af1158015613b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b8a9190614501565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613bc857613bc86145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82612e55613e62565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c649190614549565b92915050565b613cab6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613cb58287613e9e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613d258382614991565b506126006303fb044760e21b612794565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6001600160a01b038216613ef45760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610995565b600280546001600160a01b0319166001600160a01b038416179055613f1881613f1c565b5050565b6001546001600160a01b031615613f555760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610995565b6001600160a01b038116613f7c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613fb25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610995565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561402c575060408051601f3d908101601f1916820190925261402991810190614501565b60015b6140545760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610995565b80613f185760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610995565b50565b60006020828403121561409257600080fd5b81356001600160e01b0319811681146140aa57600080fd5b9392505050565b60005b838110156140cc5781810151838201526020016140b4565b50506000910152565b600081518084526140ed8160208601602086016140b1565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161414560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261418b6101208401826140d5565b9050828103602084015261419f81856140d5565b95945050505050565b6001600160a01b038116811461407d57600080fd5b6001600160401b038116811461407d57600080fd5b6000806000606084860312156141e757600080fd5b83356141f2816141a8565b92506020840135614202816141bd565b91506040840135614212816141a8565b809150509250925092565b6020815260006140aa60208301846140d5565b6000806000806080858703121561424657600080fd5b8435614251816141a8565b93506020850135614261816141a8565b92506040850135614271816141a8565b91506060850135614281816141a8565b939692955090935050565b62ffffff8116811461407d57600080fd5b6000602082840312156142af57600080fd5b81356140aa8161428c565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156142f2576142f26142ba565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614320576143206142ba565b604052919050565b60006001600160401b03821115614341576143416142ba565b50601f01601f191660200190565b60008060006060848603121561436457600080fd5b833561436f816141a8565b9250602084013561437f816141a8565b915060408401356001600160401b0381111561439a57600080fd5b8401601f810186136143ab57600080fd5b80356143be6143b982614328565b6142f8565b8181528760208385010111156143d357600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561440557600080fd5b5035919050565b6001600160601b038116811461407d57600080fd5b60006020828403121561443357600080fd5b81356140aa8161440c565b60006020828403121561445057600080fd5b81356140aa816141a8565b60006020828403121561446d57600080fd5b81516140aa8161428c565b600181811c9082168061448c57607f821691505b6020821081036144ac57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156144c457600080fd5b81516140aa816141a8565b6001600160401b039290921682526001600160a01b0316602082015260400190565b805180151581146124c957600080fd5b60006020828403121561451357600080fd5b6140aa826144f1565b6001600160a01b039290921682526001600160601b0316602082015260400190565b80516124c98161440c565b60006020828403121561455b57600080fd5b81516140aa8161440c565b80516124c9816141a8565b60006020828403121561458357600080fd5b5051919050565b60006020828403121561459c57600080fd5b81516140aa816141bd565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461407d57600080fd5b80516124c9816145bd565b600082601f8301126145e857600080fd5b81516145f66143b982614328565b81815284602083860101111561460b57600080fd5b61461c8260208301602087016140b1565b949350505050565b600060e0828403121561463657600080fd5b61463e6142d0565b90506146498261453e565b81526146576020830161453e565b6020820152614668604083016145cc565b6040820152614679606083016144f1565b606082015261468a60808301614566565b608082015261469b60a08301614566565b60a082015260c08201516001600160401b038111156146b957600080fd5b6146c5848285016145d7565b60c08301525092915050565b6000602082840312156146e357600080fd5b81516001600160401b038111156146f957600080fd5b61461c84828501614624565b60006020828403121561471757600080fd5b81516140aa816145bd565b6000806040838503121561473557600080fd5b82516001600160401b038082111561474c57600080fd5b61475886838701614624565b9350602085015191508082111561476e57600080fd5b5061477b858286016145d7565b9150509250929050565b60006020828403121561479757600080fd5b815164ffffffffff811681146140aa57600080fd5b600080604083850312156147bf57600080fd5b82516147ca816141a8565b60208401519092506147db816141a8565b809150509250929050565b6040815260006147f960408301856140d5565b905060ff831660208301529392505050565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b60608201526000608082016140aa565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b60608201526000608082016140aa565b600081518084526020808501945080840160005b838110156148b85781516001600160e01b03191687529582019590820190600101614892565b509495945050505050565b6060815260006148eb606083016008815267496e7374616e636560c01b602082015260400190565b82810360208401526148fd818661487e565b9150506001600160401b03831660408301529392505050565b6060815260006148eb60608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f82111561265157600081815260208120601f850160051c8101602086101561496a5750805b601f850160051c820191505b8181101561498957828155600101614976565b505050505050565b81516001600160401b038111156149aa576149aa6142ba565b6149be816149b88454614478565b84614943565b602080601f8311600181146149f357600084156149db5750858301515b600019600386901b1c1916600185901b178555614989565b600085815260208120601f198616915b82811015614a2257888601518255948401946001909101908401614a03565b5085821015614a405787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220b43e936e000ba023d7e024518a1812045ee97f9307f3ccbc9c0e8fd5a8eb7f4164736f6c63430008140033",
722
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063893d20e8116100f9578063cde749f411610097578063eb59c6b111610071578063eb59c6b11461055f578063edabac0314610570578063eeff428e14610581578063feec1190146105cc57600080fd5b8063cde749f414610521578063cf7a1d771461053b578063e338e27b1461054e57600080fd5b8063a745e3df116100d3578063a745e3df146104c8578063b3c65015146104db578063b88da759146104fb578063c22f980d1461050e57600080fd5b8063893d20e81461046b578063946dfcfe14610473578063a3f4df7e1461049a57600080fd5b80632b440bc9116101665780634f421333116101405780634f421333146104145780635ab1bd5314610427578063644c45e014610438578063872309c71461046357600080fd5b80632b440bc9146102c35780633bd516ef146102e85780634d459c90146102fb57600080fd5b8063103bd5da116101a2578063103bd5da1461023d578063138461e01461025057806317d7de7c1461025a5780631eff4b221461028e57600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d7366004614080565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102136105df565b60405162ffffff9091168152602001610202565b61022f610669565b604051610202929190614101565b6101f661024b3660046141d2565b6107eb565b6102586108d1565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b604051610202919061421d565b6102b57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6102586102f6366004614230565b610af3565b6103b761030936600461429d565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614a7183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f661042236600461429d565b611108565b6001546001600160a01b03166102d0565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610202565b6102b5600081565b6102d06111bb565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102b5565b6102816040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b6102586104d636600461434f565b6112d4565b6104e361142e565b6040516001600160401b039091168152602001610202565b6102136105093660046143f3565b61144f565b61025861051c366004614421565b6114a0565b6105296116aa565b60405160ff9091168152602001610202565b61025861054936600461434f565b61172d565b6004546001600160a01b03166102d0565b6006546001600160a01b03166102d0565b6005546001600160a01b03166102d0565b610589611836565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610202565b6102586105da36600461443e565b611efd565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610640573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610664919061445b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106ec6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107346111bb565b6001600160a01b0316815260200182600101805461075190614478565b80601f016020809104026020016040519081016040528092919081815260200182805461077d90614478565b80156107ca5780601f1061079f576101008083540402835291602001916107ca565b820191906000526020600020905b8154815290600101906020018083116107ad57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610831573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085591906144b2565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee906108869088908a906004016144cf565b602060405180830381865afa1580156108a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c79190614501565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610933573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109579190614501565b1561099e576001546040516316322c0f60e31b8152610995916001600160a01b03811691600160a01b9091046001600160601b03169060040161451c565b60405180910390fd5b6001546001600160a01b03166109c75760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a349190614501565b610a5c576040516372657a5160e01b81526001600160a01b0382166004820152602401610995565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca9190614549565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610afb6111bb565b6001600160a01b0316336001600160a01b031614610b2e5760405163700dd81160e01b8152336004820152602401610995565b6003546001600160a01b031615610b9f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610995565b6004546001600160a01b031615610c0a5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610995565b6006546001600160a01b031615610c7b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610995565b6001600160a01b038416610cdb5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610995565b6001600160a01b038316610d315760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610995565b6001600160a01b038216610d925760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610995565b6001600160a01b038116610df25760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610995565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6d91906144b2565b6001600160a01b031614610ed55760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610995565b610fad826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3a9190614549565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9c9190614549565b6001600160601b0390811691161490565b6110115760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610995565b611052816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f16573d6000803e3d6000fd5b6110b55760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610995565b5050600380546001600160a01b039687166001600160a01b031991821617909155600480549587169582169590951790945550600580549285169284169290921790915560068054919093169116179055565b600080600080516020614a7183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611190573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b49190614571565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611220573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112449190614501565b156112c457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156112a0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066491906144b2565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112f66105df565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135a919061458a565b600080516020614a518339815191528054600160401b900460ff168061138d575080546001600160401b03808416911610155b156113ab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113d685856121b5565b6113df83612454565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610664600080516020614a51833981519152546001600160401b031690565b6000600080516020614a718339815191526001018281548110611474576114746145a7565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006114b46001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611507573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261152f91908101906146d1565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159e91906144b2565b9050336001600160a01b038216146115cb576040516302613e9f60e51b8152336004820152602401610995565b6005546000906115e3906001600160a01b031661245c565b604051633ca904dd60e21b81529091506001600160a01b0382169063f2a41374906116149088908a9060040161451c565b600060405180830381600087803b15801561162e57600080fd5b505af1158015611642573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b15801561168a57600080fd5b505af115801561169e573d6000803e3d6000fd5b50505050505050505050565b60006116b46105df565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611709573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106649190614705565b600080516020614a518339815191528054600160401b810460ff1615906001600160401b03166000811580156117605750825b90506000826001600160401b0316600114801561177c5750303b155b90508115801561178a575080155b156117a85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156117d257845460ff60401b1916600160401b1785555b6117dc88886121b5565b6117e687876124ce565b831561182c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008080808033816118506001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa15801561189c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c09190614549565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0385169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611934573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611958919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156119ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d19190614705565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611a37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5b91906144b2565b6003549091508190611a75906001600160a01b031661245c565b604051637bee8e7d60e11b8152306004820152909b506001600160a01b038c169063f7dd1cfa90602401600060405180830381600087803b158015611ab957600080fd5b505af1158015611acd573d6000803e3d6000fd5b5050600454611ae792506001600160a01b0316905061245c565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611b4b57600080fd5b505af1158015611b5f573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038d81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611bae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bd69190810190614722565b508051600554909b50909150611bf4906001600160a01b031661245c565b604051633ca904dd60e21b81529099506001600160a01b038a169063f2a4137490611c259088908e9060040161451c565b600060405180830381600087803b158015611c3f57600080fd5b505af1158015611c53573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038c811660048301528e16925063f7bc431c9150602401600060405180830381600087803b158015611c9a57600080fd5b505af1158015611cae573d6000803e3d6000fd5b5050600654611cc892506001600160a01b0316905061245c565b604051630c861c2560e41b81526001600160a01b038e8116600483015287811660248301526001600160601b038d1660448301529199509089169063c861c25090606401600060405180830381600087803b158015611d2657600080fd5b505af1158015611d3a573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038b811660048301528e16925063422c9d009150602401600060405180830381600087803b158015611d8057600080fd5b505af1158015611d94573d6000803e3d6000fd5b50505050611da38c8c8a612609565b8b6001600160a01b031663b428b0b0611dba612656565b896040518363ffffffff1660e01b8152600401611dd89291906144cf565b6020604051808303816000875af1158015611df7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1b9190614501565b508b6001600160a01b031663b7d2b162611e33612656565b306040518363ffffffff1660e01b8152600401611e519291906144cf565b6020604051808303816000875af1158015611e70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e949190614501565b50604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39181900360800190a1505050505050509091929394565b611f056111bb565b6001600160a01b0316336001600160a01b031614611f385760405163700dd81160e01b8152336004820152602401610995565b6005546001600160a01b0316611fa55760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b6064820152608401610995565b6001600160a01b0381166120065760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610995565b6005546001600160a01b039081169082160361207d5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b6064820152608401610995565b600081905061212e816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e79190614549565b6004805460408051630322622f60e51b815290516001600160a01b039092169263644c45e09282820192602092908290030181865afa158015610f78573d6000803e3d6000fd5b6121925760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610995565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b6121bd6126ce565b600080516020614a7183398151915260006121ed600080516020614a51833981519152546001600160401b031690565b905060006121f96105df565b9050816001600160401b03166001036122265760028301805462ffffff191662ffffff8316179055612274565b600283015462ffffff908116908216116122745760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610995565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612328573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234c9190614785565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061141f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c46126ce565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166124c9576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614a518339815191528054600160401b810460ff1615906001600160401b03166000811580156125015750825b90506000826001600160401b0316600114801561251d5750303b155b90508115801561252b575080155b156125495760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561257357845460ff60401b1916600160401b1785555b6000808780602001905181019061258a91906147ac565b92509050612598818a612707565b6125a8631b4612f160e31b612794565b6125b8633fb125d560e21b612794565b5050831561260057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6126148383836127b9565b61261e8383612871565b6126288383612b9d565b6126328383612ea0565b61263c8383613200565b6126478383836134f1565b6126518383613975565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156126aa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610664919061458a565b600080516020614a5183398151915254600160401b900460ff1661270557604051631afcd79f60e31b815260040160405180910390fd5b565b600061273560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61273d6116aa565b60405160200161274e9291906147e6565b6040516020818303038152906040529050600061276a84613bf9565b9050600061277d8583603c848888613c6a565b61278d631b4612f160e31b612794565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60405163044ec4c360e41b81526001600160a01b038416906344ec4c30906127e590859060040161480b565b600060405180830381600087803b1580156127ff57600080fd5b505af1158015612813573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c309150612843908490600401614842565b600060405180830381600087803b15801561285d57600080fd5b505af1158015612600573d6000803e3d6000fd5b60006128856001546001600160a01b031690565b600154604051632efe011360e01b815260036004820152600060248201819052604482018190529293506001600160a01b039091169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156128fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612921919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299a9190614705565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a2891906144b2565b9050836001600160a01b031663b428b0b0612a41613d36565b836040518363ffffffff1660e01b8152600401612a5f9291906144cf565b6020604051808303816000875af1158015612a7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa29190614501565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b81600081518110612adf57612adf6145a7565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b9082906001908110612b1657612b166145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82612b47613d36565b6040518363ffffffff1660e01b8152600401612b649291906148c3565b600060405180830381600087803b158015612b7e57600080fd5b505af1158015612b92573d6000803e3d6000fd5b505050505050505050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c35919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612c8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cae9190614705565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa158015612d10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3491906144b2565b9050826001600160a01b031663b428b0b0612d4d613d72565b836040518363ffffffff1660e01b8152600401612d6b9291906144cf565b6020604051808303816000875af1158015612d8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dae9190614501565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b81600081518110612ded57612ded6145a7565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612e2457612e246145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82612e55613d72565b6040518363ffffffff1660e01b8152600401612e729291906148c3565b600060405180830381600087803b158015612e8c57600080fd5b505af115801561182c573d6000803e3d6000fd5b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612f14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f38919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fb19190614705565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015613016573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061303a91906144b2565b9050826001600160a01b031663b428b0b0613053613dae565b836040518363ffffffff1660e01b81526004016130719291906144cf565b6020604051808303816000875af1158015613090573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130b49190614501565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b816000815181106130f3576130f36145a7565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061312a5761312a6145a7565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b9082906002908110613161576131616145a7565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b9082906003908110613198576131986145a7565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b90829060049081106131cf576131cf6145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82612e55613dae565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015613274573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613298919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156132ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133119190614705565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c506f6c6963795365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa158015613375573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339991906144b2565b9050826001600160a01b031663b428b0b06133b2613dea565b836040518363ffffffff1660e01b81526004016133d09291906144cf565b6020604051808303816000875af11580156133ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134139190614501565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b81600081518110613452576134526145a7565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906001908110613489576134896145a7565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106134c0576134c06145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82612e55613dea565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015613565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613589919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156135de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136029190614705565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c42756e646c655365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa158015613666573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061368a91906144b2565b9050836001600160a01b031663b428b0b06136a3613e26565b836040518363ffffffff1660e01b81526004016136c19291906144cf565b6020604051808303816000875af11580156136e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137049190614501565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613741576137416145a7565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613778576137786145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826137a9613e26565b6040518363ffffffff1660e01b81526004016137c69291906148c3565b600060405180830381600087803b1580156137e057600080fd5b505af11580156137f4573d6000803e3d6000fd5b5060009250600591506138049050565b60405190808252806020026020018201604052801561382d578160200160208202803683370190505b509050630cc7e61460e01b8160008151811061384b5761384b6145a7565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613882576138826145a7565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b90829060029081106138b9576138b96145a7565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b90829060039081106138f0576138f06145a7565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613927576139276145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613958613e26565b6040518363ffffffff1660e01b8152600401611670929190614916565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156139e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a0d919061445b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a869190614705565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015613aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b1091906144b2565b9050826001600160a01b031663b428b0b0613b29613e62565b836040518363ffffffff1660e01b8152600401613b479291906144cf565b6020604051808303816000875af1158015613b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b8a9190614501565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613bc857613bc86145a7565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82612e55613e62565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c649190614549565b92915050565b613cab6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613cb58287613e9e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613d258382614991565b506126006303fb044760e21b612794565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161268d565b6001600160a01b038216613ef45760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610995565b600280546001600160a01b0319166001600160a01b038416179055613f1881613f1c565b5050565b6001546001600160a01b031615613f555760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610995565b6001600160a01b038116613f7c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613fb25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610995565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561402c575060408051601f3d908101601f1916820190925261402991810190614501565b60015b6140545760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610995565b80613f185760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610995565b50565b60006020828403121561409257600080fd5b81356001600160e01b0319811681146140aa57600080fd5b9392505050565b60005b838110156140cc5781810151838201526020016140b4565b50506000910152565b600081518084526140ed8160208601602086016140b1565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161414560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261418b6101208401826140d5565b9050828103602084015261419f81856140d5565b95945050505050565b6001600160a01b038116811461407d57600080fd5b6001600160401b038116811461407d57600080fd5b6000806000606084860312156141e757600080fd5b83356141f2816141a8565b92506020840135614202816141bd565b91506040840135614212816141a8565b809150509250925092565b6020815260006140aa60208301846140d5565b6000806000806080858703121561424657600080fd5b8435614251816141a8565b93506020850135614261816141a8565b92506040850135614271816141a8565b91506060850135614281816141a8565b939692955090935050565b62ffffff8116811461407d57600080fd5b6000602082840312156142af57600080fd5b81356140aa8161428c565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156142f2576142f26142ba565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614320576143206142ba565b604052919050565b60006001600160401b03821115614341576143416142ba565b50601f01601f191660200190565b60008060006060848603121561436457600080fd5b833561436f816141a8565b9250602084013561437f816141a8565b915060408401356001600160401b0381111561439a57600080fd5b8401601f810186136143ab57600080fd5b80356143be6143b982614328565b6142f8565b8181528760208385010111156143d357600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561440557600080fd5b5035919050565b6001600160601b038116811461407d57600080fd5b60006020828403121561443357600080fd5b81356140aa8161440c565b60006020828403121561445057600080fd5b81356140aa816141a8565b60006020828403121561446d57600080fd5b81516140aa8161428c565b600181811c9082168061448c57607f821691505b6020821081036144ac57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156144c457600080fd5b81516140aa816141a8565b6001600160401b039290921682526001600160a01b0316602082015260400190565b805180151581146124c957600080fd5b60006020828403121561451357600080fd5b6140aa826144f1565b6001600160a01b039290921682526001600160601b0316602082015260400190565b80516124c98161440c565b60006020828403121561455b57600080fd5b81516140aa8161440c565b80516124c9816141a8565b60006020828403121561458357600080fd5b5051919050565b60006020828403121561459c57600080fd5b81516140aa816141bd565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461407d57600080fd5b80516124c9816145bd565b600082601f8301126145e857600080fd5b81516145f66143b982614328565b81815284602083860101111561460b57600080fd5b61461c8260208301602087016140b1565b949350505050565b600060e0828403121561463657600080fd5b61463e6142d0565b90506146498261453e565b81526146576020830161453e565b6020820152614668604083016145cc565b6040820152614679606083016144f1565b606082015261468a60808301614566565b608082015261469b60a08301614566565b60a082015260c08201516001600160401b038111156146b957600080fd5b6146c5848285016145d7565b60c08301525092915050565b6000602082840312156146e357600080fd5b81516001600160401b038111156146f957600080fd5b61461c84828501614624565b60006020828403121561471757600080fd5b81516140aa816145bd565b6000806040838503121561473557600080fd5b82516001600160401b038082111561474c57600080fd5b61475886838701614624565b9350602085015191508082111561476e57600080fd5b5061477b858286016145d7565b9150509250929050565b60006020828403121561479757600080fd5b815164ffffffffff811681146140aa57600080fd5b600080604083850312156147bf57600080fd5b82516147ca816141a8565b60208401519092506147db816141a8565b809150509250929050565b6040815260006147f960408301856140d5565b905060ff831660208301529392505050565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b60608201526000608082016140aa565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b60608201526000608082016140aa565b600081518084526020808501945080840160005b838110156148b85781516001600160e01b03191687529582019590820190600101614892565b509495945050505050565b6060815260006148eb606083016008815267496e7374616e636560c01b602082015260400190565b82810360208401526148fd818661487e565b9150506001600160401b03831660408301529392505050565b6060815260006148eb60608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f82111561265157600081815260208120601f850160051c8101602086101561496a5750805b601f850160051c820191505b8181101561498957828155600101614976565b505050505050565b81516001600160401b038111156149aa576149aa6142ba565b6149be816149b88454614478565b84614943565b602080601f8311600181146149f357600084156149db5750858301515b600019600386901b1c1916600185901b178555614989565b600085815260208120601f198616915b82811015614a2257888601518255948401946001909101908401614a03565b5085821015614a405787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220b43e936e000ba023d7e024518a1812045ee97f9307f3ccbc9c0e8fd5a8eb7f4164736f6c63430008140033",
908
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613e80806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c806376b707b711610109578063a2356b3a1161009e578063c26517251161006e578063c265172514610451578063d127388714610459578063e52ba1cb14610493578063edabac03146104a6575f80fd5b8063a2356b3a1461041b578063ada9652e1461042e578063b68d180914610442578063bf7e214f14610449575f80fd5b8063872309c7116100d9578063872309c7146103d8578063893d20e8146103df5780638fb36037146103e757806396cdfa3f14610408575f80fd5b806376b707b7146103855780637a9e5e4b1461039f5780637de45f13146103b257806386892313146103c5575f80fd5b8063254f68661161017f5780635ab1bd531161014f5780635ab1bd5314610310578063644c45e0146103355780636a778e73146103525780636c741e7814610365575f80fd5b8063254f6866146102c45780632d764ef8146102d7578063329d6e74146102ea57806349bb9e4b146102fd575f80fd5b806311f77843116101ba57806311f7784314610252578063138461e0146102675780631eff4b221461028757806322f3e2d4146102bc575f80fd5b806301ffc9a7146101e05780630d8e6e2c146102215780630fec111c1461023d575b5f80fd5b61020c6101ee3660046135f4565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296104b7565b60405162ffffff9091168152602001610218565b61024561053e565b6040516102189190613650565b6102656102603660046136f8565b6106f8565b005b61026f610800565b6040516001600160601b039091168152602001610218565b6102ae7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61020c61080a565b6102656102d23660046136f8565b610881565b6102656102e5366004613725565b6109fc565b6102656102f8366004613824565b610ad3565b61026561030b366004613855565b610c1d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b5f80516020613deb833981519152546001600160601b031661026f565b61026f6103603660046136f8565b610d19565b61036d6118c1565b6040516001600160401b039091168152602001610218565b61038d61194d565b60405160ff9091168152602001610218565b6102656103ad3660046136f8565b6119b5565b6102656103c03660046138b5565b611a3b565b6102656103d33660046138dd565b611b0d565b6102ae5f81565b61031d611be3565b6103ef611d14565b6040516001600160e01b03199091168152602001610218565b610265610416366004613914565b611d49565b61026561042936600461392f565b611df2565b6102ae5f80516020613deb83398151915281565b600a61038d565b61031d611f0f565b610265611f2a565b61046c610467366004613914565b611fe2565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61026f6104a13660046138b5565b612461565b6008546001600160a01b031661031d565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610515573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610539919061395b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060e9190613988565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610656611be3565b6001600160a01b03168152602001826001018054610673906139a3565b80601f016020809104026020016040519081016040528092919081815260200182805461069f906139a3565b80156106ea5780601f106106c1576101008083540402835291602001916106ea565b820191905f5260205f20905b8154815290600101906020018083116106cd57829003601f168201915b505050505081525091505090565b610704335b5f36612576565b6107153361071061194d565b61266c565b5f6107286001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561076c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107909190613988565b60035460405163c26efb0560e01b81526001600160601b03831660048201526001600160a01b03858116602483015292935091169063c26efb05906044015b5f604051808303815f87803b1580156107e6575f80fd5b505af11580156107f8573d5f803e3d5ffd5b505050505050565b5f61053930612968565b5f610813611f0f565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610857573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087b91906139e6565b15905090565b610889611be3565b6001600160a01b0316336001600160a01b0316146108c15760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b03166108ea576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661091157604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b039081169082160361094057604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa15801561098e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b29190613a01565b6001600160a01b0316146109d95760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610a05336106fd565b610a113361071061194d565b5f610a246001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8c9190613988565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e7906044016107cf565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610af56104b7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b579190613a30565b5f80516020613e2b8339815191528054600160401b900460ff1680610b89575080546001600160401b03808416911610155b15610ba75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bd183612b61565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020613e2b8339815191528054600160401b810460ff1615906001600160401b03165f81158015610c4e5750825b90505f826001600160401b03166001148015610c695750303b155b905081158015610c77575080155b15610c955760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cbf57845460ff60401b1916600160401b1785555b610cc98787612b69565b8315610d1057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610d22611be3565b6001600160a01b0316336001600160a01b031614610d555760405163086391f760e31b81523360048201526024016108b8565b6007546001600160a01b031615610d7f57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b031615610da95760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b031615610dd35760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b031615610dfd5760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216610e24576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e899190613a01565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eec9190613a01565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f539190613a01565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fba9190613a01565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ffd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110219190613a01565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611064573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110889190613a01565b9050806001600160a01b038b166110b2576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b0389166110d8576040516295661560e31b815260040160405180910390fd5b6001600160a01b0387166110ff5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166111265760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b03831661114d57604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b038116611174576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d49190613a01565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611219573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123d9190613a01565b6001600160a01b031614611264576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c49190613a01565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611309573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132d9190613a01565b6001600160a01b0316146113545760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611390573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b49190613a01565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141d9190613a01565b6001600160a01b031614611444576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611480573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a49190613a01565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061150d9190613a01565b6001600160a01b03161461153457604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061159e9190613a01565b6001600160a01b0316146115c557604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561160b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162f9190613a01565b6001600160a01b03161461165657604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561169c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c09190613a01565b6001600160a01b0316146116e7576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611836611be3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af115801561187f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118a69190810190613abc565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600a6118e661194d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611929573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105399190613a30565b5f611956611f0f565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611991573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105399190613b8c565b336119be611f0f565b6001600160a01b0316816001600160a01b0316146119f95760405162d1953b60e31b81526001600160a01b03821660048201526024016108b8565b816001600160a01b03163b5f03611a2e576040516361798f2f60e11b81526001600160a01b03831660048201526024016108b8565b611a3782612d02565b5050565b611a44336106fd565b611a503361071061194d565b5f611a636001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611aa7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611acb9190613988565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b906044016107cf565b611b16336106fd565b611b223361071061194d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b869190613a01565b604051638689231360e01b81526001600160a01b038581166004830152841515602483015291909116906386892313906044015b5f604051808303815f87803b158015611bd1575f80fd5b505af1158015610d10573d5f803e3d5ffd5b5f805f80516020613deb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7391906139e6565b15611cfe576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611cd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf89190613a01565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020613e0b83398151915280545f9190600160a01b900460ff16611d3b575f611cf8565b638fb3603760e01b91505090565b611d52336106fd565b611d5e3361071061194d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc29190613a01565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024016107cf565b611dfb336106fd565b611e073361071061194d565b5f611e1a6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e829190613988565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af1158015611ee5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f099190613988565b50505050565b5f80516020613e0b833981519152546001600160a01b031690565b611f33336106fd565b611f3f3361071061194d565b600854339081905f90611f5a906001600160a01b0316612d62565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015611f9e575f80fd5b505af1158015611fb0573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401611bba565b5f80611fed336106fd565b335f611ff7612dd1565b9050612004818387612eea565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612056573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261207d9190810190613abc565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120f79190613a01565b9050816001600160a01b031663a4fe8bff61211a6001546001600160a01b031690565b878461212461194d565b6040516001600160e01b031960e087901b1681526001600160a01b03948516600482015292841660248401529216604482015260ff90911660648201526084015f604051808303815f87803b15801561217b575f80fd5b505af115801561218d573d5f803e3d5ffd5b505050506121a36001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220c9190613a01565b6001600160a01b03161461222257612222613ba7565b612298856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612261573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122859190613b8c565b61228d61194d565b60ff90811691161490565b6122a4576122a4613ba7565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af415801561230f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123339190613bbb565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af415801561237a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239e9190613a01565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b1580156123f8575f80fd5b505af115801561240a573d5f803e3d5ffd5b5050604080516001600160601b03881681526001600160a01b03891660208201527f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa8935001905060405180910390a1505050915091565b5f61246b336106fd565b6124773361071061194d565b5f61248a6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156124ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f29190613988565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af115801561254b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061256f9190613988565b5050919050565b5f80516020613e0b8339815191525f806125ae612591611f0f565b87306125a060045f8a8c613bd6565b6125a991613bfd565b613017565b91509150816107f85763ffffffff81161561264957825460ff60a01b1916600160a01b1783556125dc611f0f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161260b93929190613c35565b5f604051808303815f87803b158015612622575f80fd5b505af1158015612634573d5f803e3d5ffd5b5050845460ff60a01b19168555506107f89050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108b8565b5f61267f6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa1580156126c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ec9190613988565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612745573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061276991906139e6565b15612792576040516308afbeb960e31b81526001600160a01b03851660048201526024016108b8565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa1580156127de573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128059190810190613abc565b60400151905060ff8116600a1461284357604051632e87cd2360e11b81526001600160a01b038616600482015260ff821660248201526044016108b8565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015612893573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128b791906139e6565b15612961575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061291d9190613b8c565b905060ff808216908616146107f857604051632f251c8760e21b81526001600160601b038416600482015260ff8087166024830152821660448201526064016108b8565b5050505050565b5f805f80516020613deb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156129d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129f891906139e6565b15612a245780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108b8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612a76573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9a91906139e6565b612ac25760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108b8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b389190613988565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101dc61311f565b5f80516020613e2b8339815191528054600160401b810460ff1615906001600160401b03165f81158015612b9a5750825b90505f826001600160401b03166001148015612bb55750303b155b905081158015612bc3575080155b15612be15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612c0b57845460ff60401b1916600160401b1785555b5f8087806020019051810190612c219190613c74565b91509150612c3082828b613157565b612c3a60026131f9565b600280546001600160a01b0319166001600160a01b0392909216919091179055612c6460036131f9565b600380546001600160a01b0319166001600160a01b0392909216919091179055612c8e600b6131f9565b600480546001600160a01b0319166001600160a01b0392909216919091179055612cbe6320323db160e01b613290565b50508315610d1057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d07565b5f80516020613e0b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116612dcc576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f80612e4f60065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4a9190613a01565b612d62565b600654909150612e67906001600160a01b0316612d62565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015612ed0575f80fd5b505af1158015612ee2573d5f803e3d5ffd5b505050505090565b6007545f908190612f03906001600160a01b0316612d62565b600b549091506001600160a01b038083169163d6d0a65b918891612f279116612d62565b600954612f3c906001600160a01b0316612d62565b600a54612f51906001600160a01b0316612d62565b600854612f66906001600160a01b0316612d62565b6001546001600160a01b0316612f7a61194d565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b158015612ff8575f80fd5b505af115801561300a573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516130859190613ca1565b5f60405180830381855afa9150503d805f81146130bd576040519150601f19603f3d011682016040523d82523d5f602084013e6130c2565b606091505b509150915081156131145760408151106130f457808060200190518101906130ea9190613cb7565b9094509250613114565b6020815110613114578080602001905181019061311191906139e6565b93505b505094509492505050565b5f80516020613e2b83398151915254600160401b900460ff1661315557604051631afcd79f60e31b815260040160405180910390fd5b565b61315f61311f565b6131676132c3565b6131e48383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131cc9190613988565b60085f8660405180602001604052805f8152506132d3565b6131f463daf9067160e01b613290565b505050565b5f61320c6001546001600160a01b031690565b6001600160a01b031663d39e60438361322361194d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061328a9190613a01565b92915050565b61329861311f565b6132c0816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6132cb61311f565b61315561341a565b6132db61311f565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613331573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061335591906139e6565b61337d5760405163cf6935e560e01b81526001600160a01b03881660048201526024016108b8565b61338687613448565b6133908683613459565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016133ff8382613d30565b50613410634a531f3360e01b613290565b5050505050505050565b61342261311f565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b61345061311f565b6132c0816134cf565b61346161311f565b6134696134e0565b61347282613528565b6001600160a01b0381166134995760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613deb83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6134d761311f565b6132c081612d02565b6134e861311f565b6131556301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61353061311f565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135aa91906139e6565b6135d25760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b8565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215613604575f80fd5b81356001600160e01b03198116811461361b575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613698608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526136dc610100840182613622565b949350505050565b6001600160a01b03811681146132c0575f80fd5b5f60208284031215613708575f80fd5b813561361b816136e4565b64ffffffffff811681146132c0575f80fd5b5f60208284031215613735575f80fd5b813561361b81613713565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561377657613776613740565b60405290565b604051601f8201601f191681016001600160401b03811182821017156137a4576137a4613740565b604052919050565b5f6001600160401b038211156137c4576137c4613740565b50601f01601f191660200190565b5f82601f8301126137e1575f80fd5b81356137f46137ef826137ac565b61377c565b818152846020838601011115613808575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613834575f80fd5b81356001600160401b03811115613849575f80fd5b6136dc848285016137d2565b5f8060408385031215613866575f80fd5b8235613871816136e4565b915060208301356001600160401b0381111561388b575f80fd5b613897858286016137d2565b9150509250929050565b6001600160601b03811681146132c0575f80fd5b5f602082840312156138c5575f80fd5b813561361b816138a1565b80151581146132c0575f80fd5b5f80604083850312156138ee575f80fd5b82356138f9816136e4565b91506020830135613909816138d0565b809150509250929050565b5f60208284031215613924575f80fd5b813561361b816138d0565b5f8060408385031215613940575f80fd5b823561394b816136e4565b91506020830135613909816138a1565b5f6020828403121561396b575f80fd5b815162ffffff8116811461361b575f80fd5b8051612dcc816138a1565b5f60208284031215613998575f80fd5b815161361b816138a1565b600181811c908216806139b757607f821691505b6020821081036139d557634e487b7160e01b5f52602260045260245ffd5b50919050565b8051612dcc816138d0565b5f602082840312156139f6575f80fd5b815161361b816138d0565b5f60208284031215613a11575f80fd5b815161361b816136e4565b6001600160401b03811681146132c0575f80fd5b5f60208284031215613a40575f80fd5b815161361b81613a1c565b8051612dcc816136e4565b60ff811681146132c0575f80fd5b8051612dcc81613a56565b5f82601f830112613a7e575f80fd5b8151613a8c6137ef826137ac565b818152846020838601011115613aa0575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215613acc575f80fd5b81516001600160401b03811115613ae1575f80fd5b820160e08185031215613af2575f80fd5b613afa613754565b613b038261397d565b8152613b116020830161397d565b6020820152613b2260408301613a64565b6040820152613b33606083016139db565b6060820152613b4460808301613a4b565b6080820152613b5560a08301613a4b565b60a082015260c08201516001600160401b03811115613b72575f80fd5b613b7e86828501613a6f565b60c083015250949350505050565b5f60208284031215613b9c575f80fd5b815161361b81613a56565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215613bcb575f80fd5b815161361b81613713565b5f8085851115613be4575f80fd5b83861115613bf0575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613c2e576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215613c85575f80fd5b8251613c90816136e4565b6020840151909250613909816136e4565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613cc8575f80fd5b8251613cd3816138d0565b602084015190925063ffffffff81168114613909575f80fd5b601f8211156131f457805f5260205f20601f840160051c81016020851015613d115750805b601f840160051c820191505b81811015612961575f8155600101613d1d565b81516001600160401b03811115613d4957613d49613740565b613d5d81613d5784546139a3565b84613cec565b6020601f821160018114613d8f575f8315613d785750848201515b5f19600385901b1c1916600184901b178455612961565b5f84815260208120601f198516915b82811015613dbe5787850151825560209485019460019092019101613d9e565b5084821015613ddb57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212206e8e129390b63beec428db392e6e0b73a7cff7359e69d4a51e5bbb7040f0909164736f6c634300081a0033",
909
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c806376b707b711610109578063a2356b3a1161009e578063c26517251161006e578063c265172514610451578063d127388714610459578063e52ba1cb14610493578063edabac03146104a6575f80fd5b8063a2356b3a1461041b578063ada9652e1461042e578063b68d180914610442578063bf7e214f14610449575f80fd5b8063872309c7116100d9578063872309c7146103d8578063893d20e8146103df5780638fb36037146103e757806396cdfa3f14610408575f80fd5b806376b707b7146103855780637a9e5e4b1461039f5780637de45f13146103b257806386892313146103c5575f80fd5b8063254f68661161017f5780635ab1bd531161014f5780635ab1bd5314610310578063644c45e0146103355780636a778e73146103525780636c741e7814610365575f80fd5b8063254f6866146102c45780632d764ef8146102d7578063329d6e74146102ea57806349bb9e4b146102fd575f80fd5b806311f77843116101ba57806311f7784314610252578063138461e0146102675780631eff4b221461028757806322f3e2d4146102bc575f80fd5b806301ffc9a7146101e05780630d8e6e2c146102215780630fec111c1461023d575b5f80fd5b61020c6101ee3660046135f4565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296104b7565b60405162ffffff9091168152602001610218565b61024561053e565b6040516102189190613650565b6102656102603660046136f8565b6106f8565b005b61026f610800565b6040516001600160601b039091168152602001610218565b6102ae7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61020c61080a565b6102656102d23660046136f8565b610881565b6102656102e5366004613725565b6109fc565b6102656102f8366004613824565b610ad3565b61026561030b366004613855565b610c1d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b5f80516020613deb833981519152546001600160601b031661026f565b61026f6103603660046136f8565b610d19565b61036d6118c1565b6040516001600160401b039091168152602001610218565b61038d61194d565b60405160ff9091168152602001610218565b6102656103ad3660046136f8565b6119b5565b6102656103c03660046138b5565b611a3b565b6102656103d33660046138dd565b611b0d565b6102ae5f81565b61031d611be3565b6103ef611d14565b6040516001600160e01b03199091168152602001610218565b610265610416366004613914565b611d49565b61026561042936600461392f565b611df2565b6102ae5f80516020613deb83398151915281565b600a61038d565b61031d611f0f565b610265611f2a565b61046c610467366004613914565b611fe2565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61026f6104a13660046138b5565b612461565b6008546001600160a01b031661031d565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610515573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610539919061395b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060e9190613988565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610656611be3565b6001600160a01b03168152602001826001018054610673906139a3565b80601f016020809104026020016040519081016040528092919081815260200182805461069f906139a3565b80156106ea5780601f106106c1576101008083540402835291602001916106ea565b820191905f5260205f20905b8154815290600101906020018083116106cd57829003601f168201915b505050505081525091505090565b610704335b5f36612576565b6107153361071061194d565b61266c565b5f6107286001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561076c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107909190613988565b60035460405163c26efb0560e01b81526001600160601b03831660048201526001600160a01b03858116602483015292935091169063c26efb05906044015b5f604051808303815f87803b1580156107e6575f80fd5b505af11580156107f8573d5f803e3d5ffd5b505050505050565b5f61053930612968565b5f610813611f0f565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610857573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087b91906139e6565b15905090565b610889611be3565b6001600160a01b0316336001600160a01b0316146108c15760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b03166108ea576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661091157604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b039081169082160361094057604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa15801561098e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b29190613a01565b6001600160a01b0316146109d95760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610a05336106fd565b610a113361071061194d565b5f610a246001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8c9190613988565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e7906044016107cf565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610af56104b7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b579190613a30565b5f80516020613e2b8339815191528054600160401b900460ff1680610b89575080546001600160401b03808416911610155b15610ba75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bd183612b61565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020613e2b8339815191528054600160401b810460ff1615906001600160401b03165f81158015610c4e5750825b90505f826001600160401b03166001148015610c695750303b155b905081158015610c77575080155b15610c955760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cbf57845460ff60401b1916600160401b1785555b610cc98787612b69565b8315610d1057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610d22611be3565b6001600160a01b0316336001600160a01b031614610d555760405163086391f760e31b81523360048201526024016108b8565b6007546001600160a01b031615610d7f57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b031615610da95760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b031615610dd35760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b031615610dfd5760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216610e24576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e899190613a01565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eec9190613a01565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f539190613a01565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fba9190613a01565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ffd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110219190613a01565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611064573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110889190613a01565b9050806001600160a01b038b166110b2576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b0389166110d8576040516295661560e31b815260040160405180910390fd5b6001600160a01b0387166110ff5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166111265760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b03831661114d57604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b038116611174576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d49190613a01565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611219573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123d9190613a01565b6001600160a01b031614611264576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c49190613a01565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611309573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132d9190613a01565b6001600160a01b0316146113545760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611390573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b49190613a01565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141d9190613a01565b6001600160a01b031614611444576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611480573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a49190613a01565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061150d9190613a01565b6001600160a01b03161461153457604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061159e9190613a01565b6001600160a01b0316146115c557604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561160b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162f9190613a01565b6001600160a01b03161461165657604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561169c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c09190613a01565b6001600160a01b0316146116e7576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611836611be3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af115801561187f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118a69190810190613abc565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600a6118e661194d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611929573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105399190613a30565b5f611956611f0f565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611991573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105399190613b8c565b336119be611f0f565b6001600160a01b0316816001600160a01b0316146119f95760405162d1953b60e31b81526001600160a01b03821660048201526024016108b8565b816001600160a01b03163b5f03611a2e576040516361798f2f60e11b81526001600160a01b03831660048201526024016108b8565b611a3782612d02565b5050565b611a44336106fd565b611a503361071061194d565b5f611a636001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611aa7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611acb9190613988565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b906044016107cf565b611b16336106fd565b611b223361071061194d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b869190613a01565b604051638689231360e01b81526001600160a01b038581166004830152841515602483015291909116906386892313906044015b5f604051808303815f87803b158015611bd1575f80fd5b505af1158015610d10573d5f803e3d5ffd5b5f805f80516020613deb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7391906139e6565b15611cfe576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611cd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf89190613a01565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020613e0b83398151915280545f9190600160a01b900460ff16611d3b575f611cf8565b638fb3603760e01b91505090565b611d52336106fd565b611d5e3361071061194d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc29190613a01565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024016107cf565b611dfb336106fd565b611e073361071061194d565b5f611e1a6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e829190613988565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af1158015611ee5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f099190613988565b50505050565b5f80516020613e0b833981519152546001600160a01b031690565b611f33336106fd565b611f3f3361071061194d565b600854339081905f90611f5a906001600160a01b0316612d62565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015611f9e575f80fd5b505af1158015611fb0573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401611bba565b5f80611fed336106fd565b335f611ff7612dd1565b9050612004818387612eea565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612056573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261207d9190810190613abc565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120f79190613a01565b9050816001600160a01b031663a4fe8bff61211a6001546001600160a01b031690565b878461212461194d565b6040516001600160e01b031960e087901b1681526001600160a01b03948516600482015292841660248401529216604482015260ff90911660648201526084015f604051808303815f87803b15801561217b575f80fd5b505af115801561218d573d5f803e3d5ffd5b505050506121a36001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220c9190613a01565b6001600160a01b03161461222257612222613ba7565b612298856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612261573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122859190613b8c565b61228d61194d565b60ff90811691161490565b6122a4576122a4613ba7565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af415801561230f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123339190613bbb565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af415801561237a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239e9190613a01565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b1580156123f8575f80fd5b505af115801561240a573d5f803e3d5ffd5b5050604080516001600160601b03881681526001600160a01b03891660208201527f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa8935001905060405180910390a1505050915091565b5f61246b336106fd565b6124773361071061194d565b5f61248a6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156124ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f29190613988565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af115801561254b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061256f9190613988565b5050919050565b5f80516020613e0b8339815191525f806125ae612591611f0f565b87306125a060045f8a8c613bd6565b6125a991613bfd565b613017565b91509150816107f85763ffffffff81161561264957825460ff60a01b1916600160a01b1783556125dc611f0f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161260b93929190613c35565b5f604051808303815f87803b158015612622575f80fd5b505af1158015612634573d5f803e3d5ffd5b5050845460ff60a01b19168555506107f89050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108b8565b5f61267f6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa1580156126c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ec9190613988565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612745573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061276991906139e6565b15612792576040516308afbeb960e31b81526001600160a01b03851660048201526024016108b8565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa1580156127de573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128059190810190613abc565b60400151905060ff8116600a1461284357604051632e87cd2360e11b81526001600160a01b038616600482015260ff821660248201526044016108b8565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015612893573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128b791906139e6565b15612961575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061291d9190613b8c565b905060ff808216908616146107f857604051632f251c8760e21b81526001600160601b038416600482015260ff8087166024830152821660448201526064016108b8565b5050505050565b5f805f80516020613deb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156129d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129f891906139e6565b15612a245780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108b8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612a76573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9a91906139e6565b612ac25760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108b8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b389190613988565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101dc61311f565b5f80516020613e2b8339815191528054600160401b810460ff1615906001600160401b03165f81158015612b9a5750825b90505f826001600160401b03166001148015612bb55750303b155b905081158015612bc3575080155b15612be15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612c0b57845460ff60401b1916600160401b1785555b5f8087806020019051810190612c219190613c74565b91509150612c3082828b613157565b612c3a60026131f9565b600280546001600160a01b0319166001600160a01b0392909216919091179055612c6460036131f9565b600380546001600160a01b0319166001600160a01b0392909216919091179055612c8e600b6131f9565b600480546001600160a01b0319166001600160a01b0392909216919091179055612cbe6320323db160e01b613290565b50508315610d1057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d07565b5f80516020613e0b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116612dcc576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f80612e4f60065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4a9190613a01565b612d62565b600654909150612e67906001600160a01b0316612d62565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015612ed0575f80fd5b505af1158015612ee2573d5f803e3d5ffd5b505050505090565b6007545f908190612f03906001600160a01b0316612d62565b600b549091506001600160a01b038083169163d6d0a65b918891612f279116612d62565b600954612f3c906001600160a01b0316612d62565b600a54612f51906001600160a01b0316612d62565b600854612f66906001600160a01b0316612d62565b6001546001600160a01b0316612f7a61194d565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b158015612ff8575f80fd5b505af115801561300a573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516130859190613ca1565b5f60405180830381855afa9150503d805f81146130bd576040519150601f19603f3d011682016040523d82523d5f602084013e6130c2565b606091505b509150915081156131145760408151106130f457808060200190518101906130ea9190613cb7565b9094509250613114565b6020815110613114578080602001905181019061311191906139e6565b93505b505094509492505050565b5f80516020613e2b83398151915254600160401b900460ff1661315557604051631afcd79f60e31b815260040160405180910390fd5b565b61315f61311f565b6131676132c3565b6131e48383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131cc9190613988565b60085f8660405180602001604052805f8152506132d3565b6131f463daf9067160e01b613290565b505050565b5f61320c6001546001600160a01b031690565b6001600160a01b031663d39e60438361322361194d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061328a9190613a01565b92915050565b61329861311f565b6132c0816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6132cb61311f565b61315561341a565b6132db61311f565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613331573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061335591906139e6565b61337d5760405163cf6935e560e01b81526001600160a01b03881660048201526024016108b8565b61338687613448565b6133908683613459565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016133ff8382613d30565b50613410634a531f3360e01b613290565b5050505050505050565b61342261311f565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b61345061311f565b6132c0816134cf565b61346161311f565b6134696134e0565b61347282613528565b6001600160a01b0381166134995760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613deb83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6134d761311f565b6132c081612d02565b6134e861311f565b6131556301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61353061311f565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135aa91906139e6565b6135d25760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b8565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215613604575f80fd5b81356001600160e01b03198116811461361b575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613698608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526136dc610100840182613622565b949350505050565b6001600160a01b03811681146132c0575f80fd5b5f60208284031215613708575f80fd5b813561361b816136e4565b64ffffffffff811681146132c0575f80fd5b5f60208284031215613735575f80fd5b813561361b81613713565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561377657613776613740565b60405290565b604051601f8201601f191681016001600160401b03811182821017156137a4576137a4613740565b604052919050565b5f6001600160401b038211156137c4576137c4613740565b50601f01601f191660200190565b5f82601f8301126137e1575f80fd5b81356137f46137ef826137ac565b61377c565b818152846020838601011115613808575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613834575f80fd5b81356001600160401b03811115613849575f80fd5b6136dc848285016137d2565b5f8060408385031215613866575f80fd5b8235613871816136e4565b915060208301356001600160401b0381111561388b575f80fd5b613897858286016137d2565b9150509250929050565b6001600160601b03811681146132c0575f80fd5b5f602082840312156138c5575f80fd5b813561361b816138a1565b80151581146132c0575f80fd5b5f80604083850312156138ee575f80fd5b82356138f9816136e4565b91506020830135613909816138d0565b809150509250929050565b5f60208284031215613924575f80fd5b813561361b816138d0565b5f8060408385031215613940575f80fd5b823561394b816136e4565b91506020830135613909816138a1565b5f6020828403121561396b575f80fd5b815162ffffff8116811461361b575f80fd5b8051612dcc816138a1565b5f60208284031215613998575f80fd5b815161361b816138a1565b600181811c908216806139b757607f821691505b6020821081036139d557634e487b7160e01b5f52602260045260245ffd5b50919050565b8051612dcc816138d0565b5f602082840312156139f6575f80fd5b815161361b816138d0565b5f60208284031215613a11575f80fd5b815161361b816136e4565b6001600160401b03811681146132c0575f80fd5b5f60208284031215613a40575f80fd5b815161361b81613a1c565b8051612dcc816136e4565b60ff811681146132c0575f80fd5b8051612dcc81613a56565b5f82601f830112613a7e575f80fd5b8151613a8c6137ef826137ac565b818152846020838601011115613aa0575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215613acc575f80fd5b81516001600160401b03811115613ae1575f80fd5b820160e08185031215613af2575f80fd5b613afa613754565b613b038261397d565b8152613b116020830161397d565b6020820152613b2260408301613a64565b6040820152613b33606083016139db565b6060820152613b4460808301613a4b565b6080820152613b5560a08301613a4b565b60a082015260c08201516001600160401b03811115613b72575f80fd5b613b7e86828501613a6f565b60c083015250949350505050565b5f60208284031215613b9c575f80fd5b815161361b81613a56565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215613bcb575f80fd5b815161361b81613713565b5f8085851115613be4575f80fd5b83861115613bf0575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613c2e576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215613c85575f80fd5b8251613c90816136e4565b6020840151909250613909816136e4565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613cc8575f80fd5b8251613cd3816138d0565b602084015190925063ffffffff81168114613909575f80fd5b601f8211156131f457805f5260205f20601f840160051c81016020851015613d115750805b601f840160051c820191505b81811015612961575f8155600101613d1d565b81516001600160401b03811115613d4957613d49613740565b613d5d81613d5784546139a3565b84613cec565b6020601f821160018114613d8f575f8315613d785750848201515b5f19600385901b1c1916600184901b178455612961565b5f84815260208120601f198516915b82811015613dbe5787850151825560209485019460019092019101613d9e565b5084821015613ddb57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212206e8e129390b63beec428db392e6e0b73a7cff7359e69d4a51e5bbb7040f0909164736f6c634300081a0033",
723
910
  "linkReferences": {
724
- "contracts/types/Blocknumber.sol": {
725
- "BlocknumberLib": [
726
- {
727
- "length": 20,
728
- "start": 4752
729
- }
730
- ]
731
- },
732
- "contracts/types/NftId.sol": {
733
- "NftIdLib": [
911
+ "contracts/shared/ContractLib.sol": {
912
+ "ContractLib": [
734
913
  {
735
914
  "length": 20,
736
- "start": 2611
915
+ "start": 13263
737
916
  },
738
917
  {
739
918
  "length": 20,
740
- "start": 4896
919
+ "start": 13860
741
920
  }
742
921
  ]
743
922
  },
744
- "contracts/types/RoleId.sol": {
745
- "RoleIdLib": [
746
- {
747
- "length": 20,
748
- "start": 10153
749
- },
923
+ "contracts/staking/TargetManagerLib.sol": {
924
+ "TargetManagerLib": [
750
925
  {
751
926
  "length": 20,
752
- "start": 16010
927
+ "start": 9120
753
928
  },
754
929
  {
755
930
  "length": 20,
756
- "start": 16070
757
- },
931
+ "start": 9227
932
+ }
933
+ ]
934
+ },
935
+ "contracts/type/NftId.sol": {
936
+ "NftIdLib": [
758
937
  {
759
938
  "length": 20,
760
- "start": 16130
939
+ "start": 1659
761
940
  },
762
941
  {
763
942
  "length": 20,
764
- "start": 16190
943
+ "start": 7405
765
944
  },
766
945
  {
767
946
  "length": 20,
768
- "start": 16250
947
+ "start": 10211
769
948
  },
770
949
  {
771
950
  "length": 20,
772
- "start": 16310
951
+ "start": 10866
773
952
  }
774
953
  ]
775
954
  },
776
- "contracts/types/Timestamp.sol": {
777
- "TimestampLib": [
955
+ "contracts/type/RoleId.sol": {
956
+ "RoleIdLib": [
778
957
  {
779
958
  "length": 20,
780
- "start": 9256
959
+ "start": 6554
781
960
  }
782
961
  ]
783
962
  },
784
- "contracts/types/Version.sol": {
963
+ "contracts/type/Version.sol": {
785
964
  "VersionLib": [
786
965
  {
787
966
  "length": 20,
788
- "start": 1856
789
- },
790
- {
791
- "length": 20,
792
- "start": 5136
793
- },
794
- {
795
- "length": 20,
796
- "start": 6153
797
- },
798
- {
799
- "length": 20,
800
- "start": 6708
801
- },
802
- {
803
- "length": 20,
804
- "start": 6829
805
- },
806
- {
807
- "length": 20,
808
- "start": 10749
809
- },
810
- {
811
- "length": 20,
812
- "start": 10870
813
- },
814
- {
815
- "length": 20,
816
- "start": 11537
817
- },
818
- {
819
- "length": 20,
820
- "start": 11658
821
- },
822
- {
823
- "length": 20,
824
- "start": 12308
825
- },
826
- {
827
- "length": 20,
828
- "start": 12429
829
- },
830
- {
831
- "length": 20,
832
- "start": 13172
833
- },
834
- {
835
- "length": 20,
836
- "start": 13293
837
- },
838
- {
839
- "length": 20,
840
- "start": 13925
841
- },
842
- {
843
- "length": 20,
844
- "start": 14046
967
+ "start": 1459
845
968
  },
846
969
  {
847
970
  "length": 20,
848
- "start": 15081
849
- },
971
+ "start": 2987
972
+ }
973
+ ],
974
+ "VersionPartLib": [
850
975
  {
851
976
  "length": 20,
852
- "start": 15202
977
+ "start": 10545
853
978
  }
854
979
  ]
855
980
  }
856
981
  },
857
982
  "deployedLinkReferences": {
858
- "contracts/types/Blocknumber.sol": {
859
- "BlocknumberLib": [
860
- {
861
- "length": 20,
862
- "start": 4438
863
- }
864
- ]
865
- },
866
- "contracts/types/NftId.sol": {
867
- "NftIdLib": [
983
+ "contracts/shared/ContractLib.sol": {
984
+ "ContractLib": [
868
985
  {
869
986
  "length": 20,
870
- "start": 2297
987
+ "start": 13049
871
988
  },
872
989
  {
873
990
  "length": 20,
874
- "start": 4582
991
+ "start": 13646
875
992
  }
876
993
  ]
877
994
  },
878
- "contracts/types/RoleId.sol": {
879
- "RoleIdLib": [
880
- {
881
- "length": 20,
882
- "start": 9839
883
- },
995
+ "contracts/staking/TargetManagerLib.sol": {
996
+ "TargetManagerLib": [
884
997
  {
885
998
  "length": 20,
886
- "start": 15696
999
+ "start": 8906
887
1000
  },
888
1001
  {
889
1002
  "length": 20,
890
- "start": 15756
891
- },
1003
+ "start": 9013
1004
+ }
1005
+ ]
1006
+ },
1007
+ "contracts/type/NftId.sol": {
1008
+ "NftIdLib": [
892
1009
  {
893
1010
  "length": 20,
894
- "start": 15816
1011
+ "start": 1445
895
1012
  },
896
1013
  {
897
1014
  "length": 20,
898
- "start": 15876
1015
+ "start": 7191
899
1016
  },
900
1017
  {
901
1018
  "length": 20,
902
- "start": 15936
1019
+ "start": 9997
903
1020
  },
904
1021
  {
905
1022
  "length": 20,
906
- "start": 15996
1023
+ "start": 10652
907
1024
  }
908
1025
  ]
909
1026
  },
910
- "contracts/types/Timestamp.sol": {
911
- "TimestampLib": [
1027
+ "contracts/type/RoleId.sol": {
1028
+ "RoleIdLib": [
912
1029
  {
913
1030
  "length": 20,
914
- "start": 8942
1031
+ "start": 6340
915
1032
  }
916
1033
  ]
917
1034
  },
918
- "contracts/types/Version.sol": {
1035
+ "contracts/type/Version.sol": {
919
1036
  "VersionLib": [
920
1037
  {
921
1038
  "length": 20,
922
- "start": 1542
923
- },
924
- {
925
- "length": 20,
926
- "start": 4822
927
- },
928
- {
929
- "length": 20,
930
- "start": 5839
931
- },
932
- {
933
- "length": 20,
934
- "start": 6394
935
- },
936
- {
937
- "length": 20,
938
- "start": 6515
939
- },
940
- {
941
- "length": 20,
942
- "start": 10435
943
- },
944
- {
945
- "length": 20,
946
- "start": 10556
947
- },
948
- {
949
- "length": 20,
950
- "start": 11223
951
- },
952
- {
953
- "length": 20,
954
- "start": 11344
955
- },
956
- {
957
- "length": 20,
958
- "start": 11994
959
- },
960
- {
961
- "length": 20,
962
- "start": 12115
963
- },
964
- {
965
- "length": 20,
966
- "start": 12858
967
- },
968
- {
969
- "length": 20,
970
- "start": 12979
971
- },
972
- {
973
- "length": 20,
974
- "start": 13611
975
- },
976
- {
977
- "length": 20,
978
- "start": 13732
1039
+ "start": 1245
979
1040
  },
980
1041
  {
981
1042
  "length": 20,
982
- "start": 14767
983
- },
1043
+ "start": 2773
1044
+ }
1045
+ ],
1046
+ "VersionPartLib": [
984
1047
  {
985
1048
  "length": 20,
986
- "start": 14888
1049
+ "start": 10331
987
1050
  }
988
1051
  ]
989
1052
  }