@etherisc/gif-next 0.0.2-efef0ea-320 → 0.0.2-f00a368-815

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