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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (812) hide show
  1. package/README.md +205 -21
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/base/ModuleBase.sol/ModuleBase.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +606 -1394
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +1082 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +675 -1717
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2646 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1328 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +772 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3792 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +886 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +404 -351
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IRiskService.sol/IRiskService.json} +353 -249
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +931 -154
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +409 -209
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1259 -258
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +360 -323
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +384 -115
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +721 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Component.sol/Component.json} +374 -150
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/IComponent.sol/IComponent.json} +286 -200
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  240. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +128 -178
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  253. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +162 -155
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  259. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  267. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  271. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  272. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  273. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +179 -165
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2757 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  284. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  285. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  286. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/Staking.sol/Staking.json +3185 -0
  288. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +847 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +766 -0
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  300. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  302. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  303. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  304. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  305. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  306. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  308. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  310. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  312. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  314. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  316. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  318. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  320. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  321. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  322. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  324. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  325. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  326. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  328. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  330. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  332. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  334. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  336. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  338. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  342. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  344. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  346. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  348. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  350. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  352. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  354. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  355. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  356. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  358. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  360. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  362. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  364. package/contracts/accounting/AccountingService.sol +274 -0
  365. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  366. package/contracts/accounting/IAccountingService.sol +47 -0
  367. package/contracts/authorization/AccessAdmin.sol +780 -0
  368. package/contracts/authorization/AccessAdminLib.sol +396 -0
  369. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  370. package/contracts/authorization/Authorization.sol +169 -0
  371. package/contracts/authorization/IAccess.sol +67 -0
  372. package/contracts/authorization/IAccessAdmin.sol +144 -0
  373. package/contracts/authorization/IAuthorization.sol +26 -0
  374. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  375. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  376. package/contracts/distribution/BasicDistribution.sol +141 -0
  377. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  378. package/contracts/distribution/Distribution.sol +247 -0
  379. package/contracts/distribution/DistributionService.sol +448 -0
  380. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  381. package/contracts/distribution/IDistributionComponent.sol +45 -0
  382. package/contracts/distribution/IDistributionService.sol +115 -0
  383. package/contracts/examples/fire/DamageLevel.sol +59 -0
  384. package/contracts/examples/fire/FirePool.sol +86 -0
  385. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  386. package/contracts/examples/fire/FireProduct.sol +433 -0
  387. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  388. package/contracts/examples/fire/FireUSD.sol +26 -0
  389. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  390. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  392. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  393. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  394. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  395. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  396. package/contracts/instance/BundleSet.sol +130 -0
  397. package/contracts/instance/IInstance.sol +138 -45
  398. package/contracts/instance/IInstanceService.sol +117 -0
  399. package/contracts/instance/Instance.sol +334 -70
  400. package/contracts/instance/InstanceAdmin.sol +383 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  402. package/contracts/instance/InstanceReader.sol +632 -0
  403. package/contracts/instance/InstanceService.sol +500 -0
  404. package/contracts/instance/InstanceServiceManager.sol +39 -0
  405. package/contracts/instance/InstanceStore.sol +298 -0
  406. package/contracts/instance/RiskSet.sol +126 -0
  407. package/contracts/instance/base/BalanceStore.sol +121 -0
  408. package/contracts/instance/base/Cloneable.sol +28 -0
  409. package/contracts/instance/base/ObjectCounter.sol +20 -0
  410. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  411. package/contracts/instance/base/ObjectSet.sol +77 -0
  412. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  413. package/contracts/instance/module/IBundle.sol +21 -0
  414. package/contracts/instance/module/IComponents.sol +62 -0
  415. package/contracts/instance/module/IDistribution.sol +54 -0
  416. package/contracts/instance/module/IPolicy.sol +105 -0
  417. package/contracts/instance/module/IRisk.sol +16 -0
  418. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  419. package/contracts/oracle/BasicOracle.sol +45 -0
  420. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  421. package/contracts/oracle/IOracle.sol +41 -0
  422. package/contracts/oracle/IOracleComponent.sol +33 -0
  423. package/contracts/oracle/IOracleService.sol +66 -0
  424. package/contracts/oracle/Oracle.sol +154 -0
  425. package/contracts/oracle/OracleService.sol +310 -0
  426. package/contracts/oracle/OracleServiceManager.sol +39 -0
  427. package/contracts/pool/BasicPool.sol +162 -0
  428. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  429. package/contracts/pool/BundleService.sol +386 -0
  430. package/contracts/pool/BundleServiceManager.sol +39 -0
  431. package/contracts/pool/IBundleService.sol +116 -0
  432. package/contracts/pool/IPoolComponent.sol +62 -0
  433. package/contracts/pool/IPoolService.sol +170 -0
  434. package/contracts/pool/Pool.sol +333 -0
  435. package/contracts/pool/PoolLib.sol +341 -0
  436. package/contracts/pool/PoolService.sol +614 -0
  437. package/contracts/pool/PoolServiceManager.sol +39 -0
  438. package/contracts/product/ApplicationService.sol +327 -0
  439. package/contracts/product/ApplicationServiceManager.sol +38 -0
  440. package/contracts/product/BasicProduct.sol +49 -0
  441. package/contracts/product/BasicProductAuthorization.sol +63 -0
  442. package/contracts/product/ClaimService.sol +630 -0
  443. package/contracts/product/ClaimServiceManager.sol +38 -0
  444. package/contracts/product/IApplicationService.sol +88 -0
  445. package/contracts/product/IClaimService.sol +136 -0
  446. package/contracts/product/IPolicyService.sol +102 -0
  447. package/contracts/product/IPricingService.sol +40 -0
  448. package/contracts/product/IProductComponent.sol +62 -0
  449. package/contracts/product/IRiskService.sol +48 -0
  450. package/contracts/product/PolicyService.sol +645 -0
  451. package/contracts/product/PolicyServiceLib.sol +139 -0
  452. package/contracts/product/PolicyServiceManager.sol +39 -0
  453. package/contracts/product/PricingService.sol +306 -0
  454. package/contracts/product/PricingServiceManager.sol +39 -0
  455. package/contracts/product/Product.sol +493 -0
  456. package/contracts/product/RiskService.sol +190 -0
  457. package/contracts/product/RiskServiceManager.sol +39 -0
  458. package/contracts/registry/ChainNft.sol +82 -35
  459. package/contracts/registry/IRegistry.sol +134 -19
  460. package/contracts/registry/IRegistryService.sol +47 -20
  461. package/contracts/registry/IRelease.sol +29 -0
  462. package/contracts/registry/ITransferInterceptor.sol +1 -1
  463. package/contracts/registry/Registry.sol +580 -267
  464. package/contracts/registry/RegistryAdmin.sol +191 -0
  465. package/contracts/registry/RegistryAuthorization.sol +336 -0
  466. package/contracts/registry/RegistryService.sol +124 -324
  467. package/contracts/registry/RegistryServiceManager.sol +27 -38
  468. package/contracts/registry/ReleaseAdmin.sol +195 -0
  469. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  470. package/contracts/registry/ReleaseRegistry.sol +525 -0
  471. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  472. package/contracts/registry/TokenRegistry.sol +317 -0
  473. package/contracts/shared/Component.sol +214 -0
  474. package/contracts/shared/ComponentService.sol +687 -0
  475. package/contracts/shared/ComponentServiceManager.sol +38 -0
  476. package/contracts/shared/ContractLib.sol +312 -0
  477. package/contracts/shared/IComponent.sol +58 -0
  478. package/contracts/shared/IComponentService.sol +111 -0
  479. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  480. package/contracts/shared/IKeyValueStore.sol +54 -0
  481. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  482. package/contracts/shared/INftOwnable.sol +17 -12
  483. package/contracts/shared/IPolicyHolder.sol +35 -0
  484. package/contracts/shared/IRegisterable.sol +24 -5
  485. package/contracts/shared/IRegistryLinked.sol +11 -0
  486. package/contracts/shared/IService.sol +23 -0
  487. package/contracts/shared/InitializableERC165.sol +35 -0
  488. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  489. package/contracts/shared/KeyValueStore.sol +131 -0
  490. package/contracts/shared/Lifecycle.sol +88 -0
  491. package/contracts/shared/NftIdSet.sol +65 -0
  492. package/contracts/shared/NftOwnable.sol +77 -84
  493. package/contracts/shared/PolicyHolder.sol +63 -0
  494. package/contracts/shared/Registerable.sol +54 -37
  495. package/contracts/shared/RegistryLinked.sol +38 -0
  496. package/contracts/shared/Service.sol +67 -0
  497. package/contracts/shared/TokenHandler.sol +342 -0
  498. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  499. package/contracts/staking/IStaking.sol +367 -0
  500. package/contracts/staking/IStakingService.sol +127 -0
  501. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  502. package/contracts/staking/Staking.sol +798 -0
  503. package/contracts/staking/StakingLib.sol +195 -0
  504. package/contracts/staking/StakingManager.sol +53 -0
  505. package/contracts/staking/StakingReader.sol +171 -0
  506. package/contracts/staking/StakingService.sol +321 -0
  507. package/contracts/staking/StakingServiceManager.sol +46 -0
  508. package/contracts/staking/StakingStore.sol +1368 -0
  509. package/contracts/staking/TargetHandler.sol +132 -0
  510. package/contracts/staking/TargetManagerLib.sol +234 -0
  511. package/contracts/{types → type}/AddressSet.sol +1 -1
  512. package/contracts/type/Amount.sol +154 -0
  513. package/contracts/{types → type}/Blocknumber.sol +36 -12
  514. package/contracts/type/ChainId.sol +101 -0
  515. package/contracts/type/ClaimId.sol +80 -0
  516. package/contracts/{types → type}/DistributorType.sol +2 -2
  517. package/contracts/type/Fee.sol +66 -0
  518. package/contracts/{types → type}/Key32.sol +2 -2
  519. package/contracts/type/Key32Set.sol +62 -0
  520. package/contracts/{types → type}/NftId.sol +28 -15
  521. package/contracts/type/NftIdSet.sol +62 -0
  522. package/contracts/type/ObjectType.sol +307 -0
  523. package/contracts/type/PayoutId.sol +82 -0
  524. package/contracts/{types → type}/Referral.sol +6 -1
  525. package/contracts/type/RequestId.sol +75 -0
  526. package/contracts/type/RiskId.sol +75 -0
  527. package/contracts/type/RoleId.sol +180 -0
  528. package/contracts/type/Seconds.sol +120 -0
  529. package/contracts/type/Selector.sol +107 -0
  530. package/contracts/{types → type}/StateId.sol +52 -4
  531. package/contracts/type/String.sol +65 -0
  532. package/contracts/{types → type}/Timestamp.sol +36 -20
  533. package/contracts/type/UFixed.sol +263 -0
  534. package/contracts/{types → type}/Version.sol +61 -6
  535. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  536. package/contracts/upgradeability/ProxyManager.sol +246 -0
  537. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  538. package/contracts/upgradeability/Versionable.sol +62 -0
  539. package/package.json +12 -8
  540. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -301
  542. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  543. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -557
  544. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  546. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  547. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -177
  548. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  549. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -308
  550. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  551. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -207
  552. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  553. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -716
  554. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  555. package/artifacts/contracts/components/Product.sol/Product.json +0 -614
  556. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  558. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  560. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  562. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  564. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  566. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  568. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  570. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  572. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  574. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  576. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  579. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  581. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  583. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  585. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  587. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  588. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  589. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  590. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  591. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  592. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  593. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  594. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  595. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  597. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  599. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -718
  605. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  607. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  608. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  609. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  611. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  614. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  616. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  618. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  620. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  622. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  625. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  627. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  628. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  629. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  630. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  631. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  633. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  635. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  638. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  642. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  644. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  646. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  647. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  648. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -843
  650. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -646
  652. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  653. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  654. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  655. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  656. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  657. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  658. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  659. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -769
  660. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  661. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1076
  662. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  663. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  664. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  665. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  666. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  667. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  668. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  669. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  670. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  671. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  672. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  673. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  674. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  675. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  676. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  677. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  678. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  679. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  680. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  681. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  682. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  683. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  684. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  685. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  686. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  687. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  688. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  689. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  690. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  691. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  692. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  693. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  694. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  695. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  696. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  697. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  698. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  700. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  702. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  704. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  706. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  707. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  708. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  710. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  711. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  712. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  714. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  715. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  716. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  717. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  718. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  719. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  720. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  721. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  722. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  723. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  724. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  725. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  726. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  727. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  728. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  729. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  730. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  731. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  732. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  733. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  734. package/contracts/components/BaseComponent.sol +0 -79
  735. package/contracts/components/Distribution.sol +0 -155
  736. package/contracts/components/IBaseComponent.sol +0 -19
  737. package/contracts/components/IDistributionComponent.sol +0 -46
  738. package/contracts/components/IPoolComponent.sol +0 -64
  739. package/contracts/components/IProductComponent.sol +0 -37
  740. package/contracts/components/Pool.sol +0 -246
  741. package/contracts/components/Product.sol +0 -299
  742. package/contracts/experiment/cloning/Cloner.sol +0 -47
  743. package/contracts/experiment/errors/Require.sol +0 -38
  744. package/contracts/experiment/errors/Revert.sol +0 -44
  745. package/contracts/experiment/inheritance/A.sol +0 -53
  746. package/contracts/experiment/inheritance/B.sol +0 -28
  747. package/contracts/experiment/inheritance/C.sol +0 -34
  748. package/contracts/experiment/inheritance/IA.sol +0 -13
  749. package/contracts/experiment/inheritance/IB.sol +0 -10
  750. package/contracts/experiment/inheritance/IC.sol +0 -12
  751. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  752. package/contracts/experiment/statemachine/ISM.sol +0 -25
  753. package/contracts/experiment/statemachine/SM.sol +0 -57
  754. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  755. package/contracts/experiment/types/TypeA.sol +0 -47
  756. package/contracts/experiment/types/TypeB.sol +0 -29
  757. package/contracts/instance/IInstanceLinked.sol +0 -8
  758. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  759. package/contracts/instance/base/IInstanceBase.sol +0 -23
  760. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  761. package/contracts/instance/base/IService.sol +0 -15
  762. package/contracts/instance/base/InstanceBase.sol +0 -89
  763. package/contracts/instance/base/KeyValueStore.sol +0 -162
  764. package/contracts/instance/base/Lifecycle.sol +0 -100
  765. package/contracts/instance/base/ModuleBase.sol +0 -57
  766. package/contracts/instance/base/ServiceBase.sol +0 -44
  767. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  768. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  769. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  770. package/contracts/instance/module/component/IComponent.sol +0 -28
  771. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  772. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  773. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  774. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  775. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  776. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  777. package/contracts/instance/module/risk/IRisk.sol +0 -26
  778. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  779. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  780. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  781. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  782. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  783. package/contracts/instance/service/DistributionService.sol +0 -54
  784. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  785. package/contracts/instance/service/IDistributionService.sol +0 -12
  786. package/contracts/instance/service/IPoolService.sol +0 -37
  787. package/contracts/instance/service/IProductService.sol +0 -107
  788. package/contracts/instance/service/PoolService.sol +0 -149
  789. package/contracts/instance/service/ProductService.sol +0 -510
  790. package/contracts/shared/ContractDeployerLib.sol +0 -72
  791. package/contracts/shared/ERC165.sol +0 -21
  792. package/contracts/shared/ProxyManager.sol +0 -94
  793. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  794. package/contracts/shared/Versionable.sol +0 -147
  795. package/contracts/test/TestDistribution.sol +0 -22
  796. package/contracts/test/TestFee.sol +0 -25
  797. package/contracts/test/TestPool.sol +0 -27
  798. package/contracts/test/TestProduct.sol +0 -74
  799. package/contracts/test/TestRegisterable.sol +0 -18
  800. package/contracts/test/TestRoleId.sol +0 -14
  801. package/contracts/test/TestService.sol +0 -26
  802. package/contracts/test/TestVersion.sol +0 -44
  803. package/contracts/test/TestVersionable.sol +0 -17
  804. package/contracts/test/Usdc.sol +0 -26
  805. package/contracts/types/ChainId.sol +0 -38
  806. package/contracts/types/Fee.sol +0 -56
  807. package/contracts/types/NftIdSet.sol +0 -60
  808. package/contracts/types/NumberId.sol +0 -52
  809. package/contracts/types/ObjectType.sol +0 -152
  810. package/contracts/types/RiskId.sol +0 -43
  811. package/contracts/types/RoleId.sol +0 -82
  812. package/contracts/types/UFixed.sol +0 -325
@@ -0,0 +1,2585 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "SimpleProduct",
4
+ "sourceName": "contracts/examples/unpermissioned/SimpleProduct.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "instanceNftId",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "string",
20
+ "name": "name",
21
+ "type": "string"
22
+ },
23
+ {
24
+ "components": [
25
+ {
26
+ "internalType": "bool",
27
+ "name": "isProcessingFundedClaims",
28
+ "type": "bool"
29
+ },
30
+ {
31
+ "internalType": "bool",
32
+ "name": "isInterceptingPolicyTransfers",
33
+ "type": "bool"
34
+ },
35
+ {
36
+ "internalType": "bool",
37
+ "name": "hasDistribution",
38
+ "type": "bool"
39
+ },
40
+ {
41
+ "internalType": "uint8",
42
+ "name": "expectedNumberOfOracles",
43
+ "type": "uint8"
44
+ },
45
+ {
46
+ "internalType": "uint8",
47
+ "name": "numberOfOracles",
48
+ "type": "uint8"
49
+ },
50
+ {
51
+ "internalType": "NftId",
52
+ "name": "poolNftId",
53
+ "type": "uint96"
54
+ },
55
+ {
56
+ "internalType": "NftId",
57
+ "name": "distributionNftId",
58
+ "type": "uint96"
59
+ },
60
+ {
61
+ "internalType": "NftId[]",
62
+ "name": "oracleNftId",
63
+ "type": "uint96[]"
64
+ }
65
+ ],
66
+ "internalType": "struct IComponents.ProductInfo",
67
+ "name": "productInfo",
68
+ "type": "tuple"
69
+ },
70
+ {
71
+ "components": [
72
+ {
73
+ "components": [
74
+ {
75
+ "internalType": "UFixed",
76
+ "name": "fractionalFee",
77
+ "type": "uint160"
78
+ },
79
+ {
80
+ "internalType": "Amount",
81
+ "name": "fixedFee",
82
+ "type": "uint96"
83
+ }
84
+ ],
85
+ "internalType": "struct Fee",
86
+ "name": "productFee",
87
+ "type": "tuple"
88
+ },
89
+ {
90
+ "components": [
91
+ {
92
+ "internalType": "UFixed",
93
+ "name": "fractionalFee",
94
+ "type": "uint160"
95
+ },
96
+ {
97
+ "internalType": "Amount",
98
+ "name": "fixedFee",
99
+ "type": "uint96"
100
+ }
101
+ ],
102
+ "internalType": "struct Fee",
103
+ "name": "processingFee",
104
+ "type": "tuple"
105
+ },
106
+ {
107
+ "components": [
108
+ {
109
+ "internalType": "UFixed",
110
+ "name": "fractionalFee",
111
+ "type": "uint160"
112
+ },
113
+ {
114
+ "internalType": "Amount",
115
+ "name": "fixedFee",
116
+ "type": "uint96"
117
+ }
118
+ ],
119
+ "internalType": "struct Fee",
120
+ "name": "distributionFee",
121
+ "type": "tuple"
122
+ },
123
+ {
124
+ "components": [
125
+ {
126
+ "internalType": "UFixed",
127
+ "name": "fractionalFee",
128
+ "type": "uint160"
129
+ },
130
+ {
131
+ "internalType": "Amount",
132
+ "name": "fixedFee",
133
+ "type": "uint96"
134
+ }
135
+ ],
136
+ "internalType": "struct Fee",
137
+ "name": "minDistributionOwnerFee",
138
+ "type": "tuple"
139
+ },
140
+ {
141
+ "components": [
142
+ {
143
+ "internalType": "UFixed",
144
+ "name": "fractionalFee",
145
+ "type": "uint160"
146
+ },
147
+ {
148
+ "internalType": "Amount",
149
+ "name": "fixedFee",
150
+ "type": "uint96"
151
+ }
152
+ ],
153
+ "internalType": "struct Fee",
154
+ "name": "poolFee",
155
+ "type": "tuple"
156
+ },
157
+ {
158
+ "components": [
159
+ {
160
+ "internalType": "UFixed",
161
+ "name": "fractionalFee",
162
+ "type": "uint160"
163
+ },
164
+ {
165
+ "internalType": "Amount",
166
+ "name": "fixedFee",
167
+ "type": "uint96"
168
+ }
169
+ ],
170
+ "internalType": "struct Fee",
171
+ "name": "stakingFee",
172
+ "type": "tuple"
173
+ },
174
+ {
175
+ "components": [
176
+ {
177
+ "internalType": "UFixed",
178
+ "name": "fractionalFee",
179
+ "type": "uint160"
180
+ },
181
+ {
182
+ "internalType": "Amount",
183
+ "name": "fixedFee",
184
+ "type": "uint96"
185
+ }
186
+ ],
187
+ "internalType": "struct Fee",
188
+ "name": "performanceFee",
189
+ "type": "tuple"
190
+ }
191
+ ],
192
+ "internalType": "struct IComponents.FeeInfo",
193
+ "name": "feeInfo",
194
+ "type": "tuple"
195
+ },
196
+ {
197
+ "internalType": "contract IAuthorization",
198
+ "name": "authorization",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "internalType": "address",
203
+ "name": "initialOwner",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "stateMutability": "nonpayable",
208
+ "type": "constructor"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "authority",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "name": "AccessManagedInvalidAuthority",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "address",
225
+ "name": "caller",
226
+ "type": "address"
227
+ },
228
+ {
229
+ "internalType": "uint32",
230
+ "name": "delay",
231
+ "type": "uint32"
232
+ }
233
+ ],
234
+ "name": "AccessManagedRequiredDelay",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "address",
241
+ "name": "caller",
242
+ "type": "address"
243
+ }
244
+ ],
245
+ "name": "AccessManagedUnauthorized",
246
+ "type": "error"
247
+ },
248
+ {
249
+ "inputs": [
250
+ {
251
+ "internalType": "address",
252
+ "name": "authority",
253
+ "type": "address"
254
+ }
255
+ ],
256
+ "name": "ErrorAuthorityInvalid",
257
+ "type": "error"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "ErrorComponentNameLengthZero",
262
+ "type": "error"
263
+ },
264
+ {
265
+ "inputs": [
266
+ {
267
+ "internalType": "address",
268
+ "name": "caller",
269
+ "type": "address"
270
+ }
271
+ ],
272
+ "name": "ErrorComponentNotChainNft",
273
+ "type": "error"
274
+ },
275
+ {
276
+ "inputs": [],
277
+ "name": "ErrorComponentProductNftIdNonzero",
278
+ "type": "error"
279
+ },
280
+ {
281
+ "inputs": [],
282
+ "name": "ErrorComponentProductNftIdZero",
283
+ "type": "error"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
288
+ "type": "error"
289
+ },
290
+ {
291
+ "inputs": [],
292
+ "name": "ErrorComponentWalletAddressZero",
293
+ "type": "error"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "ErrorComponentWalletNotComponent",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "NftId",
304
+ "name": "nftId",
305
+ "type": "uint96"
306
+ },
307
+ {
308
+ "internalType": "ObjectType",
309
+ "name": "objectType",
310
+ "type": "uint8"
311
+ }
312
+ ],
313
+ "name": "ErrorInstanceLinkedComponentNotProduct",
314
+ "type": "error"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "ObjectType",
320
+ "name": "requiredType",
321
+ "type": "uint8"
322
+ },
323
+ {
324
+ "internalType": "ObjectType",
325
+ "name": "objectType",
326
+ "type": "uint8"
327
+ }
328
+ ],
329
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
330
+ "type": "error"
331
+ },
332
+ {
333
+ "inputs": [
334
+ {
335
+ "internalType": "NftId",
336
+ "name": "nftId",
337
+ "type": "uint96"
338
+ }
339
+ ],
340
+ "name": "ErrorNftOwnableAlreadyLinked",
341
+ "type": "error"
342
+ },
343
+ {
344
+ "inputs": [
345
+ {
346
+ "internalType": "address",
347
+ "name": "contractAddress",
348
+ "type": "address"
349
+ }
350
+ ],
351
+ "name": "ErrorNftOwnableContractNotRegistered",
352
+ "type": "error"
353
+ },
354
+ {
355
+ "inputs": [],
356
+ "name": "ErrorNftOwnableInitialOwnerZero",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "NftId",
363
+ "name": "nftId",
364
+ "type": "uint96"
365
+ },
366
+ {
367
+ "internalType": "ObjectType",
368
+ "name": "expectedObjectType",
369
+ "type": "uint8"
370
+ }
371
+ ],
372
+ "name": "ErrorNftOwnableInvalidType",
373
+ "type": "error"
374
+ },
375
+ {
376
+ "inputs": [
377
+ {
378
+ "internalType": "address",
379
+ "name": "account",
380
+ "type": "address"
381
+ }
382
+ ],
383
+ "name": "ErrorNftOwnableNotOwner",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [
388
+ {
389
+ "internalType": "address",
390
+ "name": "registryAddress",
391
+ "type": "address"
392
+ }
393
+ ],
394
+ "name": "ErrorNotRegistry",
395
+ "type": "error"
396
+ },
397
+ {
398
+ "inputs": [],
399
+ "name": "ErrorRegisterableNotActive",
400
+ "type": "error"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "RequestId",
406
+ "name": "requestId",
407
+ "type": "uint64"
408
+ }
409
+ ],
410
+ "name": "ErrorSimpleProductRevertedWhileProcessingResponse",
411
+ "type": "error"
412
+ },
413
+ {
414
+ "inputs": [],
415
+ "name": "InvalidInitialization",
416
+ "type": "error"
417
+ },
418
+ {
419
+ "inputs": [],
420
+ "name": "NotInitializing",
421
+ "type": "error"
422
+ },
423
+ {
424
+ "anonymous": false,
425
+ "inputs": [
426
+ {
427
+ "indexed": false,
428
+ "internalType": "address",
429
+ "name": "authority",
430
+ "type": "address"
431
+ }
432
+ ],
433
+ "name": "AuthorityUpdated",
434
+ "type": "event"
435
+ },
436
+ {
437
+ "anonymous": false,
438
+ "inputs": [
439
+ {
440
+ "indexed": false,
441
+ "internalType": "uint64",
442
+ "name": "version",
443
+ "type": "uint64"
444
+ }
445
+ ],
446
+ "name": "Initialized",
447
+ "type": "event"
448
+ },
449
+ {
450
+ "anonymous": false,
451
+ "inputs": [
452
+ {
453
+ "indexed": false,
454
+ "internalType": "address",
455
+ "name": "tokenHandler",
456
+ "type": "address"
457
+ },
458
+ {
459
+ "indexed": false,
460
+ "internalType": "address",
461
+ "name": "token",
462
+ "type": "address"
463
+ },
464
+ {
465
+ "indexed": false,
466
+ "internalType": "Amount",
467
+ "name": "limit",
468
+ "type": "uint96"
469
+ },
470
+ {
471
+ "indexed": false,
472
+ "internalType": "bool",
473
+ "name": "isMaxAmount",
474
+ "type": "bool"
475
+ }
476
+ ],
477
+ "name": "LogComponentTokenHandlerApproved",
478
+ "type": "event"
479
+ },
480
+ {
481
+ "anonymous": false,
482
+ "inputs": [
483
+ {
484
+ "indexed": false,
485
+ "internalType": "address",
486
+ "name": "oldWallet",
487
+ "type": "address"
488
+ },
489
+ {
490
+ "indexed": false,
491
+ "internalType": "address",
492
+ "name": "newWallet",
493
+ "type": "address"
494
+ }
495
+ ],
496
+ "name": "LogComponentWalletAddressChanged",
497
+ "type": "event"
498
+ },
499
+ {
500
+ "anonymous": false,
501
+ "inputs": [
502
+ {
503
+ "indexed": false,
504
+ "internalType": "address",
505
+ "name": "from",
506
+ "type": "address"
507
+ },
508
+ {
509
+ "indexed": false,
510
+ "internalType": "address",
511
+ "name": "to",
512
+ "type": "address"
513
+ },
514
+ {
515
+ "indexed": false,
516
+ "internalType": "uint256",
517
+ "name": "amount",
518
+ "type": "uint256"
519
+ }
520
+ ],
521
+ "name": "LogComponentWalletTokensTransferred",
522
+ "type": "event"
523
+ },
524
+ {
525
+ "anonymous": false,
526
+ "inputs": [
527
+ {
528
+ "indexed": false,
529
+ "internalType": "NftId",
530
+ "name": "nftId",
531
+ "type": "uint96"
532
+ },
533
+ {
534
+ "indexed": false,
535
+ "internalType": "address",
536
+ "name": "owner",
537
+ "type": "address"
538
+ }
539
+ ],
540
+ "name": "LogNftOwnableNftLinkedToAddress",
541
+ "type": "event"
542
+ },
543
+ {
544
+ "anonymous": false,
545
+ "inputs": [
546
+ {
547
+ "indexed": false,
548
+ "internalType": "RequestId",
549
+ "name": "requestId",
550
+ "type": "uint64"
551
+ },
552
+ {
553
+ "indexed": false,
554
+ "internalType": "string",
555
+ "name": "responseText",
556
+ "type": "string"
557
+ },
558
+ {
559
+ "indexed": false,
560
+ "internalType": "uint256",
561
+ "name": "responseDataLength",
562
+ "type": "uint256"
563
+ }
564
+ ],
565
+ "name": "LogSimpleProductRequestAsyncFulfilled",
566
+ "type": "event"
567
+ },
568
+ {
569
+ "anonymous": false,
570
+ "inputs": [
571
+ {
572
+ "indexed": false,
573
+ "internalType": "RequestId",
574
+ "name": "requestId",
575
+ "type": "uint64"
576
+ },
577
+ {
578
+ "indexed": false,
579
+ "internalType": "string",
580
+ "name": "responseText",
581
+ "type": "string"
582
+ },
583
+ {
584
+ "indexed": false,
585
+ "internalType": "uint256",
586
+ "name": "responseDataLength",
587
+ "type": "uint256"
588
+ }
589
+ ],
590
+ "name": "LogSimpleProductRequestSyncFulfilled",
591
+ "type": "event"
592
+ },
593
+ {
594
+ "inputs": [],
595
+ "name": "COMPONENT_LOCATION_V1",
596
+ "outputs": [
597
+ {
598
+ "internalType": "bytes32",
599
+ "name": "",
600
+ "type": "bytes32"
601
+ }
602
+ ],
603
+ "stateMutability": "view",
604
+ "type": "function"
605
+ },
606
+ {
607
+ "inputs": [],
608
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
609
+ "outputs": [
610
+ {
611
+ "internalType": "bytes32",
612
+ "name": "",
613
+ "type": "bytes32"
614
+ }
615
+ ],
616
+ "stateMutability": "view",
617
+ "type": "function"
618
+ },
619
+ {
620
+ "inputs": [],
621
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
622
+ "outputs": [
623
+ {
624
+ "internalType": "bytes32",
625
+ "name": "",
626
+ "type": "bytes32"
627
+ }
628
+ ],
629
+ "stateMutability": "view",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [],
634
+ "name": "PRODUCT_STORAGE_LOCATION_V1",
635
+ "outputs": [
636
+ {
637
+ "internalType": "bytes32",
638
+ "name": "",
639
+ "type": "bytes32"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [],
647
+ "name": "REGISTERABLE_LOCATION_V1",
648
+ "outputs": [
649
+ {
650
+ "internalType": "bytes32",
651
+ "name": "",
652
+ "type": "bytes32"
653
+ }
654
+ ],
655
+ "stateMutability": "view",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [
660
+ {
661
+ "internalType": "NftId",
662
+ "name": "policyNftId",
663
+ "type": "uint96"
664
+ },
665
+ {
666
+ "internalType": "Timestamp",
667
+ "name": "activateAt",
668
+ "type": "uint40"
669
+ }
670
+ ],
671
+ "name": "activate",
672
+ "outputs": [],
673
+ "stateMutability": "nonpayable",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "inputs": [
678
+ {
679
+ "internalType": "NftId",
680
+ "name": "policyNftId",
681
+ "type": "uint96"
682
+ },
683
+ {
684
+ "internalType": "Timestamp",
685
+ "name": "activateAt",
686
+ "type": "uint40"
687
+ }
688
+ ],
689
+ "name": "adjustActivation",
690
+ "outputs": [],
691
+ "stateMutability": "nonpayable",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [
696
+ {
697
+ "internalType": "contract IERC20Metadata",
698
+ "name": "token",
699
+ "type": "address"
700
+ },
701
+ {
702
+ "internalType": "Amount",
703
+ "name": "amount",
704
+ "type": "uint96"
705
+ }
706
+ ],
707
+ "name": "approveTokenHandler",
708
+ "outputs": [],
709
+ "stateMutability": "nonpayable",
710
+ "type": "function"
711
+ },
712
+ {
713
+ "inputs": [],
714
+ "name": "authority",
715
+ "outputs": [
716
+ {
717
+ "internalType": "address",
718
+ "name": "",
719
+ "type": "address"
720
+ }
721
+ ],
722
+ "stateMutability": "view",
723
+ "type": "function"
724
+ },
725
+ {
726
+ "inputs": [
727
+ {
728
+ "internalType": "Amount",
729
+ "name": "sumInsuredAmount",
730
+ "type": "uint96"
731
+ },
732
+ {
733
+ "internalType": "RiskId",
734
+ "name": "",
735
+ "type": "bytes8"
736
+ },
737
+ {
738
+ "internalType": "Seconds",
739
+ "name": "",
740
+ "type": "uint40"
741
+ },
742
+ {
743
+ "internalType": "bytes",
744
+ "name": "",
745
+ "type": "bytes"
746
+ }
747
+ ],
748
+ "name": "calculateNetPremium",
749
+ "outputs": [
750
+ {
751
+ "internalType": "Amount",
752
+ "name": "netPremiumAmount",
753
+ "type": "uint96"
754
+ }
755
+ ],
756
+ "stateMutability": "view",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [
761
+ {
762
+ "internalType": "Amount",
763
+ "name": "sumInsuredAmount",
764
+ "type": "uint96"
765
+ },
766
+ {
767
+ "internalType": "RiskId",
768
+ "name": "riskId",
769
+ "type": "bytes8"
770
+ },
771
+ {
772
+ "internalType": "Seconds",
773
+ "name": "lifetime",
774
+ "type": "uint40"
775
+ },
776
+ {
777
+ "internalType": "bytes",
778
+ "name": "applicationData",
779
+ "type": "bytes"
780
+ },
781
+ {
782
+ "internalType": "NftId",
783
+ "name": "bundleNftId",
784
+ "type": "uint96"
785
+ },
786
+ {
787
+ "internalType": "ReferralId",
788
+ "name": "referralId",
789
+ "type": "bytes8"
790
+ }
791
+ ],
792
+ "name": "calculatePremium",
793
+ "outputs": [
794
+ {
795
+ "internalType": "Amount",
796
+ "name": "premiumAmount",
797
+ "type": "uint96"
798
+ }
799
+ ],
800
+ "stateMutability": "view",
801
+ "type": "function"
802
+ },
803
+ {
804
+ "inputs": [
805
+ {
806
+ "internalType": "NftId",
807
+ "name": "policyNftId",
808
+ "type": "uint96"
809
+ },
810
+ {
811
+ "internalType": "ClaimId",
812
+ "name": "claimId",
813
+ "type": "uint16"
814
+ }
815
+ ],
816
+ "name": "cancelConfirmedClaim",
817
+ "outputs": [],
818
+ "stateMutability": "nonpayable",
819
+ "type": "function"
820
+ },
821
+ {
822
+ "inputs": [
823
+ {
824
+ "internalType": "RequestId",
825
+ "name": "requestId",
826
+ "type": "uint64"
827
+ }
828
+ ],
829
+ "name": "cancelOracleRequest",
830
+ "outputs": [],
831
+ "stateMutability": "nonpayable",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [
836
+ {
837
+ "internalType": "NftId",
838
+ "name": "policyNftId",
839
+ "type": "uint96"
840
+ },
841
+ {
842
+ "internalType": "PayoutId",
843
+ "name": "payoutId",
844
+ "type": "uint40"
845
+ }
846
+ ],
847
+ "name": "cancelPayout",
848
+ "outputs": [],
849
+ "stateMutability": "nonpayable",
850
+ "type": "function"
851
+ },
852
+ {
853
+ "inputs": [
854
+ {
855
+ "internalType": "NftId",
856
+ "name": "policyNftId",
857
+ "type": "uint96"
858
+ }
859
+ ],
860
+ "name": "close",
861
+ "outputs": [],
862
+ "stateMutability": "nonpayable",
863
+ "type": "function"
864
+ },
865
+ {
866
+ "inputs": [
867
+ {
868
+ "internalType": "RiskId",
869
+ "name": "id",
870
+ "type": "bytes8"
871
+ }
872
+ ],
873
+ "name": "closeRisk",
874
+ "outputs": [],
875
+ "stateMutability": "nonpayable",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [
880
+ {
881
+ "internalType": "NftId",
882
+ "name": "policyNftId",
883
+ "type": "uint96"
884
+ },
885
+ {
886
+ "internalType": "Timestamp",
887
+ "name": "activateAt",
888
+ "type": "uint40"
889
+ }
890
+ ],
891
+ "name": "collectPremium",
892
+ "outputs": [],
893
+ "stateMutability": "nonpayable",
894
+ "type": "function"
895
+ },
896
+ {
897
+ "inputs": [
898
+ {
899
+ "internalType": "NftId",
900
+ "name": "policyNftId",
901
+ "type": "uint96"
902
+ },
903
+ {
904
+ "internalType": "ClaimId",
905
+ "name": "claimId",
906
+ "type": "uint16"
907
+ },
908
+ {
909
+ "internalType": "Amount",
910
+ "name": "confirmedAmount",
911
+ "type": "uint96"
912
+ },
913
+ {
914
+ "internalType": "bytes",
915
+ "name": "processData",
916
+ "type": "bytes"
917
+ }
918
+ ],
919
+ "name": "confirmClaim",
920
+ "outputs": [],
921
+ "stateMutability": "nonpayable",
922
+ "type": "function"
923
+ },
924
+ {
925
+ "inputs": [
926
+ {
927
+ "internalType": "address",
928
+ "name": "applicationOwner",
929
+ "type": "address"
930
+ },
931
+ {
932
+ "internalType": "RiskId",
933
+ "name": "riskId",
934
+ "type": "bytes8"
935
+ },
936
+ {
937
+ "internalType": "uint256",
938
+ "name": "sumInsured",
939
+ "type": "uint256"
940
+ },
941
+ {
942
+ "internalType": "Seconds",
943
+ "name": "lifetime",
944
+ "type": "uint40"
945
+ },
946
+ {
947
+ "internalType": "bytes",
948
+ "name": "applicationData",
949
+ "type": "bytes"
950
+ },
951
+ {
952
+ "internalType": "NftId",
953
+ "name": "bundleNftId",
954
+ "type": "uint96"
955
+ },
956
+ {
957
+ "internalType": "ReferralId",
958
+ "name": "referralId",
959
+ "type": "bytes8"
960
+ }
961
+ ],
962
+ "name": "createApplication",
963
+ "outputs": [
964
+ {
965
+ "internalType": "NftId",
966
+ "name": "nftId",
967
+ "type": "uint96"
968
+ }
969
+ ],
970
+ "stateMutability": "nonpayable",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [
975
+ {
976
+ "internalType": "address",
977
+ "name": "applicationOwner",
978
+ "type": "address"
979
+ },
980
+ {
981
+ "internalType": "RiskId",
982
+ "name": "riskId",
983
+ "type": "bytes8"
984
+ },
985
+ {
986
+ "internalType": "Amount",
987
+ "name": "sumInsuredAmount",
988
+ "type": "uint96"
989
+ },
990
+ {
991
+ "internalType": "Amount",
992
+ "name": "premiumAmount",
993
+ "type": "uint96"
994
+ },
995
+ {
996
+ "internalType": "Seconds",
997
+ "name": "lifetime",
998
+ "type": "uint40"
999
+ },
1000
+ {
1001
+ "internalType": "bytes",
1002
+ "name": "applicationData",
1003
+ "type": "bytes"
1004
+ },
1005
+ {
1006
+ "internalType": "NftId",
1007
+ "name": "bundleNftId",
1008
+ "type": "uint96"
1009
+ },
1010
+ {
1011
+ "internalType": "ReferralId",
1012
+ "name": "referralId",
1013
+ "type": "bytes8"
1014
+ }
1015
+ ],
1016
+ "name": "createApplication2",
1017
+ "outputs": [
1018
+ {
1019
+ "internalType": "NftId",
1020
+ "name": "nftId",
1021
+ "type": "uint96"
1022
+ }
1023
+ ],
1024
+ "stateMutability": "nonpayable",
1025
+ "type": "function"
1026
+ },
1027
+ {
1028
+ "inputs": [
1029
+ {
1030
+ "internalType": "NftId",
1031
+ "name": "oracleNftId",
1032
+ "type": "uint96"
1033
+ },
1034
+ {
1035
+ "internalType": "string",
1036
+ "name": "requestText",
1037
+ "type": "string"
1038
+ },
1039
+ {
1040
+ "internalType": "Timestamp",
1041
+ "name": "expiryAt",
1042
+ "type": "uint40"
1043
+ },
1044
+ {
1045
+ "internalType": "bool",
1046
+ "name": "synchronous",
1047
+ "type": "bool"
1048
+ }
1049
+ ],
1050
+ "name": "createOracleRequest",
1051
+ "outputs": [
1052
+ {
1053
+ "internalType": "RequestId",
1054
+ "name": "",
1055
+ "type": "uint64"
1056
+ }
1057
+ ],
1058
+ "stateMutability": "nonpayable",
1059
+ "type": "function"
1060
+ },
1061
+ {
1062
+ "inputs": [
1063
+ {
1064
+ "internalType": "NftId",
1065
+ "name": "oracleNftId",
1066
+ "type": "uint96"
1067
+ },
1068
+ {
1069
+ "internalType": "string",
1070
+ "name": "requestText",
1071
+ "type": "string"
1072
+ },
1073
+ {
1074
+ "internalType": "Timestamp",
1075
+ "name": "expiryAt",
1076
+ "type": "uint40"
1077
+ },
1078
+ {
1079
+ "internalType": "bool",
1080
+ "name": "synchronous",
1081
+ "type": "bool"
1082
+ },
1083
+ {
1084
+ "internalType": "string",
1085
+ "name": "callbackMethod",
1086
+ "type": "string"
1087
+ }
1088
+ ],
1089
+ "name": "createOracleRequest2",
1090
+ "outputs": [
1091
+ {
1092
+ "internalType": "RequestId",
1093
+ "name": "",
1094
+ "type": "uint64"
1095
+ }
1096
+ ],
1097
+ "stateMutability": "nonpayable",
1098
+ "type": "function"
1099
+ },
1100
+ {
1101
+ "inputs": [
1102
+ {
1103
+ "internalType": "NftId",
1104
+ "name": "policyNftId",
1105
+ "type": "uint96"
1106
+ },
1107
+ {
1108
+ "internalType": "ClaimId",
1109
+ "name": "claimId",
1110
+ "type": "uint16"
1111
+ },
1112
+ {
1113
+ "internalType": "Amount",
1114
+ "name": "amount",
1115
+ "type": "uint96"
1116
+ },
1117
+ {
1118
+ "internalType": "bytes",
1119
+ "name": "data",
1120
+ "type": "bytes"
1121
+ }
1122
+ ],
1123
+ "name": "createPayout",
1124
+ "outputs": [
1125
+ {
1126
+ "internalType": "PayoutId",
1127
+ "name": "",
1128
+ "type": "uint40"
1129
+ }
1130
+ ],
1131
+ "stateMutability": "nonpayable",
1132
+ "type": "function"
1133
+ },
1134
+ {
1135
+ "inputs": [
1136
+ {
1137
+ "internalType": "NftId",
1138
+ "name": "policyNftId",
1139
+ "type": "uint96"
1140
+ },
1141
+ {
1142
+ "internalType": "ClaimId",
1143
+ "name": "claimId",
1144
+ "type": "uint16"
1145
+ },
1146
+ {
1147
+ "internalType": "Amount",
1148
+ "name": "amount",
1149
+ "type": "uint96"
1150
+ },
1151
+ {
1152
+ "internalType": "address",
1153
+ "name": "beneficiary",
1154
+ "type": "address"
1155
+ },
1156
+ {
1157
+ "internalType": "bytes",
1158
+ "name": "data",
1159
+ "type": "bytes"
1160
+ }
1161
+ ],
1162
+ "name": "createPayoutForBeneficiary",
1163
+ "outputs": [
1164
+ {
1165
+ "internalType": "PayoutId",
1166
+ "name": "",
1167
+ "type": "uint40"
1168
+ }
1169
+ ],
1170
+ "stateMutability": "nonpayable",
1171
+ "type": "function"
1172
+ },
1173
+ {
1174
+ "inputs": [
1175
+ {
1176
+ "internalType": "NftId",
1177
+ "name": "applicationNftId",
1178
+ "type": "uint96"
1179
+ },
1180
+ {
1181
+ "internalType": "bool",
1182
+ "name": "requirePremiumPayment",
1183
+ "type": "bool"
1184
+ },
1185
+ {
1186
+ "internalType": "Timestamp",
1187
+ "name": "activateAt",
1188
+ "type": "uint40"
1189
+ }
1190
+ ],
1191
+ "name": "createPolicy",
1192
+ "outputs": [],
1193
+ "stateMutability": "nonpayable",
1194
+ "type": "function"
1195
+ },
1196
+ {
1197
+ "inputs": [
1198
+ {
1199
+ "internalType": "NftId",
1200
+ "name": "applicationNftId",
1201
+ "type": "uint96"
1202
+ },
1203
+ {
1204
+ "internalType": "bool",
1205
+ "name": "requirePremiumPayment",
1206
+ "type": "bool"
1207
+ },
1208
+ {
1209
+ "internalType": "Timestamp",
1210
+ "name": "activateAt",
1211
+ "type": "uint40"
1212
+ },
1213
+ {
1214
+ "internalType": "Amount",
1215
+ "name": "maxPremiumAmount",
1216
+ "type": "uint96"
1217
+ }
1218
+ ],
1219
+ "name": "createPolicy2",
1220
+ "outputs": [],
1221
+ "stateMutability": "nonpayable",
1222
+ "type": "function"
1223
+ },
1224
+ {
1225
+ "inputs": [
1226
+ {
1227
+ "internalType": "string",
1228
+ "name": "id",
1229
+ "type": "string"
1230
+ },
1231
+ {
1232
+ "internalType": "bytes",
1233
+ "name": "data",
1234
+ "type": "bytes"
1235
+ }
1236
+ ],
1237
+ "name": "createRisk",
1238
+ "outputs": [
1239
+ {
1240
+ "internalType": "RiskId",
1241
+ "name": "",
1242
+ "type": "bytes8"
1243
+ }
1244
+ ],
1245
+ "stateMutability": "nonpayable",
1246
+ "type": "function"
1247
+ },
1248
+ {
1249
+ "inputs": [
1250
+ {
1251
+ "internalType": "NftId",
1252
+ "name": "policyNftId",
1253
+ "type": "uint96"
1254
+ }
1255
+ ],
1256
+ "name": "decline",
1257
+ "outputs": [],
1258
+ "stateMutability": "nonpayable",
1259
+ "type": "function"
1260
+ },
1261
+ {
1262
+ "inputs": [
1263
+ {
1264
+ "internalType": "NftId",
1265
+ "name": "policyNftId",
1266
+ "type": "uint96"
1267
+ },
1268
+ {
1269
+ "internalType": "ClaimId",
1270
+ "name": "claimId",
1271
+ "type": "uint16"
1272
+ },
1273
+ {
1274
+ "internalType": "bytes",
1275
+ "name": "processData",
1276
+ "type": "bytes"
1277
+ }
1278
+ ],
1279
+ "name": "declineClaim",
1280
+ "outputs": [],
1281
+ "stateMutability": "nonpayable",
1282
+ "type": "function"
1283
+ },
1284
+ {
1285
+ "inputs": [],
1286
+ "name": "doSomethingOnlyWhenActive",
1287
+ "outputs": [
1288
+ {
1289
+ "internalType": "bool",
1290
+ "name": "",
1291
+ "type": "bool"
1292
+ }
1293
+ ],
1294
+ "stateMutability": "nonpayable",
1295
+ "type": "function"
1296
+ },
1297
+ {
1298
+ "inputs": [
1299
+ {
1300
+ "internalType": "NftId",
1301
+ "name": "policyNftId",
1302
+ "type": "uint96"
1303
+ },
1304
+ {
1305
+ "internalType": "Timestamp",
1306
+ "name": "expireAt",
1307
+ "type": "uint40"
1308
+ }
1309
+ ],
1310
+ "name": "expire",
1311
+ "outputs": [
1312
+ {
1313
+ "internalType": "Timestamp",
1314
+ "name": "",
1315
+ "type": "uint40"
1316
+ }
1317
+ ],
1318
+ "stateMutability": "nonpayable",
1319
+ "type": "function"
1320
+ },
1321
+ {
1322
+ "inputs": [
1323
+ {
1324
+ "internalType": "RequestId",
1325
+ "name": "requestId",
1326
+ "type": "uint64"
1327
+ },
1328
+ {
1329
+ "internalType": "bytes",
1330
+ "name": "responseData",
1331
+ "type": "bytes"
1332
+ }
1333
+ ],
1334
+ "name": "fulfillOracleRequestAsync",
1335
+ "outputs": [],
1336
+ "stateMutability": "nonpayable",
1337
+ "type": "function"
1338
+ },
1339
+ {
1340
+ "inputs": [
1341
+ {
1342
+ "internalType": "RequestId",
1343
+ "name": "requestId",
1344
+ "type": "uint64"
1345
+ },
1346
+ {
1347
+ "internalType": "bytes",
1348
+ "name": "responseData",
1349
+ "type": "bytes"
1350
+ }
1351
+ ],
1352
+ "name": "fulfillOracleRequestSync",
1353
+ "outputs": [],
1354
+ "stateMutability": "nonpayable",
1355
+ "type": "function"
1356
+ },
1357
+ {
1358
+ "inputs": [],
1359
+ "name": "getAuthorization",
1360
+ "outputs": [
1361
+ {
1362
+ "internalType": "contract IAuthorization",
1363
+ "name": "authorization",
1364
+ "type": "address"
1365
+ }
1366
+ ],
1367
+ "stateMutability": "view",
1368
+ "type": "function"
1369
+ },
1370
+ {
1371
+ "inputs": [],
1372
+ "name": "getComponentInfo",
1373
+ "outputs": [
1374
+ {
1375
+ "components": [
1376
+ {
1377
+ "internalType": "string",
1378
+ "name": "name",
1379
+ "type": "string"
1380
+ },
1381
+ {
1382
+ "internalType": "contract TokenHandler",
1383
+ "name": "tokenHandler",
1384
+ "type": "address"
1385
+ },
1386
+ {
1387
+ "internalType": "bytes",
1388
+ "name": "data",
1389
+ "type": "bytes"
1390
+ }
1391
+ ],
1392
+ "internalType": "struct IComponents.ComponentInfo",
1393
+ "name": "info",
1394
+ "type": "tuple"
1395
+ }
1396
+ ],
1397
+ "stateMutability": "view",
1398
+ "type": "function"
1399
+ },
1400
+ {
1401
+ "inputs": [],
1402
+ "name": "getInitialComponentInfo",
1403
+ "outputs": [
1404
+ {
1405
+ "components": [
1406
+ {
1407
+ "internalType": "string",
1408
+ "name": "name",
1409
+ "type": "string"
1410
+ },
1411
+ {
1412
+ "internalType": "contract TokenHandler",
1413
+ "name": "tokenHandler",
1414
+ "type": "address"
1415
+ },
1416
+ {
1417
+ "internalType": "bytes",
1418
+ "name": "data",
1419
+ "type": "bytes"
1420
+ }
1421
+ ],
1422
+ "internalType": "struct IComponents.ComponentInfo",
1423
+ "name": "info",
1424
+ "type": "tuple"
1425
+ }
1426
+ ],
1427
+ "stateMutability": "view",
1428
+ "type": "function"
1429
+ },
1430
+ {
1431
+ "inputs": [],
1432
+ "name": "getInitialFeeInfo",
1433
+ "outputs": [
1434
+ {
1435
+ "components": [
1436
+ {
1437
+ "components": [
1438
+ {
1439
+ "internalType": "UFixed",
1440
+ "name": "fractionalFee",
1441
+ "type": "uint160"
1442
+ },
1443
+ {
1444
+ "internalType": "Amount",
1445
+ "name": "fixedFee",
1446
+ "type": "uint96"
1447
+ }
1448
+ ],
1449
+ "internalType": "struct Fee",
1450
+ "name": "productFee",
1451
+ "type": "tuple"
1452
+ },
1453
+ {
1454
+ "components": [
1455
+ {
1456
+ "internalType": "UFixed",
1457
+ "name": "fractionalFee",
1458
+ "type": "uint160"
1459
+ },
1460
+ {
1461
+ "internalType": "Amount",
1462
+ "name": "fixedFee",
1463
+ "type": "uint96"
1464
+ }
1465
+ ],
1466
+ "internalType": "struct Fee",
1467
+ "name": "processingFee",
1468
+ "type": "tuple"
1469
+ },
1470
+ {
1471
+ "components": [
1472
+ {
1473
+ "internalType": "UFixed",
1474
+ "name": "fractionalFee",
1475
+ "type": "uint160"
1476
+ },
1477
+ {
1478
+ "internalType": "Amount",
1479
+ "name": "fixedFee",
1480
+ "type": "uint96"
1481
+ }
1482
+ ],
1483
+ "internalType": "struct Fee",
1484
+ "name": "distributionFee",
1485
+ "type": "tuple"
1486
+ },
1487
+ {
1488
+ "components": [
1489
+ {
1490
+ "internalType": "UFixed",
1491
+ "name": "fractionalFee",
1492
+ "type": "uint160"
1493
+ },
1494
+ {
1495
+ "internalType": "Amount",
1496
+ "name": "fixedFee",
1497
+ "type": "uint96"
1498
+ }
1499
+ ],
1500
+ "internalType": "struct Fee",
1501
+ "name": "minDistributionOwnerFee",
1502
+ "type": "tuple"
1503
+ },
1504
+ {
1505
+ "components": [
1506
+ {
1507
+ "internalType": "UFixed",
1508
+ "name": "fractionalFee",
1509
+ "type": "uint160"
1510
+ },
1511
+ {
1512
+ "internalType": "Amount",
1513
+ "name": "fixedFee",
1514
+ "type": "uint96"
1515
+ }
1516
+ ],
1517
+ "internalType": "struct Fee",
1518
+ "name": "poolFee",
1519
+ "type": "tuple"
1520
+ },
1521
+ {
1522
+ "components": [
1523
+ {
1524
+ "internalType": "UFixed",
1525
+ "name": "fractionalFee",
1526
+ "type": "uint160"
1527
+ },
1528
+ {
1529
+ "internalType": "Amount",
1530
+ "name": "fixedFee",
1531
+ "type": "uint96"
1532
+ }
1533
+ ],
1534
+ "internalType": "struct Fee",
1535
+ "name": "stakingFee",
1536
+ "type": "tuple"
1537
+ },
1538
+ {
1539
+ "components": [
1540
+ {
1541
+ "internalType": "UFixed",
1542
+ "name": "fractionalFee",
1543
+ "type": "uint160"
1544
+ },
1545
+ {
1546
+ "internalType": "Amount",
1547
+ "name": "fixedFee",
1548
+ "type": "uint96"
1549
+ }
1550
+ ],
1551
+ "internalType": "struct Fee",
1552
+ "name": "performanceFee",
1553
+ "type": "tuple"
1554
+ }
1555
+ ],
1556
+ "internalType": "struct IComponents.FeeInfo",
1557
+ "name": "feeInfo",
1558
+ "type": "tuple"
1559
+ }
1560
+ ],
1561
+ "stateMutability": "view",
1562
+ "type": "function"
1563
+ },
1564
+ {
1565
+ "inputs": [],
1566
+ "name": "getInitialInfo",
1567
+ "outputs": [
1568
+ {
1569
+ "components": [
1570
+ {
1571
+ "internalType": "NftId",
1572
+ "name": "nftId",
1573
+ "type": "uint96"
1574
+ },
1575
+ {
1576
+ "internalType": "NftId",
1577
+ "name": "parentNftId",
1578
+ "type": "uint96"
1579
+ },
1580
+ {
1581
+ "internalType": "ObjectType",
1582
+ "name": "objectType",
1583
+ "type": "uint8"
1584
+ },
1585
+ {
1586
+ "internalType": "bool",
1587
+ "name": "isInterceptor",
1588
+ "type": "bool"
1589
+ },
1590
+ {
1591
+ "internalType": "address",
1592
+ "name": "objectAddress",
1593
+ "type": "address"
1594
+ },
1595
+ {
1596
+ "internalType": "address",
1597
+ "name": "initialOwner",
1598
+ "type": "address"
1599
+ },
1600
+ {
1601
+ "internalType": "bytes",
1602
+ "name": "data",
1603
+ "type": "bytes"
1604
+ }
1605
+ ],
1606
+ "internalType": "struct IRegistry.ObjectInfo",
1607
+ "name": "info",
1608
+ "type": "tuple"
1609
+ }
1610
+ ],
1611
+ "stateMutability": "view",
1612
+ "type": "function"
1613
+ },
1614
+ {
1615
+ "inputs": [],
1616
+ "name": "getInitialProductInfo",
1617
+ "outputs": [
1618
+ {
1619
+ "components": [
1620
+ {
1621
+ "internalType": "bool",
1622
+ "name": "isProcessingFundedClaims",
1623
+ "type": "bool"
1624
+ },
1625
+ {
1626
+ "internalType": "bool",
1627
+ "name": "isInterceptingPolicyTransfers",
1628
+ "type": "bool"
1629
+ },
1630
+ {
1631
+ "internalType": "bool",
1632
+ "name": "hasDistribution",
1633
+ "type": "bool"
1634
+ },
1635
+ {
1636
+ "internalType": "uint8",
1637
+ "name": "expectedNumberOfOracles",
1638
+ "type": "uint8"
1639
+ },
1640
+ {
1641
+ "internalType": "uint8",
1642
+ "name": "numberOfOracles",
1643
+ "type": "uint8"
1644
+ },
1645
+ {
1646
+ "internalType": "NftId",
1647
+ "name": "poolNftId",
1648
+ "type": "uint96"
1649
+ },
1650
+ {
1651
+ "internalType": "NftId",
1652
+ "name": "distributionNftId",
1653
+ "type": "uint96"
1654
+ },
1655
+ {
1656
+ "internalType": "NftId[]",
1657
+ "name": "oracleNftId",
1658
+ "type": "uint96[]"
1659
+ }
1660
+ ],
1661
+ "internalType": "struct IComponents.ProductInfo",
1662
+ "name": "poolInfo",
1663
+ "type": "tuple"
1664
+ }
1665
+ ],
1666
+ "stateMutability": "view",
1667
+ "type": "function"
1668
+ },
1669
+ {
1670
+ "inputs": [],
1671
+ "name": "getInstance",
1672
+ "outputs": [
1673
+ {
1674
+ "internalType": "contract IInstance",
1675
+ "name": "instance",
1676
+ "type": "address"
1677
+ }
1678
+ ],
1679
+ "stateMutability": "view",
1680
+ "type": "function"
1681
+ },
1682
+ {
1683
+ "inputs": [],
1684
+ "name": "getName",
1685
+ "outputs": [
1686
+ {
1687
+ "internalType": "string",
1688
+ "name": "name",
1689
+ "type": "string"
1690
+ }
1691
+ ],
1692
+ "stateMutability": "view",
1693
+ "type": "function"
1694
+ },
1695
+ {
1696
+ "inputs": [],
1697
+ "name": "getNftId",
1698
+ "outputs": [
1699
+ {
1700
+ "internalType": "NftId",
1701
+ "name": "",
1702
+ "type": "uint96"
1703
+ }
1704
+ ],
1705
+ "stateMutability": "view",
1706
+ "type": "function"
1707
+ },
1708
+ {
1709
+ "inputs": [],
1710
+ "name": "getOracleService",
1711
+ "outputs": [
1712
+ {
1713
+ "internalType": "contract IOracleService",
1714
+ "name": "",
1715
+ "type": "address"
1716
+ }
1717
+ ],
1718
+ "stateMutability": "view",
1719
+ "type": "function"
1720
+ },
1721
+ {
1722
+ "inputs": [],
1723
+ "name": "getOwner",
1724
+ "outputs": [
1725
+ {
1726
+ "internalType": "address",
1727
+ "name": "",
1728
+ "type": "address"
1729
+ }
1730
+ ],
1731
+ "stateMutability": "view",
1732
+ "type": "function"
1733
+ },
1734
+ {
1735
+ "inputs": [],
1736
+ "name": "getRegistry",
1737
+ "outputs": [
1738
+ {
1739
+ "internalType": "contract IRegistry",
1740
+ "name": "",
1741
+ "type": "address"
1742
+ }
1743
+ ],
1744
+ "stateMutability": "view",
1745
+ "type": "function"
1746
+ },
1747
+ {
1748
+ "inputs": [],
1749
+ "name": "getRelease",
1750
+ "outputs": [
1751
+ {
1752
+ "internalType": "VersionPart",
1753
+ "name": "release",
1754
+ "type": "uint8"
1755
+ }
1756
+ ],
1757
+ "stateMutability": "view",
1758
+ "type": "function"
1759
+ },
1760
+ {
1761
+ "inputs": [],
1762
+ "name": "getToken",
1763
+ "outputs": [
1764
+ {
1765
+ "internalType": "contract IERC20Metadata",
1766
+ "name": "token",
1767
+ "type": "address"
1768
+ }
1769
+ ],
1770
+ "stateMutability": "view",
1771
+ "type": "function"
1772
+ },
1773
+ {
1774
+ "inputs": [],
1775
+ "name": "getTokenHandler",
1776
+ "outputs": [
1777
+ {
1778
+ "internalType": "contract TokenHandler",
1779
+ "name": "tokenHandler",
1780
+ "type": "address"
1781
+ }
1782
+ ],
1783
+ "stateMutability": "view",
1784
+ "type": "function"
1785
+ },
1786
+ {
1787
+ "inputs": [],
1788
+ "name": "getVersion",
1789
+ "outputs": [
1790
+ {
1791
+ "internalType": "Version",
1792
+ "name": "version",
1793
+ "type": "uint24"
1794
+ }
1795
+ ],
1796
+ "stateMutability": "view",
1797
+ "type": "function"
1798
+ },
1799
+ {
1800
+ "inputs": [],
1801
+ "name": "getWallet",
1802
+ "outputs": [
1803
+ {
1804
+ "internalType": "address",
1805
+ "name": "walletAddress",
1806
+ "type": "address"
1807
+ }
1808
+ ],
1809
+ "stateMutability": "view",
1810
+ "type": "function"
1811
+ },
1812
+ {
1813
+ "inputs": [
1814
+ {
1815
+ "internalType": "address",
1816
+ "name": "registry",
1817
+ "type": "address"
1818
+ },
1819
+ {
1820
+ "internalType": "NftId",
1821
+ "name": "instanceNftid",
1822
+ "type": "uint96"
1823
+ },
1824
+ {
1825
+ "internalType": "string",
1826
+ "name": "name",
1827
+ "type": "string"
1828
+ },
1829
+ {
1830
+ "components": [
1831
+ {
1832
+ "internalType": "bool",
1833
+ "name": "isProcessingFundedClaims",
1834
+ "type": "bool"
1835
+ },
1836
+ {
1837
+ "internalType": "bool",
1838
+ "name": "isInterceptingPolicyTransfers",
1839
+ "type": "bool"
1840
+ },
1841
+ {
1842
+ "internalType": "bool",
1843
+ "name": "hasDistribution",
1844
+ "type": "bool"
1845
+ },
1846
+ {
1847
+ "internalType": "uint8",
1848
+ "name": "expectedNumberOfOracles",
1849
+ "type": "uint8"
1850
+ },
1851
+ {
1852
+ "internalType": "uint8",
1853
+ "name": "numberOfOracles",
1854
+ "type": "uint8"
1855
+ },
1856
+ {
1857
+ "internalType": "NftId",
1858
+ "name": "poolNftId",
1859
+ "type": "uint96"
1860
+ },
1861
+ {
1862
+ "internalType": "NftId",
1863
+ "name": "distributionNftId",
1864
+ "type": "uint96"
1865
+ },
1866
+ {
1867
+ "internalType": "NftId[]",
1868
+ "name": "oracleNftId",
1869
+ "type": "uint96[]"
1870
+ }
1871
+ ],
1872
+ "internalType": "struct IComponents.ProductInfo",
1873
+ "name": "productInfo",
1874
+ "type": "tuple"
1875
+ },
1876
+ {
1877
+ "components": [
1878
+ {
1879
+ "components": [
1880
+ {
1881
+ "internalType": "UFixed",
1882
+ "name": "fractionalFee",
1883
+ "type": "uint160"
1884
+ },
1885
+ {
1886
+ "internalType": "Amount",
1887
+ "name": "fixedFee",
1888
+ "type": "uint96"
1889
+ }
1890
+ ],
1891
+ "internalType": "struct Fee",
1892
+ "name": "productFee",
1893
+ "type": "tuple"
1894
+ },
1895
+ {
1896
+ "components": [
1897
+ {
1898
+ "internalType": "UFixed",
1899
+ "name": "fractionalFee",
1900
+ "type": "uint160"
1901
+ },
1902
+ {
1903
+ "internalType": "Amount",
1904
+ "name": "fixedFee",
1905
+ "type": "uint96"
1906
+ }
1907
+ ],
1908
+ "internalType": "struct Fee",
1909
+ "name": "processingFee",
1910
+ "type": "tuple"
1911
+ },
1912
+ {
1913
+ "components": [
1914
+ {
1915
+ "internalType": "UFixed",
1916
+ "name": "fractionalFee",
1917
+ "type": "uint160"
1918
+ },
1919
+ {
1920
+ "internalType": "Amount",
1921
+ "name": "fixedFee",
1922
+ "type": "uint96"
1923
+ }
1924
+ ],
1925
+ "internalType": "struct Fee",
1926
+ "name": "distributionFee",
1927
+ "type": "tuple"
1928
+ },
1929
+ {
1930
+ "components": [
1931
+ {
1932
+ "internalType": "UFixed",
1933
+ "name": "fractionalFee",
1934
+ "type": "uint160"
1935
+ },
1936
+ {
1937
+ "internalType": "Amount",
1938
+ "name": "fixedFee",
1939
+ "type": "uint96"
1940
+ }
1941
+ ],
1942
+ "internalType": "struct Fee",
1943
+ "name": "minDistributionOwnerFee",
1944
+ "type": "tuple"
1945
+ },
1946
+ {
1947
+ "components": [
1948
+ {
1949
+ "internalType": "UFixed",
1950
+ "name": "fractionalFee",
1951
+ "type": "uint160"
1952
+ },
1953
+ {
1954
+ "internalType": "Amount",
1955
+ "name": "fixedFee",
1956
+ "type": "uint96"
1957
+ }
1958
+ ],
1959
+ "internalType": "struct Fee",
1960
+ "name": "poolFee",
1961
+ "type": "tuple"
1962
+ },
1963
+ {
1964
+ "components": [
1965
+ {
1966
+ "internalType": "UFixed",
1967
+ "name": "fractionalFee",
1968
+ "type": "uint160"
1969
+ },
1970
+ {
1971
+ "internalType": "Amount",
1972
+ "name": "fixedFee",
1973
+ "type": "uint96"
1974
+ }
1975
+ ],
1976
+ "internalType": "struct Fee",
1977
+ "name": "stakingFee",
1978
+ "type": "tuple"
1979
+ },
1980
+ {
1981
+ "components": [
1982
+ {
1983
+ "internalType": "UFixed",
1984
+ "name": "fractionalFee",
1985
+ "type": "uint160"
1986
+ },
1987
+ {
1988
+ "internalType": "Amount",
1989
+ "name": "fixedFee",
1990
+ "type": "uint96"
1991
+ }
1992
+ ],
1993
+ "internalType": "struct Fee",
1994
+ "name": "performanceFee",
1995
+ "type": "tuple"
1996
+ }
1997
+ ],
1998
+ "internalType": "struct IComponents.FeeInfo",
1999
+ "name": "feeInfo",
2000
+ "type": "tuple"
2001
+ },
2002
+ {
2003
+ "internalType": "contract IAuthorization",
2004
+ "name": "authorization",
2005
+ "type": "address"
2006
+ },
2007
+ {
2008
+ "internalType": "address",
2009
+ "name": "initialOwner",
2010
+ "type": "address"
2011
+ }
2012
+ ],
2013
+ "name": "initialize",
2014
+ "outputs": [],
2015
+ "stateMutability": "nonpayable",
2016
+ "type": "function"
2017
+ },
2018
+ {
2019
+ "inputs": [],
2020
+ "name": "isActive",
2021
+ "outputs": [
2022
+ {
2023
+ "internalType": "bool",
2024
+ "name": "active",
2025
+ "type": "bool"
2026
+ }
2027
+ ],
2028
+ "stateMutability": "view",
2029
+ "type": "function"
2030
+ },
2031
+ {
2032
+ "inputs": [],
2033
+ "name": "isConsumingScheduledOp",
2034
+ "outputs": [
2035
+ {
2036
+ "internalType": "bytes4",
2037
+ "name": "",
2038
+ "type": "bytes4"
2039
+ }
2040
+ ],
2041
+ "stateMutability": "view",
2042
+ "type": "function"
2043
+ },
2044
+ {
2045
+ "inputs": [],
2046
+ "name": "isNftInterceptor",
2047
+ "outputs": [
2048
+ {
2049
+ "internalType": "bool",
2050
+ "name": "isInterceptor",
2051
+ "type": "bool"
2052
+ }
2053
+ ],
2054
+ "stateMutability": "view",
2055
+ "type": "function"
2056
+ },
2057
+ {
2058
+ "inputs": [],
2059
+ "name": "isRegistered",
2060
+ "outputs": [
2061
+ {
2062
+ "internalType": "bool",
2063
+ "name": "",
2064
+ "type": "bool"
2065
+ }
2066
+ ],
2067
+ "stateMutability": "view",
2068
+ "type": "function"
2069
+ },
2070
+ {
2071
+ "inputs": [],
2072
+ "name": "linkToRegisteredNftId",
2073
+ "outputs": [
2074
+ {
2075
+ "internalType": "NftId",
2076
+ "name": "nftId",
2077
+ "type": "uint96"
2078
+ }
2079
+ ],
2080
+ "stateMutability": "nonpayable",
2081
+ "type": "function"
2082
+ },
2083
+ {
2084
+ "inputs": [
2085
+ {
2086
+ "internalType": "address",
2087
+ "name": "from",
2088
+ "type": "address"
2089
+ },
2090
+ {
2091
+ "internalType": "address",
2092
+ "name": "to",
2093
+ "type": "address"
2094
+ },
2095
+ {
2096
+ "internalType": "uint256",
2097
+ "name": "tokenId",
2098
+ "type": "uint256"
2099
+ },
2100
+ {
2101
+ "internalType": "address",
2102
+ "name": "operator",
2103
+ "type": "address"
2104
+ }
2105
+ ],
2106
+ "name": "nftTransferFrom",
2107
+ "outputs": [],
2108
+ "stateMutability": "nonpayable",
2109
+ "type": "function"
2110
+ },
2111
+ {
2112
+ "inputs": [
2113
+ {
2114
+ "internalType": "NftId",
2115
+ "name": "policyNftId",
2116
+ "type": "uint96"
2117
+ },
2118
+ {
2119
+ "internalType": "ClaimId",
2120
+ "name": "claimId",
2121
+ "type": "uint16"
2122
+ },
2123
+ {
2124
+ "internalType": "Amount",
2125
+ "name": "availableAmount",
2126
+ "type": "uint96"
2127
+ }
2128
+ ],
2129
+ "name": "processFundedClaim",
2130
+ "outputs": [],
2131
+ "stateMutability": "nonpayable",
2132
+ "type": "function"
2133
+ },
2134
+ {
2135
+ "inputs": [
2136
+ {
2137
+ "internalType": "NftId",
2138
+ "name": "policyNftId",
2139
+ "type": "uint96"
2140
+ },
2141
+ {
2142
+ "internalType": "PayoutId",
2143
+ "name": "payoutId",
2144
+ "type": "uint40"
2145
+ }
2146
+ ],
2147
+ "name": "processPayout",
2148
+ "outputs": [
2149
+ {
2150
+ "internalType": "Amount",
2151
+ "name": "netPayoutAmount",
2152
+ "type": "uint96"
2153
+ },
2154
+ {
2155
+ "internalType": "Amount",
2156
+ "name": "processingFeeAmount",
2157
+ "type": "uint96"
2158
+ }
2159
+ ],
2160
+ "stateMutability": "nonpayable",
2161
+ "type": "function"
2162
+ },
2163
+ {
2164
+ "inputs": [
2165
+ {
2166
+ "internalType": "address",
2167
+ "name": "component",
2168
+ "type": "address"
2169
+ }
2170
+ ],
2171
+ "name": "registerComponent",
2172
+ "outputs": [
2173
+ {
2174
+ "internalType": "NftId",
2175
+ "name": "componentNftId",
2176
+ "type": "uint96"
2177
+ }
2178
+ ],
2179
+ "stateMutability": "nonpayable",
2180
+ "type": "function"
2181
+ },
2182
+ {
2183
+ "inputs": [
2184
+ {
2185
+ "internalType": "RequestId",
2186
+ "name": "requestId",
2187
+ "type": "uint64"
2188
+ }
2189
+ ],
2190
+ "name": "resend",
2191
+ "outputs": [],
2192
+ "stateMutability": "nonpayable",
2193
+ "type": "function"
2194
+ },
2195
+ {
2196
+ "inputs": [
2197
+ {
2198
+ "internalType": "NftId",
2199
+ "name": "applicationNftId",
2200
+ "type": "uint96"
2201
+ }
2202
+ ],
2203
+ "name": "revoke",
2204
+ "outputs": [],
2205
+ "stateMutability": "nonpayable",
2206
+ "type": "function"
2207
+ },
2208
+ {
2209
+ "inputs": [
2210
+ {
2211
+ "internalType": "NftId",
2212
+ "name": "policyNftId",
2213
+ "type": "uint96"
2214
+ },
2215
+ {
2216
+ "internalType": "ClaimId",
2217
+ "name": "claimId",
2218
+ "type": "uint16"
2219
+ }
2220
+ ],
2221
+ "name": "revokeClaim",
2222
+ "outputs": [],
2223
+ "stateMutability": "nonpayable",
2224
+ "type": "function"
2225
+ },
2226
+ {
2227
+ "inputs": [
2228
+ {
2229
+ "internalType": "address",
2230
+ "name": "newAuthority",
2231
+ "type": "address"
2232
+ }
2233
+ ],
2234
+ "name": "setAuthority",
2235
+ "outputs": [],
2236
+ "stateMutability": "nonpayable",
2237
+ "type": "function"
2238
+ },
2239
+ {
2240
+ "inputs": [
2241
+ {
2242
+ "components": [
2243
+ {
2244
+ "internalType": "UFixed",
2245
+ "name": "fractionalFee",
2246
+ "type": "uint160"
2247
+ },
2248
+ {
2249
+ "internalType": "Amount",
2250
+ "name": "fixedFee",
2251
+ "type": "uint96"
2252
+ }
2253
+ ],
2254
+ "internalType": "struct Fee",
2255
+ "name": "productFee",
2256
+ "type": "tuple"
2257
+ },
2258
+ {
2259
+ "components": [
2260
+ {
2261
+ "internalType": "UFixed",
2262
+ "name": "fractionalFee",
2263
+ "type": "uint160"
2264
+ },
2265
+ {
2266
+ "internalType": "Amount",
2267
+ "name": "fixedFee",
2268
+ "type": "uint96"
2269
+ }
2270
+ ],
2271
+ "internalType": "struct Fee",
2272
+ "name": "processingFee",
2273
+ "type": "tuple"
2274
+ }
2275
+ ],
2276
+ "name": "setFees",
2277
+ "outputs": [],
2278
+ "stateMutability": "nonpayable",
2279
+ "type": "function"
2280
+ },
2281
+ {
2282
+ "inputs": [
2283
+ {
2284
+ "internalType": "bool",
2285
+ "name": "locked",
2286
+ "type": "bool"
2287
+ }
2288
+ ],
2289
+ "name": "setLocked",
2290
+ "outputs": [],
2291
+ "stateMutability": "nonpayable",
2292
+ "type": "function"
2293
+ },
2294
+ {
2295
+ "inputs": [
2296
+ {
2297
+ "internalType": "RiskId",
2298
+ "name": "id",
2299
+ "type": "bytes8"
2300
+ },
2301
+ {
2302
+ "internalType": "bool",
2303
+ "name": "locked",
2304
+ "type": "bool"
2305
+ }
2306
+ ],
2307
+ "name": "setRiskLocked",
2308
+ "outputs": [],
2309
+ "stateMutability": "nonpayable",
2310
+ "type": "function"
2311
+ },
2312
+ {
2313
+ "inputs": [
2314
+ {
2315
+ "internalType": "address",
2316
+ "name": "newWallet",
2317
+ "type": "address"
2318
+ }
2319
+ ],
2320
+ "name": "setWallet",
2321
+ "outputs": [],
2322
+ "stateMutability": "nonpayable",
2323
+ "type": "function"
2324
+ },
2325
+ {
2326
+ "inputs": [
2327
+ {
2328
+ "internalType": "NftId",
2329
+ "name": "policyNftId",
2330
+ "type": "uint96"
2331
+ },
2332
+ {
2333
+ "internalType": "Amount",
2334
+ "name": "claimAmount",
2335
+ "type": "uint96"
2336
+ },
2337
+ {
2338
+ "internalType": "bytes",
2339
+ "name": "submissionData",
2340
+ "type": "bytes"
2341
+ }
2342
+ ],
2343
+ "name": "submitClaim",
2344
+ "outputs": [
2345
+ {
2346
+ "internalType": "ClaimId",
2347
+ "name": "",
2348
+ "type": "uint16"
2349
+ }
2350
+ ],
2351
+ "stateMutability": "nonpayable",
2352
+ "type": "function"
2353
+ },
2354
+ {
2355
+ "inputs": [
2356
+ {
2357
+ "internalType": "bytes4",
2358
+ "name": "interfaceId",
2359
+ "type": "bytes4"
2360
+ }
2361
+ ],
2362
+ "name": "supportsInterface",
2363
+ "outputs": [
2364
+ {
2365
+ "internalType": "bool",
2366
+ "name": "",
2367
+ "type": "bool"
2368
+ }
2369
+ ],
2370
+ "stateMutability": "view",
2371
+ "type": "function"
2372
+ },
2373
+ {
2374
+ "inputs": [
2375
+ {
2376
+ "internalType": "RiskId",
2377
+ "name": "id",
2378
+ "type": "bytes8"
2379
+ },
2380
+ {
2381
+ "internalType": "bytes",
2382
+ "name": "data",
2383
+ "type": "bytes"
2384
+ }
2385
+ ],
2386
+ "name": "updateRisk",
2387
+ "outputs": [],
2388
+ "stateMutability": "nonpayable",
2389
+ "type": "function"
2390
+ },
2391
+ {
2392
+ "inputs": [
2393
+ {
2394
+ "internalType": "Amount",
2395
+ "name": "amount",
2396
+ "type": "uint96"
2397
+ }
2398
+ ],
2399
+ "name": "withdrawFees",
2400
+ "outputs": [
2401
+ {
2402
+ "internalType": "Amount",
2403
+ "name": "withdrawnAmount",
2404
+ "type": "uint96"
2405
+ }
2406
+ ],
2407
+ "stateMutability": "nonpayable",
2408
+ "type": "function"
2409
+ }
2410
+ ],
2411
+ "bytecode": "0x608060405234801561000f575f80fd5b506040516173be3803806173be83398101604081905261002e916112e9565b61003d87878787878787610049565b50505050505050611651565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100925750825b90505f826001600160401b031660011480156100ad5750303b155b9050811580156100bb575080155b156100d95760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561010757845460ff60401b1916680100000000000000001785555b6101168c8c8c8c8c8c8c610199565b610125600d6101ce565b6101ce565b600280546001600160a01b0319166001600160a01b0392909216919091179055831561018b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b6101a1610265565b6101c58787878787878760405180602001604052805f8152506102b560201b60201c565b50505050505050565b5f6101e16001546001600160a01b031690565b6001600160a01b031663d39e6043836101f86105bf565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561023b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061025f91906113bb565b92915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166102b357604051631afcd79f60e31b815260040160405180910390fd5b565b6102bd610265565b6102d3888888600c60208a015188908888610655565b5f7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d6800865181546020808a015160408b015160608c015160808d015160a08e015160c08f015161ffff1990971697151561ff00191697909717610100941515949094029390931763ffff00001916620100009215159290920263ff000000191691909117630100000060ff9283160217600160201b600160881b0319166401000000009190921602600160281b600160881b03191617650100000000006001600160601b039485160217600160881b600160e81b031916600160881b939092169290920217825560e08801518051929350889284926103d8926001850192910190610e8c565b5050855180516020918201516001600160601b03908116600160a01b9081026001600160a01b03938416176002870155838a01518051908501518316820290841617600387015560408a01518051908501518316820290841617600487015560608a01518051908501518316820290841617600587015560808a01518051908501518316820290841617600687015560a08a01518051908501518316820290841617600787015560c08a01518051940151909116029116176008830155506104a1610120602c90565b600a820180546001600160a01b0319166001600160a01b03929092169190911790556104ce610120601490565b600b820180546001600160a01b0319166001600160a01b03929092169190911790556104fb610120601590565b600c820180546001600160a01b0319166001600160a01b0392909216919091179055610528610120602d90565b600d820180546001600160a01b0319166001600160a01b0392909216919091179055610555610120602a90565b600e820180546001600160a01b0319166001600160a01b0392909216919091179055610582610120600b90565b6009820180546001600160a01b0319166001600160a01b03929092169190911790556105b4630cdf80bd60e31b610885565b505050505050505050565b5f6105f17ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561062c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061065091906113d6565b905090565b61065d610265565b5f6106698989886108b8565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa1580156106db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ff91906113bb565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b8152905161079e929163bf7e214f9160048083019260209291908290030181865afa158015610759573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077d91906113bb565b8b8b8b8b8a8a60405180602001604052805f8152508b61096360201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa1580156107e5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080991906113bb565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055610847610120600b90565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561087963a9c1bc6f60e01b610885565b50505050505050505050565b61088d610265565b6108b5816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036108d9576108d08484600a610a33565b5082905061095c565b5f6108e68585600c610a33565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610934573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061095891906113f1565b9150505b9392505050565b61096b610265565b85515f0361098c5760405163591eebf360e11b815260040160405180910390fd5b61099b89898988888888610afd565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806109c78882611490565b5060018101805460ff1916861515179055600281016109e68382611490565b506109f1600b6101ce565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610a23634a531f3360e01b610885565b6108796306e9e5ff60e31b610885565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610a81573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610aa89190810190611568565b9050610abf81604001518460ff9081169116141590565b15610af557604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b610b05610265565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015610b5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f9190611638565b610ba75760405163cf6935e560e01b81526001600160a01b0388166004820152602401610aec565b610bb087610c51565b610bba8683610c62565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101610c368382611490565b50610c47634a531f3360e01b610885565b5050505050505050565b610c59610265565b6108b581610cf4565b610c6a610265565b610c72610d05565b610c7b82610d4d565b6001600160a01b038116610ca25760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610cfc610265565b6108b581610e19565b610d0d610265565b6102b36301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610d55610265565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610dab573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dcf9190611638565b610df75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610aec565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b828054828255905f5260205f2090600101600290048101928215610f31579160200282015f5b83821115610efc57835183826101000a8154816001600160601b0302191690836001600160601b031602179055509260200192600c01602081600b01049283019260010302610eb2565b8015610f2f5782816101000a8154906001600160601b030219169055600c01602081600b01049283019260010302610efc565b505b50610f3d929150610f41565b5090565b5b80821115610f3d575f8155600101610f42565b6001600160a01b03811681146108b5575f80fd5b8051610f7481610f55565b919050565b6001600160601b03811681146108b5575f80fd5b8051610f7481610f79565b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b0381118282101715610fcf57610fcf610f98565b60405290565b60405160e081016001600160401b0381118282101715610fcf57610fcf610f98565b604051601f8201601f191681016001600160401b038111828210171561101f5761101f610f98565b604052919050565b5f806001600160401b0384111561104057611040610f98565b50601f8301601f191660200161105581610ff7565b915050828152838383011115611069575f80fd5b8282602083015e5f602084830101529392505050565b80518015158114610f74575f80fd5b60ff811681146108b5575f80fd5b8051610f748161108e565b5f82601f8301126110b6575f80fd5b81516001600160401b038111156110cf576110cf610f98565b8060051b6110df60208201610ff7565b918252602081850181019290810190868411156110fa575f80fd5b6020860192505b8383101561112557825161111481610f79565b825260209283019290910190611101565b9695505050505050565b5f6101008284031215611140575f80fd5b611148610fac565b90506111538261107f565b81526111616020830161107f565b60208201526111726040830161107f565b60408201526111836060830161109c565b60608201526111946080830161109c565b60808201526111a560a08301610f8d565b60a08201526111b660c08301610f8d565b60c082015260e08201516001600160401b038111156111d3575f80fd5b6111df848285016110a7565b60e08301525092915050565b5f604082840312156111fb575f80fd5b604080519081016001600160401b038111828210171561121d5761121d610f98565b8060405250809150825161123081610f55565b8152602083015161124081610f79565b6020919091015292915050565b5f6101c0828403121561125e575f80fd5b611266610fd5565b905061127283836111eb565b815261128183604084016111eb565b602082015261129383608084016111eb565b60408201526112a58360c084016111eb565b60608201526112b88361010084016111eb565b60808201526112cb8361014084016111eb565b60a08201526112de8361018084016111eb565b60c082015292915050565b5f805f805f805f610280888a031215611300575f80fd5b875161130b81610f55565b602089015190975061131c81610f79565b60408901519096506001600160401b03811115611337575f80fd5b8801601f81018a13611347575f80fd5b6113568a825160208401611027565b60608a015190965090506001600160401b03811115611373575f80fd5b61137f8a828b0161112f565b94505061138f8960808a0161124d565b925061139e6102408901610f69565b91506113ad6102608901610f69565b905092959891949750929550565b5f602082840312156113cb575f80fd5b815161095c81610f55565b5f602082840312156113e6575f80fd5b815161095c8161108e565b5f60208284031215611401575f80fd5b815161095c81610f79565b600181811c9082168061142057607f821691505b60208210810361143e57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561148b57805f5260205f20601f840160051c810160208510156114695750805b601f840160051c820191505b81811015611488575f8155600101611475565b50505b505050565b81516001600160401b038111156114a9576114a9610f98565b6114bd816114b7845461140c565b84611444565b6020601f8211600181146114ef575f83156114d85750848201515b5f19600385901b1c1916600184901b178455611488565b5f84815260208120601f198516915b8281101561151e57878501518255602094850194600190920191016114fe565b508482101561153b57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82601f830112611559575f80fd5b61095c83835160208501611027565b5f60208284031215611578575f80fd5b81516001600160401b0381111561158d575f80fd5b820160e0818503121561159e575f80fd5b6115a6610fd5565b6115af82610f8d565b81526115bd60208301610f8d565b60208201526115ce6040830161109c565b60408201526115df6060830161107f565b60608201526115f060808301610f69565b608082015261160160a08301610f69565b60a082015260c08201516001600160401b0381111561161e575f80fd5b61162a8682850161154a565b60c083015250949350505050565b5f60208284031215611648575f80fd5b61095c8261107f565b615d608061165e5f395ff3fe608060405234801561000f575f80fd5b5060043610610417575f3560e01c80636bd1c0eb11610221578063b423086c1161012a578063ddb76b6b116100b4578063e1f216fa11610084578063e1f216fa146109ff578063e9b2460c14610a12578063ea15869f14610a39578063f179d06414610a4d578063f322c70a14610a60575f80fd5b8063ddb76b6b14610996578063de7b5d14146109a9578063deaa59df146109d9578063e01f7a43146109ec575f80fd5b8063c68938d0116100fa578063c68938d014610929578063cbdcfb7e1461093c578063ceca82c21461094f578063d14aa6481461097b578063d322005114610983575f80fd5b8063b423086c146108f1578063bbfbbfba146108f9578063bf7e214f1461090c578063c108bd4c14610914575f80fd5b80638f997f6d116101ab5780639ffcede91161017b5780639ffcede914610893578063a7ecda36146108a6578063ad12ad60146108b7578063ada9652e146108ca578063b20f4119146108de575f80fd5b80638f997f6d146108375780638fb360371461084a57806390edbd351461086b578063969fc93014610880575f80fd5b806376b707b7116101f157806376b707b7146107da5780637a9e5e4b146107f45780637baa9a0b14610807578063844e0f201461081a578063893d20e81461082f575f80fd5b80636bd1c0eb14610771578063721192fb146107a157806373369603146107b4578063755bf1fd146107c7575f80fd5b80632cd17e53116103235780634d4889ad116102ad5780635741e5e91161027d5780635741e5e91461072a5780635ab1bd5314610732578063603ccaad146107435780636078a3b214610756578063644c45e014610769575f80fd5b80634d4889ad146106cb5780634d5e16a9146106f15780635349d2a814610704578063544e9e5b14610717575f80fd5b80633ca19bc1116102f35780633ca19bc114610677578063419197fe1461068a57806343d752d31461069d5780634677e40e146106a55780634c68e6e3146106b8575f80fd5b80632cd17e53146106015780632eb3e6f41461061457806330b4c1591461063b5780633c53258e1461064e575f80fd5b806317d7de7c116103a4578063211e28b611610374578063211e28b6146105c357806321df0da7146105d657806322366844146105de57806322f3e2d4146105e65780632ccc7da4146105ee575f80fd5b806317d7de7c146105535780631c6b2190146105685780631eff4b221461057b5780632099c890146105b0575f80fd5b80630fec111c116103ea5780630fec111c146104a057806313299604146104b5578063137a92a7146104d5578063138461e01461050857806314cfae3a14610528575f80fd5b806301ffc9a71461041b578063043fb5651461045c5780630aaba8e8146104715780630d8e6e2c14610484575b5f80fd5b61044761042936600461424f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61046f61046a3660046142a4565b610a73565b005b61046f61047f3660046142db565b610a81565b61048c610a8d565b60405162ffffff9091168152602001610453565b6104a8610b14565b6040516104539190614324565b6104bd610cce565b6040516001600160a01b039091168152602001610453565b6104e86104e33660046143c2565b610d36565b604080516001600160601b03938416815292909116602083015201610453565b610510610d4d565b6040516001600160601b039091168152602001610453565b61053b610536366004614554565b610d57565b6040516001600160401b039091168152602001610453565b61055b610e4f565b60405161045391906145c4565b6105106105763660046142db565b610e5f565b6105a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610453565b61046f6105be366004614788565b610ebd565b61046f6105d13660046148ed565b611004565b6104bd611048565b61044761108c565b610447611182565b61046f6105fc36600461491c565b6111f9565b61046f61060f366004614937565b61125e565b6105a27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b61046f610649366004614983565b611374565b61066161065c3660046149cb565b611403565b60405164ffffffffff9091168152602001610453565b61046f6106853660046142a4565b611419565b61046f610698366004614a3b565b611423565b6104bd611471565b61046f6106b3366004614a7c565b611483565b61046f6106c6366004614a97565b61148c565b6106de6106d9366004614ae5565b6114b2565b60405161ffff9091168152602001610453565b61046f6106ff3660046143c2565b6114c8565b610510610712366004614b42565b6114d2565b61046f610725366004614bd7565b61157d565b610447611587565b6001546001600160a01b03166104bd565b61046f6107513660046142db565b61163d565b610510610764366004614c03565b611646565b610510611702565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166104bd565b6105106107af366004614c1e565b61171d565b61046f6107c236600461491c565b6117c4565b61046f6107d5366004614937565b6117fd565b6107e2611848565b60405160ff9091168152602001610453565b61046f610802366004614c03565b6118b0565b6106616108153660046143c2565b611932565b61082261193d565b6040516104539190614cde565b6104bd611a54565b61046f610845366004614d6c565b611b85565b610852611b8f565b6040516001600160e01b03199091168152602001610453565b610873611bc4565b6040516104539190614d88565b61046f61088e3660046149cb565b611be9565b61046f6108a13660046142db565b611bf5565b6002546001600160a01b03166104bd565b61046f6108c5366004614dd6565b611bfe565b6105a25f80516020615ccb83398151915281565b61046f6108ec366004614e1b565b611ca0565b610873611cab565b61046f6109073660046143c2565b611cbb565b6104bd611cc5565b61091c611ce0565b6040516104539190614e8b565b61046f6109373660046143c2565b611e2e565b61053b61094a366004614f1b565b611e38565b61096261095d366004614fb4565b611ef1565b6040516001600160c01b03199091168152602001610453565b610447611f24565b61046f6109913660046143c2565b611f50565b6105106109a4366004615001565b611f5a565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166104bd565b61046f6109e7366004614c03565b611f78565b6106616109fa3660046150bc565b611fc5565b61046f610a0d36600461510b565b611fdd565b6105a27f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680081565b6105a25f80516020615ceb83398151915281565b610510610a5b366004615148565b611ff3565b61046f610a6e366004615186565b6120e1565b610a7d828261212f565b5050565b610a8a816121a8565b50565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610aeb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f91906151b9565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610bc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be491906151e6565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c2c611a54565b6001600160a01b03168152602001826001018054610c4990615201565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590615201565b8015610cc05780601f10610c9757610100808354040283529160200191610cc0565b820191905f5260205f20905b815481529060010190602001808311610ca357829003601f168201915b505050505081525091505090565b5f610cd7611471565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f9190615244565b5f80610d4284846121ea565b909590945092505050565b5f610b0f30612275565b5f806040518060400160405280841515815260200186815250604051602001610d80919061525f565b60405160208183030381529060405290508215610e135760025460405163f684566360e01b81526001600160a01b039091169063f684566390610dcb90899085908990600401615285565b6020604051808303815f875af1158015610de7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0b91906152f4565b915050610e47565b60025460405163f684566360e01b81526001600160a01b039091169063f684566390610dcb9089908590899060040161530f565b949350505050565b6060610e59611bc4565b51919050565b5f610e6c335b5f366124cb565b610e74611a54565b6001600160a01b0316336001600160a01b031614610eac5760405163086391f760e31b81523360048201526024015b60405180910390fd5b610eb5826125c1565b90505b919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610f015750825b90505f826001600160401b03166001148015610f1c5750303b155b905081158015610f2a575080155b15610f485760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f7257845460ff60401b1916600160401b1785555b610f818c8c8c8c8c8c8c612619565b610f90600d612648565b612648565b600280546001600160a01b0319166001600160a01b03929092169190911790558315610ff657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b61100c611a54565b6001600160a01b0316336001600160a01b03161461103f5760405163086391f760e31b8152336004820152602401610ea3565b610a8a816126d9565b5f611051611471565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d12573d5f803e3d5ffd5b5f61109f6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110791906151e6565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561115e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f9190615389565b5f61118b611cc5565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156111cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111f39190615389565b15905090565b600254604051630b331f6960e21b81526001600160401b03831660048201526001600160a01b0390911690632ccc7da4906024015b5f604051808303815f87803b158015611245575f80fd5b505af1158015611257573d5f803e3d5ffd5b5050505050565b5f8180602001905181019061127391906153f3565b805190915080156113025750611302816020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156112ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112f29190615483565b64ffffffffff9081169116101590565b1561132b57604051636df3767d60e11b81526001600160401b0384166004820152602401610ea3565b7f9ff379e60e2b20360617d792204477efac6e2125229ee6c900882db15061e9a58382604001518360400151516040516113679392919061549e565b60405180910390a1505050565b6113e9838273__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156113c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e491906151e6565b61272a565b508115156001036113fe576113fe83826127bd565b505050565b5f6114108585858561280c565b95945050505050565b610a7d828261288c565b61142c33610e65565b611434611a54565b6001600160a01b0316336001600160a01b0316146114675760405163086391f760e31b8152336004820152602401610ea3565b6113fe82826128d8565b5f61147a611bc4565b60200151905090565b610a8a81612a53565b61149784838361272a565b508215156001036114ac576114ac84836127bd565b50505050565b5f6114be848484612a96565b90505b9392505050565b610a7d8282612b14565b5f8260166114e08282612b63565b5f6114e9612c97565b600e01546001600160a01b031663f4bfe53a611503611702565b8b8d8c8c8c8c6040518863ffffffff1660e01b815260040161152b97969594939291906154cf565b61024060405180830381865afa158015611547573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156b919061554c565b60a001519a9950505050505050505050565b610a7d8282612cbb565b5f61159061108c565b15611614576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156115e4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261160b91908101906156b9565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b610a8a81612d06565b5f61165033610e65565b611658611a54565b6001600160a01b0316336001600160a01b03161461168b5760405163086391f760e31b8152336004820152602401610ea3565b611693612c97565b6009015460405163303c51d960e11b81526001600160a01b03848116600483015290911690636078a3b2906024015b6020604051808303815f875af11580156116de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb591906151e6565b5f80516020615ccb833981519152546001600160601b031690565b604051632620eecb60e11b8152600481018690525f90819073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af415801561176f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179391906151e6565b90505f6117a4828a898989896114d2565b90506117b68a8a84848b8a8a8d612d48565b9a9950505050505050505050565b600254604051634c125e7960e01b81526001600160401b03831660048201526001600160a01b0390911690634c125e799060240161122e565b5f818060200190518101906118129190615789565b90507f3559163244a858ee609484f5443407b2d2fd3522a64ebdf54bd2118b6249f43f838283516040516113679392919061549e565b5f611851611cc5565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561188c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f91906157ba565b336118b9611cc5565b6001600160a01b0316816001600160a01b0316146118f45760405162d1953b60e31b81526001600160a01b0382166004820152602401610ea3565b816001600160a01b03163b5f03611929576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ea3565b610a7d82612dd0565b5f6114c18383612e30565b611945614085565b61194d612c97565b604080516101208101825260028301546001600160a01b0380821660e084019081526001600160601b03600160a01b93849004811661010086015290845284518086018652600387015480841682528490048216602082810191909152808601919091528551808701875260048801548085168252859004831681830152858701528551808701875260058801548085168252859004831681830152606086015285518087018752600688015480851682528590048316818301526080860152855180870187526007880154808516825285900483168183015260a086015285518087019096526008909601549182168552919004169282019290925260c0820152919050565b5f805f80516020615ccb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ac0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae49190615389565b15611b6f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b699190615244565b91505090565b54600160601b90046001600160a01b0316919050565b610a7d8282612ebb565b5f80516020615d0b83398151915280545f9190600160a01b900460ff16611bb6575f611b69565b638fb3603760e01b91505090565b611bcc61415d565b611bd461108c565b15611be157610b0f612ef6565b610b0f611cab565b6114ac848484846130bd565b610a8a8161312f565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c699190615244565b6001600160a01b0316336001600160a01b031614611c9b5760405162f0630960e01b8152336004820152602401610ea3565b6114ac565b6113fe838383613171565b611cb361415d565b610b0f612ef6565b610a7d82826127bd565b5f80516020615d0b833981519152546001600160a01b031690565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c082019290925260e0810191909152611d2a612c97565b604080516101008082018352835460ff808216151584529181048216151560208085019190915262010000820483161515848601526301000000820483166060850152640100000000820490921660808401526001600160601b03650100000000008204811660a0850152600160881b9091041660c083015260018401805484518184028101840190955280855292949360e08601939092830182828015611e2057602002820191905f5260205f20905f905b82829054906101000a90046001600160601b03166001600160601b0316815260200190600c0190602082600b01049283019260010382029150808411611ddd5790505b505050505081525050905090565b610a7d82826131d7565b5f806040518060400160405280851515815260200187815250604051602001611e61919061525f565b60408051601f198184030181529082905260025463f684566360e01b83529092506001600160a01b03169063f684566390611ea6908a9085908a9089906004016157d5565b6020604051808303815f875af1158015611ec2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee691906152f4565b979650505050505050565b5f6114c183604051602001611f06919061582c565b604051602081830303815290604052611f1e90615837565b83613226565b5f611f2d611182565b611f4a5760405163057e912760e31b815260040160405180910390fd5b50600190565b610a7d82826132a2565b5f611f6b898989898988888b612d48565b9998505050505050505050565b611f8133610e65565b611f89611a54565b6001600160a01b0316336001600160a01b031614611fbc5760405163086391f760e31b8152336004820152602401610ea3565b610a8a816132f1565b5f611fd38686868686613366565b9695505050505050565b611fe633610e65565b8260156112578282612b63565b60405163046e44af60e11b81526001600160601b03851660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690600a9083906308dc895e90602401602060405180830381865af4158015612056573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061207a919061585a565b6120849190615871565b6040518263ffffffff1660e01b81526004016120a291815260200190565b602060405180830381865af41580156120bd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141091906151e6565b6120e9611a54565b6001600160a01b0316336001600160a01b03161461211c5760405163086391f760e31b8152336004820152602401610ea3565b61212533610e65565b610a7d82826133e8565b612137612c97565b600d0154604051633838d73960e01b81526001600160601b038416600482015261ffff831660248201526001600160a01b0390911690633838d739906044015b5f604051808303815f87803b15801561218e575f80fd5b505af11580156121a0573d5f803e3d5ffd5b505050505050565b6121b0612c97565b600c0154604051630155751d60e31b81526001600160601b03831660048201526001600160a01b0390911690630aaba8e89060240161122e565b5f806121f4612c97565b600d015460405163137a92a760e01b81526001600160601b038616600482015264ffffffffff851660248201526001600160a01b039091169063137a92a79060440160408051808303815f875af1158015612251573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d429190615890565b5f805f80516020615ccb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123059190615389565b156123315780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610ea3565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612383573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a79190615389565b6123cf5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610ea3565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612421573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061244591906151e6565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490612491611a54565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f80516020615d0b8339815191525f806125036124e6611cc5565b87306124f560045f8a8c6158bd565b6124fe916158e4565b613423565b91509150816121a05763ffffffff81161561259e57825460ff60a01b1916600160a01b178355612531611cc5565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016125609392919061591a565b5f604051808303815f87803b158015612577575f80fd5b505af1158015612589573d5f803e3d5ffd5b5050845460ff60a01b19168555506121a09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610ea3565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f03546040516301c6b21960e41b81526001600160601b03831660048201525f916001600160a01b031690631c6b2190906024016116c2565b61262161352b565b61263f8787878787878760405180602001604052805f815250613576565b50505050505050565b5f61265b6001546001600160a01b031690565b6001600160a01b031663d39e604383612672611848565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156126b5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb59190615244565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b69060240161122e565b5f612733612c97565b600c015460405163d22413e560e01b81526001600160601b03808716600483015264ffffffffff86166024830152841660448201526001600160a01b039091169063d22413e5906064016020604051808303815f875af1158015612799573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114be91906151e6565b6127c5612c97565b600c0154604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401612177565b5f612815612c97565b600d0154604051631e2992c760e11b81526001600160a01b0390911690633c53258e9061284c908890889088908890600401615959565b6020604051808303815f875af1158015612868573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114109190615483565b612894612c97565b600d0154604051633ca19bc160e01b81526001600160601b038416600482015261ffff831660248201526001600160a01b0390911690633ca19bc190604401612177565b5f73__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96846001600160a01b031663dd62ed3e61290a611471565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015612952573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612976919061585a565b6040518263ffffffff1660e01b815260040161299491815260200190565b602060405180830381865af41580156129af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129d391906151e6565b90505f80516020615ceb833981519152600301546040516320c8cbff60e11b81526001600160a01b0385811660048301526001600160601b03851660248301529091169063419197fe906044015f604051808303815f87803b158015612a37575f80fd5b505af1158015612a49573d5f803e3d5ffd5b5050505092915050565b612a5b612c97565b600a015460405163233bf20760e11b81526001600160c01b0319831660048201526001600160a01b0390911690634677e40e9060240161122e565b5f612a9f612c97565b600d01546040516374b775eb60e01b81526001600160a01b03909116906374b775eb90612ad490879087908790600401615993565b6020604051808303815f875af1158015612af0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114be91906159c3565b612b1c612c97565b600c0154604051634d5e16a960e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690634d5e16a990604401612177565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612bb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bd79190615389565b80612c6557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612c3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c639190615389565b155b15610a7d5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610ea3565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680090565b612cc3612c97565b600a015460405163544e9e5b60e01b81526001600160c01b03198416600482015282151560248201526001600160a01b039091169063544e9e5b90604401612177565b612d0e612c97565b600b015460405163603ccaad60e01b81526001600160601b03831660048201526001600160a01b039091169063603ccaad9060240161122e565b5f612d51612c97565b600b0154604051639a83274160e01b81526001600160a01b0390911690639a83274190612d90908c908c908c908c908c908c908c908c906004016159de565b6020604051808303815f875af1158015612dac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f6b91906151e6565b5f80516020615d0b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f612e39612c97565b600c0154604051637baa9a0b60e01b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b0390911690637baa9a0b906044016020604051808303815f875af1158015612e97573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c19190615483565b612ec3612c97565b600a0154604051638f997f6d60e01b81526001600160a01b0390911690638f997f6d906121779085908590600401615a46565b612efe61415d565b5f612f116001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612f55573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f7991906151e6565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612fd2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ff69190615389565b156130b5577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3613033611702565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015613074573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261309b9190810190615a6a565b60208101519092506001600160a01b0316156130b5575090565b611b69613874565b6130c5612c97565b600d0154604051636e2cdce760e01b81526001600160a01b0390911690636e2cdce7906130fc908790879087908790600401615959565b5f604051808303815f87803b158015613113575f80fd5b505af1158015613125573d5f803e3d5ffd5b5050505050505050565b613137612c97565b600c0154604051639ffcede960e01b81526001600160601b03831660048201526001600160a01b0390911690639ffcede99060240161122e565b613179612c97565b600d015460405163f450e2b560e01b81526001600160a01b039091169063f450e2b5906131ae90869086908690600401615ada565b5f604051808303815f87803b1580156131c5575f80fd5b505af115801561263f573d5f803e3d5ffd5b6131df612c97565b600d0154604051630c68938d60e41b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063c68938d090604401612177565b5f61322f612c97565b600a015460405163c3fa12bb60e01b81526001600160a01b039091169063c3fa12bb906132629086908690600401615b05565b6020604051808303815f875af115801561327e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c19190615b1d565b6132aa612c97565b600c015460405163d322005160e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063d322005190604401612177565b6132f9611a54565b6001600160a01b0316336001600160a01b03161461332c5760405163086391f760e31b8152336004820152602401610ea3565b613336600b612648565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df9060240161122e565b5f61336f612c97565b600d015460405163e01f7a4360e01b81526001600160a01b039091169063e01f7a43906133a89089908990899089908990600401615b38565b6020604051808303815f875af11580156133c4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd39190615483565b6133f0612c97565b60090154604051634698bf1160e01b81526001600160a01b0390911690634698bf11906121779085908590600401615b7c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613491919061582c565b5f60405180830381855afa9150503d805f81146134c9576040519150601f19603f3d011682016040523d82523d5f602084013e6134ce565b606091505b5091509150811561352057604081511061350057808060200190518101906134f69190615b97565b9094509250613520565b6020815110613520578080602001905181019061351d9190615389565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661357457604051631afcd79f60e31b815260040160405180910390fd5b565b61357e61352b565b613593888888600c878a602001518888613945565b5f61359c612c97565b865181546020808a015160408b015160608c015160808d015160a08e015160c08f015161ffff1990971697151561ff00191697909717610100941515949094029390931763ffff00001916620100009215159290920263ff000000191691909117630100000060ff928316021770ffffffffffffffffffffffffff000000001916640100000000919092160270ffffffffffffffffffffffff0000000000191617650100000000006001600160601b0394851602176bffffffffffffffffffffffff60881b1916600160881b939092169290920217825560e0880151805192935088928492613692926001850192910190614186565b5050855180516020918201516001600160601b03908116600160a01b9081026001600160a01b03938416176002870155838a01518051908501518316820290841617600387015560408a01518051908501518316820290841617600487015560608a01518051908501518316820290841617600587015560808a01518051908501518316820290841617600687015560a08a01518051908501518316820290841617600787015560c08a015180519401519091160291161760088301555061375b610f8b602c90565b600a820180546001600160a01b0319166001600160a01b03929092169190911790556137876014612648565b600b820180546001600160a01b0319166001600160a01b03929092169190911790556137b36015612648565b600c820180546001600160a01b0319166001600160a01b03929092169190911790556137df602d612648565b600d820180546001600160a01b0319166001600160a01b039290921691909117905561380b602a612648565b600e820180546001600160a01b0319166001600160a01b0392909216919091179055613837600b612648565b6009820180546001600160a01b0319166001600160a01b0392909216919091179055613869630cdf80bd60e31b613b6e565b505050505050505050565b61387c61415d565b5f5f80516020615ceb83398151915290506040518060600160405280825f0180546138a690615201565b80601f01602080910402602001604051908101604052809291908181526020018280546138d290615201565b801561391d5780601f106138f45761010080835404028352916020019161391d565b820191905f5260205f20905b81548152906001019060200180831161390057829003601f168201915b505050505081526020015f6001600160a01b03168152602001826002018054610c4990615201565b61394d61352b565b5f613959898988613b9e565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa1580156139cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139ef9190615244565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051613a88929163bf7e214f9160048083019260209291908290030181865afa158015613a49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a6d9190615244565b8b8b8b8b8a8a60405180602001604052805f8152508b613c1a565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015613acf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613af39190615244565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055613b30600b612648565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613b6263a9c1bc6f60e01b613b6e565b50505050505050505050565b613b7661352b565b610a8a816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03613bbf57613bb68484600a613cd7565b508290506114c1565b5f613bcc8585600c613cd7565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa1580156120bd573d5f803e3d5ffd5b613c2261352b565b85515f03613c435760405163591eebf360e11b815260040160405180910390fd5b613c5289898988888888613d9c565b5f80516020615ceb83398151915280613c6b8882615c10565b5060018101805460ff191686151517905560028101613c8a8382615c10565b50613c95600b612648565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613cc7634a531f3360e01b613b6e565b613b626306e9e5ff60e31b613b6e565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015613d25573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613d4c91908101906156b9565b9050613d6381604001518460ff9081169116141590565b15613d9457604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610ea3565b509392505050565b613da461352b565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613dfa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e1e9190615389565b613e465760405163cf6935e560e01b81526001600160a01b0388166004820152602401610ea3565b613e4f87613ed9565b613e598683613eea565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613ec88382615c10565b50613125634a531f3360e01b613b6e565b613ee161352b565b610a8a81613f60565b613ef261352b565b613efa613f71565b613f0382613fb9565b6001600160a01b038116613f2a5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615ccb83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613f6861352b565b610a8a81612dd0565b613f7961352b565b6135746301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613fc161352b565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614017573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061403b9190615389565b6140635760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ea3565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805161012081019091525f60e08201818152610100830191909152819081526020016140c2604080518082019091525f808252602082015290565b81526020016140e0604080518082019091525f808252602082015290565b81526020016140fe604080518082019091525f808252602082015290565b815260200161411c604080518082019091525f808252602082015290565b815260200161413a604080518082019091525f808252602082015290565b8152602001614158604080518082019091525f808252602082015290565b905290565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b828054828255905f5260205f209060010160029004810192821561422b579160200282015f5b838211156141f657835183826101000a8154816001600160601b0302191690836001600160601b031602179055509260200192600c01602081600b010492830192600103026141ac565b80156142295782816101000a8154906001600160601b030219169055600c01602081600b010492830192600103026141f6565b505b5061423792915061423b565b5090565b5b80821115614237575f815560010161423c565b5f6020828403121561425f575f80fd5b81356001600160e01b0319811681146114c1575f80fd5b6001600160601b0381168114610a8a575f80fd5b8035610eb881614276565b61ffff81168114610a8a575f80fd5b5f80604083850312156142b5575f80fd5b82356142c081614276565b915060208301356142d081614295565b809150509250929050565b5f602082840312156142eb575f80fd5b81356114c181614276565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161436c608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610e476101008401826142f6565b64ffffffffff81168114610a8a575f80fd5b5f80604083850312156143d3575f80fd5b82356143de81614276565b915060208301356142d0816143b0565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715614424576144246143ee565b60405290565b60405161010081016001600160401b0381118282101715614424576144246143ee565b604051606081016001600160401b0381118282101715614424576144246143ee565b60405161024081016001600160401b0381118282101715614424576144246143ee565b604051601f8201601f191681016001600160401b03811182821017156144ba576144ba6143ee565b604052919050565b5f6001600160401b038211156144da576144da6143ee565b50601f01601f191660200190565b5f82601f8301126144f7575f80fd5b8135602083015f61450f61450a846144c2565b614492565b9050828152858383011115614522575f80fd5b828260208301375f92810160200192909252509392505050565b8015158114610a8a575f80fd5b8035610eb88161453c565b5f805f8060808587031215614567575f80fd5b843561457281614276565b935060208501356001600160401b0381111561458c575f80fd5b614598878288016144e8565b93505060408501356145a9816143b0565b915060608501356145b98161453c565b939692955090935050565b602081525f6114c160208301846142f6565b6001600160a01b0381168114610a8a575f80fd5b8035610eb8816145d6565b60ff81168114610a8a575f80fd5b8035610eb8816145f5565b5f82601f83011261461d575f80fd5b81356001600160401b03811115614636576146366143ee565b8060051b61464660208201614492565b91825260208185018101929081019086841115614661575f80fd5b6020860192505b83831015611fd357823561467b81614276565b825260209283019290910190614668565b5f6040828403121561469c575f80fd5b604080519081016001600160401b03811182821017156146be576146be6143ee565b60405290508082356146cf816145d6565b815260208301356146df81614276565b6020919091015292915050565b5f6101c082840312156146fd575f80fd5b614705614402565b9050614711838361468c565b8152614720836040840161468c565b6020820152614732836080840161468c565b60408201526147448360c0840161468c565b606082015261475783610100840161468c565b608082015261476a83610140840161468c565b60a082015261477d83610180840161468c565b60c082015292915050565b5f805f805f805f610280888a03121561479f575f80fd5b87356147aa816145d6565b965060208801356147ba81614276565b955060408801356001600160401b038111156147d4575f80fd5b6147e08a828b016144e8565b95505060608801356001600160401b038111156147fb575f80fd5b8801610100818b03121561480d575f80fd5b61481561442a565b61481e82614549565b815261482c60208301614549565b602082015261483d60408301614549565b604082015261484e60608301614603565b606082015261485f60808301614603565b608082015261487060a0830161428a565b60a082015261488160c0830161428a565b60c082015260e08201356001600160401b0381111561489e575f80fd5b6148aa8c82850161460e565b60e08301525094506148c190508960808a016146ec565b92506148d061024089016145ea565b91506148df61026089016145ea565b905092959891949750929550565b5f602082840312156148fd575f80fd5b81356114c18161453c565b6001600160401b0381168114610a8a575f80fd5b5f6020828403121561492c575f80fd5b81356114c181614908565b5f8060408385031215614948575f80fd5b823561495381614908565b915060208301356001600160401b0381111561496d575f80fd5b614979858286016144e8565b9150509250929050565b5f805f60608486031215614995575f80fd5b83356149a081614276565b925060208401356149b08161453c565b915060408401356149c0816143b0565b809150509250925092565b5f805f80608085870312156149de575f80fd5b84356149e981614276565b935060208501356149f981614295565b92506040850135614a0981614276565b915060608501356001600160401b03811115614a23575f80fd5b614a2f878288016144e8565b91505092959194509250565b5f8060408385031215614a4c575f80fd5b8235614a57816145d6565b915060208301356142d081614276565b6001600160c01b031981168114610a8a575f80fd5b5f60208284031215614a8c575f80fd5b81356114c181614a67565b5f805f8060808587031215614aaa575f80fd5b8435614ab581614276565b93506020850135614ac58161453c565b92506040850135614ad5816143b0565b915060608501356145b981614276565b5f805f60608486031215614af7575f80fd5b8335614b0281614276565b92506020840135614b1281614276565b915060408401356001600160401b03811115614b2c575f80fd5b614b38868287016144e8565b9150509250925092565b5f805f805f8060c08789031215614b57575f80fd5b8635614b6281614276565b95506020870135614b7281614a67565b94506040870135614b82816143b0565b935060608701356001600160401b03811115614b9c575f80fd5b614ba889828a016144e8565b9350506080870135614bb981614276565b915060a0870135614bc981614a67565b809150509295509295509295565b5f8060408385031215614be8575f80fd5b8235614bf381614a67565b915060208301356142d08161453c565b5f60208284031215614c13575f80fd5b81356114c1816145d6565b5f805f805f805f60e0888a031215614c34575f80fd5b8735614c3f816145d6565b96506020880135614c4f81614a67565b9550604088013594506060880135614c66816143b0565b935060808801356001600160401b03811115614c80575f80fd5b614c8c8a828b016144e8565b93505060a0880135614c9d81614276565b915060c0880135614cad81614a67565b8091505092959891949750929550565b80516001600160a01b031682526020908101516001600160601b0316910152565b5f6101c082019050614cf1828451614cbd565b6020830151614d036040840182614cbd565b506040830151614d166080840182614cbd565b506060830151614d2960c0840182614cbd565b506080830151614d3d610100840182614cbd565b5060a0830151614d51610140840182614cbd565b5060c0830151614d65610180840182614cbd565b5092915050565b5f8060408385031215614d7d575f80fd5b823561495381614a67565b602081525f825160606020840152614da360808401826142f6565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061141082826142f6565b5f805f8060808587031215614de9575f80fd5b8435614df4816145d6565b93506020850135614e04816145d6565b92506040850135915060608501356145b9816145d6565b5f805f60608486031215614e2d575f80fd5b8335614e3881614276565b92506020840135614b1281614295565b5f8151808452602084019350602083015f5b82811015614e815781516001600160601b0316865260209586019590910190600101614e5a565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151614eb8606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152610e47610120840182614e48565b5f805f805f60a08688031215614f2f575f80fd5b8535614f3a81614276565b945060208601356001600160401b03811115614f54575f80fd5b614f60888289016144e8565b9450506040860135614f71816143b0565b92506060860135614f818161453c565b915060808601356001600160401b03811115614f9b575f80fd5b614fa7888289016144e8565b9150509295509295909350565b5f8060408385031215614fc5575f80fd5b82356001600160401b03811115614fda575f80fd5b614fe6858286016144e8565b92505060208301356001600160401b0381111561496d575f80fd5b5f805f805f805f80610100898b031215615019575f80fd5b8835615024816145d6565b9750602089013561503481614a67565b9650604089013561504481614276565b9550606089013561505481614276565b94506080890135615064816143b0565b935060a08901356001600160401b0381111561507e575f80fd5b61508a8b828c016144e8565b93505060c089013561509b81614276565b915060e08901356150ab81614a67565b809150509295985092959890939650565b5f805f805f60a086880312156150d0575f80fd5b85356150db81614276565b945060208601356150eb81614295565b935060408601356150fb81614276565b92506060860135614f81816145d6565b5f805f6060848603121561511d575f80fd5b833561512881614276565b9250602084013561513881614295565b915060408401356149c081614276565b5f805f806080858703121561515b575f80fd5b843561516681614276565b9350602085013561517681614a67565b92506040850135614a09816143b0565b5f8060808385031215615197575f80fd5b6151a1848461468c565b91506151b0846040850161468c565b90509250929050565b5f602082840312156151c9575f80fd5b815162ffffff811681146114c1575f80fd5b8051610eb881614276565b5f602082840312156151f6575f80fd5b81516114c181614276565b600181811c9082168061521557607f821691505b60208210810361523357634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610eb8816145d6565b5f60208284031215615254575f80fd5b81516114c1816145d6565b602081528151151560208201525f6020830151604080840152610e4760608401826142f6565b6001600160601b0384168152608060208201525f6152a660808301856142f6565b64ffffffffff841660408401528281036060840152601881527f66756c66696c6c4f7261636c655265717565737453796e630000000000000000602082015260408101915050949350505050565b5f60208284031215615304575f80fd5b81516114c181614908565b6001600160601b0384168152608060208201525f61533060808301856142f6565b64ffffffffff841660408401528281036060840152601981527f66756c66696c6c4f7261636c65526571756573744173796e6300000000000000602082015260408101915050949350505050565b8051610eb88161453c565b5f60208284031215615399575f80fd5b81516114c18161453c565b5f82601f8301126153b3575f80fd5b8151602083015f6153c661450a846144c2565b90508281528583830111156153d9575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215615403575f80fd5b81516001600160401b03811115615418575f80fd5b820160608185031215615429575f80fd5b61543161444d565b815161543c8161453c565b8152602082015161544c816143b0565b602082015260408201516001600160401b03811115615469575f80fd5b615475868285016153a4565b604083015250949350505050565b5f60208284031215615493575f80fd5b81516114c1816143b0565b6001600160401b0384168152606060208201525f6154bf60608301856142f6565b9050826040830152949350505050565b6001600160601b03881681526001600160401b0360c01b871660208201526001600160601b038616604082015264ffffffffff8516606082015260e060808201525f61551e60e08301866142f6565b6001600160601b039490941660a0830152506001600160c01b03199190911660c09091015295945050505050565b5f61024082840312801561555e575f80fd5b5061556761446f565b615570836151db565b815261557e602084016151db565b602082015261558f604084016151db565b60408201526155a0606084016151db565b60608201526155b1608084016151db565b60808201526155c260a084016151db565b60a08201526155d360c084016151db565b60c08201526155e460e084016151db565b60e08201526155f661010084016151db565b61010082015261560961012084016151db565b61012082015261561c61014084016151db565b61014082015261562f61016084016151db565b61016082015261564261018084016151db565b6101808201526156556101a084016151db565b6101a08201526156686101c084016151db565b6101c082015261567b6101e084016151db565b6101e082015261568e61020084016151db565b6102008201526156a161022084016151db565b6102208201529392505050565b8051610eb8816145f5565b5f602082840312156156c9575f80fd5b81516001600160401b038111156156de575f80fd5b820160e081850312156156ef575f80fd5b6156f7614402565b615700826151db565b815261570e602083016151db565b602082015261571f604083016156ae565b60408201526157306060830161537e565b606082015261574160808301615239565b608082015261575260a08301615239565b60a082015260c08201516001600160401b0381111561576f575f80fd5b61577b868285016153a4565b60c083015250949350505050565b5f60208284031215615799575f80fd5b81516001600160401b038111156157ae575f80fd5b610e47848285016153a4565b5f602082840312156157ca575f80fd5b81516114c1816145f5565b6001600160601b0385168152608060208201525f6157f660808301866142f6565b64ffffffffff851660408401528281036060840152611ee681856142f6565b5f81518060208401855e5f93019283525090919050565b5f6114c18284615815565b80516020808301519190811015615233575f1960209190910360031b1b16919050565b5f6020828403121561586a575f80fd5b5051919050565b5f8261588b57634e487b7160e01b5f52601260045260245ffd5b500490565b5f80604083850312156158a1575f80fd5b82516158ac81614276565b60208401519092506142d081614276565b5f80858511156158cb575f80fd5b838611156158d7575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614d65576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b6001600160601b038516815261ffff841660208201526001600160601b0383166040820152608060608201525f611fd360808301846142f6565b6001600160601b03841681526001600160601b0383166020820152606060408201525f61141060608301846142f6565b5f602082840312156159d3575f80fd5b81516114c181614295565b6001600160a01b03891681526001600160c01b031988811660208301526001600160601b038881166040840152878116606084015264ffffffffff87166080840152851660a0830152831660c082015261010060e082018190525f906117b6908301846142f6565b6001600160401b0360c01b83168152604060208201525f6114be60408301846142f6565b5f60208284031215615a7a575f80fd5b81516001600160401b03811115615a8f575f80fd5b820160608185031215615aa0575f80fd5b615aa861444d565b81516001600160401b03811115615abd575f80fd5b615ac9868285016153a4565b825250602082015161544c816145d6565b6001600160601b038416815261ffff83166020820152606060408201525f61141060608301846142f6565b828152604060208201525f6114be60408301846142f6565b5f60208284031215615b2d575f80fd5b81516114c181614a67565b6001600160601b03868116825261ffff86166020830152841660408201526001600160a01b038316606082015260a0608082018190525f90611ee6908301846142f6565b60808101615b8a8285614cbd565b6114c16040830184614cbd565b5f8060408385031215615ba8575f80fd5b8251615bb38161453c565b602084015190925063ffffffff811681146142d0575f80fd5b601f8211156113fe57805f5260205f20601f840160051c81016020851015615bf15750805b601f840160051c820191505b81811015611257575f8155600101615bfd565b81516001600160401b03811115615c2957615c296143ee565b615c3d81615c378454615201565b84615bcc565b6020601f821160018114615c6f575f8315615c585750848201515b5f19600385901b1c1916600184901b178455611257565b5f84815260208120601f198516915b82811015615c9e5787850151825560209485019460019092019101615c7e565b5084821015615cbb57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c753a0dc9cec437e8aba2e48fd6e9d4e8977f02c9f7bb3b471cd283366ebb5d664736f6c634300081a0033",
2412
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610417575f3560e01c80636bd1c0eb11610221578063b423086c1161012a578063ddb76b6b116100b4578063e1f216fa11610084578063e1f216fa146109ff578063e9b2460c14610a12578063ea15869f14610a39578063f179d06414610a4d578063f322c70a14610a60575f80fd5b8063ddb76b6b14610996578063de7b5d14146109a9578063deaa59df146109d9578063e01f7a43146109ec575f80fd5b8063c68938d0116100fa578063c68938d014610929578063cbdcfb7e1461093c578063ceca82c21461094f578063d14aa6481461097b578063d322005114610983575f80fd5b8063b423086c146108f1578063bbfbbfba146108f9578063bf7e214f1461090c578063c108bd4c14610914575f80fd5b80638f997f6d116101ab5780639ffcede91161017b5780639ffcede914610893578063a7ecda36146108a6578063ad12ad60146108b7578063ada9652e146108ca578063b20f4119146108de575f80fd5b80638f997f6d146108375780638fb360371461084a57806390edbd351461086b578063969fc93014610880575f80fd5b806376b707b7116101f157806376b707b7146107da5780637a9e5e4b146107f45780637baa9a0b14610807578063844e0f201461081a578063893d20e81461082f575f80fd5b80636bd1c0eb14610771578063721192fb146107a157806373369603146107b4578063755bf1fd146107c7575f80fd5b80632cd17e53116103235780634d4889ad116102ad5780635741e5e91161027d5780635741e5e91461072a5780635ab1bd5314610732578063603ccaad146107435780636078a3b214610756578063644c45e014610769575f80fd5b80634d4889ad146106cb5780634d5e16a9146106f15780635349d2a814610704578063544e9e5b14610717575f80fd5b80633ca19bc1116102f35780633ca19bc114610677578063419197fe1461068a57806343d752d31461069d5780634677e40e146106a55780634c68e6e3146106b8575f80fd5b80632cd17e53146106015780632eb3e6f41461061457806330b4c1591461063b5780633c53258e1461064e575f80fd5b806317d7de7c116103a4578063211e28b611610374578063211e28b6146105c357806321df0da7146105d657806322366844146105de57806322f3e2d4146105e65780632ccc7da4146105ee575f80fd5b806317d7de7c146105535780631c6b2190146105685780631eff4b221461057b5780632099c890146105b0575f80fd5b80630fec111c116103ea5780630fec111c146104a057806313299604146104b5578063137a92a7146104d5578063138461e01461050857806314cfae3a14610528575f80fd5b806301ffc9a71461041b578063043fb5651461045c5780630aaba8e8146104715780630d8e6e2c14610484575b5f80fd5b61044761042936600461424f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61046f61046a3660046142a4565b610a73565b005b61046f61047f3660046142db565b610a81565b61048c610a8d565b60405162ffffff9091168152602001610453565b6104a8610b14565b6040516104539190614324565b6104bd610cce565b6040516001600160a01b039091168152602001610453565b6104e86104e33660046143c2565b610d36565b604080516001600160601b03938416815292909116602083015201610453565b610510610d4d565b6040516001600160601b039091168152602001610453565b61053b610536366004614554565b610d57565b6040516001600160401b039091168152602001610453565b61055b610e4f565b60405161045391906145c4565b6105106105763660046142db565b610e5f565b6105a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610453565b61046f6105be366004614788565b610ebd565b61046f6105d13660046148ed565b611004565b6104bd611048565b61044761108c565b610447611182565b61046f6105fc36600461491c565b6111f9565b61046f61060f366004614937565b61125e565b6105a27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b61046f610649366004614983565b611374565b61066161065c3660046149cb565b611403565b60405164ffffffffff9091168152602001610453565b61046f6106853660046142a4565b611419565b61046f610698366004614a3b565b611423565b6104bd611471565b61046f6106b3366004614a7c565b611483565b61046f6106c6366004614a97565b61148c565b6106de6106d9366004614ae5565b6114b2565b60405161ffff9091168152602001610453565b61046f6106ff3660046143c2565b6114c8565b610510610712366004614b42565b6114d2565b61046f610725366004614bd7565b61157d565b610447611587565b6001546001600160a01b03166104bd565b61046f6107513660046142db565b61163d565b610510610764366004614c03565b611646565b610510611702565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166104bd565b6105106107af366004614c1e565b61171d565b61046f6107c236600461491c565b6117c4565b61046f6107d5366004614937565b6117fd565b6107e2611848565b60405160ff9091168152602001610453565b61046f610802366004614c03565b6118b0565b6106616108153660046143c2565b611932565b61082261193d565b6040516104539190614cde565b6104bd611a54565b61046f610845366004614d6c565b611b85565b610852611b8f565b6040516001600160e01b03199091168152602001610453565b610873611bc4565b6040516104539190614d88565b61046f61088e3660046149cb565b611be9565b61046f6108a13660046142db565b611bf5565b6002546001600160a01b03166104bd565b61046f6108c5366004614dd6565b611bfe565b6105a25f80516020615ccb83398151915281565b61046f6108ec366004614e1b565b611ca0565b610873611cab565b61046f6109073660046143c2565b611cbb565b6104bd611cc5565b61091c611ce0565b6040516104539190614e8b565b61046f6109373660046143c2565b611e2e565b61053b61094a366004614f1b565b611e38565b61096261095d366004614fb4565b611ef1565b6040516001600160c01b03199091168152602001610453565b610447611f24565b61046f6109913660046143c2565b611f50565b6105106109a4366004615001565b611f5a565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166104bd565b61046f6109e7366004614c03565b611f78565b6106616109fa3660046150bc565b611fc5565b61046f610a0d36600461510b565b611fdd565b6105a27f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680081565b6105a25f80516020615ceb83398151915281565b610510610a5b366004615148565b611ff3565b61046f610a6e366004615186565b6120e1565b610a7d828261212f565b5050565b610a8a816121a8565b50565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610aeb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f91906151b9565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610bc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be491906151e6565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c2c611a54565b6001600160a01b03168152602001826001018054610c4990615201565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590615201565b8015610cc05780601f10610c9757610100808354040283529160200191610cc0565b820191905f5260205f20905b815481529060010190602001808311610ca357829003601f168201915b505050505081525091505090565b5f610cd7611471565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f9190615244565b5f80610d4284846121ea565b909590945092505050565b5f610b0f30612275565b5f806040518060400160405280841515815260200186815250604051602001610d80919061525f565b60405160208183030381529060405290508215610e135760025460405163f684566360e01b81526001600160a01b039091169063f684566390610dcb90899085908990600401615285565b6020604051808303815f875af1158015610de7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0b91906152f4565b915050610e47565b60025460405163f684566360e01b81526001600160a01b039091169063f684566390610dcb9089908590899060040161530f565b949350505050565b6060610e59611bc4565b51919050565b5f610e6c335b5f366124cb565b610e74611a54565b6001600160a01b0316336001600160a01b031614610eac5760405163086391f760e31b81523360048201526024015b60405180910390fd5b610eb5826125c1565b90505b919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610f015750825b90505f826001600160401b03166001148015610f1c5750303b155b905081158015610f2a575080155b15610f485760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f7257845460ff60401b1916600160401b1785555b610f818c8c8c8c8c8c8c612619565b610f90600d612648565b612648565b600280546001600160a01b0319166001600160a01b03929092169190911790558315610ff657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b61100c611a54565b6001600160a01b0316336001600160a01b03161461103f5760405163086391f760e31b8152336004820152602401610ea3565b610a8a816126d9565b5f611051611471565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d12573d5f803e3d5ffd5b5f61109f6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110791906151e6565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561115e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f9190615389565b5f61118b611cc5565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156111cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111f39190615389565b15905090565b600254604051630b331f6960e21b81526001600160401b03831660048201526001600160a01b0390911690632ccc7da4906024015b5f604051808303815f87803b158015611245575f80fd5b505af1158015611257573d5f803e3d5ffd5b5050505050565b5f8180602001905181019061127391906153f3565b805190915080156113025750611302816020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156112ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112f29190615483565b64ffffffffff9081169116101590565b1561132b57604051636df3767d60e11b81526001600160401b0384166004820152602401610ea3565b7f9ff379e60e2b20360617d792204477efac6e2125229ee6c900882db15061e9a58382604001518360400151516040516113679392919061549e565b60405180910390a1505050565b6113e9838273__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156113c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e491906151e6565b61272a565b508115156001036113fe576113fe83826127bd565b505050565b5f6114108585858561280c565b95945050505050565b610a7d828261288c565b61142c33610e65565b611434611a54565b6001600160a01b0316336001600160a01b0316146114675760405163086391f760e31b8152336004820152602401610ea3565b6113fe82826128d8565b5f61147a611bc4565b60200151905090565b610a8a81612a53565b61149784838361272a565b508215156001036114ac576114ac84836127bd565b50505050565b5f6114be848484612a96565b90505b9392505050565b610a7d8282612b14565b5f8260166114e08282612b63565b5f6114e9612c97565b600e01546001600160a01b031663f4bfe53a611503611702565b8b8d8c8c8c8c6040518863ffffffff1660e01b815260040161152b97969594939291906154cf565b61024060405180830381865afa158015611547573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156b919061554c565b60a001519a9950505050505050505050565b610a7d8282612cbb565b5f61159061108c565b15611614576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156115e4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261160b91908101906156b9565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b610a8a81612d06565b5f61165033610e65565b611658611a54565b6001600160a01b0316336001600160a01b03161461168b5760405163086391f760e31b8152336004820152602401610ea3565b611693612c97565b6009015460405163303c51d960e11b81526001600160a01b03848116600483015290911690636078a3b2906024015b6020604051808303815f875af11580156116de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb591906151e6565b5f80516020615ccb833981519152546001600160601b031690565b604051632620eecb60e11b8152600481018690525f90819073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af415801561176f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179391906151e6565b90505f6117a4828a898989896114d2565b90506117b68a8a84848b8a8a8d612d48565b9a9950505050505050505050565b600254604051634c125e7960e01b81526001600160401b03831660048201526001600160a01b0390911690634c125e799060240161122e565b5f818060200190518101906118129190615789565b90507f3559163244a858ee609484f5443407b2d2fd3522a64ebdf54bd2118b6249f43f838283516040516113679392919061549e565b5f611851611cc5565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561188c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f91906157ba565b336118b9611cc5565b6001600160a01b0316816001600160a01b0316146118f45760405162d1953b60e31b81526001600160a01b0382166004820152602401610ea3565b816001600160a01b03163b5f03611929576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ea3565b610a7d82612dd0565b5f6114c18383612e30565b611945614085565b61194d612c97565b604080516101208101825260028301546001600160a01b0380821660e084019081526001600160601b03600160a01b93849004811661010086015290845284518086018652600387015480841682528490048216602082810191909152808601919091528551808701875260048801548085168252859004831681830152858701528551808701875260058801548085168252859004831681830152606086015285518087018752600688015480851682528590048316818301526080860152855180870187526007880154808516825285900483168183015260a086015285518087019096526008909601549182168552919004169282019290925260c0820152919050565b5f805f80516020615ccb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ac0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae49190615389565b15611b6f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b699190615244565b91505090565b54600160601b90046001600160a01b0316919050565b610a7d8282612ebb565b5f80516020615d0b83398151915280545f9190600160a01b900460ff16611bb6575f611b69565b638fb3603760e01b91505090565b611bcc61415d565b611bd461108c565b15611be157610b0f612ef6565b610b0f611cab565b6114ac848484846130bd565b610a8a8161312f565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c699190615244565b6001600160a01b0316336001600160a01b031614611c9b5760405162f0630960e01b8152336004820152602401610ea3565b6114ac565b6113fe838383613171565b611cb361415d565b610b0f612ef6565b610a7d82826127bd565b5f80516020615d0b833981519152546001600160a01b031690565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c082019290925260e0810191909152611d2a612c97565b604080516101008082018352835460ff808216151584529181048216151560208085019190915262010000820483161515848601526301000000820483166060850152640100000000820490921660808401526001600160601b03650100000000008204811660a0850152600160881b9091041660c083015260018401805484518184028101840190955280855292949360e08601939092830182828015611e2057602002820191905f5260205f20905f905b82829054906101000a90046001600160601b03166001600160601b0316815260200190600c0190602082600b01049283019260010382029150808411611ddd5790505b505050505081525050905090565b610a7d82826131d7565b5f806040518060400160405280851515815260200187815250604051602001611e61919061525f565b60408051601f198184030181529082905260025463f684566360e01b83529092506001600160a01b03169063f684566390611ea6908a9085908a9089906004016157d5565b6020604051808303815f875af1158015611ec2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee691906152f4565b979650505050505050565b5f6114c183604051602001611f06919061582c565b604051602081830303815290604052611f1e90615837565b83613226565b5f611f2d611182565b611f4a5760405163057e912760e31b815260040160405180910390fd5b50600190565b610a7d82826132a2565b5f611f6b898989898988888b612d48565b9998505050505050505050565b611f8133610e65565b611f89611a54565b6001600160a01b0316336001600160a01b031614611fbc5760405163086391f760e31b8152336004820152602401610ea3565b610a8a816132f1565b5f611fd38686868686613366565b9695505050505050565b611fe633610e65565b8260156112578282612b63565b60405163046e44af60e11b81526001600160601b03851660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690600a9083906308dc895e90602401602060405180830381865af4158015612056573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061207a919061585a565b6120849190615871565b6040518263ffffffff1660e01b81526004016120a291815260200190565b602060405180830381865af41580156120bd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141091906151e6565b6120e9611a54565b6001600160a01b0316336001600160a01b03161461211c5760405163086391f760e31b8152336004820152602401610ea3565b61212533610e65565b610a7d82826133e8565b612137612c97565b600d0154604051633838d73960e01b81526001600160601b038416600482015261ffff831660248201526001600160a01b0390911690633838d739906044015b5f604051808303815f87803b15801561218e575f80fd5b505af11580156121a0573d5f803e3d5ffd5b505050505050565b6121b0612c97565b600c0154604051630155751d60e31b81526001600160601b03831660048201526001600160a01b0390911690630aaba8e89060240161122e565b5f806121f4612c97565b600d015460405163137a92a760e01b81526001600160601b038616600482015264ffffffffff851660248201526001600160a01b039091169063137a92a79060440160408051808303815f875af1158015612251573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d429190615890565b5f805f80516020615ccb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123059190615389565b156123315780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610ea3565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612383573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a79190615389565b6123cf5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610ea3565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612421573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061244591906151e6565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490612491611a54565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f80516020615d0b8339815191525f806125036124e6611cc5565b87306124f560045f8a8c6158bd565b6124fe916158e4565b613423565b91509150816121a05763ffffffff81161561259e57825460ff60a01b1916600160a01b178355612531611cc5565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016125609392919061591a565b5f604051808303815f87803b158015612577575f80fd5b505af1158015612589573d5f803e3d5ffd5b5050845460ff60a01b19168555506121a09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610ea3565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f03546040516301c6b21960e41b81526001600160601b03831660048201525f916001600160a01b031690631c6b2190906024016116c2565b61262161352b565b61263f8787878787878760405180602001604052805f815250613576565b50505050505050565b5f61265b6001546001600160a01b031690565b6001600160a01b031663d39e604383612672611848565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156126b5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb59190615244565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b69060240161122e565b5f612733612c97565b600c015460405163d22413e560e01b81526001600160601b03808716600483015264ffffffffff86166024830152841660448201526001600160a01b039091169063d22413e5906064016020604051808303815f875af1158015612799573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114be91906151e6565b6127c5612c97565b600c0154604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401612177565b5f612815612c97565b600d0154604051631e2992c760e11b81526001600160a01b0390911690633c53258e9061284c908890889088908890600401615959565b6020604051808303815f875af1158015612868573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114109190615483565b612894612c97565b600d0154604051633ca19bc160e01b81526001600160601b038416600482015261ffff831660248201526001600160a01b0390911690633ca19bc190604401612177565b5f73__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96846001600160a01b031663dd62ed3e61290a611471565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015612952573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612976919061585a565b6040518263ffffffff1660e01b815260040161299491815260200190565b602060405180830381865af41580156129af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129d391906151e6565b90505f80516020615ceb833981519152600301546040516320c8cbff60e11b81526001600160a01b0385811660048301526001600160601b03851660248301529091169063419197fe906044015f604051808303815f87803b158015612a37575f80fd5b505af1158015612a49573d5f803e3d5ffd5b5050505092915050565b612a5b612c97565b600a015460405163233bf20760e11b81526001600160c01b0319831660048201526001600160a01b0390911690634677e40e9060240161122e565b5f612a9f612c97565b600d01546040516374b775eb60e01b81526001600160a01b03909116906374b775eb90612ad490879087908790600401615993565b6020604051808303815f875af1158015612af0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114be91906159c3565b612b1c612c97565b600c0154604051634d5e16a960e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690634d5e16a990604401612177565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612bb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bd79190615389565b80612c6557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612c3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c639190615389565b155b15610a7d5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610ea3565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680090565b612cc3612c97565b600a015460405163544e9e5b60e01b81526001600160c01b03198416600482015282151560248201526001600160a01b039091169063544e9e5b90604401612177565b612d0e612c97565b600b015460405163603ccaad60e01b81526001600160601b03831660048201526001600160a01b039091169063603ccaad9060240161122e565b5f612d51612c97565b600b0154604051639a83274160e01b81526001600160a01b0390911690639a83274190612d90908c908c908c908c908c908c908c908c906004016159de565b6020604051808303815f875af1158015612dac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f6b91906151e6565b5f80516020615d0b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f612e39612c97565b600c0154604051637baa9a0b60e01b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b0390911690637baa9a0b906044016020604051808303815f875af1158015612e97573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c19190615483565b612ec3612c97565b600a0154604051638f997f6d60e01b81526001600160a01b0390911690638f997f6d906121779085908590600401615a46565b612efe61415d565b5f612f116001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612f55573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f7991906151e6565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612fd2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ff69190615389565b156130b5577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3613033611702565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015613074573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261309b9190810190615a6a565b60208101519092506001600160a01b0316156130b5575090565b611b69613874565b6130c5612c97565b600d0154604051636e2cdce760e01b81526001600160a01b0390911690636e2cdce7906130fc908790879087908790600401615959565b5f604051808303815f87803b158015613113575f80fd5b505af1158015613125573d5f803e3d5ffd5b5050505050505050565b613137612c97565b600c0154604051639ffcede960e01b81526001600160601b03831660048201526001600160a01b0390911690639ffcede99060240161122e565b613179612c97565b600d015460405163f450e2b560e01b81526001600160a01b039091169063f450e2b5906131ae90869086908690600401615ada565b5f604051808303815f87803b1580156131c5575f80fd5b505af115801561263f573d5f803e3d5ffd5b6131df612c97565b600d0154604051630c68938d60e41b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063c68938d090604401612177565b5f61322f612c97565b600a015460405163c3fa12bb60e01b81526001600160a01b039091169063c3fa12bb906132629086908690600401615b05565b6020604051808303815f875af115801561327e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c19190615b1d565b6132aa612c97565b600c015460405163d322005160e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063d322005190604401612177565b6132f9611a54565b6001600160a01b0316336001600160a01b03161461332c5760405163086391f760e31b8152336004820152602401610ea3565b613336600b612648565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df9060240161122e565b5f61336f612c97565b600d015460405163e01f7a4360e01b81526001600160a01b039091169063e01f7a43906133a89089908990899089908990600401615b38565b6020604051808303815f875af11580156133c4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd39190615483565b6133f0612c97565b60090154604051634698bf1160e01b81526001600160a01b0390911690634698bf11906121779085908590600401615b7c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613491919061582c565b5f60405180830381855afa9150503d805f81146134c9576040519150601f19603f3d011682016040523d82523d5f602084013e6134ce565b606091505b5091509150811561352057604081511061350057808060200190518101906134f69190615b97565b9094509250613520565b6020815110613520578080602001905181019061351d9190615389565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661357457604051631afcd79f60e31b815260040160405180910390fd5b565b61357e61352b565b613593888888600c878a602001518888613945565b5f61359c612c97565b865181546020808a015160408b015160608c015160808d015160a08e015160c08f015161ffff1990971697151561ff00191697909717610100941515949094029390931763ffff00001916620100009215159290920263ff000000191691909117630100000060ff928316021770ffffffffffffffffffffffffff000000001916640100000000919092160270ffffffffffffffffffffffff0000000000191617650100000000006001600160601b0394851602176bffffffffffffffffffffffff60881b1916600160881b939092169290920217825560e0880151805192935088928492613692926001850192910190614186565b5050855180516020918201516001600160601b03908116600160a01b9081026001600160a01b03938416176002870155838a01518051908501518316820290841617600387015560408a01518051908501518316820290841617600487015560608a01518051908501518316820290841617600587015560808a01518051908501518316820290841617600687015560a08a01518051908501518316820290841617600787015560c08a015180519401519091160291161760088301555061375b610f8b602c90565b600a820180546001600160a01b0319166001600160a01b03929092169190911790556137876014612648565b600b820180546001600160a01b0319166001600160a01b03929092169190911790556137b36015612648565b600c820180546001600160a01b0319166001600160a01b03929092169190911790556137df602d612648565b600d820180546001600160a01b0319166001600160a01b039290921691909117905561380b602a612648565b600e820180546001600160a01b0319166001600160a01b0392909216919091179055613837600b612648565b6009820180546001600160a01b0319166001600160a01b0392909216919091179055613869630cdf80bd60e31b613b6e565b505050505050505050565b61387c61415d565b5f5f80516020615ceb83398151915290506040518060600160405280825f0180546138a690615201565b80601f01602080910402602001604051908101604052809291908181526020018280546138d290615201565b801561391d5780601f106138f45761010080835404028352916020019161391d565b820191905f5260205f20905b81548152906001019060200180831161390057829003601f168201915b505050505081526020015f6001600160a01b03168152602001826002018054610c4990615201565b61394d61352b565b5f613959898988613b9e565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa1580156139cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139ef9190615244565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051613a88929163bf7e214f9160048083019260209291908290030181865afa158015613a49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a6d9190615244565b8b8b8b8b8a8a60405180602001604052805f8152508b613c1a565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015613acf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613af39190615244565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055613b30600b612648565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613b6263a9c1bc6f60e01b613b6e565b50505050505050505050565b613b7661352b565b610a8a816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03613bbf57613bb68484600a613cd7565b508290506114c1565b5f613bcc8585600c613cd7565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa1580156120bd573d5f803e3d5ffd5b613c2261352b565b85515f03613c435760405163591eebf360e11b815260040160405180910390fd5b613c5289898988888888613d9c565b5f80516020615ceb83398151915280613c6b8882615c10565b5060018101805460ff191686151517905560028101613c8a8382615c10565b50613c95600b612648565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613cc7634a531f3360e01b613b6e565b613b626306e9e5ff60e31b613b6e565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015613d25573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613d4c91908101906156b9565b9050613d6381604001518460ff9081169116141590565b15613d9457604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610ea3565b509392505050565b613da461352b565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613dfa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e1e9190615389565b613e465760405163cf6935e560e01b81526001600160a01b0388166004820152602401610ea3565b613e4f87613ed9565b613e598683613eea565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613ec88382615c10565b50613125634a531f3360e01b613b6e565b613ee161352b565b610a8a81613f60565b613ef261352b565b613efa613f71565b613f0382613fb9565b6001600160a01b038116613f2a5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615ccb83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613f6861352b565b610a8a81612dd0565b613f7961352b565b6135746301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613fc161352b565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614017573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061403b9190615389565b6140635760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ea3565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805161012081019091525f60e08201818152610100830191909152819081526020016140c2604080518082019091525f808252602082015290565b81526020016140e0604080518082019091525f808252602082015290565b81526020016140fe604080518082019091525f808252602082015290565b815260200161411c604080518082019091525f808252602082015290565b815260200161413a604080518082019091525f808252602082015290565b8152602001614158604080518082019091525f808252602082015290565b905290565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b828054828255905f5260205f209060010160029004810192821561422b579160200282015f5b838211156141f657835183826101000a8154816001600160601b0302191690836001600160601b031602179055509260200192600c01602081600b010492830192600103026141ac565b80156142295782816101000a8154906001600160601b030219169055600c01602081600b010492830192600103026141f6565b505b5061423792915061423b565b5090565b5b80821115614237575f815560010161423c565b5f6020828403121561425f575f80fd5b81356001600160e01b0319811681146114c1575f80fd5b6001600160601b0381168114610a8a575f80fd5b8035610eb881614276565b61ffff81168114610a8a575f80fd5b5f80604083850312156142b5575f80fd5b82356142c081614276565b915060208301356142d081614295565b809150509250929050565b5f602082840312156142eb575f80fd5b81356114c181614276565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161436c608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610e476101008401826142f6565b64ffffffffff81168114610a8a575f80fd5b5f80604083850312156143d3575f80fd5b82356143de81614276565b915060208301356142d0816143b0565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715614424576144246143ee565b60405290565b60405161010081016001600160401b0381118282101715614424576144246143ee565b604051606081016001600160401b0381118282101715614424576144246143ee565b60405161024081016001600160401b0381118282101715614424576144246143ee565b604051601f8201601f191681016001600160401b03811182821017156144ba576144ba6143ee565b604052919050565b5f6001600160401b038211156144da576144da6143ee565b50601f01601f191660200190565b5f82601f8301126144f7575f80fd5b8135602083015f61450f61450a846144c2565b614492565b9050828152858383011115614522575f80fd5b828260208301375f92810160200192909252509392505050565b8015158114610a8a575f80fd5b8035610eb88161453c565b5f805f8060808587031215614567575f80fd5b843561457281614276565b935060208501356001600160401b0381111561458c575f80fd5b614598878288016144e8565b93505060408501356145a9816143b0565b915060608501356145b98161453c565b939692955090935050565b602081525f6114c160208301846142f6565b6001600160a01b0381168114610a8a575f80fd5b8035610eb8816145d6565b60ff81168114610a8a575f80fd5b8035610eb8816145f5565b5f82601f83011261461d575f80fd5b81356001600160401b03811115614636576146366143ee565b8060051b61464660208201614492565b91825260208185018101929081019086841115614661575f80fd5b6020860192505b83831015611fd357823561467b81614276565b825260209283019290910190614668565b5f6040828403121561469c575f80fd5b604080519081016001600160401b03811182821017156146be576146be6143ee565b60405290508082356146cf816145d6565b815260208301356146df81614276565b6020919091015292915050565b5f6101c082840312156146fd575f80fd5b614705614402565b9050614711838361468c565b8152614720836040840161468c565b6020820152614732836080840161468c565b60408201526147448360c0840161468c565b606082015261475783610100840161468c565b608082015261476a83610140840161468c565b60a082015261477d83610180840161468c565b60c082015292915050565b5f805f805f805f610280888a03121561479f575f80fd5b87356147aa816145d6565b965060208801356147ba81614276565b955060408801356001600160401b038111156147d4575f80fd5b6147e08a828b016144e8565b95505060608801356001600160401b038111156147fb575f80fd5b8801610100818b03121561480d575f80fd5b61481561442a565b61481e82614549565b815261482c60208301614549565b602082015261483d60408301614549565b604082015261484e60608301614603565b606082015261485f60808301614603565b608082015261487060a0830161428a565b60a082015261488160c0830161428a565b60c082015260e08201356001600160401b0381111561489e575f80fd5b6148aa8c82850161460e565b60e08301525094506148c190508960808a016146ec565b92506148d061024089016145ea565b91506148df61026089016145ea565b905092959891949750929550565b5f602082840312156148fd575f80fd5b81356114c18161453c565b6001600160401b0381168114610a8a575f80fd5b5f6020828403121561492c575f80fd5b81356114c181614908565b5f8060408385031215614948575f80fd5b823561495381614908565b915060208301356001600160401b0381111561496d575f80fd5b614979858286016144e8565b9150509250929050565b5f805f60608486031215614995575f80fd5b83356149a081614276565b925060208401356149b08161453c565b915060408401356149c0816143b0565b809150509250925092565b5f805f80608085870312156149de575f80fd5b84356149e981614276565b935060208501356149f981614295565b92506040850135614a0981614276565b915060608501356001600160401b03811115614a23575f80fd5b614a2f878288016144e8565b91505092959194509250565b5f8060408385031215614a4c575f80fd5b8235614a57816145d6565b915060208301356142d081614276565b6001600160c01b031981168114610a8a575f80fd5b5f60208284031215614a8c575f80fd5b81356114c181614a67565b5f805f8060808587031215614aaa575f80fd5b8435614ab581614276565b93506020850135614ac58161453c565b92506040850135614ad5816143b0565b915060608501356145b981614276565b5f805f60608486031215614af7575f80fd5b8335614b0281614276565b92506020840135614b1281614276565b915060408401356001600160401b03811115614b2c575f80fd5b614b38868287016144e8565b9150509250925092565b5f805f805f8060c08789031215614b57575f80fd5b8635614b6281614276565b95506020870135614b7281614a67565b94506040870135614b82816143b0565b935060608701356001600160401b03811115614b9c575f80fd5b614ba889828a016144e8565b9350506080870135614bb981614276565b915060a0870135614bc981614a67565b809150509295509295509295565b5f8060408385031215614be8575f80fd5b8235614bf381614a67565b915060208301356142d08161453c565b5f60208284031215614c13575f80fd5b81356114c1816145d6565b5f805f805f805f60e0888a031215614c34575f80fd5b8735614c3f816145d6565b96506020880135614c4f81614a67565b9550604088013594506060880135614c66816143b0565b935060808801356001600160401b03811115614c80575f80fd5b614c8c8a828b016144e8565b93505060a0880135614c9d81614276565b915060c0880135614cad81614a67565b8091505092959891949750929550565b80516001600160a01b031682526020908101516001600160601b0316910152565b5f6101c082019050614cf1828451614cbd565b6020830151614d036040840182614cbd565b506040830151614d166080840182614cbd565b506060830151614d2960c0840182614cbd565b506080830151614d3d610100840182614cbd565b5060a0830151614d51610140840182614cbd565b5060c0830151614d65610180840182614cbd565b5092915050565b5f8060408385031215614d7d575f80fd5b823561495381614a67565b602081525f825160606020840152614da360808401826142f6565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061141082826142f6565b5f805f8060808587031215614de9575f80fd5b8435614df4816145d6565b93506020850135614e04816145d6565b92506040850135915060608501356145b9816145d6565b5f805f60608486031215614e2d575f80fd5b8335614e3881614276565b92506020840135614b1281614295565b5f8151808452602084019350602083015f5b82811015614e815781516001600160601b0316865260209586019590910190600101614e5a565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151614eb8606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152610e47610120840182614e48565b5f805f805f60a08688031215614f2f575f80fd5b8535614f3a81614276565b945060208601356001600160401b03811115614f54575f80fd5b614f60888289016144e8565b9450506040860135614f71816143b0565b92506060860135614f818161453c565b915060808601356001600160401b03811115614f9b575f80fd5b614fa7888289016144e8565b9150509295509295909350565b5f8060408385031215614fc5575f80fd5b82356001600160401b03811115614fda575f80fd5b614fe6858286016144e8565b92505060208301356001600160401b0381111561496d575f80fd5b5f805f805f805f80610100898b031215615019575f80fd5b8835615024816145d6565b9750602089013561503481614a67565b9650604089013561504481614276565b9550606089013561505481614276565b94506080890135615064816143b0565b935060a08901356001600160401b0381111561507e575f80fd5b61508a8b828c016144e8565b93505060c089013561509b81614276565b915060e08901356150ab81614a67565b809150509295985092959890939650565b5f805f805f60a086880312156150d0575f80fd5b85356150db81614276565b945060208601356150eb81614295565b935060408601356150fb81614276565b92506060860135614f81816145d6565b5f805f6060848603121561511d575f80fd5b833561512881614276565b9250602084013561513881614295565b915060408401356149c081614276565b5f805f806080858703121561515b575f80fd5b843561516681614276565b9350602085013561517681614a67565b92506040850135614a09816143b0565b5f8060808385031215615197575f80fd5b6151a1848461468c565b91506151b0846040850161468c565b90509250929050565b5f602082840312156151c9575f80fd5b815162ffffff811681146114c1575f80fd5b8051610eb881614276565b5f602082840312156151f6575f80fd5b81516114c181614276565b600181811c9082168061521557607f821691505b60208210810361523357634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610eb8816145d6565b5f60208284031215615254575f80fd5b81516114c1816145d6565b602081528151151560208201525f6020830151604080840152610e4760608401826142f6565b6001600160601b0384168152608060208201525f6152a660808301856142f6565b64ffffffffff841660408401528281036060840152601881527f66756c66696c6c4f7261636c655265717565737453796e630000000000000000602082015260408101915050949350505050565b5f60208284031215615304575f80fd5b81516114c181614908565b6001600160601b0384168152608060208201525f61533060808301856142f6565b64ffffffffff841660408401528281036060840152601981527f66756c66696c6c4f7261636c65526571756573744173796e6300000000000000602082015260408101915050949350505050565b8051610eb88161453c565b5f60208284031215615399575f80fd5b81516114c18161453c565b5f82601f8301126153b3575f80fd5b8151602083015f6153c661450a846144c2565b90508281528583830111156153d9575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215615403575f80fd5b81516001600160401b03811115615418575f80fd5b820160608185031215615429575f80fd5b61543161444d565b815161543c8161453c565b8152602082015161544c816143b0565b602082015260408201516001600160401b03811115615469575f80fd5b615475868285016153a4565b604083015250949350505050565b5f60208284031215615493575f80fd5b81516114c1816143b0565b6001600160401b0384168152606060208201525f6154bf60608301856142f6565b9050826040830152949350505050565b6001600160601b03881681526001600160401b0360c01b871660208201526001600160601b038616604082015264ffffffffff8516606082015260e060808201525f61551e60e08301866142f6565b6001600160601b039490941660a0830152506001600160c01b03199190911660c09091015295945050505050565b5f61024082840312801561555e575f80fd5b5061556761446f565b615570836151db565b815261557e602084016151db565b602082015261558f604084016151db565b60408201526155a0606084016151db565b60608201526155b1608084016151db565b60808201526155c260a084016151db565b60a08201526155d360c084016151db565b60c08201526155e460e084016151db565b60e08201526155f661010084016151db565b61010082015261560961012084016151db565b61012082015261561c61014084016151db565b61014082015261562f61016084016151db565b61016082015261564261018084016151db565b6101808201526156556101a084016151db565b6101a08201526156686101c084016151db565b6101c082015261567b6101e084016151db565b6101e082015261568e61020084016151db565b6102008201526156a161022084016151db565b6102208201529392505050565b8051610eb8816145f5565b5f602082840312156156c9575f80fd5b81516001600160401b038111156156de575f80fd5b820160e081850312156156ef575f80fd5b6156f7614402565b615700826151db565b815261570e602083016151db565b602082015261571f604083016156ae565b60408201526157306060830161537e565b606082015261574160808301615239565b608082015261575260a08301615239565b60a082015260c08201516001600160401b0381111561576f575f80fd5b61577b868285016153a4565b60c083015250949350505050565b5f60208284031215615799575f80fd5b81516001600160401b038111156157ae575f80fd5b610e47848285016153a4565b5f602082840312156157ca575f80fd5b81516114c1816145f5565b6001600160601b0385168152608060208201525f6157f660808301866142f6565b64ffffffffff851660408401528281036060840152611ee681856142f6565b5f81518060208401855e5f93019283525090919050565b5f6114c18284615815565b80516020808301519190811015615233575f1960209190910360031b1b16919050565b5f6020828403121561586a575f80fd5b5051919050565b5f8261588b57634e487b7160e01b5f52601260045260245ffd5b500490565b5f80604083850312156158a1575f80fd5b82516158ac81614276565b60208401519092506142d081614276565b5f80858511156158cb575f80fd5b838611156158d7575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614d65576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b6001600160601b038516815261ffff841660208201526001600160601b0383166040820152608060608201525f611fd360808301846142f6565b6001600160601b03841681526001600160601b0383166020820152606060408201525f61141060608301846142f6565b5f602082840312156159d3575f80fd5b81516114c181614295565b6001600160a01b03891681526001600160c01b031988811660208301526001600160601b038881166040840152878116606084015264ffffffffff87166080840152851660a0830152831660c082015261010060e082018190525f906117b6908301846142f6565b6001600160401b0360c01b83168152604060208201525f6114be60408301846142f6565b5f60208284031215615a7a575f80fd5b81516001600160401b03811115615a8f575f80fd5b820160608185031215615aa0575f80fd5b615aa861444d565b81516001600160401b03811115615abd575f80fd5b615ac9868285016153a4565b825250602082015161544c816145d6565b6001600160601b038416815261ffff83166020820152606060408201525f61141060608301846142f6565b828152604060208201525f6114be60408301846142f6565b5f60208284031215615b2d575f80fd5b81516114c181614a67565b6001600160601b03868116825261ffff86166020830152841660408201526001600160a01b038316606082015260a0608082018190525f90611ee6908301846142f6565b60808101615b8a8285614cbd565b6114c16040830184614cbd565b5f8060408385031215615ba8575f80fd5b8251615bb38161453c565b602084015190925063ffffffff811681146142d0575f80fd5b601f8211156113fe57805f5260205f20601f840160051c81016020851015615bf15750805b601f840160051c820191505b81811015611257575f8155600101615bfd565b81516001600160401b03811115615c2957615c296143ee565b615c3d81615c378454615201565b84615bcc565b6020601f821160018114615c6f575f8315615c585750848201515b5f19600385901b1c1916600184901b178455611257565b5f84815260208120601f198516915b82811015615c9e5787850151825560209485019460019092019101615c7e565b5084821015615cbb57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c753a0dc9cec437e8aba2e48fd6e9d4e8977f02c9f7bb3b471cd283366ebb5d664736f6c634300081a0033",
2413
+ "linkReferences": {
2414
+ "contracts/shared/ContractLib.sol": {
2415
+ "ContractLib": [
2416
+ {
2417
+ "length": 20,
2418
+ "start": 2851
2419
+ },
2420
+ {
2421
+ "length": 20,
2422
+ "start": 3443
2423
+ },
2424
+ {
2425
+ "length": 20,
2426
+ "start": 21536
2427
+ },
2428
+ {
2429
+ "length": 20,
2430
+ "start": 22077
2431
+ }
2432
+ ]
2433
+ },
2434
+ "contracts/type/Amount.sol": {
2435
+ "AmountLib": [
2436
+ {
2437
+ "length": 20,
2438
+ "start": 10713
2439
+ },
2440
+ {
2441
+ "length": 20,
2442
+ "start": 11669
2443
+ },
2444
+ {
2445
+ "length": 20,
2446
+ "start": 13937
2447
+ },
2448
+ {
2449
+ "length": 20,
2450
+ "start": 16185
2451
+ }
2452
+ ]
2453
+ },
2454
+ "contracts/type/NftId.sol": {
2455
+ "NftIdLib": [
2456
+ {
2457
+ "length": 20,
2458
+ "start": 8665
2459
+ },
2460
+ {
2461
+ "length": 20,
2462
+ "start": 10116
2463
+ },
2464
+ {
2465
+ "length": 20,
2466
+ "start": 12518
2467
+ },
2468
+ {
2469
+ "length": 20,
2470
+ "start": 14599
2471
+ },
2472
+ {
2473
+ "length": 20,
2474
+ "start": 17912
2475
+ }
2476
+ ]
2477
+ },
2478
+ "contracts/type/ObjectType.sol": {
2479
+ "ObjectTypeLib": [
2480
+ {
2481
+ "length": 20,
2482
+ "start": 16857
2483
+ }
2484
+ ]
2485
+ },
2486
+ "contracts/type/Timestamp.sol": {
2487
+ "TimestampLib": [
2488
+ {
2489
+ "length": 20,
2490
+ "start": 10471
2491
+ }
2492
+ ]
2493
+ },
2494
+ "contracts/type/Version.sol": {
2495
+ "VersionLib": [
2496
+ {
2497
+ "length": 20,
2498
+ "start": 8465
2499
+ }
2500
+ ]
2501
+ }
2502
+ },
2503
+ "deployedLinkReferences": {
2504
+ "contracts/shared/ContractLib.sol": {
2505
+ "ContractLib": [
2506
+ {
2507
+ "length": 20,
2508
+ "start": 15810
2509
+ },
2510
+ {
2511
+ "length": 20,
2512
+ "start": 16351
2513
+ }
2514
+ ]
2515
+ },
2516
+ "contracts/type/Amount.sol": {
2517
+ "AmountLib": [
2518
+ {
2519
+ "length": 20,
2520
+ "start": 4987
2521
+ },
2522
+ {
2523
+ "length": 20,
2524
+ "start": 5943
2525
+ },
2526
+ {
2527
+ "length": 20,
2528
+ "start": 8211
2529
+ },
2530
+ {
2531
+ "length": 20,
2532
+ "start": 10459
2533
+ }
2534
+ ]
2535
+ },
2536
+ "contracts/type/NftId.sol": {
2537
+ "NftIdLib": [
2538
+ {
2539
+ "length": 20,
2540
+ "start": 2939
2541
+ },
2542
+ {
2543
+ "length": 20,
2544
+ "start": 4390
2545
+ },
2546
+ {
2547
+ "length": 20,
2548
+ "start": 6792
2549
+ },
2550
+ {
2551
+ "length": 20,
2552
+ "start": 8873
2553
+ },
2554
+ {
2555
+ "length": 20,
2556
+ "start": 12186
2557
+ }
2558
+ ]
2559
+ },
2560
+ "contracts/type/ObjectType.sol": {
2561
+ "ObjectTypeLib": [
2562
+ {
2563
+ "length": 20,
2564
+ "start": 11131
2565
+ }
2566
+ ]
2567
+ },
2568
+ "contracts/type/Timestamp.sol": {
2569
+ "TimestampLib": [
2570
+ {
2571
+ "length": 20,
2572
+ "start": 4745
2573
+ }
2574
+ ]
2575
+ },
2576
+ "contracts/type/Version.sol": {
2577
+ "VersionLib": [
2578
+ {
2579
+ "length": 20,
2580
+ "start": 2739
2581
+ }
2582
+ ]
2583
+ }
2584
+ }
2585
+ }