@etherisc/gif-next 0.0.2-f619be3-760 → 0.0.2-f61d0d1-146

Sign up to get free protection for your applications and to get access to all the features.
Files changed (701) hide show
  1. package/README.md +448 -26
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1046 -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 +814 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1665 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +912 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1100 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2026 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2452 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +568 -920
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +990 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +664 -1102
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2646 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1236 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IBundle.sol/IBundle.json} +2 -2
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/{treasury/ITreasury.sol/ITreasury.json → module/IRisk.sol/IRisk.json} +2 -2
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1013 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +772 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1293 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +832 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1241 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1625 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +828 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +871 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +752 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1523 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +856 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +639 -0
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1075 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1007 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +480 -0
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1375 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +816 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +903 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +776 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +295 -2
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1049 -27
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/component/IComponent.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1566 -119
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/{registry/IRegistry.sol/IOwnable.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/ContractLib.sol/ITargetHelper.json} +4 -9
  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/shared/IComponent.sol/IComponent.json +611 -0
  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/shared/IKeyValueStore.sol/IKeyValueStore.json +510 -0
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/lifecycle → shared}/ILifecycle.sol/ILifecycle.json +65 -53
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  245. package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +57 -76
  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 +4 -0
  249. package/artifacts/contracts/{instance/component/ComponentModule.sol/ComponentModule.json → shared/IRegisterable.sol/IRegisterable.json} +165 -135
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +5 -19
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  253. package/artifacts/contracts/shared/IService.sol/IService.json +399 -0
  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/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/{instance/lifecycle/ILifecycle.sol/ILifecycleModule.json → shared/Lifecycle.sol/Lifecycle.json} +50 -58
  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 +4 -0
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  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 +4 -0
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +378 -0
  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 +4 -0
  273. package/artifacts/contracts/shared/Service.sol/Service.json +453 -0
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  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 +1617 -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 +2025 -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 +804 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -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 +254 -0
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -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 +180 -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 +274 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +47 -0
  363. package/contracts/authorization/AccessAdmin.sol +780 -0
  364. package/contracts/authorization/AccessAdminLib.sol +396 -0
  365. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  366. package/contracts/authorization/Authorization.sol +174 -0
  367. package/contracts/authorization/IAccess.sol +67 -0
  368. package/contracts/authorization/IAccessAdmin.sol +144 -0
  369. package/contracts/authorization/IAuthorization.sol +27 -0
  370. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  371. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  372. package/contracts/distribution/BasicDistribution.sol +141 -0
  373. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  374. package/contracts/distribution/Distribution.sol +247 -0
  375. package/contracts/distribution/DistributionService.sol +435 -0
  376. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  377. package/contracts/distribution/IDistributionComponent.sol +45 -0
  378. package/contracts/distribution/IDistributionService.sol +109 -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 +385 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BundleSet.sol +130 -0
  393. package/contracts/instance/IInstance.sol +142 -22
  394. package/contracts/instance/IInstanceService.sol +113 -0
  395. package/contracts/instance/Instance.sol +327 -53
  396. package/contracts/instance/InstanceAdmin.sol +383 -0
  397. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  398. package/contracts/instance/InstanceReader.sol +632 -0
  399. package/contracts/instance/InstanceService.sol +512 -0
  400. package/contracts/instance/InstanceServiceManager.sol +39 -0
  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/base/Cloneable.sol +28 -0
  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 +21 -0
  410. package/contracts/instance/module/IComponents.sol +62 -0
  411. package/contracts/instance/module/IDistribution.sol +54 -0
  412. package/contracts/instance/module/IPolicy.sol +105 -0
  413. package/contracts/instance/module/IRisk.sol +16 -0
  414. package/contracts/mock/Dip.sol +2 -2
  415. package/contracts/oracle/BasicOracle.sol +45 -0
  416. package/contracts/oracle/BasicOracleAuthorization.sol +53 -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 +82 -0
  425. package/contracts/pool/BundleService.sol +394 -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 +164 -0
  430. package/contracts/pool/Pool.sol +343 -0
  431. package/contracts/pool/PoolLib.sol +359 -0
  432. package/contracts/pool/PoolService.sol +593 -0
  433. package/contracts/pool/PoolServiceManager.sol +39 -0
  434. package/contracts/product/ApplicationService.sol +299 -0
  435. package/contracts/product/ApplicationServiceManager.sol +38 -0
  436. package/contracts/product/BasicProduct.sol +49 -0
  437. package/contracts/product/BasicProductAuthorization.sol +63 -0
  438. package/contracts/product/ClaimService.sol +639 -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 +102 -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 +645 -0
  447. package/contracts/product/PolicyServiceLib.sol +139 -0
  448. package/contracts/product/PolicyServiceManager.sol +39 -0
  449. package/contracts/product/PricingService.sol +306 -0
  450. package/contracts/product/PricingServiceManager.sol +39 -0
  451. package/contracts/product/Product.sol +472 -0
  452. package/contracts/product/RiskService.sol +157 -0
  453. package/contracts/product/RiskServiceManager.sol +39 -0
  454. package/contracts/registry/ChainNft.sol +175 -61
  455. package/contracts/registry/IRegistry.sol +148 -45
  456. package/contracts/registry/IRegistryService.sol +62 -0
  457. package/contracts/registry/IRelease.sol +29 -0
  458. package/contracts/registry/ITransferInterceptor.sol +6 -0
  459. package/contracts/registry/Registry.sol +681 -133
  460. package/contracts/registry/RegistryAdmin.sol +188 -0
  461. package/contracts/registry/RegistryAuthorization.sol +284 -0
  462. package/contracts/registry/RegistryService.sol +241 -0
  463. package/contracts/registry/RegistryServiceManager.sol +53 -0
  464. package/contracts/registry/ReleaseAdmin.sol +195 -0
  465. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  466. package/contracts/registry/ReleaseRegistry.sol +520 -0
  467. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  468. package/contracts/registry/TokenRegistry.sol +314 -0
  469. package/contracts/shared/Component.sol +210 -0
  470. package/contracts/shared/ComponentService.sol +678 -0
  471. package/contracts/shared/ComponentServiceManager.sol +38 -0
  472. package/contracts/shared/ContractLib.sol +311 -0
  473. package/contracts/shared/IComponent.sol +58 -0
  474. package/contracts/shared/IComponentService.sol +110 -0
  475. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  476. package/contracts/shared/IKeyValueStore.sol +54 -0
  477. package/contracts/shared/ILifecycle.sol +31 -0
  478. package/contracts/shared/INftOwnable.sol +25 -0
  479. package/contracts/shared/IPolicyHolder.sol +35 -0
  480. package/contracts/shared/IRegisterable.sol +36 -0
  481. package/contracts/shared/IRegistryLinked.sol +11 -0
  482. package/contracts/shared/IService.sol +23 -0
  483. package/contracts/shared/InitializableERC165.sol +35 -0
  484. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  485. package/contracts/shared/KeyValueStore.sol +131 -0
  486. package/contracts/shared/Lifecycle.sol +88 -0
  487. package/contracts/shared/NftIdSet.sol +65 -0
  488. package/contracts/shared/NftOwnable.sol +127 -0
  489. package/contracts/shared/PolicyHolder.sol +63 -0
  490. package/contracts/shared/Registerable.sol +106 -0
  491. package/contracts/shared/RegistryLinked.sol +38 -0
  492. package/contracts/shared/Service.sol +67 -0
  493. package/contracts/shared/TokenHandler.sol +342 -0
  494. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  495. package/contracts/staking/IStaking.sol +195 -0
  496. package/contracts/staking/IStakingService.sol +170 -0
  497. package/contracts/staking/Staking.sol +605 -0
  498. package/contracts/staking/StakingLib.sol +281 -0
  499. package/contracts/staking/StakingLifecycle.sol +23 -0
  500. package/contracts/staking/StakingManager.sol +52 -0
  501. package/contracts/staking/StakingReader.sol +199 -0
  502. package/contracts/staking/StakingService.sol +468 -0
  503. package/contracts/staking/StakingServiceManager.sol +45 -0
  504. package/contracts/staking/StakingStore.sol +606 -0
  505. package/contracts/staking/TargetManagerLib.sol +211 -0
  506. package/contracts/type/AddressSet.sol +58 -0
  507. package/contracts/type/Amount.sol +150 -0
  508. package/contracts/{types → type}/Blocknumber.sol +27 -3
  509. package/contracts/type/ClaimId.sol +80 -0
  510. package/contracts/type/DistributorType.sol +55 -0
  511. package/contracts/type/Fee.sol +66 -0
  512. package/contracts/type/Key32.sol +50 -0
  513. package/contracts/type/Key32Set.sol +62 -0
  514. package/contracts/type/NftId.sol +85 -0
  515. package/contracts/type/NftIdSet.sol +62 -0
  516. package/contracts/type/ObjectType.sol +307 -0
  517. package/contracts/type/PayoutId.sol +82 -0
  518. package/contracts/type/Referral.sol +90 -0
  519. package/contracts/type/RequestId.sol +75 -0
  520. package/contracts/type/RiskId.sol +75 -0
  521. package/contracts/type/RoleId.sol +180 -0
  522. package/contracts/type/Seconds.sol +105 -0
  523. package/contracts/type/Selector.sol +107 -0
  524. package/contracts/{types → type}/StateId.sol +64 -6
  525. package/contracts/type/String.sol +65 -0
  526. package/contracts/{types → type}/Timestamp.sol +51 -12
  527. package/contracts/{types → type}/UFixed.sol +81 -29
  528. package/contracts/type/Version.sol +159 -0
  529. package/contracts/upgradeability/IVersionable.sol +53 -0
  530. package/contracts/upgradeability/ProxyManager.sol +234 -0
  531. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +20 -0
  532. package/contracts/upgradeability/Versionable.sol +62 -0
  533. package/package.json +17 -7
  534. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  535. package/artifacts/contracts/components/Component.sol/Component.json +0 -205
  536. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  537. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  538. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  539. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  540. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  542. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  543. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -328
  544. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  545. package/artifacts/contracts/components/Product.sol/Product.json +0 -346
  546. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  547. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  548. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  549. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  550. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  552. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  554. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  556. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  558. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  560. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  562. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  564. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  566. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  568. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  570. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  572. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  576. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  578. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  580. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  581. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  582. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  583. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  584. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  585. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  586. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  587. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  588. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  589. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  590. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  591. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  592. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  593. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  594. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  595. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  596. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  597. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  598. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  599. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  600. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  601. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  602. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  603. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  604. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  605. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  606. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  607. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  608. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  609. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  610. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  611. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  612. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  613. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  614. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  615. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  616. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
  617. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  619. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  620. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  621. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  622. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  624. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  625. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  626. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  627. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  628. package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
  629. package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
  630. package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
  631. package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
  632. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
  633. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
  634. package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
  635. package/artifacts/contracts/mock/Usdc.sol/USDC.json +0 -338
  636. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  637. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  638. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  639. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  640. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  641. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  642. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  643. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  644. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  645. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  646. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  647. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  648. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  649. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  650. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -92
  651. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  653. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  655. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -174
  657. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  658. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  659. package/contracts/components/Component.sol +0 -77
  660. package/contracts/components/IPool.sol +0 -15
  661. package/contracts/components/IProduct.sol +0 -16
  662. package/contracts/components/Pool.sol +0 -52
  663. package/contracts/components/Product.sol +0 -89
  664. package/contracts/experiment/errors/Require.sol +0 -38
  665. package/contracts/experiment/errors/Revert.sol +0 -44
  666. package/contracts/experiment/inheritance/A.sol +0 -53
  667. package/contracts/experiment/inheritance/B.sol +0 -28
  668. package/contracts/experiment/inheritance/C.sol +0 -34
  669. package/contracts/experiment/inheritance/IA.sol +0 -13
  670. package/contracts/experiment/inheritance/IB.sol +0 -10
  671. package/contracts/experiment/inheritance/IC.sol +0 -12
  672. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  673. package/contracts/experiment/statemachine/ISM.sol +0 -25
  674. package/contracts/experiment/statemachine/README.md +0 -112
  675. package/contracts/experiment/statemachine/SM.sol +0 -57
  676. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  677. package/contracts/experiment/types/TypeA.sol +0 -47
  678. package/contracts/experiment/types/TypeB.sol +0 -29
  679. package/contracts/instance/access/Access.sol +0 -165
  680. package/contracts/instance/access/IAccess.sol +0 -63
  681. package/contracts/instance/component/ComponentModule.sol +0 -274
  682. package/contracts/instance/component/IComponent.sol +0 -74
  683. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  684. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  685. package/contracts/instance/policy/IPolicy.sol +0 -50
  686. package/contracts/instance/policy/PolicyModule.sol +0 -114
  687. package/contracts/instance/pool/IPoolModule.sol +0 -23
  688. package/contracts/instance/pool/PoolModule.sol +0 -81
  689. package/contracts/instance/product/IProductService.sol +0 -36
  690. package/contracts/instance/product/ProductService.sol +0 -136
  691. package/contracts/instance/treasury/ITreasury.sol +0 -91
  692. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  693. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  694. package/contracts/mock/TestPool.sol +0 -16
  695. package/contracts/mock/TestProduct.sol +0 -39
  696. package/contracts/mock/Usdc.sol +0 -26
  697. package/contracts/registry/IChainNft.sol +0 -21
  698. package/contracts/types/ChainId.sol +0 -38
  699. package/contracts/types/Fee.sol +0 -32
  700. package/contracts/types/NftId.sol +0 -51
  701. package/contracts/types/ObjectType.sol +0 -107
@@ -7,299 +7,203 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
13
19
  {
14
20
  "internalType": "address",
15
- "name": "componentOwnerService",
21
+ "name": "caller",
16
22
  "type": "address"
17
23
  },
18
24
  {
19
- "internalType": "address",
20
- "name": "productService",
21
- "type": "address"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
22
28
  }
23
29
  ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
26
32
  },
27
33
  {
28
34
  "inputs": [
29
35
  {
30
- "internalType": "NftId",
31
- "name": "nftId",
32
- "type": "uint96"
33
- },
34
- {
35
- "internalType": "ObjectType",
36
- "name": "objectType",
37
- "type": "uint8"
38
- },
39
- {
40
- "internalType": "StateId",
41
- "name": "fromStateId",
42
- "type": "uint8"
43
- },
44
- {
45
- "internalType": "StateId",
46
- "name": "toStateId",
47
- "type": "uint8"
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
48
39
  }
49
40
  ],
50
- "name": "ErrorInvalidStateTransition",
41
+ "name": "AccessManagedUnauthorized",
51
42
  "type": "error"
52
43
  },
53
44
  {
54
45
  "inputs": [
55
46
  {
56
- "internalType": "NftId",
57
- "name": "nftId",
58
- "type": "uint96"
59
- },
60
- {
61
- "internalType": "ObjectType",
62
- "name": "objectType",
63
- "type": "uint8"
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
64
50
  }
65
51
  ],
66
- "name": "ErrorNoLifecycle",
52
+ "name": "ErrorAuthorityInvalid",
67
53
  "type": "error"
68
54
  },
69
55
  {
70
- "anonymous": false,
71
56
  "inputs": [
72
57
  {
73
- "indexed": false,
74
- "internalType": "bytes32",
75
- "name": "role",
76
- "type": "bytes32"
77
- },
78
- {
79
- "indexed": false,
80
58
  "internalType": "address",
81
- "name": "member",
59
+ "name": "instanceBundleSet",
82
60
  "type": "address"
83
- },
84
- {
85
- "indexed": false,
86
- "internalType": "bool",
87
- "name": "isMember",
88
- "type": "bool"
89
61
  }
90
62
  ],
91
- "name": "LogAccessRoleGranted",
92
- "type": "event"
63
+ "name": "ErrorInstanceBundleSetAlreadySet",
64
+ "type": "error"
93
65
  },
94
66
  {
95
- "anonymous": false,
96
67
  "inputs": [
97
68
  {
98
- "indexed": false,
99
- "internalType": "NftId",
100
- "name": "nftId",
101
- "type": "uint96"
102
- },
103
- {
104
- "indexed": false,
105
- "internalType": "StateId",
106
- "name": "fromStateId",
107
- "type": "uint8"
108
- },
109
- {
110
- "indexed": false,
111
- "internalType": "StateId",
112
- "name": "toStateId",
113
- "type": "uint8"
69
+ "internalType": "address",
70
+ "name": "instanceAuthority",
71
+ "type": "address"
114
72
  }
115
73
  ],
116
- "name": "LogBundleStateChanged",
117
- "type": "event"
74
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
75
+ "type": "error"
118
76
  },
119
77
  {
120
- "anonymous": false,
121
78
  "inputs": [
122
79
  {
123
- "indexed": false,
124
- "internalType": "NftId",
125
- "name": "nftId",
126
- "type": "uint96"
127
- },
128
- {
129
- "indexed": false,
130
- "internalType": "ObjectType",
131
- "name": "objectType",
132
- "type": "uint8"
133
- },
134
- {
135
- "indexed": false,
136
- "internalType": "StateId",
137
- "name": "fromStateId",
138
- "type": "uint8"
139
- },
140
- {
141
- "indexed": false,
142
- "internalType": "StateId",
143
- "name": "toStateId",
144
- "type": "uint8"
80
+ "internalType": "address",
81
+ "name": "instance",
82
+ "type": "address"
145
83
  }
146
84
  ],
147
- "name": "LogComponentStateChanged",
148
- "type": "event"
85
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
86
+ "type": "error"
149
87
  },
150
88
  {
151
- "anonymous": false,
152
89
  "inputs": [
153
90
  {
154
- "indexed": false,
155
- "internalType": "uint256",
156
- "name": "idx",
157
- "type": "uint256"
158
- },
159
- {
160
- "indexed": false,
161
91
  "internalType": "address",
162
- "name": "module",
92
+ "name": "instanceAdmin",
163
93
  "type": "address"
164
- },
165
- {
166
- "indexed": false,
167
- "internalType": "string",
168
- "name": "comment",
169
- "type": "string"
170
94
  }
171
95
  ],
172
- "name": "LogDebug",
173
- "type": "event"
96
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
97
+ "type": "error"
174
98
  },
175
99
  {
176
- "anonymous": false,
177
100
  "inputs": [
178
101
  {
179
- "indexed": false,
180
- "internalType": "NftId",
181
- "name": "nftId",
182
- "type": "uint96"
183
- },
184
- {
185
- "indexed": false,
186
- "internalType": "StateId",
187
- "name": "fromStateId",
188
- "type": "uint8"
189
- },
190
- {
191
- "indexed": false,
192
- "internalType": "StateId",
193
- "name": "toStateId",
194
- "type": "uint8"
102
+ "internalType": "address",
103
+ "name": "instanceAuthority",
104
+ "type": "address"
195
105
  }
196
106
  ],
197
- "name": "LogPolicyStateChanged",
198
- "type": "event"
107
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
108
+ "type": "error"
199
109
  },
200
110
  {
201
111
  "inputs": [],
202
- "name": "INITIAL_CAPITAL",
203
- "outputs": [
112
+ "name": "ErrorInstanceInstanceAdminZero",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [
204
117
  {
205
- "internalType": "uint256",
206
- "name": "",
207
- "type": "uint256"
118
+ "internalType": "address",
119
+ "name": "instanceAuthority",
120
+ "type": "address"
208
121
  }
209
122
  ],
210
- "stateMutability": "view",
211
- "type": "function"
123
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
124
+ "type": "error"
212
125
  },
213
126
  {
214
- "inputs": [],
215
- "name": "INITIAL_LOCKED_CAPITAL",
216
- "outputs": [
127
+ "inputs": [
217
128
  {
218
- "internalType": "uint256",
219
- "name": "",
220
- "type": "uint256"
129
+ "internalType": "address",
130
+ "name": "instanceStore",
131
+ "type": "address"
221
132
  }
222
133
  ],
223
- "stateMutability": "view",
224
- "type": "function"
134
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
135
+ "type": "error"
225
136
  },
226
137
  {
227
- "inputs": [],
228
- "name": "ORACLE_OWNER",
229
- "outputs": [
138
+ "inputs": [
230
139
  {
231
- "internalType": "string",
232
- "name": "",
233
- "type": "string"
140
+ "internalType": "address",
141
+ "name": "instanceAuthority",
142
+ "type": "address"
234
143
  }
235
144
  ],
236
- "stateMutability": "view",
237
- "type": "function"
145
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
146
+ "type": "error"
238
147
  },
239
148
  {
240
- "inputs": [],
241
- "name": "ORACLE_OWNER_ROLE",
242
- "outputs": [
149
+ "inputs": [
243
150
  {
244
- "internalType": "bytes32",
245
- "name": "role",
246
- "type": "bytes32"
151
+ "internalType": "RoleId",
152
+ "name": "roleId",
153
+ "type": "uint64"
247
154
  }
248
155
  ],
249
- "stateMutability": "view",
250
- "type": "function"
156
+ "name": "ErrorInstanceNotCustomRole",
157
+ "type": "error"
251
158
  },
252
159
  {
253
- "inputs": [],
254
- "name": "POOL_OWNER",
255
- "outputs": [
160
+ "inputs": [
256
161
  {
257
- "internalType": "string",
258
- "name": "",
259
- "type": "string"
162
+ "internalType": "RoleId",
163
+ "name": "roleId",
164
+ "type": "uint64"
165
+ },
166
+ {
167
+ "internalType": "address",
168
+ "name": "account",
169
+ "type": "address"
260
170
  }
261
171
  ],
262
- "stateMutability": "view",
263
- "type": "function"
172
+ "name": "ErrorInstanceNotRoleAdmin",
173
+ "type": "error"
264
174
  },
265
175
  {
266
- "inputs": [],
267
- "name": "POOL_OWNER_ROLE",
268
- "outputs": [
176
+ "inputs": [
269
177
  {
270
- "internalType": "bytes32",
271
- "name": "role",
272
- "type": "bytes32"
178
+ "internalType": "address",
179
+ "name": "instanceRiskSet",
180
+ "type": "address"
273
181
  }
274
182
  ],
275
- "stateMutability": "view",
276
- "type": "function"
183
+ "name": "ErrorInstanceRiskSetAlreadySet",
184
+ "type": "error"
277
185
  },
278
186
  {
279
- "inputs": [],
280
- "name": "PRODUCT_OWNER",
281
- "outputs": [
187
+ "inputs": [
282
188
  {
283
- "internalType": "string",
284
- "name": "",
285
- "type": "string"
189
+ "internalType": "address",
190
+ "name": "instanceAuthority",
191
+ "type": "address"
286
192
  }
287
193
  ],
288
- "stateMutability": "view",
289
- "type": "function"
194
+ "name": "ErrorInstanceRiskSetAuthorityMismatch",
195
+ "type": "error"
290
196
  },
291
197
  {
292
- "inputs": [],
293
- "name": "PRODUCT_OWNER_ROLE",
294
- "outputs": [
198
+ "inputs": [
295
199
  {
296
- "internalType": "bytes32",
297
- "name": "role",
298
- "type": "bytes32"
200
+ "internalType": "address",
201
+ "name": "instance",
202
+ "type": "address"
299
203
  }
300
204
  ],
301
- "stateMutability": "view",
302
- "type": "function"
205
+ "name": "ErrorInstanceRiskSetInstanceMismatch",
206
+ "type": "error"
303
207
  },
304
208
  {
305
209
  "inputs": [
@@ -309,51 +213,24 @@
309
213
  "type": "uint96"
310
214
  }
311
215
  ],
312
- "name": "activate",
313
- "outputs": [],
314
- "stateMutability": "nonpayable",
315
- "type": "function"
216
+ "name": "ErrorNftOwnableAlreadyLinked",
217
+ "type": "error"
316
218
  },
317
219
  {
318
220
  "inputs": [
319
221
  {
320
- "internalType": "uint256",
321
- "name": "amount",
322
- "type": "uint256"
323
- },
324
- {
325
- "components": [
326
- {
327
- "internalType": "UFixed",
328
- "name": "fractionalFee",
329
- "type": "uint256"
330
- },
331
- {
332
- "internalType": "uint256",
333
- "name": "fixedFee",
334
- "type": "uint256"
335
- }
336
- ],
337
- "internalType": "struct Fee",
338
- "name": "fee",
339
- "type": "tuple"
340
- }
341
- ],
342
- "name": "calculateFeeAmount",
343
- "outputs": [
344
- {
345
- "internalType": "uint256",
346
- "name": "feeAmount",
347
- "type": "uint256"
348
- },
349
- {
350
- "internalType": "uint256",
351
- "name": "netAmount",
352
- "type": "uint256"
222
+ "internalType": "address",
223
+ "name": "contractAddress",
224
+ "type": "address"
353
225
  }
354
226
  ],
355
- "stateMutability": "pure",
356
- "type": "function"
227
+ "name": "ErrorNftOwnableContractNotRegistered",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorNftOwnableInitialOwnerZero",
233
+ "type": "error"
357
234
  },
358
235
  {
359
236
  "inputs": [
@@ -364,306 +241,259 @@
364
241
  },
365
242
  {
366
243
  "internalType": "ObjectType",
367
- "name": "objectType",
368
- "type": "uint8"
369
- },
370
- {
371
- "internalType": "StateId",
372
- "name": "fromId",
373
- "type": "uint8"
374
- },
375
- {
376
- "internalType": "StateId",
377
- "name": "toId",
244
+ "name": "expectedObjectType",
378
245
  "type": "uint8"
379
246
  }
380
247
  ],
381
- "name": "checkAndLogTransition",
382
- "outputs": [
248
+ "name": "ErrorNftOwnableInvalidType",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [
383
253
  {
384
- "internalType": "StateId",
385
- "name": "",
386
- "type": "uint8"
254
+ "internalType": "address",
255
+ "name": "account",
256
+ "type": "address"
387
257
  }
388
258
  ],
389
- "stateMutability": "nonpayable",
390
- "type": "function"
391
- },
392
- {
393
- "inputs": [],
394
- "name": "components",
395
- "outputs": [
396
- {
397
- "internalType": "uint256",
398
- "name": "numberOfCompnents",
399
- "type": "uint256"
400
- }
401
- ],
402
- "stateMutability": "view",
403
- "type": "function"
259
+ "name": "ErrorNftOwnableNotOwner",
260
+ "type": "error"
404
261
  },
405
262
  {
406
263
  "inputs": [
407
- {
408
- "components": [
409
- {
410
- "internalType": "NftId",
411
- "name": "nftId",
412
- "type": "uint96"
413
- },
414
- {
415
- "internalType": "NftId",
416
- "name": "parentNftId",
417
- "type": "uint96"
418
- },
419
- {
420
- "internalType": "ObjectType",
421
- "name": "objectType",
422
- "type": "uint8"
423
- },
424
- {
425
- "internalType": "address",
426
- "name": "objectAddress",
427
- "type": "address"
428
- },
429
- {
430
- "internalType": "address",
431
- "name": "initialOwner",
432
- "type": "address"
433
- }
434
- ],
435
- "internalType": "struct IRegistry.RegistryInfo",
436
- "name": "productInfo",
437
- "type": "tuple"
438
- },
439
264
  {
440
265
  "internalType": "address",
441
- "name": "applicationOwner",
266
+ "name": "registryAddress",
442
267
  "type": "address"
443
- },
444
- {
445
- "internalType": "uint256",
446
- "name": "sumInsuredAmount",
447
- "type": "uint256"
448
- },
449
- {
450
- "internalType": "uint256",
451
- "name": "premiumAmount",
452
- "type": "uint256"
453
- },
454
- {
455
- "internalType": "uint256",
456
- "name": "lifetime",
457
- "type": "uint256"
458
- },
459
- {
460
- "internalType": "NftId",
461
- "name": "bundleNftId",
462
- "type": "uint96"
463
- }
464
- ],
465
- "name": "createApplication",
466
- "outputs": [
467
- {
468
- "internalType": "NftId",
469
- "name": "nftId",
470
- "type": "uint96"
471
268
  }
472
269
  ],
473
- "stateMutability": "nonpayable",
474
- "type": "function"
270
+ "name": "ErrorNotRegistry",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [],
275
+ "name": "ErrorRegisterableNotActive",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "InvalidInitialization",
281
+ "type": "error"
282
+ },
283
+ {
284
+ "inputs": [],
285
+ "name": "NotInitializing",
286
+ "type": "error"
475
287
  },
476
288
  {
289
+ "anonymous": false,
477
290
  "inputs": [
478
291
  {
479
- "internalType": "string",
480
- "name": "roleName",
481
- "type": "string"
482
- }
483
- ],
484
- "name": "createRole",
485
- "outputs": [
486
- {
487
- "internalType": "bytes32",
488
- "name": "role",
489
- "type": "bytes32"
292
+ "indexed": false,
293
+ "internalType": "address",
294
+ "name": "authority",
295
+ "type": "address"
490
296
  }
491
297
  ],
492
- "stateMutability": "nonpayable",
493
- "type": "function"
298
+ "name": "AuthorityUpdated",
299
+ "type": "event"
494
300
  },
495
301
  {
302
+ "anonymous": false,
496
303
  "inputs": [
497
304
  {
498
- "internalType": "bytes32",
499
- "name": "role",
500
- "type": "bytes32"
305
+ "indexed": false,
306
+ "internalType": "uint64",
307
+ "name": "version",
308
+ "type": "uint64"
501
309
  }
502
310
  ],
503
- "name": "disableRole",
504
- "outputs": [],
505
- "stateMutability": "nonpayable",
506
- "type": "function"
311
+ "name": "Initialized",
312
+ "type": "event"
507
313
  },
508
314
  {
315
+ "anonymous": false,
509
316
  "inputs": [
510
317
  {
511
- "internalType": "bytes32",
512
- "name": "role",
513
- "type": "bytes32"
318
+ "indexed": false,
319
+ "internalType": "RoleId",
320
+ "name": "roleId",
321
+ "type": "uint64"
322
+ },
323
+ {
324
+ "indexed": false,
325
+ "internalType": "bool",
326
+ "name": "active",
327
+ "type": "bool"
328
+ },
329
+ {
330
+ "indexed": false,
331
+ "internalType": "address",
332
+ "name": "caller",
333
+ "type": "address"
514
334
  }
515
335
  ],
516
- "name": "enableRole",
517
- "outputs": [],
518
- "stateMutability": "nonpayable",
519
- "type": "function"
336
+ "name": "LogInstanceCustomRoleActiveSet",
337
+ "type": "event"
520
338
  },
521
339
  {
340
+ "anonymous": false,
522
341
  "inputs": [
523
342
  {
524
- "internalType": "NftId",
525
- "name": "nftId",
526
- "type": "uint96"
527
- }
528
- ],
529
- "name": "getBundleNftForPolicy",
530
- "outputs": [
343
+ "indexed": false,
344
+ "internalType": "RoleId",
345
+ "name": "roleId",
346
+ "type": "uint64"
347
+ },
531
348
  {
532
- "internalType": "NftId",
533
- "name": "bundleNft",
534
- "type": "uint96"
349
+ "indexed": false,
350
+ "internalType": "string",
351
+ "name": "roleName",
352
+ "type": "string"
353
+ },
354
+ {
355
+ "indexed": false,
356
+ "internalType": "RoleId",
357
+ "name": "adminRoleId",
358
+ "type": "uint64"
359
+ },
360
+ {
361
+ "indexed": false,
362
+ "internalType": "uint32",
363
+ "name": "maxMemberCount",
364
+ "type": "uint32"
535
365
  }
536
366
  ],
537
- "stateMutability": "view",
538
- "type": "function"
367
+ "name": "LogInstanceCustomRoleCreated",
368
+ "type": "event"
539
369
  },
540
370
  {
371
+ "anonymous": false,
541
372
  "inputs": [
542
373
  {
374
+ "indexed": false,
375
+ "internalType": "RoleId",
376
+ "name": "roleId",
377
+ "type": "uint64"
378
+ },
379
+ {
380
+ "indexed": false,
543
381
  "internalType": "address",
544
- "name": "componentAddress",
382
+ "name": "account",
545
383
  "type": "address"
546
- }
547
- ],
548
- "name": "getComponentId",
549
- "outputs": [
384
+ },
550
385
  {
551
- "internalType": "NftId",
552
- "name": "componentNftId",
553
- "type": "uint96"
386
+ "indexed": false,
387
+ "internalType": "address",
388
+ "name": "caller",
389
+ "type": "address"
554
390
  }
555
391
  ],
556
- "stateMutability": "view",
557
- "type": "function"
392
+ "name": "LogInstanceCustomRoleGranted",
393
+ "type": "event"
558
394
  },
559
395
  {
396
+ "anonymous": false,
560
397
  "inputs": [
561
398
  {
562
- "internalType": "uint256",
563
- "name": "idx",
564
- "type": "uint256"
565
- }
566
- ],
567
- "name": "getComponentId",
568
- "outputs": [
399
+ "indexed": false,
400
+ "internalType": "RoleId",
401
+ "name": "roleId",
402
+ "type": "uint64"
403
+ },
569
404
  {
570
- "internalType": "NftId",
571
- "name": "componentNftId",
572
- "type": "uint96"
405
+ "indexed": false,
406
+ "internalType": "address",
407
+ "name": "account",
408
+ "type": "address"
409
+ },
410
+ {
411
+ "indexed": false,
412
+ "internalType": "address",
413
+ "name": "caller",
414
+ "type": "address"
573
415
  }
574
416
  ],
575
- "stateMutability": "view",
576
- "type": "function"
417
+ "name": "LogInstanceCustomRoleRevoked",
418
+ "type": "event"
577
419
  },
578
420
  {
421
+ "anonymous": false,
579
422
  "inputs": [
580
423
  {
581
- "internalType": "NftId",
582
- "name": "nftId",
583
- "type": "uint96"
584
- }
585
- ],
586
- "name": "getComponentInfo",
587
- "outputs": [
424
+ "indexed": false,
425
+ "internalType": "address",
426
+ "name": "target",
427
+ "type": "address"
428
+ },
588
429
  {
589
- "components": [
590
- {
591
- "internalType": "NftId",
592
- "name": "nftId",
593
- "type": "uint96"
594
- },
595
- {
596
- "internalType": "StateId",
597
- "name": "state",
598
- "type": "uint8"
599
- },
600
- {
601
- "internalType": "contract IERC20Metadata",
602
- "name": "token",
603
- "type": "address"
604
- }
605
- ],
606
- "internalType": "struct IComponent.ComponentInfo",
607
- "name": "",
608
- "type": "tuple"
430
+ "indexed": false,
431
+ "internalType": "RoleId",
432
+ "name": "targetRoleId",
433
+ "type": "uint64"
434
+ },
435
+ {
436
+ "indexed": false,
437
+ "internalType": "string",
438
+ "name": "name",
439
+ "type": "string"
609
440
  }
610
441
  ],
611
- "stateMutability": "view",
612
- "type": "function"
442
+ "name": "LogInstanceCustomTargetCreated",
443
+ "type": "event"
613
444
  },
614
445
  {
615
- "inputs": [],
616
- "name": "getComponentOwnerService",
617
- "outputs": [
446
+ "anonymous": false,
447
+ "inputs": [
618
448
  {
619
- "internalType": "contract IComponentOwnerService",
620
- "name": "",
449
+ "indexed": false,
450
+ "internalType": "address",
451
+ "name": "target",
621
452
  "type": "address"
622
- }
623
- ],
624
- "stateMutability": "view",
625
- "type": "function"
626
- },
627
- {
628
- "inputs": [],
629
- "name": "getData",
630
- "outputs": [
453
+ },
631
454
  {
632
- "internalType": "bytes",
633
- "name": "data",
634
- "type": "bytes"
455
+ "indexed": false,
456
+ "internalType": "bytes4[]",
457
+ "name": "selectors",
458
+ "type": "bytes4[]"
459
+ },
460
+ {
461
+ "indexed": false,
462
+ "internalType": "RoleId",
463
+ "name": "roleId",
464
+ "type": "uint64"
635
465
  }
636
466
  ],
637
- "stateMutability": "pure",
638
- "type": "function"
467
+ "name": "LogInstanceCustomTargetFunctionRoleSet",
468
+ "type": "event"
639
469
  },
640
470
  {
641
- "inputs": [],
642
- "name": "getInitialOwner",
643
- "outputs": [
471
+ "anonymous": false,
472
+ "inputs": [
644
473
  {
474
+ "indexed": false,
645
475
  "internalType": "address",
646
- "name": "deployer",
476
+ "name": "target",
647
477
  "type": "address"
478
+ },
479
+ {
480
+ "indexed": false,
481
+ "internalType": "bool",
482
+ "name": "locked",
483
+ "type": "bool"
648
484
  }
649
485
  ],
650
- "stateMutability": "view",
651
- "type": "function"
486
+ "name": "LogInstanceTargetLocked",
487
+ "type": "event"
652
488
  },
653
489
  {
654
- "inputs": [
655
- {
656
- "internalType": "ObjectType",
657
- "name": "objectType",
658
- "type": "uint8"
659
- }
660
- ],
661
- "name": "getInitialState",
490
+ "inputs": [],
491
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
662
492
  "outputs": [
663
493
  {
664
- "internalType": "StateId",
494
+ "internalType": "bytes32",
665
495
  "name": "",
666
- "type": "uint8"
496
+ "type": "bytes32"
667
497
  }
668
498
  ],
669
499
  "stateMutability": "view",
@@ -671,12 +501,12 @@
671
501
  },
672
502
  {
673
503
  "inputs": [],
674
- "name": "getNftId",
504
+ "name": "REGISTERABLE_LOCATION_V1",
675
505
  "outputs": [
676
506
  {
677
- "internalType": "NftId",
678
- "name": "nftId",
679
- "type": "uint96"
507
+ "internalType": "bytes32",
508
+ "name": "",
509
+ "type": "bytes32"
680
510
  }
681
511
  ],
682
512
  "stateMutability": "view",
@@ -684,213 +514,116 @@
684
514
  },
685
515
  {
686
516
  "inputs": [],
687
- "name": "getOwner",
517
+ "name": "authority",
688
518
  "outputs": [
689
519
  {
690
520
  "internalType": "address",
691
- "name": "owner",
521
+ "name": "",
692
522
  "type": "address"
693
523
  }
694
524
  ],
695
525
  "stateMutability": "view",
696
526
  "type": "function"
697
527
  },
698
- {
699
- "inputs": [],
700
- "name": "getParentNftId",
701
- "outputs": [
702
- {
703
- "internalType": "NftId",
704
- "name": "",
705
- "type": "uint96"
706
- }
707
- ],
708
- "stateMutability": "pure",
709
- "type": "function"
710
- },
711
528
  {
712
529
  "inputs": [
713
530
  {
714
- "internalType": "NftId",
715
- "name": "nftId",
716
- "type": "uint96"
717
- }
718
- ],
719
- "name": "getPolicyInfo",
720
- "outputs": [
531
+ "internalType": "address",
532
+ "name": "target",
533
+ "type": "address"
534
+ },
535
+ {
536
+ "internalType": "RoleId",
537
+ "name": "roleId",
538
+ "type": "uint64"
539
+ },
721
540
  {
722
541
  "components": [
723
542
  {
724
- "internalType": "NftId",
725
- "name": "nftId",
726
- "type": "uint96"
727
- },
728
- {
729
- "internalType": "StateId",
730
- "name": "state",
731
- "type": "uint8"
732
- },
733
- {
734
- "internalType": "uint256",
735
- "name": "sumInsuredAmount",
736
- "type": "uint256"
737
- },
738
- {
739
- "internalType": "uint256",
740
- "name": "premiumAmount",
741
- "type": "uint256"
742
- },
743
- {
744
- "internalType": "uint256",
745
- "name": "premiumPaidAmount",
746
- "type": "uint256"
543
+ "internalType": "Str",
544
+ "name": "name",
545
+ "type": "bytes32"
747
546
  },
748
547
  {
749
- "internalType": "uint256",
750
- "name": "lifetime",
751
- "type": "uint256"
548
+ "internalType": "Selector",
549
+ "name": "selector",
550
+ "type": "bytes4"
752
551
  },
753
552
  {
754
- "internalType": "uint256",
553
+ "internalType": "Timestamp",
755
554
  "name": "createdAt",
756
- "type": "uint256"
757
- },
758
- {
759
- "internalType": "uint256",
760
- "name": "updatedAt",
761
- "type": "uint256"
762
- },
763
- {
764
- "internalType": "uint256",
765
- "name": "activatedAt",
766
- "type": "uint256"
767
- },
768
- {
769
- "internalType": "uint256",
770
- "name": "expiredAt",
771
- "type": "uint256"
772
- },
773
- {
774
- "internalType": "uint256",
775
- "name": "closedAt",
776
- "type": "uint256"
555
+ "type": "uint40"
777
556
  }
778
557
  ],
779
- "internalType": "struct IPolicy.PolicyInfo",
780
- "name": "info",
781
- "type": "tuple"
558
+ "internalType": "struct IAccess.FunctionInfo[]",
559
+ "name": "functions",
560
+ "type": "tuple[]"
782
561
  }
783
562
  ],
784
- "stateMutability": "view",
563
+ "name": "authorizeFunctions",
564
+ "outputs": [],
565
+ "stateMutability": "nonpayable",
785
566
  "type": "function"
786
567
  },
787
568
  {
788
569
  "inputs": [
789
570
  {
790
- "internalType": "NftId",
791
- "name": "nftId",
792
- "type": "uint96"
793
- }
794
- ],
795
- "name": "getPoolInfo",
796
- "outputs": [
571
+ "internalType": "string",
572
+ "name": "roleName",
573
+ "type": "string"
574
+ },
797
575
  {
798
- "components": [
799
- {
800
- "internalType": "NftId",
801
- "name": "nftId",
802
- "type": "uint96"
803
- },
804
- {
805
- "internalType": "uint256",
806
- "name": "capital",
807
- "type": "uint256"
808
- },
809
- {
810
- "internalType": "uint256",
811
- "name": "lockedCapital",
812
- "type": "uint256"
813
- }
814
- ],
815
- "internalType": "struct IPool.PoolInfo",
816
- "name": "info",
817
- "type": "tuple"
576
+ "internalType": "RoleId",
577
+ "name": "adminRoleId",
578
+ "type": "uint64"
579
+ },
580
+ {
581
+ "internalType": "uint32",
582
+ "name": "maxMemberCount",
583
+ "type": "uint32"
818
584
  }
819
585
  ],
820
- "stateMutability": "view",
586
+ "name": "createRole",
587
+ "outputs": [
588
+ {
589
+ "internalType": "RoleId",
590
+ "name": "roleId",
591
+ "type": "uint64"
592
+ }
593
+ ],
594
+ "stateMutability": "nonpayable",
821
595
  "type": "function"
822
596
  },
823
597
  {
824
598
  "inputs": [
825
599
  {
826
- "internalType": "NftId",
827
- "name": "poolNftId",
828
- "type": "uint96"
600
+ "internalType": "address",
601
+ "name": "target",
602
+ "type": "address"
603
+ },
604
+ {
605
+ "internalType": "string",
606
+ "name": "name",
607
+ "type": "string"
829
608
  }
830
609
  ],
831
- "name": "getPoolSetup",
610
+ "name": "createTarget",
832
611
  "outputs": [
833
612
  {
834
- "components": [
835
- {
836
- "internalType": "NftId",
837
- "name": "poolNftId",
838
- "type": "uint96"
839
- },
840
- {
841
- "internalType": "address",
842
- "name": "wallet",
843
- "type": "address"
844
- },
845
- {
846
- "components": [
847
- {
848
- "internalType": "UFixed",
849
- "name": "fractionalFee",
850
- "type": "uint256"
851
- },
852
- {
853
- "internalType": "uint256",
854
- "name": "fixedFee",
855
- "type": "uint256"
856
- }
857
- ],
858
- "internalType": "struct Fee",
859
- "name": "stakingFee",
860
- "type": "tuple"
861
- },
862
- {
863
- "components": [
864
- {
865
- "internalType": "UFixed",
866
- "name": "fractionalFee",
867
- "type": "uint256"
868
- },
869
- {
870
- "internalType": "uint256",
871
- "name": "fixedFee",
872
- "type": "uint256"
873
- }
874
- ],
875
- "internalType": "struct Fee",
876
- "name": "performanceFee",
877
- "type": "tuple"
878
- }
879
- ],
880
- "internalType": "struct ITreasuryModule.PoolSetup",
881
- "name": "setup",
882
- "type": "tuple"
613
+ "internalType": "RoleId",
614
+ "name": "targetRoleId",
615
+ "type": "uint64"
883
616
  }
884
617
  ],
885
- "stateMutability": "view",
618
+ "stateMutability": "nonpayable",
886
619
  "type": "function"
887
620
  },
888
621
  {
889
622
  "inputs": [],
890
- "name": "getProductService",
623
+ "name": "getBundleSet",
891
624
  "outputs": [
892
625
  {
893
- "internalType": "contract IProductService",
626
+ "internalType": "contract BundleSet",
894
627
  "name": "",
895
628
  "type": "address"
896
629
  }
@@ -899,84 +632,49 @@
899
632
  "type": "function"
900
633
  },
901
634
  {
902
- "inputs": [
903
- {
904
- "internalType": "NftId",
905
- "name": "productNftId",
906
- "type": "uint96"
907
- }
908
- ],
909
- "name": "getProductSetup",
635
+ "inputs": [],
636
+ "name": "getInitialInfo",
910
637
  "outputs": [
911
638
  {
912
639
  "components": [
913
640
  {
914
641
  "internalType": "NftId",
915
- "name": "productNftId",
642
+ "name": "nftId",
916
643
  "type": "uint96"
917
644
  },
918
645
  {
919
646
  "internalType": "NftId",
920
- "name": "distributorNftId",
647
+ "name": "parentNftId",
921
648
  "type": "uint96"
922
649
  },
923
650
  {
924
- "internalType": "NftId",
925
- "name": "poolNftId",
926
- "type": "uint96"
651
+ "internalType": "ObjectType",
652
+ "name": "objectType",
653
+ "type": "uint8"
927
654
  },
928
655
  {
929
- "internalType": "contract IERC20",
930
- "name": "token",
931
- "type": "address"
656
+ "internalType": "bool",
657
+ "name": "isInterceptor",
658
+ "type": "bool"
932
659
  },
933
660
  {
934
- "internalType": "contract TokenHandler",
935
- "name": "tokenHandler",
661
+ "internalType": "address",
662
+ "name": "objectAddress",
936
663
  "type": "address"
937
664
  },
938
665
  {
939
666
  "internalType": "address",
940
- "name": "wallet",
667
+ "name": "initialOwner",
941
668
  "type": "address"
942
669
  },
943
670
  {
944
- "components": [
945
- {
946
- "internalType": "UFixed",
947
- "name": "fractionalFee",
948
- "type": "uint256"
949
- },
950
- {
951
- "internalType": "uint256",
952
- "name": "fixedFee",
953
- "type": "uint256"
954
- }
955
- ],
956
- "internalType": "struct Fee",
957
- "name": "policyFee",
958
- "type": "tuple"
959
- },
960
- {
961
- "components": [
962
- {
963
- "internalType": "UFixed",
964
- "name": "fractionalFee",
965
- "type": "uint256"
966
- },
967
- {
968
- "internalType": "uint256",
969
- "name": "fixedFee",
970
- "type": "uint256"
971
- }
972
- ],
973
- "internalType": "struct Fee",
974
- "name": "processingFee",
975
- "type": "tuple"
671
+ "internalType": "bytes",
672
+ "name": "data",
673
+ "type": "bytes"
976
674
  }
977
675
  ],
978
- "internalType": "struct ITreasuryModule.ProductSetup",
979
- "name": "setup",
676
+ "internalType": "struct IRegistry.ObjectInfo",
677
+ "name": "info",
980
678
  "type": "tuple"
981
679
  }
982
680
  ],
@@ -985,11 +683,11 @@
985
683
  },
986
684
  {
987
685
  "inputs": [],
988
- "name": "getRegistry",
686
+ "name": "getInstanceAdmin",
989
687
  "outputs": [
990
688
  {
991
- "internalType": "contract IRegistry",
992
- "name": "registry",
689
+ "internalType": "contract InstanceAdmin",
690
+ "name": "",
993
691
  "type": "address"
994
692
  }
995
693
  ],
@@ -997,19 +695,13 @@
997
695
  "type": "function"
998
696
  },
999
697
  {
1000
- "inputs": [
1001
- {
1002
- "internalType": "uint256",
1003
- "name": "idx",
1004
- "type": "uint256"
1005
- }
1006
- ],
1007
- "name": "getRole",
698
+ "inputs": [],
699
+ "name": "getInstanceReader",
1008
700
  "outputs": [
1009
701
  {
1010
- "internalType": "bytes32",
1011
- "name": "role",
1012
- "type": "bytes32"
702
+ "internalType": "contract InstanceReader",
703
+ "name": "",
704
+ "type": "address"
1013
705
  }
1014
706
  ],
1015
707
  "stateMutability": "view",
@@ -1017,109 +709,95 @@
1017
709
  },
1018
710
  {
1019
711
  "inputs": [],
1020
- "name": "getRoleCount",
712
+ "name": "getInstanceStore",
1021
713
  "outputs": [
1022
714
  {
1023
- "internalType": "uint256",
1024
- "name": "roles",
1025
- "type": "uint256"
715
+ "internalType": "contract InstanceStore",
716
+ "name": "",
717
+ "type": "address"
1026
718
  }
1027
719
  ],
1028
720
  "stateMutability": "view",
1029
721
  "type": "function"
1030
722
  },
1031
723
  {
1032
- "inputs": [
724
+ "inputs": [],
725
+ "name": "getNftId",
726
+ "outputs": [
1033
727
  {
1034
- "internalType": "string",
1035
- "name": "roleName",
1036
- "type": "string"
728
+ "internalType": "NftId",
729
+ "name": "",
730
+ "type": "uint96"
1037
731
  }
1038
732
  ],
1039
- "name": "getRoleForName",
733
+ "stateMutability": "view",
734
+ "type": "function"
735
+ },
736
+ {
737
+ "inputs": [],
738
+ "name": "getOwner",
1040
739
  "outputs": [
1041
740
  {
1042
- "internalType": "bytes32",
1043
- "name": "role",
1044
- "type": "bytes32"
741
+ "internalType": "address",
742
+ "name": "",
743
+ "type": "address"
1045
744
  }
1046
745
  ],
1047
- "stateMutability": "pure",
746
+ "stateMutability": "view",
1048
747
  "type": "function"
1049
748
  },
1050
749
  {
1051
750
  "inputs": [
1052
751
  {
1053
- "internalType": "ObjectType",
1054
- "name": "cType",
1055
- "type": "uint8"
752
+ "internalType": "uint256",
753
+ "name": "idx",
754
+ "type": "uint256"
1056
755
  }
1057
756
  ],
1058
- "name": "getRoleForType",
757
+ "name": "getProductNftId",
1059
758
  "outputs": [
1060
759
  {
1061
- "internalType": "bytes32",
1062
- "name": "role",
1063
- "type": "bytes32"
760
+ "internalType": "NftId",
761
+ "name": "productNftId",
762
+ "type": "uint96"
1064
763
  }
1065
764
  ],
1066
765
  "stateMutability": "view",
1067
766
  "type": "function"
1068
767
  },
1069
768
  {
1070
- "inputs": [
1071
- {
1072
- "internalType": "bytes32",
1073
- "name": "role",
1074
- "type": "bytes32"
1075
- }
1076
- ],
1077
- "name": "getRoleInfo",
769
+ "inputs": [],
770
+ "name": "getRegistry",
1078
771
  "outputs": [
1079
772
  {
1080
- "components": [
1081
- {
1082
- "internalType": "bytes32",
1083
- "name": "id",
1084
- "type": "bytes32"
1085
- },
1086
- {
1087
- "internalType": "string",
1088
- "name": "name",
1089
- "type": "string"
1090
- },
1091
- {
1092
- "internalType": "bool",
1093
- "name": "isActive",
1094
- "type": "bool"
1095
- }
1096
- ],
1097
- "internalType": "struct IAccess.RoleInfo",
1098
- "name": "info",
1099
- "type": "tuple"
773
+ "internalType": "contract IRegistry",
774
+ "name": "",
775
+ "type": "address"
1100
776
  }
1101
777
  ],
1102
778
  "stateMutability": "view",
1103
779
  "type": "function"
1104
780
  },
1105
781
  {
1106
- "inputs": [
1107
- {
1108
- "internalType": "bytes32",
1109
- "name": "role",
1110
- "type": "bytes32"
1111
- },
782
+ "inputs": [],
783
+ "name": "getRelease",
784
+ "outputs": [
1112
785
  {
1113
- "internalType": "uint256",
1114
- "name": "idx",
1115
- "type": "uint256"
786
+ "internalType": "VersionPart",
787
+ "name": "release",
788
+ "type": "uint8"
1116
789
  }
1117
790
  ],
1118
- "name": "getRoleMember",
791
+ "stateMutability": "view",
792
+ "type": "function"
793
+ },
794
+ {
795
+ "inputs": [],
796
+ "name": "getRiskSet",
1119
797
  "outputs": [
1120
798
  {
1121
- "internalType": "address",
1122
- "name": "roleMembers",
799
+ "internalType": "contract RiskSet",
800
+ "name": "",
1123
801
  "type": "address"
1124
802
  }
1125
803
  ],
@@ -1129,36 +807,82 @@
1129
807
  {
1130
808
  "inputs": [
1131
809
  {
1132
- "internalType": "bytes32",
1133
- "name": "role",
1134
- "type": "bytes32"
1135
- }
1136
- ],
1137
- "name": "getRoleMemberCount",
1138
- "outputs": [
810
+ "internalType": "RoleId",
811
+ "name": "roleId",
812
+ "type": "uint64"
813
+ },
1139
814
  {
1140
- "internalType": "uint256",
1141
- "name": "roleMembers",
1142
- "type": "uint256"
815
+ "internalType": "address",
816
+ "name": "account",
817
+ "type": "address"
1143
818
  }
1144
819
  ],
1145
- "stateMutability": "view",
820
+ "name": "grantRole",
821
+ "outputs": [],
822
+ "stateMutability": "nonpayable",
1146
823
  "type": "function"
1147
824
  },
1148
825
  {
1149
826
  "inputs": [
1150
827
  {
1151
- "internalType": "NftId",
1152
- "name": "productNftId",
1153
- "type": "uint96"
828
+ "internalType": "contract InstanceAdmin",
829
+ "name": "instanceAdmin",
830
+ "type": "address"
831
+ },
832
+ {
833
+ "internalType": "contract InstanceStore",
834
+ "name": "instanceStore",
835
+ "type": "address"
836
+ },
837
+ {
838
+ "internalType": "contract BundleSet",
839
+ "name": "bundleSet",
840
+ "type": "address"
841
+ },
842
+ {
843
+ "internalType": "contract RiskSet",
844
+ "name": "riskSet",
845
+ "type": "address"
846
+ },
847
+ {
848
+ "internalType": "contract InstanceReader",
849
+ "name": "instanceReader",
850
+ "type": "address"
851
+ },
852
+ {
853
+ "internalType": "contract IRegistry",
854
+ "name": "registry",
855
+ "type": "address"
856
+ },
857
+ {
858
+ "internalType": "VersionPart",
859
+ "name": "release",
860
+ "type": "uint8"
861
+ },
862
+ {
863
+ "internalType": "address",
864
+ "name": "initialOwner",
865
+ "type": "address"
866
+ },
867
+ {
868
+ "internalType": "bool",
869
+ "name": "tokenRegistryDisabled",
870
+ "type": "bool"
1154
871
  }
1155
872
  ],
1156
- "name": "getTokenHandler",
873
+ "name": "initialize",
874
+ "outputs": [],
875
+ "stateMutability": "nonpayable",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [],
880
+ "name": "isActive",
1157
881
  "outputs": [
1158
882
  {
1159
- "internalType": "contract TokenHandler",
1160
- "name": "tokenHandler",
1161
- "type": "address"
883
+ "internalType": "bool",
884
+ "name": "active",
885
+ "type": "bool"
1162
886
  }
1163
887
  ],
1164
888
  "stateMutability": "view",
@@ -1166,49 +890,52 @@
1166
890
  },
1167
891
  {
1168
892
  "inputs": [],
1169
- "name": "getType",
893
+ "name": "isConsumingScheduledOp",
1170
894
  "outputs": [
1171
895
  {
1172
- "internalType": "ObjectType",
1173
- "name": "objectType",
1174
- "type": "uint8"
896
+ "internalType": "bytes4",
897
+ "name": "",
898
+ "type": "bytes4"
1175
899
  }
1176
900
  ],
1177
- "stateMutability": "pure",
901
+ "stateMutability": "view",
1178
902
  "type": "function"
1179
903
  },
1180
904
  {
1181
- "inputs": [
1182
- {
1183
- "internalType": "bytes32",
1184
- "name": "role",
1185
- "type": "bytes32"
1186
- },
905
+ "inputs": [],
906
+ "name": "isInstanceLocked",
907
+ "outputs": [
1187
908
  {
1188
- "internalType": "address",
1189
- "name": "member",
1190
- "type": "address"
909
+ "internalType": "bool",
910
+ "name": "",
911
+ "type": "bool"
1191
912
  }
1192
913
  ],
1193
- "name": "grantRole",
1194
- "outputs": [],
1195
- "stateMutability": "nonpayable",
914
+ "stateMutability": "view",
1196
915
  "type": "function"
1197
916
  },
1198
917
  {
1199
918
  "inputs": [
1200
- {
1201
- "internalType": "bytes32",
1202
- "name": "role",
1203
- "type": "bytes32"
1204
- },
1205
919
  {
1206
920
  "internalType": "address",
1207
- "name": "member",
921
+ "name": "target",
1208
922
  "type": "address"
1209
923
  }
1210
924
  ],
1211
- "name": "hasRole",
925
+ "name": "isTargetLocked",
926
+ "outputs": [
927
+ {
928
+ "internalType": "bool",
929
+ "name": "",
930
+ "type": "bool"
931
+ }
932
+ ],
933
+ "stateMutability": "view",
934
+ "type": "function"
935
+ },
936
+ {
937
+ "inputs": [],
938
+ "name": "isTokenRegistryDisabled",
1212
939
  "outputs": [
1213
940
  {
1214
941
  "internalType": "bool",
@@ -1221,68 +948,81 @@
1221
948
  },
1222
949
  {
1223
950
  "inputs": [],
1224
- "name": "isRegisterable",
951
+ "name": "linkToRegisteredNftId",
952
+ "outputs": [
953
+ {
954
+ "internalType": "NftId",
955
+ "name": "nftId",
956
+ "type": "uint96"
957
+ }
958
+ ],
959
+ "stateMutability": "nonpayable",
960
+ "type": "function"
961
+ },
962
+ {
963
+ "inputs": [],
964
+ "name": "products",
1225
965
  "outputs": [
1226
966
  {
1227
- "internalType": "bool",
1228
- "name": "",
1229
- "type": "bool"
967
+ "internalType": "uint256",
968
+ "name": "productCount",
969
+ "type": "uint256"
1230
970
  }
1231
971
  ],
1232
- "stateMutability": "pure",
972
+ "stateMutability": "view",
1233
973
  "type": "function"
1234
974
  },
1235
975
  {
1236
- "inputs": [],
1237
- "name": "isRegistered",
1238
- "outputs": [
976
+ "inputs": [
1239
977
  {
1240
- "internalType": "bool",
1241
- "name": "",
1242
- "type": "bool"
978
+ "internalType": "Amount",
979
+ "name": "dipAmount",
980
+ "type": "uint96"
1243
981
  }
1244
982
  ],
1245
- "stateMutability": "view",
983
+ "name": "refillStakingRewardReserves",
984
+ "outputs": [],
985
+ "stateMutability": "nonpayable",
1246
986
  "type": "function"
1247
987
  },
1248
988
  {
1249
989
  "inputs": [
1250
990
  {
1251
- "internalType": "ObjectType",
1252
- "name": "objectType",
1253
- "type": "uint8"
1254
- },
1255
- {
1256
- "internalType": "StateId",
1257
- "name": "fromId",
1258
- "type": "uint8"
991
+ "internalType": "address",
992
+ "name": "product",
993
+ "type": "address"
1259
994
  },
1260
995
  {
1261
- "internalType": "StateId",
1262
- "name": "toId",
1263
- "type": "uint8"
996
+ "internalType": "address",
997
+ "name": "token",
998
+ "type": "address"
1264
999
  }
1265
1000
  ],
1266
- "name": "isValidTransition",
1001
+ "name": "registerProduct",
1267
1002
  "outputs": [
1268
1003
  {
1269
- "internalType": "bool",
1270
- "name": "",
1271
- "type": "bool"
1004
+ "internalType": "NftId",
1005
+ "name": "productNftId",
1006
+ "type": "uint96"
1272
1007
  }
1273
1008
  ],
1274
- "stateMutability": "view",
1009
+ "stateMutability": "nonpayable",
1275
1010
  "type": "function"
1276
1011
  },
1277
1012
  {
1278
1013
  "inputs": [
1279
1014
  {
1280
- "internalType": "NftId",
1281
- "name": "nftId",
1282
- "type": "uint96"
1015
+ "internalType": "RoleId",
1016
+ "name": "roleId",
1017
+ "type": "uint64"
1018
+ },
1019
+ {
1020
+ "internalType": "address",
1021
+ "name": "account",
1022
+ "type": "address"
1283
1023
  }
1284
1024
  ],
1285
- "name": "processPremium",
1025
+ "name": "revokeRole",
1286
1026
  "outputs": [],
1287
1027
  "stateMutability": "nonpayable",
1288
1028
  "type": "function"
@@ -1290,62 +1030,69 @@
1290
1030
  {
1291
1031
  "inputs": [
1292
1032
  {
1293
- "internalType": "NftId",
1294
- "name": "policyNftId",
1295
- "type": "uint96"
1296
- },
1297
- {
1298
- "internalType": "NftId",
1299
- "name": "productNftId",
1300
- "type": "uint96"
1033
+ "internalType": "address",
1034
+ "name": "newAuthority",
1035
+ "type": "address"
1301
1036
  }
1302
1037
  ],
1303
- "name": "processPremium",
1038
+ "name": "setAuthority",
1304
1039
  "outputs": [],
1305
1040
  "stateMutability": "nonpayable",
1306
1041
  "type": "function"
1307
1042
  },
1308
1043
  {
1309
- "inputs": [],
1310
- "name": "register",
1311
- "outputs": [
1044
+ "inputs": [
1312
1045
  {
1313
- "internalType": "NftId",
1314
- "name": "nftId",
1315
- "type": "uint96"
1046
+ "internalType": "bool",
1047
+ "name": "locked",
1048
+ "type": "bool"
1316
1049
  }
1317
1050
  ],
1051
+ "name": "setInstanceLocked",
1052
+ "outputs": [],
1318
1053
  "stateMutability": "nonpayable",
1319
1054
  "type": "function"
1320
1055
  },
1321
1056
  {
1322
1057
  "inputs": [
1323
1058
  {
1324
- "internalType": "contract IComponentContract",
1325
- "name": "component",
1059
+ "internalType": "contract InstanceReader",
1060
+ "name": "instanceReader",
1326
1061
  "type": "address"
1327
1062
  }
1328
1063
  ],
1329
- "name": "registerComponent",
1330
- "outputs": [
1064
+ "name": "setInstanceReader",
1065
+ "outputs": [],
1066
+ "stateMutability": "nonpayable",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [
1331
1071
  {
1332
- "internalType": "NftId",
1333
- "name": "nftId",
1334
- "type": "uint96"
1072
+ "internalType": "RoleId",
1073
+ "name": "roleId",
1074
+ "type": "uint64"
1075
+ },
1076
+ {
1077
+ "internalType": "bool",
1078
+ "name": "active",
1079
+ "type": "bool"
1335
1080
  }
1336
1081
  ],
1082
+ "name": "setRoleActive",
1083
+ "outputs": [],
1337
1084
  "stateMutability": "nonpayable",
1338
1085
  "type": "function"
1339
1086
  },
1340
1087
  {
1341
1088
  "inputs": [
1342
1089
  {
1343
- "internalType": "NftId",
1344
- "name": "nftId",
1345
- "type": "uint96"
1090
+ "internalType": "Seconds",
1091
+ "name": "stakeLockingPeriod",
1092
+ "type": "uint40"
1346
1093
  }
1347
1094
  ],
1348
- "name": "registerPool",
1095
+ "name": "setStakingLockingPeriod",
1349
1096
  "outputs": [],
1350
1097
  "stateMutability": "nonpayable",
1351
1098
  "type": "function"
@@ -1353,51 +1100,12 @@
1353
1100
  {
1354
1101
  "inputs": [
1355
1102
  {
1356
- "internalType": "NftId",
1357
- "name": "poolNftId",
1103
+ "internalType": "Amount",
1104
+ "name": "maxStakedAmount",
1358
1105
  "type": "uint96"
1359
- },
1360
- {
1361
- "internalType": "address",
1362
- "name": "wallet",
1363
- "type": "address"
1364
- },
1365
- {
1366
- "components": [
1367
- {
1368
- "internalType": "UFixed",
1369
- "name": "fractionalFee",
1370
- "type": "uint256"
1371
- },
1372
- {
1373
- "internalType": "uint256",
1374
- "name": "fixedFee",
1375
- "type": "uint256"
1376
- }
1377
- ],
1378
- "internalType": "struct Fee",
1379
- "name": "stakingFee",
1380
- "type": "tuple"
1381
- },
1382
- {
1383
- "components": [
1384
- {
1385
- "internalType": "UFixed",
1386
- "name": "fractionalFee",
1387
- "type": "uint256"
1388
- },
1389
- {
1390
- "internalType": "uint256",
1391
- "name": "fixedFee",
1392
- "type": "uint256"
1393
- }
1394
- ],
1395
- "internalType": "struct Fee",
1396
- "name": "performanceFee",
1397
- "type": "tuple"
1398
1106
  }
1399
1107
  ],
1400
- "name": "registerPool",
1108
+ "name": "setStakingMaxAmount",
1401
1109
  "outputs": [],
1402
1110
  "stateMutability": "nonpayable",
1403
1111
  "type": "function"
@@ -1405,84 +1113,30 @@
1405
1113
  {
1406
1114
  "inputs": [
1407
1115
  {
1408
- "internalType": "NftId",
1409
- "name": "productNftId",
1410
- "type": "uint96"
1411
- },
1412
- {
1413
- "internalType": "NftId",
1414
- "name": "distributorNftId",
1415
- "type": "uint96"
1416
- },
1417
- {
1418
- "internalType": "NftId",
1419
- "name": "poolNftId",
1420
- "type": "uint96"
1421
- },
1422
- {
1423
- "internalType": "contract IERC20",
1424
- "name": "token",
1425
- "type": "address"
1426
- },
1427
- {
1428
- "internalType": "address",
1429
- "name": "wallet",
1430
- "type": "address"
1431
- },
1432
- {
1433
- "components": [
1434
- {
1435
- "internalType": "UFixed",
1436
- "name": "fractionalFee",
1437
- "type": "uint256"
1438
- },
1439
- {
1440
- "internalType": "uint256",
1441
- "name": "fixedFee",
1442
- "type": "uint256"
1443
- }
1444
- ],
1445
- "internalType": "struct Fee",
1446
- "name": "policyFee",
1447
- "type": "tuple"
1448
- },
1449
- {
1450
- "components": [
1451
- {
1452
- "internalType": "UFixed",
1453
- "name": "fractionalFee",
1454
- "type": "uint256"
1455
- },
1456
- {
1457
- "internalType": "uint256",
1458
- "name": "fixedFee",
1459
- "type": "uint256"
1460
- }
1461
- ],
1462
- "internalType": "struct Fee",
1463
- "name": "processingFee",
1464
- "type": "tuple"
1116
+ "internalType": "UFixed",
1117
+ "name": "rewardRate",
1118
+ "type": "uint160"
1465
1119
  }
1466
1120
  ],
1467
- "name": "registerProduct",
1121
+ "name": "setStakingRewardRate",
1468
1122
  "outputs": [],
1469
1123
  "stateMutability": "nonpayable",
1470
1124
  "type": "function"
1471
1125
  },
1472
1126
  {
1473
1127
  "inputs": [
1474
- {
1475
- "internalType": "bytes32",
1476
- "name": "role",
1477
- "type": "bytes32"
1478
- },
1479
1128
  {
1480
1129
  "internalType": "address",
1481
- "name": "member",
1130
+ "name": "target",
1482
1131
  "type": "address"
1132
+ },
1133
+ {
1134
+ "internalType": "bool",
1135
+ "name": "locked",
1136
+ "type": "bool"
1483
1137
  }
1484
1138
  ],
1485
- "name": "revokeRole",
1139
+ "name": "setTargetLocked",
1486
1140
  "outputs": [],
1487
1141
  "stateMutability": "nonpayable",
1488
1142
  "type": "function"
@@ -1490,129 +1144,60 @@
1490
1144
  {
1491
1145
  "inputs": [
1492
1146
  {
1493
- "components": [
1494
- {
1495
- "internalType": "NftId",
1496
- "name": "nftId",
1497
- "type": "uint96"
1498
- },
1499
- {
1500
- "internalType": "StateId",
1501
- "name": "state",
1502
- "type": "uint8"
1503
- },
1504
- {
1505
- "internalType": "contract IERC20Metadata",
1506
- "name": "token",
1507
- "type": "address"
1508
- }
1509
- ],
1510
- "internalType": "struct IComponent.ComponentInfo",
1511
- "name": "info",
1512
- "type": "tuple"
1147
+ "internalType": "bytes4",
1148
+ "name": "interfaceId",
1149
+ "type": "bytes4"
1513
1150
  }
1514
1151
  ],
1515
- "name": "setComponentInfo",
1152
+ "name": "supportsInterface",
1516
1153
  "outputs": [
1517
1154
  {
1518
- "internalType": "NftId",
1519
- "name": "nftId",
1520
- "type": "uint96"
1155
+ "internalType": "bool",
1156
+ "name": "",
1157
+ "type": "bool"
1521
1158
  }
1522
1159
  ],
1523
- "stateMutability": "nonpayable",
1160
+ "stateMutability": "view",
1524
1161
  "type": "function"
1525
1162
  },
1526
1163
  {
1527
1164
  "inputs": [
1528
1165
  {
1529
- "internalType": "NftId",
1530
- "name": "poolNftId",
1531
- "type": "uint96"
1166
+ "internalType": "address",
1167
+ "name": "target",
1168
+ "type": "address"
1532
1169
  },
1533
1170
  {
1534
1171
  "components": [
1535
1172
  {
1536
- "internalType": "UFixed",
1537
- "name": "fractionalFee",
1538
- "type": "uint256"
1173
+ "internalType": "Str",
1174
+ "name": "name",
1175
+ "type": "bytes32"
1539
1176
  },
1540
1177
  {
1541
- "internalType": "uint256",
1542
- "name": "fixedFee",
1543
- "type": "uint256"
1544
- }
1545
- ],
1546
- "internalType": "struct Fee",
1547
- "name": "stakingFee",
1548
- "type": "tuple"
1549
- },
1550
- {
1551
- "components": [
1552
- {
1553
- "internalType": "UFixed",
1554
- "name": "fractionalFee",
1555
- "type": "uint256"
1178
+ "internalType": "Selector",
1179
+ "name": "selector",
1180
+ "type": "bytes4"
1556
1181
  },
1557
1182
  {
1558
- "internalType": "uint256",
1559
- "name": "fixedFee",
1560
- "type": "uint256"
1183
+ "internalType": "Timestamp",
1184
+ "name": "createdAt",
1185
+ "type": "uint40"
1561
1186
  }
1562
1187
  ],
1563
- "internalType": "struct Fee",
1564
- "name": "performanceFee",
1565
- "type": "tuple"
1188
+ "internalType": "struct IAccess.FunctionInfo[]",
1189
+ "name": "functions",
1190
+ "type": "tuple[]"
1566
1191
  }
1567
1192
  ],
1568
- "name": "setPoolFees",
1193
+ "name": "unauthorizeFunctions",
1569
1194
  "outputs": [],
1570
1195
  "stateMutability": "nonpayable",
1571
1196
  "type": "function"
1572
1197
  },
1573
1198
  {
1574
- "inputs": [
1575
- {
1576
- "internalType": "NftId",
1577
- "name": "productNftId",
1578
- "type": "uint96"
1579
- },
1580
- {
1581
- "components": [
1582
- {
1583
- "internalType": "UFixed",
1584
- "name": "fractionalFee",
1585
- "type": "uint256"
1586
- },
1587
- {
1588
- "internalType": "uint256",
1589
- "name": "fixedFee",
1590
- "type": "uint256"
1591
- }
1592
- ],
1593
- "internalType": "struct Fee",
1594
- "name": "policyFee",
1595
- "type": "tuple"
1596
- },
1597
- {
1598
- "components": [
1599
- {
1600
- "internalType": "UFixed",
1601
- "name": "fractionalFee",
1602
- "type": "uint256"
1603
- },
1604
- {
1605
- "internalType": "uint256",
1606
- "name": "fixedFee",
1607
- "type": "uint256"
1608
- }
1609
- ],
1610
- "internalType": "struct Fee",
1611
- "name": "processingFee",
1612
- "type": "tuple"
1613
- }
1614
- ],
1615
- "name": "setProductFees",
1199
+ "inputs": [],
1200
+ "name": "upgradeInstanceReader",
1616
1201
  "outputs": [],
1617
1202
  "stateMutability": "nonpayable",
1618
1203
  "type": "function"
@@ -1620,104 +1205,81 @@
1620
1205
  {
1621
1206
  "inputs": [
1622
1207
  {
1623
- "internalType": "NftId",
1624
- "name": "policyNftId",
1208
+ "internalType": "Amount",
1209
+ "name": "dipAmount",
1625
1210
  "type": "uint96"
1626
- },
1211
+ }
1212
+ ],
1213
+ "name": "withdrawStakingRewardReserves",
1214
+ "outputs": [
1627
1215
  {
1628
- "internalType": "NftId",
1629
- "name": "productNftId",
1216
+ "internalType": "Amount",
1217
+ "name": "newBalance",
1630
1218
  "type": "uint96"
1631
1219
  }
1632
1220
  ],
1633
- "name": "underwrite",
1634
- "outputs": [],
1635
1221
  "stateMutability": "nonpayable",
1636
1222
  "type": "function"
1637
1223
  }
1638
1224
  ],
1639
- "bytecode": "0x60e06040523480156200001157600080fd5b5060405162005cd538038062005cd58339810160408190526200003491620007e6565b600080546001600160a01b0385166001600160a01b031991821617909155600180549091163317905560408051808201909152600c81526b283937b23ab1ba27bbb732b960a11b602082015281908190819085906200009390620001cd565b60805260408051808201909152600b81526a27b930b1b632a7bbb732b960a91b6020820152620000c390620001cd565b60a0526040805180820190915260098152682837b7b627bbb732b960b91b6020820152620000f190620001cd565b60c05262000100603c620001fe565b6200010c6046620001fe565b620001186050620001fe565b620001226200032f565b6200012c620004e6565b600c8054306001600160a01b03199182168117909255600d8054821683179055600e8054821683179055600f805482166001600160a01b0394851617905560128054821683179055601380548216948416949094179093556015805484168217905560168054841682179055601780548416948316949094179093556018805483169490911693909317909255601c805490921617905550620009f1915050565b60408051606081018252600080825260208201849052600192820192909252620001f781620006d3565b9392505050565b60ff81166000908152600660209081526040808320805460ff191660649081179091556007835281842090845290915281206001916200023c606e90565b60ff908116825260208083019390935260409182016000908120805460ff19169515159590951790945584168352600790915281206001916200027d606e90565b60ff1660ff1681526020019081526020016000206000620002a36200077460201b60201c565b60ff908116825260208083019390935260409182016000908120805460ff1916951515959095179094558416835260079091528120600191620002e4606e90565b60ff1660ff16815260200190815260200160002060006200030a6200077e60201b60201c565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b6051600090815260066020527fcb597e9f5a977b393256a78f10901ff1c47d61d9edca5c808980ac693ea31f47805460ff1916606417905560019060079062000376605190565b60ff1660ff16815260200190815260200160002060006200039c6200077460201b60201c565b60ff1660ff1681526020019081526020016000206000620003c26200077960201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600790620003f6605190565b60ff1660ff16815260200190815260200160002060006200041c6200077960201b60201c565b60ff1660ff1681526020019081526020016000206000620004426200077460201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060079062000476605190565b60ff1660ff16815260200190815260200160002060006200049c6200077960201b60201c565b60ff1660ff1681526020019081526020016000206000620004c26200078360201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b605a600090815260066020527f1727c0104c2870c3003671480695f7dab262614528b49265008e76fd3d48c5fe805460ff1916600a1790556001906007906200052d605a90565b60ff1660ff1681526020019081526020016000206000620005536200078860201b60201c565b60ff1660ff1681526020019081526020016000206000620005796200078d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600790620005ad605a90565b60ff1660ff1681526020019081526020016000206000620005d36200078860201b60201c565b60ff1660ff1681526020019081526020016000206000620005f96200079260201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906007906200062d605a90565b60ff1660ff1681526020019081526020016000206000620006536200078860201b60201c565b60ff1660ff1681526020019081526020016000206000620006796200077460201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600790620006ad605a90565b60ff1660ff16815260200190815260200160002060006200049c6200077460201b60201c565b80518062000726576020820151620006eb9062000797565b808352600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0181905590505b600081815260026020908152604090912083518155908301518391906001820190620007539082620008d5565b50604091909101516002909101805460ff1916911515919091179055919050565b606490565b606e90565b60d290565b60c890565b600a90565b601490565b601e90565b600081604051602001620007ac9190620009a1565b604051602081830303815290604052805190602001209050919050565b80516001600160a01b0381168114620007e157600080fd5b919050565b600080600060608486031215620007fc57600080fd5b6200080784620007c9565b92506200081760208501620007c9565b91506200082760408501620007c9565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200085b57607f821691505b6020821081036200087c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008d057600081815260208120601f850160051c81016020861015620008ab5750805b601f850160051c820191505b81811015620008cc57828155600101620008b7565b5050505b505050565b81516001600160401b03811115620008f157620008f162000830565b620009098162000902845462000846565b8462000882565b602080601f831160018114620009415760008415620009285750858301515b600019600386901b1c1916600185901b178555620008cc565b600085815260208120601f198616915b82811015620009725788860151825594840194600190910190840162000951565b5085821015620009915787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620009d057858101830151858201604001528201620009b2565b506000604082860101526040601f19601f8301168501019250505092915050565b60805160a05160c0516152b462000a21600039600061057f015260006104ed015260006106db01526152b46000f3fe60806040523480156200001157600080fd5b5060043610620003e55760003560e01c80637ff826131162000211578063bd7d9d851162000125578063e9e96c7011620000bb578063f174ce191162000086578063f174ce191462000b8f578063f274e87d1462000bbb578063fb2cb1011462000be8578063fc0ae0541462000bfa57600080fd5b8063e9e96c701462000a87578063eb71e8c41462000a9e578063eb7f494d1462000ac7578063f0ea17c31462000ade57600080fd5b8063ca38559811620000fc578063ca3855981462000978578063d0bb064c146200098f578063d547741f1462000a1f578063dc261c3a1462000a3657600080fd5b8063bd7d9d851462000915578063be409a11146200093b578063ca15c873146200096157600080fd5b80639cad005211620001a7578063b90915521162000172578063b909155214620008b3578063ba62fbe414620008de578063bce3952314620008e7578063bd62faf714620008fe57600080fd5b80639cad00521462000836578063a310e2a3146200084d578063a7f3669b1462000885578063af17d38a146200089c57600080fd5b80638aa03b6b11620001e85780638aa03b6b14620007895780639010d07c146200079257806391d1485414620007a957806393865aec14620007e557600080fd5b80637ff82613146200075f57806383d333191462000776578063893d20e8146200077f57600080fd5b80633300a8a811620003095780636078a3b2116200029f5780636fa29853116200026a5780636fa29853146200071757806379e829d014620007295780637c4a13b114620007315780637fec8b31146200074857600080fd5b80636078a3b214620006b8578063644c45e014620006cf5780636c137ea914620006d95780636ce5caea146200070057600080fd5b80634fd077f511620002e05780634fd077f514620006265780635312fdc2146200064c57806357f80bbf14620006635780635ab1bd5314620006a657600080fd5b80633300a8a814620005a45780633bc5de3014620005ca5780634288121d146200060057600080fd5b806322366844116200037f5780632f2ff15d11620003565780632f2ff15d146200054757806331b62a3b146200055e57806331e48e32146200056657806332e3a6e9146200057d57600080fd5b80632236684414620004d05780632a5f6e8514620004eb5780632b1c7f73146200051257600080fd5b806313f7dcfc11620003c057806313f7dcfc146200048e57806315dae03e14620004a75780631aa3a00814620004af5780632064717e14620004b957600080fd5b806301ed760414620003ea57806302393c4114620004365780630d3581811462000452575b600080fd5b62000419620003fb3660046200417b565b6001600160601b039081166000908152601160205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b620004436402540be40081565b6040519081526020016200042d565b6200047b62000463366004620041ab565b60ff9081166000908152600660205260409020541690565b60405160ff90911681526020016200042d565b620004a56200049f3660046200417b565b62000c11565b005b60326200047b565b6200041962000c76565b62000419620004ca366004620042a4565b62000d42565b620004da620010f7565b60405190151581526020016200042d565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620004196200052336600462004380565b6001600160a01b03166000908152600960205260409020546001600160601b031690565b620004a562000558366004620043a0565b620011ef565b600062000419565b620004a56200057736600462004406565b620013fb565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620005bb620005b53660046200417b565b62001537565b6040516200042d9190620044a8565b620005f1604080516000602082015260609101604051602081830303815290604052905090565b6040516200042d91906200454f565b6018546001600160a01b03165b6040516001600160a01b0390911681526020016200042d565b6200063d620006373660046200417b565b620015bd565b6040516200042d919062004564565b620004436200065d36600462004619565b62001675565b6200067a620006743660046200417b565b6200169f565b6040805182516001600160601b031681526020808401519082015291810151908201526060016200042d565b6000546001600160a01b03166200060d565b62000419620006c936600462004380565b62001711565b6200041962002190565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620004a56200071136600462004633565b620021da565b600f546001600160a01b03166200060d565b6001620004da565b620004a56200074236600462004619565b62002602565b620004196200075936600462004619565b620027e5565b620004a5620007703660046200417b565b6200282d565b60035462000443565b6200060d6200293c565b62000443600081565b6200060d620007a336600462004666565b62002a4c565b620004da620007ba366004620043a0565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b620004a5620007f636600462004689565b6001600160601b039092166000908152601b6020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6200044362000847366004620046d7565b62002a6f565b6200060d6200085e3660046200417b565b6001600160601b03166000908152601960205260409020600201546001600160a01b031690565b6200047b6200089636600462004792565b62002aa1565b62000443620008ad366004620046d7565b62002c6a565b620005f16040518060400160405280600b81526020016a27b930b1b632a7bbb732b960a91b81525081565b600a5462000443565b620004a5620008f836600462004633565b62002d17565b620004196200090f366004620047f7565b6200300e565b6200092c620009263660046200417b565b620033dd565b6040516200042d919062004873565b620009526200094c36600462004619565b620034e8565b6040516200042d919062004901565b620004436200097236600462004619565b620035d5565b620004a5620009893660046200417b565b620035ee565b620004a5620009a036600462004941565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601b81529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b620004a562000a30366004620043a0565b62003734565b620004a562000a4736600462004689565b6001600160601b03909216600090815260196020908152604090912082516004820155918101516005830155825160068301559190910151600790910155565b620004da62000a98366004620049a4565b6200386b565b620005f1604051806040016040528060098152602001682837b7b627bbb732b960b91b81525081565b620004a562000ad836600462004619565b6200389f565b62000b5762000aef3660046200417b565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600883528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200042d565b620005f16040518060400160405280600c81526020016b283937b23ab1ba27bbb732b960a11b81525081565b62000bd262000bcc366004620049f6565b62003a7d565b604080519283526020830191909152016200042d565b6001546001600160a01b03166200060d565b6200044362000c0b366004620041ab565b62003bb0565b6013546001600160a01b0316331462000c475760405162461bcd60e51b815260040162000c3e9062004a26565b60405180910390fd5b6001600160601b031660009081526010602052604090206002810154600382015542600690910155565b905090565b600080546001600160a01b031662000cd15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000604482015260640162000c3e565b600054604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801562000d1c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c71919062004a74565b6013546000906001600160a01b0316331462000d725760405162461bcd60e51b815260040162000c3e9062004a26565b6040516330b8415f60e01b81526001600160601b038316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000dcb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000df1919062004a94565b50306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000e31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e57919062004ab8565b6001600160a01b0316631d1b0cac886000015162000e73605a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526001600160a01b03891660448201526064016020604051808303816000875af115801562000ed1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ef7919062004a74565b6040805161016081019091526001600160601b03821681526012549192509060208201906001600160a01b0316630d358181605a6040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562000f6a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f90919062004ae5565b60ff168152602001868152602001858152602001600081526020018481526020014281526020014281526020016000815260200160008152602001600081525060106000836001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a81548160ff021916908360ff16021790555060408201518160010155606082015181600201556080820151816003015560a0820151816004015560c0820151816005015560e082015181600601556101008201518160070155610120820151816008015561014082015181600901559050508160116000836001600160601b03166001600160601b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055509695505050505050565b60008054604051636939560f60e11b815230600482015282916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562001141573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001167919062004a74565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620011c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011e9919062004a94565b91505090565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200122e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001254919062004ab8565b6001600160a01b0316336001600160a01b031614620012875760405162461bcd60e51b815260040162000c3e9062004b12565b6000828152600260205260409020548214620012e65760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a41434d2d3031303a524f4c455f4e4f545f4558495354494e4700604482015260640162000c3e565b6000828152600260208190526040909120015460ff166200134a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a41434d2d3031313a524f4c455f4e4f545f414354495645000000604482015260640162000c3e565b60008281526004602090815260408083206001600160a01b03851684528252808320805460ff19166001179055848352600590915290206200138d908262003cce565b5060008281526004602090815260408083206001600160a01b038516808552908352928190205481518681529283019390935260ff90921615158183015290517f9a2df6ca1a9ab5e734f2f076b73fd00974eca8e06b9895f8f4eaebb590cc09a59181900360600190a15050565b6000846040516200140c9062004089565b6001600160a01b039091168152602001604051809103906000f08015801562001439573d6000803e3d6000fd5b5060408051610100810182526001600160601b039a8b16808252998b166020808301918252998c168284019081526001600160a01b03998a1660608401908152948a1660808401908152988a1660a0840190815260c0840198895260e0840197885260009c8d5260198c5293909b20915182549151908d166001600160c01b031990921691909117600160601b918d1682021782559951925192909a169187169098021760018901555091516002870180546001600160a01b03199081169286169290921790559451600387018054909616931692909217909355518051600485015581015160058401559051805160068401550151600790910155565b6200154162004097565b506001600160601b039081166000908152601b6020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b620015c762004108565b506001600160601b0390811660009081526019602090815260409182902082516101008101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b03950485166060820152600282015485166080820152600382015490941660a0850152825180840184526004820154815260058201548184015260c0850152825180840190935260068101548352600701549082015260e082015290565b6000600382815481106200168d576200168d62004b49565b90600052602060002001549050919050565b620016cd604051806060016040528060006001600160601b0316815260200160008152602001600081525090565b506001600160601b03908116600090815260146020908152604091829020825160608101845281549094168452600181015491840191909152600201549082015290565b600f546000906001600160a01b03163314620017705760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000c3e565b6000826001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620017b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017d7919062004ae5565b90506000620017e68262003bb0565b9050306001600160a01b03166391d1485482866001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001837573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200185d919062004ab8565b6040516001600160e01b031960e085901b16815260048101929092526001600160a01b03166024820152604401602060405180830381865afa158015620018a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018ce919062004a94565b6200191c5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030343a545950455f524f4c455f4d495353494e4700604482015260640162000c3e565b306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200195b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001981919062004ab8565b604051632210724360e11b81526001600160a01b0386811660048301529190911690634420e486906024016020604051808303816000875af1158015620019cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019f2919062004a74565b92506000846001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a35573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a5b919062004ab8565b90506000856001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ac4919062004ab8565b604080516060810182526001600160601b0388168152600c549151630d35818160e01b815260ff881660048201529293509160208301916001600160a01b031690630d35818190602401602060405180830381865afa15801562001b2c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b52919062004ae5565b60ff90811682526001600160a01b038086166020938401526001600160601b03808a166000908152600885526040908190208651815488880151909616600160601b026cffffffffffffffffffffffffff1990961693169290921793909317815593820151600190940180549482166001600160a01b0319909516949094179093558051630aed701f60e11b8152905162001c45938a16926315dae03e92600480820193918290030181865afa15801562001c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c37919062004ae5565b603c5b60ff90811691161490565b1562001edb5760008690506000816001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c91573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cb7919062004a74565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001d13573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d39919062004a94565b62001d875760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a434d502d3030353a504f4f4c5f554e4b4e4f574e000000000000604482015260640162000c3e565b6000600d60009054906101000a90046001600160a01b03166001600160a01b03166331e48e328983858989896001600160a01b031663bc74aab06040518163ffffffff1660e01b81526004016040805180830381865afa15801562001df0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e16919062004b92565b8a6001600160a01b031663daafed406040518163ffffffff1660e01b81526004016040805180830381865afa15801562001e54573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e7a919062004b92565b6040518863ffffffff1660e01b815260040162001e9e979695949392919062004bb1565b600060405180830381600087803b15801562001eb957600080fd5b505af115801562001ece573d6000803e3d6000fd5b50505050505050620020ff565b62001f4c866001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001f1e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f44919062004ae5565b605062001c3a565b15620020ff57600e546040516319470ab360e31b81526001600160601b038716600482015287916001600160a01b03169063ca38559890602401600060405180830381600087803b15801562001fa157600080fd5b505af115801562001fb6573d6000803e3d6000fd5b50505050600d60009054906101000a90046001600160a01b03166001600160a01b031663d0bb064c8784846001600160a01b0316634b270a466040518163ffffffff1660e01b81526004016040805180830381865afa1580156200201e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002044919062004b92565b856001600160a01b031663235c36036040518163ffffffff1660e01b81526004016040805180830381865afa15801562002082573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020a8919062004b92565b6040518563ffffffff1660e01b8152600401620020c9949392919062004c1f565b600060405180830381600087803b158015620020e457600080fd5b505af1158015620020f9573d6000803e3d6000fd5b50505050505b505050506001600160a01b0391909116600090815260096020526040812080546bffffffffffffffffffffffff19166001600160601b03848116918217909255600a805460018181018355919094527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a86002850401805494909116600c026101000a92830219909316910217905590565b60008054604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801562000d1c573d6000803e3d6000fd5b601c5460405163bd7d9d8560e01b81526001600160601b03841660048201526000916001600160a01b03169063bd7d9d859060240161016060405180830381865afa1580156200222e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002254919062004c70565b80519091506001600160601b03848116911614620022b55760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5452532d3032303a504f4c4943595f554e4b4e4f574e00000000604482015260640162000c3e565b6001600160601b03808316600090815260196020908152604080832081516101008101835281548087168252600160601b908190048716828601526001830154968716828501526001600160a01b039604861660608201526002820154861660808201908152600383015490961660a082015282518084018452600480840154825260058401548287015260c083019190915283518085018552600684015481526007909301548386015260e082019290925294518251635ab1bd5360e01b815292519094933093635ab1bd539381810193918290030181865afa158015620023a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023c8919062004ab8565b60405163df33330b60e01b81526001600160601b03881660048201526001600160a01b03919091169063df33330b90602401602060405180830381865afa15801562002418573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200243e919062004ab8565b6040848101516001600160601b03166000908152601b602052205460c0850151919250600160601b90046001600160a01b0316906200247d9062003ce5565b15620024fc5760608501516040516317d5759960e31b81526001600160a01b038481166004830152838116602483015260448201929092529084169063beabacc890606401600060405180830381600087803b158015620024dd57600080fd5b505af1158015620024f2573d6000803e3d6000fd5b50505050620025f9565b6000806200251387606001518760c0015162003a7d565b60a08801516040516317d5759960e31b81526001600160a01b03888116600483015291821660248201526044810184905292945090925086169063beabacc890606401600060405180830381600087803b1580156200257157600080fd5b505af115801562002586573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0387811660048301528681166024830152604482018590528816925063beabacc89150606401600060405180830381600087803b158015620025dd57600080fd5b505af1158015620025f2573d6000803e3d6000fd5b5050505050505b50505050505050565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002667919062004ab8565b6001600160a01b0316336001600160a01b0316146200269a5760405162461bcd60e51b815260040162000c3e9062004b12565b60006002600083815260200190815260200160002060405180606001604052908160008201548152602001600182018054620026d69062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620027049062004d18565b8015620027555780601f10620027295761010080835404028352916020019162002755565b820191906000526020600020905b8154815290600101906020018083116200273757829003601f168201915b50505091835250506002919091015460ff16151560209091015280519091508214620027ce5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a414f532d3030313a524f4c455f444f45535f4e4f545f455849536044820152601560fa1b606482015260840162000c3e565b60006040820152620027e08162003cfd565b505050565b6000600a8281548110620027fd57620027fd62004b49565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b6013546001600160a01b031633146200285a5760405162461bcd60e51b815260040162000c3e9062004a26565b6001600160601b0381166000908152601060205260409020426007820181905560048201546200288a9162004d6a565b60088201556012546001600160a01b031663a7f3669b83605a8454600160601b900460ff16620028b8606490565b6040518563ffffffff1660e01b8152600401620028d9949392919062004d80565b6020604051808303816000875af1158015620028f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200291f919062004ae5565b815460ff91909116600160601b0260ff60601b1990911617905550565b60008054604051636939560f60e11b815230600482015282916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562002986573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029ac919062004a74565b60005460405163df33330b60e01b81526001600160601b03831660048201529192506001600160a01b03169063df33330b90602401602060405180830381865afa158015620029ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a25919062004ab8565b91506001600160a01b03821662002a48576001546001600160a01b0316620011e9565b5090565b600082815260056020526040812062002a66908362003d9d565b90505b92915050565b60008160405160200162002a8491906200454f565b604051602081830303815290604052805190602001209050919050565b60ff808416600090815260076020908152604080832086851684528252808320858516845290915281205490911662002af75784848484604051630cdd837760e21b815260040162000c3e949392919062004d80565b62002b0484605a62001c3a565b1562002b6157604080516001600160601b038716815260ff80861660208301528416918101919091527f3453c320908f5844705a0f2acbb230412df911a60544eca9236d16f5f9f1f6f6906060015b60405180910390a162002c62565b62002b6e84605162001c3a565b1562002bc257604080516001600160601b038716815260ff80861660208301528416918101919091527f92e25bf636cb4bfa6edf8b4fa57c0d64b6d959e3c6376d17c9bcc168fe36be199060600162002b53565b62002bcf84603c62001c3a565b8062002be3575062002be384604662001c3a565b8062002bf7575062002bf784605062001c3a565b1562002c34577fcc75054af33cdb7ef0c6dd9d4cb6f22e1dc2d22204db49d769d5da19579fb84e8585858560405162002b53949392919062004d80565b60405163024acc7560e21b81526001600160601b038616600482015260ff8516602482015260440162000c3e565b509392505050565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002cab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cd1919062004ab8565b6001600160a01b0316336001600160a01b03161462002d045760405162461bcd60e51b815260040162000c3e9062004b12565b62002d0f8262003dab565b90505b919050565b6017546001600160a01b0316331462002d445760405162461bcd60e51b815260040162000c3e9062004a26565b60155460405163bd7d9d8560e01b81526001600160601b03841660048201526000916001600160a01b03169063bd7d9d859060240161016060405180830381865afa15801562002d98573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002dbe919062004c70565b80519091506001600160601b0384811691161462002e1f5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a504c2d3030323a504f4c4943595f554e4b4e4f574e0000000000604482015260640162000c3e565b601654604051634fd077f560e01b81526001600160601b03841660048201526000916001600160a01b031690634fd077f59060240161014060405180830381865afa15801562002e73573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e99919062004dac565b80519091506001600160601b0384811691161462002f055760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c2d3030333a50524f445543545f53455455505f4d495353496044820152614e4760f01b606482015260840162000c3e565b6040818101516001600160601b0380821660008181526014602052939093208054929390929091161462002f7c5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a504c2d3030343a504f4f4c5f554e4b4e4f574e00000000000000604482015260640162000c3e565b83604001518160020154826001015462002f97919062004e68565b101562002fe75760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a504c2d3030353a43415041434954595f544f4f5f4c4f57000000604482015260640162000c3e565b836040015181600201600082825462003001919062004d6a565b9091555050505050505050565b600f546000906001600160a01b031633146200306d5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000c3e565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620030c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030ef919062004a94565b80156200318e57506001600160601b038181166000818152600860205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562003168573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200318e919062004a94565b620031dc5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000c3e565b6000306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200321d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003243919062004ab8565b604051634c3371cd60e01b81526001600160601b03841660048201526001600160a01b039190911690634c3371cd9060240160a060405180830381865afa15801562003293573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620032b9919062004e7e565b604090810151600c546001600160601b038516600090815260086020908152908490205490870151935163a7f3669b60e01b81529294506001600160a01b039091169263a7f3669b92620033209287928792600160601b90920460ff169160040162004d80565b6020604051808303816000875af115801562003340573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003366919062004ae5565b50506001600160601b03808216600090815260086020908152604091829020855181549287015160ff16600160601b026cffffffffffffffffffffffffff1990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b6200344760405180610160016040528060006001600160601b03168152602001600060ff1681526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b506001600160601b0390811660009081526010602090815260409182902082516101608101845281549485168152600160601b90940460ff16918401919091526001810154918301919091526002810154606083015260038101546080830152600481015460a0830152600581015460c0830152600681015460e0830152600781015461010083015260088101546101208301526009015461014082015290565b60408051606080820183526000808352602080840183905283850182905285825260028152908490208451928301909452835482526001840180549394929391840191620035369062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620035649062004d18565b8015620035b55780601f106200358957610100808354040283529160200191620035b5565b820191906000526020600020905b8154815290600101906020018083116200359757829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b600081815260056020526040812062002d0f9062003dd5565b6001600160601b0381811660009081526014602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156200365a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003680919062004a94565b620036ce5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3030313a414c52454144595f4352454154454400000000604482015260640162000c3e565b604080516060810182526001600160601b039283168082526402540be40060208084019182526000848601818152938152601490915293909320915182546bffffffffffffffffffffffff19169416939093178155905160018201559051600290910155565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003773573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003799919062004ab8565b6001600160a01b0316336001600160a01b031614620037cc5760405162461bcd60e51b815260040162000c3e9062004b12565b60008281526002602052604090205482146200382b5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a41434d2d3032303a524f4c455f4e4f545f4558495354494e4700604482015260640162000c3e565b60008281526004602090815260408083206001600160a01b03851684528252808320805460ff1916905584835260059091529020620027e0908262003de0565b60ff8084166000908152600760209081526040808320868516845282528083208585168452909152902054165b9392505050565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620038de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003904919062004ab8565b6001600160a01b0316336001600160a01b031614620039375760405162461bcd60e51b815260040162000c3e9062004b12565b60006002600083815260200190815260200160002060405180606001604052908160008201548152602001600182018054620039739062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620039a19062004d18565b8015620039f25780601f10620039c657610100808354040283529160200191620039f2565b820191906000526020600020905b815481529060010190602001808311620039d457829003601f168201915b50505091835250506002919091015460ff1615156020909101528051909150821462003a6b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a414f532d3030323a524f4c455f444f45535f4e4f545f455849536044820152601560fa1b606482015260840162000c3e565b60016040820152620027e08162003cfd565b600080600062003b0c73__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__6392ae8ce0876040518263ffffffff1660e01b815260040162003ac091815260200190565b602060405180830381865af415801562003ade573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b04919062004f05565b855162003df7565b602085015160405163682d822960e11b8152600481018390529192509073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063d05b045290602401602060405180830381865af415801562003b66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b8c919062004f05565b62003b98919062004d6a565b925062003ba6838662004e68565b9150509250929050565b600062003bbf82603c62001c3a565b1562003c2a57306001600160a01b0316636c137ea96040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d0f919062004f05565b62003c3782605062001c3a565b1562003c7c57306001600160a01b03166332e3a6e96040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b62003c8982604662001c3a565b1562002d1257306001600160a01b0316632a5f6e856040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b600062002a66836001600160a01b03841662003e0e565b60008160200151600014801562002d0f575050511590565b80518062003d4f5762003d14826020015162002a6f565b808352600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0181905590505b60008181526002602090815260409091208351815590830151839190600182019062003d7c908262004f71565b50604091909101516002909101805460ff1916911515919091179055919050565b600062002a66838362003e60565b60408051606081018252600080825260208201849052600192820192909252620038988162003cfd565b600062002d0f825490565b600062002a66836001600160a01b03841662003e8d565b600062002a668383670de0b6b3a764000062003f98565b600081815260018301602052604081205462003e575750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562002a69565b50600062002a69565b600082600001828154811062003e7a5762003e7a62004b49565b9060005260206000200154905092915050565b6000818152600183016020526040812054801562003f8657600062003eb460018362004e68565b855490915060009062003eca9060019062004e68565b905081811462003f3657600086600001828154811062003eee5762003eee62004b49565b906000526020600020015490508087600001848154811062003f145762003f1462004b49565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062003f4a5762003f4a6200503e565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062002a69565b600091505062002a69565b5092915050565b600080806000198587098587029250828110838203039150508060000362003fd75783828162003fcc5762003fcc62005054565b049250505062003898565b808411620040205760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640162000c3e565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b610214806200506b83390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b03168152602001620040e0604051806040016040528060008152602001600081525090565b815260200162004103604051806040016040528060008152602001600081525090565b905290565b604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301529060c0820190620040e0565b6001600160601b03811681146200416b57600080fd5b50565b803562002d128162004155565b6000602082840312156200418e57600080fd5b8135620038988162004155565b60ff811681146200416b57600080fd5b600060208284031215620041be57600080fd5b813562003898816200419b565b634e487b7160e01b600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715620042075762004207620041cb565b60405290565b6040805190810167ffffffffffffffff81118282101715620042075762004207620041cb565b604051610160810167ffffffffffffffff81118282101715620042075762004207620041cb565b604051610100810167ffffffffffffffff81118282101715620042075762004207620041cb565b6001600160a01b03811681146200416b57600080fd5b803562002d128162004281565b600080600080600080868803610140811215620042c057600080fd5b60a0811215620042cf57600080fd5b50620042da620041e1565b8735620042e78162004155565b81526020880135620042f98162004155565b602082015260408801356200430e816200419b565b60408201526060880135620043238162004281565b60608201526080880135620043388162004281565b608082015295506200434d60a0880162004297565b945060c0870135935060e0870135925061010087013591506200437461012088016200416e565b90509295509295509295565b6000602082840312156200439357600080fd5b8135620038988162004281565b60008060408385031215620043b457600080fd5b823591506020830135620043c88162004281565b809150509250929050565b600060408284031215620043e657600080fd5b620043f06200420d565b9050813581526020820135602082015292915050565b6000806000806000806000610120888a0312156200442357600080fd5b8735620044308162004155565b96506020880135620044428162004155565b95506040880135620044548162004155565b94506060880135620044668162004281565b93506080880135620044788162004281565b9250620044898960a08a01620043d3565b91506200449a8960e08a01620043d3565b905092959891949750929550565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c0830191620044ea9084018280518252602090810151910152565b50606083015180516080840152602081015160a084015262003f91565b6000815180845260005b818110156200452f5760208185018101518683018201520162004511565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062002a66602083018462004507565b81516001600160601b039081168252602080840151821690830152604080840151909116908201526060808301516001600160a01b031690820152608080830151610140830191620045c0908401826001600160a01b03169052565b5060a0830151620045dc60a08401826001600160a01b03169052565b5060c0830151620045fa60c084018280518252602090810151910152565b5060e08301518051610100840152602081015161012084015262003f91565b6000602082840312156200462c57600080fd5b5035919050565b600080604083850312156200464757600080fd5b8235620046548162004155565b91506020830135620043c88162004155565b600080604083850312156200467a57600080fd5b50508035926020909101359150565b600080600060a084860312156200469f57600080fd5b8335620046ac8162004155565b9250620046bd8560208601620043d3565b9150620046ce8560608601620043d3565b90509250925092565b600060208284031215620046ea57600080fd5b813567ffffffffffffffff808211156200470357600080fd5b818401915084601f8301126200471857600080fd5b8135818111156200472d576200472d620041cb565b604051601f8201601f19908116603f01168101908382118183101715620047585762004758620041cb565b816040528281528760208487010111156200477257600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060008060808587031215620047a957600080fd5b8435620047b68162004155565b93506020850135620047c8816200419b565b92506040850135620047da816200419b565b91506060850135620047ec816200419b565b939692955090935050565b6000606082840312156200480a57600080fd5b6040516060810181811067ffffffffffffffff82111715620048305762004830620041cb565b6040528235620048408162004155565b8152602083013562004852816200419b565b60208201526040830135620048678162004281565b60408201529392505050565b81516001600160601b03168152610160810160208301516200489a602084018260ff169052565b5060408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010080840151818401525061012080840151818401525061014080840151818401525092915050565b6020815281516020820152600060208301516060604084015262004929608084018262004507565b90506040840151151560608401528091505092915050565b60008060008060c085870312156200495857600080fd5b8435620049658162004155565b93506020850135620049778162004281565b9250620049888660408701620043d3565b9150620049998660808701620043d3565b905092959194509250565b600080600060608486031215620049ba57600080fd5b8335620049c7816200419b565b92506020840135620049d9816200419b565b91506040840135620049eb816200419b565b809150509250925092565b6000806060838503121562004a0a57600080fd5b8235915062004a1d8460208501620043d3565b90509250929050565b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b805162002d128162004155565b60006020828403121562004a8757600080fd5b8151620038988162004155565b60006020828403121562004aa757600080fd5b815180151581146200389857600080fd5b60006020828403121562004acb57600080fd5b8151620038988162004281565b805162002d12816200419b565b60006020828403121562004af857600080fd5b815162003898816200419b565b805162002d128162004281565b60208082526017908201527f4552524f523a41434d2d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006040828403121562004b7257600080fd5b62004b7c6200420d565b9050815181526020820151602082015292915050565b60006040828403121562004ba557600080fd5b62002a66838362004b5f565b6001600160601b0388811682528781166020830152861660408201526001600160a01b03858116606083015284166080820152610120810162004c0160a083018580518252602090810151910152565b825160e0830152602083015161010083015298975050505050505050565b6001600160601b03851681526001600160a01b038416602082015260c0810162004c56604083018580518252602090810151910152565b82516080830152602083015160a083015295945050505050565b6000610160828403121562004c8457600080fd5b62004c8e62004233565b62004c998362004a67565b815262004ca96020840162004ad8565b602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152506101208084015181830152506101408084015181830152508091505092915050565b600181811c9082168062004d2d57607f821691505b60208210810362004d4e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111562002a695762002a6962004d54565b6001600160601b0394909416845260ff9283166020850152908216604084015216606082015260800190565b6000610140828403121562004dc057600080fd5b62004dca6200425a565b825162004dd78162004155565b815262004de76020840162004a67565b602082015262004dfa6040840162004a67565b604082015262004e0d6060840162004b05565b606082015262004e206080840162004b05565b608082015262004e3360a0840162004b05565b60a082015262004e478460c0850162004b5f565b60c082015262004e5c84610100850162004b5f565b60e08201529392505050565b8181038181111562002a695762002a6962004d54565b600060a0828403121562004e9157600080fd5b62004e9b620041e1565b825162004ea88162004155565b8152602083015162004eba8162004155565b6020820152604083015162004ecf816200419b565b6040820152606083015162004ee48162004281565b6060820152608083015162004ef98162004281565b60808201529392505050565b60006020828403121562004f1857600080fd5b5051919050565b601f821115620027e057600081815260208120601f850160051c8101602086101562004f485750805b601f850160051c820191505b8181101562004f695782815560010162004f54565b505050505050565b815167ffffffffffffffff81111562004f8e5762004f8e620041cb565b62004fa68162004f9f845462004d18565b8462004f1f565b602080601f83116001811462004fde576000841562004fc55750858301515b600019600386901b1c1916600185901b17855562004f69565b600085815260208120601f198616915b828110156200500f5788860151825594840194600190910190840162004fee565b50858210156200502e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe608060405234801561001057600080fd5b5060405161021438038061021483398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610181806100936000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063beabacc814610030575b600080fd5b61004361003e3660046100e6565b610045565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052909116906323b872dd906064016020604051808303816000875af11580156100a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c49190610122565b50505050565b80356001600160a01b03811681146100e157600080fd5b919050565b6000806000606084860312156100fb57600080fd5b610104846100ca565b9250610112602085016100ca565b9150604084013590509250925092565b60006020828403121561013457600080fd5b8151801515811461014457600080fd5b939250505056fea2646970667358221220562140f71a9543b09bbf1c4e06df85e2834d2a68a92d2ce61eaa7f03c34c465864736f6c63430008140033a26469706673582212202190b39837bbd0f1c3a219391aa64bfbb33164b5ad27b890d8030e8585a2b2dc64736f6c63430008140033",
1640
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620003e55760003560e01c80637ff826131162000211578063bd7d9d851162000125578063e9e96c7011620000bb578063f174ce191162000086578063f174ce191462000b8f578063f274e87d1462000bbb578063fb2cb1011462000be8578063fc0ae0541462000bfa57600080fd5b8063e9e96c701462000a87578063eb71e8c41462000a9e578063eb7f494d1462000ac7578063f0ea17c31462000ade57600080fd5b8063ca38559811620000fc578063ca3855981462000978578063d0bb064c146200098f578063d547741f1462000a1f578063dc261c3a1462000a3657600080fd5b8063bd7d9d851462000915578063be409a11146200093b578063ca15c873146200096157600080fd5b80639cad005211620001a7578063b90915521162000172578063b909155214620008b3578063ba62fbe414620008de578063bce3952314620008e7578063bd62faf714620008fe57600080fd5b80639cad00521462000836578063a310e2a3146200084d578063a7f3669b1462000885578063af17d38a146200089c57600080fd5b80638aa03b6b11620001e85780638aa03b6b14620007895780639010d07c146200079257806391d1485414620007a957806393865aec14620007e557600080fd5b80637ff82613146200075f57806383d333191462000776578063893d20e8146200077f57600080fd5b80633300a8a811620003095780636078a3b2116200029f5780636fa29853116200026a5780636fa29853146200071757806379e829d014620007295780637c4a13b114620007315780637fec8b31146200074857600080fd5b80636078a3b214620006b8578063644c45e014620006cf5780636c137ea914620006d95780636ce5caea146200070057600080fd5b80634fd077f511620002e05780634fd077f514620006265780635312fdc2146200064c57806357f80bbf14620006635780635ab1bd5314620006a657600080fd5b80633300a8a814620005a45780633bc5de3014620005ca5780634288121d146200060057600080fd5b806322366844116200037f5780632f2ff15d11620003565780632f2ff15d146200054757806331b62a3b146200055e57806331e48e32146200056657806332e3a6e9146200057d57600080fd5b80632236684414620004d05780632a5f6e8514620004eb5780632b1c7f73146200051257600080fd5b806313f7dcfc11620003c057806313f7dcfc146200048e57806315dae03e14620004a75780631aa3a00814620004af5780632064717e14620004b957600080fd5b806301ed760414620003ea57806302393c4114620004365780630d3581811462000452575b600080fd5b62000419620003fb3660046200417b565b6001600160601b039081166000908152601160205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b620004436402540be40081565b6040519081526020016200042d565b6200047b62000463366004620041ab565b60ff9081166000908152600660205260409020541690565b60405160ff90911681526020016200042d565b620004a56200049f3660046200417b565b62000c11565b005b60326200047b565b6200041962000c76565b62000419620004ca366004620042a4565b62000d42565b620004da620010f7565b60405190151581526020016200042d565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620004196200052336600462004380565b6001600160a01b03166000908152600960205260409020546001600160601b031690565b620004a562000558366004620043a0565b620011ef565b600062000419565b620004a56200057736600462004406565b620013fb565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620005bb620005b53660046200417b565b62001537565b6040516200042d9190620044a8565b620005f1604080516000602082015260609101604051602081830303815290604052905090565b6040516200042d91906200454f565b6018546001600160a01b03165b6040516001600160a01b0390911681526020016200042d565b6200063d620006373660046200417b565b620015bd565b6040516200042d919062004564565b620004436200065d36600462004619565b62001675565b6200067a620006743660046200417b565b6200169f565b6040805182516001600160601b031681526020808401519082015291810151908201526060016200042d565b6000546001600160a01b03166200060d565b62000419620006c936600462004380565b62001711565b6200041962002190565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620004a56200071136600462004633565b620021da565b600f546001600160a01b03166200060d565b6001620004da565b620004a56200074236600462004619565b62002602565b620004196200075936600462004619565b620027e5565b620004a5620007703660046200417b565b6200282d565b60035462000443565b6200060d6200293c565b62000443600081565b6200060d620007a336600462004666565b62002a4c565b620004da620007ba366004620043a0565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b620004a5620007f636600462004689565b6001600160601b039092166000908152601b6020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6200044362000847366004620046d7565b62002a6f565b6200060d6200085e3660046200417b565b6001600160601b03166000908152601960205260409020600201546001600160a01b031690565b6200047b6200089636600462004792565b62002aa1565b62000443620008ad366004620046d7565b62002c6a565b620005f16040518060400160405280600b81526020016a27b930b1b632a7bbb732b960a91b81525081565b600a5462000443565b620004a5620008f836600462004633565b62002d17565b620004196200090f366004620047f7565b6200300e565b6200092c620009263660046200417b565b620033dd565b6040516200042d919062004873565b620009526200094c36600462004619565b620034e8565b6040516200042d919062004901565b620004436200097236600462004619565b620035d5565b620004a5620009893660046200417b565b620035ee565b620004a5620009a036600462004941565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601b81529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b620004a562000a30366004620043a0565b62003734565b620004a562000a4736600462004689565b6001600160601b03909216600090815260196020908152604090912082516004820155918101516005830155825160068301559190910151600790910155565b620004da62000a98366004620049a4565b6200386b565b620005f1604051806040016040528060098152602001682837b7b627bbb732b960b91b81525081565b620004a562000ad836600462004619565b6200389f565b62000b5762000aef3660046200417b565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600883528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200042d565b620005f16040518060400160405280600c81526020016b283937b23ab1ba27bbb732b960a11b81525081565b62000bd262000bcc366004620049f6565b62003a7d565b604080519283526020830191909152016200042d565b6001546001600160a01b03166200060d565b6200044362000c0b366004620041ab565b62003bb0565b6013546001600160a01b0316331462000c475760405162461bcd60e51b815260040162000c3e9062004a26565b60405180910390fd5b6001600160601b031660009081526010602052604090206002810154600382015542600690910155565b905090565b600080546001600160a01b031662000cd15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000604482015260640162000c3e565b600054604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801562000d1c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c71919062004a74565b6013546000906001600160a01b0316331462000d725760405162461bcd60e51b815260040162000c3e9062004a26565b6040516330b8415f60e01b81526001600160601b038316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000dcb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000df1919062004a94565b50306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000e31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e57919062004ab8565b6001600160a01b0316631d1b0cac886000015162000e73605a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526001600160a01b03891660448201526064016020604051808303816000875af115801562000ed1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ef7919062004a74565b6040805161016081019091526001600160601b03821681526012549192509060208201906001600160a01b0316630d358181605a6040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562000f6a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f90919062004ae5565b60ff168152602001868152602001858152602001600081526020018481526020014281526020014281526020016000815260200160008152602001600081525060106000836001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a81548160ff021916908360ff16021790555060408201518160010155606082015181600201556080820151816003015560a0820151816004015560c0820151816005015560e082015181600601556101008201518160070155610120820151816008015561014082015181600901559050508160116000836001600160601b03166001600160601b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055509695505050505050565b60008054604051636939560f60e11b815230600482015282916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562001141573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001167919062004a74565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620011c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011e9919062004a94565b91505090565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200122e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001254919062004ab8565b6001600160a01b0316336001600160a01b031614620012875760405162461bcd60e51b815260040162000c3e9062004b12565b6000828152600260205260409020548214620012e65760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a41434d2d3031303a524f4c455f4e4f545f4558495354494e4700604482015260640162000c3e565b6000828152600260208190526040909120015460ff166200134a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a41434d2d3031313a524f4c455f4e4f545f414354495645000000604482015260640162000c3e565b60008281526004602090815260408083206001600160a01b03851684528252808320805460ff19166001179055848352600590915290206200138d908262003cce565b5060008281526004602090815260408083206001600160a01b038516808552908352928190205481518681529283019390935260ff90921615158183015290517f9a2df6ca1a9ab5e734f2f076b73fd00974eca8e06b9895f8f4eaebb590cc09a59181900360600190a15050565b6000846040516200140c9062004089565b6001600160a01b039091168152602001604051809103906000f08015801562001439573d6000803e3d6000fd5b5060408051610100810182526001600160601b039a8b16808252998b166020808301918252998c168284019081526001600160a01b03998a1660608401908152948a1660808401908152988a1660a0840190815260c0840198895260e0840197885260009c8d5260198c5293909b20915182549151908d166001600160c01b031990921691909117600160601b918d1682021782559951925192909a169187169098021760018901555091516002870180546001600160a01b03199081169286169290921790559451600387018054909616931692909217909355518051600485015581015160058401559051805160068401550151600790910155565b6200154162004097565b506001600160601b039081166000908152601b6020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b620015c762004108565b506001600160601b0390811660009081526019602090815260409182902082516101008101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b03950485166060820152600282015485166080820152600382015490941660a0850152825180840184526004820154815260058201548184015260c0850152825180840190935260068101548352600701549082015260e082015290565b6000600382815481106200168d576200168d62004b49565b90600052602060002001549050919050565b620016cd604051806060016040528060006001600160601b0316815260200160008152602001600081525090565b506001600160601b03908116600090815260146020908152604091829020825160608101845281549094168452600181015491840191909152600201549082015290565b600f546000906001600160a01b03163314620017705760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000c3e565b6000826001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620017b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017d7919062004ae5565b90506000620017e68262003bb0565b9050306001600160a01b03166391d1485482866001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001837573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200185d919062004ab8565b6040516001600160e01b031960e085901b16815260048101929092526001600160a01b03166024820152604401602060405180830381865afa158015620018a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018ce919062004a94565b6200191c5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030343a545950455f524f4c455f4d495353494e4700604482015260640162000c3e565b306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200195b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001981919062004ab8565b604051632210724360e11b81526001600160a01b0386811660048301529190911690634420e486906024016020604051808303816000875af1158015620019cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019f2919062004a74565b92506000846001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a35573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a5b919062004ab8565b90506000856001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ac4919062004ab8565b604080516060810182526001600160601b0388168152600c549151630d35818160e01b815260ff881660048201529293509160208301916001600160a01b031690630d35818190602401602060405180830381865afa15801562001b2c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b52919062004ae5565b60ff90811682526001600160a01b038086166020938401526001600160601b03808a166000908152600885526040908190208651815488880151909616600160601b026cffffffffffffffffffffffffff1990961693169290921793909317815593820151600190940180549482166001600160a01b0319909516949094179093558051630aed701f60e11b8152905162001c45938a16926315dae03e92600480820193918290030181865afa15801562001c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c37919062004ae5565b603c5b60ff90811691161490565b1562001edb5760008690506000816001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c91573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cb7919062004a74565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001d13573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d39919062004a94565b62001d875760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a434d502d3030353a504f4f4c5f554e4b4e4f574e000000000000604482015260640162000c3e565b6000600d60009054906101000a90046001600160a01b03166001600160a01b03166331e48e328983858989896001600160a01b031663bc74aab06040518163ffffffff1660e01b81526004016040805180830381865afa15801562001df0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e16919062004b92565b8a6001600160a01b031663daafed406040518163ffffffff1660e01b81526004016040805180830381865afa15801562001e54573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e7a919062004b92565b6040518863ffffffff1660e01b815260040162001e9e979695949392919062004bb1565b600060405180830381600087803b15801562001eb957600080fd5b505af115801562001ece573d6000803e3d6000fd5b50505050505050620020ff565b62001f4c866001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001f1e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f44919062004ae5565b605062001c3a565b15620020ff57600e546040516319470ab360e31b81526001600160601b038716600482015287916001600160a01b03169063ca38559890602401600060405180830381600087803b15801562001fa157600080fd5b505af115801562001fb6573d6000803e3d6000fd5b50505050600d60009054906101000a90046001600160a01b03166001600160a01b031663d0bb064c8784846001600160a01b0316634b270a466040518163ffffffff1660e01b81526004016040805180830381865afa1580156200201e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002044919062004b92565b856001600160a01b031663235c36036040518163ffffffff1660e01b81526004016040805180830381865afa15801562002082573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020a8919062004b92565b6040518563ffffffff1660e01b8152600401620020c9949392919062004c1f565b600060405180830381600087803b158015620020e457600080fd5b505af1158015620020f9573d6000803e3d6000fd5b50505050505b505050506001600160a01b0391909116600090815260096020526040812080546bffffffffffffffffffffffff19166001600160601b03848116918217909255600a805460018181018355919094527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a86002850401805494909116600c026101000a92830219909316910217905590565b60008054604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801562000d1c573d6000803e3d6000fd5b601c5460405163bd7d9d8560e01b81526001600160601b03841660048201526000916001600160a01b03169063bd7d9d859060240161016060405180830381865afa1580156200222e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002254919062004c70565b80519091506001600160601b03848116911614620022b55760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5452532d3032303a504f4c4943595f554e4b4e4f574e00000000604482015260640162000c3e565b6001600160601b03808316600090815260196020908152604080832081516101008101835281548087168252600160601b908190048716828601526001830154968716828501526001600160a01b039604861660608201526002820154861660808201908152600383015490961660a082015282518084018452600480840154825260058401548287015260c083019190915283518085018552600684015481526007909301548386015260e082019290925294518251635ab1bd5360e01b815292519094933093635ab1bd539381810193918290030181865afa158015620023a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023c8919062004ab8565b60405163df33330b60e01b81526001600160601b03881660048201526001600160a01b03919091169063df33330b90602401602060405180830381865afa15801562002418573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200243e919062004ab8565b6040848101516001600160601b03166000908152601b602052205460c0850151919250600160601b90046001600160a01b0316906200247d9062003ce5565b15620024fc5760608501516040516317d5759960e31b81526001600160a01b038481166004830152838116602483015260448201929092529084169063beabacc890606401600060405180830381600087803b158015620024dd57600080fd5b505af1158015620024f2573d6000803e3d6000fd5b50505050620025f9565b6000806200251387606001518760c0015162003a7d565b60a08801516040516317d5759960e31b81526001600160a01b03888116600483015291821660248201526044810184905292945090925086169063beabacc890606401600060405180830381600087803b1580156200257157600080fd5b505af115801562002586573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0387811660048301528681166024830152604482018590528816925063beabacc89150606401600060405180830381600087803b158015620025dd57600080fd5b505af1158015620025f2573d6000803e3d6000fd5b5050505050505b50505050505050565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002667919062004ab8565b6001600160a01b0316336001600160a01b0316146200269a5760405162461bcd60e51b815260040162000c3e9062004b12565b60006002600083815260200190815260200160002060405180606001604052908160008201548152602001600182018054620026d69062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620027049062004d18565b8015620027555780601f10620027295761010080835404028352916020019162002755565b820191906000526020600020905b8154815290600101906020018083116200273757829003601f168201915b50505091835250506002919091015460ff16151560209091015280519091508214620027ce5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a414f532d3030313a524f4c455f444f45535f4e4f545f455849536044820152601560fa1b606482015260840162000c3e565b60006040820152620027e08162003cfd565b505050565b6000600a8281548110620027fd57620027fd62004b49565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b6013546001600160a01b031633146200285a5760405162461bcd60e51b815260040162000c3e9062004a26565b6001600160601b0381166000908152601060205260409020426007820181905560048201546200288a9162004d6a565b60088201556012546001600160a01b031663a7f3669b83605a8454600160601b900460ff16620028b8606490565b6040518563ffffffff1660e01b8152600401620028d9949392919062004d80565b6020604051808303816000875af1158015620028f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200291f919062004ae5565b815460ff91909116600160601b0260ff60601b1990911617905550565b60008054604051636939560f60e11b815230600482015282916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562002986573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029ac919062004a74565b60005460405163df33330b60e01b81526001600160601b03831660048201529192506001600160a01b03169063df33330b90602401602060405180830381865afa158015620029ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a25919062004ab8565b91506001600160a01b03821662002a48576001546001600160a01b0316620011e9565b5090565b600082815260056020526040812062002a66908362003d9d565b90505b92915050565b60008160405160200162002a8491906200454f565b604051602081830303815290604052805190602001209050919050565b60ff808416600090815260076020908152604080832086851684528252808320858516845290915281205490911662002af75784848484604051630cdd837760e21b815260040162000c3e949392919062004d80565b62002b0484605a62001c3a565b1562002b6157604080516001600160601b038716815260ff80861660208301528416918101919091527f3453c320908f5844705a0f2acbb230412df911a60544eca9236d16f5f9f1f6f6906060015b60405180910390a162002c62565b62002b6e84605162001c3a565b1562002bc257604080516001600160601b038716815260ff80861660208301528416918101919091527f92e25bf636cb4bfa6edf8b4fa57c0d64b6d959e3c6376d17c9bcc168fe36be199060600162002b53565b62002bcf84603c62001c3a565b8062002be3575062002be384604662001c3a565b8062002bf7575062002bf784605062001c3a565b1562002c34577fcc75054af33cdb7ef0c6dd9d4cb6f22e1dc2d22204db49d769d5da19579fb84e8585858560405162002b53949392919062004d80565b60405163024acc7560e21b81526001600160601b038616600482015260ff8516602482015260440162000c3e565b509392505050565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002cab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cd1919062004ab8565b6001600160a01b0316336001600160a01b03161462002d045760405162461bcd60e51b815260040162000c3e9062004b12565b62002d0f8262003dab565b90505b919050565b6017546001600160a01b0316331462002d445760405162461bcd60e51b815260040162000c3e9062004a26565b60155460405163bd7d9d8560e01b81526001600160601b03841660048201526000916001600160a01b03169063bd7d9d859060240161016060405180830381865afa15801562002d98573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002dbe919062004c70565b80519091506001600160601b0384811691161462002e1f5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a504c2d3030323a504f4c4943595f554e4b4e4f574e0000000000604482015260640162000c3e565b601654604051634fd077f560e01b81526001600160601b03841660048201526000916001600160a01b031690634fd077f59060240161014060405180830381865afa15801562002e73573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e99919062004dac565b80519091506001600160601b0384811691161462002f055760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c2d3030333a50524f445543545f53455455505f4d495353496044820152614e4760f01b606482015260840162000c3e565b6040818101516001600160601b0380821660008181526014602052939093208054929390929091161462002f7c5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a504c2d3030343a504f4f4c5f554e4b4e4f574e00000000000000604482015260640162000c3e565b83604001518160020154826001015462002f97919062004e68565b101562002fe75760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a504c2d3030353a43415041434954595f544f4f5f4c4f57000000604482015260640162000c3e565b836040015181600201600082825462003001919062004d6a565b9091555050505050505050565b600f546000906001600160a01b031633146200306d5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000c3e565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620030c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030ef919062004a94565b80156200318e57506001600160601b038181166000818152600860205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562003168573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200318e919062004a94565b620031dc5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000c3e565b6000306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200321d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003243919062004ab8565b604051634c3371cd60e01b81526001600160601b03841660048201526001600160a01b039190911690634c3371cd9060240160a060405180830381865afa15801562003293573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620032b9919062004e7e565b604090810151600c546001600160601b038516600090815260086020908152908490205490870151935163a7f3669b60e01b81529294506001600160a01b039091169263a7f3669b92620033209287928792600160601b90920460ff169160040162004d80565b6020604051808303816000875af115801562003340573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003366919062004ae5565b50506001600160601b03808216600090815260086020908152604091829020855181549287015160ff16600160601b026cffffffffffffffffffffffffff1990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b6200344760405180610160016040528060006001600160601b03168152602001600060ff1681526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b506001600160601b0390811660009081526010602090815260409182902082516101608101845281549485168152600160601b90940460ff16918401919091526001810154918301919091526002810154606083015260038101546080830152600481015460a0830152600581015460c0830152600681015460e0830152600781015461010083015260088101546101208301526009015461014082015290565b60408051606080820183526000808352602080840183905283850182905285825260028152908490208451928301909452835482526001840180549394929391840191620035369062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620035649062004d18565b8015620035b55780601f106200358957610100808354040283529160200191620035b5565b820191906000526020600020905b8154815290600101906020018083116200359757829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b600081815260056020526040812062002d0f9062003dd5565b6001600160601b0381811660009081526014602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156200365a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003680919062004a94565b620036ce5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3030313a414c52454144595f4352454154454400000000604482015260640162000c3e565b604080516060810182526001600160601b039283168082526402540be40060208084019182526000848601818152938152601490915293909320915182546bffffffffffffffffffffffff19169416939093178155905160018201559051600290910155565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003773573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003799919062004ab8565b6001600160a01b0316336001600160a01b031614620037cc5760405162461bcd60e51b815260040162000c3e9062004b12565b60008281526002602052604090205482146200382b5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a41434d2d3032303a524f4c455f4e4f545f4558495354494e4700604482015260640162000c3e565b60008281526004602090815260408083206001600160a01b03851684528252808320805460ff1916905584835260059091529020620027e0908262003de0565b60ff8084166000908152600760209081526040808320868516845282528083208585168452909152902054165b9392505050565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620038de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003904919062004ab8565b6001600160a01b0316336001600160a01b031614620039375760405162461bcd60e51b815260040162000c3e9062004b12565b60006002600083815260200190815260200160002060405180606001604052908160008201548152602001600182018054620039739062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620039a19062004d18565b8015620039f25780601f10620039c657610100808354040283529160200191620039f2565b820191906000526020600020905b815481529060010190602001808311620039d457829003601f168201915b50505091835250506002919091015460ff1615156020909101528051909150821462003a6b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a414f532d3030323a524f4c455f444f45535f4e4f545f455849536044820152601560fa1b606482015260840162000c3e565b60016040820152620027e08162003cfd565b600080600062003b0c73__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__6392ae8ce0876040518263ffffffff1660e01b815260040162003ac091815260200190565b602060405180830381865af415801562003ade573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b04919062004f05565b855162003df7565b602085015160405163682d822960e11b8152600481018390529192509073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063d05b045290602401602060405180830381865af415801562003b66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b8c919062004f05565b62003b98919062004d6a565b925062003ba6838662004e68565b9150509250929050565b600062003bbf82603c62001c3a565b1562003c2a57306001600160a01b0316636c137ea96040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d0f919062004f05565b62003c3782605062001c3a565b1562003c7c57306001600160a01b03166332e3a6e96040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b62003c8982604662001c3a565b1562002d1257306001600160a01b0316632a5f6e856040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b600062002a66836001600160a01b03841662003e0e565b60008160200151600014801562002d0f575050511590565b80518062003d4f5762003d14826020015162002a6f565b808352600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0181905590505b60008181526002602090815260409091208351815590830151839190600182019062003d7c908262004f71565b50604091909101516002909101805460ff1916911515919091179055919050565b600062002a66838362003e60565b60408051606081018252600080825260208201849052600192820192909252620038988162003cfd565b600062002d0f825490565b600062002a66836001600160a01b03841662003e8d565b600062002a668383670de0b6b3a764000062003f98565b600081815260018301602052604081205462003e575750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562002a69565b50600062002a69565b600082600001828154811062003e7a5762003e7a62004b49565b9060005260206000200154905092915050565b6000818152600183016020526040812054801562003f8657600062003eb460018362004e68565b855490915060009062003eca9060019062004e68565b905081811462003f3657600086600001828154811062003eee5762003eee62004b49565b906000526020600020015490508087600001848154811062003f145762003f1462004b49565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062003f4a5762003f4a6200503e565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062002a69565b600091505062002a69565b5092915050565b600080806000198587098587029250828110838203039150508060000362003fd75783828162003fcc5762003fcc62005054565b049250505062003898565b808411620040205760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640162000c3e565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b610214806200506b83390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b03168152602001620040e0604051806040016040528060008152602001600081525090565b815260200162004103604051806040016040528060008152602001600081525090565b905290565b604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301529060c0820190620040e0565b6001600160601b03811681146200416b57600080fd5b50565b803562002d128162004155565b6000602082840312156200418e57600080fd5b8135620038988162004155565b60ff811681146200416b57600080fd5b600060208284031215620041be57600080fd5b813562003898816200419b565b634e487b7160e01b600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715620042075762004207620041cb565b60405290565b6040805190810167ffffffffffffffff81118282101715620042075762004207620041cb565b604051610160810167ffffffffffffffff81118282101715620042075762004207620041cb565b604051610100810167ffffffffffffffff81118282101715620042075762004207620041cb565b6001600160a01b03811681146200416b57600080fd5b803562002d128162004281565b600080600080600080868803610140811215620042c057600080fd5b60a0811215620042cf57600080fd5b50620042da620041e1565b8735620042e78162004155565b81526020880135620042f98162004155565b602082015260408801356200430e816200419b565b60408201526060880135620043238162004281565b60608201526080880135620043388162004281565b608082015295506200434d60a0880162004297565b945060c0870135935060e0870135925061010087013591506200437461012088016200416e565b90509295509295509295565b6000602082840312156200439357600080fd5b8135620038988162004281565b60008060408385031215620043b457600080fd5b823591506020830135620043c88162004281565b809150509250929050565b600060408284031215620043e657600080fd5b620043f06200420d565b9050813581526020820135602082015292915050565b6000806000806000806000610120888a0312156200442357600080fd5b8735620044308162004155565b96506020880135620044428162004155565b95506040880135620044548162004155565b94506060880135620044668162004281565b93506080880135620044788162004281565b9250620044898960a08a01620043d3565b91506200449a8960e08a01620043d3565b905092959891949750929550565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c0830191620044ea9084018280518252602090810151910152565b50606083015180516080840152602081015160a084015262003f91565b6000815180845260005b818110156200452f5760208185018101518683018201520162004511565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062002a66602083018462004507565b81516001600160601b039081168252602080840151821690830152604080840151909116908201526060808301516001600160a01b031690820152608080830151610140830191620045c0908401826001600160a01b03169052565b5060a0830151620045dc60a08401826001600160a01b03169052565b5060c0830151620045fa60c084018280518252602090810151910152565b5060e08301518051610100840152602081015161012084015262003f91565b6000602082840312156200462c57600080fd5b5035919050565b600080604083850312156200464757600080fd5b8235620046548162004155565b91506020830135620043c88162004155565b600080604083850312156200467a57600080fd5b50508035926020909101359150565b600080600060a084860312156200469f57600080fd5b8335620046ac8162004155565b9250620046bd8560208601620043d3565b9150620046ce8560608601620043d3565b90509250925092565b600060208284031215620046ea57600080fd5b813567ffffffffffffffff808211156200470357600080fd5b818401915084601f8301126200471857600080fd5b8135818111156200472d576200472d620041cb565b604051601f8201601f19908116603f01168101908382118183101715620047585762004758620041cb565b816040528281528760208487010111156200477257600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060008060808587031215620047a957600080fd5b8435620047b68162004155565b93506020850135620047c8816200419b565b92506040850135620047da816200419b565b91506060850135620047ec816200419b565b939692955090935050565b6000606082840312156200480a57600080fd5b6040516060810181811067ffffffffffffffff82111715620048305762004830620041cb565b6040528235620048408162004155565b8152602083013562004852816200419b565b60208201526040830135620048678162004281565b60408201529392505050565b81516001600160601b03168152610160810160208301516200489a602084018260ff169052565b5060408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010080840151818401525061012080840151818401525061014080840151818401525092915050565b6020815281516020820152600060208301516060604084015262004929608084018262004507565b90506040840151151560608401528091505092915050565b60008060008060c085870312156200495857600080fd5b8435620049658162004155565b93506020850135620049778162004281565b9250620049888660408701620043d3565b9150620049998660808701620043d3565b905092959194509250565b600080600060608486031215620049ba57600080fd5b8335620049c7816200419b565b92506020840135620049d9816200419b565b91506040840135620049eb816200419b565b809150509250925092565b6000806060838503121562004a0a57600080fd5b8235915062004a1d8460208501620043d3565b90509250929050565b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b805162002d128162004155565b60006020828403121562004a8757600080fd5b8151620038988162004155565b60006020828403121562004aa757600080fd5b815180151581146200389857600080fd5b60006020828403121562004acb57600080fd5b8151620038988162004281565b805162002d12816200419b565b60006020828403121562004af857600080fd5b815162003898816200419b565b805162002d128162004281565b60208082526017908201527f4552524f523a41434d2d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006040828403121562004b7257600080fd5b62004b7c6200420d565b9050815181526020820151602082015292915050565b60006040828403121562004ba557600080fd5b62002a66838362004b5f565b6001600160601b0388811682528781166020830152861660408201526001600160a01b03858116606083015284166080820152610120810162004c0160a083018580518252602090810151910152565b825160e0830152602083015161010083015298975050505050505050565b6001600160601b03851681526001600160a01b038416602082015260c0810162004c56604083018580518252602090810151910152565b82516080830152602083015160a083015295945050505050565b6000610160828403121562004c8457600080fd5b62004c8e62004233565b62004c998362004a67565b815262004ca96020840162004ad8565b602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152506101208084015181830152506101408084015181830152508091505092915050565b600181811c9082168062004d2d57607f821691505b60208210810362004d4e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111562002a695762002a6962004d54565b6001600160601b0394909416845260ff9283166020850152908216604084015216606082015260800190565b6000610140828403121562004dc057600080fd5b62004dca6200425a565b825162004dd78162004155565b815262004de76020840162004a67565b602082015262004dfa6040840162004a67565b604082015262004e0d6060840162004b05565b606082015262004e206080840162004b05565b608082015262004e3360a0840162004b05565b60a082015262004e478460c0850162004b5f565b60c082015262004e5c84610100850162004b5f565b60e08201529392505050565b8181038181111562002a695762002a6962004d54565b600060a0828403121562004e9157600080fd5b62004e9b620041e1565b825162004ea88162004155565b8152602083015162004eba8162004155565b6020820152604083015162004ecf816200419b565b6040820152606083015162004ee48162004281565b6060820152608083015162004ef98162004281565b60808201529392505050565b60006020828403121562004f1857600080fd5b5051919050565b601f821115620027e057600081815260208120601f850160051c8101602086101562004f485750805b601f850160051c820191505b8181101562004f695782815560010162004f54565b505050505050565b815167ffffffffffffffff81111562004f8e5762004f8e620041cb565b62004fa68162004f9f845462004d18565b8462004f1f565b602080601f83116001811462004fde576000841562004fc55750858301515b600019600386901b1c1916600185901b17855562004f69565b600085815260208120601f198616915b828110156200500f5788860151825594840194600190910190840162004fee565b50858210156200502e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe608060405234801561001057600080fd5b5060405161021438038061021483398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610181806100936000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063beabacc814610030575b600080fd5b61004361003e3660046100e6565b610045565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052909116906323b872dd906064016020604051808303816000875af11580156100a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c49190610122565b50505050565b80356001600160a01b03811681146100e157600080fd5b919050565b6000806000606084860312156100fb57600080fd5b610104846100ca565b9250610112602085016100ca565b9150604084013590509250925092565b60006020828403121561013457600080fd5b8151801515811461014457600080fd5b939250505056fea2646970667358221220562140f71a9543b09bbf1c4e06df85e2834d2a68a92d2ce61eaa7f03c34c465864736f6c63430008140033a26469706673582212202190b39837bbd0f1c3a219391aa64bfbb33164b5ad27b890d8030e8585a2b2dc64736f6c63430008140033",
1225
+ "bytecode": "0x6080604052348015600e575f80fd5b506135368061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061024a575f3560e01c8063644c45e011610140578063b428b0b0116100bf578063d4cda0d811610084578063d4cda0d814610540578063d6d0a65b14610551578063e52ba1cb14610564578063f153f82414610577578063f4b4ee4d1461058a578063f7bc431c1461059d575f80fd5b8063b428b0b014610502578063b7d2b16214610515578063bf7e214f14610528578063c265172514610530578063c71e261f14610538575f80fd5b80638689231311610105578063868923131461049f578063893d20e8146104b25780638fb36037146104ba57806396cdfa3f146104db578063ada9652e146104ee575f80fd5b8063644c45e0146104315780636dddada41461044e57806376b707b71461045f5780637a9e5e4b146104795780637de45f131461048c575f80fd5b806323dff792116101cc57806340acebd91161019157806340acebd9146103df5780634f8b8aba146103e75780635ab1bd53146103fa5780635d9662891461040b5780635fa8aad41461041e575f80fd5b806323dff7921461038a57806326decd401461039d5780632d764ef8146103b0578063311adb68146103c3578063398e3d4c146103d4575f80fd5b8063138461e011610212578063138461e0146102ef57806315b745321461030f5780631eff4b22146103225780631f481d641461035757806322f3e2d414610382575f80fd5b806301ffc9a71461024e57806302cd30711461028f5780630e0c586d146102b45780630fec111c146102c557806311f77843146102da575b5f80fd5b61027a61025c366004612a3f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6007546001600160a01b031661029c565b6102cd6105b0565b6040516102869190612a8f565b6102ed6102e8366004612b37565b61076a565b005b6102f7610814565b6040516001600160601b039091168152602001610286565b6102f761031d366004612b52565b610823565b6103497f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61036a610365366004612c65565b610865565b6040516001600160401b039091168152602001610286565b61027a610964565b6102ed610398366004612cd1565b6109db565b61027a6103ab366004612b37565b610bf4565b6102ed6103be366004612d1a565b610c6a565b6004546001600160a01b031661029c565b600a5460ff1661027a565b61027a610ce5565b6102ed6103f5366004612d49565b610d5a565b6001546001600160a01b031661029c565b6102f7610419366004612d64565b610e0b565b61036a61042c366004612d90565b610f28565b5f805160206134c1833981519152546001600160601b03166102f7565b6006546001600160a01b031661029c565b610467611022565b60405160ff9091168152602001610286565b6102ed610487366004612b37565b61108a565b6102ed61049a366004612d49565b611110565b6102ed6104ad366004612ddc565b61118d565b61029c611273565b6104c26113a4565b6040516001600160e01b03199091168152602001610286565b6102ed6104e9366004612df8565b6113d9565b6103495f805160206134c183398151915281565b6102ed610510366004612e13565b611446565b6102ed610523366004612e13565b611652565b61029c61185e565b6102ed611879565b600954610349565b6008546001600160a01b031661029c565b6102ed61055f366004612e3d565b611921565b6102f7610572366004612d49565b611fd2565b6102ed610585366004612fb3565b61208b565b6102ed610598366004612ff5565b612101565b6102ed6105ab366004612b37565b6121ab565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561065c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106809190613052565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8611273565b6001600160a01b031681526020018260010180546106e59061306d565b80601f01602080910402602001604051908101604052809291908181526020018280546107119061306d565b801561075c5780601f106107335761010080835404028352916020019161075c565b820191905f5260205f20905b81548152906001019060200180831161073f57829003601f168201915b505050505081525091505090565b610776335b5f36612269565b61077e611273565b6001600160a01b0316336001600160a01b0316146107b65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107fb575f80fd5b505af115801561080d573d5f803e3d5ffd5b5050505050565b5f61081e3061235f565b905090565b5f60098281548110610837576108376130a5565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61086f3361076f565b610877611273565b6001600160a01b0316336001600160a01b0316146108aa5760405163086391f760e31b81523360048201526024016107ad565b6003546040516307d2075960e21b81526001600160a01b0390911690631f481d64906108de908790879087906004016130b9565b6020604051808303815f875af11580156108fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091e91906130f0565b90507f6c5b02802c41c82ddc743a2761e8741ad590fa0bb7870ba7dfe66aa84050a26481858585604051610955949392919061310b565b60405180910390a19392505050565b5f61096d61185e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d59190613152565b15905090565b6109e43361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa158015610a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5c9190613152565b610a8457604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33610a8d611273565b6001600160a01b0316816001600160a01b031614610b36576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd191610ad691869186910161316d565b602060405180830381865afa158015610af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b159190613152565b610b36578181604051631a94665f60e31b81526004016107ad92919061316d565b6003546040516311effbc960e11b81526001600160401b038616600482015284151560248201526001600160a01b03909116906323dff792906044015f604051808303815f87803b158015610b89575f80fd5b505af1158015610b9b573d5f803e3d5ffd5b5050604080516001600160401b0388168152861515602082015233918101919091527ffb7c4cd23612bcc7ae3688074faa23835a443807c382c108d80ec75f8668db2f925060600190505b60405180910390a150505050565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c649190613152565b92915050565b610c733361076f565b610c7b611273565b6001600160a01b0316336001600160a01b031614610cae5760405163086391f760e31b81523360048201526024016107ad565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107e4565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d36573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e9190613152565b610d633361076f565b610d6b611273565b6001600160a01b0316336001600160a01b031614610d9e5760405163086391f760e31b81523360048201526024016107ad565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610df1575f80fd5b505af1158015610e03573d5f803e3d5ffd5b505050505050565b5f610e153361076f565b610e1d611273565b6001600160a01b0316336001600160a01b031614610e505760405163086391f760e31b81523360048201526024016107ad565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec59190613052565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b5f610f323361076f565b610f3a611273565b6001600160a01b0316336001600160a01b031614610f6d5760405163086391f760e31b81523360048201526024016107ad565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f9f908690869060040161318f565b6020604051808303815f875af1158015610fbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdf91906130f0565b90507f35040cf09b2f49908add8962a4116f3a23b1ce1e6ccc3b370a5205a3f128b86d838284604051611014939291906131b2565b60405180910390a192915050565b5f61102b61185e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611066573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906131ed565b3361109361185e565b6001600160a01b0316816001600160a01b0316146110ce5760405162d1953b60e31b81526001600160a01b03821660048201526024016107ad565b816001600160a01b03163b5f03611103576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ad565b61110c82612558565b5050565b6111193361076f565b611121611273565b6001600160a01b0316336001600160a01b0316146111545760405163086391f760e31b81523360048201526024016107ad565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107e4565b611195611273565b6001600160a01b0316336001600160a01b0316146111c85760405163086391f760e31b81523360048201526024016107ad565b600354604051638689231360e01b81526001600160a01b0384811660048301528315156024830152909116906386892313906044015f604051808303815f87803b158015611214575f80fd5b505af1158015611226573d5f803e3d5ffd5b5050604080516001600160a01b038616815284151560208201527fb3a503c4b7a90c1d036fcdec3757dc6b537f887a8c588606f78076e9fc3a78ca93500190505b60405180910390a15050565b5f805f805160206134c183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113039190613152565b1561138e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190613208565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206134e183398151915280545f9190600160a01b900460ff166113cb575f611388565b638fb3603760e01b91505090565b6113e1611273565b6001600160a01b0316336001600160a01b0316146114145760405163086391f760e31b81523360048201526024016107ad565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107e4565b61144f3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156114a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c79190613152565b6114ef57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b336114f8611273565b6001600160a01b0316816001600160a01b0316146115a1576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161154191869186910161316d565b602060405180830381865afa15801561155c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115809190613152565b6115a1578181604051631a94665f60e31b81526004016107ad92919061316d565b600354604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906115d3908790879060040161316d565b5f604051808303815f87803b1580156115ea575f80fd5b505af11580156115fc573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527f2a47cfa3950f5163af56e954433a359d9c481d14f90d8db827d859f5e8641e1a92506060019050610be6565b61165b3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156116af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d39190613152565b6116fb57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33611704611273565b6001600160a01b0316816001600160a01b0316146117ad576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161174d91869186910161316d565b602060405180830381865afa158015611768573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178c9190613152565b6117ad578181604051631a94665f60e31b81526004016107ad92919061316d565b600354604051635be958b160e11b81526001600160a01b039091169063b7d2b162906117df908790879060040161316d565b5f604051808303815f87803b1580156117f6575f80fd5b505af1158015611808573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527fbdd55b4d14c3bb8684d8b5a9a57d9e802f3da86c5cd871d4b868a77ef152d2b692506060019050610be6565b5f805160206134e1833981519152546001600160a01b031690565b6118823361076f565b61188a611273565b6001600160a01b0316336001600160a01b0316146118bd5760405163086391f760e31b81523360048201526024016107ad565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611909575f80fd5b505af115801561191b573d5f803e3d5ffd5b50505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119655750825b90505f826001600160401b031660011480156119805750303b155b90508115801561198e575080155b156119ac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119d657845460ff60401b1916600160401b1785555b6001600160a01b038e166119fd576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550611aff8e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a869190613208565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ac3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae79190613052565b600a5f8c60405180602001604052805f8152506125b1565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611be3575f80fd5b505af1158015611bf5573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7c9190613208565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611cc2575f80fd5b505af1158015611cd4573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5b9190613208565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611da1575f80fd5b505af1158015611db3573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611e03575f80fd5b505af1158015611e15573d5f803e3d5ffd5b50505050611e2b6001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611e7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea39190613208565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611f17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3b9190613208565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff1916871515179055611f7c6001622370f560e21b03196126f8565b8315611fc257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f611fdc3361076f565b611fe4611273565b6001600160a01b0316336001600160a01b0316146120175760405163086391f760e31b81523360048201526024016107ad565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015612067573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c649190613052565b6120943361076f565b61209c611273565b6001600160a01b0316336001600160a01b0316146120cf5760405163086391f760e31b81523360048201526024016107ad565b600354604051633c54fe0960e21b81526001600160a01b039091169063f153f82490610dda9085908590600401613287565b61210a3361076f565b612112611273565b6001600160a01b0316336001600160a01b0316146121455760405163086391f760e31b81523360048201526024016107ad565b60035460405163f4b4ee4d60e01b81526001600160a01b039091169063f4b4ee4d90612179908690869086906004016132aa565b5f604051808303815f87803b158015612190575f80fd5b505af11580156121a2573d5f803e3d5ffd5b50505050505050565b6121b43361076f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221e9190613208565b6001600160a01b031614612247576040516345789cf560e01b81523060048201526024016107ad565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805160206134e18339815191525f806122a161228461185e565b873061229360045f8a8c6132dc565b61229c91613303565b61272b565b9150915081610e035763ffffffff81161561233c57825460ff60a01b1916600160a01b1783556122cf61185e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016122fe9392919061333b565b5f604051808303815f87803b158015612315575f80fd5b505af1158015612327573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e039050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ad565b5f805f805160206134c183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123ef9190613152565b1561241b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ad565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561246d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124919190613152565b6124b95760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ad565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561250b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061252f9190613052565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206134e183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001611267565b6125b9612833565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561260f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126339190613152565b61265b5760405163cf6935e560e01b81526001600160a01b03881660048201526024016107ad565b6126648761287e565b61266e868361288f565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016126dd83826133c3565b506126ee634a531f3360e01b6126f8565b5050505050505050565b612700612833565b612728816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612799919061347d565b5f60405180830381855afa9150503d805f81146127d1576040519150601f19603f3d011682016040523d82523d5f602084013e6127d6565b606091505b5091509150811561282857604081511061280857808060200190518101906127fe9190613493565b9094509250612828565b602081511061282857808060200190518101906128259190613152565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661287c57604051631afcd79f60e31b815260040160405180910390fd5b565b612886612833565b61272881612905565b612897612833565b61289f612916565b6128a88261295e565b6001600160a01b0381166128cf5760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206134c183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61290d612833565b61272881612558565b61291e612833565b61287c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612966612833565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156129bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129e09190613152565b612a085760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ad565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114612728575f80fd5b5f60208284031215612a4f575f80fd5b8135612a5a81612a2a565b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612ad7608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b1b610100840182612a61565b949350505050565b6001600160a01b0381168114612728575f80fd5b5f60208284031215612b47575f80fd5b8135612a5a81612b23565b5f60208284031215612b62575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715612b9f57612b9f612b69565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612bcd57612bcd612b69565b604052919050565b5f82601f830112612be4575f80fd5b81356001600160401b03811115612bfd57612bfd612b69565b612c10601f8201601f1916602001612ba5565b818152846020838601011115612c24575f80fd5b816020850160208301375f918101602001919091529392505050565b6001600160401b0381168114612728575f80fd5b63ffffffff81168114612728575f80fd5b5f805f60608486031215612c77575f80fd5b83356001600160401b03811115612c8c575f80fd5b612c9886828701612bd5565b9350506020840135612ca981612c40565b91506040840135612cb981612c54565b809150509250925092565b8015158114612728575f80fd5b5f8060408385031215612ce2575f80fd5b8235612ced81612c40565b91506020830135612cfd81612cc4565b809150509250929050565b64ffffffffff81168114612728575f80fd5b5f60208284031215612d2a575f80fd5b8135612a5a81612d08565b6001600160601b0381168114612728575f80fd5b5f60208284031215612d59575f80fd5b8135612a5a81612d35565b5f8060408385031215612d75575f80fd5b8235612d8081612b23565b91506020830135612cfd81612b23565b5f8060408385031215612da1575f80fd5b8235612dac81612b23565b915060208301356001600160401b03811115612dc6575f80fd5b612dd285828601612bd5565b9150509250929050565b5f8060408385031215612ded575f80fd5b8235612ced81612b23565b5f60208284031215612e08575f80fd5b8135612a5a81612cc4565b5f8060408385031215612e24575f80fd5b8235612d8081612c40565b60ff81168114612728575f80fd5b5f805f805f805f805f6101208a8c031215612e56575f80fd5b8935612e6181612b23565b985060208a0135612e7181612b23565b975060408a0135612e8181612b23565b965060608a0135612e9181612b23565b955060808a0135612ea181612b23565b945060a08a0135612eb181612b23565b935060c08a0135612ec181612e2f565b925060e08a0135612ed181612b23565b91506101008a0135612ee281612cc4565b809150509295985092959850929598565b5f82601f830112612f02575f80fd5b81356001600160401b03811115612f1b57612f1b612b69565b612f2a60208260051b01612ba5565b80828252602082019150602060608402860101925085831115612f4b575f80fd5b602085015b83811015612fa95760608188031215612f67575f80fd5b612f6f612b7d565b813581526020820135612f8181612a2a565b60208201526040820135612f9481612d08565b60408201528352602090920191606001612f50565b5095945050505050565b5f8060408385031215612fc4575f80fd5b8235612fcf81612b23565b915060208301356001600160401b03811115612fe9575f80fd5b612dd285828601612ef3565b5f805f60608486031215613007575f80fd5b833561301281612b23565b9250602084013561302281612c40565b915060408401356001600160401b0381111561303c575f80fd5b61304886828701612ef3565b9150509250925092565b5f60208284031215613062575f80fd5b8151612a5a81612d35565b600181811c9082168061308157607f821691505b60208210810361309f57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b606081525f6130cb6060830186612a61565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f60208284031215613100575f80fd5b8151612a5a81612c40565b6001600160401b0385168152608060208201525f61312c6080830186612a61565b90506001600160401b038416604083015263ffffffff8316606083015295945050505050565b5f60208284031215613162575f80fd5b8151612a5a81612cc4565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6001600160a01b03831681526040602082018190525f90612b1b90830184612a61565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906131e490830184612a61565b95945050505050565b5f602082840312156131fd575f80fd5b8151612a5a81612e2f565b5f60208284031215613218575f80fd5b8151612a5a81612b23565b5f8151808452602084019350602083015f5b8281101561327d578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101613235565b5093949350505050565b6001600160a01b03831681526040602082018190525f90612b1b90830184613223565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906131e490830184613223565b5f80858511156132ea575f80fd5b838611156132f6575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613334576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f8211156133be57805f5260205f20601f840160051c8101602085101561339f5750805b601f840160051c820191505b8181101561080d575f81556001016133ab565b505050565b81516001600160401b038111156133dc576133dc612b69565b6133f0816133ea845461306d565b8461337a565b6020601f821160018114613422575f831561340b5750848201515b5f19600385901b1c1916600184901b17845561080d565b5f84815260208120601f198516915b828110156134515787850151825560209485019460019092019101613431565b508482101561346e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f80604083850312156134a4575f80fd5b82516134af81612cc4565b6020840151909250612cfd81612c5456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f33acc05294e5e97912f0cf2422dcc4290cc16a58626b5d140330f855135c18564736f6c634300081a0033",
1226
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061024a575f3560e01c8063644c45e011610140578063b428b0b0116100bf578063d4cda0d811610084578063d4cda0d814610540578063d6d0a65b14610551578063e52ba1cb14610564578063f153f82414610577578063f4b4ee4d1461058a578063f7bc431c1461059d575f80fd5b8063b428b0b014610502578063b7d2b16214610515578063bf7e214f14610528578063c265172514610530578063c71e261f14610538575f80fd5b80638689231311610105578063868923131461049f578063893d20e8146104b25780638fb36037146104ba57806396cdfa3f146104db578063ada9652e146104ee575f80fd5b8063644c45e0146104315780636dddada41461044e57806376b707b71461045f5780637a9e5e4b146104795780637de45f131461048c575f80fd5b806323dff792116101cc57806340acebd91161019157806340acebd9146103df5780634f8b8aba146103e75780635ab1bd53146103fa5780635d9662891461040b5780635fa8aad41461041e575f80fd5b806323dff7921461038a57806326decd401461039d5780632d764ef8146103b0578063311adb68146103c3578063398e3d4c146103d4575f80fd5b8063138461e011610212578063138461e0146102ef57806315b745321461030f5780631eff4b22146103225780631f481d641461035757806322f3e2d414610382575f80fd5b806301ffc9a71461024e57806302cd30711461028f5780630e0c586d146102b45780630fec111c146102c557806311f77843146102da575b5f80fd5b61027a61025c366004612a3f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6007546001600160a01b031661029c565b6102cd6105b0565b6040516102869190612a8f565b6102ed6102e8366004612b37565b61076a565b005b6102f7610814565b6040516001600160601b039091168152602001610286565b6102f761031d366004612b52565b610823565b6103497f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61036a610365366004612c65565b610865565b6040516001600160401b039091168152602001610286565b61027a610964565b6102ed610398366004612cd1565b6109db565b61027a6103ab366004612b37565b610bf4565b6102ed6103be366004612d1a565b610c6a565b6004546001600160a01b031661029c565b600a5460ff1661027a565b61027a610ce5565b6102ed6103f5366004612d49565b610d5a565b6001546001600160a01b031661029c565b6102f7610419366004612d64565b610e0b565b61036a61042c366004612d90565b610f28565b5f805160206134c1833981519152546001600160601b03166102f7565b6006546001600160a01b031661029c565b610467611022565b60405160ff9091168152602001610286565b6102ed610487366004612b37565b61108a565b6102ed61049a366004612d49565b611110565b6102ed6104ad366004612ddc565b61118d565b61029c611273565b6104c26113a4565b6040516001600160e01b03199091168152602001610286565b6102ed6104e9366004612df8565b6113d9565b6103495f805160206134c183398151915281565b6102ed610510366004612e13565b611446565b6102ed610523366004612e13565b611652565b61029c61185e565b6102ed611879565b600954610349565b6008546001600160a01b031661029c565b6102ed61055f366004612e3d565b611921565b6102f7610572366004612d49565b611fd2565b6102ed610585366004612fb3565b61208b565b6102ed610598366004612ff5565b612101565b6102ed6105ab366004612b37565b6121ab565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561065c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106809190613052565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8611273565b6001600160a01b031681526020018260010180546106e59061306d565b80601f01602080910402602001604051908101604052809291908181526020018280546107119061306d565b801561075c5780601f106107335761010080835404028352916020019161075c565b820191905f5260205f20905b81548152906001019060200180831161073f57829003601f168201915b505050505081525091505090565b610776335b5f36612269565b61077e611273565b6001600160a01b0316336001600160a01b0316146107b65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107fb575f80fd5b505af115801561080d573d5f803e3d5ffd5b5050505050565b5f61081e3061235f565b905090565b5f60098281548110610837576108376130a5565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61086f3361076f565b610877611273565b6001600160a01b0316336001600160a01b0316146108aa5760405163086391f760e31b81523360048201526024016107ad565b6003546040516307d2075960e21b81526001600160a01b0390911690631f481d64906108de908790879087906004016130b9565b6020604051808303815f875af11580156108fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091e91906130f0565b90507f6c5b02802c41c82ddc743a2761e8741ad590fa0bb7870ba7dfe66aa84050a26481858585604051610955949392919061310b565b60405180910390a19392505050565b5f61096d61185e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d59190613152565b15905090565b6109e43361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa158015610a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5c9190613152565b610a8457604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33610a8d611273565b6001600160a01b0316816001600160a01b031614610b36576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd191610ad691869186910161316d565b602060405180830381865afa158015610af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b159190613152565b610b36578181604051631a94665f60e31b81526004016107ad92919061316d565b6003546040516311effbc960e11b81526001600160401b038616600482015284151560248201526001600160a01b03909116906323dff792906044015f604051808303815f87803b158015610b89575f80fd5b505af1158015610b9b573d5f803e3d5ffd5b5050604080516001600160401b0388168152861515602082015233918101919091527ffb7c4cd23612bcc7ae3688074faa23835a443807c382c108d80ec75f8668db2f925060600190505b60405180910390a150505050565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c649190613152565b92915050565b610c733361076f565b610c7b611273565b6001600160a01b0316336001600160a01b031614610cae5760405163086391f760e31b81523360048201526024016107ad565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107e4565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d36573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e9190613152565b610d633361076f565b610d6b611273565b6001600160a01b0316336001600160a01b031614610d9e5760405163086391f760e31b81523360048201526024016107ad565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610df1575f80fd5b505af1158015610e03573d5f803e3d5ffd5b505050505050565b5f610e153361076f565b610e1d611273565b6001600160a01b0316336001600160a01b031614610e505760405163086391f760e31b81523360048201526024016107ad565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec59190613052565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b5f610f323361076f565b610f3a611273565b6001600160a01b0316336001600160a01b031614610f6d5760405163086391f760e31b81523360048201526024016107ad565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f9f908690869060040161318f565b6020604051808303815f875af1158015610fbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdf91906130f0565b90507f35040cf09b2f49908add8962a4116f3a23b1ce1e6ccc3b370a5205a3f128b86d838284604051611014939291906131b2565b60405180910390a192915050565b5f61102b61185e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611066573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906131ed565b3361109361185e565b6001600160a01b0316816001600160a01b0316146110ce5760405162d1953b60e31b81526001600160a01b03821660048201526024016107ad565b816001600160a01b03163b5f03611103576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ad565b61110c82612558565b5050565b6111193361076f565b611121611273565b6001600160a01b0316336001600160a01b0316146111545760405163086391f760e31b81523360048201526024016107ad565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107e4565b611195611273565b6001600160a01b0316336001600160a01b0316146111c85760405163086391f760e31b81523360048201526024016107ad565b600354604051638689231360e01b81526001600160a01b0384811660048301528315156024830152909116906386892313906044015f604051808303815f87803b158015611214575f80fd5b505af1158015611226573d5f803e3d5ffd5b5050604080516001600160a01b038616815284151560208201527fb3a503c4b7a90c1d036fcdec3757dc6b537f887a8c588606f78076e9fc3a78ca93500190505b60405180910390a15050565b5f805f805160206134c183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113039190613152565b1561138e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190613208565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206134e183398151915280545f9190600160a01b900460ff166113cb575f611388565b638fb3603760e01b91505090565b6113e1611273565b6001600160a01b0316336001600160a01b0316146114145760405163086391f760e31b81523360048201526024016107ad565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107e4565b61144f3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156114a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c79190613152565b6114ef57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b336114f8611273565b6001600160a01b0316816001600160a01b0316146115a1576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161154191869186910161316d565b602060405180830381865afa15801561155c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115809190613152565b6115a1578181604051631a94665f60e31b81526004016107ad92919061316d565b600354604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906115d3908790879060040161316d565b5f604051808303815f87803b1580156115ea575f80fd5b505af11580156115fc573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527f2a47cfa3950f5163af56e954433a359d9c481d14f90d8db827d859f5e8641e1a92506060019050610be6565b61165b3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156116af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d39190613152565b6116fb57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33611704611273565b6001600160a01b0316816001600160a01b0316146117ad576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161174d91869186910161316d565b602060405180830381865afa158015611768573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178c9190613152565b6117ad578181604051631a94665f60e31b81526004016107ad92919061316d565b600354604051635be958b160e11b81526001600160a01b039091169063b7d2b162906117df908790879060040161316d565b5f604051808303815f87803b1580156117f6575f80fd5b505af1158015611808573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527fbdd55b4d14c3bb8684d8b5a9a57d9e802f3da86c5cd871d4b868a77ef152d2b692506060019050610be6565b5f805160206134e1833981519152546001600160a01b031690565b6118823361076f565b61188a611273565b6001600160a01b0316336001600160a01b0316146118bd5760405163086391f760e31b81523360048201526024016107ad565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611909575f80fd5b505af115801561191b573d5f803e3d5ffd5b50505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119655750825b90505f826001600160401b031660011480156119805750303b155b90508115801561198e575080155b156119ac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119d657845460ff60401b1916600160401b1785555b6001600160a01b038e166119fd576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550611aff8e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a869190613208565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ac3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae79190613052565b600a5f8c60405180602001604052805f8152506125b1565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611be3575f80fd5b505af1158015611bf5573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7c9190613208565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611cc2575f80fd5b505af1158015611cd4573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5b9190613208565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611da1575f80fd5b505af1158015611db3573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611e03575f80fd5b505af1158015611e15573d5f803e3d5ffd5b50505050611e2b6001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611e7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea39190613208565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611f17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3b9190613208565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff1916871515179055611f7c6001622370f560e21b03196126f8565b8315611fc257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f611fdc3361076f565b611fe4611273565b6001600160a01b0316336001600160a01b0316146120175760405163086391f760e31b81523360048201526024016107ad565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015612067573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c649190613052565b6120943361076f565b61209c611273565b6001600160a01b0316336001600160a01b0316146120cf5760405163086391f760e31b81523360048201526024016107ad565b600354604051633c54fe0960e21b81526001600160a01b039091169063f153f82490610dda9085908590600401613287565b61210a3361076f565b612112611273565b6001600160a01b0316336001600160a01b0316146121455760405163086391f760e31b81523360048201526024016107ad565b60035460405163f4b4ee4d60e01b81526001600160a01b039091169063f4b4ee4d90612179908690869086906004016132aa565b5f604051808303815f87803b158015612190575f80fd5b505af11580156121a2573d5f803e3d5ffd5b50505050505050565b6121b43361076f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221e9190613208565b6001600160a01b031614612247576040516345789cf560e01b81523060048201526024016107ad565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805160206134e18339815191525f806122a161228461185e565b873061229360045f8a8c6132dc565b61229c91613303565b61272b565b9150915081610e035763ffffffff81161561233c57825460ff60a01b1916600160a01b1783556122cf61185e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016122fe9392919061333b565b5f604051808303815f87803b158015612315575f80fd5b505af1158015612327573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e039050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ad565b5f805f805160206134c183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123ef9190613152565b1561241b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ad565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561246d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124919190613152565b6124b95760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ad565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561250b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061252f9190613052565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206134e183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001611267565b6125b9612833565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561260f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126339190613152565b61265b5760405163cf6935e560e01b81526001600160a01b03881660048201526024016107ad565b6126648761287e565b61266e868361288f565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016126dd83826133c3565b506126ee634a531f3360e01b6126f8565b5050505050505050565b612700612833565b612728816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612799919061347d565b5f60405180830381855afa9150503d805f81146127d1576040519150601f19603f3d011682016040523d82523d5f602084013e6127d6565b606091505b5091509150811561282857604081511061280857808060200190518101906127fe9190613493565b9094509250612828565b602081511061282857808060200190518101906128259190613152565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661287c57604051631afcd79f60e31b815260040160405180910390fd5b565b612886612833565b61272881612905565b612897612833565b61289f612916565b6128a88261295e565b6001600160a01b0381166128cf5760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206134c183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61290d612833565b61272881612558565b61291e612833565b61287c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612966612833565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156129bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129e09190613152565b612a085760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ad565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114612728575f80fd5b5f60208284031215612a4f575f80fd5b8135612a5a81612a2a565b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612ad7608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b1b610100840182612a61565b949350505050565b6001600160a01b0381168114612728575f80fd5b5f60208284031215612b47575f80fd5b8135612a5a81612b23565b5f60208284031215612b62575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715612b9f57612b9f612b69565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612bcd57612bcd612b69565b604052919050565b5f82601f830112612be4575f80fd5b81356001600160401b03811115612bfd57612bfd612b69565b612c10601f8201601f1916602001612ba5565b818152846020838601011115612c24575f80fd5b816020850160208301375f918101602001919091529392505050565b6001600160401b0381168114612728575f80fd5b63ffffffff81168114612728575f80fd5b5f805f60608486031215612c77575f80fd5b83356001600160401b03811115612c8c575f80fd5b612c9886828701612bd5565b9350506020840135612ca981612c40565b91506040840135612cb981612c54565b809150509250925092565b8015158114612728575f80fd5b5f8060408385031215612ce2575f80fd5b8235612ced81612c40565b91506020830135612cfd81612cc4565b809150509250929050565b64ffffffffff81168114612728575f80fd5b5f60208284031215612d2a575f80fd5b8135612a5a81612d08565b6001600160601b0381168114612728575f80fd5b5f60208284031215612d59575f80fd5b8135612a5a81612d35565b5f8060408385031215612d75575f80fd5b8235612d8081612b23565b91506020830135612cfd81612b23565b5f8060408385031215612da1575f80fd5b8235612dac81612b23565b915060208301356001600160401b03811115612dc6575f80fd5b612dd285828601612bd5565b9150509250929050565b5f8060408385031215612ded575f80fd5b8235612ced81612b23565b5f60208284031215612e08575f80fd5b8135612a5a81612cc4565b5f8060408385031215612e24575f80fd5b8235612d8081612c40565b60ff81168114612728575f80fd5b5f805f805f805f805f6101208a8c031215612e56575f80fd5b8935612e6181612b23565b985060208a0135612e7181612b23565b975060408a0135612e8181612b23565b965060608a0135612e9181612b23565b955060808a0135612ea181612b23565b945060a08a0135612eb181612b23565b935060c08a0135612ec181612e2f565b925060e08a0135612ed181612b23565b91506101008a0135612ee281612cc4565b809150509295985092959850929598565b5f82601f830112612f02575f80fd5b81356001600160401b03811115612f1b57612f1b612b69565b612f2a60208260051b01612ba5565b80828252602082019150602060608402860101925085831115612f4b575f80fd5b602085015b83811015612fa95760608188031215612f67575f80fd5b612f6f612b7d565b813581526020820135612f8181612a2a565b60208201526040820135612f9481612d08565b60408201528352602090920191606001612f50565b5095945050505050565b5f8060408385031215612fc4575f80fd5b8235612fcf81612b23565b915060208301356001600160401b03811115612fe9575f80fd5b612dd285828601612ef3565b5f805f60608486031215613007575f80fd5b833561301281612b23565b9250602084013561302281612c40565b915060408401356001600160401b0381111561303c575f80fd5b61304886828701612ef3565b9150509250925092565b5f60208284031215613062575f80fd5b8151612a5a81612d35565b600181811c9082168061308157607f821691505b60208210810361309f57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b606081525f6130cb6060830186612a61565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f60208284031215613100575f80fd5b8151612a5a81612c40565b6001600160401b0385168152608060208201525f61312c6080830186612a61565b90506001600160401b038416604083015263ffffffff8316606083015295945050505050565b5f60208284031215613162575f80fd5b8151612a5a81612cc4565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6001600160a01b03831681526040602082018190525f90612b1b90830184612a61565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906131e490830184612a61565b95945050505050565b5f602082840312156131fd575f80fd5b8151612a5a81612e2f565b5f60208284031215613218575f80fd5b8151612a5a81612b23565b5f8151808452602084019350602083015f5b8281101561327d578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101613235565b5093949350505050565b6001600160a01b03831681526040602082018190525f90612b1b90830184613223565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906131e490830184613223565b5f80858511156132ea575f80fd5b838611156132f6575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613334576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f8211156133be57805f5260205f20601f840160051c8101602085101561339f5750805b601f840160051c820191505b8181101561080d575f81556001016133ab565b505050565b81516001600160401b038111156133dc576133dc612b69565b6133f0816133ea845461306d565b8461337a565b6020601f821160018114613422575f831561340b5750848201515b5f19600385901b1c1916600184901b17845561080d565b5f84815260208120601f198516915b828110156134515787850151825560209485019460019092019101613431565b508482101561346e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f80604083850312156134a4575f80fd5b82516134af81612cc4565b6020840151909250612cfd81612c5456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f33acc05294e5e97912f0cf2422dcc4290cc16a58626b5d140330f855135c18564736f6c634300081a0033",
1641
1227
  "linkReferences": {
1642
- "contracts/types/NftId.sol": {
1643
- "NftIdLib": [
1644
- {
1645
- "length": 20,
1646
- "start": 6065
1647
- },
1648
- {
1649
- "length": 20,
1650
- "start": 7081
1651
- },
1652
- {
1653
- "length": 20,
1654
- "start": 9977
1655
- },
1228
+ "contracts/shared/ContractLib.sol": {
1229
+ "ContractLib": [
1656
1230
  {
1657
1231
  "length": 20,
1658
- "start": 15023
1232
+ "start": 9715
1659
1233
  },
1660
1234
  {
1661
1235
  "length": 20,
1662
- "start": 15182
1663
- },
1664
- {
1665
- "length": 20,
1666
- "start": 16448
1236
+ "start": 10656
1667
1237
  }
1668
1238
  ]
1669
1239
  },
1670
- "contracts/types/UFixed.sol": {
1671
- "UFixedMathLib": [
1240
+ "contracts/type/NftId.sol": {
1241
+ "NftIdLib": [
1672
1242
  {
1673
1243
  "length": 20,
1674
- "start": 17577
1244
+ "start": 1587
1675
1245
  },
1676
1246
  {
1677
1247
  "length": 20,
1678
- "start": 17740
1248
+ "start": 4803
1249
+ },
1250
+ {
1251
+ "length": 20,
1252
+ "start": 9135
1679
1253
  }
1680
1254
  ]
1681
1255
  }
1682
1256
  },
1683
1257
  "deployedLinkReferences": {
1684
- "contracts/types/NftId.sol": {
1685
- "NftIdLib": [
1258
+ "contracts/shared/ContractLib.sol": {
1259
+ "ContractLib": [
1686
1260
  {
1687
1261
  "length": 20,
1688
- "start": 3472
1262
+ "start": 9687
1689
1263
  },
1690
1264
  {
1691
1265
  "length": 20,
1692
- "start": 4488
1693
- },
1694
- {
1695
- "length": 20,
1696
- "start": 7384
1697
- },
1698
- {
1699
- "length": 20,
1700
- "start": 12430
1701
- },
1702
- {
1703
- "length": 20,
1704
- "start": 12589
1705
- },
1706
- {
1707
- "length": 20,
1708
- "start": 13855
1266
+ "start": 10628
1709
1267
  }
1710
1268
  ]
1711
1269
  },
1712
- "contracts/types/UFixed.sol": {
1713
- "UFixedMathLib": [
1270
+ "contracts/type/NftId.sol": {
1271
+ "NftIdLib": [
1272
+ {
1273
+ "length": 20,
1274
+ "start": 1559
1275
+ },
1714
1276
  {
1715
1277
  "length": 20,
1716
- "start": 14984
1278
+ "start": 4775
1717
1279
  },
1718
1280
  {
1719
1281
  "length": 20,
1720
- "start": 15147
1282
+ "start": 9107
1721
1283
  }
1722
1284
  ]
1723
1285
  }