@etherisc/gif-next 0.0.2-d1f0662-893 → 0.0.2-d232863-112

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