@etherisc/gif-next 0.0.2-e46206a-486 → 0.0.2-e4d7e1c-013

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