@etherisc/gif-next 0.0.2-edc084c-558 → 0.0.2-edc2c3a-751

Sign up to get free protection for your applications and to get access to all the features.
Files changed (696) hide show
  1. package/README.md +77 -10
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
  4. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  6. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  8. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  10. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  12. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  14. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  18. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1292 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +333 -316
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1494 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +862 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +885 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +221 -327
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1441 -0
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1991 -0
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  46. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1429 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1145 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2293 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  62. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +808 -0
  64. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +350 -1997
  66. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +189 -113
  68. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/Instance.sol/Instance.json +406 -2791
  70. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1684 -0
  72. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  74. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1328 -331
  76. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +264 -425
  78. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +156 -151
  80. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3668 -0
  82. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  84. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  86. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  88. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  90. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  92. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  94. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  95. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  96. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  101. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  102. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  103. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  104. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +929 -0
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  106. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  107. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  109. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +744 -0
  111. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  112. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +282 -179
  113. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  114. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +256 -253
  115. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +990 -0
  117. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +766 -0
  119. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  120. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +325 -479
  121. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  123. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1360 -0
  125. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  127. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +323 -60
  129. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  130. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → pool/IPoolComponent.sol/IPoolComponent.json} +333 -286
  131. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1285 -0
  133. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  134. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +353 -420
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1619 -0
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +794 -0
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +806 -0
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  144. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +391 -442
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1439 -0
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +858 -0
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  152. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +117 -166
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  156. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPolicyService.sol/IPolicyService.json} +485 -385
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +578 -0
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +973 -0
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  162. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +41 -62
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1313 -0
  165. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  166. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +810 -0
  167. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  168. package/artifacts/contracts/product/PricingService.sol/PricingService.json +923 -0
  169. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  170. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  171. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  172. package/artifacts/contracts/product/Product.sol/Product.json +1074 -0
  173. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  174. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  175. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  176. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  177. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  179. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +457 -27
  181. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  182. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +263 -110
  183. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  184. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  185. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  186. package/artifacts/contracts/registry/Registry.sol/Registry.json +949 -128
  187. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  188. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1899 -0
  189. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +349 -245
  191. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  192. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +161 -94
  193. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  194. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  195. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  196. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  197. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  198. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  199. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  200. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  201. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  202. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +274 -204
  203. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  204. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1908 -0
  205. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  206. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +850 -0
  207. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  208. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +124 -125
  209. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  210. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  211. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  212. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  213. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  214. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  215. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  216. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +128 -131
  217. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  218. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1467 -0
  219. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  220. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +679 -0
  221. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  222. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  223. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  224. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  225. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  226. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -10
  227. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  229. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +28 -6
  231. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  233. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IService.sol/IService.json +46 -6
  235. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  236. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  237. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  238. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +767 -0
  239. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  240. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  241. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  243. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  244. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  245. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  246. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -70
  247. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  248. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  249. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  250. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +69 -99
  251. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  252. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  253. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  254. package/artifacts/contracts/shared/Service.sol/Service.json +58 -112
  255. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +734 -8
  257. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  258. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  259. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  260. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  261. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  262. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → staking/IStaking.sol/IStaking.json} +695 -607
  263. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  264. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  265. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  266. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  267. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  268. package/artifacts/contracts/staking/Staking.sol/Staking.json +1816 -0
  269. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  270. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  271. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  272. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +780 -0
  273. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  274. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  275. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  276. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1265 -0
  277. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  278. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +734 -0
  279. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  280. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  281. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  282. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  283. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  284. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  285. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  286. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  287. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  288. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  289. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  291. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  292. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  293. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  294. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  295. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  296. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  297. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  298. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  299. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  300. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  301. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  302. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  303. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  305. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  307. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  309. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  310. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  311. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  312. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +180 -0
  313. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  315. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  316. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  317. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  318. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  319. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  320. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  321. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  322. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  323. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  325. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  326. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  327. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  328. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  329. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  330. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  331. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  332. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  333. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  334. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  335. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  336. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  337. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  338. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  339. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  340. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  341. package/contracts/authorization/AccessAdmin.sol +615 -0
  342. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  343. package/contracts/authorization/Authorization.sol +289 -0
  344. package/contracts/authorization/IAccess.sol +49 -0
  345. package/contracts/authorization/IAccessAdmin.sol +137 -0
  346. package/contracts/authorization/IAuthorization.sol +60 -0
  347. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  348. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  349. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  350. package/contracts/distribution/BasicDistribution.sol +139 -0
  351. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  352. package/contracts/{components → distribution}/Distribution.sol +170 -163
  353. package/contracts/distribution/DistributionService.sol +354 -0
  354. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  355. package/contracts/distribution/IDistributionComponent.sol +52 -0
  356. package/contracts/{instance/service → distribution}/IDistributionService.sol +35 -34
  357. package/contracts/examples/fire/DamageLevel.sol +59 -0
  358. package/contracts/examples/fire/FirePool.sol +90 -0
  359. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  360. package/contracts/examples/fire/FireProduct.sol +436 -0
  361. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  362. package/contracts/examples/fire/FireUSD.sol +26 -0
  363. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  364. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  365. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  366. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  367. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  368. package/contracts/examples/unpermissioned/SimpleProduct.sol +352 -0
  369. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  370. package/contracts/instance/BundleSet.sol +130 -0
  371. package/contracts/instance/IInstance.sol +45 -72
  372. package/contracts/instance/IInstanceService.sol +37 -39
  373. package/contracts/instance/Instance.sol +162 -250
  374. package/contracts/instance/InstanceAdmin.sol +288 -0
  375. package/contracts/instance/InstanceAuthorizationV3.sol +218 -0
  376. package/contracts/instance/InstanceReader.sol +351 -61
  377. package/contracts/instance/InstanceService.sol +250 -353
  378. package/contracts/instance/InstanceServiceManager.sol +14 -29
  379. package/contracts/instance/InstanceStore.sol +287 -0
  380. package/contracts/instance/RiskSet.sol +119 -0
  381. package/contracts/instance/base/BalanceStore.sol +123 -0
  382. package/contracts/instance/base/Cloneable.sol +28 -0
  383. package/contracts/instance/base/ObjectCounter.sol +20 -0
  384. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  385. package/contracts/instance/base/ObjectSet.sol +78 -0
  386. package/contracts/instance/module/IAccess.sol +4 -12
  387. package/contracts/instance/module/IBundle.sol +6 -9
  388. package/contracts/instance/module/IComponents.sol +27 -18
  389. package/contracts/instance/module/IDistribution.sol +6 -6
  390. package/contracts/instance/module/IPolicy.sol +48 -35
  391. package/contracts/instance/module/IRisk.sol +2 -1
  392. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  393. package/contracts/oracle/BasicOracle.sol +47 -0
  394. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  395. package/contracts/oracle/IOracle.sol +36 -0
  396. package/contracts/oracle/IOracleComponent.sol +33 -0
  397. package/contracts/oracle/IOracleService.sol +66 -0
  398. package/contracts/oracle/Oracle.sol +156 -0
  399. package/contracts/oracle/OracleService.sol +309 -0
  400. package/contracts/oracle/OracleServiceManager.sol +39 -0
  401. package/contracts/pool/BasicPool.sol +175 -0
  402. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  403. package/contracts/pool/BundleService.sol +423 -0
  404. package/contracts/pool/BundleServiceManager.sol +39 -0
  405. package/contracts/pool/IBundleService.sol +122 -0
  406. package/contracts/pool/IPoolComponent.sol +62 -0
  407. package/contracts/pool/IPoolService.sol +153 -0
  408. package/contracts/pool/Pool.sol +345 -0
  409. package/contracts/pool/PoolService.sol +612 -0
  410. package/contracts/pool/PoolServiceManager.sol +39 -0
  411. package/contracts/product/ApplicationService.sol +259 -0
  412. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  413. package/contracts/product/BasicProduct.sol +49 -0
  414. package/contracts/product/BasicProductAuthorization.sol +41 -0
  415. package/contracts/product/ClaimService.sol +614 -0
  416. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  417. package/contracts/{instance/service → product}/IApplicationService.sol +19 -35
  418. package/contracts/product/IClaimService.sol +123 -0
  419. package/contracts/product/IPolicyService.sol +90 -0
  420. package/contracts/product/IPricingService.sol +39 -0
  421. package/contracts/product/IProductComponent.sol +59 -0
  422. package/contracts/product/IRiskService.sol +33 -0
  423. package/contracts/product/PolicyService.sol +733 -0
  424. package/contracts/product/PolicyServiceManager.sol +39 -0
  425. package/contracts/product/PricingService.sol +300 -0
  426. package/contracts/product/PricingServiceManager.sol +39 -0
  427. package/contracts/product/Product.sol +427 -0
  428. package/contracts/product/RiskService.sol +107 -0
  429. package/contracts/product/RiskServiceManager.sol +39 -0
  430. package/contracts/registry/ChainNft.sol +79 -40
  431. package/contracts/registry/IRegistry.sol +98 -26
  432. package/contracts/registry/IRegistryService.sol +34 -40
  433. package/contracts/registry/ITransferInterceptor.sol +1 -2
  434. package/contracts/registry/Registry.sol +453 -195
  435. package/contracts/registry/RegistryAdmin.sol +457 -0
  436. package/contracts/registry/RegistryService.sol +87 -128
  437. package/contracts/registry/RegistryServiceManager.sol +23 -32
  438. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  439. package/contracts/registry/ReleaseRegistry.sol +486 -0
  440. package/contracts/registry/ServiceAuthorizationV3.sol +176 -0
  441. package/contracts/registry/TokenRegistry.sol +261 -62
  442. package/contracts/shared/Component.sol +219 -0
  443. package/contracts/shared/ComponentService.sol +869 -0
  444. package/contracts/shared/ComponentServiceManager.sol +38 -0
  445. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  446. package/contracts/shared/ContractLib.sol +224 -0
  447. package/contracts/shared/IComponent.sol +62 -0
  448. package/contracts/shared/IComponentService.sol +134 -0
  449. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  450. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  451. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  452. package/contracts/shared/INftOwnable.sol +4 -2
  453. package/contracts/shared/IPolicyHolder.sol +23 -14
  454. package/contracts/shared/IRegisterable.sol +11 -0
  455. package/contracts/shared/IRegistryLinked.sol +0 -1
  456. package/contracts/shared/IService.sol +12 -3
  457. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  458. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  459. package/contracts/shared/KeyValueStore.sol +131 -0
  460. package/contracts/shared/Lifecycle.sol +88 -0
  461. package/contracts/shared/NftIdSet.sol +65 -0
  462. package/contracts/shared/NftOwnable.sol +32 -25
  463. package/contracts/shared/PolicyHolder.sol +22 -41
  464. package/contracts/shared/Registerable.sol +32 -23
  465. package/contracts/shared/RegistryLinked.sol +9 -19
  466. package/contracts/shared/Service.sol +48 -36
  467. package/contracts/shared/TokenHandler.sol +368 -12
  468. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  469. package/contracts/staking/IStaking.sol +173 -0
  470. package/contracts/staking/IStakingService.sol +157 -0
  471. package/contracts/staking/StakeManagerLib.sol +224 -0
  472. package/contracts/staking/Staking.sol +515 -0
  473. package/contracts/staking/StakingLifecycle.sol +23 -0
  474. package/contracts/staking/StakingManager.sol +52 -0
  475. package/contracts/staking/StakingReader.sol +190 -0
  476. package/contracts/staking/StakingService.sol +440 -0
  477. package/contracts/staking/StakingServiceManager.sol +44 -0
  478. package/contracts/staking/StakingStore.sol +605 -0
  479. package/contracts/staking/TargetManagerLib.sol +211 -0
  480. package/contracts/{types → type}/AddressSet.sol +1 -1
  481. package/contracts/type/Amount.sol +150 -0
  482. package/contracts/{types → type}/Blocknumber.sol +26 -3
  483. package/contracts/{types → type}/ClaimId.sol +31 -3
  484. package/contracts/{types → type}/Fee.sol +24 -22
  485. package/contracts/{types → type}/Key32.sol +2 -2
  486. package/contracts/type/Key32Set.sol +62 -0
  487. package/contracts/{types → type}/NftId.sol +21 -16
  488. package/contracts/{types → type}/NftIdSet.sol +2 -2
  489. package/contracts/type/ObjectType.sol +278 -0
  490. package/contracts/type/PayoutId.sol +82 -0
  491. package/contracts/{types → type}/Referral.sol +2 -1
  492. package/contracts/type/RequestId.sol +75 -0
  493. package/contracts/{types → type}/RiskId.sol +31 -5
  494. package/contracts/type/RoleId.sol +162 -0
  495. package/contracts/type/Seconds.sol +101 -0
  496. package/contracts/type/Selector.sol +102 -0
  497. package/contracts/{types → type}/StateId.sol +47 -4
  498. package/contracts/type/String.sol +53 -0
  499. package/contracts/{types → type}/Timestamp.sol +21 -2
  500. package/contracts/{types → type}/UFixed.sol +40 -121
  501. package/contracts/{types → type}/Version.sol +4 -2
  502. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  503. package/contracts/{shared → upgradeability}/ProxyManager.sol +93 -30
  504. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  505. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  506. package/package.json +11 -7
  507. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  508. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  509. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  510. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  511. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  512. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  513. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  514. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  515. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  516. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  517. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  518. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  519. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  520. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  521. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  522. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  523. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  524. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  525. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  526. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  527. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  528. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  529. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  530. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  531. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  532. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  533. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  534. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  535. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1039
  536. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  537. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
  538. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  539. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
  540. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  541. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  542. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  543. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
  544. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  546. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  547. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  548. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  550. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  551. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  552. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  553. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  554. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  555. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  556. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  557. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  558. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1092
  559. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  560. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  561. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  563. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  565. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  567. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  569. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  570. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  571. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  572. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  573. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  574. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  575. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  576. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  577. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  578. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  579. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  580. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  581. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  582. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  583. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  584. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  585. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  586. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  587. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  588. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  589. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  590. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  591. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  592. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  593. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  594. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  595. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  596. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  597. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  598. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  599. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  600. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  601. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  602. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  603. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  605. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  607. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  608. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  609. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  611. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  612. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  613. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  614. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  615. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  616. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  617. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  618. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  619. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  620. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  621. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  622. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  623. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  624. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  625. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  626. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  627. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  628. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  629. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  630. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  631. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  632. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  633. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  634. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  635. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  636. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  637. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  638. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  639. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  640. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  641. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  642. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  643. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  644. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  645. package/contracts/components/Component.sol +0 -253
  646. package/contracts/components/IComponent.sol +0 -76
  647. package/contracts/components/IDistributionComponent.sol +0 -71
  648. package/contracts/components/IPoolComponent.sol +0 -113
  649. package/contracts/components/IProductComponent.sol +0 -40
  650. package/contracts/components/Pool.sol +0 -303
  651. package/contracts/components/Product.sol +0 -293
  652. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  653. package/contracts/instance/BundleManager.sol +0 -127
  654. package/contracts/instance/Cloneable.sol +0 -51
  655. package/contracts/instance/InstanceAccessManager.sol +0 -527
  656. package/contracts/instance/ObjectManager.sol +0 -82
  657. package/contracts/instance/base/ComponentService.sol +0 -121
  658. package/contracts/instance/base/KeyValueStore.sol +0 -180
  659. package/contracts/instance/base/Lifecycle.sol +0 -109
  660. package/contracts/instance/module/ISetup.sol +0 -33
  661. package/contracts/instance/module/ITreasury.sol +0 -23
  662. package/contracts/instance/service/ApplicationService.sol +0 -350
  663. package/contracts/instance/service/BundleService.sol +0 -431
  664. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  665. package/contracts/instance/service/ClaimService.sol +0 -151
  666. package/contracts/instance/service/DistributionService.sol +0 -435
  667. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  668. package/contracts/instance/service/IBundleService.sol +0 -93
  669. package/contracts/instance/service/IClaimService.sol +0 -61
  670. package/contracts/instance/service/IPolicyService.sol +0 -72
  671. package/contracts/instance/service/IPoolService.sol +0 -99
  672. package/contracts/instance/service/IProductService.sol +0 -40
  673. package/contracts/instance/service/PolicyService.sol +0 -362
  674. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  675. package/contracts/instance/service/PoolService.sol +0 -303
  676. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  677. package/contracts/instance/service/ProductService.sol +0 -210
  678. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  679. package/contracts/registry/RegistryAccessManager.sol +0 -216
  680. package/contracts/registry/ReleaseManager.sol +0 -324
  681. package/contracts/shared/ContractDeployerLib.sol +0 -72
  682. package/contracts/test/TestFee.sol +0 -25
  683. package/contracts/test/TestRegisterable.sol +0 -18
  684. package/contracts/test/TestRoleId.sol +0 -14
  685. package/contracts/test/TestService.sol +0 -25
  686. package/contracts/test/TestToken.sol +0 -26
  687. package/contracts/test/TestVersion.sol +0 -44
  688. package/contracts/test/TestVersionable.sol +0 -17
  689. package/contracts/types/Amount.sol +0 -60
  690. package/contracts/types/ChainId.sol +0 -38
  691. package/contracts/types/NumberId.sol +0 -52
  692. package/contracts/types/ObjectType.sol +0 -157
  693. package/contracts/types/PayoutId.sol +0 -54
  694. package/contracts/types/RoleId.sol +0 -97
  695. package/contracts/types/Seconds.sol +0 -54
  696. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -44,296 +44,233 @@
44
44
  {
45
45
  "inputs": [
46
46
  {
47
- "internalType": "ObjectType",
48
- "name": "objectType",
49
- "type": "uint8"
50
- },
47
+ "internalType": "address",
48
+ "name": "instanceBundleSet",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorInstanceBundleSetAlreadySet",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
51
57
  {
52
- "internalType": "StateId",
53
- "name": "fromStateId",
54
- "type": "uint8"
55
- },
58
+ "internalType": "address",
59
+ "name": "instanceAuthority",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
56
68
  {
57
- "internalType": "StateId",
58
- "name": "toStateId",
59
- "type": "uint8"
69
+ "internalType": "address",
70
+ "name": "instance",
71
+ "type": "address"
60
72
  }
61
73
  ],
62
- "name": "ErrorInvalidStateTransition",
74
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
63
75
  "type": "error"
64
76
  },
65
77
  {
66
78
  "inputs": [
67
79
  {
68
- "internalType": "NftId",
69
- "name": "nftId",
70
- "type": "uint96"
80
+ "internalType": "address",
81
+ "name": "InstanceAdmin",
82
+ "type": "address"
71
83
  }
72
84
  ],
73
- "name": "ErrorNftOwnableAlreadyLinked",
85
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
74
86
  "type": "error"
75
87
  },
76
88
  {
77
89
  "inputs": [
78
90
  {
79
91
  "internalType": "address",
80
- "name": "contractAddress",
92
+ "name": "instanceAuthority",
81
93
  "type": "address"
82
94
  }
83
95
  ],
84
- "name": "ErrorNftOwnableContractNotRegistered",
96
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
85
97
  "type": "error"
86
98
  },
87
99
  {
88
100
  "inputs": [],
89
- "name": "ErrorNftOwnableInitialOwnerZero",
101
+ "name": "ErrorInstanceInstanceAdminZero",
90
102
  "type": "error"
91
103
  },
92
104
  {
93
105
  "inputs": [
94
106
  {
95
107
  "internalType": "address",
96
- "name": "account",
108
+ "name": "instanceAuthority",
97
109
  "type": "address"
98
110
  }
99
111
  ],
100
- "name": "ErrorNftOwnableNotOwner",
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
101
113
  "type": "error"
102
114
  },
103
115
  {
104
116
  "inputs": [
105
117
  {
106
- "internalType": "NftId",
107
- "name": "nftId",
108
- "type": "uint96"
109
- },
110
- {
111
- "internalType": "ObjectType",
112
- "name": "objectType",
113
- "type": "uint8"
118
+ "internalType": "address",
119
+ "name": "instanceStore",
120
+ "type": "address"
114
121
  }
115
122
  ],
116
- "name": "ErrorNoLifecycle",
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
117
124
  "type": "error"
118
125
  },
119
126
  {
120
127
  "inputs": [
121
128
  {
122
129
  "internalType": "address",
123
- "name": "registryAddress",
130
+ "name": "instanceAuthority",
124
131
  "type": "address"
125
132
  }
126
133
  ],
127
- "name": "ErrorNotRegistry",
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
128
135
  "type": "error"
129
136
  },
130
137
  {
131
- "inputs": [],
132
- "name": "InvalidInitialization",
138
+ "inputs": [
139
+ {
140
+ "internalType": "address",
141
+ "name": "instanceRiskSet",
142
+ "type": "address"
143
+ }
144
+ ],
145
+ "name": "ErrorInstanceRiskSetAlreadySet",
133
146
  "type": "error"
134
147
  },
135
148
  {
136
- "inputs": [],
137
- "name": "NotInitializing",
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "instanceAuthority",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "ErrorInstanceRiskSetAuthorityMismatch",
138
157
  "type": "error"
139
158
  },
140
159
  {
141
- "anonymous": false,
142
160
  "inputs": [
143
161
  {
144
- "indexed": false,
145
162
  "internalType": "address",
146
- "name": "authority",
163
+ "name": "instance",
147
164
  "type": "address"
148
165
  }
149
166
  ],
150
- "name": "AuthorityUpdated",
151
- "type": "event"
167
+ "name": "ErrorInstanceRiskSetInstanceMismatch",
168
+ "type": "error"
152
169
  },
153
170
  {
154
- "anonymous": false,
155
171
  "inputs": [
156
172
  {
157
- "indexed": false,
158
- "internalType": "uint64",
159
- "name": "version",
160
- "type": "uint64"
173
+ "internalType": "NftId",
174
+ "name": "nftId",
175
+ "type": "uint96"
161
176
  }
162
177
  ],
163
- "name": "Initialized",
164
- "type": "event"
178
+ "name": "ErrorNftOwnableAlreadyLinked",
179
+ "type": "error"
165
180
  },
166
181
  {
167
- "anonymous": false,
168
182
  "inputs": [
169
183
  {
170
- "indexed": false,
171
- "internalType": "ObjectType",
172
- "name": "objectType",
173
- "type": "uint8"
174
- },
175
- {
176
- "indexed": false,
177
- "internalType": "KeyId",
178
- "name": "keyId",
179
- "type": "bytes31"
180
- },
181
- {
182
- "indexed": false,
183
- "internalType": "StateId",
184
- "name": "state",
185
- "type": "uint8"
186
- },
187
- {
188
- "indexed": false,
189
- "internalType": "address",
190
- "name": "createdBy",
191
- "type": "address"
192
- },
193
- {
194
- "indexed": false,
195
184
  "internalType": "address",
196
- "name": "txOrigin",
185
+ "name": "contractAddress",
197
186
  "type": "address"
198
187
  }
199
188
  ],
200
- "name": "LogInfoCreated",
201
- "type": "event"
189
+ "name": "ErrorNftOwnableContractNotRegistered",
190
+ "type": "error"
191
+ },
192
+ {
193
+ "inputs": [],
194
+ "name": "ErrorNftOwnableInitialOwnerZero",
195
+ "type": "error"
202
196
  },
203
197
  {
204
- "anonymous": false,
205
198
  "inputs": [
206
199
  {
207
- "indexed": false,
208
- "internalType": "ObjectType",
209
- "name": "objectType",
210
- "type": "uint8"
211
- },
212
- {
213
- "indexed": false,
214
- "internalType": "KeyId",
215
- "name": "keyId",
216
- "type": "bytes31"
200
+ "internalType": "NftId",
201
+ "name": "nftId",
202
+ "type": "uint96"
217
203
  },
218
204
  {
219
- "indexed": false,
220
- "internalType": "StateId",
221
- "name": "state",
205
+ "internalType": "ObjectType",
206
+ "name": "expectedObjectType",
222
207
  "type": "uint8"
223
- },
224
- {
225
- "indexed": false,
226
- "internalType": "address",
227
- "name": "updatedBy",
228
- "type": "address"
229
- },
230
- {
231
- "indexed": false,
232
- "internalType": "address",
233
- "name": "txOrigin",
234
- "type": "address"
235
- },
236
- {
237
- "indexed": false,
238
- "internalType": "Blocknumber",
239
- "name": "lastUpdatedIn",
240
- "type": "uint32"
241
208
  }
242
209
  ],
243
- "name": "LogInfoUpdated",
244
- "type": "event"
210
+ "name": "ErrorNftOwnableInvalidType",
211
+ "type": "error"
245
212
  },
246
213
  {
247
- "anonymous": false,
248
214
  "inputs": [
249
215
  {
250
- "indexed": false,
251
- "internalType": "ObjectType",
252
- "name": "objectType",
253
- "type": "uint8"
254
- },
255
- {
256
- "indexed": false,
257
- "internalType": "KeyId",
258
- "name": "keyId",
259
- "type": "bytes31"
260
- },
261
- {
262
- "indexed": false,
263
- "internalType": "StateId",
264
- "name": "stateOld",
265
- "type": "uint8"
266
- },
267
- {
268
- "indexed": false,
269
- "internalType": "StateId",
270
- "name": "stateNew",
271
- "type": "uint8"
272
- },
273
- {
274
- "indexed": false,
275
216
  "internalType": "address",
276
- "name": "updatedBy",
217
+ "name": "account",
277
218
  "type": "address"
278
- },
219
+ }
220
+ ],
221
+ "name": "ErrorNftOwnableNotOwner",
222
+ "type": "error"
223
+ },
224
+ {
225
+ "inputs": [
279
226
  {
280
- "indexed": false,
281
227
  "internalType": "address",
282
- "name": "txOrigin",
228
+ "name": "registryAddress",
283
229
  "type": "address"
284
- },
285
- {
286
- "indexed": false,
287
- "internalType": "Blocknumber",
288
- "name": "lastUpdatedIn",
289
- "type": "uint32"
290
230
  }
291
231
  ],
292
- "name": "LogStateUpdated",
293
- "type": "event"
232
+ "name": "ErrorNotRegistry",
233
+ "type": "error"
294
234
  },
295
235
  {
296
236
  "inputs": [],
297
- "name": "ADMIN_ROLE",
298
- "outputs": [
299
- {
300
- "internalType": "uint64",
301
- "name": "",
302
- "type": "uint64"
303
- }
304
- ],
305
- "stateMutability": "view",
306
- "type": "function"
237
+ "name": "InvalidInitialization",
238
+ "type": "error"
307
239
  },
308
240
  {
309
241
  "inputs": [],
310
- "name": "CUSTOM_ROLE_ID_MIN",
311
- "outputs": [
242
+ "name": "NotInitializing",
243
+ "type": "error"
244
+ },
245
+ {
246
+ "anonymous": false,
247
+ "inputs": [
312
248
  {
313
- "internalType": "uint64",
314
- "name": "",
315
- "type": "uint64"
249
+ "indexed": false,
250
+ "internalType": "address",
251
+ "name": "authority",
252
+ "type": "address"
316
253
  }
317
254
  ],
318
- "stateMutability": "view",
319
- "type": "function"
255
+ "name": "AuthorityUpdated",
256
+ "type": "event"
320
257
  },
321
258
  {
322
- "inputs": [],
323
- "name": "EXECUTION_DELAY",
324
- "outputs": [
259
+ "anonymous": false,
260
+ "inputs": [
325
261
  {
326
- "internalType": "uint32",
327
- "name": "",
328
- "type": "uint32"
262
+ "indexed": false,
263
+ "internalType": "uint64",
264
+ "name": "version",
265
+ "type": "uint64"
329
266
  }
330
267
  ],
331
- "stateMutability": "view",
332
- "type": "function"
268
+ "name": "Initialized",
269
+ "type": "event"
333
270
  },
334
271
  {
335
272
  "inputs": [],
336
- "name": "GIF_MAJOR_VERSION",
273
+ "name": "GIF_RELEASE",
337
274
  "outputs": [
338
275
  {
339
276
  "internalType": "uint256",
@@ -357,19 +294,6 @@
357
294
  "stateMutability": "view",
358
295
  "type": "function"
359
296
  },
360
- {
361
- "inputs": [],
362
- "name": "PUBLIC_ROLE",
363
- "outputs": [
364
- {
365
- "internalType": "uint64",
366
- "name": "",
367
- "type": "uint64"
368
- }
369
- ],
370
- "stateMutability": "view",
371
- "type": "function"
372
- },
373
297
  {
374
298
  "inputs": [],
375
299
  "name": "REGISTERABLE_LOCATION_V1",
@@ -399,2063 +323,231 @@
399
323
  {
400
324
  "inputs": [
401
325
  {
402
- "internalType": "ObjectType",
403
- "name": "objectType",
404
- "type": "uint8"
326
+ "internalType": "string",
327
+ "name": "roleName",
328
+ "type": "string"
405
329
  },
406
330
  {
407
- "internalType": "StateId",
408
- "name": "fromId",
409
- "type": "uint8"
331
+ "internalType": "string",
332
+ "name": "adminName",
333
+ "type": "string"
334
+ }
335
+ ],
336
+ "name": "createRole",
337
+ "outputs": [
338
+ {
339
+ "internalType": "RoleId",
340
+ "name": "roleId",
341
+ "type": "uint64"
410
342
  },
411
343
  {
412
- "internalType": "StateId",
413
- "name": "toId",
414
- "type": "uint8"
344
+ "internalType": "RoleId",
345
+ "name": "admin",
346
+ "type": "uint64"
415
347
  }
416
348
  ],
417
- "name": "checkTransition",
418
- "outputs": [],
419
- "stateMutability": "view",
349
+ "stateMutability": "nonpayable",
420
350
  "type": "function"
421
351
  },
422
352
  {
423
353
  "inputs": [
424
354
  {
425
- "internalType": "NftId",
426
- "name": "applicationNftId",
427
- "type": "uint96"
355
+ "internalType": "address",
356
+ "name": "target",
357
+ "type": "address"
428
358
  },
429
359
  {
430
- "components": [
431
- {
432
- "internalType": "NftId",
433
- "name": "productNftId",
434
- "type": "uint96"
435
- },
436
- {
437
- "internalType": "NftId",
438
- "name": "bundleNftId",
439
- "type": "uint96"
440
- },
441
- {
442
- "internalType": "ReferralId",
443
- "name": "referralId",
444
- "type": "bytes8"
445
- },
446
- {
447
- "internalType": "RiskId",
448
- "name": "riskId",
449
- "type": "bytes8"
450
- },
451
- {
452
- "internalType": "uint256",
453
- "name": "sumInsuredAmount",
454
- "type": "uint256"
455
- },
456
- {
457
- "internalType": "uint256",
458
- "name": "premiumAmount",
459
- "type": "uint256"
460
- },
461
- {
462
- "internalType": "uint256",
463
- "name": "premiumPaidAmount",
464
- "type": "uint256"
465
- },
466
- {
467
- "internalType": "Seconds",
468
- "name": "lifetime",
469
- "type": "uint40"
470
- },
471
- {
472
- "internalType": "bytes",
473
- "name": "applicationData",
474
- "type": "bytes"
475
- },
476
- {
477
- "internalType": "bytes",
478
- "name": "policyData",
479
- "type": "bytes"
480
- },
481
- {
482
- "internalType": "uint16",
483
- "name": "claimsCount",
484
- "type": "uint16"
485
- },
486
- {
487
- "internalType": "uint16",
488
- "name": "openClaimsCount",
489
- "type": "uint16"
490
- },
491
- {
492
- "internalType": "uint256",
493
- "name": "payoutAmount",
494
- "type": "uint256"
495
- },
496
- {
497
- "internalType": "Timestamp",
498
- "name": "activatedAt",
499
- "type": "uint40"
500
- },
501
- {
502
- "internalType": "Timestamp",
503
- "name": "expiredAt",
504
- "type": "uint40"
505
- },
506
- {
507
- "internalType": "Timestamp",
508
- "name": "closedAt",
509
- "type": "uint40"
510
- }
511
- ],
512
- "internalType": "struct IPolicy.PolicyInfo",
513
- "name": "policy",
514
- "type": "tuple"
515
- }
516
- ],
517
- "name": "createApplication",
518
- "outputs": [],
519
- "stateMutability": "nonpayable",
520
- "type": "function"
521
- },
522
- {
523
- "inputs": [
524
- {
525
- "internalType": "NftId",
526
- "name": "bundleNftId",
527
- "type": "uint96"
528
- },
529
- {
530
- "components": [
531
- {
532
- "internalType": "NftId",
533
- "name": "poolNftId",
534
- "type": "uint96"
535
- },
536
- {
537
- "components": [
538
- {
539
- "internalType": "UFixed",
540
- "name": "fractionalFee",
541
- "type": "uint256"
542
- },
543
- {
544
- "internalType": "uint256",
545
- "name": "fixedFee",
546
- "type": "uint256"
547
- }
548
- ],
549
- "internalType": "struct Fee",
550
- "name": "fee",
551
- "type": "tuple"
552
- },
553
- {
554
- "internalType": "bytes",
555
- "name": "filter",
556
- "type": "bytes"
557
- },
558
- {
559
- "internalType": "Amount",
560
- "name": "capitalAmount",
561
- "type": "uint96"
562
- },
563
- {
564
- "internalType": "Amount",
565
- "name": "lockedAmount",
566
- "type": "uint96"
567
- },
568
- {
569
- "internalType": "Amount",
570
- "name": "feeAmount",
571
- "type": "uint96"
572
- },
573
- {
574
- "internalType": "Seconds",
575
- "name": "lifetime",
576
- "type": "uint40"
577
- },
578
- {
579
- "internalType": "Timestamp",
580
- "name": "expiredAt",
581
- "type": "uint40"
582
- },
583
- {
584
- "internalType": "Timestamp",
585
- "name": "closedAt",
586
- "type": "uint40"
587
- }
588
- ],
589
- "internalType": "struct IBundle.BundleInfo",
590
- "name": "bundle",
591
- "type": "tuple"
592
- }
593
- ],
594
- "name": "createBundle",
595
- "outputs": [],
596
- "stateMutability": "nonpayable",
597
- "type": "function"
598
- },
599
- {
600
- "inputs": [
601
- {
602
- "internalType": "NftId",
603
- "name": "policyNftId",
604
- "type": "uint96"
605
- },
606
- {
607
- "internalType": "ClaimId",
608
- "name": "claimId",
609
- "type": "uint16"
610
- },
611
- {
612
- "components": [
613
- {
614
- "internalType": "uint256",
615
- "name": "claimAmount",
616
- "type": "uint256"
617
- },
618
- {
619
- "internalType": "uint256",
620
- "name": "paidAmount",
621
- "type": "uint256"
622
- },
623
- {
624
- "internalType": "bytes",
625
- "name": "data",
626
- "type": "bytes"
627
- },
628
- {
629
- "internalType": "Timestamp",
630
- "name": "closedAt",
631
- "type": "uint40"
632
- }
633
- ],
634
- "internalType": "struct IPolicy.ClaimInfo",
635
- "name": "claim",
636
- "type": "tuple"
637
- }
638
- ],
639
- "name": "createClaim",
640
- "outputs": [],
641
- "stateMutability": "nonpayable",
642
- "type": "function"
643
- },
644
- {
645
- "inputs": [
646
- {
647
- "internalType": "NftId",
648
- "name": "distributionNftId",
649
- "type": "uint96"
650
- },
651
- {
652
- "components": [
653
- {
654
- "internalType": "NftId",
655
- "name": "productNftId",
656
- "type": "uint96"
657
- },
658
- {
659
- "internalType": "contract TokenHandler",
660
- "name": "tokenHandler",
661
- "type": "address"
662
- },
663
- {
664
- "components": [
665
- {
666
- "internalType": "UFixed",
667
- "name": "fractionalFee",
668
- "type": "uint256"
669
- },
670
- {
671
- "internalType": "uint256",
672
- "name": "fixedFee",
673
- "type": "uint256"
674
- }
675
- ],
676
- "internalType": "struct Fee",
677
- "name": "minDistributionOwnerFee",
678
- "type": "tuple"
679
- },
680
- {
681
- "components": [
682
- {
683
- "internalType": "UFixed",
684
- "name": "fractionalFee",
685
- "type": "uint256"
686
- },
687
- {
688
- "internalType": "uint256",
689
- "name": "fixedFee",
690
- "type": "uint256"
691
- }
692
- ],
693
- "internalType": "struct Fee",
694
- "name": "distributionFee",
695
- "type": "tuple"
696
- },
697
- {
698
- "internalType": "address",
699
- "name": "wallet",
700
- "type": "address"
701
- },
702
- {
703
- "internalType": "uint256",
704
- "name": "sumDistributionOwnerFees",
705
- "type": "uint256"
706
- }
707
- ],
708
- "internalType": "struct ISetup.DistributionSetupInfo",
709
- "name": "setup",
710
- "type": "tuple"
711
- }
712
- ],
713
- "name": "createDistributionSetup",
714
- "outputs": [],
715
- "stateMutability": "nonpayable",
716
- "type": "function"
717
- },
718
- {
719
- "inputs": [
720
- {
721
- "internalType": "NftId",
722
- "name": "nftId",
723
- "type": "uint96"
724
- },
725
- {
726
- "components": [
727
- {
728
- "internalType": "DistributorType",
729
- "name": "distributorType",
730
- "type": "bytes8"
731
- },
732
- {
733
- "internalType": "bool",
734
- "name": "active",
735
- "type": "bool"
736
- },
737
- {
738
- "internalType": "bytes",
739
- "name": "data",
740
- "type": "bytes"
741
- },
742
- {
743
- "internalType": "uint256",
744
- "name": "sumCommisions",
745
- "type": "uint256"
746
- },
747
- {
748
- "internalType": "uint256",
749
- "name": "numPoliciesSold",
750
- "type": "uint256"
751
- }
752
- ],
753
- "internalType": "struct IDistribution.DistributorInfo",
754
- "name": "info",
755
- "type": "tuple"
756
- }
757
- ],
758
- "name": "createDistributor",
759
- "outputs": [],
760
- "stateMutability": "nonpayable",
761
- "type": "function"
762
- },
763
- {
764
- "inputs": [
765
- {
766
- "internalType": "Key32",
767
- "name": "distributorKey",
768
- "type": "bytes32"
769
- },
770
- {
771
- "components": [
772
- {
773
- "internalType": "string",
774
- "name": "name",
775
- "type": "string"
776
- },
777
- {
778
- "internalType": "UFixed",
779
- "name": "minDiscountPercentage",
780
- "type": "uint256"
781
- },
782
- {
783
- "internalType": "UFixed",
784
- "name": "maxDiscountPercentage",
785
- "type": "uint256"
786
- },
787
- {
788
- "internalType": "UFixed",
789
- "name": "commissionPercentage",
790
- "type": "uint256"
791
- },
792
- {
793
- "internalType": "uint32",
794
- "name": "maxReferralCount",
795
- "type": "uint32"
796
- },
797
- {
798
- "internalType": "uint32",
799
- "name": "maxReferralLifetime",
800
- "type": "uint32"
801
- },
802
- {
803
- "internalType": "bool",
804
- "name": "allowSelfReferrals",
805
- "type": "bool"
806
- },
807
- {
808
- "internalType": "bool",
809
- "name": "allowRenewals",
810
- "type": "bool"
811
- },
812
- {
813
- "internalType": "bytes",
814
- "name": "data",
815
- "type": "bytes"
816
- }
817
- ],
818
- "internalType": "struct IDistribution.DistributorTypeInfo",
819
- "name": "info",
820
- "type": "tuple"
821
- }
822
- ],
823
- "name": "createDistributorType",
824
- "outputs": [],
825
- "stateMutability": "nonpayable",
826
- "type": "function"
827
- },
828
- {
829
- "inputs": [
830
- {
831
- "internalType": "NftId",
832
- "name": "policyNftId",
833
- "type": "uint96"
834
- },
835
- {
836
- "internalType": "NumberId",
837
- "name": "payoutId",
838
- "type": "uint32"
839
- },
840
- {
841
- "components": [
842
- {
843
- "internalType": "ClaimId",
844
- "name": "claimId",
845
- "type": "uint16"
846
- },
847
- {
848
- "internalType": "uint256",
849
- "name": "amount",
850
- "type": "uint256"
851
- },
852
- {
853
- "internalType": "bytes",
854
- "name": "data",
855
- "type": "bytes"
856
- },
857
- {
858
- "internalType": "Timestamp",
859
- "name": "paidAt",
860
- "type": "uint40"
861
- }
862
- ],
863
- "internalType": "struct IPolicy.PayoutInfo",
864
- "name": "payout",
865
- "type": "tuple"
866
- }
867
- ],
868
- "name": "createPayout",
869
- "outputs": [],
870
- "stateMutability": "nonpayable",
871
- "type": "function"
872
- },
873
- {
874
- "inputs": [
875
- {
876
- "internalType": "NftId",
877
- "name": "poolNftId",
878
- "type": "uint96"
879
- },
880
- {
881
- "components": [
882
- {
883
- "internalType": "string",
884
- "name": "name",
885
- "type": "string"
886
- },
887
- {
888
- "internalType": "contract IERC20Metadata",
889
- "name": "token",
890
- "type": "address"
891
- },
892
- {
893
- "internalType": "contract TokenHandler",
894
- "name": "tokenHandler",
895
- "type": "address"
896
- },
897
- {
898
- "internalType": "address",
899
- "name": "wallet",
900
- "type": "address"
901
- },
902
- {
903
- "internalType": "Amount",
904
- "name": "balanceAmount",
905
- "type": "uint96"
906
- },
907
- {
908
- "internalType": "Amount",
909
- "name": "feeAmount",
910
- "type": "uint96"
911
- },
912
- {
913
- "internalType": "bytes",
914
- "name": "data",
915
- "type": "bytes"
916
- }
917
- ],
918
- "internalType": "struct IComponents.ComponentInfo",
919
- "name": "info",
920
- "type": "tuple"
921
- }
922
- ],
923
- "name": "createPoolSetup",
924
- "outputs": [],
925
- "stateMutability": "nonpayable",
926
- "type": "function"
927
- },
928
- {
929
- "inputs": [
930
- {
931
- "internalType": "NftId",
932
- "name": "productNftId",
933
- "type": "uint96"
934
- },
935
- {
936
- "components": [
937
- {
938
- "internalType": "contract IERC20Metadata",
939
- "name": "token",
940
- "type": "address"
941
- },
942
- {
943
- "internalType": "contract TokenHandler",
944
- "name": "tokenHandler",
945
- "type": "address"
946
- },
947
- {
948
- "internalType": "NftId",
949
- "name": "distributionNftId",
950
- "type": "uint96"
951
- },
952
- {
953
- "internalType": "NftId",
954
- "name": "poolNftId",
955
- "type": "uint96"
956
- },
957
- {
958
- "components": [
959
- {
960
- "internalType": "UFixed",
961
- "name": "fractionalFee",
962
- "type": "uint256"
963
- },
964
- {
965
- "internalType": "uint256",
966
- "name": "fixedFee",
967
- "type": "uint256"
968
- }
969
- ],
970
- "internalType": "struct Fee",
971
- "name": "productFee",
972
- "type": "tuple"
973
- },
974
- {
975
- "components": [
976
- {
977
- "internalType": "UFixed",
978
- "name": "fractionalFee",
979
- "type": "uint256"
980
- },
981
- {
982
- "internalType": "uint256",
983
- "name": "fixedFee",
984
- "type": "uint256"
985
- }
986
- ],
987
- "internalType": "struct Fee",
988
- "name": "processingFee",
989
- "type": "tuple"
990
- },
991
- {
992
- "internalType": "bool",
993
- "name": "isIntercepting",
994
- "type": "bool"
995
- },
996
- {
997
- "internalType": "address",
998
- "name": "wallet",
999
- "type": "address"
1000
- }
1001
- ],
1002
- "internalType": "struct ISetup.ProductSetupInfo",
1003
- "name": "setup",
1004
- "type": "tuple"
1005
- }
1006
- ],
1007
- "name": "createProductSetup",
1008
- "outputs": [],
1009
- "stateMutability": "nonpayable",
1010
- "type": "function"
1011
- },
1012
- {
1013
- "inputs": [
1014
- {
1015
- "internalType": "Key32",
1016
- "name": "referralKey",
1017
- "type": "bytes32"
1018
- },
1019
- {
1020
- "components": [
1021
- {
1022
- "internalType": "NftId",
1023
- "name": "distributorNftId",
1024
- "type": "uint96"
1025
- },
1026
- {
1027
- "internalType": "string",
1028
- "name": "referralCode",
1029
- "type": "string"
1030
- },
1031
- {
1032
- "internalType": "UFixed",
1033
- "name": "discountPercentage",
1034
- "type": "uint256"
1035
- },
1036
- {
1037
- "internalType": "uint32",
1038
- "name": "maxReferrals",
1039
- "type": "uint32"
1040
- },
1041
- {
1042
- "internalType": "uint32",
1043
- "name": "usedReferrals",
1044
- "type": "uint32"
1045
- },
1046
- {
1047
- "internalType": "Timestamp",
1048
- "name": "expiryAt",
1049
- "type": "uint40"
1050
- },
1051
- {
1052
- "internalType": "bytes",
1053
- "name": "data",
1054
- "type": "bytes"
1055
- }
1056
- ],
1057
- "internalType": "struct IDistribution.ReferralInfo",
1058
- "name": "referralInfo",
1059
- "type": "tuple"
1060
- }
1061
- ],
1062
- "name": "createReferral",
1063
- "outputs": [],
1064
- "stateMutability": "nonpayable",
1065
- "type": "function"
1066
- },
1067
- {
1068
- "inputs": [
1069
- {
1070
- "internalType": "RiskId",
1071
- "name": "riskId",
1072
- "type": "bytes8"
1073
- },
1074
- {
1075
- "components": [
1076
- {
1077
- "internalType": "NftId",
1078
- "name": "productNftId",
1079
- "type": "uint96"
1080
- },
1081
- {
1082
- "internalType": "bytes",
1083
- "name": "data",
1084
- "type": "bytes"
1085
- }
1086
- ],
1087
- "internalType": "struct IRisk.RiskInfo",
1088
- "name": "risk",
1089
- "type": "tuple"
1090
- }
1091
- ],
1092
- "name": "createRisk",
1093
- "outputs": [],
1094
- "stateMutability": "nonpayable",
1095
- "type": "function"
1096
- },
1097
- {
1098
- "inputs": [
1099
- {
1100
- "internalType": "Key32",
1101
- "name": "key32",
1102
- "type": "bytes32"
1103
- }
1104
- ],
1105
- "name": "exists",
1106
- "outputs": [
1107
- {
1108
- "internalType": "bool",
1109
- "name": "",
1110
- "type": "bool"
1111
- }
1112
- ],
1113
- "stateMutability": "view",
1114
- "type": "function"
1115
- },
1116
- {
1117
- "inputs": [
1118
- {
1119
- "internalType": "Key32",
1120
- "name": "key32",
1121
- "type": "bytes32"
1122
- }
1123
- ],
1124
- "name": "get",
1125
- "outputs": [
1126
- {
1127
- "components": [
1128
- {
1129
- "components": [
1130
- {
1131
- "internalType": "ObjectType",
1132
- "name": "objectType",
1133
- "type": "uint8"
1134
- },
1135
- {
1136
- "internalType": "StateId",
1137
- "name": "state",
1138
- "type": "uint8"
1139
- },
1140
- {
1141
- "internalType": "address",
1142
- "name": "updatedBy",
1143
- "type": "address"
1144
- },
1145
- {
1146
- "internalType": "Blocknumber",
1147
- "name": "updatedIn",
1148
- "type": "uint32"
1149
- },
1150
- {
1151
- "internalType": "Blocknumber",
1152
- "name": "createdIn",
1153
- "type": "uint32"
1154
- }
1155
- ],
1156
- "internalType": "struct IKeyValueStore.Metadata",
1157
- "name": "metadata",
1158
- "type": "tuple"
1159
- },
1160
- {
1161
- "internalType": "bytes",
1162
- "name": "data",
1163
- "type": "bytes"
1164
- }
1165
- ],
1166
- "internalType": "struct IKeyValueStore.Value",
1167
- "name": "value",
1168
- "type": "tuple"
1169
- }
1170
- ],
1171
- "stateMutability": "view",
1172
- "type": "function"
1173
- },
1174
- {
1175
- "inputs": [],
1176
- "name": "getBundleManager",
1177
- "outputs": [
1178
- {
1179
- "internalType": "contract BundleManager",
1180
- "name": "",
1181
- "type": "address"
1182
- }
1183
- ],
1184
- "stateMutability": "view",
1185
- "type": "function"
1186
- },
1187
- {
1188
- "inputs": [],
1189
- "name": "getBundleService",
1190
- "outputs": [
1191
- {
1192
- "internalType": "contract IBundleService",
1193
- "name": "",
1194
- "type": "address"
1195
- }
1196
- ],
1197
- "stateMutability": "view",
1198
- "type": "function"
1199
- },
1200
- {
1201
- "inputs": [
1202
- {
1203
- "internalType": "Key32",
1204
- "name": "key32",
1205
- "type": "bytes32"
1206
- }
1207
- ],
1208
- "name": "getData",
1209
- "outputs": [
1210
- {
1211
- "internalType": "bytes",
1212
- "name": "data",
1213
- "type": "bytes"
1214
- }
1215
- ],
1216
- "stateMutability": "view",
1217
- "type": "function"
1218
- },
1219
- {
1220
- "inputs": [],
1221
- "name": "getDistributionService",
1222
- "outputs": [
1223
- {
1224
- "internalType": "contract IDistributionService",
1225
- "name": "",
1226
- "type": "address"
1227
- }
1228
- ],
1229
- "stateMutability": "view",
1230
- "type": "function"
1231
- },
1232
- {
1233
- "inputs": [],
1234
- "name": "getInitialInfo",
1235
- "outputs": [
1236
- {
1237
- "components": [
1238
- {
1239
- "internalType": "NftId",
1240
- "name": "nftId",
1241
- "type": "uint96"
1242
- },
1243
- {
1244
- "internalType": "NftId",
1245
- "name": "parentNftId",
1246
- "type": "uint96"
1247
- },
1248
- {
1249
- "internalType": "ObjectType",
1250
- "name": "objectType",
1251
- "type": "uint8"
1252
- },
1253
- {
1254
- "internalType": "bool",
1255
- "name": "isInterceptor",
1256
- "type": "bool"
1257
- },
1258
- {
1259
- "internalType": "address",
1260
- "name": "objectAddress",
1261
- "type": "address"
1262
- },
1263
- {
1264
- "internalType": "address",
1265
- "name": "initialOwner",
1266
- "type": "address"
1267
- },
1268
- {
1269
- "internalType": "bytes",
1270
- "name": "data",
1271
- "type": "bytes"
1272
- }
1273
- ],
1274
- "internalType": "struct IRegistry.ObjectInfo",
1275
- "name": "info",
1276
- "type": "tuple"
1277
- }
1278
- ],
1279
- "stateMutability": "view",
1280
- "type": "function"
1281
- },
1282
- {
1283
- "inputs": [
1284
- {
1285
- "internalType": "ObjectType",
1286
- "name": "objectType",
1287
- "type": "uint8"
1288
- }
1289
- ],
1290
- "name": "getInitialState",
1291
- "outputs": [
1292
- {
1293
- "internalType": "StateId",
1294
- "name": "",
1295
- "type": "uint8"
1296
- }
1297
- ],
1298
- "stateMutability": "view",
1299
- "type": "function"
1300
- },
1301
- {
1302
- "inputs": [],
1303
- "name": "getInstanceAccessManager",
1304
- "outputs": [
1305
- {
1306
- "internalType": "contract InstanceAccessManager",
1307
- "name": "",
1308
- "type": "address"
1309
- }
1310
- ],
1311
- "stateMutability": "view",
1312
- "type": "function"
1313
- },
1314
- {
1315
- "inputs": [],
1316
- "name": "getInstanceReader",
1317
- "outputs": [
1318
- {
1319
- "internalType": "contract InstanceReader",
1320
- "name": "",
1321
- "type": "address"
1322
- }
1323
- ],
1324
- "stateMutability": "view",
1325
- "type": "function"
1326
- },
1327
- {
1328
- "inputs": [],
1329
- "name": "getMajorVersion",
1330
- "outputs": [
1331
- {
1332
- "internalType": "VersionPart",
1333
- "name": "majorVersion",
1334
- "type": "uint8"
1335
- }
1336
- ],
1337
- "stateMutability": "pure",
1338
- "type": "function"
1339
- },
1340
- {
1341
- "inputs": [
1342
- {
1343
- "internalType": "Key32",
1344
- "name": "key32",
1345
- "type": "bytes32"
1346
- }
1347
- ],
1348
- "name": "getMetadata",
1349
- "outputs": [
1350
- {
1351
- "components": [
1352
- {
1353
- "internalType": "ObjectType",
1354
- "name": "objectType",
1355
- "type": "uint8"
1356
- },
1357
- {
1358
- "internalType": "StateId",
1359
- "name": "state",
1360
- "type": "uint8"
1361
- },
1362
- {
1363
- "internalType": "address",
1364
- "name": "updatedBy",
1365
- "type": "address"
1366
- },
1367
- {
1368
- "internalType": "Blocknumber",
1369
- "name": "updatedIn",
1370
- "type": "uint32"
1371
- },
1372
- {
1373
- "internalType": "Blocknumber",
1374
- "name": "createdIn",
1375
- "type": "uint32"
1376
- }
1377
- ],
1378
- "internalType": "struct IKeyValueStore.Metadata",
1379
- "name": "metadata",
1380
- "type": "tuple"
1381
- }
1382
- ],
1383
- "stateMutability": "view",
1384
- "type": "function"
1385
- },
1386
- {
1387
- "inputs": [],
1388
- "name": "getNftId",
1389
- "outputs": [
1390
- {
1391
- "internalType": "NftId",
1392
- "name": "",
1393
- "type": "uint96"
1394
- }
1395
- ],
1396
- "stateMutability": "view",
1397
- "type": "function"
1398
- },
1399
- {
1400
- "inputs": [],
1401
- "name": "getOwner",
1402
- "outputs": [
1403
- {
1404
- "internalType": "address",
1405
- "name": "",
1406
- "type": "address"
1407
- }
1408
- ],
1409
- "stateMutability": "view",
1410
- "type": "function"
1411
- },
1412
- {
1413
- "inputs": [],
1414
- "name": "getPolicyService",
1415
- "outputs": [
1416
- {
1417
- "internalType": "contract IPolicyService",
1418
- "name": "",
1419
- "type": "address"
1420
- }
1421
- ],
1422
- "stateMutability": "view",
1423
- "type": "function"
1424
- },
1425
- {
1426
- "inputs": [],
1427
- "name": "getPoolService",
1428
- "outputs": [
1429
- {
1430
- "internalType": "contract IPoolService",
1431
- "name": "",
1432
- "type": "address"
1433
- }
1434
- ],
1435
- "stateMutability": "view",
1436
- "type": "function"
1437
- },
1438
- {
1439
- "inputs": [],
1440
- "name": "getProductService",
1441
- "outputs": [
1442
- {
1443
- "internalType": "contract IProductService",
1444
- "name": "",
1445
- "type": "address"
1446
- }
1447
- ],
1448
- "stateMutability": "view",
1449
- "type": "function"
1450
- },
1451
- {
1452
- "inputs": [],
1453
- "name": "getRegistry",
1454
- "outputs": [
1455
- {
1456
- "internalType": "contract IRegistry",
1457
- "name": "",
1458
- "type": "address"
1459
- }
1460
- ],
1461
- "stateMutability": "view",
1462
- "type": "function"
1463
- },
1464
- {
1465
- "inputs": [],
1466
- "name": "getRegistryAddress",
1467
- "outputs": [
1468
- {
1469
- "internalType": "address",
1470
- "name": "",
1471
- "type": "address"
1472
- }
1473
- ],
1474
- "stateMutability": "view",
1475
- "type": "function"
1476
- },
1477
- {
1478
- "inputs": [
1479
- {
1480
- "internalType": "Key32",
1481
- "name": "key32",
1482
- "type": "bytes32"
1483
- }
1484
- ],
1485
- "name": "getState",
1486
- "outputs": [
1487
- {
1488
- "internalType": "StateId",
1489
- "name": "state",
1490
- "type": "uint8"
1491
- }
1492
- ],
1493
- "stateMutability": "view",
1494
- "type": "function"
1495
- },
1496
- {
1497
- "inputs": [
1498
- {
1499
- "internalType": "ObjectType",
1500
- "name": "objectType",
1501
- "type": "uint8"
1502
- }
1503
- ],
1504
- "name": "hasLifecycle",
1505
- "outputs": [
1506
- {
1507
- "internalType": "bool",
1508
- "name": "",
1509
- "type": "bool"
1510
- }
1511
- ],
1512
- "stateMutability": "view",
1513
- "type": "function"
1514
- },
1515
- {
1516
- "inputs": [
1517
- {
1518
- "internalType": "address",
1519
- "name": "authority",
1520
- "type": "address"
1521
- },
1522
- {
1523
- "internalType": "address",
1524
- "name": "registryAddress",
1525
- "type": "address"
1526
- },
1527
- {
1528
- "internalType": "address",
1529
- "name": "initialOwner",
1530
- "type": "address"
1531
- }
1532
- ],
1533
- "name": "initialize",
1534
- "outputs": [],
1535
- "stateMutability": "nonpayable",
1536
- "type": "function"
1537
- },
1538
- {
1539
- "inputs": [],
1540
- "name": "initializeERC165",
1541
- "outputs": [],
1542
- "stateMutability": "nonpayable",
1543
- "type": "function"
1544
- },
1545
- {
1546
- "inputs": [],
1547
- "name": "initializeLifecycle",
1548
- "outputs": [],
1549
- "stateMutability": "nonpayable",
1550
- "type": "function"
1551
- },
1552
- {
1553
- "inputs": [
1554
- {
1555
- "internalType": "address",
1556
- "name": "initialOwner",
1557
- "type": "address"
1558
- },
1559
- {
1560
- "internalType": "address",
1561
- "name": "registryAddress",
1562
- "type": "address"
1563
- }
1564
- ],
1565
- "name": "initializeNftOwnable",
1566
- "outputs": [],
1567
- "stateMutability": "nonpayable",
1568
- "type": "function"
1569
- },
1570
- {
1571
- "inputs": [
1572
- {
1573
- "internalType": "address",
1574
- "name": "registryAddress",
1575
- "type": "address"
1576
- },
1577
- {
1578
- "internalType": "NftId",
1579
- "name": "parentNftId",
1580
- "type": "uint96"
1581
- },
1582
- {
1583
- "internalType": "ObjectType",
1584
- "name": "objectType",
1585
- "type": "uint8"
1586
- },
1587
- {
1588
- "internalType": "bool",
1589
- "name": "isInterceptor",
1590
- "type": "bool"
1591
- },
1592
- {
1593
- "internalType": "address",
1594
- "name": "initialOwner",
1595
- "type": "address"
1596
- },
1597
- {
1598
- "internalType": "bytes",
1599
- "name": "registryData",
1600
- "type": "bytes"
1601
- }
1602
- ],
1603
- "name": "initializeRegisterable",
1604
- "outputs": [],
1605
- "stateMutability": "nonpayable",
1606
- "type": "function"
1607
- },
1608
- {
1609
- "inputs": [
1610
- {
1611
- "internalType": "address",
1612
- "name": "registryAddress",
1613
- "type": "address"
1614
- }
1615
- ],
1616
- "name": "initializeRegistryLinked",
1617
- "outputs": [],
1618
- "stateMutability": "nonpayable",
1619
- "type": "function"
1620
- },
1621
- {
1622
- "inputs": [],
1623
- "name": "isConsumingScheduledOp",
1624
- "outputs": [
1625
- {
1626
- "internalType": "bytes4",
1627
- "name": "",
1628
- "type": "bytes4"
1629
- }
1630
- ],
1631
- "stateMutability": "view",
1632
- "type": "function"
1633
- },
1634
- {
1635
- "inputs": [
1636
- {
1637
- "internalType": "ObjectType",
1638
- "name": "objectType",
1639
- "type": "uint8"
1640
- },
1641
- {
1642
- "internalType": "StateId",
1643
- "name": "fromId",
1644
- "type": "uint8"
1645
- },
1646
- {
1647
- "internalType": "StateId",
1648
- "name": "toId",
1649
- "type": "uint8"
1650
- }
1651
- ],
1652
- "name": "isValidTransition",
1653
- "outputs": [
1654
- {
1655
- "internalType": "bool",
1656
- "name": "",
1657
- "type": "bool"
1658
- }
1659
- ],
1660
- "stateMutability": "view",
1661
- "type": "function"
1662
- },
1663
- {
1664
- "inputs": [],
1665
- "name": "linkToRegisteredNftId",
1666
- "outputs": [],
1667
- "stateMutability": "nonpayable",
1668
- "type": "function"
1669
- },
1670
- {
1671
- "inputs": [
1672
- {
1673
- "internalType": "address",
1674
- "name": "to",
1675
- "type": "address"
1676
- },
1677
- {
1678
- "internalType": "uint256",
1679
- "name": "tokenId",
1680
- "type": "uint256"
1681
- }
1682
- ],
1683
- "name": "nftMint",
1684
- "outputs": [],
1685
- "stateMutability": "nonpayable",
1686
- "type": "function"
1687
- },
1688
- {
1689
- "inputs": [
1690
- {
1691
- "internalType": "address",
1692
- "name": "from",
1693
- "type": "address"
1694
- },
1695
- {
1696
- "internalType": "address",
1697
- "name": "to",
1698
- "type": "address"
1699
- },
1700
- {
1701
- "internalType": "uint256",
1702
- "name": "tokenId",
1703
- "type": "uint256"
1704
- }
1705
- ],
1706
- "name": "nftTransferFrom",
1707
- "outputs": [],
1708
- "stateMutability": "nonpayable",
1709
- "type": "function"
1710
- },
1711
- {
1712
- "inputs": [
1713
- {
1714
- "internalType": "bytes4",
1715
- "name": "interfaceId",
1716
- "type": "bytes4"
1717
- }
1718
- ],
1719
- "name": "registerInterface",
1720
- "outputs": [],
1721
- "stateMutability": "nonpayable",
1722
- "type": "function"
1723
- },
1724
- {
1725
- "inputs": [
1726
- {
1727
- "internalType": "address",
1728
- "name": "newAuthority",
1729
- "type": "address"
1730
- }
1731
- ],
1732
- "name": "setAuthority",
1733
- "outputs": [],
1734
- "stateMutability": "nonpayable",
1735
- "type": "function"
1736
- },
1737
- {
1738
- "inputs": [
1739
- {
1740
- "internalType": "contract BundleManager",
1741
- "name": "bundleManager",
1742
- "type": "address"
1743
- }
1744
- ],
1745
- "name": "setBundleManager",
1746
- "outputs": [],
1747
- "stateMutability": "nonpayable",
1748
- "type": "function"
1749
- },
1750
- {
1751
- "inputs": [
1752
- {
1753
- "internalType": "contract InstanceAccessManager",
1754
- "name": "accessManager",
1755
- "type": "address"
1756
- }
1757
- ],
1758
- "name": "setInstanceAccessManager",
1759
- "outputs": [],
1760
- "stateMutability": "nonpayable",
1761
- "type": "function"
1762
- },
1763
- {
1764
- "inputs": [
1765
- {
1766
- "internalType": "contract InstanceReader",
1767
- "name": "instanceReader",
1768
- "type": "address"
1769
- }
1770
- ],
1771
- "name": "setInstanceReader",
1772
- "outputs": [],
1773
- "stateMutability": "nonpayable",
1774
- "type": "function"
1775
- },
1776
- {
1777
- "inputs": [
1778
- {
1779
- "internalType": "bytes4",
1780
- "name": "interfaceId",
1781
- "type": "bytes4"
1782
- }
1783
- ],
1784
- "name": "supportsInterface",
1785
- "outputs": [
1786
- {
1787
- "internalType": "bool",
1788
- "name": "",
1789
- "type": "bool"
1790
- }
1791
- ],
1792
- "stateMutability": "view",
1793
- "type": "function"
1794
- },
1795
- {
1796
- "inputs": [
1797
- {
1798
- "internalType": "NftId",
1799
- "name": "bundleNftId",
1800
- "type": "uint96"
1801
- }
1802
- ],
1803
- "name": "toBundleKey32",
1804
- "outputs": [
1805
- {
1806
- "internalType": "Key32",
1807
- "name": "",
1808
- "type": "bytes32"
1809
- }
1810
- ],
1811
- "stateMutability": "pure",
1812
- "type": "function"
1813
- },
1814
- {
1815
- "inputs": [
1816
- {
1817
- "internalType": "NftId",
1818
- "name": "distNftId",
1819
- "type": "uint96"
1820
- }
1821
- ],
1822
- "name": "toDistributionKey32",
1823
- "outputs": [
1824
- {
1825
- "internalType": "Key32",
1826
- "name": "",
1827
- "type": "bytes32"
1828
- }
1829
- ],
1830
- "stateMutability": "pure",
1831
- "type": "function"
1832
- },
1833
- {
1834
- "inputs": [
1835
- {
1836
- "internalType": "NftId",
1837
- "name": "distNftId",
1838
- "type": "uint96"
1839
- }
1840
- ],
1841
- "name": "toDistributorKey32",
1842
- "outputs": [
1843
- {
1844
- "internalType": "Key32",
1845
- "name": "",
1846
- "type": "bytes32"
1847
- }
1848
- ],
1849
- "stateMutability": "pure",
1850
- "type": "function"
1851
- },
1852
- {
1853
- "inputs": [
1854
- {
1855
- "internalType": "NftId",
1856
- "name": "distNftId",
1857
- "type": "uint96"
1858
- }
1859
- ],
1860
- "name": "toDistributorTypeKey32",
1861
- "outputs": [
1862
- {
1863
- "internalType": "Key32",
1864
- "name": "",
1865
- "type": "bytes32"
1866
- }
1867
- ],
1868
- "stateMutability": "pure",
1869
- "type": "function"
1870
- },
1871
- {
1872
- "inputs": [
1873
- {
1874
- "internalType": "ObjectType",
1875
- "name": "objectType",
1876
- "type": "uint8"
1877
- },
1878
- {
1879
- "internalType": "KeyId",
1880
- "name": "id",
1881
- "type": "bytes31"
1882
- }
1883
- ],
1884
- "name": "toKey32",
1885
- "outputs": [
1886
- {
1887
- "internalType": "Key32",
1888
- "name": "",
1889
- "type": "bytes32"
1890
- }
1891
- ],
1892
- "stateMutability": "pure",
1893
- "type": "function"
1894
- },
1895
- {
1896
- "inputs": [
1897
- {
1898
- "internalType": "NftId",
1899
- "name": "policyNftId",
1900
- "type": "uint96"
1901
- }
1902
- ],
1903
- "name": "toPolicyKey32",
1904
- "outputs": [
1905
- {
1906
- "internalType": "Key32",
1907
- "name": "",
1908
- "type": "bytes32"
1909
- }
1910
- ],
1911
- "stateMutability": "pure",
1912
- "type": "function"
1913
- },
1914
- {
1915
- "inputs": [
1916
- {
1917
- "internalType": "NftId",
1918
- "name": "applicationNftId",
1919
- "type": "uint96"
1920
- },
1921
- {
1922
- "components": [
1923
- {
1924
- "internalType": "NftId",
1925
- "name": "productNftId",
1926
- "type": "uint96"
1927
- },
1928
- {
1929
- "internalType": "NftId",
1930
- "name": "bundleNftId",
1931
- "type": "uint96"
1932
- },
1933
- {
1934
- "internalType": "ReferralId",
1935
- "name": "referralId",
1936
- "type": "bytes8"
1937
- },
1938
- {
1939
- "internalType": "RiskId",
1940
- "name": "riskId",
1941
- "type": "bytes8"
1942
- },
1943
- {
1944
- "internalType": "uint256",
1945
- "name": "sumInsuredAmount",
1946
- "type": "uint256"
1947
- },
1948
- {
1949
- "internalType": "uint256",
1950
- "name": "premiumAmount",
1951
- "type": "uint256"
1952
- },
1953
- {
1954
- "internalType": "uint256",
1955
- "name": "premiumPaidAmount",
1956
- "type": "uint256"
1957
- },
1958
- {
1959
- "internalType": "Seconds",
1960
- "name": "lifetime",
1961
- "type": "uint40"
1962
- },
1963
- {
1964
- "internalType": "bytes",
1965
- "name": "applicationData",
1966
- "type": "bytes"
1967
- },
1968
- {
1969
- "internalType": "bytes",
1970
- "name": "policyData",
1971
- "type": "bytes"
1972
- },
1973
- {
1974
- "internalType": "uint16",
1975
- "name": "claimsCount",
1976
- "type": "uint16"
1977
- },
1978
- {
1979
- "internalType": "uint16",
1980
- "name": "openClaimsCount",
1981
- "type": "uint16"
1982
- },
1983
- {
1984
- "internalType": "uint256",
1985
- "name": "payoutAmount",
1986
- "type": "uint256"
1987
- },
1988
- {
1989
- "internalType": "Timestamp",
1990
- "name": "activatedAt",
1991
- "type": "uint40"
1992
- },
1993
- {
1994
- "internalType": "Timestamp",
1995
- "name": "expiredAt",
1996
- "type": "uint40"
1997
- },
1998
- {
1999
- "internalType": "Timestamp",
2000
- "name": "closedAt",
2001
- "type": "uint40"
2002
- }
2003
- ],
2004
- "internalType": "struct IPolicy.PolicyInfo",
2005
- "name": "policy",
2006
- "type": "tuple"
2007
- },
2008
- {
2009
- "internalType": "StateId",
2010
- "name": "newState",
2011
- "type": "uint8"
360
+ "internalType": "string",
361
+ "name": "name",
362
+ "type": "string"
2012
363
  }
2013
364
  ],
2014
- "name": "updateApplication",
365
+ "name": "createTarget",
2015
366
  "outputs": [],
2016
367
  "stateMutability": "nonpayable",
2017
368
  "type": "function"
2018
369
  },
2019
370
  {
2020
- "inputs": [
2021
- {
2022
- "internalType": "NftId",
2023
- "name": "applicationNftId",
2024
- "type": "uint96"
2025
- },
371
+ "inputs": [],
372
+ "name": "getBundleSet",
373
+ "outputs": [
2026
374
  {
2027
- "internalType": "StateId",
2028
- "name": "newState",
2029
- "type": "uint8"
375
+ "internalType": "contract BundleSet",
376
+ "name": "",
377
+ "type": "address"
2030
378
  }
2031
379
  ],
2032
- "name": "updateApplicationState",
2033
- "outputs": [],
2034
- "stateMutability": "nonpayable",
380
+ "stateMutability": "view",
2035
381
  "type": "function"
2036
382
  },
2037
383
  {
2038
- "inputs": [
2039
- {
2040
- "internalType": "NftId",
2041
- "name": "bundleNftId",
2042
- "type": "uint96"
2043
- },
384
+ "inputs": [],
385
+ "name": "getInitialInfo",
386
+ "outputs": [
2044
387
  {
2045
388
  "components": [
2046
389
  {
2047
390
  "internalType": "NftId",
2048
- "name": "poolNftId",
2049
- "type": "uint96"
2050
- },
2051
- {
2052
- "components": [
2053
- {
2054
- "internalType": "UFixed",
2055
- "name": "fractionalFee",
2056
- "type": "uint256"
2057
- },
2058
- {
2059
- "internalType": "uint256",
2060
- "name": "fixedFee",
2061
- "type": "uint256"
2062
- }
2063
- ],
2064
- "internalType": "struct Fee",
2065
- "name": "fee",
2066
- "type": "tuple"
2067
- },
2068
- {
2069
- "internalType": "bytes",
2070
- "name": "filter",
2071
- "type": "bytes"
2072
- },
2073
- {
2074
- "internalType": "Amount",
2075
- "name": "capitalAmount",
2076
- "type": "uint96"
2077
- },
2078
- {
2079
- "internalType": "Amount",
2080
- "name": "lockedAmount",
391
+ "name": "nftId",
2081
392
  "type": "uint96"
2082
393
  },
2083
394
  {
2084
- "internalType": "Amount",
2085
- "name": "feeAmount",
395
+ "internalType": "NftId",
396
+ "name": "parentNftId",
2086
397
  "type": "uint96"
2087
398
  },
2088
399
  {
2089
- "internalType": "Seconds",
2090
- "name": "lifetime",
2091
- "type": "uint40"
400
+ "internalType": "ObjectType",
401
+ "name": "objectType",
402
+ "type": "uint8"
2092
403
  },
2093
404
  {
2094
- "internalType": "Timestamp",
2095
- "name": "expiredAt",
2096
- "type": "uint40"
405
+ "internalType": "bool",
406
+ "name": "isInterceptor",
407
+ "type": "bool"
2097
408
  },
2098
409
  {
2099
- "internalType": "Timestamp",
2100
- "name": "closedAt",
2101
- "type": "uint40"
2102
- }
2103
- ],
2104
- "internalType": "struct IBundle.BundleInfo",
2105
- "name": "bundle",
2106
- "type": "tuple"
2107
- },
2108
- {
2109
- "internalType": "StateId",
2110
- "name": "newState",
2111
- "type": "uint8"
2112
- }
2113
- ],
2114
- "name": "updateBundle",
2115
- "outputs": [],
2116
- "stateMutability": "nonpayable",
2117
- "type": "function"
2118
- },
2119
- {
2120
- "inputs": [
2121
- {
2122
- "internalType": "NftId",
2123
- "name": "bundleNftId",
2124
- "type": "uint96"
2125
- },
2126
- {
2127
- "internalType": "StateId",
2128
- "name": "newState",
2129
- "type": "uint8"
2130
- }
2131
- ],
2132
- "name": "updateBundleState",
2133
- "outputs": [],
2134
- "stateMutability": "nonpayable",
2135
- "type": "function"
2136
- },
2137
- {
2138
- "inputs": [
2139
- {
2140
- "internalType": "NftId",
2141
- "name": "policyNftId",
2142
- "type": "uint96"
2143
- },
2144
- {
2145
- "internalType": "ClaimId",
2146
- "name": "claimId",
2147
- "type": "uint16"
2148
- },
2149
- {
2150
- "components": [
2151
- {
2152
- "internalType": "uint256",
2153
- "name": "claimAmount",
2154
- "type": "uint256"
410
+ "internalType": "address",
411
+ "name": "objectAddress",
412
+ "type": "address"
2155
413
  },
2156
414
  {
2157
- "internalType": "uint256",
2158
- "name": "paidAmount",
2159
- "type": "uint256"
415
+ "internalType": "address",
416
+ "name": "initialOwner",
417
+ "type": "address"
2160
418
  },
2161
419
  {
2162
420
  "internalType": "bytes",
2163
421
  "name": "data",
2164
422
  "type": "bytes"
2165
- },
2166
- {
2167
- "internalType": "Timestamp",
2168
- "name": "closedAt",
2169
- "type": "uint40"
2170
423
  }
2171
424
  ],
2172
- "internalType": "struct IPolicy.ClaimInfo",
2173
- "name": "claim",
425
+ "internalType": "struct IRegistry.ObjectInfo",
426
+ "name": "info",
2174
427
  "type": "tuple"
2175
- },
2176
- {
2177
- "internalType": "StateId",
2178
- "name": "newState",
2179
- "type": "uint8"
2180
428
  }
2181
429
  ],
2182
- "name": "updateClaim",
2183
- "outputs": [],
2184
- "stateMutability": "nonpayable",
430
+ "stateMutability": "view",
2185
431
  "type": "function"
2186
432
  },
2187
433
  {
2188
- "inputs": [
2189
- {
2190
- "internalType": "NftId",
2191
- "name": "policyNftId",
2192
- "type": "uint96"
2193
- },
2194
- {
2195
- "internalType": "ClaimId",
2196
- "name": "claimId",
2197
- "type": "uint16"
2198
- },
434
+ "inputs": [],
435
+ "name": "getInstanceAdmin",
436
+ "outputs": [
2199
437
  {
2200
- "internalType": "StateId",
2201
- "name": "newState",
2202
- "type": "uint8"
438
+ "internalType": "contract InstanceAdmin",
439
+ "name": "",
440
+ "type": "address"
2203
441
  }
2204
442
  ],
2205
- "name": "updateClaimState",
2206
- "outputs": [],
2207
- "stateMutability": "nonpayable",
443
+ "stateMutability": "view",
2208
444
  "type": "function"
2209
445
  },
2210
446
  {
2211
- "inputs": [
2212
- {
2213
- "internalType": "NftId",
2214
- "name": "distributionNftId",
2215
- "type": "uint96"
2216
- },
2217
- {
2218
- "components": [
2219
- {
2220
- "internalType": "NftId",
2221
- "name": "productNftId",
2222
- "type": "uint96"
2223
- },
2224
- {
2225
- "internalType": "contract TokenHandler",
2226
- "name": "tokenHandler",
2227
- "type": "address"
2228
- },
2229
- {
2230
- "components": [
2231
- {
2232
- "internalType": "UFixed",
2233
- "name": "fractionalFee",
2234
- "type": "uint256"
2235
- },
2236
- {
2237
- "internalType": "uint256",
2238
- "name": "fixedFee",
2239
- "type": "uint256"
2240
- }
2241
- ],
2242
- "internalType": "struct Fee",
2243
- "name": "minDistributionOwnerFee",
2244
- "type": "tuple"
2245
- },
2246
- {
2247
- "components": [
2248
- {
2249
- "internalType": "UFixed",
2250
- "name": "fractionalFee",
2251
- "type": "uint256"
2252
- },
2253
- {
2254
- "internalType": "uint256",
2255
- "name": "fixedFee",
2256
- "type": "uint256"
2257
- }
2258
- ],
2259
- "internalType": "struct Fee",
2260
- "name": "distributionFee",
2261
- "type": "tuple"
2262
- },
2263
- {
2264
- "internalType": "address",
2265
- "name": "wallet",
2266
- "type": "address"
2267
- },
2268
- {
2269
- "internalType": "uint256",
2270
- "name": "sumDistributionOwnerFees",
2271
- "type": "uint256"
2272
- }
2273
- ],
2274
- "internalType": "struct ISetup.DistributionSetupInfo",
2275
- "name": "setup",
2276
- "type": "tuple"
2277
- },
447
+ "inputs": [],
448
+ "name": "getInstanceReader",
449
+ "outputs": [
2278
450
  {
2279
- "internalType": "StateId",
2280
- "name": "newState",
2281
- "type": "uint8"
451
+ "internalType": "contract InstanceReader",
452
+ "name": "",
453
+ "type": "address"
2282
454
  }
2283
455
  ],
2284
- "name": "updateDistributionSetup",
2285
- "outputs": [],
2286
- "stateMutability": "nonpayable",
456
+ "stateMutability": "view",
2287
457
  "type": "function"
2288
458
  },
2289
459
  {
2290
- "inputs": [
2291
- {
2292
- "internalType": "NftId",
2293
- "name": "distributionNftId",
2294
- "type": "uint96"
2295
- },
460
+ "inputs": [],
461
+ "name": "getInstanceStore",
462
+ "outputs": [
2296
463
  {
2297
- "internalType": "StateId",
2298
- "name": "newState",
2299
- "type": "uint8"
464
+ "internalType": "contract InstanceStore",
465
+ "name": "",
466
+ "type": "address"
2300
467
  }
2301
468
  ],
2302
- "name": "updateDistributionSetupState",
2303
- "outputs": [],
2304
- "stateMutability": "nonpayable",
469
+ "stateMutability": "view",
2305
470
  "type": "function"
2306
471
  },
2307
472
  {
2308
- "inputs": [
473
+ "inputs": [],
474
+ "name": "getNftId",
475
+ "outputs": [
2309
476
  {
2310
477
  "internalType": "NftId",
2311
- "name": "nftId",
478
+ "name": "",
2312
479
  "type": "uint96"
2313
- },
2314
- {
2315
- "components": [
2316
- {
2317
- "internalType": "DistributorType",
2318
- "name": "distributorType",
2319
- "type": "bytes8"
2320
- },
2321
- {
2322
- "internalType": "bool",
2323
- "name": "active",
2324
- "type": "bool"
2325
- },
2326
- {
2327
- "internalType": "bytes",
2328
- "name": "data",
2329
- "type": "bytes"
2330
- },
2331
- {
2332
- "internalType": "uint256",
2333
- "name": "sumCommisions",
2334
- "type": "uint256"
2335
- },
2336
- {
2337
- "internalType": "uint256",
2338
- "name": "numPoliciesSold",
2339
- "type": "uint256"
2340
- }
2341
- ],
2342
- "internalType": "struct IDistribution.DistributorInfo",
2343
- "name": "info",
2344
- "type": "tuple"
2345
- },
2346
- {
2347
- "internalType": "StateId",
2348
- "name": "newState",
2349
- "type": "uint8"
2350
480
  }
2351
481
  ],
2352
- "name": "updateDistributor",
2353
- "outputs": [],
2354
- "stateMutability": "nonpayable",
482
+ "stateMutability": "view",
2355
483
  "type": "function"
2356
484
  },
2357
485
  {
2358
- "inputs": [
2359
- {
2360
- "internalType": "NftId",
2361
- "name": "nftId",
2362
- "type": "uint96"
2363
- },
486
+ "inputs": [],
487
+ "name": "getOwner",
488
+ "outputs": [
2364
489
  {
2365
- "internalType": "StateId",
2366
- "name": "newState",
2367
- "type": "uint8"
490
+ "internalType": "address",
491
+ "name": "",
492
+ "type": "address"
2368
493
  }
2369
494
  ],
2370
- "name": "updateDistributorState",
2371
- "outputs": [],
2372
- "stateMutability": "nonpayable",
495
+ "stateMutability": "view",
2373
496
  "type": "function"
2374
497
  },
2375
498
  {
2376
- "inputs": [
2377
- {
2378
- "internalType": "Key32",
2379
- "name": "distributorKey",
2380
- "type": "bytes32"
2381
- },
499
+ "inputs": [],
500
+ "name": "getRegistry",
501
+ "outputs": [
2382
502
  {
2383
- "components": [
2384
- {
2385
- "internalType": "string",
2386
- "name": "name",
2387
- "type": "string"
2388
- },
2389
- {
2390
- "internalType": "UFixed",
2391
- "name": "minDiscountPercentage",
2392
- "type": "uint256"
2393
- },
2394
- {
2395
- "internalType": "UFixed",
2396
- "name": "maxDiscountPercentage",
2397
- "type": "uint256"
2398
- },
2399
- {
2400
- "internalType": "UFixed",
2401
- "name": "commissionPercentage",
2402
- "type": "uint256"
2403
- },
2404
- {
2405
- "internalType": "uint32",
2406
- "name": "maxReferralCount",
2407
- "type": "uint32"
2408
- },
2409
- {
2410
- "internalType": "uint32",
2411
- "name": "maxReferralLifetime",
2412
- "type": "uint32"
2413
- },
2414
- {
2415
- "internalType": "bool",
2416
- "name": "allowSelfReferrals",
2417
- "type": "bool"
2418
- },
2419
- {
2420
- "internalType": "bool",
2421
- "name": "allowRenewals",
2422
- "type": "bool"
2423
- },
2424
- {
2425
- "internalType": "bytes",
2426
- "name": "data",
2427
- "type": "bytes"
2428
- }
2429
- ],
2430
- "internalType": "struct IDistribution.DistributorTypeInfo",
2431
- "name": "info",
2432
- "type": "tuple"
2433
- },
503
+ "internalType": "contract IRegistry",
504
+ "name": "",
505
+ "type": "address"
506
+ }
507
+ ],
508
+ "stateMutability": "view",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "getRelease",
514
+ "outputs": [
2434
515
  {
2435
- "internalType": "StateId",
2436
- "name": "newState",
516
+ "internalType": "VersionPart",
517
+ "name": "release",
2437
518
  "type": "uint8"
2438
519
  }
2439
520
  ],
2440
- "name": "updateDistributorType",
2441
- "outputs": [],
2442
- "stateMutability": "nonpayable",
521
+ "stateMutability": "pure",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [],
526
+ "name": "getRiskSet",
527
+ "outputs": [
528
+ {
529
+ "internalType": "contract RiskSet",
530
+ "name": "",
531
+ "type": "address"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
2443
535
  "type": "function"
2444
536
  },
2445
537
  {
2446
538
  "inputs": [
2447
539
  {
2448
- "internalType": "Key32",
2449
- "name": "distributorKey",
2450
- "type": "bytes32"
540
+ "internalType": "RoleId",
541
+ "name": "roleId",
542
+ "type": "uint64"
2451
543
  },
2452
544
  {
2453
- "internalType": "StateId",
2454
- "name": "newState",
2455
- "type": "uint8"
545
+ "internalType": "address",
546
+ "name": "account",
547
+ "type": "address"
2456
548
  }
2457
549
  ],
2458
- "name": "updateDistributorTypeState",
550
+ "name": "grantRole",
2459
551
  "outputs": [],
2460
552
  "stateMutability": "nonpayable",
2461
553
  "type": "function"
@@ -2463,172 +555,96 @@
2463
555
  {
2464
556
  "inputs": [
2465
557
  {
2466
- "internalType": "NftId",
2467
- "name": "policyNftId",
2468
- "type": "uint96"
558
+ "internalType": "contract InstanceAdmin",
559
+ "name": "instanceAdmin",
560
+ "type": "address"
2469
561
  },
2470
562
  {
2471
- "internalType": "NumberId",
2472
- "name": "payoutId",
2473
- "type": "uint32"
563
+ "internalType": "contract InstanceStore",
564
+ "name": "instanceStore",
565
+ "type": "address"
2474
566
  },
2475
567
  {
2476
- "components": [
2477
- {
2478
- "internalType": "ClaimId",
2479
- "name": "claimId",
2480
- "type": "uint16"
2481
- },
2482
- {
2483
- "internalType": "uint256",
2484
- "name": "amount",
2485
- "type": "uint256"
2486
- },
2487
- {
2488
- "internalType": "bytes",
2489
- "name": "data",
2490
- "type": "bytes"
2491
- },
2492
- {
2493
- "internalType": "Timestamp",
2494
- "name": "paidAt",
2495
- "type": "uint40"
2496
- }
2497
- ],
2498
- "internalType": "struct IPolicy.PayoutInfo",
2499
- "name": "payout",
2500
- "type": "tuple"
568
+ "internalType": "contract BundleSet",
569
+ "name": "bundleSet",
570
+ "type": "address"
2501
571
  },
2502
572
  {
2503
- "internalType": "StateId",
2504
- "name": "newState",
2505
- "type": "uint8"
573
+ "internalType": "contract RiskSet",
574
+ "name": "riskSet",
575
+ "type": "address"
576
+ },
577
+ {
578
+ "internalType": "contract InstanceReader",
579
+ "name": "instanceReader",
580
+ "type": "address"
581
+ },
582
+ {
583
+ "internalType": "contract IRegistry",
584
+ "name": "registry",
585
+ "type": "address"
586
+ },
587
+ {
588
+ "internalType": "address",
589
+ "name": "initialOwner",
590
+ "type": "address"
2506
591
  }
2507
592
  ],
2508
- "name": "updatePayout",
593
+ "name": "initialize",
2509
594
  "outputs": [],
2510
595
  "stateMutability": "nonpayable",
2511
596
  "type": "function"
2512
597
  },
2513
598
  {
2514
- "inputs": [
599
+ "inputs": [],
600
+ "name": "isConsumingScheduledOp",
601
+ "outputs": [
602
+ {
603
+ "internalType": "bytes4",
604
+ "name": "",
605
+ "type": "bytes4"
606
+ }
607
+ ],
608
+ "stateMutability": "view",
609
+ "type": "function"
610
+ },
611
+ {
612
+ "inputs": [],
613
+ "name": "linkToRegisteredNftId",
614
+ "outputs": [
2515
615
  {
2516
616
  "internalType": "NftId",
2517
- "name": "policyNftId",
617
+ "name": "nftId",
2518
618
  "type": "uint96"
2519
- },
2520
- {
2521
- "internalType": "StateId",
2522
- "name": "newState",
2523
- "type": "uint8"
2524
619
  }
2525
620
  ],
2526
- "name": "updatePayoutState",
2527
- "outputs": [],
2528
621
  "stateMutability": "nonpayable",
2529
622
  "type": "function"
2530
623
  },
2531
624
  {
2532
625
  "inputs": [
2533
626
  {
2534
- "internalType": "NftId",
2535
- "name": "policyNftId",
2536
- "type": "uint96"
627
+ "internalType": "address",
628
+ "name": "from",
629
+ "type": "address"
2537
630
  },
2538
631
  {
2539
- "components": [
2540
- {
2541
- "internalType": "NftId",
2542
- "name": "productNftId",
2543
- "type": "uint96"
2544
- },
2545
- {
2546
- "internalType": "NftId",
2547
- "name": "bundleNftId",
2548
- "type": "uint96"
2549
- },
2550
- {
2551
- "internalType": "ReferralId",
2552
- "name": "referralId",
2553
- "type": "bytes8"
2554
- },
2555
- {
2556
- "internalType": "RiskId",
2557
- "name": "riskId",
2558
- "type": "bytes8"
2559
- },
2560
- {
2561
- "internalType": "uint256",
2562
- "name": "sumInsuredAmount",
2563
- "type": "uint256"
2564
- },
2565
- {
2566
- "internalType": "uint256",
2567
- "name": "premiumAmount",
2568
- "type": "uint256"
2569
- },
2570
- {
2571
- "internalType": "uint256",
2572
- "name": "premiumPaidAmount",
2573
- "type": "uint256"
2574
- },
2575
- {
2576
- "internalType": "Seconds",
2577
- "name": "lifetime",
2578
- "type": "uint40"
2579
- },
2580
- {
2581
- "internalType": "bytes",
2582
- "name": "applicationData",
2583
- "type": "bytes"
2584
- },
2585
- {
2586
- "internalType": "bytes",
2587
- "name": "policyData",
2588
- "type": "bytes"
2589
- },
2590
- {
2591
- "internalType": "uint16",
2592
- "name": "claimsCount",
2593
- "type": "uint16"
2594
- },
2595
- {
2596
- "internalType": "uint16",
2597
- "name": "openClaimsCount",
2598
- "type": "uint16"
2599
- },
2600
- {
2601
- "internalType": "uint256",
2602
- "name": "payoutAmount",
2603
- "type": "uint256"
2604
- },
2605
- {
2606
- "internalType": "Timestamp",
2607
- "name": "activatedAt",
2608
- "type": "uint40"
2609
- },
2610
- {
2611
- "internalType": "Timestamp",
2612
- "name": "expiredAt",
2613
- "type": "uint40"
2614
- },
2615
- {
2616
- "internalType": "Timestamp",
2617
- "name": "closedAt",
2618
- "type": "uint40"
2619
- }
2620
- ],
2621
- "internalType": "struct IPolicy.PolicyInfo",
2622
- "name": "policy",
2623
- "type": "tuple"
632
+ "internalType": "address",
633
+ "name": "to",
634
+ "type": "address"
2624
635
  },
2625
636
  {
2626
- "internalType": "StateId",
2627
- "name": "newState",
2628
- "type": "uint8"
637
+ "internalType": "uint256",
638
+ "name": "tokenId",
639
+ "type": "uint256"
640
+ },
641
+ {
642
+ "internalType": "address",
643
+ "name": "operator",
644
+ "type": "address"
2629
645
  }
2630
646
  ],
2631
- "name": "updatePolicy",
647
+ "name": "nftTransferFrom",
2632
648
  "outputs": [],
2633
649
  "stateMutability": "nonpayable",
2634
650
  "type": "function"
@@ -2636,77 +652,49 @@
2636
652
  {
2637
653
  "inputs": [
2638
654
  {
2639
- "internalType": "NftId",
2640
- "name": "policyNftId",
655
+ "internalType": "Amount",
656
+ "name": "dipAmount",
2641
657
  "type": "uint96"
2642
- },
2643
- {
2644
- "internalType": "StateId",
2645
- "name": "newState",
2646
- "type": "uint8"
2647
658
  }
2648
659
  ],
2649
- "name": "updatePolicyState",
660
+ "name": "refillStakingRewardReserves",
2650
661
  "outputs": [],
2651
662
  "stateMutability": "nonpayable",
2652
663
  "type": "function"
2653
664
  },
2654
665
  {
2655
666
  "inputs": [
667
+ {
668
+ "internalType": "address",
669
+ "name": "product",
670
+ "type": "address"
671
+ }
672
+ ],
673
+ "name": "registerProduct",
674
+ "outputs": [
2656
675
  {
2657
676
  "internalType": "NftId",
2658
- "name": "poolNftId",
677
+ "name": "productNftId",
2659
678
  "type": "uint96"
2660
- },
679
+ }
680
+ ],
681
+ "stateMutability": "nonpayable",
682
+ "type": "function"
683
+ },
684
+ {
685
+ "inputs": [
2661
686
  {
2662
- "components": [
2663
- {
2664
- "internalType": "string",
2665
- "name": "name",
2666
- "type": "string"
2667
- },
2668
- {
2669
- "internalType": "contract IERC20Metadata",
2670
- "name": "token",
2671
- "type": "address"
2672
- },
2673
- {
2674
- "internalType": "contract TokenHandler",
2675
- "name": "tokenHandler",
2676
- "type": "address"
2677
- },
2678
- {
2679
- "internalType": "address",
2680
- "name": "wallet",
2681
- "type": "address"
2682
- },
2683
- {
2684
- "internalType": "Amount",
2685
- "name": "balanceAmount",
2686
- "type": "uint96"
2687
- },
2688
- {
2689
- "internalType": "Amount",
2690
- "name": "feeAmount",
2691
- "type": "uint96"
2692
- },
2693
- {
2694
- "internalType": "bytes",
2695
- "name": "data",
2696
- "type": "bytes"
2697
- }
2698
- ],
2699
- "internalType": "struct IComponents.ComponentInfo",
2700
- "name": "info",
2701
- "type": "tuple"
687
+ "internalType": "RoleId",
688
+ "name": "roleId",
689
+ "type": "uint64"
2702
690
  },
2703
691
  {
2704
- "internalType": "StateId",
2705
- "name": "newState",
2706
- "type": "uint8"
692
+ "internalType": "address",
693
+ "name": "account",
694
+ "type": "address"
2707
695
  }
2708
696
  ],
2709
- "name": "updatePoolSetup",
697
+ "name": "revokeRole",
2710
698
  "outputs": [],
2711
699
  "stateMutability": "nonpayable",
2712
700
  "type": "function"
@@ -2714,17 +702,12 @@
2714
702
  {
2715
703
  "inputs": [
2716
704
  {
2717
- "internalType": "NftId",
2718
- "name": "poolNftId",
2719
- "type": "uint96"
2720
- },
2721
- {
2722
- "internalType": "StateId",
2723
- "name": "newState",
2724
- "type": "uint8"
705
+ "internalType": "address",
706
+ "name": "newAuthority",
707
+ "type": "address"
2725
708
  }
2726
709
  ],
2727
- "name": "updatePoolSetupState",
710
+ "name": "setAuthority",
2728
711
  "outputs": [],
2729
712
  "stateMutability": "nonpayable",
2730
713
  "type": "function"
@@ -2732,88 +715,30 @@
2732
715
  {
2733
716
  "inputs": [
2734
717
  {
2735
- "internalType": "NftId",
2736
- "name": "productNftId",
2737
- "type": "uint96"
2738
- },
718
+ "internalType": "contract InstanceReader",
719
+ "name": "instanceReader",
720
+ "type": "address"
721
+ }
722
+ ],
723
+ "name": "setInstanceReader",
724
+ "outputs": [],
725
+ "stateMutability": "nonpayable",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [
2739
730
  {
2740
- "components": [
2741
- {
2742
- "internalType": "contract IERC20Metadata",
2743
- "name": "token",
2744
- "type": "address"
2745
- },
2746
- {
2747
- "internalType": "contract TokenHandler",
2748
- "name": "tokenHandler",
2749
- "type": "address"
2750
- },
2751
- {
2752
- "internalType": "NftId",
2753
- "name": "distributionNftId",
2754
- "type": "uint96"
2755
- },
2756
- {
2757
- "internalType": "NftId",
2758
- "name": "poolNftId",
2759
- "type": "uint96"
2760
- },
2761
- {
2762
- "components": [
2763
- {
2764
- "internalType": "UFixed",
2765
- "name": "fractionalFee",
2766
- "type": "uint256"
2767
- },
2768
- {
2769
- "internalType": "uint256",
2770
- "name": "fixedFee",
2771
- "type": "uint256"
2772
- }
2773
- ],
2774
- "internalType": "struct Fee",
2775
- "name": "productFee",
2776
- "type": "tuple"
2777
- },
2778
- {
2779
- "components": [
2780
- {
2781
- "internalType": "UFixed",
2782
- "name": "fractionalFee",
2783
- "type": "uint256"
2784
- },
2785
- {
2786
- "internalType": "uint256",
2787
- "name": "fixedFee",
2788
- "type": "uint256"
2789
- }
2790
- ],
2791
- "internalType": "struct Fee",
2792
- "name": "processingFee",
2793
- "type": "tuple"
2794
- },
2795
- {
2796
- "internalType": "bool",
2797
- "name": "isIntercepting",
2798
- "type": "bool"
2799
- },
2800
- {
2801
- "internalType": "address",
2802
- "name": "wallet",
2803
- "type": "address"
2804
- }
2805
- ],
2806
- "internalType": "struct ISetup.ProductSetupInfo",
2807
- "name": "setup",
2808
- "type": "tuple"
731
+ "internalType": "address",
732
+ "name": "target",
733
+ "type": "address"
2809
734
  },
2810
735
  {
2811
- "internalType": "StateId",
2812
- "name": "newState",
2813
- "type": "uint8"
736
+ "internalType": "bool",
737
+ "name": "locked",
738
+ "type": "bool"
2814
739
  }
2815
740
  ],
2816
- "name": "updateProductSetup",
741
+ "name": "setLocked",
2817
742
  "outputs": [],
2818
743
  "stateMutability": "nonpayable",
2819
744
  "type": "function"
@@ -2821,17 +746,12 @@
2821
746
  {
2822
747
  "inputs": [
2823
748
  {
2824
- "internalType": "NftId",
2825
- "name": "productNftId",
2826
- "type": "uint96"
2827
- },
2828
- {
2829
- "internalType": "StateId",
2830
- "name": "newState",
2831
- "type": "uint8"
749
+ "internalType": "Seconds",
750
+ "name": "stakeLockingPeriod",
751
+ "type": "uint40"
2832
752
  }
2833
753
  ],
2834
- "name": "updateProductSetupState",
754
+ "name": "setStakingLockingPeriod",
2835
755
  "outputs": [],
2836
756
  "stateMutability": "nonpayable",
2837
757
  "type": "function"
@@ -2839,59 +759,12 @@
2839
759
  {
2840
760
  "inputs": [
2841
761
  {
2842
- "internalType": "Key32",
2843
- "name": "referralKey",
2844
- "type": "bytes32"
2845
- },
2846
- {
2847
- "components": [
2848
- {
2849
- "internalType": "NftId",
2850
- "name": "distributorNftId",
2851
- "type": "uint96"
2852
- },
2853
- {
2854
- "internalType": "string",
2855
- "name": "referralCode",
2856
- "type": "string"
2857
- },
2858
- {
2859
- "internalType": "UFixed",
2860
- "name": "discountPercentage",
2861
- "type": "uint256"
2862
- },
2863
- {
2864
- "internalType": "uint32",
2865
- "name": "maxReferrals",
2866
- "type": "uint32"
2867
- },
2868
- {
2869
- "internalType": "uint32",
2870
- "name": "usedReferrals",
2871
- "type": "uint32"
2872
- },
2873
- {
2874
- "internalType": "Timestamp",
2875
- "name": "expiryAt",
2876
- "type": "uint40"
2877
- },
2878
- {
2879
- "internalType": "bytes",
2880
- "name": "data",
2881
- "type": "bytes"
2882
- }
2883
- ],
2884
- "internalType": "struct IDistribution.ReferralInfo",
2885
- "name": "referralInfo",
2886
- "type": "tuple"
2887
- },
2888
- {
2889
- "internalType": "StateId",
2890
- "name": "newState",
2891
- "type": "uint8"
762
+ "internalType": "UFixed",
763
+ "name": "rewardRate",
764
+ "type": "uint256"
2892
765
  }
2893
766
  ],
2894
- "name": "updateReferral",
767
+ "name": "setStakingRewardRate",
2895
768
  "outputs": [],
2896
769
  "stateMutability": "nonpayable",
2897
770
  "type": "function"
@@ -2899,17 +772,22 @@
2899
772
  {
2900
773
  "inputs": [
2901
774
  {
2902
- "internalType": "Key32",
2903
- "name": "referralKey",
2904
- "type": "bytes32"
775
+ "internalType": "string",
776
+ "name": "targetName",
777
+ "type": "string"
2905
778
  },
2906
779
  {
2907
- "internalType": "StateId",
2908
- "name": "newState",
2909
- "type": "uint8"
780
+ "internalType": "bytes4[]",
781
+ "name": "selectors",
782
+ "type": "bytes4[]"
783
+ },
784
+ {
785
+ "internalType": "RoleId",
786
+ "name": "roleId",
787
+ "type": "uint64"
2910
788
  }
2911
789
  ],
2912
- "name": "updateReferralState",
790
+ "name": "setTargetFunctionRole",
2913
791
  "outputs": [],
2914
792
  "stateMutability": "nonpayable",
2915
793
  "type": "function"
@@ -2917,371 +795,108 @@
2917
795
  {
2918
796
  "inputs": [
2919
797
  {
2920
- "internalType": "RiskId",
2921
- "name": "riskId",
2922
- "type": "bytes8"
2923
- },
2924
- {
2925
- "components": [
2926
- {
2927
- "internalType": "NftId",
2928
- "name": "productNftId",
2929
- "type": "uint96"
2930
- },
2931
- {
2932
- "internalType": "bytes",
2933
- "name": "data",
2934
- "type": "bytes"
2935
- }
2936
- ],
2937
- "internalType": "struct IRisk.RiskInfo",
2938
- "name": "risk",
2939
- "type": "tuple"
2940
- },
798
+ "internalType": "bytes4",
799
+ "name": "interfaceId",
800
+ "type": "bytes4"
801
+ }
802
+ ],
803
+ "name": "supportsInterface",
804
+ "outputs": [
2941
805
  {
2942
- "internalType": "StateId",
2943
- "name": "newState",
2944
- "type": "uint8"
806
+ "internalType": "bool",
807
+ "name": "",
808
+ "type": "bool"
2945
809
  }
2946
810
  ],
2947
- "name": "updateRisk",
2948
- "outputs": [],
2949
- "stateMutability": "nonpayable",
811
+ "stateMutability": "view",
2950
812
  "type": "function"
2951
813
  },
2952
814
  {
2953
815
  "inputs": [
2954
816
  {
2955
- "internalType": "RiskId",
2956
- "name": "riskId",
2957
- "type": "bytes8"
2958
- },
817
+ "internalType": "Amount",
818
+ "name": "dipAmount",
819
+ "type": "uint96"
820
+ }
821
+ ],
822
+ "name": "withdrawStakingRewardReserves",
823
+ "outputs": [
2959
824
  {
2960
- "internalType": "StateId",
2961
- "name": "newState",
2962
- "type": "uint8"
825
+ "internalType": "Amount",
826
+ "name": "newBalance",
827
+ "type": "uint96"
2963
828
  }
2964
829
  ],
2965
- "name": "updateRiskState",
2966
- "outputs": [],
2967
830
  "stateMutability": "nonpayable",
2968
831
  "type": "function"
2969
832
  }
2970
833
  ],
2971
- "bytecode": "0x608060405234801561001057600080fd5b50615d7e80620000216000396000f3fe608060405234801561001057600080fd5b50600436106104d85760003560e01c80637b8c388f11610283578063c0c53b8b1161015c578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610bcb578063fa145b6d14610bde578063fb4a8e3414610bf1578063fbc1a3a014610c04578063fe1f18d614610c17578063fed3d63f14610c2a57600080fd5b8063e9e96c7014610b54578063f21de1e81461080a578063f48016ce14610b92578063f7b442d114610ba5578063f7bc431c14610bb857600080fd5b8063d2f21a2911610120578063d2f21a2914610aea578063d5c9d77d14610afd578063dee3262314610b10578063e1033e7d14610b23578063e5f6cd2714610b2b578063e7f7fb8614610b4157600080fd5b8063c0c53b8b14610ab4578063c29948fc1461060f578063ca600b1c14610ac7578063cde749f414610acf578063cf947d2014610ad757600080fd5b8063a671495e116101f5578063afcc7439116101b9578063afcc743914610a4d578063b3260e9314610a60578063b6d7cd6214610a73578063bb1e0e5914610a86578063bf1db3f914610a99578063bf7e214f14610aac57600080fd5b8063a671495e146109ff578063a76ee01814610a12578063a898967514610a25578063ada9652e14610a38578063afa5e1301461079e57600080fd5b806397affbf51161024757806397affbf5146109025780639df0280b146105df5780639e90178c14610915578063a13df2ab14610928578063a4eeee591461093b578063a5961b4c1461094e57600080fd5b80637b8c388f146108935780637cef4842146108a6578063893d20e8146108b95780638eaa6ac0146108c15780638fb36037146108e157600080fd5b80633ca7c02a116103b55780635772b1011161032757806361f5f420116102eb57806361f5f42014610824578063644c45e014610835578063675393bf1461085d5780636b9bf08b1461087057806375b238fc146108785780637a9e5e4b1461088057600080fd5b80635772b101146107e457806359852426146107f75780635ab1bd531461080a5780635d4345cc146105df5780635dfa73db1461081b57600080fd5b8063447fc48f11610379578063447fc48f14610770578063468a186714610783578063468bce06146107965780635378cd3c1461079e57806354d747a8146107b157806354f6127f146107c457600080fd5b80633ca7c02a146107095780633e35aba81461072f57806340529b0f14610742578063422c9d00146107555780634288121d1461076857600080fd5b80631b38d5f41161044e57806327bb7a331161041257806327bb7a33146106985780632f61088a146106ab57806336fc697e146106be57806337f135d7146106c657806338a699a4146106e35780633c0d6a41146106f657600080fd5b80631b38d5f4146106225780631eff4b2214610643578063214cdb801461066a5780632781d4431461067d57806327953f481461068557600080fd5b80630f526f7d116104a05780630f526f7d146105b95780630f749a89146105cc5780630fad0eb1146105df5780630fec111c146105f2578063138461e0146106075780631518afb91461060f57600080fd5b806301ffc9a7146104dd57806302cd30711461051f57806309648a9d146105445780630cbc6b891461057e5780630d35818114610593575b600080fd5b61050a6104eb366004613eca565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b039091168152602001610516565b61056c610552366004613ef4565b600090815260046020526040902054610100900460ff1690565b60405160ff9091168152602001610516565b61059161058c36600461413e565b610c32565b005b61056c6105a136600461418a565b60ff9081166000908152600260205260409020541690565b6105916105c73660046141a7565b610c78565b6105916105da3660046141e0565b610c99565b6105916105ed3660046141a7565b610e07565b6105fa610e1c565b604051610516919061424d565b610591610fcb565b61059161061d36600461450a565b6111cd565b610635610630366004614562565b6111f3565b604051908152602001610516565b6106357f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b610591610678366004613eca565b611292565b610635600381565b61059161069336600461466f565b6112bf565b6105916106a63660046146b5565b6112f1565b6105916106b93660046147a7565b61137d565b610591611418565b6106ce600081565b60405163ffffffff9091168152602001610516565b61050a6106f1366004613ef4565b61145e565b610591610704366004614863565b6114ed565b6107176001600160401b0381565b6040516001600160401b039091168152602001610516565b61063561073d366004614562565b611513565b6105916107503660046141a7565b611540565b6105916107633660046141e0565b611555565b61052c61175b565b61059161077e3660046148c4565b6117ee565b610635610791366004614562565b61181a565b610591611847565b6105916107ac366004614938565b611871565b6105916107bf366004614a19565b611884565b6107d76107d2366004613ef4565b6118a2565b6040516105169190614a55565b6105916107f2366004614aab565b611947565b610591610805366004614bcc565b61196d565b6001546001600160a01b031661052c565b61071761271081565b6007546001600160a01b031661052c565b600080516020615d09833981519152546040516001600160601b039091168152602001610516565b61059161086b3660046141e0565b611993565b61052c611a9f565b610717600081565b61059161088e3660046141e0565b611ac8565b6106356108a1366004614562565b611b4b565b6105916108b4366004614c13565b611b78565b61052c611c02565b6108d46108cf366004613ef4565b611d39565b6040516105169190614c7b565b6108e9611e7a565b6040516001600160e01b03199091168152602001610516565b610591610910366004614ca7565b611eb2565b610591610923366004614d91565b611ed8565b610635610936366004614562565b611f00565b610591610949366004614e59565b611f2d565b6109f261095c366004613ef4565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516105169190614ea0565b610591610a0d366004614f51565b611f55565b610591610a20366004614f96565b611f7b565b610591610a33366004614fdd565b612016565b610635600080516020615d0983398151915281565b610591610a5b36600461501d565b612107565b610591610a6e366004615062565b61212d565b610591610a813660046150a0565b61214b565b610591610a943660046150d0565b612160565b61050a610aa736600461418a565b612325565b61052c612372565b610591610ac23660046150fc565b61238e565b61052c61253b565b61056c612564565b610591610ae536600461513c565b6125db565b610591610af83660046141a7565b6125f9565b610591610b0b36600461517a565b612610565b610591610b1e3660046141a7565b612638565b61052c61264f565b60055461010090046001600160a01b031661052c565b610591610b4f3660046151bf565b612678565b61050a610b62366004614fdd565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b610635610ba0366004615210565b612852565b610591610bb336600461523e565b6128dd565b610591610bc63660046141e0565b612905565b610591610bd936600461527f565b6129f2565b610591610bec3660046152ad565b612a69565b610591610bff366004615304565b612a8f565b610591610c1236600461534b565b612ab5565b610591610c253660046141a7565b612add565b61052c612af2565b610c3f335b600036612b1b565b610c73610c4d84606e612c21565b83604051602001610c5e9190615379565b60405160208183030381529060405283612c6d565b505050565b610c8133610c37565b610c95610c8f83608c612c21565b82612c78565b5050565b610ca233610c37565b60055461010090046001600160a01b031615610d055760405162461bcd60e51b815260206004820152601c60248201527f496e7374616e63654163636573734d616e61676572206973207365740000000060448201526064015b60405180910390fd5b610d0d612372565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d789190615428565b6001600160a01b031614610ddf5760405162461bcd60e51b815260206004820152602860248201527f496e7374616e63654163636573734d616e6167657220617574686f72697479206044820152670dad2e6dac2e8c6d60c31b6064820152608401610cfc565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610e1033610c37565b610c95610c8f8361181a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610ec790615445565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef390615445565b8015610f405780601f10610f1557610100808354040283529160200191610f40565b820191906000526020600020905b815481529060010190602001808311610f2357829003601f168201915b50505050508152505090506040518060e00160405280610f5e600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610faf611c02565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615d0983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e919061547f565b1561108a5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610cfc565b3061109d6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611109919061547f565b6111315760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610cfc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a9919061549c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6111d633610c37565b610c736111e28461181a565b83604051602001610c5e91906154b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611268573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128c919061561e565b92915050565b61129a612c82565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6112c833610c37565b610c9582826040516020016112dd9190615637565b604051602081830303815290604052612ccb565b6112f9612c82565b61130382876129f2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611373838261572d565b5050505050505050565b61138633610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610c959073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156113e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611407919061561e565b826040516020016112dd91906157ec565b611420612c82565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156114c9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128c919061547f565b6114f633610c37565b610c736115028461181a565b826040516020016112dd919061581a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861121c565b61154933610c37565b610c95610c8f83611b4b565b61155e33610c37565b6007546001600160a01b0316156115ae5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610cfc565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161a9190615428565b6001600160a01b0316146116705760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610cfc565b611678612372565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e39190615428565b6001600160a01b0316146117395760405162461bcd60e51b815260206004820181905260248201527f42756e646c654d616e6167657220617574686f72697479206d69736d617463686044820152606401610cfc565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061176f6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156117c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615428565b905090565b6117f733610c37565b6118146118038561181a565b83604051602001610c5e919061581a565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361121c565b61184f612c82565b611857612cd5565b61185f612df8565b611867612eeb565b61186f612ff9565b565b61187a33610c37565b610c958282612c78565b61188d33610c37565b610c9582826040516020016112dd919061586b565b60008181526004602052604090206001018054606091906118c290615445565b80601f01602080910402602001604051908101604052809291908181526020018280546118ee90615445565b801561193b5780601f106119105761010080835404028352916020019161193b565b820191906000526020600020905b81548152906001019060200180831161191e57829003601f168201915b50505050509050919050565b61195033610c37565b61181461195c8561181a565b83604051602001610c5e9190615907565b61197633610c37565b610c7361198284611f00565b83604051602001610c5e9190615937565b61199b612c82565b806001600160a01b03163b6000036119d15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610cfc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611a4b575060408051601f3d908101601f19168201909252611a489181019061547f565b60015b611a735760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610cfc565b80610c955760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610cfc565b50565b6000611ab36001546001600160a01b031690565b6001600160a01b031663d39e6043608c611780565b33611ad1612372565b6001600160a01b0316816001600160a01b031614611b0c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610cfc565b816001600160a01b03163b600003611b42576040516361798f2f60e11b81526001600160a01b0383166004820152602401610cfc565b610c95826130b5565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61121c565b611b8133610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610c959073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611bde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8f919061561e565b600080600080516020615d0983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c96919061547f565b15611d23576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1d9190615428565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611df190615445565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1d90615445565b8015611e6a5780601f10611e3f57610100808354040283529160200191611e6a565b820191906000526020600020905b815481529060010190602001808311611e4d57829003601f168201915b5050505050815250509050919050565b600080516020615d29833981519152805460009190600160a01b900460ff16611ea4576000611d1d565b638fb3603760e01b91505090565b611ebb33610c37565b610c95611ec783611f00565b826040516020016112dd9190615937565b611ee133610c37565b610c95611eef836078612c21565b826040516020016112dd9190615a07565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61121c565b611f3633610c37565b610c73611f4484608c612c21565b83604051602001610c5e9190615a7b565b611f5e33610c37565b610c95611f6a83611b4b565b826040516020016112dd9190615afc565b611f8433610c37565b6040516355ee627560e01b81526001600160c01b031984166004820152610c739073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611fe1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612005919061561e565b83604051602001610c5e91906157ec565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801561207b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209f919061547f565b156120a957505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610c7357604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610cfc565b61211033610c37565b610c9561211c8361181a565b826040516020016112dd91906154b9565b61213633610c37565b610c738383604051602001610c5e9190615637565b61215433610c37565b610c73610c8f8461181a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cd9190615428565b6001600160a01b0316336001600160a01b0316146121ea57600080fd5b60055461010090046001600160a01b03166303014974612208613116565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561224c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612270919061561e565b1561227d5761227d615b5a565b60055461010090046001600160a01b031663b428b0b061229b613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af11580156122f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612314919061547f565b1515600114610c9557610c95615b5a565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016114ac565b600080516020615d29833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156123d35750825b90506000826001600160401b031660011480156123ef5750303b155b9050811580156123fd575080155b1561241b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561244557845460ff60401b1916600160401b1785555b61244e8861318e565b60008790506124d388826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b9919061549c565b604660018b604051806020016040528060008152506112f1565b6124db611847565b6124eb632a78f40560e11b611292565b50831561137357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b600061254f6001546001600160a01b031690565b6001600160a01b031663d39e60436078611780565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156125b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615b70565b6125e433610c37565b610c738383604051602001610c5e919061586b565b61260233610c37565b610c95610c8f836078612c21565b61261933610c37565b610c9561262783608c612c21565b826040516020016112dd9190615a7b565b61264133610c37565b610c95610c8f83606e612c21565b60006126636001546001600160a01b031690565b6001600160a01b031663d39e604360d3611780565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e59190615428565b6001600160a01b0316336001600160a01b03161461270257600080fd5b60055461010090046001600160a01b031663b7d2b162612720613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af1158015612775573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612799919061547f565b15156001146127aa576127aa615b5a565b60055461010090046001600160a01b031663b428b0b06127c8613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af115801561281d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612841919061547f565b1515600114610c7357610c73615b5a565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156128b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d6919061561e565b9392505050565b6128e633610c37565b610c736128f4846078612c21565b83604051602001610c5e9190615a07565b61290e33610c37565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612956573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297a9190615428565b6001600160a01b0316146129d05760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610cfc565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6129fa612c82565b612a0381611993565b612a0b611418565b6001600160a01b038216612a325760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615d0983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612a7233610c37565b610c73612a7e8461181a565b826040516020016112dd9190615907565b612a9833610c37565b610c73612aa484611b4b565b83604051602001610c5e9190615afc565b612abe33610c37565b610c95612acc83606e612c21565b826040516020016112dd9190615379565b612ae633610c37565b610c95610c8f83611f00565b6000612b066001546001600160a01b031690565b6001600160a01b031663d39e604360dc611780565b600080516020615d29833981519152600080612b56612b38612372565b8730612b48600460008a8c615b8d565b612b5191615bb7565b61319f565b9150915081612c195763ffffffff811615612bf657825460ff60a01b1916600160a01b178355612b84612372565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612bb393929190615be7565b600060405180830381600087803b158015612bcd57600080fd5b505af1158015612be1573d6000803e3d6000fd5b5050845460ff60a01b1916855550612c199050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610cfc565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612895565b610c738383836132ab565b610c95828261375c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661186f57604051631afcd79f60e31b815260040160405180910390fd5b610c958282613aa0565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff1681526020019081526020016000206000612dd460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff1681526020019081526020016000206000612ecd606e90565b60ff1660ff1681526020019081526020016000206000612dd460d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612db6565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c8612eaf565b600080516020615d2983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561316a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615c27565b613196612c82565b611a9c81613eb9565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161320e9190615c50565b600060405180830381855afa9150503d8060008114613249576040519150601f19603f3d011682016040523d82523d6000602084013e61324e565b606091505b509150915081156132a057604081511061328057808060200190518101906132769190615c6c565b90945092506132a0565b60208151106132a0578080602001905181019061329d919061547f565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613321919061547f565b61336d5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610cfc565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156133d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fd919061547f565b6134495760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610cfc565b6000858152600460205260409020600101613464858261572d565b5060ff8084161461348257815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166134b24390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135689190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135dc9190615c9b565b85888632876040516135f49796959493929190615cb8565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561366e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136929190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156136e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137069190615c9b565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156137ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d2919061547f565b61381e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610cfc565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561388a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ae919061547f565b6138fa5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610cfc565b815461390a9060ff168285612016565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661394e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a049190615b70565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a789190615c9b565b8588863287604051613a909796959493929190615cb8565b60405180910390a1505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b179190615b70565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015613b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b90919061547f565b613bdc5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610cfc565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c6d919061547f565b613cb95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610cfc565b33436000613cc685612325565b613cd1576064613ce7565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101613d71878261572d565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613de4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e089190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7c9190615c9b565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a00161374b565b613ec1612c82565b611a9c816130b5565b600060208284031215613edc57600080fd5b81356001600160e01b0319811681146128d657600080fd5b600060208284031215613f0657600080fd5b5035919050565b6001600160601b0381168114611a9c57600080fd5b8035613f2d81613f0d565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f6a57613f6a613f32565b60405290565b60405161010081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161020081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161012081016001600160401b0381118282101715613f6a57613f6a613f32565b604051608081016001600160401b0381118282101715613f6a57613f6a613f32565b60405160e081016001600160401b0381118282101715613f6a57613f6a613f32565b6001600160a01b0381168114611a9c57600080fd5b8035613f2d8161401d565b60006040828403121561404f57600080fd5b614057613f48565b9050813581526020820135602082015292915050565b8015158114611a9c57600080fd5b8035613f2d8161406d565b6000610140828403121561409957600080fd5b6140a1613f70565b90506140ac82614032565b81526140ba60208301614032565b60208201526140cb60408301613f22565b60408201526140dc60608301613f22565b60608201526140ee836080840161403d565b60808201526141008360c0840161403d565b60a0820152614112610100830161407b565b60c08201526141246101208301614032565b60e082015292915050565b60ff81168114611a9c57600080fd5b6000806000610180848603121561415457600080fd5b833561415f81613f0d565b925061416e8560208601614086565b915061016084013561417f8161412f565b809150509250925092565b60006020828403121561419c57600080fd5b81356128d68161412f565b600080604083850312156141ba57600080fd5b82356141c581613f0d565b915060208301356141d58161412f565b809150509250929050565b6000602082840312156141f257600080fd5b81356128d68161401d565b60005b83811015614218578181015183820152602001614200565b50506000910152565b600081518084526142398160208601602086016141fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516142b660c08401826001600160a01b03169052565b5060c083015160e0808401526142d0610100840182614221565b949350505050565b6001600160c01b031981168114611a9c57600080fd5b8035613f2d816142d8565b64ffffffffff81168114611a9c57600080fd5b8035613f2d816142f9565b600082601f83011261432857600080fd5b81356001600160401b038082111561434257614342613f32565b604051601f8301601f19908116603f0116810190828211818310171561436a5761436a613f32565b8160405283815286602085880101111561438357600080fd5b836020870160208301376000602085830101528094505050505092915050565b61ffff81168114611a9c57600080fd5b8035613f2d816143a3565b600061020082840312156143d157600080fd5b6143d9613f93565b90506143e482613f22565b81526143f260208301613f22565b6020820152614403604083016142ee565b6040820152614414606083016142ee565b60608201526080820135608082015260a082013560a082015260c082013560c082015261444360e0830161430c565b60e0820152610100808301356001600160401b038082111561446457600080fd5b61447086838701614317565b8385015261012092508285013591508082111561448c57600080fd5b5061449985828601614317565b8284015250506101406144ad8184016143b3565b908201526101606144bf8382016143b3565b9082015261018082810135908201526101a06144dc81840161430c565b908201526101c06144ee83820161430c565b908201526101e061450083820161430c565b9082015292915050565b60008060006060848603121561451f57600080fd5b833561452a81613f0d565b925060208401356001600160401b0381111561454557600080fd5b614551868287016143be565b925050604084013561417f8161412f565b60006020828403121561457457600080fd5b81356128d681613f0d565b63ffffffff81168114611a9c57600080fd5b8035613f2d8161457f565b600061012082840312156145af57600080fd5b6145b7613fb6565b905081356001600160401b03808211156145d057600080fd5b6145dc85838601614317565b835260208401356020840152604084013560408401526060840135606084015261460860808501614591565b608084015261461960a08501614591565b60a084015261462a60c0850161407b565b60c084015261463b60e0850161407b565b60e08401526101009150818401358181111561465657600080fd5b61466286828701614317565b8385015250505092915050565b6000806040838503121561468257600080fd5b8235915060208301356001600160401b0381111561469f57600080fd5b6146ab8582860161459c565b9150509250929050565b60008060008060008060c087890312156146ce57600080fd5b86356146d98161401d565b955060208701356146e981613f0d565b945060408701356146f98161412f565b935060608701356147098161406d565b925060808701356147198161401d565b915060a08701356001600160401b0381111561473457600080fd5b61474089828a01614317565b9150509295509295509295565b60006040828403121561475f57600080fd5b614767613f48565b9050813561477481613f0d565b815260208201356001600160401b0381111561478f57600080fd5b61479b84828501614317565b60208301525092915050565b600080604083850312156147ba57600080fd5b82356147c5816142d8565b915060208301356001600160401b038111156147e057600080fd5b6146ab8582860161474d565b6000608082840312156147fe57600080fd5b614806613fd9565b90508135614813816143a3565b81526020828101359082015260408201356001600160401b0381111561483857600080fd5b61484484828501614317565b6040830152506060820135614858816142f9565b606082015292915050565b60008060006060848603121561487857600080fd5b833561488381613f0d565b925060208401356148938161457f565b915060408401356001600160401b038111156148ae57600080fd5b6148ba868287016147ec565b9150509250925092565b600080600080608085870312156148da57600080fd5b84356148e581613f0d565b935060208501356148f58161457f565b925060408501356001600160401b0381111561491057600080fd5b61491c878288016147ec565b925050606085013561492d8161412f565b939692955090935050565b6000806040838503121561494b57600080fd5b8235915060208301356141d58161412f565b600060e0828403121561496f57600080fd5b614977613ffb565b905061498282613f22565b815260208201356001600160401b038082111561499e57600080fd5b6149aa85838601614317565b6020840152604084013560408401526149c560608501614591565b60608401526149d660808501614591565b60808401526149e760a0850161430c565b60a084015260c0840135915080821115614a0057600080fd5b50614a0d84828501614317565b60c08301525092915050565b60008060408385031215614a2c57600080fd5b8235915060208301356001600160401b03811115614a4957600080fd5b6146ab8582860161495d565b6020815260006128d66020830184614221565b600060808284031215614a7a57600080fd5b614a82613fd9565b9050813581526020820135602082015260408201356001600160401b0381111561483857600080fd5b60008060008060808587031215614ac157600080fd5b8435614acc81613f0d565b93506020850135614adc816143a3565b925060408501356001600160401b03811115614af757600080fd5b61491c87828801614a68565b60006101408284031215614b1657600080fd5b614b1e613fb6565b9050614b2982613f22565b8152614b38836020840161403d565b602082015260608201356001600160401b03811115614b5657600080fd5b614b6284828501614317565b604083015250614b7460808301613f22565b6060820152614b8560a08301613f22565b6080820152614b9660c08301613f22565b60a0820152614ba760e0830161430c565b60c0820152610100614bba81840161430c565b60e0830152614500610120840161430c565b600080600060608486031215614be157600080fd5b8335614bec81613f0d565b925060208401356001600160401b03811115614c0757600080fd5b61455186828701614b03565b60008060408385031215614c2657600080fd5b82356141c5816142d8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614c8d602082018351614c31565b6000602083015160c0808401526142d060e0840182614221565b60008060408385031215614cba57600080fd5b8235614cc581613f0d565b915060208301356001600160401b03811115614ce057600080fd5b6146ab85828601614b03565b60006101008284031215614cff57600080fd5b60405160c081018181106001600160401b0382111715614d2157614d21613f32565b6040529050808235614d3281613f0d565b81526020830135614d428161401d565b6020820152614d54846040850161403d565b6040820152614d66846080850161403d565b606082015260c0830135614d798161401d565b8060808301525060e083013560a08201525092915050565b6000806101208385031215614da557600080fd5b8235614db081613f0d565b9150614dbf8460208501614cec565b90509250929050565b600060e08284031215614dda57600080fd5b614de2613ffb565b905081356001600160401b0380821115614dfb57600080fd5b614e0785838601614317565b8352614e1560208501614032565b6020840152614e2660408501614032565b6040840152614e3760608501614032565b6060840152614e4860808501613f22565b60808401526149e760a08501613f22565b600080600060608486031215614e6e57600080fd5b8335614e7981613f0d565b925060208401356001600160401b03811115614e9457600080fd5b61455186828701614dc8565b60a0810161128c8284614c31565b600060a08284031215614ec057600080fd5b60405160a081016001600160401b038282108183111715614ee357614ee3613f32565b8160405282935084359150614ef7826142d8565b908252602084013590614f098261406d565b8160208401526040850135915080821115614f2357600080fd5b50614f3085828601614317565b60408301525060608301356060820152608083013560808201525092915050565b60008060408385031215614f6457600080fd5b8235614f6f81613f0d565b915060208301356001600160401b03811115614f8a57600080fd5b6146ab85828601614eae565b600080600060608486031215614fab57600080fd5b8335614fb6816142d8565b925060208401356001600160401b03811115614fd157600080fd5b6145518682870161474d565b600080600060608486031215614ff257600080fd5b8335614ffd8161412f565b9250602084013561500d8161412f565b9150604084013561417f8161412f565b6000806040838503121561503057600080fd5b823561503b81613f0d565b915060208301356001600160401b0381111561505657600080fd5b6146ab858286016143be565b60008060006060848603121561507757600080fd5b8335925060208401356001600160401b0381111561509457600080fd5b6145518682870161459c565b6000806000606084860312156150b557600080fd5b83356150c081613f0d565b9250602084013561500d816143a3565b600080604083850312156150e357600080fd5b82356150ee8161401d565b946020939093013593505050565b60008060006060848603121561511157600080fd5b833561511c8161401d565b9250602084013561512c8161401d565b9150604084013561417f8161401d565b60008060006060848603121561515157600080fd5b8335925060208401356001600160401b0381111561516e57600080fd5b6145518682870161495d565b6000806040838503121561518d57600080fd5b823561519881613f0d565b915060208301356001600160401b038111156151b357600080fd5b6146ab85828601614dc8565b6000806000606084860312156151d457600080fd5b83356151df8161401d565b925060208401356151ef8161401d565b929592945050506040919091013590565b60ff1981168114611a9c57600080fd5b6000806040838503121561522357600080fd5b823561522e8161412f565b915060208301356141d581615200565b6000806000610140848603121561525457600080fd5b833561525f81613f0d565b925061526e8560208601614cec565b915061012084013561417f8161412f565b6000806040838503121561529257600080fd5b823561529d8161401d565b915060208301356141d58161401d565b6000806000606084860312156152c257600080fd5b83356152cd81613f0d565b925060208401356152dd816143a3565b915060408401356001600160401b038111156152f857600080fd5b6148ba86828701614a68565b60008060006060848603121561531957600080fd5b833561532481613f0d565b925060208401356001600160401b0381111561533f57600080fd5b61455186828701614eae565b600080610160838503121561535f57600080fd5b823561536a81613f0d565b9150614dbf8460208501614086565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916153c8908401826001600160601b03169052565b5060808301516153e5608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60006020828403121561543a57600080fd5b81516128d68161401d565b600181811c9082168061545957607f821691505b60208210810361547957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561549157600080fd5b81516128d68161406d565b6000602082840312156154ae57600080fd5b81516128d681613f0d565b602081526154d36020820183516001600160601b03169052565b600060208301516154ef60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006155548185018364ffffffffff169052565b808501519150506102006101208181860152615574610220860184614221565b9250808601519050610140601f1986850301818701526155948483614221565b9350808701519150506101606155af8187018361ffff169052565b86015190506101806155c68682018361ffff169052565b8601516101a08681019190915286015190506101c06155ed8187018364ffffffffff169052565b86015190506101e06156078682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561563057600080fd5b5051919050565b6020815260008251610120806020850152615656610140850183614221565b9150602085015160408501526040850151606085015260608501516080850152608085015161568d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006156c38187018315159052565b860151858403601f19018387015290506156dd8382614221565b9695505050505050565b601f821115610c7357600081815260208120601f850160051c8101602086101561570e5750805b601f850160051c820191505b81811015612c195782815560010161571a565b81516001600160401b0381111561574657615746613f32565b61575a816157548454615445565b846156e7565b602080601f83116001811461578f57600084156157775750858301515b600019600386901b1c1916600185901b178555612c19565b600085815260208120601f198616915b828110156157be5788860151825594840194600190910190840161579f565b50858210156157dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526142d06060840182614221565b6020815261ffff825116602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261589b610100840182614221565b90506040840151606084015263ffffffff606085015116608084015260808401516158ce60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526158fe8282614221565b95945050505050565b602081528151602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b602081526159516020820183516001600160601b03169052565b6000602083015161596f604084018280518252602090810151910152565b50604083015161014080608085015261598c610160850183614221565b915060608501516159a860a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006159ed8187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150615607565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615a98610100840182614221565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615ae260a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526158e2565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615b3a60c0840182614221565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615b8257600080fd5b81516128d68161412f565b60008085851115615b9d57600080fd5b83861115615baa57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615bdf5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615c3957600080fd5b81516001600160401b03811681146128d657600080fd5b60008251615c628184602087016141fd565b9190910192915050565b60008060408385031215615c7f57600080fd5b8251615c8a8161406d565b60208401519092506141d58161457f565b600060208284031215615cad57600080fd5b81516128d681615200565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212200d4192ff06f401c8cdda2d35764c94f68ea69ec91d6f1b49388ac28af3a4326b64736f6c63430008140033",
2972
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104d85760003560e01c80637b8c388f11610283578063c0c53b8b1161015c578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610bcb578063fa145b6d14610bde578063fb4a8e3414610bf1578063fbc1a3a014610c04578063fe1f18d614610c17578063fed3d63f14610c2a57600080fd5b8063e9e96c7014610b54578063f21de1e81461080a578063f48016ce14610b92578063f7b442d114610ba5578063f7bc431c14610bb857600080fd5b8063d2f21a2911610120578063d2f21a2914610aea578063d5c9d77d14610afd578063dee3262314610b10578063e1033e7d14610b23578063e5f6cd2714610b2b578063e7f7fb8614610b4157600080fd5b8063c0c53b8b14610ab4578063c29948fc1461060f578063ca600b1c14610ac7578063cde749f414610acf578063cf947d2014610ad757600080fd5b8063a671495e116101f5578063afcc7439116101b9578063afcc743914610a4d578063b3260e9314610a60578063b6d7cd6214610a73578063bb1e0e5914610a86578063bf1db3f914610a99578063bf7e214f14610aac57600080fd5b8063a671495e146109ff578063a76ee01814610a12578063a898967514610a25578063ada9652e14610a38578063afa5e1301461079e57600080fd5b806397affbf51161024757806397affbf5146109025780639df0280b146105df5780639e90178c14610915578063a13df2ab14610928578063a4eeee591461093b578063a5961b4c1461094e57600080fd5b80637b8c388f146108935780637cef4842146108a6578063893d20e8146108b95780638eaa6ac0146108c15780638fb36037146108e157600080fd5b80633ca7c02a116103b55780635772b1011161032757806361f5f420116102eb57806361f5f42014610824578063644c45e014610835578063675393bf1461085d5780636b9bf08b1461087057806375b238fc146108785780637a9e5e4b1461088057600080fd5b80635772b101146107e457806359852426146107f75780635ab1bd531461080a5780635d4345cc146105df5780635dfa73db1461081b57600080fd5b8063447fc48f11610379578063447fc48f14610770578063468a186714610783578063468bce06146107965780635378cd3c1461079e57806354d747a8146107b157806354f6127f146107c457600080fd5b80633ca7c02a146107095780633e35aba81461072f57806340529b0f14610742578063422c9d00146107555780634288121d1461076857600080fd5b80631b38d5f41161044e57806327bb7a331161041257806327bb7a33146106985780632f61088a146106ab57806336fc697e146106be57806337f135d7146106c657806338a699a4146106e35780633c0d6a41146106f657600080fd5b80631b38d5f4146106225780631eff4b2214610643578063214cdb801461066a5780632781d4431461067d57806327953f481461068557600080fd5b80630f526f7d116104a05780630f526f7d146105b95780630f749a89146105cc5780630fad0eb1146105df5780630fec111c146105f2578063138461e0146106075780631518afb91461060f57600080fd5b806301ffc9a7146104dd57806302cd30711461051f57806309648a9d146105445780630cbc6b891461057e5780630d35818114610593575b600080fd5b61050a6104eb366004613eca565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b039091168152602001610516565b61056c610552366004613ef4565b600090815260046020526040902054610100900460ff1690565b60405160ff9091168152602001610516565b61059161058c36600461413e565b610c32565b005b61056c6105a136600461418a565b60ff9081166000908152600260205260409020541690565b6105916105c73660046141a7565b610c78565b6105916105da3660046141e0565b610c99565b6105916105ed3660046141a7565b610e07565b6105fa610e1c565b604051610516919061424d565b610591610fcb565b61059161061d36600461450a565b6111cd565b610635610630366004614562565b6111f3565b604051908152602001610516565b6106357f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b610591610678366004613eca565b611292565b610635600381565b61059161069336600461466f565b6112bf565b6105916106a63660046146b5565b6112f1565b6105916106b93660046147a7565b61137d565b610591611418565b6106ce600081565b60405163ffffffff9091168152602001610516565b61050a6106f1366004613ef4565b61145e565b610591610704366004614863565b6114ed565b6107176001600160401b0381565b6040516001600160401b039091168152602001610516565b61063561073d366004614562565b611513565b6105916107503660046141a7565b611540565b6105916107633660046141e0565b611555565b61052c61175b565b61059161077e3660046148c4565b6117ee565b610635610791366004614562565b61181a565b610591611847565b6105916107ac366004614938565b611871565b6105916107bf366004614a19565b611884565b6107d76107d2366004613ef4565b6118a2565b6040516105169190614a55565b6105916107f2366004614aab565b611947565b610591610805366004614bcc565b61196d565b6001546001600160a01b031661052c565b61071761271081565b6007546001600160a01b031661052c565b600080516020615d09833981519152546040516001600160601b039091168152602001610516565b61059161086b3660046141e0565b611993565b61052c611a9f565b610717600081565b61059161088e3660046141e0565b611ac8565b6106356108a1366004614562565b611b4b565b6105916108b4366004614c13565b611b78565b61052c611c02565b6108d46108cf366004613ef4565b611d39565b6040516105169190614c7b565b6108e9611e7a565b6040516001600160e01b03199091168152602001610516565b610591610910366004614ca7565b611eb2565b610591610923366004614d91565b611ed8565b610635610936366004614562565b611f00565b610591610949366004614e59565b611f2d565b6109f261095c366004613ef4565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516105169190614ea0565b610591610a0d366004614f51565b611f55565b610591610a20366004614f96565b611f7b565b610591610a33366004614fdd565b612016565b610635600080516020615d0983398151915281565b610591610a5b36600461501d565b612107565b610591610a6e366004615062565b61212d565b610591610a813660046150a0565b61214b565b610591610a943660046150d0565b612160565b61050a610aa736600461418a565b612325565b61052c612372565b610591610ac23660046150fc565b61238e565b61052c61253b565b61056c612564565b610591610ae536600461513c565b6125db565b610591610af83660046141a7565b6125f9565b610591610b0b36600461517a565b612610565b610591610b1e3660046141a7565b612638565b61052c61264f565b60055461010090046001600160a01b031661052c565b610591610b4f3660046151bf565b612678565b61050a610b62366004614fdd565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b610635610ba0366004615210565b612852565b610591610bb336600461523e565b6128dd565b610591610bc63660046141e0565b612905565b610591610bd936600461527f565b6129f2565b610591610bec3660046152ad565b612a69565b610591610bff366004615304565b612a8f565b610591610c1236600461534b565b612ab5565b610591610c253660046141a7565b612add565b61052c612af2565b610c3f335b600036612b1b565b610c73610c4d84606e612c21565b83604051602001610c5e9190615379565b60405160208183030381529060405283612c6d565b505050565b610c8133610c37565b610c95610c8f83608c612c21565b82612c78565b5050565b610ca233610c37565b60055461010090046001600160a01b031615610d055760405162461bcd60e51b815260206004820152601c60248201527f496e7374616e63654163636573734d616e61676572206973207365740000000060448201526064015b60405180910390fd5b610d0d612372565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d789190615428565b6001600160a01b031614610ddf5760405162461bcd60e51b815260206004820152602860248201527f496e7374616e63654163636573734d616e6167657220617574686f72697479206044820152670dad2e6dac2e8c6d60c31b6064820152608401610cfc565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610e1033610c37565b610c95610c8f8361181a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610ec790615445565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef390615445565b8015610f405780601f10610f1557610100808354040283529160200191610f40565b820191906000526020600020905b815481529060010190602001808311610f2357829003601f168201915b50505050508152505090506040518060e00160405280610f5e600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610faf611c02565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615d0983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e919061547f565b1561108a5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610cfc565b3061109d6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611109919061547f565b6111315760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610cfc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a9919061549c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6111d633610c37565b610c736111e28461181a565b83604051602001610c5e91906154b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611268573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128c919061561e565b92915050565b61129a612c82565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6112c833610c37565b610c9582826040516020016112dd9190615637565b604051602081830303815290604052612ccb565b6112f9612c82565b61130382876129f2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611373838261572d565b5050505050505050565b61138633610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610c959073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156113e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611407919061561e565b826040516020016112dd91906157ec565b611420612c82565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156114c9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128c919061547f565b6114f633610c37565b610c736115028461181a565b826040516020016112dd919061581a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861121c565b61154933610c37565b610c95610c8f83611b4b565b61155e33610c37565b6007546001600160a01b0316156115ae5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610cfc565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161a9190615428565b6001600160a01b0316146116705760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610cfc565b611678612372565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e39190615428565b6001600160a01b0316146117395760405162461bcd60e51b815260206004820181905260248201527f42756e646c654d616e6167657220617574686f72697479206d69736d617463686044820152606401610cfc565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061176f6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156117c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615428565b905090565b6117f733610c37565b6118146118038561181a565b83604051602001610c5e919061581a565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361121c565b61184f612c82565b611857612cd5565b61185f612df8565b611867612eeb565b61186f612ff9565b565b61187a33610c37565b610c958282612c78565b61188d33610c37565b610c9582826040516020016112dd919061586b565b60008181526004602052604090206001018054606091906118c290615445565b80601f01602080910402602001604051908101604052809291908181526020018280546118ee90615445565b801561193b5780601f106119105761010080835404028352916020019161193b565b820191906000526020600020905b81548152906001019060200180831161191e57829003601f168201915b50505050509050919050565b61195033610c37565b61181461195c8561181a565b83604051602001610c5e9190615907565b61197633610c37565b610c7361198284611f00565b83604051602001610c5e9190615937565b61199b612c82565b806001600160a01b03163b6000036119d15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610cfc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611a4b575060408051601f3d908101601f19168201909252611a489181019061547f565b60015b611a735760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610cfc565b80610c955760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610cfc565b50565b6000611ab36001546001600160a01b031690565b6001600160a01b031663d39e6043608c611780565b33611ad1612372565b6001600160a01b0316816001600160a01b031614611b0c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610cfc565b816001600160a01b03163b600003611b42576040516361798f2f60e11b81526001600160a01b0383166004820152602401610cfc565b610c95826130b5565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61121c565b611b8133610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610c959073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611bde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8f919061561e565b600080600080516020615d0983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c96919061547f565b15611d23576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1d9190615428565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611df190615445565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1d90615445565b8015611e6a5780601f10611e3f57610100808354040283529160200191611e6a565b820191906000526020600020905b815481529060010190602001808311611e4d57829003601f168201915b5050505050815250509050919050565b600080516020615d29833981519152805460009190600160a01b900460ff16611ea4576000611d1d565b638fb3603760e01b91505090565b611ebb33610c37565b610c95611ec783611f00565b826040516020016112dd9190615937565b611ee133610c37565b610c95611eef836078612c21565b826040516020016112dd9190615a07565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61121c565b611f3633610c37565b610c73611f4484608c612c21565b83604051602001610c5e9190615a7b565b611f5e33610c37565b610c95611f6a83611b4b565b826040516020016112dd9190615afc565b611f8433610c37565b6040516355ee627560e01b81526001600160c01b031984166004820152610c739073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611fe1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612005919061561e565b83604051602001610c5e91906157ec565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801561207b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209f919061547f565b156120a957505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610c7357604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610cfc565b61211033610c37565b610c9561211c8361181a565b826040516020016112dd91906154b9565b61213633610c37565b610c738383604051602001610c5e9190615637565b61215433610c37565b610c73610c8f8461181a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cd9190615428565b6001600160a01b0316336001600160a01b0316146121ea57600080fd5b60055461010090046001600160a01b03166303014974612208613116565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561224c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612270919061561e565b1561227d5761227d615b5a565b60055461010090046001600160a01b031663b428b0b061229b613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af11580156122f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612314919061547f565b1515600114610c9557610c95615b5a565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016114ac565b600080516020615d29833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156123d35750825b90506000826001600160401b031660011480156123ef5750303b155b9050811580156123fd575080155b1561241b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561244557845460ff60401b1916600160401b1785555b61244e8861318e565b60008790506124d388826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b9919061549c565b604660018b604051806020016040528060008152506112f1565b6124db611847565b6124eb632a78f40560e11b611292565b50831561137357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b600061254f6001546001600160a01b031690565b6001600160a01b031663d39e60436078611780565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156125b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615b70565b6125e433610c37565b610c738383604051602001610c5e919061586b565b61260233610c37565b610c95610c8f836078612c21565b61261933610c37565b610c9561262783608c612c21565b826040516020016112dd9190615a7b565b61264133610c37565b610c95610c8f83606e612c21565b60006126636001546001600160a01b031690565b6001600160a01b031663d39e604360d3611780565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e59190615428565b6001600160a01b0316336001600160a01b03161461270257600080fd5b60055461010090046001600160a01b031663b7d2b162612720613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af1158015612775573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612799919061547f565b15156001146127aa576127aa615b5a565b60055461010090046001600160a01b031663b428b0b06127c8613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af115801561281d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612841919061547f565b1515600114610c7357610c73615b5a565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156128b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d6919061561e565b9392505050565b6128e633610c37565b610c736128f4846078612c21565b83604051602001610c5e9190615a07565b61290e33610c37565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612956573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297a9190615428565b6001600160a01b0316146129d05760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610cfc565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6129fa612c82565b612a0381611993565b612a0b611418565b6001600160a01b038216612a325760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615d0983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612a7233610c37565b610c73612a7e8461181a565b826040516020016112dd9190615907565b612a9833610c37565b610c73612aa484611b4b565b83604051602001610c5e9190615afc565b612abe33610c37565b610c95612acc83606e612c21565b826040516020016112dd9190615379565b612ae633610c37565b610c95610c8f83611f00565b6000612b066001546001600160a01b031690565b6001600160a01b031663d39e604360dc611780565b600080516020615d29833981519152600080612b56612b38612372565b8730612b48600460008a8c615b8d565b612b5191615bb7565b61319f565b9150915081612c195763ffffffff811615612bf657825460ff60a01b1916600160a01b178355612b84612372565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612bb393929190615be7565b600060405180830381600087803b158015612bcd57600080fd5b505af1158015612be1573d6000803e3d6000fd5b5050845460ff60a01b1916855550612c199050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610cfc565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612895565b610c738383836132ab565b610c95828261375c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661186f57604051631afcd79f60e31b815260040160405180910390fd5b610c958282613aa0565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff1681526020019081526020016000206000612dd460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff1681526020019081526020016000206000612ecd606e90565b60ff1660ff1681526020019081526020016000206000612dd460d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612db6565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c8612eaf565b600080516020615d2983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561316a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615c27565b613196612c82565b611a9c81613eb9565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161320e9190615c50565b600060405180830381855afa9150503d8060008114613249576040519150601f19603f3d011682016040523d82523d6000602084013e61324e565b606091505b509150915081156132a057604081511061328057808060200190518101906132769190615c6c565b90945092506132a0565b60208151106132a0578080602001905181019061329d919061547f565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613321919061547f565b61336d5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610cfc565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156133d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fd919061547f565b6134495760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610cfc565b6000858152600460205260409020600101613464858261572d565b5060ff8084161461348257815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166134b24390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135689190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135dc9190615c9b565b85888632876040516135f49796959493929190615cb8565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561366e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136929190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156136e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137069190615c9b565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156137ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d2919061547f565b61381e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610cfc565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561388a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ae919061547f565b6138fa5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610cfc565b815461390a9060ff168285612016565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661394e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a049190615b70565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a789190615c9b565b8588863287604051613a909796959493929190615cb8565b60405180910390a1505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b179190615b70565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015613b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b90919061547f565b613bdc5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610cfc565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c6d919061547f565b613cb95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610cfc565b33436000613cc685612325565b613cd1576064613ce7565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101613d71878261572d565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613de4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e089190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7c9190615c9b565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a00161374b565b613ec1612c82565b611a9c816130b5565b600060208284031215613edc57600080fd5b81356001600160e01b0319811681146128d657600080fd5b600060208284031215613f0657600080fd5b5035919050565b6001600160601b0381168114611a9c57600080fd5b8035613f2d81613f0d565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f6a57613f6a613f32565b60405290565b60405161010081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161020081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161012081016001600160401b0381118282101715613f6a57613f6a613f32565b604051608081016001600160401b0381118282101715613f6a57613f6a613f32565b60405160e081016001600160401b0381118282101715613f6a57613f6a613f32565b6001600160a01b0381168114611a9c57600080fd5b8035613f2d8161401d565b60006040828403121561404f57600080fd5b614057613f48565b9050813581526020820135602082015292915050565b8015158114611a9c57600080fd5b8035613f2d8161406d565b6000610140828403121561409957600080fd5b6140a1613f70565b90506140ac82614032565b81526140ba60208301614032565b60208201526140cb60408301613f22565b60408201526140dc60608301613f22565b60608201526140ee836080840161403d565b60808201526141008360c0840161403d565b60a0820152614112610100830161407b565b60c08201526141246101208301614032565b60e082015292915050565b60ff81168114611a9c57600080fd5b6000806000610180848603121561415457600080fd5b833561415f81613f0d565b925061416e8560208601614086565b915061016084013561417f8161412f565b809150509250925092565b60006020828403121561419c57600080fd5b81356128d68161412f565b600080604083850312156141ba57600080fd5b82356141c581613f0d565b915060208301356141d58161412f565b809150509250929050565b6000602082840312156141f257600080fd5b81356128d68161401d565b60005b83811015614218578181015183820152602001614200565b50506000910152565b600081518084526142398160208601602086016141fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516142b660c08401826001600160a01b03169052565b5060c083015160e0808401526142d0610100840182614221565b949350505050565b6001600160c01b031981168114611a9c57600080fd5b8035613f2d816142d8565b64ffffffffff81168114611a9c57600080fd5b8035613f2d816142f9565b600082601f83011261432857600080fd5b81356001600160401b038082111561434257614342613f32565b604051601f8301601f19908116603f0116810190828211818310171561436a5761436a613f32565b8160405283815286602085880101111561438357600080fd5b836020870160208301376000602085830101528094505050505092915050565b61ffff81168114611a9c57600080fd5b8035613f2d816143a3565b600061020082840312156143d157600080fd5b6143d9613f93565b90506143e482613f22565b81526143f260208301613f22565b6020820152614403604083016142ee565b6040820152614414606083016142ee565b60608201526080820135608082015260a082013560a082015260c082013560c082015261444360e0830161430c565b60e0820152610100808301356001600160401b038082111561446457600080fd5b61447086838701614317565b8385015261012092508285013591508082111561448c57600080fd5b5061449985828601614317565b8284015250506101406144ad8184016143b3565b908201526101606144bf8382016143b3565b9082015261018082810135908201526101a06144dc81840161430c565b908201526101c06144ee83820161430c565b908201526101e061450083820161430c565b9082015292915050565b60008060006060848603121561451f57600080fd5b833561452a81613f0d565b925060208401356001600160401b0381111561454557600080fd5b614551868287016143be565b925050604084013561417f8161412f565b60006020828403121561457457600080fd5b81356128d681613f0d565b63ffffffff81168114611a9c57600080fd5b8035613f2d8161457f565b600061012082840312156145af57600080fd5b6145b7613fb6565b905081356001600160401b03808211156145d057600080fd5b6145dc85838601614317565b835260208401356020840152604084013560408401526060840135606084015261460860808501614591565b608084015261461960a08501614591565b60a084015261462a60c0850161407b565b60c084015261463b60e0850161407b565b60e08401526101009150818401358181111561465657600080fd5b61466286828701614317565b8385015250505092915050565b6000806040838503121561468257600080fd5b8235915060208301356001600160401b0381111561469f57600080fd5b6146ab8582860161459c565b9150509250929050565b60008060008060008060c087890312156146ce57600080fd5b86356146d98161401d565b955060208701356146e981613f0d565b945060408701356146f98161412f565b935060608701356147098161406d565b925060808701356147198161401d565b915060a08701356001600160401b0381111561473457600080fd5b61474089828a01614317565b9150509295509295509295565b60006040828403121561475f57600080fd5b614767613f48565b9050813561477481613f0d565b815260208201356001600160401b0381111561478f57600080fd5b61479b84828501614317565b60208301525092915050565b600080604083850312156147ba57600080fd5b82356147c5816142d8565b915060208301356001600160401b038111156147e057600080fd5b6146ab8582860161474d565b6000608082840312156147fe57600080fd5b614806613fd9565b90508135614813816143a3565b81526020828101359082015260408201356001600160401b0381111561483857600080fd5b61484484828501614317565b6040830152506060820135614858816142f9565b606082015292915050565b60008060006060848603121561487857600080fd5b833561488381613f0d565b925060208401356148938161457f565b915060408401356001600160401b038111156148ae57600080fd5b6148ba868287016147ec565b9150509250925092565b600080600080608085870312156148da57600080fd5b84356148e581613f0d565b935060208501356148f58161457f565b925060408501356001600160401b0381111561491057600080fd5b61491c878288016147ec565b925050606085013561492d8161412f565b939692955090935050565b6000806040838503121561494b57600080fd5b8235915060208301356141d58161412f565b600060e0828403121561496f57600080fd5b614977613ffb565b905061498282613f22565b815260208201356001600160401b038082111561499e57600080fd5b6149aa85838601614317565b6020840152604084013560408401526149c560608501614591565b60608401526149d660808501614591565b60808401526149e760a0850161430c565b60a084015260c0840135915080821115614a0057600080fd5b50614a0d84828501614317565b60c08301525092915050565b60008060408385031215614a2c57600080fd5b8235915060208301356001600160401b03811115614a4957600080fd5b6146ab8582860161495d565b6020815260006128d66020830184614221565b600060808284031215614a7a57600080fd5b614a82613fd9565b9050813581526020820135602082015260408201356001600160401b0381111561483857600080fd5b60008060008060808587031215614ac157600080fd5b8435614acc81613f0d565b93506020850135614adc816143a3565b925060408501356001600160401b03811115614af757600080fd5b61491c87828801614a68565b60006101408284031215614b1657600080fd5b614b1e613fb6565b9050614b2982613f22565b8152614b38836020840161403d565b602082015260608201356001600160401b03811115614b5657600080fd5b614b6284828501614317565b604083015250614b7460808301613f22565b6060820152614b8560a08301613f22565b6080820152614b9660c08301613f22565b60a0820152614ba760e0830161430c565b60c0820152610100614bba81840161430c565b60e0830152614500610120840161430c565b600080600060608486031215614be157600080fd5b8335614bec81613f0d565b925060208401356001600160401b03811115614c0757600080fd5b61455186828701614b03565b60008060408385031215614c2657600080fd5b82356141c5816142d8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614c8d602082018351614c31565b6000602083015160c0808401526142d060e0840182614221565b60008060408385031215614cba57600080fd5b8235614cc581613f0d565b915060208301356001600160401b03811115614ce057600080fd5b6146ab85828601614b03565b60006101008284031215614cff57600080fd5b60405160c081018181106001600160401b0382111715614d2157614d21613f32565b6040529050808235614d3281613f0d565b81526020830135614d428161401d565b6020820152614d54846040850161403d565b6040820152614d66846080850161403d565b606082015260c0830135614d798161401d565b8060808301525060e083013560a08201525092915050565b6000806101208385031215614da557600080fd5b8235614db081613f0d565b9150614dbf8460208501614cec565b90509250929050565b600060e08284031215614dda57600080fd5b614de2613ffb565b905081356001600160401b0380821115614dfb57600080fd5b614e0785838601614317565b8352614e1560208501614032565b6020840152614e2660408501614032565b6040840152614e3760608501614032565b6060840152614e4860808501613f22565b60808401526149e760a08501613f22565b600080600060608486031215614e6e57600080fd5b8335614e7981613f0d565b925060208401356001600160401b03811115614e9457600080fd5b61455186828701614dc8565b60a0810161128c8284614c31565b600060a08284031215614ec057600080fd5b60405160a081016001600160401b038282108183111715614ee357614ee3613f32565b8160405282935084359150614ef7826142d8565b908252602084013590614f098261406d565b8160208401526040850135915080821115614f2357600080fd5b50614f3085828601614317565b60408301525060608301356060820152608083013560808201525092915050565b60008060408385031215614f6457600080fd5b8235614f6f81613f0d565b915060208301356001600160401b03811115614f8a57600080fd5b6146ab85828601614eae565b600080600060608486031215614fab57600080fd5b8335614fb6816142d8565b925060208401356001600160401b03811115614fd157600080fd5b6145518682870161474d565b600080600060608486031215614ff257600080fd5b8335614ffd8161412f565b9250602084013561500d8161412f565b9150604084013561417f8161412f565b6000806040838503121561503057600080fd5b823561503b81613f0d565b915060208301356001600160401b0381111561505657600080fd5b6146ab858286016143be565b60008060006060848603121561507757600080fd5b8335925060208401356001600160401b0381111561509457600080fd5b6145518682870161459c565b6000806000606084860312156150b557600080fd5b83356150c081613f0d565b9250602084013561500d816143a3565b600080604083850312156150e357600080fd5b82356150ee8161401d565b946020939093013593505050565b60008060006060848603121561511157600080fd5b833561511c8161401d565b9250602084013561512c8161401d565b9150604084013561417f8161401d565b60008060006060848603121561515157600080fd5b8335925060208401356001600160401b0381111561516e57600080fd5b6145518682870161495d565b6000806040838503121561518d57600080fd5b823561519881613f0d565b915060208301356001600160401b038111156151b357600080fd5b6146ab85828601614dc8565b6000806000606084860312156151d457600080fd5b83356151df8161401d565b925060208401356151ef8161401d565b929592945050506040919091013590565b60ff1981168114611a9c57600080fd5b6000806040838503121561522357600080fd5b823561522e8161412f565b915060208301356141d581615200565b6000806000610140848603121561525457600080fd5b833561525f81613f0d565b925061526e8560208601614cec565b915061012084013561417f8161412f565b6000806040838503121561529257600080fd5b823561529d8161401d565b915060208301356141d58161401d565b6000806000606084860312156152c257600080fd5b83356152cd81613f0d565b925060208401356152dd816143a3565b915060408401356001600160401b038111156152f857600080fd5b6148ba86828701614a68565b60008060006060848603121561531957600080fd5b833561532481613f0d565b925060208401356001600160401b0381111561533f57600080fd5b61455186828701614eae565b600080610160838503121561535f57600080fd5b823561536a81613f0d565b9150614dbf8460208501614086565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916153c8908401826001600160601b03169052565b5060808301516153e5608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60006020828403121561543a57600080fd5b81516128d68161401d565b600181811c9082168061545957607f821691505b60208210810361547957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561549157600080fd5b81516128d68161406d565b6000602082840312156154ae57600080fd5b81516128d681613f0d565b602081526154d36020820183516001600160601b03169052565b600060208301516154ef60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006155548185018364ffffffffff169052565b808501519150506102006101208181860152615574610220860184614221565b9250808601519050610140601f1986850301818701526155948483614221565b9350808701519150506101606155af8187018361ffff169052565b86015190506101806155c68682018361ffff169052565b8601516101a08681019190915286015190506101c06155ed8187018364ffffffffff169052565b86015190506101e06156078682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561563057600080fd5b5051919050565b6020815260008251610120806020850152615656610140850183614221565b9150602085015160408501526040850151606085015260608501516080850152608085015161568d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006156c38187018315159052565b860151858403601f19018387015290506156dd8382614221565b9695505050505050565b601f821115610c7357600081815260208120601f850160051c8101602086101561570e5750805b601f850160051c820191505b81811015612c195782815560010161571a565b81516001600160401b0381111561574657615746613f32565b61575a816157548454615445565b846156e7565b602080601f83116001811461578f57600084156157775750858301515b600019600386901b1c1916600185901b178555612c19565b600085815260208120601f198616915b828110156157be5788860151825594840194600190910190840161579f565b50858210156157dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526142d06060840182614221565b6020815261ffff825116602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261589b610100840182614221565b90506040840151606084015263ffffffff606085015116608084015260808401516158ce60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526158fe8282614221565b95945050505050565b602081528151602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b602081526159516020820183516001600160601b03169052565b6000602083015161596f604084018280518252602090810151910152565b50604083015161014080608085015261598c610160850183614221565b915060608501516159a860a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006159ed8187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150615607565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615a98610100840182614221565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615ae260a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526158e2565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615b3a60c0840182614221565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615b8257600080fd5b81516128d68161412f565b60008085851115615b9d57600080fd5b83861115615baa57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615bdf5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615c3957600080fd5b81516001600160401b03811681146128d657600080fd5b60008251615c628184602087016141fd565b9190910192915050565b60008060408385031215615c7f57600080fd5b8251615c8a8161406d565b60208401519092506141d58161457f565b600060208284031215615cad57600080fd5b81516128d681615200565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212200d4192ff06f401c8cdda2d35764c94f68ea69ec91d6f1b49388ac28af3a4326b64736f6c63430008140033",
834
+ "bytecode": "0x6080604052348015600e575f80fd5b5061239f8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c806376b707b711610109578063b428b0b01161009e578063d2192dbf1161006e578063d2192dbf14610464578063d4cda0d814610497578063e52ba1cb146104a8578063f7bc431c146104bb575f80fd5b8063b428b0b014610428578063b7d2b1621461043b578063b7d6851914610449578063bf7e214f1461045c575f80fd5b806389ad0a34116100d957806389ad0a34146103cd5780638fb36037146103e0578063ad12ad6014610401578063ada9652e14610414575f80fd5b806376b707b7146103905780637a9e5e4b146103aa5780638899278a146103bd578063893d20e8146103c5575f80fd5b80632d764ef81161017f5780635ab1bd531161014f5780635ab1bd531461033e5780635fa8aad41461034f578063644c45e0146103625780636dddada41461037f575f80fd5b80632d764ef8146102f4578063311adb681461030757806335876476146103185780634f8b8aba1461032b575f80fd5b8063138461e0116101ba578063138461e0146102775780631eff4b221461029757806329db8c3d146102cc5780632d46f5df146102e1575f80fd5b806301ffc9a7146101eb57806302cd30711461022c5780630e0c586d146102515780630fec111c14610262575b5f80fd5b6102176101f9366004611bc7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6007546001600160a01b0316610239565b61026a6104ce565b6040516102239190611c23565b61027f61068c565b6040516001600160601b039091168152602001610223565b6102be7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102df6102da366004611d6a565b61069b565b005b61027f6102ef366004611e27565b6106e1565b6102df610302366004611e42565b610793565b6004546001600160a01b0316610239565b6102df610326366004611e66565b610831565b6102df610339366004611f0b565b610dec565b6001546001600160a01b0316610239565b6102df61035d366004611f26565b610e94565b5f8051602061232a833981519152546001600160601b031661027f565b6006546001600160a01b0316610239565b610398610ed3565b60405160ff9091168152602001610223565b6102df6103b8366004611e27565b610f47565b6102be600381565b610239610fc9565b6102df6103db366004611f7f565b6110fa565b6103e861116f565b6040516001600160e01b03199091168152602001610223565b6102df61040f366004611fb6565b6111a4565b6102be5f8051602061232a83398151915281565b6102df610436366004612006565b61122b565b6102df61035d366004612006565b6102df610457366004612030565b6112a8565b610239611314565b610477610472366004612047565b61132f565b604080516001600160401b03938416815292909116602083015201610223565b6008546001600160a01b0316610239565b61027f6104b6366004611f0b565b611373565b6102df6104c9366004611e27565b6113e8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561057e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a29190612094565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105ea610fc9565b6001600160a01b03168152602001826001018054610607906120af565b80601f0160208091040260200160405190810160405280929190818152602001828054610633906120af565b801561067e5780601f106106555761010080835404028352916020019161067e565b820191905f5260205f20905b81548152906001019060200180831161066157829003601f168201915b505050505081525091505090565b5f610696306114a8565b905090565b6106a3610fc9565b6001600160a01b0316336001600160a01b0316146106db5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b5f6106ea610fc9565b6001600160a01b0316336001600160a01b03161461071d5760405163086391f760e31b81523360048201526024016106d2565b600254604051632d46f5df60e01b81526001600160a01b03848116600483015290911690632d46f5df906024015b6020604051808303815f875af1158015610767573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078b9190612094565b90505b919050565b61079b610fc9565b6001600160a01b0316336001600160a01b0316146107ce5760405163086391f760e31b81523360048201526024016106d2565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610818575f80fd5b505af115801561082a573d5f803e3d5ffd5b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156108755750825b90505f826001600160401b031660011480156108905750303b155b90508115801561089e575080155b156108bc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156108e657845460ff60401b1916600160401b1785555b600480546001600160a01b0319166001600160a01b038e1690811782556040805163bf7e214f60e01b815290515f9363bf7e214f928082019260209290918290030181865afa15801561093b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061095f91906120e7565b6001600160a01b031603610986576040516377dbcd1760e01b815260040160405180910390fd5b610a0260045f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109fd91906120e7565b6116a1565b610a7f87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a669190612094565b600a60018a60405180602001604052805f8152506116b5565b600880546001600160a01b03808e166001600160a01b03199283168117909355600680548e8316908416179055600780548d831690841617905560058054918c16919092161790556040805163204a7f0760e21b81529051638129fc1c916004808201925f9290919082900301818387803b158015610afc575f80fd5b505af1158015610b0e573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610b5e575f80fd5b505af1158015610b70573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610bc0575f80fd5b505af1158015610bd2573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610c22575f80fd5b505af1158015610c34573d5f803e3d5ffd5b50505050610c4a6001546001600160a01b031690565b6001600160a01b031663d39e6043600b610c62610ed3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610ca5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc991906120e7565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a610d01610ed3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610d44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6891906120e7565b600380546001600160a01b0319166001600160a01b0392909216919091179055610d9863b7b0abf760e01b61175a565b8315610dde57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b610df4610fc9565b6001600160a01b0316336001600160a01b031614610e275760405163086391f760e31b81523360048201526024016106d2565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610e7a575f80fd5b505af1158015610e8c573d5f803e3d5ffd5b505050505050565b610e9c610fc9565b6001600160a01b0316336001600160a01b031614610ecf5760405163086391f760e31b81523360048201526024016106d2565b5050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f23573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106969190612102565b33610f50611314565b6001600160a01b0316816001600160a01b031614610f8b5760405162d1953b60e31b81526001600160a01b03821660048201526024016106d2565b816001600160a01b03163b5f03610fc0576040516361798f2f60e11b81526001600160a01b03831660048201526024016106d2565b610ecf82611786565b5f805f8051602061232a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611035573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110599190612122565b156110e4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110de91906120e7565b91505090565b54600160601b90046001600160a01b0316919050565b611102610fc9565b6001600160a01b0316336001600160a01b0316146111355760405163086391f760e31b81523360048201526024016106d2565b600254604051637899d2b360e11b81526001600160a01b03848116600483015283151560248301529091169063f133a56690604401610e63565b5f8051602061234a83398151915280545f9190600160a01b900460ff16611196575f6110de565b638fb3603760e01b91505090565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120f91906120e7565b6001600160a01b0316336001600160a01b0316146106db575f80fd5b611233610fc9565b6001600160a01b0316336001600160a01b0316146112665760405163086391f760e31b81523360048201526024016106d2565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610e63565b6112b0610fc9565b6001600160a01b0316336001600160a01b0316146112e35760405163086391f760e31b81523360048201526024016106d2565b60035460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d6851990602401610801565b5f8051602061234a833981519152546001600160a01b031690565b5f80611339610fc9565b6001600160a01b0316336001600160a01b03161461136c5760405163086391f760e31b81523360048201526024016106d2565b9250929050565b5f61137c610fc9565b6001600160a01b0316336001600160a01b0316146113af5760405163086391f760e31b81523360048201526024016106d2565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb9060240161074b565b6113f3335f366117e6565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611439573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061145d91906120e7565b6001600160a01b031614611486576040516345789cf560e01b81523060048201526024016106d2565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f8051602061232a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611514573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115389190612122565b156115645780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106d2565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115da9190612122565b6116025760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106d2565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611654573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116789190612094565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6116a96118dc565b6116b281611927565b50565b6116bd6118dc565b6116c78683611938565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016117508382612186565b5050505050505050565b6117626118dc565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f8051602061234a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f8051602061234a8339815191525f8061181e611801611314565b873061181060045f8a8c612240565b61181991612267565b6119ae565b9150915081610e8c5763ffffffff8116156118b957825460ff60a01b1916600160a01b17835561184c611314565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161187b9392919061229f565b5f604051808303815f87803b158015611892575f80fd5b505af11580156118a4573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e8c9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106d2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661192557604051631afcd79f60e31b815260040160405180910390fd5b565b61192f6118dc565b6116b281611786565b6119406118dc565b61194982611ab6565b611951611b82565b6001600160a01b0381166119785760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061232a83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a1c91906122de565b5f60405180830381855afa9150503d805f8114611a54576040519150601f19603f3d011682016040523d82523d5f602084013e611a59565b606091505b50915091508115611aab576040815110611a8b5780806020019051810190611a8191906122f4565b9094509250611aab565b6020815110611aab5780806020019051810190611aa89190612122565b93505b505094509492505050565b611abe6118dc565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b389190612122565b611b605760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106d2565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611b8a6118dc565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611bd7575f80fd5b81356001600160e01b031981168114611bee575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611c6b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611caf610100840182611bf5565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611cda575f80fd5b81356001600160401b03811115611cf357611cf3611cb7565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611d2157611d21611cb7565b604052818152838201602001851015611d38575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b038116811461078e575f80fd5b5f805f8060608587031215611d7d575f80fd5b84356001600160401b03811115611d92575f80fd5b611d9e87828801611ccb565b94505060208501356001600160401b03811115611db9575f80fd5b8501601f81018713611dc9575f80fd5b80356001600160401b03811115611dde575f80fd5b8760208260051b8401011115611df2575f80fd5b60209190910193509150611e0860408601611d54565b905092959194509250565b6001600160a01b03811681146116b2575f80fd5b5f60208284031215611e37575f80fd5b8135611bee81611e13565b5f60208284031215611e52575f80fd5b813564ffffffffff81168114611bee575f80fd5b5f805f805f805f60e0888a031215611e7c575f80fd5b8735611e8781611e13565b96506020880135611e9781611e13565b95506040880135611ea781611e13565b94506060880135611eb781611e13565b93506080880135611ec781611e13565b925060a0880135611ed781611e13565b915060c0880135611ee781611e13565b8091505092959891949750929550565b6001600160601b03811681146116b2575f80fd5b5f60208284031215611f1b575f80fd5b8135611bee81611ef7565b5f8060408385031215611f37575f80fd5b8235611f4281611e13565b915060208301356001600160401b03811115611f5c575f80fd5b611f6885828601611ccb565b9150509250929050565b80151581146116b2575f80fd5b5f8060408385031215611f90575f80fd5b8235611f9b81611e13565b91506020830135611fab81611f72565b809150509250929050565b5f805f8060808587031215611fc9575f80fd5b8435611fd481611e13565b93506020850135611fe481611e13565b9250604085013591506060850135611ffb81611e13565b939692955090935050565b5f8060408385031215612017575f80fd5b61202083611d54565b91506020830135611fab81611e13565b5f60208284031215612040575f80fd5b5035919050565b5f8060408385031215612058575f80fd5b82356001600160401b0381111561206d575f80fd5b61207985828601611ccb565b92505060208301356001600160401b03811115611f5c575f80fd5b5f602082840312156120a4575f80fd5b8151611bee81611ef7565b600181811c908216806120c357607f821691505b6020821081036120e157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156120f7575f80fd5b8151611bee81611e13565b5f60208284031215612112575f80fd5b815160ff81168114611bee575f80fd5b5f60208284031215612132575f80fd5b8151611bee81611f72565b601f82111561218157805f5260205f20601f840160051c810160208510156121625750805b601f840160051c820191505b8181101561082a575f815560010161216e565b505050565b81516001600160401b0381111561219f5761219f611cb7565b6121b3816121ad84546120af565b8461213d565b6020601f8211600181146121e5575f83156121ce5750848201515b5f19600385901b1c1916600184901b17845561082a565b5f84815260208120601f198516915b8281101561221457878501518255602094850194600190920191016121f4565b508482101561223157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f808585111561224e575f80fd5b8386111561225a575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612298576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612305575f80fd5b825161231081611f72565b602084015190925063ffffffff81168114611fab575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209a5f0dc34eb5ad4bf145a4fb121b6c15924aaa688803fd69e8b5730d7456593c64736f6c634300081a0033",
835
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101e7575f3560e01c806376b707b711610109578063b428b0b01161009e578063d2192dbf1161006e578063d2192dbf14610464578063d4cda0d814610497578063e52ba1cb146104a8578063f7bc431c146104bb575f80fd5b8063b428b0b014610428578063b7d2b1621461043b578063b7d6851914610449578063bf7e214f1461045c575f80fd5b806389ad0a34116100d957806389ad0a34146103cd5780638fb36037146103e0578063ad12ad6014610401578063ada9652e14610414575f80fd5b806376b707b7146103905780637a9e5e4b146103aa5780638899278a146103bd578063893d20e8146103c5575f80fd5b80632d764ef81161017f5780635ab1bd531161014f5780635ab1bd531461033e5780635fa8aad41461034f578063644c45e0146103625780636dddada41461037f575f80fd5b80632d764ef8146102f4578063311adb681461030757806335876476146103185780634f8b8aba1461032b575f80fd5b8063138461e0116101ba578063138461e0146102775780631eff4b221461029757806329db8c3d146102cc5780632d46f5df146102e1575f80fd5b806301ffc9a7146101eb57806302cd30711461022c5780630e0c586d146102515780630fec111c14610262575b5f80fd5b6102176101f9366004611bc7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6007546001600160a01b0316610239565b61026a6104ce565b6040516102239190611c23565b61027f61068c565b6040516001600160601b039091168152602001610223565b6102be7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102df6102da366004611d6a565b61069b565b005b61027f6102ef366004611e27565b6106e1565b6102df610302366004611e42565b610793565b6004546001600160a01b0316610239565b6102df610326366004611e66565b610831565b6102df610339366004611f0b565b610dec565b6001546001600160a01b0316610239565b6102df61035d366004611f26565b610e94565b5f8051602061232a833981519152546001600160601b031661027f565b6006546001600160a01b0316610239565b610398610ed3565b60405160ff9091168152602001610223565b6102df6103b8366004611e27565b610f47565b6102be600381565b610239610fc9565b6102df6103db366004611f7f565b6110fa565b6103e861116f565b6040516001600160e01b03199091168152602001610223565b6102df61040f366004611fb6565b6111a4565b6102be5f8051602061232a83398151915281565b6102df610436366004612006565b61122b565b6102df61035d366004612006565b6102df610457366004612030565b6112a8565b610239611314565b610477610472366004612047565b61132f565b604080516001600160401b03938416815292909116602083015201610223565b6008546001600160a01b0316610239565b61027f6104b6366004611f0b565b611373565b6102df6104c9366004611e27565b6113e8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561057e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a29190612094565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105ea610fc9565b6001600160a01b03168152602001826001018054610607906120af565b80601f0160208091040260200160405190810160405280929190818152602001828054610633906120af565b801561067e5780601f106106555761010080835404028352916020019161067e565b820191905f5260205f20905b81548152906001019060200180831161066157829003601f168201915b505050505081525091505090565b5f610696306114a8565b905090565b6106a3610fc9565b6001600160a01b0316336001600160a01b0316146106db5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b5f6106ea610fc9565b6001600160a01b0316336001600160a01b03161461071d5760405163086391f760e31b81523360048201526024016106d2565b600254604051632d46f5df60e01b81526001600160a01b03848116600483015290911690632d46f5df906024015b6020604051808303815f875af1158015610767573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078b9190612094565b90505b919050565b61079b610fc9565b6001600160a01b0316336001600160a01b0316146107ce5760405163086391f760e31b81523360048201526024016106d2565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610818575f80fd5b505af115801561082a573d5f803e3d5ffd5b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156108755750825b90505f826001600160401b031660011480156108905750303b155b90508115801561089e575080155b156108bc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156108e657845460ff60401b1916600160401b1785555b600480546001600160a01b0319166001600160a01b038e1690811782556040805163bf7e214f60e01b815290515f9363bf7e214f928082019260209290918290030181865afa15801561093b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061095f91906120e7565b6001600160a01b031603610986576040516377dbcd1760e01b815260040160405180910390fd5b610a0260045f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109fd91906120e7565b6116a1565b610a7f87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a669190612094565b600a60018a60405180602001604052805f8152506116b5565b600880546001600160a01b03808e166001600160a01b03199283168117909355600680548e8316908416179055600780548d831690841617905560058054918c16919092161790556040805163204a7f0760e21b81529051638129fc1c916004808201925f9290919082900301818387803b158015610afc575f80fd5b505af1158015610b0e573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610b5e575f80fd5b505af1158015610b70573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610bc0575f80fd5b505af1158015610bd2573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610c22575f80fd5b505af1158015610c34573d5f803e3d5ffd5b50505050610c4a6001546001600160a01b031690565b6001600160a01b031663d39e6043600b610c62610ed3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610ca5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc991906120e7565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a610d01610ed3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610d44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6891906120e7565b600380546001600160a01b0319166001600160a01b0392909216919091179055610d9863b7b0abf760e01b61175a565b8315610dde57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b610df4610fc9565b6001600160a01b0316336001600160a01b031614610e275760405163086391f760e31b81523360048201526024016106d2565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610e7a575f80fd5b505af1158015610e8c573d5f803e3d5ffd5b505050505050565b610e9c610fc9565b6001600160a01b0316336001600160a01b031614610ecf5760405163086391f760e31b81523360048201526024016106d2565b5050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f23573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106969190612102565b33610f50611314565b6001600160a01b0316816001600160a01b031614610f8b5760405162d1953b60e31b81526001600160a01b03821660048201526024016106d2565b816001600160a01b03163b5f03610fc0576040516361798f2f60e11b81526001600160a01b03831660048201526024016106d2565b610ecf82611786565b5f805f8051602061232a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611035573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110599190612122565b156110e4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110de91906120e7565b91505090565b54600160601b90046001600160a01b0316919050565b611102610fc9565b6001600160a01b0316336001600160a01b0316146111355760405163086391f760e31b81523360048201526024016106d2565b600254604051637899d2b360e11b81526001600160a01b03848116600483015283151560248301529091169063f133a56690604401610e63565b5f8051602061234a83398151915280545f9190600160a01b900460ff16611196575f6110de565b638fb3603760e01b91505090565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120f91906120e7565b6001600160a01b0316336001600160a01b0316146106db575f80fd5b611233610fc9565b6001600160a01b0316336001600160a01b0316146112665760405163086391f760e31b81523360048201526024016106d2565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610e63565b6112b0610fc9565b6001600160a01b0316336001600160a01b0316146112e35760405163086391f760e31b81523360048201526024016106d2565b60035460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d6851990602401610801565b5f8051602061234a833981519152546001600160a01b031690565b5f80611339610fc9565b6001600160a01b0316336001600160a01b03161461136c5760405163086391f760e31b81523360048201526024016106d2565b9250929050565b5f61137c610fc9565b6001600160a01b0316336001600160a01b0316146113af5760405163086391f760e31b81523360048201526024016106d2565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb9060240161074b565b6113f3335f366117e6565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611439573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061145d91906120e7565b6001600160a01b031614611486576040516345789cf560e01b81523060048201526024016106d2565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f8051602061232a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611514573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115389190612122565b156115645780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106d2565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115da9190612122565b6116025760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106d2565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611654573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116789190612094565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6116a96118dc565b6116b281611927565b50565b6116bd6118dc565b6116c78683611938565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016117508382612186565b5050505050505050565b6117626118dc565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f8051602061234a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f8051602061234a8339815191525f8061181e611801611314565b873061181060045f8a8c612240565b61181991612267565b6119ae565b9150915081610e8c5763ffffffff8116156118b957825460ff60a01b1916600160a01b17835561184c611314565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161187b9392919061229f565b5f604051808303815f87803b158015611892575f80fd5b505af11580156118a4573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e8c9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106d2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661192557604051631afcd79f60e31b815260040160405180910390fd5b565b61192f6118dc565b6116b281611786565b6119406118dc565b61194982611ab6565b611951611b82565b6001600160a01b0381166119785760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061232a83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a1c91906122de565b5f60405180830381855afa9150503d805f8114611a54576040519150601f19603f3d011682016040523d82523d5f602084013e611a59565b606091505b50915091508115611aab576040815110611a8b5780806020019051810190611a8191906122f4565b9094509250611aab565b6020815110611aab5780806020019051810190611aa89190612122565b93505b505094509492505050565b611abe6118dc565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b389190612122565b611b605760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106d2565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611b8a6118dc565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611bd7575f80fd5b81356001600160e01b031981168114611bee575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611c6b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611caf610100840182611bf5565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611cda575f80fd5b81356001600160401b03811115611cf357611cf3611cb7565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611d2157611d21611cb7565b604052818152838201602001851015611d38575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b038116811461078e575f80fd5b5f805f8060608587031215611d7d575f80fd5b84356001600160401b03811115611d92575f80fd5b611d9e87828801611ccb565b94505060208501356001600160401b03811115611db9575f80fd5b8501601f81018713611dc9575f80fd5b80356001600160401b03811115611dde575f80fd5b8760208260051b8401011115611df2575f80fd5b60209190910193509150611e0860408601611d54565b905092959194509250565b6001600160a01b03811681146116b2575f80fd5b5f60208284031215611e37575f80fd5b8135611bee81611e13565b5f60208284031215611e52575f80fd5b813564ffffffffff81168114611bee575f80fd5b5f805f805f805f60e0888a031215611e7c575f80fd5b8735611e8781611e13565b96506020880135611e9781611e13565b95506040880135611ea781611e13565b94506060880135611eb781611e13565b93506080880135611ec781611e13565b925060a0880135611ed781611e13565b915060c0880135611ee781611e13565b8091505092959891949750929550565b6001600160601b03811681146116b2575f80fd5b5f60208284031215611f1b575f80fd5b8135611bee81611ef7565b5f8060408385031215611f37575f80fd5b8235611f4281611e13565b915060208301356001600160401b03811115611f5c575f80fd5b611f6885828601611ccb565b9150509250929050565b80151581146116b2575f80fd5b5f8060408385031215611f90575f80fd5b8235611f9b81611e13565b91506020830135611fab81611f72565b809150509250929050565b5f805f8060808587031215611fc9575f80fd5b8435611fd481611e13565b93506020850135611fe481611e13565b9250604085013591506060850135611ffb81611e13565b939692955090935050565b5f8060408385031215612017575f80fd5b61202083611d54565b91506020830135611fab81611e13565b5f60208284031215612040575f80fd5b5035919050565b5f8060408385031215612058575f80fd5b82356001600160401b0381111561206d575f80fd5b61207985828601611ccb565b92505060208301356001600160401b03811115611f5c575f80fd5b5f602082840312156120a4575f80fd5b8151611bee81611ef7565b600181811c908216806120c357607f821691505b6020821081036120e157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156120f7575f80fd5b8151611bee81611e13565b5f60208284031215612112575f80fd5b815160ff81168114611bee575f80fd5b5f60208284031215612132575f80fd5b8151611bee81611f72565b601f82111561218157805f5260205f20601f840160051c810160208510156121625750805b601f840160051c820191505b8181101561082a575f815560010161216e565b505050565b81516001600160401b0381111561219f5761219f611cb7565b6121b3816121ad84546120af565b8461213d565b6020601f8211600181146121e5575f83156121ce5750848201515b5f19600385901b1c1916600184901b17845561082a565b5f84815260208120601f198516915b8281101561221457878501518255602094850194600190920191016121f4565b508482101561223157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f808585111561224e575f80fd5b8386111561225a575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612298576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612305575f80fd5b825161231081611f72565b602084015190925063ffffffff81168114611fab575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209a5f0dc34eb5ad4bf145a4fb121b6c15924aaa688803fd69e8b5730d7456593c64736f6c634300081a0033",
2973
836
  "linkReferences": {
2974
- "contracts/types/Key32.sol": {
2975
- "Key32Lib": [
2976
- {
2977
- "length": 20,
2978
- "start": 10392
2979
- },
2980
- {
2981
- "length": 20,
2982
- "start": 13611
2983
- },
2984
- {
2985
- "length": 20,
2986
- "start": 13727
2987
- },
2988
- {
2989
- "length": 20,
2990
- "start": 13909
2991
- },
2992
- {
2993
- "length": 20,
2994
- "start": 14025
2995
- },
2996
- {
2997
- "length": 20,
2998
- "start": 14791
2999
- },
837
+ "contracts/shared/ContractLib.sol": {
838
+ "ContractLib": [
3000
839
  {
3001
840
  "length": 20,
3002
- "start": 14907
3003
- },
3004
- {
3005
- "length": 20,
3006
- "start": 15066
3007
- },
3008
- {
3009
- "length": 20,
3010
- "start": 15819
3011
- },
3012
- {
3013
- "length": 20,
3014
- "start": 15935
841
+ "start": 6904
3015
842
  }
3016
843
  ]
3017
844
  },
3018
- "contracts/types/NftId.sol": {
845
+ "contracts/type/NftId.sol": {
3019
846
  "NftIdLib": [
3020
847
  {
3021
848
  "length": 20,
3022
- "start": 4129
3023
- },
3024
- {
3025
- "length": 20,
3026
- "start": 4632
3027
- },
3028
- {
3029
- "length": 20,
3030
- "start": 5432
3031
- },
3032
- {
3033
- "length": 20,
3034
- "start": 6207
3035
- },
3036
- {
3037
- "length": 20,
3038
- "start": 7024
3039
- },
3040
- {
3041
- "length": 20,
3042
- "start": 7257
3043
- },
3044
- {
3045
- "length": 20,
3046
- "start": 7973
3047
- },
3048
- {
3049
- "length": 20,
3050
- "start": 11372
3051
- }
3052
- ]
3053
- },
3054
- "contracts/types/ObjectType.sol": {
3055
- "ObjectTypeLib": [
3056
- {
3057
- "length": 20,
3058
- "start": 15187
3059
- }
3060
- ]
3061
- },
3062
- "contracts/types/RiskId.sol": {
3063
- "RiskIdLib": [
3064
- {
3065
- "length": 20,
3066
- "start": 5066
3067
- },
3068
- {
3069
- "length": 20,
3070
- "start": 7109
3071
- },
3072
- {
3073
- "length": 20,
3074
- "start": 8136
3075
- }
3076
- ]
3077
- },
3078
- "contracts/types/RoleId.sol": {
3079
- "RoleIdLib": [
3080
- {
3081
- "length": 20,
3082
- "start": 12625
3083
- }
3084
- ]
3085
- },
3086
- "contracts/types/StateId.sol": {
3087
- "StateIdLib": [
3088
- {
3089
- "length": 20,
3090
- "start": 5295
3091
- },
3092
- {
3093
- "length": 20,
3094
- "start": 8290
3095
- },
3096
- {
3097
- "length": 20,
3098
- "start": 9073
3099
- },
3100
- {
3101
- "length": 20,
3102
- "start": 13028
3103
- },
3104
- {
3105
- "length": 20,
3106
- "start": 13248
849
+ "start": 1365
3107
850
  },
3108
851
  {
3109
852
  "length": 20,
3110
- "start": 14229
853
+ "start": 4121
3111
854
  },
3112
855
  {
3113
856
  "length": 20,
3114
- "start": 14449
3115
- },
3116
- {
3117
- "length": 20,
3118
- "start": 15408
857
+ "start": 5368
3119
858
  }
3120
859
  ]
3121
860
  },
3122
- "contracts/types/Version.sol": {
861
+ "contracts/type/Version.sol": {
3123
862
  "VersionPartLib": [
3124
863
  {
3125
864
  "length": 20,
3126
- "start": 9630
865
+ "start": 3847
3127
866
  }
3128
867
  ]
3129
868
  }
3130
869
  },
3131
870
  "deployedLinkReferences": {
3132
- "contracts/types/Key32.sol": {
3133
- "Key32Lib": [
3134
- {
3135
- "length": 20,
3136
- "start": 10359
3137
- },
3138
- {
3139
- "length": 20,
3140
- "start": 13578
3141
- },
3142
- {
3143
- "length": 20,
3144
- "start": 13694
3145
- },
3146
- {
3147
- "length": 20,
3148
- "start": 13876
3149
- },
3150
- {
3151
- "length": 20,
3152
- "start": 13992
3153
- },
3154
- {
3155
- "length": 20,
3156
- "start": 14758
3157
- },
3158
- {
3159
- "length": 20,
3160
- "start": 14874
3161
- },
3162
- {
3163
- "length": 20,
3164
- "start": 15033
3165
- },
3166
- {
3167
- "length": 20,
3168
- "start": 15786
3169
- },
871
+ "contracts/shared/ContractLib.sol": {
872
+ "ContractLib": [
3170
873
  {
3171
874
  "length": 20,
3172
- "start": 15902
875
+ "start": 6876
3173
876
  }
3174
877
  ]
3175
878
  },
3176
- "contracts/types/NftId.sol": {
879
+ "contracts/type/NftId.sol": {
3177
880
  "NftIdLib": [
3178
881
  {
3179
882
  "length": 20,
3180
- "start": 4096
3181
- },
3182
- {
3183
- "length": 20,
3184
- "start": 4599
3185
- },
3186
- {
3187
- "length": 20,
3188
- "start": 5399
3189
- },
3190
- {
3191
- "length": 20,
3192
- "start": 6174
3193
- },
3194
- {
3195
- "length": 20,
3196
- "start": 6991
3197
- },
3198
- {
3199
- "length": 20,
3200
- "start": 7224
3201
- },
3202
- {
3203
- "length": 20,
3204
- "start": 7940
3205
- },
3206
- {
3207
- "length": 20,
3208
- "start": 11339
3209
- }
3210
- ]
3211
- },
3212
- "contracts/types/ObjectType.sol": {
3213
- "ObjectTypeLib": [
3214
- {
3215
- "length": 20,
3216
- "start": 15154
3217
- }
3218
- ]
3219
- },
3220
- "contracts/types/RiskId.sol": {
3221
- "RiskIdLib": [
3222
- {
3223
- "length": 20,
3224
- "start": 5033
3225
- },
3226
- {
3227
- "length": 20,
3228
- "start": 7076
3229
- },
3230
- {
3231
- "length": 20,
3232
- "start": 8103
3233
- }
3234
- ]
3235
- },
3236
- "contracts/types/RoleId.sol": {
3237
- "RoleIdLib": [
3238
- {
3239
- "length": 20,
3240
- "start": 12592
3241
- }
3242
- ]
3243
- },
3244
- "contracts/types/StateId.sol": {
3245
- "StateIdLib": [
3246
- {
3247
- "length": 20,
3248
- "start": 5262
3249
- },
3250
- {
3251
- "length": 20,
3252
- "start": 8257
3253
- },
3254
- {
3255
- "length": 20,
3256
- "start": 9040
3257
- },
3258
- {
3259
- "length": 20,
3260
- "start": 12995
3261
- },
3262
- {
3263
- "length": 20,
3264
- "start": 13215
3265
- },
3266
- {
3267
- "length": 20,
3268
- "start": 14196
883
+ "start": 1337
3269
884
  },
3270
885
  {
3271
886
  "length": 20,
3272
- "start": 14416
887
+ "start": 4093
3273
888
  },
3274
889
  {
3275
890
  "length": 20,
3276
- "start": 15375
891
+ "start": 5340
3277
892
  }
3278
893
  ]
3279
894
  },
3280
- "contracts/types/Version.sol": {
895
+ "contracts/type/Version.sol": {
3281
896
  "VersionPartLib": [
3282
897
  {
3283
898
  "length": 20,
3284
- "start": 9597
899
+ "start": 3819
3285
900
  }
3286
901
  ]
3287
902
  }