@etherisc/gif-next 0.0.2-f72939c-683 → 0.0.2-f73b68c-992

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