@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-db12733-152

Sign up to get free protection for your applications and to get access to all the features.
Files changed (766) hide show
  1. package/README.md +364 -27
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1494 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/{shared/IOwnable.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +615 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1224 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +644 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1580 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1071 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +357 -1530
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +808 -0
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +457 -1708
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2036 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2458 -0
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1054 -0
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  104. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  108. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → IRisk.sol/IRisk.json} +2 -2
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  159. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +639 -0
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  171. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  173. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  174. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +233 -230
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
  186. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  187. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1024 -119
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  197. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  199. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  201. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  202. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/Registry.sol/Registry.json +1450 -219
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2018 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  211. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  219. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  221. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  222. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  223. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  228. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +485 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  233. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  234. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  236. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  237. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  238. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  240. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
  242. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  244. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  245. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +510 -0
  246. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/module/lifecycle → shared}/ILifecycle.sol/ILifecycle.json +65 -53
  248. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  249. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  250. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  251. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  252. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +229 -21
  254. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  255. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  256. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  257. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +198 -163
  258. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  259. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  260. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  261. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  262. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  263. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  264. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  265. package/artifacts/contracts/{instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.json → shared/Lifecycle.sol/Lifecycle.json} +50 -58
  266. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  267. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  268. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  269. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  270. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  271. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  272. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +275 -18
  274. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  275. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  276. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  277. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +248 -171
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  286. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  287. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  288. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  289. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  290. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  292. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  294. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  296. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  298. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  302. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  303. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  304. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  306. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  307. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  308. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  310. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  312. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  314. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  316. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  318. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  320. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  321. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  322. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  324. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  325. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  326. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  328. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  330. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  332. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  334. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  336. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  338. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  342. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  344. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  346. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  348. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  350. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  352. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  354. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  355. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  356. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  358. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  360. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  362. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  364. package/contracts/accounting/AccountingService.sol +262 -0
  365. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  366. package/contracts/accounting/IAccountingService.sol +45 -0
  367. package/contracts/authorization/AccessAdmin.sol +704 -0
  368. package/contracts/authorization/AccessAdminLib.sol +183 -0
  369. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  370. package/contracts/authorization/Authorization.sol +365 -0
  371. package/contracts/authorization/IAccess.sol +57 -0
  372. package/contracts/authorization/IAccessAdmin.sol +170 -0
  373. package/contracts/authorization/IAuthorization.sol +80 -0
  374. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  375. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  376. package/contracts/distribution/BasicDistribution.sol +141 -0
  377. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  378. package/contracts/distribution/Distribution.sol +244 -0
  379. package/contracts/distribution/DistributionService.sol +385 -0
  380. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  381. package/contracts/distribution/IDistributionComponent.sol +43 -0
  382. package/contracts/distribution/IDistributionService.sol +103 -0
  383. package/contracts/examples/fire/DamageLevel.sol +59 -0
  384. package/contracts/examples/fire/FirePool.sol +86 -0
  385. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  386. package/contracts/examples/fire/FireProduct.sol +433 -0
  387. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  388. package/contracts/examples/fire/FireUSD.sol +26 -0
  389. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  390. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  392. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  393. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  394. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  395. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  396. package/contracts/instance/BundleSet.sol +130 -0
  397. package/contracts/instance/IInstance.sol +99 -43
  398. package/contracts/instance/IInstanceService.sol +88 -0
  399. package/contracts/instance/Instance.sol +291 -49
  400. package/contracts/instance/InstanceAdmin.sol +450 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  402. package/contracts/instance/InstanceReader.sol +650 -0
  403. package/contracts/instance/InstanceService.sol +459 -0
  404. package/contracts/instance/InstanceServiceManager.sol +39 -0
  405. package/contracts/instance/InstanceStore.sol +298 -0
  406. package/contracts/instance/RiskSet.sol +118 -0
  407. package/contracts/instance/base/BalanceStore.sol +123 -0
  408. package/contracts/instance/base/Cloneable.sol +28 -0
  409. package/contracts/instance/base/ObjectCounter.sol +20 -0
  410. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  411. package/contracts/instance/base/ObjectSet.sol +77 -0
  412. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  413. package/contracts/instance/module/IBundle.sol +21 -0
  414. package/contracts/instance/module/IComponents.sol +62 -0
  415. package/contracts/instance/module/IDistribution.sol +54 -0
  416. package/contracts/instance/module/IPolicy.sol +105 -0
  417. package/contracts/instance/module/IRisk.sol +16 -0
  418. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  419. package/contracts/oracle/BasicOracle.sol +45 -0
  420. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  421. package/contracts/oracle/IOracle.sol +41 -0
  422. package/contracts/oracle/IOracleComponent.sol +33 -0
  423. package/contracts/oracle/IOracleService.sol +66 -0
  424. package/contracts/oracle/Oracle.sol +154 -0
  425. package/contracts/oracle/OracleService.sol +310 -0
  426. package/contracts/oracle/OracleServiceManager.sol +39 -0
  427. package/contracts/pool/BasicPool.sol +173 -0
  428. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  429. package/contracts/pool/BundleService.sol +395 -0
  430. package/contracts/pool/BundleServiceManager.sol +39 -0
  431. package/contracts/pool/IBundleService.sol +115 -0
  432. package/contracts/pool/IPoolComponent.sol +62 -0
  433. package/contracts/pool/IPoolService.sol +165 -0
  434. package/contracts/pool/Pool.sol +343 -0
  435. package/contracts/pool/PoolLib.sol +216 -0
  436. package/contracts/pool/PoolService.sol +755 -0
  437. package/contracts/pool/PoolServiceManager.sol +39 -0
  438. package/contracts/product/ApplicationService.sol +274 -0
  439. package/contracts/product/ApplicationServiceManager.sol +38 -0
  440. package/contracts/product/BasicProduct.sol +49 -0
  441. package/contracts/product/BasicProductAuthorization.sol +56 -0
  442. package/contracts/product/ClaimService.sol +632 -0
  443. package/contracts/product/ClaimServiceManager.sol +38 -0
  444. package/contracts/product/IApplicationService.sol +69 -0
  445. package/contracts/product/IClaimService.sol +135 -0
  446. package/contracts/product/IPolicyService.sol +95 -0
  447. package/contracts/product/IPricingService.sol +40 -0
  448. package/contracts/product/IProductComponent.sol +62 -0
  449. package/contracts/product/IRiskService.sol +33 -0
  450. package/contracts/product/PolicyService.sol +664 -0
  451. package/contracts/product/PolicyServiceLib.sol +65 -0
  452. package/contracts/product/PolicyServiceManager.sol +39 -0
  453. package/contracts/product/PricingService.sol +309 -0
  454. package/contracts/product/PricingServiceManager.sol +39 -0
  455. package/contracts/product/Product.sol +467 -0
  456. package/contracts/product/RiskService.sol +154 -0
  457. package/contracts/product/RiskServiceManager.sol +39 -0
  458. package/contracts/registry/ChainNft.sol +130 -40
  459. package/contracts/registry/IRegistry.sol +142 -29
  460. package/contracts/registry/IRegistryService.sol +62 -0
  461. package/contracts/registry/IRelease.sol +29 -0
  462. package/contracts/registry/ITransferInterceptor.sol +6 -0
  463. package/contracts/registry/Registry.sol +631 -282
  464. package/contracts/registry/RegistryAdmin.sol +258 -0
  465. package/contracts/registry/RegistryAuthorization.sol +267 -0
  466. package/contracts/registry/RegistryService.sol +241 -0
  467. package/contracts/registry/RegistryServiceManager.sol +53 -0
  468. package/contracts/registry/ReleaseAdmin.sol +253 -0
  469. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  470. package/contracts/registry/ReleaseRegistry.sol +517 -0
  471. package/contracts/registry/ServiceAuthorizationV3.sol +331 -0
  472. package/contracts/registry/TokenRegistry.sol +316 -0
  473. package/contracts/shared/Component.sol +210 -0
  474. package/contracts/shared/ComponentService.sol +708 -0
  475. package/contracts/shared/ComponentServiceManager.sol +38 -0
  476. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  477. package/contracts/shared/ContractLib.sol +281 -0
  478. package/contracts/shared/IComponent.sol +58 -0
  479. package/contracts/shared/IComponentService.sol +112 -0
  480. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  481. package/contracts/shared/IKeyValueStore.sol +54 -0
  482. package/contracts/shared/ILifecycle.sol +31 -0
  483. package/contracts/shared/INftOwnable.sol +25 -0
  484. package/contracts/shared/IPolicyHolder.sol +35 -0
  485. package/contracts/shared/IRegisterable.sol +33 -20
  486. package/contracts/shared/IRegistryLinked.sol +11 -0
  487. package/contracts/shared/IService.sol +23 -0
  488. package/contracts/shared/InitializableERC165.sol +35 -0
  489. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  490. package/contracts/shared/KeyValueStore.sol +131 -0
  491. package/contracts/shared/Lifecycle.sol +88 -0
  492. package/contracts/shared/NftIdSet.sol +65 -0
  493. package/contracts/shared/NftOwnable.sol +127 -0
  494. package/contracts/shared/PolicyHolder.sol +62 -0
  495. package/contracts/shared/Registerable.sol +80 -60
  496. package/contracts/shared/RegistryLinked.sol +38 -0
  497. package/contracts/shared/Service.sol +65 -0
  498. package/contracts/shared/TokenHandler.sol +342 -0
  499. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  500. package/contracts/staking/IStaking.sol +175 -0
  501. package/contracts/staking/IStakingService.sol +172 -0
  502. package/contracts/staking/Staking.sol +546 -0
  503. package/contracts/staking/StakingLib.sol +281 -0
  504. package/contracts/staking/StakingLifecycle.sol +23 -0
  505. package/contracts/staking/StakingManager.sol +52 -0
  506. package/contracts/staking/StakingReader.sol +180 -0
  507. package/contracts/staking/StakingService.sol +464 -0
  508. package/contracts/staking/StakingServiceManager.sol +45 -0
  509. package/contracts/staking/StakingStore.sol +606 -0
  510. package/contracts/staking/TargetManagerLib.sol +211 -0
  511. package/contracts/{types → type}/AddressSet.sol +1 -1
  512. package/contracts/type/Amount.sol +150 -0
  513. package/contracts/{types → type}/Blocknumber.sol +27 -3
  514. package/contracts/type/ClaimId.sol +80 -0
  515. package/contracts/type/DistributorType.sol +55 -0
  516. package/contracts/type/Fee.sol +66 -0
  517. package/contracts/type/Key32.sol +50 -0
  518. package/contracts/type/Key32Set.sol +62 -0
  519. package/contracts/type/NftId.sol +85 -0
  520. package/contracts/type/NftIdSet.sol +62 -0
  521. package/contracts/type/ObjectType.sol +294 -0
  522. package/contracts/type/PayoutId.sol +82 -0
  523. package/contracts/type/Referral.sol +90 -0
  524. package/contracts/type/RequestId.sol +75 -0
  525. package/contracts/type/RiskId.sol +75 -0
  526. package/contracts/type/RoleId.sol +182 -0
  527. package/contracts/type/Seconds.sol +101 -0
  528. package/contracts/type/Selector.sol +107 -0
  529. package/contracts/{types → type}/StateId.sol +60 -6
  530. package/contracts/type/String.sol +53 -0
  531. package/contracts/{types → type}/Timestamp.sol +37 -19
  532. package/contracts/{types → type}/UFixed.sol +90 -34
  533. package/contracts/type/Version.sol +159 -0
  534. package/contracts/upgradeability/IVersionable.sol +53 -0
  535. package/contracts/upgradeability/ProxyManager.sol +232 -0
  536. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  537. package/contracts/upgradeability/Versionable.sol +59 -0
  538. package/package.json +13 -8
  539. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  541. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  544. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  546. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  547. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  548. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  549. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  550. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  552. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  554. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  556. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  558. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  560. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  585. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  586. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
  587. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  588. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -313
  589. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  590. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  591. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  592. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  593. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  594. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  595. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -276
  596. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  597. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  598. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -276
  599. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  600. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  601. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  603. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  605. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  607. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  609. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  612. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  614. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  617. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  619. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.json +0 -10
  621. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.dbg.json +0 -4
  622. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.json +0 -10
  623. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  625. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -538
  627. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  629. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -538
  631. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -519
  633. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  634. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  635. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  636. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  637. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  638. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  639. package/artifacts/contracts/instance/service/IService.sol/IService.json +0 -300
  640. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  641. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -499
  642. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  643. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -685
  644. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  645. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.json +0 -300
  646. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  647. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  648. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  649. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  650. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  651. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  652. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  653. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  654. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  655. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  656. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  657. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -95
  658. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  659. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  660. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  661. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  662. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  663. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  664. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  665. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -82
  666. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  667. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -407
  668. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  669. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  670. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  671. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -222
  672. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  673. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -230
  674. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  675. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  676. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  677. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  678. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  680. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  681. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -92
  682. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  683. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  684. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  685. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  686. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  687. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  688. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  689. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  690. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  691. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  692. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  693. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -78
  694. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  695. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  696. package/contracts/components/BaseComponent.sol +0 -89
  697. package/contracts/components/IBaseComponent.sol +0 -19
  698. package/contracts/components/IPoolComponent.sol +0 -57
  699. package/contracts/components/IProductComponent.sol +0 -19
  700. package/contracts/components/Pool.sol +0 -174
  701. package/contracts/components/Product.sol +0 -117
  702. package/contracts/experiment/errors/Require.sol +0 -38
  703. package/contracts/experiment/errors/Revert.sol +0 -44
  704. package/contracts/experiment/inheritance/A.sol +0 -53
  705. package/contracts/experiment/inheritance/B.sol +0 -28
  706. package/contracts/experiment/inheritance/C.sol +0 -34
  707. package/contracts/experiment/inheritance/IA.sol +0 -13
  708. package/contracts/experiment/inheritance/IB.sol +0 -10
  709. package/contracts/experiment/inheritance/IC.sol +0 -12
  710. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  711. package/contracts/experiment/statemachine/ISM.sol +0 -25
  712. package/contracts/experiment/statemachine/README.md +0 -112
  713. package/contracts/experiment/statemachine/SM.sol +0 -57
  714. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  715. package/contracts/experiment/types/TypeA.sol +0 -47
  716. package/contracts/experiment/types/TypeB.sol +0 -29
  717. package/contracts/instance/IInstanceLinked.sol +0 -8
  718. package/contracts/instance/IServiceLinked.sol +0 -12
  719. package/contracts/instance/InstanceBase.sol +0 -74
  720. package/contracts/instance/module/access/Access.sol +0 -149
  721. package/contracts/instance/module/access/IAccess.sol +0 -53
  722. package/contracts/instance/module/bundle/BundleModule.sol +0 -228
  723. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  724. package/contracts/instance/module/component/ComponentModule.sol +0 -104
  725. package/contracts/instance/module/component/IComponent.sol +0 -53
  726. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  727. package/contracts/instance/module/lifecycle/LifecycleModule.sol +0 -89
  728. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  729. package/contracts/instance/module/policy/PolicyModule.sol +0 -84
  730. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  731. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  732. package/contracts/instance/module/product/IProductModule.sol +0 -6
  733. package/contracts/instance/module/product/ProductModule.sol +0 -8
  734. package/contracts/instance/module/treasury/ITreasury.sol +0 -104
  735. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  736. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -148
  737. package/contracts/instance/service/ComponentOwnerService.sol +0 -174
  738. package/contracts/instance/service/ComponentServiceBase.sol +0 -41
  739. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  740. package/contracts/instance/service/IPoolService.sol +0 -30
  741. package/contracts/instance/service/IProductService.sol +0 -58
  742. package/contracts/instance/service/IService.sol +0 -15
  743. package/contracts/instance/service/PoolService.sol +0 -98
  744. package/contracts/instance/service/ProductService.sol +0 -358
  745. package/contracts/instance/service/ServiceBase.sol +0 -39
  746. package/contracts/registry/IChainNft.sol +0 -21
  747. package/contracts/registry/IRegistryLinked.sol +0 -8
  748. package/contracts/shared/ERC165.sol +0 -21
  749. package/contracts/shared/IOwnable.sol +0 -6
  750. package/contracts/shared/IVersionable.sol +0 -52
  751. package/contracts/shared/Versionable.sol +0 -92
  752. package/contracts/test/TestFee.sol +0 -25
  753. package/contracts/test/TestPool.sol +0 -22
  754. package/contracts/test/TestProduct.sol +0 -44
  755. package/contracts/test/TestRegisterable.sol +0 -19
  756. package/contracts/test/TestRoleId.sol +0 -14
  757. package/contracts/test/TestService.sol +0 -35
  758. package/contracts/test/TestVersion.sol +0 -47
  759. package/contracts/test/TestVersionable.sol +0 -20
  760. package/contracts/types/ChainId.sol +0 -38
  761. package/contracts/types/Fee.sol +0 -32
  762. package/contracts/types/NftId.sol +0 -57
  763. package/contracts/types/NftIdSet.sol +0 -60
  764. package/contracts/types/ObjectType.sol +0 -115
  765. package/contracts/types/RoleId.sol +0 -36
  766. package/contracts/types/Version.sol +0 -91
@@ -7,310 +7,203 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "registryNftId",
16
- "type": "uint96"
17
12
  }
18
13
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
21
16
  },
22
17
  {
23
18
  "inputs": [
24
19
  {
25
- "internalType": "NftId",
26
- "name": "nftId",
27
- "type": "uint96"
28
- },
29
- {
30
- "internalType": "ObjectType",
31
- "name": "objectType",
32
- "type": "uint8"
33
- },
34
- {
35
- "internalType": "StateId",
36
- "name": "fromStateId",
37
- "type": "uint8"
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
38
23
  },
39
24
  {
40
- "internalType": "StateId",
41
- "name": "toStateId",
42
- "type": "uint8"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
43
28
  }
44
29
  ],
45
- "name": "ErrorInvalidStateTransition",
30
+ "name": "AccessManagedRequiredDelay",
46
31
  "type": "error"
47
32
  },
48
33
  {
49
34
  "inputs": [
50
35
  {
51
- "internalType": "NftId",
52
- "name": "nftId",
53
- "type": "uint96"
54
- },
55
- {
56
- "internalType": "ObjectType",
57
- "name": "objectType",
58
- "type": "uint8"
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
59
39
  }
60
40
  ],
61
- "name": "ErrorNoLifecycle",
41
+ "name": "AccessManagedUnauthorized",
62
42
  "type": "error"
63
43
  },
64
44
  {
65
- "anonymous": false,
66
45
  "inputs": [
67
46
  {
68
- "indexed": false,
69
- "internalType": "RoleId",
70
- "name": "role",
71
- "type": "bytes8"
72
- },
73
- {
74
- "indexed": false,
75
- "internalType": "string",
76
- "name": "roleName",
77
- "type": "string"
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
78
50
  }
79
51
  ],
80
- "name": "LogAccessRoleCreated",
81
- "type": "event"
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
82
54
  },
83
55
  {
84
- "anonymous": false,
85
56
  "inputs": [
86
57
  {
87
- "indexed": false,
88
- "internalType": "RoleId",
89
- "name": "role",
90
- "type": "bytes8"
91
- },
92
- {
93
- "indexed": false,
94
58
  "internalType": "address",
95
- "name": "member",
59
+ "name": "instanceBundleSet",
96
60
  "type": "address"
97
- },
98
- {
99
- "indexed": false,
100
- "internalType": "bool",
101
- "name": "isMember",
102
- "type": "bool"
103
61
  }
104
62
  ],
105
- "name": "LogAccessRoleGranted",
106
- "type": "event"
63
+ "name": "ErrorInstanceBundleSetAlreadySet",
64
+ "type": "error"
107
65
  },
108
66
  {
109
- "anonymous": false,
110
67
  "inputs": [
111
68
  {
112
- "indexed": false,
113
- "internalType": "RoleId",
114
- "name": "role",
115
- "type": "bytes8"
116
- },
117
- {
118
- "indexed": false,
119
- "internalType": "bool",
120
- "name": "active",
121
- "type": "bool"
69
+ "internalType": "address",
70
+ "name": "instanceAuthority",
71
+ "type": "address"
122
72
  }
123
73
  ],
124
- "name": "LogAccessRoleStateSet",
125
- "type": "event"
74
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
75
+ "type": "error"
126
76
  },
127
77
  {
128
- "anonymous": false,
129
78
  "inputs": [
130
79
  {
131
- "indexed": false,
132
- "internalType": "NftId",
133
- "name": "nftId",
134
- "type": "uint96"
135
- },
136
- {
137
- "indexed": false,
138
- "internalType": "StateId",
139
- "name": "fromStateId",
140
- "type": "uint8"
141
- },
142
- {
143
- "indexed": false,
144
- "internalType": "StateId",
145
- "name": "toStateId",
146
- "type": "uint8"
80
+ "internalType": "address",
81
+ "name": "instance",
82
+ "type": "address"
147
83
  }
148
84
  ],
149
- "name": "LogBundleStateChanged",
150
- "type": "event"
85
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
86
+ "type": "error"
151
87
  },
152
88
  {
153
- "anonymous": false,
154
89
  "inputs": [
155
90
  {
156
- "indexed": false,
157
- "internalType": "NftId",
158
- "name": "nftId",
159
- "type": "uint96"
160
- },
161
- {
162
- "indexed": false,
163
- "internalType": "ObjectType",
164
- "name": "objectType",
165
- "type": "uint8"
166
- },
167
- {
168
- "indexed": false,
169
- "internalType": "StateId",
170
- "name": "fromStateId",
171
- "type": "uint8"
172
- },
173
- {
174
- "indexed": false,
175
- "internalType": "StateId",
176
- "name": "toStateId",
177
- "type": "uint8"
91
+ "internalType": "address",
92
+ "name": "instanceAdmin",
93
+ "type": "address"
178
94
  }
179
95
  ],
180
- "name": "LogComponentStateChanged",
181
- "type": "event"
96
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
97
+ "type": "error"
182
98
  },
183
99
  {
184
- "anonymous": false,
185
100
  "inputs": [
186
101
  {
187
- "indexed": false,
188
- "internalType": "NftId",
189
- "name": "nftId",
190
- "type": "uint96"
191
- },
192
- {
193
- "indexed": false,
194
- "internalType": "StateId",
195
- "name": "fromStateId",
196
- "type": "uint8"
197
- },
198
- {
199
- "indexed": false,
200
- "internalType": "StateId",
201
- "name": "toStateId",
202
- "type": "uint8"
102
+ "internalType": "address",
103
+ "name": "instanceAuthority",
104
+ "type": "address"
203
105
  }
204
106
  ],
205
- "name": "LogPolicyStateChanged",
206
- "type": "event"
107
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
108
+ "type": "error"
109
+ },
110
+ {
111
+ "inputs": [],
112
+ "name": "ErrorInstanceInstanceAdminZero",
113
+ "type": "error"
207
114
  },
208
115
  {
209
- "anonymous": false,
210
116
  "inputs": [
211
117
  {
212
- "indexed": false,
213
- "internalType": "Version",
214
- "name": "version",
215
- "type": "uint24"
216
- },
217
- {
218
- "indexed": false,
219
118
  "internalType": "address",
220
- "name": "implementation",
119
+ "name": "instanceAuthority",
221
120
  "type": "address"
222
- },
121
+ }
122
+ ],
123
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
223
128
  {
224
- "indexed": false,
225
129
  "internalType": "address",
226
- "name": "activatedBy",
130
+ "name": "instanceStore",
227
131
  "type": "address"
228
132
  }
229
133
  ],
230
- "name": "LogVersionableActivated",
231
- "type": "event"
134
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
135
+ "type": "error"
232
136
  },
233
137
  {
234
138
  "inputs": [
235
139
  {
236
140
  "internalType": "address",
237
- "name": "implementation",
141
+ "name": "instanceAuthority",
238
142
  "type": "address"
239
- },
143
+ }
144
+ ],
145
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [
240
150
  {
241
151
  "internalType": "address",
242
- "name": "activatedBy",
152
+ "name": "instanceRiskSet",
243
153
  "type": "address"
244
154
  }
245
155
  ],
246
- "name": "activate",
247
- "outputs": [],
248
- "stateMutability": "nonpayable",
249
- "type": "function"
156
+ "name": "ErrorInstanceRiskSetAlreadySet",
157
+ "type": "error"
250
158
  },
251
159
  {
252
160
  "inputs": [
253
161
  {
254
- "internalType": "NftId",
255
- "name": "bundleNftId",
256
- "type": "uint96"
257
- },
258
- {
259
- "internalType": "NftId",
260
- "name": "poolNftId",
261
- "type": "uint96"
262
- },
263
- {
264
- "internalType": "uint256",
265
- "name": "",
266
- "type": "uint256"
162
+ "internalType": "address",
163
+ "name": "instanceAuthority",
164
+ "type": "address"
267
165
  }
268
166
  ],
269
- "name": "addBundleToPool",
270
- "outputs": [],
271
- "stateMutability": "nonpayable",
272
- "type": "function"
167
+ "name": "ErrorInstanceRiskSetAuthorityMismatch",
168
+ "type": "error"
273
169
  },
274
170
  {
275
171
  "inputs": [
276
172
  {
277
- "internalType": "uint256",
278
- "name": "amount",
279
- "type": "uint256"
280
- },
281
- {
282
- "components": [
283
- {
284
- "internalType": "UFixed",
285
- "name": "fractionalFee",
286
- "type": "uint256"
287
- },
288
- {
289
- "internalType": "uint256",
290
- "name": "fixedFee",
291
- "type": "uint256"
292
- }
293
- ],
294
- "internalType": "struct Fee",
295
- "name": "fee",
296
- "type": "tuple"
173
+ "internalType": "address",
174
+ "name": "instance",
175
+ "type": "address"
297
176
  }
298
177
  ],
299
- "name": "calculateFeeAmount",
300
- "outputs": [
178
+ "name": "ErrorInstanceRiskSetInstanceMismatch",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
301
183
  {
302
- "internalType": "uint256",
303
- "name": "feeAmount",
304
- "type": "uint256"
305
- },
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ }
188
+ ],
189
+ "name": "ErrorNftOwnableAlreadyLinked",
190
+ "type": "error"
191
+ },
192
+ {
193
+ "inputs": [
306
194
  {
307
- "internalType": "uint256",
308
- "name": "netAmount",
309
- "type": "uint256"
195
+ "internalType": "address",
196
+ "name": "contractAddress",
197
+ "type": "address"
310
198
  }
311
199
  ],
312
- "stateMutability": "pure",
313
- "type": "function"
200
+ "name": "ErrorNftOwnableContractNotRegistered",
201
+ "type": "error"
202
+ },
203
+ {
204
+ "inputs": [],
205
+ "name": "ErrorNftOwnableInitialOwnerZero",
206
+ "type": "error"
314
207
  },
315
208
  {
316
209
  "inputs": [
@@ -321,123 +214,113 @@
321
214
  },
322
215
  {
323
216
  "internalType": "ObjectType",
324
- "name": "objectType",
325
- "type": "uint8"
326
- },
327
- {
328
- "internalType": "StateId",
329
- "name": "fromId",
330
- "type": "uint8"
331
- },
332
- {
333
- "internalType": "StateId",
334
- "name": "toId",
217
+ "name": "expectedObjectType",
335
218
  "type": "uint8"
336
219
  }
337
220
  ],
338
- "name": "checkAndLogTransition",
339
- "outputs": [
221
+ "name": "ErrorNftOwnableInvalidType",
222
+ "type": "error"
223
+ },
224
+ {
225
+ "inputs": [
340
226
  {
341
- "internalType": "StateId",
342
- "name": "",
343
- "type": "uint8"
227
+ "internalType": "address",
228
+ "name": "account",
229
+ "type": "address"
344
230
  }
345
231
  ],
346
- "stateMutability": "nonpayable",
347
- "type": "function"
232
+ "name": "ErrorNftOwnableNotOwner",
233
+ "type": "error"
348
234
  },
349
235
  {
350
236
  "inputs": [
351
237
  {
352
- "internalType": "NftId",
353
- "name": "bundleNftId",
354
- "type": "uint96"
355
- },
356
- {
357
- "internalType": "NftId",
358
- "name": "policyNftId",
359
- "type": "uint96"
360
- },
361
- {
362
- "internalType": "uint256",
363
- "name": "collateralAmount",
364
- "type": "uint256"
238
+ "internalType": "address",
239
+ "name": "registryAddress",
240
+ "type": "address"
365
241
  }
366
242
  ],
367
- "name": "collateralizePolicy",
368
- "outputs": [],
369
- "stateMutability": "nonpayable",
370
- "type": "function"
243
+ "name": "ErrorNotRegistry",
244
+ "type": "error"
371
245
  },
372
246
  {
373
- "inputs": [
374
- {
375
- "internalType": "NftId",
376
- "name": "productNftId",
377
- "type": "uint96"
378
- },
379
- {
380
- "internalType": "NftId",
381
- "name": "policyNftId",
382
- "type": "uint96"
383
- },
384
- {
385
- "internalType": "uint256",
386
- "name": "sumInsuredAmount",
387
- "type": "uint256"
388
- },
389
- {
390
- "internalType": "uint256",
391
- "name": "premiumAmount",
392
- "type": "uint256"
393
- },
394
- {
395
- "internalType": "uint256",
396
- "name": "lifetime",
397
- "type": "uint256"
398
- },
247
+ "inputs": [],
248
+ "name": "ErrorRegisterableNotActive",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "InvalidInitialization",
254
+ "type": "error"
255
+ },
256
+ {
257
+ "inputs": [],
258
+ "name": "NotInitializing",
259
+ "type": "error"
260
+ },
261
+ {
262
+ "anonymous": false,
263
+ "inputs": [
399
264
  {
400
- "internalType": "NftId",
401
- "name": "bundleNftId",
402
- "type": "uint96"
265
+ "indexed": false,
266
+ "internalType": "address",
267
+ "name": "authority",
268
+ "type": "address"
403
269
  }
404
270
  ],
405
- "name": "createApplication",
406
- "outputs": [],
407
- "stateMutability": "nonpayable",
408
- "type": "function"
271
+ "name": "AuthorityUpdated",
272
+ "type": "event"
409
273
  },
410
274
  {
275
+ "anonymous": false,
411
276
  "inputs": [
412
277
  {
413
- "internalType": "NftId",
414
- "name": "bundleNftId",
415
- "type": "uint96"
416
- },
417
- {
418
- "internalType": "NftId",
419
- "name": "poolNftId",
420
- "type": "uint96"
421
- },
278
+ "indexed": false,
279
+ "internalType": "uint64",
280
+ "name": "version",
281
+ "type": "uint64"
282
+ }
283
+ ],
284
+ "name": "Initialized",
285
+ "type": "event"
286
+ },
287
+ {
288
+ "inputs": [],
289
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
290
+ "outputs": [
422
291
  {
423
- "internalType": "uint256",
424
- "name": "amount",
425
- "type": "uint256"
426
- },
292
+ "internalType": "bytes32",
293
+ "name": "",
294
+ "type": "bytes32"
295
+ }
296
+ ],
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "inputs": [],
302
+ "name": "REGISTERABLE_LOCATION_V1",
303
+ "outputs": [
427
304
  {
428
- "internalType": "uint256",
429
- "name": "lifetime",
430
- "type": "uint256"
431
- },
305
+ "internalType": "bytes32",
306
+ "name": "",
307
+ "type": "bytes32"
308
+ }
309
+ ],
310
+ "stateMutability": "view",
311
+ "type": "function"
312
+ },
313
+ {
314
+ "inputs": [],
315
+ "name": "authority",
316
+ "outputs": [
432
317
  {
433
- "internalType": "bytes",
434
- "name": "filter",
435
- "type": "bytes"
318
+ "internalType": "address",
319
+ "name": "",
320
+ "type": "address"
436
321
  }
437
322
  ],
438
- "name": "createBundleInfo",
439
- "outputs": [],
440
- "stateMutability": "nonpayable",
323
+ "stateMutability": "view",
441
324
  "type": "function"
442
325
  },
443
326
  {
@@ -446,14 +329,24 @@
446
329
  "internalType": "string",
447
330
  "name": "roleName",
448
331
  "type": "string"
332
+ },
333
+ {
334
+ "internalType": "string",
335
+ "name": "adminName",
336
+ "type": "string"
449
337
  }
450
338
  ],
451
339
  "name": "createRole",
452
340
  "outputs": [
453
341
  {
454
342
  "internalType": "RoleId",
455
- "name": "role",
456
- "type": "bytes8"
343
+ "name": "roleId",
344
+ "type": "uint64"
345
+ },
346
+ {
347
+ "internalType": "RoleId",
348
+ "name": "admin",
349
+ "type": "uint64"
457
350
  }
458
351
  ],
459
352
  "stateMutability": "nonpayable",
@@ -462,31 +355,37 @@
462
355
  {
463
356
  "inputs": [
464
357
  {
465
- "internalType": "NftId",
466
- "name": "poolNftId",
467
- "type": "uint96"
358
+ "internalType": "address",
359
+ "name": "target",
360
+ "type": "address"
361
+ },
362
+ {
363
+ "internalType": "string",
364
+ "name": "name",
365
+ "type": "string"
468
366
  }
469
367
  ],
470
- "name": "getBundleCount",
368
+ "name": "createTarget",
369
+ "outputs": [],
370
+ "stateMutability": "nonpayable",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "inputs": [],
375
+ "name": "getBundleSet",
471
376
  "outputs": [
472
377
  {
473
- "internalType": "uint256",
474
- "name": "bundleCount",
475
- "type": "uint256"
378
+ "internalType": "contract BundleSet",
379
+ "name": "",
380
+ "type": "address"
476
381
  }
477
382
  ],
478
383
  "stateMutability": "view",
479
384
  "type": "function"
480
385
  },
481
386
  {
482
- "inputs": [
483
- {
484
- "internalType": "NftId",
485
- "name": "bundleNftId",
486
- "type": "uint96"
487
- }
488
- ],
489
- "name": "getBundleInfo",
387
+ "inputs": [],
388
+ "name": "getInitialInfo",
490
389
  "outputs": [
491
390
  {
492
391
  "components": [
@@ -497,150 +396,77 @@
497
396
  },
498
397
  {
499
398
  "internalType": "NftId",
500
- "name": "poolNftId",
399
+ "name": "parentNftId",
501
400
  "type": "uint96"
502
401
  },
503
402
  {
504
- "internalType": "StateId",
505
- "name": "state",
403
+ "internalType": "ObjectType",
404
+ "name": "objectType",
506
405
  "type": "uint8"
507
406
  },
508
407
  {
509
- "internalType": "bytes",
510
- "name": "filter",
511
- "type": "bytes"
512
- },
513
- {
514
- "internalType": "uint256",
515
- "name": "capitalAmount",
516
- "type": "uint256"
517
- },
518
- {
519
- "internalType": "uint256",
520
- "name": "lockedAmount",
521
- "type": "uint256"
522
- },
523
- {
524
- "internalType": "uint256",
525
- "name": "balanceAmount",
526
- "type": "uint256"
527
- },
528
- {
529
- "internalType": "Timestamp",
530
- "name": "createdAt",
531
- "type": "uint40"
408
+ "internalType": "bool",
409
+ "name": "isInterceptor",
410
+ "type": "bool"
532
411
  },
533
412
  {
534
- "internalType": "Timestamp",
535
- "name": "expiredAt",
536
- "type": "uint40"
413
+ "internalType": "address",
414
+ "name": "objectAddress",
415
+ "type": "address"
537
416
  },
538
417
  {
539
- "internalType": "Timestamp",
540
- "name": "closedAt",
541
- "type": "uint40"
418
+ "internalType": "address",
419
+ "name": "initialOwner",
420
+ "type": "address"
542
421
  },
543
422
  {
544
- "internalType": "Blocknumber",
545
- "name": "updatedIn",
546
- "type": "uint32"
423
+ "internalType": "bytes",
424
+ "name": "data",
425
+ "type": "bytes"
547
426
  }
548
427
  ],
549
- "internalType": "struct IBundle.BundleInfo",
550
- "name": "bundleInfo",
428
+ "internalType": "struct IRegistry.ObjectInfo",
429
+ "name": "info",
551
430
  "type": "tuple"
552
431
  }
553
432
  ],
554
433
  "stateMutability": "view",
555
434
  "type": "function"
556
435
  },
557
- {
558
- "inputs": [
559
- {
560
- "internalType": "NftId",
561
- "name": "poolNftId",
562
- "type": "uint96"
563
- },
564
- {
565
- "internalType": "uint256",
566
- "name": "index",
567
- "type": "uint256"
568
- }
569
- ],
570
- "name": "getBundleNftId",
571
- "outputs": [
572
- {
573
- "internalType": "NftId",
574
- "name": "bundleNftId",
575
- "type": "uint96"
576
- }
577
- ],
578
- "stateMutability": "view",
579
- "type": "function"
580
- },
581
436
  {
582
437
  "inputs": [],
583
- "name": "getComponentCount",
438
+ "name": "getInstanceAdmin",
584
439
  "outputs": [
585
440
  {
586
- "internalType": "uint256",
587
- "name": "numberOfCompnents",
588
- "type": "uint256"
441
+ "internalType": "contract InstanceAdmin",
442
+ "name": "",
443
+ "type": "address"
589
444
  }
590
445
  ],
591
446
  "stateMutability": "view",
592
447
  "type": "function"
593
448
  },
594
449
  {
595
- "inputs": [
596
- {
597
- "internalType": "uint256",
598
- "name": "idx",
599
- "type": "uint256"
600
- }
601
- ],
602
- "name": "getComponentId",
450
+ "inputs": [],
451
+ "name": "getInstanceReader",
603
452
  "outputs": [
604
453
  {
605
- "internalType": "NftId",
606
- "name": "componentNftId",
607
- "type": "uint96"
454
+ "internalType": "contract InstanceReader",
455
+ "name": "",
456
+ "type": "address"
608
457
  }
609
458
  ],
610
459
  "stateMutability": "view",
611
460
  "type": "function"
612
461
  },
613
462
  {
614
- "inputs": [
615
- {
616
- "internalType": "NftId",
617
- "name": "nftId",
618
- "type": "uint96"
619
- }
620
- ],
621
- "name": "getComponentInfo",
463
+ "inputs": [],
464
+ "name": "getInstanceStore",
622
465
  "outputs": [
623
466
  {
624
- "components": [
625
- {
626
- "internalType": "NftId",
627
- "name": "nftId",
628
- "type": "uint96"
629
- },
630
- {
631
- "internalType": "StateId",
632
- "name": "state",
633
- "type": "uint8"
634
- },
635
- {
636
- "internalType": "contract IERC20Metadata",
637
- "name": "token",
638
- "type": "address"
639
- }
640
- ],
641
- "internalType": "struct IComponent.ComponentInfo",
467
+ "internalType": "contract InstanceStore",
642
468
  "name": "",
643
- "type": "tuple"
469
+ "type": "address"
644
470
  }
645
471
  ],
646
472
  "stateMutability": "view",
@@ -648,12 +474,12 @@
648
474
  },
649
475
  {
650
476
  "inputs": [],
651
- "name": "getComponentOwnerService",
477
+ "name": "getNftId",
652
478
  "outputs": [
653
479
  {
654
- "internalType": "contract IComponentOwnerService",
655
- "name": "service",
656
- "type": "address"
480
+ "internalType": "NftId",
481
+ "name": "",
482
+ "type": "uint96"
657
483
  }
658
484
  ],
659
485
  "stateMutability": "view",
@@ -661,12 +487,12 @@
661
487
  },
662
488
  {
663
489
  "inputs": [],
664
- "name": "getData",
490
+ "name": "getOwner",
665
491
  "outputs": [
666
492
  {
667
- "internalType": "bytes",
668
- "name": "data",
669
- "type": "bytes"
493
+ "internalType": "address",
494
+ "name": "",
495
+ "type": "address"
670
496
  }
671
497
  ],
672
498
  "stateMutability": "view",
@@ -674,54 +500,31 @@
674
500
  },
675
501
  {
676
502
  "inputs": [
677
- {
678
- "internalType": "UFixed",
679
- "name": "fractionalFee",
680
- "type": "uint256"
681
- },
682
503
  {
683
504
  "internalType": "uint256",
684
- "name": "fixedFee",
505
+ "name": "idx",
685
506
  "type": "uint256"
686
507
  }
687
508
  ],
688
- "name": "getFee",
509
+ "name": "getProductNftId",
689
510
  "outputs": [
690
511
  {
691
- "components": [
692
- {
693
- "internalType": "UFixed",
694
- "name": "fractionalFee",
695
- "type": "uint256"
696
- },
697
- {
698
- "internalType": "uint256",
699
- "name": "fixedFee",
700
- "type": "uint256"
701
- }
702
- ],
703
- "internalType": "struct Fee",
704
- "name": "fee",
705
- "type": "tuple"
512
+ "internalType": "NftId",
513
+ "name": "productNftId",
514
+ "type": "uint96"
706
515
  }
707
516
  ],
708
- "stateMutability": "pure",
517
+ "stateMutability": "view",
709
518
  "type": "function"
710
519
  },
711
520
  {
712
- "inputs": [
713
- {
714
- "internalType": "ObjectType",
715
- "name": "objectType",
716
- "type": "uint8"
717
- }
718
- ],
719
- "name": "getInitialState",
521
+ "inputs": [],
522
+ "name": "getRegistry",
720
523
  "outputs": [
721
524
  {
722
- "internalType": "StateId",
525
+ "internalType": "contract IRegistry",
723
526
  "name": "",
724
- "type": "uint8"
527
+ "type": "address"
725
528
  }
726
529
  ],
727
530
  "stateMutability": "view",
@@ -729,12 +532,12 @@
729
532
  },
730
533
  {
731
534
  "inputs": [],
732
- "name": "getNftId",
535
+ "name": "getRelease",
733
536
  "outputs": [
734
537
  {
735
- "internalType": "NftId",
736
- "name": "nftId",
737
- "type": "uint96"
538
+ "internalType": "VersionPart",
539
+ "name": "release",
540
+ "type": "uint8"
738
541
  }
739
542
  ],
740
543
  "stateMutability": "view",
@@ -742,11 +545,11 @@
742
545
  },
743
546
  {
744
547
  "inputs": [],
745
- "name": "getOwner",
548
+ "name": "getRiskSet",
746
549
  "outputs": [
747
550
  {
748
- "internalType": "address",
749
- "name": "owner",
551
+ "internalType": "contract RiskSet",
552
+ "name": "",
750
553
  "type": "address"
751
554
  }
752
555
  ],
@@ -754,630 +557,97 @@
754
557
  "type": "function"
755
558
  },
756
559
  {
757
- "inputs": [],
758
- "name": "getParentNftId",
759
- "outputs": [
560
+ "inputs": [
760
561
  {
761
- "internalType": "NftId",
762
- "name": "nftId",
763
- "type": "uint96"
562
+ "internalType": "RoleId",
563
+ "name": "roleId",
564
+ "type": "uint64"
565
+ },
566
+ {
567
+ "internalType": "address",
568
+ "name": "account",
569
+ "type": "address"
764
570
  }
765
571
  ],
766
- "stateMutability": "view",
572
+ "name": "grantRole",
573
+ "outputs": [],
574
+ "stateMutability": "nonpayable",
767
575
  "type": "function"
768
576
  },
769
577
  {
770
578
  "inputs": [
771
579
  {
772
- "internalType": "NftId",
773
- "name": "nftId",
774
- "type": "uint96"
775
- }
776
- ],
777
- "name": "getPolicyInfo",
778
- "outputs": [
779
- {
780
- "components": [
781
- {
782
- "internalType": "NftId",
783
- "name": "nftId",
784
- "type": "uint96"
785
- },
786
- {
787
- "internalType": "NftId",
788
- "name": "productNftId",
789
- "type": "uint96"
790
- },
791
- {
792
- "internalType": "NftId",
793
- "name": "bundleNftId",
794
- "type": "uint96"
795
- },
796
- {
797
- "internalType": "address",
798
- "name": "beneficiary",
799
- "type": "address"
800
- },
801
- {
802
- "internalType": "StateId",
803
- "name": "state",
804
- "type": "uint8"
805
- },
806
- {
807
- "internalType": "uint256",
808
- "name": "sumInsuredAmount",
809
- "type": "uint256"
810
- },
811
- {
812
- "internalType": "uint256",
813
- "name": "premiumAmount",
814
- "type": "uint256"
815
- },
816
- {
817
- "internalType": "uint256",
818
- "name": "premiumPaidAmount",
819
- "type": "uint256"
820
- },
821
- {
822
- "internalType": "uint256",
823
- "name": "lifetime",
824
- "type": "uint256"
825
- },
826
- {
827
- "internalType": "bytes",
828
- "name": "data",
829
- "type": "bytes"
830
- },
831
- {
832
- "internalType": "Timestamp",
833
- "name": "createdAt",
834
- "type": "uint40"
835
- },
836
- {
837
- "internalType": "Timestamp",
838
- "name": "activatedAt",
839
- "type": "uint40"
840
- },
841
- {
842
- "internalType": "Timestamp",
843
- "name": "expiredAt",
844
- "type": "uint40"
845
- },
846
- {
847
- "internalType": "Timestamp",
848
- "name": "closedAt",
849
- "type": "uint40"
850
- },
851
- {
852
- "internalType": "Blocknumber",
853
- "name": "updatedIn",
854
- "type": "uint32"
855
- }
856
- ],
857
- "internalType": "struct IPolicy.PolicyInfo",
858
- "name": "info",
859
- "type": "tuple"
860
- }
861
- ],
862
- "stateMutability": "view",
863
- "type": "function"
864
- },
865
- {
866
- "inputs": [
867
- {
868
- "internalType": "NftId",
869
- "name": "nftId",
870
- "type": "uint96"
871
- }
872
- ],
873
- "name": "getPoolInfo",
874
- "outputs": [
875
- {
876
- "components": [
877
- {
878
- "internalType": "NftId",
879
- "name": "nftId",
880
- "type": "uint96"
881
- },
882
- {
883
- "internalType": "bool",
884
- "name": "isVerifying",
885
- "type": "bool"
886
- },
887
- {
888
- "internalType": "UFixed",
889
- "name": "collateralizationLevel",
890
- "type": "uint256"
891
- }
892
- ],
893
- "internalType": "struct IPool.PoolInfo",
894
- "name": "info",
895
- "type": "tuple"
896
- }
897
- ],
898
- "stateMutability": "view",
899
- "type": "function"
900
- },
901
- {
902
- "inputs": [],
903
- "name": "getPoolService",
904
- "outputs": [
905
- {
906
- "internalType": "contract IPoolService",
907
- "name": "service",
580
+ "internalType": "contract InstanceAdmin",
581
+ "name": "instanceAdmin",
908
582
  "type": "address"
909
- }
910
- ],
911
- "stateMutability": "view",
912
- "type": "function"
913
- },
914
- {
915
- "inputs": [
916
- {
917
- "internalType": "NftId",
918
- "name": "poolNftId",
919
- "type": "uint96"
920
- }
921
- ],
922
- "name": "getPoolSetup",
923
- "outputs": [
924
- {
925
- "components": [
926
- {
927
- "internalType": "NftId",
928
- "name": "poolNftId",
929
- "type": "uint96"
930
- },
931
- {
932
- "internalType": "address",
933
- "name": "wallet",
934
- "type": "address"
935
- },
936
- {
937
- "components": [
938
- {
939
- "internalType": "UFixed",
940
- "name": "fractionalFee",
941
- "type": "uint256"
942
- },
943
- {
944
- "internalType": "uint256",
945
- "name": "fixedFee",
946
- "type": "uint256"
947
- }
948
- ],
949
- "internalType": "struct Fee",
950
- "name": "stakingFee",
951
- "type": "tuple"
952
- },
953
- {
954
- "components": [
955
- {
956
- "internalType": "UFixed",
957
- "name": "fractionalFee",
958
- "type": "uint256"
959
- },
960
- {
961
- "internalType": "uint256",
962
- "name": "fixedFee",
963
- "type": "uint256"
964
- }
965
- ],
966
- "internalType": "struct Fee",
967
- "name": "performanceFee",
968
- "type": "tuple"
969
- }
970
- ],
971
- "internalType": "struct ITreasury.PoolSetup",
972
- "name": "setup",
973
- "type": "tuple"
974
- }
975
- ],
976
- "stateMutability": "view",
977
- "type": "function"
978
- },
979
- {
980
- "inputs": [],
981
- "name": "getProductService",
982
- "outputs": [
583
+ },
983
584
  {
984
- "internalType": "contract IProductService",
985
- "name": "service",
585
+ "internalType": "contract InstanceStore",
586
+ "name": "instanceStore",
986
587
  "type": "address"
987
- }
988
- ],
989
- "stateMutability": "view",
990
- "type": "function"
991
- },
992
- {
993
- "inputs": [
994
- {
995
- "internalType": "NftId",
996
- "name": "productNftId",
997
- "type": "uint96"
998
- }
999
- ],
1000
- "name": "getProductSetup",
1001
- "outputs": [
1002
- {
1003
- "components": [
1004
- {
1005
- "internalType": "NftId",
1006
- "name": "productNftId",
1007
- "type": "uint96"
1008
- },
1009
- {
1010
- "internalType": "NftId",
1011
- "name": "distributorNftId",
1012
- "type": "uint96"
1013
- },
1014
- {
1015
- "internalType": "NftId",
1016
- "name": "poolNftId",
1017
- "type": "uint96"
1018
- },
1019
- {
1020
- "internalType": "contract IERC20Metadata",
1021
- "name": "token",
1022
- "type": "address"
1023
- },
1024
- {
1025
- "internalType": "contract TokenHandler",
1026
- "name": "tokenHandler",
1027
- "type": "address"
1028
- },
1029
- {
1030
- "internalType": "address",
1031
- "name": "wallet",
1032
- "type": "address"
1033
- },
1034
- {
1035
- "components": [
1036
- {
1037
- "internalType": "UFixed",
1038
- "name": "fractionalFee",
1039
- "type": "uint256"
1040
- },
1041
- {
1042
- "internalType": "uint256",
1043
- "name": "fixedFee",
1044
- "type": "uint256"
1045
- }
1046
- ],
1047
- "internalType": "struct Fee",
1048
- "name": "policyFee",
1049
- "type": "tuple"
1050
- },
1051
- {
1052
- "components": [
1053
- {
1054
- "internalType": "UFixed",
1055
- "name": "fractionalFee",
1056
- "type": "uint256"
1057
- },
1058
- {
1059
- "internalType": "uint256",
1060
- "name": "fixedFee",
1061
- "type": "uint256"
1062
- }
1063
- ],
1064
- "internalType": "struct Fee",
1065
- "name": "processingFee",
1066
- "type": "tuple"
1067
- }
1068
- ],
1069
- "internalType": "struct ITreasury.ProductSetup",
1070
- "name": "setup",
1071
- "type": "tuple"
1072
- }
1073
- ],
1074
- "stateMutability": "view",
1075
- "type": "function"
1076
- },
1077
- {
1078
- "inputs": [],
1079
- "name": "getRegistry",
1080
- "outputs": [
588
+ },
1081
589
  {
1082
- "internalType": "contract IRegistry",
1083
- "name": "registry",
590
+ "internalType": "contract BundleSet",
591
+ "name": "bundleSet",
1084
592
  "type": "address"
1085
- }
1086
- ],
1087
- "stateMutability": "view",
1088
- "type": "function"
1089
- },
1090
- {
1091
- "inputs": [
1092
- {
1093
- "internalType": "uint256",
1094
- "name": "idx",
1095
- "type": "uint256"
1096
- }
1097
- ],
1098
- "name": "getRole",
1099
- "outputs": [
1100
- {
1101
- "internalType": "RoleId",
1102
- "name": "role",
1103
- "type": "bytes8"
1104
- }
1105
- ],
1106
- "stateMutability": "view",
1107
- "type": "function"
1108
- },
1109
- {
1110
- "inputs": [],
1111
- "name": "getRoleCount",
1112
- "outputs": [
1113
- {
1114
- "internalType": "uint256",
1115
- "name": "roles",
1116
- "type": "uint256"
1117
- }
1118
- ],
1119
- "stateMutability": "view",
1120
- "type": "function"
1121
- },
1122
- {
1123
- "inputs": [
1124
- {
1125
- "internalType": "string",
1126
- "name": "roleName",
1127
- "type": "string"
1128
- }
1129
- ],
1130
- "name": "getRoleId",
1131
- "outputs": [
1132
- {
1133
- "internalType": "RoleId",
1134
- "name": "role",
1135
- "type": "bytes8"
1136
- }
1137
- ],
1138
- "stateMutability": "pure",
1139
- "type": "function"
1140
- },
1141
- {
1142
- "inputs": [
1143
- {
1144
- "internalType": "RoleId",
1145
- "name": "role",
1146
- "type": "bytes8"
1147
- }
1148
- ],
1149
- "name": "getRoleInfo",
1150
- "outputs": [
1151
- {
1152
- "components": [
1153
- {
1154
- "internalType": "RoleId",
1155
- "name": "id",
1156
- "type": "bytes8"
1157
- },
1158
- {
1159
- "internalType": "string",
1160
- "name": "name",
1161
- "type": "string"
1162
- },
1163
- {
1164
- "internalType": "bool",
1165
- "name": "isActive",
1166
- "type": "bool"
1167
- }
1168
- ],
1169
- "internalType": "struct IAccess.RoleInfo",
1170
- "name": "info",
1171
- "type": "tuple"
1172
- }
1173
- ],
1174
- "stateMutability": "view",
1175
- "type": "function"
1176
- },
1177
- {
1178
- "inputs": [
1179
- {
1180
- "internalType": "RoleId",
1181
- "name": "role",
1182
- "type": "bytes8"
1183
593
  },
1184
594
  {
1185
- "internalType": "uint256",
1186
- "name": "idx",
1187
- "type": "uint256"
1188
- }
1189
- ],
1190
- "name": "getRoleMember",
1191
- "outputs": [
1192
- {
1193
- "internalType": "address",
1194
- "name": "roleMembers",
595
+ "internalType": "contract RiskSet",
596
+ "name": "riskSet",
1195
597
  "type": "address"
1196
- }
1197
- ],
1198
- "stateMutability": "view",
1199
- "type": "function"
1200
- },
1201
- {
1202
- "inputs": [
1203
- {
1204
- "internalType": "RoleId",
1205
- "name": "role",
1206
- "type": "bytes8"
1207
- }
1208
- ],
1209
- "name": "getRoleMemberCount",
1210
- "outputs": [
1211
- {
1212
- "internalType": "uint256",
1213
- "name": "roleMembers",
1214
- "type": "uint256"
1215
- }
1216
- ],
1217
- "stateMutability": "view",
1218
- "type": "function"
1219
- },
1220
- {
1221
- "inputs": [
598
+ },
1222
599
  {
1223
- "internalType": "NftId",
1224
- "name": "productNftId",
1225
- "type": "uint96"
1226
- }
1227
- ],
1228
- "name": "getTokenHandler",
1229
- "outputs": [
600
+ "internalType": "contract InstanceReader",
601
+ "name": "instanceReader",
602
+ "type": "address"
603
+ },
1230
604
  {
1231
- "internalType": "contract TokenHandler",
1232
- "name": "tokenHandler",
605
+ "internalType": "contract IRegistry",
606
+ "name": "registry",
1233
607
  "type": "address"
1234
- }
1235
- ],
1236
- "stateMutability": "view",
1237
- "type": "function"
1238
- },
1239
- {
1240
- "inputs": [],
1241
- "name": "getType",
1242
- "outputs": [
608
+ },
1243
609
  {
1244
- "internalType": "ObjectType",
1245
- "name": "objectType",
610
+ "internalType": "VersionPart",
611
+ "name": "release",
1246
612
  "type": "uint8"
1247
- }
1248
- ],
1249
- "stateMutability": "pure",
1250
- "type": "function"
1251
- },
1252
- {
1253
- "inputs": [
1254
- {
1255
- "internalType": "uint256",
1256
- "name": "a",
1257
- "type": "uint256"
1258
613
  },
1259
614
  {
1260
- "internalType": "int8",
1261
- "name": "exp",
1262
- "type": "int8"
1263
- }
1264
- ],
1265
- "name": "getUFixed",
1266
- "outputs": [
1267
- {
1268
- "internalType": "UFixed",
1269
- "name": "",
1270
- "type": "uint256"
1271
- }
1272
- ],
1273
- "stateMutability": "pure",
1274
- "type": "function"
1275
- },
1276
- {
1277
- "inputs": [
1278
- {
1279
- "internalType": "uint256",
1280
- "name": "a",
1281
- "type": "uint256"
1282
- }
1283
- ],
1284
- "name": "getUFixed",
1285
- "outputs": [
1286
- {
1287
- "internalType": "UFixed",
1288
- "name": "",
1289
- "type": "uint256"
1290
- }
1291
- ],
1292
- "stateMutability": "pure",
1293
- "type": "function"
1294
- },
1295
- {
1296
- "inputs": [],
1297
- "name": "getVersion",
1298
- "outputs": [
1299
- {
1300
- "internalType": "Version",
1301
- "name": "",
1302
- "type": "uint24"
1303
- }
1304
- ],
1305
- "stateMutability": "pure",
1306
- "type": "function"
1307
- },
1308
- {
1309
- "inputs": [
1310
- {
1311
- "internalType": "uint256",
1312
- "name": "idx",
1313
- "type": "uint256"
1314
- }
1315
- ],
1316
- "name": "getVersion",
1317
- "outputs": [
615
+ "internalType": "address",
616
+ "name": "initialOwner",
617
+ "type": "address"
618
+ },
1318
619
  {
1319
- "internalType": "Version",
1320
- "name": "",
1321
- "type": "uint24"
620
+ "internalType": "bool",
621
+ "name": "tokenRegistryDisabled",
622
+ "type": "bool"
1322
623
  }
1323
624
  ],
1324
- "stateMutability": "view",
625
+ "name": "initialize",
626
+ "outputs": [],
627
+ "stateMutability": "nonpayable",
1325
628
  "type": "function"
1326
629
  },
1327
630
  {
1328
631
  "inputs": [],
1329
- "name": "getVersionCount",
632
+ "name": "isActive",
1330
633
  "outputs": [
1331
634
  {
1332
- "internalType": "uint256",
1333
- "name": "",
1334
- "type": "uint256"
635
+ "internalType": "bool",
636
+ "name": "active",
637
+ "type": "bool"
1335
638
  }
1336
639
  ],
1337
640
  "stateMutability": "view",
1338
641
  "type": "function"
1339
642
  },
1340
643
  {
1341
- "inputs": [
1342
- {
1343
- "internalType": "Version",
1344
- "name": "_version",
1345
- "type": "uint24"
1346
- }
1347
- ],
1348
- "name": "getVersionInfo",
644
+ "inputs": [],
645
+ "name": "isConsumingScheduledOp",
1349
646
  "outputs": [
1350
647
  {
1351
- "components": [
1352
- {
1353
- "internalType": "Version",
1354
- "name": "version",
1355
- "type": "uint24"
1356
- },
1357
- {
1358
- "internalType": "address",
1359
- "name": "implementation",
1360
- "type": "address"
1361
- },
1362
- {
1363
- "internalType": "address",
1364
- "name": "activatedBy",
1365
- "type": "address"
1366
- },
1367
- {
1368
- "internalType": "Blocknumber",
1369
- "name": "activatedIn",
1370
- "type": "uint32"
1371
- },
1372
- {
1373
- "internalType": "Timestamp",
1374
- "name": "activatedAt",
1375
- "type": "uint40"
1376
- }
1377
- ],
1378
- "internalType": "struct IVersionable.VersionInfo",
648
+ "internalType": "bytes4",
1379
649
  "name": "",
1380
- "type": "tuple"
650
+ "type": "bytes4"
1381
651
  }
1382
652
  ],
1383
653
  "stateMutability": "view",
@@ -1385,61 +655,7 @@
1385
655
  },
1386
656
  {
1387
657
  "inputs": [],
1388
- "name": "getZeroFee",
1389
- "outputs": [
1390
- {
1391
- "components": [
1392
- {
1393
- "internalType": "UFixed",
1394
- "name": "fractionalFee",
1395
- "type": "uint256"
1396
- },
1397
- {
1398
- "internalType": "uint256",
1399
- "name": "fixedFee",
1400
- "type": "uint256"
1401
- }
1402
- ],
1403
- "internalType": "struct Fee",
1404
- "name": "fee",
1405
- "type": "tuple"
1406
- }
1407
- ],
1408
- "stateMutability": "pure",
1409
- "type": "function"
1410
- },
1411
- {
1412
- "inputs": [
1413
- {
1414
- "internalType": "RoleId",
1415
- "name": "role",
1416
- "type": "bytes8"
1417
- },
1418
- {
1419
- "internalType": "address",
1420
- "name": "member",
1421
- "type": "address"
1422
- }
1423
- ],
1424
- "name": "grantRole",
1425
- "outputs": [],
1426
- "stateMutability": "nonpayable",
1427
- "type": "function"
1428
- },
1429
- {
1430
- "inputs": [
1431
- {
1432
- "internalType": "RoleId",
1433
- "name": "role",
1434
- "type": "bytes8"
1435
- },
1436
- {
1437
- "internalType": "address",
1438
- "name": "member",
1439
- "type": "address"
1440
- }
1441
- ],
1442
- "name": "hasRole",
658
+ "name": "isInstanceLocked",
1443
659
  "outputs": [
1444
660
  {
1445
661
  "internalType": "bool",
@@ -1453,12 +669,12 @@
1453
669
  {
1454
670
  "inputs": [
1455
671
  {
1456
- "internalType": "Version",
1457
- "name": "_version",
1458
- "type": "uint24"
672
+ "internalType": "address",
673
+ "name": "target",
674
+ "type": "address"
1459
675
  }
1460
676
  ],
1461
- "name": "isActivated",
677
+ "name": "isTargetLocked",
1462
678
  "outputs": [
1463
679
  {
1464
680
  "internalType": "bool",
@@ -1470,24 +686,8 @@
1470
686
  "type": "function"
1471
687
  },
1472
688
  {
1473
- "inputs": [
1474
- {
1475
- "internalType": "ObjectType",
1476
- "name": "objectType",
1477
- "type": "uint8"
1478
- },
1479
- {
1480
- "internalType": "StateId",
1481
- "name": "fromId",
1482
- "type": "uint8"
1483
- },
1484
- {
1485
- "internalType": "StateId",
1486
- "name": "toId",
1487
- "type": "uint8"
1488
- }
1489
- ],
1490
- "name": "isValidTransition",
689
+ "inputs": [],
690
+ "name": "isTokenRegistryDisabled",
1491
691
  "outputs": [
1492
692
  {
1493
693
  "internalType": "bool",
@@ -1500,7 +700,7 @@
1500
700
  },
1501
701
  {
1502
702
  "inputs": [],
1503
- "name": "register",
703
+ "name": "linkToRegisteredNftId",
1504
704
  "outputs": [
1505
705
  {
1506
706
  "internalType": "NftId",
@@ -1514,164 +714,53 @@
1514
714
  {
1515
715
  "inputs": [
1516
716
  {
1517
- "internalType": "NftId",
1518
- "name": "nftId",
1519
- "type": "uint96"
1520
- },
1521
- {
1522
- "internalType": "ObjectType",
1523
- "name": "objectType",
1524
- "type": "uint8"
1525
- },
1526
- {
1527
- "internalType": "contract IERC20Metadata",
1528
- "name": "token",
717
+ "internalType": "address",
718
+ "name": "from",
1529
719
  "type": "address"
1530
- }
1531
- ],
1532
- "name": "registerComponent",
1533
- "outputs": [],
1534
- "stateMutability": "nonpayable",
1535
- "type": "function"
1536
- },
1537
- {
1538
- "inputs": [
1539
- {
1540
- "internalType": "NftId",
1541
- "name": "poolNftId",
1542
- "type": "uint96"
1543
720
  },
1544
721
  {
1545
722
  "internalType": "address",
1546
- "name": "wallet",
723
+ "name": "to",
1547
724
  "type": "address"
1548
725
  },
1549
726
  {
1550
- "components": [
1551
- {
1552
- "internalType": "UFixed",
1553
- "name": "fractionalFee",
1554
- "type": "uint256"
1555
- },
1556
- {
1557
- "internalType": "uint256",
1558
- "name": "fixedFee",
1559
- "type": "uint256"
1560
- }
1561
- ],
1562
- "internalType": "struct Fee",
1563
- "name": "stakingFee",
1564
- "type": "tuple"
727
+ "internalType": "uint256",
728
+ "name": "tokenId",
729
+ "type": "uint256"
1565
730
  },
1566
731
  {
1567
- "components": [
1568
- {
1569
- "internalType": "UFixed",
1570
- "name": "fractionalFee",
1571
- "type": "uint256"
1572
- },
1573
- {
1574
- "internalType": "uint256",
1575
- "name": "fixedFee",
1576
- "type": "uint256"
1577
- }
1578
- ],
1579
- "internalType": "struct Fee",
1580
- "name": "performanceFee",
1581
- "type": "tuple"
732
+ "internalType": "address",
733
+ "name": "operator",
734
+ "type": "address"
1582
735
  }
1583
736
  ],
1584
- "name": "registerPool",
737
+ "name": "nftTransferFrom",
1585
738
  "outputs": [],
1586
739
  "stateMutability": "nonpayable",
1587
740
  "type": "function"
1588
741
  },
1589
742
  {
1590
- "inputs": [
1591
- {
1592
- "internalType": "NftId",
1593
- "name": "nftId",
1594
- "type": "uint96"
1595
- },
1596
- {
1597
- "internalType": "bool",
1598
- "name": "isVerifying",
1599
- "type": "bool"
1600
- },
743
+ "inputs": [],
744
+ "name": "products",
745
+ "outputs": [
1601
746
  {
1602
- "internalType": "UFixed",
1603
- "name": "collateralizationRate",
747
+ "internalType": "uint256",
748
+ "name": "productCount",
1604
749
  "type": "uint256"
1605
750
  }
1606
751
  ],
1607
- "name": "registerPool",
1608
- "outputs": [],
1609
- "stateMutability": "nonpayable",
752
+ "stateMutability": "view",
1610
753
  "type": "function"
1611
754
  },
1612
755
  {
1613
756
  "inputs": [
1614
757
  {
1615
- "internalType": "NftId",
1616
- "name": "productNftId",
1617
- "type": "uint96"
1618
- },
1619
- {
1620
- "internalType": "NftId",
1621
- "name": "distributorNftId",
1622
- "type": "uint96"
1623
- },
1624
- {
1625
- "internalType": "NftId",
1626
- "name": "poolNftId",
758
+ "internalType": "Amount",
759
+ "name": "dipAmount",
1627
760
  "type": "uint96"
1628
- },
1629
- {
1630
- "internalType": "contract IERC20Metadata",
1631
- "name": "token",
1632
- "type": "address"
1633
- },
1634
- {
1635
- "internalType": "address",
1636
- "name": "wallet",
1637
- "type": "address"
1638
- },
1639
- {
1640
- "components": [
1641
- {
1642
- "internalType": "UFixed",
1643
- "name": "fractionalFee",
1644
- "type": "uint256"
1645
- },
1646
- {
1647
- "internalType": "uint256",
1648
- "name": "fixedFee",
1649
- "type": "uint256"
1650
- }
1651
- ],
1652
- "internalType": "struct Fee",
1653
- "name": "policyFee",
1654
- "type": "tuple"
1655
- },
1656
- {
1657
- "components": [
1658
- {
1659
- "internalType": "UFixed",
1660
- "name": "fractionalFee",
1661
- "type": "uint256"
1662
- },
1663
- {
1664
- "internalType": "uint256",
1665
- "name": "fixedFee",
1666
- "type": "uint256"
1667
- }
1668
- ],
1669
- "internalType": "struct Fee",
1670
- "name": "processingFee",
1671
- "type": "tuple"
1672
761
  }
1673
762
  ],
1674
- "name": "registerProduct",
763
+ "name": "refillStakingRewardReserves",
1675
764
  "outputs": [],
1676
765
  "stateMutability": "nonpayable",
1677
766
  "type": "function"
@@ -1679,22 +768,22 @@
1679
768
  {
1680
769
  "inputs": [
1681
770
  {
1682
- "internalType": "NftId",
1683
- "name": "bundleNftId",
1684
- "type": "uint96"
771
+ "internalType": "address",
772
+ "name": "product",
773
+ "type": "address"
1685
774
  },
1686
775
  {
1687
- "internalType": "NftId",
1688
- "name": "policyNftId",
1689
- "type": "uint96"
776
+ "internalType": "address",
777
+ "name": "token",
778
+ "type": "address"
1690
779
  }
1691
780
  ],
1692
- "name": "releasePolicy",
781
+ "name": "registerProduct",
1693
782
  "outputs": [
1694
783
  {
1695
- "internalType": "uint256",
1696
- "name": "collateralAmount",
1697
- "type": "uint256"
784
+ "internalType": "NftId",
785
+ "name": "productNftId",
786
+ "type": "uint96"
1698
787
  }
1699
788
  ],
1700
789
  "stateMutability": "nonpayable",
@@ -1704,12 +793,12 @@
1704
793
  "inputs": [
1705
794
  {
1706
795
  "internalType": "RoleId",
1707
- "name": "role",
1708
- "type": "bytes8"
796
+ "name": "roleId",
797
+ "type": "uint64"
1709
798
  },
1710
799
  {
1711
800
  "internalType": "address",
1712
- "name": "member",
801
+ "name": "account",
1713
802
  "type": "address"
1714
803
  }
1715
804
  ],
@@ -1721,88 +810,12 @@
1721
810
  {
1722
811
  "inputs": [
1723
812
  {
1724
- "internalType": "RoleId",
1725
- "name": "role",
1726
- "type": "bytes8"
1727
- }
1728
- ],
1729
- "name": "roleExists",
1730
- "outputs": [
1731
- {
1732
- "internalType": "bool",
1733
- "name": "",
1734
- "type": "bool"
1735
- }
1736
- ],
1737
- "stateMutability": "view",
1738
- "type": "function"
1739
- },
1740
- {
1741
- "inputs": [
1742
- {
1743
- "components": [
1744
- {
1745
- "internalType": "NftId",
1746
- "name": "nftId",
1747
- "type": "uint96"
1748
- },
1749
- {
1750
- "internalType": "NftId",
1751
- "name": "poolNftId",
1752
- "type": "uint96"
1753
- },
1754
- {
1755
- "internalType": "StateId",
1756
- "name": "state",
1757
- "type": "uint8"
1758
- },
1759
- {
1760
- "internalType": "bytes",
1761
- "name": "filter",
1762
- "type": "bytes"
1763
- },
1764
- {
1765
- "internalType": "uint256",
1766
- "name": "capitalAmount",
1767
- "type": "uint256"
1768
- },
1769
- {
1770
- "internalType": "uint256",
1771
- "name": "lockedAmount",
1772
- "type": "uint256"
1773
- },
1774
- {
1775
- "internalType": "uint256",
1776
- "name": "balanceAmount",
1777
- "type": "uint256"
1778
- },
1779
- {
1780
- "internalType": "Timestamp",
1781
- "name": "createdAt",
1782
- "type": "uint40"
1783
- },
1784
- {
1785
- "internalType": "Timestamp",
1786
- "name": "expiredAt",
1787
- "type": "uint40"
1788
- },
1789
- {
1790
- "internalType": "Timestamp",
1791
- "name": "closedAt",
1792
- "type": "uint40"
1793
- },
1794
- {
1795
- "internalType": "Blocknumber",
1796
- "name": "updatedIn",
1797
- "type": "uint32"
1798
- }
1799
- ],
1800
- "internalType": "struct IBundle.BundleInfo",
1801
- "name": "bundleInfo",
1802
- "type": "tuple"
813
+ "internalType": "address",
814
+ "name": "newAuthority",
815
+ "type": "address"
1803
816
  }
1804
817
  ],
1805
- "name": "setBundleInfo",
818
+ "name": "setAuthority",
1806
819
  "outputs": [],
1807
820
  "stateMutability": "nonpayable",
1808
821
  "type": "function"
@@ -1810,125 +823,38 @@
1810
823
  {
1811
824
  "inputs": [
1812
825
  {
1813
- "components": [
1814
- {
1815
- "internalType": "NftId",
1816
- "name": "nftId",
1817
- "type": "uint96"
1818
- },
1819
- {
1820
- "internalType": "StateId",
1821
- "name": "state",
1822
- "type": "uint8"
1823
- },
1824
- {
1825
- "internalType": "contract IERC20Metadata",
1826
- "name": "token",
1827
- "type": "address"
1828
- }
1829
- ],
1830
- "internalType": "struct IComponent.ComponentInfo",
1831
- "name": "info",
1832
- "type": "tuple"
826
+ "internalType": "bool",
827
+ "name": "locked",
828
+ "type": "bool"
1833
829
  }
1834
830
  ],
1835
- "name": "setComponentInfo",
1836
- "outputs": [
831
+ "name": "setInstanceLocked",
832
+ "outputs": [],
833
+ "stateMutability": "nonpayable",
834
+ "type": "function"
835
+ },
836
+ {
837
+ "inputs": [
1837
838
  {
1838
- "internalType": "NftId",
1839
- "name": "nftId",
1840
- "type": "uint96"
839
+ "internalType": "contract InstanceReader",
840
+ "name": "instanceReader",
841
+ "type": "address"
1841
842
  }
1842
843
  ],
844
+ "name": "setInstanceReader",
845
+ "outputs": [],
1843
846
  "stateMutability": "nonpayable",
1844
847
  "type": "function"
1845
848
  },
1846
849
  {
1847
850
  "inputs": [
1848
851
  {
1849
- "components": [
1850
- {
1851
- "internalType": "NftId",
1852
- "name": "nftId",
1853
- "type": "uint96"
1854
- },
1855
- {
1856
- "internalType": "NftId",
1857
- "name": "productNftId",
1858
- "type": "uint96"
1859
- },
1860
- {
1861
- "internalType": "NftId",
1862
- "name": "bundleNftId",
1863
- "type": "uint96"
1864
- },
1865
- {
1866
- "internalType": "address",
1867
- "name": "beneficiary",
1868
- "type": "address"
1869
- },
1870
- {
1871
- "internalType": "StateId",
1872
- "name": "state",
1873
- "type": "uint8"
1874
- },
1875
- {
1876
- "internalType": "uint256",
1877
- "name": "sumInsuredAmount",
1878
- "type": "uint256"
1879
- },
1880
- {
1881
- "internalType": "uint256",
1882
- "name": "premiumAmount",
1883
- "type": "uint256"
1884
- },
1885
- {
1886
- "internalType": "uint256",
1887
- "name": "premiumPaidAmount",
1888
- "type": "uint256"
1889
- },
1890
- {
1891
- "internalType": "uint256",
1892
- "name": "lifetime",
1893
- "type": "uint256"
1894
- },
1895
- {
1896
- "internalType": "bytes",
1897
- "name": "data",
1898
- "type": "bytes"
1899
- },
1900
- {
1901
- "internalType": "Timestamp",
1902
- "name": "createdAt",
1903
- "type": "uint40"
1904
- },
1905
- {
1906
- "internalType": "Timestamp",
1907
- "name": "activatedAt",
1908
- "type": "uint40"
1909
- },
1910
- {
1911
- "internalType": "Timestamp",
1912
- "name": "expiredAt",
1913
- "type": "uint40"
1914
- },
1915
- {
1916
- "internalType": "Timestamp",
1917
- "name": "closedAt",
1918
- "type": "uint40"
1919
- },
1920
- {
1921
- "internalType": "Blocknumber",
1922
- "name": "updatedIn",
1923
- "type": "uint32"
1924
- }
1925
- ],
1926
- "internalType": "struct IPolicy.PolicyInfo",
1927
- "name": "policyInfo",
1928
- "type": "tuple"
852
+ "internalType": "Seconds",
853
+ "name": "stakeLockingPeriod",
854
+ "type": "uint40"
1929
855
  }
1930
856
  ],
1931
- "name": "setPolicyInfo",
857
+ "name": "setStakingLockingPeriod",
1932
858
  "outputs": [],
1933
859
  "stateMutability": "nonpayable",
1934
860
  "type": "function"
@@ -1936,46 +862,25 @@
1936
862
  {
1937
863
  "inputs": [
1938
864
  {
1939
- "internalType": "NftId",
1940
- "name": "poolNftId",
865
+ "internalType": "Amount",
866
+ "name": "maxStakedAmount",
1941
867
  "type": "uint96"
1942
- },
1943
- {
1944
- "components": [
1945
- {
1946
- "internalType": "UFixed",
1947
- "name": "fractionalFee",
1948
- "type": "uint256"
1949
- },
1950
- {
1951
- "internalType": "uint256",
1952
- "name": "fixedFee",
1953
- "type": "uint256"
1954
- }
1955
- ],
1956
- "internalType": "struct Fee",
1957
- "name": "stakingFee",
1958
- "type": "tuple"
1959
- },
868
+ }
869
+ ],
870
+ "name": "setStakingMaxAmount",
871
+ "outputs": [],
872
+ "stateMutability": "nonpayable",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [
1960
877
  {
1961
- "components": [
1962
- {
1963
- "internalType": "UFixed",
1964
- "name": "fractionalFee",
1965
- "type": "uint256"
1966
- },
1967
- {
1968
- "internalType": "uint256",
1969
- "name": "fixedFee",
1970
- "type": "uint256"
1971
- }
1972
- ],
1973
- "internalType": "struct Fee",
1974
- "name": "performanceFee",
1975
- "type": "tuple"
878
+ "internalType": "UFixed",
879
+ "name": "rewardRate",
880
+ "type": "uint160"
1976
881
  }
1977
882
  ],
1978
- "name": "setPoolFees",
883
+ "name": "setStakingRewardRate",
1979
884
  "outputs": [],
1980
885
  "stateMutability": "nonpayable",
1981
886
  "type": "function"
@@ -1983,46 +888,22 @@
1983
888
  {
1984
889
  "inputs": [
1985
890
  {
1986
- "internalType": "NftId",
1987
- "name": "productNftId",
1988
- "type": "uint96"
891
+ "internalType": "string",
892
+ "name": "targetName",
893
+ "type": "string"
1989
894
  },
1990
895
  {
1991
- "components": [
1992
- {
1993
- "internalType": "UFixed",
1994
- "name": "fractionalFee",
1995
- "type": "uint256"
1996
- },
1997
- {
1998
- "internalType": "uint256",
1999
- "name": "fixedFee",
2000
- "type": "uint256"
2001
- }
2002
- ],
2003
- "internalType": "struct Fee",
2004
- "name": "policyFee",
2005
- "type": "tuple"
896
+ "internalType": "bytes4[]",
897
+ "name": "selectors",
898
+ "type": "bytes4[]"
2006
899
  },
2007
900
  {
2008
- "components": [
2009
- {
2010
- "internalType": "UFixed",
2011
- "name": "fractionalFee",
2012
- "type": "uint256"
2013
- },
2014
- {
2015
- "internalType": "uint256",
2016
- "name": "fixedFee",
2017
- "type": "uint256"
2018
- }
2019
- ],
2020
- "internalType": "struct Fee",
2021
- "name": "processingFee",
2022
- "type": "tuple"
901
+ "internalType": "RoleId",
902
+ "name": "roleId",
903
+ "type": "uint64"
2023
904
  }
2024
905
  ],
2025
- "name": "setProductFees",
906
+ "name": "setTargetFunctionRole",
2026
907
  "outputs": [],
2027
908
  "stateMutability": "nonpayable",
2028
909
  "type": "function"
@@ -2030,17 +911,17 @@
2030
911
  {
2031
912
  "inputs": [
2032
913
  {
2033
- "internalType": "RoleId",
2034
- "name": "role",
2035
- "type": "bytes8"
914
+ "internalType": "address",
915
+ "name": "target",
916
+ "type": "address"
2036
917
  },
2037
918
  {
2038
919
  "internalType": "bool",
2039
- "name": "active",
920
+ "name": "locked",
2040
921
  "type": "bool"
2041
922
  }
2042
923
  ],
2043
- "name": "setRoleState",
924
+ "name": "setTargetLocked",
2044
925
  "outputs": [],
2045
926
  "stateMutability": "nonpayable",
2046
927
  "type": "function"
@@ -2063,224 +944,92 @@
2063
944
  ],
2064
945
  "stateMutability": "view",
2065
946
  "type": "function"
2066
- }
2067
- ],
2068
- "bytecode": "0x60e06040523480156200001157600080fd5b50604051620077ad380380620077ad833981016040819052620000349162001456565b818181816200004560003362000474565b6301ffc9a760e01b60005260026020527f71203db6a8b906f8e7c7701ea536708e3d7c6018d3ad50e5680c3241edacce17805460ff191660011790556001600160a01b038216620000dd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa1580156200012d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015391906200149e565b620001a15760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000d4565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021f91906200149e565b620002795760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000d4565b3360c052631dfba64760e11b60005260026020527ffc5164b528507fb56c225cc68864b8f0ef1e129250403b69e252bd0b2789bfea805460ff191660011790555050630cc0a10960e01b60005260026020527f06f4e33d2ce7c0973a7c224b2899406defdb8885f5882370cb69478e6016b453805460ff19166001179055620003016200074b565b506200034c905062000312620008de565b60408051808201909152601481527f4469737472696275746f724f776e6572526f6c6500000000000000000000000060208201526200092b565b620003866200035a62000990565b60408051808201909152600f81526e4f7261636c654f776e6572526f6c6560881b60208201526200092b565b620003be62000394620009ca565b60408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b60208201526200092b565b620003f9620003cc62000a02565b60408051808201909152601081526f50726f647563744f776e6572526f6c6560801b60208201526200092b565b600d8054306001600160a01b031991821681179092556011805490911690911790556200042e62000428606490565b62000a42565b6200043a607862000a42565b62000446608262000a42565b6200045062000b73565b6200045a62000d2a565b5050601580546001600160a01b03191630179055620017a2565b60006200048062000f97565b90506200048d8162000fa8565b15620004ec5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000d4565b60015415620005ac5760018054600091906200050a908290620014df565b815481106200051d576200051d620014f5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1690506200055082826200104c565b620005aa5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000d4565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620006354390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200073e9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b60006200075762000f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620007ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007d391906200150b565b90506200081c6040518060400160405280601581526020017f436f6d706f6e656e744f776e6572536572766963650000000000000000000000815250826200105e60201b60201c565b600380546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600e81526d50726f647563745365727669636560901b60208201526200086d90826200105e565b600480546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600b81526a506f6f6c5365727669636560a81b6020820152620008bb90826200105e565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b6000620009266040518060400160405280601481526020017f4469737472696275746f724f776e6572526f6c650000000000000000000000008152506200113160201b60201c565b905090565b604080516060810182526001600160c01b031984168152602081018390526001918101919091526200095d8162001163565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c648583836040516200073e92919062001578565b6000620009266040518060400160405280600f81526020016e4f7261636c654f776e6572526f6c6560881b8152506200113160201b60201c565b6000620009266040518060400160405280600d81526020016c506f6f6c4f776e6572526f6c6560981b8152506200113160201b60201c565b6000620009266040518060400160405280601081526020016f50726f647563744f776e6572526f6c6560801b8152506200113160201b60201c565b606490565b60ff81166000908152601260209081526040808320805460ff1916606490811790915560138352818420908452909152812060019162000a80606e90565b60ff908116825260208083019390935260409182016000908120805460ff191695151595909517909455841683526013909152812060019162000ac1606e90565b60ff1660ff168152602001908152602001600020600062000ae762000a3d60201b60201c565b60ff908116825260208083019390935260409182016000908120805460ff191695151595909517909455841683526013909152812060019162000b28606e90565b60ff1660ff168152602001908152602001600020600062000b4e6200124660201b60201c565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b60d2600090815260126020527f8abd79d2c9af309cd354b73057265bd4872c5c303d4996bc882615d683cfe7c2805460ff1916606417905560019060139062000bba60d290565b60ff1660ff168152602001908152602001600020600062000be062000a3d60201b60201c565b60ff1660ff168152602001908152602001600020600062000c066200124160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000c3a60d290565b60ff1660ff168152602001908152602001600020600062000c606200124160201b60201c565b60ff1660ff168152602001908152602001600020600062000c8662000a3d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000cba60d290565b60ff1660ff168152602001908152602001600020600062000ce06200124160201b60201c565b60ff1660ff168152602001908152602001600020600062000d066200124b60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60c8600090815260126020527f7f5e610a07c00efd358a9ca9fe4176531c20c22db02aa408e24d88c54cc13d1f805460ff1916600a17905560019060139062000d7160c890565b60ff1660ff168152602001908152602001600020600062000d976200125060201b60201c565b60ff1660ff168152602001908152602001600020600062000dbd6200125560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000df160c890565b60ff1660ff168152602001908152602001600020600062000e176200125060201b60201c565b60ff1660ff168152602001908152602001600020600062000e3d6200125a60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000e7160c890565b60ff1660ff168152602001908152602001600020600062000e976200125060201b60201c565b60ff1660ff168152602001908152602001600020600062000ebd6200125f60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000ef160c890565b60ff1660ff168152602001908152602001600020600062000f176200125f60201b60201c565b60ff1660ff168152602001908152602001600020600062000f3d62000a3d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000f7160c890565b60ff1660ff168152602001908152602001600020600062000ce062000a3d60201b60201c565b600062000926600360008062001264565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156200101f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010459190620015a7565b1192915050565b62ffffff808216908316115b92915050565b60805160405163a3bcd81d60e01b81526000916001600160a01b03169063a3bcd81d90620010939086908690600401620015c1565b602060405180830381865afa158015620010b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010d79190620015e8565b90506001600160a01b038116620010585760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a494e532d3030313a4e4f545f52454749535445524544000000006044820152606401620000d4565b60008160405160200162001146919062001606565b604051602081830303815290604052805190602001209050919050565b80516001600160c01b031981166000908152600660209081526040909120835181546001600160401b03191660c09190911c178155908301518391906001820190620011b09082620016c0565b50604091909101516002909101805460ff1916911515919091179055620011d7816200140e565b6200123d57600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600482040180546001600160401b0360039093166008026101000a928302191660c084901c929092029190911790555b5050565b606e90565b60d290565b60c890565b600a90565b601490565b601e90565b602890565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015620012bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012e29190620015a7565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156200133b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013619190620015a7565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015620013ba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013e09190620015a7565b905080620013f7600884901b601086901b6200178c565b6200140391906200178c565b979650505050505050565b6001600160c01b0319818116600081815260066020526040812054909260c09190911b161462001058565b80516001600160a01b03811681146200145157600080fd5b919050565b600080604083850312156200146a57600080fd5b620014758362001439565b60208401519092506001600160601b03811681146200149357600080fd5b809150509250929050565b600060208284031215620014b157600080fd5b81518015158114620014c257600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115620010585762001058620014c9565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200151e57600080fd5b815160ff81168114620014c257600080fd5b6000815180845260005b8181101562001558576020818501810151868301820152016200153a565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160c01b0319831681526040602082018190526000906200159f9083018462001530565b949350505050565b600060208284031215620015ba57600080fd5b5051919050565b604081526000620015d6604083018562001530565b905060ff831660208301529392505050565b600060208284031215620015fb57600080fd5b620014c28262001439565b602081526000620014c2602083018462001530565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200164657607f821691505b6020821081036200166757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620016bb57600081815260208120601f850160051c81016020861015620016965750805b601f850160051c820191505b81811015620016b757828155600101620016a2565b5050505b505050565b81516001600160401b03811115620016dc57620016dc6200161b565b620016f481620016ed845462001631565b846200166d565b602080601f8311600181146200172c5760008415620017135750858301515b600019600386901b1c1916600185901b178555620016b7565b600085815260208120601f198616915b828110156200175d578886015182559484019460019091019084016200173c565b50858210156200177c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620010585762001058620014c9565b60805160a05160c051615fbf620017ee6000396000613f3b015260006105310152600081816107890152818161128101528181611d0b01528181613eba0152613f7e0152615fbf6000f3fe60806040523480156200001157600080fd5b5060043610620004095760003560e01c8063893d20e8116200021d578063bd62faf71162000131578063dc261c3a11620000bb578063e9e96c701162000086578063e9e96c701462000c1a578063ee0fdf711462000c31578063f0ea17c31462000c48578063f274e87d1462000cf957600080fd5b8063dc261c3a1462000b84578063e03eeb851462000bd5578063e1f64d771462000bec578063e79597401462000c0357600080fd5b8063d0bb064c11620000fc578063d0bb064c1462000aaf578063d250185c1462000b3f578063dad73bed1462000b56578063db70354c1462000b6d57600080fd5b8063bd62faf71462000a35578063bd7d9d851462000a4c578063c2bf7d261462000a72578063cf5ccedb1462000a8957600080fd5b806399fd467711620001b3578063af17d38a116200017e578063af17d38a14620009d9578063b88da75914620009f0578063b8c510671462000a07578063b9f36dde1462000a1e57600080fd5b806399fd4677146200095c578063a310e2a31462000973578063a7f3669b14620009ab578063a90be90714620009c257600080fd5b8063946dfcfe11620001f4578063946dfcfe146200090e5780639555c4db14620009175780639675513d146200092e57806398457437146200094557600080fd5b8063893d20e8146200089c5780638b59fe2a14620008a657806393865aec14620008bd57600080fd5b80634793b4ab1162000321578063674d0ccf11620002ab57806375a07ed2116200027657806375a07ed214620008215780637fec8b31146200083857806383d33319146200084f57806387c56586146200085857600080fd5b8063674d0ccf14620007cf57806369a44a1b14620007e65780636b9bf08b14620007fd5780636fa29853146200080f57600080fd5b806357f80bbf11620002ec57806357f80bbf14620006e75780635ab1bd5314620007875780635fe9f2a514620007ae578063644c45e014620007c557600080fd5b80634793b4ab14620005f55780634d459c90146200061b5780634fd077f514620006905780635312fdc214620006b657600080fd5b80631aa3a00811620003a3578063349195f9116200036e578063349195f914620005935780633bc5de30146200059c5780634288121d14620005b857806345c5a27d14620005de57600080fd5b80631aa3a008146200050c57806331b62a3b146200052f57806331e48e3214620005565780633300a8a8146200056d57600080fd5b80630d0ccc5b11620003e45780630d0ccc5b14620004835780630d35818114620004a95780630d8e6e2c14620004e557806315dae03e146200050457600080fd5b806301ffc9a7146200040e5780630591087414620004535780630abd8434146200046c575b600080fd5b6200043e6200041f366004620047d3565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200046a6200046436600462004825565b62000d26565b005b6200043e6200047d366004620048d7565b620010b9565b6200049a62000494366004620048fe565b6200115d565b6040519081526020016200044a565b620004d2620004ba36600462004953565b60ff9081166000908152601260205260409020541690565b60405160ff90911681526020016200044a565b620004ef620011e8565b60405162ffffff90911681526020016200044a565b6032620004d2565b62000516620011fe565b6040516001600160601b0390911681526020016200044a565b7f000000000000000000000000000000000000000000000000000000000000000062000516565b6200046a6200056736600462004aa8565b620012f9565b620005846200057e36600462004b4a565b62001444565b6040516200044a919062004b6a565b600f546200049a565b604080516020810182526000815290516200044a919062004c1d565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016200044a565b6200046a620005ef36600462004cf8565b620014ca565b6200060c6200060636600462004b4a565b62001746565b6040516200044a919062004e1b565b620006326200062c366004620048d7565b620018f5565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015163ffffffff169082015260809182015164ffffffffff169181019190915260a0016200044a565b620006a7620006a136600462004b4a565b620019f0565b6040516200044a919062004f08565b620006cd620006c736600462004fbd565b62001aa8565b6040516001600160c01b031990911681526020016200044a565b62000759620006f836600462004b4a565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152601683528390208351918201845280549485168252600160601b90940460ff161515918101919091526001909201549082015290565b6040805182516001600160601b0316815260208084015115159082015291810151908201526060016200044a565b7f0000000000000000000000000000000000000000000000000000000000000000620005c5565b6200046a620007bf36600462004fd7565b62001aea565b6200051662001cf3565b6200049a620007e036600462005151565b62001d5b565b6200049a620007f736600462004b4a565b62001d7f565b6005546001600160a01b0316620005c5565b6003546001600160a01b0316620005c5565b6200046a620008323660046200516f565b62001e10565b620005166200084936600462004fbd565b62002143565b6007546200049a565b604080518082018252600080825260209182018190528251808401845281815282018190528251808401909352808352908201525b6040516200044a9190620051dd565b620005c56200218b565b6200046a620008b7366004620051f5565b62002197565b6200046a620008ce36600462005247565b6001600160601b039092166000908152601a6020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6001546200049a565b6200046a6200092836600462005295565b620023b6565b6200049a6200093f366004620052c8565b620023c6565b6200046a62000956366004620052fb565b62002530565b6200043e6200096d36600462005341565b620026b0565b620005c56200098436600462004b4a565b6001600160601b03166000908152601860205260409020600201546001600160a01b031690565b620004d2620009bc36600462005360565b620026e7565b6200049a620009d336600462004fbd565b620028f1565b620006cd620009ea366004620053c5565b6200292d565b620004ef62000a0136600462004fbd565b62002a49565b620006cd62000a18366004620053c5565b62002ae1565b6200046a62000a2f36600462005341565b62002aee565b6200051662000a463660046200541a565b62002c57565b62000a6362000a5d36600462004b4a565b6200309a565b6040516200044a919062005495565b6200046a62000a8336600462005341565b6200329f565b62000aa062000a9a36600462005151565b6200349f565b6040516200044a9190620055c7565b6200046a62000ac036600462005610565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601a81529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b6200088d62000b5036600462005673565b6200359d565b6200046a62000b67366004620056a5565b620035dd565b6200051662000b7e366004620056d6565b620037fb565b6200046a62000b9536600462005247565b6001600160601b03909216600090815260186020908152604090912082516004820155918101516005830155825160068301559190910151600790910155565b6200046a62000be636600462005705565b62003892565b6200046a62000bfd366004620052fb565b620039d8565b620005c562000c143660046200573a565b62003b2c565b6200043e62000c2b36600462005759565b62003b51565b6200043e62000c4236600462005151565b62003b85565b62000cc162000c5936600462004b4a565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600e83528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200044a565b62000d1062000d0a366004620057a0565b62003bb0565b604080519283526020830191909152016200044a565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000d67573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d8d9190620057d0565b6001600160a01b0316336001600160a01b03161462000df35760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f53455256494345000060448201526064015b60405180910390fd5b60408051610160810182526001600160601b03888116825287166020820152600d5490918201906001600160a01b0316630d35818160d26040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562000e69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e8f9190620057f0565b60ff16815260200183838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018790526040820152606081018690526080014264ffffffffff16815260200142604051631ded81af60e31b815264ffffffffff90911660048201526024810186905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562000f52573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f78919062005810565b64ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b038088166000908152600a602090815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820190620010119082620058bf565b506080820151600282015560a0820151600382015560c0820151600482015560e0820151600590910180546101008401516101208501516101409095015163ffffffff16600160781b0263ffffffff60781b1964ffffffffff968716600160501b021668ffffffffffffffffff60501b19928716600160281b0269ffffffffffffffffffff199094169690951695909517919091171691909117919091179055505050505050565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562001130573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200115691906200598b565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af4158015620011b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011df91906200598b565b90505b92915050565b6000620011f9600360008062003ce3565b905090565b60006200120a6200218b565b6001600160a01b0316336001600160a01b0316146200126c5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000dea565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015620012d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011f99190620059a5565b600087856040516200130b9062004707565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f08015801562001346573d6000803e3d6000fd5b5060408051610100810182526001600160601b039a8b16808252998b166020808301918252998c168284019081526001600160a01b03998a1660608401908152948a1660808401908152988a1660a0840190815260c0840198895260e0840197885260009c8d5260188c5293909b20915182549151908d166001600160c01b031990921691909117600160601b918d1682021782559951925192909a169187169098021760018901555091516002870180546001600160a01b03199081169286169290921790559451600387018054909616931692909217909355518051600485015581015160058401559051805160068401550151600790910155565b6200144e62004715565b506001600160601b039081166000908152601a6020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200150b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015319190620057d0565b6001600160a01b0316336001600160a01b03161480620015c85750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200158d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015b39190620057d0565b6001600160a01b0316336001600160a01b0316145b620016285760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000dea565b80516001600160601b039081166000908152600a602090815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201518291906001820190620016a39082620058bf565b506080820151600282015560a0820151600382015560c0820151600482015560e0820151600590910180546101008401516101208501516101409095015163ffffffff16600160781b0263ffffffff60781b1964ffffffffff968716600160501b021668ffffffffffffffffff60501b19928716600160281b0269ffffffffffffffffffff19909416969095169590951791909117169190911791909117905550565b60408051610160810182526000808252602082018190529181018290526060808201526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101919091526001600160601b038281166000908152600a602090815260409182902082516101608101845281548086168252600160601b810490951692810192909252600160c01b90930460ff1691810191909152600182018054919291606084019190620018089062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620018369062005830565b8015620018875780601f106200185b5761010080835404028352916020019162001887565b820191906000526020600020905b8154815290600101906020018083116200186957829003601f168201915b505050918352505060028201546020820152600382015460408201526004820154606082015260059091015464ffffffffff8082166080840152600160281b8204811660a0840152600160501b82041660c0830152600160781b900463ffffffff1660e09091015292915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526200192b82620010b9565b620019795760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3032303a56455253494f4e5f554e4b4e4f574e000000604482015260640162000dea565b5062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810463ffffffff166060830152600160c01b900464ffffffffff16608082015290565b620019fa62004786565b506001600160601b0390811660009081526018602090815260409182902082516101008101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b03950485166060820152600282015485166080820152600382015490941660a0850152825180840184526004820154815260058201548184015260c0850152825180840190935260068101548352600701549082015260e082015290565b60006007828154811062001ac05762001ac0620059c5565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001b2b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b519190620057d0565b6001600160a01b0316336001600160a01b03161462001b845760405162461bcd60e51b815260040162000dea90620059db565b80516001600160601b0390811660009081526014602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151829190600782019062001c489082620058bf565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916600160281b0269ffffffffffffffffffff199096169890971697909717939093179190911693909317929092179290921617905550565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015620012d3573d6000803e3d6000fd5b6001600160c01b031981166000908152600960205260408120620011e29062003e8d565b6001600160601b038116600090815260176020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001dea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011e291906200598b565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001e51573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e779190620057d0565b6001600160a01b0316336001600160a01b03161462001eaa5760405162461bcd60e51b815260040162000dea90620059db565b604080516101e0810182526001600160601b03878116825288811660208301528316918101919091526000606082015260155460808201906001600160a01b0316630d35818160c86040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562001f31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f579190620057f0565b60ff1681526020018581526020018481526020016000815260200183815260200160405180602001604052806000815250815260200162001f954290565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b0386811660009081526014602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e0820151600582015561010082015160068201556101208201516007820190620020939082620058bf565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916600160281b0269ffffffffffffffffffff1990961698909716979097179390931791909116939093179290921792909216179055505050505050565b6000600f82815481106200215b576200215b620059c5565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b6000620011f962003e98565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015620021d6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021fc9190620057d0565b6001600160a01b0316336001600160a01b0316146200225e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000dea565b604080516060810182526001600160601b03851681526011549151630d35818160e01b815260ff85166004820152909160208301916001600160a01b0390911690630d35818190602401602060405180830381865afa158015620022c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022ec9190620057f0565b60ff90811682526001600160a01b039384166020928301526001600160601b039586166000818152600e845260408082208651815496880151909516600160601b026001600160681b0319909616948a1694909417949094178355939092015160019182018054919095166001600160a01b031990911617909355600f805480850182559252600282047f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201805492909316600c026101000a908102940219169290921790915550565b620023c2828262003ffa565b5050565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562002409573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200242f9190620057d0565b6001600160a01b0316336001600160a01b031614620024625760405162461bcd60e51b815260040162000dea9062005a1c565b506001600160601b038083166000818152600c602090815260408083209486168352938152838220805490839055928252600b9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d575691620024e59186906004019182526001600160601b0316602082015260400190565b602060405180830381865af415801562002503573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002529919062005a5d565b5092915050565b6001600160601b03828116600090815260176020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af4158015620025a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025ca919062005a5d565b15620026235760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000dea565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562002683573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a9919062005a5d565b5050505050565b6001600160c01b0319821660009081526008602090815260408083206001600160a01b038516845290915281205460ff16620011df565b60ff80841660009081526013602090815260408083208685168452825280832085851684529091528120549091166200275857604051630cdd837760e21b81526001600160601b038616600482015260ff808616602483015280851660448301528316606482015260840162000dea565b6200276b8460c85b60ff90811691161490565b15620027c857604080516001600160601b038716815260ff80861660208301528416918101919091527f3453c320908f5844705a0f2acbb230412df911a60544eca9236d16f5f9f1f6f6906060015b60405180910390a1620028e9565b620027d58460d262002760565b156200282957604080516001600160601b038716815260ff80861660208301528416918101919091527f92e25bf636cb4bfa6edf8b4fa57c0d64b6d959e3c6376d17c9bcc168fe36be1990606001620027ba565b6200283684606462002760565b806200284a57506200284a84607862002760565b806200285e57506200285e84608262002760565b15620028bb57604080516001600160601b038716815260ff80871660208301528086169282019290925290831660608201527fcc75054af33cdb7ef0c6dd9d4cb6f22e1dc2d22204db49d769d5da19579fb84e90608001620027ba565b60405163024acc7560e21b81526001600160601b038616600482015260ff8516602482015260440162000dea565b509392505050565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e9060240162001dcc565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200296e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029949190620057d0565b6001600160a01b0316336001600160a01b031614620029c75760405162461bcd60e51b815260040162000dea9062005a8a565b620029d282620042cb565b9050620029df8162003b85565b1562002a385760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000dea565b62002a448183620042fd565b919050565b600154600090821062002a9f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3031303a494e4445585f544f4f5f4c41524745000000604482015260640162000dea565b6001828154811062002ab55762002ab5620059c5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000620011e282620042cb565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b161462002b325760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002b71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b979190620057d0565b6001600160a01b0316336001600160a01b03161462002bca5760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b0319831660008181526008602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600990522062002c13908362004362565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966848383600060405162002c4a9392919062005af8565b60405180910390a1505050565b6000306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c98573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cbe9190620057d0565b6001600160a01b0316336001600160a01b03161462002d205760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000dea565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562002d7c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002da2919062005a5d565b801562002e4157506001600160601b038181166000818152600e60205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562002e1b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e41919062005a5d565b62002e8f5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000dea565b6000306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002ed0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ef69190620057d0565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562002f46573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002f70919081019062005b71565b6040908101516011546001600160601b0385166000818152600e6020908152908590205490880151945163a7f3669b60e01b8152600481019290925260ff8085166024840152600160601b9091048116604483015290931660648401529092506001600160a01b03169063a7f3669b906084016020604051808303816000875af115801562003003573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030299190620057f0565b50506001600160601b038082166000908152600e6020908152604091829020855181549287015160ff16600160601b026001600160681b031990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b604080516101e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201526101408101829052610160810182905261018081018290526101a081018290526101c08101919091526001600160601b0382811660009081526014602090815260409182902082516101e08101845281548086168252600160601b9081900486169382019390935260018201549485169381019390935292046001600160a01b03166060820152600282015460ff166080820152600382015460a0820152600482015460c0820152600582015460e0820152600682015461010082015260078201805491929161012084019190620031c19062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620031ef9062005830565b8015620032405780601f10620032145761010080835404028352916020019162003240565b820191906000526020600020905b8154815290600101906020018083116200322257829003601f168201915b50505091835250506008919091015464ffffffffff8082166020840152600160281b820481166040840152600160501b820481166060840152600160781b8204166080830152600160a01b900463ffffffff1660a09091015292915050565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b1614620032e35760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003322573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033489190620057d0565b6001600160a01b0316336001600160a01b0316146200337b5760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b0319831660009081526006602052604090206002015460ff16620033e95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000dea565b6001600160c01b0319831660008181526008602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600990522062003435908362004379565b506001600160c01b0319831660009081526008602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966849162002c4a918691869160ff9091169062005af8565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260068252918590208551938401909552845460c01b90911682526001840180549394929391840191620034fe9062005830565b80601f01602080910402602001604051908101604052809291908181526020018280546200352c9062005830565b80156200357d5780601f1062003551576101008083540402835291602001916200357d565b820191906000526020600020905b8154815290600101906020018083116200355f57829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b6040805180820190915260008082526020820152620011df8383604080518082018252600080825260209182015281518083019092529281529182015290565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b1614620036215760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003660573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036869190620057d0565b6001600160a01b0316336001600160a01b031614620036b95760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b03198084166000908152600660209081526040808320815160608101909252805460c01b9094168152600184018054939491939192840191620037039062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620037319062005830565b8015620037825780601f10620037565761010080835404028352916020019162003782565b820191906000526020600020905b8154815290600101906020018083116200376457829003601f168201915b50505091835250506002919091015460ff16151560209091015283151560408201529050620037b18162004390565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260176020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af41580156200386c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011df9190620059a5565b6001600160601b0383811660009081526016602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620038fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003924919062005a5d565b620039725760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3031303a414c52454144595f4352454154454400000000604482015260640162000dea565b604080516060810182526001600160601b039485168082529315156020808301918252828401948552600095865260169052919093209251835491511515600160601b026001600160681b03199092169416939093179290921781559051600190910155565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003a19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a3f9190620057d0565b6001600160a01b0316336001600160a01b03161462003a725760405162461bcd60e51b815260040162000dea9062005a1c565b6001600160601b038381166000818152600c60209081526040808320948716808452948252808320869055928252600b90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562003b00573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b26919062005a5d565b50505050565b6001600160c01b031982166000908152600960205260408120620011df90836200446e565b60ff8084166000908152601360209081526040808320868516845282528083208585168452909152902054165b9392505050565b6001600160c01b0319818116600081815260066020526040812054909260c09190911b1614620011e2565b600080600062003c3f73__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__6345ebb61e876040518263ffffffff1660e01b815260040162003bf391815260200190565b602060405180830381865af415801562003c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c3791906200598b565b85516200447c565b6020850151604051632255341b60e11b8152600481018390529192509073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af415801562003c99573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003cbf91906200598b565b62003ccb919062005c60565b925062003cd9838662005c76565b9150509250929050565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003d3b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003d6191906200598b565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de091906200598b565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003e39573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003e5f91906200598b565b90508062003e76600884901b601086901b62005c60565b62003e82919062005c60565b979650505050505050565b6000620011e2825490565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003f02573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003f289190620059a5565b90506001600160601b03811662003f60577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003fce573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ff49190620057d0565b91505090565b600062004006620011e8565b90506200401381620010b9565b15620040725760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000dea565b60015415620041395760018054600091906200409090829062005c76565b81548110620040a357620040a3620059c5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050620040dd828262ffffff90811691161190565b620041375760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000dea565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620041c24390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d44199062002c4a9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b600081604051602001620042e0919062004c1d565b604051602081830303815290604052805190602001209050919050565b604080516060810182526001600160c01b031984168152602081018390526001918101919091526200432f8162004390565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c6485838360405162002c4a92919062005c8c565b6000620011df836001600160a01b03841662004493565b6000620011df836001600160a01b03841662004597565b80516001600160c01b0319811660009081526006602090815260409091208351815467ffffffffffffffff191660c09190911c178155908301518391906001820190620043de9082620058bf565b50604091909101516002909101805460ff1916911515919091179055620044058162003b85565b620023c257600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600482040180546001600160401b0360039093166008026101000a928302191660c09390931c9190910291909117905550565b6000620011df8383620045e9565b6000620011df8383670de0b6b3a764000062004616565b600081815260018301602052604081205480156200458c576000620044ba60018362005c76565b8554909150600090620044d09060019062005c76565b90508181146200453c576000866000018281548110620044f457620044f4620059c5565b90600052602060002001549050808760000184815481106200451a576200451a620059c5565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062004550576200455062005cb3565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050620011e2565b6000915050620011e2565b6000818152600183016020526040812054620045e057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620011e2565b506000620011e2565b6000826000018281548110620046035762004603620059c5565b9060005260206000200154905092915050565b600080806000198587098587029250828110838203039150508060000362004655578382816200464a576200464a62005cc9565b049250505062003b7e565b8084116200469e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640162000dea565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b6102aa8062005ce083390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b031681526020016200475e604051806040016040528060008152602001600081525090565b815260200162004781604051806040016040528060008152602001600081525090565b905290565b604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301529060c08201906200475e565b600060208284031215620047e657600080fd5b81356001600160e01b03198116811462003b7e57600080fd5b6001600160601b03811681146200481557600080fd5b50565b803562002a4481620047ff565b60008060008060008060a087890312156200483f57600080fd5b86356200484c81620047ff565b955060208701356200485e81620047ff565b9450604087013593506060870135925060808701356001600160401b03808211156200488957600080fd5b818901915089601f8301126200489e57600080fd5b813581811115620048ae57600080fd5b8a6020828501011115620048c157600080fd5b6020830194508093505050509295509295509295565b600060208284031215620048ea57600080fd5b813562ffffff8116811462003b7e57600080fd5b600080604083850312156200491257600080fd5b8235915060208301358060000b81146200492b57600080fd5b809150509250929050565b60ff811681146200481557600080fd5b803562002a448162004936565b6000602082840312156200496657600080fd5b813562003b7e8162004936565b6001600160a01b03811681146200481557600080fd5b803562002a448162004973565b634e487b7160e01b600052604160045260246000fd5b60405161016081016001600160401b0381118282101715620049d257620049d262004996565b60405290565b6040516101e081016001600160401b0381118282101715620049d257620049d262004996565b60405160c081016001600160401b0381118282101715620049d257620049d262004996565b604051601f8201601f191681016001600160401b038111828210171562004a4e5762004a4e62004996565b604052919050565b60006040828403121562004a6957600080fd5b604051604081018181106001600160401b038211171562004a8e5762004a8e62004996565b604052823581526020928301359281019290925250919050565b6000806000806000806000610120888a03121562004ac557600080fd5b873562004ad281620047ff565b9650602088013562004ae481620047ff565b9550604088013562004af681620047ff565b9450606088013562004b088162004973565b9350608088013562004b1a8162004973565b925062004b2b8960a08a0162004a56565b915062004b3c8960e08a0162004a56565b905092959891949750929550565b60006020828403121562004b5d57600080fd5b813562003b7e81620047ff565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c083019162004bac9084018280518252602090810151910152565b50606083015180516080840152602081015160a084015262002529565b60005b8381101562004be657818101518382015260200162004bcc565b50506000910152565b6000815180845262004c0981602086016020860162004bc9565b601f01601f19169290920160200192915050565b602081526000620011df602083018462004bef565b60006001600160401b0382111562004c4e5762004c4e62004996565b50601f01601f191660200190565b600062004c7362004c6d8462004c32565b62004a23565b905082815283838301111562004c8857600080fd5b828260208301376000602084830101529392505050565b600082601f83011262004cb157600080fd5b620011df8383356020850162004c5c565b64ffffffffff811681146200481557600080fd5b803562002a448162004cc2565b803563ffffffff8116811462002a4457600080fd5b60006020828403121562004d0b57600080fd5b81356001600160401b038082111562004d2357600080fd5b90830190610160828603121562004d3957600080fd5b62004d43620049ac565b62004d4e8362004818565b815262004d5e6020840162004818565b602082015262004d716040840162004946565b604082015260608301358281111562004d8957600080fd5b62004d978782860162004c9f565b6060830152506080830135608082015260a083013560a082015260c083013560c082015262004dc960e0840162004cd6565b60e0820152610100915062004de082840162004cd6565b82820152610120915062004df682840162004cd6565b82820152610140915062004e0c82840162004ce3565b91810191909152949350505050565b6020815262004e366020820183516001600160601b03169052565b6000602083015162004e5360408401826001600160601b03169052565b50604083015160ff8116606084015250606083015161016080608085015262004e8161018085018362004bef565b9150608085015160a085015260a085015160c085015260c085015160e085015260e085015161010062004ebc8187018364ffffffffff169052565b860151905061012062004ed78682018364ffffffffff169052565b860151905061014062004ef28682018364ffffffffff169052565b9095015163ffffffff1693019290925250919050565b81516001600160601b039081168252602080840151821690830152604080840151909116908201526060808301516001600160a01b03169082015260808083015161014083019162004f64908401826001600160a01b03169052565b5060a083015162004f8060a08401826001600160a01b03169052565b5060c083015162004f9e60c084018280518252602090810151910152565b5060e08301518051610100840152602081015161012084015262002529565b60006020828403121562004fd057600080fd5b5035919050565b60006020828403121562004fea57600080fd5b81356001600160401b03808211156200500257600080fd5b908301906101e082860312156200501857600080fd5b62005022620049d8565b6200502d8362004818565b81526200503d6020840162004818565b6020820152620050506040840162004818565b6040820152620050636060840162004989565b6060820152620050766080840162004946565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013581830152506101208084013583811115620050ba57600080fd5b620050c88882870162004c9f565b8284015250506101409150620050e082840162004cd6565b828201526101609150620050f682840162004cd6565b8282015261018091506200510c82840162004cd6565b828201526101a091506200512282840162004cd6565b828201526101c0915062004e0c82840162004ce3565b80356001600160c01b03198116811462002a4457600080fd5b6000602082840312156200516457600080fd5b620011df8262005138565b60008060008060008060c087890312156200518957600080fd5b86356200519681620047ff565b95506020870135620051a881620047ff565b945060408701359350606087013592506080870135915060a0870135620051cf81620047ff565b809150509295509295509295565b815181526020808301519082015260408101620011e2565b6000806000606084860312156200520b57600080fd5b83356200521881620047ff565b925060208401356200522a8162004936565b915060408401356200523c8162004973565b809150509250925092565b600080600060a084860312156200525d57600080fd5b83356200526a81620047ff565b92506200527b856020860162004a56565b91506200528c856060860162004a56565b90509250925092565b60008060408385031215620052a957600080fd5b8235620052b68162004973565b915060208301356200492b8162004973565b60008060408385031215620052dc57600080fd5b8235620052e981620047ff565b915060208301356200492b81620047ff565b6000806000606084860312156200531157600080fd5b83356200531e81620047ff565b925060208401356200533081620047ff565b929592945050506040919091013590565b600080604083850312156200535557600080fd5b620052b68362005138565b600080600080608085870312156200537757600080fd5b84356200538481620047ff565b93506020850135620053968162004936565b92506040850135620053a88162004936565b91506060850135620053ba8162004936565b939692955090935050565b600060208284031215620053d857600080fd5b81356001600160401b03811115620053ef57600080fd5b8201601f810184136200540157600080fd5b620054128482356020840162004c5c565b949350505050565b6000606082840312156200542d57600080fd5b604051606081018181106001600160401b038211171562005452576200545262004996565b60405282356200546281620047ff565b81526020830135620054748162004936565b60208201526040830135620054898162004973565b60408201529392505050565b60208152620054b06020820183516001600160601b03169052565b60006020830151620054cd60408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101e061014081818601526200555961020086018462004bef565b90860151909250610160620055768682018364ffffffffff169052565b8601519050610180620055918682018364ffffffffff169052565b86015190506101a0620055ac8682018364ffffffffff169052565b86015190506101c062004ef28682018364ffffffffff169052565b602080825282516001600160c01b0319168282015282015160606040830152600090620055f8608084018262004bef565b90506040840151151560608401528091505092915050565b60008060008060c085870312156200562757600080fd5b84356200563481620047ff565b93506020850135620056468162004973565b925062005657866040870162004a56565b915062005668866080870162004a56565b905092959194509250565b600080604083850312156200568757600080fd5b50508035926020909101359150565b80151581146200481557600080fd5b60008060408385031215620056b957600080fd5b620056c48362005138565b915060208301356200492b8162005696565b60008060408385031215620056ea57600080fd5b8235620056f781620047ff565b946020939093013593505050565b6000806000606084860312156200571b57600080fd5b83356200572881620047ff565b92506020840135620053308162005696565b600080604083850312156200574e57600080fd5b620056f78362005138565b6000806000606084860312156200576f57600080fd5b83356200577c8162004936565b925060208401356200578e8162004936565b915060408401356200523c8162004936565b60008060608385031215620057b457600080fd5b82359150620057c7846020850162004a56565b90509250929050565b600060208284031215620057e357600080fd5b815162003b7e8162004973565b6000602082840312156200580357600080fd5b815162003b7e8162004936565b6000602082840312156200582357600080fd5b815162003b7e8162004cc2565b600181811c908216806200584557607f821691505b6020821081036200586657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620058ba57600081815260208120601f850160051c81016020861015620058955750805b601f850160051c820191505b81811015620058b657828155600101620058a1565b5050505b505050565b81516001600160401b03811115620058db57620058db62004996565b620058f381620058ec845462005830565b846200586c565b602080601f8311600181146200592b5760008415620059125750858301515b600019600386901b1c1916600185901b178555620058b6565b600085815260208120601f198616915b828110156200595c578886015182559484019460019091019084016200593b565b50858210156200597b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200599e57600080fd5b5051919050565b600060208284031215620059b857600080fd5b815162003b7e81620047ff565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b60006020828403121562005a7057600080fd5b815162003b7e8162005696565b805162002a448162004973565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b600082601f83011262005b3757600080fd5b815162005b4862004c6d8262004c32565b81815284602083860101111562005b5e57600080fd5b6200541282602083016020870162004bc9565b60006020828403121562005b8457600080fd5b81516001600160401b038082111562005b9c57600080fd5b9083019060c0828603121562005bb157600080fd5b62005bbb620049fe565b825162005bc881620047ff565b8152602083015162005bda81620047ff565b6020820152604083015162005bef8162004936565b604082015262005c026060840162005a7d565b606082015262005c156080840162005a7d565b608082015260a08301518281111562005c2d57600080fd5b62005c3b8782860162005b25565b60a08301525095945050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115620011e257620011e262005c4a565b81810381811115620011e257620011e262005c4a565b6001600160401b0360c01b8316815260406020820152600062005412604083018462004bef565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea2646970667358221220de87685d485f45728fb2b557cd6d2622e4a09f86c8a90bedde65101a59e1a77864736f6c63430008140033a2646970667358221220c19be969115f54b7deb05559272fd77b633fdf09fa54c9c8b121ea4a5939e82664736f6c63430008140033",
2069
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620004095760003560e01c8063893d20e8116200021d578063bd62faf71162000131578063dc261c3a11620000bb578063e9e96c701162000086578063e9e96c701462000c1a578063ee0fdf711462000c31578063f0ea17c31462000c48578063f274e87d1462000cf957600080fd5b8063dc261c3a1462000b84578063e03eeb851462000bd5578063e1f64d771462000bec578063e79597401462000c0357600080fd5b8063d0bb064c11620000fc578063d0bb064c1462000aaf578063d250185c1462000b3f578063dad73bed1462000b56578063db70354c1462000b6d57600080fd5b8063bd62faf71462000a35578063bd7d9d851462000a4c578063c2bf7d261462000a72578063cf5ccedb1462000a8957600080fd5b806399fd467711620001b3578063af17d38a116200017e578063af17d38a14620009d9578063b88da75914620009f0578063b8c510671462000a07578063b9f36dde1462000a1e57600080fd5b806399fd4677146200095c578063a310e2a31462000973578063a7f3669b14620009ab578063a90be90714620009c257600080fd5b8063946dfcfe11620001f4578063946dfcfe146200090e5780639555c4db14620009175780639675513d146200092e57806398457437146200094557600080fd5b8063893d20e8146200089c5780638b59fe2a14620008a657806393865aec14620008bd57600080fd5b80634793b4ab1162000321578063674d0ccf11620002ab57806375a07ed2116200027657806375a07ed214620008215780637fec8b31146200083857806383d33319146200084f57806387c56586146200085857600080fd5b8063674d0ccf14620007cf57806369a44a1b14620007e65780636b9bf08b14620007fd5780636fa29853146200080f57600080fd5b806357f80bbf11620002ec57806357f80bbf14620006e75780635ab1bd5314620007875780635fe9f2a514620007ae578063644c45e014620007c557600080fd5b80634793b4ab14620005f55780634d459c90146200061b5780634fd077f514620006905780635312fdc214620006b657600080fd5b80631aa3a00811620003a3578063349195f9116200036e578063349195f914620005935780633bc5de30146200059c5780634288121d14620005b857806345c5a27d14620005de57600080fd5b80631aa3a008146200050c57806331b62a3b146200052f57806331e48e3214620005565780633300a8a8146200056d57600080fd5b80630d0ccc5b11620003e45780630d0ccc5b14620004835780630d35818114620004a95780630d8e6e2c14620004e557806315dae03e146200050457600080fd5b806301ffc9a7146200040e5780630591087414620004535780630abd8434146200046c575b600080fd5b6200043e6200041f366004620047d3565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200046a6200046436600462004825565b62000d26565b005b6200043e6200047d366004620048d7565b620010b9565b6200049a62000494366004620048fe565b6200115d565b6040519081526020016200044a565b620004d2620004ba36600462004953565b60ff9081166000908152601260205260409020541690565b60405160ff90911681526020016200044a565b620004ef620011e8565b60405162ffffff90911681526020016200044a565b6032620004d2565b62000516620011fe565b6040516001600160601b0390911681526020016200044a565b7f000000000000000000000000000000000000000000000000000000000000000062000516565b6200046a6200056736600462004aa8565b620012f9565b620005846200057e36600462004b4a565b62001444565b6040516200044a919062004b6a565b600f546200049a565b604080516020810182526000815290516200044a919062004c1d565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016200044a565b6200046a620005ef36600462004cf8565b620014ca565b6200060c6200060636600462004b4a565b62001746565b6040516200044a919062004e1b565b620006326200062c366004620048d7565b620018f5565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015163ffffffff169082015260809182015164ffffffffff169181019190915260a0016200044a565b620006a7620006a136600462004b4a565b620019f0565b6040516200044a919062004f08565b620006cd620006c736600462004fbd565b62001aa8565b6040516001600160c01b031990911681526020016200044a565b62000759620006f836600462004b4a565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152601683528390208351918201845280549485168252600160601b90940460ff161515918101919091526001909201549082015290565b6040805182516001600160601b0316815260208084015115159082015291810151908201526060016200044a565b7f0000000000000000000000000000000000000000000000000000000000000000620005c5565b6200046a620007bf36600462004fd7565b62001aea565b6200051662001cf3565b6200049a620007e036600462005151565b62001d5b565b6200049a620007f736600462004b4a565b62001d7f565b6005546001600160a01b0316620005c5565b6003546001600160a01b0316620005c5565b6200046a620008323660046200516f565b62001e10565b620005166200084936600462004fbd565b62002143565b6007546200049a565b604080518082018252600080825260209182018190528251808401845281815282018190528251808401909352808352908201525b6040516200044a9190620051dd565b620005c56200218b565b6200046a620008b7366004620051f5565b62002197565b6200046a620008ce36600462005247565b6001600160601b039092166000908152601a6020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6001546200049a565b6200046a6200092836600462005295565b620023b6565b6200049a6200093f366004620052c8565b620023c6565b6200046a62000956366004620052fb565b62002530565b6200043e6200096d36600462005341565b620026b0565b620005c56200098436600462004b4a565b6001600160601b03166000908152601860205260409020600201546001600160a01b031690565b620004d2620009bc36600462005360565b620026e7565b6200049a620009d336600462004fbd565b620028f1565b620006cd620009ea366004620053c5565b6200292d565b620004ef62000a0136600462004fbd565b62002a49565b620006cd62000a18366004620053c5565b62002ae1565b6200046a62000a2f36600462005341565b62002aee565b6200051662000a463660046200541a565b62002c57565b62000a6362000a5d36600462004b4a565b6200309a565b6040516200044a919062005495565b6200046a62000a8336600462005341565b6200329f565b62000aa062000a9a36600462005151565b6200349f565b6040516200044a9190620055c7565b6200046a62000ac036600462005610565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601a81529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b6200088d62000b5036600462005673565b6200359d565b6200046a62000b67366004620056a5565b620035dd565b6200051662000b7e366004620056d6565b620037fb565b6200046a62000b9536600462005247565b6001600160601b03909216600090815260186020908152604090912082516004820155918101516005830155825160068301559190910151600790910155565b6200046a62000be636600462005705565b62003892565b6200046a62000bfd366004620052fb565b620039d8565b620005c562000c143660046200573a565b62003b2c565b6200043e62000c2b36600462005759565b62003b51565b6200043e62000c4236600462005151565b62003b85565b62000cc162000c5936600462004b4a565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600e83528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200044a565b62000d1062000d0a366004620057a0565b62003bb0565b604080519283526020830191909152016200044a565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000d67573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d8d9190620057d0565b6001600160a01b0316336001600160a01b03161462000df35760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f53455256494345000060448201526064015b60405180910390fd5b60408051610160810182526001600160601b03888116825287166020820152600d5490918201906001600160a01b0316630d35818160d26040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562000e69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e8f9190620057f0565b60ff16815260200183838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018790526040820152606081018690526080014264ffffffffff16815260200142604051631ded81af60e31b815264ffffffffff90911660048201526024810186905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562000f52573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f78919062005810565b64ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b038088166000908152600a602090815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820190620010119082620058bf565b506080820151600282015560a0820151600382015560c0820151600482015560e0820151600590910180546101008401516101208501516101409095015163ffffffff16600160781b0263ffffffff60781b1964ffffffffff968716600160501b021668ffffffffffffffffff60501b19928716600160281b0269ffffffffffffffffffff199094169690951695909517919091171691909117919091179055505050505050565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562001130573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200115691906200598b565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af4158015620011b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011df91906200598b565b90505b92915050565b6000620011f9600360008062003ce3565b905090565b60006200120a6200218b565b6001600160a01b0316336001600160a01b0316146200126c5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000dea565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015620012d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011f99190620059a5565b600087856040516200130b9062004707565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f08015801562001346573d6000803e3d6000fd5b5060408051610100810182526001600160601b039a8b16808252998b166020808301918252998c168284019081526001600160a01b03998a1660608401908152948a1660808401908152988a1660a0840190815260c0840198895260e0840197885260009c8d5260188c5293909b20915182549151908d166001600160c01b031990921691909117600160601b918d1682021782559951925192909a169187169098021760018901555091516002870180546001600160a01b03199081169286169290921790559451600387018054909616931692909217909355518051600485015581015160058401559051805160068401550151600790910155565b6200144e62004715565b506001600160601b039081166000908152601a6020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200150b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015319190620057d0565b6001600160a01b0316336001600160a01b03161480620015c85750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200158d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015b39190620057d0565b6001600160a01b0316336001600160a01b0316145b620016285760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000dea565b80516001600160601b039081166000908152600a602090815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201518291906001820190620016a39082620058bf565b506080820151600282015560a0820151600382015560c0820151600482015560e0820151600590910180546101008401516101208501516101409095015163ffffffff16600160781b0263ffffffff60781b1964ffffffffff968716600160501b021668ffffffffffffffffff60501b19928716600160281b0269ffffffffffffffffffff19909416969095169590951791909117169190911791909117905550565b60408051610160810182526000808252602082018190529181018290526060808201526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101919091526001600160601b038281166000908152600a602090815260409182902082516101608101845281548086168252600160601b810490951692810192909252600160c01b90930460ff1691810191909152600182018054919291606084019190620018089062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620018369062005830565b8015620018875780601f106200185b5761010080835404028352916020019162001887565b820191906000526020600020905b8154815290600101906020018083116200186957829003601f168201915b505050918352505060028201546020820152600382015460408201526004820154606082015260059091015464ffffffffff8082166080840152600160281b8204811660a0840152600160501b82041660c0830152600160781b900463ffffffff1660e09091015292915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526200192b82620010b9565b620019795760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3032303a56455253494f4e5f554e4b4e4f574e000000604482015260640162000dea565b5062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810463ffffffff166060830152600160c01b900464ffffffffff16608082015290565b620019fa62004786565b506001600160601b0390811660009081526018602090815260409182902082516101008101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b03950485166060820152600282015485166080820152600382015490941660a0850152825180840184526004820154815260058201548184015260c0850152825180840190935260068101548352600701549082015260e082015290565b60006007828154811062001ac05762001ac0620059c5565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001b2b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b519190620057d0565b6001600160a01b0316336001600160a01b03161462001b845760405162461bcd60e51b815260040162000dea90620059db565b80516001600160601b0390811660009081526014602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151829190600782019062001c489082620058bf565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916600160281b0269ffffffffffffffffffff199096169890971697909717939093179190911693909317929092179290921617905550565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015620012d3573d6000803e3d6000fd5b6001600160c01b031981166000908152600960205260408120620011e29062003e8d565b6001600160601b038116600090815260176020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001dea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011e291906200598b565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001e51573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e779190620057d0565b6001600160a01b0316336001600160a01b03161462001eaa5760405162461bcd60e51b815260040162000dea90620059db565b604080516101e0810182526001600160601b03878116825288811660208301528316918101919091526000606082015260155460808201906001600160a01b0316630d35818160c86040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562001f31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f579190620057f0565b60ff1681526020018581526020018481526020016000815260200183815260200160405180602001604052806000815250815260200162001f954290565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b0386811660009081526014602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e0820151600582015561010082015160068201556101208201516007820190620020939082620058bf565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916600160281b0269ffffffffffffffffffff1990961698909716979097179390931791909116939093179290921792909216179055505050505050565b6000600f82815481106200215b576200215b620059c5565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b6000620011f962003e98565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015620021d6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021fc9190620057d0565b6001600160a01b0316336001600160a01b0316146200225e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000dea565b604080516060810182526001600160601b03851681526011549151630d35818160e01b815260ff85166004820152909160208301916001600160a01b0390911690630d35818190602401602060405180830381865afa158015620022c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022ec9190620057f0565b60ff90811682526001600160a01b039384166020928301526001600160601b039586166000818152600e845260408082208651815496880151909516600160601b026001600160681b0319909616948a1694909417949094178355939092015160019182018054919095166001600160a01b031990911617909355600f805480850182559252600282047f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201805492909316600c026101000a908102940219169290921790915550565b620023c2828262003ffa565b5050565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562002409573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200242f9190620057d0565b6001600160a01b0316336001600160a01b031614620024625760405162461bcd60e51b815260040162000dea9062005a1c565b506001600160601b038083166000818152600c602090815260408083209486168352938152838220805490839055928252600b9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d575691620024e59186906004019182526001600160601b0316602082015260400190565b602060405180830381865af415801562002503573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002529919062005a5d565b5092915050565b6001600160601b03828116600090815260176020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af4158015620025a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025ca919062005a5d565b15620026235760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000dea565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562002683573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a9919062005a5d565b5050505050565b6001600160c01b0319821660009081526008602090815260408083206001600160a01b038516845290915281205460ff16620011df565b60ff80841660009081526013602090815260408083208685168452825280832085851684529091528120549091166200275857604051630cdd837760e21b81526001600160601b038616600482015260ff808616602483015280851660448301528316606482015260840162000dea565b6200276b8460c85b60ff90811691161490565b15620027c857604080516001600160601b038716815260ff80861660208301528416918101919091527f3453c320908f5844705a0f2acbb230412df911a60544eca9236d16f5f9f1f6f6906060015b60405180910390a1620028e9565b620027d58460d262002760565b156200282957604080516001600160601b038716815260ff80861660208301528416918101919091527f92e25bf636cb4bfa6edf8b4fa57c0d64b6d959e3c6376d17c9bcc168fe36be1990606001620027ba565b6200283684606462002760565b806200284a57506200284a84607862002760565b806200285e57506200285e84608262002760565b15620028bb57604080516001600160601b038716815260ff80871660208301528086169282019290925290831660608201527fcc75054af33cdb7ef0c6dd9d4cb6f22e1dc2d22204db49d769d5da19579fb84e90608001620027ba565b60405163024acc7560e21b81526001600160601b038616600482015260ff8516602482015260440162000dea565b509392505050565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e9060240162001dcc565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200296e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029949190620057d0565b6001600160a01b0316336001600160a01b031614620029c75760405162461bcd60e51b815260040162000dea9062005a8a565b620029d282620042cb565b9050620029df8162003b85565b1562002a385760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000dea565b62002a448183620042fd565b919050565b600154600090821062002a9f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3031303a494e4445585f544f4f5f4c41524745000000604482015260640162000dea565b6001828154811062002ab55762002ab5620059c5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000620011e282620042cb565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b161462002b325760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002b71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b979190620057d0565b6001600160a01b0316336001600160a01b03161462002bca5760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b0319831660008181526008602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600990522062002c13908362004362565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966848383600060405162002c4a9392919062005af8565b60405180910390a1505050565b6000306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c98573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cbe9190620057d0565b6001600160a01b0316336001600160a01b03161462002d205760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000dea565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562002d7c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002da2919062005a5d565b801562002e4157506001600160601b038181166000818152600e60205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562002e1b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e41919062005a5d565b62002e8f5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000dea565b6000306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002ed0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ef69190620057d0565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562002f46573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002f70919081019062005b71565b6040908101516011546001600160601b0385166000818152600e6020908152908590205490880151945163a7f3669b60e01b8152600481019290925260ff8085166024840152600160601b9091048116604483015290931660648401529092506001600160a01b03169063a7f3669b906084016020604051808303816000875af115801562003003573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030299190620057f0565b50506001600160601b038082166000908152600e6020908152604091829020855181549287015160ff16600160601b026001600160681b031990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b604080516101e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201526101408101829052610160810182905261018081018290526101a081018290526101c08101919091526001600160601b0382811660009081526014602090815260409182902082516101e08101845281548086168252600160601b9081900486169382019390935260018201549485169381019390935292046001600160a01b03166060820152600282015460ff166080820152600382015460a0820152600482015460c0820152600582015460e0820152600682015461010082015260078201805491929161012084019190620031c19062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620031ef9062005830565b8015620032405780601f10620032145761010080835404028352916020019162003240565b820191906000526020600020905b8154815290600101906020018083116200322257829003601f168201915b50505091835250506008919091015464ffffffffff8082166020840152600160281b820481166040840152600160501b820481166060840152600160781b8204166080830152600160a01b900463ffffffff1660a09091015292915050565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b1614620032e35760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003322573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033489190620057d0565b6001600160a01b0316336001600160a01b0316146200337b5760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b0319831660009081526006602052604090206002015460ff16620033e95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000dea565b6001600160c01b0319831660008181526008602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600990522062003435908362004379565b506001600160c01b0319831660009081526008602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966849162002c4a918691869160ff9091169062005af8565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260068252918590208551938401909552845460c01b90911682526001840180549394929391840191620034fe9062005830565b80601f01602080910402602001604051908101604052809291908181526020018280546200352c9062005830565b80156200357d5780601f1062003551576101008083540402835291602001916200357d565b820191906000526020600020905b8154815290600101906020018083116200355f57829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b6040805180820190915260008082526020820152620011df8383604080518082018252600080825260209182015281518083019092529281529182015290565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b1614620036215760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003660573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036869190620057d0565b6001600160a01b0316336001600160a01b031614620036b95760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b03198084166000908152600660209081526040808320815160608101909252805460c01b9094168152600184018054939491939192840191620037039062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620037319062005830565b8015620037825780601f10620037565761010080835404028352916020019162003782565b820191906000526020600020905b8154815290600101906020018083116200376457829003601f168201915b50505091835250506002919091015460ff16151560209091015283151560408201529050620037b18162004390565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260176020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af41580156200386c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011df9190620059a5565b6001600160601b0383811660009081526016602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620038fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003924919062005a5d565b620039725760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3031303a414c52454144595f4352454154454400000000604482015260640162000dea565b604080516060810182526001600160601b039485168082529315156020808301918252828401948552600095865260169052919093209251835491511515600160601b026001600160681b03199092169416939093179290921781559051600190910155565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003a19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a3f9190620057d0565b6001600160a01b0316336001600160a01b03161462003a725760405162461bcd60e51b815260040162000dea9062005a1c565b6001600160601b038381166000818152600c60209081526040808320948716808452948252808320869055928252600b90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562003b00573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b26919062005a5d565b50505050565b6001600160c01b031982166000908152600960205260408120620011df90836200446e565b60ff8084166000908152601360209081526040808320868516845282528083208585168452909152902054165b9392505050565b6001600160c01b0319818116600081815260066020526040812054909260c09190911b1614620011e2565b600080600062003c3f73__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__6345ebb61e876040518263ffffffff1660e01b815260040162003bf391815260200190565b602060405180830381865af415801562003c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c3791906200598b565b85516200447c565b6020850151604051632255341b60e11b8152600481018390529192509073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af415801562003c99573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003cbf91906200598b565b62003ccb919062005c60565b925062003cd9838662005c76565b9150509250929050565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003d3b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003d6191906200598b565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de091906200598b565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003e39573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003e5f91906200598b565b90508062003e76600884901b601086901b62005c60565b62003e82919062005c60565b979650505050505050565b6000620011e2825490565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003f02573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003f289190620059a5565b90506001600160601b03811662003f60577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003fce573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ff49190620057d0565b91505090565b600062004006620011e8565b90506200401381620010b9565b15620040725760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000dea565b60015415620041395760018054600091906200409090829062005c76565b81548110620040a357620040a3620059c5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050620040dd828262ffffff90811691161190565b620041375760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000dea565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620041c24390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d44199062002c4a9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b600081604051602001620042e0919062004c1d565b604051602081830303815290604052805190602001209050919050565b604080516060810182526001600160c01b031984168152602081018390526001918101919091526200432f8162004390565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c6485838360405162002c4a92919062005c8c565b6000620011df836001600160a01b03841662004493565b6000620011df836001600160a01b03841662004597565b80516001600160c01b0319811660009081526006602090815260409091208351815467ffffffffffffffff191660c09190911c178155908301518391906001820190620043de9082620058bf565b50604091909101516002909101805460ff1916911515919091179055620044058162003b85565b620023c257600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600482040180546001600160401b0360039093166008026101000a928302191660c09390931c9190910291909117905550565b6000620011df8383620045e9565b6000620011df8383670de0b6b3a764000062004616565b600081815260018301602052604081205480156200458c576000620044ba60018362005c76565b8554909150600090620044d09060019062005c76565b90508181146200453c576000866000018281548110620044f457620044f4620059c5565b90600052602060002001549050808760000184815481106200451a576200451a620059c5565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062004550576200455062005cb3565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050620011e2565b6000915050620011e2565b6000818152600183016020526040812054620045e057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620011e2565b506000620011e2565b6000826000018281548110620046035762004603620059c5565b9060005260206000200154905092915050565b600080806000198587098587029250828110838203039150508060000362004655578382816200464a576200464a62005cc9565b049250505062003b7e565b8084116200469e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640162000dea565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b6102aa8062005ce083390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b031681526020016200475e604051806040016040528060008152602001600081525090565b815260200162004781604051806040016040528060008152602001600081525090565b905290565b604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301529060c08201906200475e565b600060208284031215620047e657600080fd5b81356001600160e01b03198116811462003b7e57600080fd5b6001600160601b03811681146200481557600080fd5b50565b803562002a4481620047ff565b60008060008060008060a087890312156200483f57600080fd5b86356200484c81620047ff565b955060208701356200485e81620047ff565b9450604087013593506060870135925060808701356001600160401b03808211156200488957600080fd5b818901915089601f8301126200489e57600080fd5b813581811115620048ae57600080fd5b8a6020828501011115620048c157600080fd5b6020830194508093505050509295509295509295565b600060208284031215620048ea57600080fd5b813562ffffff8116811462003b7e57600080fd5b600080604083850312156200491257600080fd5b8235915060208301358060000b81146200492b57600080fd5b809150509250929050565b60ff811681146200481557600080fd5b803562002a448162004936565b6000602082840312156200496657600080fd5b813562003b7e8162004936565b6001600160a01b03811681146200481557600080fd5b803562002a448162004973565b634e487b7160e01b600052604160045260246000fd5b60405161016081016001600160401b0381118282101715620049d257620049d262004996565b60405290565b6040516101e081016001600160401b0381118282101715620049d257620049d262004996565b60405160c081016001600160401b0381118282101715620049d257620049d262004996565b604051601f8201601f191681016001600160401b038111828210171562004a4e5762004a4e62004996565b604052919050565b60006040828403121562004a6957600080fd5b604051604081018181106001600160401b038211171562004a8e5762004a8e62004996565b604052823581526020928301359281019290925250919050565b6000806000806000806000610120888a03121562004ac557600080fd5b873562004ad281620047ff565b9650602088013562004ae481620047ff565b9550604088013562004af681620047ff565b9450606088013562004b088162004973565b9350608088013562004b1a8162004973565b925062004b2b8960a08a0162004a56565b915062004b3c8960e08a0162004a56565b905092959891949750929550565b60006020828403121562004b5d57600080fd5b813562003b7e81620047ff565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c083019162004bac9084018280518252602090810151910152565b50606083015180516080840152602081015160a084015262002529565b60005b8381101562004be657818101518382015260200162004bcc565b50506000910152565b6000815180845262004c0981602086016020860162004bc9565b601f01601f19169290920160200192915050565b602081526000620011df602083018462004bef565b60006001600160401b0382111562004c4e5762004c4e62004996565b50601f01601f191660200190565b600062004c7362004c6d8462004c32565b62004a23565b905082815283838301111562004c8857600080fd5b828260208301376000602084830101529392505050565b600082601f83011262004cb157600080fd5b620011df8383356020850162004c5c565b64ffffffffff811681146200481557600080fd5b803562002a448162004cc2565b803563ffffffff8116811462002a4457600080fd5b60006020828403121562004d0b57600080fd5b81356001600160401b038082111562004d2357600080fd5b90830190610160828603121562004d3957600080fd5b62004d43620049ac565b62004d4e8362004818565b815262004d5e6020840162004818565b602082015262004d716040840162004946565b604082015260608301358281111562004d8957600080fd5b62004d978782860162004c9f565b6060830152506080830135608082015260a083013560a082015260c083013560c082015262004dc960e0840162004cd6565b60e0820152610100915062004de082840162004cd6565b82820152610120915062004df682840162004cd6565b82820152610140915062004e0c82840162004ce3565b91810191909152949350505050565b6020815262004e366020820183516001600160601b03169052565b6000602083015162004e5360408401826001600160601b03169052565b50604083015160ff8116606084015250606083015161016080608085015262004e8161018085018362004bef565b9150608085015160a085015260a085015160c085015260c085015160e085015260e085015161010062004ebc8187018364ffffffffff169052565b860151905061012062004ed78682018364ffffffffff169052565b860151905061014062004ef28682018364ffffffffff169052565b9095015163ffffffff1693019290925250919050565b81516001600160601b039081168252602080840151821690830152604080840151909116908201526060808301516001600160a01b03169082015260808083015161014083019162004f64908401826001600160a01b03169052565b5060a083015162004f8060a08401826001600160a01b03169052565b5060c083015162004f9e60c084018280518252602090810151910152565b5060e08301518051610100840152602081015161012084015262002529565b60006020828403121562004fd057600080fd5b5035919050565b60006020828403121562004fea57600080fd5b81356001600160401b03808211156200500257600080fd5b908301906101e082860312156200501857600080fd5b62005022620049d8565b6200502d8362004818565b81526200503d6020840162004818565b6020820152620050506040840162004818565b6040820152620050636060840162004989565b6060820152620050766080840162004946565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013581830152506101208084013583811115620050ba57600080fd5b620050c88882870162004c9f565b8284015250506101409150620050e082840162004cd6565b828201526101609150620050f682840162004cd6565b8282015261018091506200510c82840162004cd6565b828201526101a091506200512282840162004cd6565b828201526101c0915062004e0c82840162004ce3565b80356001600160c01b03198116811462002a4457600080fd5b6000602082840312156200516457600080fd5b620011df8262005138565b60008060008060008060c087890312156200518957600080fd5b86356200519681620047ff565b95506020870135620051a881620047ff565b945060408701359350606087013592506080870135915060a0870135620051cf81620047ff565b809150509295509295509295565b815181526020808301519082015260408101620011e2565b6000806000606084860312156200520b57600080fd5b83356200521881620047ff565b925060208401356200522a8162004936565b915060408401356200523c8162004973565b809150509250925092565b600080600060a084860312156200525d57600080fd5b83356200526a81620047ff565b92506200527b856020860162004a56565b91506200528c856060860162004a56565b90509250925092565b60008060408385031215620052a957600080fd5b8235620052b68162004973565b915060208301356200492b8162004973565b60008060408385031215620052dc57600080fd5b8235620052e981620047ff565b915060208301356200492b81620047ff565b6000806000606084860312156200531157600080fd5b83356200531e81620047ff565b925060208401356200533081620047ff565b929592945050506040919091013590565b600080604083850312156200535557600080fd5b620052b68362005138565b600080600080608085870312156200537757600080fd5b84356200538481620047ff565b93506020850135620053968162004936565b92506040850135620053a88162004936565b91506060850135620053ba8162004936565b939692955090935050565b600060208284031215620053d857600080fd5b81356001600160401b03811115620053ef57600080fd5b8201601f810184136200540157600080fd5b620054128482356020840162004c5c565b949350505050565b6000606082840312156200542d57600080fd5b604051606081018181106001600160401b038211171562005452576200545262004996565b60405282356200546281620047ff565b81526020830135620054748162004936565b60208201526040830135620054898162004973565b60408201529392505050565b60208152620054b06020820183516001600160601b03169052565b60006020830151620054cd60408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101e061014081818601526200555961020086018462004bef565b90860151909250610160620055768682018364ffffffffff169052565b8601519050610180620055918682018364ffffffffff169052565b86015190506101a0620055ac8682018364ffffffffff169052565b86015190506101c062004ef28682018364ffffffffff169052565b602080825282516001600160c01b0319168282015282015160606040830152600090620055f8608084018262004bef565b90506040840151151560608401528091505092915050565b60008060008060c085870312156200562757600080fd5b84356200563481620047ff565b93506020850135620056468162004973565b925062005657866040870162004a56565b915062005668866080870162004a56565b905092959194509250565b600080604083850312156200568757600080fd5b50508035926020909101359150565b80151581146200481557600080fd5b60008060408385031215620056b957600080fd5b620056c48362005138565b915060208301356200492b8162005696565b60008060408385031215620056ea57600080fd5b8235620056f781620047ff565b946020939093013593505050565b6000806000606084860312156200571b57600080fd5b83356200572881620047ff565b92506020840135620053308162005696565b600080604083850312156200574e57600080fd5b620056f78362005138565b6000806000606084860312156200576f57600080fd5b83356200577c8162004936565b925060208401356200578e8162004936565b915060408401356200523c8162004936565b60008060608385031215620057b457600080fd5b82359150620057c7846020850162004a56565b90509250929050565b600060208284031215620057e357600080fd5b815162003b7e8162004973565b6000602082840312156200580357600080fd5b815162003b7e8162004936565b6000602082840312156200582357600080fd5b815162003b7e8162004cc2565b600181811c908216806200584557607f821691505b6020821081036200586657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620058ba57600081815260208120601f850160051c81016020861015620058955750805b601f850160051c820191505b81811015620058b657828155600101620058a1565b5050505b505050565b81516001600160401b03811115620058db57620058db62004996565b620058f381620058ec845462005830565b846200586c565b602080601f8311600181146200592b5760008415620059125750858301515b600019600386901b1c1916600185901b178555620058b6565b600085815260208120601f198616915b828110156200595c578886015182559484019460019091019084016200593b565b50858210156200597b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200599e57600080fd5b5051919050565b600060208284031215620059b857600080fd5b815162003b7e81620047ff565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b60006020828403121562005a7057600080fd5b815162003b7e8162005696565b805162002a448162004973565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b600082601f83011262005b3757600080fd5b815162005b4862004c6d8262004c32565b81815284602083860101111562005b5e57600080fd5b6200541282602083016020870162004bc9565b60006020828403121562005b8457600080fd5b81516001600160401b038082111562005b9c57600080fd5b9083019060c0828603121562005bb157600080fd5b62005bbb620049fe565b825162005bc881620047ff565b8152602083015162005bda81620047ff565b6020820152604083015162005bef8162004936565b604082015262005c026060840162005a7d565b606082015262005c156080840162005a7d565b608082015260a08301518281111562005c2d57600080fd5b62005c3b8782860162005b25565b60a08301525095945050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115620011e257620011e262005c4a565b81810381811115620011e257620011e262005c4a565b6001600160401b0360c01b8316815260406020820152600062005412604083018462004bef565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea2646970667358221220de87685d485f45728fb2b557cd6d2622e4a09f86c8a90bedde65101a59e1a77864736f6c63430008140033a2646970667358221220c19be969115f54b7deb05559272fd77b633fdf09fa54c9c8b121ea4a5939e82664736f6c63430008140033",
2070
- "linkReferences": {
2071
- "contracts/types/Blocknumber.sol": {
2072
- "BlocknumberLib": [
2073
- {
2074
- "length": 20,
2075
- "start": 4068
2076
- },
2077
- {
2078
- "length": 20,
2079
- "start": 10467
2080
- }
2081
- ]
2082
947
  },
2083
- "contracts/types/NftId.sol": {
2084
- "NftIdLib": [
2085
- {
2086
- "length": 20,
2087
- "start": 17711
2088
- },
2089
- {
2090
- "length": 20,
2091
- "start": 17870
2092
- },
2093
- {
2094
- "length": 20,
2095
- "start": 20657
2096
- }
2097
- ]
948
+ {
949
+ "inputs": [],
950
+ "name": "upgradeInstanceReader",
951
+ "outputs": [],
952
+ "stateMutability": "nonpayable",
953
+ "type": "function"
2098
954
  },
2099
- "contracts/types/NftIdSet.sol": {
2100
- "LibNftIdSet": [
2101
- {
2102
- "length": 20,
2103
- "start": 13724
2104
- },
2105
- {
2106
- "length": 20,
2107
- "start": 15512
2108
- },
2109
- {
2110
- "length": 20,
2111
- "start": 15703
2112
- },
2113
- {
2114
- "length": 20,
2115
- "start": 15926
2116
- },
2117
- {
2118
- "length": 20,
2119
- "start": 20511
2120
- },
955
+ {
956
+ "inputs": [
2121
957
  {
2122
- "length": 20,
2123
- "start": 21171
958
+ "internalType": "Amount",
959
+ "name": "dipAmount",
960
+ "type": "uint96"
2124
961
  }
2125
- ]
2126
- },
2127
- "contracts/types/Timestamp.sol": {
2128
- "TimestampLib": [
962
+ ],
963
+ "name": "withdrawStakingRewardReserves",
964
+ "outputs": [
2129
965
  {
2130
- "length": 20,
2131
- "start": 9989
966
+ "internalType": "Amount",
967
+ "name": "newBalance",
968
+ "type": "uint96"
2132
969
  }
2133
- ]
2134
- },
2135
- "contracts/types/UFixed.sol": {
2136
- "UFixedMathLib": [
2137
- {
2138
- "length": 20,
2139
- "start": 10604
2140
- },
2141
- {
2142
- "length": 20,
2143
- "start": 16632
2144
- },
970
+ ],
971
+ "stateMutability": "nonpayable",
972
+ "type": "function"
973
+ }
974
+ ],
975
+ "bytecode": "0x6080604052348015600e575f80fd5b50612a888061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061023f575f3560e01c80636dddada411610135578063b428b0b0116100b4578063d2192dbf11610079578063d2192dbf14610518578063d4cda0d81461054b578063d6d0a65b1461055c578063e52ba1cb1461056f578063f7bc431c14610582575f80fd5b8063b428b0b0146104df578063b7d2b162146104f2578063bf7e214f14610500578063c265172514610508578063c71e261f14610510575f80fd5b8063893d20e8116100fa578063893d20e81461047c5780638fb360371461048457806396cdfa3f146104a5578063ad12ad60146104b8578063ada9652e146104cb575f80fd5b80636dddada41461041857806376b707b7146104295780637a9e5e4b146104435780637de45f13146104565780638689231314610469575f80fd5b806329db8c3d116101c15780634f8b8aba116101865780634f8b8aba146103b15780635ab1bd53146103c45780635d966289146103d55780635fa8aad4146103e8578063644c45e0146103fb575f80fd5b806329db8c3d146103675780632d764ef81461037a578063311adb681461038d578063398e3d4c1461039e57806340acebd9146103a9575f80fd5b8063138461e011610207578063138461e0146102e457806315b74532146103045780631eff4b221461031757806322f3e2d41461034c57806326decd4014610354575f80fd5b806301ffc9a71461024357806302cd3071146102845780630e0c586d146102a95780630fec111c146102ba57806311f77843146102cf575b5f80fd5b61026f610251366004612237565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b03909116815260200161027b565b6007546001600160a01b0316610291565b6102c2610595565b60405161027b9190612293565b6102e26102dd36600461233b565b61074f565b005b6102ec6107f9565b6040516001600160601b03909116815260200161027b565b6102ec610312366004612356565b610808565b61033e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b61026f61084a565b61026f61036236600461233b565b6108c1565b6102e2610375366004612420565b610937565b6102e26103883660046124c9565b610981565b6004546001600160a01b0316610291565b600a5460ff1661026f565b61026f6109fc565b6102e26103bf366004612501565b610a71565b6001546001600160a01b0316610291565b6102ec6103e336600461251c565b610b22565b6102e26103f6366004612553565b610c3f565b5f80516020612a13833981519152546001600160601b03166102ec565b6006546001600160a01b0316610291565b610431610c87565b60405160ff909116815260200161027b565b6102e261045136600461233b565b610cef565b6102e2610464366004612501565b610d71565b6102e26104773660046125ac565b610de5565b610291610e5a565b61048c610f8b565b6040516001600160e01b0319909116815260200161027b565b6102e26104b33660046125d8565b610fc0565b6102e26104c63660046125f3565b61102d565b61033e5f80516020612a1383398151915281565b6102e26104ed366004612643565b6110b4565b6102e26103f6366004612643565b61029161113a565b6102e2611155565b60095461033e565b61052b61052636600461265d565b6111f7565b604080516001600160401b0393841681529290911660208301520161027b565b6008546001600160a01b0316610291565b6102e261056a3660046126b8565b611244565b6102ec61057d366004612501565b6118f3565b6102e261059036600461233b565b6119b1565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610641573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610665919061276e565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106ad610e5a565b6001600160a01b031681526020018260010180546106ca90612789565b80601f01602080910402602001604051908101604052809291908181526020018280546106f690612789565b80156107415780601f1061071857610100808354040283529160200191610741565b820191905f5260205f20905b81548152906001019060200180831161072457829003601f168201915b505050505081525091505090565b61075b335b5f36611a6f565b610763610e5a565b6001600160a01b0316336001600160a01b03161461079b5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107e0575f80fd5b505af11580156107f2573d5f803e3d5ffd5b5050505050565b5f61080330611b65565b905090565b5f6009828154811061081c5761081c6127c1565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61085361113a565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610897573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108bb91906127d5565b15905090565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa15801561090d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093191906127d5565b92915050565b61094033610754565b610948610e5a565b6001600160a01b0316336001600160a01b03161461097b5760405163086391f760e31b8152336004820152602401610792565b50505050565b61098a33610754565b610992610e5a565b6001600160a01b0316336001600160a01b0316146109c55760405163086391f760e31b8152336004820152602401610792565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107c9565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a4d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080391906127d5565b610a7a33610754565b610a82610e5a565b6001600160a01b0316336001600160a01b031614610ab55760405163086391f760e31b8152336004820152602401610792565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610b08575f80fd5b505af1158015610b1a573d5f803e3d5ffd5b505050505050565b5f610b2c33610754565b610b34610e5a565b6001600160a01b0316336001600160a01b031614610b675760405163086391f760e31b8152336004820152602401610792565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610bb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bdc919061276e565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b610c4833610754565b610c50610e5a565b6001600160a01b0316336001600160a01b031614610c835760405163086391f760e31b8152336004820152602401610792565b5050565b5f610c9061113a565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ccb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080391906127f0565b33610cf861113a565b6001600160a01b0316816001600160a01b031614610d335760405162d1953b60e31b81526001600160a01b0382166004820152602401610792565b816001600160a01b03163b5f03610d68576040516361798f2f60e11b81526001600160a01b0383166004820152602401610792565b610c8382611d5e565b610d79610e5a565b6001600160a01b0316336001600160a01b031614610dac5760405163086391f760e31b8152336004820152602401610792565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107c9565b610ded610e5a565b6001600160a01b0316336001600160a01b031614610e205760405163086391f760e31b8152336004820152602401610792565b600354604051638689231360e01b81526001600160a01b038481166004830152831515602483015290911690638689231390604401610af1565b5f805f80516020612a1383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ec6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea91906127d5565b15610f75576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6f919061280b565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612a3383398151915280545f9190600160a01b900460ff16610fb2575f610f6f565b638fb3603760e01b91505090565b610fc8610e5a565b6001600160a01b0316336001600160a01b031614610ffb5760405163086391f760e31b8152336004820152602401610792565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107c9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611074573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611098919061280b565b6001600160a01b0316336001600160a01b03161461097b575f80fd5b6110bd33610754565b6110c5610e5a565b6001600160a01b0316336001600160a01b0316146110f85760405163086391f760e31b8152336004820152602401610792565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610af1565b5f80516020612a33833981519152546001600160a01b031690565b61115e33610754565b611166610e5a565b6001600160a01b0316336001600160a01b0316146111995760405163086391f760e31b8152336004820152602401610792565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156111e5575f80fd5b505af115801561097b573d5f803e3d5ffd5b5f8061120233610754565b61120a610e5a565b6001600160a01b0316336001600160a01b03161461123d5760405163086391f760e31b8152336004820152602401610792565b9250929050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112885750825b90505f826001600160401b031660011480156112a35750303b155b9050811580156112b1575080155b156112cf5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112f957845460ff60401b1916600160401b1785555b6001600160a01b038e16611320576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506114238e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611385573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113a9919061280b565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140a919061276e565b600a60018c60405180602001604052805f815250611dbe565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611507575f80fd5b505af1158015611519573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a0919061280b565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b1580156115e6575f80fd5b505af11580156115f8573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561165b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167f919061280b565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b1580156116c5575f80fd5b505af11580156116d7573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611727575f80fd5b505af1158015611739573d5f803e3d5ffd5b5050505061174f6001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa1580156117a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c7919061280b565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa15801561183b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185f919061280b565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff191687151517905561189d633dc0613160e01b611f05565b83156118e357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f6118fd33610754565b611905610e5a565b6001600160a01b0316336001600160a01b0316146119385760405163086391f760e31b8152336004820152602401610792565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015611988573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610931919061276e565b919050565b6119ba33610754565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a24919061280b565b6001600160a01b031614611a4d576040516345789cf560e01b8152306004820152602401610792565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f80516020612a338339815191525f80611aa7611a8a61113a565b8730611a9960045f8a8c612826565b611aa29161284d565b611f38565b9150915081610b1a5763ffffffff811615611b4257825460ff60a01b1916600160a01b178355611ad561113a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b0493929190612885565b5f604051808303815f87803b158015611b1b575f80fd5b505af1158015611b2d573d5f803e3d5ffd5b5050845460ff60a01b1916855550610b1a9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610792565b5f805f80516020612a1383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611bd1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf591906127d5565b15611c215780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610792565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9791906127d5565b611cbf5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610792565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d35919061276e565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612a3383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611dc6612040565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611e1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4091906127d5565b611e685760405163cf6935e560e01b81526001600160a01b0388166004820152602401610792565b611e718761208b565b611e7b868361209c565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611eea838261290d565b50611efb634a531f3360e01b611f05565b5050505050505050565b611f0d612040565b611f35816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fa691906129c7565b5f60405180830381855afa9150503d805f8114611fde576040519150601f19603f3d011682016040523d82523d5f602084013e611fe3565b606091505b50915091508115612035576040815110612015578080602001905181019061200b91906129dd565b9094509250612035565b6020815110612035578080602001905181019061203291906127d5565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661208957604051631afcd79f60e31b815260040160405180910390fd5b565b612093612040565b611f3581612112565b6120a4612040565b6120ac612123565b6120b58261216b565b6001600160a01b0381166120dc5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612a1383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61211a612040565b611f3581611d5e565b61212b612040565b6120896301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612173612040565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156121c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ed91906127d5565b6122155760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610792565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215612247575f80fd5b81356001600160e01b03198116811461225e575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516122db608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261231f610100840182612265565b949350505050565b6001600160a01b0381168114611f35575f80fd5b5f6020828403121561234b575f80fd5b813561225e81612327565b5f60208284031215612366575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112612390575f80fd5b81356001600160401b038111156123a9576123a961236d565b604051601f8201601f19908116603f011681016001600160401b03811182821017156123d7576123d761236d565b6040528181528382016020018510156123ee575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146119ac575f80fd5b5f805f8060608587031215612433575f80fd5b84356001600160401b03811115612448575f80fd5b61245487828801612381565b94505060208501356001600160401b0381111561246f575f80fd5b8501601f8101871361247f575f80fd5b80356001600160401b03811115612494575f80fd5b8760208260051b84010111156124a8575f80fd5b602091909101935091506124be6040860161240a565b905092959194509250565b5f602082840312156124d9575f80fd5b813564ffffffffff8116811461225e575f80fd5b6001600160601b0381168114611f35575f80fd5b5f60208284031215612511575f80fd5b813561225e816124ed565b5f806040838503121561252d575f80fd5b823561253881612327565b9150602083013561254881612327565b809150509250929050565b5f8060408385031215612564575f80fd5b823561256f81612327565b915060208301356001600160401b03811115612589575f80fd5b61259585828601612381565b9150509250929050565b8015158114611f35575f80fd5b5f80604083850312156125bd575f80fd5b82356125c881612327565b915060208301356125488161259f565b5f602082840312156125e8575f80fd5b813561225e8161259f565b5f805f8060808587031215612606575f80fd5b843561261181612327565b9350602085013561262181612327565b925060408501359150606085013561263881612327565b939692955090935050565b5f8060408385031215612654575f80fd5b6125388361240a565b5f806040838503121561266e575f80fd5b82356001600160401b03811115612683575f80fd5b61268f85828601612381565b92505060208301356001600160401b03811115612589575f80fd5b60ff81168114611f35575f80fd5b5f805f805f805f805f6101208a8c0312156126d1575f80fd5b89356126dc81612327565b985060208a01356126ec81612327565b975060408a01356126fc81612327565b965060608a013561270c81612327565b955060808a013561271c81612327565b945060a08a013561272c81612327565b935060c08a013561273c816126aa565b925060e08a013561274c81612327565b91506101008a013561275d8161259f565b809150509295985092959850929598565b5f6020828403121561277e575f80fd5b815161225e816124ed565b600181811c9082168061279d57607f821691505b6020821081036127bb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156127e5575f80fd5b815161225e8161259f565b5f60208284031215612800575f80fd5b815161225e816126aa565b5f6020828403121561281b575f80fd5b815161225e81612327565b5f8085851115612834575f80fd5b83861115612840575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561287e576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561290857805f5260205f20601f840160051c810160208510156128e95750805b601f840160051c820191505b818110156107f2575f81556001016128f5565b505050565b81516001600160401b038111156129265761292661236d565b61293a816129348454612789565b846128c4565b6020601f82116001811461296c575f83156129555750848201515b5f19600385901b1c1916600184901b1784556107f2565b5f84815260208120601f198516915b8281101561299b578785015182556020948501946001909201910161297b565b50848210156129b857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f80604083850312156129ee575f80fd5b82516129f98161259f565b602084015190925063ffffffff81168114612548575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e4a2da9820b8468c972fd178f3feb12b27fa2e33f09f3fb6c01316cadc8c0ab164736f6c634300081a0033",
976
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061023f575f3560e01c80636dddada411610135578063b428b0b0116100b4578063d2192dbf11610079578063d2192dbf14610518578063d4cda0d81461054b578063d6d0a65b1461055c578063e52ba1cb1461056f578063f7bc431c14610582575f80fd5b8063b428b0b0146104df578063b7d2b162146104f2578063bf7e214f14610500578063c265172514610508578063c71e261f14610510575f80fd5b8063893d20e8116100fa578063893d20e81461047c5780638fb360371461048457806396cdfa3f146104a5578063ad12ad60146104b8578063ada9652e146104cb575f80fd5b80636dddada41461041857806376b707b7146104295780637a9e5e4b146104435780637de45f13146104565780638689231314610469575f80fd5b806329db8c3d116101c15780634f8b8aba116101865780634f8b8aba146103b15780635ab1bd53146103c45780635d966289146103d55780635fa8aad4146103e8578063644c45e0146103fb575f80fd5b806329db8c3d146103675780632d764ef81461037a578063311adb681461038d578063398e3d4c1461039e57806340acebd9146103a9575f80fd5b8063138461e011610207578063138461e0146102e457806315b74532146103045780631eff4b221461031757806322f3e2d41461034c57806326decd4014610354575f80fd5b806301ffc9a71461024357806302cd3071146102845780630e0c586d146102a95780630fec111c146102ba57806311f77843146102cf575b5f80fd5b61026f610251366004612237565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b03909116815260200161027b565b6007546001600160a01b0316610291565b6102c2610595565b60405161027b9190612293565b6102e26102dd36600461233b565b61074f565b005b6102ec6107f9565b6040516001600160601b03909116815260200161027b565b6102ec610312366004612356565b610808565b61033e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b61026f61084a565b61026f61036236600461233b565b6108c1565b6102e2610375366004612420565b610937565b6102e26103883660046124c9565b610981565b6004546001600160a01b0316610291565b600a5460ff1661026f565b61026f6109fc565b6102e26103bf366004612501565b610a71565b6001546001600160a01b0316610291565b6102ec6103e336600461251c565b610b22565b6102e26103f6366004612553565b610c3f565b5f80516020612a13833981519152546001600160601b03166102ec565b6006546001600160a01b0316610291565b610431610c87565b60405160ff909116815260200161027b565b6102e261045136600461233b565b610cef565b6102e2610464366004612501565b610d71565b6102e26104773660046125ac565b610de5565b610291610e5a565b61048c610f8b565b6040516001600160e01b0319909116815260200161027b565b6102e26104b33660046125d8565b610fc0565b6102e26104c63660046125f3565b61102d565b61033e5f80516020612a1383398151915281565b6102e26104ed366004612643565b6110b4565b6102e26103f6366004612643565b61029161113a565b6102e2611155565b60095461033e565b61052b61052636600461265d565b6111f7565b604080516001600160401b0393841681529290911660208301520161027b565b6008546001600160a01b0316610291565b6102e261056a3660046126b8565b611244565b6102ec61057d366004612501565b6118f3565b6102e261059036600461233b565b6119b1565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610641573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610665919061276e565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106ad610e5a565b6001600160a01b031681526020018260010180546106ca90612789565b80601f01602080910402602001604051908101604052809291908181526020018280546106f690612789565b80156107415780601f1061071857610100808354040283529160200191610741565b820191905f5260205f20905b81548152906001019060200180831161072457829003601f168201915b505050505081525091505090565b61075b335b5f36611a6f565b610763610e5a565b6001600160a01b0316336001600160a01b03161461079b5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107e0575f80fd5b505af11580156107f2573d5f803e3d5ffd5b5050505050565b5f61080330611b65565b905090565b5f6009828154811061081c5761081c6127c1565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61085361113a565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610897573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108bb91906127d5565b15905090565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa15801561090d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093191906127d5565b92915050565b61094033610754565b610948610e5a565b6001600160a01b0316336001600160a01b03161461097b5760405163086391f760e31b8152336004820152602401610792565b50505050565b61098a33610754565b610992610e5a565b6001600160a01b0316336001600160a01b0316146109c55760405163086391f760e31b8152336004820152602401610792565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107c9565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a4d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080391906127d5565b610a7a33610754565b610a82610e5a565b6001600160a01b0316336001600160a01b031614610ab55760405163086391f760e31b8152336004820152602401610792565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610b08575f80fd5b505af1158015610b1a573d5f803e3d5ffd5b505050505050565b5f610b2c33610754565b610b34610e5a565b6001600160a01b0316336001600160a01b031614610b675760405163086391f760e31b8152336004820152602401610792565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610bb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bdc919061276e565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b610c4833610754565b610c50610e5a565b6001600160a01b0316336001600160a01b031614610c835760405163086391f760e31b8152336004820152602401610792565b5050565b5f610c9061113a565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ccb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080391906127f0565b33610cf861113a565b6001600160a01b0316816001600160a01b031614610d335760405162d1953b60e31b81526001600160a01b0382166004820152602401610792565b816001600160a01b03163b5f03610d68576040516361798f2f60e11b81526001600160a01b0383166004820152602401610792565b610c8382611d5e565b610d79610e5a565b6001600160a01b0316336001600160a01b031614610dac5760405163086391f760e31b8152336004820152602401610792565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107c9565b610ded610e5a565b6001600160a01b0316336001600160a01b031614610e205760405163086391f760e31b8152336004820152602401610792565b600354604051638689231360e01b81526001600160a01b038481166004830152831515602483015290911690638689231390604401610af1565b5f805f80516020612a1383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ec6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea91906127d5565b15610f75576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6f919061280b565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612a3383398151915280545f9190600160a01b900460ff16610fb2575f610f6f565b638fb3603760e01b91505090565b610fc8610e5a565b6001600160a01b0316336001600160a01b031614610ffb5760405163086391f760e31b8152336004820152602401610792565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107c9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611074573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611098919061280b565b6001600160a01b0316336001600160a01b03161461097b575f80fd5b6110bd33610754565b6110c5610e5a565b6001600160a01b0316336001600160a01b0316146110f85760405163086391f760e31b8152336004820152602401610792565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610af1565b5f80516020612a33833981519152546001600160a01b031690565b61115e33610754565b611166610e5a565b6001600160a01b0316336001600160a01b0316146111995760405163086391f760e31b8152336004820152602401610792565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156111e5575f80fd5b505af115801561097b573d5f803e3d5ffd5b5f8061120233610754565b61120a610e5a565b6001600160a01b0316336001600160a01b03161461123d5760405163086391f760e31b8152336004820152602401610792565b9250929050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112885750825b90505f826001600160401b031660011480156112a35750303b155b9050811580156112b1575080155b156112cf5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112f957845460ff60401b1916600160401b1785555b6001600160a01b038e16611320576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506114238e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611385573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113a9919061280b565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140a919061276e565b600a60018c60405180602001604052805f815250611dbe565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611507575f80fd5b505af1158015611519573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a0919061280b565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b1580156115e6575f80fd5b505af11580156115f8573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561165b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167f919061280b565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b1580156116c5575f80fd5b505af11580156116d7573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611727575f80fd5b505af1158015611739573d5f803e3d5ffd5b5050505061174f6001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa1580156117a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c7919061280b565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa15801561183b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185f919061280b565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff191687151517905561189d633dc0613160e01b611f05565b83156118e357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f6118fd33610754565b611905610e5a565b6001600160a01b0316336001600160a01b0316146119385760405163086391f760e31b8152336004820152602401610792565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015611988573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610931919061276e565b919050565b6119ba33610754565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a24919061280b565b6001600160a01b031614611a4d576040516345789cf560e01b8152306004820152602401610792565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f80516020612a338339815191525f80611aa7611a8a61113a565b8730611a9960045f8a8c612826565b611aa29161284d565b611f38565b9150915081610b1a5763ffffffff811615611b4257825460ff60a01b1916600160a01b178355611ad561113a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b0493929190612885565b5f604051808303815f87803b158015611b1b575f80fd5b505af1158015611b2d573d5f803e3d5ffd5b5050845460ff60a01b1916855550610b1a9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610792565b5f805f80516020612a1383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611bd1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf591906127d5565b15611c215780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610792565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9791906127d5565b611cbf5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610792565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d35919061276e565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612a3383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611dc6612040565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611e1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4091906127d5565b611e685760405163cf6935e560e01b81526001600160a01b0388166004820152602401610792565b611e718761208b565b611e7b868361209c565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611eea838261290d565b50611efb634a531f3360e01b611f05565b5050505050505050565b611f0d612040565b611f35816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fa691906129c7565b5f60405180830381855afa9150503d805f8114611fde576040519150601f19603f3d011682016040523d82523d5f602084013e611fe3565b606091505b50915091508115612035576040815110612015578080602001905181019061200b91906129dd565b9094509250612035565b6020815110612035578080602001905181019061203291906127d5565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661208957604051631afcd79f60e31b815260040160405180910390fd5b565b612093612040565b611f3581612112565b6120a4612040565b6120ac612123565b6120b58261216b565b6001600160a01b0381166120dc5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612a1383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61211a612040565b611f3581611d5e565b61212b612040565b6120896301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612173612040565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156121c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ed91906127d5565b6122155760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610792565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215612247575f80fd5b81356001600160e01b03198116811461225e575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516122db608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261231f610100840182612265565b949350505050565b6001600160a01b0381168114611f35575f80fd5b5f6020828403121561234b575f80fd5b813561225e81612327565b5f60208284031215612366575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112612390575f80fd5b81356001600160401b038111156123a9576123a961236d565b604051601f8201601f19908116603f011681016001600160401b03811182821017156123d7576123d761236d565b6040528181528382016020018510156123ee575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146119ac575f80fd5b5f805f8060608587031215612433575f80fd5b84356001600160401b03811115612448575f80fd5b61245487828801612381565b94505060208501356001600160401b0381111561246f575f80fd5b8501601f8101871361247f575f80fd5b80356001600160401b03811115612494575f80fd5b8760208260051b84010111156124a8575f80fd5b602091909101935091506124be6040860161240a565b905092959194509250565b5f602082840312156124d9575f80fd5b813564ffffffffff8116811461225e575f80fd5b6001600160601b0381168114611f35575f80fd5b5f60208284031215612511575f80fd5b813561225e816124ed565b5f806040838503121561252d575f80fd5b823561253881612327565b9150602083013561254881612327565b809150509250929050565b5f8060408385031215612564575f80fd5b823561256f81612327565b915060208301356001600160401b03811115612589575f80fd5b61259585828601612381565b9150509250929050565b8015158114611f35575f80fd5b5f80604083850312156125bd575f80fd5b82356125c881612327565b915060208301356125488161259f565b5f602082840312156125e8575f80fd5b813561225e8161259f565b5f805f8060808587031215612606575f80fd5b843561261181612327565b9350602085013561262181612327565b925060408501359150606085013561263881612327565b939692955090935050565b5f8060408385031215612654575f80fd5b6125388361240a565b5f806040838503121561266e575f80fd5b82356001600160401b03811115612683575f80fd5b61268f85828601612381565b92505060208301356001600160401b03811115612589575f80fd5b60ff81168114611f35575f80fd5b5f805f805f805f805f6101208a8c0312156126d1575f80fd5b89356126dc81612327565b985060208a01356126ec81612327565b975060408a01356126fc81612327565b965060608a013561270c81612327565b955060808a013561271c81612327565b945060a08a013561272c81612327565b935060c08a013561273c816126aa565b925060e08a013561274c81612327565b91506101008a013561275d8161259f565b809150509295985092959850929598565b5f6020828403121561277e575f80fd5b815161225e816124ed565b600181811c9082168061279d57607f821691505b6020821081036127bb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156127e5575f80fd5b815161225e8161259f565b5f60208284031215612800575f80fd5b815161225e816126aa565b5f6020828403121561281b575f80fd5b815161225e81612327565b5f8085851115612834575f80fd5b83861115612840575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561287e576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561290857805f5260205f20601f840160051c810160208510156128e95750805b601f840160051c820191505b818110156107f2575f81556001016128f5565b505050565b81516001600160401b038111156129265761292661236d565b61293a816129348454612789565b846128c4565b6020601f82116001811461296c575f83156129555750848201515b5f19600385901b1c1916600184901b1784556107f2565b5f84815260208120601f198516915b8281101561299b578785015182556020948501946001909201910161297b565b50848210156129b857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f80604083850312156129ee575f80fd5b82516129f98161259f565b602084015190925063ffffffff81168114612548575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e4a2da9820b8468c972fd178f3feb12b27fa2e33f09f3fb6c01316cadc8c0ab164736f6c634300081a0033",
977
+ "linkReferences": {
978
+ "contracts/shared/ContractLib.sol": {
979
+ "ContractLib": [
2145
980
  {
2146
981
  "length": 20,
2147
- "start": 21417
982
+ "start": 7680
2148
983
  },
2149
984
  {
2150
985
  "length": 20,
2151
- "start": 21580
986
+ "start": 8621
2152
987
  }
2153
988
  ]
2154
989
  },
2155
- "contracts/types/Version.sol": {
2156
- "VersionLib": [
2157
- {
2158
- "length": 20,
2159
- "start": 1906
2160
- }
2161
- ],
2162
- "VersionPartLib": [
2163
- {
2164
- "length": 20,
2165
- "start": 4737
2166
- },
2167
- {
2168
- "length": 20,
2169
- "start": 4864
2170
- },
2171
- {
2172
- "length": 20,
2173
- "start": 4991
2174
- },
990
+ "contracts/type/NftId.sol": {
991
+ "NftIdLib": [
2175
992
  {
2176
993
  "length": 20,
2177
- "start": 21742
994
+ "start": 1560
2178
995
  },
2179
996
  {
2180
997
  "length": 20,
2181
- "start": 21869
998
+ "start": 3754
2182
999
  },
2183
1000
  {
2184
1001
  "length": 20,
2185
- "start": 21996
1002
+ "start": 7093
2186
1003
  }
2187
1004
  ]
2188
1005
  }
2189
1006
  },
2190
1007
  "deployedLinkReferences": {
2191
- "contracts/types/Blocknumber.sol": {
2192
- "BlocknumberLib": [
2193
- {
2194
- "length": 20,
2195
- "start": 4341
2196
- }
2197
- ]
2198
- },
2199
- "contracts/types/NftId.sol": {
2200
- "NftIdLib": [
2201
- {
2202
- "length": 20,
2203
- "start": 11585
2204
- },
2205
- {
2206
- "length": 20,
2207
- "start": 11744
2208
- },
2209
- {
2210
- "length": 20,
2211
- "start": 14531
2212
- }
2213
- ]
2214
- },
2215
- "contracts/types/NftIdSet.sol": {
2216
- "LibNftIdSet": [
1008
+ "contracts/shared/ContractLib.sol": {
1009
+ "ContractLib": [
2217
1010
  {
2218
1011
  "length": 20,
2219
- "start": 7598
1012
+ "start": 7652
2220
1013
  },
2221
1014
  {
2222
1015
  "length": 20,
2223
- "start": 9386
2224
- },
2225
- {
2226
- "length": 20,
2227
- "start": 9577
2228
- },
2229
- {
2230
- "length": 20,
2231
- "start": 9800
2232
- },
2233
- {
2234
- "length": 20,
2235
- "start": 14385
2236
- },
2237
- {
2238
- "length": 20,
2239
- "start": 15045
2240
- }
2241
- ]
2242
- },
2243
- "contracts/types/Timestamp.sol": {
2244
- "TimestampLib": [
2245
- {
2246
- "length": 20,
2247
- "start": 3863
2248
- }
2249
- ]
2250
- },
2251
- "contracts/types/UFixed.sol": {
2252
- "UFixedMathLib": [
2253
- {
2254
- "length": 20,
2255
- "start": 4478
2256
- },
2257
- {
2258
- "length": 20,
2259
- "start": 10506
2260
- },
2261
- {
2262
- "length": 20,
2263
- "start": 15291
2264
- },
2265
- {
2266
- "length": 20,
2267
- "start": 15454
1016
+ "start": 8593
2268
1017
  }
2269
1018
  ]
2270
1019
  },
2271
- "contracts/types/Version.sol": {
2272
- "VersionPartLib": [
1020
+ "contracts/type/NftId.sol": {
1021
+ "NftIdLib": [
2273
1022
  {
2274
1023
  "length": 20,
2275
- "start": 15616
1024
+ "start": 1532
2276
1025
  },
2277
1026
  {
2278
1027
  "length": 20,
2279
- "start": 15743
1028
+ "start": 3726
2280
1029
  },
2281
1030
  {
2282
1031
  "length": 20,
2283
- "start": 15870
1032
+ "start": 7065
2284
1033
  }
2285
1034
  ]
2286
1035
  }